Class: Kaltura::KalturaScheduleResource
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaScheduleResource
- Defined in:
- lib/kaltura_plugins/kaltura_schedule_client_plugin.rb
Direct Known Subclasses
KalturaCameraScheduleResource, KalturaLiveEntryScheduleResource, KalturaLocationScheduleResource
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Creation date as Unix timestamp (In seconds).
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Auto-generated unique identifier.
-
#name ⇒ Object
Defines a short name.
-
#parent_id ⇒ Object
Returns the value of attribute parent_id.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#status ⇒ Object
Returns the value of attribute status.
-
#system_name ⇒ Object
Defines a unique system-name.
-
#tags ⇒ Object
Returns the value of attribute tags.
-
#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)
555 556 557 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 555 def created_at @created_at end |
#description ⇒ Object
Returns the value of attribute description.
551 552 553 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 551 def description @description end |
#id ⇒ Object
Auto-generated unique identifier
544 545 546 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 544 def id @id end |
#name ⇒ Object
Defines a short name
548 549 550 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 548 def name @name end |
#parent_id ⇒ Object
Returns the value of attribute parent_id.
545 546 547 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 545 def parent_id @parent_id end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
546 547 548 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 546 def partner_id @partner_id end |
#status ⇒ Object
Returns the value of attribute status.
552 553 554 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 552 def status @status end |
#system_name ⇒ Object
Defines a unique system-name
550 551 552 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 550 def system_name @system_name end |
#tags ⇒ Object
Returns the value of attribute tags.
553 554 555 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 553 def end |
#updated_at ⇒ Object
Last update as Unix timestamp (In seconds)
557 558 559 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 557 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 578 def from_xml(xml_element) super if xml_element.elements['id'] != nil self.id = xml_element.elements['id'].text end if xml_element.elements['parentId'] != nil self.parent_id = xml_element.elements['parentId'].text end if xml_element.elements['partnerId'] != nil self.partner_id = xml_element.elements['partnerId'].text end if xml_element.elements['name'] != nil self.name = xml_element.elements['name'].text end if xml_element.elements['systemName'] != nil self.system_name = xml_element.elements['systemName'].text end if xml_element.elements['description'] != nil self.description = xml_element.elements['description'].text end if xml_element.elements['status'] != nil self.status = xml_element.elements['status'].text end if xml_element.elements['tags'] != nil self. = xml_element.elements['tags'].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 |