Package com.duffel.sdk.model
Class OfferSliceSegmentDestination
java.lang.Object
com.duffel.sdk.model.OfferSliceSegmentDestination
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-08-28T15:18:14.926970+07:00[Asia/Bangkok]")
public class OfferSliceSegmentDestination
extends Object
OfferSliceSegmentDestination
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@Valid City1getCity()Get cityorg.openapitools.jackson.nullable.JsonNullable<City1>The name of the city (or cities separated by a `/`) where the airport is locatedThe three-character IATA code for the airportorg.openapitools.jackson.nullable.JsonNullable<String>The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is locatedThe four-character ICAO code for the airportorg.openapitools.jackson.nullable.JsonNullable<String>getId()Duffel's unique identifier for the airportThe latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°getName()The name of the airportThe time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)inthashCode()iataCountryCode(String iataCountryCode) voidvoidsetCity_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<City1> city) voidsetCityName(String cityName) voidsetIataCode(String iataCode) voidsetIataCode_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> iataCode) voidsetIataCountryCode(String iataCountryCode) voidsetIcaoCode(String icaoCode) voidsetIcaoCode_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> icaoCode) voidvoidsetLatitude(Float latitude) voidsetLongitude(Float longitude) voidvoidsetTimeZone(String timeZone) toString()
-
Field Details
-
JSON_PROPERTY_CITY
- See Also:
-
JSON_PROPERTY_CITY_NAME
- See Also:
-
JSON_PROPERTY_IATA_CODE
- See Also:
-
JSON_PROPERTY_IATA_COUNTRY_CODE
- See Also:
-
JSON_PROPERTY_ICAO_CODE
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_LATITUDE
- See Also:
-
JSON_PROPERTY_LONGITUDE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_TIME_ZONE
- See Also:
-
-
Constructor Details
-
OfferSliceSegmentDestination
public OfferSliceSegmentDestination()
-
-
Method Details
-
city
-
getCity
Get city- Returns:
- city
-
getCity_JsonNullable
-
setCity_JsonNullable
-
setCity
-
cityName
-
getCityName
The name of the city (or cities separated by a `/`) where the airport is located- Returns:
- cityName
-
setCityName
-
iataCode
-
getIataCode
The three-character IATA code for the airport- Returns:
- iataCode
-
getIataCode_JsonNullable
-
setIataCode_JsonNullable
public void setIataCode_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> 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 airport is located- Returns:
- iataCountryCode
-
setIataCountryCode
-
icaoCode
-
getIcaoCode
The four-character ICAO code for the airport- Returns:
- icaoCode
-
getIcaoCode_JsonNullable
-
setIcaoCode_JsonNullable
public void setIcaoCode_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> icaoCode) -
setIcaoCode
-
id
-
getId
Duffel's unique identifier for the airport- Returns:
- id
-
setId
-
latitude
-
getLatitude
The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°- Returns:
- latitude
-
setLatitude
-
longitude
-
getLongitude
The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°- Returns:
- longitude
-
setLongitude
-
name
-
getName
The name of the airport- Returns:
- name
-
setName
-
timeZone
-
getTimeZone
The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)- Returns:
- timeZone
-
setTimeZone
-
equals
-
hashCode
public int hashCode() -
toString
-