Package com.anthropic.models.beta.vaults
Class VaultUpdateParams.Body
-
- All Implemented Interfaces:
public final class VaultUpdateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classVaultUpdateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Optional<String>displayName()Updated human-readable name for the vault. final Optional<VaultUpdateParams.Metadata>metadata()Metadata patch. final JsonField<String>_displayName()Returns the raw JSON value of displayName. final JsonField<VaultUpdateParams.Metadata>_metadata()Returns the raw JSON value of metadata. final Map<String, JsonValue>_additionalProperties()final VaultUpdateParams.Body.BuildertoBuilder()final VaultUpdateParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static VaultUpdateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
displayName
final Optional<String> displayName()
Updated human-readable name for the vault. 1-255 characters.
-
metadata
final Optional<VaultUpdateParams.Metadata> metadata()
Metadata patch. Set a key to a string to upsert it, or to null to delete it. Omitted keys are preserved.
-
_displayName
final JsonField<String> _displayName()
Returns the raw JSON value of displayName.
Unlike displayName, this method doesn't throw if the JSON field has an unexpected type.
-
_metadata
final JsonField<VaultUpdateParams.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final VaultUpdateParams.Body.Builder toBuilder()
-
validate
final VaultUpdateParams.Body 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 VaultUpdateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
-
-
-
-