Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EditProfileSchemaDTO" /> class.
 /// </summary>
 /// <param name="editOptions">Options.</param>
 /// <param name="profileInfo">Additional data.</param>
 /// <param name="maskId">Mask Identifier.</param>
 /// <param name="maskName">Mask Name.</param>
 /// <param name="predefinedProfileId">Predefined Profile Identifier.</param>
 /// <param name="options">Options.</param>
 /// <param name="behaviour">Behaviour.</param>
 /// <param name="maskType">Possible values:  0: Nothing  1: Barcode  2: Archiviazione .</param>
 /// <param name="id">Identifier.</param>
 /// <param name="document">File data.</param>
 /// <param name="fields">Fields.</param>
 /// <param name="postProfilationActions">Post Profilation Actions.</param>
 /// <param name="constrainRoleBehaviour">Possible values:  0: None  1: ForceInsert  2: State .</param>
 /// <param name="attachments">Attachments.</param>
 /// <param name="notes">Notes.</param>
 /// <param name="paNotes">Public Amministration Notes.</param>
 /// <param name="authorityData">Authority Data.</param>
 /// <param name="generatePaProtocol">Defines if a protocol has been generated.</param>
 public EditProfileSchemaDTO(EditProfileOptionsDTO editOptions = default(EditProfileOptionsDTO), ProfileAdditionalInfoDTO profileInfo = default(ProfileAdditionalInfoDTO), string maskId = default(string), string maskName = default(string), int?predefinedProfileId = default(int?), ProfileMaskOptionsDTO options = default(ProfileMaskOptionsDTO), ProfileMaskBehaviourDTO behaviour = default(ProfileMaskBehaviourDTO), int?maskType = default(int?), int?id = default(int?), FileDTO document = default(FileDTO), List <FieldBaseDTO> fields = default(List <FieldBaseDTO>), List <PostProfilationActionDTO> postProfilationActions = default(List <PostProfilationActionDTO>), int?constrainRoleBehaviour = default(int?), List <string> attachments = default(List <string>), List <NoteDTO> notes = default(List <NoteDTO>), List <string> paNotes = default(List <string>), AuthorityDataDTO authorityData = default(AuthorityDataDTO), bool?generatePaProtocol = default(bool?))
 {
     this.EditOptions         = editOptions;
     this.ProfileInfo         = profileInfo;
     this.MaskId              = maskId;
     this.MaskName            = maskName;
     this.PredefinedProfileId = predefinedProfileId;
     this.Options             = options;
     this.Behaviour           = behaviour;
     this.MaskType            = maskType;
     this.Id       = id;
     this.Document = document;
     this.Fields   = fields;
     this.PostProfilationActions = postProfilationActions;
     this.ConstrainRoleBehaviour = constrainRoleBehaviour;
     this.Attachments            = attachments;
     this.Notes              = notes;
     this.PaNotes            = paNotes;
     this.AuthorityData      = authorityData;
     this.GeneratePaProtocol = generatePaProtocol;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ModelProfileSchemaDTO" /> class.
 /// </summary>
 /// <param name="modelId">Template Identifier.</param>
 /// <param name="modelDescription">Description.</param>
 /// <param name="options">Options.</param>
 /// <param name="behaviour">Behaviour.</param>
 /// <param name="openModelAfterProfilation">Open file after profiling..</param>
 /// <param name="editModelAfterProfilation">Editing file after profiling..</param>
 /// <param name="maskId">Mask Identifier.</param>
 /// <param name="showOption">Possible values:  0: EmptyProfile  1: PredefinedProfile  2: Mask .</param>
 /// <param name="id">Identifier.</param>
 /// <param name="document">File data.</param>
 /// <param name="fields">Fields.</param>
 /// <param name="postProfilationActions">Post Profilation Actions.</param>
 /// <param name="constrainRoleBehaviour">Possible values:  0: None  1: ForceInsert  2: State .</param>
 /// <param name="attachments">Attachments.</param>
 /// <param name="notes">Notes.</param>
 /// <param name="paNotes">Public Amministration Notes.</param>
 /// <param name="authorityData">Authority Data.</param>
 /// <param name="generatePaProtocol">Defines if a protocol has been generated.</param>
 public ModelProfileSchemaDTO(int?modelId = default(int?), string modelDescription = default(string), ProfileMaskOptionsDTO options = default(ProfileMaskOptionsDTO), ProfileMaskBehaviourDTO behaviour = default(ProfileMaskBehaviourDTO), bool?openModelAfterProfilation = default(bool?), bool?editModelAfterProfilation = default(bool?), string maskId = default(string), int?showOption = default(int?), int?id = default(int?), FileDTO document = default(FileDTO), List <FieldBaseDTO> fields = default(List <FieldBaseDTO>), List <PostProfilationActionDTO> postProfilationActions = default(List <PostProfilationActionDTO>), int?constrainRoleBehaviour = default(int?), List <string> attachments = default(List <string>), List <NoteDTO> notes = default(List <NoteDTO>), List <string> paNotes = default(List <string>), AuthorityDataDTO authorityData = default(AuthorityDataDTO), bool?generatePaProtocol = default(bool?))
 {
     this.ModelId                   = modelId;
     this.ModelDescription          = modelDescription;
     this.Options                   = options;
     this.Behaviour                 = behaviour;
     this.OpenModelAfterProfilation = openModelAfterProfilation;
     this.EditModelAfterProfilation = editModelAfterProfilation;
     this.MaskId                 = maskId;
     this.ShowOption             = showOption;
     this.Id                     = id;
     this.Document               = document;
     this.Fields                 = fields;
     this.PostProfilationActions = postProfilationActions;
     this.ConstrainRoleBehaviour = constrainRoleBehaviour;
     this.Attachments            = attachments;
     this.Notes                  = notes;
     this.PaNotes                = paNotes;
     this.AuthorityData          = authorityData;
     this.GeneratePaProtocol     = generatePaProtocol;
 }