Class: Anthropic::Models::Beta::Organization::BetaPluginUserActor

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/organization/beta_plugin_user_actor.rb,
sig/anthropic/models/beta/organization/beta_plugin_user_actor.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

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(email_address:, user_id:, type: :user_actor) ⇒ void

Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::BetaPluginUserActor for more details.

Parameters:

  • email_address (String, nil) —

    The member's email address; may be null, for example when they are no longer a m

  • user_id (String) —

    The member's User ID.

  • type (Symbol, :user_actor) (defaults to: :user_actor) —

    A member of the organization.



# File 'lib/anthropic/models/beta/organization/beta_plugin_user_actor.rb', line 27


Instance Attribute Details

#email_address ⇒ String?

The member's email address; may be null, for example when they are no longer a member of the organization.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


13
# File 'lib/anthropic/models/beta/organization/beta_plugin_user_actor.rb', line 13

required :email_address, String, nil?: true

#type ⇒ Symbol, :user_actor

A member of the organization.

Parameters:

  • value (:user_actor)

Returns:

  • (Symbol, :user_actor)


19
# File 'lib/anthropic/models/beta/organization/beta_plugin_user_actor.rb', line 19

required :type, const: :user_actor

#user_id ⇒ String

The member's User ID.

Parameters:

  • value (String)

Returns:

  • (String)


25
# File 'lib/anthropic/models/beta/organization/beta_plugin_user_actor.rb', line 25

required :user_id, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


21
# File 'sig/anthropic/models/beta/organization/beta_plugin_user_actor.rbs', line 21

def to_hash: -> {