/* 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 SharePrivateResponse
 */
export interface SharePrivateResponse {
    /**
     * 
     * @type {string}
     * @memberof SharePrivateResponse
     */
    token?: string;
}

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

export function SharePrivateResponseFromJSON(json: any): SharePrivateResponse {
    return SharePrivateResponseFromJSONTyped(json, false);
}

export function SharePrivateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SharePrivateResponse {
    if (json == null) {
        return json;
    }
    return {
        
        'token': json['token'] == null ? undefined : json['token'],
    };
}

export function SharePrivateResponseToJSON(value?: SharePrivateResponse | null): any {
    if (value == null) {
        return value;
    }
    return {
        
        'token': value['token'],
    };
}

