Class Airport1

java.lang.Object
com.duffel.sdk.model.Airport1

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-08-28T15:18:14.926970+07:00[Asia/Bangkok]") public class Airport1 extends Object
Airport1
  • Field Details

  • Constructor Details

    • Airport1

      public Airport1()
  • Method Details

    • city

      public Airport1 city(City1 city)
    • getCity

      @Nullable @Valid public @Valid City1 getCity()
      Get city
      Returns:
      city
    • getCity_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<City1> getCity_JsonNullable()
    • setCity_JsonNullable

      public void setCity_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<City1> city)
    • setCity

      public void setCity(City1 city)
    • cityName

      public Airport1 cityName(String cityName)
    • getCityName

      @Nullable public String getCityName()
      The name of the city (or cities separated by a `/`) where the airport is located
      Returns:
      cityName
    • setCityName

      public void setCityName(String cityName)
    • iataCode

      public Airport1 iataCode(String iataCode)
    • getIataCode

      @Nullable public String getIataCode()
      The three-character IATA code for the airport
      Returns:
      iataCode
    • getIataCode_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getIataCode_JsonNullable()
    • setIataCode_JsonNullable

      public void setIataCode_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> iataCode)
    • setIataCode

      public void setIataCode(String iataCode)
    • iataCountryCode

      public Airport1 iataCountryCode(String iataCountryCode)
    • getIataCountryCode

      @Nullable public String 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

      public void setIataCountryCode(String iataCountryCode)
    • icaoCode

      public Airport1 icaoCode(String icaoCode)
    • getIcaoCode

      @Nullable public String getIcaoCode()
      The four-character ICAO code for the airport
      Returns:
      icaoCode
    • getIcaoCode_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getIcaoCode_JsonNullable()
    • setIcaoCode_JsonNullable

      public void setIcaoCode_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> icaoCode)
    • setIcaoCode

      public void setIcaoCode(String icaoCode)
    • id

      public Airport1 id(String id)
    • getId

      @Nullable public String getId()
      Duffel's unique identifier for the airport
      Returns:
      id
    • setId

      public void setId(String id)
    • latitude

      public Airport1 latitude(Float latitude)
    • getLatitude

      @Nullable public Float 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

      public void setLatitude(Float latitude)
    • longitude

      public Airport1 longitude(Float longitude)
    • getLongitude

      @Nullable public Float 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

      public void setLongitude(Float longitude)
    • name

      public Airport1 name(String name)
    • getName

      @Nullable public String getName()
      The name of the airport
      Returns:
      name
    • setName

      public void setName(String name)
    • timeZone

      public Airport1 timeZone(String timeZone)
    • getTimeZone

      @Nullable public String getTimeZone()
      The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)
      Returns:
      timeZone
    • setTimeZone

      public void setTimeZone(String timeZone)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object