Class AggregateGreendexScoreByCategory
java.lang.Object
travel.wink.sdk.booking.engine.model.AggregateGreendexScoreByCategory
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-07-01T17:00:30.497997+07:00[Asia/Bangkok]")
public class AggregateGreendexScoreByCategory
extends Object
AggregateGreendexScoreByCategory
-
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
-
AggregateGreendexScoreByCategory
public AggregateGreendexScoreByCategory()
-
-
Method Details
-
category
public AggregateGreendexScoreByCategory category(AggregateGreendexScoreByCategory.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
-