Class ApiTerminal

java.lang.Object
travel.wink.hotelbeds.content.sdk.model.ApiTerminal

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-04T11:28:31.756188010+07:00[Asia/Bangkok]") public class ApiTerminal extends Object
Info of a terminal.
  • Field Details

  • Constructor Details

    • ApiTerminal

      public ApiTerminal()
  • Method Details

    • code

      public ApiTerminal code(String code)
    • getCode

      @Nullable public String getCode()
      Code of the terminal.
      Returns:
      code
    • setCode

      public void setCode(String code)
    • country

      public ApiTerminal country(String country)
    • getCountry

      @Nullable public String getCountry()
      Code of the country where the terminal is located.
      Returns:
      country
    • setCountry

      public void setCountry(String country)
    • description

      public ApiTerminal description(ApiContent description)
    • getDescription

      @Nullable @Valid public @Valid ApiContent getDescription()
      Get description
      Returns:
      description
    • setDescription

      public void setDescription(ApiContent description)
    • name

      public ApiTerminal name(ApiContent name)
    • getName

      @Nullable @Valid public @Valid ApiContent getName()
      Get name
      Returns:
      name
    • setName

      public void setName(ApiContent name)
    • type

      public ApiTerminal type(String type)
    • getType

      @Nullable public String getType()
      Code of the type of the terminal.
      Returns:
      type
    • setType

      public void setType(String type)
    • 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