Class: Anthropic::Models::UserProfileEfsFeature

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/user_profile_efs_feature.rb,
sig/anthropic/models/user_profile_efs_feature.rbs

Defined Under Namespace

Modules: Status

Instance Attribute Summary collapse

Instance Method Summary collapse

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(status:) ⇒ UserProfileEfsFeature

One feature of Enterprise Frontier Safeguards.

Some parameter documentations has been truncated, see Anthropic::Models::UserProfileEfsFeature for more details.

Parameters:



# File 'lib/anthropic/models/user_profile_efs_feature.rb', line 14

Instance Attribute Details

#status ⇒ Symbol, Anthropic::Models::UserProfileEfsFeature::Status

active when Anthropic has approved the entity the profile represents to use the feature, otherwise inactive. active does not mean that the feature is set up or switched on, which is a separate step.

Parameters:

  • value (Anthropic::Models::UserProfileEfsFeature::status)

Returns:



12
# File 'lib/anthropic/models/user_profile_efs_feature.rb', line 12

required :status, enum: -> { Anthropic::UserProfileEfsFeature::Status }

Instance Method Details

#to_hash ⇒ { status: Anthropic::Models::UserProfileEfsFeature::status }

Returns:

  • ({ status: Anthropic::Models::UserProfileEfsFeature::status })


13
14
15
# File 'sig/anthropic/models/user_profile_efs_feature.rbs', line 13

def to_hash: -> {
  status: Anthropic::Models::UserProfileEfsFeature::status
}