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.



670
671
672
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 670

def ftp_passive_mode
  @ftp_passive_mode
end

#http_field_nameObject

Returns the value of attribute http_field_name.



671
672
673
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 671

def http_field_name
  @http_field_name
end

#http_file_nameObject

Returns the value of attribute http_file_name.



672
673
674
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 672

def http_file_name
  @http_file_name
end

#passwordObject

Returns the value of attribute password.



669
670
671
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 669

def password
  @password
end

#protocolObject

Returns the value of attribute protocol.



665
666
667
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 665

def protocol
  @protocol
end

#server_pathObject

Returns the value of attribute server_path.



667
668
669
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 667

def server_path
  @server_path
end

#server_urlObject

Returns the value of attribute server_url.



666
667
668
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 666

def server_url
  @server_url
end

#usernameObject

Returns the value of attribute username.



668
669
670
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 668

def username
  @username
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



681
682
683
684
685
686
687
688
689
690
691
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 681

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