kaltura-client 16.4.0 → 16.5.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.
- checksums.yaml +4 -4
- data/README +1 -1
- data/lib/kaltura_client.rb +2 -2
- data/lib/kaltura_enums.rb +4 -0
- data/lib/kaltura_plugins/kaltura_interactivity_client_plugin.rb +64 -1
- data/lib/kaltura_types.rb +13 -0
- 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: 2fc69157edf5f39cf64e200a2ce1f4ad7b596ffcf8c655c8b3b4ed70cc4ff45e
|
4
|
+
data.tar.gz: 69e1a68e5eaed220275790d67bd5bbdf117ddb3525abcb9310cf0915feb42e6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b9b6b8e2863655f7a7b2a2d94f4e785daab503cc80653ab4ba0a67fcbd62fe6fd8f24602038ebfe0ea23df22ff0fa1718aafc33ac857527381d4f3ba8851a09
|
7
|
+
data.tar.gz: 789629509948419f57c8b687d6aa3f554ec495c72336e0b34bb45106ff1e18154a9a10918924c8e031f708a2e017f43aad0cd868e52b331abbaf00de174f388e
|
data/README
CHANGED
data/lib/kaltura_client.rb
CHANGED
@@ -6293,8 +6293,8 @@ module Kaltura
|
|
6293
6293
|
|
6294
6294
|
def initialize(client)
|
6295
6295
|
super(client)
|
6296
|
-
self.client_tag = 'ruby:20-06-
|
6297
|
-
self.api_version = '16.
|
6296
|
+
self.client_tag = 'ruby:20-06-29'
|
6297
|
+
self.api_version = '16.5.0'
|
6298
6298
|
end
|
6299
6299
|
|
6300
6300
|
def client_tag=(value)
|
data/lib/kaltura_enums.rb
CHANGED
@@ -3529,6 +3529,8 @@ module Kaltura
|
|
3529
3529
|
SUB_CATEGORIES = "53"
|
3530
3530
|
INTERACTIVE_VIDEO_NODE_TOP_HOTSPOTS = "54"
|
3531
3531
|
INTERCATIVE_VIDEO_NODE_SWITCH_TOP_HOTSPOTS = "55"
|
3532
|
+
INTERACTIVE_VIDEO_HOTSPOT_CLICKED_PERCENTILES = "56"
|
3533
|
+
INTERACTIVE_VIDEO_NODE_SWITCH_HOTSPOT_CLICKED_PERCENTILES = "57"
|
3532
3534
|
PARTNER_USAGE = "201"
|
3533
3535
|
MAP_OVERLAY_COUNTRY_REALTIME = "10001"
|
3534
3536
|
MAP_OVERLAY_REGION_REALTIME = "10002"
|
@@ -3543,6 +3545,8 @@ module Kaltura
|
|
3543
3545
|
PLAYBACK_TYPE_REALTIME = "10011"
|
3544
3546
|
CONTENT_REALTIME = "10012"
|
3545
3547
|
DISCOVERY_VIEW_REALTIME = "10013"
|
3548
|
+
TOP_ENDED_BROADCAST_ENTRIES = "10014"
|
3549
|
+
TOP_LIVE_NOW_ENTRIES = "10015"
|
3546
3550
|
CONTENT_DROPOFF_VPAAS = "20001"
|
3547
3551
|
TOP_SYNDICATION_VPAAS = "20002"
|
3548
3552
|
USER_TOP_CONTENT_VPAAS = "20003"
|
@@ -62,6 +62,68 @@ module Kaltura
|
|
62
62
|
|
63
63
|
end
|
64
64
|
|
65
|
+
class KalturaInteractivityDataFieldsFilter < KalturaObjectBase
|
66
|
+
# A string containing CSV list of fields to include
|
67
|
+
attr_accessor :fields
|
68
|
+
|
69
|
+
|
70
|
+
def from_xml(xml_element)
|
71
|
+
super
|
72
|
+
if xml_element.elements['fields'] != nil
|
73
|
+
self.fields = xml_element.elements['fields'].text
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
end
|
78
|
+
|
79
|
+
class KalturaInteractivityRootFilter < KalturaInteractivityDataFieldsFilter
|
80
|
+
|
81
|
+
|
82
|
+
def from_xml(xml_element)
|
83
|
+
super
|
84
|
+
end
|
85
|
+
|
86
|
+
end
|
87
|
+
|
88
|
+
class KalturaInteractivityNodeFilter < KalturaInteractivityDataFieldsFilter
|
89
|
+
|
90
|
+
|
91
|
+
def from_xml(xml_element)
|
92
|
+
super
|
93
|
+
end
|
94
|
+
|
95
|
+
end
|
96
|
+
|
97
|
+
class KalturaInteractivityInteractionFilter < KalturaInteractivityDataFieldsFilter
|
98
|
+
|
99
|
+
|
100
|
+
def from_xml(xml_element)
|
101
|
+
super
|
102
|
+
end
|
103
|
+
|
104
|
+
end
|
105
|
+
|
106
|
+
class KalturaInteractivityDataFilter < KalturaObjectBase
|
107
|
+
attr_accessor :root_filter
|
108
|
+
attr_accessor :node_filter
|
109
|
+
attr_accessor :interaction_filter
|
110
|
+
|
111
|
+
|
112
|
+
def from_xml(xml_element)
|
113
|
+
super
|
114
|
+
if xml_element.elements['rootFilter'] != nil
|
115
|
+
self.root_filter = KalturaClientBase.object_from_xml(xml_element.elements['rootFilter'], 'KalturaInteractivityRootFilter')
|
116
|
+
end
|
117
|
+
if xml_element.elements['nodeFilter'] != nil
|
118
|
+
self.node_filter = KalturaClientBase.object_from_xml(xml_element.elements['nodeFilter'], 'KalturaInteractivityNodeFilter')
|
119
|
+
end
|
120
|
+
if xml_element.elements['interactionFilter'] != nil
|
121
|
+
self.interaction_filter = KalturaClientBase.object_from_xml(xml_element.elements['interactionFilter'], 'KalturaInteractivityInteractionFilter')
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
end
|
126
|
+
|
65
127
|
class KalturaInteractivity < KalturaBaseInteractivity
|
66
128
|
|
67
129
|
|
@@ -113,9 +175,10 @@ module Kaltura
|
|
113
175
|
|
114
176
|
# Retrieve a interactivity object by entry id
|
115
177
|
# @return [KalturaInteractivity]
|
116
|
-
def get(entry_id)
|
178
|
+
def get(entry_id, data_filter=KalturaNotImplemented)
|
117
179
|
kparams = {}
|
118
180
|
client.add_param(kparams, 'entryId', entry_id)
|
181
|
+
client.add_param(kparams, 'dataFilter', data_filter)
|
119
182
|
client.queue_service_action_call('interactivity_interactivity', 'get', 'KalturaInteractivity', kparams)
|
120
183
|
if (client.is_multirequest)
|
121
184
|
return nil
|
data/lib/kaltura_types.rb
CHANGED
@@ -7495,6 +7495,7 @@ module Kaltura
|
|
7495
7495
|
class KalturaBaseEntryFilter < KalturaBaseEntryBaseFilter
|
7496
7496
|
attr_accessor :free_text
|
7497
7497
|
attr_accessor :excluded_free_text_groups
|
7498
|
+
attr_accessor :description_like
|
7498
7499
|
attr_accessor :is_root
|
7499
7500
|
attr_accessor :categories_full_name_in
|
7500
7501
|
# All entries within this categoy or in child categories
|
@@ -7514,6 +7515,9 @@ module Kaltura
|
|
7514
7515
|
if xml_element.elements['excludedFreeTextGroups'] != nil
|
7515
7516
|
self.excluded_free_text_groups = xml_element.elements['excludedFreeTextGroups'].text
|
7516
7517
|
end
|
7518
|
+
if xml_element.elements['descriptionLike'] != nil
|
7519
|
+
self.description_like = xml_element.elements['descriptionLike'].text
|
7520
|
+
end
|
7517
7521
|
if xml_element.elements['isRoot'] != nil
|
7518
7522
|
self.is_root = xml_element.elements['isRoot'].text
|
7519
7523
|
end
|
@@ -8428,6 +8432,8 @@ module Kaltura
|
|
8428
8432
|
attr_accessor :node_ids_in
|
8429
8433
|
# filter by categories ancestor
|
8430
8434
|
attr_accessor :categories_ancestor_id_in
|
8435
|
+
# filter by hotspot id
|
8436
|
+
attr_accessor :hotspot_id_in
|
8431
8437
|
|
8432
8438
|
def search_in_tags=(val)
|
8433
8439
|
@search_in_tags = to_b(val)
|
@@ -8549,6 +8555,9 @@ module Kaltura
|
|
8549
8555
|
if xml_element.elements['categoriesAncestorIdIn'] != nil
|
8550
8556
|
self.categories_ancestor_id_in = xml_element.elements['categoriesAncestorIdIn'].text
|
8551
8557
|
end
|
8558
|
+
if xml_element.elements['hotspotIdIn'] != nil
|
8559
|
+
self.hotspot_id_in = xml_element.elements['hotspotIdIn'].text
|
8560
|
+
end
|
8552
8561
|
end
|
8553
8562
|
|
8554
8563
|
end
|
@@ -9487,6 +9496,7 @@ module Kaltura
|
|
9487
9496
|
attr_accessor :export_periodically
|
9488
9497
|
attr_accessor :excluded_flavor_params_ids
|
9489
9498
|
attr_accessor :should_export_captions
|
9499
|
+
attr_accessor :excluded_entry_types
|
9490
9500
|
|
9491
9501
|
def id=(val)
|
9492
9502
|
@id = val.to_i
|
@@ -9653,6 +9663,9 @@ module Kaltura
|
|
9653
9663
|
if xml_element.elements['shouldExportCaptions'] != nil
|
9654
9664
|
self.should_export_captions = xml_element.elements['shouldExportCaptions'].text
|
9655
9665
|
end
|
9666
|
+
if xml_element.elements['excludedEntryTypes'] != nil
|
9667
|
+
self.excluded_entry_types = xml_element.elements['excludedEntryTypes'].text
|
9668
|
+
end
|
9656
9669
|
end
|
9657
9670
|
|
9658
9671
|
end
|