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)
463 464 465 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 463 def created_at @created_at end |
#event_id ⇒ Object
Returns the value of attribute event_id.
459 460 461 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 459 def event_id @event_id end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
461 462 463 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 461 def partner_id @partner_id end |
#resource_id ⇒ Object
Returns the value of attribute resource_id.
460 461 462 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 460 def resource_id @resource_id end |
#updated_at ⇒ Object
Last update as Unix timestamp (In seconds)
465 466 467 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 465 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 483 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 |