001// Generated by delombok at Fri Mar 17 23:20:37 UTC 2023 002/* 003 * Copyright (c) 2010-2023 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.Date; 026import com.restfb.Facebook; 027import com.restfb.types.AbstractFacebookType; 028import com.restfb.types.whatsapp.platform.status.Conversation; 029import com.restfb.types.whatsapp.platform.status.Pricing; 030 031public class Status extends AbstractFacebookType { 032 @Facebook 033 private String id; 034 @Facebook 035 private Date timestamp; 036 @Facebook("recipient_id") 037 private String recipientId; 038 @Facebook 039 private StatusType status; 040 @Facebook 041 private Pricing pricing; 042 @Facebook 043 private Conversation conversation; 044 045 046 public enum StatusType { 047 delivered, read, sent, failed, deleted; 048 } 049 050 @java.lang.SuppressWarnings("all") 051 public String getId() { 052 return this.id; 053 } 054 055 @java.lang.SuppressWarnings("all") 056 public void setId(final String id) { 057 this.id = id; 058 } 059 060 @java.lang.SuppressWarnings("all") 061 public Date getTimestamp() { 062 return this.timestamp; 063 } 064 065 @java.lang.SuppressWarnings("all") 066 public void setTimestamp(final Date timestamp) { 067 this.timestamp = timestamp; 068 } 069 070 @java.lang.SuppressWarnings("all") 071 public String getRecipientId() { 072 return this.recipientId; 073 } 074 075 @java.lang.SuppressWarnings("all") 076 public void setRecipientId(final String recipientId) { 077 this.recipientId = recipientId; 078 } 079 080 @java.lang.SuppressWarnings("all") 081 public StatusType getStatus() { 082 return this.status; 083 } 084 085 @java.lang.SuppressWarnings("all") 086 public void setStatus(final StatusType status) { 087 this.status = status; 088 } 089 090 @java.lang.SuppressWarnings("all") 091 public Pricing getPricing() { 092 return this.pricing; 093 } 094 095 @java.lang.SuppressWarnings("all") 096 public void setPricing(final Pricing pricing) { 097 this.pricing = pricing; 098 } 099 100 @java.lang.SuppressWarnings("all") 101 public Conversation getConversation() { 102 return this.conversation; 103 } 104 105 @java.lang.SuppressWarnings("all") 106 public void setConversation(final Conversation conversation) { 107 this.conversation = conversation; 108 } 109}