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