/
TruncatedToken.ts
63 lines (56 loc) · 1.6 KB
/
TruncatedToken.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
/**
* 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 TruncatedToken {
'label'?: string;
'expiration'?: Date;
'tokenPrefix': string;
'createdAt': Date;
'lastUsedAt': Date;
static readonly discriminator: string | undefined = undefined;
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "label",
"baseName": "label",
"type": "string",
"format": ""
},
{
"name": "expiration",
"baseName": "expiration",
"type": "Date",
"format": "date-time"
},
{
"name": "tokenPrefix",
"baseName": "token_prefix",
"type": "string",
"format": ""
},
{
"name": "createdAt",
"baseName": "created_at",
"type": "Date",
"format": "date-time"
},
{
"name": "lastUsedAt",
"baseName": "last_used_at",
"type": "Date",
"format": "date-time"
} ];
static getAttributeTypeMap() {
return TruncatedToken.attributeTypeMap;
}
public constructor() {
}
}