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
831 832 833 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 831 def category_id @category_id end |
#category_ids ⇒ Object
Category id’s to check condition for
833 834 835 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 833 def category_ids @category_ids end |
#category_user_permission ⇒ Object
Minimum category user level permission to validate
835 836 837 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 835 def @category_user_permission end |
#comparison ⇒ Object
Comparing operator
837 838 839 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 837 def comparison @comparison end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 846 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 |