Class: TencentCloud::Ocr::V20181119::FlightItem

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20181119/models.rb

Overview

机票行程卡条目

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(terminalgeton = nil, terminalgetoff = nil, carrier = nil, flightnumber = nil, seat = nil, dategeton = nil, timegeton = nil, stationgeton = nil, stationgetoff = nil, allow = nil, farebasis = nil) ⇒ FlightItem

Returns a new instance of FlightItem.



3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
# File 'lib/v20181119/models.rb', line 3247

def initialize(terminalgeton=nil, terminalgetoff=nil, carrier=nil, flightnumber=nil, seat=nil, dategeton=nil, timegeton=nil, stationgeton=nil, stationgetoff=nil, allow=nil, farebasis=nil)
  @TerminalGetOn = terminalgeton
  @TerminalGetOff = terminalgetoff
  @Carrier = carrier
  @FlightNumber = flightnumber
  @Seat = seat
  @DateGetOn = dategeton
  @TimeGetOn = timegeton
  @StationGetOn = stationgeton
  @StationGetOff = stationgetoff
  @Allow = allow
  @FareBasis = farebasis
end

Instance Attribute Details

#AllowObject

Parameters:

  • TerminalGetOn:

    出发航站楼

  • TerminalGetOff:

    到达航站楼

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • StationGetOn:

    出发站

  • StationGetOff:

    到达站

  • Allow:

    免费行李

  • FareBasis:

    客票级别/客票类别



3245
3246
3247
# File 'lib/v20181119/models.rb', line 3245

def Allow
  @Allow
end

#CarrierObject

Parameters:

  • TerminalGetOn:

    出发航站楼

  • TerminalGetOff:

    到达航站楼

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • StationGetOn:

    出发站

  • StationGetOff:

    到达站

  • Allow:

    免费行李

  • FareBasis:

    客票级别/客票类别



3245
3246
3247
# File 'lib/v20181119/models.rb', line 3245

def Carrier
  @Carrier
end

#DateGetOnObject

Parameters:

  • TerminalGetOn:

    出发航站楼

  • TerminalGetOff:

    到达航站楼

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • StationGetOn:

    出发站

  • StationGetOff:

    到达站

  • Allow:

    免费行李

  • FareBasis:

    客票级别/客票类别



3245
3246
3247
# File 'lib/v20181119/models.rb', line 3245

def DateGetOn
  @DateGetOn
end

#FareBasisObject

Parameters:

  • TerminalGetOn:

    出发航站楼

  • TerminalGetOff:

    到达航站楼

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • StationGetOn:

    出发站

  • StationGetOff:

    到达站

  • Allow:

    免费行李

  • FareBasis:

    客票级别/客票类别



3245
3246
3247
# File 'lib/v20181119/models.rb', line 3245

def FareBasis
  @FareBasis
end

#FlightNumberObject

Parameters:

  • TerminalGetOn:

    出发航站楼

  • TerminalGetOff:

    到达航站楼

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • StationGetOn:

    出发站

  • StationGetOff:

    到达站

  • Allow:

    免费行李

  • FareBasis:

    客票级别/客票类别



3245
3246
3247
# File 'lib/v20181119/models.rb', line 3245

def FlightNumber
  @FlightNumber
end

#SeatObject

Parameters:

  • TerminalGetOn:

    出发航站楼

  • TerminalGetOff:

    到达航站楼

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • StationGetOn:

    出发站

  • StationGetOff:

    到达站

  • Allow:

    免费行李

  • FareBasis:

    客票级别/客票类别



3245
3246
3247
# File 'lib/v20181119/models.rb', line 3245

def Seat
  @Seat
end

#StationGetOffObject

Parameters:

  • TerminalGetOn:

    出发航站楼

  • TerminalGetOff:

    到达航站楼

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • StationGetOn:

    出发站

  • StationGetOff:

    到达站

  • Allow:

    免费行李

  • FareBasis:

    客票级别/客票类别



3245
3246
3247
# File 'lib/v20181119/models.rb', line 3245

def StationGetOff
  @StationGetOff
end

#StationGetOnObject

Parameters:

  • TerminalGetOn:

    出发航站楼

  • TerminalGetOff:

    到达航站楼

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • StationGetOn:

    出发站

  • StationGetOff:

    到达站

  • Allow:

    免费行李

  • FareBasis:

    客票级别/客票类别



3245
3246
3247
# File 'lib/v20181119/models.rb', line 3245

def StationGetOn
  @StationGetOn
end

#TerminalGetOffObject

Parameters:

  • TerminalGetOn:

    出发航站楼

  • TerminalGetOff:

    到达航站楼

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • StationGetOn:

    出发站

  • StationGetOff:

    到达站

  • Allow:

    免费行李

  • FareBasis:

    客票级别/客票类别



3245
3246
3247
# File 'lib/v20181119/models.rb', line 3245

def TerminalGetOff
  @TerminalGetOff
end

#TerminalGetOnObject

Parameters:

  • TerminalGetOn:

    出发航站楼

  • TerminalGetOff:

    到达航站楼

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • StationGetOn:

    出发站

  • StationGetOff:

    到达站

  • Allow:

    免费行李

  • FareBasis:

    客票级别/客票类别



3245
3246
3247
# File 'lib/v20181119/models.rb', line 3245

def TerminalGetOn
  @TerminalGetOn
end

#TimeGetOnObject

Parameters:

  • TerminalGetOn:

    出发航站楼

  • TerminalGetOff:

    到达航站楼

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • StationGetOn:

    出发站

  • StationGetOff:

    到达站

  • Allow:

    免费行李

  • FareBasis:

    客票级别/客票类别



3245
3246
3247
# File 'lib/v20181119/models.rb', line 3245

def TimeGetOn
  @TimeGetOn
end

Instance Method Details

#deserialize(params) ⇒ Object



3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
# File 'lib/v20181119/models.rb', line 3261

def deserialize(params)
  @TerminalGetOn = params['TerminalGetOn']
  @TerminalGetOff = params['TerminalGetOff']
  @Carrier = params['Carrier']
  @FlightNumber = params['FlightNumber']
  @Seat = params['Seat']
  @DateGetOn = params['DateGetOn']
  @TimeGetOn = params['TimeGetOn']
  @StationGetOn = params['StationGetOn']
  @StationGetOff = params['StationGetOff']
  @Allow = params['Allow']
  @FareBasis = params['FareBasis']
end