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

com.silanis.esl.api.model.SignedDocumentDelivery 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 SignedDocumentDelivery extends Model
      implements java.io.Serializable
{
    
    // Dirty Flag Constants
    @JsonIgnore
    public static final String FIELD_DESTINATIONS = "destinations";
    @JsonIgnore
    public static final String FIELD_EXCLUDEDDOCUMENTS = "excludedDocuments";
    @JsonIgnore
    public static final String FIELD_FILEPREFIX = "filePrefix";
    @JsonIgnore
    public static final String FIELD_FILESUFFIX = "fileSuffix";
    
    // Empty Constructor
    public SignedDocumentDelivery ( ) {}
    
    // Fields
    protected List _destinations = new ArrayList();
    protected List _excludedDocuments = new ArrayList();
    protected String _filePrefix = null;
    protected String _fileSuffix = null;
    
    // Accessors
        
    
    public SignedDocumentDelivery setDestinations( List value ){
        SchemaSanitizer.throwOnNull(FIELD_DESTINATIONS,value);
        // TODO With proper compare
        // if ( this._destinations == value ) return this;
        this._destinations = value;
        setDirty(FIELD_DESTINATIONS);
        return this;
    }
    // Used internally by aws. Invokes a the corresponding setter if the value is not null
    @JsonIgnore
    public SignedDocumentDelivery safeSetDestinations( List value ){
        if ( value != null ) { this.setDestinations( value ); }
        return this;
    }
    public List getDestinations(){
        return _destinations;
    }
    // List adder
    public SignedDocumentDelivery addDestination( External value ){
        if (value == null) { throw new IllegalArgumentException("Argument cannot be null"); }
        this._destinations.add(value);
        setDirty(FIELD_DESTINATIONS);
        return this;
    }
    
        
    
    public SignedDocumentDelivery setExcludedDocuments( List value ){
        SchemaSanitizer.throwOnNull(FIELD_EXCLUDEDDOCUMENTS,value);
        // TODO With proper compare
        // if ( this._excludedDocuments == value ) return this;
        this._excludedDocuments = value;
        setDirty(FIELD_EXCLUDEDDOCUMENTS);
        return this;
    }
    // Used internally by aws. Invokes a the corresponding setter if the value is not null
    @JsonIgnore
    public SignedDocumentDelivery safeSetExcludedDocuments( List value ){
        if ( value != null ) { this.setExcludedDocuments( value ); }
        return this;
    }
    public List getExcludedDocuments(){
        return _excludedDocuments;
    }
    // List adder
    public SignedDocumentDelivery addExcludedDocument( Document value ){
        if (value == null) { throw new IllegalArgumentException("Argument cannot be null"); }
        this._excludedDocuments.add(value);
        setDirty(FIELD_EXCLUDEDDOCUMENTS);
        return this;
    }
    
        
    
    public SignedDocumentDelivery setFilePrefix( String value ){
        value = SchemaSanitizer.trim(value);
        // TODO With proper compare
        // if ( this._filePrefix == value ) return this;
        this._filePrefix = value;
        setDirty(FIELD_FILEPREFIX);
        return this;
    }
    // Used internally by aws. Invokes a the corresponding setter if the value is not null
    @JsonIgnore
    public SignedDocumentDelivery safeSetFilePrefix( String value ){
        if ( value != null ) { this.setFilePrefix( value ); }
        return this;
    }
    public String getFilePrefix(){
        return _filePrefix;
    }
    
        
    
    public SignedDocumentDelivery setFileSuffix( String value ){
        value = SchemaSanitizer.trim(value);
        // TODO With proper compare
        // if ( this._fileSuffix == value ) return this;
        this._fileSuffix = value;
        setDirty(FIELD_FILESUFFIX);
        return this;
    }
    // Used internally by aws. Invokes a the corresponding setter if the value is not null
    @JsonIgnore
    public SignedDocumentDelivery safeSetFileSuffix( String value ){
        if ( value != null ) { this.setFileSuffix( value ); }
        return this;
    }
    public String getFileSuffix(){
        return _fileSuffix;
    }
    
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy