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



12015
12016
12017
# File 'lib/kaltura_types.rb', line 12015

def concatenated_duration
  @concatenated_duration
end

#dest_file_pathObject

Output file



12007
12008
12009
# File 'lib/kaltura_types.rb', line 12007

def dest_file_path
  @dest_file_path
end

#durationObject

Clipping duration in seconds



12013
12014
12015
# File 'lib/kaltura_types.rb', line 12013

def duration
  @duration
end

#flavor_asset_idObject

Flavor asset to be ingested with the output



12009
12010
12011
# File 'lib/kaltura_types.rb', line 12009

def flavor_asset_id
  @flavor_asset_id
end

#offsetObject

Clipping offset in seconds



12011
12012
12013
# File 'lib/kaltura_types.rb', line 12011

def offset
  @offset
end

#should_sortObject

Should Sort the clip parts



12017
12018
12019
# File 'lib/kaltura_types.rb', line 12017

def should_sort
  @should_sort
end

#src_filesObject

Source files to be concatenated



12005
12006
12007
# File 'lib/kaltura_types.rb', line 12005

def src_files
  @src_files
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
# File 'lib/kaltura_types.rb', line 12032

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