Class: Kaltura::KalturaSshUrlResource
- Inherits:
-
KalturaUrlResource
- Object
- KalturaObjectBase
- KalturaResource
- KalturaContentResource
- KalturaUrlResource
- Kaltura::KalturaSshUrlResource
- 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
-
#key_passphrase ⇒ Object
Passphrase for SSH keys.
-
#private_key ⇒ Object
SSH private key.
-
#public_key ⇒ Object
SSH public key.
Attributes inherited from KalturaUrlResource
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#key_passphrase ⇒ Object
Passphrase for SSH keys
18671 18672 18673 |
# File 'lib/kaltura_types.rb', line 18671 def key_passphrase @key_passphrase end |
#private_key ⇒ Object
SSH private key
18667 18668 18669 |
# File 'lib/kaltura_types.rb', line 18667 def private_key @private_key end |
#public_key ⇒ Object
SSH public key
18669 18670 18671 |
# File 'lib/kaltura_types.rb', line 18669 def public_key @public_key end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
18674 18675 18676 18677 18678 18679 18680 18681 18682 18683 18684 18685 |
# File 'lib/kaltura_types.rb', line 18674 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 |