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.ads; 024 025import java.util.Date; 026import com.restfb.Facebook; 027import com.restfb.types.Page; 028 029/** 030 * Represents the <a href="https://developers.facebook.com/docs/marketing-api/businessmanager">Business type</a>. 031 */ 032public class Business extends NamedAdsObject { 033 private static final long serialVersionUID = 1L; 034 /** 035 * The creation time of this business. 036 */ 037 @Facebook("creation_time") 038 private Date creationTime; 039 /** 040 * The creation time of this business. 041 */ 042 @Facebook("created_time") 043 private Date createdTime; 044 /** 045 * The creator of this business. 046 */ 047 @Facebook("created_by") 048 private NamedAdsObject createdBy; 049 /** 050 * Specifies whether offline analytics for business is blocked. 051 */ 052 @Facebook("block_offline_analytics") 053 private Boolean blockOfflineAnalytics; 054 /** 055 * The update time of the extended credits for this business. 056 */ 057 @Facebook("extended_updated_time") 058 private Date extendedUpdatedTime; 059 /** 060 * If true, indicates the business is hidden. 061 */ 062 @Facebook("is_hidden") 063 private Boolean isHidden; 064 /** 065 * URI for business profile page. 066 */ 067 @Facebook 068 private String link; 069 /** 070 * The ID for the payment account of this business. 071 */ 072 @Facebook("payment_account_id") 073 private String paymentAccountId; 074 /** 075 * The primary Facebook Page for this business. 076 */ 077 @Facebook("primary_page") 078 private Page primaryPage; 079 /** 080 * The profile picture URI of the business. 081 */ 082 @Facebook("profile_picture_uri") 083 private String profilePictureUri; 084 /** 085 * This business's timezone. 086 */ 087 @Facebook("timezone_id") 088 private Integer timezoneId; 089 @Facebook("two_factor_type") 090 private String twoFactorType; 091 /** 092 * The time when this business was last updated. 093 */ 094 @Facebook("update_time") 095 private Date updateTime; 096 /** 097 * The person's name who last updated this business. 098 */ 099 @Facebook("updated_by") 100 private NamedAdsObject updatedBy; 101 @Facebook("user_access_expire_time") 102 private Date userAccessExpireTime; 103 /** 104 * Verification status for this business. 105 */ 106 @Facebook("verification_status") 107 private String verificationStatus; 108 /** 109 * The vertical industry that this business associates with, or belongs to. 110 */ 111 @Facebook 112 private String vertical; 113 /** 114 * The ID for the vertical industry. 115 */ 116 @Facebook("vertical_id") 117 private Integer verticalId; 118 119 /** 120 * The creation time of this business. 121 */ 122 @java.lang.SuppressWarnings("all") 123 public Date getCreationTime() { 124 return this.creationTime; 125 } 126 127 /** 128 * The creation time of this business. 129 */ 130 @java.lang.SuppressWarnings("all") 131 public void setCreationTime(final Date creationTime) { 132 this.creationTime = creationTime; 133 } 134 135 /** 136 * The creation time of this business. 137 */ 138 @java.lang.SuppressWarnings("all") 139 public Date getCreatedTime() { 140 return this.createdTime; 141 } 142 143 /** 144 * The creation time of this business. 145 */ 146 @java.lang.SuppressWarnings("all") 147 public void setCreatedTime(final Date createdTime) { 148 this.createdTime = createdTime; 149 } 150 151 /** 152 * The creator of this business. 153 */ 154 @java.lang.SuppressWarnings("all") 155 public NamedAdsObject getCreatedBy() { 156 return this.createdBy; 157 } 158 159 /** 160 * The creator of this business. 161 */ 162 @java.lang.SuppressWarnings("all") 163 public void setCreatedBy(final NamedAdsObject createdBy) { 164 this.createdBy = createdBy; 165 } 166 167 /** 168 * Specifies whether offline analytics for business is blocked. 169 */ 170 @java.lang.SuppressWarnings("all") 171 public Boolean getBlockOfflineAnalytics() { 172 return this.blockOfflineAnalytics; 173 } 174 175 /** 176 * Specifies whether offline analytics for business is blocked. 177 */ 178 @java.lang.SuppressWarnings("all") 179 public void setBlockOfflineAnalytics(final Boolean blockOfflineAnalytics) { 180 this.blockOfflineAnalytics = blockOfflineAnalytics; 181 } 182 183 /** 184 * The update time of the extended credits for this business. 185 */ 186 @java.lang.SuppressWarnings("all") 187 public Date getExtendedUpdatedTime() { 188 return this.extendedUpdatedTime; 189 } 190 191 /** 192 * The update time of the extended credits for this business. 193 */ 194 @java.lang.SuppressWarnings("all") 195 public void setExtendedUpdatedTime(final Date extendedUpdatedTime) { 196 this.extendedUpdatedTime = extendedUpdatedTime; 197 } 198 199 /** 200 * If true, indicates the business is hidden. 201 */ 202 @java.lang.SuppressWarnings("all") 203 public Boolean getIsHidden() { 204 return this.isHidden; 205 } 206 207 /** 208 * If true, indicates the business is hidden. 209 */ 210 @java.lang.SuppressWarnings("all") 211 public void setIsHidden(final Boolean isHidden) { 212 this.isHidden = isHidden; 213 } 214 215 /** 216 * URI for business profile page. 217 */ 218 @java.lang.SuppressWarnings("all") 219 public String getLink() { 220 return this.link; 221 } 222 223 /** 224 * URI for business profile page. 225 */ 226 @java.lang.SuppressWarnings("all") 227 public void setLink(final String link) { 228 this.link = link; 229 } 230 231 /** 232 * The ID for the payment account of this business. 233 */ 234 @java.lang.SuppressWarnings("all") 235 public String getPaymentAccountId() { 236 return this.paymentAccountId; 237 } 238 239 /** 240 * The ID for the payment account of this business. 241 */ 242 @java.lang.SuppressWarnings("all") 243 public void setPaymentAccountId(final String paymentAccountId) { 244 this.paymentAccountId = paymentAccountId; 245 } 246 247 /** 248 * The primary Facebook Page for this business. 249 */ 250 @java.lang.SuppressWarnings("all") 251 public Page getPrimaryPage() { 252 return this.primaryPage; 253 } 254 255 /** 256 * The primary Facebook Page for this business. 257 */ 258 @java.lang.SuppressWarnings("all") 259 public void setPrimaryPage(final Page primaryPage) { 260 this.primaryPage = primaryPage; 261 } 262 263 /** 264 * The profile picture URI of the business. 265 */ 266 @java.lang.SuppressWarnings("all") 267 public String getProfilePictureUri() { 268 return this.profilePictureUri; 269 } 270 271 /** 272 * The profile picture URI of the business. 273 */ 274 @java.lang.SuppressWarnings("all") 275 public void setProfilePictureUri(final String profilePictureUri) { 276 this.profilePictureUri = profilePictureUri; 277 } 278 279 /** 280 * This business's timezone. 281 */ 282 @java.lang.SuppressWarnings("all") 283 public Integer getTimezoneId() { 284 return this.timezoneId; 285 } 286 287 /** 288 * This business's timezone. 289 */ 290 @java.lang.SuppressWarnings("all") 291 public void setTimezoneId(final Integer timezoneId) { 292 this.timezoneId = timezoneId; 293 } 294 295 @java.lang.SuppressWarnings("all") 296 public String getTwoFactorType() { 297 return this.twoFactorType; 298 } 299 300 @java.lang.SuppressWarnings("all") 301 public void setTwoFactorType(final String twoFactorType) { 302 this.twoFactorType = twoFactorType; 303 } 304 305 /** 306 * The time when this business was last updated. 307 */ 308 @java.lang.SuppressWarnings("all") 309 public Date getUpdateTime() { 310 return this.updateTime; 311 } 312 313 /** 314 * The time when this business was last updated. 315 */ 316 @java.lang.SuppressWarnings("all") 317 public void setUpdateTime(final Date updateTime) { 318 this.updateTime = updateTime; 319 } 320 321 /** 322 * The person's name who last updated this business. 323 */ 324 @java.lang.SuppressWarnings("all") 325 public NamedAdsObject getUpdatedBy() { 326 return this.updatedBy; 327 } 328 329 /** 330 * The person's name who last updated this business. 331 */ 332 @java.lang.SuppressWarnings("all") 333 public void setUpdatedBy(final NamedAdsObject updatedBy) { 334 this.updatedBy = updatedBy; 335 } 336 337 @java.lang.SuppressWarnings("all") 338 public Date getUserAccessExpireTime() { 339 return this.userAccessExpireTime; 340 } 341 342 @java.lang.SuppressWarnings("all") 343 public void setUserAccessExpireTime(final Date userAccessExpireTime) { 344 this.userAccessExpireTime = userAccessExpireTime; 345 } 346 347 /** 348 * Verification status for this business. 349 */ 350 @java.lang.SuppressWarnings("all") 351 public String getVerificationStatus() { 352 return this.verificationStatus; 353 } 354 355 /** 356 * Verification status for this business. 357 */ 358 @java.lang.SuppressWarnings("all") 359 public void setVerificationStatus(final String verificationStatus) { 360 this.verificationStatus = verificationStatus; 361 } 362 363 /** 364 * The vertical industry that this business associates with, or belongs to. 365 */ 366 @java.lang.SuppressWarnings("all") 367 public String getVertical() { 368 return this.vertical; 369 } 370 371 /** 372 * The vertical industry that this business associates with, or belongs to. 373 */ 374 @java.lang.SuppressWarnings("all") 375 public void setVertical(final String vertical) { 376 this.vertical = vertical; 377 } 378 379 /** 380 * The ID for the vertical industry. 381 */ 382 @java.lang.SuppressWarnings("all") 383 public Integer getVerticalId() { 384 return this.verticalId; 385 } 386 387 /** 388 * The ID for the vertical industry. 389 */ 390 @java.lang.SuppressWarnings("all") 391 public void setVerticalId(final Integer verticalId) { 392 this.verticalId = verticalId; 393 } 394}