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.



3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
# File 'lib/v20181119/models.rb', line 3716

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:

  • TerminalGetOn:

    出发站

  • TerminalGetOff:

    到达站

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • FareBasis:

    客票级别/客票类别

  • Allow:

    免费行李额

  • DateStart:

    客票生效日期

  • DateEnd:

    有效截止日期



3714
3715
3716
# File 'lib/v20181119/models.rb', line 3714

def Allow
  @Allow
end

#CarrierObject

Parameters:

  • TerminalGetOn:

    出发站

  • TerminalGetOff:

    到达站

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • FareBasis:

    客票级别/客票类别

  • Allow:

    免费行李额

  • DateStart:

    客票生效日期

  • DateEnd:

    有效截止日期



3714
3715
3716
# File 'lib/v20181119/models.rb', line 3714

def Carrier
  @Carrier
end

#DateEndObject

Parameters:

  • TerminalGetOn:

    出发站

  • TerminalGetOff:

    到达站

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • FareBasis:

    客票级别/客票类别

  • Allow:

    免费行李额

  • DateStart:

    客票生效日期

  • DateEnd:

    有效截止日期



3714
3715
3716
# File 'lib/v20181119/models.rb', line 3714

def DateEnd
  @DateEnd
end

#DateGetOnObject

Parameters:

  • TerminalGetOn:

    出发站

  • TerminalGetOff:

    到达站

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • FareBasis:

    客票级别/客票类别

  • Allow:

    免费行李额

  • DateStart:

    客票生效日期

  • DateEnd:

    有效截止日期



3714
3715
3716
# File 'lib/v20181119/models.rb', line 3714

def DateGetOn
  @DateGetOn
end

#DateStartObject

Parameters:

  • TerminalGetOn:

    出发站

  • TerminalGetOff:

    到达站

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • FareBasis:

    客票级别/客票类别

  • Allow:

    免费行李额

  • DateStart:

    客票生效日期

  • DateEnd:

    有效截止日期



3714
3715
3716
# File 'lib/v20181119/models.rb', line 3714

def DateStart
  @DateStart
end

#FareBasisObject

Parameters:

  • TerminalGetOn:

    出发站

  • TerminalGetOff:

    到达站

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • FareBasis:

    客票级别/客票类别

  • Allow:

    免费行李额

  • DateStart:

    客票生效日期

  • DateEnd:

    有效截止日期



3714
3715
3716
# File 'lib/v20181119/models.rb', line 3714

def FareBasis
  @FareBasis
end

#FlightNumberObject

Parameters:

  • TerminalGetOn:

    出发站

  • TerminalGetOff:

    到达站

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • FareBasis:

    客票级别/客票类别

  • Allow:

    免费行李额

  • DateStart:

    客票生效日期

  • DateEnd:

    有效截止日期



3714
3715
3716
# File 'lib/v20181119/models.rb', line 3714

def FlightNumber
  @FlightNumber
end

#SeatObject

Parameters:

  • TerminalGetOn:

    出发站

  • TerminalGetOff:

    到达站

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • FareBasis:

    客票级别/客票类别

  • Allow:

    免费行李额

  • DateStart:

    客票生效日期

  • DateEnd:

    有效截止日期



3714
3715
3716
# File 'lib/v20181119/models.rb', line 3714

def Seat
  @Seat
end

#TerminalGetOffObject

Parameters:

  • TerminalGetOn:

    出发站

  • TerminalGetOff:

    到达站

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • FareBasis:

    客票级别/客票类别

  • Allow:

    免费行李额

  • DateStart:

    客票生效日期

  • DateEnd:

    有效截止日期



3714
3715
3716
# File 'lib/v20181119/models.rb', line 3714

def TerminalGetOff
  @TerminalGetOff
end

#TerminalGetOnObject

Parameters:

  • TerminalGetOn:

    出发站

  • TerminalGetOff:

    到达站

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • FareBasis:

    客票级别/客票类别

  • Allow:

    免费行李额

  • DateStart:

    客票生效日期

  • DateEnd:

    有效截止日期



3714
3715
3716
# File 'lib/v20181119/models.rb', line 3714

def TerminalGetOn
  @TerminalGetOn
end

#TimeGetOnObject

Parameters:

  • TerminalGetOn:

    出发站

  • TerminalGetOff:

    到达站

  • Carrier:

    承运人

  • FlightNumber:

    航班号

  • Seat:

    座位等级

  • DateGetOn:

    乘机日期

  • TimeGetOn:

    乘机时间

  • FareBasis:

    客票级别/客票类别

  • Allow:

    免费行李额

  • DateStart:

    客票生效日期

  • DateEnd:

    有效截止日期



3714
3715
3716
# File 'lib/v20181119/models.rb', line 3714

def TimeGetOn
  @TimeGetOn
end

Instance Method Details

#deserialize(params) ⇒ Object



3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
# File 'lib/v20181119/models.rb', line 3730

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