001// Generated by delombok at Fri Nov 22 22:30:55 CET 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.ads;
024
025import java.util.Date;
026import java.util.List;
027import com.restfb.Facebook;
028
029/**
030 * Represents the <a href="https://developers.facebook.com/docs/marketing-api/adaccountgroup/">AdGroup Campaign Group
031 * type</a>.
032 */
033public class AdCampaignGroup extends NamedAdsObject {
034  private static final long serialVersionUID = 1L;
035  @Facebook("account_id")
036  private String accountId;
037  @Facebook
038  private String objective;
039  @Facebook("campaign_group_status")
040  private String campaignGroupStatus;
041  @Facebook("is_completed")
042  private String isCompleted;
043  @Facebook("buying_type")
044  private String buyingType;
045  @Facebook("promoted_object")
046  private AdPromotedObject promotedObject;
047  @Facebook("spend_cap")
048  private String spendCap;
049  @Facebook
050  private List<AdLabel> adlabels;
051  @Facebook("created_time")
052  private Date createdTime;
053  @Facebook("start_time")
054  private Date startTime;
055  @Facebook("stop_time")
056  private Date stopTime;
057  @Facebook("updated_time")
058  private Date updatedTime;
059
060  @java.lang.SuppressWarnings("all")
061  public String getAccountId() {
062    return this.accountId;
063  }
064
065  @java.lang.SuppressWarnings("all")
066  public void setAccountId(final String accountId) {
067    this.accountId = accountId;
068  }
069
070  @java.lang.SuppressWarnings("all")
071  public String getObjective() {
072    return this.objective;
073  }
074
075  @java.lang.SuppressWarnings("all")
076  public void setObjective(final String objective) {
077    this.objective = objective;
078  }
079
080  @java.lang.SuppressWarnings("all")
081  public String getCampaignGroupStatus() {
082    return this.campaignGroupStatus;
083  }
084
085  @java.lang.SuppressWarnings("all")
086  public void setCampaignGroupStatus(final String campaignGroupStatus) {
087    this.campaignGroupStatus = campaignGroupStatus;
088  }
089
090  @java.lang.SuppressWarnings("all")
091  public String getIsCompleted() {
092    return this.isCompleted;
093  }
094
095  @java.lang.SuppressWarnings("all")
096  public void setIsCompleted(final String isCompleted) {
097    this.isCompleted = isCompleted;
098  }
099
100  @java.lang.SuppressWarnings("all")
101  public String getBuyingType() {
102    return this.buyingType;
103  }
104
105  @java.lang.SuppressWarnings("all")
106  public void setBuyingType(final String buyingType) {
107    this.buyingType = buyingType;
108  }
109
110  @java.lang.SuppressWarnings("all")
111  public AdPromotedObject getPromotedObject() {
112    return this.promotedObject;
113  }
114
115  @java.lang.SuppressWarnings("all")
116  public void setPromotedObject(final AdPromotedObject promotedObject) {
117    this.promotedObject = promotedObject;
118  }
119
120  @java.lang.SuppressWarnings("all")
121  public String getSpendCap() {
122    return this.spendCap;
123  }
124
125  @java.lang.SuppressWarnings("all")
126  public void setSpendCap(final String spendCap) {
127    this.spendCap = spendCap;
128  }
129
130  @java.lang.SuppressWarnings("all")
131  public List<AdLabel> getAdlabels() {
132    return this.adlabels;
133  }
134
135  @java.lang.SuppressWarnings("all")
136  public void setAdlabels(final List<AdLabel> adlabels) {
137    this.adlabels = adlabels;
138  }
139
140  @java.lang.SuppressWarnings("all")
141  public Date getCreatedTime() {
142    return this.createdTime;
143  }
144
145  @java.lang.SuppressWarnings("all")
146  public void setCreatedTime(final Date createdTime) {
147    this.createdTime = createdTime;
148  }
149
150  @java.lang.SuppressWarnings("all")
151  public Date getStartTime() {
152    return this.startTime;
153  }
154
155  @java.lang.SuppressWarnings("all")
156  public void setStartTime(final Date startTime) {
157    this.startTime = startTime;
158  }
159
160  @java.lang.SuppressWarnings("all")
161  public Date getStopTime() {
162    return this.stopTime;
163  }
164
165  @java.lang.SuppressWarnings("all")
166  public void setStopTime(final Date stopTime) {
167    this.stopTime = stopTime;
168  }
169
170  @java.lang.SuppressWarnings("all")
171  public Date getUpdatedTime() {
172    return this.updatedTime;
173  }
174
175  @java.lang.SuppressWarnings("all")
176  public void setUpdatedTime(final Date updatedTime) {
177    this.updatedTime = updatedTime;
178  }
179}