Class Bed
java.lang.Object
travel.wink.sdk.booking.engine.model.Bed
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-16T12:47:15.131812+07:00[Asia/Bangkok]")
public class Bed
extends Object
Bed
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbedTypeCode(String bedTypeCode) boolean@NotNull StringIndicates the type of bed(s) found in the room.@NotNull @Min(1L) IntegerNumber of beds for this bed type.inthashCode()voidsetBedTypeCode(String bedTypeCode) voidsetQuantity(Integer quantity) toString()
-
Field Details
-
JSON_PROPERTY_BED_TYPE_CODE
- See Also:
-
JSON_PROPERTY_QUANTITY
- See Also:
-
-
Constructor Details
-
Bed
public Bed()
-
-
Method Details
-
bedTypeCode
-
getBedTypeCode
Indicates the type of bed(s) found in the room. Typical values would be Double, Twin, Queen, or King. Supported OTA specification `BED` code. See [OTA geoname data](#operation/showAvailableCodesForCategory).- Returns:
- bedTypeCode
-
setBedTypeCode
-
quantity
-
getQuantity
Number of beds for this bed type. minimum: 1- Returns:
- quantity
-
setQuantity
-
equals
-
hashCode
public int hashCode() -
toString
-