Class ApiImage

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-04T11:28:31.756188010+07:00[Asia/Bangkok]") public class ApiImage extends Object
Describes an hotel picture.
  • Field Details

  • Constructor Details

    • ApiImage

      public ApiImage()
  • Method Details

    • characteristicCode

      public ApiImage characteristicCode(String characteristicCode)
    • getCharacteristicCode

      @Nullable public String getCharacteristicCode()
      Characteristic code/s of the room.
      Returns:
      characteristicCode
    • setCharacteristicCode

      public void setCharacteristicCode(String characteristicCode)
    • imageTypeCode

      public ApiImage imageTypeCode(String imageTypeCode)
    • getImageTypeCode

      @Nullable public String getImageTypeCode()
      Specifies where has the picture been taken (you can see the possible values in the response of types/imagetypes operation).
      Returns:
      imageTypeCode
    • setImageTypeCode

      public void setImageTypeCode(String imageTypeCode)
    • order

      public ApiImage order(Integer order)
    • getOrder

      @Nullable public Integer getOrder()
      Order in which the images are shown in the web page.
      Returns:
      order
    • setOrder

      public void setOrder(Integer order)
    • path

      public ApiImage path(String path)
    • getPath

      @Nullable public String getPath()
      URL of the image. For hotel images, we do not return the full path. Note that one of the following paths must be added by the client.
      Returns:
      path
    • setPath

      public void setPath(String path)
    • roomCode

      public ApiImage roomCode(String roomCode)
    • getRoomCode

      @Nullable public String getRoomCode()
      Identifier of the room type.
      Returns:
      roomCode
    • setRoomCode

      public void setRoomCode(String roomCode)
    • roomType

      public ApiImage roomType(String roomType)
    • getRoomType

      @Nullable public String getRoomType()
      Internal Room type code, returned only for Unified clients.
      Returns:
      roomType
    • setRoomType

      public void setRoomType(String roomType)
    • type

      public ApiImage type(ApiImageType type)
    • getType

      @Nullable @Valid public @Valid ApiImageType getType()
      Get type
      Returns:
      type
    • setType

      public void setType(ApiImageType type)
    • visualOrder

      public ApiImage visualOrder(Integer visualOrder)
    • getVisualOrder

      @Nullable public Integer getVisualOrder()
      Ordinal value at which the image should be presented.
      Returns:
      visualOrder
    • setVisualOrder

      public void setVisualOrder(Integer visualOrder)
    • pmSRoomCode

      public ApiImage pmSRoomCode(String pmSRoomCode)
    • getPmSRoomCode

      @Nullable public String getPmSRoomCode()
      Original hotel room code, directly sourced from the property
      Returns:
      pmSRoomCode
    • setPmSRoomCode

      public void setPmSRoomCode(String pmSRoomCode)
    • 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