Class ProjectTagReplaceParams
-
- All Implemented Interfaces:
-
com.braintrustdata.api.core.Params
public final class ProjectTagReplaceParams implements Params
Create or replace project_tag. If there is an existing project_tag in the project with the same name as the one specified in the request, will replace the existing project_tag with the provided fields
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classProjectTagReplaceParams.BuilderA builder for ProjectTagReplaceParams.
public final classProjectTagReplaceParams.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>_additionalBodyProperties()final Headers_additionalHeaders()final QueryParams_additionalQueryParams()final ProjectTagReplaceParams.BuildertoBuilder()final ProjectTagReplaceParams.Body_body()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 ProjectTagReplaceParams.Builderbuilder()Returns a mutable builder for constructing an instance of ProjectTagReplaceParams. -
-
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.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
toBuilder
final ProjectTagReplaceParams.Builder toBuilder()
-
_body
final ProjectTagReplaceParams.Body _body()
-
_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 ProjectTagReplaceParams.Builder builder()
Returns a mutable builder for constructing an instance of ProjectTagReplaceParams.
The following fields are required:
.name() .projectId()
-
-
-
-