Class: Kaltura::KalturaFacebookCaptionDistributionInfo

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

#asset_idObject

Returns the value of attribute asset_id.



49
50
51
# File 'lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb', line 49

def asset_id
  @asset_id
end

#file_pathObject

Returns the value of attribute file_path.



46
47
48
# File 'lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb', line 46

def file_path
  @file_path
end

#labelObject

Returns the value of attribute label.



45
46
47
# File 'lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb', line 45

def label
  @label
end

#languageObject

Returns the value of attribute language.



44
45
46
# File 'lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb', line 44

def language
  @language
end

#remote_idObject

Returns the value of attribute remote_id.



47
48
49
# File 'lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb', line 47

def remote_id
  @remote_id
end

#versionObject

Returns the value of attribute version.



48
49
50
# File 'lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb', line 48

def version
  @version
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# File 'lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb', line 52

def from_xml(xml_element)
	super
	if xml_element.elements['language'] != nil
		self.language = xml_element.elements['language'].text
	end
	if xml_element.elements['label'] != nil
		self.label = xml_element.elements['label'].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['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
end