001// Generated by delombok at Fri Oct 04 16:05:59 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 java.util.List;
026import com.restfb.Facebook;
027
028public class BoardingPassItem {
029  @Facebook("passenger_name")
030  private String passengerName;
031  @Facebook("pnr_number")
032  private String pnrNumber;
033  @Facebook("travel_class")
034  private String travelClass;
035  @Facebook
036  private String seat;
037  @Facebook("auxiliary_fields")
038  private List<AirlineFieldItem> auxiliaryFields;
039  @Facebook("secondary_fields")
040  private List<AirlineFieldItem> secondaryFields;
041  @Facebook("logo_image_url")
042  private String logoImageUrl;
043  @Facebook("header_image_url")
044  private String headerImageUrl;
045  @Facebook("header_text_field")
046  private String headerTextField;
047  @Facebook("qr_code")
048  private String qrCode;
049  @Facebook("barcode_image_url")
050  private String barcodeImageUrl;
051  @Facebook("above_bar_code_image_url")
052  private String aboveBarCodeImageUrl;
053  @Facebook("flight_info")
054  private FlightInfoItem flightInfo;
055
056  @java.lang.Override
057  @java.lang.SuppressWarnings("all")
058  public java.lang.String toString() {
059    return "BoardingPassItem(passengerName=" + this.getPassengerName() + ", pnrNumber=" + this.getPnrNumber() + ", travelClass=" + this.getTravelClass() + ", seat=" + this.getSeat() + ", auxiliaryFields=" + this.getAuxiliaryFields() + ", secondaryFields=" + this.getSecondaryFields() + ", logoImageUrl=" + this.getLogoImageUrl() + ", headerImageUrl=" + this.getHeaderImageUrl() + ", headerTextField=" + this.getHeaderTextField() + ", qrCode=" + this.getQrCode() + ", barcodeImageUrl=" + this.getBarcodeImageUrl() + ", aboveBarCodeImageUrl=" + this.getAboveBarCodeImageUrl() + ", flightInfo=" + this.getFlightInfo() + ")";
060  }
061
062  @java.lang.SuppressWarnings("all")
063  public String getPassengerName() {
064    return this.passengerName;
065  }
066
067  @java.lang.SuppressWarnings("all")
068  public void setPassengerName(final String passengerName) {
069    this.passengerName = passengerName;
070  }
071
072  @java.lang.SuppressWarnings("all")
073  public String getPnrNumber() {
074    return this.pnrNumber;
075  }
076
077  @java.lang.SuppressWarnings("all")
078  public void setPnrNumber(final String pnrNumber) {
079    this.pnrNumber = pnrNumber;
080  }
081
082  @java.lang.SuppressWarnings("all")
083  public String getTravelClass() {
084    return this.travelClass;
085  }
086
087  @java.lang.SuppressWarnings("all")
088  public void setTravelClass(final String travelClass) {
089    this.travelClass = travelClass;
090  }
091
092  @java.lang.SuppressWarnings("all")
093  public String getSeat() {
094    return this.seat;
095  }
096
097  @java.lang.SuppressWarnings("all")
098  public void setSeat(final String seat) {
099    this.seat = seat;
100  }
101
102  @java.lang.SuppressWarnings("all")
103  public List<AirlineFieldItem> getAuxiliaryFields() {
104    return this.auxiliaryFields;
105  }
106
107  @java.lang.SuppressWarnings("all")
108  public void setAuxiliaryFields(final List<AirlineFieldItem> auxiliaryFields) {
109    this.auxiliaryFields = auxiliaryFields;
110  }
111
112  @java.lang.SuppressWarnings("all")
113  public List<AirlineFieldItem> getSecondaryFields() {
114    return this.secondaryFields;
115  }
116
117  @java.lang.SuppressWarnings("all")
118  public void setSecondaryFields(final List<AirlineFieldItem> secondaryFields) {
119    this.secondaryFields = secondaryFields;
120  }
121
122  @java.lang.SuppressWarnings("all")
123  public String getLogoImageUrl() {
124    return this.logoImageUrl;
125  }
126
127  @java.lang.SuppressWarnings("all")
128  public void setLogoImageUrl(final String logoImageUrl) {
129    this.logoImageUrl = logoImageUrl;
130  }
131
132  @java.lang.SuppressWarnings("all")
133  public String getHeaderImageUrl() {
134    return this.headerImageUrl;
135  }
136
137  @java.lang.SuppressWarnings("all")
138  public void setHeaderImageUrl(final String headerImageUrl) {
139    this.headerImageUrl = headerImageUrl;
140  }
141
142  @java.lang.SuppressWarnings("all")
143  public String getHeaderTextField() {
144    return this.headerTextField;
145  }
146
147  @java.lang.SuppressWarnings("all")
148  public void setHeaderTextField(final String headerTextField) {
149    this.headerTextField = headerTextField;
150  }
151
152  @java.lang.SuppressWarnings("all")
153  public String getQrCode() {
154    return this.qrCode;
155  }
156
157  @java.lang.SuppressWarnings("all")
158  public void setQrCode(final String qrCode) {
159    this.qrCode = qrCode;
160  }
161
162  @java.lang.SuppressWarnings("all")
163  public String getBarcodeImageUrl() {
164    return this.barcodeImageUrl;
165  }
166
167  @java.lang.SuppressWarnings("all")
168  public void setBarcodeImageUrl(final String barcodeImageUrl) {
169    this.barcodeImageUrl = barcodeImageUrl;
170  }
171
172  @java.lang.SuppressWarnings("all")
173  public String getAboveBarCodeImageUrl() {
174    return this.aboveBarCodeImageUrl;
175  }
176
177  @java.lang.SuppressWarnings("all")
178  public void setAboveBarCodeImageUrl(final String aboveBarCodeImageUrl) {
179    this.aboveBarCodeImageUrl = aboveBarCodeImageUrl;
180  }
181
182  @java.lang.SuppressWarnings("all")
183  public FlightInfoItem getFlightInfo() {
184    return this.flightInfo;
185  }
186
187  @java.lang.SuppressWarnings("all")
188  public void setFlightInfo(final FlightInfoItem flightInfo) {
189    this.flightInfo = flightInfo;
190  }
191}