com.zendesk.sunshine_conversations_client.model.QuotedMessage 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.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonValue;
import com.zendesk.sunshine_conversations_client.model.Message;
import com.zendesk.sunshine_conversations_client.model.QuotedMessageExternalMessageId;
import com.zendesk.sunshine_conversations_client.model.QuotedMessageMessage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "type", visible = true)
@JsonSubTypes({
@JsonSubTypes.Type(value = QuotedMessageExternalMessageId.class, name = "externalMessageId"),
@JsonSubTypes.Type(value = QuotedMessageMessage.class, name = "message"),
@JsonSubTypes.Type(value = QuotedMessageExternalMessageId.class, name = "quotedMessageExternalMessageId"),
@JsonSubTypes.Type(value = QuotedMessageMessage.class, name = "quotedMessageMessage"),
})
public interface QuotedMessage {
public String getType();
}