-
Notifications
You must be signed in to change notification settings - Fork 0
/
KalturaConfigurationsService.js
57 lines (52 loc) · 1.65 KB
/
KalturaConfigurationsService.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
56
57
/**
*Class definition for the Kaltura service: configurations.
**/
var KalturaConfigurationsService = {
/**
* Add a new device configuration to a configuration group.
* @param configurations KalturaConfigurations Device configuration (optional)
**/
add: function(configurations){
var kparams = new Object();
kparams.configurations = configurations;
return new KalturaRequestBuilder("configurations", "add", kparams);
},
/**
* Delete a device configuration.
* @param id string Configuration identifier (optional)
**/
deleteAction: function(id){
var kparams = new Object();
kparams.id = id;
return new KalturaRequestBuilder("configurations", "delete", kparams);
},
/**
* Return the device configuration.
* @param id string Configuration identifier (optional)
**/
get: function(id){
var kparams = new Object();
kparams.id = id;
return new KalturaRequestBuilder("configurations", "get", kparams);
},
/**
* Return a list of device configurations of a configuration group.
* @param filter KalturaConfigurationsFilter Filter option for configuration group id. (optional)
**/
listAction: function(filter){
var kparams = new Object();
kparams.filter = filter;
return new KalturaRequestBuilder("configurations", "list", kparams);
},
/**
* Update device configuration.
* @param id string Configuration identifier (optional)
* @param configurations KalturaConfigurations configuration to update (optional)
**/
update: function(id, configurations){
var kparams = new Object();
kparams.id = id;
kparams.configurations = configurations;
return new KalturaRequestBuilder("configurations", "update", kparams);
}
}