Class: Openlayer::Models::Storage::PresignedURLCreateResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Openlayer::Models::Storage::PresignedURLCreateResponse
- Defined in:
- lib/openlayer/models/storage/presigned_url_create_response.rb
Overview
Instance Attribute Summary collapse
-
#fields ⇒ Object?
Fields to include in the body of the upload.
-
#storage_uri ⇒ String
The storage URI to send back to the backend after the upload was completed.
-
#url ⇒ String
The presigned url.
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(storage_uri: , url: , fields: nil) ⇒ Object
|
|
# File 'lib/openlayer/models/storage/presigned_url_create_response.rb', line 26
|
Instance Attribute Details
#fields ⇒ Object?
Fields to include in the body of the upload. Only needed by s3
24 |
# File 'lib/openlayer/models/storage/presigned_url_create_response.rb', line 24 optional :fields, Openlayer::Internal::Type::Unknown |
#storage_uri ⇒ String
The storage URI to send back to the backend after the upload was completed.
12 |
# File 'lib/openlayer/models/storage/presigned_url_create_response.rb', line 12 required :storage_uri, String, api_name: :storageUri |
#url ⇒ String
The presigned url.
18 |
# File 'lib/openlayer/models/storage/presigned_url_create_response.rb', line 18 required :url, String |