Class: Revox::Models::Users::MeRetrieveResponse::User
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Revox::Models::Users::MeRetrieveResponse::User
- Defined in:
- lib/revox/models/users/me_retrieve_response.rb,
sig/revox/models/users/me_retrieve_response.rbs
Overview
Instance Attribute Summary collapse
-
#created_at ⇒ Object
The time the user was created.
-
#email ⇒ String
The email address of the user.
-
#first_name ⇒ String?
The first name of the user.
-
#has_completed_onboarding ⇒ Boolean
Whether the user has completed the onboarding tutorial.
-
#id ⇒ String
The unique identifier of the user.
-
#last_name ⇒ String?
The last name of the user.
-
#organization_country ⇒ String?
ISO 3166-1 alpha-2 country code of the organization (e.g. FR).
-
#organization_id ⇒ String
The ID of the organization the user belongs to.
-
#updated_at ⇒ Object
The time the user was last updated.
Instance Method Summary collapse
-
#initialize(id:, created_at:, email:, first_name:, has_completed_onboarding:, last_name:, organization_id:, updated_at:, organization_country: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see User for more details.
- #to_hash ⇒ {
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(id:, created_at:, email:, first_name:, has_completed_onboarding:, last_name:, organization_id:, updated_at:, organization_country: nil) ⇒ Object
Some parameter documentations has been truncated, see Revox::Models::Users::MeRetrieveResponse::User for more details.
The current authenticated user.
|
|
# File 'lib/revox/models/users/me_retrieve_response.rb', line 74
|
Instance Attribute Details
#created_at ⇒ Object
The time the user was created.
29 |
# File 'lib/revox/models/users/me_retrieve_response.rb', line 29 required :created_at, Revox::Internal::Type::Unknown |
#email ⇒ String
The email address of the user.
35 |
# File 'lib/revox/models/users/me_retrieve_response.rb', line 35 required :email, String |
#first_name ⇒ String?
The first name of the user.
41 |
# File 'lib/revox/models/users/me_retrieve_response.rb', line 41 required :first_name, String, nil?: true |
#has_completed_onboarding ⇒ Boolean
Whether the user has completed the onboarding tutorial.
47 |
# File 'lib/revox/models/users/me_retrieve_response.rb', line 47 required :has_completed_onboarding, Revox::Internal::Type::Boolean |
#id ⇒ String
The unique identifier of the user.
23 |
# File 'lib/revox/models/users/me_retrieve_response.rb', line 23 required :id, String |
#last_name ⇒ String?
The last name of the user.
53 |
# File 'lib/revox/models/users/me_retrieve_response.rb', line 53 required :last_name, String, nil?: true |
#organization_country ⇒ String?
ISO 3166-1 alpha-2 country code of the organization (e.g. FR). Used as the default region when normalizing national-format phone numbers.
72 |
# File 'lib/revox/models/users/me_retrieve_response.rb', line 72 optional :organization_country, String, nil?: true |
#organization_id ⇒ String
The ID of the organization the user belongs to.
59 |
# File 'lib/revox/models/users/me_retrieve_response.rb', line 59 required :organization_id, String |
#updated_at ⇒ Object
The time the user was last updated.
65 |
# File 'lib/revox/models/users/me_retrieve_response.rb', line 65 required :updated_at, Revox::Internal::Type::Unknown |
Instance Method Details
#to_hash ⇒ {
60 |
# File 'sig/revox/models/users/me_retrieve_response.rbs', line 60
def to_hash: -> {
|