goncalossilva_kaltura-ruby 0.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. data/.document +5 -0
  2. data/.gitignore +7 -0
  3. data/LICENSE +661 -0
  4. data/README.markdown +56 -0
  5. data/README.rdoc +54 -0
  6. data/Rakefile +61 -0
  7. data/VERSION +1 -0
  8. data/VERSION.yml +5 -0
  9. data/goncalossilva_kaltura-ruby.gemspec +179 -0
  10. data/lib/kaltura.rb +19 -0
  11. data/lib/kaltura/constants.rb +77 -0
  12. data/lib/kaltura/constants/access_control_order_by.rb +14 -0
  13. data/lib/kaltura/constants/audio_codec.rb +16 -0
  14. data/lib/kaltura/constants/base.rb +61 -0
  15. data/lib/kaltura/constants/batch_job.rb +87 -0
  16. data/lib/kaltura/constants/bit_rate_mode.rb +14 -0
  17. data/lib/kaltura/constants/category_order_by.rb +18 -0
  18. data/lib/kaltura/constants/commercial_use_type.rb +14 -0
  19. data/lib/kaltura/constants/container_format.rb +21 -0
  20. data/lib/kaltura/constants/control_panel_command.rb +49 -0
  21. data/lib/kaltura/constants/conversion_profile_order_by.rb +14 -0
  22. data/lib/kaltura/constants/country_restriction_type.rb +16 -0
  23. data/lib/kaltura/constants/data_entry_order_by.rb +20 -0
  24. data/lib/kaltura/constants/directory_restriction_type.rb +14 -0
  25. data/lib/kaltura/constants/document.rb +39 -0
  26. data/lib/kaltura/constants/duration_type.rb +16 -0
  27. data/lib/kaltura/constants/editor_type.rb +14 -0
  28. data/lib/kaltura/constants/email_ingestion_profile_status.rb +14 -0
  29. data/lib/kaltura/constants/entry.rb +59 -0
  30. data/lib/kaltura/constants/file_sync.rb +67 -0
  31. data/lib/kaltura/constants/flavor_asset_status.rb +18 -0
  32. data/lib/kaltura/constants/gender.rb +15 -0
  33. data/lib/kaltura/constants/google_syndication_feed.rb +39 -0
  34. data/lib/kaltura/constants/i_tunes_syndication_feed.rb +42 -0
  35. data/lib/kaltura/constants/i_tunes_syndication_feed/categories.rb +82 -0
  36. data/lib/kaltura/constants/license_type.rb +29 -0
  37. data/lib/kaltura/constants/live_stream_admin_entry_order_by.rb +31 -0
  38. data/lib/kaltura/constants/mail_job_order_by.rb +16 -0
  39. data/lib/kaltura/constants/media.rb +55 -0
  40. data/lib/kaltura/constants/mix_entry_order_by.rb +28 -0
  41. data/lib/kaltura/constants/moderation.rb +34 -0
  42. data/lib/kaltura/constants/notification.rb +43 -0
  43. data/lib/kaltura/constants/nullable_boolean.rb +14 -0
  44. data/lib/kaltura/constants/partner.rb +64 -0
  45. data/lib/kaltura/constants/playable_entry_order_by.rb +28 -0
  46. data/lib/kaltura/constants/playlist.rb +35 -0
  47. data/lib/kaltura/constants/report_type.rb +24 -0
  48. data/lib/kaltura/constants/search_provider_type.rb +29 -0
  49. data/lib/kaltura/constants/session_type.rb +14 -0
  50. data/lib/kaltura/constants/site_restriction_type.rb +14 -0
  51. data/lib/kaltura/constants/source_type.rb +17 -0
  52. data/lib/kaltura/constants/stats.rb +49 -0
  53. data/lib/kaltura/constants/stats/kmc_event_type.rb +77 -0
  54. data/lib/kaltura/constants/syndication_feed.rb +37 -0
  55. data/lib/kaltura/constants/system_user.rb +17 -0
  56. data/lib/kaltura/constants/tube_mogul_syndication_feed.rb +34 -0
  57. data/lib/kaltura/constants/ui_conf.rb +26 -0
  58. data/lib/kaltura/constants/upload_error_code.rb +9 -0
  59. data/lib/kaltura/constants/user.rb +16 -0
  60. data/lib/kaltura/constants/video_codec.rb +16 -0
  61. data/lib/kaltura/constants/widget.rb +15 -0
  62. data/lib/kaltura/constants/yahoo_syndication_feed.rb +44 -0
  63. data/lib/kaltura/filter.rb +75 -0
  64. data/lib/kaltura/filter/access_control_filter.rb +20 -0
  65. data/lib/kaltura/filter/base_entry_filter.rb +115 -0
  66. data/lib/kaltura/filter/base_filter.rb +7 -0
  67. data/lib/kaltura/filter/base_job_filter.rb +28 -0
  68. data/lib/kaltura/filter/batch_job_filter.rb +54 -0
  69. data/lib/kaltura/filter/category_filter.rb +23 -0
  70. data/lib/kaltura/filter/control_panel_command_filter.rb +39 -0
  71. data/lib/kaltura/filter/conversion_profile_filter.rb +12 -0
  72. data/lib/kaltura/filter/document_entry_filter.rb +12 -0
  73. data/lib/kaltura/filter/file_sync_filter.rb +93 -0
  74. data/lib/kaltura/filter/flavor_params_filter.rb +11 -0
  75. data/lib/kaltura/filter/flavor_params_output_filter.rb +14 -0
  76. data/lib/kaltura/filter/media_entry_filter.rb +22 -0
  77. data/lib/kaltura/filter/media_entry_filter_for_playlist.rb +11 -0
  78. data/lib/kaltura/filter/partner_filter.rb +22 -0
  79. data/lib/kaltura/filter/playable_entry_filter.rb +40 -0
  80. data/lib/kaltura/filter/report_input_filter.rb +25 -0
  81. data/lib/kaltura/filter/system_partner_usage_filter.rb +15 -0
  82. data/lib/kaltura/filter/ui_conf_filter.rb +40 -0
  83. data/lib/kaltura/filter/user_filter.rb +27 -0
  84. data/lib/kaltura/filter/widget_filter.rb +37 -0
  85. data/lib/kaltura/kaltura_client.rb +1762 -0
  86. data/lib/kaltura/kaltura_client_base.rb +300 -0
  87. data/lib/kaltura/response.rb +112 -0
  88. data/lib/kaltura/service.rb +142 -0
  89. data/lib/kaltura/service/access_control_service.rb +110 -0
  90. data/lib/kaltura/service/admin_user_service.rb +69 -0
  91. data/lib/kaltura/service/base_entry_service.rb +331 -0
  92. data/lib/kaltura/service/base_service.rb +42 -0
  93. data/lib/kaltura/service/bulk_upload_service.rb +75 -0
  94. data/lib/kaltura/service/category_service.rb +112 -0
  95. data/lib/kaltura/service/conversion_profile_service.rb +116 -0
  96. data/lib/kaltura/service/data_service.rb +116 -0
  97. data/lib/kaltura/service/email_ingestion_profile_service.rb +122 -0
  98. data/lib/kaltura/service/flavor_asset_service.rb +155 -0
  99. data/lib/kaltura/service/flavor_params_service.rb +111 -0
  100. data/lib/kaltura/service/live_stream_service.rb +140 -0
  101. data/lib/kaltura/service/media_service.rb +546 -0
  102. data/lib/kaltura/service/mixing_service.rb +86 -0
  103. data/lib/kaltura/service/notification_service.rb +13 -0
  104. data/lib/kaltura/service/partner_service.rb +41 -0
  105. data/lib/kaltura/service/playlist_service.rb +73 -0
  106. data/lib/kaltura/service/report_service.rb +47 -0
  107. data/lib/kaltura/service/search_service.rb +34 -0
  108. data/lib/kaltura/service/session_service.rb +24 -0
  109. data/lib/kaltura/service/stats_service.rb +24 -0
  110. data/lib/kaltura/service/syndication_feed_service.rb +50 -0
  111. data/lib/kaltura/service/system_partner_service.rb +58 -0
  112. data/lib/kaltura/service/system_service.rb +11 -0
  113. data/lib/kaltura/service/system_user_service.rb +63 -0
  114. data/lib/kaltura/service/ui_conf_service.rb +51 -0
  115. data/lib/kaltura/service/upload_service.rb +18 -0
  116. data/lib/kaltura/service/user_service.rb +44 -0
  117. data/lib/kaltura/service/widget_service.rb +38 -0
  118. data/lib/kaltura/service/x_internal_service.rb +13 -0
  119. data/test/kaltura-ruby_test.rb +7 -0
  120. data/test/test.rb +23 -0
  121. data/test/test_2.rb +26 -0
  122. data/test/test_error.rb +14 -0
  123. data/test/test_helper.rb +10 -0
  124. metadata +222 -0
@@ -0,0 +1,14 @@
1
+ module Kaltura
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
+ ##
9
+ class EmailIngestionProfileStatus
10
+ INACTIVE = 0 #inactive profile.
11
+ ACTIVE = 1 #active profile.
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,59 @@
1
+ module Kaltura
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
+ ##
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
+ ##
16
+ class ModerationStatus
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
22
+ end
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
+ ##
30
+ class Status
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
40
+ end
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
+ ##
48
+ class Type
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
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,67 @@
1
+ module Kaltura
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
+ ##
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
+ ##
17
+ class ObjectType
18
+ ENTRY = 1 #Kaltura::BaseEntry
19
+ UICONF = 2 #Kaltura::UiConf
20
+ BATCHJOB = 3 #Kaltura::BulkUpload
21
+ FLAVOR_ASSET = 4 #Kaltura::FlavorAsset
22
+ end
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
+ ##
29
+ class OrderBy
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.
40
+ end
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
+ ##
47
+ class Status
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.
53
+ end
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
+ ##
60
+ class Type
61
+ FILE = 1 #File
62
+ LINK = 2 #Link
63
+ URL = 3 #URL
64
+ end
65
+ end
66
+ end
67
+ end
@@ -0,0 +1,18 @@
1
+ module Kaltura
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
+ ##
9
+ class FlavorAssetStatus
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
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,15 @@
1
+ module Kaltura
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
+ ##
9
+ class Gender
10
+ UNKNOWN = 0 #unkown
11
+ MALE = 1 # male user
12
+ FEMALE = 2 # female user
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,39 @@
1
+ module Kaltura
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
+ ##
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
+ ##
17
+ class AdultValues
18
+ YES = "Yes" #contains adult videos.
19
+ NO = "No" #does not contain adult videos.
20
+ end
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
+ ##
27
+ class OrderBy
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.
36
+ end
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,42 @@
1
+ require 'kaltura/constants/i_tunes_syndication_feed/categories'
2
+
3
+ module Kaltura
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
+ ##
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
+ ##
19
+ class AdultValues
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.
23
+ end
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
+ ##
30
+ class OrderBy
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.
39
+ end
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,82 @@
1
+ module Kaltura
2
+ module Constants
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
+ ##
11
+ class Categories
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
79
+ end
80
+ end
81
+ end
82
+ end
@@ -0,0 +1,29 @@
1
+ module Kaltura
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
+ ##
9
+ class LicenseType
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
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,31 @@
1
+ module Kaltura
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
+ ##
10
+ class LiveStreamEntryOrderBy
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
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,16 @@
1
+ module Kaltura
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
+ ##
9
+ class MailJobOrderBy
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
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,55 @@
1
+ module Kaltura
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
+ ##
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
+ ##
17
+ class OrderBy
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
36
+ end
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
+ ##
44
+ class Type
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
52
+ end
53
+ end
54
+ end
55
+ end