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.



810
811
812
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 810

def ftp_passive_mode
  @ftp_passive_mode
end

#http_field_nameObject

Returns the value of attribute http_field_name.



811
812
813
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 811

def http_field_name
  @http_field_name
end

#http_file_nameObject

Returns the value of attribute http_file_name.



812
813
814
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 812

def http_file_name
  @http_file_name
end

#passwordObject

Returns the value of attribute password.



809
810
811
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 809

def password
  @password
end

#protocolObject

Returns the value of attribute protocol.



805
806
807
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 805

def protocol
  @protocol
end

#server_pathObject

Returns the value of attribute server_path.



807
808
809
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 807

def server_path
  @server_path
end

#server_urlObject

Returns the value of attribute server_url.



806
807
808
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 806

def server_url
  @server_url
end

#usernameObject

Returns the value of attribute username.



808
809
810
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 808

def username
  @username
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 821

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