Class: Kaltura::KalturaEntryScheduleEvent

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

Instance Attribute Summary collapse

Attributes inherited from KalturaScheduleEvent

#classification_type, #comment, #contact, #created_at, #description, #duration, #end_date, #geo_latitude, #geo_longitude, #id, #linked_by, #linked_to, #location, #organizer, #owner_id, #parent_id, #partner_id, #priority, #recurrence, #recurrence_type, #reference_id, #sequence, #start_date, #status, #summary, #tags, #updated_at

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#blackout_conflictsObject

Blackout schedule events the conflict with this event



645
646
647
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 645

def blackout_conflicts
  @blackout_conflicts
end

#category_idsObject

Categories that associated with this event



643
644
645
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 643

def category_ids
  @category_ids
end

#entry_idsObject

Entries that associated with this event



641
642
643
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 641

def entry_ids
  @entry_ids
end

#template_entry_idObject

Entry to be used as template during content ingestion



639
640
641
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 639

def template_entry_id
  @template_entry_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 648

def from_xml(xml_element)
	super
	if xml_element.elements['templateEntryId'] != nil
		self.template_entry_id = xml_element.elements['templateEntryId'].text
	end
	if xml_element.elements['entryIds'] != nil
		self.entry_ids = xml_element.elements['entryIds'].text
	end
	if xml_element.elements['categoryIds'] != nil
		self.category_ids = xml_element.elements['categoryIds'].text
	end
	if xml_element.elements['blackoutConflicts'] != nil
		self.blackout_conflicts = KalturaClientBase.object_from_xml(xml_element.elements['blackoutConflicts'], 'KalturaScheduleEvent')
	end
end