Class: Kaltura::KalturaScheduleEventResource
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaScheduleEventResource
- Defined in:
- lib/kaltura_plugins/kaltura_schedule_client_plugin.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Creation date as Unix timestamp (In seconds).
-
#event_id ⇒ Object
Returns the value of attribute event_id.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#resource_id ⇒ Object
Returns the value of attribute resource_id.
-
#updated_at ⇒ Object
Last update as Unix timestamp (In seconds).
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#created_at ⇒ Object
Creation date as Unix timestamp (In seconds)
528 529 530 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 528 def created_at @created_at end |
#event_id ⇒ Object
Returns the value of attribute event_id.
524 525 526 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 524 def event_id @event_id end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
526 527 528 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 526 def partner_id @partner_id end |
#resource_id ⇒ Object
Returns the value of attribute resource_id.
525 526 527 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 525 def resource_id @resource_id end |
#updated_at ⇒ Object
Last update as Unix timestamp (In seconds)
530 531 532 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 530 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 548 def from_xml(xml_element) super if xml_element.elements['eventId'] != nil self.event_id = xml_element.elements['eventId'].text end if xml_element.elements['resourceId'] != nil self.resource_id = xml_element.elements['resourceId'].text end if xml_element.elements['partnerId'] != nil self.partner_id = xml_element.elements['partnerId'].text end if xml_element.elements['createdAt'] != nil self.created_at = xml_element.elements['createdAt'].text end if xml_element.elements['updatedAt'] != nil self.updated_at = xml_element.elements['updatedAt'].text end end |