Class MemoryStoreUpdateParams
-
- All Implemented Interfaces:
-
com.anthropic.core.Params
public final class MemoryStoreUpdateParams implements Params
Update a memory store
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMemoryStoreUpdateParams.BuilderA builder for MemoryStoreUpdateParams.
public final classMemoryStoreUpdateParams.Bodypublic final classMemoryStoreUpdateParams.MetadataMetadata patch. Set a key to a string to upsert it, or to null to delete it. Omit the field to preserve. The stored bag is limited to 16 keys (up to 64 chars each) with values up to 512 chars.
-
Method Summary
Modifier and Type Method Description final Optional<String>memoryStoreId()final Optional<List<AnthropicBeta>>betas()Optional header to specify the beta version(s) you want to use. final Optional<String>description()New description for the store, up to 1024 characters. final Optional<MemoryStoreUpdateParams.Metadata>metadata()Metadata patch. final Optional<String>name()New human-readable name for the store. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<MemoryStoreUpdateParams.Metadata>_metadata()Returns the raw JSON value of metadata. final JsonField<String>_name()Returns the raw JSON value of name. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final MemoryStoreUpdateParams.BuildertoBuilder()final MemoryStoreUpdateParams.Body_body()final String_pathParam(Integer index)Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static MemoryStoreUpdateParamsnone()final static MemoryStoreUpdateParams.Builderbuilder()Returns a mutable builder for constructing an instance of MemoryStoreUpdateParams. -
-
Method Detail
-
memoryStoreId
final Optional<String> memoryStoreId()
-
betas
final Optional<List<AnthropicBeta>> betas()
Optional header to specify the beta version(s) you want to use.
-
description
final Optional<String> description()
New description for the store, up to 1024 characters. Pass an empty string to clear it.
-
metadata
final Optional<MemoryStoreUpdateParams.Metadata> metadata()
Metadata patch. Set a key to a string to upsert it, or to null to delete it. Omit the field to preserve. The stored bag is limited to 16 keys (up to 64 chars each) with values up to 512 chars.
-
name
final Optional<String> name()
New human-readable name for the store. 1–255 characters; no control characters. Renaming changes the slug used for the store's
mount_pathin sessions created after the update.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_metadata
final JsonField<MemoryStoreUpdateParams.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final MemoryStoreUpdateParams.Builder toBuilder()
-
_body
final MemoryStoreUpdateParams.Body _body()
-
_pathParam
final String _pathParam(Integer index)
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
none
final static MemoryStoreUpdateParams none()
-
builder
final static MemoryStoreUpdateParams.Builder builder()
Returns a mutable builder for constructing an instance of MemoryStoreUpdateParams.
-
-
-
-