Class: Kaltura::KalturaBeacon
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaBeacon
- Defined in:
- lib/kaltura_plugins/kaltura_beacon_client_plugin.rb
Instance Attribute Summary collapse
-
#event_type ⇒ Object
Returns the value of attribute event_type.
-
#id ⇒ Object
Beacon id.
-
#index_type ⇒ Object
Beacon indexType.
-
#object_id ⇒ Object
Returns the value of attribute object_id.
-
#private_data ⇒ Object
Returns the value of attribute private_data.
-
#raw_data ⇒ Object
Returns the value of attribute raw_data.
-
#related_object_type ⇒ Object
The object which this beacon belongs to.
-
#updated_at ⇒ Object
Beacon update date as Unix timestamp (In seconds).
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#event_type ⇒ Object
Returns the value of attribute event_type.
78 79 80 |
# File 'lib/kaltura_plugins/kaltura_beacon_client_plugin.rb', line 78 def event_type @event_type end |
#id ⇒ Object
Beacon id
71 72 73 |
# File 'lib/kaltura_plugins/kaltura_beacon_client_plugin.rb', line 71 def id @id end |
#index_type ⇒ Object
Beacon indexType
73 74 75 |
# File 'lib/kaltura_plugins/kaltura_beacon_client_plugin.rb', line 73 def index_type @index_type end |
#object_id ⇒ Object
Returns the value of attribute object_id.
79 80 81 |
# File 'lib/kaltura_plugins/kaltura_beacon_client_plugin.rb', line 79 def object_id @object_id end |
#private_data ⇒ Object
Returns the value of attribute private_data.
80 81 82 |
# File 'lib/kaltura_plugins/kaltura_beacon_client_plugin.rb', line 80 def private_data @private_data end |
#raw_data ⇒ Object
Returns the value of attribute raw_data.
81 82 83 |
# File 'lib/kaltura_plugins/kaltura_beacon_client_plugin.rb', line 81 def raw_data @raw_data end |
#related_object_type ⇒ Object
The object which this beacon belongs to
77 78 79 |
# File 'lib/kaltura_plugins/kaltura_beacon_client_plugin.rb', line 77 def @related_object_type end |
#updated_at ⇒ Object
Beacon update date as Unix timestamp (In seconds)
75 76 77 |
# File 'lib/kaltura_plugins/kaltura_beacon_client_plugin.rb', line 75 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
# File 'lib/kaltura_plugins/kaltura_beacon_client_plugin.rb', line 87 def from_xml(xml_element) super if xml_element.elements['id'] != nil self.id = xml_element.elements['id'].text end if xml_element.elements['indexType'] != nil self.index_type = xml_element.elements['indexType'].text end if xml_element.elements['updatedAt'] != nil self.updated_at = xml_element.elements['updatedAt'].text end if xml_element.elements['relatedObjectType'] != nil self. = xml_element.elements['relatedObjectType'].text end if xml_element.elements['eventType'] != nil self.event_type = xml_element.elements['eventType'].text end if xml_element.elements['objectId'] != nil self.object_id = xml_element.elements['objectId'].text end if xml_element.elements['privateData'] != nil self.private_data = xml_element.elements['privateData'].text end if xml_element.elements['rawData'] != nil self.raw_data = xml_element.elements['rawData'].text end end |