Class: Kaltura::KalturaCondition
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaCondition
- Defined in:
- lib/kaltura_types.rb
Direct Known Subclasses
KalturaAssetPropertiesCompareCondition, KalturaAssetTypeCondition, KalturaAuthenticatedCondition, KalturaBooleanEventNotificationCondition, KalturaCategoryEntryCondition, KalturaCompareCondition, KalturaDeliveryProfileCondition, KalturaEntryScheduledCondition, KalturaEventFieldCondition, KalturaEventObjectChangedCondition, KalturaHashCondition, KalturaMatchCondition, KalturaOrCondition, KalturaUrlAuthenticationParamsCondition, KalturaUserRoleCondition, KalturaValidateActiveEdgeCondition
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.
182 183 184 |
# File 'lib/kaltura_types.rb', line 182 def description @description end |
#not ⇒ Object
Returns the value of attribute not.
183 184 185 |
# File 'lib/kaltura_types.rb', line 183 def not @not end |
#type ⇒ Object
The type of the access control condition
181 182 183 |
# File 'lib/kaltura_types.rb', line 181 def type @type end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
189 190 191 192 193 194 195 196 197 198 199 200 |
# File 'lib/kaltura_types.rb', line 189 def from_xml(xml_element) super if xml_element.elements['type'] != nil self.type = xml_element.elements['type'].text end if xml_element.elements['description'] != nil self.description = xml_element.elements['description'].text end if xml_element.elements['not'] != nil self.not = xml_element.elements['not'].text end end |