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 027/** 028 * Represents the <a href="https://developers.facebook.com/docs/graph-api/reference/tab/">Page Tab type</a> 029 */ 030public class PageTab extends NamedFacebookType { 031 private static final long serialVersionUID = 1L; 032 /** 033 * The app that is in the tab 034 */ 035 @Facebook 036 private Application application; 037 /** 038 * URL for an image to be used as a custom icon 039 */ 040 @Facebook("custom_image_url") 041 private String customImageUrl; 042 /** 043 * Name to be used for the tab 044 */ 045 @Facebook("custom_name") 046 private String customName; 047 /** 048 * The location of the tab thumbnail image 049 */ 050 @Facebook("image_url") 051 private String imageUrl; 052 /** 053 * A flag to identify whether the tab is a custom landing tab for users who are not connected to this Page 054 */ 055 @Facebook("is_non_connection_landing_tab") 056 private Boolean isNonConnectionLandingTab; 057 /** 058 * A flag to identify whether the tab can be removed from the Page 059 */ 060 @Facebook("is_permanent") 061 private Boolean isPermanent; 062 /** 063 * A link directly to this Page tab 064 */ 065 @Facebook 066 private String link; 067 /** 068 * Where this tab is located in the list of tabs 069 */ 070 @Facebook 071 private Integer position; 072 073 /** 074 * The app that is in the tab 075 */ 076 @java.lang.SuppressWarnings("all") 077 @lombok.Generated 078 public Application getApplication() { 079 return this.application; 080 } 081 082 /** 083 * The app that is in the tab 084 */ 085 @java.lang.SuppressWarnings("all") 086 @lombok.Generated 087 public void setApplication(final Application application) { 088 this.application = application; 089 } 090 091 /** 092 * URL for an image to be used as a custom icon 093 */ 094 @java.lang.SuppressWarnings("all") 095 @lombok.Generated 096 public String getCustomImageUrl() { 097 return this.customImageUrl; 098 } 099 100 /** 101 * URL for an image to be used as a custom icon 102 */ 103 @java.lang.SuppressWarnings("all") 104 @lombok.Generated 105 public void setCustomImageUrl(final String customImageUrl) { 106 this.customImageUrl = customImageUrl; 107 } 108 109 /** 110 * Name to be used for the tab 111 */ 112 @java.lang.SuppressWarnings("all") 113 @lombok.Generated 114 public String getCustomName() { 115 return this.customName; 116 } 117 118 /** 119 * Name to be used for the tab 120 */ 121 @java.lang.SuppressWarnings("all") 122 @lombok.Generated 123 public void setCustomName(final String customName) { 124 this.customName = customName; 125 } 126 127 /** 128 * The location of the tab thumbnail image 129 */ 130 @java.lang.SuppressWarnings("all") 131 @lombok.Generated 132 public String getImageUrl() { 133 return this.imageUrl; 134 } 135 136 /** 137 * The location of the tab thumbnail image 138 */ 139 @java.lang.SuppressWarnings("all") 140 @lombok.Generated 141 public void setImageUrl(final String imageUrl) { 142 this.imageUrl = imageUrl; 143 } 144 145 /** 146 * A flag to identify whether the tab is a custom landing tab for users who are not connected to this Page 147 */ 148 @java.lang.SuppressWarnings("all") 149 @lombok.Generated 150 public Boolean getIsNonConnectionLandingTab() { 151 return this.isNonConnectionLandingTab; 152 } 153 154 /** 155 * A flag to identify whether the tab is a custom landing tab for users who are not connected to this Page 156 */ 157 @java.lang.SuppressWarnings("all") 158 @lombok.Generated 159 public void setIsNonConnectionLandingTab(final Boolean isNonConnectionLandingTab) { 160 this.isNonConnectionLandingTab = isNonConnectionLandingTab; 161 } 162 163 /** 164 * A flag to identify whether the tab can be removed from the Page 165 */ 166 @java.lang.SuppressWarnings("all") 167 @lombok.Generated 168 public Boolean getIsPermanent() { 169 return this.isPermanent; 170 } 171 172 /** 173 * A flag to identify whether the tab can be removed from the Page 174 */ 175 @java.lang.SuppressWarnings("all") 176 @lombok.Generated 177 public void setIsPermanent(final Boolean isPermanent) { 178 this.isPermanent = isPermanent; 179 } 180 181 /** 182 * A link directly to this Page tab 183 */ 184 @java.lang.SuppressWarnings("all") 185 @lombok.Generated 186 public String getLink() { 187 return this.link; 188 } 189 190 /** 191 * A link directly to this Page tab 192 */ 193 @java.lang.SuppressWarnings("all") 194 @lombok.Generated 195 public void setLink(final String link) { 196 this.link = link; 197 } 198 199 /** 200 * Where this tab is located in the list of tabs 201 */ 202 @java.lang.SuppressWarnings("all") 203 @lombok.Generated 204 public Integer getPosition() { 205 return this.position; 206 } 207 208 /** 209 * Where this tab is located in the list of tabs 210 */ 211 @java.lang.SuppressWarnings("all") 212 @lombok.Generated 213 public void setPosition(final Integer position) { 214 this.position = position; 215 } 216}