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; 026import com.restfb.types.features.HasMessage; 027 028/** 029 * Respresents the <a href="https://developers.facebook.com/docs/graph-api/reference/saved-message-response/">Saved 030 * Message Response</a> type 031 */ 032public class SavedMessageResponse extends FacebookType implements HasMessage { 033 /** 034 * The message category of the saved response 035 */ 036 @Facebook 037 private String category; 038 /** 039 * The image attached to this save response 040 */ 041 @Facebook 042 private String image; 043 /** 044 * Toggle whether to enable the message 045 */ 046 @Facebook("is_enabled") 047 private Boolean isEnabled; 048 /** 049 * The message body of the saved response 050 */ 051 @Facebook 052 private String message; 053 /** 054 * The title of the saved response 055 */ 056 @Facebook 057 private String title; 058 059 /** 060 * The message category of the saved response 061 */ 062 @java.lang.SuppressWarnings("all") 063 @lombok.Generated 064 public String getCategory() { 065 return this.category; 066 } 067 068 /** 069 * The message category of the saved response 070 */ 071 @java.lang.SuppressWarnings("all") 072 @lombok.Generated 073 public void setCategory(final String category) { 074 this.category = category; 075 } 076 077 /** 078 * The image attached to this save response 079 */ 080 @java.lang.SuppressWarnings("all") 081 @lombok.Generated 082 public String getImage() { 083 return this.image; 084 } 085 086 /** 087 * The image attached to this save response 088 */ 089 @java.lang.SuppressWarnings("all") 090 @lombok.Generated 091 public void setImage(final String image) { 092 this.image = image; 093 } 094 095 /** 096 * Toggle whether to enable the message 097 */ 098 @java.lang.SuppressWarnings("all") 099 @lombok.Generated 100 public Boolean getIsEnabled() { 101 return this.isEnabled; 102 } 103 104 /** 105 * Toggle whether to enable the message 106 */ 107 @java.lang.SuppressWarnings("all") 108 @lombok.Generated 109 public void setIsEnabled(final Boolean isEnabled) { 110 this.isEnabled = isEnabled; 111 } 112 113 /** 114 * The message body of the saved response 115 */ 116 @Override 117 @java.lang.SuppressWarnings("all") 118 @lombok.Generated 119 public String getMessage() { 120 return this.message; 121 } 122 123 /** 124 * The message body of the saved response 125 */ 126 @java.lang.SuppressWarnings("all") 127 @lombok.Generated 128 public void setMessage(final String message) { 129 this.message = message; 130 } 131 132 /** 133 * The title of the saved response 134 */ 135 @java.lang.SuppressWarnings("all") 136 @lombok.Generated 137 public String getTitle() { 138 return this.title; 139 } 140 141 /** 142 * The title of the saved response 143 */ 144 @java.lang.SuppressWarnings("all") 145 @lombok.Generated 146 public void setTitle(final String title) { 147 this.title = title; 148 } 149}