Class ProjectScore
-
- All Implemented Interfaces:
public final class ProjectScoreA project score is a user-configured score, which can be manually-labeled through the UI
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classProjectScore.BuilderA builder for ProjectScore.
public final classProjectScore.CategoriesFor categorical-type project scores, the list of all categories
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for the project score final Stringname()Name of the project score final StringprojectId()Unique identifier for the project that the project score belongs under final ProjectScoreTypescoreType()The type of the configured score final StringuserId()final Optional<ProjectScore.Categories>categories()For categorical-type project scores, the list of all categories final Optional<ProjectScoreConfig>config()final Optional<OffsetDateTime>created()Date of project score creation final Optional<String>description()Textual description of the project score final Optional<String>position()An optional LexoRank-based string that sets the sort position for the score in the UI final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_projectId()Returns the raw JSON value of projectId. final JsonField<ProjectScoreType>_scoreType()Returns the raw JSON value of scoreType. final JsonField<String>_userId()Returns the raw JSON value of userId. final JsonField<ProjectScore.Categories>_categories()Returns the raw JSON value of categories. final JsonField<ProjectScoreConfig>_config()Returns the raw JSON value of config. final JsonField<OffsetDateTime>_created()Returns the raw JSON value of created. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<String>_position()Returns the raw JSON value of position. final Map<String, JsonValue>_additionalProperties()final ProjectScorevalidate()final ProjectScore.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ProjectScore.Builderbuilder()Returns a mutable builder for constructing an instance of ProjectScore. -
-
Method Detail
-
projectId
final String projectId()
Unique identifier for the project that the project score belongs under
-
scoreType
final ProjectScoreType scoreType()
The type of the configured score
-
categories
final Optional<ProjectScore.Categories> categories()
For categorical-type project scores, the list of all categories
-
config
final Optional<ProjectScoreConfig> config()
-
created
final Optional<OffsetDateTime> created()
Date of project score creation
-
description
final Optional<String> description()
Textual description of the project score
-
position
final Optional<String> position()
An optional LexoRank-based string that sets the sort position for the score in the UI
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, 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.
-
_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.
-
_scoreType
final JsonField<ProjectScoreType> _scoreType()
Returns the raw JSON value of scoreType.
Unlike scoreType, this method doesn't throw if the JSON field has an unexpected type.
-
_userId
final JsonField<String> _userId()
Returns the raw JSON value of userId.
Unlike userId, this method doesn't throw if the JSON field has an unexpected type.
-
_categories
final JsonField<ProjectScore.Categories> _categories()
Returns the raw JSON value of categories.
Unlike categories, this method doesn't throw if the JSON field has an unexpected type.
-
_config
final JsonField<ProjectScoreConfig> _config()
Returns the raw JSON value of config.
Unlike config, this method doesn't throw if the JSON field has an unexpected type.
-
_created
final JsonField<OffsetDateTime> _created()
Returns the raw JSON value of created.
Unlike created, 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.
-
_position
final JsonField<String> _position()
Returns the raw JSON value of position.
Unlike position, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ProjectScore validate()
-
toBuilder
final ProjectScore.Builder toBuilder()
-
builder
final static ProjectScore.Builder builder()
Returns a mutable builder for constructing an instance of ProjectScore.
The following fields are required:
.id() .name() .projectId() .scoreType() .userId()
-
-
-
-