/* tslint:disable */
/* eslint-disable */
/**
 * agent/agentGrpc/agent.proto
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: version not set
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

import { mapValues } from '../runtime';
/**
 * 
 * @export
 * @interface VersionResponse
 */
export interface VersionResponse {
    /**
     * 
     * @type {string}
     * @memberof VersionResponse
     */
    v?: string;
    /**
     * 
     * @type {string}
     * @memberof VersionResponse
     */
    consoleEndpoint?: string;
}

/**
 * Check if a given object implements the VersionResponse interface.
 */
export function instanceOfVersionResponse(value: object): value is VersionResponse {
    return true;
}

export function VersionResponseFromJSON(json: any): VersionResponse {
    return VersionResponseFromJSONTyped(json, false);
}

export function VersionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): VersionResponse {
    if (json == null) {
        return json;
    }
    return {
        
        'v': json['v'] == null ? undefined : json['v'],
        'consoleEndpoint': json['consoleEndpoint'] == null ? undefined : json['consoleEndpoint'],
    };
}

export function VersionResponseToJSON(value?: VersionResponse | null): any {
    if (value == null) {
        return value;
    }
    return {
        
        'v': value['v'],
        'consoleEndpoint': value['consoleEndpoint'],
    };
}

