Class: Sentdm::Models::UserResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Sentdm::Models::UserResponse
- Defined in:
- lib/sentdm/models/user_response.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Time?
When the user was added to the organization.
-
#email ⇒ String?
User email address.
-
#id ⇒ String?
User unique identifier.
-
#invited_at ⇒ Time?
When the user was invited.
-
#last_login_at ⇒ Time?
When the user last logged in.
-
#name ⇒ String?
User full name.
-
#role ⇒ String?
User role in the organization: admin, billing, developer.
-
#status ⇒ String?
User status: active, invited, suspended, rejected.
-
#updated_at ⇒ Time?
When the user record was last updated.
Instance Method Summary collapse
-
#initialize(id: nil, created_at: nil, email: nil, invited_at: nil, last_login_at: nil, name: nil, role: nil, status: nil, updated_at: nil) ⇒ Object
constructor
User response for v3 API.
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: nil, created_at: nil, email: nil, invited_at: nil, last_login_at: nil, name: nil, role: nil, status: nil, updated_at: nil) ⇒ Object
User response for v3 API
|
|
# File 'lib/sentdm/models/user_response.rb', line 60
|
Instance Attribute Details
#created_at ⇒ Time?
When the user was added to the organization
16 |
# File 'lib/sentdm/models/user_response.rb', line 16 optional :created_at, Time |
#email ⇒ String?
User email address
22 |
# File 'lib/sentdm/models/user_response.rb', line 22 optional :email, String |
#id ⇒ String?
User unique identifier
10 |
# File 'lib/sentdm/models/user_response.rb', line 10 optional :id, String |
#invited_at ⇒ Time?
When the user was invited
28 |
# File 'lib/sentdm/models/user_response.rb', line 28 optional :invited_at, Time, nil?: true |
#last_login_at ⇒ Time?
When the user last logged in
34 |
# File 'lib/sentdm/models/user_response.rb', line 34 optional :last_login_at, Time, nil?: true |
#name ⇒ String?
User full name
40 |
# File 'lib/sentdm/models/user_response.rb', line 40 optional :name, String |
#role ⇒ String?
User role in the organization: admin, billing, developer
46 |
# File 'lib/sentdm/models/user_response.rb', line 46 optional :role, String |
#status ⇒ String?
User status: active, invited, suspended, rejected
52 |
# File 'lib/sentdm/models/user_response.rb', line 52 optional :status, String |
#updated_at ⇒ Time?
When the user record was last updated
58 |
# File 'lib/sentdm/models/user_response.rb', line 58 optional :updated_at, Time, nil?: true |