Class: Trycourier::Models::Users::TokenRetrieveResponse

Inherits:
UserToken show all
Defined in:
lib/trycourier/models/users/token_retrieve_response.rb

Overview

Defined Under Namespace

Modules: Status

Instance Attribute Summary collapse

Attributes inherited from UserToken

#device, #expiry_date, #properties, #provider_key, #token, #tracking

Method Summary

Methods inherited from UserToken

#initialize, values, variants

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Trycourier::Models::Users::UserToken

Instance Attribute Details

#statusSymbol, ...



11
# File 'lib/trycourier/models/users/token_retrieve_response.rb', line 11

optional :status, enum: -> { Trycourier::Models::Users::TokenRetrieveResponse::Status }, nil?: true

#status_reasonString?

The reason for the token status.

Returns:

  • (String, nil)


17
# File 'lib/trycourier/models/users/token_retrieve_response.rb', line 17

optional :status_reason, String, nil?: true