goncalossilva_kaltura-ruby 0.4.8

Sign up to get free protection for your applications and to get access to all the features.
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::Filter::AccessControlFilter
8
+ ##
9
+ class AccessControlOrderBy
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
12
+ end
13
+ end
14
+ 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
+ ##
8
+ class AudioCodec
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
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,61 @@
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::BaseSyndicationFeedFilter
8
+ # @see Kaltura::Filter::BaseJobFilter
9
+ # @see Kaltura::Filter::BaseEntryFilter
10
+ ##
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
+ ##
18
+ class SyndicationFeedOrderBy
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.
27
+ end
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
+ ##
36
+ class JobOrderBy
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.
41
+ end
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
+ ##
49
+ class EntryOrderBy
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.
58
+ end
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,87 @@
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::BatchJobFilter
8
+ # @see Kaltura::BulkUpload
9
+ ##
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
+ ##
17
+ class OrderBy
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.
28
+ end
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
+ ##
36
+ class Status
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
49
+ end
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
+ ##
57
+ class Type
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
84
+ end
85
+ end
86
+ end
87
+ end
@@ -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::BitRateMode
8
+ ##
9
+ class BitRateMode
10
+ CBR = 1 #CBR bitrate
11
+ VBR = 2 #VBR bitrate
12
+ end
13
+ end
14
+ 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::Filter::CategoryFilter
8
+ ##
9
+ class CategoryOrderBy
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.
16
+ end
17
+ end
18
+ end
@@ -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::Partner
8
+ ##
9
+ class CommercialUseType
10
+ COMMERCIAL_USE = "commercial_use" #Used for commercial purposes.
11
+ NON_COMMERCIAL_USE = "non-commercial_use" #used for non-commercial purposes.
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,21 @@
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 ContainerFormat
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.
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,49 @@
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::ControlPanelCommandFilter
8
+ ##
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
+ ##
16
+ class OrderBy
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.
21
+ end
22
+
23
+ # @private
24
+ class Status
25
+ PENDING = 1
26
+ HANDLED = 2
27
+ DONE = 3
28
+ FAILED = 4
29
+ end
30
+
31
+ # @private
32
+ class TargetType
33
+ DATA_CENTER = 1
34
+ SCHEDULER = 2
35
+ JOB_TYPE = 3
36
+ JOB = 4
37
+ BATCH = 5
38
+ end
39
+
40
+ # @private
41
+ class Type
42
+ STOP = 1
43
+ START = 2
44
+ CONFIG = 3
45
+ KILL = 4
46
+ end
47
+ end
48
+ end
49
+ end
@@ -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::Filter::ConversionProfileFilter
8
+ ##
9
+ class ConversionProfileOrderBy
10
+ CREATED_AT_ASC = "+createdAt" #order by created_at ascending.
11
+ CREATED_AT_DESC = "-createdAt" #order by created_at descending.
12
+ end
13
+ end
14
+ 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::Service::BaseEntryService
8
+ # @see Kaltura::EntryContextDataResult
9
+ # @see Kaltura::EntryContextDataParams
10
+ ##
11
+ class CountryRestrictionType
12
+ RESTRICT_COUNTRY_LIST = 0 #restrict countries.
13
+ ALLOW_COUNTRY_LIST = 1 #allow countries.
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,20 @@
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::DataEntryFilter
8
+ ##
9
+ class DataEntryOrderBy
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.
18
+ end
19
+ end
20
+ end
@@ -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::DirectoryRestriction
8
+ ##
9
+ class DirectoryRestrictionType
10
+ DONT_DISPLAY = 0 #do not display the directory.
11
+ DISPLAY_WITH_LINK = 1 #display the directory.
12
+ end
13
+ end
14
+ 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::DocumentEntryFilter
8
+ # @see Kaltura::DocumentEntry
9
+ ##
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
+ ##
17
+ class OrderBy
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.
26
+ end
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
+ ##
33
+ class Type
34
+ DOCUMENT = 11 #Document.
35
+ SWF = 12 #Executable Flash file.
36
+ end
37
+ end
38
+ end
39
+ 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::PlayableEntryFilter
8
+ ##
9
+ class DurationType
10
+ NOT_AVAILABLE = "notavailable" #unavailable duration.
11
+ SHORT = "short" #short duration.
12
+ MEDIUM = "medium" #medium duration.
13
+ LONG = "long" #long duration.
14
+ end
15
+ end
16
+ end
@@ -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::MixEntry
8
+ ##
9
+ class EditorType
10
+ SIMPLE = 1 #simple Mix Editor
11
+ ADVANCED = 2 #advanced Mix Editor
12
+ end
13
+ end
14
+ end