diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/Enum0.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/Enum0.cs index e41416a9..fd2d55f4 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/Enum0.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/Enum0.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System; using System.ComponentModel; @@ -9,7 +11,7 @@ namespace AppConfiguration.Models /// MISSING·SCHEMA-DESCRIPTION-CHOICE. public readonly partial struct Enum0 : IEquatable { - private readonly string? _value; + private readonly string _value; /// Determines if two values are the same. public Enum0(string value) @@ -51,7 +53,7 @@ namespace AppConfiguration.Models /// [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is Enum0 other && Equals(other); + public override bool Equals(object obj) => obj is Enum0 other && Equals(other); /// public bool Equals(Enum0 other) => string.Equals(_value, other._value, StringComparison.Ordinal); @@ -59,6 +61,6 @@ namespace AppConfiguration.Models [EditorBrowsable(EditorBrowsableState.Never)] public override int GetHashCode() => _value?.GetHashCode() ?? 0; /// - public override string? ToString() => _value; + public override string ToString() => _value; } } diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/Error.Serialization.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/Error.Serialization.cs index 43978358..b5d931ee 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/Error.Serialization.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/Error.Serialization.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System.Text.Json; using Azure.Core; diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/Error.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/Error.cs index a7f34ead..a7dcbd53 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/Error.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/Error.cs @@ -1,19 +1,21 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + namespace AppConfiguration.Models { /// Azure App Configuration error object. public partial class Error { /// The type of the error. - public string? Type { get; set; } + public string Type { get; set; } /// A brief summary of the error. - public string? Title { get; set; } + public string Title { get; set; } /// The name of the parameter that resulted in the error. - public string? Name { get; set; } + public string Name { get; set; } /// A detailed description of the error. - public string? Detail { get; set; } + public string Detail { get; set; } /// The HTTP status code that the error maps to. public int? Status { get; set; } } diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/Get6ItemsItem.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/Get6ItemsItem.cs index 8591b8a2..9b82e1a4 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/Get6ItemsItem.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/Get6ItemsItem.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System; using System.ComponentModel; @@ -9,7 +11,7 @@ namespace AppConfiguration.Models /// MISSING·SCHEMA-DESCRIPTION-CHOICE. public readonly partial struct Get6ItemsItem : IEquatable { - private readonly string? _value; + private readonly string _value; /// Determines if two values are the same. public Get6ItemsItem(string value) @@ -51,7 +53,7 @@ namespace AppConfiguration.Models /// [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is Get6ItemsItem other && Equals(other); + public override bool Equals(object obj) => obj is Get6ItemsItem other && Equals(other); /// public bool Equals(Get6ItemsItem other) => string.Equals(_value, other._value, StringComparison.Ordinal); @@ -59,6 +61,6 @@ namespace AppConfiguration.Models [EditorBrowsable(EditorBrowsableState.Never)] public override int GetHashCode() => _value?.GetHashCode() ?? 0; /// - public override string? ToString() => _value; + public override string ToString() => _value; } } diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/Get7ItemsItem.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/Get7ItemsItem.cs index 50a4b8b5..472a25c4 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/Get7ItemsItem.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/Get7ItemsItem.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System; using System.ComponentModel; @@ -9,7 +11,7 @@ namespace AppConfiguration.Models /// MISSING·SCHEMA-DESCRIPTION-CHOICE. public readonly partial struct Get7ItemsItem : IEquatable { - private readonly string? _value; + private readonly string _value; /// Determines if two values are the same. public Get7ItemsItem(string value) @@ -51,7 +53,7 @@ namespace AppConfiguration.Models /// [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is Get7ItemsItem other && Equals(other); + public override bool Equals(object obj) => obj is Get7ItemsItem other && Equals(other); /// public bool Equals(Get7ItemsItem other) => string.Equals(_value, other._value, StringComparison.Ordinal); @@ -59,6 +61,6 @@ namespace AppConfiguration.Models [EditorBrowsable(EditorBrowsableState.Never)] public override int GetHashCode() => _value?.GetHashCode() ?? 0; /// - public override string? ToString() => _value; + public override string ToString() => _value; } } diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/Head6ItemsItem.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/Head6ItemsItem.cs index f9be899f..00e26da6 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/Head6ItemsItem.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/Head6ItemsItem.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System; using System.ComponentModel; @@ -9,7 +11,7 @@ namespace AppConfiguration.Models /// MISSING·SCHEMA-DESCRIPTION-CHOICE. public readonly partial struct Head6ItemsItem : IEquatable { - private readonly string? _value; + private readonly string _value; /// Determines if two values are the same. public Head6ItemsItem(string value) @@ -51,7 +53,7 @@ namespace AppConfiguration.Models /// [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is Head6ItemsItem other && Equals(other); + public override bool Equals(object obj) => obj is Head6ItemsItem other && Equals(other); /// public bool Equals(Head6ItemsItem other) => string.Equals(_value, other._value, StringComparison.Ordinal); @@ -59,6 +61,6 @@ namespace AppConfiguration.Models [EditorBrowsable(EditorBrowsableState.Never)] public override int GetHashCode() => _value?.GetHashCode() ?? 0; /// - public override string? ToString() => _value; + public override string ToString() => _value; } } diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/Head7ItemsItem.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/Head7ItemsItem.cs index 306b4d99..9e881af6 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/Head7ItemsItem.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/Head7ItemsItem.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System; using System.ComponentModel; @@ -9,7 +11,7 @@ namespace AppConfiguration.Models /// MISSING·SCHEMA-DESCRIPTION-CHOICE. public readonly partial struct Head7ItemsItem : IEquatable { - private readonly string? _value; + private readonly string _value; /// Determines if two values are the same. public Head7ItemsItem(string value) @@ -51,7 +53,7 @@ namespace AppConfiguration.Models /// [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is Head7ItemsItem other && Equals(other); + public override bool Equals(object obj) => obj is Head7ItemsItem other && Equals(other); /// public bool Equals(Head7ItemsItem other) => string.Equals(_value, other._value, StringComparison.Ordinal); @@ -59,6 +61,6 @@ namespace AppConfiguration.Models [EditorBrowsable(EditorBrowsableState.Never)] public override int GetHashCode() => _value?.GetHashCode() ?? 0; /// - public override string? ToString() => _value; + public override string ToString() => _value; } } diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/Key.Serialization.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/Key.Serialization.cs index d70d95a8..31bfd1f8 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/Key.Serialization.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/Key.Serialization.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System.Text.Json; using Azure.Core; diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/Key.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/Key.cs index ee8de732..e3c5656e 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/Key.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/Key.cs @@ -1,11 +1,13 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + namespace AppConfiguration.Models { /// MISSING·SCHEMA-DESCRIPTION-OBJECTSCHEMA. public partial class Key { - public string? Name { get; internal set; } + public string Name { get; internal set; } } } diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyListResult.Serialization.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyListResult.Serialization.cs index c8c0bf0b..614a3133 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyListResult.Serialization.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyListResult.Serialization.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System.Collections.Generic; using System.Text.Json; using Azure.Core; diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyListResult.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyListResult.cs index abfe3b52..17f1169c 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyListResult.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyListResult.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System.Collections.Generic; namespace AppConfiguration.Models @@ -9,8 +11,8 @@ namespace AppConfiguration.Models public partial class KeyListResult { /// The collection value. - public ICollection? Items { get; set; } + public ICollection Items { get; set; } /// The URI that can be used to request the next set of paged results. - public string? NextLink { get; set; } + public string NextLink { get; set; } } } diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValue.Serialization.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValue.Serialization.cs index 7145fde4..05365835 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValue.Serialization.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValue.Serialization.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System.Collections.Generic; using System.Text.Json; using Azure.Core; diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValue.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValue.cs index 45d456ee..a160ef3a 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValue.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValue.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System; using System.Collections.Generic; @@ -9,16 +11,16 @@ namespace AppConfiguration.Models /// MISSING·SCHEMA-DESCRIPTION-OBJECTSCHEMA. public partial class KeyValue { - public string? Key { get; set; } - public string? Label { get; set; } - public string? ContentType { get; set; } - public string? Value { get; set; } + public string Key { get; set; } + public string Label { get; set; } + public string ContentType { get; set; } + public string Value { get; set; } /// MISSING·SCHEMA-DESCRIPTION-DATETIME. public DateTimeOffset? LastModified { get; set; } /// Dictionary of <paths·keys·get·parameters·0·schema>. - public IDictionary? Tags { get; set; } + public IDictionary Tags { get; set; } /// MISSING·SCHEMA-DESCRIPTION-BOOLEAN. public bool? Locked { get; set; } - public string? Etag { get; set; } + public string Etag { get; set; } } } diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValueListResult.Serialization.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValueListResult.Serialization.cs index 628d71dd..a32969ae 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValueListResult.Serialization.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValueListResult.Serialization.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System.Collections.Generic; using System.Text.Json; using Azure.Core; diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValueListResult.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValueListResult.cs index 226ac35b..a61c83a7 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValueListResult.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValueListResult.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System.Collections.Generic; namespace AppConfiguration.Models @@ -9,8 +11,8 @@ namespace AppConfiguration.Models public partial class KeyValueListResult { /// The collection value. - public ICollection? Items { get; set; } + public ICollection Items { get; set; } /// The URI that can be used to request the next set of paged results. - public string? NextLink { get; set; } + public string NextLink { get; set; } } } diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/Label.Serialization.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/Label.Serialization.cs index 0a63336e..bb849db3 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/Label.Serialization.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/Label.Serialization.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System.Text.Json; using Azure.Core; diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/Label.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/Label.cs index 09674a83..ea766000 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/Label.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/Label.cs @@ -1,11 +1,13 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + namespace AppConfiguration.Models { /// MISSING·SCHEMA-DESCRIPTION-OBJECTSCHEMA. public partial class Label { - public string? Name { get; internal set; } + public string Name { get; internal set; } } } diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/LabelListResult.Serialization.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/LabelListResult.Serialization.cs index 2abefc74..68944e3f 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/LabelListResult.Serialization.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/LabelListResult.Serialization.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System.Collections.Generic; using System.Text.Json; using Azure.Core; diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/LabelListResult.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/LabelListResult.cs index 19aa98d9..6ae10ee1 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/LabelListResult.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/LabelListResult.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System.Collections.Generic; namespace AppConfiguration.Models @@ -9,8 +11,8 @@ namespace AppConfiguration.Models public partial class LabelListResult { /// The collection value. - public ICollection