Class ProjectScoreUpdateParams.Body.Builder
-
- All Implemented Interfaces:
public final class ProjectScoreUpdateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
categories
final ProjectScoreUpdateParams.Body.Builder categories(ProjectScoreUpdateParams.Categories categories)
For categorical-type project scores, the list of all categories
-
categories
final ProjectScoreUpdateParams.Body.Builder categories(Optional<ProjectScoreUpdateParams.Categories> categories)
Alias for calling Builder.categories with
categories.orElse(null).
-
categories
final ProjectScoreUpdateParams.Body.Builder categories(JsonField<ProjectScoreUpdateParams.Categories> categories)
Sets Builder.categories to an arbitrary JSON value.
You should usually call Builder.categories with a well-typed Categories value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
categories
final ProjectScoreUpdateParams.Body.Builder categories(ProjectScoreUpdateParams.Categories.Weighted weighted)
Alias for calling categories with
Categories.ofWeighted(weighted).
-
categoriesOfCategorical
final ProjectScoreUpdateParams.Body.Builder categoriesOfCategorical(List<ProjectScoreCategory> categorical)
Alias for calling categories with
Categories.ofCategorical(categorical).
-
categoriesOfMinimum
final ProjectScoreUpdateParams.Body.Builder categoriesOfMinimum(List<String> minimum)
Alias for calling categories with
Categories.ofMinimum(minimum).
-
config
final ProjectScoreUpdateParams.Body.Builder config(ProjectScoreConfig config)
-
config
final ProjectScoreUpdateParams.Body.Builder config(Optional<ProjectScoreConfig> config)
Alias for calling Builder.config with
config.orElse(null).
-
config
final ProjectScoreUpdateParams.Body.Builder config(JsonField<ProjectScoreConfig> config)
Sets Builder.config to an arbitrary JSON value.
You should usually call Builder.config with a well-typed ProjectScoreConfig value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
description
final ProjectScoreUpdateParams.Body.Builder description(String description)
Textual description of the project score
-
description
final ProjectScoreUpdateParams.Body.Builder description(Optional<String> description)
Alias for calling Builder.description with
description.orElse(null).
-
description
final ProjectScoreUpdateParams.Body.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final ProjectScoreUpdateParams.Body.Builder name(String name)
Name of the project score
-
name
final ProjectScoreUpdateParams.Body.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null).
-
name
final ProjectScoreUpdateParams.Body.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
scoreType
final ProjectScoreUpdateParams.Body.Builder scoreType(ProjectScoreType scoreType)
The type of the configured score
-
scoreType
final ProjectScoreUpdateParams.Body.Builder scoreType(Optional<ProjectScoreType> scoreType)
Alias for calling Builder.scoreType with
scoreType.orElse(null).
-
scoreType
final ProjectScoreUpdateParams.Body.Builder scoreType(JsonField<ProjectScoreType> scoreType)
Sets Builder.scoreType to an arbitrary JSON value.
You should usually call Builder.scoreType with a well-typed ProjectScoreType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ProjectScoreUpdateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ProjectScoreUpdateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ProjectScoreUpdateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ProjectScoreUpdateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ProjectScoreUpdateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ProjectScoreUpdateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-