Class ProjectTagUpdateParams
-
- All Implemented Interfaces:
-
com.braintrustdata.api.core.Params
public final class ProjectTagUpdateParams implements Params
Partially update a project_tag 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 classProjectTagUpdateParams.Bodypublic final classProjectTagUpdateParams.BuilderA builder for ProjectTagUpdateParams.
-
Method Summary
Modifier and Type Method Description final StringprojectTagId()ProjectTag id final Optional<String>color()Color of the tag for the UI final Optional<String>description()Textual description of the project tag final Optional<String>name()Name of the project tag final JsonField<String>_color()Returns the raw JSON value of color. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<String>_name()Returns the raw JSON value of name. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()final QueryParams_additionalQueryParams()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. final StringgetPathParam(Integer index)final ProjectTagUpdateParams.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ProjectTagUpdateParams.Builderbuilder()Returns a mutable builder for constructing an instance of ProjectTagUpdateParams. -
-
Method Detail
-
projectTagId
final String projectTagId()
ProjectTag id
-
description
final Optional<String> description()
Textual description of the project tag
-
_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.
-
_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.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
_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.
-
getPathParam
final String getPathParam(Integer index)
-
toBuilder
final ProjectTagUpdateParams.Builder toBuilder()
-
builder
final static ProjectTagUpdateParams.Builder builder()
Returns a mutable builder for constructing an instance of ProjectTagUpdateParams.
The following fields are required:
.projectTagId()
-
-
-
-