mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 21:00:06 +01:00
49 lines
1.8 KiB
Markdown
49 lines
1.8 KiB
Markdown
# DtoNodePoolResponse
|
|
|
|
## Properties
|
|
|
|
| Name | Type |
|
|
| ----------------- | -------------------------------------------------------------- |
|
|
| `annotations` | [Array<DtoAnnotationResponse>](DtoAnnotationResponse.md) |
|
|
| `created_at` | string |
|
|
| `id` | string |
|
|
| `labels` | [Array<DtoLabelResponse>](DtoLabelResponse.md) |
|
|
| `name` | string |
|
|
| `organization_id` | string |
|
|
| `role` | string |
|
|
| `servers` | [Array<DtoServerResponse>](DtoServerResponse.md) |
|
|
| `taints` | [Array<DtoTaintResponse>](DtoTaintResponse.md) |
|
|
| `updated_at` | string |
|
|
|
|
## Example
|
|
|
|
```typescript
|
|
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]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|