diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SolutionResourceCollection.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SolutionResourceCollection.cs
index f7e10e8329630..8d1b6db1070be 100644
--- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SolutionResourceCollection.cs
+++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SolutionResourceCollection.cs
@@ -49,7 +49,7 @@ public async Task CreateOrUpdate_SolutionCreate()
{
new TriggerCriterion()
{
-Name = Name.SolutionId,
+Name = SelfHelpName.SolutionId,
Value = "SolutionId1",
}
},
diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/ArmSelfHelpModelFactory.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/ArmSelfHelpModelFactory.cs
index 5090caaa89963..026ffe4413919 100644
--- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/ArmSelfHelpModelFactory.cs
+++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/ArmSelfHelpModelFactory.cs
@@ -145,7 +145,7 @@ public static TroubleshooterResourceData TroubleshooterResourceData(ResourceIden
///
/// The error detail.
/// A new instance for mocking.
- public static Step Step(string id = null, string title = null, string description = null, string guidance = null, ExecutionStatus? executionStatus = null, string executionStatusDescription = null, Type? stepType = null, bool? isLastStep = null, IEnumerable inputs = null, AutomatedCheckResult automatedCheckResults = null, IEnumerable insights = null, ResponseError error = null)
+ public static Step Step(string id = null, string title = null, string description = null, string guidance = null, ExecutionStatus? executionStatus = null, string executionStatusDescription = null, SelfHelpType? stepType = null, bool? isLastStep = null, IEnumerable inputs = null, AutomatedCheckResult automatedCheckResults = null, IEnumerable insights = null, ResponseError error = null)
{
inputs ??= new List();
insights ??= new List();
diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/Confidence.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/Confidence.cs
deleted file mode 100644
index 2be749b95d77b..0000000000000
--- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/Confidence.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.ComponentModel;
-
-namespace Azure.ResourceManager.SelfHelp.Models
-{
- /// Confidence of the search result.
- public readonly partial struct Confidence : IEquatable
- {
- private readonly string _value;
-
- /// Initializes a new instance of .
- /// is null.
- public Confidence(string value)
- {
- _value = value ?? throw new ArgumentNullException(nameof(value));
- }
-
- private const string LowValue = "Low";
- private const string MediumValue = "Medium";
- private const string HighValue = "High";
-
- /// Low.
- public static Confidence Low { get; } = new Confidence(LowValue);
- /// Medium.
- public static Confidence Medium { get; } = new Confidence(MediumValue);
- /// High.
- public static Confidence High { get; } = new Confidence(HighValue);
- /// Determines if two values are the same.
- public static bool operator ==(Confidence left, Confidence right) => left.Equals(right);
- /// Determines if two values are not the same.
- public static bool operator !=(Confidence left, Confidence right) => !left.Equals(right);
- /// Converts a string to a .
- public static implicit operator Confidence(string value) => new Confidence(value);
-
- ///
- [EditorBrowsable(EditorBrowsableState.Never)]
- public override bool Equals(object obj) => obj is Confidence other && Equals(other);
- ///
- public bool Equals(Confidence other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase);
-
- ///
- [EditorBrowsable(EditorBrowsableState.Never)]
- public override int GetHashCode() => _value?.GetHashCode() ?? 0;
- ///
- public override string ToString() => _value;
- }
-}
diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/MetricsBasedChart.Serialization.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/MetricsBasedChart.Serialization.cs
index 3ae41aa753842..788576a64710f 100644
--- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/MetricsBasedChart.Serialization.cs
+++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/MetricsBasedChart.Serialization.cs
@@ -59,7 +59,7 @@ internal static MetricsBasedChart DeserializeMetricsBasedChart(JsonElement eleme
Optional aggregationType = default;
Optional timeSpanDuration = default;
Optional title = default;
- Optional filterGroup = default;
+ Optional filterGroup = default;
Optional replacementKey = default;
foreach (var property in element.EnumerateObject())
{
@@ -97,7 +97,7 @@ internal static MetricsBasedChart DeserializeMetricsBasedChart(JsonElement eleme
{
continue;
}
- filterGroup = FilterGroup.DeserializeFilterGroup(property.Value);
+ filterGroup = SelfHelpFilterGroup.DeserializeSelfHelpFilterGroup(property.Value);
continue;
}
if (property.NameEquals("replacementKey"u8))
diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/MetricsBasedChart.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/MetricsBasedChart.cs
index 182ffd2e7d254..076a8ed8db098 100644
--- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/MetricsBasedChart.cs
+++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/MetricsBasedChart.cs
@@ -25,7 +25,7 @@ public MetricsBasedChart()
/// Chart title.
/// Filter group.
/// Place holder used in HTML Content replace control with the content.
- internal MetricsBasedChart(string name, AggregationType? aggregationType, TimeSpan? timeSpanDuration, string title, FilterGroup filterGroup, string replacementKey)
+ internal MetricsBasedChart(string name, AggregationType? aggregationType, TimeSpan? timeSpanDuration, string title, SelfHelpFilterGroup filterGroup, string replacementKey)
{
Name = name;
AggregationType = aggregationType;
@@ -44,14 +44,14 @@ internal MetricsBasedChart(string name, AggregationType? aggregationType, TimeSp
/// Chart title.
public string Title { get; set; }
/// Filter group.
- internal FilterGroup FilterGroup { get; set; }
+ internal SelfHelpFilterGroup FilterGroup { get; set; }
/// List of filters.
- public IList Filter
+ public IList Filter
{
get
{
if (FilterGroup is null)
- FilterGroup = new FilterGroup();
+ FilterGroup = new SelfHelpFilterGroup();
return FilterGroup.Filter;
}
}
diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/Name.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/Name.cs
deleted file mode 100644
index 0c1ba8048c652..0000000000000
--- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/Name.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.ComponentModel;
-
-namespace Azure.ResourceManager.SelfHelp.Models
-{
- /// Trigger criterion name.
- public readonly partial struct Name : IEquatable
- {
- private readonly string _value;
-
- /// Initializes a new instance of .
- /// is null.
- public Name(string value)
- {
- _value = value ?? throw new ArgumentNullException(nameof(value));
- }
-
- private const string SolutionIdValue = "SolutionId";
- private const string ProblemClassificationIdValue = "ProblemClassificationId";
- private const string ReplacementKeyValue = "ReplacementKey";
-
- /// SolutionId.
- public static Name SolutionId { get; } = new Name(SolutionIdValue);
- /// ProblemClassificationId.
- public static Name ProblemClassificationId { get; } = new Name(ProblemClassificationIdValue);
- /// ReplacementKey.
- public static Name ReplacementKey { get; } = new Name(ReplacementKeyValue);
- /// Determines if two values are the same.
- public static bool operator ==(Name left, Name right) => left.Equals(right);
- /// Determines if two values are not the same.
- public static bool operator !=(Name left, Name right) => !left.Equals(right);
- /// Converts a string to a .
- public static implicit operator Name(string value) => new Name(value);
-
- ///
- [EditorBrowsable(EditorBrowsableState.Never)]
- public override bool Equals(object obj) => obj is Name other && Equals(other);
- ///
- public bool Equals(Name other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase);
-
- ///
- [EditorBrowsable(EditorBrowsableState.Never)]
- public override int GetHashCode() => _value?.GetHashCode() ?? 0;
- ///
- public override string ToString() => _value;
- }
-}
diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/ReplacementMaps.Serialization.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/ReplacementMaps.Serialization.cs
index 40fa5284c77ed..302cd665ebe61 100644
--- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/ReplacementMaps.Serialization.cs
+++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/ReplacementMaps.Serialization.cs
@@ -89,8 +89,8 @@ internal static ReplacementMaps DeserializeReplacementMaps(JsonElement element)
Optional> diagnostics = default;
Optional> troubleshooters = default;
Optional> metricsBasedCharts = default;
- Optional> videos = default;
- Optional> videoGroups = default;
+ Optional> videos = default;
+ Optional> videoGroups = default;
foreach (var property in element.EnumerateObject())
{
if (property.NameEquals("webResults"u8))
@@ -155,10 +155,10 @@ internal static ReplacementMaps DeserializeReplacementMaps(JsonElement element)
{
continue;
}
- List