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

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

export function RegenerateToken200ResponseFromJSON(json: any): RegenerateToken200Response {
    return RegenerateToken200ResponseFromJSONTyped(json, false);
}

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

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

