/* 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"; import type { DtoJWK } from "./DtoJWK"; import { DtoJWKFromJSON, DtoJWKFromJSONTyped, DtoJWKToJSON, DtoJWKToJSONTyped, } from "./DtoJWK"; /** * * @export * @interface DtoJWKS */ export interface DtoJWKS { /** * * @type {Array} * @memberof DtoJWKS */ keys?: Array; } /** * Check if a given object implements the DtoJWKS interface. */ export function instanceOfDtoJWKS(value: object): value is DtoJWKS { return true; } export function DtoJWKSFromJSON(json: any): DtoJWKS { return DtoJWKSFromJSONTyped(json, false); } export function DtoJWKSFromJSONTyped( json: any, ignoreDiscriminator: boolean, ): DtoJWKS { if (json == null) { return json; } return { keys: json["keys"] == null ? undefined : (json["keys"] as Array).map(DtoJWKFromJSON), }; } export function DtoJWKSToJSON(json: any): DtoJWKS { return DtoJWKSToJSONTyped(json, false); } export function DtoJWKSToJSONTyped( value?: DtoJWKS | null, ignoreDiscriminator: boolean = false, ): any { if (value == null) { return value; } return { keys: value["keys"] == null ? undefined : (value["keys"] as Array).map(DtoJWKToJSON), }; }