Class ApiCategory
java.lang.Object
travel.wink.hotelbeds.content.sdk.model.ApiCategory
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-10-04T11:28:31.756188010+07:00[Asia/Bangkok]")
public class ApiCategory
extends Object
Information on an accommodation category.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccommodationType(String accommodationType) description(ApiContent description) booleanCode of the type of accommodation to which the category belongs.getCode()Hotel star rating based on the information provided by the hotel.@Valid ApiContentGet descriptiongetGroup()Code of the group to which the category belongs.Simple category code used for filtering in [Hotel Booking API](/documentation/hotels/booking-api/api-reference/) Availability.inthashCode()voidsetAccommodationType(String accommodationType) voidvoidsetDescription(ApiContent description) voidvoidsetSimpleCode(Integer simpleCode) simpleCode(Integer simpleCode) toString()
-
Field Details
-
JSON_PROPERTY_ACCOMMODATION_TYPE
- See Also:
-
JSON_PROPERTY_CODE
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_GROUP
- See Also:
-
JSON_PROPERTY_SIMPLE_CODE
- See Also:
-
-
Constructor Details
-
ApiCategory
public ApiCategory()
-
-
Method Details
-
accommodationType
-
getAccommodationType
Code of the type of accommodation to which the category belongs. (apartment, hotel, home, etc.).- Returns:
- accommodationType
-
setAccommodationType
-
code
-
getCode
Hotel star rating based on the information provided by the hotel.- Returns:
- code
-
setCode
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
group
-
getGroup
Code of the group to which the category belongs.- Returns:
- group
-
setGroup
-
simpleCode
-
getSimpleCode
Simple category code used for filtering in [Hotel Booking API](/documentation/hotels/booking-api/api-reference/) Availability.- Returns:
- simpleCode
-
setSimpleCode
-
equals
-
hashCode
public int hashCode() -
toString
-