-
Notifications
You must be signed in to change notification settings - Fork 0
/
KalturaConfigurationGroupTagService.js
45 lines (41 loc) · 1.4 KB
/
KalturaConfigurationGroupTagService.js
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
/**
*Class definition for the Kaltura service: configurationGroupTag.
**/
var KalturaConfigurationGroupTagService = {
/**
* Add a new tag to a configuration group. If this tag is already associated to another group, request fails.
* @param configurationGroupTag KalturaConfigurationGroupTag Configuration group tag (optional)
**/
add: function(configurationGroupTag){
var kparams = new Object();
kparams.configurationGroupTag = configurationGroupTag;
return new KalturaRequestBuilder("configurationgrouptag", "add", kparams);
},
/**
* Remove a tag association from configuration group.
* @param tag string Tag (optional)
**/
deleteAction: function(tag){
var kparams = new Object();
kparams.tag = tag;
return new KalturaRequestBuilder("configurationgrouptag", "delete", kparams);
},
/**
* Return the configuration group the tag is associated to.
* @param tag string Tag (optional)
**/
get: function(tag){
var kparams = new Object();
kparams.tag = tag;
return new KalturaRequestBuilder("configurationgrouptag", "get", kparams);
},
/**
* Return list of tags for a configuration group.
* @param filter KalturaConfigurationGroupTagFilter Filter option for configuration group identifier (optional)
**/
listAction: function(filter){
var kparams = new Object();
kparams.filter = filter;
return new KalturaRequestBuilder("configurationgrouptag", "list", kparams);
}
}