Class: Anthropic::Models::Beta::Organization::BetaPluginMarketplace
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::BetaPluginMarketplace
- Defined in:
- lib/anthropic/models/beta/organization/beta_plugin_marketplace.rb,
sig/anthropic/models/beta/organization/beta_plugin_marketplace.rbs
Overview
Defined Under Namespace
Modules: DefaultInstallationPreference, Owner, Source, SyncStatus
Instance Attribute Summary collapse
-
#created_at ⇒ Time
RFC 3339.
-
#default_installation_preference ⇒ Symbol, ...
Organization plugin marketplace: the organization-wide setting every Plugin in it with no setting of its own gets.
-
#id ⇒ String
The plugin marketplace's ID, prefixed
marketplace_. -
#last_sync_ended_at ⇒ Time?
RFC 3339.
-
#last_sync_read_sha ⇒ String?
The commit the last synchronization attempt that reached the repository read, whether or not its content was then accepted (see
sync_status); an attempt that endsfailed_authorfailed_transientleaves it unchanged. -
#name ⇒ String
Fixed for the plugin marketplace's lifetime.
-
#owner ⇒ Anthropic::Models::Beta::Organization::BetaPluginOwnerOrganization, Anthropic::Models::Beta::Organization::BetaPluginOwnerUser
The organization, or the member whose personal plugin marketplace it is.
-
#source ⇒ Symbol, Anthropic::Models::Beta::Organization::BetaPluginMarketplace::Source
Where the plugin marketplace's Plugins come from:
manualwhen they are uploaded;github,gitlaborpublic_gitwhen they are synchronized from the Git repository the owner connected, into which nothing can be uploaded;directoryis Anthropic's own catalog, which this API does not list. -
#sync_status ⇒ Symbol, ...
Outcome of the plugin marketplace's most recent synchronization: one of
success,in_progress,failed_content,failed_transient,failed_auth,failed_limits; a value this API does not yet name is returned as stored. -
#type ⇒ Symbol, :plugin_marketplace
Always
plugin_marketplace.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id:, created_at:, default_installation_preference:, last_sync_ended_at:, last_sync_read_sha:, name:, owner:, source:, sync_status:, type: :plugin_marketplace) ⇒ void
constructor
Some parameter documentations has been truncated, see BetaPluginMarketplace 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:, created_at:, default_installation_preference:, last_sync_ended_at:, last_sync_read_sha:, name:, owner:, source:, sync_status:, type: :plugin_marketplace) ⇒ void
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::BetaPluginMarketplace for more details.
|
|
# File 'lib/anthropic/models/beta/organization/beta_plugin_marketplace.rb', line 93
|
Instance Attribute Details
#created_at ⇒ Time
RFC 3339.
19 |
# File 'lib/anthropic/models/beta/organization/beta_plugin_marketplace.rb', line 19 required :created_at, Time |
#default_installation_preference ⇒ Symbol, ...
Organization plugin marketplace: the organization-wide setting every Plugin in
it with no setting of its own gets. Null for a member's personal plugin
marketplace. One of required, auto_install, available, not_available; a
value this API does not yet name is returned as stored.
28 29 30 31 32 |
# File 'lib/anthropic/models/beta/organization/beta_plugin_marketplace.rb', line 28 required :default_installation_preference, enum: -> { Anthropic::Beta::Organization::BetaPluginMarketplace::DefaultInstallationPreference }, nil?: true |
#id ⇒ String
The plugin marketplace's ID, prefixed marketplace_.
13 |
# File 'lib/anthropic/models/beta/organization/beta_plugin_marketplace.rb', line 13 required :id, String |
#last_sync_ended_at ⇒ Time?
RFC 3339. When the most recent synchronization attempt to finish did so, whatever its outcome; for a repository plugin marketplace no synchronization has run on yet, when it was created. Null for a plugin marketplace that is not synchronized from a repository.
41 |
# File 'lib/anthropic/models/beta/organization/beta_plugin_marketplace.rb', line 41 required :last_sync_ended_at, Time, nil?: true |
#last_sync_read_sha ⇒ String?
The commit the last synchronization attempt that reached the repository read,
whether or not its content was then accepted (see sync_status); an attempt
that ends failed_auth or failed_transient leaves it unchanged. Null until an
attempt has first read the repository, and for a plugin marketplace that is not
synchronized from a repository.
51 |
# File 'lib/anthropic/models/beta/organization/beta_plugin_marketplace.rb', line 51 required :last_sync_read_sha, String, nil?: true |
#name ⇒ String
Fixed for the plugin marketplace's lifetime.
57 |
# File 'lib/anthropic/models/beta/organization/beta_plugin_marketplace.rb', line 57 required :name, String |
#owner ⇒ Anthropic::Models::Beta::Organization::BetaPluginOwnerOrganization, Anthropic::Models::Beta::Organization::BetaPluginOwnerUser
The organization, or the member whose personal plugin marketplace it is.
63 |
# File 'lib/anthropic/models/beta/organization/beta_plugin_marketplace.rb', line 63 required :owner, union: -> { Anthropic::Beta::Organization::BetaPluginMarketplace::Owner } |
#source ⇒ Symbol, Anthropic::Models::Beta::Organization::BetaPluginMarketplace::Source
Where the plugin marketplace's Plugins come from: manual when they are
uploaded; github, gitlab or public_git when they are synchronized from the
Git repository the owner connected, into which nothing can be uploaded;
directory is Anthropic's own catalog, which this API does not list. A value
this API does not yet name is returned as stored.
73 |
# File 'lib/anthropic/models/beta/organization/beta_plugin_marketplace.rb', line 73 required :source, enum: -> { Anthropic::Beta::Organization::BetaPluginMarketplace::Source } |
#sync_status ⇒ Symbol, ...
Outcome of the plugin marketplace's most recent synchronization: one of
success, in_progress, failed_content, failed_transient, failed_auth,
failed_limits; a value this API does not yet name is returned as stored. Null
until a synchronization is first attempted — so always for a manual plugin
marketplace.
83 84 85 |
# File 'lib/anthropic/models/beta/organization/beta_plugin_marketplace.rb', line 83 required :sync_status, enum: -> { Anthropic::Beta::Organization::BetaPluginMarketplace::SyncStatus }, nil?: true |
#type ⇒ Symbol, :plugin_marketplace
Always plugin_marketplace.
91 |
# File 'lib/anthropic/models/beta/organization/beta_plugin_marketplace.rb', line 91 required :type, const: :plugin_marketplace |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/anthropic/models/beta/organization/beta_plugin_marketplace.rb', line 131
|
Instance Method Details
#to_hash ⇒ {
53 |
# File 'sig/anthropic/models/beta/organization/beta_plugin_marketplace.rbs', line 53 def to_hash: -> { |