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



18763
18764
18765
# File 'lib/kaltura_types.rb', line 18763

def key_passphrase
  @key_passphrase
end

#private_keyObject

SSH private key



18759
18760
18761
# File 'lib/kaltura_types.rb', line 18759

def private_key
  @private_key
end

#public_keyObject

SSH public key



18761
18762
18763
# File 'lib/kaltura_types.rb', line 18761

def public_key
  @public_key
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
# File 'lib/kaltura_types.rb', line 18766

def from_xml(xml_element)
	super
	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['keyPassphrase'] != nil
		self.key_passphrase = xml_element.elements['keyPassphrase'].text
	end
end