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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncharacteristicCode(String characteristicCode) booleanCharacteristic code/s of the room.Specifies where has the picture been taken (you can see the possible values in the response of types/imagetypes operation).getOrder()Order in which the images are shown in the web page.getPath()URL of the image.Original hotel room code, directly sourced from the propertyIdentifier of the room type.Internal Room type code, returned only for Unified clients.@Valid ApiImageTypegetType()Get typeOrdinal value at which the image should be presented.inthashCode()imageTypeCode(String imageTypeCode) pmSRoomCode(String pmSRoomCode) voidsetCharacteristicCode(String characteristicCode) voidsetImageTypeCode(String imageTypeCode) voidvoidvoidsetPmSRoomCode(String pmSRoomCode) voidsetRoomCode(String roomCode) voidsetRoomType(String roomType) voidsetType(ApiImageType type) voidsetVisualOrder(Integer visualOrder) toString()type(ApiImageType type) visualOrder(Integer visualOrder)
-
Field Details
-
JSON_PROPERTY_CHARACTERISTIC_CODE
- See Also:
-
JSON_PROPERTY_IMAGE_TYPE_CODE
- See Also:
-
JSON_PROPERTY_ORDER
- See Also:
-
JSON_PROPERTY_PATH
- See Also:
-
JSON_PROPERTY_ROOM_CODE
- See Also:
-
JSON_PROPERTY_ROOM_TYPE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_VISUAL_ORDER
- See Also:
-
JSON_PROPERTY_PM_S_ROOM_CODE
- See Also:
-
-
Constructor Details
-
ApiImage
public ApiImage()
-
-
Method Details
-
characteristicCode
-
getCharacteristicCode
Characteristic code/s of the room.- Returns:
- characteristicCode
-
setCharacteristicCode
-
imageTypeCode
-
getImageTypeCode
Specifies where has the picture been taken (you can see the possible values in the response of types/imagetypes operation).- Returns:
- imageTypeCode
-
setImageTypeCode
-
order
-
getOrder
Order in which the images are shown in the web page.- Returns:
- order
-
setOrder
-
path
-
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
-
roomCode
-
getRoomCode
Identifier of the room type.- Returns:
- roomCode
-
setRoomCode
-
roomType
-
getRoomType
Internal Room type code, returned only for Unified clients.- Returns:
- roomType
-
setRoomType
-
type
-
getType
Get type- Returns:
- type
-
setType
-
visualOrder
-
getVisualOrder
Ordinal value at which the image should be presented.- Returns:
- visualOrder
-
setVisualOrder
-
pmSRoomCode
-
getPmSRoomCode
Original hotel room code, directly sourced from the property- Returns:
- pmSRoomCode
-
setPmSRoomCode
-
equals
-
hashCode
public int hashCode() -
toString
-