Class Bedroom

java.lang.Object
travel.wink.sdk.extranet.model.Bedroom

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-06T10:49:48.675577965+07:00[Asia/Bangkok]") public class Bedroom extends Object
Bedroom
  • Field Details

  • Constructor Details

    • Bedroom

      public Bedroom()
  • Method Details

    • type

      public Bedroom type(Bedroom.TypeEnum type)
    • getType

      @Nonnull @NotNull public @NotNull Bedroom.TypeEnum getType()
      Type of bedroom
      Returns:
      type
    • setType

      public void setType(Bedroom.TypeEnum type)
    • bedList

      public Bedroom bedList(List<Bed> bedList)
    • addBedListItem

      public Bedroom addBedListItem(Bed bedListItem)
    • getBedList

      @Nonnull @NotNull @Valid public @NotNull @Valid List<Bed> getBedList()
      A bedroom can have more than one bed type.
      Returns:
      bedList
    • setBedList

      public void setBedList(List<Bed> bedList)
    • 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