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



11768
11769
11770
# File 'lib/kaltura_types.rb', line 11768

def concatenated_duration
  @concatenated_duration
end

#dest_file_pathObject

Output file



11760
11761
11762
# File 'lib/kaltura_types.rb', line 11760

def dest_file_path
  @dest_file_path
end

#durationObject

Clipping duration in seconds



11766
11767
11768
# File 'lib/kaltura_types.rb', line 11766

def duration
  @duration
end

#flavor_asset_idObject

Flavor asset to be ingested with the output



11762
11763
11764
# File 'lib/kaltura_types.rb', line 11762

def flavor_asset_id
  @flavor_asset_id
end

#offsetObject

Clipping offset in seconds



11764
11765
11766
# File 'lib/kaltura_types.rb', line 11764

def offset
  @offset
end

#should_sortObject

Should Sort the clip parts



11770
11771
11772
# File 'lib/kaltura_types.rb', line 11770

def should_sort
  @should_sort
end

#src_filesObject

Source files to be concatenated



11758
11759
11760
# File 'lib/kaltura_types.rb', line 11758

def src_files
  @src_files
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
# File 'lib/kaltura_types.rb', line 11785

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