Class: Telnyx::Models::Storage::BucketCreatePresignedURLResponse::Content

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/storage/bucket_create_presigned_url_response.rb

Overview

See Also:

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(token: nil, expires_at: nil, presigned_url: nil) ⇒ Object

Parameters:

  • token (String) (defaults to: nil)

    The token for the object

  • expires_at (Time) (defaults to: nil)

    The expiration time of the token

  • presigned_url (String) (defaults to: nil)

    The presigned URL for the object



# File 'lib/telnyx/models/storage/bucket_create_presigned_url_response.rb', line 36

Instance Attribute Details

#expires_atTime?

The expiration time of the token

Returns:

  • (Time, nil)


28
# File 'lib/telnyx/models/storage/bucket_create_presigned_url_response.rb', line 28

optional :expires_at, Time

#presigned_urlString?

The presigned URL for the object

Returns:

  • (String, nil)


34
# File 'lib/telnyx/models/storage/bucket_create_presigned_url_response.rb', line 34

optional :presigned_url, String

#tokenString?

The token for the object

Returns:

  • (String, nil)


22
# File 'lib/telnyx/models/storage/bucket_create_presigned_url_response.rb', line 22

optional :token, String