mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-14 05:10:05 +01:00
70 lines
1.5 KiB
TypeScript
70 lines
1.5 KiB
TypeScript
/* tslint:disable */
|
|
/* eslint-disable */
|
|
/**
|
|
* AutoGlue API
|
|
* API for managing K3s clusters across cloud providers
|
|
*
|
|
* The version of the OpenAPI document: dev
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
/**
|
|
*
|
|
* @export
|
|
* @interface HandlersHealthStatus
|
|
*/
|
|
export interface HandlersHealthStatus {
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof HandlersHealthStatus
|
|
*/
|
|
status?: string;
|
|
}
|
|
|
|
/**
|
|
* Check if a given object implements the HandlersHealthStatus interface.
|
|
*/
|
|
export function instanceOfHandlersHealthStatus(
|
|
value: object,
|
|
): value is HandlersHealthStatus {
|
|
return true;
|
|
}
|
|
|
|
export function HandlersHealthStatusFromJSON(json: any): HandlersHealthStatus {
|
|
return HandlersHealthStatusFromJSONTyped(json, false);
|
|
}
|
|
|
|
export function HandlersHealthStatusFromJSONTyped(
|
|
json: any,
|
|
ignoreDiscriminator: boolean,
|
|
): HandlersHealthStatus {
|
|
if (json == null) {
|
|
return json;
|
|
}
|
|
return {
|
|
status: json["status"] == null ? undefined : json["status"],
|
|
};
|
|
}
|
|
|
|
export function HandlersHealthStatusToJSON(json: any): HandlersHealthStatus {
|
|
return HandlersHealthStatusToJSONTyped(json, false);
|
|
}
|
|
|
|
export function HandlersHealthStatusToJSONTyped(
|
|
value?: HandlersHealthStatus | null,
|
|
ignoreDiscriminator: boolean = false,
|
|
): any {
|
|
if (value == null) {
|
|
return value;
|
|
}
|
|
|
|
return {
|
|
status: value["status"],
|
|
};
|
|
}
|