
com.zendesk.sunshine_conversations_client.model.DownloadMessageRefBodyAllOfAppleInteractiveDataRef Maven / Gradle / Ivy
/*
* Sunshine Conversations API
*
* The version of the OpenAPI document: 14.3.4
*
*
* 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.JsonPropertyOrder;
/**
* interactiveDataRef can be found in the passthrough webhook.
*/
@ApiModel(description = "interactiveDataRef can be found in the passthrough webhook.")
@JsonPropertyOrder({
DownloadMessageRefBodyAllOfAppleInteractiveDataRef.JSON_PROPERTY_URL,
DownloadMessageRefBodyAllOfAppleInteractiveDataRef.JSON_PROPERTY_BID,
DownloadMessageRefBodyAllOfAppleInteractiveDataRef.JSON_PROPERTY_KEY,
DownloadMessageRefBodyAllOfAppleInteractiveDataRef.JSON_PROPERTY_SIGNATURE,
DownloadMessageRefBodyAllOfAppleInteractiveDataRef.JSON_PROPERTY_OWNER
})
public class DownloadMessageRefBodyAllOfAppleInteractiveDataRef {
public static final String JSON_PROPERTY_URL = "url";
private String url;
public static final String JSON_PROPERTY_BID = "bid";
private String bid;
public static final String JSON_PROPERTY_KEY = "key";
private String key;
public static final String JSON_PROPERTY_SIGNATURE = "signature";
private String signature;
public static final String JSON_PROPERTY_OWNER = "owner";
private String owner;
public DownloadMessageRefBodyAllOfAppleInteractiveDataRef url(String url) {
this.url = url;
return this;
}
/**
* Get url
* @return url
**/
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_URL)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public DownloadMessageRefBodyAllOfAppleInteractiveDataRef bid(String bid) {
this.bid = bid;
return this;
}
/**
* Get bid
* @return bid
**/
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_BID)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getBid() {
return bid;
}
public void setBid(String bid) {
this.bid = bid;
}
public DownloadMessageRefBodyAllOfAppleInteractiveDataRef key(String key) {
this.key = key;
return this;
}
/**
* Get key
* @return key
**/
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_KEY)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
public DownloadMessageRefBodyAllOfAppleInteractiveDataRef signature(String signature) {
this.signature = signature;
return this;
}
/**
* Get signature
* @return signature
**/
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_SIGNATURE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getSignature() {
return signature;
}
public void setSignature(String signature) {
this.signature = signature;
}
public DownloadMessageRefBodyAllOfAppleInteractiveDataRef owner(String owner) {
this.owner = owner;
return this;
}
/**
* Get owner
* @return owner
**/
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_OWNER)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getOwner() {
return owner;
}
public void setOwner(String owner) {
this.owner = owner;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DownloadMessageRefBodyAllOfAppleInteractiveDataRef downloadMessageRefBodyAllOfAppleInteractiveDataRef = (DownloadMessageRefBodyAllOfAppleInteractiveDataRef) o;
return Objects.equals(this.url, downloadMessageRefBodyAllOfAppleInteractiveDataRef.url) &&
Objects.equals(this.bid, downloadMessageRefBodyAllOfAppleInteractiveDataRef.bid) &&
Objects.equals(this.key, downloadMessageRefBodyAllOfAppleInteractiveDataRef.key) &&
Objects.equals(this.signature, downloadMessageRefBodyAllOfAppleInteractiveDataRef.signature) &&
Objects.equals(this.owner, downloadMessageRefBodyAllOfAppleInteractiveDataRef.owner);
}
@Override
public int hashCode() {
return Objects.hash(url, bid, key, signature, owner);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DownloadMessageRefBodyAllOfAppleInteractiveDataRef {\n");
sb.append(" url: ").append(toIndentedString(url)).append("\n");
sb.append(" bid: ").append(toIndentedString(bid)).append("\n");
sb.append(" key: ").append(toIndentedString(key)).append("\n");
sb.append(" signature: ").append(toIndentedString(signature)).append("\n");
sb.append(" owner: ").append(toIndentedString(owner)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy