Package travel.wink.sdk.extranet.model
Class AggregateGreendexAnswersSupplier
java.lang.Object
travel.wink.sdk.extranet.model.AggregateGreendexAnswersSupplier
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-07-24T11:29:25.504149142+07:00[Asia/Bangkok]")
public class AggregateGreendexAnswersSupplier
extends Object
Properties that answered the Green Index questionnaire [full or partial], will have aggregate scores available.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddScoresByCategoryItem(AggregateGreendexScoreByCategorySupplier 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<AggregateGreendexScoreByCategorySupplier> scoresByCategory) voidsetAggregateScore(Float aggregateScore) voidsetHighScore(Integer highScore) voidsetScoresByCategory(List<AggregateGreendexScoreByCategorySupplier> 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
-
AggregateGreendexAnswersSupplier
public AggregateGreendexAnswersSupplier()
-
-
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 AggregateGreendexAnswersSupplier scoresByCategory(List<AggregateGreendexScoreByCategorySupplier> scoresByCategory) -
addScoresByCategoryItem
public AggregateGreendexAnswersSupplier addScoresByCategoryItem(AggregateGreendexScoreByCategorySupplier scoresByCategoryItem) -
getScoresByCategory
Aggregate scores by Green Index category- Returns:
- scoresByCategory
-
setScoresByCategory
-
equals
-
hashCode
public int hashCode() -
toString
-