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
781 782 783 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 781 def category_id @category_id end |
#category_ids ⇒ Object
Category id’s to check condition for
783 784 785 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 783 def category_ids @category_ids end |
#category_user_permission ⇒ Object
Minimum category user level permission to validate
785 786 787 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 785 def @category_user_permission end |
#comparison ⇒ Object
Comparing operator
787 788 789 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 787 def comparison @comparison end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 796 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 |