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.
3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 |
# File 'lib/v20181119/models.rb', line 3373 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
3371 3372 3373 |
# File 'lib/v20181119/models.rb', line 3371 def Allow @Allow end |
#Carrier ⇒ Object
3371 3372 3373 |
# File 'lib/v20181119/models.rb', line 3371 def Carrier @Carrier end |
#DateGetOn ⇒ Object
3371 3372 3373 |
# File 'lib/v20181119/models.rb', line 3371 def DateGetOn @DateGetOn end |
#FareBasis ⇒ Object
3371 3372 3373 |
# File 'lib/v20181119/models.rb', line 3371 def FareBasis @FareBasis end |
#FlightNumber ⇒ Object
3371 3372 3373 |
# File 'lib/v20181119/models.rb', line 3371 def FlightNumber @FlightNumber end |
#Seat ⇒ Object
3371 3372 3373 |
# File 'lib/v20181119/models.rb', line 3371 def Seat @Seat end |
#TerminalGetOff ⇒ Object
3371 3372 3373 |
# File 'lib/v20181119/models.rb', line 3371 def TerminalGetOff @TerminalGetOff end |
#TerminalGetOn ⇒ Object
3371 3372 3373 |
# File 'lib/v20181119/models.rb', line 3371 def TerminalGetOn @TerminalGetOn end |
#TimeGetOn ⇒ Object
3371 3372 3373 |
# File 'lib/v20181119/models.rb', line 3371 def TimeGetOn @TimeGetOn end |
Instance Method Details
#deserialize(params) ⇒ Object
3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 |
# File 'lib/v20181119/models.rb', line 3385 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 |