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



11964
11965
11966
# File 'lib/kaltura_types.rb', line 11964

def concatenated_duration
  @concatenated_duration
end

#dest_file_pathObject

Output file



11956
11957
11958
# File 'lib/kaltura_types.rb', line 11956

def dest_file_path
  @dest_file_path
end

#durationObject

Clipping duration in seconds



11962
11963
11964
# File 'lib/kaltura_types.rb', line 11962

def duration
  @duration
end

#flavor_asset_idObject

Flavor asset to be ingested with the output



11958
11959
11960
# File 'lib/kaltura_types.rb', line 11958

def flavor_asset_id
  @flavor_asset_id
end

#offsetObject

Clipping offset in seconds



11960
11961
11962
# File 'lib/kaltura_types.rb', line 11960

def offset
  @offset
end

#should_sortObject

Should Sort the clip parts



11966
11967
11968
# File 'lib/kaltura_types.rb', line 11966

def should_sort
  @should_sort
end

#src_filesObject

Source files to be concatenated



11954
11955
11956
# File 'lib/kaltura_types.rb', line 11954

def src_files
  @src_files
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
# File 'lib/kaltura_types.rb', line 11981

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