Class: Imagekitio::Models::UploadPostTransformErrorEvent::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Imagekitio::Models::UploadPostTransformErrorEvent::Data
- Defined in:
- lib/imagekitio/models/upload_post_transform_error_event.rb
Defined Under Namespace
Classes: Transformation
Instance Attribute Summary collapse
-
#file_id ⇒ String
Unique identifier of the originally uploaded file.
-
#name ⇒ String
Name of the file.
-
#path ⇒ String
Path of the file.
- #transformation ⇒ Imagekitio::Models::UploadPostTransformErrorEvent::Data::Transformation
-
#url ⇒ String
URL of the attempted post-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(file_id: , name: , path: , transformation: , url: ) ⇒ 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 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'lib/imagekitio/models/upload_post_transform_error_event.rb', line 39 class Data < Imagekitio::Internal::Type::BaseModel # @!attribute file_id # Unique identifier of the originally uploaded file. # # @return [String] required :file_id, String, api_name: :fileId # @!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::UploadPostTransformErrorEvent::Data::Transformation] required :transformation, -> { Imagekitio::UploadPostTransformErrorEvent::Data::Transformation } # @!attribute url # URL of the attempted post-transformation. # # @return [String] required :url, String # @!method initialize(file_id:, name:, path:, transformation:, url:) # @param file_id [String] Unique identifier of the originally uploaded file. # # @param name [String] Name of the file. # # @param path [String] Path of the file. # # @param transformation [Imagekitio::Models::UploadPostTransformErrorEvent::Data::Transformation] # # @param url [String] URL of the attempted post-transformation. # @see Imagekitio::Models::UploadPostTransformErrorEvent::Data#transformation class Transformation < Imagekitio::Internal::Type::BaseModel # @!attribute error # # @return [Imagekitio::Models::UploadPostTransformErrorEvent::Data::Transformation::Error] required :error, -> { Imagekitio::UploadPostTransformErrorEvent::Data::Transformation::Error } # @!method initialize(error:) # @param error [Imagekitio::Models::UploadPostTransformErrorEvent::Data::Transformation::Error] # @see Imagekitio::Models::UploadPostTransformErrorEvent::Data::Transformation#error class Error < Imagekitio::Internal::Type::BaseModel # @!attribute reason # Reason for the post-transformation failure. # # @return [String] required :reason, String # @!method initialize(reason:) # @param reason [String] Reason for the post-transformation failure. end end end |
Instance Attribute Details
#file_id ⇒ String
Unique identifier of the originally uploaded file.
44 |
# File 'lib/imagekitio/models/upload_post_transform_error_event.rb', line 44 required :file_id, String, api_name: :fileId |
#name ⇒ String
Name of the file.
50 |
# File 'lib/imagekitio/models/upload_post_transform_error_event.rb', line 50 required :name, String |
#path ⇒ String
Path of the file.
56 |
# File 'lib/imagekitio/models/upload_post_transform_error_event.rb', line 56 required :path, String |
#transformation ⇒ Imagekitio::Models::UploadPostTransformErrorEvent::Data::Transformation
61 |
# File 'lib/imagekitio/models/upload_post_transform_error_event.rb', line 61 required :transformation, -> { Imagekitio::UploadPostTransformErrorEvent::Data::Transformation } |
#url ⇒ String
URL of the attempted post-transformation.
67 |
# File 'lib/imagekitio/models/upload_post_transform_error_event.rb', line 67 required :url, String |