Class: Kaltura::KalturaIntegrationJobData

Inherits:
KalturaJobData show all
Defined in:
lib/kaltura_plugins/kaltura_integration_client_plugin.rb

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

#callback_notification_urlObject

Returns the value of attribute callback_notification_url.



62
63
64
# File 'lib/kaltura_plugins/kaltura_integration_client_plugin.rb', line 62

def callback_notification_url
  @callback_notification_url
end

#provider_dataObject

Additional data that relevant for the provider only



65
66
67
# File 'lib/kaltura_plugins/kaltura_integration_client_plugin.rb', line 65

def provider_data
  @provider_data
end

#provider_typeObject

Returns the value of attribute provider_type.



63
64
65
# File 'lib/kaltura_plugins/kaltura_integration_client_plugin.rb', line 63

def provider_type
  @provider_type
end

#trigger_dataObject

Additional data that relevant for the trigger only



68
69
70
# File 'lib/kaltura_plugins/kaltura_integration_client_plugin.rb', line 68

def trigger_data
  @trigger_data
end

#trigger_typeObject

Returns the value of attribute trigger_type.



66
67
68
# File 'lib/kaltura_plugins/kaltura_integration_client_plugin.rb', line 66

def trigger_type
  @trigger_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# File 'lib/kaltura_plugins/kaltura_integration_client_plugin.rb', line 71

def from_xml(xml_element)
	super
	if xml_element.elements['callbackNotificationUrl'] != nil
		self.callback_notification_url = xml_element.elements['callbackNotificationUrl'].text
	end
	if xml_element.elements['providerType'] != nil
		self.provider_type = xml_element.elements['providerType'].text
	end
	if xml_element.elements['providerData'] != nil
		self.provider_data = KalturaClientBase.object_from_xml(xml_element.elements['providerData'], 'KalturaIntegrationJobProviderData')
	end
	if xml_element.elements['triggerType'] != nil
		self.trigger_type = xml_element.elements['triggerType'].text
	end
	if xml_element.elements['triggerData'] != nil
		self.trigger_data = KalturaClientBase.object_from_xml(xml_element.elements['triggerData'], 'KalturaIntegrationJobTriggerData')
	end
end