Class ApiCountry
java.lang.Object
travel.wink.hotelbeds.content.sdk.model.ApiCountry
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-10-04T11:28:31.756188010+07:00[Asia/Bangkok]")
public class ApiCountry
extends Object
Country information.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddStatesItem(ApiState statesItem) description(ApiContent description) booleangetCode()Hotelbeds internal country code.@Valid ApiContentGet descriptionISO 3166-2 Country Code.List of states/provinces/territories belonging to the country.inthashCode()voidvoidsetDescription(ApiContent description) voidsetIsoCode(String isoCode) voidtoString()
-
Field Details
-
JSON_PROPERTY_CODE
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_ISO_CODE
- See Also:
-
JSON_PROPERTY_STATES
- See Also:
-
-
Constructor Details
-
ApiCountry
public ApiCountry()
-
-
Method Details
-
code
-
getCode
Hotelbeds internal country code.- Returns:
- code
-
setCode
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
isoCode
-
getIsoCode
ISO 3166-2 Country Code.- Returns:
- isoCode
-
setIsoCode
-
states
-
addStatesItem
-
getStates
List of states/provinces/territories belonging to the country.- Returns:
- states
-
setStates
-
equals
-
hashCode
public int hashCode() -
toString
-