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.ads;
024
025import java.util.Date;
026import com.restfb.Facebook;
027import com.restfb.types.User;
028import com.restfb.types.features.HasCreatedTime;
029
030public class AdStudy extends NamedAdsObject implements HasCreatedTime {
031  @Facebook
032  private Business business;
033  @Facebook("canceled_time")
034  private Date canceledTime;
035  @Facebook("created_by")
036  private User createdBy;
037  @Facebook("created_time")
038  private Date createdTime;
039  @Facebook
040  private String description;
041  @Facebook("end_time")
042  private Date endTime;
043  @Facebook("cooldown_start_time")
044  private Date cooldownStartTime;
045  @Facebook
046  private String type;
047  @Facebook("observation_end_time")
048  private Date observationEndTime;
049  @Facebook("start_time")
050  private Date startTime;
051  @Facebook("updated_by")
052  private User updatedBy;
053  @Facebook("updated_time")
054  private Date updatedTime;
055
056  @java.lang.SuppressWarnings("all")
057  public Business getBusiness() {
058    return this.business;
059  }
060
061  @java.lang.SuppressWarnings("all")
062  public void setBusiness(final Business business) {
063    this.business = business;
064  }
065
066  @java.lang.SuppressWarnings("all")
067  public Date getCanceledTime() {
068    return this.canceledTime;
069  }
070
071  @java.lang.SuppressWarnings("all")
072  public void setCanceledTime(final Date canceledTime) {
073    this.canceledTime = canceledTime;
074  }
075
076  @java.lang.SuppressWarnings("all")
077  public User getCreatedBy() {
078    return this.createdBy;
079  }
080
081  @java.lang.SuppressWarnings("all")
082  public void setCreatedBy(final User createdBy) {
083    this.createdBy = createdBy;
084  }
085
086  @Override
087  @java.lang.SuppressWarnings("all")
088  public Date getCreatedTime() {
089    return this.createdTime;
090  }
091
092  @java.lang.SuppressWarnings("all")
093  public void setCreatedTime(final Date createdTime) {
094    this.createdTime = createdTime;
095  }
096
097  @java.lang.SuppressWarnings("all")
098  public String getDescription() {
099    return this.description;
100  }
101
102  @java.lang.SuppressWarnings("all")
103  public void setDescription(final String description) {
104    this.description = description;
105  }
106
107  @java.lang.SuppressWarnings("all")
108  public Date getEndTime() {
109    return this.endTime;
110  }
111
112  @java.lang.SuppressWarnings("all")
113  public void setEndTime(final Date endTime) {
114    this.endTime = endTime;
115  }
116
117  @java.lang.SuppressWarnings("all")
118  public Date getCooldownStartTime() {
119    return this.cooldownStartTime;
120  }
121
122  @java.lang.SuppressWarnings("all")
123  public void setCooldownStartTime(final Date cooldownStartTime) {
124    this.cooldownStartTime = cooldownStartTime;
125  }
126
127  @java.lang.SuppressWarnings("all")
128  public String getType() {
129    return this.type;
130  }
131
132  @java.lang.SuppressWarnings("all")
133  public void setType(final String type) {
134    this.type = type;
135  }
136
137  @java.lang.SuppressWarnings("all")
138  public Date getObservationEndTime() {
139    return this.observationEndTime;
140  }
141
142  @java.lang.SuppressWarnings("all")
143  public void setObservationEndTime(final Date observationEndTime) {
144    this.observationEndTime = observationEndTime;
145  }
146
147  @java.lang.SuppressWarnings("all")
148  public Date getStartTime() {
149    return this.startTime;
150  }
151
152  @java.lang.SuppressWarnings("all")
153  public void setStartTime(final Date startTime) {
154    this.startTime = startTime;
155  }
156
157  @java.lang.SuppressWarnings("all")
158  public User getUpdatedBy() {
159    return this.updatedBy;
160  }
161
162  @java.lang.SuppressWarnings("all")
163  public void setUpdatedBy(final User updatedBy) {
164    this.updatedBy = updatedBy;
165  }
166
167  @java.lang.SuppressWarnings("all")
168  public Date getUpdatedTime() {
169    return this.updatedTime;
170  }
171
172  @java.lang.SuppressWarnings("all")
173  public void setUpdatedTime(final Date updatedTime) {
174    this.updatedTime = updatedTime;
175  }
176}