Class: Kaltura::KalturaConcatJobData

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

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

#concatenated_durationObject

duration of the concated video



11665
11666
11667
# File 'lib/kaltura_types.rb', line 11665

def concatenated_duration
  @concatenated_duration
end

#dest_file_pathObject

Output file



11657
11658
11659
# File 'lib/kaltura_types.rb', line 11657

def dest_file_path
  @dest_file_path
end

#durationObject

Clipping duration in seconds



11663
11664
11665
# File 'lib/kaltura_types.rb', line 11663

def duration
  @duration
end

#flavor_asset_idObject

Flavor asset to be ingested with the output



11659
11660
11661
# File 'lib/kaltura_types.rb', line 11659

def flavor_asset_id
  @flavor_asset_id
end

#offsetObject

Clipping offset in seconds



11661
11662
11663
# File 'lib/kaltura_types.rb', line 11661

def offset
  @offset
end

#should_sortObject

Should Sort the clip parts



11667
11668
11669
# File 'lib/kaltura_types.rb', line 11667

def should_sort
  @should_sort
end

#src_filesObject

Source files to be concatenated



11655
11656
11657
# File 'lib/kaltura_types.rb', line 11655

def src_files
  @src_files
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
# File 'lib/kaltura_types.rb', line 11682

def from_xml(xml_element)
  super
  if xml_element.elements['srcFiles'] != nil
    self.src_files = KalturaClientBase.object_from_xml(xml_element.elements['srcFiles'], 'KalturaString')
  end
  if xml_element.elements['destFilePath'] != nil
    self.dest_file_path = xml_element.elements['destFilePath'].text
  end
  if xml_element.elements['flavorAssetId'] != nil
    self.flavor_asset_id = xml_element.elements['flavorAssetId'].text
  end
  if xml_element.elements['offset'] != nil
    self.offset = xml_element.elements['offset'].text
  end
  if xml_element.elements['duration'] != nil
    self.duration = xml_element.elements['duration'].text
  end
  if xml_element.elements['concatenatedDuration'] != nil
    self.concatenated_duration = xml_element.elements['concatenatedDuration'].text
  end
  if xml_element.elements['shouldSort'] != nil
    self.should_sort = xml_element.elements['shouldSort'].text
  end
end