Class: Trycourier::Models::Users::TokenRetrieveResponse
- Inherits:
-
UserToken
- Object
- Internal::Type::BaseModel
- UserToken
- Trycourier::Models::Users::TokenRetrieveResponse
- Defined in:
- lib/trycourier/models/users/token_retrieve_response.rb
Overview
Defined Under Namespace
Modules: Status
Instance Attribute Summary collapse
- #status ⇒ Symbol, ...
-
#status_reason ⇒ String?
The reason for the token status.
Attributes inherited from UserToken
#device, #expiry_date, #properties, #provider_key, #token, #tracking
Method Summary
Methods inherited from UserToken
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
#status ⇒ Symbol, ...
11 |
# File 'lib/trycourier/models/users/token_retrieve_response.rb', line 11 optional :status, enum: -> { Trycourier::Models::Users::TokenRetrieveResponse::Status }, nil?: true |
#status_reason ⇒ String?
The reason for the token status.
17 |
# File 'lib/trycourier/models/users/token_retrieve_response.rb', line 17 optional :status_reason, String, nil?: true |