Class: Kaltura::KalturaDailymotionDistributionCaptionInfo

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_dailymotion_distribution_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

#actionObject

Returns the value of attribute action.



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

def action
  @action
end

#asset_idObject

Returns the value of attribute asset_id.



67
68
69
# File 'lib/kaltura_plugins/kaltura_dailymotion_distribution_client_plugin.rb', line 67

def asset_id
  @asset_id
end

#file_pathObject

Returns the value of attribute file_path.



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

def file_path
  @file_path
end

#formatObject

Returns the value of attribute format.



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

def format
  @format
end

#languageObject

Returns the value of attribute language.



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

def language
  @language
end

#remote_idObject

Returns the value of attribute remote_id.



64
65
66
# File 'lib/kaltura_plugins/kaltura_dailymotion_distribution_client_plugin.rb', line 64

def remote_id
  @remote_id
end

#versionObject

Returns the value of attribute version.



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

def version
  @version
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# File 'lib/kaltura_plugins/kaltura_dailymotion_distribution_client_plugin.rb', line 77

def from_xml(xml_element)
	super
	if xml_element.elements['language'] != nil
		self.language = xml_element.elements['language'].text
	end
	if xml_element.elements['filePath'] != nil
		self.file_path = xml_element.elements['filePath'].text
	end
	if xml_element.elements['remoteId'] != nil
		self.remote_id = xml_element.elements['remoteId'].text
	end
	if xml_element.elements['action'] != nil
		self.action = xml_element.elements['action'].text
	end
	if xml_element.elements['version'] != nil
		self.version = xml_element.elements['version'].text
	end
	if xml_element.elements['assetId'] != nil
		self.asset_id = xml_element.elements['assetId'].text
	end
	if xml_element.elements['format'] != nil
		self.format = xml_element.elements['format'].text
	end
end