/* tslint:disable */
/* eslint-disable */
/**
 * zrok
 * zrok client access
 *
 * The version of the OpenAPI document: 1.0.0
 * 
 *
 * 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 CreateFrontendResponse
 */
export interface CreateFrontendResponse {
    /**
     * 
     * @type {string}
     * @memberof CreateFrontendResponse
     */
    token?: string;
}

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

export function CreateFrontendResponseFromJSON(json: any): CreateFrontendResponse {
    return CreateFrontendResponseFromJSONTyped(json, false);
}

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

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

