Class: Kaltura::KalturaEntryContext

Inherits:
KalturaContext show all
Defined in:
lib/kaltura_types.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

#entry_idObject

The entry ID in the context of which the playlist should be built



12654
12655
12656
# File 'lib/kaltura_types.rb', line 12654

def entry_id
  @entry_id
end

#follow_entry_redirectObject

Is this a redirected entry followup?



12656
12657
12658
# File 'lib/kaltura_types.rb', line 12656

def follow_entry_redirect
  @follow_entry_redirect
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



12662
12663
12664
12665
12666
12667
12668
12669
12670
# File 'lib/kaltura_types.rb', line 12662

def from_xml(xml_element)
	super
	if xml_element.elements['entryId'] != nil
		self.entry_id = xml_element.elements['entryId'].text
	end
	if xml_element.elements['followEntryRedirect'] != nil
		self.follow_entry_redirect = xml_element.elements['followEntryRedirect'].text
	end
end