Class: Anthropic::Models::Beta::Organization::Plugins::VersionListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::Plugins::VersionListParams
- 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
Instance Attribute Summary collapse
-
#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?
This endpoint is in beta: requests must send
ce-plugins-2026-09-01in this header. -
#limit ⇒ Integer?
Number of items to return per page.
-
#organization_id ⇒ String?
For a
read:org_auditorread:compliance_org_datakey 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 itsorg_-prefixed ID. -
#page ⇒ String?
Optionally set to the
next_pagetoken from the previous response. -
#plugin_id ⇒ String
ID of the Plugin (prefixed
plugin_).
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(plugin_id:, limit: nil, organization_id: nil, page: nil, betas: nil, request_options: {}) ⇒ VersionListParams
constructor
Some parameter documentations has been truncated, see VersionListParams for more details.
- #to_hash ⇒ { plugin_id: String, limit: Integer, organization_id: String?, page: String?, betas: ::Array[Anthropic::Models::anthropic_beta], request_options: Anthropic::RequestOptions }
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(plugin_id:, limit: nil, organization_id: nil, page: nil, betas: nil, request_options: {}) ⇒ VersionListParams
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::Plugins::VersionListParams for more details.
|
|
# File 'lib/anthropic/models/beta/organization/plugins/version_list_params.rb', line 53
|
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.
51 |
# File 'lib/anthropic/models/beta/organization/plugins/version_list_params.rb', line 51 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.
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. A key with no
organization of its own must always pass organization_id.
38 |
# File 'lib/anthropic/models/beta/organization/plugins/version_list_params.rb', line 38 optional :organization_id, String, nil?: true |
#page ⇒ String?
Optionally set to the next_page token from the previous response.
44 |
# File 'lib/anthropic/models/beta/organization/plugins/version_list_params.rb', line 44 optional :page, String, nil?: true |
#plugin_id ⇒ String
ID of the Plugin (prefixed plugin_).
17 |
# File 'lib/anthropic/models/beta/organization/plugins/version_list_params.rb', line 17 required :plugin_id, String |
Instance Method Details
#to_hash ⇒ { plugin_id: String, limit: Integer, organization_id: String?, page: String?, betas: ::Array[Anthropic::Models::anthropic_beta], request_options: Anthropic::RequestOptions }
45 46 47 48 49 50 51 52 |
# File 'sig/anthropic/models/beta/organization/plugins/version_list_params.rbs', line 45
def to_hash: -> {
plugin_id: String,
limit: Integer,
organization_id: String?,
page: String?,
betas: ::Array[Anthropic::Models::anthropic_beta],
request_options: Anthropic::RequestOptions
}
|