Class: Anthropic::Models::Organization::APIKeyOrganizationScope
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Organization::APIKeyOrganizationScope
- Defined in:
- lib/anthropic/models/organization/api_key_organization_scope.rb,
sig/anthropic/models/organization/api_key_organization_scope.rbs
Instance Attribute Summary collapse
-
#type ⇒ Symbol, :organization
Scope type.
Instance Method Summary collapse
-
#initialize(type: :organization) ⇒ APIKeyOrganizationScope
constructor
Some parameter documentations has been truncated, see APIKeyOrganizationScope for more details.
- #to_hash ⇒ { type: :organization }
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(type: :organization) ⇒ APIKeyOrganizationScope
Some parameter documentations has been truncated, see Anthropic::Models::Organization::APIKeyOrganizationScope for more details.
|
|
# File 'lib/anthropic/models/organization/api_key_organization_scope.rb', line 14
|
Instance Attribute Details
#type ⇒ Symbol, :organization
Scope type. Always "organization": the API key has no Workspace. Only a
principal-bound API key can have this scope.
12 |
# File 'lib/anthropic/models/organization/api_key_organization_scope.rb', line 12 required :type, const: :organization |
Instance Method Details
#to_hash ⇒ { type: :organization }
11 |
# File 'sig/anthropic/models/organization/api_key_organization_scope.rbs', line 11
def to_hash: -> { type: :organization }
|