mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-12 20:30:05 +01:00
1.3 KiB
1.3 KiB
HandlersVersionResponse
Properties
| Name | Type |
|---|---|
built |
string |
builtBy |
string |
commit |
string |
commitTime |
string |
go |
string |
goArch |
string |
goOS |
string |
modified |
boolean |
revision |
string |
vcs |
string |
version |
string |
Example
import type { HandlersVersionResponse } from '@glueops/autoglue-sdk-go'
// TODO: Update the object below with actual values
const example = {
"built": 2025-11-08T12:34:56Z,
"builtBy": ci,
"commit": a1b2c3d,
"commitTime": 2025-11-08T12:31:00Z,
"go": go1.23.3,
"goArch": amd64,
"goOS": linux,
"modified": false,
"revision": a1b2c3d4e5f6abcdef,
"vcs": git,
"version": 1.4.2,
} satisfies HandlersVersionResponse
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 HandlersVersionResponse
console.log(exampleParsed)
[Back to top] [Back to API list] [Back to Model list] [Back to README]