001// Generated by delombok at Thu Aug 13 13:56:43 UTC 2026
002/*
003 * Copyright (c) 2010-2026 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  @lombok.Generated
077  public Date getCreatedTime() {
078    return this.createdTime;
079  }
080
081  @java.lang.SuppressWarnings("all")
082  @lombok.Generated
083  public void setCreatedTime(final Date createdTime) {
084    this.createdTime = createdTime;
085  }
086
087  @java.lang.SuppressWarnings("all")
088  @lombok.Generated
089  public String getCusomizedTcpaContent() {
090    return this.cusomizedTcpaContent;
091  }
092
093  @java.lang.SuppressWarnings("all")
094  @lombok.Generated
095  public void setCusomizedTcpaContent(final String cusomizedTcpaContent) {
096    this.cusomizedTcpaContent = cusomizedTcpaContent;
097  }
098
099  @java.lang.SuppressWarnings("all")
100  @lombok.Generated
101  public Long getExpiredLeadsCount() {
102    return this.expiredLeadsCount;
103  }
104
105  @java.lang.SuppressWarnings("all")
106  @lombok.Generated
107  public void setExpiredLeadsCount(final Long expiredLeadsCount) {
108    this.expiredLeadsCount = expiredLeadsCount;
109  }
110
111  /**
112   * @return The caption of the follow up action text on the final screen of the form.
113   */
114  @java.lang.SuppressWarnings("all")
115  @lombok.Generated
116  public String getFollowUpActionText() {
117    return this.followUpActionText;
118  }
119
120  /**
121   * The caption of the follow up action text on the final screen of the form.
122   */
123  @java.lang.SuppressWarnings("all")
124  @lombok.Generated
125  public void setFollowUpActionText(final String followUpActionText) {
126    this.followUpActionText = followUpActionText;
127  }
128
129  /**
130   * @return The destination of the follow up action text on the final screen of the form.
131   */
132  @java.lang.SuppressWarnings("all")
133  @lombok.Generated
134  public String getFollowUpActionUrl() {
135    return this.followUpActionUrl;
136  }
137
138  /**
139   * The destination of the follow up action text on the final screen of the form.
140   */
141  @java.lang.SuppressWarnings("all")
142  @lombok.Generated
143  public void setFollowUpActionUrl(final String followUpActionUrl) {
144    this.followUpActionUrl = followUpActionUrl;
145  }
146
147  @java.lang.SuppressWarnings("all")
148  @lombok.Generated
149  public Boolean getIsContinuedFlow() {
150    return this.isContinuedFlow;
151  }
152
153  @java.lang.SuppressWarnings("all")
154  @lombok.Generated
155  public void setIsContinuedFlow(final Boolean isContinuedFlow) {
156    this.isContinuedFlow = isContinuedFlow;
157  }
158
159  @java.lang.SuppressWarnings("all")
160  @lombok.Generated
161  public String getLeadgenExportCsvUrl() {
162    return this.leadgenExportCsvUrl;
163  }
164
165  @java.lang.SuppressWarnings("all")
166  @lombok.Generated
167  public void setLeadgenExportCsvUrl(final String leadgenExportCsvUrl) {
168    this.leadgenExportCsvUrl = leadgenExportCsvUrl;
169  }
170
171  @java.lang.SuppressWarnings("all")
172  @lombok.Generated
173  public Long getLeadsCount() {
174    return this.leadsCount;
175  }
176
177  @java.lang.SuppressWarnings("all")
178  @lombok.Generated
179  public void setLeadsCount(final Long leadsCount) {
180    this.leadsCount = leadsCount;
181  }
182
183  @java.lang.SuppressWarnings("all")
184  @lombok.Generated
185  public String getLocale() {
186    return this.locale;
187  }
188
189  @java.lang.SuppressWarnings("all")
190  @lombok.Generated
191  public void setLocale(final String locale) {
192    this.locale = locale;
193  }
194
195  @java.lang.SuppressWarnings("all")
196  @lombok.Generated
197  public Page getPage() {
198    return this.page;
199  }
200
201  @java.lang.SuppressWarnings("all")
202  @lombok.Generated
203  public void setPage(final Page page) {
204    this.page = page;
205  }
206
207  /**
208   * @return The ID of the page to which this form belongs.
209   */
210  @java.lang.SuppressWarnings("all")
211  @lombok.Generated
212  public String getPageId() {
213    return this.pageId;
214  }
215
216  /**
217   * The ID of the page to which this form belongs.
218   */
219  @java.lang.SuppressWarnings("all")
220  @lombok.Generated
221  public void setPageId(final String pageId) {
222    this.pageId = pageId;
223  }
224
225  /**
226   * @return The supplied privacy policy URL.
227   */
228  @java.lang.SuppressWarnings("all")
229  @lombok.Generated
230  public String getPrivacyPolicyUrl() {
231    return this.privacyPolicyUrl;
232  }
233
234  /**
235   * The supplied privacy policy URL.
236   */
237  @java.lang.SuppressWarnings("all")
238  @lombok.Generated
239  public void setPrivacyPolicyUrl(final String privacyPolicyUrl) {
240    this.privacyPolicyUrl = privacyPolicyUrl;
241  }
242
243  @java.lang.SuppressWarnings("all")
244  @lombok.Generated
245  public List<LeadGenQualifier> getQualifiers() {
246    return this.qualifiers;
247  }
248
249  @java.lang.SuppressWarnings("all")
250  @lombok.Generated
251  public void setQualifiers(final List<LeadGenQualifier> qualifiers) {
252    this.qualifiers = qualifiers;
253  }
254
255  @java.lang.SuppressWarnings("all")
256  @lombok.Generated
257  public Boolean getTcpaCompliance() {
258    return this.tcpaCompliance;
259  }
260
261  @java.lang.SuppressWarnings("all")
262  @lombok.Generated
263  public void setTcpaCompliance(final Boolean tcpaCompliance) {
264    this.tcpaCompliance = tcpaCompliance;
265  }
266}