com.zendesk.sunshine_conversations_client.model.MessageWebhook Maven / Gradle / Ivy
/*
* Sunshine Conversations API
*
* The version of the OpenAPI document: 12.8.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.zendesk.sunshine_conversations_client.model;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.zendesk.sunshine_conversations_client.model.AuthorWebhook;
import com.zendesk.sunshine_conversations_client.model.Content;
import com.zendesk.sunshine_conversations_client.model.QuotedMessage;
import com.zendesk.sunshine_conversations_client.model.Source;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.openapitools.jackson.nullable.JsonNullable;
import java.util.NoSuchElementException;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* MessageWebhook
*/
@JsonPropertyOrder({
MessageWebhook.JSON_PROPERTY_ID,
MessageWebhook.JSON_PROPERTY_RECEIVED,
MessageWebhook.JSON_PROPERTY_AUTHOR,
MessageWebhook.JSON_PROPERTY_CONTENT,
MessageWebhook.JSON_PROPERTY_SOURCE,
MessageWebhook.JSON_PROPERTY_QUOTED_MESSAGE,
MessageWebhook.JSON_PROPERTY_METADATA,
MessageWebhook.JSON_PROPERTY_DELETED
})
public class MessageWebhook {
public static final String JSON_PROPERTY_ID = "id";
private String id;
public static final String JSON_PROPERTY_RECEIVED = "received";
private String received;
public static final String JSON_PROPERTY_AUTHOR = "author";
private AuthorWebhook author;
public static final String JSON_PROPERTY_CONTENT = "content";
private Content content = null;
public static final String JSON_PROPERTY_SOURCE = "source";
private Source source = null;
public static final String JSON_PROPERTY_QUOTED_MESSAGE = "quotedMessage";
private JsonNullable quotedMessage = JsonNullable.of(null);
public static final String JSON_PROPERTY_METADATA = "metadata";
private JsonNullable