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.
3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 |
# File 'lib/v20181119/models.rb', line 3247 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
3245 3246 3247 |
# File 'lib/v20181119/models.rb', line 3245 def Allow @Allow end |
#Carrier ⇒ Object
3245 3246 3247 |
# File 'lib/v20181119/models.rb', line 3245 def Carrier @Carrier end |
#DateGetOn ⇒ Object
3245 3246 3247 |
# File 'lib/v20181119/models.rb', line 3245 def DateGetOn @DateGetOn end |
#FareBasis ⇒ Object
3245 3246 3247 |
# File 'lib/v20181119/models.rb', line 3245 def FareBasis @FareBasis end |
#FlightNumber ⇒ Object
3245 3246 3247 |
# File 'lib/v20181119/models.rb', line 3245 def FlightNumber @FlightNumber end |
#Seat ⇒ Object
3245 3246 3247 |
# File 'lib/v20181119/models.rb', line 3245 def Seat @Seat end |
#StationGetOff ⇒ Object
3245 3246 3247 |
# File 'lib/v20181119/models.rb', line 3245 def StationGetOff @StationGetOff end |
#StationGetOn ⇒ Object
3245 3246 3247 |
# File 'lib/v20181119/models.rb', line 3245 def StationGetOn @StationGetOn end |
#TerminalGetOff ⇒ Object
3245 3246 3247 |
# File 'lib/v20181119/models.rb', line 3245 def TerminalGetOff @TerminalGetOff end |
#TerminalGetOn ⇒ Object
3245 3246 3247 |
# File 'lib/v20181119/models.rb', line 3245 def TerminalGetOn @TerminalGetOn end |
#TimeGetOn ⇒ Object
3245 3246 3247 |
# File 'lib/v20181119/models.rb', line 3245 def TimeGetOn @TimeGetOn end |
Instance Method Details
#deserialize(params) ⇒ Object
3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 |
# File 'lib/v20181119/models.rb', line 3261 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 |