Class: Anthropic::Models::UserProfileCyberTier
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::UserProfileCyberTier
- Defined in:
- lib/anthropic/models/user_profile_cyber_tier.rb,
sig/anthropic/models/user_profile_cyber_tier.rbs
Defined Under Namespace
Modules: Status
Instance Attribute Summary collapse
-
#status ⇒ Symbol, Anthropic::Models::UserProfileCyberTier::Status
activewhen the tier applies to the profile, otherwiseinactive.
Instance Method Summary collapse
-
#initialize(status:) ⇒ UserProfileCyberTier
constructor
One tier of the Cyber Verification Program.
- #to_hash ⇒ { status: Anthropic::Models::UserProfileCyberTier::status }
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:) ⇒ UserProfileCyberTier
One tier of the Cyber Verification Program.
Some parameter documentations has been truncated, see Anthropic::Models::UserProfileCyberTier for more details.
|
|
# File 'lib/anthropic/models/user_profile_cyber_tier.rb', line 14
|
Instance Attribute Details
#status ⇒ Symbol, Anthropic::Models::UserProfileCyberTier::Status
active when the tier applies to the profile, otherwise inactive. The
response does not say why a tier is inactive: it can be in review, declined,
withdrawn, never applied for, or approved but not applied to this profile.
12 |
# File 'lib/anthropic/models/user_profile_cyber_tier.rb', line 12 required :status, enum: -> { Anthropic::UserProfileCyberTier::Status } |
Instance Method Details
#to_hash ⇒ { status: Anthropic::Models::UserProfileCyberTier::status }
13 14 15 |
# File 'sig/anthropic/models/user_profile_cyber_tier.rbs', line 13
def to_hash: -> {
status: Anthropic::Models::UserProfileCyberTier::status
}
|