001// Generated by delombok at Sun Sep 26 16:30:34 CEST 2021
002/*
003 * Copyright (c) 2010-2021 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.webhook;
024
025import com.restfb.Facebook;
026import com.restfb.annotation.GraphAPI;
027
028/**
029 * Change value of the page conversation.
030 *
031 * Hint for Graph API 3.3: The <code>conversations</code> field is deprecated. Use the existing Messenger Webhooks
032 * <code>messages</code> field instead.
033 * @deprecated for 3.3+ directly and for all other versions on December 31, 2019. Use the Messenger Webhook instead
034 */
035@Deprecated
036@GraphAPI(until = "3.2")
037public class PageConversation extends ChangeValue {
038  @Facebook("page_id")
039  private String pageId;
040  @Facebook("thread_id")
041  private String threadId;
042  @Facebook("thread_key")
043  private String threadKey;
044
045  @java.lang.SuppressWarnings("all")
046  public String getPageId() {
047    return this.pageId;
048  }
049
050  @java.lang.SuppressWarnings("all")
051  public void setPageId(final String pageId) {
052    this.pageId = pageId;
053  }
054
055  @java.lang.SuppressWarnings("all")
056  public String getThreadId() {
057    return this.threadId;
058  }
059
060  @java.lang.SuppressWarnings("all")
061  public void setThreadId(final String threadId) {
062    this.threadId = threadId;
063  }
064
065  @java.lang.SuppressWarnings("all")
066  public String getThreadKey() {
067    return this.threadKey;
068  }
069
070  @java.lang.SuppressWarnings("all")
071  public void setThreadKey(final String threadKey) {
072    this.threadKey = threadKey;
073  }
074}