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.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 @lombok.Generated 050 public String getMessagingProduct() { 051 return this.messagingProduct; 052 } 053 054 @java.lang.SuppressWarnings("all") 055 @lombok.Generated 056 public void setMessagingProduct(final String messagingProduct) { 057 this.messagingProduct = messagingProduct; 058 } 059 060 @java.lang.SuppressWarnings("all") 061 @lombok.Generated 062 public List<Contact> getContacts() { 063 return this.contacts; 064 } 065 066 @java.lang.SuppressWarnings("all") 067 @lombok.Generated 068 public void setContacts(final List<Contact> contacts) { 069 this.contacts = contacts; 070 } 071 072 @java.lang.SuppressWarnings("all") 073 @lombok.Generated 074 public List<Error> getErrors() { 075 return this.errors; 076 } 077 078 @java.lang.SuppressWarnings("all") 079 @lombok.Generated 080 public void setErrors(final List<Error> errors) { 081 this.errors = errors; 082 } 083 084 @java.lang.SuppressWarnings("all") 085 @lombok.Generated 086 public List<Message> getMessages() { 087 return this.messages; 088 } 089 090 @java.lang.SuppressWarnings("all") 091 @lombok.Generated 092 public void setMessages(final List<Message> messages) { 093 this.messages = messages; 094 } 095 096 @java.lang.SuppressWarnings("all") 097 @lombok.Generated 098 public List<Status> getStatuses() { 099 return this.statuses; 100 } 101 102 @java.lang.SuppressWarnings("all") 103 @lombok.Generated 104 public void setStatuses(final List<Status> statuses) { 105 this.statuses = statuses; 106 } 107 108 @java.lang.SuppressWarnings("all") 109 @lombok.Generated 110 public Metadata getMetadata() { 111 return this.metadata; 112 } 113 114 @java.lang.SuppressWarnings("all") 115 @lombok.Generated 116 public void setMetadata(final Metadata metadata) { 117 this.metadata = metadata; 118 } 119}