Class ApiCategoriesRS
java.lang.Object
travel.wink.hotelbeds.content.sdk.model.ApiCategoriesRS
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-10-04T11:28:31.756188010+07:00[Asia/Bangkok]")
public class ApiCategoriesRS
extends Object
Response of Categories operation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCategoriesItem(ApiCategory categoriesItem) auditData(ApiAuditData auditData) categories(List<ApiCategory> categories) booleanerror(ApiHotelbedsError error) @Valid ApiAuditDataGet auditData@Valid List<ApiCategory>List of categories.@Valid ApiHotelbedsErrorgetError()Get errorgetFrom()Lowest value of the range of returned categories.getTo()Highest value of the range of returned categories.getTotal()Total number of categories matching the parameters used in the request (regardless of pagination/returned range).inthashCode()voidsetAuditData(ApiAuditData auditData) voidsetCategories(List<ApiCategory> categories) voidsetError(ApiHotelbedsError error) voidvoidvoidtoString()
-
Field Details
-
JSON_PROPERTY_AUDIT_DATA
- See Also:
-
JSON_PROPERTY_CATEGORIES
- See Also:
-
JSON_PROPERTY_ERROR
- See Also:
-
JSON_PROPERTY_FROM
- See Also:
-
JSON_PROPERTY_TO
- See Also:
-
JSON_PROPERTY_TOTAL
- See Also:
-
-
Constructor Details
-
ApiCategoriesRS
public ApiCategoriesRS()
-
-
Method Details
-
auditData
-
getAuditData
Get auditData- Returns:
- auditData
-
setAuditData
-
categories
-
addCategoriesItem
-
getCategories
List of categories.- Returns:
- categories
-
setCategories
-
error
-
getError
Get error- Returns:
- error
-
setError
-
from
-
getFrom
Lowest value of the range of returned categories.- Returns:
- from
-
setFrom
-
to
-
getTo
Highest value of the range of returned categories.- Returns:
- to
-
setTo
-
total
-
getTotal
Total number of categories matching the parameters used in the request (regardless of pagination/returned range).- Returns:
- total
-
setTotal
-
equals
-
hashCode
public int hashCode() -
toString
-