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; 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 public String getApplication() { 052 return this.application; 053 } 054 055 @java.lang.SuppressWarnings("all") 056 public void setApplication(final String application) { 057 this.application = application; 058 } 059 060 @java.lang.SuppressWarnings("all") 061 public String getLeadGenFormId() { 062 return this.leadGenFormId; 063 } 064 065 @java.lang.SuppressWarnings("all") 066 public void setLeadGenFormId(final String leadGenFormId) { 067 this.leadGenFormId = leadGenFormId; 068 } 069 070 @java.lang.SuppressWarnings("all") 071 public String getLink() { 072 return this.link; 073 } 074 075 @java.lang.SuppressWarnings("all") 076 public void setLink(final String link) { 077 this.link = link; 078 } 079 080 @java.lang.SuppressWarnings("all") 081 public String getLinkCaption() { 082 return this.linkCaption; 083 } 084 085 @java.lang.SuppressWarnings("all") 086 public void setLinkCaption(final String linkCaption) { 087 this.linkCaption = linkCaption; 088 } 089 090 @java.lang.SuppressWarnings("all") 091 public String getLinkDescription() { 092 return this.linkDescription; 093 } 094 095 @java.lang.SuppressWarnings("all") 096 public void setLinkDescription(final String linkDescription) { 097 this.linkDescription = linkDescription; 098 } 099 100 @java.lang.SuppressWarnings("all") 101 public String getLinkFormat() { 102 return this.linkFormat; 103 } 104 105 @java.lang.SuppressWarnings("all") 106 public void setLinkFormat(final String linkFormat) { 107 this.linkFormat = linkFormat; 108 } 109 110 @java.lang.SuppressWarnings("all") 111 public String getLinkTitle() { 112 return this.linkTitle; 113 } 114 115 @java.lang.SuppressWarnings("all") 116 public void setLinkTitle(final String linkTitle) { 117 this.linkTitle = linkTitle; 118 } 119 120 @java.lang.SuppressWarnings("all") 121 public String getPage() { 122 return this.page; 123 } 124 125 @java.lang.SuppressWarnings("all") 126 public void setPage(final String page) { 127 this.page = page; 128 } 129 } 130 131 @java.lang.SuppressWarnings("all") 132 public PostCallToActionValue getValue() { 133 return this.value; 134 } 135 136 @java.lang.SuppressWarnings("all") 137 public void setValue(final PostCallToActionValue value) { 138 this.value = value; 139 } 140}