mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-14 13:20:05 +01:00
fis: updates to remove Terraform Provider reserved word collisions
Signed-off-by: allanice001 <allanice001@gmail.com>
This commit is contained in:
69
sdk/ts/src/models/HandlersHealthStatus.ts
Normal file
69
sdk/ts/src/models/HandlersHealthStatus.ts
Normal file
@@ -0,0 +1,69 @@
|
||||
/* 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"],
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user