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
@@ -1,35 +1,54 @@
|
|
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::MediaEntryFilter
|
8
|
+
# @see Kaltura::MediaEntry
|
9
|
+
##
|
3
10
|
module Media
|
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::MediaEntryFilter
|
16
|
+
##
|
4
17
|
class OrderBy
|
5
|
-
MEDIA_TYPE_ASC = "+mediaType"
|
6
|
-
MEDIA_TYPE_DESC = "-mediaType"
|
7
|
-
PLAYS_ASC = "+plays"
|
8
|
-
PLAYS_DESC = "-plays"
|
9
|
-
VIEWS_ASC = "+views"
|
10
|
-
VIEWS_DESC = "-views"
|
11
|
-
DURATION_ASC = "+duration"
|
12
|
-
DURATION_DESC = "-duration"
|
13
|
-
MS_DURATION_ASC = "+msDuration"
|
14
|
-
MS_DURATION_DESC = "-msDuration"
|
15
|
-
NAME_ASC = "+name"
|
16
|
-
NAME_DESC = "-name"
|
17
|
-
MODERATION_COUNT_ASC = "+moderationCount"
|
18
|
-
MODERATION_COUNT_DESC = "-moderationCount"
|
19
|
-
CREATED_AT_ASC = "+createdAt"
|
20
|
-
CREATED_AT_DESC = "-createdAt"
|
21
|
-
RANK_ASC = "+rank"
|
22
|
-
RANK_DESC = "-rank"
|
18
|
+
MEDIA_TYPE_ASC = "+mediaType" #order by media type ascending
|
19
|
+
MEDIA_TYPE_DESC = "-mediaType" #order by media type descending
|
20
|
+
PLAYS_ASC = "+plays" #order by plays ascending
|
21
|
+
PLAYS_DESC = "-plays" #order by plays descending
|
22
|
+
VIEWS_ASC = "+views" #order by views ascending
|
23
|
+
VIEWS_DESC = "-views" #order by views descending
|
24
|
+
DURATION_ASC = "+duration" #order by duration ascending
|
25
|
+
DURATION_DESC = "-duration" #order by duration descending
|
26
|
+
MS_DURATION_ASC = "+msDuration" #order by millisecond duration ascending
|
27
|
+
MS_DURATION_DESC = "-msDuration" #order by millisecond duration descending
|
28
|
+
NAME_ASC = "+name" #order by name ascending
|
29
|
+
NAME_DESC = "-name" #order by name descending
|
30
|
+
MODERATION_COUNT_ASC = "+moderationCount" #order by moderation count ascending
|
31
|
+
MODERATION_COUNT_DESC = "-moderationCount" #order by moderation count descending
|
32
|
+
CREATED_AT_ASC = "+createdAt" #order by created_at ascending
|
33
|
+
CREATED_AT_DESC = "-createdAt" #order by created_at descending
|
34
|
+
RANK_ASC = "+rank" #order by rank ascending
|
35
|
+
RANK_DESC = "-rank" #order by rank descending
|
23
36
|
end
|
24
37
|
|
38
|
+
##
|
39
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
40
|
+
# be more in line with the C# API client's namespacing.
|
41
|
+
#
|
42
|
+
# @see Kaltura::MediaEntry
|
43
|
+
##
|
25
44
|
class Type
|
26
|
-
VIDEO = 1
|
27
|
-
IMAGE = 2
|
28
|
-
AUDIO = 5
|
29
|
-
LIVE_STREAM_FLASH = 201
|
30
|
-
LIVE_STREAM_WINDOWS_MEDIA = 202
|
31
|
-
LIVE_STREAM_REAL_MEDIA = 203
|
32
|
-
LIVE_STREAM_QUICKTIME = 204
|
45
|
+
VIDEO = 1 # Video
|
46
|
+
IMAGE = 2 # Image
|
47
|
+
AUDIO = 5 # Audio
|
48
|
+
LIVE_STREAM_FLASH = 201 #Flash Live Stream
|
49
|
+
LIVE_STREAM_WINDOWS_MEDIA = 202 #Windows Media Live Stream
|
50
|
+
LIVE_STREAM_REAL_MEDIA = 203 #Real Media Live Stream
|
51
|
+
LIVE_STREAM_QUICKTIME = 204 #Quicktime Live Stream
|
33
52
|
end
|
34
53
|
end
|
35
54
|
end
|
@@ -1,22 +1,28 @@
|
|
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::MixEntryFilter
|
8
|
+
##
|
3
9
|
class MixEntryOrderBy
|
4
|
-
PLAYS_ASC = "+plays"
|
5
|
-
PLAYS_DESC = "-plays"
|
6
|
-
VIEWS_ASC = "+views"
|
7
|
-
VIEWS_DESC = "-views"
|
8
|
-
DURATION_ASC = "+duration"
|
9
|
-
DURATION_DESC = "-duration"
|
10
|
-
MS_DURATION_ASC = "+msDuration"
|
11
|
-
MS_DURATION_DESC = "-msDuration"
|
12
|
-
NAME_ASC = "+name"
|
13
|
-
NAME_DESC = "-name"
|
14
|
-
MODERATION_COUNT_ASC = "+moderationCount"
|
15
|
-
MODERATION_COUNT_DESC = "-moderationCount"
|
16
|
-
CREATED_AT_ASC = "+createdAt"
|
17
|
-
CREATED_AT_DESC = "-createdAt"
|
18
|
-
RANK_ASC = "+rank"
|
19
|
-
RANK_DESC = "-rank"
|
10
|
+
PLAYS_ASC = "+plays" #order by plays ascending
|
11
|
+
PLAYS_DESC = "-plays" #order by plays descending
|
12
|
+
VIEWS_ASC = "+views" #order by views ascending
|
13
|
+
VIEWS_DESC = "-views" #order by views descending
|
14
|
+
DURATION_ASC = "+duration" #order by duration ascending
|
15
|
+
DURATION_DESC = "-duration" #order by duration descending
|
16
|
+
MS_DURATION_ASC = "+msDuration" #order by millisecond duration ascending
|
17
|
+
MS_DURATION_DESC = "-msDuration" #order by millisecond duration descending
|
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" #order by created_at descending
|
24
|
+
RANK_ASC = "+rank" #order by rank ascending
|
25
|
+
RANK_DESC = "-rank" #order by rank descending
|
20
26
|
end
|
21
27
|
end
|
22
28
|
end
|
@@ -1,21 +1,33 @@
|
|
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::ModerationFlag
|
8
|
+
##
|
3
9
|
module Moderation
|
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::ModerationFlag
|
15
|
+
##
|
4
16
|
class FlagStatus
|
5
|
-
PENDING = 1
|
6
|
-
MODERATED = 2
|
17
|
+
PENDING = 1 #Pending moderation flag
|
18
|
+
MODERATED = 2 #Moderated flag
|
7
19
|
end
|
8
20
|
|
9
21
|
class FlagType
|
10
|
-
SEXUAL_CONTENT = 1
|
11
|
-
VIOLENT_REPULSIVE = 2
|
12
|
-
HARMFUL_DANGEROUS = 3
|
13
|
-
SPAM_COMMERCIALS = 4
|
22
|
+
SEXUAL_CONTENT = 1 #Flag for sexual content
|
23
|
+
VIOLENT_REPULSIVE = 2 #Flag for violent or repulsive content
|
24
|
+
HARMFUL_DANGEROUS = 3 #Flag for harmful or dangerous content
|
25
|
+
SPAM_COMMERCIALS = 4 #Spam flag
|
14
26
|
end
|
15
27
|
|
16
28
|
class ObjectType
|
17
|
-
ENTRY = 2
|
18
|
-
USER = 3
|
29
|
+
ENTRY = 2 #flag a entry.
|
30
|
+
USER = 3 #flag a user.
|
19
31
|
end
|
20
32
|
end
|
21
33
|
end
|
@@ -1,23 +1,42 @@
|
|
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::NotificationFilter
|
8
|
+
# @see Kaltura::Service::NotificationService
|
9
|
+
##
|
3
10
|
module Notification
|
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::NotificationFilter
|
16
|
+
##
|
4
17
|
class OrderBy
|
5
|
-
CREATED_AT_ASC = "+createdAt"
|
6
|
-
CREATED_AT_DESC = "-createdAt"
|
7
|
-
EXECUTION_ATTEMPTS_ASC = "+executionAttempts"
|
8
|
-
EXECUTION_ATTEMPTS_DESC = "-executionAttempts"
|
18
|
+
CREATED_AT_ASC = "+createdAt" #order by created_at ascending.
|
19
|
+
CREATED_AT_DESC = "-createdAt" #order by created_at descening.
|
20
|
+
EXECUTION_ATTEMPTS_ASC = "+executionAttempts" #order by execution attempts ascending.
|
21
|
+
EXECUTION_ATTEMPTS_DESC = "-executionAttempts" #order by execution attempts descending.
|
9
22
|
end
|
10
23
|
|
24
|
+
##
|
25
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
26
|
+
# be more in line with the C# API client's namespacing.
|
27
|
+
#
|
28
|
+
# @see Kaltura::Service::NotificationService
|
29
|
+
##
|
11
30
|
class Type
|
12
|
-
ENTRY_ADD = 1
|
13
|
-
ENTR_UPDATE_PERMISSIONS = 2
|
14
|
-
ENTRY_DELETE = 3
|
15
|
-
ENTRY_BLOCK = 4
|
16
|
-
ENTRY_UPDATE = 5
|
17
|
-
ENTRY_UPDATE_THUMBNAIL = 6
|
18
|
-
ENTRY_UPDATE_MODERATION = 7
|
19
|
-
USER_ADD = 21
|
20
|
-
USER_BANNED = 26
|
31
|
+
ENTRY_ADD = 1 #Notify when an entry is added.
|
32
|
+
ENTR_UPDATE_PERMISSIONS = 2 #Notify when an entries permisisons have changed.
|
33
|
+
ENTRY_DELETE = 3 #Notify when an entry is deleted.
|
34
|
+
ENTRY_BLOCK = 4 #Notify when an entry becomes unavailable due to moderation.
|
35
|
+
ENTRY_UPDATE = 5 #Notify when an entry is updated.
|
36
|
+
ENTRY_UPDATE_THUMBNAIL = 6 #Notify when an entries thumbnail is updated.
|
37
|
+
ENTRY_UPDATE_MODERATION = 7 #Notify when an entry is moderated.
|
38
|
+
USER_ADD = 21 #Notify when a new user is created.
|
39
|
+
USER_BANNED = 26 #Notify when a user is banned.
|
21
40
|
end
|
22
41
|
end
|
23
42
|
end
|
@@ -1,9 +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
|
+
##
|
3
8
|
class NullableBoolean
|
4
|
-
NULL_VALUE = -1
|
5
|
-
FALSE_VALUE = 0
|
6
|
-
TRUE_VALUE = 1
|
9
|
+
NULL_VALUE = -1 #Null
|
10
|
+
FALSE_VALUE = 0 #False
|
11
|
+
TRUE_VALUE = 1 #True
|
7
12
|
end
|
8
13
|
end
|
9
14
|
end
|
@@ -1,38 +1,63 @@
|
|
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::PartnerFilter
|
8
|
+
# @see Kaltura::Partner
|
9
|
+
##
|
3
10
|
module Partner
|
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::PartnerFilter
|
16
|
+
##
|
4
17
|
class OrderBy
|
5
|
-
ID_ASC = "+id"
|
6
|
-
ID_DESC = "-id"
|
7
|
-
NAME_ASC = "+name"
|
8
|
-
NAME_DESC = "-name"
|
9
|
-
WEBSITE_ASC = "+website"
|
10
|
-
WEBSITE_DESC = "-website"
|
11
|
-
CREATED_AT_ASC = "+createdAt"
|
12
|
-
CREATED_AT_DESC = "-createdAt"
|
13
|
-
ADMIN_NAME_ASC = "+adminName"
|
14
|
-
ADMIN_NAME_DESC = "-adminName"
|
15
|
-
ADMIN_EMAIL_ASC = "+adminEmail"
|
16
|
-
ADMIN_EMAIL_DESC = "-adminEmail"
|
17
|
-
STATUS_ASC = "+status"
|
18
|
-
STATUS_DESC = "-status"
|
18
|
+
ID_ASC = "+id" #order by ID ascending
|
19
|
+
ID_DESC = "-id" #order by ID descending
|
20
|
+
NAME_ASC = "+name" #order by name ascending
|
21
|
+
NAME_DESC = "-name" #order by name descending
|
22
|
+
WEBSITE_ASC = "+website" #order by website ascending
|
23
|
+
WEBSITE_DESC = "-website" #order by website descending
|
24
|
+
CREATED_AT_ASC = "+createdAt" #order by created_at ascending
|
25
|
+
CREATED_AT_DESC = "-createdAt" #order by created_at descending
|
26
|
+
ADMIN_NAME_ASC = "+adminName" #order by admin name ascending
|
27
|
+
ADMIN_NAME_DESC = "-adminName" #order by admin name descending
|
28
|
+
ADMIN_EMAIL_ASC = "+adminEmail" #order by admin email ascending
|
29
|
+
ADMIN_EMAIL_DESC = "-adminEmail" #order by admin email descending
|
30
|
+
STATUS_ASC = "+status" #order by status ascending
|
31
|
+
STATUS_DESC = "-status" #order by status descending
|
19
32
|
end
|
20
|
-
|
33
|
+
|
34
|
+
##
|
35
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
36
|
+
# be more in line with the C# API client's namespacing.
|
37
|
+
#
|
38
|
+
# @see Kaltura::Partner
|
39
|
+
##
|
21
40
|
class Status
|
22
|
-
ACTIVE = 1
|
23
|
-
BLOCKED = 2
|
24
|
-
FULL_BLOCK = 3
|
41
|
+
ACTIVE = 1 #Partner is active.
|
42
|
+
BLOCKED = 2 #Partner is banned.
|
43
|
+
FULL_BLOCK = 3 #Partner is mega-banned
|
25
44
|
end
|
26
45
|
|
46
|
+
##
|
47
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
48
|
+
# be more in line with the C# API client's namespacing.
|
49
|
+
#
|
50
|
+
# @see Kaltura::Partner
|
51
|
+
##
|
27
52
|
class Type
|
28
|
-
KMC = 1
|
29
|
-
WIKI = 100
|
30
|
-
WORDPRESS = 101
|
31
|
-
DRUPAL = 102
|
32
|
-
DEKIWIKI = 103
|
33
|
-
MOODLE = 104
|
34
|
-
COMMUNITY_EDITION = 105
|
35
|
-
JOOMLA = 106
|
53
|
+
KMC = 1 #KMC Partner
|
54
|
+
WIKI = 100 #Media Wiki Partner
|
55
|
+
WORDPRESS = 101 #Wordpress Partner
|
56
|
+
DRUPAL = 102 #Drupal Partner
|
57
|
+
DEKIWIKI = 103 #Deki Wiki Partner
|
58
|
+
MOODLE = 104 #Moodle Partner
|
59
|
+
COMMUNITY_EDITION = 105 #CE Partner
|
60
|
+
JOOMLA = 106 #Joomla Partner
|
36
61
|
end
|
37
62
|
end
|
38
63
|
end
|
@@ -1,22 +1,28 @@
|
|
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 PlayableEntryOrderBy
|
4
|
-
PLAYS_ASC = "+plays"
|
5
|
-
PLAYS_DESC = "-plays"
|
6
|
-
VIEWS_ASC = "+views"
|
7
|
-
VIEWS_DESC = "-views"
|
8
|
-
DURATION_ASC = "+duration"
|
9
|
-
DURATION_DESC = "-duration"
|
10
|
-
MS_DURATION_ASC = "+msDuration"
|
11
|
-
MS_DURATION_DESC = "-msDuration"
|
12
|
-
NAME_ASC = "+name"
|
13
|
-
NAME_DESC = "-name"
|
14
|
-
MODERATION_COUNT_ASC = "+moderationCount"
|
15
|
-
MODERATION_COUNT_DESC = "-moderationCount"
|
16
|
-
CREATED_AT_ASC = "+createdAt"
|
17
|
-
CREATED_AT_DESC = "-createdAt"
|
18
|
-
RANK_ASC = "+rank"
|
19
|
-
RANK_DESC = "-rank"
|
10
|
+
PLAYS_ASC = "+plays" #order by plays ascending
|
11
|
+
PLAYS_DESC = "-plays" #order by plays descending
|
12
|
+
VIEWS_ASC = "+views" #order by views ascending
|
13
|
+
VIEWS_DESC = "-views" #order by views descending
|
14
|
+
DURATION_ASC = "+duration" #order by duration ascending
|
15
|
+
DURATION_DESC = "-duration" #order by duration descending
|
16
|
+
MS_DURATION_ASC = "+msDuration" #order by millisecond duration ascending
|
17
|
+
MS_DURATION_DESC = "-msDuration" #order by millisecond duration descending
|
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" #order by created_at descending
|
24
|
+
RANK_ASC = "+rank" #order by rank ascending
|
25
|
+
RANK_DESC = "-rank" #order by rank descending
|
20
26
|
end
|
21
27
|
end
|
22
28
|
end
|
@@ -1,21 +1,34 @@
|
|
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::PlaylistFilter
|
8
|
+
# @see Kaltura::Playlist
|
9
|
+
##
|
3
10
|
module Playlist
|
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::PlaylistFilter
|
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" #order 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
|
|
15
28
|
class Type
|
16
|
-
DYNAMIC = 10
|
17
|
-
STATIC_LIST = 3
|
18
|
-
EXTERNAL = 101
|
29
|
+
DYNAMIC = 10 #Dynamic playlist
|
30
|
+
STATIC_LIST = 3 #Static playlist
|
31
|
+
EXTERNAL = 101 #External Playlist
|
19
32
|
end
|
20
33
|
end
|
21
34
|
end
|
@@ -1,14 +1,24 @@
|
|
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::ReportGraph
|
8
|
+
# @see Kaltura::ReportInputFilter
|
9
|
+
# @see Kaltura::ReportTable
|
10
|
+
# @see Kaltura::ReportTotal
|
11
|
+
# @see Kaltura::ReportType
|
12
|
+
##
|
3
13
|
class ReportType
|
4
|
-
TOP_CONTENT = 1
|
5
|
-
CONTENT_DROPOFF = 2
|
6
|
-
CONTENT_INTERACTIONS = 3
|
7
|
-
MAP_OVERLAY = 4
|
8
|
-
TOP_CONTRIBUTORS = 5
|
9
|
-
TOP_SYNDICATION = 6
|
10
|
-
CONTENT_CONTRIBUTIONS = 7
|
11
|
-
ADMIN_CONSOLE = 10
|
14
|
+
TOP_CONTENT = 1 #Top content report
|
15
|
+
CONTENT_DROPOFF = 2 #content drop-off report
|
16
|
+
CONTENT_INTERACTIONS = 3 #content interactions report
|
17
|
+
MAP_OVERLAY = 4 #map overlay report
|
18
|
+
TOP_CONTRIBUTORS = 5 #top contributors report
|
19
|
+
TOP_SYNDICATION = 6 #top syndication report
|
20
|
+
CONTENT_CONTRIBUTIONS = 7 #content contributions report
|
21
|
+
ADMIN_CONSOLE = 10 #admin console report
|
12
22
|
end
|
13
23
|
end
|
14
24
|
end
|
@@ -1,22 +1,29 @@
|
|
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::Search
|
8
|
+
# @see Kaltura::SearchResult
|
9
|
+
##
|
3
10
|
class SearchProviderType
|
4
|
-
FLICKR = 3
|
5
|
-
YOUTUBE = 4
|
6
|
-
MYSPACE = 7
|
7
|
-
PHOTOBUCKET = 8
|
8
|
-
JAMENDO = 9
|
9
|
-
CCMIXTER = 10
|
10
|
-
NYPL = 11
|
11
|
-
CURRENT = 12
|
12
|
-
MEDIA_COMMONS = 13
|
13
|
-
KALTURA = 20
|
14
|
-
KALTURA_USER_CLIPS = 21
|
15
|
-
ARCHIVE_ORG = 22
|
16
|
-
KALTURA_PARTNER = 23
|
17
|
-
METACAFE = 24
|
18
|
-
SEARCH_PROXY = 28
|
19
|
-
PARTNER_SPECIFIC = 100
|
11
|
+
FLICKR = 3 #Flickr search
|
12
|
+
YOUTUBE = 4 #Youtube search
|
13
|
+
MYSPACE = 7 #MySpace search
|
14
|
+
PHOTOBUCKET = 8 #photobucket search
|
15
|
+
JAMENDO = 9 #Jamendo search
|
16
|
+
CCMIXTER = 10 #CCMixer search
|
17
|
+
NYPL = 11 #NYPL search
|
18
|
+
CURRENT = 12 #Current search
|
19
|
+
MEDIA_COMMONS = 13 #Media Commons search
|
20
|
+
KALTURA = 20 #Kaltura search
|
21
|
+
KALTURA_USER_CLIPS = 21 #Kaltura mix search
|
22
|
+
ARCHIVE_ORG = 22 #Archive.org search
|
23
|
+
KALTURA_PARTNER = 23 #Kaltura partner search
|
24
|
+
METACAFE = 24 #Metacafe search
|
25
|
+
SEARCH_PROXY = 28 #Search proxy
|
26
|
+
PARTNER_SPECIFIC = 100 #partner specific search
|
20
27
|
end
|
21
28
|
end
|
22
29
|
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::Service::SessionService
|
8
|
+
##
|
3
9
|
class SessionType
|
4
|
-
USER = 0
|
5
|
-
ADMIN = 2
|
10
|
+
USER = 0 #User KS
|
11
|
+
ADMIN = 2 #Admin KS
|
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::SiteRestriction
|
8
|
+
##
|
3
9
|
class SiteRestrictionType
|
4
|
-
RESTRICT_SITE_LIST = 0
|
5
|
-
ALLOW_SITE_LIST = 1
|
10
|
+
RESTRICT_SITE_LIST = 0 #Site white list
|
11
|
+
ALLOW_SITE_LIST = 1 #Site black list
|
6
12
|
end
|
7
13
|
end
|
8
14
|
end
|
@@ -1,11 +1,17 @@
|
|
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::MediaEntry
|
8
|
+
##
|
3
9
|
class SourceType
|
4
|
-
FILE = 1
|
5
|
-
WEBCAM = 2
|
6
|
-
URL = 5
|
7
|
-
SEARCH_PROVIDER = 6
|
8
|
-
AKAMAI_LIVE = 29
|
10
|
+
FILE = 1 #Sourced by a file
|
11
|
+
WEBCAM = 2 #Sourced from a webcam recording
|
12
|
+
URL = 5 #Sourced by an external URL
|
13
|
+
SEARCH_PROVIDER = 6 #Sourced by a website search.
|
14
|
+
AKAMAI_LIVE = 29 #Sourced from Akamai.
|
9
15
|
end
|
10
16
|
end
|
11
17
|
end
|