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

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

export function AccessPrivateResponseFromJSON(json: any): AccessPrivateResponse {
    return AccessPrivateResponseFromJSONTyped(json, false);
}

export function AccessPrivateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccessPrivateResponse {
    if (json == null) {
        return json;
    }
    return {
        
        'frontendToken': json['frontendToken'] == null ? undefined : json['frontendToken'],
    };
}

export function AccessPrivateResponseToJSON(value?: AccessPrivateResponse | null): any {
    if (value == null) {
        return value;
    }
    return {
        
        'frontendToken': value['frontendToken'],
    };
}

