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.whatsapp;
024
025import com.restfb.Facebook;
026import com.restfb.types.AbstractFacebookType;
027
028/**
029 * Represents the <a href="https://developers.facebook.com/docs/graph-api/reference/waba-analytics-data-point/">WABA
030 * (WhatsApp Business Account) Analytics Data Point type </a>
031 */
032public class WABAAnalyticsDataPoint extends AbstractFacebookType {
033  private static final long serialVersionUID = 1L;
034  /**
035   * Number of messages delivered
036   */
037  @Facebook
038  private Long delivered;
039  /**
040   * End time of this data point
041   */
042  @Facebook
043  private Long end;
044  /**
045   * Number of messages received
046   */
047  @Facebook
048  private Long received;
049  /**
050   * Number of messages sent
051   */
052  @Facebook
053  private Long sent;
054  /**
055   * Start time of this data point
056   */
057  @Facebook
058  private Long start;
059
060  /**
061   * Number of messages delivered
062   */
063  @java.lang.SuppressWarnings("all")
064  public Long getDelivered() {
065    return this.delivered;
066  }
067
068  /**
069   * Number of messages delivered
070   */
071  @java.lang.SuppressWarnings("all")
072  public void setDelivered(final Long delivered) {
073    this.delivered = delivered;
074  }
075
076  /**
077   * End time of this data point
078   */
079  @java.lang.SuppressWarnings("all")
080  public Long getEnd() {
081    return this.end;
082  }
083
084  /**
085   * End time of this data point
086   */
087  @java.lang.SuppressWarnings("all")
088  public void setEnd(final Long end) {
089    this.end = end;
090  }
091
092  /**
093   * Number of messages received
094   */
095  @java.lang.SuppressWarnings("all")
096  public Long getReceived() {
097    return this.received;
098  }
099
100  /**
101   * Number of messages received
102   */
103  @java.lang.SuppressWarnings("all")
104  public void setReceived(final Long received) {
105    this.received = received;
106  }
107
108  /**
109   * Number of messages sent
110   */
111  @java.lang.SuppressWarnings("all")
112  public Long getSent() {
113    return this.sent;
114  }
115
116  /**
117   * Number of messages sent
118   */
119  @java.lang.SuppressWarnings("all")
120  public void setSent(final Long sent) {
121    this.sent = sent;
122  }
123
124  /**
125   * Start time of this data point
126   */
127  @java.lang.SuppressWarnings("all")
128  public Long getStart() {
129    return this.start;
130  }
131
132  /**
133   * Start time of this data point
134   */
135  @java.lang.SuppressWarnings("all")
136  public void setStart(final Long start) {
137    this.start = start;
138  }
139}