Documentation ¶
Index ¶
- Variables
- type CompartmentCode
- func (CompartmentCode) Descriptor() protoreflect.EnumDescriptor
- func (x CompartmentCode) Enum() *CompartmentCode
- func (CompartmentCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x CompartmentCode) Number() protoreflect.EnumNumber
- func (x CompartmentCode) String() string
- func (CompartmentCode) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CompartmentCode_name = map[int32]string{ 0: "NONE", 1: "R", 2: "P", 3: "F", 4: "A", 5: "J", 6: "C", 7: "D", 8: "I", 9: "Z", 10: "W", 11: "E", 12: "S", 13: "Y", 14: "B", 15: "H", 16: "K", 17: "L", 18: "M", 19: "N", 20: "O", 21: "Q", 22: "T", 23: "V", 24: "X", 25: "G", 26: "U", } CompartmentCode_value = map[string]int32{ "NONE": 0, "R": 1, "P": 2, "F": 3, "A": 4, "J": 5, "C": 6, "D": 7, "I": 8, "Z": 9, "W": 10, "E": 11, "S": 12, "Y": 13, "B": 14, "H": 15, "K": 16, "L": 17, "M": 18, "N": 19, "O": 20, "Q": 21, "T": 22, "V": 23, "X": 24, "G": 25, "U": 26, } )
Enum value maps for CompartmentCode.
View Source
var File_io_flights_cabin_codes_cabin_codes_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CompartmentCode ¶
type CompartmentCode int32
Compartment Code descriptions represent most frequently used classes. Airlines have discretion on how they use these codes.
const ( // Compartment code not provided CompartmentCode_NONE CompartmentCode = 0 // First class suite (previously supersonic) CompartmentCode_R CompartmentCode = 1 // First class premium CompartmentCode_P CompartmentCode = 2 // First class CompartmentCode_F CompartmentCode = 3 // First class discounted CompartmentCode_A CompartmentCode = 4 // Business class premium CompartmentCode_J CompartmentCode = 5 // Business class CompartmentCode_C CompartmentCode = 6 // Business class discounted CompartmentCode_D CompartmentCode = 7 // Business class discounted CompartmentCode_I CompartmentCode = 8 // Business class discounted CompartmentCode_Z CompartmentCode = 9 // Premium economy CompartmentCode_W CompartmentCode = 10 // Premium economy discounted CompartmentCode_E CompartmentCode = 11 // Economy CompartmentCode_S CompartmentCode = 12 // Economy CompartmentCode_Y CompartmentCode = 13 // Economy discounted CompartmentCode_B CompartmentCode = 14 // Economy discounted CompartmentCode_H CompartmentCode = 15 // Economy discounted CompartmentCode_K CompartmentCode = 16 // Economy discounted CompartmentCode_L CompartmentCode = 17 // Economy discounted CompartmentCode_M CompartmentCode = 18 // Economy discounted CompartmentCode_N CompartmentCode = 19 // Economy discounted CompartmentCode_O CompartmentCode = 20 // Economy discounted CompartmentCode_Q CompartmentCode = 21 // Premium economy discounted / Economy discounted CompartmentCode_T CompartmentCode = 22 // Economy discounted CompartmentCode_V CompartmentCode = 23 // Economy discounted CompartmentCode_X CompartmentCode = 24 // Conditional reservation CompartmentCode_G CompartmentCode = 25 // Shuttle service CompartmentCode_U CompartmentCode = 26 )
func (CompartmentCode) Descriptor ¶
func (CompartmentCode) Descriptor() protoreflect.EnumDescriptor
func (CompartmentCode) Enum ¶
func (x CompartmentCode) Enum() *CompartmentCode
func (CompartmentCode) EnumDescriptor
deprecated
func (CompartmentCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use CompartmentCode.Descriptor instead.
func (CompartmentCode) Number ¶
func (x CompartmentCode) Number() protoreflect.EnumNumber
func (CompartmentCode) String ¶
func (x CompartmentCode) String() string
func (CompartmentCode) Type ¶
func (CompartmentCode) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.