Class: Imagekitio::Models::UploadPostTransformErrorEvent::Request::Transformation

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

Overview

See Also:

Defined Under Namespace

Modules: Protocol, Type

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: , protocol: nil, value: nil) ⇒ Object

Parameters:



# File 'lib/imagekitio/models/upload_post_transform_error_event.rb', line 142


Instance Attribute Details

#protocolSymbol, ...

Only applicable if transformation type is ‘abs’. Streaming protocol used.



133
134
# File 'lib/imagekitio/models/upload_post_transform_error_event.rb', line 133

optional :protocol,
enum: -> { Imagekitio::UploadPostTransformErrorEvent::Request::Transformation::Protocol }

#typeSymbol, Imagekitio::Models::UploadPostTransformErrorEvent::Request::Transformation::Type

Type of the requested post-transformation.



127
# File 'lib/imagekitio/models/upload_post_transform_error_event.rb', line 127

required :type, enum: -> { Imagekitio::UploadPostTransformErrorEvent::Request::Transformation::Type }

#valueString?

Value for the requested transformation type.

Returns:

  • (String, nil)


140
# File 'lib/imagekitio/models/upload_post_transform_error_event.rb', line 140

optional :value, String

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/imagekitio/models/upload_post_transform_error_event.rb', line 160