001// Generated by delombok at Sun Apr 14 14:59:49 CEST 2024
002/*
003 * Copyright (c) 2010-2024 Mark Allen, Norbert Bartels.
004 *
005 * Permission is hereby granted, free of charge, to any person obtaining a copy
006 * of this software and associated documentation files (the "Software"), to deal
007 * in the Software without restriction, including without limitation the rights
008 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
009 * copies of the Software, and to permit persons to whom the Software is
010 * furnished to do so, subject to the following conditions:
011 *
012 * The above copyright notice and this permission notice shall be included in
013 * all copies or substantial portions of the Software.
014 *
015 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
016 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
017 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
018 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
019 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
020 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
021 * THE SOFTWARE.
022 */
023package com.restfb.types.webhook.messaging.airline;
024
025import com.restfb.Facebook;
026
027public class FlightInfoItem {
028  @Facebook("connection_id")
029  private String connectionId;
030  @Facebook("segment_id")
031  private String segmentId;
032  @Facebook("flight_number")
033  private String flightNumber;
034  @Facebook("aircraft_type")
035  private String aircraftType;
036  @Facebook("departure_airport")
037  private FlightAirportItem departureAirport;
038  @Facebook("arrival_airport")
039  private FlightAirportItem arrivalAirport;
040  @Facebook("flight_schedule")
041  private FlightScheduleItem flightSchedule;
042  @Facebook("travel_class")
043  private String travelClass;
044
045  @java.lang.Override
046  @java.lang.SuppressWarnings("all")
047  public java.lang.String toString() {
048    return "FlightInfoItem(connectionId=" + this.getConnectionId() + ", segmentId=" + this.getSegmentId() + ", flightNumber=" + this.getFlightNumber() + ", aircraftType=" + this.getAircraftType() + ", departureAirport=" + this.getDepartureAirport() + ", arrivalAirport=" + this.getArrivalAirport() + ", flightSchedule=" + this.getFlightSchedule() + ", travelClass=" + this.getTravelClass() + ")";
049  }
050
051  @java.lang.SuppressWarnings("all")
052  public String getConnectionId() {
053    return this.connectionId;
054  }
055
056  @java.lang.SuppressWarnings("all")
057  public void setConnectionId(final String connectionId) {
058    this.connectionId = connectionId;
059  }
060
061  @java.lang.SuppressWarnings("all")
062  public String getSegmentId() {
063    return this.segmentId;
064  }
065
066  @java.lang.SuppressWarnings("all")
067  public void setSegmentId(final String segmentId) {
068    this.segmentId = segmentId;
069  }
070
071  @java.lang.SuppressWarnings("all")
072  public String getFlightNumber() {
073    return this.flightNumber;
074  }
075
076  @java.lang.SuppressWarnings("all")
077  public void setFlightNumber(final String flightNumber) {
078    this.flightNumber = flightNumber;
079  }
080
081  @java.lang.SuppressWarnings("all")
082  public String getAircraftType() {
083    return this.aircraftType;
084  }
085
086  @java.lang.SuppressWarnings("all")
087  public void setAircraftType(final String aircraftType) {
088    this.aircraftType = aircraftType;
089  }
090
091  @java.lang.SuppressWarnings("all")
092  public FlightAirportItem getDepartureAirport() {
093    return this.departureAirport;
094  }
095
096  @java.lang.SuppressWarnings("all")
097  public void setDepartureAirport(final FlightAirportItem departureAirport) {
098    this.departureAirport = departureAirport;
099  }
100
101  @java.lang.SuppressWarnings("all")
102  public FlightAirportItem getArrivalAirport() {
103    return this.arrivalAirport;
104  }
105
106  @java.lang.SuppressWarnings("all")
107  public void setArrivalAirport(final FlightAirportItem arrivalAirport) {
108    this.arrivalAirport = arrivalAirport;
109  }
110
111  @java.lang.SuppressWarnings("all")
112  public FlightScheduleItem getFlightSchedule() {
113    return this.flightSchedule;
114  }
115
116  @java.lang.SuppressWarnings("all")
117  public void setFlightSchedule(final FlightScheduleItem flightSchedule) {
118    this.flightSchedule = flightSchedule;
119  }
120
121  @java.lang.SuppressWarnings("all")
122  public String getTravelClass() {
123    return this.travelClass;
124  }
125
126  @java.lang.SuppressWarnings("all")
127  public void setTravelClass(final String travelClass) {
128    this.travelClass = travelClass;
129  }
130}