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:
73
sdk/ts/src/models/DtoAttachLabelsRequest.ts
Normal file
73
sdk/ts/src/models/DtoAttachLabelsRequest.ts
Normal file
@@ -0,0 +1,73 @@
|
||||
/* 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 DtoAttachLabelsRequest
|
||||
*/
|
||||
export interface DtoAttachLabelsRequest {
|
||||
/**
|
||||
*
|
||||
* @type {Array<string>}
|
||||
* @memberof DtoAttachLabelsRequest
|
||||
*/
|
||||
label_ids?: Array<string>;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the DtoAttachLabelsRequest interface.
|
||||
*/
|
||||
export function instanceOfDtoAttachLabelsRequest(
|
||||
value: object,
|
||||
): value is DtoAttachLabelsRequest {
|
||||
return true;
|
||||
}
|
||||
|
||||
export function DtoAttachLabelsRequestFromJSON(
|
||||
json: any,
|
||||
): DtoAttachLabelsRequest {
|
||||
return DtoAttachLabelsRequestFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function DtoAttachLabelsRequestFromJSONTyped(
|
||||
json: any,
|
||||
ignoreDiscriminator: boolean,
|
||||
): DtoAttachLabelsRequest {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
label_ids: json["label_ids"] == null ? undefined : json["label_ids"],
|
||||
};
|
||||
}
|
||||
|
||||
export function DtoAttachLabelsRequestToJSON(
|
||||
json: any,
|
||||
): DtoAttachLabelsRequest {
|
||||
return DtoAttachLabelsRequestToJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function DtoAttachLabelsRequestToJSONTyped(
|
||||
value?: DtoAttachLabelsRequest | null,
|
||||
ignoreDiscriminator: boolean = false,
|
||||
): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
|
||||
return {
|
||||
label_ids: value["label_ids"],
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user