com.zendesk.sunshine_conversations_client.model.Link 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.ExtraChannelOptions;
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.zendesk.sunshine_conversations_client.model.Action;
import com.zendesk.sunshine_conversations_client.model.ActionSubset;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import java.net.URI;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* A link action will open the provided URI when tapped.
*/
@ApiModel(description = "A link action will open the provided URI when tapped.")
@JsonPropertyOrder({
Link.JSON_PROPERTY_TYPE,
Link.JSON_PROPERTY_URI,
Link.JSON_PROPERTY_TEXT,
Link.JSON_PROPERTY_DEFAULT,
Link.JSON_PROPERTY_METADATA,
Link.JSON_PROPERTY_EXTRA_CHANNEL_OPTIONS
})
public class Link implements Action, ActionSubset {
public static final String JSON_PROPERTY_TYPE = "type";
private String type = "link";
public static final String JSON_PROPERTY_URI = "uri";
private String uri;
public static final String JSON_PROPERTY_TEXT = "text";
private String text;
public static final String JSON_PROPERTY_DEFAULT = "default";
private Boolean _default;
public static final String JSON_PROPERTY_METADATA = "metadata";
private JsonNullable