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, #url_headers

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



19715
19716
19717
# File 'lib/kaltura_types.rb', line 19715

def key_passphrase
  @key_passphrase
end

#private_keyObject

SSH private key



19711
19712
19713
# File 'lib/kaltura_types.rb', line 19711

def private_key
  @private_key
end

#public_keyObject

SSH public key



19713
19714
19715
# File 'lib/kaltura_types.rb', line 19713

def public_key
  @public_key
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
# File 'lib/kaltura_types.rb', line 19718

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