Package travel.wink.sdk.lookup.model
Class CountryScoreRequestConsumer
java.lang.Object
travel.wink.sdk.lookup.model.CountryScoreRequestConsumer
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-06T15:47:49.444223318+07:00[Asia/Bangkok]")
public class CountryScoreRequestConsumer
extends Object
CountryScoreRequestConsumer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumChoose the criteria you want the results sorted on. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncountryCode(String countryCode) boolean@NotNull StringUnique country code you want to search in as it was given to you in the lookup entry or by using standard country codes as defined here [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).@NotNull @Min(0L) IntegergetPage()The page to paginate to.@NotNull @Min(1L) @Max(50L) IntegergetSize()The result size to return.@NotNull CountryScoreRequestConsumer.SortEnumgetSort()Choose the criteria you want the results sorted on.@NotNull @Valid UserSessionConsumerGet userSessioninthashCode()voidsetCountryCode(String countryCode) voidvoidvoidvoidsetUserSession(UserSessionConsumer userSession) toString()userSession(UserSessionConsumer userSession)
-
Field Details
-
JSON_PROPERTY_COUNTRY_CODE
- See Also:
-
JSON_PROPERTY_SORT
- See Also:
-
JSON_PROPERTY_USER_SESSION
- See Also:
-
JSON_PROPERTY_PAGE
- See Also:
-
JSON_PROPERTY_SIZE
- See Also:
-
-
Constructor Details
-
CountryScoreRequestConsumer
public CountryScoreRequestConsumer()
-
-
Method Details
-
countryCode
-
getCountryCode
Unique country code you want to search in as it was given to you in the lookup entry or by using standard country codes as defined here [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).- Returns:
- countryCode
-
setCountryCode
-
sort
-
getSort
Choose the criteria you want the results sorted on.- Returns:
- sort
-
setSort
-
userSession
-
getUserSession
Get userSession- Returns:
- userSession
-
setUserSession
-
page
-
getPage
The page to paginate to. Note: Page uses a 0-based index. minimum: 0- Returns:
- page
-
setPage
-
size
-
getSize
The result size to return. minimum: 1 maximum: 50- Returns:
- size
-
setSize
-
equals
-
hashCode
public int hashCode() -
toString
-