Package com.braintrustdata.api.models
Class AiSecretUpdateParams.Body
-
- All Implemented Interfaces:
public final class AiSecretUpdateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAiSecretUpdateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description 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>_additionalProperties()final AiSecretUpdateParams.Body.BuildertoBuilder()final AiSecretUpdateParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AiSecretUpdateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final AiSecretUpdateParams.Body.Builder toBuilder()
-
validate
final AiSecretUpdateParams.Body validate()
-
builder
final static AiSecretUpdateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
-
-
-
-