class Kaltura::KalturaSshUrlResource

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.

Attributes

key_passphrase[RW]

Passphrase for SSH keys

private_key[RW]

SSH private key

public_key[RW]

SSH public key

Public Instance Methods

from_xml(xml_element) click to toggle source
Calls superclass method Kaltura::KalturaUrlResource#from_xml
# File lib/kaltura_types.rb, line 19378
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