Class: Kaltura::KalturaImageFlavorParams

Inherits:
KalturaFlavorParams show all
Defined in:
lib/kaltura_plugins/kaltura_document_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaFlavorParams

#anamorphic_pixels, #aspect_ratio_processing_mode, #audio_bitrate, #audio_channels, #audio_codec, #audio_sample_rate, #chunked_encode_mode, #clip_duration, #clip_offset, #content_awareness, #conversion_engines, #conversion_engines_extra_params, #deinterlice, #engine_version, #force_frame_to_multiplication16, #forced_key_frames_mode, #format, #frame_rate, #gop_size, #height, #is_avoid_forced_key_frames, #is_avoid_video_shrink_bitrate_to_source, #is_avoid_video_shrink_framesize_to_source, #is_crop_imx, #is_encrypted, #is_gop_in_sec, #is_video_frame_rate_for_low_br_apple_hls, #max_frame_rate, #multi_stream, #operators, #optimization_policy, #rotate, #subtitles_data, #two_pass, #video_bitrate, #video_bitrate_tolerance, #video_codec, #video_constant_bitrate, #watermark_data, #width

Attributes inherited from KalturaAssetParams

#created_at, #description, #id, #is_system_default, #media_parser_type, #name, #partner_id, #remote_storage_profile_ids, #required_permissions, #source_asset_params_ids, #source_remote_storage_profile_id, #system_name, #tags

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#density_heightObject

Returns the value of attribute density_height.



133
134
135
# File 'lib/kaltura_plugins/kaltura_document_client_plugin.rb', line 133

def density_height
  @density_height
end

#density_widthObject

Returns the value of attribute density_width.



132
133
134
# File 'lib/kaltura_plugins/kaltura_document_client_plugin.rb', line 132

def density_width
  @density_width
end

#depthObject

Returns the value of attribute depth.



136
137
138
# File 'lib/kaltura_plugins/kaltura_document_client_plugin.rb', line 136

def depth
  @depth
end

#size_heightObject

Returns the value of attribute size_height.



135
136
137
# File 'lib/kaltura_plugins/kaltura_document_client_plugin.rb', line 135

def size_height
  @size_height
end

#size_widthObject

Returns the value of attribute size_width.



134
135
136
# File 'lib/kaltura_plugins/kaltura_document_client_plugin.rb', line 134

def size_width
  @size_width
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
# File 'lib/kaltura_plugins/kaltura_document_client_plugin.rb', line 154

def from_xml(xml_element)
	super
	if xml_element.elements['densityWidth'] != nil
		self.density_width = xml_element.elements['densityWidth'].text
	end
	if xml_element.elements['densityHeight'] != nil
		self.density_height = xml_element.elements['densityHeight'].text
	end
	if xml_element.elements['sizeWidth'] != nil
		self.size_width = xml_element.elements['sizeWidth'].text
	end
	if xml_element.elements['sizeHeight'] != nil
		self.size_height = xml_element.elements['sizeHeight'].text
	end
	if xml_element.elements['depth'] != nil
		self.depth = xml_element.elements['depth'].text
	end
end