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.



11045
11046
11047
# File 'lib/kaltura_types.rb', line 11045

def item_type
  @item_type
end

#ruleObject

condition rule (include/exclude)



11047
11048
11049
# File 'lib/kaltura_types.rb', line 11047

def rule
  @rule
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



11050
11051
11052
11053
11054
11055
11056
11057
11058
# File 'lib/kaltura_types.rb', line 11050

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