Class: Kaltura::KalturaPostConvertJobData

Inherits:
KalturaConvartableJobData show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaConvartableJobData

#actual_src_file_sync_local_path, #current_operation_index, #current_operation_set, #engine_version, #flavor_params_output, #flavor_params_output_id, #media_info_id, #plugin_data, #src_file_sync_local_path, #src_file_sync_remote_url, #src_file_syncs

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#create_thumbObject

Indicates if a thumbnail should be created



18112
18113
18114
# File 'lib/kaltura_types.rb', line 18112

def create_thumb
  @create_thumb
end

#custom_dataObject

Returns the value of attribute custom_data.



18121
18122
18123
# File 'lib/kaltura_types.rb', line 18121

def custom_data
  @custom_data
end

#flavor_asset_encryption_keyObject

Returns the value of attribute flavor_asset_encryption_key.



18110
18111
18112
# File 'lib/kaltura_types.rb', line 18110

def flavor_asset_encryption_key
  @flavor_asset_encryption_key
end

#flavor_asset_idObject

Returns the value of attribute flavor_asset_id.



18109
18110
18111
# File 'lib/kaltura_types.rb', line 18109

def flavor_asset_id
  @flavor_asset_id
end

#thumb_bitrateObject

The bit rate of the movie, will be used to comapare if this thumbnail is the best we can have



18120
18121
18122
# File 'lib/kaltura_types.rb', line 18120

def thumb_bitrate
  @thumb_bitrate
end

#thumb_heightObject

The height of the movie, will be used to comapare if this thumbnail is the best we can have



18118
18119
18120
# File 'lib/kaltura_types.rb', line 18118

def thumb_height
  @thumb_height
end

#thumb_offsetObject

The position of the thumbnail in the media file



18116
18117
18118
# File 'lib/kaltura_types.rb', line 18116

def thumb_offset
  @thumb_offset
end

#thumb_pathObject

The path of the created thumbnail



18114
18115
18116
# File 'lib/kaltura_types.rb', line 18114

def thumb_path
  @thumb_path
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
# File 'lib/kaltura_types.rb', line 18136

def from_xml(xml_element)
	super
	if xml_element.elements['flavorAssetId'] != nil
		self.flavor_asset_id = xml_element.elements['flavorAssetId'].text
	end
	if xml_element.elements['flavorAssetEncryptionKey'] != nil
		self.flavor_asset_encryption_key = xml_element.elements['flavorAssetEncryptionKey'].text
	end
	if xml_element.elements['createThumb'] != nil
		self.create_thumb = xml_element.elements['createThumb'].text
	end
	if xml_element.elements['thumbPath'] != nil
		self.thumb_path = xml_element.elements['thumbPath'].text
	end
	if xml_element.elements['thumbOffset'] != nil
		self.thumb_offset = xml_element.elements['thumbOffset'].text
	end
	if xml_element.elements['thumbHeight'] != nil
		self.thumb_height = xml_element.elements['thumbHeight'].text
	end
	if xml_element.elements['thumbBitrate'] != nil
		self.thumb_bitrate = xml_element.elements['thumbBitrate'].text
	end
	if xml_element.elements['customData'] != nil
		self.custom_data = xml_element.elements['customData'].text
	end
end