Class: Kaltura::KalturaImportJobData

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

Direct Known Subclasses

KalturaSshImportJobData

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#dest_file_local_pathObject

Returns the value of attribute dest_file_local_path.



13589
13590
13591
# File 'lib/kaltura_types.rb', line 13589

def dest_file_local_path
  @dest_file_local_path
end

#file_sizeObject

Returns the value of attribute file_size.



13591
13592
13593
# File 'lib/kaltura_types.rb', line 13591

def file_size
  @file_size
end

#flavor_asset_idObject

Returns the value of attribute flavor_asset_id.



13590
13591
13592
# File 'lib/kaltura_types.rb', line 13590

def flavor_asset_id
  @flavor_asset_id
end

#src_file_urlObject

Returns the value of attribute src_file_url.



13588
13589
13590
# File 'lib/kaltura_types.rb', line 13588

def src_file_url
  @src_file_url
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
# File 'lib/kaltura_types.rb', line 13597

def from_xml(xml_element)
  super
  if xml_element.elements['srcFileUrl'] != nil
    self.src_file_url = xml_element.elements['srcFileUrl'].text
  end
  if xml_element.elements['destFileLocalPath'] != nil
    self.dest_file_local_path = xml_element.elements['destFileLocalPath'].text
  end
  if xml_element.elements['flavorAssetId'] != nil
    self.flavor_asset_id = xml_element.elements['flavorAssetId'].text
  end
  if xml_element.elements['fileSize'] != nil
    self.file_size = xml_element.elements['fileSize'].text
  end
end