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:
135
sdk/ts/src/models/DtoDomainResponse.ts
Normal file
135
sdk/ts/src/models/DtoDomainResponse.ts
Normal file
@@ -0,0 +1,135 @@
|
||||
/* 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 DtoDomainResponse
|
||||
*/
|
||||
export interface DtoDomainResponse {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoDomainResponse
|
||||
*/
|
||||
created_at?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoDomainResponse
|
||||
*/
|
||||
credential_id?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoDomainResponse
|
||||
*/
|
||||
domain_name?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoDomainResponse
|
||||
*/
|
||||
id?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoDomainResponse
|
||||
*/
|
||||
last_error?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoDomainResponse
|
||||
*/
|
||||
organization_id?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoDomainResponse
|
||||
*/
|
||||
status?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoDomainResponse
|
||||
*/
|
||||
updated_at?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoDomainResponse
|
||||
*/
|
||||
zone_id?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the DtoDomainResponse interface.
|
||||
*/
|
||||
export function instanceOfDtoDomainResponse(
|
||||
value: object,
|
||||
): value is DtoDomainResponse {
|
||||
return true;
|
||||
}
|
||||
|
||||
export function DtoDomainResponseFromJSON(json: any): DtoDomainResponse {
|
||||
return DtoDomainResponseFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function DtoDomainResponseFromJSONTyped(
|
||||
json: any,
|
||||
ignoreDiscriminator: boolean,
|
||||
): DtoDomainResponse {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
created_at: json["created_at"] == null ? undefined : json["created_at"],
|
||||
credential_id:
|
||||
json["credential_id"] == null ? undefined : json["credential_id"],
|
||||
domain_name: json["domain_name"] == null ? undefined : json["domain_name"],
|
||||
id: json["id"] == null ? undefined : json["id"],
|
||||
last_error: json["last_error"] == null ? undefined : json["last_error"],
|
||||
organization_id:
|
||||
json["organization_id"] == null ? undefined : json["organization_id"],
|
||||
status: json["status"] == null ? undefined : json["status"],
|
||||
updated_at: json["updated_at"] == null ? undefined : json["updated_at"],
|
||||
zone_id: json["zone_id"] == null ? undefined : json["zone_id"],
|
||||
};
|
||||
}
|
||||
|
||||
export function DtoDomainResponseToJSON(json: any): DtoDomainResponse {
|
||||
return DtoDomainResponseToJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function DtoDomainResponseToJSONTyped(
|
||||
value?: DtoDomainResponse | null,
|
||||
ignoreDiscriminator: boolean = false,
|
||||
): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
|
||||
return {
|
||||
created_at: value["created_at"],
|
||||
credential_id: value["credential_id"],
|
||||
domain_name: value["domain_name"],
|
||||
id: value["id"],
|
||||
last_error: value["last_error"],
|
||||
organization_id: value["organization_id"],
|
||||
status: value["status"],
|
||||
updated_at: value["updated_at"],
|
||||
zone_id: value["zone_id"],
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user