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