Class: Kaltura::KalturaPushNotificationTemplate

Inherits:
KalturaEventNotificationTemplate show all
Defined in:
lib/kaltura_plugins/kaltura_push_notification_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaEventNotificationTemplate

#automatic_dispatch_enabled, #content_parameters, #created_at, #description, #event_conditions, #event_object_type, #event_type, #id, #manual_dispatch_enabled, #name, #partner_id, #status, #system_name, #type, #updated_at, #user_parameters

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#api_object_typeObject

Kaltura API object type



101
102
103
# File 'lib/kaltura_plugins/kaltura_push_notification_client_plugin.rb', line 101

def api_object_type
  @api_object_type
end

#object_formatObject

Kaltura Object format



103
104
105
# File 'lib/kaltura_plugins/kaltura_push_notification_client_plugin.rb', line 103

def object_format
  @object_format
end

#queue_key_parametersObject

Define the content dynamic parameters



99
100
101
# File 'lib/kaltura_plugins/kaltura_push_notification_client_plugin.rb', line 99

def queue_key_parameters
  @queue_key_parameters
end

#queue_name_parametersObject

Define the content dynamic parameters



97
98
99
# File 'lib/kaltura_plugins/kaltura_push_notification_client_plugin.rb', line 97

def queue_name_parameters
  @queue_name_parameters
end

#response_profile_idObject

Kaltura response-profile id



105
106
107
# File 'lib/kaltura_plugins/kaltura_push_notification_client_plugin.rb', line 105

def response_profile_id
  @response_profile_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# File 'lib/kaltura_plugins/kaltura_push_notification_client_plugin.rb', line 114

def from_xml(xml_element)
	super
	if xml_element.elements['queueNameParameters'] != nil
		self.queue_name_parameters = KalturaClientBase.object_from_xml(xml_element.elements['queueNameParameters'], 'KalturaPushEventNotificationParameter')
	end
	if xml_element.elements['queueKeyParameters'] != nil
		self.queue_key_parameters = KalturaClientBase.object_from_xml(xml_element.elements['queueKeyParameters'], 'KalturaPushEventNotificationParameter')
	end
	if xml_element.elements['apiObjectType'] != nil
		self.api_object_type = xml_element.elements['apiObjectType'].text
	end
	if xml_element.elements['objectFormat'] != nil
		self.object_format = xml_element.elements['objectFormat'].text
	end
	if xml_element.elements['responseProfileId'] != nil
		self.response_profile_id = xml_element.elements['responseProfileId'].text
	end
end