Class: Anthropic::Models::Beta::Organization::InviteListParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/anthropic/models/beta/organization/invite_list_params.rb,
sig/anthropic/models/beta/organization/invite_list_params.rbs

Overview

See Also:

  • Anthropic::Resources::Beta::Organization::Invites#list

Defined Under Namespace

Modules: Status

Constant Summary

Constants included from Internal::Type::RequestParameters

Internal::Type::RequestParameters::Anthropic

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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

#initializeObject



46
# File 'sig/anthropic/models/beta/organization/invite_list_params.rbs', line 46

def initialize: (

Instance Attribute Details

#after_idString?

ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately after this object.

Parameters:

  • (String)

Returns:

  • (String, nil)


17
# File 'lib/anthropic/models/beta/organization/invite_list_params.rb', line 17

optional :after_id, String

#before_idString?

ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately before this object.

Parameters:

  • (String)

Returns:

  • (String, nil)


24
# File 'lib/anthropic/models/beta/organization/invite_list_params.rb', line 24

optional :before_id, String

#emailString?

Filter by the email address the Invite was sent to. Matches the same way as the Users list's email filter (normalized, case-insensitive).

Parameters:

  • (String)

Returns:

  • (String, nil)


31
# File 'lib/anthropic/models/beta/organization/invite_list_params.rb', line 31

optional :email, String

#limitInteger?

Number of items to return per page.

Defaults to 20. Ranges from 1 to 1000.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


39
# File 'lib/anthropic/models/beta/organization/invite_list_params.rb', line 39

optional :limit, Integer

#rolesArray<String>?

Filter to items whose role equals one of the supplied values. Repeatable; values are OR'ed together.

Accepted values depend on the organization type: Console and API organizations accept user, developer, billing, admin, and claude_code_user; Claude Enterprise organizations accept user, owner, primary_owner, membership_admin, and managed.

Parameters:

  • (::Array[String])

Returns:

  • (Array<String>, nil)


51
# File 'lib/anthropic/models/beta/organization/invite_list_params.rb', line 51

optional :roles, Anthropic::Internal::Type::ArrayOf[String]

#statusesArray<Symbol, Anthropic::Models::Beta::Organization::InviteListParams::Status>?

Filter by Invite status. Repeatable; values are OR'ed together. Omit to return pending, accepted, and expired Invites alike.



58
59
# File 'lib/anthropic/models/beta/organization/invite_list_params.rb', line 58

optional :statuses,
-> { Anthropic::Internal::Type::ArrayOf[enum: Anthropic::Beta::Organization::InviteListParams::Status] }

Instance Method Details

#to_hash{

Returns:

  • ({)


56
# File 'sig/anthropic/models/beta/organization/invite_list_params.rbs', line 56

def to_hash: -> {