mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-14 21:30:05 +01:00
fis: updates to remove Terraform Provider reserved word collisions
Signed-off-by: allanice001 <allanice001@gmail.com>
This commit is contained in:
90
sdk/ts/src/models/DtoUpdateClusterRequest.ts
Normal file
90
sdk/ts/src/models/DtoUpdateClusterRequest.ts
Normal file
@@ -0,0 +1,90 @@
|
||||
/* 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 DtoUpdateClusterRequest
|
||||
*/
|
||||
export interface DtoUpdateClusterRequest {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoUpdateClusterRequest
|
||||
*/
|
||||
cluster_provider?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoUpdateClusterRequest
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoUpdateClusterRequest
|
||||
*/
|
||||
region?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the DtoUpdateClusterRequest interface.
|
||||
*/
|
||||
export function instanceOfDtoUpdateClusterRequest(
|
||||
value: object,
|
||||
): value is DtoUpdateClusterRequest {
|
||||
return true;
|
||||
}
|
||||
|
||||
export function DtoUpdateClusterRequestFromJSON(
|
||||
json: any,
|
||||
): DtoUpdateClusterRequest {
|
||||
return DtoUpdateClusterRequestFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function DtoUpdateClusterRequestFromJSONTyped(
|
||||
json: any,
|
||||
ignoreDiscriminator: boolean,
|
||||
): DtoUpdateClusterRequest {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
cluster_provider:
|
||||
json["cluster_provider"] == null ? undefined : json["cluster_provider"],
|
||||
name: json["name"] == null ? undefined : json["name"],
|
||||
region: json["region"] == null ? undefined : json["region"],
|
||||
};
|
||||
}
|
||||
|
||||
export function DtoUpdateClusterRequestToJSON(
|
||||
json: any,
|
||||
): DtoUpdateClusterRequest {
|
||||
return DtoUpdateClusterRequestToJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function DtoUpdateClusterRequestToJSONTyped(
|
||||
value?: DtoUpdateClusterRequest | null,
|
||||
ignoreDiscriminator: boolean = false,
|
||||
): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
|
||||
return {
|
||||
cluster_provider: value["cluster_provider"],
|
||||
name: value["name"],
|
||||
region: value["region"],
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user