mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-15 05:40:05 +01:00
fix: rename sdk to match repo & introduce git subtree
This commit is contained in:
94
sdk/ts/src/models/DtoTaintResponse.ts
Normal file
94
sdk/ts/src/models/DtoTaintResponse.ts
Normal file
@@ -0,0 +1,94 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* AutoGlue API
|
||||
* API for managing K3s clusters across cloud providers
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
import { mapValues } from "../runtime";
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface DtoTaintResponse
|
||||
*/
|
||||
export interface DtoTaintResponse {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoTaintResponse
|
||||
*/
|
||||
effect?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoTaintResponse
|
||||
*/
|
||||
id?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoTaintResponse
|
||||
*/
|
||||
key?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoTaintResponse
|
||||
*/
|
||||
value?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the DtoTaintResponse interface.
|
||||
*/
|
||||
export function instanceOfDtoTaintResponse(
|
||||
value: object,
|
||||
): value is DtoTaintResponse {
|
||||
return true;
|
||||
}
|
||||
|
||||
export function DtoTaintResponseFromJSON(json: any): DtoTaintResponse {
|
||||
return DtoTaintResponseFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function DtoTaintResponseFromJSONTyped(
|
||||
json: any,
|
||||
ignoreDiscriminator: boolean,
|
||||
): DtoTaintResponse {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
effect: json["effect"] == null ? undefined : json["effect"],
|
||||
id: json["id"] == null ? undefined : json["id"],
|
||||
key: json["key"] == null ? undefined : json["key"],
|
||||
value: json["value"] == null ? undefined : json["value"],
|
||||
};
|
||||
}
|
||||
|
||||
export function DtoTaintResponseToJSON(json: any): DtoTaintResponse {
|
||||
return DtoTaintResponseToJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function DtoTaintResponseToJSONTyped(
|
||||
value?: DtoTaintResponse | null,
|
||||
ignoreDiscriminator: boolean = false,
|
||||
): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
|
||||
return {
|
||||
effect: value["effect"],
|
||||
id: value["id"],
|
||||
key: value["key"],
|
||||
value: value["value"],
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user