001// Generated by delombok at Fri Oct 04 16:05:59 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.ArrayList; 026import java.util.Date; 027import java.util.List; 028import com.restfb.Facebook; 029import com.restfb.types.Post; 030import com.restfb.types.features.HasCreatedTime; 031 032public class Lead extends BaseAdsObject implements HasCreatedTime { 033 @Facebook("ad_id") 034 private String adId; 035 @Facebook("ad_name") 036 private String adName; 037 @Facebook("adset_id") 038 private String adsetId; 039 @Facebook("adset_name") 040 private String adsetName; 041 @Facebook("campaign_id") 042 private String campaignId; 043 @Facebook("campaign_name") 044 private String campaignName; 045 @Facebook("created_time") 046 private Date createdTime; 047 @Facebook("custom_disclaimer_responses") 048 private List<String> customDisclaimerResponses = new ArrayList<>(); 049 @Facebook("field_data") 050 private List<FieldData> fieldData = new ArrayList<>(); 051 /** 052 * The ID of the form. 053 */ 054 @Facebook("form_id") 055 private String formId; 056 @Facebook("is_organic") 057 private Boolean isOrganic; 058 @Facebook 059 private Post post; 060 061 @java.lang.SuppressWarnings("all") 062 public String getAdId() { 063 return this.adId; 064 } 065 066 @java.lang.SuppressWarnings("all") 067 public void setAdId(final String adId) { 068 this.adId = adId; 069 } 070 071 @java.lang.SuppressWarnings("all") 072 public String getAdName() { 073 return this.adName; 074 } 075 076 @java.lang.SuppressWarnings("all") 077 public void setAdName(final String adName) { 078 this.adName = adName; 079 } 080 081 @java.lang.SuppressWarnings("all") 082 public String getAdsetId() { 083 return this.adsetId; 084 } 085 086 @java.lang.SuppressWarnings("all") 087 public void setAdsetId(final String adsetId) { 088 this.adsetId = adsetId; 089 } 090 091 @java.lang.SuppressWarnings("all") 092 public String getAdsetName() { 093 return this.adsetName; 094 } 095 096 @java.lang.SuppressWarnings("all") 097 public void setAdsetName(final String adsetName) { 098 this.adsetName = adsetName; 099 } 100 101 @java.lang.SuppressWarnings("all") 102 public String getCampaignId() { 103 return this.campaignId; 104 } 105 106 @java.lang.SuppressWarnings("all") 107 public void setCampaignId(final String campaignId) { 108 this.campaignId = campaignId; 109 } 110 111 @java.lang.SuppressWarnings("all") 112 public String getCampaignName() { 113 return this.campaignName; 114 } 115 116 @java.lang.SuppressWarnings("all") 117 public void setCampaignName(final String campaignName) { 118 this.campaignName = campaignName; 119 } 120 121 @Override 122 @java.lang.SuppressWarnings("all") 123 public Date getCreatedTime() { 124 return this.createdTime; 125 } 126 127 @java.lang.SuppressWarnings("all") 128 public void setCreatedTime(final Date createdTime) { 129 this.createdTime = createdTime; 130 } 131 132 @java.lang.SuppressWarnings("all") 133 public List<String> getCustomDisclaimerResponses() { 134 return this.customDisclaimerResponses; 135 } 136 137 @java.lang.SuppressWarnings("all") 138 public void setCustomDisclaimerResponses(final List<String> customDisclaimerResponses) { 139 this.customDisclaimerResponses = customDisclaimerResponses; 140 } 141 142 @java.lang.SuppressWarnings("all") 143 public List<FieldData> getFieldData() { 144 return this.fieldData; 145 } 146 147 @java.lang.SuppressWarnings("all") 148 public void setFieldData(final List<FieldData> fieldData) { 149 this.fieldData = fieldData; 150 } 151 152 /** 153 * @return The ID of the form. 154 */ 155 @java.lang.SuppressWarnings("all") 156 public String getFormId() { 157 return this.formId; 158 } 159 160 /** 161 * The ID of the form. 162 */ 163 @java.lang.SuppressWarnings("all") 164 public void setFormId(final String formId) { 165 this.formId = formId; 166 } 167 168 @java.lang.SuppressWarnings("all") 169 public Boolean getIsOrganic() { 170 return this.isOrganic; 171 } 172 173 @java.lang.SuppressWarnings("all") 174 public void setIsOrganic(final Boolean isOrganic) { 175 this.isOrganic = isOrganic; 176 } 177 178 @java.lang.SuppressWarnings("all") 179 public Post getPost() { 180 return this.post; 181 } 182 183 @java.lang.SuppressWarnings("all") 184 public void setPost(final Post post) { 185 this.post = post; 186 } 187}