Class: Anthropic::Models::Beta::Organization::UserUpdateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::UserUpdateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/anthropic/models/beta/organization/user_update_params.rb,
sig/anthropic/models/beta/organization/user_update_params.rbs
Overview
Defined Under Namespace
Modules: Role
Constant Summary
Constants included from Internal::Type::RequestParameters
Internal::Type::RequestParameters::Anthropic
Instance Attribute Summary collapse
-
#role ⇒ Symbol, Anthropic::Models::Beta::Organization::UserUpdateParams::Role
New role for the User.
-
#user_id ⇒ String
ID of the User.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(user_id:, role:, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see UserUpdateParams for more details.
- #to_hash ⇒ {
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(user_id:, role:, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::UserUpdateParams for more details.
|
|
# File 'lib/anthropic/models/beta/organization/user_update_params.rb', line 29
|
Instance Attribute Details
#role ⇒ Symbol, Anthropic::Models::Beta::Organization::UserUpdateParams::Role
New role for the User.
The accepted values depend on the organization type. Console and API
organizations accept user, developer, billing, and claude_code_user;
admin cannot be assigned through the API. Claude Enterprise organizations
accept user and managed.
27 |
# File 'lib/anthropic/models/beta/organization/user_update_params.rb', line 27 required :role, enum: -> { Anthropic::Beta::Organization::UserUpdateParams::Role } |
#user_id ⇒ String
ID of the User.
16 |
# File 'lib/anthropic/models/beta/organization/user_update_params.rb', line 16 required :user_id, String |
Instance Method Details
#to_hash ⇒ {
26 |
# File 'sig/anthropic/models/beta/organization/user_update_params.rbs', line 26
def to_hash: -> {
|