mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 04:40:05 +01:00
37 lines
1001 B
Markdown
37 lines
1001 B
Markdown
# DtoPageJob
|
|
|
|
## Properties
|
|
|
|
| Name | Type |
|
|
| ----------- | -------------------------------- |
|
|
| `items` | [Array<DtoJob>](DtoJob.md) |
|
|
| `page` | number |
|
|
| `page_size` | number |
|
|
| `total` | number |
|
|
|
|
## Example
|
|
|
|
```typescript
|
|
import type { DtoPageJob } from "@glueops/autoglue-sdk-go";
|
|
|
|
// TODO: Update the object below with actual values
|
|
const example = {
|
|
items: null,
|
|
page: 1,
|
|
page_size: 25,
|
|
total: 120,
|
|
} satisfies DtoPageJob;
|
|
|
|
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 DtoPageJob;
|
|
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)
|