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



12211
12212
12213
# File 'lib/kaltura_types.rb', line 12211

def concatenated_duration
  @concatenated_duration
end

#dest_file_pathObject

Output file



12203
12204
12205
# File 'lib/kaltura_types.rb', line 12203

def dest_file_path
  @dest_file_path
end

#durationObject

Clipping duration in seconds



12209
12210
12211
# File 'lib/kaltura_types.rb', line 12209

def duration
  @duration
end

#flavor_asset_idObject

Flavor asset to be ingested with the output



12205
12206
12207
# File 'lib/kaltura_types.rb', line 12205

def flavor_asset_id
  @flavor_asset_id
end

#offsetObject

Clipping offset in seconds



12207
12208
12209
# File 'lib/kaltura_types.rb', line 12207

def offset
  @offset
end

#should_sortObject

Should Sort the clip parts



12213
12214
12215
# File 'lib/kaltura_types.rb', line 12213

def should_sort
  @should_sort
end

#src_filesObject

Source files to be concatenated



12201
12202
12203
# File 'lib/kaltura_types.rb', line 12201

def src_files
  @src_files
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
# File 'lib/kaltura_types.rb', line 12228

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