001// Generated by delombok at Thu Aug 13 13:56:44 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;
024
025import com.restfb.Facebook;
026
027public class PostCallToAction extends FacebookType {
028  @Facebook
029  private PostCallToActionValue value;
030
031
032  public static class PostCallToActionValue extends AbstractFacebookType {
033    @Facebook
034    private String application;
035    @Facebook("lead_gen_form_id")
036    private String leadGenFormId;
037    @Facebook
038    private String link;
039    @Facebook("link_caption")
040    private String linkCaption;
041    @Facebook("link_description")
042    private String linkDescription;
043    @Facebook("link_format")
044    private String linkFormat;
045    @Facebook("link_title")
046    private String linkTitle;
047    @Facebook
048    private String page;
049
050    @java.lang.SuppressWarnings("all")
051    @lombok.Generated
052    public String getApplication() {
053      return this.application;
054    }
055
056    @java.lang.SuppressWarnings("all")
057    @lombok.Generated
058    public void setApplication(final String application) {
059      this.application = application;
060    }
061
062    @java.lang.SuppressWarnings("all")
063    @lombok.Generated
064    public String getLeadGenFormId() {
065      return this.leadGenFormId;
066    }
067
068    @java.lang.SuppressWarnings("all")
069    @lombok.Generated
070    public void setLeadGenFormId(final String leadGenFormId) {
071      this.leadGenFormId = leadGenFormId;
072    }
073
074    @java.lang.SuppressWarnings("all")
075    @lombok.Generated
076    public String getLink() {
077      return this.link;
078    }
079
080    @java.lang.SuppressWarnings("all")
081    @lombok.Generated
082    public void setLink(final String link) {
083      this.link = link;
084    }
085
086    @java.lang.SuppressWarnings("all")
087    @lombok.Generated
088    public String getLinkCaption() {
089      return this.linkCaption;
090    }
091
092    @java.lang.SuppressWarnings("all")
093    @lombok.Generated
094    public void setLinkCaption(final String linkCaption) {
095      this.linkCaption = linkCaption;
096    }
097
098    @java.lang.SuppressWarnings("all")
099    @lombok.Generated
100    public String getLinkDescription() {
101      return this.linkDescription;
102    }
103
104    @java.lang.SuppressWarnings("all")
105    @lombok.Generated
106    public void setLinkDescription(final String linkDescription) {
107      this.linkDescription = linkDescription;
108    }
109
110    @java.lang.SuppressWarnings("all")
111    @lombok.Generated
112    public String getLinkFormat() {
113      return this.linkFormat;
114    }
115
116    @java.lang.SuppressWarnings("all")
117    @lombok.Generated
118    public void setLinkFormat(final String linkFormat) {
119      this.linkFormat = linkFormat;
120    }
121
122    @java.lang.SuppressWarnings("all")
123    @lombok.Generated
124    public String getLinkTitle() {
125      return this.linkTitle;
126    }
127
128    @java.lang.SuppressWarnings("all")
129    @lombok.Generated
130    public void setLinkTitle(final String linkTitle) {
131      this.linkTitle = linkTitle;
132    }
133
134    @java.lang.SuppressWarnings("all")
135    @lombok.Generated
136    public String getPage() {
137      return this.page;
138    }
139
140    @java.lang.SuppressWarnings("all")
141    @lombok.Generated
142    public void setPage(final String page) {
143      this.page = page;
144    }
145  }
146
147  @java.lang.SuppressWarnings("all")
148  @lombok.Generated
149  public PostCallToActionValue getValue() {
150    return this.value;
151  }
152
153  @java.lang.SuppressWarnings("all")
154  @lombok.Generated
155  public void setValue(final PostCallToActionValue value) {
156    this.value = value;
157  }
158}