/// <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; }
/// <summary> /// Initializes a new instance of the <see cref="ChannelColumn" /> class. /// </summary> /// <param name="ChannelColumnId">ChannelColumnId (required).</param> /// <param name="ChannelColumnName">ChannelColumnName (required).</param> /// <param name="ChannelColumnDescription">ChannelColumnDescription.</param> /// <param name="ShowInMapping">ShowInMapping (required).</param> /// <param name="Position">The position of the column starting from 1 (required).</param> /// <param name="Configuration">Configuration (required).</param> /// <param name="RestrictedValues">RestrictedValues.</param> public ChannelColumn(BeezUPCommonChannelColumnId ChannelColumnId = default(BeezUPCommonChannelColumnId), BeezUPCommonChannelColumnName ChannelColumnName = default(BeezUPCommonChannelColumnName), ChannelColumnDescription ChannelColumnDescription = default(ChannelColumnDescription), ChannelColumnShowInMapping ShowInMapping = default(ChannelColumnShowInMapping), int?Position = default(int?), ChannelColumnConfiguration Configuration = default(ChannelColumnConfiguration), ChannelColumnRestrictedValues RestrictedValues = default(ChannelColumnRestrictedValues)) { // to ensure "ChannelColumnId" is required (not null) if (ChannelColumnId == null) { throw new InvalidDataException("ChannelColumnId is a required property for ChannelColumn and cannot be null"); } else { this.ChannelColumnId = ChannelColumnId; } // to ensure "ChannelColumnName" is required (not null) if (ChannelColumnName == null) { throw new InvalidDataException("ChannelColumnName is a required property for ChannelColumn and cannot be null"); } else { this.ChannelColumnName = ChannelColumnName; } // to ensure "ShowInMapping" is required (not null) if (ShowInMapping == null) { throw new InvalidDataException("ShowInMapping is a required property for ChannelColumn and cannot be null"); } else { this.ShowInMapping = ShowInMapping; } // to ensure "Position" is required (not null) if (Position == null) { throw new InvalidDataException("Position is a required property for ChannelColumn and cannot be null"); } else { this.Position = Position; } // to ensure "Configuration" is required (not null) if (Configuration == null) { throw new InvalidDataException("Configuration is a required property for ChannelColumn and cannot be null"); } else { this.Configuration = Configuration; } this.ChannelColumnDescription = ChannelColumnDescription; this.RestrictedValues = RestrictedValues; }
/// <summary> /// Initializes a new instance of the <see cref="ExclusionFilter" /> class. /// </summary> /// <param name="Name">Name (required).</param> /// <param name="Position">The position of the exclusion filter (required).</param> /// <param name="GroupId">Indicate the filter's group. All filters in the same group means an \"AND\" operation in the filter group (required).</param> /// <param name="PositionInGroup">Indicate the filter group position. This information is used for the UI purpose and must be unique in the filter group. (required).</param> /// <param name="ChannelColumnId">ChannelColumnId (required).</param> /// <param name="OperatorName">OperatorName (required).</param> /// <param name="Value">The value indicate by the user when the filter operation requires it..</param> /// <param name="Enabled">indicates if the filter is currently active. (required).</param> public ExclusionFilter(ExclusionFilterName Name = default(ExclusionFilterName), int?Position = default(int?), string GroupId = default(string), int?PositionInGroup = default(int?), BeezUPCommonChannelColumnId ChannelColumnId = default(BeezUPCommonChannelColumnId), ExclusionFilterOperatorName OperatorName = default(ExclusionFilterOperatorName), string Value = default(string), bool?Enabled = default(bool?)) { // to ensure "Name" is required (not null) if (Name == null) { throw new InvalidDataException("Name is a required property for ExclusionFilter and cannot be null"); } else { this.Name = Name; } // to ensure "Position" is required (not null) if (Position == null) { throw new InvalidDataException("Position is a required property for ExclusionFilter and cannot be null"); } else { this.Position = Position; } // to ensure "GroupId" is required (not null) if (GroupId == null) { throw new InvalidDataException("GroupId is a required property for ExclusionFilter and cannot be null"); } else { this.GroupId = GroupId; } // to ensure "PositionInGroup" is required (not null) if (PositionInGroup == null) { throw new InvalidDataException("PositionInGroup is a required property for ExclusionFilter and cannot be null"); } else { this.PositionInGroup = PositionInGroup; } // to ensure "ChannelColumnId" is required (not null) if (ChannelColumnId == null) { throw new InvalidDataException("ChannelColumnId is a required property for ExclusionFilter and cannot be null"); } else { this.ChannelColumnId = ChannelColumnId; } // to ensure "OperatorName" is required (not null) if (OperatorName == null) { throw new InvalidDataException("OperatorName is a required property for ExclusionFilter and cannot be null"); } else { this.OperatorName = OperatorName; } // to ensure "Enabled" is required (not null) if (Enabled == null) { throw new InvalidDataException("Enabled is a required property for ExclusionFilter and cannot be null"); } else { this.Enabled = Enabled; } this.Value = Value; }
/// <summary> /// Initializes a new instance of the <see cref="ColumnMapping" /> class. /// </summary> /// <param name="ChannelColumnId">ChannelColumnId.</param> /// <param name="ChannelCategoryPath">ChannelCategoryPath.</param> /// <param name="CatalogColumnId">CatalogColumnId.</param> public ColumnMapping(BeezUPCommonChannelColumnId ChannelColumnId = default(BeezUPCommonChannelColumnId), BeezUPCommonChannelCategoryPath ChannelCategoryPath = default(BeezUPCommonChannelCategoryPath), BeezUPCommonCatalogColumnId CatalogColumnId = default(BeezUPCommonCatalogColumnId)) { this.ChannelColumnId = ChannelColumnId; this.ChannelCategoryPath = ChannelCategoryPath; this.CatalogColumnId = CatalogColumnId; }