Class BetaManagedAgentsUserActor
-
- All Implemented Interfaces:
public final class BetaManagedAgentsUserActorA human user, for example acting through the Anthropic Console.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsUserActor.BuilderA builder for BetaManagedAgentsUserActor.
-
Method Summary
Modifier and Type Method Description final StringuserId()ID of the user (a user_...value).final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("user_actor")final JsonField<String>_userId()Returns the raw JSON value of userId. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsUserActor.BuildertoBuilder()final BetaManagedAgentsUserActorvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsUserActor.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsUserActor. final static BetaManagedAgentsUserActorof(String userId)Returns an immutable instance of BetaManagedAgentsUserActor with the required userId set to the given value. -
-
Method Detail
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("user_actor")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_userId
final JsonField<String> _userId()
Returns the raw JSON value of userId.
Unlike userId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsUserActor.Builder toBuilder()
-
validate
final BetaManagedAgentsUserActor 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 BetaManagedAgentsUserActor.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsUserActor.
The following fields are required:
.userId()
-
of
final static BetaManagedAgentsUserActor of(String userId)
Returns an immutable instance of BetaManagedAgentsUserActor with the required userId set to the given value.
-
-
-
-