Class: Kaltura::KalturaBaseEntryCloneOptionComponent

Inherits:
KalturaBaseEntryCloneOptionItem 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

#item_typeObject

Returns the value of attribute item_type.



10604
10605
10606
# File 'lib/kaltura_types.rb', line 10604

def item_type
  @item_type
end

#ruleObject

condition rule (include/exclude)



10606
10607
10608
# File 'lib/kaltura_types.rb', line 10606

def rule
  @rule
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



10609
10610
10611
10612
10613
10614
10615
10616
10617
# File 'lib/kaltura_types.rb', line 10609

def from_xml(xml_element)
	super
	if xml_element.elements['itemType'] != nil
		self.item_type = xml_element.elements['itemType'].text
	end
	if xml_element.elements['rule'] != nil
		self.rule = xml_element.elements['rule'].text
	end
end