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.



196
197
198
# File 'lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb', line 196

def category_id
  @category_id
end

#category_idsObject

The IDs of the categories whose subscribers should receive the email notification.



198
199
200
# File 'lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb', line 198

def category_ids
  @category_ids
end

#category_user_filterObject

Returns the value of attribute category_user_filter.



199
200
201
# File 'lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb', line 199

def category_user_filter
  @category_user_filter
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



202
203
204
205
206
207
208
209
210
211
212
213
# File 'lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb', line 202

def from_xml(xml_element)
	super
	if xml_element.elements['categoryId'] != nil
		self.category_id = KalturaClientBase.object_from_xml(xml_element.elements['categoryId'], 'KalturaStringValue')
	end
	if xml_element.elements['categoryIds'] != nil
		self.category_ids = KalturaClientBase.object_from_xml(xml_element.elements['categoryIds'], 'KalturaStringValue')
	end
	if xml_element.elements['categoryUserFilter'] != nil
		self.category_user_filter = KalturaClientBase.object_from_xml(xml_element.elements['categoryUserFilter'], 'KalturaCategoryUserProviderFilter')
	end
end