Class: Kaltura::KalturaEmailNotificationCategoryRecipientProvider

Inherits:
KalturaEmailNotificationRecipientProvider show all
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

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#category_idObject

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_filterObject

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