com.mypurecloud.sdk.model.CampaignScheduleNotificationIntervals 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;
/**
* CampaignScheduleNotificationIntervals
*/
public class CampaignScheduleNotificationIntervals implements Serializable {
private String start = null;
private String end = null;
private Object additionalProperties = null;
/**
**/
public CampaignScheduleNotificationIntervals start(String start) {
this.start = start;
return this;
}
@ApiModelProperty(example = "null", value = "")
@JsonProperty("start")
public String getStart() {
return start;
}
public void setStart(String start) {
this.start = start;
}
/**
**/
public CampaignScheduleNotificationIntervals end(String end) {
this.end = end;
return this;
}
@ApiModelProperty(example = "null", value = "")
@JsonProperty("end")
public String getEnd() {
return end;
}
public void setEnd(String end) {
this.end = end;
}
/**
**/
public CampaignScheduleNotificationIntervals 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;
}
CampaignScheduleNotificationIntervals campaignScheduleNotificationIntervals = (CampaignScheduleNotificationIntervals) o;
return Objects.equals(this.start, campaignScheduleNotificationIntervals.start) &&
Objects.equals(this.end, campaignScheduleNotificationIntervals.end) &&
Objects.equals(this.additionalProperties, campaignScheduleNotificationIntervals.additionalProperties);
}
@Override
public int hashCode() {
return Objects.hash(start, end, additionalProperties);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CampaignScheduleNotificationIntervals {\n");
sb.append(" start: ").append(toIndentedString(start)).append("\n");
sb.append(" end: ").append(toIndentedString(end)).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 ");
}
}