kaltura-client 16.14.0 → 17.11.0

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 (102) hide show
  1. checksums.yaml +4 -4
  2. data/README +1 -1
  3. data/lib/kaltura_client.rb +60 -6
  4. data/lib/kaltura_enums.rb +14 -2
  5. data/lib/kaltura_plugins/kaltura_activiti_business_process_notification_client_plugin.rb +2 -2
  6. data/lib/kaltura_plugins/kaltura_ad_cue_point_client_plugin.rb +2 -2
  7. data/lib/kaltura_plugins/kaltura_admin_console_client_plugin.rb +2 -2
  8. data/lib/kaltura_plugins/kaltura_annotation_client_plugin.rb +2 -2
  9. data/lib/kaltura_plugins/kaltura_aspera_client_plugin.rb +2 -2
  10. data/lib/kaltura_plugins/kaltura_attachment_client_plugin.rb +2 -2
  11. data/lib/kaltura_plugins/kaltura_audit_client_plugin.rb +2 -2
  12. data/lib/kaltura_plugins/kaltura_avn_distribution_client_plugin.rb +2 -2
  13. data/lib/kaltura_plugins/kaltura_beacon_client_plugin.rb +2 -2
  14. data/lib/kaltura_plugins/kaltura_bpm_event_notification_integration_client_plugin.rb +2 -2
  15. data/lib/kaltura_plugins/kaltura_bulk_upload_client_plugin.rb +2 -2
  16. data/lib/kaltura_plugins/kaltura_bulk_upload_csv_client_plugin.rb +2 -2
  17. data/lib/kaltura_plugins/kaltura_bulk_upload_filter_client_plugin.rb +2 -2
  18. data/lib/kaltura_plugins/kaltura_bulk_upload_xml_client_plugin.rb +2 -2
  19. data/lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb +2 -2
  20. data/lib/kaltura_plugins/kaltura_caption_client_plugin.rb +12 -2
  21. data/lib/kaltura_plugins/kaltura_caption_search_client_plugin.rb +2 -2
  22. data/lib/kaltura_plugins/kaltura_capture_space_client_plugin.rb +2 -2
  23. data/lib/kaltura_plugins/kaltura_cielo24client_plugin.rb +2 -2
  24. data/lib/kaltura_plugins/kaltura_code_cue_point_client_plugin.rb +2 -2
  25. data/lib/kaltura_plugins/kaltura_comcast_mrss_distribution_client_plugin.rb +2 -2
  26. data/lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb +6 -2
  27. data/lib/kaltura_plugins/kaltura_conference_client_plugin.rb +2 -2
  28. data/lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb +9 -2
  29. data/lib/kaltura_plugins/kaltura_cross_kaltura_distribution_client_plugin.rb +2 -2
  30. data/lib/kaltura_plugins/kaltura_cue_point_client_plugin.rb +2 -2
  31. data/lib/kaltura_plugins/kaltura_dailymotion_distribution_client_plugin.rb +2 -2
  32. data/lib/kaltura_plugins/kaltura_document_client_plugin.rb +2 -2
  33. data/lib/kaltura_plugins/kaltura_double_click_distribution_client_plugin.rb +2 -2
  34. data/lib/kaltura_plugins/kaltura_drm_client_plugin.rb +3 -2
  35. data/lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb +6 -2
  36. data/lib/kaltura_plugins/kaltura_drop_folder_xml_bulk_upload_client_plugin.rb +2 -2
  37. data/lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb +2 -2
  38. data/lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb +2 -2
  39. data/lib/kaltura_plugins/kaltura_event_cue_point_client_plugin.rb +2 -2
  40. data/lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb +2 -2
  41. data/lib/kaltura_plugins/kaltura_external_media_client_plugin.rb +2 -2
  42. data/lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb +2 -2
  43. data/lib/kaltura_plugins/kaltura_fairplay_client_plugin.rb +2 -2
  44. data/lib/kaltura_plugins/kaltura_feed_drop_folder_client_plugin.rb +2 -2
  45. data/lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb +2 -2
  46. data/lib/kaltura_plugins/kaltura_freewheel_distribution_client_plugin.rb +2 -2
  47. data/lib/kaltura_plugins/kaltura_freewheel_generic_distribution_client_plugin.rb +2 -2
  48. data/lib/kaltura_plugins/kaltura_ftp_distribution_client_plugin.rb +2 -2
  49. data/lib/kaltura_plugins/kaltura_group_client_plugin.rb +2 -2
  50. data/lib/kaltura_plugins/kaltura_http_notification_client_plugin.rb +2 -2
  51. data/lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb +2 -2
  52. data/lib/kaltura_plugins/kaltura_idetic_distribution_client_plugin.rb +2 -2
  53. data/lib/kaltura_plugins/kaltura_integration_client_plugin.rb +2 -2
  54. data/lib/kaltura_plugins/kaltura_interactivity_client_plugin.rb +2 -2
  55. data/lib/kaltura_plugins/kaltura_kaltura_internal_tools_client_plugin.rb +2 -2
  56. data/lib/kaltura_plugins/kaltura_kontiki_client_plugin.rb +2 -2
  57. data/lib/kaltura_plugins/kaltura_like_client_plugin.rb +2 -2
  58. data/lib/kaltura_plugins/kaltura_live_cluster_client_plugin.rb +2 -2
  59. data/lib/kaltura_plugins/kaltura_metadata_client_plugin.rb +2 -2
  60. data/lib/kaltura_plugins/kaltura_metro_pcs_distribution_client_plugin.rb +2 -2
  61. data/lib/kaltura_plugins/kaltura_msn_distribution_client_plugin.rb +2 -2
  62. data/lib/kaltura_plugins/kaltura_play_ready_client_plugin.rb +2 -2
  63. data/lib/kaltura_plugins/kaltura_podcast_distribution_client_plugin.rb +2 -2
  64. data/lib/kaltura_plugins/kaltura_poll_client_plugin.rb +2 -2
  65. data/lib/kaltura_plugins/kaltura_push_notification_client_plugin.rb +2 -2
  66. data/lib/kaltura_plugins/kaltura_quick_play_distribution_client_plugin.rb +2 -2
  67. data/lib/kaltura_plugins/kaltura_quiz_client_plugin.rb +2 -2
  68. data/lib/kaltura_plugins/kaltura_rating_client_plugin.rb +2 -2
  69. data/lib/kaltura_plugins/kaltura_reach_client_plugin.rb +69 -33
  70. data/lib/kaltura_plugins/kaltura_registration_client_plugin.rb +2 -2
  71. data/lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb +2 -2
  72. data/lib/kaltura_plugins/kaltura_schedule_client_plugin.rb +166 -24
  73. data/lib/kaltura_plugins/kaltura_schedule_drop_folder_client_plugin.rb +2 -2
  74. data/lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb +7 -2
  75. data/lib/kaltura_plugins/kaltura_scheduled_task_content_distribution_client_plugin.rb +2 -2
  76. data/lib/kaltura_plugins/kaltura_scheduled_task_event_notification_client_plugin.rb +2 -2
  77. data/lib/kaltura_plugins/kaltura_scheduled_task_metadata_client_plugin.rb +2 -2
  78. data/lib/kaltura_plugins/kaltura_search_history_client_plugin.rb +2 -2
  79. data/lib/kaltura_plugins/kaltura_short_link_client_plugin.rb +2 -2
  80. data/lib/kaltura_plugins/kaltura_sip_client_plugin.rb +2 -2
  81. data/lib/kaltura_plugins/kaltura_sso_client_plugin.rb +2 -2
  82. data/lib/kaltura_plugins/kaltura_system_partner_client_plugin.rb +2 -2
  83. data/lib/kaltura_plugins/kaltura_tag_search_client_plugin.rb +2 -2
  84. data/lib/kaltura_plugins/kaltura_thumb_cue_point_client_plugin.rb +2 -2
  85. data/lib/kaltura_plugins/kaltura_thumbnail_client_plugin.rb +2 -2
  86. data/lib/kaltura_plugins/kaltura_transcript_client_plugin.rb +2 -2
  87. data/lib/kaltura_plugins/kaltura_unicorn_distribution_client_plugin.rb +2 -2
  88. data/lib/kaltura_plugins/kaltura_var_console_client_plugin.rb +2 -2
  89. data/lib/kaltura_plugins/kaltura_velocix_client_plugin.rb +2 -2
  90. data/lib/kaltura_plugins/kaltura_vendor_client_plugin.rb +228 -29
  91. data/lib/kaltura_plugins/kaltura_view_history_client_plugin.rb +2 -2
  92. data/lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb +2 -2
  93. data/lib/kaltura_plugins/kaltura_voicebase_client_plugin.rb +2 -2
  94. data/lib/kaltura_plugins/kaltura_watch_later_client_plugin.rb +2 -2
  95. data/lib/kaltura_plugins/kaltura_webex_drop_folder_client_plugin.rb +2 -2
  96. data/lib/kaltura_plugins/kaltura_widevine_client_plugin.rb +2 -2
  97. data/lib/kaltura_plugins/kaltura_wowza_client_plugin.rb +2 -2
  98. data/lib/kaltura_plugins/kaltura_yahoo_distribution_client_plugin.rb +2 -2
  99. data/lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb +2 -2
  100. data/lib/kaltura_plugins/kaltura_youtube_api_distribution_client_plugin.rb +2 -2
  101. data/lib/kaltura_types.rb +220 -58
  102. metadata +2 -2
@@ -5,10 +5,10 @@
5
5
  # |_|\_\__,_|_|\__|\_,_|_| \__,_|
6
6
  #
7
7
  # This file is part of the Kaltura Collaborative Media Suite which allows users
8
- # to do with audio, video, and animation what Wiki platfroms allow them to do with
8
+ # to do with audio, video, and animation what Wiki platforms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2020 Kaltura Inc.
11
+ # Copyright (C) 2006-2021 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as
@@ -28,6 +28,7 @@
28
28
  require 'kaltura_client.rb'
29
29
  require File.dirname(__FILE__) + '/kaltura_event_notification_client_plugin.rb'
30
30
  require File.dirname(__FILE__) + '/kaltura_bulk_upload_client_plugin.rb'
31
+ require File.dirname(__FILE__) + '/kaltura_caption_client_plugin.rb'
31
32
 
32
33
  module Kaltura
33
34
 
@@ -83,6 +84,7 @@ module Kaltura
83
84
  ALIGNMENT = 3
84
85
  AUDIO_DESCRIPTION = 4
85
86
  CHAPTERING = 5
87
+ INTELLIGENT_TAGGING = 6
86
88
  end
87
89
 
88
90
  class KalturaVendorServiceTurnAroundTime
@@ -121,6 +123,7 @@ module Kaltura
121
123
  class KalturaCatalogItemLanguage
122
124
  AR = "Arabic"
123
125
  YUE = "Cantonese"
126
+ CA = "Catalan"
124
127
  ZH = "Chinese"
125
128
  DA = "Danish"
126
129
  NL = "Dutch"
@@ -166,6 +169,7 @@ module Kaltura
166
169
 
167
170
  class KalturaEntryVendorTaskOrderBy
168
171
  CREATED_AT_ASC = "+createdAt"
172
+ EXPECTED_FINISH_TIME_ASC = "+expectedFinishTime"
169
173
  FINISH_TIME_ASC = "+finishTime"
170
174
  ID_ASC = "+id"
171
175
  PRICE_ASC = "+price"
@@ -173,6 +177,7 @@ module Kaltura
173
177
  STATUS_ASC = "+status"
174
178
  UPDATED_AT_ASC = "+updatedAt"
175
179
  CREATED_AT_DESC = "-createdAt"
180
+ EXPECTED_FINISH_TIME_DESC = "-expectedFinishTime"
176
181
  FINISH_TIME_DESC = "-finishTime"
177
182
  ID_DESC = "-id"
178
183
  PRICE_DESC = "-price"
@@ -190,6 +195,9 @@ module Kaltura
190
195
  UPDATED_AT_DESC = "-updatedAt"
191
196
  end
192
197
 
198
+ class KalturaReachVendorEngineType
199
+ end
200
+
193
201
  class KalturaVendorCaptionsCatalogItemOrderBy
194
202
  CREATED_AT_ASC = "+createdAt"
195
203
  ID_ASC = "+id"
@@ -481,6 +489,8 @@ module Kaltura
481
489
  attr_accessor :enable_audio_tags
482
490
  attr_accessor :enable_profanity_removal
483
491
  attr_accessor :max_characters_per_caption_line
492
+ attr_accessor :label_addition_for_machine_service_type
493
+ attr_accessor :label_addition_for_human_service_type
484
494
  attr_accessor :content_deletion_policy
485
495
  attr_accessor :rules
486
496
  attr_accessor :credit
@@ -602,6 +612,12 @@ module Kaltura
602
612
  if xml_element.elements['maxCharactersPerCaptionLine'] != nil
603
613
  self.max_characters_per_caption_line = xml_element.elements['maxCharactersPerCaptionLine'].text
604
614
  end
615
+ if xml_element.elements['labelAdditionForMachineServiceType'] != nil
616
+ self.label_addition_for_machine_service_type = xml_element.elements['labelAdditionForMachineServiceType'].text
617
+ end
618
+ if xml_element.elements['labelAdditionForHumanServiceType'] != nil
619
+ self.label_addition_for_human_service_type = xml_element.elements['labelAdditionForHumanServiceType'].text
620
+ end
605
621
  if xml_element.elements['contentDeletionPolicy'] != nil
606
622
  self.content_deletion_policy = xml_element.elements['contentDeletionPolicy'].text
607
623
  end
@@ -659,6 +675,9 @@ module Kaltura
659
675
  attr_accessor :service_feature
660
676
  attr_accessor :turn_around_time
661
677
  attr_accessor :pricing
678
+ # Property showing the catalog item's engine type, in case a vendor can offer the same service via different engines.
679
+ attr_accessor :engine_type
680
+ attr_accessor :source_language
662
681
  attr_accessor :allow_resubmission
663
682
 
664
683
  def id=(val)
@@ -724,6 +743,12 @@ module Kaltura
724
743
  if xml_element.elements['pricing'] != nil
725
744
  self.pricing = KalturaClientBase.object_from_xml(xml_element.elements['pricing'], 'KalturaVendorCatalogItemPricing')
726
745
  end
746
+ if xml_element.elements['engineType'] != nil
747
+ self.engine_type = xml_element.elements['engineType'].text
748
+ end
749
+ if xml_element.elements['sourceLanguage'] != nil
750
+ self.source_language = xml_element.elements['sourceLanguage'].text
751
+ end
727
752
  if xml_element.elements['allowResubmission'] != nil
728
753
  self.allow_resubmission = xml_element.elements['allowResubmission'].text
729
754
  end
@@ -843,6 +868,20 @@ module Kaltura
843
868
 
844
869
  end
845
870
 
871
+ class KalturaIntelligentTaggingVendorTaskData < KalturaVendorTaskData
872
+ # Optional - The id of the caption asset object
873
+ attr_accessor :asset_id
874
+
875
+
876
+ def from_xml(xml_element)
877
+ super
878
+ if xml_element.elements['assetId'] != nil
879
+ self.asset_id = xml_element.elements['assetId'].text
880
+ end
881
+ end
882
+
883
+ end
884
+
846
885
  class KalturaReachProfileListResponse < KalturaListResponse
847
886
  attr_accessor :objects
848
887
 
@@ -880,7 +919,6 @@ module Kaltura
880
919
  end
881
920
 
882
921
  class KalturaVendorAlignmentCatalogItem < KalturaVendorCatalogItem
883
- attr_accessor :source_language
884
922
  attr_accessor :output_format
885
923
 
886
924
  def output_format=(val)
@@ -889,9 +927,6 @@ module Kaltura
889
927
 
890
928
  def from_xml(xml_element)
891
929
  super
892
- if xml_element.elements['sourceLanguage'] != nil
893
- self.source_language = xml_element.elements['sourceLanguage'].text
894
- end
895
930
  if xml_element.elements['outputFormat'] != nil
896
931
  self.output_format = xml_element.elements['outputFormat'].text
897
932
  end
@@ -900,7 +935,6 @@ module Kaltura
900
935
  end
901
936
 
902
937
  class KalturaVendorAudioDescriptionCatalogItem < KalturaVendorCatalogItem
903
- attr_accessor :source_language
904
938
  attr_accessor :flavor_params_id
905
939
  attr_accessor :clear_audio_flavor_params_id
906
940
 
@@ -913,9 +947,6 @@ module Kaltura
913
947
 
914
948
  def from_xml(xml_element)
915
949
  super
916
- if xml_element.elements['sourceLanguage'] != nil
917
- self.source_language = xml_element.elements['sourceLanguage'].text
918
- end
919
950
  if xml_element.elements['flavorParamsId'] != nil
920
951
  self.flavor_params_id = xml_element.elements['flavorParamsId'].text
921
952
  end
@@ -927,7 +958,6 @@ module Kaltura
927
958
  end
928
959
 
929
960
  class KalturaVendorCaptionsCatalogItem < KalturaVendorCatalogItem
930
- attr_accessor :source_language
931
961
  attr_accessor :output_format
932
962
  attr_accessor :enable_speaker_id
933
963
  attr_accessor :fixed_price_addons
@@ -944,9 +974,6 @@ module Kaltura
944
974
 
945
975
  def from_xml(xml_element)
946
976
  super
947
- if xml_element.elements['sourceLanguage'] != nil
948
- self.source_language = xml_element.elements['sourceLanguage'].text
949
- end
950
977
  if xml_element.elements['outputFormat'] != nil
951
978
  self.output_format = xml_element.elements['outputFormat'].text
952
979
  end
@@ -974,14 +1001,10 @@ module Kaltura
974
1001
  end
975
1002
 
976
1003
  class KalturaVendorChapteringCatalogItem < KalturaVendorCatalogItem
977
- attr_accessor :source_language
978
1004
 
979
1005
 
980
1006
  def from_xml(xml_element)
981
1007
  super
982
- if xml_element.elements['sourceLanguage'] != nil
983
- self.source_language = xml_element.elements['sourceLanguage'].text
984
- end
985
1008
  end
986
1009
 
987
1010
  end
@@ -1023,6 +1046,15 @@ module Kaltura
1023
1046
 
1024
1047
  end
1025
1048
 
1049
+ class KalturaVendorIntelligentTaggingCatalogItem < KalturaVendorCatalogItem
1050
+
1051
+
1052
+ def from_xml(xml_element)
1053
+ super
1054
+ end
1055
+
1056
+ end
1057
+
1026
1058
  class KalturaVendorTaskDataCaptionAsset < KalturaVendorTaskData
1027
1059
  # Optional - The id of the caption asset object
1028
1060
  attr_accessor :caption_asset_id
@@ -1059,6 +1091,7 @@ module Kaltura
1059
1091
  class KalturaEntryVendorTaskBaseFilter < KalturaRelatedFilter
1060
1092
  attr_accessor :id_equal
1061
1093
  attr_accessor :id_in
1094
+ attr_accessor :id_not_in
1062
1095
  attr_accessor :vendor_partner_id_equal
1063
1096
  attr_accessor :vendor_partner_id_in
1064
1097
  attr_accessor :created_at_greater_than_or_equal
@@ -1078,6 +1111,8 @@ module Kaltura
1078
1111
  attr_accessor :catalog_item_id_in
1079
1112
  attr_accessor :user_id_equal
1080
1113
  attr_accessor :context_equal
1114
+ attr_accessor :expected_finish_time_greater_than_or_equal
1115
+ attr_accessor :expected_finish_time_less_than_or_equal
1081
1116
 
1082
1117
  def id_equal=(val)
1083
1118
  @id_equal = val.to_i
@@ -1118,6 +1153,12 @@ module Kaltura
1118
1153
  def catalog_item_id_equal=(val)
1119
1154
  @catalog_item_id_equal = val.to_i
1120
1155
  end
1156
+ def expected_finish_time_greater_than_or_equal=(val)
1157
+ @expected_finish_time_greater_than_or_equal = val.to_i
1158
+ end
1159
+ def expected_finish_time_less_than_or_equal=(val)
1160
+ @expected_finish_time_less_than_or_equal = val.to_i
1161
+ end
1121
1162
 
1122
1163
  def from_xml(xml_element)
1123
1164
  super
@@ -1127,6 +1168,9 @@ module Kaltura
1127
1168
  if xml_element.elements['idIn'] != nil
1128
1169
  self.id_in = xml_element.elements['idIn'].text
1129
1170
  end
1171
+ if xml_element.elements['idNotIn'] != nil
1172
+ self.id_not_in = xml_element.elements['idNotIn'].text
1173
+ end
1130
1174
  if xml_element.elements['vendorPartnerIdEqual'] != nil
1131
1175
  self.vendor_partner_id_equal = xml_element.elements['vendorPartnerIdEqual'].text
1132
1176
  end
@@ -1184,33 +1228,25 @@ module Kaltura
1184
1228
  if xml_element.elements['contextEqual'] != nil
1185
1229
  self.context_equal = xml_element.elements['contextEqual'].text
1186
1230
  end
1231
+ if xml_element.elements['expectedFinishTimeGreaterThanOrEqual'] != nil
1232
+ self.expected_finish_time_greater_than_or_equal = xml_element.elements['expectedFinishTimeGreaterThanOrEqual'].text
1233
+ end
1234
+ if xml_element.elements['expectedFinishTimeLessThanOrEqual'] != nil
1235
+ self.expected_finish_time_less_than_or_equal = xml_element.elements['expectedFinishTimeLessThanOrEqual'].text
1236
+ end
1187
1237
  end
1188
1238
 
1189
1239
  end
1190
1240
 
1191
1241
  class KalturaEntryVendorTaskFilter < KalturaEntryVendorTaskBaseFilter
1192
1242
  attr_accessor :free_text
1193
- attr_accessor :expected_finish_time_greater_than_or_equal
1194
- attr_accessor :expected_finish_time_less_than_or_equal
1195
1243
 
1196
- def expected_finish_time_greater_than_or_equal=(val)
1197
- @expected_finish_time_greater_than_or_equal = val.to_i
1198
- end
1199
- def expected_finish_time_less_than_or_equal=(val)
1200
- @expected_finish_time_less_than_or_equal = val.to_i
1201
- end
1202
1244
 
1203
1245
  def from_xml(xml_element)
1204
1246
  super
1205
1247
  if xml_element.elements['freeText'] != nil
1206
1248
  self.free_text = xml_element.elements['freeText'].text
1207
1249
  end
1208
- if xml_element.elements['expectedFinishTimeGreaterThanOrEqual'] != nil
1209
- self.expected_finish_time_greater_than_or_equal = xml_element.elements['expectedFinishTimeGreaterThanOrEqual'].text
1210
- end
1211
- if xml_element.elements['expectedFinishTimeLessThanOrEqual'] != nil
1212
- self.expected_finish_time_less_than_or_equal = xml_element.elements['expectedFinishTimeLessThanOrEqual'].text
1213
- end
1214
1250
  end
1215
1251
 
1216
1252
  end
@@ -1773,7 +1809,7 @@ module Kaltura
1773
1809
  return client.do_queue()
1774
1810
  end
1775
1811
 
1776
- # sync vednor profile credit
1812
+ # sync vendor profile credit
1777
1813
  # @return [KalturaReachProfile]
1778
1814
  def sync_credit(reach_profile_id)
1779
1815
  kparams = {}
@@ -5,10 +5,10 @@
5
5
  # |_|\_\__,_|_|\__|\_,_|_| \__,_|
6
6
  #
7
7
  # This file is part of the Kaltura Collaborative Media Suite which allows users
8
- # to do with audio, video, and animation what Wiki platfroms allow them to do with
8
+ # to do with audio, video, and animation what Wiki platforms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2020 Kaltura Inc.
11
+ # Copyright (C) 2006-2021 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as
@@ -5,10 +5,10 @@
5
5
  # |_|\_\__,_|_|\__|\_,_|_| \__,_|
6
6
  #
7
7
  # This file is part of the Kaltura Collaborative Media Suite which allows users
8
- # to do with audio, video, and animation what Wiki platfroms allow them to do with
8
+ # to do with audio, video, and animation what Wiki platforms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2020 Kaltura Inc.
11
+ # Copyright (C) 2006-2021 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as
@@ -5,10 +5,10 @@
5
5
  # |_|\_\__,_|_|\__|\_,_|_| \__,_|
6
6
  #
7
7
  # This file is part of the Kaltura Collaborative Media Suite which allows users
8
- # to do with audio, video, and animation what Wiki platfroms allow them to do with
8
+ # to do with audio, video, and animation what Wiki platforms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2020 Kaltura Inc.
11
+ # Copyright (C) 2006-2021 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as
@@ -57,6 +57,9 @@ module Kaltura
57
57
  RECORD = 1
58
58
  LIVE_STREAM = 2
59
59
  BLACKOUT = 3
60
+ MEETING = 4
61
+ LIVE_REDIRECT = 5
62
+ VOD = 6
60
63
  end
61
64
 
62
65
  class KalturaScheduleResourceStatus
@@ -180,6 +183,31 @@ module Kaltura
180
183
  UPDATED_AT_DESC = "-updatedAt"
181
184
  end
182
185
 
186
+ class KalturaLinkedScheduleEvent < KalturaObjectBase
187
+ # The time between the end of the event which it's id is in $eventId and the start of the event holding this object
188
+ attr_accessor :offset
189
+ # The id of the event influencing the start of the event holding this object
190
+ attr_accessor :event_id
191
+
192
+ def offset=(val)
193
+ @offset = val.to_i
194
+ end
195
+ def event_id=(val)
196
+ @event_id = val.to_i
197
+ end
198
+
199
+ def from_xml(xml_element)
200
+ super
201
+ if xml_element.elements['offset'] != nil
202
+ self.offset = xml_element.elements['offset'].text
203
+ end
204
+ if xml_element.elements['eventId'] != nil
205
+ self.event_id = xml_element.elements['eventId'].text
206
+ end
207
+ end
208
+
209
+ end
210
+
183
211
  class KalturaScheduleEventRecurrence < KalturaObjectBase
184
212
  attr_accessor :name
185
213
  attr_accessor :frequency
@@ -301,6 +329,10 @@ module Kaltura
301
329
  attr_accessor :start_date
302
330
  attr_accessor :end_date
303
331
  attr_accessor :reference_id
332
+ # Contains the Id of the event that influences the timing of this event and the offset of time.
333
+ attr_accessor :linked_to
334
+ # An array of Schedule Event Ids that their start time depends on the end of the current.
335
+ attr_accessor :linked_by
304
336
  attr_accessor :classification_type
305
337
  # Specifies the global position for the activity
306
338
  attr_accessor :geo_latitude
@@ -403,6 +435,12 @@ module Kaltura
403
435
  if xml_element.elements['referenceId'] != nil
404
436
  self.reference_id = xml_element.elements['referenceId'].text
405
437
  end
438
+ if xml_element.elements['linkedTo'] != nil
439
+ self.linked_to = KalturaClientBase.object_from_xml(xml_element.elements['linkedTo'], 'KalturaLinkedScheduleEvent')
440
+ end
441
+ if xml_element.elements['linkedBy'] != nil
442
+ self.linked_by = xml_element.elements['linkedBy'].text
443
+ end
406
444
  if xml_element.elements['classificationType'] != nil
407
445
  self.classification_type = xml_element.elements['classificationType'].text
408
446
  end
@@ -686,40 +724,28 @@ module Kaltura
686
724
 
687
725
  end
688
726
 
689
- class KalturaLiveStreamScheduleEvent < KalturaEntryScheduleEvent
690
- # Defines the expected audience.
691
- attr_accessor :projected_audience
692
- # The entry ID of the source entry (for simulive)
693
- attr_accessor :source_entry_id
727
+ class KalturaBaseLiveScheduleEvent < KalturaEntryScheduleEvent
728
+
729
+
730
+ def from_xml(xml_element)
731
+ super
732
+ end
733
+
734
+ end
735
+
736
+ class KalturaMeetingScheduleEvent < KalturaEntryScheduleEvent
694
737
  # The time relative time before the startTime considered as preStart time
695
738
  attr_accessor :pre_start_time
696
- # The time relative time before the endTime considered as postEnd time
697
- attr_accessor :post_end_time
698
739
 
699
- def projected_audience=(val)
700
- @projected_audience = val.to_i
701
- end
702
740
  def pre_start_time=(val)
703
741
  @pre_start_time = val.to_i
704
742
  end
705
- def post_end_time=(val)
706
- @post_end_time = val.to_i
707
- end
708
743
 
709
744
  def from_xml(xml_element)
710
745
  super
711
- if xml_element.elements['projectedAudience'] != nil
712
- self.projected_audience = xml_element.elements['projectedAudience'].text
713
- end
714
- if xml_element.elements['sourceEntryId'] != nil
715
- self.source_entry_id = xml_element.elements['sourceEntryId'].text
716
- end
717
746
  if xml_element.elements['preStartTime'] != nil
718
747
  self.pre_start_time = xml_element.elements['preStartTime'].text
719
748
  end
720
- if xml_element.elements['postEndTime'] != nil
721
- self.post_end_time = xml_element.elements['postEndTime'].text
722
- end
723
749
  end
724
750
 
725
751
  end
@@ -1060,6 +1086,77 @@ module Kaltura
1060
1086
 
1061
1087
  end
1062
1088
 
1089
+ class KalturaVodScheduleEvent < KalturaEntryScheduleEvent
1090
+
1091
+
1092
+ def from_xml(xml_element)
1093
+ super
1094
+ end
1095
+
1096
+ end
1097
+
1098
+ class KalturaLiveRedirectScheduleEvent < KalturaBaseLiveScheduleEvent
1099
+ # The vod entry to redirect
1100
+ attr_accessor :redirect_entry_id
1101
+
1102
+
1103
+ def from_xml(xml_element)
1104
+ super
1105
+ if xml_element.elements['redirectEntryId'] != nil
1106
+ self.redirect_entry_id = xml_element.elements['redirectEntryId'].text
1107
+ end
1108
+ end
1109
+
1110
+ end
1111
+
1112
+ class KalturaLiveStreamScheduleEvent < KalturaBaseLiveScheduleEvent
1113
+ # The entry ID of the source entry (for simulive)
1114
+ attr_accessor :source_entry_id
1115
+ # Defines the expected audience.
1116
+ attr_accessor :projected_audience
1117
+ # The time relative time before the startTime considered as preStart time
1118
+ attr_accessor :pre_start_time
1119
+ # The time relative time before the endTime considered as postEnd time
1120
+ attr_accessor :post_end_time
1121
+ # The entry id of the pre start entry
1122
+ attr_accessor :pre_start_entry_id
1123
+ # The entry id of the post end entry
1124
+ attr_accessor :post_end_entry_id
1125
+
1126
+ def projected_audience=(val)
1127
+ @projected_audience = val.to_i
1128
+ end
1129
+ def pre_start_time=(val)
1130
+ @pre_start_time = val.to_i
1131
+ end
1132
+ def post_end_time=(val)
1133
+ @post_end_time = val.to_i
1134
+ end
1135
+
1136
+ def from_xml(xml_element)
1137
+ super
1138
+ if xml_element.elements['sourceEntryId'] != nil
1139
+ self.source_entry_id = xml_element.elements['sourceEntryId'].text
1140
+ end
1141
+ if xml_element.elements['projectedAudience'] != nil
1142
+ self.projected_audience = xml_element.elements['projectedAudience'].text
1143
+ end
1144
+ if xml_element.elements['preStartTime'] != nil
1145
+ self.pre_start_time = xml_element.elements['preStartTime'].text
1146
+ end
1147
+ if xml_element.elements['postEndTime'] != nil
1148
+ self.post_end_time = xml_element.elements['postEndTime'].text
1149
+ end
1150
+ if xml_element.elements['preStartEntryId'] != nil
1151
+ self.pre_start_entry_id = xml_element.elements['preStartEntryId'].text
1152
+ end
1153
+ if xml_element.elements['postEndEntryId'] != nil
1154
+ self.post_end_entry_id = xml_element.elements['postEndEntryId'].text
1155
+ end
1156
+ end
1157
+
1158
+ end
1159
+
1063
1160
  class KalturaScheduleEventFilter < KalturaScheduleEventBaseFilter
1064
1161
  attr_accessor :resource_ids_like
1065
1162
  attr_accessor :resource_ids_multi_like_or
@@ -1259,6 +1356,15 @@ module Kaltura
1259
1356
 
1260
1357
  end
1261
1358
 
1359
+ class KalturaLiveRedirectScheduleEventFilter < KalturaEntryScheduleEventFilter
1360
+
1361
+
1362
+ def from_xml(xml_element)
1363
+ super
1364
+ end
1365
+
1366
+ end
1367
+
1262
1368
  class KalturaLiveStreamScheduleEventBaseFilter < KalturaEntryScheduleEventFilter
1263
1369
 
1264
1370
 
@@ -1268,6 +1374,15 @@ module Kaltura
1268
1374
 
1269
1375
  end
1270
1376
 
1377
+ class KalturaMeetingScheduleEventBaseFilter < KalturaEntryScheduleEventFilter
1378
+
1379
+
1380
+ def from_xml(xml_element)
1381
+ super
1382
+ end
1383
+
1384
+ end
1385
+
1271
1386
  class KalturaRecordScheduleEventBaseFilter < KalturaEntryScheduleEventFilter
1272
1387
 
1273
1388
 
@@ -1277,6 +1392,15 @@ module Kaltura
1277
1392
 
1278
1393
  end
1279
1394
 
1395
+ class KalturaVodScheduleEventBaseFilter < KalturaEntryScheduleEventFilter
1396
+
1397
+
1398
+ def from_xml(xml_element)
1399
+ super
1400
+ end
1401
+
1402
+ end
1403
+
1280
1404
  class KalturaBlackoutScheduleEventFilter < KalturaRecordScheduleEventBaseFilter
1281
1405
 
1282
1406
 
@@ -1295,6 +1419,15 @@ module Kaltura
1295
1419
 
1296
1420
  end
1297
1421
 
1422
+ class KalturaMeetingScheduleEventFilter < KalturaMeetingScheduleEventBaseFilter
1423
+
1424
+
1425
+ def from_xml(xml_element)
1426
+ super
1427
+ end
1428
+
1429
+ end
1430
+
1298
1431
  class KalturaRecordScheduleEventFilter < KalturaRecordScheduleEventBaseFilter
1299
1432
 
1300
1433
 
@@ -1304,6 +1437,15 @@ module Kaltura
1304
1437
 
1305
1438
  end
1306
1439
 
1440
+ class KalturaVodScheduleEventFilter < KalturaVodScheduleEventBaseFilter
1441
+
1442
+
1443
+ def from_xml(xml_element)
1444
+ super
1445
+ end
1446
+
1447
+ end
1448
+
1307
1449
 
1308
1450
  # The ScheduleEvent service enables you to create and manage (update, delete, retrieve, etc.) scheduled recording events.
1309
1451
  class KalturaScheduleEventService < KalturaServiceBase
@@ -5,10 +5,10 @@
5
5
  # |_|\_\__,_|_|\__|\_,_|_| \__,_|
6
6
  #
7
7
  # This file is part of the Kaltura Collaborative Media Suite which allows users
8
- # to do with audio, video, and animation what Wiki platfroms allow them to do with
8
+ # to do with audio, video, and animation what Wiki platforms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2020 Kaltura Inc.
11
+ # Copyright (C) 2006-2021 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as
@@ -5,10 +5,10 @@
5
5
  # |_|\_\__,_|_|\__|\_,_|_| \__,_|
6
6
  #
7
7
  # This file is part of the Kaltura Collaborative Media Suite which allows users
8
- # to do with audio, video, and animation what Wiki platfroms allow them to do with
8
+ # to do with audio, video, and animation what Wiki platforms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2020 Kaltura Inc.
11
+ # Copyright (C) 2006-2021 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as
@@ -336,6 +336,8 @@ module Kaltura
336
336
  attr_accessor :input_entitled_users_edit
337
337
  # The input entitled users publish to set on the entry
338
338
  attr_accessor :input_entitled_users_publish
339
+ # The input entitled users view to set on the entry
340
+ attr_accessor :input_entitled_users_view
339
341
  # Should clear the media repurposing data and therefore reset the process
340
342
  attr_accessor :reset_media_repurposing_process
341
343
 
@@ -372,6 +374,9 @@ module Kaltura
372
374
  if xml_element.elements['inputEntitledUsersPublish'] != nil
373
375
  self.input_entitled_users_publish = xml_element.elements['inputEntitledUsersPublish'].text
374
376
  end
377
+ if xml_element.elements['inputEntitledUsersView'] != nil
378
+ self.input_entitled_users_view = xml_element.elements['inputEntitledUsersView'].text
379
+ end
375
380
  if xml_element.elements['resetMediaRepurposingProcess'] != nil
376
381
  self.reset_media_repurposing_process = xml_element.elements['resetMediaRepurposingProcess'].text
377
382
  end
@@ -5,10 +5,10 @@
5
5
  # |_|\_\__,_|_|\__|\_,_|_| \__,_|
6
6
  #
7
7
  # This file is part of the Kaltura Collaborative Media Suite which allows users
8
- # to do with audio, video, and animation what Wiki platfroms allow them to do with
8
+ # to do with audio, video, and animation what Wiki platforms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2020 Kaltura Inc.
11
+ # Copyright (C) 2006-2021 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as
@@ -5,10 +5,10 @@
5
5
  # |_|\_\__,_|_|\__|\_,_|_| \__,_|
6
6
  #
7
7
  # This file is part of the Kaltura Collaborative Media Suite which allows users
8
- # to do with audio, video, and animation what Wiki platfroms allow them to do with
8
+ # to do with audio, video, and animation what Wiki platforms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2020 Kaltura Inc.
11
+ # Copyright (C) 2006-2021 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as
@@ -5,10 +5,10 @@
5
5
  # |_|\_\__,_|_|\__|\_,_|_| \__,_|
6
6
  #
7
7
  # This file is part of the Kaltura Collaborative Media Suite which allows users
8
- # to do with audio, video, and animation what Wiki platfroms allow them to do with
8
+ # to do with audio, video, and animation what Wiki platforms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2020 Kaltura Inc.
11
+ # Copyright (C) 2006-2021 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as