-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcomputedTraitSummary.ts
145 lines (140 loc) · 3.83 KB
/
computedTraitSummary.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
/**
* Segment Public API
* The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
*
* The version of the OpenAPI document: 58.2.0
* Contact: friends@segment.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { RequestFile } from './models';
import { ComputedTraitsDefinition } from './computedTraitsDefinition';
import { TraitOptions } from './traitOptions';
/**
* Defines a Computed trait.
*/
export class ComputedTraitSummary {
/**
* Computed trait id.
*/
'id': string;
/**
* Space id for the computed trait.
*/
'spaceId': string;
/**
* Name of the computed trait.
*/
'name': string;
/**
* Description of the computed trait.
*/
'description'?: string;
/**
* Key for the computed trait.
*/
'key': string;
/**
* Enabled/disabled status for the computed trait.
*/
'enabled': boolean;
'definition': ComputedTraitsDefinition | null;
/**
* Status for the computed trait. Possible values: Backfilling, Computing, Failed, Live, Awaiting Destinations, Disabled.
*/
'status'?: string;
/**
* User id who created the computed trait.
*/
'createdBy': string;
/**
* User id who last updated the computed trait.
*/
'updatedBy': string;
/**
* The timestamp of the computed trait\'s creation.
*/
'createdAt': string;
/**
* The timestamp of the computed trait\'s last change.
*/
'updatedAt': string;
'options'?: TraitOptions;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}> = [
{
name: 'id',
baseName: 'id',
type: 'string',
},
{
name: 'spaceId',
baseName: 'spaceId',
type: 'string',
},
{
name: 'name',
baseName: 'name',
type: 'string',
},
{
name: 'description',
baseName: 'description',
type: 'string',
},
{
name: 'key',
baseName: 'key',
type: 'string',
},
{
name: 'enabled',
baseName: 'enabled',
type: 'boolean',
},
{
name: 'definition',
baseName: 'definition',
type: 'ComputedTraitsDefinition',
},
{
name: 'status',
baseName: 'status',
type: 'string',
},
{
name: 'createdBy',
baseName: 'createdBy',
type: 'string',
},
{
name: 'updatedBy',
baseName: 'updatedBy',
type: 'string',
},
{
name: 'createdAt',
baseName: 'createdAt',
type: 'string',
},
{
name: 'updatedAt',
baseName: 'updatedAt',
type: 'string',
},
{
name: 'options',
baseName: 'options',
type: 'TraitOptions',
},
];
static getAttributeTypeMap() {
return ComputedTraitSummary.attributeTypeMap;
}
}