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