mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-14 21:30:05 +01:00
74 lines
1.7 KiB
TypeScript
74 lines
1.7 KiB
TypeScript
/* 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 HandlersOrgUpdateReq
|
|
*/
|
|
export interface HandlersOrgUpdateReq {
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof HandlersOrgUpdateReq
|
|
*/
|
|
domain?: string;
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof HandlersOrgUpdateReq
|
|
*/
|
|
name?: string;
|
|
}
|
|
|
|
/**
|
|
* Check if a given object implements the HandlersOrgUpdateReq interface.
|
|
*/
|
|
export function instanceOfHandlersOrgUpdateReq(value: object): value is HandlersOrgUpdateReq {
|
|
return true;
|
|
}
|
|
|
|
export function HandlersOrgUpdateReqFromJSON(json: any): HandlersOrgUpdateReq {
|
|
return HandlersOrgUpdateReqFromJSONTyped(json, false);
|
|
}
|
|
|
|
export function HandlersOrgUpdateReqFromJSONTyped(json: any, ignoreDiscriminator: boolean): HandlersOrgUpdateReq {
|
|
if (json == null) {
|
|
return json;
|
|
}
|
|
return {
|
|
|
|
'domain': json['domain'] == null ? undefined : json['domain'],
|
|
'name': json['name'] == null ? undefined : json['name'],
|
|
};
|
|
}
|
|
|
|
export function HandlersOrgUpdateReqToJSON(json: any): HandlersOrgUpdateReq {
|
|
return HandlersOrgUpdateReqToJSONTyped(json, false);
|
|
}
|
|
|
|
export function HandlersOrgUpdateReqToJSONTyped(value?: HandlersOrgUpdateReq | null, ignoreDiscriminator: boolean = false): any {
|
|
if (value == null) {
|
|
return value;
|
|
}
|
|
|
|
return {
|
|
|
|
'domain': value['domain'],
|
|
'name': value['name'],
|
|
};
|
|
}
|
|
|