Class AiSecretUpdateParams
-
- All Implemented Interfaces:
-
com.braintrustdata.api.core.Params
public final class AiSecretUpdateParams implements Params
Partially update an ai_secret object. Specify the fields to update in the payload. Any object-type fields will be deep-merged with existing content. Currently we do not support removing fields or setting them to null.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAiSecretUpdateParams.BuilderA builder for AiSecretUpdateParams.
public final classAiSecretUpdateParams.Bodypublic final classAiSecretUpdateParams.Metadata
-
Method Summary
Modifier and Type Method Description final StringaiSecretId()AiSecret id final Optional<AiSecretUpdateParams.Metadata>metadata()final Optional<String>name()Name of the AI secret final Optional<String>secret()final Optional<String>type()final JsonField<AiSecretUpdateParams.Metadata>_metadata()Returns the raw JSON value of metadata. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_secret()Returns the raw JSON value of secret. final JsonField<String>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()final QueryParams_additionalQueryParams()final AiSecretUpdateParams.BuildertoBuilder()final AiSecretUpdateParams.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 AiSecretUpdateParams.Builderbuilder()Returns a mutable builder for constructing an instance of AiSecretUpdateParams. -
-
Method Detail
-
aiSecretId
final String aiSecretId()
AiSecret id
-
metadata
final Optional<AiSecretUpdateParams.Metadata> metadata()
-
_metadata
final JsonField<AiSecretUpdateParams.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.
-
_secret
final JsonField<String> _secret()
Returns the raw JSON value of secret.
Unlike secret, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<String> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
toBuilder
final AiSecretUpdateParams.Builder toBuilder()
-
_body
final AiSecretUpdateParams.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.
-
builder
final static AiSecretUpdateParams.Builder builder()
Returns a mutable builder for constructing an instance of AiSecretUpdateParams.
The following fields are required:
.aiSecretId()
-
-
-
-