Class: Imagekitio::Models::UploadPostTransformSuccessEvent::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Imagekitio::Models::UploadPostTransformSuccessEvent::Data
- Defined in:
- lib/imagekitio/models/upload_post_transform_success_event.rb
Instance Attribute Summary collapse
-
#file_id ⇒ String
Unique identifier of the originally uploaded file.
-
#name ⇒ String
Name of the file.
-
#url ⇒ String
URL of the generated post-transformation.
Instance Method Summary collapse
-
#initialize(created_at: , data: , request: , type: :"upload.post-transform.success") ⇒ Object
constructor
Triggered when a post-transformation completes successfully.
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(created_at: , data: , request: , type: :"upload.post-transform.success") ⇒ Object
Triggered when a post-transformation completes successfully. The transformed version of the file is now ready and can be accessed via the provided URL. Note that each post-transformation generates a separate webhook event.
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 |
# File 'lib/imagekitio/models/upload_post_transform_success_event.rb', line 40 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 url # URL of the generated post-transformation. # # @return [String] required :url, String # @!method initialize(file_id:, name:, url:) # @param file_id [String] Unique identifier of the originally uploaded file. # # @param name [String] Name of the file. # # @param url [String] URL of the generated post-transformation. end |
Instance Attribute Details
#file_id ⇒ String
Unique identifier of the originally uploaded file.
45 |
# File 'lib/imagekitio/models/upload_post_transform_success_event.rb', line 45 required :file_id, String, api_name: :fileId |
#name ⇒ String
Name of the file.
51 |
# File 'lib/imagekitio/models/upload_post_transform_success_event.rb', line 51 required :name, String |
#url ⇒ String
URL of the generated post-transformation.
57 |
# File 'lib/imagekitio/models/upload_post_transform_success_event.rb', line 57 required :url, String |