Package travel.wink.sdk.inventory.model
Class AggregateGreendexScoreByCategoryNonAuthenticatedEntity
java.lang.Object
travel.wink.sdk.inventory.model.AggregateGreendexScoreByCategoryNonAuthenticatedEntity
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-15T11:55:54.125688842+07:00[Asia/Bangkok]")
public class AggregateGreendexScoreByCategoryNonAuthenticatedEntity
extends Object
AggregateGreendexScoreByCategoryNonAuthenticatedEntity
-
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
-
AggregateGreendexScoreByCategoryNonAuthenticatedEntity
public AggregateGreendexScoreByCategoryNonAuthenticatedEntity()
-
-
Method Details
-
category
-
getCategory
Green Index category- Returns:
- category
-
setCategory
public void setCategory(AggregateGreendexScoreByCategoryNonAuthenticatedEntity.CategoryEnum category) -
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
-