Class: Kaltura::KalturaMatchCondition

Inherits:
KalturaCondition show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaCondition

#description, #not, #type

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#match_typeObject

Returns the value of attribute match_type.



14025
14026
14027
# File 'lib/kaltura_types.rb', line 14025

def match_type
  @match_type
end

#valuesObject

Returns the value of attribute values.



14024
14025
14026
# File 'lib/kaltura_types.rb', line 14024

def values
  @values
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



14028
14029
14030
14031
14032
14033
14034
14035
14036
# File 'lib/kaltura_types.rb', line 14028

def from_xml(xml_element)
  super
  if xml_element.elements['values'] != nil
    self.values = KalturaClientBase.object_from_xml(xml_element.elements['values'], 'KalturaStringValue')
  end
  if xml_element.elements['matchType'] != nil
    self.match_type = xml_element.elements['matchType'].text
  end
end