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



12370
12371
12372
# File 'lib/kaltura_types.rb', line 12370

def concatenated_duration
  @concatenated_duration
end

#dest_file_pathObject

Output file



12362
12363
12364
# File 'lib/kaltura_types.rb', line 12362

def dest_file_path
  @dest_file_path
end

#durationObject

Clipping duration in seconds



12368
12369
12370
# File 'lib/kaltura_types.rb', line 12368

def duration
  @duration
end

#flavor_asset_idObject

Flavor asset to be ingested with the output



12364
12365
12366
# File 'lib/kaltura_types.rb', line 12364

def flavor_asset_id
  @flavor_asset_id
end

#offsetObject

Clipping offset in seconds



12366
12367
12368
# File 'lib/kaltura_types.rb', line 12366

def offset
  @offset
end

#should_sortObject

Should Sort the clip parts



12372
12373
12374
# File 'lib/kaltura_types.rb', line 12372

def should_sort
  @should_sort
end

#src_filesObject

Source files to be concatenated



12360
12361
12362
# File 'lib/kaltura_types.rb', line 12360

def src_files
  @src_files
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
# File 'lib/kaltura_types.rb', line 12387

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