Class: Kaltura::KalturaCondition
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaCondition
- Defined in:
- lib/kaltura_types.rb
Direct Known Subclasses
KalturaAssetPropertiesCompareCondition, KalturaAuthenticatedCondition, KalturaCompareCondition, KalturaDeliveryProfileCondition, KalturaEventFieldCondition, KalturaEventObjectChangedCondition, KalturaHashCondition, KalturaMatchCondition, KalturaOrCondition, KalturaUserRoleCondition
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#not ⇒ Object
Returns the value of attribute not.
-
#type ⇒ Object
The type of the access control condition.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
152 153 154 |
# File 'lib/kaltura_types.rb', line 152 def description @description end |
#not ⇒ Object
Returns the value of attribute not.
153 154 155 |
# File 'lib/kaltura_types.rb', line 153 def not @not end |
#type ⇒ Object
The type of the access control condition
151 152 153 |
# File 'lib/kaltura_types.rb', line 151 def type @type end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
159 160 161 162 163 164 |
# File 'lib/kaltura_types.rb', line 159 def from_xml(xml_element) super self.type = xml_element.elements['type'].text self.description = xml_element.elements['description'].text self.not = xml_element.elements['not'].text end |