Class: Anthropic::Models::Beta::Organization::Plugins::VersionListParams

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

Overview

See Also:

  • Anthropic::Resources::Beta::Organization::Plugins::Versions#list

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

#initialize(plugin_id:, limit: nil, organization_id: nil, page: nil, betas: nil, request_options: {}) ⇒ void

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

Parameters:

  • plugin_id (String) —

    ID of the Plugin (prefixed plugin_).

  • limit (Integer) (defaults to: nil) —

    Number of items to return per page.

  • organization_id (String, nil) (defaults to: nil) —

    For a read:org_audit or read:compliance_org_data key created for all of a pa

  • page (String, nil) (defaults to: nil) —

    Optionally set to the next_page token from the previous response.

  • betas (Array<Symbol, String, Anthropic::Models::AnthropicBeta>) (defaults to: nil) —

    This endpoint is in beta: requests must send ce-plugins-2026-09-01 in this hea

  • request_options (Anthropic::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/anthropic/models/beta/organization/plugins/version_list_params.rb', line 52

Instance Attribute Details

#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?

This endpoint is in beta: requests must send ce-plugins-2026-09-01 in this header.

Returns:



50
# File 'lib/anthropic/models/beta/organization/plugins/version_list_params.rb', line 50

optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }

#limit ⇒ Integer?

Number of items to return per page.

Defaults to 20. Ranges from 1 to 1000.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :limit, Integer

#organization_id ⇒ String?

For a read:org_audit or read:compliance_org_data key created for all of a parent organization's linked organizations: a child organization of that parent to read instead of the organization the key was created in, given as the organization's UUID or its org_-prefixed ID. A value that is neither returns a 400; an organization that is not a child of the key's parent, or where the Plugins API is not available, returns a 404. Any other key may pass only its own organization's ID here; another organization returns a 404.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


37
# File 'lib/anthropic/models/beta/organization/plugins/version_list_params.rb', line 37

optional :organization_id, String, nil?: true

#page ⇒ String?

Optionally set to the next_page token from the previous response.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


43
# File 'lib/anthropic/models/beta/organization/plugins/version_list_params.rb', line 43

optional :page, String, nil?: true

#plugin_id ⇒ String

ID of the Plugin (prefixed plugin_).

Parameters:

  • value (String)

Returns:

  • (String)


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

required :plugin_id, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


45
# File 'sig/anthropic/models/beta/organization/plugins/version_list_params.rbs', line 45

def to_hash: -> {