-
Notifications
You must be signed in to change notification settings - Fork 86
Expand file tree
/
Copy pathleg.ts
More file actions
86 lines (78 loc) · 2.21 KB
/
leg.ts
File metadata and controls
86 lines (78 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/*
* The version of the OpenAPI document: v4
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
export class Leg {
/**
* The IATA 3-letter airport code of the destination airport. This field is required if the airline data includes leg details.
*/
"arrivalAirportCode"?: string;
/**
* The basic fare code for this leg.
*/
"basicFareCode"?: string;
/**
* IATA code of the carrier operating the flight.
*/
"carrierCode"?: string;
/**
* The IATA three-letter airport code of the departure airport. This field is required if the airline data includes leg details
*/
"departureAirportCode"?: string;
/**
* The flight departure date.
*/
"departureDate"?: string;
/**
* The flight identifier.
*/
"flightNumber"?: string;
static readonly discriminator: string | undefined = undefined;
static readonly mapping: {[index: string]: string} | undefined = undefined;
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "arrivalAirportCode",
"baseName": "arrivalAirportCode",
"type": "string",
"format": ""
},
{
"name": "basicFareCode",
"baseName": "basicFareCode",
"type": "string",
"format": ""
},
{
"name": "carrierCode",
"baseName": "carrierCode",
"type": "string",
"format": ""
},
{
"name": "departureAirportCode",
"baseName": "departureAirportCode",
"type": "string",
"format": ""
},
{
"name": "departureDate",
"baseName": "departureDate",
"type": "string",
"format": ""
},
{
"name": "flightNumber",
"baseName": "flightNumber",
"type": "string",
"format": ""
} ];
static getAttributeTypeMap() {
return Leg.attributeTypeMap;
}
public constructor() {
}
}