Class: TencentCloud::Ocr::V20181119::FlightItemInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::FlightItemInfo
- Defined in:
- lib/v20181119/models.rb
Overview
机票详细信息元组
Instance Attribute Summary collapse
- #Allow ⇒ Object
- #Carrier ⇒ Object
- #DateGetOn ⇒ Object
- #FareBasis ⇒ Object
- #FlightNumber ⇒ Object
- #Seat ⇒ Object
- #TerminalGetOff ⇒ Object
- #TerminalGetOn ⇒ Object
- #TimeGetOn ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(terminalgeton = nil, terminalgetoff = nil, carrier = nil, flightnumber = nil, seat = nil, dategeton = nil, timegeton = nil, farebasis = nil, allow = nil) ⇒ FlightItemInfo
constructor
A new instance of FlightItemInfo.
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
#Allow ⇒ Object
3297 3298 3299 |
# File 'lib/v20181119/models.rb', line 3297 def Allow @Allow end |
#Carrier ⇒ Object
3297 3298 3299 |
# File 'lib/v20181119/models.rb', line 3297 def Carrier @Carrier end |
#DateGetOn ⇒ Object
3297 3298 3299 |
# File 'lib/v20181119/models.rb', line 3297 def DateGetOn @DateGetOn end |
#FareBasis ⇒ Object
3297 3298 3299 |
# File 'lib/v20181119/models.rb', line 3297 def FareBasis @FareBasis end |
#FlightNumber ⇒ Object
3297 3298 3299 |
# File 'lib/v20181119/models.rb', line 3297 def FlightNumber @FlightNumber end |
#Seat ⇒ Object
3297 3298 3299 |
# File 'lib/v20181119/models.rb', line 3297 def Seat @Seat end |
#TerminalGetOff ⇒ Object
3297 3298 3299 |
# File 'lib/v20181119/models.rb', line 3297 def TerminalGetOff @TerminalGetOff end |
#TerminalGetOn ⇒ Object
3297 3298 3299 |
# File 'lib/v20181119/models.rb', line 3297 def TerminalGetOn @TerminalGetOn end |
#TimeGetOn ⇒ Object
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 |