/// <summary>
 /// Initializes a new instance of the <see cref="ColumnConfiguration" /> class.
 /// </summary>
 /// <param name="BeezUPColumnName">BeezUPColumnName.</param>
 /// <param name="ColumnImportance">ColumnImportance (required).</param>
 /// <param name="ColumnDataType">ColumnDataType (required).</param>
 /// <param name="ColumnCultureName">ColumnCultureName.</param>
 /// <param name="ColumnFormat">ColumnFormat.</param>
 /// <param name="CanBeTruncated">CanBeTruncated.</param>
 /// <param name="DisplayGroupName">DisplayGroupName.</param>
 public ColumnConfiguration(BeezUPCommonBeezUPColumnName BeezUPColumnName = default(BeezUPCommonBeezUPColumnName), BeezUPCommonColumnImportance ColumnImportance = default(BeezUPCommonColumnImportance), BeezUPCommonColumnDataType ColumnDataType = default(BeezUPCommonColumnDataType), ColumnCultureName ColumnCultureName = default(ColumnCultureName), ColumnFormat ColumnFormat = default(ColumnFormat), CanBeTruncated CanBeTruncated = default(CanBeTruncated), DisplayGroupName DisplayGroupName = default(DisplayGroupName))
 {
     // to ensure "ColumnImportance" is required (not null)
     if (ColumnImportance == null)
     {
         throw new InvalidDataException("ColumnImportance is a required property for ColumnConfiguration and cannot be null");
     }
     else
     {
         this.ColumnImportance = ColumnImportance;
     }
     // to ensure "ColumnDataType" is required (not null)
     if (ColumnDataType == null)
     {
         throw new InvalidDataException("ColumnDataType is a required property for ColumnConfiguration and cannot be null");
     }
     else
     {
         this.ColumnDataType = ColumnDataType;
     }
     this.BeezUPColumnName = BeezUPColumnName;
     this.ColumnCultureName = ColumnCultureName;
     this.ColumnFormat = ColumnFormat;
     this.CanBeTruncated = CanBeTruncated;
     this.DisplayGroupName = DisplayGroupName;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MapBeezUPColumnRequest" /> class.
 /// </summary>
 /// <param name="BeezUPColumnName">BeezUPColumnName (required).</param>
 public MapBeezUPColumnRequest(BeezUPCommonBeezUPColumnName BeezUPColumnName = default(BeezUPCommonBeezUPColumnName))
 {
     // to ensure "BeezUPColumnName" is required (not null)
     if (BeezUPColumnName == null)
     {
         throw new InvalidDataException("BeezUPColumnName is a required property for MapBeezUPColumnRequest and cannot be null");
     }
     else
     {
         this.BeezUPColumnName = BeezUPColumnName;
     }
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BeezUPColumnConfiguration" /> class.
 /// </summary>
 /// <param name="BeezUPColumnName">BeezUPColumnName (required).</param>
 /// <param name="Unique">/!\\ ONLY AVAILABLE ON CATALOG COLUMN NOT ON CUSTOM COLUMNS!!  If true, an error happen at the second occurence of the same value for this column  This information will be used during the importation process and later for mapping proposal (default to false).</param>
 /// <param name="ColumnImportance">ColumnImportance (required).</param>
 /// <param name="ColumnDataType">ColumnDataType.</param>
 /// <param name="CanBeTruncated">CanBeTruncated.</param>
 /// <param name="DisplayGroupName">DisplayGroupName (required).</param>
 /// <param name="Description">Describe the BeezUP column.</param>
 public BeezUPColumnConfiguration(BeezUPCommonBeezUPColumnName BeezUPColumnName = default(BeezUPCommonBeezUPColumnName), bool?Unique = false, BeezUPCommonColumnImportance ColumnImportance = default(BeezUPCommonColumnImportance), BeezUPCommonColumnDataType ColumnDataType = default(BeezUPCommonColumnDataType), CanBeTruncated CanBeTruncated = default(CanBeTruncated), DisplayGroupName DisplayGroupName = default(DisplayGroupName), string Description = default(string))
 {
     // to ensure "BeezUPColumnName" is required (not null)
     if (BeezUPColumnName == null)
     {
         throw new InvalidDataException("BeezUPColumnName is a required property for BeezUPColumnConfiguration and cannot be null");
     }
     else
     {
         this.BeezUPColumnName = BeezUPColumnName;
     }
     // to ensure "ColumnImportance" is required (not null)
     if (ColumnImportance == null)
     {
         throw new InvalidDataException("ColumnImportance is a required property for BeezUPColumnConfiguration and cannot be null");
     }
     else
     {
         this.ColumnImportance = ColumnImportance;
     }
     // to ensure "DisplayGroupName" is required (not null)
     if (DisplayGroupName == null)
     {
         throw new InvalidDataException("DisplayGroupName is a required property for BeezUPColumnConfiguration and cannot be null");
     }
     else
     {
         this.DisplayGroupName = DisplayGroupName;
     }
     // use default value if no "Unique" provided
     if (Unique == null)
     {
         this.Unique = false;
     }
     else
     {
         this.Unique = Unique;
     }
     this.ColumnDataType = ColumnDataType;
     this.CanBeTruncated = CanBeTruncated;
     this.Description    = Description;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ChannelColumnConfiguration" /> class.
 /// </summary>
 /// <param name="ColumnImportance">ColumnImportance (required).</param>
 /// <param name="ColumnDataType">ColumnDataType (required).</param>
 /// <param name="BeezUPColumnName">BeezUPColumnName.</param>
 public ChannelColumnConfiguration(BeezUPCommonColumnImportance ColumnImportance = default(BeezUPCommonColumnImportance), BeezUPCommonColumnDataType ColumnDataType = default(BeezUPCommonColumnDataType), BeezUPCommonBeezUPColumnName BeezUPColumnName = default(BeezUPCommonBeezUPColumnName))
 {
     // to ensure "ColumnImportance" is required (not null)
     if (ColumnImportance == null)
     {
         throw new InvalidDataException("ColumnImportance is a required property for ChannelColumnConfiguration and cannot be null");
     }
     else
     {
         this.ColumnImportance = ColumnImportance;
     }
     // to ensure "ColumnDataType" is required (not null)
     if (ColumnDataType == null)
     {
         throw new InvalidDataException("ColumnDataType is a required property for ChannelColumnConfiguration and cannot be null");
     }
     else
     {
         this.ColumnDataType = ColumnDataType;
     }
     this.BeezUPColumnName = BeezUPColumnName;
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ColumnMappingWithName" /> class.
 /// </summary>
 /// <param name="ChannelColumnId">ChannelColumnId.</param>
 /// <param name="ChannelCategoryPath">ChannelCategoryPath.</param>
 /// <param name="CatalogColumnId">CatalogColumnId.</param>
 /// <param name="ChannelColumnName">ChannelColumnName.</param>
 /// <param name="ChannelBeezUPColumnName">ChannelBeezUPColumnName.</param>
 /// <param name="CatalogColumnName">CatalogColumnName.</param>
 /// <param name="CatalogBeezUPColumnName">CatalogBeezUPColumnName.</param>
 public ColumnMappingWithName(BeezUPCommonChannelColumnId ChannelColumnId = default(BeezUPCommonChannelColumnId), BeezUPCommonChannelCategoryPath ChannelCategoryPath = default(BeezUPCommonChannelCategoryPath), BeezUPCommonCatalogColumnId CatalogColumnId = default(BeezUPCommonCatalogColumnId), BeezUPCommonChannelColumnName ChannelColumnName = default(BeezUPCommonChannelColumnName), BeezUPCommonBeezUPColumnName ChannelBeezUPColumnName = default(BeezUPCommonBeezUPColumnName), BeezUPCommonCatalogColumnUserName CatalogColumnName = default(BeezUPCommonCatalogColumnUserName), BeezUPCommonBeezUPColumnName CatalogBeezUPColumnName = default(BeezUPCommonBeezUPColumnName))
 {
     this.ChannelColumnId         = ChannelColumnId;
     this.ChannelCategoryPath     = ChannelCategoryPath;
     this.CatalogColumnId         = CatalogColumnId;
     this.ChannelColumnName       = ChannelColumnName;
     this.ChannelBeezUPColumnName = ChannelBeezUPColumnName;
     this.CatalogColumnName       = CatalogColumnName;
     this.CatalogBeezUPColumnName = CatalogBeezUPColumnName;
 }