mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 12:50:05 +01:00
76 lines
1.7 KiB
TypeScript
76 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: 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";
|
|
/**
|
|
*
|
|
* @export
|
|
* @interface DtoAttachLoadBalancerRequest
|
|
*/
|
|
export interface DtoAttachLoadBalancerRequest {
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof DtoAttachLoadBalancerRequest
|
|
*/
|
|
load_balancer_id?: string;
|
|
}
|
|
|
|
/**
|
|
* Check if a given object implements the DtoAttachLoadBalancerRequest interface.
|
|
*/
|
|
export function instanceOfDtoAttachLoadBalancerRequest(
|
|
value: object,
|
|
): value is DtoAttachLoadBalancerRequest {
|
|
return true;
|
|
}
|
|
|
|
export function DtoAttachLoadBalancerRequestFromJSON(
|
|
json: any,
|
|
): DtoAttachLoadBalancerRequest {
|
|
return DtoAttachLoadBalancerRequestFromJSONTyped(json, false);
|
|
}
|
|
|
|
export function DtoAttachLoadBalancerRequestFromJSONTyped(
|
|
json: any,
|
|
ignoreDiscriminator: boolean,
|
|
): DtoAttachLoadBalancerRequest {
|
|
if (json == null) {
|
|
return json;
|
|
}
|
|
return {
|
|
load_balancer_id:
|
|
json["load_balancer_id"] == null ? undefined : json["load_balancer_id"],
|
|
};
|
|
}
|
|
|
|
export function DtoAttachLoadBalancerRequestToJSON(
|
|
json: any,
|
|
): DtoAttachLoadBalancerRequest {
|
|
return DtoAttachLoadBalancerRequestToJSONTyped(json, false);
|
|
}
|
|
|
|
export function DtoAttachLoadBalancerRequestToJSONTyped(
|
|
value?: DtoAttachLoadBalancerRequest | null,
|
|
ignoreDiscriminator: boolean = false,
|
|
): any {
|
|
if (value == null) {
|
|
return value;
|
|
}
|
|
|
|
return {
|
|
load_balancer_id: value["load_balancer_id"],
|
|
};
|
|
}
|