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



12279
12280
12281
# File 'lib/kaltura_types.rb', line 12279

def concatenated_duration
  @concatenated_duration
end

#dest_file_pathObject

Output file



12271
12272
12273
# File 'lib/kaltura_types.rb', line 12271

def dest_file_path
  @dest_file_path
end

#durationObject

Clipping duration in seconds



12277
12278
12279
# File 'lib/kaltura_types.rb', line 12277

def duration
  @duration
end

#flavor_asset_idObject

Flavor asset to be ingested with the output



12273
12274
12275
# File 'lib/kaltura_types.rb', line 12273

def flavor_asset_id
  @flavor_asset_id
end

#offsetObject

Clipping offset in seconds



12275
12276
12277
# File 'lib/kaltura_types.rb', line 12275

def offset
  @offset
end

#should_sortObject

Should Sort the clip parts



12281
12282
12283
# File 'lib/kaltura_types.rb', line 12281

def should_sort
  @should_sort
end

#src_filesObject

Source files to be concatenated



12269
12270
12271
# File 'lib/kaltura_types.rb', line 12269

def src_files
  @src_files
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
# File 'lib/kaltura_types.rb', line 12296

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