Class: Anthropic::Models::Beta::Organization::BetaSpendLimitUserActor
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::BetaSpendLimitUserActor
- Defined in:
- lib/anthropic/models/beta/organization/beta_spend_limit_user_actor.rb,
sig/anthropic/models/beta/organization/beta_spend_limit_user_actor.rbs
Instance Attribute Summary collapse
-
#deleted ⇒ Boolean
True only when the underlying account has been deleted.
-
#email_address ⇒ String?
The user's email address.
-
#name ⇒ String?
The user's current display name.
-
#type ⇒ Symbol, :user_actor
Actor type.
-
#user_id ⇒ String
Tagged ID of the user.
Instance Method Summary collapse
-
#initialize(deleted:, email_address:, name:, user_id:, type: :user_actor) ⇒ void
constructor
A user within the organization.
- #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(deleted:, email_address:, name:, user_id:, type: :user_actor) ⇒ void
A user within the organization. name and email_address are null when the
underlying account is unavailable or has been deleted; deleted is true only
for deleted accounts.
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::BetaSpendLimitUserActor for more details.
|
|
# File 'lib/anthropic/models/beta/organization/beta_spend_limit_user_actor.rb', line 40
|
Instance Attribute Details
#deleted ⇒ Boolean
True only when the underlying account has been deleted.
12 |
# File 'lib/anthropic/models/beta/organization/beta_spend_limit_user_actor.rb', line 12 required :deleted, Anthropic::Internal::Type::Boolean |
#email_address ⇒ String?
The user's email address. Null when the account is unavailable or has been deleted.
19 |
# File 'lib/anthropic/models/beta/organization/beta_spend_limit_user_actor.rb', line 19 required :email_address, String, nil?: true |
#name ⇒ String?
The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
26 |
# File 'lib/anthropic/models/beta/organization/beta_spend_limit_user_actor.rb', line 26 required :name, String, nil?: true |
#type ⇒ Symbol, :user_actor
Actor type. Always user_actor.
32 |
# File 'lib/anthropic/models/beta/organization/beta_spend_limit_user_actor.rb', line 32 required :type, const: :user_actor |
#user_id ⇒ String
Tagged ID of the user.
38 |
# File 'lib/anthropic/models/beta/organization/beta_spend_limit_user_actor.rb', line 38 required :user_id, String |
Instance Method Details
#to_hash ⇒ {
33 |
# File 'sig/anthropic/models/beta/organization/beta_spend_limit_user_actor.rbs', line 33
def to_hash: -> {
|