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.ads;
024
025import java.util.ArrayList;
026import java.util.Date;
027import java.util.List;
028import com.restfb.Facebook;
029import com.restfb.types.Page;
030
031public class LeadgenForm extends NamedAdsObject {
032  @Facebook("created_time")
033  private Date createdTime;
034  @Facebook("cusomized_tcpa_content")
035  private String cusomizedTcpaContent;
036  @Facebook("expired_leads_count")
037  private Long expiredLeadsCount;
038  /**
039   * The caption of the follow up action text on the final screen of the form.
040   */
041  @Facebook("follow_up_action_text")
042  private String followUpActionText;
043  /**
044   * The destination of the follow up action text on the final screen of the form.
045   */
046  @Facebook("follow_up_action_url")
047  private String followUpActionUrl;
048  @Facebook("is_continued_flow")
049  private Boolean isContinuedFlow;
050  @Facebook("leadgen_export_csv_url")
051  private String leadgenExportCsvUrl;
052  @Facebook("leads_count")
053  private Long leadsCount;
054  @Facebook
055  private String locale;
056  @Facebook
057  private Page page;
058  /**
059   * The ID of the page to which this form belongs.
060   */
061  @Facebook("page_id")
062  private String pageId;
063  /**
064   * The supplied privacy policy URL.
065   */
066  @Facebook("privacy_policy_url")
067  private String privacyPolicyUrl;
068  @Facebook
069  private List<LeadGenQualifier> qualifiers = new ArrayList<>();
070  @Facebook("tcpa_compliance")
071  private Boolean tcpaCompliance;
072
073  @java.lang.SuppressWarnings("all")
074  public Date getCreatedTime() {
075    return this.createdTime;
076  }
077
078  @java.lang.SuppressWarnings("all")
079  public void setCreatedTime(final Date createdTime) {
080    this.createdTime = createdTime;
081  }
082
083  @java.lang.SuppressWarnings("all")
084  public String getCusomizedTcpaContent() {
085    return this.cusomizedTcpaContent;
086  }
087
088  @java.lang.SuppressWarnings("all")
089  public void setCusomizedTcpaContent(final String cusomizedTcpaContent) {
090    this.cusomizedTcpaContent = cusomizedTcpaContent;
091  }
092
093  @java.lang.SuppressWarnings("all")
094  public Long getExpiredLeadsCount() {
095    return this.expiredLeadsCount;
096  }
097
098  @java.lang.SuppressWarnings("all")
099  public void setExpiredLeadsCount(final Long expiredLeadsCount) {
100    this.expiredLeadsCount = expiredLeadsCount;
101  }
102
103  /**
104   * @return The caption of the follow up action text on the final screen of the form.
105   */
106  @java.lang.SuppressWarnings("all")
107  public String getFollowUpActionText() {
108    return this.followUpActionText;
109  }
110
111  /**
112   * The caption of the follow up action text on the final screen of the form.
113   */
114  @java.lang.SuppressWarnings("all")
115  public void setFollowUpActionText(final String followUpActionText) {
116    this.followUpActionText = followUpActionText;
117  }
118
119  /**
120   * @return The destination of the follow up action text on the final screen of the form.
121   */
122  @java.lang.SuppressWarnings("all")
123  public String getFollowUpActionUrl() {
124    return this.followUpActionUrl;
125  }
126
127  /**
128   * The destination of the follow up action text on the final screen of the form.
129   */
130  @java.lang.SuppressWarnings("all")
131  public void setFollowUpActionUrl(final String followUpActionUrl) {
132    this.followUpActionUrl = followUpActionUrl;
133  }
134
135  @java.lang.SuppressWarnings("all")
136  public Boolean getIsContinuedFlow() {
137    return this.isContinuedFlow;
138  }
139
140  @java.lang.SuppressWarnings("all")
141  public void setIsContinuedFlow(final Boolean isContinuedFlow) {
142    this.isContinuedFlow = isContinuedFlow;
143  }
144
145  @java.lang.SuppressWarnings("all")
146  public String getLeadgenExportCsvUrl() {
147    return this.leadgenExportCsvUrl;
148  }
149
150  @java.lang.SuppressWarnings("all")
151  public void setLeadgenExportCsvUrl(final String leadgenExportCsvUrl) {
152    this.leadgenExportCsvUrl = leadgenExportCsvUrl;
153  }
154
155  @java.lang.SuppressWarnings("all")
156  public Long getLeadsCount() {
157    return this.leadsCount;
158  }
159
160  @java.lang.SuppressWarnings("all")
161  public void setLeadsCount(final Long leadsCount) {
162    this.leadsCount = leadsCount;
163  }
164
165  @java.lang.SuppressWarnings("all")
166  public String getLocale() {
167    return this.locale;
168  }
169
170  @java.lang.SuppressWarnings("all")
171  public void setLocale(final String locale) {
172    this.locale = locale;
173  }
174
175  @java.lang.SuppressWarnings("all")
176  public Page getPage() {
177    return this.page;
178  }
179
180  @java.lang.SuppressWarnings("all")
181  public void setPage(final Page page) {
182    this.page = page;
183  }
184
185  /**
186   * @return The ID of the page to which this form belongs.
187   */
188  @java.lang.SuppressWarnings("all")
189  public String getPageId() {
190    return this.pageId;
191  }
192
193  /**
194   * The ID of the page to which this form belongs.
195   */
196  @java.lang.SuppressWarnings("all")
197  public void setPageId(final String pageId) {
198    this.pageId = pageId;
199  }
200
201  /**
202   * @return The supplied privacy policy URL.
203   */
204  @java.lang.SuppressWarnings("all")
205  public String getPrivacyPolicyUrl() {
206    return this.privacyPolicyUrl;
207  }
208
209  /**
210   * The supplied privacy policy URL.
211   */
212  @java.lang.SuppressWarnings("all")
213  public void setPrivacyPolicyUrl(final String privacyPolicyUrl) {
214    this.privacyPolicyUrl = privacyPolicyUrl;
215  }
216
217  @java.lang.SuppressWarnings("all")
218  public List<LeadGenQualifier> getQualifiers() {
219    return this.qualifiers;
220  }
221
222  @java.lang.SuppressWarnings("all")
223  public void setQualifiers(final List<LeadGenQualifier> qualifiers) {
224    this.qualifiers = qualifiers;
225  }
226
227  @java.lang.SuppressWarnings("all")
228  public Boolean getTcpaCompliance() {
229    return this.tcpaCompliance;
230  }
231
232  @java.lang.SuppressWarnings("all")
233  public void setTcpaCompliance(final Boolean tcpaCompliance) {
234    this.tcpaCompliance = tcpaCompliance;
235  }
236}