/
WorkerPing.ts
70 lines (63 loc) · 1.74 KB
/
WorkerPing.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/**
* Windmill server API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: 1.28.1
* Contact: contact@windmill.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 { HttpFile } from '../http/http.ts';
export class WorkerPing {
'worker': string;
'workerInstance': string;
'pingAt': Date;
'startedAt': Date;
'ip': string;
'jobsExecuted': number;
static readonly discriminator: string | undefined = undefined;
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "worker",
"baseName": "worker",
"type": "string",
"format": ""
},
{
"name": "workerInstance",
"baseName": "worker_instance",
"type": "string",
"format": ""
},
{
"name": "pingAt",
"baseName": "ping_at",
"type": "Date",
"format": "date-time"
},
{
"name": "startedAt",
"baseName": "started_at",
"type": "Date",
"format": "date-time"
},
{
"name": "ip",
"baseName": "ip",
"type": "string",
"format": ""
},
{
"name": "jobsExecuted",
"baseName": "jobs_executed",
"type": "number",
"format": "int32"
} ];
static getAttributeTypeMap() {
return WorkerPing.attributeTypeMap;
}
public constructor() {
}
}