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)



517
518
519
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 517

def created_at
  @created_at
end

#descriptionObject

Returns the value of attribute description.



513
514
515
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 513

def description
  @description
end

#idObject

Auto-generated unique identifier



506
507
508
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 506

def id
  @id
end

#nameObject

Defines a short name



510
511
512
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 510

def name
  @name
end

#parent_idObject

Returns the value of attribute parent_id.



507
508
509
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 507

def parent_id
  @parent_id
end

#partner_idObject

Returns the value of attribute partner_id.



508
509
510
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 508

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



514
515
516
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 514

def status
  @status
end

#system_nameObject

Defines a unique system-name



512
513
514
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 512

def system_name
  @system_name
end

#tagsObject

Returns the value of attribute tags.



515
516
517
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 515

def tags
  @tags
end

#updated_atObject

Last update as Unix timestamp (In seconds)



519
520
521
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 519

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 540

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