Class: Imagekitio::Models::UploadPreTransformErrorEvent::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Imagekitio::Models::UploadPreTransformErrorEvent::Data
- Defined in:
- lib/imagekitio/models/upload_pre_transform_error_event.rb
Defined Under Namespace
Classes: Transformation
Instance Attribute Summary collapse
-
#name ⇒ String
Name of the file.
-
#path ⇒ String
Path of the file.
- #transformation ⇒ Imagekitio::Models::UploadPreTransformErrorEvent::Data::Transformation
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(name: , path: , transformation: ) ⇒ Object
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 |
# File 'lib/imagekitio/models/upload_pre_transform_error_event.rb', line 39 class Data < Imagekitio::Internal::Type::BaseModel # @!attribute name # Name of the file. # # @return [String] required :name, String # @!attribute path # Path of the file. # # @return [String] required :path, String # @!attribute transformation # # @return [Imagekitio::Models::UploadPreTransformErrorEvent::Data::Transformation] required :transformation, -> { Imagekitio::UploadPreTransformErrorEvent::Data::Transformation } # @!method initialize(name:, path:, transformation:) # @param name [String] Name of the file. # # @param path [String] Path of the file. # # @param transformation [Imagekitio::Models::UploadPreTransformErrorEvent::Data::Transformation] # @see Imagekitio::Models::UploadPreTransformErrorEvent::Data#transformation class Transformation < Imagekitio::Internal::Type::BaseModel # @!attribute error # # @return [Imagekitio::Models::UploadPreTransformErrorEvent::Data::Transformation::Error] required :error, -> { Imagekitio::UploadPreTransformErrorEvent::Data::Transformation::Error } # @!method initialize(error:) # @param error [Imagekitio::Models::UploadPreTransformErrorEvent::Data::Transformation::Error] # @see Imagekitio::Models::UploadPreTransformErrorEvent::Data::Transformation#error class Error < Imagekitio::Internal::Type::BaseModel # @!attribute reason # Reason for the pre-transformation failure. # # @return [String] required :reason, String # @!method initialize(reason:) # @param reason [String] Reason for the pre-transformation failure. end end end |
Instance Attribute Details
#name ⇒ String
Name of the file.
44 |
# File 'lib/imagekitio/models/upload_pre_transform_error_event.rb', line 44 required :name, String |
#path ⇒ String
Path of the file.
50 |
# File 'lib/imagekitio/models/upload_pre_transform_error_event.rb', line 50 required :path, String |
#transformation ⇒ Imagekitio::Models::UploadPreTransformErrorEvent::Data::Transformation
55 |
# File 'lib/imagekitio/models/upload_pre_transform_error_event.rb', line 55 required :transformation, -> { Imagekitio::UploadPreTransformErrorEvent::Data::Transformation } |