001// Generated by delombok at Fri Oct 11 21:56:29 CEST 2019
002/**
003 * Copyright (c) 2010-2019 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.Date;
026import com.restfb.Facebook;
027
028public class FlightScheduleItem {
029  /**
030   * Timestamp for boarding time.
031   */
032  @Facebook("boarding_time")
033  private Date boardingTime;
034  /**
035   * Timestamp for departure time.
036   */
037  @Facebook("departure_time")
038  private Date departureTime;
039  /**
040   * Timestamp for arrival time.
041   */
042  @Facebook("arrival_time")
043  private Date arrivalTime;
044
045  @java.lang.Override
046  @java.lang.SuppressWarnings("all")
047  public java.lang.String toString() {
048    return "FlightScheduleItem(boardingTime=" + this.getBoardingTime() + ", departureTime=" + this.getDepartureTime() + ", arrivalTime=" + this.getArrivalTime() + ")";
049  }
050
051  /**
052   * Timestamp for boarding time.
053   *
054   * @return Timestamp for boarding time.
055   */
056  @java.lang.SuppressWarnings("all")
057  public Date getBoardingTime() {
058    return this.boardingTime;
059  }
060
061  /**
062   * Timestamp for boarding time.
063   */
064  @java.lang.SuppressWarnings("all")
065  public void setBoardingTime(final Date boardingTime) {
066    this.boardingTime = boardingTime;
067  }
068
069  /**
070   * Timestamp for departure time.
071   *
072   * @return Timestamp for departure time.
073   */
074  @java.lang.SuppressWarnings("all")
075  public Date getDepartureTime() {
076    return this.departureTime;
077  }
078
079  /**
080   * Timestamp for departure time.
081   */
082  @java.lang.SuppressWarnings("all")
083  public void setDepartureTime(final Date departureTime) {
084    this.departureTime = departureTime;
085  }
086
087  /**
088   * Timestamp for arrival time.
089   *
090   * @return Timestamp for arrival time.
091   */
092  @java.lang.SuppressWarnings("all")
093  public Date getArrivalTime() {
094    return this.arrivalTime;
095  }
096
097  /**
098   * Timestamp for arrival time.
099   */
100  @java.lang.SuppressWarnings("all")
101  public void setArrivalTime(final Date arrivalTime) {
102    this.arrivalTime = arrivalTime;
103  }
104}