Class: Imagekitio::Models::VideoTransformationErrorEvent::Data::Transformation

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/imagekitio/models/video_transformation_error_event.rb

Overview

See Also:

Defined Under Namespace

Modules: Type Classes: Error, Options

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(type: , error: nil, options: nil) ⇒ Object

Some parameter documentations has been truncated, see Imagekitio::Models::VideoTransformationErrorEvent::Data::Transformation for more details.

Parameters:



# File 'lib/imagekitio/models/video_transformation_error_event.rb', line 98


Instance Attribute Details

#errorImagekitio::Models::VideoTransformationErrorEvent::Data::Transformation::Error?

Details about the transformation error.



90
# File 'lib/imagekitio/models/video_transformation_error_event.rb', line 90

optional :error, -> { Imagekitio::VideoTransformationErrorEvent::Data::Transformation::Error }

#optionsImagekitio::Models::VideoTransformationErrorEvent::Data::Transformation::Options?

Configuration options for video transformations.



96
# File 'lib/imagekitio/models/video_transformation_error_event.rb', line 96

optional :options, -> { Imagekitio::VideoTransformationErrorEvent::Data::Transformation::Options }

#typeSymbol, Imagekitio::Models::VideoTransformationErrorEvent::Data::Transformation::Type

Type of video transformation:

  • ‘video-transformation`: Standard video processing (resize, format conversion, etc.)

  • ‘gif-to-video`: Convert animated GIF to video format

  • ‘video-thumbnail`: Generate thumbnail image from video



84
# File 'lib/imagekitio/models/video_transformation_error_event.rb', line 84

required :type, enum: -> { Imagekitio::VideoTransformationErrorEvent::Data::Transformation::Type }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/imagekitio/models/video_transformation_error_event.rb', line 124