Class: Kaltura::KalturaLinkedScheduleEvent
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaLinkedScheduleEvent
- Defined in:
- lib/kaltura_plugins/kaltura_schedule_client_plugin.rb
Instance Attribute Summary collapse
-
#event_id ⇒ Object
The id of the event influencing the start of the event holding this object.
-
#offset ⇒ Object
The time between the end of the event which it’s id is in $eventId and the start of the event holding this object.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#event_id ⇒ Object
The id of the event influencing the start of the event holding this object
190 191 192 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 190 def event_id @event_id end |
#offset ⇒ Object
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 189 190 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 188 def offset @offset end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
199 200 201 202 203 204 205 206 207 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 199 def from_xml(xml_element) super if xml_element.elements['offset'] != nil self.offset = xml_element.elements['offset'].text end if xml_element.elements['eventId'] != nil self.event_id = xml_element.elements['eventId'].text end end |