velir_kaltura-ruby 0.4.6 → 0.4.7
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/kaltura/constants/access_control_order_by.rb +8 -2
- data/lib/kaltura/constants/audio_codec.rb +10 -5
- data/lib/kaltura/constants/base.rb +47 -20
- data/lib/kaltura/constants/batch_job.rb +74 -49
- data/lib/kaltura/constants/bit_rate_mode.rb +8 -2
- data/lib/kaltura/constants/category_order_by.rb +12 -6
- data/lib/kaltura/constants/commercial_use_type.rb +8 -2
- data/lib/kaltura/constants/container_format.rb +15 -9
- data/lib/kaltura/constants/control_panel_command.rb +19 -4
- data/lib/kaltura/constants/conversion_profile_order_by.rb +8 -2
- data/lib/kaltura/constants/country_restriction_type.rb +10 -2
- data/lib/kaltura/constants/data_entry_order_by.rb +14 -8
- data/lib/kaltura/constants/directory_restriction_type.rb +8 -2
- data/lib/kaltura/constants/document.rb +29 -11
- data/lib/kaltura/constants/duration_type.rb +10 -4
- data/lib/kaltura/constants/editor_type.rb +8 -2
- data/lib/kaltura/constants/email_ingestion_profile_status.rb +8 -2
- data/lib/kaltura/constants/entry.rb +45 -21
- data/lib/kaltura/constants/file_sync.rb +53 -25
- data/lib/kaltura/constants/flavor_asset_status.rb +12 -6
- data/lib/kaltura/constants/gender.rb +9 -3
- data/lib/kaltura/constants/google_syndication_feed.rb +29 -11
- data/lib/kaltura/constants/i_tunes_syndication_feed/categories.rb +74 -67
- data/lib/kaltura/constants/i_tunes_syndication_feed.rb +30 -12
- data/lib/kaltura/constants/license_type.rb +23 -17
- data/lib/kaltura/constants/live_stream_admin_entry_order_by.rb +25 -18
- data/lib/kaltura/constants/mail_job_order_by.rb +10 -4
- data/lib/kaltura/constants/media.rb +44 -25
- data/lib/kaltura/constants/mix_entry_order_by.rb +22 -16
- data/lib/kaltura/constants/moderation.rb +20 -8
- data/lib/kaltura/constants/notification.rb +32 -13
- data/lib/kaltura/constants/nullable_boolean.rb +8 -3
- data/lib/kaltura/constants/partner.rb +51 -26
- data/lib/kaltura/constants/playable_entry_order_by.rb +22 -16
- data/lib/kaltura/constants/playlist.rb +24 -11
- data/lib/kaltura/constants/report_type.rb +18 -8
- data/lib/kaltura/constants/search_provider_type.rb +23 -16
- data/lib/kaltura/constants/session_type.rb +8 -2
- data/lib/kaltura/constants/site_restriction_type.rb +8 -2
- data/lib/kaltura/constants/source_type.rb +11 -5
- data/lib/kaltura/constants/stats/kmc_event_type.rb +69 -63
- data/lib/kaltura/constants/stats.rb +39 -26
- data/lib/kaltura/constants/syndication_feed.rb +26 -6
- data/lib/kaltura/constants.rb +15 -2
- data/lib/kaltura/kaltura_client_base.rb +3 -1
- data/lib/kaltura/service/base_entry_service.rb +1 -1
- data/lib/kaltura/service/live_stream_service.rb +49 -3
- data/lib/kaltura/service/media_service.rb +401 -4
- data/velir_kaltura-ruby.gemspec +2 -2
- metadata +4 -4
data/VERSION.yml
CHANGED
@@ -1,8 +1,14 @@
|
|
1
1
|
module Kaltura
|
2
2
|
module Constants
|
3
|
+
##
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
5
|
+
# be more in line with the C# API client's namespacing.
|
6
|
+
#
|
7
|
+
# @see Kaltura::Filter::AccessControlFilter
|
8
|
+
##
|
3
9
|
class AccessControlOrderBy
|
4
|
-
CREATED_AT_ASC = "+createdAt"
|
5
|
-
CREATED_AT_DESC = "-createdAt"
|
10
|
+
CREATED_AT_ASC = "+createdAt" #Order by Created at ascending for a list of AccessControls
|
11
|
+
CREATED_AT_DESC = "-createdAt" #Order by Created at descending for a list of AccessControls
|
6
12
|
end
|
7
13
|
end
|
8
14
|
end
|
@@ -1,11 +1,16 @@
|
|
1
1
|
module Kaltura
|
2
2
|
module Constants
|
3
|
+
##
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
5
|
+
# be more in line with the C# API client's namespacing.
|
6
|
+
#
|
7
|
+
##
|
3
8
|
class AudioCodec
|
4
|
-
NONE = ""
|
5
|
-
MP3 = "mp3"
|
6
|
-
AAC = "aac"
|
7
|
-
VORBIS = "vorbis"
|
8
|
-
WMA = "wma"
|
9
|
+
NONE = "" #invalid audio codec
|
10
|
+
MP3 = "mp3" # mp3 formatted audio file
|
11
|
+
AAC = "aac" # apple formatted audio file
|
12
|
+
VORBIS = "vorbis" #ogg vorbis formatted audio file
|
13
|
+
WMA = "wma" # windows audio formatted audio file
|
9
14
|
end
|
10
15
|
end
|
11
16
|
end
|
@@ -1,33 +1,60 @@
|
|
1
1
|
module Kaltura
|
2
2
|
module Constants
|
3
|
+
##
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
5
|
+
# be more in line with the C# API client's namespacing.
|
6
|
+
#
|
7
|
+
# @see Kaltura::Filter::BaseSyndicationFeedFilter
|
8
|
+
# @see Kaltura::Filter::BaseJobFilter
|
9
|
+
# @see Kaltura::Filter::BaseEntryFilter
|
10
|
+
##
|
3
11
|
module Base
|
12
|
+
##
|
13
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
14
|
+
# be more in line with the C# API client's namespacing.
|
15
|
+
#
|
16
|
+
# @see Kaltura::Filter::BaseSyndicationFeedFilter
|
17
|
+
##
|
4
18
|
class SyndicationFeedOrderBy
|
5
|
-
PLAYLIST_ID_ASC = "+playlistId"
|
6
|
-
PLAYLIST_ID_DESC = "-playlistId"
|
7
|
-
NAME_ASC = "+name"
|
8
|
-
NAME_DESC = "-name"
|
9
|
-
TYPE_ASC = "+type"
|
10
|
-
TYPE_DESC = "-type"
|
11
|
-
CREATED_AT_ASC = "+createdAt"
|
12
|
-
CREATED_AT_DESC = "-createdAt"
|
19
|
+
PLAYLIST_ID_ASC = "+playlistId" #order by playlist ID ascending.
|
20
|
+
PLAYLIST_ID_DESC = "-playlistId" #order by playlist ID descending.
|
21
|
+
NAME_ASC = "+name" #order by name ascending.
|
22
|
+
NAME_DESC = "-name" #order by by name descending.
|
23
|
+
TYPE_ASC = "+type" #order by type ascending.
|
24
|
+
TYPE_DESC = "-type" #order by type descending.
|
25
|
+
CREATED_AT_ASC = "+createdAt" #order by created_at ascending.
|
26
|
+
CREATED_AT_DESC = "-createdAt" #order by created_at descending.
|
13
27
|
end
|
14
28
|
|
29
|
+
|
30
|
+
##
|
31
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
32
|
+
# be more in line with the C# API client's namespacing.
|
33
|
+
#
|
34
|
+
# @see Kaltura::Filter::BaseJobFilter
|
35
|
+
##
|
15
36
|
class JobOrderBy
|
16
|
-
CREATED_AT_ASC = "+createdAt"
|
17
|
-
CREATED_AT_DESC = "-createdAt"
|
18
|
-
EXECUTION_ATTEMPTS_ASC = "+executionAttempts"
|
19
|
-
EXECUTION_ATTEMPTS_DESC = "-executionAttempts"
|
37
|
+
CREATED_AT_ASC = "+createdAt" #order by created_at ascending.
|
38
|
+
CREATED_AT_DESC = "-createdAt" #order by created_at descending.
|
39
|
+
EXECUTION_ATTEMPTS_ASC = "+executionAttempts" #order by execution attempts ascending.
|
40
|
+
EXECUTION_ATTEMPTS_DESC = "-executionAttempts" #order by execution attempts descending.
|
20
41
|
end
|
21
42
|
|
43
|
+
##
|
44
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
45
|
+
# be more in line with the C# API client's namespacing.
|
46
|
+
#
|
47
|
+
# @see Kaltura::Filter::BaseEntryFilter
|
48
|
+
##
|
22
49
|
class EntryOrderBy
|
23
|
-
NAME_ASC = "+name"
|
24
|
-
NAME_DESC = "-name"
|
25
|
-
MODERATION_COUNT_ASC = "+moderationCount"
|
26
|
-
MODERATION_COUNT_DESC = "-moderationCount"
|
27
|
-
CREATED_AT_ASC = "+createdAt"
|
28
|
-
CREATED_AT_DESC = "-createdAt"
|
29
|
-
RANK_ASC = "+rank"
|
30
|
-
RANK_DESC = "-rank"
|
50
|
+
NAME_ASC = "+name" #order by name ascending.
|
51
|
+
NAME_DESC = "-name" #order by name descending.
|
52
|
+
MODERATION_COUNT_ASC = "+moderationCount" #order by moderation count ascending.
|
53
|
+
MODERATION_COUNT_DESC = "-moderationCount" #order by moderation count descending.
|
54
|
+
CREATED_AT_ASC = "+createdAt" #order by created_at ascending.
|
55
|
+
CREATED_AT_DESC = "-createdAt" #ordery by created_at descending.
|
56
|
+
RANK_ASC = "+rank" #order by rank ascending.
|
57
|
+
RANK_DESC = "-rank" #order by rank descending.
|
31
58
|
end
|
32
59
|
end
|
33
60
|
end
|
@@ -1,61 +1,86 @@
|
|
1
1
|
module Kaltura
|
2
2
|
module Constants
|
3
|
+
##
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
5
|
+
# be more in line with the C# API client's namespacing.
|
6
|
+
#
|
7
|
+
# @see Kaltura::Filter::BatchJobFilter
|
8
|
+
# @see Kaltura::BulkUpload
|
9
|
+
##
|
3
10
|
module BatchJob
|
11
|
+
##
|
12
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
13
|
+
# be more in line with the C# API client's namespacing.
|
14
|
+
#
|
15
|
+
# @see Kaltura::Filter::BatchJobFilter
|
16
|
+
##
|
4
17
|
class OrderBy
|
5
|
-
STATUS_ASC = "+status"
|
6
|
-
STATUS_DESC = "-status"
|
7
|
-
QUEUE_TIME_ASC = "+queueTime"
|
8
|
-
QUEUE_TIME_DESC = "-queueTime"
|
9
|
-
FINISH_TIME_ASC = "+finishTime"
|
10
|
-
FINISH_TIME_DESC = "-finishTime"
|
11
|
-
CREATED_AT_ASC = "+createdAt"
|
12
|
-
CREATED_AT_DESC = "-createdAt"
|
13
|
-
EXECUTION_ATTEMPTS_ASC = "+executionAttempts"
|
14
|
-
EXECUTION_ATTEMPTS_DESC = "-executionAttempts"
|
18
|
+
STATUS_ASC = "+status" #order by status ascending.
|
19
|
+
STATUS_DESC = "-status" #order by status descending.
|
20
|
+
QUEUE_TIME_ASC = "+queueTime" #order by queue time ascending.
|
21
|
+
QUEUE_TIME_DESC = "-queueTime" #order by queue time descending.
|
22
|
+
FINISH_TIME_ASC = "+finishTime" #order by finish time ascending.
|
23
|
+
FINISH_TIME_DESC = "-finishTime" #order by finish time descending.
|
24
|
+
CREATED_AT_ASC = "+createdAt" #order by created at ascending.
|
25
|
+
CREATED_AT_DESC = "-createdAt" #order by created_at descending.
|
26
|
+
EXECUTION_ATTEMPTS_ASC = "+executionAttempts" #order by execution attempts ascending.
|
27
|
+
EXECUTION_ATTEMPTS_DESC = "-executionAttempts" #order by execution attempts descending.
|
15
28
|
end
|
16
|
-
|
29
|
+
|
30
|
+
##
|
31
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
32
|
+
# be more in line with the C# API client's namespacing.
|
33
|
+
#
|
34
|
+
# @see Kaltura::BulkUpload
|
35
|
+
##
|
17
36
|
class Status
|
18
|
-
PENDING = 0
|
19
|
-
QUEUED = 1
|
20
|
-
PROCESSING = 2
|
21
|
-
PROCESSED = 3
|
22
|
-
MOVEFILE = 4
|
23
|
-
FINISHED = 5
|
24
|
-
FAILED = 6
|
25
|
-
ABORTED = 7
|
26
|
-
ALMOST_DONE = 8
|
27
|
-
RETRY = 9
|
28
|
-
FATAL = 10
|
29
|
-
DONT_PROCESS = 11
|
37
|
+
PENDING = 0 #pending status
|
38
|
+
QUEUED = 1 #queued status
|
39
|
+
PROCESSING = 2 #processing status
|
40
|
+
PROCESSED = 3 #processed status
|
41
|
+
MOVEFILE = 4 #moving the file status
|
42
|
+
FINISHED = 5 #finished status
|
43
|
+
FAILED = 6 #failed state
|
44
|
+
ABORTED = 7 #aborted state
|
45
|
+
ALMOST_DONE = 8 #nearly completed status
|
46
|
+
RETRY = 9 #retrying status
|
47
|
+
FATAL = 10 #fatal error state
|
48
|
+
DONT_PROCESS = 11 #unable to process state
|
30
49
|
end
|
31
50
|
|
51
|
+
##
|
52
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
53
|
+
# be more in line with the C# API client's namespacing.
|
54
|
+
#
|
55
|
+
# @see Kaltura::BulkUpload
|
56
|
+
##
|
32
57
|
class Type
|
33
|
-
CONVERT = 0
|
34
|
-
IMPORT = 1
|
35
|
-
DELETE = 2
|
36
|
-
FLATTEN = 3
|
37
|
-
BULKUPLOAD = 4
|
38
|
-
DVDCREATOR = 5
|
39
|
-
DOWNLOAD = 6
|
40
|
-
OOCONVERT = 7
|
41
|
-
CONVERT_PROFILE = 10
|
42
|
-
POSTCONVERT = 11
|
43
|
-
PULL = 12
|
44
|
-
REMOTE_CONVERT = 13
|
45
|
-
EXTRACT_MEDIA = 14
|
46
|
-
MAIL = 15
|
47
|
-
NOTIFICATION = 16
|
48
|
-
CLEANUP = 17
|
49
|
-
SCHEDULER_HELPER = 18
|
50
|
-
BULKDOWNLOAD = 19
|
51
|
-
DB_CLEANUP = 20
|
52
|
-
PROVISION_PROVIDE = 21
|
53
|
-
CONVERT_COLLECTION = 22
|
54
|
-
STORAGE_EXPORT = 23
|
55
|
-
PROVISION_DELETE = 24
|
56
|
-
STORAGE_DELETE = 25
|
57
|
-
EMAIL_INGESTION = 26
|
58
|
-
PROJECT = 1000
|
58
|
+
CONVERT = 0 #conversion job
|
59
|
+
IMPORT = 1 #importing job
|
60
|
+
DELETE = 2 #deletion job
|
61
|
+
FLATTEN = 3 #flatten job
|
62
|
+
BULKUPLOAD = 4 #bulk upload job
|
63
|
+
DVDCREATOR = 5 #DVD creation job
|
64
|
+
DOWNLOAD = 6 #download job
|
65
|
+
OOCONVERT = 7 #conversion job
|
66
|
+
CONVERT_PROFILE = 10 #conversion profile creation job
|
67
|
+
POSTCONVERT = 11 #post conversion job
|
68
|
+
PULL = 12 #pull request job
|
69
|
+
REMOTE_CONVERT = 13 #remote conversion job
|
70
|
+
EXTRACT_MEDIA = 14 #media extraction job
|
71
|
+
MAIL = 15 #sending mail job
|
72
|
+
NOTIFICATION = 16 #notification job
|
73
|
+
CLEANUP = 17 #cleanup job
|
74
|
+
SCHEDULER_HELPER = 18 #scheduling job
|
75
|
+
BULKDOWNLOAD = 19 #bulk download job
|
76
|
+
DB_CLEANUP = 20 #database cleanup job
|
77
|
+
PROVISION_PROVIDE = 21 #provisioning job
|
78
|
+
CONVERT_COLLECTION = 22 #collection conversion job
|
79
|
+
STORAGE_EXPORT = 23 #storage export job
|
80
|
+
PROVISION_DELETE = 24 #provisioning deletion job
|
81
|
+
STORAGE_DELETE = 25 #storage deletion job
|
82
|
+
EMAIL_INGESTION = 26 #email ingestion job
|
83
|
+
PROJECT = 1000 #project job
|
59
84
|
end
|
60
85
|
end
|
61
86
|
end
|
@@ -1,8 +1,14 @@
|
|
1
1
|
module Kaltura
|
2
2
|
module Constants
|
3
|
+
##
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
5
|
+
# be more in line with the C# API client's namespacing.
|
6
|
+
#
|
7
|
+
# @see Kaltura::BitRateMode
|
8
|
+
##
|
3
9
|
class BitRateMode
|
4
|
-
CBR = 1
|
5
|
-
VBR = 2
|
10
|
+
CBR = 1 #CBR bitrate
|
11
|
+
VBR = 2 #VBR bitrate
|
6
12
|
end
|
7
13
|
end
|
8
14
|
end
|
@@ -1,12 +1,18 @@
|
|
1
1
|
module Kaltura
|
2
2
|
module Constants
|
3
|
+
##
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
5
|
+
# be more in line with the C# API client's namespacing.
|
6
|
+
#
|
7
|
+
# @see Kaltura::Filter::CategoryFilter
|
8
|
+
##
|
3
9
|
class CategoryOrderBy
|
4
|
-
DEPTH_ASC = "+depth"
|
5
|
-
DEPTH_DESC = "-depth"
|
6
|
-
FULL_NAME_ASC = "+fullName"
|
7
|
-
FULL_NAME_DESC = "-fullName"
|
8
|
-
CREATED_AT_ASC = "+createdAt"
|
9
|
-
CREATED_AT_DESC = "-createdAt"
|
10
|
+
DEPTH_ASC = "+depth" #order by depth ascending.
|
11
|
+
DEPTH_DESC = "-depth" #order by depth descending.
|
12
|
+
FULL_NAME_ASC = "+fullName" #order by full name ascending.
|
13
|
+
FULL_NAME_DESC = "-fullName" #order by full name descending.
|
14
|
+
CREATED_AT_ASC = "+createdAt" #order by created_at ascending.
|
15
|
+
CREATED_AT_DESC = "-createdAt" #order by created_at descending.
|
10
16
|
end
|
11
17
|
end
|
12
18
|
end
|
@@ -1,8 +1,14 @@
|
|
1
1
|
module Kaltura
|
2
2
|
module Constants
|
3
|
+
##
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
5
|
+
# be more in line with the C# API client's namespacing.
|
6
|
+
#
|
7
|
+
# @see Kaltura::Partner
|
8
|
+
##
|
3
9
|
class CommercialUseType
|
4
|
-
COMMERCIAL_USE = "commercial_use"
|
5
|
-
NON_COMMERCIAL_USE = "non-commercial_use"
|
10
|
+
COMMERCIAL_USE = "commercial_use" #Used for commercial purposes.
|
11
|
+
NON_COMMERCIAL_USE = "non-commercial_use" #used for non-commercial purposes.
|
6
12
|
end
|
7
13
|
end
|
8
14
|
end
|
@@ -1,15 +1,21 @@
|
|
1
1
|
module Kaltura
|
2
2
|
module Constants
|
3
|
+
##
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
5
|
+
# be more in line with the C# API client's namespacing.
|
6
|
+
#
|
7
|
+
# @see Kaltura::FlavorAsset
|
8
|
+
##
|
3
9
|
class ContainerFormat
|
4
|
-
FLV = "flv"
|
5
|
-
MP4 = "mp4"
|
6
|
-
AVI = "avi"
|
7
|
-
MOV = "mov"
|
8
|
-
MP3 = "mp3"
|
9
|
-
_3GP = "3gp"
|
10
|
-
OGG = "ogg"
|
11
|
-
WMV = "wmv"
|
12
|
-
ISMV = "ismv"
|
10
|
+
FLV = "flv" #flash video.
|
11
|
+
MP4 = "mp4" #MPEG-4 video
|
12
|
+
AVI = "avi" #audio video interleave file
|
13
|
+
MOV = "mov" #Apple Quicktime Movie
|
14
|
+
MP3 = "mp3" #mp3 Audio
|
15
|
+
_3GP = "3gp" #3GPP multimedia file
|
16
|
+
OGG = "ogg" #ogg-vorbis video
|
17
|
+
WMV = "wmv" #windows media video
|
18
|
+
ISMV = "ismv" # iMovie file? Unsure of this one.
|
13
19
|
end
|
14
20
|
end
|
15
21
|
end
|
@@ -1,13 +1,26 @@
|
|
1
1
|
module Kaltura
|
2
2
|
module Constants
|
3
|
+
##
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
5
|
+
# be more in line with the C# API client's namespacing.
|
6
|
+
#
|
7
|
+
# @see Kaltura::Filter::ControlPanelCommandFilter
|
8
|
+
##
|
3
9
|
module ControlPanelCommand
|
10
|
+
##
|
11
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
12
|
+
# be more in line with the C# API client's namespacing.
|
13
|
+
#
|
14
|
+
# @see Kaltura::Filter::ControlPanelCommandFilter
|
15
|
+
##
|
4
16
|
class OrderBy
|
5
|
-
CREATED_AT_ASC = "+createdAt"
|
6
|
-
CREATED_AT_DESC = "-createdAt"
|
7
|
-
UPDATED_AT_ASC = "+updatedAt"
|
8
|
-
UPDATED_AT_DESC = "-updatedAt"
|
17
|
+
CREATED_AT_ASC = "+createdAt" #order by created_at ascending.
|
18
|
+
CREATED_AT_DESC = "-createdAt" #order by created_at descending.
|
19
|
+
UPDATED_AT_ASC = "+updatedAt" #order by updated_at ascending.
|
20
|
+
UPDATED_AT_DESC = "-updatedAt" #order by updated_at descending.
|
9
21
|
end
|
10
22
|
|
23
|
+
# @private
|
11
24
|
class Status
|
12
25
|
PENDING = 1
|
13
26
|
HANDLED = 2
|
@@ -15,6 +28,7 @@ module Kaltura
|
|
15
28
|
FAILED = 4
|
16
29
|
end
|
17
30
|
|
31
|
+
# @private
|
18
32
|
class TargetType
|
19
33
|
DATA_CENTER = 1
|
20
34
|
SCHEDULER = 2
|
@@ -23,6 +37,7 @@ module Kaltura
|
|
23
37
|
BATCH = 5
|
24
38
|
end
|
25
39
|
|
40
|
+
# @private
|
26
41
|
class Type
|
27
42
|
STOP = 1
|
28
43
|
START = 2
|
@@ -1,8 +1,14 @@
|
|
1
1
|
module Kaltura
|
2
2
|
module Constants
|
3
|
+
##
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
5
|
+
# be more in line with the C# API client's namespacing.
|
6
|
+
#
|
7
|
+
# @see Kaltura::Filter::ConversionProfileFilter
|
8
|
+
##
|
3
9
|
class ConversionProfileOrderBy
|
4
|
-
CREATED_AT_ASC = "+createdAt"
|
5
|
-
CREATED_AT_DESC = "-createdAt"
|
10
|
+
CREATED_AT_ASC = "+createdAt" #order by created_at ascending.
|
11
|
+
CREATED_AT_DESC = "-createdAt" #order by created_at descending.
|
6
12
|
end
|
7
13
|
end
|
8
14
|
end
|
@@ -1,8 +1,16 @@
|
|
1
1
|
module Kaltura
|
2
2
|
module Constants
|
3
|
+
##
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
5
|
+
# be more in line with the C# API client's namespacing.
|
6
|
+
#
|
7
|
+
# @see Kaltura::Service::BaseEntryService
|
8
|
+
# @see Kaltura::EntryContextDataResult
|
9
|
+
# @see Kaltura::EntryContextDataParams
|
10
|
+
##
|
3
11
|
class CountryRestrictionType
|
4
|
-
RESTRICT_COUNTRY_LIST = 0
|
5
|
-
ALLOW_COUNTRY_LIST = 1
|
12
|
+
RESTRICT_COUNTRY_LIST = 0 #restrict countries.
|
13
|
+
ALLOW_COUNTRY_LIST = 1 #allow countries.
|
6
14
|
end
|
7
15
|
end
|
8
16
|
end
|
@@ -1,14 +1,20 @@
|
|
1
1
|
module Kaltura
|
2
2
|
module Constants
|
3
|
+
##
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
5
|
+
# be more in line with the C# API client's namespacing.
|
6
|
+
#
|
7
|
+
# @see Kaltura::Filter::DataEntryFilter
|
8
|
+
##
|
3
9
|
class DataEntryOrderBy
|
4
|
-
NAME_ASC = "+name"
|
5
|
-
NAME_DESC = "-name"
|
6
|
-
MODERATION_COUNT_ASC = "+moderationCount"
|
7
|
-
MODERATION_COUNT_DESC = "-moderationCount"
|
8
|
-
CREATED_AT_ASC = "+createdAt"
|
9
|
-
CREATED_AT_DESC = "-createdAt"
|
10
|
-
RANK_ASC = "+rank"
|
11
|
-
RANK_DESC = "-rank"
|
10
|
+
NAME_ASC = "+name" #order by name ascending.
|
11
|
+
NAME_DESC = "-name" #order by name descending.
|
12
|
+
MODERATION_COUNT_ASC = "+moderationCount" #order by moderation count ascending.
|
13
|
+
MODERATION_COUNT_DESC = "-moderationCount" #order by moderation count descending.
|
14
|
+
CREATED_AT_ASC = "+createdAt" #order by created_at ascending.
|
15
|
+
CREATED_AT_DESC = "-createdAt" #order by created_at descending.
|
16
|
+
RANK_ASC = "+rank" #order by rank ascending.
|
17
|
+
RANK_DESC = "-rank" #order by rank descending.
|
12
18
|
end
|
13
19
|
end
|
14
20
|
end
|
@@ -1,8 +1,14 @@
|
|
1
1
|
module Kaltura
|
2
2
|
module Constants
|
3
|
+
##
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
5
|
+
# be more in line with the C# API client's namespacing.
|
6
|
+
#
|
7
|
+
# @see Kaltura::DirectoryRestriction
|
8
|
+
##
|
3
9
|
class DirectoryRestrictionType
|
4
|
-
DONT_DISPLAY = 0
|
5
|
-
DISPLAY_WITH_LINK = 1
|
10
|
+
DONT_DISPLAY = 0 #do not display the directory.
|
11
|
+
DISPLAY_WITH_LINK = 1 #display the directory.
|
6
12
|
end
|
7
13
|
end
|
8
14
|
end
|
@@ -1,20 +1,38 @@
|
|
1
1
|
module Kaltura
|
2
2
|
module Constants
|
3
|
+
##
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
5
|
+
# be more in line with the C# API client's namespacing.
|
6
|
+
#
|
7
|
+
# @see Kaltura::Filter::DocumentEntryFilter
|
8
|
+
# @see Kaltura::DocumentEntry
|
9
|
+
##
|
3
10
|
module Document
|
11
|
+
##
|
12
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
13
|
+
# be more in line with the C# API client's namespacing.
|
14
|
+
#
|
15
|
+
# @see Kaltura::Filter::DocumentFilter
|
16
|
+
##
|
4
17
|
class OrderBy
|
5
|
-
NAME_ASC = "+name"
|
6
|
-
NAME_DESC = "-name"
|
7
|
-
MODERATION_COUNT_ASC = "+moderationCount"
|
8
|
-
MODERATION_COUNT_DESC = "-moderationCount"
|
9
|
-
CREATED_AT_ASC = "+createdAt"
|
10
|
-
CREATED_AT_DESC = "-createdAt"
|
11
|
-
RANK_ASC = "+rank"
|
12
|
-
RANK_DESC = "-rank"
|
18
|
+
NAME_ASC = "+name" #order by name ascending.
|
19
|
+
NAME_DESC = "-name" #order by name descending.
|
20
|
+
MODERATION_COUNT_ASC = "+moderationCount" #order by moderation count ascending.
|
21
|
+
MODERATION_COUNT_DESC = "-moderationCount" #order by moderation count descending.
|
22
|
+
CREATED_AT_ASC = "+createdAt" #order by created_at ascending.
|
23
|
+
CREATED_AT_DESC = "-createdAt" #ordery by created_at descending.
|
24
|
+
RANK_ASC = "+rank" #order by rank ascending.
|
25
|
+
RANK_DESC = "-rank" #order by rank descending.
|
13
26
|
end
|
14
|
-
|
27
|
+
##
|
28
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
29
|
+
# be more in line with the C# API client's namespacing.
|
30
|
+
#
|
31
|
+
# @see Kaltura::DocumentEntry
|
32
|
+
##
|
15
33
|
class Type
|
16
|
-
DOCUMENT = 11
|
17
|
-
SWF = 12
|
34
|
+
DOCUMENT = 11 #Document.
|
35
|
+
SWF = 12 #Executable Flash file.
|
18
36
|
end
|
19
37
|
end
|
20
38
|
end
|
@@ -1,10 +1,16 @@
|
|
1
1
|
module Kaltura
|
2
2
|
module Constants
|
3
|
+
##
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
5
|
+
# be more in line with the C# API client's namespacing.
|
6
|
+
#
|
7
|
+
# @see Kaltura::Filter::PlayableEntryFilter
|
8
|
+
##
|
3
9
|
class DurationType
|
4
|
-
NOT_AVAILABLE = "notavailable"
|
5
|
-
SHORT = "short"
|
6
|
-
MEDIUM = "medium"
|
7
|
-
LONG = "long"
|
10
|
+
NOT_AVAILABLE = "notavailable" #unavailable duration.
|
11
|
+
SHORT = "short" #short duration.
|
12
|
+
MEDIUM = "medium" #medium duration.
|
13
|
+
LONG = "long" #long duration.
|
8
14
|
end
|
9
15
|
end
|
10
16
|
end
|
@@ -1,8 +1,14 @@
|
|
1
1
|
module Kaltura
|
2
2
|
module Constants
|
3
|
+
##
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
5
|
+
# be more in line with the C# API client's namespacing.
|
6
|
+
#
|
7
|
+
# @see Kaltura::MixEntry
|
8
|
+
##
|
3
9
|
class EditorType
|
4
|
-
SIMPLE = 1
|
5
|
-
ADVANCED = 2
|
10
|
+
SIMPLE = 1 #simple Mix Editor
|
11
|
+
ADVANCED = 2 #advanced Mix Editor
|
6
12
|
end
|
7
13
|
end
|
8
14
|
end
|
@@ -1,8 +1,14 @@
|
|
1
1
|
module Kaltura
|
2
2
|
module Constants
|
3
|
+
##
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
5
|
+
# be more in line with the C# API client's namespacing.
|
6
|
+
#
|
7
|
+
# @see Kaltura::EmailIngestionProfile
|
8
|
+
##
|
3
9
|
class EmailIngestionProfileStatus
|
4
|
-
INACTIVE = 0
|
5
|
-
ACTIVE = 1
|
10
|
+
INACTIVE = 0 #inactive profile.
|
11
|
+
ACTIVE = 1 #active profile.
|
6
12
|
end
|
7
13
|
end
|
8
14
|
end
|