Module: Anthropic::Models::Beta::Organization::Plugins::BetaDeletedPluginInstallationSetting::Target
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/anthropic/models/beta/organization/plugins/beta_deleted_plugin_installation_setting.rb,
sig/anthropic/models/beta/organization/plugins/beta_deleted_plugin_installation_setting.rbs
Overview
Whose setting was removed.
Defined Under Namespace
Modules: Type
Class Method Summary collapse
-
.new(type:, **args) ⇒ Anthropic::Models::Beta::Organization::BetaPluginTargetOrganization, ...
Creates a new instance of the variant class whose
typematches the given value, passing the remaining arguments to its constructor. - .values ⇒ Array<Symbol>
- .variants ⇒ Array(Anthropic::Models::Beta::Organization::BetaPluginTargetOrganization, Anthropic::Models::Beta::Organization::BetaPluginTargetRBACGroup, Anthropic::Models::Beta::Organization::BetaPluginTargetOrganizationMember)
Instance Method Summary collapse
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Class Method Details
.new(type:, **args) ⇒ Anthropic::Models::Beta::Organization::BetaPluginTargetOrganization, ...
Creates a new instance of the variant class whose type matches the given
value, passing the remaining arguments to its constructor.
80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/anthropic/models/beta/organization/plugins/beta_deleted_plugin_installation_setting.rb', line 80 def self.new(type:, **args) case type.to_sym when :organization Anthropic::Beta::Organization::BetaPluginTargetOrganization.new(**args) when :rbac_group Anthropic::Beta::Organization::BetaPluginTargetRBACGroup.new(**args) when :organization_member Anthropic::Beta::Organization::BetaPluginTargetOrganizationMember.new(**args) else raise ArgumentError, "unknown type: #{type}" end end |
.values ⇒ Array<Symbol>
|
|
# File 'lib/anthropic/models/beta/organization/plugins/beta_deleted_plugin_installation_setting.rb', line 60
|
.variants ⇒ Array(Anthropic::Models::Beta::Organization::BetaPluginTargetOrganization, Anthropic::Models::Beta::Organization::BetaPluginTargetRBACGroup, Anthropic::Models::Beta::Organization::BetaPluginTargetOrganizationMember)
|
|
# File 'lib/anthropic/models/beta/organization/plugins/beta_deleted_plugin_installation_setting.rb', line 64
|
Instance Method Details
#self?.variants ⇒ ::Array[Anthropic::Models::Beta::Organization::Plugins::BetaDeletedPluginInstallationSetting::target]
52 |
# File 'sig/anthropic/models/beta/organization/plugins/beta_deleted_plugin_installation_setting.rbs', line 52
def self?.variants: -> ::Array[Anthropic::Models::Beta::Organization::Plugins::BetaDeletedPluginInstallationSetting::target]
|