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:
157
sdk/ts/src/models/DtoRecordSetResponse.ts
Normal file
157
sdk/ts/src/models/DtoRecordSetResponse.ts
Normal file
@@ -0,0 +1,157 @@
|
||||
/* 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 DtoRecordSetResponse
|
||||
*/
|
||||
export interface DtoRecordSetResponse {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoRecordSetResponse
|
||||
*/
|
||||
created_at?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoRecordSetResponse
|
||||
*/
|
||||
domain_id?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoRecordSetResponse
|
||||
*/
|
||||
fingerprint?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoRecordSetResponse
|
||||
*/
|
||||
id?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoRecordSetResponse
|
||||
*/
|
||||
last_error?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoRecordSetResponse
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoRecordSetResponse
|
||||
*/
|
||||
owner?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoRecordSetResponse
|
||||
*/
|
||||
status?: string;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof DtoRecordSetResponse
|
||||
*/
|
||||
ttl?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoRecordSetResponse
|
||||
*/
|
||||
type?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoRecordSetResponse
|
||||
*/
|
||||
updated_at?: string;
|
||||
/**
|
||||
* []string JSON
|
||||
* @type {object}
|
||||
* @memberof DtoRecordSetResponse
|
||||
*/
|
||||
values?: object;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the DtoRecordSetResponse interface.
|
||||
*/
|
||||
export function instanceOfDtoRecordSetResponse(
|
||||
value: object,
|
||||
): value is DtoRecordSetResponse {
|
||||
return true;
|
||||
}
|
||||
|
||||
export function DtoRecordSetResponseFromJSON(json: any): DtoRecordSetResponse {
|
||||
return DtoRecordSetResponseFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function DtoRecordSetResponseFromJSONTyped(
|
||||
json: any,
|
||||
ignoreDiscriminator: boolean,
|
||||
): DtoRecordSetResponse {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
created_at: json["created_at"] == null ? undefined : json["created_at"],
|
||||
domain_id: json["domain_id"] == null ? undefined : json["domain_id"],
|
||||
fingerprint: json["fingerprint"] == null ? undefined : json["fingerprint"],
|
||||
id: json["id"] == null ? undefined : json["id"],
|
||||
last_error: json["last_error"] == null ? undefined : json["last_error"],
|
||||
name: json["name"] == null ? undefined : json["name"],
|
||||
owner: json["owner"] == null ? undefined : json["owner"],
|
||||
status: json["status"] == null ? undefined : json["status"],
|
||||
ttl: json["ttl"] == null ? undefined : json["ttl"],
|
||||
type: json["type"] == null ? undefined : json["type"],
|
||||
updated_at: json["updated_at"] == null ? undefined : json["updated_at"],
|
||||
values: json["values"] == null ? undefined : json["values"],
|
||||
};
|
||||
}
|
||||
|
||||
export function DtoRecordSetResponseToJSON(json: any): DtoRecordSetResponse {
|
||||
return DtoRecordSetResponseToJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function DtoRecordSetResponseToJSONTyped(
|
||||
value?: DtoRecordSetResponse | null,
|
||||
ignoreDiscriminator: boolean = false,
|
||||
): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
|
||||
return {
|
||||
created_at: value["created_at"],
|
||||
domain_id: value["domain_id"],
|
||||
fingerprint: value["fingerprint"],
|
||||
id: value["id"],
|
||||
last_error: value["last_error"],
|
||||
name: value["name"],
|
||||
owner: value["owner"],
|
||||
status: value["status"],
|
||||
ttl: value["ttl"],
|
||||
type: value["type"],
|
||||
updated_at: value["updated_at"],
|
||||
values: value["values"],
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user