Class: Kaltura::KalturaGenericDistributionProfileAction

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

#ftp_passive_modeObject

Returns the value of attribute ftp_passive_mode.



823
824
825
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 823

def ftp_passive_mode
  @ftp_passive_mode
end

#http_field_nameObject

Returns the value of attribute http_field_name.



824
825
826
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 824

def http_field_name
  @http_field_name
end

#http_file_nameObject

Returns the value of attribute http_file_name.



825
826
827
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 825

def http_file_name
  @http_file_name
end

#passwordObject

Returns the value of attribute password.



822
823
824
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 822

def password
  @password
end

#protocolObject

Returns the value of attribute protocol.



818
819
820
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 818

def protocol
  @protocol
end

#server_pathObject

Returns the value of attribute server_path.



820
821
822
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 820

def server_path
  @server_path
end

#server_urlObject

Returns the value of attribute server_url.



819
820
821
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 819

def server_url
  @server_url
end

#usernameObject

Returns the value of attribute username.



821
822
823
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 821

def username
  @username
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 834

def from_xml(xml_element)
	super
	if xml_element.elements['protocol'] != nil
		self.protocol = xml_element.elements['protocol'].text
	end
	if xml_element.elements['serverUrl'] != nil
		self.server_url = xml_element.elements['serverUrl'].text
	end
	if xml_element.elements['serverPath'] != nil
		self.server_path = xml_element.elements['serverPath'].text
	end
	if xml_element.elements['username'] != nil
		self.username = xml_element.elements['username'].text
	end
	if xml_element.elements['password'] != nil
		self.password = xml_element.elements['password'].text
	end
	if xml_element.elements['ftpPassiveMode'] != nil
		self.ftp_passive_mode = xml_element.elements['ftpPassiveMode'].text
	end
	if xml_element.elements['httpFieldName'] != nil
		self.http_field_name = xml_element.elements['httpFieldName'].text
	end
	if xml_element.elements['httpFileName'] != nil
		self.http_file_name = xml_element.elements['httpFileName'].text
	end
end