Class: Anthropic::Models::Beta::Organization::Plugins::BetaPluginVersion
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::Plugins::BetaPluginVersion
- Defined in:
- lib/anthropic/models/beta/organization/plugins/beta_plugin_version.rb,
sig/anthropic/models/beta/organization/plugins/beta_plugin_version.rbs
Overview
Defined Under Namespace
Instance Attribute Summary collapse
-
#components ⇒ Array<Anthropic::Models::Beta::Organization::BetaPluginComponent>?
What the version contains; null when not enumerated.
-
#content_scan ⇒ Anthropic::Models::Beta::Organization::BetaPluginContentScan?
This version's content scan; null when it has not been scanned.
-
#created_at ⇒ Time
RFC 3339.
-
#created_by ⇒ Anthropic::Models::Beta::Organization::BetaPluginUserActor, ...
Who uploaded this version; null when not recorded.
-
#description ⇒ String?
The manifest's description; null when it declares none.
-
#display_name ⇒ String?
The manifest's display name; null when it declares none.
-
#id ⇒ String
The version's ID.
-
#manifest_version ⇒ String?
The version string the manifest declares; null when it declares none.
-
#plugin_id ⇒ String
The Plugin's ID.
-
#reach ⇒ Symbol, ...
How far the version reaches:
remote,privilegedorcontained, as on the Plugin; null when not classifiable. -
#release_notes ⇒ String?
As supplied with the upload; null when none were supplied.
-
#type ⇒ Symbol, :plugin_version
Always
plugin_version.
Instance Method Summary collapse
-
#initialize(id:, components:, content_scan:, created_at:, created_by:, description:, display_name:, manifest_version:, plugin_id:, reach:, release_notes:, type: :plugin_version) ⇒ void
constructor
Some parameter documentations has been truncated, see BetaPluginVersion for more details.
- #to_hash ⇒ {
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(id:, components:, content_scan:, created_at:, created_by:, description:, display_name:, manifest_version:, plugin_id:, reach:, release_notes:, type: :plugin_version) ⇒ void
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::Plugins::BetaPluginVersion for more details.
|
|
# File 'lib/anthropic/models/beta/organization/plugins/beta_plugin_version.rb', line 93
|
Instance Attribute Details
#components ⇒ Array<Anthropic::Models::Beta::Organization::BetaPluginComponent>?
What the version contains; null when not enumerated.
20 21 22 23 24 |
# File 'lib/anthropic/models/beta/organization/plugins/beta_plugin_version.rb', line 20 required :components, -> { Anthropic::Internal::Type::ArrayOf[Anthropic::Beta::Organization::BetaPluginComponent] }, nil?: true |
#content_scan ⇒ Anthropic::Models::Beta::Organization::BetaPluginContentScan?
This version's content scan; null when it has not been scanned.
30 |
# File 'lib/anthropic/models/beta/organization/plugins/beta_plugin_version.rb', line 30 required :content_scan, -> { Anthropic::Beta::Organization::BetaPluginContentScan }, nil?: true |
#created_at ⇒ Time
RFC 3339.
36 |
# File 'lib/anthropic/models/beta/organization/plugins/beta_plugin_version.rb', line 36 required :created_at, Time |
#created_by ⇒ Anthropic::Models::Beta::Organization::BetaPluginUserActor, ...
Who uploaded this version; null when not recorded.
42 43 44 |
# File 'lib/anthropic/models/beta/organization/plugins/beta_plugin_version.rb', line 42 required :created_by, union: -> { Anthropic::Beta::Organization::Plugins::BetaPluginVersion::CreatedBy }, nil?: true |
#description ⇒ String?
The manifest's description; null when it declares none.
50 |
# File 'lib/anthropic/models/beta/organization/plugins/beta_plugin_version.rb', line 50 required :description, String, nil?: true |
#display_name ⇒ String?
The manifest's display name; null when it declares none.
56 |
# File 'lib/anthropic/models/beta/organization/plugins/beta_plugin_version.rb', line 56 required :display_name, String, nil?: true |
#id ⇒ String
The version's ID.
14 |
# File 'lib/anthropic/models/beta/organization/plugins/beta_plugin_version.rb', line 14 required :id, String |
#manifest_version ⇒ String?
The version string the manifest declares; null when it declares none.
62 |
# File 'lib/anthropic/models/beta/organization/plugins/beta_plugin_version.rb', line 62 required :manifest_version, String, nil?: true |
#plugin_id ⇒ String
The Plugin's ID.
68 |
# File 'lib/anthropic/models/beta/organization/plugins/beta_plugin_version.rb', line 68 required :plugin_id, String |
#reach ⇒ Symbol, ...
How far the version reaches: remote, privileged or contained, as on the
Plugin; null when not classifiable.
75 76 77 78 79 |
# File 'lib/anthropic/models/beta/organization/plugins/beta_plugin_version.rb', line 75 required :reach, enum: -> { Anthropic::Beta::Organization::Plugins::BetaPluginVersion::Reach }, nil?: true |
#release_notes ⇒ String?
As supplied with the upload; null when none were supplied.
85 |
# File 'lib/anthropic/models/beta/organization/plugins/beta_plugin_version.rb', line 85 required :release_notes, String, nil?: true |
#type ⇒ Symbol, :plugin_version
Always plugin_version.
91 |
# File 'lib/anthropic/models/beta/organization/plugins/beta_plugin_version.rb', line 91 required :type, const: :plugin_version |
Instance Method Details
#to_hash ⇒ {
62 |
# File 'sig/anthropic/models/beta/organization/plugins/beta_plugin_version.rbs', line 62
def to_hash: -> {
|