com.mypurecloud.sdk.model.CallableTimeSetNotification 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 com.mypurecloud.sdk.model.CallableTimeSetNotificationCallableTimes;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.io.Serializable;
/**
* CallableTimeSetNotification
*/
public class CallableTimeSetNotification implements Serializable {
private String id = null;
private String name = null;
private Date dateCreated = null;
private Date dateModified = null;
private Integer version = null;
private List callableTimes = new ArrayList();
private Object additionalProperties = null;
/**
**/
public CallableTimeSetNotification id(String id) {
this.id = id;
return this;
}
@ApiModelProperty(example = "null", value = "")
@JsonProperty("id")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
/**
**/
public CallableTimeSetNotification 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 CallableTimeSetNotification dateCreated(Date dateCreated) {
this.dateCreated = dateCreated;
return this;
}
@ApiModelProperty(example = "null", value = "")
@JsonProperty("dateCreated")
public Date getDateCreated() {
return dateCreated;
}
public void setDateCreated(Date dateCreated) {
this.dateCreated = dateCreated;
}
/**
**/
public CallableTimeSetNotification dateModified(Date dateModified) {
this.dateModified = dateModified;
return this;
}
@ApiModelProperty(example = "null", value = "")
@JsonProperty("dateModified")
public Date getDateModified() {
return dateModified;
}
public void setDateModified(Date dateModified) {
this.dateModified = dateModified;
}
/**
**/
public CallableTimeSetNotification version(Integer version) {
this.version = version;
return this;
}
@ApiModelProperty(example = "null", value = "")
@JsonProperty("version")
public Integer getVersion() {
return version;
}
public void setVersion(Integer version) {
this.version = version;
}
/**
**/
public CallableTimeSetNotification callableTimes(List callableTimes) {
this.callableTimes = callableTimes;
return this;
}
@ApiModelProperty(example = "null", value = "")
@JsonProperty("callableTimes")
public List getCallableTimes() {
return callableTimes;
}
public void setCallableTimes(List callableTimes) {
this.callableTimes = callableTimes;
}
/**
**/
public CallableTimeSetNotification 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;
}
CallableTimeSetNotification callableTimeSetNotification = (CallableTimeSetNotification) o;
return Objects.equals(this.id, callableTimeSetNotification.id) &&
Objects.equals(this.name, callableTimeSetNotification.name) &&
Objects.equals(this.dateCreated, callableTimeSetNotification.dateCreated) &&
Objects.equals(this.dateModified, callableTimeSetNotification.dateModified) &&
Objects.equals(this.version, callableTimeSetNotification.version) &&
Objects.equals(this.callableTimes, callableTimeSetNotification.callableTimes) &&
Objects.equals(this.additionalProperties, callableTimeSetNotification.additionalProperties);
}
@Override
public int hashCode() {
return Objects.hash(id, name, dateCreated, dateModified, version, callableTimes, additionalProperties);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CallableTimeSetNotification {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" dateCreated: ").append(toIndentedString(dateCreated)).append("\n");
sb.append(" dateModified: ").append(toIndentedString(dateModified)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" callableTimes: ").append(toIndentedString(callableTimes)).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 ");
}
}