Package com.anthropic.models
Class Metadata
-
- All Implemented Interfaces:
public final class Metadata
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMetadata.BuilderA builder for Metadata.
-
Method Summary
Modifier and Type Method Description final Optional<String>userId()An external identifier for the user who is associated with the request. final JsonField<String>_userId()An external identifier for the user who is associated with the request. final Map<String, JsonValue>_additionalProperties()final Metadatavalidate()final Metadata.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Metadata.Builderbuilder()-
-
Method Detail
-
userId
final Optional<String> userId()
An external identifier for the user who is associated with the request.
This should be a uuid, hash value, or other opaque identifier. Anthropic may use this id to help detect abuse. Do not include any identifying information such as name, email address, or phone number.
-
_userId
final JsonField<String> _userId()
An external identifier for the user who is associated with the request.
This should be a uuid, hash value, or other opaque identifier. Anthropic may use this id to help detect abuse. Do not include any identifying information such as name, email address, or phone number.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Metadata.Builder toBuilder()
-
builder
final static Metadata.Builder builder()
-
-
-
-