Package travel.wink.sdk.inventory.model
Class AggregateGreendexAnswersConsumer
java.lang.Object
travel.wink.sdk.inventory.model.AggregateGreendexAnswersConsumer
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-03-06T16:58:17.825766235+07:00[Asia/Bangkok]")
public class AggregateGreendexAnswersConsumer
extends Object
Detailed Green Index scores on hoe the property scores by category
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_list(List<AggregateGreendexAnswerConsumer> _list) addListItem(AggregateGreendexAnswerConsumer _listItem) addScoresByCategoryItem(AggregateGreendexScoreByCategoryConsumer scoresByCategoryItem) aggregateScore(Float aggregateScore) boolean@DecimalMin("0") @DecimalMax("1") FloatTotal score divided by high score minimum: 0 maximum: 1The highest possible score from all questionsGet hotelIdentifier@Valid List<AggregateGreendexAnswerConsumer>getList()Get _listAggregate scores by Green Index categoryThe total score from all questions answeredinthashCode()hotelIdentifier(String hotelIdentifier) scoresByCategory(List<AggregateGreendexScoreByCategoryConsumer> scoresByCategory) voidsetAggregateScore(Float aggregateScore) voidsetHighScore(Integer highScore) voidsetHotelIdentifier(String hotelIdentifier) voidvoidsetScoresByCategory(List<AggregateGreendexScoreByCategoryConsumer> scoresByCategory) voidsetTotalScore(Integer totalScore) toString()totalScore(Integer totalScore)
-
Field Details
-
JSON_PROPERTY_HOTEL_IDENTIFIER
- See Also:
-
JSON_PROPERTY_LIST
- See Also:
-
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
-
AggregateGreendexAnswersConsumer
public AggregateGreendexAnswersConsumer()
-
-
Method Details
-
hotelIdentifier
-
getHotelIdentifier
Get hotelIdentifier- Returns:
- hotelIdentifier
-
setHotelIdentifier
-
_list
-
addListItem
-
getList
Get _list- Returns:
- _list
-
setList
-
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 AggregateGreendexAnswersConsumer scoresByCategory(List<AggregateGreendexScoreByCategoryConsumer> scoresByCategory) -
addScoresByCategoryItem
public AggregateGreendexAnswersConsumer addScoresByCategoryItem(AggregateGreendexScoreByCategoryConsumer scoresByCategoryItem) -
getScoresByCategory
Aggregate scores by Green Index category- Returns:
- scoresByCategory
-
setScoresByCategory
-
equals
-
hashCode
public int hashCode() -
toString
-