com.silanis.esl.api.model.InpersonHostThankYouOptions Maven / Gradle / Ivy
package com.silanis.esl.api.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.silanis.esl.api.util.SchemaSanitizer;
@JsonIgnoreProperties(ignoreUnknown = true)
public class InpersonHostThankYouOptions extends Model
implements java.io.Serializable {
@JsonIgnore
public static final String FIELD_TITLE = "title";
@JsonIgnore
public static final String FIELD_BODY = "body";
@JsonIgnore
public static final String FIELD_RECIPIENTNAME = "recipientName";
@JsonIgnore
public static final String FIELD_RECIPIENTEMAIL = "recipientEmail";
@JsonIgnore
public static final String FIELD_RECIPIENTROLE = "recipientRole";
@JsonIgnore
public static final String FIELD_RECIPIENTSTATUS = "recipientStatus";
@JsonIgnore
public static final String FIELD_DOWNLOADBUTTON = "downloadButton";
@JsonIgnore
public static final String FIELD_REVIEWDOCUMENTSBUTTON = "reviewDocumentsButton";
protected Boolean _title = true;
protected Boolean _body = true;
protected Boolean _recipientName = true;
protected Boolean _recipientEmail = true;
protected Boolean _recipientRole = true;
protected Boolean _recipientStatus = true;
protected Boolean _downloadButton = true;
protected Boolean _reviewDocumentsButton = true;
// Empty Constructor
public InpersonHostThankYouOptions() {
// Do nothing
}
@JsonIgnore
public InpersonHostThankYouOptions safeSetTitle(Boolean value) {
if (value != null) {
this.setTitle(value);
}
return this;
}
public Boolean getTitle() {
return _title;
}
public InpersonHostThankYouOptions setTitle(Boolean value) {
SchemaSanitizer.throwOnNull(FIELD_TITLE, value);
this._title = value;
setDirty(FIELD_TITLE);
return this;
}
@JsonIgnore
public boolean evalTitle() {
return _title == null || _title.booleanValue();
}
@JsonIgnore
public InpersonHostThankYouOptions safeSetBody(Boolean value) {
if (value != null) {
this.setBody(value);
}
return this;
}
public Boolean getBody() {
return _body;
}
public InpersonHostThankYouOptions setBody(Boolean value) {
SchemaSanitizer.throwOnNull(FIELD_BODY, value);
this._body = value;
setDirty(FIELD_BODY);
return this;
}
@JsonIgnore
public boolean evalBody() {
return _body == null || _body.booleanValue();
}
@JsonIgnore
public InpersonHostThankYouOptions safeSetRecipientName(Boolean value) {
if (value != null) {
this.setRecipientName(value);
}
return this;
}
public Boolean getRecipientName() {
return _recipientName;
}
public InpersonHostThankYouOptions setRecipientName(Boolean value) {
SchemaSanitizer.throwOnNull(FIELD_RECIPIENTNAME, value);
this._recipientName = value;
setDirty(FIELD_RECIPIENTNAME);
return this;
}
@JsonIgnore
public boolean evalRecipientName() {
return _recipientName == null || _recipientName.booleanValue();
}
@JsonIgnore
public InpersonHostThankYouOptions safeSetRecipientEmail(Boolean value) {
if (value != null) {
this.setRecipientEmail(value);
}
return this;
}
public Boolean getRecipientEmail() {
return _recipientEmail;
}
public InpersonHostThankYouOptions setRecipientEmail(Boolean value) {
SchemaSanitizer.throwOnNull(FIELD_RECIPIENTEMAIL, value);
this._recipientEmail = value;
setDirty(FIELD_RECIPIENTEMAIL);
return this;
}
@JsonIgnore
public boolean evalRecipientEmail() {
return _recipientEmail == null || _recipientEmail.booleanValue();
}
@JsonIgnore
public InpersonHostThankYouOptions safeSetRecipientRole(Boolean value) {
if (value != null) {
this.setRecipientRole(value);
}
return this;
}
public Boolean getRecipientRole() {
return _recipientRole;
}
public InpersonHostThankYouOptions setRecipientRole(Boolean value) {
SchemaSanitizer.throwOnNull(FIELD_RECIPIENTROLE, value);
this._recipientRole = value;
setDirty(FIELD_RECIPIENTROLE);
return this;
}
@JsonIgnore
public boolean evalRecipientRole() {
return _recipientRole == null || _recipientRole.booleanValue();
}
@JsonIgnore
public InpersonHostThankYouOptions safeSetRecipientStatus(Boolean value) {
if (value != null) {
this.setRecipientStatus(value);
}
return this;
}
public Boolean getRecipientStatus() {
return _recipientStatus;
}
public InpersonHostThankYouOptions setRecipientStatus(Boolean value) {
SchemaSanitizer.throwOnNull(FIELD_RECIPIENTSTATUS, value);
this._recipientStatus = value;
setDirty(FIELD_RECIPIENTSTATUS);
return this;
}
@JsonIgnore
public boolean evalRecipientStatus() {
return _recipientStatus == null || _recipientStatus.booleanValue();
}
@JsonIgnore
public InpersonHostThankYouOptions safeSetDownloadButton(Boolean value) {
if (value != null) {
this.setDownloadButton(value);
}
return this;
}
public Boolean getDownloadButton() {
return _downloadButton;
}
public InpersonHostThankYouOptions setDownloadButton(Boolean value) {
SchemaSanitizer.throwOnNull(FIELD_DOWNLOADBUTTON, value);
this._downloadButton = value;
setDirty(FIELD_DOWNLOADBUTTON);
return this;
}
@JsonIgnore
public boolean evalDownloadButton() {
return _downloadButton == null || _downloadButton.booleanValue();
}
@JsonIgnore
public InpersonHostThankYouOptions safeSetReviewDocumentsButton(Boolean value) {
if (value != null) {
this.setReviewDocumentsButton(value);
}
return this;
}
public Boolean getReviewDocumentsButton() {
return _reviewDocumentsButton;
}
public InpersonHostThankYouOptions setReviewDocumentsButton(Boolean value) {
SchemaSanitizer.throwOnNull(FIELD_REVIEWDOCUMENTSBUTTON, value);
this._reviewDocumentsButton = value;
setDirty(FIELD_REVIEWDOCUMENTSBUTTON);
return this;
}
@JsonIgnore
public boolean evalReviewDocumentsButton() {
return _reviewDocumentsButton == null || _reviewDocumentsButton.booleanValue();
}
}