Class: Anthropic::Models::Beta::Organization::PluginRetrieveParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::PluginRetrieveParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/anthropic/models/beta/organization/plugin_retrieve_params.rb,
sig/anthropic/models/beta/organization/plugin_retrieve_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. -
#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. -
#plugin_id ⇒ String
ID of the Plugin (prefixed
plugin_).
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(plugin_id:, organization_id: nil, betas: nil, request_options: {}) ⇒ PluginRetrieveParams
constructor
Some parameter documentations has been truncated, see PluginRetrieveParams for more details.
- #to_hash ⇒ { plugin_id: String, organization_id: 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:, organization_id: nil, betas: nil, request_options: {}) ⇒ PluginRetrieveParams
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::PluginRetrieveParams for more details.
|
|
# File 'lib/anthropic/models/beta/organization/plugin_retrieve_params.rb', line 38
|
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.
36 |
# File 'lib/anthropic/models/beta/organization/plugin_retrieve_params.rb', line 36 optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] } |
#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.
29 |
# File 'lib/anthropic/models/beta/organization/plugin_retrieve_params.rb', line 29 optional :organization_id, String, nil?: true |
#plugin_id ⇒ String
ID of the Plugin (prefixed plugin_).
16 |
# File 'lib/anthropic/models/beta/organization/plugin_retrieve_params.rb', line 16 required :plugin_id, String |
Instance Method Details
#to_hash ⇒ { plugin_id: String, organization_id: String?, betas: ::Array[Anthropic::Models::anthropic_beta], request_options: Anthropic::RequestOptions }
34 35 36 37 38 39 |
# File 'sig/anthropic/models/beta/organization/plugin_retrieve_params.rbs', line 34
def to_hash: -> {
plugin_id: String,
organization_id: String?,
betas: ::Array[Anthropic::Models::anthropic_beta],
request_options: Anthropic::RequestOptions
}
|