/// <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;
 }
Example #3
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;
 }
Example #4
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;
 }
Example #5
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;
 }