Class AggregateGreendexAnswers
java.lang.Object
travel.wink.sdk.booking.engine.model.AggregateGreendexAnswers
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-09-06T15:30:26.907612+07:00[Asia/Bangkok]")
public class AggregateGreendexAnswers
extends Object
Detailed Green Index scores on hoe the property scores by category
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddScoresByCategoryItem(AggregateGreendexScoreByCategory scoresByCategoryItem) aggregateScore(Float aggregateScore) boolean@DecimalMin("0") @DecimalMax("1") FloatTotal score divided by high score minimum: 0 maximum: 1The highest possible score from all questions@Valid List<AggregateGreendexScoreByCategory>Aggregate scores by Green Index categoryThe total score from all questions answeredinthashCode()scoresByCategory(List<AggregateGreendexScoreByCategory> scoresByCategory) voidsetAggregateScore(Float aggregateScore) voidsetHighScore(Integer highScore) voidsetScoresByCategory(List<AggregateGreendexScoreByCategory> 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
-
AggregateGreendexAnswers
public AggregateGreendexAnswers()
-
-
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 AggregateGreendexAnswers scoresByCategory(List<AggregateGreendexScoreByCategory> scoresByCategory) -
addScoresByCategoryItem
public AggregateGreendexAnswers addScoresByCategoryItem(AggregateGreendexScoreByCategory scoresByCategoryItem) -
getScoresByCategory
Aggregate scores by Green Index category- Returns:
- scoresByCategory
-
setScoresByCategory
-
equals
-
hashCode
public int hashCode() -
toString
-