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.send; 024 025import java.util.ArrayList; 026import java.util.List; 027import com.restfb.Facebook; 028import com.restfb.types.AbstractFacebookType; 029 030/** 031 * Represents the 032 * <a href="https://developers.facebook.com/docs/messenger-platform/reference/messenger-profile-api">Messenger 033 * Profile</a> 034 */ 035public class MessengerProfileProperties extends AbstractFacebookType { 036 @Facebook("account_linking_url") 037 private String accountLinkingUrl; 038 @Facebook("persistent_menu") 039 private PersistentMenu persistentMenu; 040 @Facebook("get_started") 041 private CallToAction getStarted; 042 @Facebook("greeting") 043 private List<Greeting> greeting = new ArrayList<>(); 044 @Facebook("whitelisted_domains") 045 private List<String> whitelistedDomains = new ArrayList<>(); 046 @Facebook("payment_settings") 047 private PaymentSettings paymentSettings; 048 @Facebook("target_audience") 049 private TargetAudience targetAudience; 050 @Facebook("home_url") 051 private HomeUrl homeUrl; 052 053 @java.lang.SuppressWarnings("all") 054 public String getAccountLinkingUrl() { 055 return this.accountLinkingUrl; 056 } 057 058 @java.lang.SuppressWarnings("all") 059 public void setAccountLinkingUrl(final String accountLinkingUrl) { 060 this.accountLinkingUrl = accountLinkingUrl; 061 } 062 063 @java.lang.SuppressWarnings("all") 064 public PersistentMenu getPersistentMenu() { 065 return this.persistentMenu; 066 } 067 068 @java.lang.SuppressWarnings("all") 069 public void setPersistentMenu(final PersistentMenu persistentMenu) { 070 this.persistentMenu = persistentMenu; 071 } 072 073 @java.lang.SuppressWarnings("all") 074 public CallToAction getGetStarted() { 075 return this.getStarted; 076 } 077 078 @java.lang.SuppressWarnings("all") 079 public void setGetStarted(final CallToAction getStarted) { 080 this.getStarted = getStarted; 081 } 082 083 @java.lang.SuppressWarnings("all") 084 public List<Greeting> getGreeting() { 085 return this.greeting; 086 } 087 088 @java.lang.SuppressWarnings("all") 089 public void setGreeting(final List<Greeting> greeting) { 090 this.greeting = greeting; 091 } 092 093 @java.lang.SuppressWarnings("all") 094 public List<String> getWhitelistedDomains() { 095 return this.whitelistedDomains; 096 } 097 098 @java.lang.SuppressWarnings("all") 099 public void setWhitelistedDomains(final List<String> whitelistedDomains) { 100 this.whitelistedDomains = whitelistedDomains; 101 } 102 103 @java.lang.SuppressWarnings("all") 104 public PaymentSettings getPaymentSettings() { 105 return this.paymentSettings; 106 } 107 108 @java.lang.SuppressWarnings("all") 109 public void setPaymentSettings(final PaymentSettings paymentSettings) { 110 this.paymentSettings = paymentSettings; 111 } 112 113 @java.lang.SuppressWarnings("all") 114 public TargetAudience getTargetAudience() { 115 return this.targetAudience; 116 } 117 118 @java.lang.SuppressWarnings("all") 119 public void setTargetAudience(final TargetAudience targetAudience) { 120 this.targetAudience = targetAudience; 121 } 122 123 @java.lang.SuppressWarnings("all") 124 public HomeUrl getHomeUrl() { 125 return this.homeUrl; 126 } 127 128 @java.lang.SuppressWarnings("all") 129 public void setHomeUrl(final HomeUrl homeUrl) { 130 this.homeUrl = homeUrl; 131 } 132}