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

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

export function SharePublicResponseFromJSON(json: any): SharePublicResponse {
    return SharePublicResponseFromJSONTyped(json, false);
}

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

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

