Class: Courier::Models::Users::TokenRetrieveResponse
- Inherits:
-
UserToken
- Object
- Internal::Type::BaseModel
- UserToken
- Courier::Models::Users::TokenRetrieveResponse
- Defined in:
- lib/courier/models/users/token_retrieve_response.rb,
sig/courier/models/users/token_retrieve_response.rbs
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
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
Methods inherited from UserToken
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 ⇒ Object
21 |
# File 'sig/courier/models/users/token_retrieve_response.rbs', line 21
def initialize: (
|
Instance Attribute Details
#status ⇒ Symbol, ...
11 |
# File 'lib/courier/models/users/token_retrieve_response.rb', line 11 optional :status, enum: -> { Courier::Models::Users::TokenRetrieveResponse::Status }, nil?: true |
#status_reason ⇒ String?
The reason for the token status.
17 |
# File 'lib/courier/models/users/token_retrieve_response.rb', line 17 optional :status_reason, String, nil?: true |
Instance Method Details
#to_hash ⇒ {
26 |
# File 'sig/courier/models/users/token_retrieve_response.rbs', line 26
def to_hash: -> {
|