Class: Anthropic::Models::Beta::Organization::PluginMarketplaceValidateRepositoryParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::PluginMarketplaceValidateRepositoryParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/anthropic/models/beta/organization/plugin_marketplace_validate_repository_params.rb,
sig/anthropic/models/beta/organization/plugin_marketplace_validate_repository_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. -
#ref ⇒ String?
The branch to validate the tip of, or the full 40-character SHA of the commit to validate.
-
#repository_url ⇒ String
The
https://URL of a public repository on github.com that holds the marketplace.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(repository_url:, ref: nil, betas: nil, request_options: {}) ⇒ PluginMarketplaceValidateRepositoryParams
constructor
Some parameter documentations has been truncated, see PluginMarketplaceValidateRepositoryParams for more details.
- #to_hash ⇒ { repository_url: String, ref: 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(repository_url:, ref: nil, betas: nil, request_options: {}) ⇒ PluginMarketplaceValidateRepositoryParams
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::PluginMarketplaceValidateRepositoryParams for more details.
|
|
# File 'lib/anthropic/models/beta/organization/plugin_marketplace_validate_repository_params.rb', line 42
|
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.
40 |
# File 'lib/anthropic/models/beta/organization/plugin_marketplace_validate_repository_params.rb', line 40 optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] } |
#ref ⇒ String?
The branch to validate the tip of, or the full 40-character SHA of the commit to
validate. When omitted, the branch a synchronization would read (usually the
repository's default branch); if that is not the default branch, the report's
ref says which branch was read. An empty string, a value longer than 255
characters, or one that contains .. or a character other than ASCII letters,
digits, ., _, -, +, and /, is a 400. Any other value that is not a
40-character SHA is read as a branch name; if the repository has no such branch,
the response is a report with valid: false, not a 400.
33 |
# File 'lib/anthropic/models/beta/organization/plugin_marketplace_validate_repository_params.rb', line 33 optional :ref, String, nil?: true |
#repository_url ⇒ String
The https:// URL of a public repository on github.com that holds the
marketplace. A URL longer than 2,048 characters, on any other host or scheme,
with a port other than 443 or 80, with credentials in it, or that does not name
exactly owner/repo (a trailing .git or / is accepted) is a 400. A private
or missing repository is reported in the response, not refused.
20 |
# File 'lib/anthropic/models/beta/organization/plugin_marketplace_validate_repository_params.rb', line 20 required :repository_url, String |
Instance Method Details
#to_hash ⇒ { repository_url: String, ref: String?, betas: ::Array[Anthropic::Models::anthropic_beta], request_options: Anthropic::RequestOptions }
34 35 36 37 38 39 |
# File 'sig/anthropic/models/beta/organization/plugin_marketplace_validate_repository_params.rbs', line 34
def to_hash: -> {
repository_url: String,
ref: String?,
betas: ::Array[Anthropic::Models::anthropic_beta],
request_options: Anthropic::RequestOptions
}
|