All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.silanis.esl.api.model.NotaryWelcomeOptions Maven / Gradle / Ivy

The newest version!
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 NotaryWelcomeOptions 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_RECIPIENTACTIONREQUIRED = "recipientActionRequired";
    @JsonIgnore
    public static final String FIELD_NOTARYTAG = "notaryTag";
    @JsonIgnore
    public static final String FIELD_RECIPIENTROLE = "recipientRole";
    @JsonIgnore
    public static final String FIELD_RECIPIENTSTATUS = "recipientStatus";
    protected Boolean _title = true;
    protected Boolean _body = true;
    protected Boolean _recipientName = true;
    protected Boolean _recipientEmail = true;
    protected Boolean _recipientActionRequired = true;
    protected Boolean _notaryTag = true;
    protected Boolean _recipientRole = true;
    protected Boolean _recipientStatus = true;

    // Empty Constructor
    public NotaryWelcomeOptions() {
        // Do nothing
    }

    @JsonIgnore
    public NotaryWelcomeOptions safeSetTitle(Boolean value) {
        if (value != null) {
            this.setTitle(value);
        }
        return this;
    }

    public Boolean getTitle() {
        return _title;
    }

    public NotaryWelcomeOptions 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 NotaryWelcomeOptions safeSetBody(Boolean value) {
        if (value != null) {
            this.setBody(value);
        }
        return this;
    }

    public Boolean getBody() {
        return _body;
    }

    public NotaryWelcomeOptions 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 NotaryWelcomeOptions safeSetRecipientName(Boolean value) {
        if (value != null) {
            this.setRecipientName(value);
        }
        return this;
    }

    public Boolean getRecipientName() {
        return _recipientName;
    }

    public NotaryWelcomeOptions 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 NotaryWelcomeOptions safeSetRecipientEmail(Boolean value) {
        if (value != null) {
            this.setRecipientEmail(value);
        }
        return this;
    }

    public Boolean getRecipientEmail() {
        return _recipientEmail;
    }

    public NotaryWelcomeOptions 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 NotaryWelcomeOptions safeSetRecipientActionRequired(Boolean value) {
        if (value != null) {
            this.setRecipientActionRequired(value);
        }
        return this;
    }

    public Boolean getRecipientActionRequired() {
        return _recipientActionRequired;
    }

    public NotaryWelcomeOptions setRecipientActionRequired(Boolean value) {
        SchemaSanitizer.throwOnNull(FIELD_RECIPIENTACTIONREQUIRED, value);
        this._recipientActionRequired = value;
        setDirty(FIELD_RECIPIENTACTIONREQUIRED);
        return this;
    }

    @JsonIgnore
    public boolean evalRecipientActionRequired() {
        return _recipientActionRequired == null || _recipientActionRequired.booleanValue();
    }

    @JsonIgnore
    public NotaryWelcomeOptions safeSetNotaryTag(Boolean value) {
        if (value != null) {
            this.setNotaryTag(value);
        }
        return this;
    }

    public Boolean getNotaryTag() {
        return _notaryTag;
    }

    public NotaryWelcomeOptions setNotaryTag(Boolean value) {
        SchemaSanitizer.throwOnNull(FIELD_NOTARYTAG, value);
        this._notaryTag = value;
        setDirty(FIELD_NOTARYTAG);
        return this;
    }

    @JsonIgnore
    public boolean evalNotaryTag() {
        return _notaryTag == null || _notaryTag.booleanValue();
    }

    @JsonIgnore
    public NotaryWelcomeOptions safeSetRecipientRole(Boolean value) {
        if (value != null) {
            this.setRecipientRole(value);
        }
        return this;
    }

    public Boolean getRecipientRole() {
        return _recipientRole;
    }

    public NotaryWelcomeOptions 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 NotaryWelcomeOptions safeSetRecipientStatus(Boolean value) {
        if (value != null) {
            this.setRecipientStatus(value);
        }
        return this;
    }

    public Boolean getRecipientStatus() {
        return _recipientStatus;
    }

    public NotaryWelcomeOptions 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();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy