internal WholeMetricConfigurationPatch GetPatchModel() => new WholeMetricConfigurationPatch() { ConditionOperator = CrossConditionsOperator, SmartDetectionCondition = SmartDetectionCondition?.GetPatchModel(), HardThresholdCondition = HardThresholdCondition?.GetPatchModel(), ChangeThresholdCondition = ChangeThresholdCondition?.GetPatchModel() };
internal MetricSingleSeriesDetectionCondition(DetectionConditionsOperator?crossConditionsOperator, SmartDetectionCondition smartDetectionCondition, HardThresholdCondition hardThresholdCondition, ChangeThresholdCondition changeThresholdCondition, SeriesIdentity series) : base(crossConditionsOperator, smartDetectionCondition, hardThresholdCondition, changeThresholdCondition) { SeriesKey = new DimensionKey(series.Dimension); }
internal MetricSeriesGroupDetectionCondition(DetectionConditionsOperator?crossConditionsOperator, SmartDetectionCondition smartDetectionCondition, HardThresholdCondition hardThresholdCondition, ChangeThresholdCondition changeThresholdCondition, DimensionKey seriesGroupKey) : base(crossConditionsOperator, smartDetectionCondition, hardThresholdCondition, changeThresholdCondition) { SeriesGroupKey = seriesGroupKey; }