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 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  public String getAppDestination() {
100    return this.appDestination;
101  }
102
103  /**
104   * The app destination type.
105   */
106  @java.lang.SuppressWarnings("all")
107  public void setAppDestination(final String appDestination) {
108    this.appDestination = appDestination;
109  }
110
111  /**
112   * @return Deep link to the app.
113   */
114  @java.lang.SuppressWarnings("all")
115  public String getAppLink() {
116    return this.appLink;
117  }
118
119  /**
120   * Deep link to the app.
121   */
122  @java.lang.SuppressWarnings("all")
123  public void setAppLink(final String appLink) {
124    this.appLink = appLink;
125  }
126
127  /**
128   * @return Application related to the action.
129   */
130  @java.lang.SuppressWarnings("all")
131  public String getApplication() {
132    return this.application;
133  }
134
135  /**
136   * Application related to the action.
137   */
138  @java.lang.SuppressWarnings("all")
139  public void setApplication(final String application) {
140    this.application = application;
141  }
142
143  /**
144   * @return ID of the Facebook event which the attachment show event info
145   */
146  @java.lang.SuppressWarnings("all")
147  public String getEventId() {
148    return this.eventId;
149  }
150
151  /**
152   * ID of the Facebook event which the attachment show event info
153   */
154  @java.lang.SuppressWarnings("all")
155  public void setEventId(final String eventId) {
156    this.eventId = eventId;
157  }
158
159  /**
160   * @return The Lead Ad form id.
161   */
162  @java.lang.SuppressWarnings("all")
163  public String getLeadGenFormId() {
164    return this.leadGenFormId;
165  }
166
167  /**
168   * The Lead Ad form id.
169   */
170  @java.lang.SuppressWarnings("all")
171  public void setLeadGenFormId(final String leadGenFormId) {
172    this.leadGenFormId = leadGenFormId;
173  }
174
175  /**
176   * @return The destination link when the CTA button is clicked.
177   */
178  @java.lang.SuppressWarnings("all")
179  public String getLink() {
180    return this.link;
181  }
182
183  /**
184   * The destination link when the CTA button is clicked.
185   */
186  @java.lang.SuppressWarnings("all")
187  public void setLink(final String link) {
188    this.link = link;
189  }
190
191  /**
192   * @return Caption shown in the attachment.
193   */
194  @java.lang.SuppressWarnings("all")
195  public String getLinkCaption() {
196    return this.linkCaption;
197  }
198
199  /**
200   * Caption shown in the attachment.
201   */
202  @java.lang.SuppressWarnings("all")
203  public void setLinkCaption(final String linkCaption) {
204    this.linkCaption = linkCaption;
205  }
206
207  /**
208   * @return Description of the link shown in the attachment.
209   */
210  @java.lang.SuppressWarnings("all")
211  public String getLinkDescription() {
212    return this.linkDescription;
213  }
214
215  /**
216   * Description of the link shown in the attachment.
217   */
218  @java.lang.SuppressWarnings("all")
219  public void setLinkDescription(final String linkDescription) {
220    this.linkDescription = linkDescription;
221  }
222
223  /**
224   * @return Link format of video.
225   */
226  @java.lang.SuppressWarnings("all")
227  public String getLinkFormat() {
228    return this.linkFormat;
229  }
230
231  /**
232   * Link format of video.
233   */
234  @java.lang.SuppressWarnings("all")
235  public void setLinkFormat(final String linkFormat) {
236    this.linkFormat = linkFormat;
237  }
238
239  /**
240   * @return Title of the link shown in the attachment.
241   */
242  @java.lang.SuppressWarnings("all")
243  public String getLinkTitle() {
244    return this.linkTitle;
245  }
246
247  /**
248   * Title of the link shown in the attachment.
249   */
250  @java.lang.SuppressWarnings("all")
251  public void setLinkTitle(final String linkTitle) {
252    this.linkTitle = linkTitle;
253  }
254
255  /**
256   * @return ID of the Facebook page which the CTA button links to
257   */
258  @java.lang.SuppressWarnings("all")
259  public String getPage() {
260    return this.page;
261  }
262
263  /**
264   * ID of the Facebook page which the CTA button links to
265   */
266  @java.lang.SuppressWarnings("all")
267  public void setPage(final String page) {
268    this.page = page;
269  }
270
271  /**
272   * @return Open graph object url for canvas virtual good ads.
273   */
274  @java.lang.SuppressWarnings("all")
275  public String getProductLink() {
276    return this.productLink;
277  }
278
279  /**
280   * Open graph object url for canvas virtual good ads.
281   */
282  @java.lang.SuppressWarnings("all")
283  public void setProductLink(final String productLink) {
284    this.productLink = productLink;
285  }
286}