001// Generated by delombok at Mon Oct 20 21:18:34 UTC 2025
002/*
003 * Copyright (c) 2010-2025 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.whatsapp.platform;
024
025import java.util.ArrayList;
026import java.util.List;
027import com.restfb.Facebook;
028import com.restfb.types.AbstractFacebookType;
029
030public class SuccessfulResponse extends AbstractFacebookType {
031  @Facebook("messaging_product")
032  private String messagingProduct;
033  @Facebook
034  private List<MessageContact> contacts = new ArrayList<>();
035  @Facebook
036  private List<MessageResponse> messages = new ArrayList<>();
037  @Facebook
038  private BlockUsers blockUsers;
039
040
041  public static class MessageResponse extends AbstractFacebookType {
042    @Facebook
043    private String id;
044
045    @java.lang.SuppressWarnings("all")
046    public String getId() {
047      return this.id;
048    }
049
050    @java.lang.SuppressWarnings("all")
051    public void setId(final String id) {
052      this.id = id;
053    }
054  }
055
056
057  public static class MessageContact extends AbstractFacebookType {
058    @Facebook
059    private String input;
060    @Facebook("wa_id")
061    private String waId;
062
063    @java.lang.SuppressWarnings("all")
064    public String getInput() {
065      return this.input;
066    }
067
068    @java.lang.SuppressWarnings("all")
069    public void setInput(final String input) {
070      this.input = input;
071    }
072
073    @java.lang.SuppressWarnings("all")
074    public String getWaId() {
075      return this.waId;
076    }
077
078    @java.lang.SuppressWarnings("all")
079    public void setWaId(final String waId) {
080      this.waId = waId;
081    }
082  }
083
084  @java.lang.SuppressWarnings("all")
085  public String getMessagingProduct() {
086    return this.messagingProduct;
087  }
088
089  @java.lang.SuppressWarnings("all")
090  public void setMessagingProduct(final String messagingProduct) {
091    this.messagingProduct = messagingProduct;
092  }
093
094  @java.lang.SuppressWarnings("all")
095  public List<MessageContact> getContacts() {
096    return this.contacts;
097  }
098
099  @java.lang.SuppressWarnings("all")
100  public void setContacts(final List<MessageContact> contacts) {
101    this.contacts = contacts;
102  }
103
104  @java.lang.SuppressWarnings("all")
105  public List<MessageResponse> getMessages() {
106    return this.messages;
107  }
108
109  @java.lang.SuppressWarnings("all")
110  public void setMessages(final List<MessageResponse> messages) {
111    this.messages = messages;
112  }
113
114  @java.lang.SuppressWarnings("all")
115  public BlockUsers getBlockUsers() {
116    return this.blockUsers;
117  }
118
119  @java.lang.SuppressWarnings("all")
120  public void setBlockUsers(final BlockUsers blockUsers) {
121    this.blockUsers = blockUsers;
122  }
123}