Class: Kaltura::KalturaCategoryEntryCondition
- Inherits:
-
KalturaCondition
- Object
- KalturaObjectBase
- KalturaCondition
- Kaltura::KalturaCategoryEntryCondition
- Defined in:
- lib/kaltura_plugins/kaltura_reach_client_plugin.rb
Instance Attribute Summary collapse
-
#category_id ⇒ Object
Category id to check condition for.
-
#category_ids ⇒ Object
Category id’s to check condition for.
-
#category_user_permission ⇒ Object
Minimum category user level permission to validate.
-
#comparison ⇒ Object
Comparing operator.
Attributes inherited from KalturaCondition
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#category_id ⇒ Object
Category id to check condition for
755 756 757 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 755 def category_id @category_id end |
#category_ids ⇒ Object
Category id’s to check condition for
757 758 759 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 757 def category_ids @category_ids end |
#category_user_permission ⇒ Object
Minimum category user level permission to validate
759 760 761 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 759 def @category_user_permission end |
#comparison ⇒ Object
Comparing operator
761 762 763 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 761 def comparison @comparison end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 770 def from_xml(xml_element) super if xml_element.elements['categoryId'] != nil self.category_id = xml_element.elements['categoryId'].text end if xml_element.elements['categoryIds'] != nil self.category_ids = xml_element.elements['categoryIds'].text end if xml_element.elements['categoryUserPermission'] != nil self. = xml_element.elements['categoryUserPermission'].text end if xml_element.elements['comparison'] != nil self.comparison = xml_element.elements['comparison'].text end end |