001// Generated by delombok at Fri Oct 04 16:05:59 CEST 2024 002/* 003 * Copyright (c) 2010-2024 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.whatsapp; 024 025import java.util.ArrayList; 026import java.util.List; 027import com.restfb.Facebook; 028import com.restfb.types.whatsapp.platform.Error; 029import com.restfb.types.whatsapp.platform.Message; 030import com.restfb.types.whatsapp.platform.Metadata; 031import com.restfb.types.whatsapp.platform.Status; 032import com.restfb.types.whatsapp.platform.message.Contact; 033 034public class WhatsappMessagesValue extends AbstractWhatsappBaseChangeValue { 035 @Facebook("messaging_product") 036 private String messagingProduct; 037 @Facebook 038 private List<Contact> contacts = new ArrayList<>(); 039 @Facebook 040 private List<Error> errors = new ArrayList<>(); 041 @Facebook 042 private List<Message> messages = new ArrayList<>(); 043 @Facebook 044 private List<Status> statuses = new ArrayList<>(); 045 @Facebook 046 private Metadata metadata; 047 048 @java.lang.SuppressWarnings("all") 049 public String getMessagingProduct() { 050 return this.messagingProduct; 051 } 052 053 @java.lang.SuppressWarnings("all") 054 public void setMessagingProduct(final String messagingProduct) { 055 this.messagingProduct = messagingProduct; 056 } 057 058 @java.lang.SuppressWarnings("all") 059 public List<Contact> getContacts() { 060 return this.contacts; 061 } 062 063 @java.lang.SuppressWarnings("all") 064 public void setContacts(final List<Contact> contacts) { 065 this.contacts = contacts; 066 } 067 068 @java.lang.SuppressWarnings("all") 069 public List<Error> getErrors() { 070 return this.errors; 071 } 072 073 @java.lang.SuppressWarnings("all") 074 public void setErrors(final List<Error> errors) { 075 this.errors = errors; 076 } 077 078 @java.lang.SuppressWarnings("all") 079 public List<Message> getMessages() { 080 return this.messages; 081 } 082 083 @java.lang.SuppressWarnings("all") 084 public void setMessages(final List<Message> messages) { 085 this.messages = messages; 086 } 087 088 @java.lang.SuppressWarnings("all") 089 public List<Status> getStatuses() { 090 return this.statuses; 091 } 092 093 @java.lang.SuppressWarnings("all") 094 public void setStatuses(final List<Status> statuses) { 095 this.statuses = statuses; 096 } 097 098 @java.lang.SuppressWarnings("all") 099 public Metadata getMetadata() { 100 return this.metadata; 101 } 102 103 @java.lang.SuppressWarnings("all") 104 public void setMetadata(final Metadata metadata) { 105 this.metadata = metadata; 106 } 107}