Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ModelConfigurationDTO" /> class.
 /// </summary>
 /// <param name="predefinedProfile">Predefined profile for model.</param>
 /// <param name="mask">Predefined Profile.</param>
 /// <param name="showOption">Possible values:  0: EmptyProfile  1: PredefinedProfile  2: Mask .</param>
 /// <param name="documentCacheId">File in cache for template.</param>
 /// <param name="previewDocumentCacheId">File in cache for preview template.</param>
 /// <param name="fieldsModule">Fields.</param>
 /// <param name="id">Identifier.</param>
 /// <param name="description">Description.</param>
 /// <param name="user">Author.</param>
 /// <param name="userDescription">Author&#39;s model name.</param>
 /// <param name="type">Possible values:  1: Public  2: Private .</param>
 /// <param name="fileName">Original File Name.</param>
 /// <param name="lockModality">Possible values:  0: Unblocked  1: Blocked .</param>
 /// <param name="predefinedProfileId">Predefined Profile Identifier.</param>
 /// <param name="groupId">Group Identifier.</param>
 /// <param name="groupName">Model&#39;s group name.</param>
 /// <param name="extension">Extensione File.</param>
 /// <param name="openAfterProfilation">Open File After to Profiliing.</param>
 /// <param name="maskId">Mask Identifier.</param>
 /// <param name="previewFileName">File Name of the original preview file.</param>
 public ModelConfigurationDTO(PredefinedProfileDTO predefinedProfile = default(PredefinedProfileDTO), MaskDTO mask = default(MaskDTO), int?showOption = default(int?), string documentCacheId = default(string), string previewDocumentCacheId = default(string), List <FieldsModuleDTO> fieldsModule = default(List <FieldsModuleDTO>), int?id = default(int?), string description = default(string), int?user = default(int?), string userDescription = default(string), int?type = default(int?), string fileName = default(string), int?lockModality = default(int?), int?predefinedProfileId = default(int?), int?groupId = default(int?), string groupName = default(string), string extension = default(string), bool?openAfterProfilation = default(bool?), string maskId = default(string), string previewFileName = default(string))
 {
     this.PredefinedProfile = predefinedProfile;
     this.Mask                   = mask;
     this.ShowOption             = showOption;
     this.DocumentCacheId        = documentCacheId;
     this.PreviewDocumentCacheId = previewDocumentCacheId;
     this.FieldsModule           = fieldsModule;
     this.Id                   = id;
     this.Description          = description;
     this.User                 = user;
     this.UserDescription      = userDescription;
     this.Type                 = type;
     this.FileName             = fileName;
     this.LockModality         = lockModality;
     this.PredefinedProfileId  = predefinedProfileId;
     this.GroupId              = groupId;
     this.GroupName            = groupName;
     this.Extension            = extension;
     this.OpenAfterProfilation = openAfterProfilation;
     this.MaskId               = maskId;
     this.PreviewFileName      = previewFileName;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MaskDTO" /> class.
 /// </summary>
 /// <param name="id">Identifier.</param>
 /// <param name="maskName">Name.</param>
 /// <param name="maskDescription">Description.</param>
 /// <param name="predefinedProfileId">Predefined Profile Identifier.</param>
 /// <param name="user">Author Identifier.</param>
 /// <param name="externalId">External Identifier.</param>
 /// <param name="isRoot">Root.</param>
 /// <param name="type">Possible values:  0: Nothing  1: Barcode  2: Archiviazione .</param>
 /// <param name="paMode">Possible values:  0: None  1: OnlyNever  2: OnlyOptionally  3: NeverOrOptionally  4: OnlyAlways  5: AlwaysOrNever  6: AlwaysOrOptionally  7: All .</param>
 /// <param name="showAdditional">Show Additional.</param>
 /// <param name="kind">Possible values:  0: UserMask  1: SystemMask .</param>
 /// <param name="showGroups">Show Groups.</param>
 /// <param name="userCompleteName">Author Complete Name.</param>
 /// <param name="predefinedProfile">Predefined Profile associated with the mask.</param>
 /// <param name="maskDetails">Details.</param>
 /// <param name="maskClassOptions">Options on document type.</param>
 /// <param name="useAdvancedTool">This option indicates if the mask use new features for ARXivar Next Portal.</param>
 public MaskDTO(string id = default(string), string maskName = default(string), string maskDescription = default(string), int?predefinedProfileId = default(int?), int?user = default(int?), string externalId = default(string), bool?isRoot = default(bool?), int?type = default(int?), int?paMode = default(int?), bool?showAdditional = default(bool?), int?kind = default(int?), bool?showGroups = default(bool?), string userCompleteName = default(string), PredefinedProfileDTO predefinedProfile = default(PredefinedProfileDTO), List <MaskDetailDTO> maskDetails = default(List <MaskDetailDTO>), List <MaskClassOptionsDTO> maskClassOptions = default(List <MaskClassOptionsDTO>), bool?useAdvancedTool = default(bool?))
 {
     this.Id                  = id;
     this.MaskName            = maskName;
     this.MaskDescription     = maskDescription;
     this.PredefinedProfileId = predefinedProfileId;
     this.User                = user;
     this.ExternalId          = externalId;
     this.IsRoot              = isRoot;
     this.Type                = type;
     this.PaMode              = paMode;
     this.ShowAdditional      = showAdditional;
     this.Kind                = kind;
     this.ShowGroups          = showGroups;
     this.UserCompleteName    = userCompleteName;
     this.PredefinedProfile   = predefinedProfile;
     this.MaskDetails         = maskDetails;
     this.MaskClassOptions    = maskClassOptions;
     this.UseAdvancedTool     = useAdvancedTool;
 }