-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathaudienceSummary.ts
145 lines (140 loc) · 3.72 KB
/
audienceSummary.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 { AudienceDefinition } from './audienceDefinition';
import { AudienceOptions } from './audienceOptions';
/**
* Defines an Audience.
*/
export class AudienceSummary {
/**
* Audience id.
*/
'id': string;
/**
* Space id for the audience.
*/
'spaceId': string;
/**
* Name of the audience.
*/
'name': string;
/**
* Description of the audience.
*/
'description'?: string;
/**
* Key for the audience.
*/
'key': string;
/**
* Enabled/disabled status for the audience.
*/
'enabled': boolean;
'definition': AudienceDefinition | null;
/**
* Status for the audience. Possible values: Backfilling, Computing, Failed, Live, Awaiting Destinations, Disabled.
*/
'status'?: string;
/**
* User id who created the audience.
*/
'createdBy': string;
/**
* User id who last updated the audience.
*/
'updatedBy': string;
/**
* Date the audience was created.
*/
'createdAt': string;
/**
* Date the audience was last updated.
*/
'updatedAt': string;
'options'?: AudienceOptions;
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: 'AudienceDefinition',
},
{
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: 'AudienceOptions',
},
];
static getAttributeTypeMap() {
return AudienceSummary.attributeTypeMap;
}
}