Package com.duffel.sdk.model
Class OfferRequestSliceAirport
java.lang.Object
com.duffel.sdk.model.OfferRequestSliceAirport
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-08-28T15:13:42.592945+07:00[Asia/Bangkok]")
public class OfferRequestSliceAirport
extends Object
OfferRequestSliceAirport
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of place, either an airport or a city -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@Valid OfferRequestSliceAirportCitygetCity()Get city3-letter IATA code for the airport's city3-letter IATA code for the airport2-letter IATA code for the airport's countrygetId()Unique identifier for the airportgetName()Name of the airportgetType()The type of place, either an airport or a cityinthashCode()iataCityCode(String iataCityCode) iataCountryCode(String iataCountryCode) voidvoidsetIataCityCode(String iataCityCode) voidsetIataCode(String iataCode) voidsetIataCountryCode(String iataCountryCode) voidvoidvoidtoString()
-
Field Details
-
JSON_PROPERTY_CITY
- See Also:
-
JSON_PROPERTY_IATA_CITY_CODE
- See Also:
-
JSON_PROPERTY_IATA_CODE
- See Also:
-
JSON_PROPERTY_IATA_COUNTRY_CODE
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
OfferRequestSliceAirport
public OfferRequestSliceAirport()
-
-
Method Details
-
city
-
getCity
Get city- Returns:
- city
-
setCity
-
iataCityCode
-
getIataCityCode
3-letter IATA code for the airport's city- Returns:
- iataCityCode
-
setIataCityCode
-
iataCode
-
getIataCode
3-letter IATA code for the airport- Returns:
- iataCode
-
setIataCode
-
iataCountryCode
-
getIataCountryCode
2-letter IATA code for the airport's country- Returns:
- iataCountryCode
-
setIataCountryCode
-
id
-
getId
Unique identifier for the airport- Returns:
- id
-
setId
-
name
-
getName
Name of the airport- Returns:
- name
-
setName
-
type
-
getType
The type of place, either an airport or a city- Returns:
- type
-
setType
-
equals
-
hashCode
public int hashCode() -
toString
-