Class: TencentCloud::Ocr::V20181119::FlightItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::FlightItem
- Defined in:
- lib/v20181119/models.rb
Overview
机票行程卡条目
Instance Attribute Summary collapse
- #Allow ⇒ Object
- #Carrier ⇒ Object
- #DateGetOn ⇒ Object
- #FareBasis ⇒ Object
- #FlightNumber ⇒ Object
- #Seat ⇒ Object
- #StationGetOff ⇒ Object
- #StationGetOn ⇒ 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, stationgeton = nil, stationgetoff = nil, allow = nil, farebasis = nil) ⇒ FlightItem
constructor
A new instance of FlightItem.
Constructor Details
#initialize(terminalgeton = nil, terminalgetoff = nil, carrier = nil, flightnumber = nil, seat = nil, dategeton = nil, timegeton = nil, stationgeton = nil, stationgetoff = nil, allow = nil, farebasis = nil) ⇒ FlightItem
Returns a new instance of FlightItem.
3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 |
# File 'lib/v20181119/models.rb', line 3321 def initialize(terminalgeton=nil, terminalgetoff=nil, carrier=nil, flightnumber=nil, seat=nil, dategeton=nil, timegeton=nil, stationgeton=nil, stationgetoff=nil, allow=nil, farebasis=nil) @TerminalGetOn = terminalgeton @TerminalGetOff = terminalgetoff @Carrier = carrier @FlightNumber = flightnumber @Seat = seat @DateGetOn = dategeton @TimeGetOn = timegeton @StationGetOn = stationgeton @StationGetOff = stationgetoff @Allow = allow @FareBasis = farebasis end |
Instance Attribute Details
#Allow ⇒ Object
3319 3320 3321 |
# File 'lib/v20181119/models.rb', line 3319 def Allow @Allow end |
#Carrier ⇒ Object
3319 3320 3321 |
# File 'lib/v20181119/models.rb', line 3319 def Carrier @Carrier end |
#DateGetOn ⇒ Object
3319 3320 3321 |
# File 'lib/v20181119/models.rb', line 3319 def DateGetOn @DateGetOn end |
#FareBasis ⇒ Object
3319 3320 3321 |
# File 'lib/v20181119/models.rb', line 3319 def FareBasis @FareBasis end |
#FlightNumber ⇒ Object
3319 3320 3321 |
# File 'lib/v20181119/models.rb', line 3319 def FlightNumber @FlightNumber end |
#Seat ⇒ Object
3319 3320 3321 |
# File 'lib/v20181119/models.rb', line 3319 def Seat @Seat end |
#StationGetOff ⇒ Object
3319 3320 3321 |
# File 'lib/v20181119/models.rb', line 3319 def StationGetOff @StationGetOff end |
#StationGetOn ⇒ Object
3319 3320 3321 |
# File 'lib/v20181119/models.rb', line 3319 def StationGetOn @StationGetOn end |
#TerminalGetOff ⇒ Object
3319 3320 3321 |
# File 'lib/v20181119/models.rb', line 3319 def TerminalGetOff @TerminalGetOff end |
#TerminalGetOn ⇒ Object
3319 3320 3321 |
# File 'lib/v20181119/models.rb', line 3319 def TerminalGetOn @TerminalGetOn end |
#TimeGetOn ⇒ Object
3319 3320 3321 |
# File 'lib/v20181119/models.rb', line 3319 def TimeGetOn @TimeGetOn end |
Instance Method Details
#deserialize(params) ⇒ Object
3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 |
# File 'lib/v20181119/models.rb', line 3335 def deserialize(params) @TerminalGetOn = params['TerminalGetOn'] @TerminalGetOff = params['TerminalGetOff'] @Carrier = params['Carrier'] @FlightNumber = params['FlightNumber'] @Seat = params['Seat'] @DateGetOn = params['DateGetOn'] @TimeGetOn = params['TimeGetOn'] @StationGetOn = params['StationGetOn'] @StationGetOff = params['StationGetOff'] @Allow = params['Allow'] @FareBasis = params['FareBasis'] end |