コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ArchiveOptionsDTO" /> class.
 /// </summary>
 /// <param name="documentType">Document type.</param>
 /// <param name="numDayWrite">Days without writing before moving.</param>
 /// <param name="numDayRead">Days without reading before moving.</param>
 /// <param name="_operator">Possible values:  0: AND  1: OR .</param>
 public ArchiveOptionsDTO(DocumentTypeSimpleDTO documentType = default(DocumentTypeSimpleDTO), int?numDayWrite = default(int?), int?numDayRead = default(int?), int?_operator = default(int?))
 {
     this.DocumentType = documentType;
     this.NumDayWrite  = numDayWrite;
     this.NumDayRead   = numDayRead;
     this.Operator     = _operator;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UniquenessRulesDTO" /> class.
 /// </summary>
 /// <param name="documentType">Document type.</param>
 /// <param name="profilationOption">Possible values:  0: AskToUser  1: ByState .</param>
 /// <param name="runMode">Possible values:  0: UseNewValues  1: KeepOldValuesIfEmpty .</param>
 /// <param name="fields">Fields.</param>
 public UniquenessRulesDTO(DocumentTypeSimpleDTO documentType = default(DocumentTypeSimpleDTO), int?profilationOption = default(int?), int?runMode = default(int?), List <FieldManagementForUniquenessRulesDTO> fields = default(List <FieldManagementForUniquenessRulesDTO>))
 {
     this.DocumentType      = documentType;
     this.ProfilationOption = profilationOption;
     this.RunMode           = runMode;
     this.Fields            = fields;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="FieldManagementForUniquenessRulesDTO" /> class.
 /// </summary>
 /// <param name="documentType">Document type from which field is inherited.</param>
 /// <param name="name">Name.</param>
 /// <param name="description">Label.</param>
 /// <param name="table">Possible values:  0: Empty  1: DM_PROFILE  2: DM_PROFILE_MULTIVALUES  3: DM_DATIPROFILO  4: DM_DATI_ENTE  5: _Function_ .</param>
 /// <param name="type">Possible values:  0: Standard  1: Additional  2: Contacts  3: PA  4: BodyData  5: Function .</param>
 public FieldManagementForUniquenessRulesDTO(DocumentTypeSimpleDTO documentType = default(DocumentTypeSimpleDTO), string name = default(string), string description = default(string), int?table = default(int?), int?type = default(int?))
 {
     this.DocumentType = documentType;
     this.Name         = name;
     this.Description  = description;
     this.Table        = table;
     this.Type         = type;
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MailOptionsDTO" /> class.
 /// </summary>
 /// <param name="documentType">Document type.</param>
 /// <param name="addDocRecipients">Add document recipients.</param>
 /// <param name="addDocCCs">Add document CCs.</param>
 /// <param name="subjects">Add document CCs.</param>
 /// <param name="bodys">Add document CCs.</param>
 public MailOptionsDTO(DocumentTypeSimpleDTO documentType = default(DocumentTypeSimpleDTO), bool?addDocRecipients = default(bool?), bool?addDocCCs = default(bool?), List <MailOptionsTranslationsDTO> subjects = default(List <MailOptionsTranslationsDTO>), List <MailOptionsTranslationsDTO> bodys = default(List <MailOptionsTranslationsDTO>))
 {
     this.DocumentType     = documentType;
     this.AddDocRecipients = addDocRecipients;
     this.AddDocCCs        = addDocCCs;
     this.Subjects         = subjects;
     this.Bodys            = bodys;
 }
コード例 #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AdditionalFieldManagementClasseDTO" /> class.
 /// </summary>
 /// <param name="deleteRule">Possible values:  0: Cascade  1: Owned .</param>
 /// <param name="linkedDocumentType">Linked document type.</param>
 /// <param name="maskForInsert">Mask for insert.</param>
 /// <param name="maskForView">Mask for view.</param>
 /// <param name="showExpanded">Show expanded.</param>
 /// <param name="singleElement">Single element.</param>
 public AdditionalFieldManagementClasseDTO(int?deleteRule = default(int?), DocumentTypeSimpleDTO linkedDocumentType = default(DocumentTypeSimpleDTO), MaskSimpleDTO maskForInsert = default(MaskSimpleDTO), MaskSimpleDTO maskForView = default(MaskSimpleDTO), bool?showExpanded = default(bool?), bool?singleElement = default(bool?), string className = "AdditionalFieldManagementClasseDTO", string key = default(string), string description = default(string), FieldGroupSimpleDTO fieldGroup = default(FieldGroupSimpleDTO), DocumentTypeSimpleDTO documentType = default(DocumentTypeSimpleDTO), string referenceId = default(string), int?order = default(int?), bool?required = default(bool?), bool?visible = default(bool?), string externalId = default(string), string formula = default(string), List <AdditionalFieldManagementTranslationDTO> translations = default(List <AdditionalFieldManagementTranslationDTO>)) : base(className, key, description, fieldGroup, documentType, referenceId, order, required, visible, externalId, formula, translations)
 {
     this.DeleteRule         = deleteRule;
     this.LinkedDocumentType = linkedDocumentType;
     this.MaskForInsert      = maskForInsert;
     this.MaskForView        = maskForView;
     this.ShowExpanded       = showExpanded;
     this.SingleElement      = singleElement;
 }
コード例 #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReceiptPADTO" /> class.
 /// </summary>
 /// <param name="id">Identifier.</param>
 /// <param name="template">Template file.</param>
 /// <param name="documentType">Document Type.</param>
 public ReceiptPADTO(int?id = default(int?), string template = default(string), DocumentTypeSimpleDTO documentType = default(DocumentTypeSimpleDTO))
 {
     this.Id           = id;
     this.Template     = template;
     this.DocumentType = documentType;
 }
コード例 #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UsersMasksDTO" /> class.
 /// </summary>
 /// <param name="documentType">Document type.</param>
 /// <param name="defaultMask">Default document Type Mask.</param>
 /// <param name="usersMasks">Users masks.</param>
 public UsersMasksDTO(DocumentTypeSimpleDTO documentType = default(DocumentTypeSimpleDTO), MaskSimpleDTO defaultMask = default(MaskSimpleDTO), List <UserMaskDTO> usersMasks = default(List <UserMaskDTO>))
 {
     this.DocumentType = documentType;
     this.DefaultMask  = defaultMask;
     this.UsersMasks   = usersMasks;
 }
コード例 #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ArchiveOptionsForViewDTO" /> class.
 /// </summary>
 /// <param name="inheritedOptions">Inherited options by parent document type if present they exist.</param>
 /// <param name="documentType">Document type.</param>
 /// <param name="numDayWrite">Days without writing before moving.</param>
 /// <param name="numDayRead">Days without reading before moving.</param>
 /// <param name="_operator">Possible values:  0: AND  1: OR .</param>
 public ArchiveOptionsForViewDTO(ArchiveOptionsForViewDTO inheritedOptions = default(ArchiveOptionsForViewDTO), DocumentTypeSimpleDTO documentType = default(DocumentTypeSimpleDTO), int?numDayWrite = default(int?), int?numDayRead = default(int?), int?_operator = default(int?))
 {
     this.InheritedOptions = inheritedOptions;
     this.DocumentType     = documentType;
     this.NumDayWrite      = numDayWrite;
     this.NumDayRead       = numDayRead;
     this.Operator         = _operator;
 }
コード例 #9
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>
 public DocumentTypeStateDTO(DocumentTypeSimpleDTO documentType = default(DocumentTypeSimpleDTO), string stateId = default(string))
 {
     this.DocumentType = documentType;
     this.StateId      = stateId;
 }
コード例 #10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ForwardUsersDTO" /> class.
 /// </summary>
 /// <param name="documentType">Document type.</param>
 /// <param name="forward">Enable e-mail notification on profilation.</param>
 /// <param name="forwardUsers">Forward Users list.</param>
 public ForwardUsersDTO(DocumentTypeSimpleDTO documentType = default(DocumentTypeSimpleDTO), bool?forward = default(bool?), List <ForwardUserDTO> forwardUsers = default(List <ForwardUserDTO>))
 {
     this.DocumentType = documentType;
     this.Forward      = forward;
     this.ForwardUsers = forwardUsers;
 }
コード例 #11
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;
 }
コード例 #12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AdditionalFieldManagementBooleanDTO" /> class.
 /// </summary>
 /// <param name="locked">Locked in read-only.</param>
 /// <param name="validationType">Possible values:  0: None  1: Regex  2: Formula .</param>
 /// <param name="validationString">Validation string formula.</param>
 public AdditionalFieldManagementBooleanDTO(bool?locked = default(bool?), int?validationType = default(int?), string validationString = default(string), string className = "AdditionalFieldManagementBooleanDTO", string key = default(string), string description = default(string), FieldGroupSimpleDTO fieldGroup = default(FieldGroupSimpleDTO), DocumentTypeSimpleDTO documentType = default(DocumentTypeSimpleDTO), string referenceId = default(string), int?order = default(int?), bool?required = default(bool?), bool?visible = default(bool?), string externalId = default(string), string formula = default(string), List <AdditionalFieldManagementTranslationDTO> translations = default(List <AdditionalFieldManagementTranslationDTO>)) : base(className, key, description, fieldGroup, documentType, referenceId, order, required, visible, externalId, formula, translations)
 {
     this.Locked           = locked;
     this.ValidationType   = validationType;
     this.ValidationString = validationString;
 }
コード例 #13
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;
 }
コード例 #14
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AdditionalFieldManagementBaseDTO" /> class.
 /// </summary>
 /// <param name="className">Name of class (required).</param>
 /// <param name="key">Field key.</param>
 /// <param name="description">Field description.</param>
 /// <param name="fieldGroup">Field group.</param>
 /// <param name="documentType">Document type.</param>
 /// <param name="referenceId">Reference Identifier.</param>
 /// <param name="order">Order.</param>
 /// <param name="required">Required.</param>
 /// <param name="visible">Visible.</param>
 /// <param name="externalId">External Id.</param>
 /// <param name="formula">Formula.</param>
 /// <param name="translations">Field description and errors translations.</param>
 public AdditionalFieldManagementBaseDTO(string className = default(string), string key = default(string), string description = default(string), FieldGroupSimpleDTO fieldGroup = default(FieldGroupSimpleDTO), DocumentTypeSimpleDTO documentType = default(DocumentTypeSimpleDTO), string referenceId = default(string), int?order = default(int?), bool?required = default(bool?), bool?visible = default(bool?), string externalId = default(string), string formula = default(string), List <AdditionalFieldManagementTranslationDTO> translations = default(List <AdditionalFieldManagementTranslationDTO>))
 {
     // to ensure "className" is required (not null)
     if (className == null)
     {
         throw new InvalidDataException("className is a required property for AdditionalFieldManagementBaseDTO and cannot be null");
     }
     else
     {
         this.ClassName = className;
     }
     this.Key          = key;
     this.Description  = description;
     this.FieldGroup   = fieldGroup;
     this.DocumentType = documentType;
     this.ReferenceId  = referenceId;
     this.Order        = order;
     this.Required     = required;
     this.Visible      = visible;
     this.ExternalId   = externalId;
     this.Formula      = formula;
     this.Translations = translations;
 }
コード例 #15
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;
 }
コード例 #16
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AdditionalFieldManagementStringDTO" /> class.
 /// </summary>
 /// <param name="numMaxChar">Maximum number of characters.</param>
 /// <param name="numRows">Maximum number of rows.</param>
 /// <param name="autocomplete">Autocomplete.</param>
 /// <param name="autocompleteCharacter">Autocomplete character.</param>
 /// <param name="autocompleteAlign">Possible values:  0: Left  1: Right  -1: None .</param>
 /// <param name="locked">Field locked (readonly).</param>
 /// <param name="encryption">Enable field value encryption.</param>
 /// <param name="transcoding">Enable field transcoding.</param>
 /// <param name="tableName">Transcoding: Table name.</param>
 /// <param name="codeFieldName">Transcoding: Field name for code.</param>
 /// <param name="descriptionFieldName">Transcoding: Field name for description.</param>
 /// <param name="validationType">Possible values:  0: None  1: Regex  2: Formula .</param>
 /// <param name="validationString">Validation string (formula/regex).</param>
 public AdditionalFieldManagementStringDTO(int?numMaxChar = default(int?), int?numRows = default(int?), bool?autocomplete = default(bool?), string autocompleteCharacter = default(string), int?autocompleteAlign = default(int?), bool?locked = default(bool?), bool?encryption = default(bool?), bool?transcoding = default(bool?), string tableName = default(string), string codeFieldName = default(string), string descriptionFieldName = default(string), int?validationType = default(int?), string validationString = default(string), string className = "AdditionalFieldManagementStringDTO", string key = default(string), string description = default(string), FieldGroupSimpleDTO fieldGroup = default(FieldGroupSimpleDTO), DocumentTypeSimpleDTO documentType = default(DocumentTypeSimpleDTO), string referenceId = default(string), int?order = default(int?), bool?required = default(bool?), bool?visible = default(bool?), string externalId = default(string), string formula = default(string), List <AdditionalFieldManagementTranslationDTO> translations = default(List <AdditionalFieldManagementTranslationDTO>)) : base(className, key, description, fieldGroup, documentType, referenceId, order, required, visible, externalId, formula, translations)
 {
     this.NumMaxChar            = numMaxChar;
     this.NumRows               = numRows;
     this.Autocomplete          = autocomplete;
     this.AutocompleteCharacter = autocompleteCharacter;
     this.AutocompleteAlign     = autocompleteAlign;
     this.Locked               = locked;
     this.Encryption           = encryption;
     this.Transcoding          = transcoding;
     this.TableName            = tableName;
     this.CodeFieldName        = codeFieldName;
     this.DescriptionFieldName = descriptionFieldName;
     this.ValidationType       = validationType;
     this.ValidationString     = validationString;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AdditionalFieldManagementMultivalueDTO" /> class.
 /// </summary>
 /// <param name="dataGroup">Data group.</param>
 /// <param name="numMaxChar">Maximum number of characters.</param>
 /// <param name="limitToList">Possible values​limited to the list.</param>
 /// <param name="autoinsert">Automatic insert.</param>
 /// <param name="autocomplete">Autocomplete.</param>
 /// <param name="autocompleteCharacter">Autocomplete character.</param>
 /// <param name="autocompleteAlign">Possible values:  0: Left  1: Right  -1: None .</param>
 /// <param name="locked">Field locked (readonly).</param>
 public AdditionalFieldManagementMultivalueDTO(DataGroupSimpleDTO dataGroup = default(DataGroupSimpleDTO), int?numMaxChar = default(int?), bool?limitToList = default(bool?), bool?autoinsert = default(bool?), bool?autocomplete = default(bool?), string autocompleteCharacter = default(string), int?autocompleteAlign = default(int?), bool?locked = default(bool?), string className = "AdditionalFieldManagementMultivalueDTO", string key = default(string), string description = default(string), FieldGroupSimpleDTO fieldGroup = default(FieldGroupSimpleDTO), DocumentTypeSimpleDTO documentType = default(DocumentTypeSimpleDTO), string referenceId = default(string), int?order = default(int?), bool?required = default(bool?), bool?visible = default(bool?), string externalId = default(string), string formula = default(string), List <AdditionalFieldManagementTranslationDTO> translations = default(List <AdditionalFieldManagementTranslationDTO>)) : base(className, key, description, fieldGroup, documentType, referenceId, order, required, visible, externalId, formula, translations)
 {
     this.DataGroup             = dataGroup;
     this.NumMaxChar            = numMaxChar;
     this.LimitToList           = limitToList;
     this.Autoinsert            = autoinsert;
     this.Autocomplete          = autocomplete;
     this.AutocompleteCharacter = autocompleteCharacter;
     this.AutocompleteAlign     = autocompleteAlign;
     this.Locked = locked;
 }