mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 04:40:05 +01:00
feat: sdk migration in progress
This commit is contained in:
65
ui/src/sdk/models/DtoAuthStartResponse.ts
Normal file
65
ui/src/sdk/models/DtoAuthStartResponse.ts
Normal file
@@ -0,0 +1,65 @@
|
||||
/* 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 DtoAuthStartResponse
|
||||
*/
|
||||
export interface DtoAuthStartResponse {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DtoAuthStartResponse
|
||||
*/
|
||||
auth_url?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the DtoAuthStartResponse interface.
|
||||
*/
|
||||
export function instanceOfDtoAuthStartResponse(value: object): value is DtoAuthStartResponse {
|
||||
return true;
|
||||
}
|
||||
|
||||
export function DtoAuthStartResponseFromJSON(json: any): DtoAuthStartResponse {
|
||||
return DtoAuthStartResponseFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function DtoAuthStartResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DtoAuthStartResponse {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'auth_url': json['auth_url'] == null ? undefined : json['auth_url'],
|
||||
};
|
||||
}
|
||||
|
||||
export function DtoAuthStartResponseToJSON(json: any): DtoAuthStartResponse {
|
||||
return DtoAuthStartResponseToJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function DtoAuthStartResponseToJSONTyped(value?: DtoAuthStartResponse | null, ignoreDiscriminator: boolean = false): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
'auth_url': value['auth_url'],
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user