Package com.duffel.sdk.model
Class City3
java.lang.Object
com.duffel.sdk.model.City3
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-08-28T15:18:14.926970+07:00[Asia/Bangkok]")
public class City3
extends Object
The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe three-character IATA code for the cityThe [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is locatedgetId()Duffel's unique identifier for the citygetName()The name of the cityinthashCode()iataCountryCode(String iataCountryCode) voidsetIataCode(String iataCode) voidsetIataCountryCode(String iataCountryCode) voidvoidtoString()
-
Field Details
-
JSON_PROPERTY_IATA_CODE
- See Also:
-
JSON_PROPERTY_IATA_COUNTRY_CODE
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
-
Constructor Details
-
City3
public City3()
-
-
Method Details
-
iataCode
-
getIataCode
The three-character IATA code for the city- Returns:
- iataCode
-
setIataCode
-
iataCountryCode
-
getIataCountryCode
The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located- Returns:
- iataCountryCode
-
setIataCountryCode
-
id
-
getId
Duffel's unique identifier for the city- Returns:
- id
-
setId
-
name
-
getName
The name of the city- Returns:
- name
-
setName
-
equals
-
hashCode
public int hashCode() -
toString
-