com.zendesk.sunshine_conversations_client.model.LocationRequest 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 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.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import java.net.URI;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* A location request action will prompt the user to share their location.
*/
@ApiModel(description = "A location request action will prompt the user to share their location.")
@JsonPropertyOrder({
LocationRequest.JSON_PROPERTY_TYPE,
LocationRequest.JSON_PROPERTY_TEXT,
LocationRequest.JSON_PROPERTY_METADATA
})
public class LocationRequest implements Action {
public static final String JSON_PROPERTY_TYPE = "type";
private String type = "locationRequest";
public static final String JSON_PROPERTY_TEXT = "text";
private String text;
public static final String JSON_PROPERTY_METADATA = "metadata";
private JsonNullable