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

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

There is a newer version: 11.59.0
Show newest version
package com.silanis.esl.api.model;
//
import com.fasterxml.jackson.annotation.*;
import java.util.List;
import java.util.ArrayList;
import com.silanis.esl.api.util.SchemaSanitizer;
@JsonIgnoreProperties(ignoreUnknown=true)
public class DocumentToolbarOptions extends Model
      implements java.io.Serializable
{
    
    // Dirty Flag Constants
    @JsonIgnore
    public static final String FIELD_DOWNLOADBUTTON = "downloadButton";
    
    // Empty Constructor
    public DocumentToolbarOptions ( ) {}
    
    // Fields
    protected Boolean _downloadButton = true;
    
    // Accessors
        
    
    public DocumentToolbarOptions setDownloadButton( Boolean value ){
        SchemaSanitizer.throwOnNull(FIELD_DOWNLOADBUTTON,value);
        // TODO With proper compare
        // if ( this._downloadButton == value ) return this;
        this._downloadButton = value;
        setDirty(FIELD_DOWNLOADBUTTON);
        return this;
    }
    // Used internally by aws. Invokes a the corresponding setter if the value is not null
    @JsonIgnore
    public DocumentToolbarOptions safeSetDownloadButton( Boolean value ){
        if ( value != null ) { this.setDownloadButton( value ); }
        return this;
    }
    public Boolean getDownloadButton(){
        return _downloadButton;
    }
    @JsonIgnore
    public boolean evalDownloadButton(){
        return _downloadButton == null ? false : _downloadButton.booleanValue();
    }
    
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy