com.mypurecloud.sdk.model.ConversationNotificationAddress Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-client Show documentation
Show all versions of platform-client Show documentation
The official Java SDK for the PureCloud Platform API SDK
The newest version!
package com.mypurecloud.sdk.model;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
/**
* ConversationNotificationAddress
*/
public class ConversationNotificationAddress implements Serializable {
private String name = null;
private String nameRaw = null;
private String addressNormalized = null;
private String addressRaw = null;
private String addressDisplayable = null;
private Object additionalProperties = null;
/**
**/
public ConversationNotificationAddress name(String name) {
this.name = name;
return this;
}
@ApiModelProperty(example = "null", value = "")
@JsonProperty("name")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
/**
**/
public ConversationNotificationAddress nameRaw(String nameRaw) {
this.nameRaw = nameRaw;
return this;
}
@ApiModelProperty(example = "null", value = "")
@JsonProperty("nameRaw")
public String getNameRaw() {
return nameRaw;
}
public void setNameRaw(String nameRaw) {
this.nameRaw = nameRaw;
}
/**
**/
public ConversationNotificationAddress addressNormalized(String addressNormalized) {
this.addressNormalized = addressNormalized;
return this;
}
@ApiModelProperty(example = "null", value = "")
@JsonProperty("addressNormalized")
public String getAddressNormalized() {
return addressNormalized;
}
public void setAddressNormalized(String addressNormalized) {
this.addressNormalized = addressNormalized;
}
/**
**/
public ConversationNotificationAddress addressRaw(String addressRaw) {
this.addressRaw = addressRaw;
return this;
}
@ApiModelProperty(example = "null", value = "")
@JsonProperty("addressRaw")
public String getAddressRaw() {
return addressRaw;
}
public void setAddressRaw(String addressRaw) {
this.addressRaw = addressRaw;
}
/**
**/
public ConversationNotificationAddress addressDisplayable(String addressDisplayable) {
this.addressDisplayable = addressDisplayable;
return this;
}
@ApiModelProperty(example = "null", value = "")
@JsonProperty("addressDisplayable")
public String getAddressDisplayable() {
return addressDisplayable;
}
public void setAddressDisplayable(String addressDisplayable) {
this.addressDisplayable = addressDisplayable;
}
/**
**/
public ConversationNotificationAddress additionalProperties(Object additionalProperties) {
this.additionalProperties = additionalProperties;
return this;
}
@ApiModelProperty(example = "null", value = "")
@JsonProperty("additionalProperties")
public Object getAdditionalProperties() {
return additionalProperties;
}
public void setAdditionalProperties(Object additionalProperties) {
this.additionalProperties = additionalProperties;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ConversationNotificationAddress conversationNotificationAddress = (ConversationNotificationAddress) o;
return Objects.equals(this.name, conversationNotificationAddress.name) &&
Objects.equals(this.nameRaw, conversationNotificationAddress.nameRaw) &&
Objects.equals(this.addressNormalized, conversationNotificationAddress.addressNormalized) &&
Objects.equals(this.addressRaw, conversationNotificationAddress.addressRaw) &&
Objects.equals(this.addressDisplayable, conversationNotificationAddress.addressDisplayable) &&
Objects.equals(this.additionalProperties, conversationNotificationAddress.additionalProperties);
}
@Override
public int hashCode() {
return Objects.hash(name, nameRaw, addressNormalized, addressRaw, addressDisplayable, additionalProperties);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ConversationNotificationAddress {\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" nameRaw: ").append(toIndentedString(nameRaw)).append("\n");
sb.append(" addressNormalized: ").append(toIndentedString(addressNormalized)).append("\n");
sb.append(" addressRaw: ").append(toIndentedString(addressRaw)).append("\n");
sb.append(" addressDisplayable: ").append(toIndentedString(addressDisplayable)).append("\n");
sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).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 ");
}
}