Class: Kaltura::KalturaDistributionRemoteMediaFile

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



583
584
585
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 583

def asset_id
  @asset_id
end

#remote_idObject

Returns the value of attribute remote_id.



584
585
586
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 584

def remote_id
  @remote_id
end

#versionObject

Returns the value of attribute version.



582
583
584
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 582

def version
  @version
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



587
588
589
590
591
592
593
594
595
596
597
598
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 587

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