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
836 837 838 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 836 def category_id @category_id end |
#category_ids ⇒ Object
Category id’s to check condition for
838 839 840 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 838 def category_ids @category_ids end |
#category_user_permission ⇒ Object
Minimum category user level permission to validate
840 841 842 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 840 def @category_user_permission end |
#comparison ⇒ Object
Comparing operator
842 843 844 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 842 def comparison @comparison end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 851 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 |