Class: Anthropic::Models::Beta::Organization::BetaPluginMarketplaceValidationReport
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::BetaPluginMarketplaceValidationReport
- Defined in:
- lib/anthropic/models/beta/organization/beta_plugin_marketplace_validation_report.rb,
sig/anthropic/models/beta/organization/beta_plugin_marketplace_validation_report.rbs
Overview
Instance Attribute Summary collapse
-
#commit_sha ⇒ String?
The full SHA of the commit that was validated: for a repository, the commit that was read; for an uploaded archive, the commit recorded in the archive's comment (as a Git host's download writes it; not verified), else null.
-
#manifest_error ⇒ String?
Set when nothing could be validated: the repository or archive could not be read, or marketplace.json is missing, malformed or over a limit.
-
#manifest_error_code ⇒ String?
A stable identifier for
manifest_error; null when that is. -
#plugin_errors ⇒ Array<Anthropic::Models::Beta::Organization::BetaPluginMarketplaceValidationPluginErrorObject>
One entry per plugin a synchronization would skip entirely, keyed by the plugin's name in marketplace.json.
-
#plugin_warnings ⇒ Array<Anthropic::Models::Beta::Organization::BetaPluginMarketplaceValidationPluginWarnings>
One entry per plugin that would synchronize with some of its contents left out, keyed by the plugin's name in marketplace.json.
-
#ref ⇒ String?
For a repository, the branch that was read by name: the one requested, or else the branch a synchronization of this repository is set to read.
-
#total_plugin_count ⇒ Integer
How many plugins marketplace.json declares; 0 when it could not be read.
-
#type ⇒ Symbol, :plugin_marketplace_validation_report
Always
plugin_marketplace_validation_report. -
#valid ⇒ Boolean
True when marketplace.json is well-formed and no plugin would be skipped; warnings never make it false.
Instance Method Summary collapse
-
#initialize(commit_sha:, manifest_error:, manifest_error_code:, plugin_errors:, plugin_warnings:, ref:, total_plugin_count:, valid:, type: :plugin_marketplace_validation_report) ⇒ BetaPluginMarketplaceValidationReport
constructor
The outcome of validating plugin marketplace content: a report, not a stored object, so nothing in it can be retrieved afterwards.
- #to_hash ⇒ { commit_sha: String?, manifest_error: String?, manifest_error_code: String?, plugin_errors: ::Array[Anthropic::Beta::Organization::BetaPluginMarketplaceValidationPluginErrorObject], plugin_warnings: ::Array[Anthropic::Beta::Organization::BetaPluginMarketplaceValidationPluginWarnings], ref: String?, total_plugin_count: Integer, type: :plugin_marketplace_validation_report, valid: bool }
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(commit_sha:, manifest_error:, manifest_error_code:, plugin_errors:, plugin_warnings:, ref:, total_plugin_count:, valid:, type: :plugin_marketplace_validation_report) ⇒ BetaPluginMarketplaceValidationReport
The outcome of validating plugin marketplace content: a report, not a stored object, so nothing in it can be retrieved afterwards.
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::BetaPluginMarketplaceValidationReport for more details.
|
|
# File 'lib/anthropic/models/beta/organization/beta_plugin_marketplace_validation_report.rb', line 74
|
Instance Attribute Details
#commit_sha ⇒ String?
The full SHA of the commit that was validated: for a repository, the commit that was read; for an uploaded archive, the commit recorded in the archive's comment (as a Git host's download writes it; not verified), else null.
15 |
# File 'lib/anthropic/models/beta/organization/beta_plugin_marketplace_validation_report.rb', line 15 required :commit_sha, String, nil?: true |
#manifest_error ⇒ String?
Set when nothing could be validated: the repository or archive could not be read, or marketplace.json is missing, malformed or over a limit. Null otherwise.
22 |
# File 'lib/anthropic/models/beta/organization/beta_plugin_marketplace_validation_report.rb', line 22 required :manifest_error, String, nil?: true |
#manifest_error_code ⇒ String?
A stable identifier for manifest_error; null when that is.
28 |
# File 'lib/anthropic/models/beta/organization/beta_plugin_marketplace_validation_report.rb', line 28 required :manifest_error_code, String, nil?: true |
#plugin_errors ⇒ Array<Anthropic::Models::Beta::Organization::BetaPluginMarketplaceValidationPluginErrorObject>
One entry per plugin a synchronization would skip entirely, keyed by the plugin's name in marketplace.json.
35 36 |
# File 'lib/anthropic/models/beta/organization/beta_plugin_marketplace_validation_report.rb', line 35 required :plugin_errors, -> { Anthropic::Internal::Type::ArrayOf[Anthropic::Beta::Organization::BetaPluginMarketplaceValidationPluginErrorObject] } |
#plugin_warnings ⇒ Array<Anthropic::Models::Beta::Organization::BetaPluginMarketplaceValidationPluginWarnings>
One entry per plugin that would synchronize with some of its contents left out, keyed by the plugin's name in marketplace.json.
43 44 |
# File 'lib/anthropic/models/beta/organization/beta_plugin_marketplace_validation_report.rb', line 43 required :plugin_warnings, -> { Anthropic::Internal::Type::ArrayOf[Anthropic::Beta::Organization::BetaPluginMarketplaceValidationPluginWarnings] } |
#ref ⇒ String?
For a repository, the branch that was read by name: the one requested, or else the branch a synchronization of this repository is set to read. Null when no branch is named or set and the repository's default branch was read, for a request by commit SHA, and for an uploaded archive.
53 |
# File 'lib/anthropic/models/beta/organization/beta_plugin_marketplace_validation_report.rb', line 53 required :ref, String, nil?: true |
#total_plugin_count ⇒ Integer
How many plugins marketplace.json declares; 0 when it could not be read.
59 |
# File 'lib/anthropic/models/beta/organization/beta_plugin_marketplace_validation_report.rb', line 59 required :total_plugin_count, Integer |
#type ⇒ Symbol, :plugin_marketplace_validation_report
Always plugin_marketplace_validation_report.
65 |
# File 'lib/anthropic/models/beta/organization/beta_plugin_marketplace_validation_report.rb', line 65 required :type, const: :plugin_marketplace_validation_report |
Instance Method Details
#to_hash ⇒ { commit_sha: String?, manifest_error: String?, manifest_error_code: String?, plugin_errors: ::Array[Anthropic::Beta::Organization::BetaPluginMarketplaceValidationPluginErrorObject], plugin_warnings: ::Array[Anthropic::Beta::Organization::BetaPluginMarketplaceValidationPluginWarnings], ref: String?, total_plugin_count: Integer, type: :plugin_marketplace_validation_report, valid: bool }
49 50 51 52 53 54 55 56 57 58 59 |
# File 'sig/anthropic/models/beta/organization/beta_plugin_marketplace_validation_report.rbs', line 49
def to_hash: -> {
commit_sha: String?,
manifest_error: String?,
manifest_error_code: String?,
plugin_errors: ::Array[Anthropic::Beta::Organization::BetaPluginMarketplaceValidationPluginErrorObject],
plugin_warnings: ::Array[Anthropic::Beta::Organization::BetaPluginMarketplaceValidationPluginWarnings],
ref: String?,
total_plugin_count: Integer,
type: :plugin_marketplace_validation_report,
valid: bool
}
|