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)
501 502 503 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 501 def created_at @created_at end |
#event_id ⇒ Object
Returns the value of attribute event_id.
497 498 499 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 497 def event_id @event_id end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
499 500 501 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 499 def partner_id @partner_id end |
#resource_id ⇒ Object
Returns the value of attribute resource_id.
498 499 500 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 498 def resource_id @resource_id end |
#updated_at ⇒ Object
Last update as Unix timestamp (In seconds)
503 504 505 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 503 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 521 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 |