Class: Kaltura::KalturaCompareCondition
- Inherits:
-
KalturaCondition
- Object
- KalturaObjectBase
- KalturaCondition
- Kaltura::KalturaCompareCondition
- Defined in:
- lib/kaltura_types.rb
Direct Known Subclasses
KalturaCompareMetadataCondition, KalturaFieldCompareCondition
Instance Attribute Summary collapse
-
#comparison ⇒ Object
Comparing operator.
-
#value ⇒ Object
Value to evaluate against the field and operator.
Attributes inherited from KalturaCondition
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#comparison ⇒ Object
Comparing operator
11771 11772 11773 |
# File 'lib/kaltura_types.rb', line 11771 def comparison @comparison end |
#value ⇒ Object
Value to evaluate against the field and operator
11769 11770 11771 |
# File 'lib/kaltura_types.rb', line 11769 def value @value end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
11774 11775 11776 11777 11778 11779 11780 11781 11782 |
# File 'lib/kaltura_types.rb', line 11774 def from_xml(xml_element) super if xml_element.elements['value'] != nil self.value = KalturaClientBase.object_from_xml(xml_element.elements['value'], 'KalturaIntegerValue') end if xml_element.elements['comparison'] != nil self.comparison = xml_element.elements['comparison'].text end end |