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



672
673
674
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 672

def blackout_conflicts
  @blackout_conflicts
end

#category_idsObject

Categories that associated with this event



670
671
672
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 670

def category_ids
  @category_ids
end

#entry_idsObject

Entries that associated with this event



668
669
670
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 668

def entry_ids
  @entry_ids
end

#template_entry_idObject

Entry to be used as template during content ingestion



666
667
668
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 666

def template_entry_id
  @template_entry_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 675

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