Class: Anthropic::Models::Beta::Organization::BetaPlugin
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::BetaPlugin
- Defined in:
- lib/anthropic/models/beta/organization/beta_plugin.rb,
sig/anthropic/models/beta/organization/beta_plugin.rbs
Overview
Defined Under Namespace
Modules: CreatedBy, OrganizationInstallationPreference, Owner, Reach
Instance Attribute Summary collapse
-
#components ⇒ Array<Anthropic::Models::Beta::Organization::BetaPluginComponent>?
What the served version contains; null when not enumerated.
-
#content_scan ⇒ Anthropic::Models::Beta::Organization::BetaPluginContentScan?
The served version's content scan; null when it has not been scanned.
-
#created_at ⇒ Time
RFC 3339.
-
#created_by ⇒ Anthropic::Models::Beta::Organization::BetaPluginUserActor, ...
Who created the Plugin; null when no creator is recorded.
-
#description ⇒ String?
The served version's description.
-
#display_name ⇒ String?
The served version's display name.
-
#id ⇒ String
The Plugin's ID.
-
#latest_version_id ⇒ String
The newest version.
-
#manifest_version ⇒ String?
The version string the served version's manifest declares.
-
#marketplace_id ⇒ String
The ID of the plugin marketplace the Plugin lives in.
-
#name ⇒ String
Lowercase identifier, unique within its plugin marketplace.
-
#organization_installation_preference ⇒ Symbol, ...
Organization-owned Plugin: the organization-wide installation setting every member gets unless an RBAC Group they belong to holds its own — the Plugin's own setting, or its plugin marketplace's default.
-
#organization_installation_preference_inherited ⇒ Boolean?
Organization-owned Plugin: true while it has no organization-wide setting of its own and
organization_installation_preferenceis its plugin marketplace's default. -
#owner ⇒ Anthropic::Models::Beta::Organization::BetaPluginOwnerOrganization, Anthropic::Models::Beta::Organization::BetaPluginOwnerUser
Who owns the Plugin: the organization, or the member whose personal plugin marketplace it lives in.
-
#reach ⇒ Symbol, ...
How far the served version reaches:
remotewhen it declares an MCP server or a CLI,privilegedwhen it declares a hook, monitor, language server or settings but nothing remote,containedotherwise; null when not classifiable. -
#served_version_id ⇒ String
The version claude.ai serves to members.
-
#served_version_pinned ⇒ Boolean
False while the served version follows each new version; true once it has been pinned to one.
-
#type ⇒ Symbol, :plugin
Always
plugin. -
#updated_at ⇒ Time
RFC 3339.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id:, components:, content_scan:, created_at:, created_by:, description:, display_name:, latest_version_id:, manifest_version:, marketplace_id:, name:, organization_installation_preference:, organization_installation_preference_inherited:, owner:, reach:, served_version_id:, served_version_pinned:, updated_at:, type: :plugin) ⇒ void
constructor
Some parameter documentations has been truncated, see BetaPlugin 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:, latest_version_id:, manifest_version:, marketplace_id:, name:, organization_installation_preference:, organization_installation_preference_inherited:, owner:, reach:, served_version_id:, served_version_pinned:, updated_at:, type: :plugin) ⇒ void
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::BetaPlugin for more details.
|
|
# File 'lib/anthropic/models/beta/organization/beta_plugin.rb', line 144
|
Instance Attribute Details
#components ⇒ Array<Anthropic::Models::Beta::Organization::BetaPluginComponent>?
What the served version contains; null when not enumerated.
19 20 21 22 23 |
# File 'lib/anthropic/models/beta/organization/beta_plugin.rb', line 19 required :components, -> { Anthropic::Internal::Type::ArrayOf[Anthropic::Beta::Organization::BetaPluginComponent] }, nil?: true |
#content_scan ⇒ Anthropic::Models::Beta::Organization::BetaPluginContentScan?
The served version's content scan; null when it has not been scanned.
29 |
# File 'lib/anthropic/models/beta/organization/beta_plugin.rb', line 29 required :content_scan, -> { Anthropic::Beta::Organization::BetaPluginContentScan }, nil?: true |
#created_at ⇒ Time
RFC 3339.
35 |
# File 'lib/anthropic/models/beta/organization/beta_plugin.rb', line 35 required :created_at, Time |
#created_by ⇒ Anthropic::Models::Beta::Organization::BetaPluginUserActor, ...
Who created the Plugin; null when no creator is recorded.
41 |
# File 'lib/anthropic/models/beta/organization/beta_plugin.rb', line 41 required :created_by, union: -> { Anthropic::Beta::Organization::BetaPlugin::CreatedBy }, nil?: true |
#description ⇒ String?
The served version's description.
47 |
# File 'lib/anthropic/models/beta/organization/beta_plugin.rb', line 47 required :description, String, nil?: true |
#display_name ⇒ String?
The served version's display name.
53 |
# File 'lib/anthropic/models/beta/organization/beta_plugin.rb', line 53 required :display_name, String, nil?: true |
#id ⇒ String
The Plugin's ID.
13 |
# File 'lib/anthropic/models/beta/organization/beta_plugin.rb', line 13 required :id, String |
#latest_version_id ⇒ String
The newest version.
59 |
# File 'lib/anthropic/models/beta/organization/beta_plugin.rb', line 59 required :latest_version_id, String |
#manifest_version ⇒ String?
The version string the served version's manifest declares.
65 |
# File 'lib/anthropic/models/beta/organization/beta_plugin.rb', line 65 required :manifest_version, String, nil?: true |
#marketplace_id ⇒ String
The ID of the plugin marketplace the Plugin lives in.
71 |
# File 'lib/anthropic/models/beta/organization/beta_plugin.rb', line 71 required :marketplace_id, String |
#name ⇒ String
Lowercase identifier, unique within its plugin marketplace. Fixed for an
organization-owned Plugin's lifetime; a member-owned Plugin's changes when its
owner renames it in claude.ai, while its id stays the same.
79 |
# File 'lib/anthropic/models/beta/organization/beta_plugin.rb', line 79 required :name, String |
#organization_installation_preference ⇒ Symbol, ...
Organization-owned Plugin: the organization-wide installation setting every
member gets unless an RBAC Group they belong to holds its own — the Plugin's own
setting, or its plugin marketplace's default. Null for a member-owned Plugin,
which has shares instead. One of required, auto_install, available,
not_available; a value this API does not yet name is returned as stored.
89 90 91 |
# File 'lib/anthropic/models/beta/organization/beta_plugin.rb', line 89 required :organization_installation_preference, enum: -> { Anthropic::Beta::Organization::BetaPlugin::OrganizationInstallationPreference }, nil?: true |
#organization_installation_preference_inherited ⇒ Boolean?
Organization-owned Plugin: true while it has no organization-wide setting of its
own and organization_installation_preference is its plugin marketplace's
default. Null for a member-owned Plugin.
99 100 101 |
# File 'lib/anthropic/models/beta/organization/beta_plugin.rb', line 99 required :organization_installation_preference_inherited, Anthropic::Internal::Type::Boolean, nil?: true |
#owner ⇒ Anthropic::Models::Beta::Organization::BetaPluginOwnerOrganization, Anthropic::Models::Beta::Organization::BetaPluginOwnerUser
Who owns the Plugin: the organization, or the member whose personal plugin marketplace it lives in.
108 |
# File 'lib/anthropic/models/beta/organization/beta_plugin.rb', line 108 required :owner, union: -> { Anthropic::Beta::Organization::BetaPlugin::Owner } |
#reach ⇒ Symbol, ...
How far the served version reaches: remote when it declares an MCP server or a
CLI, privileged when it declares a hook, monitor, language server or settings
but nothing remote, contained otherwise; null when not classifiable.
116 |
# File 'lib/anthropic/models/beta/organization/beta_plugin.rb', line 116 required :reach, enum: -> { Anthropic::Beta::Organization::BetaPlugin::Reach }, nil?: true |
#served_version_id ⇒ String
The version claude.ai serves to members.
122 |
# File 'lib/anthropic/models/beta/organization/beta_plugin.rb', line 122 required :served_version_id, String |
#served_version_pinned ⇒ Boolean
False while the served version follows each new version; true once it has been pinned to one.
129 |
# File 'lib/anthropic/models/beta/organization/beta_plugin.rb', line 129 required :served_version_pinned, Anthropic::Internal::Type::Boolean |
#type ⇒ Symbol, :plugin
Always plugin.
135 |
# File 'lib/anthropic/models/beta/organization/beta_plugin.rb', line 135 required :type, const: :plugin |
#updated_at ⇒ Time
RFC 3339. Moves on a new version and on a served-version change; a change to the Plugin's installation settings or shares does not move it.
142 |
# File 'lib/anthropic/models/beta/organization/beta_plugin.rb', line 142 required :updated_at, Time |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/anthropic/models/beta/organization/beta_plugin.rb', line 256
|
Instance Method Details
#to_hash ⇒ {
89 |
# File 'sig/anthropic/models/beta/organization/beta_plugin.rbs', line 89 def to_hash: -> { |