Class: Kaltura::KalturaEmailNotificationCategoryRecipientProvider
- Inherits:
-
KalturaEmailNotificationRecipientProvider
- Object
- KalturaObjectBase
- KalturaEmailNotificationRecipientProvider
- Kaltura::KalturaEmailNotificationCategoryRecipientProvider
- Defined in:
- lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb
Overview
API object which provides the recipients of category related notifications.
Instance Attribute Summary collapse
-
#category_id ⇒ Object
The ID of the category whose subscribers should receive the email notification.
-
#category_user_filter ⇒ Object
Returns the value of attribute category_user_filter.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#category_id ⇒ Object
The ID of the category whose subscribers should receive the email notification.
171 172 173 |
# File 'lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb', line 171 def category_id @category_id end |
#category_user_filter ⇒ Object
Returns the value of attribute category_user_filter.
172 173 174 |
# File 'lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb', line 172 def category_user_filter @category_user_filter end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
175 176 177 178 179 |
# File 'lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb', line 175 def from_xml(xml_element) super self.category_id = KalturaClientBase.object_from_xml(xml_element.elements['categoryId'], 'KalturaStringValue') self.category_user_filter = KalturaClientBase.object_from_xml(xml_element.elements['categoryUserFilter'], 'KalturaCategoryUserProviderFilter') end |