class Kaltura::KalturaEmailNotificationCategoryRecipientProvider

API object which provides the recipients of category related notifications.

Attributes

category_id[RW]

The ID of the category whose subscribers should receive the email notification.

category_ids[RW]

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

category_user_filter[RW]

Public Instance Methods

from_xml(xml_element) click to toggle source
# 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