Class: Kaltura::KalturaMatchCondition
- Inherits:
-
KalturaCondition
- Object
- KalturaObjectBase
- KalturaCondition
- Kaltura::KalturaMatchCondition
- Defined in:
- lib/kaltura_types.rb
Direct Known Subclasses
KalturaAnonymousIPCondition, KalturaCountryCondition, KalturaFieldMatchCondition, KalturaGeoDistanceCondition, KalturaIpAddressCondition, KalturaMatchMetadataCondition, KalturaMetadataFieldChangedCondition, KalturaRegexCondition, KalturaSiteCondition
Instance Attribute Summary collapse
-
#match_type ⇒ Object
Returns the value of attribute match_type.
-
#values ⇒ Object
Returns the value of attribute values.
Attributes inherited from KalturaCondition
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#match_type ⇒ Object
Returns the value of attribute match_type.
14169 14170 14171 |
# File 'lib/kaltura_types.rb', line 14169 def match_type @match_type end |
#values ⇒ Object
Returns the value of attribute values.
14168 14169 14170 |
# File 'lib/kaltura_types.rb', line 14168 def values @values end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
14172 14173 14174 14175 14176 14177 14178 14179 14180 |
# File 'lib/kaltura_types.rb', line 14172 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 |