Class CountryScoreRequest

java.lang.Object
travel.wink.sdk.booking.engine.model.CountryScoreRequest

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-06-29T13:20:36.800596+07:00[Asia/Bangkok]") public class CountryScoreRequest extends Object
CountryScoreRequest
  • Field Details

  • Constructor Details

    • CountryScoreRequest

      public CountryScoreRequest()
  • Method Details

    • countryCode

      public CountryScoreRequest countryCode(String countryCode)
    • getCountryCode

      @Nonnull @NotNull public @NotNull String 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

      public void setCountryCode(String countryCode)
    • sort

    • getSort

      @Nonnull @NotNull public @NotNull CountryScoreRequest.SortEnum getSort()
      Choose the criteria you want the results sorted on.
      Returns:
      sort
    • setSort

      public void setSort(CountryScoreRequest.SortEnum sort)
    • userSession

      public CountryScoreRequest userSession(UserSession userSession)
    • getUserSession

      @Nonnull @NotNull @Valid public @NotNull @Valid UserSession getUserSession()
      Get userSession
      Returns:
      userSession
    • setUserSession

      public void setUserSession(UserSession userSession)
    • page

      public CountryScoreRequest page(Integer page)
    • getPage

      @Nonnull @NotNull @Min(0L) public @NotNull @Min(0L) Integer getPage()
      The page to paginate to. Note: Page uses a 0-based index. minimum: 0
      Returns:
      page
    • setPage

      public void setPage(Integer page)
    • size

      public CountryScoreRequest size(Integer size)
    • getSize

      @Nonnull @NotNull @Min(1L) @Max(50L) public @NotNull @Min(1L) @Max(50L) Integer getSize()
      The result size to return. minimum: 1 maximum: 50
      Returns:
      size
    • setSize

      public void setSize(Integer size)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object