kaltura-client 18.7.0 → 18.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README +1 -1
- data/lib/kaltura_client.rb +22 -4
- data/lib/kaltura_enums.rb +1 -0
- data/lib/kaltura_plugins/kaltura_caption_client_plugin.rb +9 -0
- data/lib/kaltura_plugins/kaltura_reach_client_plugin.rb +76 -0
- data/lib/kaltura_plugins/kaltura_schedule_client_plugin.rb +71 -0
- data/lib/kaltura_types.rb +74 -13
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb1b389640477eeea83c6eef22f451fe14cdabb3999b81857d768c4e400fc448
|
4
|
+
data.tar.gz: 9d8ceb698bbb51167ec0acebeea2cdd9e9521f1b080c7c2acdd3bab295f74221
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4333d5d022d393c1f30d134b492e8531cbb48c767528ef746a85f13124c9c8b258060a72485cd6e0cddc3e91264d9ad10e13575c4117271cf88333b33b660a06
|
7
|
+
data.tar.gz: b15bd05a7c5a5cec9665647d0c96d1c6ef280b6a3c3f0a52d810b4407b9f15ebfc8fc4dfa7d782057ecba92675decd48ebc15fcd516a27cbd82f258bbb27b86f
|
data/README
CHANGED
data/lib/kaltura_client.rb
CHANGED
@@ -460,12 +460,13 @@ module Kaltura
|
|
460
460
|
|
461
461
|
# add batch job that sends an email with a link to download an updated CSV that contains list of entries
|
462
462
|
# @return [string]
|
463
|
-
def export_to_csv(filter=KalturaNotImplemented, metadata_profile_id=KalturaNotImplemented, additional_fields=KalturaNotImplemented, mapped_fields=KalturaNotImplemented)
|
463
|
+
def export_to_csv(filter=KalturaNotImplemented, metadata_profile_id=KalturaNotImplemented, additional_fields=KalturaNotImplemented, mapped_fields=KalturaNotImplemented, options=KalturaNotImplemented)
|
464
464
|
kparams = {}
|
465
465
|
client.add_param(kparams, 'filter', filter)
|
466
466
|
client.add_param(kparams, 'metadataProfileId', metadata_profile_id)
|
467
467
|
client.add_param(kparams, 'additionalFields', additional_fields)
|
468
468
|
client.add_param(kparams, 'mappedFields', mapped_fields)
|
469
|
+
client.add_param(kparams, 'options', options)
|
469
470
|
client.queue_service_action_call('baseentry', 'exportToCsv', 'string', kparams)
|
470
471
|
if (client.is_multirequest)
|
471
472
|
return nil
|
@@ -968,6 +969,22 @@ module Kaltura
|
|
968
969
|
return client.do_queue()
|
969
970
|
end
|
970
971
|
|
972
|
+
# Creates a batch job that sends an email with a link to download a CSV containing a list of categories
|
973
|
+
# @return [string]
|
974
|
+
def export_to_csv(filter=KalturaNotImplemented, metadata_profile_id=KalturaNotImplemented, additional_fields=KalturaNotImplemented, mapped_fields=KalturaNotImplemented, options=KalturaNotImplemented)
|
975
|
+
kparams = {}
|
976
|
+
client.add_param(kparams, 'filter', filter)
|
977
|
+
client.add_param(kparams, 'metadataProfileId', metadata_profile_id)
|
978
|
+
client.add_param(kparams, 'additionalFields', additional_fields)
|
979
|
+
client.add_param(kparams, 'mappedFields', mapped_fields)
|
980
|
+
client.add_param(kparams, 'options', options)
|
981
|
+
client.queue_service_action_call('category', 'exportToCsv', 'string', kparams)
|
982
|
+
if (client.is_multirequest)
|
983
|
+
return nil
|
984
|
+
end
|
985
|
+
return client.do_queue()
|
986
|
+
end
|
987
|
+
|
971
988
|
# Get Category by id
|
972
989
|
# @return [KalturaCategory]
|
973
990
|
def get(id)
|
@@ -5619,12 +5636,13 @@ module Kaltura
|
|
5619
5636
|
|
5620
5637
|
# Creates a batch job that sends an email with a link to download a CSV containing a list of users
|
5621
5638
|
# @return [string]
|
5622
|
-
def export_to_csv(filter=KalturaNotImplemented, metadata_profile_id=KalturaNotImplemented, additional_fields=KalturaNotImplemented, mapped_fields=KalturaNotImplemented)
|
5639
|
+
def export_to_csv(filter=KalturaNotImplemented, metadata_profile_id=KalturaNotImplemented, additional_fields=KalturaNotImplemented, mapped_fields=KalturaNotImplemented, options=KalturaNotImplemented)
|
5623
5640
|
kparams = {}
|
5624
5641
|
client.add_param(kparams, 'filter', filter)
|
5625
5642
|
client.add_param(kparams, 'metadataProfileId', metadata_profile_id)
|
5626
5643
|
client.add_param(kparams, 'additionalFields', additional_fields)
|
5627
5644
|
client.add_param(kparams, 'mappedFields', mapped_fields)
|
5645
|
+
client.add_param(kparams, 'options', options)
|
5628
5646
|
client.queue_service_action_call('user', 'exportToCsv', 'string', kparams)
|
5629
5647
|
if (client.is_multirequest)
|
5630
5648
|
return nil
|
@@ -6364,8 +6382,8 @@ module Kaltura
|
|
6364
6382
|
|
6365
6383
|
def initialize(client)
|
6366
6384
|
super(client)
|
6367
|
-
self.client_tag = 'ruby:22-
|
6368
|
-
self.api_version = '18.
|
6385
|
+
self.client_tag = 'ruby:22-08-08'
|
6386
|
+
self.api_version = '18.11.0'
|
6369
6387
|
end
|
6370
6388
|
|
6371
6389
|
def client_tag=(value)
|
data/lib/kaltura_enums.rb
CHANGED
@@ -3573,6 +3573,7 @@ module Kaltura
|
|
3573
3573
|
TOP_CUSTOM_VAR3 = "59"
|
3574
3574
|
SELF_SERVE_USAGE = "60"
|
3575
3575
|
FLAVOR_PARAMS_TRANSCODING_USAGE = "61"
|
3576
|
+
PLAYER_HIGHLIGHTS = "62"
|
3576
3577
|
PARTNER_USAGE = "201"
|
3577
3578
|
MAP_OVERLAY_COUNTRY_REALTIME = "10001"
|
3578
3579
|
MAP_OVERLAY_REGION_REALTIME = "10002"
|
@@ -515,6 +515,15 @@ module Kaltura
|
|
515
515
|
return client.get_serve_url()
|
516
516
|
end
|
517
517
|
|
518
|
+
# Serves caption file as Json by its ID
|
519
|
+
# @return [file]
|
520
|
+
def serve_as_json(caption_asset_id)
|
521
|
+
kparams = {}
|
522
|
+
client.add_param(kparams, 'captionAssetId', caption_asset_id)
|
523
|
+
client.queue_service_action_call('caption_captionasset', 'serveAsJson', 'file', kparams)
|
524
|
+
return client.get_serve_url()
|
525
|
+
end
|
526
|
+
|
518
527
|
# Serves caption by entry id and thumnail params id
|
519
528
|
# @return [file]
|
520
529
|
def serve_by_entry_id(entry_id, caption_param_id=KalturaNotImplemented)
|
@@ -46,6 +46,7 @@ module Kaltura
|
|
46
46
|
ERROR = 6
|
47
47
|
ABORTED = 7
|
48
48
|
PENDING_ENTRY_READY = 8
|
49
|
+
SCHEDULED = 9
|
49
50
|
end
|
50
51
|
|
51
52
|
class KalturaReachProfileContentDeletionPolicy
|
@@ -86,6 +87,7 @@ module Kaltura
|
|
86
87
|
CHAPTERING = 5
|
87
88
|
INTELLIGENT_TAGGING = 6
|
88
89
|
DUBBING = 7
|
90
|
+
LIVE_CAPTION = 8
|
89
91
|
end
|
90
92
|
|
91
93
|
class KalturaVendorServiceTurnAroundTime
|
@@ -325,6 +327,8 @@ module Kaltura
|
|
325
327
|
attr_accessor :service_type
|
326
328
|
attr_accessor :service_feature
|
327
329
|
attr_accessor :turn_around_time
|
330
|
+
# The vendor's task internal Id
|
331
|
+
attr_accessor :external_task_id
|
328
332
|
|
329
333
|
def id=(val)
|
330
334
|
@id = val.to_i
|
@@ -467,6 +471,9 @@ module Kaltura
|
|
467
471
|
if xml_element.elements['turnAroundTime'] != nil
|
468
472
|
self.turn_around_time = xml_element.elements['turnAroundTime'].text
|
469
473
|
end
|
474
|
+
if xml_element.elements['externalTaskId'] != nil
|
475
|
+
self.external_task_id = xml_element.elements['externalTaskId'].text
|
476
|
+
end
|
470
477
|
end
|
471
478
|
|
472
479
|
end
|
@@ -896,6 +903,36 @@ module Kaltura
|
|
896
903
|
|
897
904
|
end
|
898
905
|
|
906
|
+
class KalturaScheduledVendorTaskData < KalturaVendorTaskData
|
907
|
+
attr_accessor :start_date
|
908
|
+
attr_accessor :end_date
|
909
|
+
attr_accessor :scheduled_event_id
|
910
|
+
|
911
|
+
def start_date=(val)
|
912
|
+
@start_date = val.to_i
|
913
|
+
end
|
914
|
+
def end_date=(val)
|
915
|
+
@end_date = val.to_i
|
916
|
+
end
|
917
|
+
def scheduled_event_id=(val)
|
918
|
+
@scheduled_event_id = val.to_i
|
919
|
+
end
|
920
|
+
|
921
|
+
def from_xml(xml_element)
|
922
|
+
super
|
923
|
+
if xml_element.elements['startDate'] != nil
|
924
|
+
self.start_date = xml_element.elements['startDate'].text
|
925
|
+
end
|
926
|
+
if xml_element.elements['endDate'] != nil
|
927
|
+
self.end_date = xml_element.elements['endDate'].text
|
928
|
+
end
|
929
|
+
if xml_element.elements['scheduledEventId'] != nil
|
930
|
+
self.scheduled_event_id = xml_element.elements['scheduledEventId'].text
|
931
|
+
end
|
932
|
+
end
|
933
|
+
|
934
|
+
end
|
935
|
+
|
899
936
|
class KalturaUnlimitedVendorCredit < KalturaBaseVendorCredit
|
900
937
|
attr_accessor :credit
|
901
938
|
attr_accessor :from_date
|
@@ -1525,6 +1562,36 @@ module Kaltura
|
|
1525
1562
|
|
1526
1563
|
end
|
1527
1564
|
|
1565
|
+
class KalturaVendorLiveCaptionCatalogItem < KalturaVendorCaptionsCatalogItem
|
1566
|
+
attr_accessor :minimal_refund_time
|
1567
|
+
attr_accessor :minimal_order_time
|
1568
|
+
attr_accessor :duration_limit
|
1569
|
+
|
1570
|
+
def minimal_refund_time=(val)
|
1571
|
+
@minimal_refund_time = val.to_i
|
1572
|
+
end
|
1573
|
+
def minimal_order_time=(val)
|
1574
|
+
@minimal_order_time = val.to_i
|
1575
|
+
end
|
1576
|
+
def duration_limit=(val)
|
1577
|
+
@duration_limit = val.to_i
|
1578
|
+
end
|
1579
|
+
|
1580
|
+
def from_xml(xml_element)
|
1581
|
+
super
|
1582
|
+
if xml_element.elements['minimalRefundTime'] != nil
|
1583
|
+
self.minimal_refund_time = xml_element.elements['minimalRefundTime'].text
|
1584
|
+
end
|
1585
|
+
if xml_element.elements['minimalOrderTime'] != nil
|
1586
|
+
self.minimal_order_time = xml_element.elements['minimalOrderTime'].text
|
1587
|
+
end
|
1588
|
+
if xml_element.elements['durationLimit'] != nil
|
1589
|
+
self.duration_limit = xml_element.elements['durationLimit'].text
|
1590
|
+
end
|
1591
|
+
end
|
1592
|
+
|
1593
|
+
end
|
1594
|
+
|
1528
1595
|
class KalturaVendorTranslationCatalogItem < KalturaVendorCaptionsCatalogItem
|
1529
1596
|
attr_accessor :target_language
|
1530
1597
|
|
@@ -1666,6 +1733,15 @@ module Kaltura
|
|
1666
1733
|
|
1667
1734
|
end
|
1668
1735
|
|
1736
|
+
class KalturaVendorLiveCaptionCatalogItemFilter < KalturaVendorCaptionsCatalogItemBaseFilter
|
1737
|
+
|
1738
|
+
|
1739
|
+
def from_xml(xml_element)
|
1740
|
+
super
|
1741
|
+
end
|
1742
|
+
|
1743
|
+
end
|
1744
|
+
|
1669
1745
|
class KalturaVendorTranslationCatalogItemBaseFilter < KalturaVendorCaptionsCatalogItemFilter
|
1670
1746
|
attr_accessor :target_language_equal
|
1671
1747
|
attr_accessor :target_language_in
|
@@ -208,6 +208,33 @@ module Kaltura
|
|
208
208
|
|
209
209
|
end
|
210
210
|
|
211
|
+
class KalturaLiveFeature < KalturaObjectBase
|
212
|
+
attr_accessor :system_name
|
213
|
+
attr_accessor :pre_start_time
|
214
|
+
attr_accessor :post_end_time
|
215
|
+
|
216
|
+
def pre_start_time=(val)
|
217
|
+
@pre_start_time = val.to_i
|
218
|
+
end
|
219
|
+
def post_end_time=(val)
|
220
|
+
@post_end_time = val.to_i
|
221
|
+
end
|
222
|
+
|
223
|
+
def from_xml(xml_element)
|
224
|
+
super
|
225
|
+
if xml_element.elements['systemName'] != nil
|
226
|
+
self.system_name = xml_element.elements['systemName'].text
|
227
|
+
end
|
228
|
+
if xml_element.elements['preStartTime'] != nil
|
229
|
+
self.pre_start_time = xml_element.elements['preStartTime'].text
|
230
|
+
end
|
231
|
+
if xml_element.elements['postEndTime'] != nil
|
232
|
+
self.post_end_time = xml_element.elements['postEndTime'].text
|
233
|
+
end
|
234
|
+
end
|
235
|
+
|
236
|
+
end
|
237
|
+
|
211
238
|
class KalturaScheduleEventRecurrence < KalturaObjectBase
|
212
239
|
attr_accessor :name
|
213
240
|
attr_accessor :frequency
|
@@ -663,6 +690,31 @@ module Kaltura
|
|
663
690
|
|
664
691
|
end
|
665
692
|
|
693
|
+
class KalturaLiveCaptionFeature < KalturaLiveFeature
|
694
|
+
attr_accessor :media_url
|
695
|
+
attr_accessor :media_key
|
696
|
+
attr_accessor :caption_url
|
697
|
+
attr_accessor :caption_token
|
698
|
+
|
699
|
+
|
700
|
+
def from_xml(xml_element)
|
701
|
+
super
|
702
|
+
if xml_element.elements['mediaUrl'] != nil
|
703
|
+
self.media_url = xml_element.elements['mediaUrl'].text
|
704
|
+
end
|
705
|
+
if xml_element.elements['mediaKey'] != nil
|
706
|
+
self.media_key = xml_element.elements['mediaKey'].text
|
707
|
+
end
|
708
|
+
if xml_element.elements['captionUrl'] != nil
|
709
|
+
self.caption_url = xml_element.elements['captionUrl'].text
|
710
|
+
end
|
711
|
+
if xml_element.elements['captionToken'] != nil
|
712
|
+
self.caption_token = xml_element.elements['captionToken'].text
|
713
|
+
end
|
714
|
+
end
|
715
|
+
|
716
|
+
end
|
717
|
+
|
666
718
|
class KalturaLiveEntryScheduleResource < KalturaScheduleResource
|
667
719
|
attr_accessor :entry_id
|
668
720
|
|
@@ -1124,6 +1176,8 @@ module Kaltura
|
|
1124
1176
|
attr_accessor :post_end_entry_id
|
1125
1177
|
# Detect whether "real" live can interrupt to the "main" content
|
1126
1178
|
attr_accessor :is_content_interruptible
|
1179
|
+
# list of live features that apply to the event
|
1180
|
+
attr_accessor :live_features
|
1127
1181
|
|
1128
1182
|
def projected_audience=(val)
|
1129
1183
|
@projected_audience = val.to_i
|
@@ -1161,6 +1215,9 @@ module Kaltura
|
|
1161
1215
|
if xml_element.elements['isContentInterruptible'] != nil
|
1162
1216
|
self.is_content_interruptible = xml_element.elements['isContentInterruptible'].text
|
1163
1217
|
end
|
1218
|
+
if xml_element.elements['liveFeatures'] != nil
|
1219
|
+
self.live_features = KalturaClientBase.object_from_xml(xml_element.elements['liveFeatures'], 'KalturaLiveFeature')
|
1220
|
+
end
|
1164
1221
|
end
|
1165
1222
|
|
1166
1223
|
end
|
@@ -1563,6 +1620,20 @@ module Kaltura
|
|
1563
1620
|
end
|
1564
1621
|
return client.do_queue()
|
1565
1622
|
end
|
1623
|
+
|
1624
|
+
# Add feature to live event
|
1625
|
+
# @return [KalturaLiveStreamScheduleEvent]
|
1626
|
+
def update_live_feature(scheduled_event_id, feature_name, live_feature)
|
1627
|
+
kparams = {}
|
1628
|
+
client.add_param(kparams, 'scheduledEventId', scheduled_event_id)
|
1629
|
+
client.add_param(kparams, 'featureName', feature_name)
|
1630
|
+
client.add_param(kparams, 'liveFeature', live_feature)
|
1631
|
+
client.queue_service_action_call('schedule_scheduleevent', 'updateLiveFeature', 'KalturaLiveStreamScheduleEvent', kparams)
|
1632
|
+
if (client.is_multirequest)
|
1633
|
+
return nil
|
1634
|
+
end
|
1635
|
+
return client.do_queue()
|
1636
|
+
end
|
1566
1637
|
end
|
1567
1638
|
|
1568
1639
|
# The ScheduleResource service enables you to create and manage (update, delete, retrieve, etc.) the resources required for scheduled events (cameras, capture devices, etc.).
|
data/lib/kaltura_types.rb
CHANGED
@@ -4546,17 +4546,29 @@ module Kaltura
|
|
4546
4546
|
end
|
4547
4547
|
|
4548
4548
|
class KalturaExportToCsvOptions < KalturaObjectBase
|
4549
|
+
# The format of the outputted date string. There are also several predefined date constants that may be used instead, so for example DATE_RSS contains the format string 'D, d M Y H:i:s'.
|
4550
|
+
# https://www.php.net/manual/en/function.date.php
|
4551
|
+
attr_accessor :format
|
4549
4552
|
# Setting this property will cause additional columns to be added to the final report. The columns will be related to the specific object type passed (currently only MEDIA_CLIP is supported).
|
4550
4553
|
# Please note that this property will NOT change the result filter in any way (i.e passing MEDIA_CLIP here will not force the report to return only media items).
|
4551
|
-
|
4552
|
-
attr_accessor :
|
4554
|
+
attr_accessor :type_equal
|
4555
|
+
attr_accessor :default_header
|
4553
4556
|
|
4557
|
+
def default_header=(val)
|
4558
|
+
@default_header = val.to_i
|
4559
|
+
end
|
4554
4560
|
|
4555
4561
|
def from_xml(xml_element)
|
4556
4562
|
super
|
4557
4563
|
if xml_element.elements['format'] != nil
|
4558
4564
|
self.format = xml_element.elements['format'].text
|
4559
4565
|
end
|
4566
|
+
if xml_element.elements['typeEqual'] != nil
|
4567
|
+
self.type_equal = xml_element.elements['typeEqual'].text
|
4568
|
+
end
|
4569
|
+
if xml_element.elements['defaultHeader'] != nil
|
4570
|
+
self.default_header = xml_element.elements['defaultHeader'].text
|
4571
|
+
end
|
4560
4572
|
end
|
4561
4573
|
|
4562
4574
|
end
|
@@ -8669,6 +8681,8 @@ module Kaltura
|
|
8669
8681
|
attr_accessor :virtual_event_id_in
|
8670
8682
|
# filter by origin
|
8671
8683
|
attr_accessor :origin_in
|
8684
|
+
# filter by ui conf id
|
8685
|
+
attr_accessor :ui_conf_id_in
|
8672
8686
|
|
8673
8687
|
def search_in_tags=(val)
|
8674
8688
|
@search_in_tags = to_b(val)
|
@@ -8811,6 +8825,9 @@ module Kaltura
|
|
8811
8825
|
if xml_element.elements['originIn'] != nil
|
8812
8826
|
self.origin_in = xml_element.elements['originIn'].text
|
8813
8827
|
end
|
8828
|
+
if xml_element.elements['uiConfIdIn'] != nil
|
8829
|
+
self.ui_conf_id_in = xml_element.elements['uiConfIdIn'].text
|
8830
|
+
end
|
8814
8831
|
end
|
8815
8832
|
|
8816
8833
|
end
|
@@ -10194,10 +10211,14 @@ module Kaltura
|
|
10194
10211
|
attr_accessor :created_at
|
10195
10212
|
# Last update date as Unix timestamp (In seconds)
|
10196
10213
|
attr_accessor :updated_at
|
10197
|
-
# Upload url - to explicitly determine to which domain to
|
10214
|
+
# Upload url - to explicitly determine to which domain to address the uploadToken->upload call
|
10198
10215
|
attr_accessor :upload_url
|
10199
|
-
# autoFinalize - Should the upload be finalized once the file size on disk matches the file size
|
10216
|
+
# autoFinalize - Should the upload be finalized once the file size on disk matches the file size reported when adding the upload token.
|
10200
10217
|
attr_accessor :auto_finalize
|
10218
|
+
# The type of the object this token is attached to.
|
10219
|
+
attr_accessor :attached_object_type
|
10220
|
+
# The id of the object this token is attached to.
|
10221
|
+
attr_accessor :attached_object_id
|
10201
10222
|
|
10202
10223
|
def partner_id=(val)
|
10203
10224
|
@partner_id = val.to_i
|
@@ -10256,6 +10277,12 @@ module Kaltura
|
|
10256
10277
|
if xml_element.elements['autoFinalize'] != nil
|
10257
10278
|
self.auto_finalize = xml_element.elements['autoFinalize'].text
|
10258
10279
|
end
|
10280
|
+
if xml_element.elements['attachedObjectType'] != nil
|
10281
|
+
self.attached_object_type = xml_element.elements['attachedObjectType'].text
|
10282
|
+
end
|
10283
|
+
if xml_element.elements['attachedObjectId'] != nil
|
10284
|
+
self.attached_object_id = xml_element.elements['attachedObjectId'].text
|
10285
|
+
end
|
10259
10286
|
end
|
10260
10287
|
|
10261
10288
|
end
|
@@ -13998,6 +14025,22 @@ module Kaltura
|
|
13998
14025
|
|
13999
14026
|
end
|
14000
14027
|
|
14028
|
+
class KalturaKeyValueExtended < KalturaKeyValue
|
14029
|
+
attr_accessor :predefined_format
|
14030
|
+
|
14031
|
+
def predefined_format=(val)
|
14032
|
+
@predefined_format = val.to_i
|
14033
|
+
end
|
14034
|
+
|
14035
|
+
def from_xml(xml_element)
|
14036
|
+
super
|
14037
|
+
if xml_element.elements['predefinedFormat'] != nil
|
14038
|
+
self.predefined_format = xml_element.elements['predefinedFormat'].text
|
14039
|
+
end
|
14040
|
+
end
|
14041
|
+
|
14042
|
+
end
|
14043
|
+
|
14001
14044
|
class KalturaLimitFlavorsRestriction < KalturaBaseRestriction
|
14002
14045
|
# Limit flavors restriction type (Allow or deny)
|
14003
14046
|
attr_accessor :limit_flavors_restriction_type
|
@@ -17810,6 +17853,7 @@ module Kaltura
|
|
17810
17853
|
attr_accessor :additional_fields
|
17811
17854
|
# Array of header names and their mapped user fields
|
17812
17855
|
attr_accessor :mapped_fields
|
17856
|
+
attr_accessor :options
|
17813
17857
|
|
17814
17858
|
def metadata_profile_id=(val)
|
17815
17859
|
@metadata_profile_id = val.to_i
|
@@ -17826,6 +17870,9 @@ module Kaltura
|
|
17826
17870
|
if xml_element.elements['mappedFields'] != nil
|
17827
17871
|
self.mapped_fields = KalturaClientBase.object_from_xml(xml_element.elements['mappedFields'], 'KalturaKeyValue')
|
17828
17872
|
end
|
17873
|
+
if xml_element.elements['options'] != nil
|
17874
|
+
self.options = KalturaClientBase.object_from_xml(xml_element.elements['options'], 'KalturaExportToCsvOptions')
|
17875
|
+
end
|
17829
17876
|
end
|
17830
17877
|
|
17831
17878
|
end
|
@@ -18800,15 +18847,6 @@ module Kaltura
|
|
18800
18847
|
|
18801
18848
|
end
|
18802
18849
|
|
18803
|
-
class KalturaCategoryEntryFilter < KalturaCategoryEntryBaseFilter
|
18804
|
-
|
18805
|
-
|
18806
|
-
def from_xml(xml_element)
|
18807
|
-
super
|
18808
|
-
end
|
18809
|
-
|
18810
|
-
end
|
18811
|
-
|
18812
18850
|
class KalturaCategoryFilter < KalturaCategoryBaseFilter
|
18813
18851
|
attr_accessor :free_text
|
18814
18852
|
attr_accessor :members_in
|
@@ -18851,6 +18889,29 @@ module Kaltura
|
|
18851
18889
|
|
18852
18890
|
end
|
18853
18891
|
|
18892
|
+
class KalturaCategoriesCsvJobData < KalturaMappedObjectsCsvJobData
|
18893
|
+
# The filter should return the list of categories that need to be specified in the csv.
|
18894
|
+
attr_accessor :filter
|
18895
|
+
|
18896
|
+
|
18897
|
+
def from_xml(xml_element)
|
18898
|
+
super
|
18899
|
+
if xml_element.elements['filter'] != nil
|
18900
|
+
self.filter = KalturaClientBase.object_from_xml(xml_element.elements['filter'], 'KalturaCategoryFilter')
|
18901
|
+
end
|
18902
|
+
end
|
18903
|
+
|
18904
|
+
end
|
18905
|
+
|
18906
|
+
class KalturaCategoryEntryFilter < KalturaCategoryEntryBaseFilter
|
18907
|
+
|
18908
|
+
|
18909
|
+
def from_xml(xml_element)
|
18910
|
+
super
|
18911
|
+
end
|
18912
|
+
|
18913
|
+
end
|
18914
|
+
|
18854
18915
|
class KalturaConstantXsltSyndicationFeed < KalturaGenericXsltSyndicationFeed
|
18855
18916
|
|
18856
18917
|
|