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_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.



991
992
993
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 991

def host
  @host
end

#pass_phraseObject

Returns the value of attribute pass_phrase.



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

def pass_phrase
  @pass_phrase
end

#passwordObject

Returns the value of attribute password.



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

def password
  @password
end

#portObject

Returns the value of attribute port.



992
993
994
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 992

def port
  @port
end

#private_keyObject

Returns the value of attribute private_key.



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

def private_key
  @private_key
end

#public_keyObject

Returns the value of attribute public_key.



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

def public_key
  @public_key
end

#usernameObject

Returns the value of attribute username.



993
994
995
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 993

def username
  @username
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 1003

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