class Kaltura::KalturaHttpNotification

Wrapper for sent notifications

Attributes

event_notification_job_id[RW]

ID of the batch job that execute the notification

event_object_type[RW]

Object type that triggered the notification

event_type[RW]

Ecent type that triggered the notification

object[RW]

Object that triggered the notification

template_id[RW]

ID of the template that triggered the notification

template_name[RW]

Name of the template that triggered the notification

template_system_name[RW]

System name of the template that triggered the notification

Public Instance Methods

event_notification_job_id=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_http_notification_client_plugin.rb, line 92
def event_notification_job_id=(val)
        @event_notification_job_id = val.to_i
end
from_xml(xml_element) click to toggle source
Calls superclass method Kaltura::KalturaObjectBase#from_xml
# File lib/kaltura_plugins/kaltura_http_notification_client_plugin.rb, line 99
def from_xml(xml_element)
        super
        if xml_element.elements['object'] != nil
                self.object = KalturaClientBase.object_from_xml(xml_element.elements['object'], 'KalturaObjectBase')
        end
        if xml_element.elements['eventObjectType'] != nil
                self.event_object_type = xml_element.elements['eventObjectType'].text
        end
        if xml_element.elements['eventNotificationJobId'] != nil
                self.event_notification_job_id = xml_element.elements['eventNotificationJobId'].text
        end
        if xml_element.elements['templateId'] != nil
                self.template_id = xml_element.elements['templateId'].text
        end
        if xml_element.elements['templateName'] != nil
                self.template_name = xml_element.elements['templateName'].text
        end
        if xml_element.elements['templateSystemName'] != nil
                self.template_system_name = xml_element.elements['templateSystemName'].text
        end
        if xml_element.elements['eventType'] != nil
                self.event_type = xml_element.elements['eventType'].text
        end
end
template_id=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_http_notification_client_plugin.rb, line 95
def template_id=(val)
        @template_id = val.to_i
end