Class: Openlayer::Models::Storage::PresignedURLRetrieveResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openlayer/models/storage/presigned_url_retrieve_response.rb,
sig/openlayer/models/storage/presigned_url_retrieve_response.rbs

Overview

See Also:

  • Openlayer::Resources::Storage::PresignedURL#retrieve

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(url:) ⇒ PresignedURLRetrieveResponse

Returns a new instance of PresignedURLRetrieveResponse.

Parameters:

  • url (String) —

    The presigned url. Short-lived -- download promptly.

  • url: (String)


# File 'lib/openlayer/models/storage/presigned_url_retrieve_response.rb', line 14

Instance Attribute Details

#url ⇒ String

The presigned url. Short-lived -- download promptly.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :url, String

Instance Method Details

#to_hash ⇒ { url: String }

Returns:

  • ({ url: String })


11
# File 'sig/openlayer/models/storage/presigned_url_retrieve_response.rbs', line 11

def to_hash: -> { url: String }