feat: sdk migration in progress

This commit is contained in:
allanice001
2025-11-02 13:19:30 +00:00
commit 0d10d42442
492 changed files with 71067 additions and 0 deletions

View 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),
};
}