/* 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. */ import { mapValues } from "../runtime"; /** * * @export * @interface DtoTaintResponse */ export interface DtoTaintResponse { /** * * @type {string} * @memberof DtoTaintResponse */ created_at?: string; /** * * @type {string} * @memberof DtoTaintResponse */ effect?: string; /** * * @type {string} * @memberof DtoTaintResponse */ id?: string; /** * * @type {string} * @memberof DtoTaintResponse */ key?: string; /** * * @type {string} * @memberof DtoTaintResponse */ organization_id?: string; /** * * @type {string} * @memberof DtoTaintResponse */ updated_at?: 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 { created_at: json["created_at"] == null ? undefined : json["created_at"], effect: json["effect"] == null ? undefined : json["effect"], id: json["id"] == null ? undefined : json["id"], key: json["key"] == null ? undefined : json["key"], organization_id: json["organization_id"] == null ? undefined : json["organization_id"], updated_at: json["updated_at"] == null ? undefined : json["updated_at"], 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 { created_at: value["created_at"], effect: value["effect"], id: value["id"], key: value["key"], organization_id: value["organization_id"], updated_at: value["updated_at"], value: value["value"], }; }