Class: Kaltura::KalturaScheduleResource

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_schedule_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#created_atObject

Creation date as Unix timestamp (In seconds)



582
583
584
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 582

def created_at
  @created_at
end

#descriptionObject

Returns the value of attribute description.



578
579
580
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 578

def description
  @description
end

#idObject

Auto-generated unique identifier



571
572
573
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 571

def id
  @id
end

#nameObject

Defines a short name



575
576
577
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 575

def name
  @name
end

#parent_idObject

Returns the value of attribute parent_id.



572
573
574
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 572

def parent_id
  @parent_id
end

#partner_idObject

Returns the value of attribute partner_id.



573
574
575
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 573

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



579
580
581
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 579

def status
  @status
end

#system_nameObject

Defines a unique system-name



577
578
579
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 577

def system_name
  @system_name
end

#tagsObject

Returns the value of attribute tags.



580
581
582
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 580

def tags
  @tags
end

#updated_atObject

Last update as Unix timestamp (In seconds)



584
585
586
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 584

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 605

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.tags = 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