Class: Openlayer::Models::Storage::PresignedURLCreateResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openlayer/models/storage/presigned_url_create_response.rb

Overview

Instance Attribute 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(storage_uri: , url: , fields: nil) ⇒ Object

Parameters:

  • storage_uri (String) (defaults to: )

    The storage URI to send back to the backend after the upload was completed.

  • url (String) (defaults to: )

    The presigned url.

  • fields (Object) (defaults to: nil)

    Fields to include in the body of the upload. Only needed by s3



# File 'lib/openlayer/models/storage/presigned_url_create_response.rb', line 26

Instance Attribute Details

#fieldsObject?

Fields to include in the body of the upload. Only needed by s3

Returns:

  • (Object, nil)


24
# File 'lib/openlayer/models/storage/presigned_url_create_response.rb', line 24

optional :fields, Openlayer::Internal::Type::Unknown

#storage_uriString

The storage URI to send back to the backend after the upload was completed.

Returns:

  • (String)


12
# File 'lib/openlayer/models/storage/presigned_url_create_response.rb', line 12

required :storage_uri, String, api_name: :storageUri

#urlString

The presigned url.

Returns:

  • (String)


18
# File 'lib/openlayer/models/storage/presigned_url_create_response.rb', line 18

required :url, String