-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathaddLabelsToSourceAlphaInput.ts
42 lines (37 loc) · 1.5 KB
/
addLabelsToSourceAlphaInput.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
/**
* 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 { LabelAlpha } from './labelAlpha';
/**
* Applies an existing label to an existing Source.
*/
export class AddLabelsToSourceAlphaInput {
/**
* The labels to associate with a Source.
*/
'labels': Array<LabelAlpha>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}> = [
{
name: 'labels',
baseName: 'labels',
type: 'Array<LabelAlpha>',
},
];
static getAttributeTypeMap() {
return AddLabelsToSourceAlphaInput.attributeTypeMap;
}
}