Package travel.wink.sdk.extranet.model
Class AggregateGreendexScoreByCategorySupplier
java.lang.Object
travel.wink.sdk.extranet.model.AggregateGreendexScoreByCategorySupplier
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-06T15:46:48.127304372+07:00[Asia/Bangkok]")
public class AggregateGreendexScoreByCategorySupplier
extends Object
AggregateGreendexScoreByCategorySupplier
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumGreen Index category -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregateScore(Float aggregateScore) boolean@DecimalMin("0") @DecimalMax("1") FloatTotal score divided by high score within this category minimum: 0 maximum: 1Green Index categoryThe highest possible score from all questions within this categoryThe total score from all questions answered within this categoryinthashCode()voidsetAggregateScore(Float aggregateScore) voidvoidsetHighScore(Integer highScore) voidsetTotalScore(Integer totalScore) toString()totalScore(Integer totalScore)
-
Field Details
-
JSON_PROPERTY_CATEGORY
- See Also:
-
JSON_PROPERTY_HIGH_SCORE
- See Also:
-
JSON_PROPERTY_TOTAL_SCORE
- See Also:
-
JSON_PROPERTY_AGGREGATE_SCORE
- See Also:
-
-
Constructor Details
-
AggregateGreendexScoreByCategorySupplier
public AggregateGreendexScoreByCategorySupplier()
-
-
Method Details
-
category
public AggregateGreendexScoreByCategorySupplier category(AggregateGreendexScoreByCategorySupplier.CategoryEnum category) -
getCategory
Green Index category- Returns:
- category
-
setCategory
-
highScore
-
getHighScore
The highest possible score from all questions within this category- Returns:
- highScore
-
setHighScore
-
totalScore
-
getTotalScore
The total score from all questions answered within this category- Returns:
- totalScore
-
setTotalScore
-
aggregateScore
-
getAggregateScore
@Nullable @DecimalMin("0") @DecimalMax("1") public @DecimalMin("0") @DecimalMax("1") Float getAggregateScore()Total score divided by high score within this category minimum: 0 maximum: 1- Returns:
- aggregateScore
-
setAggregateScore
-
equals
-
hashCode
public int hashCode() -
toString
-