Package com.braintrustdata.api.models
Class EnvVarCreateParams.Body
-
- All Implemented Interfaces:
public final class EnvVarCreateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEnvVarCreateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Stringname()The name of the environment variable final StringobjectId()The id of the object the environment variable is scoped for final EnvVarCreateParams.ObjectTypeobjectType()The type of the object the environment variable is scoped for final Optional<String>value()The value of the environment variable. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_objectId()Returns the raw JSON value of objectId. final JsonField<EnvVarCreateParams.ObjectType>_objectType()Returns the raw JSON value of objectType. final JsonField<String>_value()Returns the raw JSON value of value. final Map<String, JsonValue>_additionalProperties()final EnvVarCreateParams.Body.BuildertoBuilder()final EnvVarCreateParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static EnvVarCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
objectType
final EnvVarCreateParams.ObjectType objectType()
The type of the object the environment variable is scoped for
-
value
final Optional<String> value()
The value of the environment variable. Will be encrypted at rest.
-
_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.
-
_objectId
final JsonField<String> _objectId()
Returns the raw JSON value of objectId.
Unlike objectId, this method doesn't throw if the JSON field has an unexpected type.
-
_objectType
final JsonField<EnvVarCreateParams.ObjectType> _objectType()
Returns the raw JSON value of objectType.
Unlike objectType, this method doesn't throw if the JSON field has an unexpected type.
-
_value
final JsonField<String> _value()
Returns the raw JSON value of value.
Unlike value, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final EnvVarCreateParams.Body.Builder toBuilder()
-
validate
final EnvVarCreateParams.Body validate()
-
builder
final static EnvVarCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.name() .objectId() .objectType()
-
-
-
-