Package com.braintrustdata.api.models
Class ProjectTagCreateParams.Body
-
- All Implemented Interfaces:
public final class ProjectTagCreateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classProjectTagCreateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Stringname()Name of the project tag final StringprojectId()Unique identifier for the project that the project tag belongs under final Optional<String>color()Color of the tag for the UI final Optional<String>description()Textual description of the project tag final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_projectId()Returns the raw JSON value of projectId. final JsonField<String>_color()Returns the raw JSON value of color. final JsonField<String>_description()Returns the raw JSON value of description. final Map<String, JsonValue>_additionalProperties()final ProjectTagCreateParams.Body.BuildertoBuilder()final ProjectTagCreateParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ProjectTagCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
projectId
final String projectId()
Unique identifier for the project that the project tag belongs under
-
description
final Optional<String> description()
Textual description of the project tag
-
_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.
-
_projectId
final JsonField<String> _projectId()
Returns the raw JSON value of projectId.
Unlike projectId, this method doesn't throw if the JSON field has an unexpected type.
-
_color
final JsonField<String> _color()
Returns the raw JSON value of color.
Unlike color, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ProjectTagCreateParams.Body.Builder toBuilder()
-
validate
final ProjectTagCreateParams.Body validate()
-
builder
final static ProjectTagCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.name() .projectId()
-
-
-
-