mirror of
https://github.com/openziti/zrok.git
synced 2025-06-03 08:35:53 +02:00
61 lines
1.4 KiB
TypeScript
61 lines
1.4 KiB
TypeScript
/* 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'],
|
|
};
|
|
}
|
|
|