mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 04:40:05 +01:00
1.8 KiB
1.8 KiB
DtoNodePoolResponse
Properties
| Name | Type |
|---|---|
annotations |
Array<DtoAnnotationResponse> |
created_at |
string |
id |
string |
labels |
Array<DtoLabelResponse> |
name |
string |
organization_id |
string |
role |
string |
servers |
Array<DtoServerResponse> |
taints |
Array<DtoTaintResponse> |
updated_at |
string |
Example
import type { DtoNodePoolResponse } from "@glueops/autoglue-sdk-go";
// TODO: Update the object below with actual values
const example = {
annotations: null,
created_at: null,
id: null,
labels: null,
name: null,
organization_id: null,
role: null,
servers: null,
taints: null,
updated_at: null,
} satisfies DtoNodePoolResponse;
console.log(example);
// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example);
console.log(exampleJSON);
// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as DtoNodePoolResponse;
console.log(exampleParsed);
[Back to top] [Back to API list] [Back to Model list] [Back to README]