Package travel.wink.sdk.inventory.model
Class AggregateGreendexAnswersNonAuthenticatedEntity
java.lang.Object
travel.wink.sdk.inventory.model.AggregateGreendexAnswersNonAuthenticatedEntity
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-15T11:55:54.125688842+07:00[Asia/Bangkok]")
public class AggregateGreendexAnswersNonAuthenticatedEntity
extends Object
Detailed Green Index scores on hoe the property scores by category
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddScoresByCategoryItem(AggregateGreendexScoreByCategoryNonAuthenticatedEntity scoresByCategoryItem) aggregateScore(Float aggregateScore) boolean@DecimalMin("0") @DecimalMax("1") FloatTotal score divided by high score minimum: 0 maximum: 1The highest possible score from all questionsAggregate scores by Green Index categoryThe total score from all questions answeredinthashCode()scoresByCategory(List<AggregateGreendexScoreByCategoryNonAuthenticatedEntity> scoresByCategory) voidsetAggregateScore(Float aggregateScore) voidsetHighScore(Integer highScore) voidsetScoresByCategory(List<AggregateGreendexScoreByCategoryNonAuthenticatedEntity> scoresByCategory) voidsetTotalScore(Integer totalScore) toString()totalScore(Integer totalScore)
-
Field Details
-
JSON_PROPERTY_HIGH_SCORE
- See Also:
-
JSON_PROPERTY_TOTAL_SCORE
- See Also:
-
JSON_PROPERTY_AGGREGATE_SCORE
- See Also:
-
JSON_PROPERTY_SCORES_BY_CATEGORY
- See Also:
-
-
Constructor Details
-
AggregateGreendexAnswersNonAuthenticatedEntity
public AggregateGreendexAnswersNonAuthenticatedEntity()
-
-
Method Details
-
highScore
-
getHighScore
The highest possible score from all questions- Returns:
- highScore
-
setHighScore
-
totalScore
-
getTotalScore
The total score from all questions answered- Returns:
- totalScore
-
setTotalScore
-
aggregateScore
-
getAggregateScore
@Nullable @DecimalMin("0") @DecimalMax("1") public @DecimalMin("0") @DecimalMax("1") Float getAggregateScore()Total score divided by high score minimum: 0 maximum: 1- Returns:
- aggregateScore
-
setAggregateScore
-
scoresByCategory
public AggregateGreendexAnswersNonAuthenticatedEntity scoresByCategory(List<AggregateGreendexScoreByCategoryNonAuthenticatedEntity> scoresByCategory) -
addScoresByCategoryItem
public AggregateGreendexAnswersNonAuthenticatedEntity addScoresByCategoryItem(AggregateGreendexScoreByCategoryNonAuthenticatedEntity scoresByCategoryItem) -
getScoresByCategory
@Nullable @Valid public @Valid List<AggregateGreendexScoreByCategoryNonAuthenticatedEntity> getScoresByCategory()Aggregate scores by Green Index category- Returns:
- scoresByCategory
-
setScoresByCategory
public void setScoresByCategory(List<AggregateGreendexScoreByCategoryNonAuthenticatedEntity> scoresByCategory) -
equals
-
hashCode
public int hashCode() -
toString
-