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



12143
12144
12145
# File 'lib/kaltura_types.rb', line 12143

def concatenated_duration
  @concatenated_duration
end

#dest_file_pathObject

Output file



12135
12136
12137
# File 'lib/kaltura_types.rb', line 12135

def dest_file_path
  @dest_file_path
end

#durationObject

Clipping duration in seconds



12141
12142
12143
# File 'lib/kaltura_types.rb', line 12141

def duration
  @duration
end

#flavor_asset_idObject

Flavor asset to be ingested with the output



12137
12138
12139
# File 'lib/kaltura_types.rb', line 12137

def flavor_asset_id
  @flavor_asset_id
end

#offsetObject

Clipping offset in seconds



12139
12140
12141
# File 'lib/kaltura_types.rb', line 12139

def offset
  @offset
end

#should_sortObject

Should Sort the clip parts



12145
12146
12147
# File 'lib/kaltura_types.rb', line 12145

def should_sort
  @should_sort
end

#src_filesObject

Source files to be concatenated



12133
12134
12135
# File 'lib/kaltura_types.rb', line 12133

def src_files
  @src_files
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
# File 'lib/kaltura_types.rb', line 12160

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