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, datestart = nil, dateend = nil) ⇒ FlightItemInfo

Returns a new instance of FlightItemInfo.



3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
# File 'lib/v20181119/models.rb', line 3996

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

Instance Attribute Details

#AllowObject

Parameters:

  • 出发站

  • 到达站

  • 承运人

  • 航班号

  • 座位等级

  • 乘机日期

  • 乘机时间

  • 客票级别/客票类别

  • 免费行李额

  • 客票生效日期

  • 有效截止日期



3994
3995
3996
# File 'lib/v20181119/models.rb', line 3994

def Allow
  @Allow
end

#CarrierObject

Parameters:

  • 出发站

  • 到达站

  • 承运人

  • 航班号

  • 座位等级

  • 乘机日期

  • 乘机时间

  • 客票级别/客票类别

  • 免费行李额

  • 客票生效日期

  • 有效截止日期



3994
3995
3996
# File 'lib/v20181119/models.rb', line 3994

def Carrier
  @Carrier
end

#DateEndObject

Parameters:

  • 出发站

  • 到达站

  • 承运人

  • 航班号

  • 座位等级

  • 乘机日期

  • 乘机时间

  • 客票级别/客票类别

  • 免费行李额

  • 客票生效日期

  • 有效截止日期



3994
3995
3996
# File 'lib/v20181119/models.rb', line 3994

def DateEnd
  @DateEnd
end

#DateGetOnObject

Parameters:

  • 出发站

  • 到达站

  • 承运人

  • 航班号

  • 座位等级

  • 乘机日期

  • 乘机时间

  • 客票级别/客票类别

  • 免费行李额

  • 客票生效日期

  • 有效截止日期



3994
3995
3996
# File 'lib/v20181119/models.rb', line 3994

def DateGetOn
  @DateGetOn
end

#DateStartObject

Parameters:

  • 出发站

  • 到达站

  • 承运人

  • 航班号

  • 座位等级

  • 乘机日期

  • 乘机时间

  • 客票级别/客票类别

  • 免费行李额

  • 客票生效日期

  • 有效截止日期



3994
3995
3996
# File 'lib/v20181119/models.rb', line 3994

def DateStart
  @DateStart
end

#FareBasisObject

Parameters:

  • 出发站

  • 到达站

  • 承运人

  • 航班号

  • 座位等级

  • 乘机日期

  • 乘机时间

  • 客票级别/客票类别

  • 免费行李额

  • 客票生效日期

  • 有效截止日期



3994
3995
3996
# File 'lib/v20181119/models.rb', line 3994

def FareBasis
  @FareBasis
end

#FlightNumberObject

Parameters:

  • 出发站

  • 到达站

  • 承运人

  • 航班号

  • 座位等级

  • 乘机日期

  • 乘机时间

  • 客票级别/客票类别

  • 免费行李额

  • 客票生效日期

  • 有效截止日期



3994
3995
3996
# File 'lib/v20181119/models.rb', line 3994

def FlightNumber
  @FlightNumber
end

#SeatObject

Parameters:

  • 出发站

  • 到达站

  • 承运人

  • 航班号

  • 座位等级

  • 乘机日期

  • 乘机时间

  • 客票级别/客票类别

  • 免费行李额

  • 客票生效日期

  • 有效截止日期



3994
3995
3996
# File 'lib/v20181119/models.rb', line 3994

def Seat
  @Seat
end

#TerminalGetOffObject

Parameters:

  • 出发站

  • 到达站

  • 承运人

  • 航班号

  • 座位等级

  • 乘机日期

  • 乘机时间

  • 客票级别/客票类别

  • 免费行李额

  • 客票生效日期

  • 有效截止日期



3994
3995
3996
# File 'lib/v20181119/models.rb', line 3994

def TerminalGetOff
  @TerminalGetOff
end

#TerminalGetOnObject

Parameters:

  • 出发站

  • 到达站

  • 承运人

  • 航班号

  • 座位等级

  • 乘机日期

  • 乘机时间

  • 客票级别/客票类别

  • 免费行李额

  • 客票生效日期

  • 有效截止日期



3994
3995
3996
# File 'lib/v20181119/models.rb', line 3994

def TerminalGetOn
  @TerminalGetOn
end

#TimeGetOnObject

Parameters:

  • 出发站

  • 到达站

  • 承运人

  • 航班号

  • 座位等级

  • 乘机日期

  • 乘机时间

  • 客票级别/客票类别

  • 免费行李额

  • 客票生效日期

  • 有效截止日期



3994
3995
3996
# File 'lib/v20181119/models.rb', line 3994

def TimeGetOn
  @TimeGetOn
end

Instance Method Details

#deserialize(params) ⇒ Object



4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
# File 'lib/v20181119/models.rb', line 4010

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']
  @DateStart = params['DateStart']
  @DateEnd = params['DateEnd']
end