Class: Anthropic::Models::UserProfilePrograms
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::UserProfilePrograms
- Defined in:
- lib/anthropic/models/user_profile_programs.rb,
sig/anthropic/models/user_profile_programs.rbs
Instance Attribute Summary collapse
-
#cyber ⇒ Anthropic::Models::UserProfileCyberProgram?
The profile's standing in the Cyber Verification Program.
-
#efs ⇒ Anthropic::Models::UserProfileEfsProgram?
The profile's standing in Enterprise Frontier Safeguards.
Instance Method Summary collapse
-
#initialize(cyber:, efs:) ⇒ UserProfilePrograms
constructor
A user profile's standing in each program.
- #to_hash ⇒ { cyber: Anthropic::UserProfileCyberProgram?, efs: Anthropic::UserProfileEfsProgram? }
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(cyber:, efs:) ⇒ UserProfilePrograms
A user profile's standing in each program. A program is a set of capabilities or
exemptions that Anthropic approves for the entity the profile represents. A
program reads null when the profile has no status in it, when the caller's
organization is not entitled to read programs, or when the response does not
report that program. Retrieving the profile reports every program. Anthropic may
add programs; ignore a key you do not recognize.
Some parameter documentations has been truncated, see Anthropic::Models::UserProfilePrograms for more details.
|
|
# File 'lib/anthropic/models/user_profile_programs.rb', line 25
|
Instance Attribute Details
#cyber ⇒ Anthropic::Models::UserProfileCyberProgram?
The profile's standing in the Cyber Verification Program. null when the
profile has no status in it. Only retrieving the profile gives the full answer:
a list or update response can show null, or a status other than active, for
a profile that reads active when retrieved.
13 |
# File 'lib/anthropic/models/user_profile_programs.rb', line 13 required :cyber, -> { Anthropic::UserProfileCyberProgram }, nil?: true |
#efs ⇒ Anthropic::Models::UserProfileEfsProgram?
The profile's standing in Enterprise Frontier Safeguards. null unless the
platform's attestation for the program is in place on this profile, or the
entity it represents has applied to the program. A list of user profiles does
not report this program: there it reads null for every profile, so retrieve
the profile to read it.
23 |
# File 'lib/anthropic/models/user_profile_programs.rb', line 23 required :efs, -> { Anthropic::UserProfileEfsProgram }, nil?: true |
Instance Method Details
#to_hash ⇒ { cyber: Anthropic::UserProfileCyberProgram?, efs: Anthropic::UserProfileEfsProgram? }
19 20 21 22 |
# File 'sig/anthropic/models/user_profile_programs.rbs', line 19
def to_hash: -> {
cyber: Anthropic::UserProfileCyberProgram?,
efs: Anthropic::UserProfileEfsProgram?
}
|