-
Notifications
You must be signed in to change notification settings - Fork 0
/
KalturaConfigurationGroupService.js
55 lines (50 loc) · 1.73 KB
/
KalturaConfigurationGroupService.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
46
47
48
49
50
51
52
53
54
55
/**
*Class definition for the Kaltura service: configurationGroup.
**/
var KalturaConfigurationGroupService = {
/**
* Add a new configuration group.
* @param configurationGroup KalturaConfigurationGroup Configuration group (optional)
**/
add: function(configurationGroup){
var kparams = new Object();
kparams.configurationGroup = configurationGroup;
return new KalturaRequestBuilder("configurationgroup", "add", kparams);
},
/**
* Remove a configuration group, including its tags, device configurations and devices associations.
* @param id string Configuration group identifier (optional)
**/
deleteAction: function(id){
var kparams = new Object();
kparams.id = id;
return new KalturaRequestBuilder("configurationgroup", "delete", kparams);
},
/**
* Return the configuration group details, including group identifiers, tags, and number of associated devices, and list of device configuration.
* @param id string Configuration group identifier (optional)
**/
get: function(id){
var kparams = new Object();
kparams.id = id;
return new KalturaRequestBuilder("configurationgroup", "get", kparams);
},
/**
* Return the list of configuration groups.
**/
listAction: function(){
var kparams = new Object();
return new KalturaRequestBuilder("configurationgroup", "list", kparams);
},
/**
* Update configuration group name.
* @param id string Configuration group identifier (optional)
* @param configurationGroup KalturaConfigurationGroup Configuration group (optional)
**/
update: function(id, configurationGroup){
var kparams = new Object();
kparams.id = id;
kparams.configurationGroup = configurationGroup;
return new KalturaRequestBuilder("configurationgroup", "update", kparams);
}
}