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.



11217
11218
11219
# File 'lib/kaltura_types.rb', line 11217

def item_type
  @item_type
end

#ruleObject

condition rule (include/exclude)



11219
11220
11221
# File 'lib/kaltura_types.rb', line 11219

def rule
  @rule
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



11222
11223
11224
11225
11226
11227
11228
11229
11230
# File 'lib/kaltura_types.rb', line 11222

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