Class ApiKeyword

java.lang.Object
travel.wink.hotelbeds.booking.sdk.model.ApiKeyword

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-04T11:28:08.331690043+07:00[Asia/Bangkok]") public class ApiKeyword extends Object
Code of the keyword associated with the hotel.
  • Field Details

  • Constructor Details

    • ApiKeyword

      public ApiKeyword()
  • Method Details

    • code

      public ApiKeyword code(Integer code)
    • getCode

      @Nonnull @NotNull public @NotNull Integer getCode()
      Keyword code.
      Returns:
      code
    • setCode

      public void setCode(Integer code)
    • rating

      public ApiKeyword rating(Integer rating)
    • getRating

      @Nullable public Integer getRating()
      Get rating
      Returns:
      rating
    • setRating

      public void setRating(Integer rating)
    • 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