mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-14 13:20:05 +01:00
fix: rename sdk to match repo & introduce git subtree
This commit is contained in:
82
sdk/ts/src/models/DtoJWKS.ts
Normal file
82
sdk/ts/src/models/DtoJWKS.ts
Normal file
@@ -0,0 +1,82 @@
|
||||
/* 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";
|
||||
import type { DtoJWK } from "./DtoJWK";
|
||||
import {
|
||||
DtoJWKFromJSON,
|
||||
DtoJWKFromJSONTyped,
|
||||
DtoJWKToJSON,
|
||||
DtoJWKToJSONTyped,
|
||||
} from "./DtoJWK";
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface DtoJWKS
|
||||
*/
|
||||
export interface DtoJWKS {
|
||||
/**
|
||||
*
|
||||
* @type {Array<DtoJWK>}
|
||||
* @memberof DtoJWKS
|
||||
*/
|
||||
keys?: Array<DtoJWK>;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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<any>).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<any>).map(DtoJWKToJSON),
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user