Class: Kaltura::KalturaSshUrlResource

Inherits:
KalturaUrlResource show all
Defined in:
lib/kaltura_types.rb

Overview

Used to ingest media that is available on remote SSH server and accessible using the supplied URL, media file will be downloaded using import job in order to make the asset ready.

Instance Attribute Summary collapse

Attributes inherited from KalturaUrlResource

#force_async_download, #url

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#key_passphraseObject

Passphrase for SSH keys



13050
13051
13052
# File 'lib/kaltura_types.rb', line 13050

def key_passphrase
  @key_passphrase
end

#private_keyObject

SSH private key



13044
13045
13046
# File 'lib/kaltura_types.rb', line 13044

def private_key
  @private_key
end

#public_keyObject

SSH public key



13047
13048
13049
# File 'lib/kaltura_types.rb', line 13047

def public_key
  @public_key
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



13053
13054
13055
13056
13057
13058
# File 'lib/kaltura_types.rb', line 13053

def from_xml(xml_element)
	super
	self.private_key = xml_element.elements['privateKey'].text
	self.public_key = xml_element.elements['publicKey'].text
	self.key_passphrase = xml_element.elements['keyPassphrase'].text
end