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.



831
832
833
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 831

def ftp_passive_mode
  @ftp_passive_mode
end

#http_field_nameObject

Returns the value of attribute http_field_name.



832
833
834
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 832

def http_field_name
  @http_field_name
end

#http_file_nameObject

Returns the value of attribute http_file_name.



833
834
835
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 833

def http_file_name
  @http_file_name
end

#passwordObject

Returns the value of attribute password.



830
831
832
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 830

def password
  @password
end

#protocolObject

Returns the value of attribute protocol.



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

def protocol
  @protocol
end

#server_pathObject

Returns the value of attribute server_path.



828
829
830
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 828

def server_path
  @server_path
end

#server_urlObject

Returns the value of attribute server_url.



827
828
829
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 827

def server_url
  @server_url
end

#usernameObject

Returns the value of attribute username.



829
830
831
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 829

def username
  @username
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 842

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