class Kaltura::KalturaEventNotificationTemplate

Attributes

automatic_dispatch_enabled[RW]

Define that the template could be dispatched automatically by the system

content_parameters[RW]

Define the content dynamic parameters

created_at[RW]
description[RW]
event_conditions[RW]

Define the conditions that cause this notification to be triggered

event_object_type[RW]

Define the object that raied the event that should trigger this notification

event_type[RW]

Define the event that should trigger this notification

id[RW]
manual_dispatch_enabled[RW]

Define that the template could be dispatched manually from the API

name[RW]
partner_id[RW]
status[RW]
system_name[RW]
type[RW]
updated_at[RW]
user_parameters[RW]

Define the content dynamic parameters

Public Instance Methods

automatic_dispatch_enabled=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb, line 192
def automatic_dispatch_enabled=(val)
        @automatic_dispatch_enabled = to_b(val)
end
created_at=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb, line 183
def created_at=(val)
        @created_at = val.to_i
end
from_xml(xml_element) click to toggle source
Calls superclass method Kaltura::KalturaObjectBase#from_xml
# File lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb, line 196
def from_xml(xml_element)
        super
        if xml_element.elements['id'] != nil
                self.id = xml_element.elements['id'].text
        end
        if xml_element.elements['partnerId'] != nil
                self.partner_id = xml_element.elements['partnerId'].text
        end
        if xml_element.elements['name'] != nil
                self.name = xml_element.elements['name'].text
        end
        if xml_element.elements['systemName'] != nil
                self.system_name = xml_element.elements['systemName'].text
        end
        if xml_element.elements['description'] != nil
                self.description = xml_element.elements['description'].text
        end
        if xml_element.elements['type'] != nil
                self.type = xml_element.elements['type'].text
        end
        if xml_element.elements['status'] != nil
                self.status = xml_element.elements['status'].text
        end
        if xml_element.elements['createdAt'] != nil
                self.created_at = xml_element.elements['createdAt'].text
        end
        if xml_element.elements['updatedAt'] != nil
                self.updated_at = xml_element.elements['updatedAt'].text
        end
        if xml_element.elements['manualDispatchEnabled'] != nil
                self.manual_dispatch_enabled = xml_element.elements['manualDispatchEnabled'].text
        end
        if xml_element.elements['automaticDispatchEnabled'] != nil
                self.automatic_dispatch_enabled = xml_element.elements['automaticDispatchEnabled'].text
        end
        if xml_element.elements['eventType'] != nil
                self.event_type = xml_element.elements['eventType'].text
        end
        if xml_element.elements['eventObjectType'] != nil
                self.event_object_type = xml_element.elements['eventObjectType'].text
        end
        if xml_element.elements['eventConditions'] != nil
                self.event_conditions = KalturaClientBase.object_from_xml(xml_element.elements['eventConditions'], 'KalturaCondition')
        end
        if xml_element.elements['contentParameters'] != nil
                self.content_parameters = KalturaClientBase.object_from_xml(xml_element.elements['contentParameters'], 'KalturaEventNotificationParameter')
        end
        if xml_element.elements['userParameters'] != nil
                self.user_parameters = KalturaClientBase.object_from_xml(xml_element.elements['userParameters'], 'KalturaEventNotificationParameter')
        end
end
id=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb, line 174
def id=(val)
        @id = val.to_i
end
manual_dispatch_enabled=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb, line 189
def manual_dispatch_enabled=(val)
        @manual_dispatch_enabled = to_b(val)
end
partner_id=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb, line 177
def partner_id=(val)
        @partner_id = val.to_i
end
status=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb, line 180
def status=(val)
        @status = val.to_i
end
updated_at=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb, line 186
def updated_at=(val)
        @updated_at = val.to_i
end