Class: Anthropic::Models::Beta::Organization::PluginUpdateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::PluginUpdateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/anthropic/models/beta/organization/plugin_update_params.rb,
sig/anthropic/models/beta/organization/plugin_update_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. -
#plugin_id ⇒ String
ID of the Plugin (prefixed
plugin_). -
#served_version_id ⇒ String
Serve this version of the Plugin (prefixed
pluginver_) and pin the served version to it;latestis not accepted.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(plugin_id:, served_version_id:, betas: nil, request_options: {}) ⇒ PluginUpdateParams
constructor
Some parameter documentations has been truncated, see PluginUpdateParams for more details.
- #to_hash ⇒ { plugin_id: String, served_version_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:, served_version_id:, betas: nil, request_options: {}) ⇒ PluginUpdateParams
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::PluginUpdateParams for more details.
|
|
# File 'lib/anthropic/models/beta/organization/plugin_update_params.rb', line 32
|
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.
30 |
# File 'lib/anthropic/models/beta/organization/plugin_update_params.rb', line 30 optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] } |
#plugin_id ⇒ String
ID of the Plugin (prefixed plugin_).
16 |
# File 'lib/anthropic/models/beta/organization/plugin_update_params.rb', line 16 required :plugin_id, String |
#served_version_id ⇒ String
Serve this version of the Plugin (prefixed pluginver_) and pin the served
version to it; latest is not accepted.
23 |
# File 'lib/anthropic/models/beta/organization/plugin_update_params.rb', line 23 required :served_version_id, String |
Instance Method Details
#to_hash ⇒ { plugin_id: String, served_version_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_update_params.rbs', line 34
def to_hash: -> {
plugin_id: String,
served_version_id: String,
betas: ::Array[Anthropic::Models::anthropic_beta],
request_options: Anthropic::RequestOptions
}
|