Class: Kaltura::KalturaSshImportJobData

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

Direct Known Subclasses

KalturaDropFolderImportJobData

Instance Attribute Summary collapse

Attributes inherited from KalturaImportJobData

#dest_file_local_path, #file_size, #flavor_asset_id, #src_file_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

#pass_phraseObject

Returns the value of attribute pass_phrase.



17764
17765
17766
# File 'lib/kaltura_types.rb', line 17764

def pass_phrase
  @pass_phrase
end

#private_keyObject

Returns the value of attribute private_key.



17762
17763
17764
# File 'lib/kaltura_types.rb', line 17762

def private_key
  @private_key
end

#public_keyObject

Returns the value of attribute public_key.



17763
17764
17765
# File 'lib/kaltura_types.rb', line 17763

def public_key
  @public_key
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
# File 'lib/kaltura_types.rb', line 17767

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['passPhrase'] != nil
    self.pass_phrase = xml_element.elements['passPhrase'].text
  end
end