Class: TencentCloud::Ocr::V20181119::FlightItemInfo

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, farebasis = nil, allow = nil) ⇒ FlightItemInfo

Returns a new instance of FlightItemInfo.



3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
# File 'lib/v20181119/models.rb', line 3299

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

Instance Attribute Details

#AllowObject

Parameters:

  • TerminalGetOn:

    出发站

  • TerminalGetOff:

    到达站

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • FareBasis:

    客票级别/客票类别

  • Allow:

    免费行李额



3297
3298
3299
# File 'lib/v20181119/models.rb', line 3297

def Allow
  @Allow
end

#CarrierObject

Parameters:

  • TerminalGetOn:

    出发站

  • TerminalGetOff:

    到达站

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • FareBasis:

    客票级别/客票类别

  • Allow:

    免费行李额



3297
3298
3299
# File 'lib/v20181119/models.rb', line 3297

def Carrier
  @Carrier
end

#DateGetOnObject

Parameters:

  • TerminalGetOn:

    出发站

  • TerminalGetOff:

    到达站

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • FareBasis:

    客票级别/客票类别

  • Allow:

    免费行李额



3297
3298
3299
# File 'lib/v20181119/models.rb', line 3297

def DateGetOn
  @DateGetOn
end

#FareBasisObject

Parameters:

  • TerminalGetOn:

    出发站

  • TerminalGetOff:

    到达站

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • FareBasis:

    客票级别/客票类别

  • Allow:

    免费行李额



3297
3298
3299
# File 'lib/v20181119/models.rb', line 3297

def FareBasis
  @FareBasis
end

#FlightNumberObject

Parameters:

  • TerminalGetOn:

    出发站

  • TerminalGetOff:

    到达站

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • FareBasis:

    客票级别/客票类别

  • Allow:

    免费行李额



3297
3298
3299
# File 'lib/v20181119/models.rb', line 3297

def FlightNumber
  @FlightNumber
end

#SeatObject

Parameters:

  • TerminalGetOn:

    出发站

  • TerminalGetOff:

    到达站

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • FareBasis:

    客票级别/客票类别

  • Allow:

    免费行李额



3297
3298
3299
# File 'lib/v20181119/models.rb', line 3297

def Seat
  @Seat
end

#TerminalGetOffObject

Parameters:

  • TerminalGetOn:

    出发站

  • TerminalGetOff:

    到达站

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • FareBasis:

    客票级别/客票类别

  • Allow:

    免费行李额



3297
3298
3299
# File 'lib/v20181119/models.rb', line 3297

def TerminalGetOff
  @TerminalGetOff
end

#TerminalGetOnObject

Parameters:

  • TerminalGetOn:

    出发站

  • TerminalGetOff:

    到达站

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • FareBasis:

    客票级别/客票类别

  • Allow:

    免费行李额



3297
3298
3299
# File 'lib/v20181119/models.rb', line 3297

def TerminalGetOn
  @TerminalGetOn
end

#TimeGetOnObject

Parameters:

  • TerminalGetOn:

    出发站

  • TerminalGetOff:

    到达站

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • FareBasis:

    客票级别/客票类别

  • Allow:

    免费行李额



3297
3298
3299
# File 'lib/v20181119/models.rb', line 3297

def TimeGetOn
  @TimeGetOn
end

Instance Method Details

#deserialize(params) ⇒ Object



3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
# File 'lib/v20181119/models.rb', line 3311

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