Class: TencentCloud::Ocr::V20181119::DetailInformationOfAirTicketTupleList
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::DetailInformationOfAirTicketTupleList
- Defined in:
- lib/v20181119/models.rb
Overview
机票详细信息元组
Instance Attribute Summary collapse
- #Carrier ⇒ Object
- #CarrierDate ⇒ Object
- #DepartureStation ⇒ Object
- #DepartureTime ⇒ Object
- #DestinationStation ⇒ Object
- #EffectiveDate ⇒ Object
- #ExpirationDate ⇒ Object
- #FareBasis ⇒ Object
- #Flight ⇒ Object
- #FlightSegment ⇒ Object
- #FreeBaggageAllowance ⇒ Object
- #SeatClass ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(departurestation = nil, destinationstation = nil, flightsegment = nil, carrier = nil, flight = nil, seatclass = nil, carrierdate = nil, departuretime = nil, farebasis = nil, effectivedate = nil, expirationdate = nil, freebaggageallowance = nil) ⇒ DetailInformationOfAirTicketTupleList
constructor
A new instance of DetailInformationOfAirTicketTupleList.
Constructor Details
#initialize(departurestation = nil, destinationstation = nil, flightsegment = nil, carrier = nil, flight = nil, seatclass = nil, carrierdate = nil, departuretime = nil, farebasis = nil, effectivedate = nil, expirationdate = nil, freebaggageallowance = nil) ⇒ DetailInformationOfAirTicketTupleList
Returns a new instance of DetailInformationOfAirTicketTupleList.
1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 |
# File 'lib/v20181119/models.rb', line 1541 def initialize(departurestation=nil, destinationstation=nil, flightsegment=nil, carrier=nil, flight=nil, seatclass=nil, carrierdate=nil, departuretime=nil, farebasis=nil, effectivedate=nil, expirationdate=nil, freebaggageallowance=nil) @DepartureStation = departurestation @DestinationStation = destinationstation @FlightSegment = flightsegment @Carrier = carrier @Flight = flight @SeatClass = seatclass @CarrierDate = carrierdate @DepartureTime = departuretime @FareBasis = farebasis @EffectiveDate = effectivedate @ExpirationDate = expirationdate @FreeBaggageAllowance = freebaggageallowance end |
Instance Attribute Details
#Carrier ⇒ Object
1539 1540 1541 |
# File 'lib/v20181119/models.rb', line 1539 def Carrier @Carrier end |
#CarrierDate ⇒ Object
1539 1540 1541 |
# File 'lib/v20181119/models.rb', line 1539 def CarrierDate @CarrierDate end |
#DepartureStation ⇒ Object
1539 1540 1541 |
# File 'lib/v20181119/models.rb', line 1539 def DepartureStation @DepartureStation end |
#DepartureTime ⇒ Object
1539 1540 1541 |
# File 'lib/v20181119/models.rb', line 1539 def DepartureTime @DepartureTime end |
#DestinationStation ⇒ Object
1539 1540 1541 |
# File 'lib/v20181119/models.rb', line 1539 def DestinationStation @DestinationStation end |
#EffectiveDate ⇒ Object
1539 1540 1541 |
# File 'lib/v20181119/models.rb', line 1539 def EffectiveDate @EffectiveDate end |
#ExpirationDate ⇒ Object
1539 1540 1541 |
# File 'lib/v20181119/models.rb', line 1539 def ExpirationDate @ExpirationDate end |
#FareBasis ⇒ Object
1539 1540 1541 |
# File 'lib/v20181119/models.rb', line 1539 def FareBasis @FareBasis end |
#Flight ⇒ Object
1539 1540 1541 |
# File 'lib/v20181119/models.rb', line 1539 def Flight @Flight end |
#FlightSegment ⇒ Object
1539 1540 1541 |
# File 'lib/v20181119/models.rb', line 1539 def FlightSegment @FlightSegment end |
#FreeBaggageAllowance ⇒ Object
1539 1540 1541 |
# File 'lib/v20181119/models.rb', line 1539 def FreeBaggageAllowance @FreeBaggageAllowance end |
#SeatClass ⇒ Object
1539 1540 1541 |
# File 'lib/v20181119/models.rb', line 1539 def SeatClass @SeatClass end |
Instance Method Details
#deserialize(params) ⇒ Object
1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 |
# File 'lib/v20181119/models.rb', line 1556 def deserialize(params) @DepartureStation = params['DepartureStation'] @DestinationStation = params['DestinationStation'] @FlightSegment = params['FlightSegment'] @Carrier = params['Carrier'] @Flight = params['Flight'] @SeatClass = params['SeatClass'] @CarrierDate = params['CarrierDate'] @DepartureTime = params['DepartureTime'] @FareBasis = params['FareBasis'] @EffectiveDate = params['EffectiveDate'] @ExpirationDate = params['ExpirationDate'] @FreeBaggageAllowance = params['FreeBaggageAllowance'] end |