예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GlobalMailSettingsDTO" /> class.
 /// </summary>
 /// <param name="stateIn">State for incoming mail messages.</param>
 /// <param name="documentTypeIn">Document type for incoming mail messages.</param>
 /// <param name="stateOut">State for outcoming mail messages.</param>
 /// <param name="documentTypeOut">Document type for outcoming mail messages.</param>
 /// <param name="pecSender">PEC: replace profile sender with original.</param>
 /// <param name="pecSubject">PEC: replace profile subject with original.</param>
 public GlobalMailSettingsDTO(StateSimpleDTO stateIn = default(StateSimpleDTO), DocumentTypeSimpleDTO documentTypeIn = default(DocumentTypeSimpleDTO), StateSimpleDTO stateOut = default(StateSimpleDTO), DocumentTypeSimpleDTO documentTypeOut = default(DocumentTypeSimpleDTO), bool?pecSender = default(bool?), bool?pecSubject = default(bool?))
 {
     this.StateIn         = stateIn;
     this.DocumentTypeIn  = documentTypeIn;
     this.StateOut        = stateOut;
     this.DocumentTypeOut = documentTypeOut;
     this.PecSender       = pecSender;
     this.PecSubject      = pecSubject;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MailAccountSettingsOutDTO" /> class.
 /// </summary>
 /// <param name="mailWithInternalDestnation">Possible values:  1: Always  2: Never  3: Manual .</param>
 /// <param name="mailWithExternalDestnation">Possible values:  1: Always  2: Never  3: Manual .</param>
 /// <param name="documentType">Default document type.</param>
 /// <param name="outState">Default state.</param>
 /// <param name="mailOutDefault">Archive mail with default data.</param>
 /// <param name="monitoredFolder">Monitored folder path.</param>
 public MailAccountSettingsOutDTO(int?mailWithInternalDestnation = default(int?), int?mailWithExternalDestnation = default(int?), DocumentTypeSimpleDTO documentType = default(DocumentTypeSimpleDTO), StateSimpleDTO outState = default(StateSimpleDTO), bool?mailOutDefault = default(bool?), string monitoredFolder = default(string))
 {
     this.MailWithInternalDestnation = mailWithInternalDestnation;
     this.MailWithExternalDestnation = mailWithExternalDestnation;
     this.DocumentType    = documentType;
     this.OutState        = outState;
     this.MailOutDefault  = mailOutDefault;
     this.MonitoredFolder = monitoredFolder;
 }
예제 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StatePermissionsDTO" /> class.
 /// </summary>
 /// <param name="state">State.</param>
 /// <param name="permissions">Permissions.</param>
 public StatePermissionsDTO(StateSimpleDTO state = default(StateSimpleDTO), PermissionsDTO permissions = default(PermissionsDTO))
 {
     this.State       = state;
     this.Permissions = permissions;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="StateDocumentTypesDTO" /> class.
 /// </summary>
 /// <param name="state">State.</param>
 /// <param name="documentTypes">Document Type.</param>
 public StateDocumentTypesDTO(StateSimpleDTO state = default(StateSimpleDTO), List <DocumentTypeSimpleDTO> documentTypes = default(List <DocumentTypeSimpleDTO>))
 {
     this.State         = state;
     this.DocumentTypes = documentTypes;
 }
예제 #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DocumentTypeStateDTO" /> class.
 /// </summary>
 /// <param name="documentType">Document type.</param>
 /// <param name="stateId">State value.</param>
 /// <param name="state">State basic information for visualization.</param>
 public DocumentTypeStateDTO(DocumentTypeSimpleDTO documentType = default(DocumentTypeSimpleDTO), string stateId = default(string), StateSimpleDTO state = default(StateSimpleDTO))
 {
     this.DocumentType = documentType;
     this.StateId      = stateId;
     this.State        = state;
 }
예제 #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MailAccountSettingsInDTO" /> class.
 /// </summary>
 /// <param name="archiveOption">Possible values:  0: Manual  1: All  2: OnlyAddressBook .</param>
 /// <param name="safeMode">Archive with safe mode (only if ArchiveOption is set to All).</param>
 /// <param name="documentType">Default document type.</param>
 /// <param name="state">Default state.</param>
 /// <param name="assAos">Archive mail with default data.</param>
 /// <param name="monitoredFolder">Monitored folder path.</param>
 /// <param name="pecSender">Possible values:  0: Unread  1: Overwrite  2: DoNotOverwrite .</param>
 /// <param name="pecSubject">Possible values:  0: Unread  1: Overwrite  2: DoNotOverwrite .</param>
 /// <param name="whitelist">Whitelist.</param>
 public MailAccountSettingsInDTO(int?archiveOption = default(int?), bool?safeMode = default(bool?), DocumentTypeSimpleDTO documentType = default(DocumentTypeSimpleDTO), StateSimpleDTO state = default(StateSimpleDTO), bool?assAos = default(bool?), string monitoredFolder = default(string), int?pecSender = default(int?), int?pecSubject = default(int?), List <string> whitelist = default(List <string>))
 {
     this.ArchiveOption   = archiveOption;
     this.SafeMode        = safeMode;
     this.DocumentType    = documentType;
     this.State           = state;
     this.AssAos          = assAos;
     this.MonitoredFolder = monitoredFolder;
     this.PecSender       = pecSender;
     this.PecSubject      = pecSubject;
     this.Whitelist       = whitelist;
 }