com.mypurecloud.sdk.model.CoverSheet 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;
/**
* CoverSheet
*/
public class CoverSheet implements Serializable {
private String notes = null;
private String locale = null;
/**
* Text to be added to the coversheet
**/
public CoverSheet notes(String notes) {
this.notes = notes;
return this;
}
@ApiModelProperty(example = "null", value = "Text to be added to the coversheet")
@JsonProperty("notes")
public String getNotes() {
return notes;
}
public void setNotes(String notes) {
this.notes = notes;
}
/**
* Locale, e.g. = en-US
**/
public CoverSheet locale(String locale) {
this.locale = locale;
return this;
}
@ApiModelProperty(example = "null", value = "Locale, e.g. = en-US")
@JsonProperty("locale")
public String getLocale() {
return locale;
}
public void setLocale(String locale) {
this.locale = locale;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CoverSheet coverSheet = (CoverSheet) o;
return Objects.equals(this.notes, coverSheet.notes) &&
Objects.equals(this.locale, coverSheet.locale);
}
@Override
public int hashCode() {
return Objects.hash(notes, locale);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CoverSheet {\n");
sb.append(" notes: ").append(toIndentedString(notes)).append("\n");
sb.append(" locale: ").append(toIndentedString(locale)).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 ");
}
}