Class: Anthropic::Models::Organization::OrganizationUser
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Organization::OrganizationUser
- Defined in:
- lib/anthropic/models/organization/organization_user.rb,
sig/anthropic/models/organization/organization_user.rbs
Overview
Instance Attribute Summary collapse
-
#added_at ⇒ Time
RFC 3339 datetime string indicating when the User joined the Organization.
-
#email ⇒ String
Email of the User.
-
#id ⇒ String
ID of the User.
-
#name ⇒ String
Name of the User.
-
#role ⇒ Symbol, Anthropic::Models::OrganizationRole
Organization role of the User.
-
#type ⇒ Symbol, :user
Object type.
Instance Method Summary collapse
- #initialize ⇒ void constructor
- #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 ⇒ void
29 |
# File 'sig/anthropic/models/organization/organization_user.rbs', line 29
def initialize: (
|
Instance Attribute Details
#added_at ⇒ Time
RFC 3339 datetime string indicating when the User joined the Organization.
18 |
# File 'lib/anthropic/models/organization/organization_user.rb', line 18 required :added_at, Time |
#email ⇒ String
Email of the User.
24 |
# File 'lib/anthropic/models/organization/organization_user.rb', line 24 required :email, String |
#id ⇒ String
ID of the User.
12 |
# File 'lib/anthropic/models/organization/organization_user.rb', line 12 required :id, String |
#name ⇒ String
Name of the User.
30 |
# File 'lib/anthropic/models/organization/organization_user.rb', line 30 required :name, String |
#role ⇒ Symbol, Anthropic::Models::OrganizationRole
Organization role of the User.
36 |
# File 'lib/anthropic/models/organization/organization_user.rb', line 36 required :role, enum: -> { Anthropic::OrganizationRole } |
#type ⇒ Symbol, :user
Object type.
For Users, this is always "user".
44 |
# File 'lib/anthropic/models/organization/organization_user.rb', line 44 required :type, const: :user |
Instance Method Details
#to_hash ⇒ {
38 |
# File 'sig/anthropic/models/organization/organization_user.rbs', line 38
def to_hash: -> {
|