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 com.restfb.Facebook; 026import com.restfb.types.AbstractFacebookType; 027 028/** 029 * Represents the 030 * <a href="https://developers.facebook.com/docs/marketing-api/reference/ad-creative-link-data-call-to-action-value/"> 031 * AdCreativeLinkDataCallToActionValue</a> Marketing API type 032 */ 033public class AdCreativeLinkDataCallToActionValue extends AbstractFacebookType { 034 /** 035 * The app destination type. 036 */ 037 @Facebook("app_destination") 038 private String appDestination; 039 /** 040 * Deep link to the app. 041 */ 042 @Facebook("app_link") 043 private String appLink; 044 /** 045 * Application related to the action. 046 */ 047 @Facebook 048 private String application; 049 /** 050 * ID of the Facebook event which the attachment show event info 051 */ 052 @Facebook("event_id") 053 private String eventId; 054 /** 055 * The Lead Ad form id. 056 */ 057 @Facebook("lead_gen_form_id") 058 private String leadGenFormId; 059 /** 060 * The destination link when the CTA button is clicked. 061 */ 062 @Facebook 063 private String link; 064 /** 065 * Caption shown in the attachment. 066 */ 067 @Facebook("link_caption") 068 private String linkCaption; 069 /** 070 * Description of the link shown in the attachment. 071 */ 072 @Facebook("link_description") 073 private String linkDescription; 074 /** 075 * Link format of video. 076 */ 077 @Facebook("link_format") 078 private String linkFormat; 079 /** 080 * Title of the link shown in the attachment. 081 */ 082 @Facebook("link_title") 083 private String linkTitle; 084 /** 085 * ID of the Facebook page which the CTA button links to 086 */ 087 @Facebook 088 private String page; 089 /** 090 * Open graph object url for canvas virtual good ads. 091 */ 092 @Facebook("product_link") 093 private String productLink; 094 095 /** 096 * @return The app destination type. 097 */ 098 @java.lang.SuppressWarnings("all") 099 @lombok.Generated 100 public String getAppDestination() { 101 return this.appDestination; 102 } 103 104 /** 105 * The app destination type. 106 */ 107 @java.lang.SuppressWarnings("all") 108 @lombok.Generated 109 public void setAppDestination(final String appDestination) { 110 this.appDestination = appDestination; 111 } 112 113 /** 114 * @return Deep link to the app. 115 */ 116 @java.lang.SuppressWarnings("all") 117 @lombok.Generated 118 public String getAppLink() { 119 return this.appLink; 120 } 121 122 /** 123 * Deep link to the app. 124 */ 125 @java.lang.SuppressWarnings("all") 126 @lombok.Generated 127 public void setAppLink(final String appLink) { 128 this.appLink = appLink; 129 } 130 131 /** 132 * @return Application related to the action. 133 */ 134 @java.lang.SuppressWarnings("all") 135 @lombok.Generated 136 public String getApplication() { 137 return this.application; 138 } 139 140 /** 141 * Application related to the action. 142 */ 143 @java.lang.SuppressWarnings("all") 144 @lombok.Generated 145 public void setApplication(final String application) { 146 this.application = application; 147 } 148 149 /** 150 * @return ID of the Facebook event which the attachment show event info 151 */ 152 @java.lang.SuppressWarnings("all") 153 @lombok.Generated 154 public String getEventId() { 155 return this.eventId; 156 } 157 158 /** 159 * ID of the Facebook event which the attachment show event info 160 */ 161 @java.lang.SuppressWarnings("all") 162 @lombok.Generated 163 public void setEventId(final String eventId) { 164 this.eventId = eventId; 165 } 166 167 /** 168 * @return The Lead Ad form id. 169 */ 170 @java.lang.SuppressWarnings("all") 171 @lombok.Generated 172 public String getLeadGenFormId() { 173 return this.leadGenFormId; 174 } 175 176 /** 177 * The Lead Ad form id. 178 */ 179 @java.lang.SuppressWarnings("all") 180 @lombok.Generated 181 public void setLeadGenFormId(final String leadGenFormId) { 182 this.leadGenFormId = leadGenFormId; 183 } 184 185 /** 186 * @return The destination link when the CTA button is clicked. 187 */ 188 @java.lang.SuppressWarnings("all") 189 @lombok.Generated 190 public String getLink() { 191 return this.link; 192 } 193 194 /** 195 * The destination link when the CTA button is clicked. 196 */ 197 @java.lang.SuppressWarnings("all") 198 @lombok.Generated 199 public void setLink(final String link) { 200 this.link = link; 201 } 202 203 /** 204 * @return Caption shown in the attachment. 205 */ 206 @java.lang.SuppressWarnings("all") 207 @lombok.Generated 208 public String getLinkCaption() { 209 return this.linkCaption; 210 } 211 212 /** 213 * Caption shown in the attachment. 214 */ 215 @java.lang.SuppressWarnings("all") 216 @lombok.Generated 217 public void setLinkCaption(final String linkCaption) { 218 this.linkCaption = linkCaption; 219 } 220 221 /** 222 * @return Description of the link shown in the attachment. 223 */ 224 @java.lang.SuppressWarnings("all") 225 @lombok.Generated 226 public String getLinkDescription() { 227 return this.linkDescription; 228 } 229 230 /** 231 * Description of the link shown in the attachment. 232 */ 233 @java.lang.SuppressWarnings("all") 234 @lombok.Generated 235 public void setLinkDescription(final String linkDescription) { 236 this.linkDescription = linkDescription; 237 } 238 239 /** 240 * @return Link format of video. 241 */ 242 @java.lang.SuppressWarnings("all") 243 @lombok.Generated 244 public String getLinkFormat() { 245 return this.linkFormat; 246 } 247 248 /** 249 * Link format of video. 250 */ 251 @java.lang.SuppressWarnings("all") 252 @lombok.Generated 253 public void setLinkFormat(final String linkFormat) { 254 this.linkFormat = linkFormat; 255 } 256 257 /** 258 * @return Title of the link shown in the attachment. 259 */ 260 @java.lang.SuppressWarnings("all") 261 @lombok.Generated 262 public String getLinkTitle() { 263 return this.linkTitle; 264 } 265 266 /** 267 * Title of the link shown in the attachment. 268 */ 269 @java.lang.SuppressWarnings("all") 270 @lombok.Generated 271 public void setLinkTitle(final String linkTitle) { 272 this.linkTitle = linkTitle; 273 } 274 275 /** 276 * @return ID of the Facebook page which the CTA button links to 277 */ 278 @java.lang.SuppressWarnings("all") 279 @lombok.Generated 280 public String getPage() { 281 return this.page; 282 } 283 284 /** 285 * ID of the Facebook page which the CTA button links to 286 */ 287 @java.lang.SuppressWarnings("all") 288 @lombok.Generated 289 public void setPage(final String page) { 290 this.page = page; 291 } 292 293 /** 294 * @return Open graph object url for canvas virtual good ads. 295 */ 296 @java.lang.SuppressWarnings("all") 297 @lombok.Generated 298 public String getProductLink() { 299 return this.productLink; 300 } 301 302 /** 303 * Open graph object url for canvas virtual good ads. 304 */ 305 @java.lang.SuppressWarnings("all") 306 @lombok.Generated 307 public void setProductLink(final String productLink) { 308 this.productLink = productLink; 309 } 310}