Class: Kaltura::KalturaSshDropFolder

Inherits:
KalturaRemoteDropFolder show all
Defined in:
lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb

Direct Known Subclasses

KalturaScpDropFolder, KalturaSftpDropFolder

Instance Attribute Summary collapse

Attributes inherited from KalturaDropFolder

#auto_file_delete_days, #categories_metadata_field_name, #conversion_profile_id, #created_at, #dc, #description, #enforce_entitlement, #error_code, #error_description, #file_delete_policy, #file_delete_regex, #file_handler_config, #file_handler_type, #file_name_patterns, #file_size_check_interval, #id, #ignore_file_name_patterns, #incremental, #last_accessed_at, #last_file_timestamp, #metadata_profile_id, #name, #partner_id, #path, #should_validate_ks, #status, #tags, #type, #updated_at

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#hostObject

Returns the value of attribute host.



995
996
997
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 995

def host
  @host
end

#pass_phraseObject

Returns the value of attribute pass_phrase.



1001
1002
1003
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 1001

def pass_phrase
  @pass_phrase
end

#passwordObject

Returns the value of attribute password.



998
999
1000
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 998

def password
  @password
end

#portObject

Returns the value of attribute port.



996
997
998
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 996

def port
  @port
end

#private_keyObject

Returns the value of attribute private_key.



999
1000
1001
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 999

def private_key
  @private_key
end

#public_keyObject

Returns the value of attribute public_key.



1000
1001
1002
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 1000

def public_key
  @public_key
end

#usernameObject

Returns the value of attribute username.



997
998
999
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 997

def username
  @username
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 1007

def from_xml(xml_element)
	super
	if xml_element.elements['host'] != nil
		self.host = xml_element.elements['host'].text
	end
	if xml_element.elements['port'] != nil
		self.port = xml_element.elements['port'].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['privateKey'] != nil
		self.private_key = xml_element.elements['privateKey'].text
	end
	if xml_element.elements['publicKey'] != nil
		self.public_key = xml_element.elements['publicKey'].text
	end
	if xml_element.elements['passPhrase'] != nil
		self.pass_phrase = xml_element.elements['passPhrase'].text
	end
end