airlines.proto
path vasystem/api/v2/airlines.proto
package vasystem.api.v2
Messages
Airline
An Airline resource represents an airline.
Name | Type | Description |
---|---|---|
id | string | Unique identifier for the airline. |
icao_code | string | The ICAO airline code. Unique. Example: `UAL` |
iata_code | string | The IATA airline code. This field is not unique. Example: `UA` |
display_icao_code | string | The ICAO airline display code. This is the code that is displayed to users and is usually the same as the ICAO code. However, some airlines have different display codes when they are a subsidiary of another airline, but use the same ICAO code as their parent company. As such, this field may not be unique. Example: `UAL` |
display_iata_code | string | The IATA airline display code. This is the code that is displayed to users and is usually the same as the IATA code. Currently, this will always be the same as the IATA code. Example: `UA` |
name | string | The airline name. Example: `United Airlines` |
ListAirlinesRequest
The ListAirlinesRequest message defines the request parameters for the ListAirlines method.
Name | Type | Description |
---|
ListAirlinesResponse
The ListAirlinesResponse message defines the response parameters for the ListAirlines method.
Name | Type | Description |
---|---|---|
airlines | repeated Airline |
Services
AirlinesService
Retrieve airline information.
ListAirlines
Method | ListAirlines |
---|---|
Request | ListAirlinesRequest |
Response | ListAirlinesResponse |
Description | List airlines |