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:
74
sdk/ts/src/models/DtoAttachNodePoolRequest.ts
Normal file
74
sdk/ts/src/models/DtoAttachNodePoolRequest.ts
Normal file
@@ -0,0 +1,74 @@
|
||||
/* 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 DtoAttachNodePoolRequest
|
||||
*/
|
||||
export interface DtoAttachNodePoolRequest {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoAttachNodePoolRequest
|
||||
*/
|
||||
node_pool_id?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the DtoAttachNodePoolRequest interface.
|
||||
*/
|
||||
export function instanceOfDtoAttachNodePoolRequest(
|
||||
value: object,
|
||||
): value is DtoAttachNodePoolRequest {
|
||||
return true;
|
||||
}
|
||||
|
||||
export function DtoAttachNodePoolRequestFromJSON(
|
||||
json: any,
|
||||
): DtoAttachNodePoolRequest {
|
||||
return DtoAttachNodePoolRequestFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function DtoAttachNodePoolRequestFromJSONTyped(
|
||||
json: any,
|
||||
ignoreDiscriminator: boolean,
|
||||
): DtoAttachNodePoolRequest {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
node_pool_id:
|
||||
json["node_pool_id"] == null ? undefined : json["node_pool_id"],
|
||||
};
|
||||
}
|
||||
|
||||
export function DtoAttachNodePoolRequestToJSON(
|
||||
json: any,
|
||||
): DtoAttachNodePoolRequest {
|
||||
return DtoAttachNodePoolRequestToJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function DtoAttachNodePoolRequestToJSONTyped(
|
||||
value?: DtoAttachNodePoolRequest | null,
|
||||
ignoreDiscriminator: boolean = false,
|
||||
): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
|
||||
return {
|
||||
node_pool_id: value["node_pool_id"],
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user