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.send; 024 025import com.restfb.Facebook; 026import com.restfb.types.AbstractFacebookType; 027 028/** 029 * Represents the 030 * <a href="https://developers.facebook.com/docs/messenger-platform/reference/messenger-profile-api/home-url">Messenger 031 * Profile Home Url</a> 032 */ 033public class HomeUrl extends AbstractFacebookType { 034 /** 035 * The URL to be invoked from drawer. Must be whitelisted. Must use https. 036 */ 037 @Facebook 038 private String url; 039 /** 040 * Controls the height of webview. Only allowed value is tall. 041 */ 042 @Facebook("webview_height_ratio") 043 private String webviewHeightRatio; 044 /** 045 * Controls whether the share button in the webview is enabled. Either show or hide, defaults to "hide" 046 */ 047 @Facebook("webview_share_button") 048 private String webviewShareButton; 049 /** 050 * Controls whether users not assigned a role for your bot or its Facebook page can see the Chat Extension. 051 * 052 * This should be set to true until the Chat Extension is ready to be used by others. 053 */ 054 @Facebook("in_test") 055 private Boolean inTest; 056 057 /** 058 * The URL to be invoked from drawer. Must be whitelisted. Must use https. 059 */ 060 @java.lang.SuppressWarnings("all") 061 @lombok.Generated 062 public String getUrl() { 063 return this.url; 064 } 065 066 /** 067 * The URL to be invoked from drawer. Must be whitelisted. Must use https. 068 */ 069 @java.lang.SuppressWarnings("all") 070 @lombok.Generated 071 public void setUrl(final String url) { 072 this.url = url; 073 } 074 075 /** 076 * Controls the height of webview. Only allowed value is tall. 077 */ 078 @java.lang.SuppressWarnings("all") 079 @lombok.Generated 080 public String getWebviewHeightRatio() { 081 return this.webviewHeightRatio; 082 } 083 084 /** 085 * Controls the height of webview. Only allowed value is tall. 086 */ 087 @java.lang.SuppressWarnings("all") 088 @lombok.Generated 089 public void setWebviewHeightRatio(final String webviewHeightRatio) { 090 this.webviewHeightRatio = webviewHeightRatio; 091 } 092 093 /** 094 * Controls whether the share button in the webview is enabled. Either show or hide, defaults to "hide" 095 */ 096 @java.lang.SuppressWarnings("all") 097 @lombok.Generated 098 public String getWebviewShareButton() { 099 return this.webviewShareButton; 100 } 101 102 /** 103 * Controls whether the share button in the webview is enabled. Either show or hide, defaults to "hide" 104 */ 105 @java.lang.SuppressWarnings("all") 106 @lombok.Generated 107 public void setWebviewShareButton(final String webviewShareButton) { 108 this.webviewShareButton = webviewShareButton; 109 } 110 111 /** 112 * Controls whether users not assigned a role for your bot or its Facebook page can see the Chat Extension. 113 * 114 * This should be set to true until the Chat Extension is ready to be used by others. 115 */ 116 @java.lang.SuppressWarnings("all") 117 @lombok.Generated 118 public Boolean getInTest() { 119 return this.inTest; 120 } 121 122 /** 123 * Controls whether users not assigned a role for your bot or its Facebook page can see the Chat Extension. 124 * 125 * This should be set to true until the Chat Extension is ready to be used by others. 126 */ 127 @java.lang.SuppressWarnings("all") 128 @lombok.Generated 129 public void setInTest(final Boolean inTest) { 130 this.inTest = inTest; 131 } 132}