Class ProjectUpdateParams
-
- All Implemented Interfaces:
-
com.braintrustdata.api.core.Params
public final class ProjectUpdateParams implements Params
Partially update a project 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 classProjectUpdateParams.Bodypublic final classProjectUpdateParams.BuilderA builder for ProjectUpdateParams.
-
Method Summary
Modifier and Type Method Description final StringprojectId()Project id final Optional<String>name()Name of the project final Optional<ProjectSettings>settings()Project settings. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<ProjectSettings>_settings()Returns the raw JSON value of settings. 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 ProjectUpdateParams.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ProjectUpdateParams.Builderbuilder()Returns a mutable builder for constructing an instance of ProjectUpdateParams. -
-
Method Detail
-
settings
final Optional<ProjectSettings> settings()
Project settings. Patch operations replace all settings, so make sure you include all settings you want to keep.
-
_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.
-
_settings
final JsonField<ProjectSettings> _settings()
Returns the raw JSON value of settings.
Unlike settings, 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 ProjectUpdateParams.Builder toBuilder()
-
builder
final static ProjectUpdateParams.Builder builder()
Returns a mutable builder for constructing an instance of ProjectUpdateParams.
The following fields are required:
.projectId()
-
-
-
-