Class: Anthropic::Models::Beta::Organization::Plugins::VersionCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::Plugins::VersionCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/anthropic/models/beta/organization/plugins/version_create_params.rb,
sig/anthropic/models/beta/organization/plugins/version_create_params.rbs
Overview
Constant Summary
Constants included from Internal::Type::RequestParameters
Internal::Type::RequestParameters::Anthropic
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. -
#files ⇒ Array<Pathname, StringIO, IO, String, Anthropic::FilePart>
The version's files: one part per file, the part's filename being the file's path within the Plugin (for example
skills/review-pr/SKILL.md), or a single.zipor.pluginarchive holding them all. -
#plugin_id ⇒ String
ID of the Plugin (prefixed
plugin_). -
#release_notes ⇒ String?
Release notes stored with the version and shown in its version history in claude.ai; up to 5,000 characters.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(plugin_id:, files:, release_notes: nil, betas: nil, request_options: {}) ⇒ void
constructor
Some parameter documentations has been truncated, see VersionCreateParams for more details.
- #to_hash ⇒ {
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:, files:, release_notes: nil, betas: nil, request_options: {}) ⇒ void
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::Plugins::VersionCreateParams for more details.
|
|
# File 'lib/anthropic/models/beta/organization/plugins/version_create_params.rb', line 44
|
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.
42 |
# File 'lib/anthropic/models/beta/organization/plugins/version_create_params.rb', line 42 optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] } |
#files ⇒ Array<Pathname, StringIO, IO, String, Anthropic::FilePart>
The version's files: one part per file, the part's filename being the file's
path within the Plugin (for example skills/review-pr/SKILL.md), or a single
.zip or .plugin archive holding them all. On the wire each part is named
files[], and a part named plain files is not read; with cURL,
-F 'files[][email protected];filename=skills/review-pr/SKILL.md'. The files must
include the manifest, .claude-plugin/plugin.json.
28 |
# File 'lib/anthropic/models/beta/organization/plugins/version_create_params.rb', line 28 required :files, Anthropic::Internal::Type::ArrayOf[Anthropic::Internal::Type::FileInput] |
#plugin_id ⇒ String
ID of the Plugin (prefixed plugin_).
17 |
# File 'lib/anthropic/models/beta/organization/plugins/version_create_params.rb', line 17 required :plugin_id, String |
#release_notes ⇒ String?
Release notes stored with the version and shown in its version history in claude.ai; up to 5,000 characters.
35 |
# File 'lib/anthropic/models/beta/organization/plugins/version_create_params.rb', line 35 optional :release_notes, String |
Instance Method Details
#to_hash ⇒ {
41 |
# File 'sig/anthropic/models/beta/organization/plugins/version_create_params.rbs', line 41
def to_hash: -> {
|