Class UserProfilePrograms
-
- All Implemented Interfaces:
public final class UserProfileProgramsA 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
nullwhen 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUserProfilePrograms.BuilderA builder for UserProfilePrograms.
-
Method Summary
Modifier and Type Method Description final Optional<UserProfileCyberProgram>cyber()The profile's standing in the Cyber Verification Program. final Optional<UserProfileEfsProgram>efs()The profile's standing in Enterprise Frontier Safeguards. final JsonField<UserProfileCyberProgram>_cyber()Returns the raw JSON value of cyber. final JsonField<UserProfileEfsProgram>_efs()Returns the raw JSON value of efs. final Map<String, JsonValue>_additionalProperties()final UserProfilePrograms.BuildertoBuilder()final UserProfileProgramsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static UserProfilePrograms.Builderbuilder()Returns a mutable builder for constructing an instance of UserProfilePrograms. -
-
Method Detail
-
cyber
final Optional<UserProfileCyberProgram> cyber()
The profile's standing in the Cyber Verification Program.
nullwhen the profile has no status in it. Only retrieving the profile gives the full answer: a list or update response can shownull, or a status other thanactive, for a profile that readsactivewhen retrieved.
-
efs
final Optional<UserProfileEfsProgram> efs()
The profile's standing in Enterprise Frontier Safeguards.
nullunless 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 readsnullfor every profile, so retrieve the profile to read it.
-
_cyber
final JsonField<UserProfileCyberProgram> _cyber()
Returns the raw JSON value of cyber.
Unlike cyber, this method doesn't throw if the JSON field has an unexpected type.
-
_efs
final JsonField<UserProfileEfsProgram> _efs()
Returns the raw JSON value of efs.
Unlike efs, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final UserProfilePrograms.Builder toBuilder()
-
validate
final UserProfilePrograms validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static UserProfilePrograms.Builder builder()
Returns a mutable builder for constructing an instance of UserProfilePrograms.
The following fields are required:
.cyber() .efs()
-
-
-
-