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.
Files changed (51) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/kaltura/constants/access_control_order_by.rb +8 -2
  3. data/lib/kaltura/constants/audio_codec.rb +10 -5
  4. data/lib/kaltura/constants/base.rb +47 -20
  5. data/lib/kaltura/constants/batch_job.rb +74 -49
  6. data/lib/kaltura/constants/bit_rate_mode.rb +8 -2
  7. data/lib/kaltura/constants/category_order_by.rb +12 -6
  8. data/lib/kaltura/constants/commercial_use_type.rb +8 -2
  9. data/lib/kaltura/constants/container_format.rb +15 -9
  10. data/lib/kaltura/constants/control_panel_command.rb +19 -4
  11. data/lib/kaltura/constants/conversion_profile_order_by.rb +8 -2
  12. data/lib/kaltura/constants/country_restriction_type.rb +10 -2
  13. data/lib/kaltura/constants/data_entry_order_by.rb +14 -8
  14. data/lib/kaltura/constants/directory_restriction_type.rb +8 -2
  15. data/lib/kaltura/constants/document.rb +29 -11
  16. data/lib/kaltura/constants/duration_type.rb +10 -4
  17. data/lib/kaltura/constants/editor_type.rb +8 -2
  18. data/lib/kaltura/constants/email_ingestion_profile_status.rb +8 -2
  19. data/lib/kaltura/constants/entry.rb +45 -21
  20. data/lib/kaltura/constants/file_sync.rb +53 -25
  21. data/lib/kaltura/constants/flavor_asset_status.rb +12 -6
  22. data/lib/kaltura/constants/gender.rb +9 -3
  23. data/lib/kaltura/constants/google_syndication_feed.rb +29 -11
  24. data/lib/kaltura/constants/i_tunes_syndication_feed/categories.rb +74 -67
  25. data/lib/kaltura/constants/i_tunes_syndication_feed.rb +30 -12
  26. data/lib/kaltura/constants/license_type.rb +23 -17
  27. data/lib/kaltura/constants/live_stream_admin_entry_order_by.rb +25 -18
  28. data/lib/kaltura/constants/mail_job_order_by.rb +10 -4
  29. data/lib/kaltura/constants/media.rb +44 -25
  30. data/lib/kaltura/constants/mix_entry_order_by.rb +22 -16
  31. data/lib/kaltura/constants/moderation.rb +20 -8
  32. data/lib/kaltura/constants/notification.rb +32 -13
  33. data/lib/kaltura/constants/nullable_boolean.rb +8 -3
  34. data/lib/kaltura/constants/partner.rb +51 -26
  35. data/lib/kaltura/constants/playable_entry_order_by.rb +22 -16
  36. data/lib/kaltura/constants/playlist.rb +24 -11
  37. data/lib/kaltura/constants/report_type.rb +18 -8
  38. data/lib/kaltura/constants/search_provider_type.rb +23 -16
  39. data/lib/kaltura/constants/session_type.rb +8 -2
  40. data/lib/kaltura/constants/site_restriction_type.rb +8 -2
  41. data/lib/kaltura/constants/source_type.rb +11 -5
  42. data/lib/kaltura/constants/stats/kmc_event_type.rb +69 -63
  43. data/lib/kaltura/constants/stats.rb +39 -26
  44. data/lib/kaltura/constants/syndication_feed.rb +26 -6
  45. data/lib/kaltura/constants.rb +15 -2
  46. data/lib/kaltura/kaltura_client_base.rb +3 -1
  47. data/lib/kaltura/service/base_entry_service.rb +1 -1
  48. data/lib/kaltura/service/live_stream_service.rb +49 -3
  49. data/lib/kaltura/service/media_service.rb +401 -4
  50. data/velir_kaltura-ruby.gemspec +2 -2
  51. metadata +4 -4
@@ -1,34 +1,58 @@
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::BaseEntry
8
+ ##
3
9
  module Entry
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::BaseEntry
15
+ ##
4
16
  class ModerationStatus
5
- PENDING_MODERATION = 1
6
- APPROVED = 2
7
- REJECTED = 3
8
- FLAGGED_FOR_REVIEW = 5
9
- AUTO_APPROVED = 6
17
+ PENDING_MODERATION = 1 #status prior after addition
18
+ APPROVED = 2 #approved state
19
+ REJECTED = 3 #rejected state
20
+ FLAGGED_FOR_REVIEW = 5 #pending flags are present
21
+ AUTO_APPROVED = 6 #approved without moderation
10
22
  end
11
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::Filter::BaseEntry
29
+ ##
12
30
  class Status
13
- ERROR_IMPORTING = -2
14
- ERROR_CONVERTING = -1
15
- IMPORT = 0
16
- PRECONVERT = 1
17
- READY = 2
18
- DELETED = 3
19
- PENDING = 4
20
- MODERATE = 5
21
- BLOCKED = 6
31
+ ERROR_IMPORTING = -2 #error'd during import
32
+ ERROR_CONVERTING = -1 #error'd during conversion
33
+ IMPORT = 0 #importing
34
+ PRECONVERT = 1 #queued for conversion
35
+ READY = 2 #ready
36
+ DELETED = 3 #deleted
37
+ PENDING = 4 #pending moderation
38
+ MODERATE = 5 #moderated
39
+ BLOCKED = 6 #rejected from moderation
22
40
  end
23
41
 
42
+ ##
43
+ # The constants module will soon be depreciated into an Enumeration module to
44
+ # be more in line with the C# API client's namespacing.
45
+ #
46
+ # @see Kaltura::BaseEntry
47
+ ##
24
48
  class Type
25
- AUTOMATIC = -1
26
- MEDIA_CLIP = 1
27
- MIX = 2
28
- PLAYLIST = 5
29
- DATA = 6
30
- LIVE_STREAM = 7
31
- DOCUMENT = 10
49
+ AUTOMATIC = -1 #automatically determines status. The default.
50
+ MEDIA_CLIP = 1 #playable media type.
51
+ MIX = 2 #Kaltura::MixEntry
52
+ PLAYLIST = 5 #a collection of media entries.
53
+ DATA = 6 #Kaltura::DataEntry
54
+ LIVE_STREAM = 7 #Kaltura::LiveStreamEntry
55
+ DOCUMENT = 10 #Kaltura::DocumentEntry
32
56
  end
33
57
  end
34
58
  end
@@ -1,38 +1,66 @@
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::FileSyncFilter
8
+ # @see Kaltura::FileSync
9
+ ##
3
10
  module FileSync
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::FileSync
16
+ ##
4
17
  class ObjectType
5
- ENTRY = 1
6
- UICONF = 2
7
- BATCHJOB = 3
8
- FLAVOR_ASSET = 4
18
+ ENTRY = 1 #Kaltura::BaseEntry
19
+ UICONF = 2 #Kaltura::UiConf
20
+ BATCHJOB = 3 #Kaltura::BulkUpload
21
+ FLAVOR_ASSET = 4 #Kaltura::FlavorAsset
9
22
  end
10
-
23
+ ##
24
+ # The constants module will soon be depreciated into an Enumeration module to
25
+ # be more in line with the C# API client's namespacing.
26
+ #
27
+ # @see Kaltura::Filter::FileSyncFilter
28
+ ##
11
29
  class OrderBy
12
- CREATED_AT_ASC = "+createdAt"
13
- CREATED_AT_DESC = "-createdAt"
14
- UPDATED_AT_ASC = "+updatedAt"
15
- UPDATED_AT_DESC = "-updatedAt"
16
- READY_AT_ASC = "+readyAt"
17
- READY_AT_DESC = "-readyAt"
18
- SYNC_TIME_ASC = "+syncTime"
19
- SYNC_TIME_DESC = "-syncTime"
20
- FILE_SIZE_ASC = "+fileSize"
21
- FILE_SIZE_DESC = "-fileSize"
30
+ CREATED_AT_ASC = "+createdAt" #order by created_at ascending.
31
+ CREATED_AT_DESC = "-createdAt" #order by created_at descending.
32
+ UPDATED_AT_ASC = "+updatedAt" #order by updated_at ascending.
33
+ UPDATED_AT_DESC = "-updatedAt" #order by updated_at descending.
34
+ READY_AT_ASC = "+readyAt" #order by ready_at ascending.
35
+ READY_AT_DESC = "-readyAt" #order by ready_at descending.
36
+ SYNC_TIME_ASC = "+syncTime" #order by sync time ascending.
37
+ SYNC_TIME_DESC = "-syncTime" #order by sync time descending.
38
+ FILE_SIZE_ASC = "+fileSize" #order by file size ascending.
39
+ FILE_SIZE_DESC = "-fileSize" #order by file size descending.
22
40
  end
23
-
41
+ ##
42
+ # The constants module will soon be depreciated into an Enumeration module to
43
+ # be more in line with the C# API client's namespacing.
44
+ #
45
+ # @see Kaltura::FileSync
46
+ ##
24
47
  class Status
25
- ERROR = -1
26
- PENDING = 1
27
- READY = 2
28
- DELETED = 3
29
- PURGED = 4
48
+ ERROR = -1 #error state
49
+ PENDING = 1 #pending state
50
+ READY = 2 #ready
51
+ DELETED = 3 #deleted state
52
+ PURGED = 4 #not only flagged as deleted, but really deleted.
30
53
  end
31
-
54
+ ##
55
+ # The constants module will soon be depreciated into an Enumeration module to
56
+ # be more in line with the C# API client's namespacing.
57
+ #
58
+ # @see Kaltura::FileSync
59
+ ##
32
60
  class Type
33
- FILE = 1
34
- LINK = 2
35
- URL = 3
61
+ FILE = 1 #File
62
+ LINK = 2 #Link
63
+ URL = 3 #URL
36
64
  end
37
65
  end
38
66
  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::FlavorAsset
8
+ ##
3
9
  class FlavorAssetStatus
4
- ERROR = -1
5
- QUEUED = 0
6
- CONVERTING = 1
7
- READY = 2
8
- DELETED = 3
9
- NOT_APPLICABLE = 4
10
+ ERROR = -1 #error state.
11
+ QUEUED = 0 #queued for conversion.
12
+ CONVERTING = 1 #converting state.
13
+ READY = 2 #ready state.
14
+ DELETED = 3 #deleted state.
15
+ NOT_APPLICABLE = 4 # N/A
10
16
  end
11
17
  end
12
18
  end
@@ -1,9 +1,15 @@
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::User
8
+ ##
3
9
  class Gender
4
- UNKNOWN = 0
5
- MALE = 1
6
- FEMALE = 2
10
+ UNKNOWN = 0 #unkown
11
+ MALE = 1 # male user
12
+ FEMALE = 2 # female user
7
13
  end
8
14
  end
9
15
  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::GoogleVideoSyndicationFeedFilter
8
+ # @see Kaltura::GoogleVideoSyndicationFeed
9
+ ##
3
10
  module GoogleSyndicationFeed
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::GoogleSyndicationFeed
16
+ ##
4
17
  class AdultValues
5
- YES = "Yes"
6
- NO = "No"
18
+ YES = "Yes" #contains adult videos.
19
+ NO = "No" #does not contain adult videos.
7
20
  end
8
-
21
+ ##
22
+ # The constants module will soon be depreciated into an Enumeration module to
23
+ # be more in line with the C# API client's namespacing.
24
+ #
25
+ # @see Kaltura::Filter::GoogleVideoSyndicationFeedFilter
26
+ ##
9
27
  class OrderBy
10
- PLAYLIST_ID_ASC = "+playlistId"
11
- PLAYLIST_ID_DESC = "-playlistId"
12
- NAME_ASC = "+name"
13
- NAME_DESC = "-name"
14
- TYPE_ASC = "+type"
15
- TYPE_DESC = "-type"
16
- CREATED_AT_ASC = "+createdAt"
17
- CREATED_AT_DESC = "-createdAt"
28
+ PLAYLIST_ID_ASC = "+playlistId" #order by playlist_id ascending.
29
+ PLAYLIST_ID_DESC = "-playlistId" #order by playlist_id descending.
30
+ NAME_ASC = "+name" #order by name ascending.
31
+ NAME_DESC = "-name" #order by name descending.
32
+ TYPE_ASC = "+type" #order by type ascending.
33
+ TYPE_DESC = "-type" #order by type descending.
34
+ CREATED_AT_ASC = "+createdAt" #order by created_at ascending.
35
+ CREATED_AT_DESC = "-createdAt" #order by created_at descending.
18
36
  end
19
37
  end
20
38
  end
@@ -1,74 +1,81 @@
1
1
  module Kaltura
2
2
  module Constants
3
3
  module ITunesSyndicationFeed
4
+ ##
5
+ # The constants module will soon be depreciated into an Enumeration module to
6
+ # be more in line with the C# API client's namespacing.
7
+ #
8
+ # @see Kaltura::Filter::ITunesSyndicationFeedFilter
9
+ # @see Kaltura::ITunesSyndicationFeed
10
+ ##
4
11
  class Categories
5
- ARTS = "Arts"
6
- ARTS_DESIGN = "Arts/Design"
7
- ARTS_FASHION_BEAUTY = "Arts/Fashion & Beauty"
8
- ARTS_FOOD = "Arts/Food"
9
- ARTS_LITERATURE = "Arts/Literature"
10
- ARTS_PERFORMING_ARTS = "Arts/Performing Arts"
11
- ARTS_VISUAL_ARTS = "Arts/Visual Arts"
12
- BUSINESS = "Business"
13
- BUSINESS_BUSINESS_NEWS = "Business/Business News"
14
- BUSINESS_CAREERS = "Business/Careers"
15
- BUSINESS_INVESTING = "Business/Investing"
16
- BUSINESS_MANAGEMENT_MARKETING = "Business/Management & Marketing"
17
- BUSINESS_SHOPPING = "Business/Shopping"
18
- COMEDY = "Comedy"
19
- EDUCATION = "Education"
20
- EDUCATION_TECHNOLOGY = "Education/Education Technology"
21
- EDUCATION_HIGHER_EDUCATION = "Education/Higher Education"
22
- EDUCATION_K_12 = "Education/K-12"
23
- EDUCATION_LANGUAGE_COURSES = "Education/Language Courses"
24
- EDUCATION_TRAINING = "Education/Training"
25
- GAMES_HOBBIES = "Games & Hobbies"
26
- GAMES_HOBBIES_AUTOMOTIVE = "Games & Hobbies/Automotive"
27
- GAMES_HOBBIES_AVIATION = "Games & Hobbies/Aviation"
28
- GAMES_HOBBIES_HOBBIES = "Games & Hobbies/Hobbies"
29
- GAMES_HOBBIES_OTHER_GAMES = "Games & Hobbies/Other Games"
30
- GAMES_HOBBIES_VIDEO_GAMES = "Games & Hobbies/Video Games"
31
- GOVERNMENT_ORGANIZATIONS = "Government & Organizations"
32
- GOVERNMENT_ORGANIZATIONS_LOCAL = "Government & Organizations/Local"
33
- GOVERNMENT_ORGANIZATIONS_NATIONAL = "Government & Organizations/National"
34
- GOVERNMENT_ORGANIZATIONS_NON_PROFIT = "Government & Organizations/Non-Profit"
35
- GOVERNMENT_ORGANIZATIONS_REGIONAL = "Government & Organizations/Regional"
36
- HEALTH = "Health"
37
- HEALTH_ALTERNATIVE_HEALTH = "Health/Alternative Health"
38
- HEALTH_FITNESS_NUTRITION = "Health/Fitness & Nutrition"
39
- HEALTH_SELF_HELP = "Health/Self-Help"
40
- HEALTH_SEXUALITY = "Health/Sexuality"
41
- KIDS_FAMILY = "Kids & Family"
42
- MUSIC = "Music"
43
- NEWS_POLITICS = "News & Politics"
44
- RELIGION_SPIRITUALITY = "Religion & Spirituality"
45
- RELIGION_SPIRITUALITY_BUDDHISM = "Religion & Spirituality/Buddhism"
46
- RELIGION_SPIRITUALITY_CHRISTIANITY = "Religion & Spirituality/Christianity"
47
- RELIGION_SPIRITUALITY_HINDUISM = "Religion & Spirituality/Hinduism"
48
- RELIGION_SPIRITUALITY_ISLAM = "Religion & Spirituality/Islam"
49
- RELIGION_SPIRITUALITY_JUDAISM = "Religion & Spirituality/Judaism"
50
- RELIGION_SPIRITUALITY_OTHER = "Religion & Spirituality/Other"
51
- RELIGION_SPIRITUALITY_SPIRITUALITY = "Religion & Spirituality/Spirituality"
52
- SCIENCE_MEDICINE = "Science & Medicine"
53
- SCIENCE_MEDICINE_MEDICINE = "Science & Medicine/Medicine"
54
- SCIENCE_MEDICINE_NATURAL_SCIENCES = "Science & Medicine/Natural Sciences"
55
- SCIENCE_MEDICINE_SOCIAL_SCIENCES = "Science & Medicine/Social Sciences"
56
- SOCIETY_CULTURE = "Society & Culture"
57
- SOCIETY_CULTURE_HISTORY = "Society & Culture/History"
58
- SOCIETY_CULTURE_PERSONAL_JOURNALS = "Society & Culture/Personal Journals"
59
- SOCIETY_CULTURE_PHILOSOPHY = "Society & Culture/Philosophy"
60
- SOCIETY_CULTURE_PLACES_TRAVEL = "Society & Culture/Places & Travel"
61
- SPORTS_RECREATION = "Sports & Recreation"
62
- SPORTS_RECREATION_AMATEUR = "Sports & Recreation/Amateur"
63
- SPORTS_RECREATION_COLLEGE_HIGH_SCHOOL = "Sports & Recreation/College & High School"
64
- SPORTS_RECREATION_OUTDOOR = "Sports & Recreation/Outdoor"
65
- SPORTS_RECREATION_PROFESSIONAL = "Sports & Recreation/Professional"
66
- TECHNOLOGY = "Technology"
67
- TECHNOLOGY_GADGETS = "Technology/Gadgets"
68
- TECHNOLOGY_TECH_NEWS = "Technology/Tech News"
69
- TECHNOLOGY_PODCASTING = "Technology/Podcasting"
70
- TECHNOLOGY_SOFTWARE_HOW_TO = "Technology/Software How-To"
71
- TV_FILM = "TV & Film"
12
+ ARTS = "Arts" #The Arts
13
+ ARTS_DESIGN = "Arts/Design" #Arts and Design
14
+ ARTS_FASHION_BEAUTY = "Arts/Fashion & Beauty"# Arts, Fashion & Beauty
15
+ ARTS_FOOD = "Arts/Food" #Arts and Food
16
+ ARTS_LITERATURE = "Arts/Literature" #Arts and Literature
17
+ ARTS_PERFORMING_ARTS = "Arts/Performing Arts" #Performing Arts
18
+ ARTS_VISUAL_ARTS = "Arts/Visual Arts" #The Visual Arts
19
+ BUSINESS = "Business" #Business
20
+ BUSINESS_BUSINESS_NEWS = "Business/Business News" #Business News
21
+ BUSINESS_CAREERS = "Business/Careers" #Careers
22
+ BUSINESS_INVESTING = "Business/Investing" #Investing
23
+ BUSINESS_MANAGEMENT_MARKETING = "Business/Management & Marketing" #Management and Marketing
24
+ BUSINESS_SHOPPING = "Business/Shopping" #Business Shopping
25
+ COMEDY = "Comedy" #Comedy
26
+ EDUCATION = "Education" #Education
27
+ EDUCATION_TECHNOLOGY = "Education/Education Technology" #Educational Technology
28
+ EDUCATION_HIGHER_EDUCATION = "Education/Higher Education" #Higher Ed
29
+ EDUCATION_K_12 = "Education/K-12" #Primary education
30
+ EDUCATION_LANGUAGE_COURSES = "Education/Language Courses" #Language courses.
31
+ EDUCATION_TRAINING = "Education/Training" #Educational training
32
+ GAMES_HOBBIES = "Games & Hobbies" #Games & Hobbies.
33
+ GAMES_HOBBIES_AUTOMOTIVE = "Games & Hobbies/Automotive" #Automotive Hobbies
34
+ GAMES_HOBBIES_AVIATION = "Games & Hobbies/Aviation" #Aviation
35
+ GAMES_HOBBIES_HOBBIES = "Games & Hobbies/Hobbies" #Games & Hobbies
36
+ GAMES_HOBBIES_OTHER_GAMES = "Games & Hobbies/Other Games" #Other Games
37
+ GAMES_HOBBIES_VIDEO_GAMES = "Games & Hobbies/Video Games" #Video Games
38
+ GOVERNMENT_ORGANIZATIONS = "Government & Organizations" # Governmental Organizations
39
+ GOVERNMENT_ORGANIZATIONS_LOCAL = "Government & Organizations/Local" #Local Government Organizations
40
+ GOVERNMENT_ORGANIZATIONS_NATIONAL = "Government & Organizations/National" #National Government Organizations
41
+ GOVERNMENT_ORGANIZATIONS_NON_PROFIT = "Government & Organizations/Non-Profit" #Non-profits
42
+ GOVERNMENT_ORGANIZATIONS_REGIONAL = "Government & Organizations/Regional" #Regional Governmental Organizations
43
+ HEALTH = "Health" #Health
44
+ HEALTH_ALTERNATIVE_HEALTH = "Health/Alternative Health" #Alternative Health
45
+ HEALTH_FITNESS_NUTRITION = "Health/Fitness & Nutrition" #Fitness and Nutrition
46
+ HEALTH_SELF_HELP = "Health/Self-Help" #Self-Help
47
+ HEALTH_SEXUALITY = "Health/Sexuality" #Health & Sexuality
48
+ KIDS_FAMILY = "Kids & Family" #Kids & Family
49
+ MUSIC = "Music" #Music
50
+ NEWS_POLITICS = "News & Politics" #News and Policitcs
51
+ RELIGION_SPIRITUALITY = "Religion & Spirituality" #Religion and Spirituality
52
+ RELIGION_SPIRITUALITY_BUDDHISM = "Religion & Spirituality/Buddhism" #Buddhism
53
+ RELIGION_SPIRITUALITY_CHRISTIANITY = "Religion & Spirituality/Christianity" #Christianity
54
+ RELIGION_SPIRITUALITY_HINDUISM = "Religion & Spirituality/Hinduism" #Hinduism
55
+ RELIGION_SPIRITUALITY_ISLAM = "Religion & Spirituality/Islam" #Islam
56
+ RELIGION_SPIRITUALITY_JUDAISM = "Religion & Spirituality/Judaism" #Judaism
57
+ RELIGION_SPIRITUALITY_OTHER = "Religion & Spirituality/Other" #Other Religions
58
+ RELIGION_SPIRITUALITY_SPIRITUALITY = "Religion & Spirituality/Spirituality" #Spirituality
59
+ SCIENCE_MEDICINE = "Science & Medicine" #Science & Medicine
60
+ SCIENCE_MEDICINE_MEDICINE = "Science & Medicine/Medicine" #Medicine
61
+ SCIENCE_MEDICINE_NATURAL_SCIENCES = "Science & Medicine/Natural Sciences" #Natural Sciences
62
+ SCIENCE_MEDICINE_SOCIAL_SCIENCES = "Science & Medicine/Social Sciences" #Social Sciences
63
+ SOCIETY_CULTURE = "Society & Culture" #Society and Culture
64
+ SOCIETY_CULTURE_HISTORY = "Society & Culture/History" #History
65
+ SOCIETY_CULTURE_PERSONAL_JOURNALS = "Society & Culture/Personal Journals" #Personal Journals
66
+ SOCIETY_CULTURE_PHILOSOPHY = "Society & Culture/Philosophy" #Philsophy
67
+ SOCIETY_CULTURE_PLACES_TRAVEL = "Society & Culture/Places & Travel" #Places & Travel
68
+ SPORTS_RECREATION = "Sports & Recreation" #Sports and Recreation
69
+ SPORTS_RECREATION_AMATEUR = "Sports & Recreation/Amateur" #Amateur Sports & Recreation
70
+ SPORTS_RECREATION_COLLEGE_HIGH_SCHOOL = "Sports & Recreation/College & High School" #High School & College Sports
71
+ SPORTS_RECREATION_OUTDOOR = "Sports & Recreation/Outdoor" #Outdoor Recreation
72
+ SPORTS_RECREATION_PROFESSIONAL = "Sports & Recreation/Professional" #Professional Sports
73
+ TECHNOLOGY = "Technology" #Technology
74
+ TECHNOLOGY_GADGETS = "Technology/Gadgets" #Gadgets
75
+ TECHNOLOGY_TECH_NEWS = "Technology/Tech News" #Tech news
76
+ TECHNOLOGY_PODCASTING = "Technology/Podcasting" #Podcasting
77
+ TECHNOLOGY_SOFTWARE_HOW_TO = "Technology/Software How-To" #Software how-to's
78
+ TV_FILM = "TV & Film" #TV & Film
72
79
  end
73
80
  end
74
81
  end
@@ -2,22 +2,40 @@ require 'kaltura/constants/i_tunes_syndication_feed/categories'
2
2
 
3
3
  module Kaltura
4
4
  module Constants
5
+ ##
6
+ # The constants module will soon be depreciated into an Enumeration module to
7
+ # be more in line with the C# API client's namespacing.
8
+ #
9
+ # @see Kaltura::Filter::ITunesSyndicationFeedFilter
10
+ # @see Kaltura::ITunesSyndicationFeed
11
+ ##
5
12
  module ITunesSyndicationFeed
13
+ ##
14
+ # The constants module will soon be depreciated into an Enumeration module to
15
+ # be more in line with the C# API client's namespacing.
16
+ #
17
+ # @see Kaltura::ITunesSyndicationFeed
18
+ ##
6
19
  class AdultValues
7
- YES = "yes"
8
- NO = "no"
9
- CLEAN = "clean"
20
+ YES = "yes" #This feed contains adult material.
21
+ NO = "no" #This feed does not contain adult material.
22
+ CLEAN = "clean" #This feed has some other value.
10
23
  end
11
-
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::Filter::ITunesSyndicationFeedFilter
29
+ ##
12
30
  class OrderBy
13
- PLAYLIST_ID_ASC = "+playlistId"
14
- PLAYLIST_ID_DESC = "-playlistId"
15
- NAME_ASC = "+name"
16
- NAME_DESC = "-name"
17
- TYPE_ASC = "+type"
18
- TYPE_DESC = "-type"
19
- CREATED_AT_ASC = "+createdAt"
20
- CREATED_AT_DESC = "-createdAt"
31
+ PLAYLIST_ID_ASC = "+playlistId" #order by playlist_id ascending.
32
+ PLAYLIST_ID_DESC = "-playlistId" #order by playlist_id descending.
33
+ NAME_ASC = "+name" #order by name ascending.
34
+ NAME_DESC = "-name" #order by name descending.
35
+ TYPE_ASC = "+type" #order by type ascending.
36
+ TYPE_DESC = "-type" #order by type descending.
37
+ CREATED_AT_ASC = "+createdAt" #order by created_at ascending.
38
+ CREATED_AT_DESC = "-createdAt" #order by created_at descending.
21
39
  end
22
40
  end
23
41
  end
@@ -1,23 +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::BaseEntry
8
+ ##
3
9
  class LicenseType
4
- UNKNOWN = -1
5
- NONE = 0
6
- COPYRIGHTED = 1
7
- PUBLIC_DOMAIN = 2
8
- CREATIVECOMMONS_ATTRIBUTION = 3
9
- CREATIVECOMMONS_ATTRIBUTION_SHARE_ALIKE = 4
10
- CREATIVECOMMONS_ATTRIBUTION_NO_DERIVATIVES = 5
11
- CREATIVECOMMONS_ATTRIBUTION_NON_COMMERCIAL = 6
12
- CREATIVECOMMONS_ATTRIBUTION_NON_COMMERCIAL_SHARE_ALIKE = 7
13
- CREATIVECOMMONS_ATTRIBUTION_NON_COMMERCIAL_NO_DERIVATIVES = 8
14
- GFDL = 9
15
- GPL = 10
16
- AFFERO_GPL = 11
17
- LGPL = 12
18
- BSD = 13
19
- APACHE = 14
20
- MOZILLA = 15
10
+ UNKNOWN = -1 #Unknown License
11
+ NONE = 0 #No license
12
+ COPYRIGHTED = 1 #Copyrighted License
13
+ PUBLIC_DOMAIN = 2 #Public Domain
14
+ CREATIVECOMMONS_ATTRIBUTION = 3 #Creative Commons - Attribution
15
+ CREATIVECOMMONS_ATTRIBUTION_SHARE_ALIKE = 4 #Creative Commons - Share Alike
16
+ CREATIVECOMMONS_ATTRIBUTION_NO_DERIVATIVES = 5 #Creative Commons - No Derivitives
17
+ CREATIVECOMMONS_ATTRIBUTION_NON_COMMERCIAL = 6 #Creative Commons - Non-Commercial
18
+ CREATIVECOMMONS_ATTRIBUTION_NON_COMMERCIAL_SHARE_ALIKE = 7 #Creative Commons - Non-Commercial Share Alike
19
+ CREATIVECOMMONS_ATTRIBUTION_NON_COMMERCIAL_NO_DERIVATIVES = 8 #Creative Commons - Non-Commercial No Derivitives
20
+ GFDL = 9 #GFDL
21
+ GPL = 10 #Gnu Public License
22
+ AFFERO_GPL = 11 #Affero Gnu Public License
23
+ LGPL = 12 #Lesser Gnu Public License
24
+ BSD = 13 #BSD
25
+ APACHE = 14 #Apache
26
+ MOZILLA = 15 #Mozilla
21
27
  end
22
28
  end
23
29
  end
@@ -1,24 +1,31 @@
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::LiveStreamEntryFilter
8
+ # @see Kaltura::Filter::LiveStreamAdminEntryFilter
9
+ ##
3
10
  class LiveStreamEntryOrderBy
4
- MEDIA_TYPE_ASC = "+mediaType"
5
- MEDIA_TYPE_DESC = "-mediaType"
6
- PLAYS_ASC = "+plays"
7
- PLAYS_DESC = "-plays"
8
- VIEWS_ASC = "+views"
9
- VIEWS_DESC = "-views"
10
- DURATION_ASC = "+duration"
11
- DURATION_DESC = "-duration"
12
- MS_DURATION_ASC = "+msDuration"
13
- MS_DURATION_DESC = "-msDuration"
14
- NAME_ASC = "+name"
15
- NAME_DESC = "-name"
16
- MODERATION_COUNT_ASC = "+moderationCount"
17
- MODERATION_COUNT_DESC = "-moderationCount"
18
- CREATED_AT_ASC = "+createdAt"
19
- CREATED_AT_DESC = "-createdAt"
20
- RANK_ASC = "+rank"
21
- RANK_DESC = "-rank"
11
+ MEDIA_TYPE_ASC = "+mediaType" #order by media type ascending
12
+ MEDIA_TYPE_DESC = "-mediaType" #order by media type descending
13
+ PLAYS_ASC = "+plays" #order by plays ascending
14
+ PLAYS_DESC = "-plays" #order by plays descending
15
+ VIEWS_ASC = "+views" #order by views ascending
16
+ VIEWS_DESC = "-views" #order by views descending
17
+ DURATION_ASC = "+duration" #order by duration ascending
18
+ DURATION_DESC = "-duration" #order by duration descending
19
+ MS_DURATION_ASC = "+msDuration" #order by millisecond duration ascending
20
+ MS_DURATION_DESC = "-msDuration" #order by millisecond duration descending
21
+ NAME_ASC = "+name" #order by name ascending
22
+ NAME_DESC = "-name" #order by name descending
23
+ MODERATION_COUNT_ASC = "+moderationCount" #order by moderation count ascending
24
+ MODERATION_COUNT_DESC = "-moderationCount" #order by moderation count descending
25
+ CREATED_AT_ASC = "+createdAt" #order by created at ascending
26
+ CREATED_AT_DESC = "-createdAt" #order by created at descending
27
+ RANK_ASC = "+rank" #order by rank ascending
28
+ RANK_DESC = "-rank" #order by rank descending
22
29
  end
23
30
  end
24
31
  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::MailJobFilter
8
+ ##
3
9
  class MailJobOrderBy
4
- CREATED_AT_ASC = "+createdAt"
5
- CREATED_AT_DESC = "-createdAt"
6
- EXECUTION_ATTEMPTS_ASC = "+executionAttempts"
7
- EXECUTION_ATTEMPTS_DESC = "-executionAttempts"
10
+ CREATED_AT_ASC = "+createdAt" #order by created_at ascending
11
+ CREATED_AT_DESC = "-createdAt" #order by created_at descending
12
+ EXECUTION_ATTEMPTS_ASC = "+executionAttempts" #order by execution attempts ascending
13
+ EXECUTION_ATTEMPTS_DESC = "-executionAttempts" #order by execution attempts descending
8
14
  end
9
15
  end
10
16
  end