/* 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 DtoLabelResponse */ export interface DtoLabelResponse { /** * * @type {string} * @memberof DtoLabelResponse */ created_at?: string; /** * * @type {string} * @memberof DtoLabelResponse */ id?: string; /** * * @type {string} * @memberof DtoLabelResponse */ key?: string; /** * * @type {string} * @memberof DtoLabelResponse */ organization_id?: string; /** * * @type {string} * @memberof DtoLabelResponse */ updated_at?: string; /** * * @type {string} * @memberof DtoLabelResponse */ value?: string; } /** * Check if a given object implements the DtoLabelResponse interface. */ export function instanceOfDtoLabelResponse( value: object, ): value is DtoLabelResponse { return true; } export function DtoLabelResponseFromJSON(json: any): DtoLabelResponse { return DtoLabelResponseFromJSONTyped(json, false); } export function DtoLabelResponseFromJSONTyped( json: any, ignoreDiscriminator: boolean, ): DtoLabelResponse { if (json == null) { return json; } return { created_at: json["created_at"] == null ? undefined : json["created_at"], 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 DtoLabelResponseToJSON(json: any): DtoLabelResponse { return DtoLabelResponseToJSONTyped(json, false); } export function DtoLabelResponseToJSONTyped( value?: DtoLabelResponse | null, ignoreDiscriminator: boolean = false, ): any { if (value == null) { return value; } return { created_at: value["created_at"], id: value["id"], key: value["key"], organization_id: value["organization_id"], updated_at: value["updated_at"], value: value["value"], }; }