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? 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/Operations/AllOperations.cs b/samples/AppConfiguration/AppConfiguration/Generated/Operations/AllOperations.cs
index 4bb137c0..0190e023 100644
--- a/samples/AppConfiguration/AppConfiguration/Generated/Operations/AllOperations.cs
+++ b/samples/AppConfiguration/AppConfiguration/Generated/Operations/AllOperations.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;
using System.Text.Json;
@@ -15,13 +17,13 @@ namespace AppConfiguration
{
internal partial class AllOperations
{
- private string? syncToken;
+ private string syncToken;
private string host;
private string ApiVersion;
private ClientDiagnostics clientDiagnostics;
private HttpPipeline pipeline;
/// Initializes a new instance of AllOperations.
- public AllOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string? syncToken, string host = "", string ApiVersion = "1.0")
+ public AllOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string syncToken, string host = "", string ApiVersion = "1.0")
{
if (host == null)
{
@@ -38,7 +40,7 @@ namespace AppConfiguration
this.clientDiagnostics = clientDiagnostics;
this.pipeline = pipeline;
}
- internal HttpMessage CreateGetKeysRequest(string? name, string? after, string? acceptDatetime)
+ internal HttpMessage CreateGetKeysRequest(string name, string after, string acceptDatetime)
{
var message = pipeline.CreateMessage();
var request = message.Request;
@@ -71,7 +73,7 @@ namespace AppConfiguration
/// Instructs the server to return elements that appear after the element referred to by the specified token.
/// Requests the server to respond with the state of the resource at the specified time.
/// The cancellation token to use.
- public async ValueTask> GetKeysAsync(string? name, string? after, string? acceptDatetime, CancellationToken cancellationToken = default)
+ public async ValueTask> GetKeysAsync(string name, string after, string acceptDatetime, CancellationToken cancellationToken = default)
{
using var scope = clientDiagnostics.CreateScope("AllOperations.GetKeys");
@@ -104,7 +106,7 @@ namespace AppConfiguration
/// Instructs the server to return elements that appear after the element referred to by the specified token.
/// Requests the server to respond with the state of the resource at the specified time.
/// The cancellation token to use.
- public ResponseWithHeaders GetKeys(string? name, string? after, string? acceptDatetime, CancellationToken cancellationToken = default)
+ public ResponseWithHeaders GetKeys(string name, string after, string acceptDatetime, CancellationToken cancellationToken = default)
{
using var scope = clientDiagnostics.CreateScope("AllOperations.GetKeys");
@@ -132,7 +134,7 @@ namespace AppConfiguration
throw;
}
}
- internal HttpMessage CreateCheckKeysRequest(string? name, string? after, string? acceptDatetime)
+ internal HttpMessage CreateCheckKeysRequest(string name, string after, string acceptDatetime)
{
var message = pipeline.CreateMessage();
var request = message.Request;
@@ -165,7 +167,7 @@ namespace AppConfiguration
/// Instructs the server to return elements that appear after the element referred to by the specified token.
/// Requests the server to respond with the state of the resource at the specified time.
/// The cancellation token to use.
- public async ValueTask> CheckKeysAsync(string? name, string? after, string? acceptDatetime, CancellationToken cancellationToken = default)
+ public async ValueTask> CheckKeysAsync(string name, string after, string acceptDatetime, CancellationToken cancellationToken = default)
{
using var scope = clientDiagnostics.CreateScope("AllOperations.CheckKeys");
@@ -194,7 +196,7 @@ namespace AppConfiguration
/// Instructs the server to return elements that appear after the element referred to by the specified token.
/// Requests the server to respond with the state of the resource at the specified time.
/// The cancellation token to use.
- public ResponseWithHeaders CheckKeys(string? name, string? after, string? acceptDatetime, CancellationToken cancellationToken = default)
+ public ResponseWithHeaders CheckKeys(string name, string after, string acceptDatetime, CancellationToken cancellationToken = default)
{
using var scope = clientDiagnostics.CreateScope("AllOperations.CheckKeys");
@@ -218,7 +220,7 @@ namespace AppConfiguration
throw;
}
}
- internal HttpMessage CreateGetKeyValuesRequest(string? key, string? label, string? after, string? acceptDatetime, IEnumerable? select)
+ internal HttpMessage CreateGetKeyValuesRequest(string key, string label, string after, string acceptDatetime, IEnumerable select)
{
var message = pipeline.CreateMessage();
var request = message.Request;
@@ -261,7 +263,7 @@ namespace AppConfiguration
/// Requests the server to respond with the state of the resource at the specified time.
/// Used to select what fields are present in the returned resource(s).
/// The cancellation token to use.
- public async ValueTask> GetKeyValuesAsync(string? key, string? label, string? after, string? acceptDatetime, IEnumerable? select, CancellationToken cancellationToken = default)
+ public async ValueTask> GetKeyValuesAsync(string key, string label, string after, string acceptDatetime, IEnumerable select, CancellationToken cancellationToken = default)
{
using var scope = clientDiagnostics.CreateScope("AllOperations.GetKeyValues");
@@ -296,7 +298,7 @@ namespace AppConfiguration
/// Requests the server to respond with the state of the resource at the specified time.
/// Used to select what fields are present in the returned resource(s).
/// The cancellation token to use.
- public ResponseWithHeaders GetKeyValues(string? key, string? label, string? after, string? acceptDatetime, IEnumerable? select, CancellationToken cancellationToken = default)
+ public ResponseWithHeaders GetKeyValues(string key, string label, string after, string acceptDatetime, IEnumerable select, CancellationToken cancellationToken = default)
{
using var scope = clientDiagnostics.CreateScope("AllOperations.GetKeyValues");
@@ -324,7 +326,7 @@ namespace AppConfiguration
throw;
}
}
- internal HttpMessage CreateCheckKeyValuesRequest(string? key, string? label, string? after, string? acceptDatetime, IEnumerable? select)
+ internal HttpMessage CreateCheckKeyValuesRequest(string key, string label, string after, string acceptDatetime, IEnumerable select)
{
var message = pipeline.CreateMessage();
var request = message.Request;
@@ -367,7 +369,7 @@ namespace AppConfiguration
/// Requests the server to respond with the state of the resource at the specified time.
/// Used to select what fields are present in the returned resource(s).
/// The cancellation token to use.
- public async ValueTask> CheckKeyValuesAsync(string? key, string? label, string? after, string? acceptDatetime, IEnumerable? select, CancellationToken cancellationToken = default)
+ public async ValueTask> CheckKeyValuesAsync(string key, string label, string after, string acceptDatetime, IEnumerable select, CancellationToken cancellationToken = default)
{
using var scope = clientDiagnostics.CreateScope("AllOperations.CheckKeyValues");
@@ -398,7 +400,7 @@ namespace AppConfiguration
/// Requests the server to respond with the state of the resource at the specified time.
/// Used to select what fields are present in the returned resource(s).
/// The cancellation token to use.
- public ResponseWithHeaders CheckKeyValues(string? key, string? label, string? after, string? acceptDatetime, IEnumerable? select, CancellationToken cancellationToken = default)
+ public ResponseWithHeaders CheckKeyValues(string key, string label, string after, string acceptDatetime, IEnumerable select, CancellationToken cancellationToken = default)
{
using var scope = clientDiagnostics.CreateScope("AllOperations.CheckKeyValues");
@@ -422,7 +424,7 @@ namespace AppConfiguration
throw;
}
}
- internal HttpMessage CreateGetKeyValueRequest(string key, string? label, string? acceptDatetime, string? ifMatch, string? ifNoneMatch, IEnumerable? select)
+ internal HttpMessage CreateGetKeyValueRequest(string key, string label, string acceptDatetime, string ifMatch, string ifNoneMatch, IEnumerable select)
{
var message = pipeline.CreateMessage();
var request = message.Request;
@@ -467,7 +469,7 @@ namespace AppConfiguration
/// Used to perform an operation only if the targeted resource's etag does not match the value provided.
/// Used to select what fields are present in the returned resource(s).
/// The cancellation token to use.
- public async ValueTask> GetKeyValueAsync(string key, string? label, string? acceptDatetime, string? ifMatch, string? ifNoneMatch, IEnumerable? select, CancellationToken cancellationToken = default)
+ public async ValueTask> GetKeyValueAsync(string key, string label, string acceptDatetime, string ifMatch, string ifNoneMatch, IEnumerable select, CancellationToken cancellationToken = default)
{
if (key == null)
{
@@ -507,7 +509,7 @@ namespace AppConfiguration
/// Used to perform an operation only if the targeted resource's etag does not match the value provided.
/// Used to select what fields are present in the returned resource(s).
/// The cancellation token to use.
- public ResponseWithHeaders GetKeyValue(string key, string? label, string? acceptDatetime, string? ifMatch, string? ifNoneMatch, IEnumerable? select, CancellationToken cancellationToken = default)
+ public ResponseWithHeaders GetKeyValue(string key, string label, string acceptDatetime, string ifMatch, string ifNoneMatch, IEnumerable select, CancellationToken cancellationToken = default)
{
if (key == null)
{
@@ -539,7 +541,7 @@ namespace AppConfiguration
throw;
}
}
- internal HttpMessage CreatePutKeyValueRequest(string key, string? label, string? ifMatch, string? ifNoneMatch, KeyValue? entity)
+ internal HttpMessage CreatePutKeyValueRequest(string key, string label, string ifMatch, string ifNoneMatch, KeyValue entity)
{
var message = pipeline.CreateMessage();
var request = message.Request;
@@ -584,7 +586,7 @@ namespace AppConfiguration
/// Used to perform an operation only if the targeted resource's etag does not match the value provided.
/// The key-value to create.
/// The cancellation token to use.
- public async ValueTask> PutKeyValueAsync(string key, string? label, string? ifMatch, string? ifNoneMatch, KeyValue? entity, CancellationToken cancellationToken = default)
+ public async ValueTask> PutKeyValueAsync(string key, string label, string ifMatch, string ifNoneMatch, KeyValue entity, CancellationToken cancellationToken = default)
{
if (key == null)
{
@@ -623,7 +625,7 @@ namespace AppConfiguration
/// Used to perform an operation only if the targeted resource's etag does not match the value provided.
/// The key-value to create.
/// The cancellation token to use.
- public ResponseWithHeaders PutKeyValue(string key, string? label, string? ifMatch, string? ifNoneMatch, KeyValue? entity, CancellationToken cancellationToken = default)
+ public ResponseWithHeaders PutKeyValue(string key, string label, string ifMatch, string ifNoneMatch, KeyValue entity, CancellationToken cancellationToken = default)
{
if (key == null)
{
@@ -655,7 +657,7 @@ namespace AppConfiguration
throw;
}
}
- internal HttpMessage CreateDeleteKeyValueRequest(string key, string? label, string? ifMatch)
+ internal HttpMessage CreateDeleteKeyValueRequest(string key, string label, string ifMatch)
{
var message = pipeline.CreateMessage();
var request = message.Request;
@@ -685,7 +687,7 @@ namespace AppConfiguration
/// A filter used to match labels.
/// Used to perform an operation only if the targeted resource's etag matches the value provided.
/// The cancellation token to use.
- public async ValueTask> DeleteKeyValueAsync(string key, string? label, string? ifMatch, CancellationToken cancellationToken = default)
+ public async ValueTask> DeleteKeyValueAsync(string key, string label, string ifMatch, CancellationToken cancellationToken = default)
{
if (key == null)
{
@@ -722,7 +724,7 @@ namespace AppConfiguration
/// A filter used to match labels.
/// Used to perform an operation only if the targeted resource's etag matches the value provided.
/// The cancellation token to use.
- public ResponseWithHeaders DeleteKeyValue(string key, string? label, string? ifMatch, CancellationToken cancellationToken = default)
+ public ResponseWithHeaders DeleteKeyValue(string key, string label, string ifMatch, CancellationToken cancellationToken = default)
{
if (key == null)
{
@@ -754,7 +756,7 @@ namespace AppConfiguration
throw;
}
}
- internal HttpMessage CreateCheckKeyValueRequest(string key, string? label, string? acceptDatetime, string? ifMatch, string? ifNoneMatch, IEnumerable? select)
+ internal HttpMessage CreateCheckKeyValueRequest(string key, string label, string acceptDatetime, string ifMatch, string ifNoneMatch, IEnumerable select)
{
var message = pipeline.CreateMessage();
var request = message.Request;
@@ -799,7 +801,7 @@ namespace AppConfiguration
/// Used to perform an operation only if the targeted resource's etag does not match the value provided.
/// Used to select what fields are present in the returned resource(s).
/// The cancellation token to use.
- public async ValueTask> CheckKeyValueAsync(string key, string? label, string? acceptDatetime, string? ifMatch, string? ifNoneMatch, IEnumerable? select, CancellationToken cancellationToken = default)
+ public async ValueTask> CheckKeyValueAsync(string key, string label, string acceptDatetime, string ifMatch, string ifNoneMatch, IEnumerable select, CancellationToken cancellationToken = default)
{
if (key == null)
{
@@ -835,7 +837,7 @@ namespace AppConfiguration
/// Used to perform an operation only if the targeted resource's etag does not match the value provided.
/// Used to select what fields are present in the returned resource(s).
/// The cancellation token to use.
- public ResponseWithHeaders CheckKeyValue(string key, string? label, string? acceptDatetime, string? ifMatch, string? ifNoneMatch, IEnumerable? select, CancellationToken cancellationToken = default)
+ public ResponseWithHeaders CheckKeyValue(string key, string label, string acceptDatetime, string ifMatch, string ifNoneMatch, IEnumerable select, CancellationToken cancellationToken = default)
{
if (key == null)
{
@@ -863,7 +865,7 @@ namespace AppConfiguration
throw;
}
}
- internal HttpMessage CreateGetLabelsRequest(string? name, string? after, string? acceptDatetime, IEnumerable? select)
+ internal HttpMessage CreateGetLabelsRequest(string name, string after, string acceptDatetime, IEnumerable select)
{
var message = pipeline.CreateMessage();
var request = message.Request;
@@ -901,7 +903,7 @@ namespace AppConfiguration
/// Requests the server to respond with the state of the resource at the specified time.
/// Used to select what fields are present in the returned resource(s).
/// The cancellation token to use.
- public async ValueTask> GetLabelsAsync(string? name, string? after, string? acceptDatetime, IEnumerable? select, CancellationToken cancellationToken = default)
+ public async ValueTask> GetLabelsAsync(string name, string after, string acceptDatetime, IEnumerable select, CancellationToken cancellationToken = default)
{
using var scope = clientDiagnostics.CreateScope("AllOperations.GetLabels");
@@ -935,7 +937,7 @@ namespace AppConfiguration
/// Requests the server to respond with the state of the resource at the specified time.
/// Used to select what fields are present in the returned resource(s).
/// The cancellation token to use.
- public ResponseWithHeaders GetLabels(string? name, string? after, string? acceptDatetime, IEnumerable? select, CancellationToken cancellationToken = default)
+ public ResponseWithHeaders GetLabels(string name, string after, string acceptDatetime, IEnumerable select, CancellationToken cancellationToken = default)
{
using var scope = clientDiagnostics.CreateScope("AllOperations.GetLabels");
@@ -963,7 +965,7 @@ namespace AppConfiguration
throw;
}
}
- internal HttpMessage CreateCheckLabelsRequest(string? name, string? after, string? acceptDatetime, IEnumerable? select)
+ internal HttpMessage CreateCheckLabelsRequest(string name, string after, string acceptDatetime, IEnumerable select)
{
var message = pipeline.CreateMessage();
var request = message.Request;
@@ -1001,7 +1003,7 @@ namespace AppConfiguration
/// Requests the server to respond with the state of the resource at the specified time.
/// Used to select what fields are present in the returned resource(s).
/// The cancellation token to use.
- public async ValueTask> CheckLabelsAsync(string? name, string? after, string? acceptDatetime, IEnumerable? select, CancellationToken cancellationToken = default)
+ public async ValueTask> CheckLabelsAsync(string name, string after, string acceptDatetime, IEnumerable select, CancellationToken cancellationToken = default)
{
using var scope = clientDiagnostics.CreateScope("AllOperations.CheckLabels");
@@ -1031,7 +1033,7 @@ namespace AppConfiguration
/// Requests the server to respond with the state of the resource at the specified time.
/// Used to select what fields are present in the returned resource(s).
/// The cancellation token to use.
- public ResponseWithHeaders CheckLabels(string? name, string? after, string? acceptDatetime, IEnumerable? select, CancellationToken cancellationToken = default)
+ public ResponseWithHeaders CheckLabels(string name, string after, string acceptDatetime, IEnumerable select, CancellationToken cancellationToken = default)
{
using var scope = clientDiagnostics.CreateScope("AllOperations.CheckLabels");
@@ -1055,7 +1057,7 @@ namespace AppConfiguration
throw;
}
}
- internal HttpMessage CreatePutLockRequest(string key, string? label, string? ifMatch, string? ifNoneMatch)
+ internal HttpMessage CreatePutLockRequest(string key, string label, string ifMatch, string ifNoneMatch)
{
var message = pipeline.CreateMessage();
var request = message.Request;
@@ -1090,7 +1092,7 @@ namespace AppConfiguration
/// Used to perform an operation only if the targeted resource's etag matches the value provided.
/// Used to perform an operation only if the targeted resource's etag does not match the value provided.
/// The cancellation token to use.
- public async ValueTask> PutLockAsync(string key, string? label, string? ifMatch, string? ifNoneMatch, CancellationToken cancellationToken = default)
+ public async ValueTask> PutLockAsync(string key, string label, string ifMatch, string ifNoneMatch, CancellationToken cancellationToken = default)
{
if (key == null)
{
@@ -1128,7 +1130,7 @@ namespace AppConfiguration
/// Used to perform an operation only if the targeted resource's etag matches the value provided.
/// Used to perform an operation only if the targeted resource's etag does not match the value provided.
/// The cancellation token to use.
- public ResponseWithHeaders PutLock(string key, string? label, string? ifMatch, string? ifNoneMatch, CancellationToken cancellationToken = default)
+ public ResponseWithHeaders PutLock(string key, string label, string ifMatch, string ifNoneMatch, CancellationToken cancellationToken = default)
{
if (key == null)
{
@@ -1160,7 +1162,7 @@ namespace AppConfiguration
throw;
}
}
- internal HttpMessage CreateDeleteLockRequest(string key, string? label, string? ifMatch, string? ifNoneMatch)
+ internal HttpMessage CreateDeleteLockRequest(string key, string label, string ifMatch, string ifNoneMatch)
{
var message = pipeline.CreateMessage();
var request = message.Request;
@@ -1195,7 +1197,7 @@ namespace AppConfiguration
/// Used to perform an operation only if the targeted resource's etag matches the value provided.
/// Used to perform an operation only if the targeted resource's etag does not match the value provided.
/// The cancellation token to use.
- public async ValueTask> DeleteLockAsync(string key, string? label, string? ifMatch, string? ifNoneMatch, CancellationToken cancellationToken = default)
+ public async ValueTask> DeleteLockAsync(string key, string label, string ifMatch, string ifNoneMatch, CancellationToken cancellationToken = default)
{
if (key == null)
{
@@ -1233,7 +1235,7 @@ namespace AppConfiguration
/// Used to perform an operation only if the targeted resource's etag matches the value provided.
/// Used to perform an operation only if the targeted resource's etag does not match the value provided.
/// The cancellation token to use.
- public ResponseWithHeaders DeleteLock(string key, string? label, string? ifMatch, string? ifNoneMatch, CancellationToken cancellationToken = default)
+ public ResponseWithHeaders DeleteLock(string key, string label, string ifMatch, string ifNoneMatch, CancellationToken cancellationToken = default)
{
if (key == null)
{
@@ -1265,7 +1267,7 @@ namespace AppConfiguration
throw;
}
}
- internal HttpMessage CreateGetRevisionsRequest(string? key, string? label, string? after, string? acceptDatetime, IEnumerable? select)
+ internal HttpMessage CreateGetRevisionsRequest(string key, string label, string after, string acceptDatetime, IEnumerable select)
{
var message = pipeline.CreateMessage();
var request = message.Request;
@@ -1308,7 +1310,7 @@ namespace AppConfiguration
/// Requests the server to respond with the state of the resource at the specified time.
/// Used to select what fields are present in the returned resource(s).
/// The cancellation token to use.
- public async ValueTask> GetRevisionsAsync(string? key, string? label, string? after, string? acceptDatetime, IEnumerable? select, CancellationToken cancellationToken = default)
+ public async ValueTask> GetRevisionsAsync(string key, string label, string after, string acceptDatetime, IEnumerable select, CancellationToken cancellationToken = default)
{
using var scope = clientDiagnostics.CreateScope("AllOperations.GetRevisions");
@@ -1343,7 +1345,7 @@ namespace AppConfiguration
/// Requests the server to respond with the state of the resource at the specified time.
/// Used to select what fields are present in the returned resource(s).
/// The cancellation token to use.
- public ResponseWithHeaders GetRevisions(string? key, string? label, string? after, string? acceptDatetime, IEnumerable? select, CancellationToken cancellationToken = default)
+ public ResponseWithHeaders GetRevisions(string key, string label, string after, string acceptDatetime, IEnumerable select, CancellationToken cancellationToken = default)
{
using var scope = clientDiagnostics.CreateScope("AllOperations.GetRevisions");
@@ -1371,7 +1373,7 @@ namespace AppConfiguration
throw;
}
}
- internal HttpMessage CreateCheckRevisionsRequest(string? key, string? label, string? after, string? acceptDatetime, IEnumerable? select)
+ internal HttpMessage CreateCheckRevisionsRequest(string key, string label, string after, string acceptDatetime, IEnumerable select)
{
var message = pipeline.CreateMessage();
var request = message.Request;
@@ -1414,7 +1416,7 @@ namespace AppConfiguration
/// Requests the server to respond with the state of the resource at the specified time.
/// Used to select what fields are present in the returned resource(s).
/// The cancellation token to use.
- public async ValueTask> CheckRevisionsAsync(string? key, string? label, string? after, string? acceptDatetime, IEnumerable? select, CancellationToken cancellationToken = default)
+ public async ValueTask> CheckRevisionsAsync(string key, string label, string after, string acceptDatetime, IEnumerable select, CancellationToken cancellationToken = default)
{
using var scope = clientDiagnostics.CreateScope("AllOperations.CheckRevisions");
@@ -1445,7 +1447,7 @@ namespace AppConfiguration
/// Requests the server to respond with the state of the resource at the specified time.
/// Used to select what fields are present in the returned resource(s).
/// The cancellation token to use.
- public ResponseWithHeaders CheckRevisions(string? key, string? label, string? after, string? acceptDatetime, IEnumerable? select, CancellationToken cancellationToken = default)
+ public ResponseWithHeaders CheckRevisions(string key, string label, string after, string acceptDatetime, IEnumerable select, CancellationToken cancellationToken = default)
{
using var scope = clientDiagnostics.CreateScope("AllOperations.CheckRevisions");
@@ -1469,7 +1471,7 @@ namespace AppConfiguration
throw;
}
}
- internal HttpMessage CreateGetKeysNextPageRequest(string? acceptDatetime, string nextLink)
+ internal HttpMessage CreateGetKeysNextPageRequest(string acceptDatetime, string nextLink)
{
var message = pipeline.CreateMessage();
var request = message.Request;
@@ -1491,7 +1493,7 @@ namespace AppConfiguration
/// Requests the server to respond with the state of the resource at the specified time.
/// The URL to the next page of results.
/// The cancellation token to use.
- public async ValueTask> GetKeysNextPageAsync(string? acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
+ public async ValueTask> GetKeysNextPageAsync(string acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
{
if (nextLink == null)
{
@@ -1527,7 +1529,7 @@ namespace AppConfiguration
/// Requests the server to respond with the state of the resource at the specified time.
/// The URL to the next page of results.
/// The cancellation token to use.
- public ResponseWithHeaders GetKeysNextPage(string? acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
+ public ResponseWithHeaders GetKeysNextPage(string acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
{
if (nextLink == null)
{
@@ -1559,7 +1561,7 @@ namespace AppConfiguration
throw;
}
}
- internal HttpMessage CreateGetKeyValuesNextPageRequest(string? acceptDatetime, string nextLink)
+ internal HttpMessage CreateGetKeyValuesNextPageRequest(string acceptDatetime, string nextLink)
{
var message = pipeline.CreateMessage();
var request = message.Request;
@@ -1581,7 +1583,7 @@ namespace AppConfiguration
/// Requests the server to respond with the state of the resource at the specified time.
/// The URL to the next page of results.
/// The cancellation token to use.
- public async ValueTask> GetKeyValuesNextPageAsync(string? acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
+ public async ValueTask> GetKeyValuesNextPageAsync(string acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
{
if (nextLink == null)
{
@@ -1617,7 +1619,7 @@ namespace AppConfiguration
/// Requests the server to respond with the state of the resource at the specified time.
/// The URL to the next page of results.
/// The cancellation token to use.
- public ResponseWithHeaders GetKeyValuesNextPage(string? acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
+ public ResponseWithHeaders GetKeyValuesNextPage(string acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
{
if (nextLink == null)
{
@@ -1649,7 +1651,7 @@ namespace AppConfiguration
throw;
}
}
- internal HttpMessage CreateGetLabelsNextPageRequest(string? acceptDatetime, string nextLink)
+ internal HttpMessage CreateGetLabelsNextPageRequest(string acceptDatetime, string nextLink)
{
var message = pipeline.CreateMessage();
var request = message.Request;
@@ -1671,7 +1673,7 @@ namespace AppConfiguration
/// Requests the server to respond with the state of the resource at the specified time.
/// The URL to the next page of results.
/// The cancellation token to use.
- public async ValueTask> GetLabelsNextPageAsync(string? acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
+ public async ValueTask> GetLabelsNextPageAsync(string acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
{
if (nextLink == null)
{
@@ -1707,7 +1709,7 @@ namespace AppConfiguration
/// Requests the server to respond with the state of the resource at the specified time.
/// The URL to the next page of results.
/// The cancellation token to use.
- public ResponseWithHeaders GetLabelsNextPage(string? acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
+ public ResponseWithHeaders GetLabelsNextPage(string acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
{
if (nextLink == null)
{
@@ -1739,7 +1741,7 @@ namespace AppConfiguration
throw;
}
}
- internal HttpMessage CreateGetRevisionsNextPageRequest(string? acceptDatetime, string nextLink)
+ internal HttpMessage CreateGetRevisionsNextPageRequest(string acceptDatetime, string nextLink)
{
var message = pipeline.CreateMessage();
var request = message.Request;
@@ -1761,7 +1763,7 @@ namespace AppConfiguration
/// Requests the server to respond with the state of the resource at the specified time.
/// The URL to the next page of results.
/// The cancellation token to use.
- public async ValueTask> GetRevisionsNextPageAsync(string? acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
+ public async ValueTask> GetRevisionsNextPageAsync(string acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
{
if (nextLink == null)
{
@@ -1797,7 +1799,7 @@ namespace AppConfiguration
/// Requests the server to respond with the state of the resource at the specified time.
/// The URL to the next page of results.
/// The cancellation token to use.
- public ResponseWithHeaders GetRevisionsNextPage(string? acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
+ public ResponseWithHeaders GetRevisionsNextPage(string acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
{
if (nextLink == null)
{
@@ -1834,7 +1836,7 @@ namespace AppConfiguration
/// Instructs the server to return elements that appear after the element referred to by the specified token.
/// Requests the server to respond with the state of the resource at the specified time.
/// The cancellation token to use.
- public AsyncPageable GetKeysPageableAsync(string? name, string? after, string? acceptDatetime, CancellationToken cancellationToken = default)
+ public AsyncPageable GetKeysPageableAsync(string name, string after, string acceptDatetime, CancellationToken cancellationToken = default)
{
async Task> FirstPageFunc(int? pageSizeHint)
@@ -1854,7 +1856,7 @@ namespace AppConfiguration
/// Instructs the server to return elements that appear after the element referred to by the specified token.
/// Requests the server to respond with the state of the resource at the specified time.
/// The cancellation token to use.
- public Pageable GetKeysPageable(string? name, string? after, string? acceptDatetime, CancellationToken cancellationToken = default)
+ public Pageable GetKeysPageable(string name, string after, string acceptDatetime, CancellationToken cancellationToken = default)
{
Page FirstPageFunc(int? pageSizeHint)
@@ -1876,7 +1878,7 @@ namespace AppConfiguration
/// Requests the server to respond with the state of the resource at the specified time.
/// Used to select what fields are present in the returned resource(s).
/// The cancellation token to use.
- public AsyncPageable GetKeyValuesPageableAsync(string? key, string? label, string? after, string? acceptDatetime, IEnumerable? select, CancellationToken cancellationToken = default)
+ public AsyncPageable GetKeyValuesPageableAsync(string key, string label, string after, string acceptDatetime, IEnumerable select, CancellationToken cancellationToken = default)
{
async Task> FirstPageFunc(int? pageSizeHint)
@@ -1898,7 +1900,7 @@ namespace AppConfiguration
/// Requests the server to respond with the state of the resource at the specified time.
/// Used to select what fields are present in the returned resource(s).
/// The cancellation token to use.
- public Pageable GetKeyValuesPageable(string? key, string? label, string? after, string? acceptDatetime, IEnumerable? select, CancellationToken cancellationToken = default)
+ public Pageable GetKeyValuesPageable(string key, string label, string after, string acceptDatetime, IEnumerable select, CancellationToken cancellationToken = default)
{
Page FirstPageFunc(int? pageSizeHint)
@@ -1919,7 +1921,7 @@ namespace AppConfiguration
/// Requests the server to respond with the state of the resource at the specified time.
/// Used to select what fields are present in the returned resource(s).
/// The cancellation token to use.
- public AsyncPageable GetLabelsPageableAsync(string? name, string? after, string? acceptDatetime, IEnumerable? select, CancellationToken cancellationToken = default)
+ public AsyncPageable GetLabelsPageableAsync(string name, string after, string acceptDatetime, IEnumerable select, CancellationToken cancellationToken = default)
{
async Task> FirstPageFunc(int? pageSizeHint)
@@ -1940,7 +1942,7 @@ namespace AppConfiguration
/// Requests the server to respond with the state of the resource at the specified time.
/// Used to select what fields are present in the returned resource(s).
/// The cancellation token to use.
- public Pageable GetLabelsPageable(string? name, string? after, string? acceptDatetime, IEnumerable? select, CancellationToken cancellationToken = default)
+ public Pageable GetLabelsPageable(string name, string after, string acceptDatetime, IEnumerable select, CancellationToken cancellationToken = default)
{
Page FirstPageFunc(int? pageSizeHint)
@@ -1962,7 +1964,7 @@ namespace AppConfiguration
/// Requests the server to respond with the state of the resource at the specified time.
/// Used to select what fields are present in the returned resource(s).
/// The cancellation token to use.
- public AsyncPageable GetRevisionsPageableAsync(string? key, string? label, string? after, string? acceptDatetime, IEnumerable? select, CancellationToken cancellationToken = default)
+ public AsyncPageable GetRevisionsPageableAsync(string key, string label, string after, string acceptDatetime, IEnumerable select, CancellationToken cancellationToken = default)
{
async Task> FirstPageFunc(int? pageSizeHint)
@@ -1984,7 +1986,7 @@ namespace AppConfiguration
/// Requests the server to respond with the state of the resource at the specified time.
/// Used to select what fields are present in the returned resource(s).
/// The cancellation token to use.
- public Pageable GetRevisionsPageable(string? key, string? label, string? after, string? acceptDatetime, IEnumerable? select, CancellationToken cancellationToken = default)
+ public Pageable GetRevisionsPageable(string key, string label, string after, string acceptDatetime, IEnumerable select, CancellationToken cancellationToken = default)
{
Page FirstPageFunc(int? pageSizeHint)
diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Operations/CheckKeyValueHeaders.cs b/samples/AppConfiguration/AppConfiguration/Generated/Operations/CheckKeyValueHeaders.cs
index 8c906f52..fc3518b0 100644
--- a/samples/AppConfiguration/AppConfiguration/Generated/Operations/CheckKeyValueHeaders.cs
+++ b/samples/AppConfiguration/AppConfiguration/Generated/Operations/CheckKeyValueHeaders.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using Azure;
using Azure.Core;
@@ -13,8 +15,8 @@ namespace AppConfiguration
{
_response = response;
}
- public string? SyncToken => _response.Headers.TryGetValue("Sync-Token", out string? value) ? value : null;
- public string? ETag => _response.Headers.TryGetValue("ETag", out string? value) ? value : null;
- public string? LastModified => _response.Headers.TryGetValue("Last-Modified", out string? value) ? value : null;
+ public string SyncToken => _response.Headers.TryGetValue("Sync-Token", out string value) ? value : null;
+ public string ETag => _response.Headers.TryGetValue("ETag", out string value) ? value : null;
+ public string LastModified => _response.Headers.TryGetValue("Last-Modified", out string value) ? value : null;
}
}
diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Operations/CheckKeyValuesHeaders.cs b/samples/AppConfiguration/AppConfiguration/Generated/Operations/CheckKeyValuesHeaders.cs
index e271c7c5..996ac79b 100644
--- a/samples/AppConfiguration/AppConfiguration/Generated/Operations/CheckKeyValuesHeaders.cs
+++ b/samples/AppConfiguration/AppConfiguration/Generated/Operations/CheckKeyValuesHeaders.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using Azure;
using Azure.Core;
@@ -13,6 +15,6 @@ namespace AppConfiguration
{
_response = response;
}
- public string? SyncToken => _response.Headers.TryGetValue("Sync-Token", out string? value) ? value : null;
+ public string SyncToken => _response.Headers.TryGetValue("Sync-Token", out string value) ? value : null;
}
}
diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Operations/CheckKeysHeaders.cs b/samples/AppConfiguration/AppConfiguration/Generated/Operations/CheckKeysHeaders.cs
index 1c7053f6..d3604fde 100644
--- a/samples/AppConfiguration/AppConfiguration/Generated/Operations/CheckKeysHeaders.cs
+++ b/samples/AppConfiguration/AppConfiguration/Generated/Operations/CheckKeysHeaders.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using Azure;
using Azure.Core;
@@ -13,6 +15,6 @@ namespace AppConfiguration
{
_response = response;
}
- public string? SyncToken => _response.Headers.TryGetValue("Sync-Token", out string? value) ? value : null;
+ public string SyncToken => _response.Headers.TryGetValue("Sync-Token", out string value) ? value : null;
}
}
diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Operations/CheckLabelsHeaders.cs b/samples/AppConfiguration/AppConfiguration/Generated/Operations/CheckLabelsHeaders.cs
index 524a9bd0..ea4050a2 100644
--- a/samples/AppConfiguration/AppConfiguration/Generated/Operations/CheckLabelsHeaders.cs
+++ b/samples/AppConfiguration/AppConfiguration/Generated/Operations/CheckLabelsHeaders.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using Azure;
using Azure.Core;
@@ -13,6 +15,6 @@ namespace AppConfiguration
{
_response = response;
}
- public string? SyncToken => _response.Headers.TryGetValue("Sync-Token", out string? value) ? value : null;
+ public string SyncToken => _response.Headers.TryGetValue("Sync-Token", out string value) ? value : null;
}
}
diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Operations/CheckRevisionsHeaders.cs b/samples/AppConfiguration/AppConfiguration/Generated/Operations/CheckRevisionsHeaders.cs
index 8153d004..230aea8b 100644
--- a/samples/AppConfiguration/AppConfiguration/Generated/Operations/CheckRevisionsHeaders.cs
+++ b/samples/AppConfiguration/AppConfiguration/Generated/Operations/CheckRevisionsHeaders.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using Azure;
using Azure.Core;
@@ -13,6 +15,6 @@ namespace AppConfiguration
{
_response = response;
}
- public string? SyncToken => _response.Headers.TryGetValue("Sync-Token", out string? value) ? value : null;
+ public string SyncToken => _response.Headers.TryGetValue("Sync-Token", out string value) ? value : null;
}
}
diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Operations/DeleteKeyValueHeaders.cs b/samples/AppConfiguration/AppConfiguration/Generated/Operations/DeleteKeyValueHeaders.cs
index ae7cc110..e1c6b7c0 100644
--- a/samples/AppConfiguration/AppConfiguration/Generated/Operations/DeleteKeyValueHeaders.cs
+++ b/samples/AppConfiguration/AppConfiguration/Generated/Operations/DeleteKeyValueHeaders.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using Azure;
using Azure.Core;
@@ -13,7 +15,7 @@ namespace AppConfiguration
{
_response = response;
}
- public string? SyncToken => _response.Headers.TryGetValue("Sync-Token", out string? value) ? value : null;
- public string? ETag => _response.Headers.TryGetValue("ETag", out string? value) ? value : null;
+ public string SyncToken => _response.Headers.TryGetValue("Sync-Token", out string value) ? value : null;
+ public string ETag => _response.Headers.TryGetValue("ETag", out string value) ? value : null;
}
}
diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Operations/DeleteLockHeaders.cs b/samples/AppConfiguration/AppConfiguration/Generated/Operations/DeleteLockHeaders.cs
index 57cd77fe..323a7329 100644
--- a/samples/AppConfiguration/AppConfiguration/Generated/Operations/DeleteLockHeaders.cs
+++ b/samples/AppConfiguration/AppConfiguration/Generated/Operations/DeleteLockHeaders.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using Azure;
using Azure.Core;
@@ -13,7 +15,7 @@ namespace AppConfiguration
{
_response = response;
}
- public string? SyncToken => _response.Headers.TryGetValue("Sync-Token", out string? value) ? value : null;
- public string? ETag => _response.Headers.TryGetValue("ETag", out string? value) ? value : null;
+ public string SyncToken => _response.Headers.TryGetValue("Sync-Token", out string value) ? value : null;
+ public string ETag => _response.Headers.TryGetValue("ETag", out string value) ? value : null;
}
}
diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Operations/GetKeyValueHeaders.cs b/samples/AppConfiguration/AppConfiguration/Generated/Operations/GetKeyValueHeaders.cs
index f531c236..d8f354b0 100644
--- a/samples/AppConfiguration/AppConfiguration/Generated/Operations/GetKeyValueHeaders.cs
+++ b/samples/AppConfiguration/AppConfiguration/Generated/Operations/GetKeyValueHeaders.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using Azure;
using Azure.Core;
@@ -13,8 +15,8 @@ namespace AppConfiguration
{
_response = response;
}
- public string? SyncToken => _response.Headers.TryGetValue("Sync-Token", out string? value) ? value : null;
- public string? ETag => _response.Headers.TryGetValue("ETag", out string? value) ? value : null;
- public string? LastModified => _response.Headers.TryGetValue("Last-Modified", out string? value) ? value : null;
+ public string SyncToken => _response.Headers.TryGetValue("Sync-Token", out string value) ? value : null;
+ public string ETag => _response.Headers.TryGetValue("ETag", out string value) ? value : null;
+ public string LastModified => _response.Headers.TryGetValue("Last-Modified", out string value) ? value : null;
}
}
diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Operations/GetKeyValuesHeaders.cs b/samples/AppConfiguration/AppConfiguration/Generated/Operations/GetKeyValuesHeaders.cs
index c87ade40..ed3944a7 100644
--- a/samples/AppConfiguration/AppConfiguration/Generated/Operations/GetKeyValuesHeaders.cs
+++ b/samples/AppConfiguration/AppConfiguration/Generated/Operations/GetKeyValuesHeaders.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using Azure;
using Azure.Core;
@@ -13,6 +15,6 @@ namespace AppConfiguration
{
_response = response;
}
- public string? SyncToken => _response.Headers.TryGetValue("Sync-Token", out string? value) ? value : null;
+ public string SyncToken => _response.Headers.TryGetValue("Sync-Token", out string value) ? value : null;
}
}
diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Operations/GetKeysHeaders.cs b/samples/AppConfiguration/AppConfiguration/Generated/Operations/GetKeysHeaders.cs
index a8c54443..20d6f0c3 100644
--- a/samples/AppConfiguration/AppConfiguration/Generated/Operations/GetKeysHeaders.cs
+++ b/samples/AppConfiguration/AppConfiguration/Generated/Operations/GetKeysHeaders.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using Azure;
using Azure.Core;
@@ -13,6 +15,6 @@ namespace AppConfiguration
{
_response = response;
}
- public string? SyncToken => _response.Headers.TryGetValue("Sync-Token", out string? value) ? value : null;
+ public string SyncToken => _response.Headers.TryGetValue("Sync-Token", out string value) ? value : null;
}
}
diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Operations/GetLabelsHeaders.cs b/samples/AppConfiguration/AppConfiguration/Generated/Operations/GetLabelsHeaders.cs
index 7273448d..782afca9 100644
--- a/samples/AppConfiguration/AppConfiguration/Generated/Operations/GetLabelsHeaders.cs
+++ b/samples/AppConfiguration/AppConfiguration/Generated/Operations/GetLabelsHeaders.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using Azure;
using Azure.Core;
@@ -13,6 +15,6 @@ namespace AppConfiguration
{
_response = response;
}
- public string? SyncToken => _response.Headers.TryGetValue("Sync-Token", out string? value) ? value : null;
+ public string SyncToken => _response.Headers.TryGetValue("Sync-Token", out string value) ? value : null;
}
}
diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Operations/GetRevisionsHeaders.cs b/samples/AppConfiguration/AppConfiguration/Generated/Operations/GetRevisionsHeaders.cs
index d6f217ef..5d198c7c 100644
--- a/samples/AppConfiguration/AppConfiguration/Generated/Operations/GetRevisionsHeaders.cs
+++ b/samples/AppConfiguration/AppConfiguration/Generated/Operations/GetRevisionsHeaders.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using Azure;
using Azure.Core;
@@ -13,6 +15,6 @@ namespace AppConfiguration
{
_response = response;
}
- public string? SyncToken => _response.Headers.TryGetValue("Sync-Token", out string? value) ? value : null;
+ public string SyncToken => _response.Headers.TryGetValue("Sync-Token", out string value) ? value : null;
}
}
diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Operations/PutKeyValueHeaders.cs b/samples/AppConfiguration/AppConfiguration/Generated/Operations/PutKeyValueHeaders.cs
index cbf9f800..56d5db64 100644
--- a/samples/AppConfiguration/AppConfiguration/Generated/Operations/PutKeyValueHeaders.cs
+++ b/samples/AppConfiguration/AppConfiguration/Generated/Operations/PutKeyValueHeaders.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using Azure;
using Azure.Core;
@@ -13,7 +15,7 @@ namespace AppConfiguration
{
_response = response;
}
- public string? SyncToken => _response.Headers.TryGetValue("Sync-Token", out string? value) ? value : null;
- public string? ETag => _response.Headers.TryGetValue("ETag", out string? value) ? value : null;
+ public string SyncToken => _response.Headers.TryGetValue("Sync-Token", out string value) ? value : null;
+ public string ETag => _response.Headers.TryGetValue("ETag", out string value) ? value : null;
}
}
diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Operations/PutLockHeaders.cs b/samples/AppConfiguration/AppConfiguration/Generated/Operations/PutLockHeaders.cs
index 4cd078f8..9df20c90 100644
--- a/samples/AppConfiguration/AppConfiguration/Generated/Operations/PutLockHeaders.cs
+++ b/samples/AppConfiguration/AppConfiguration/Generated/Operations/PutLockHeaders.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using Azure;
using Azure.Core;
@@ -13,7 +15,7 @@ namespace AppConfiguration
{
_response = response;
}
- public string? SyncToken => _response.Headers.TryGetValue("Sync-Token", out string? value) ? value : null;
- public string? ETag => _response.Headers.TryGetValue("ETag", out string? value) ? value : null;
+ public string SyncToken => _response.Headers.TryGetValue("Sync-Token", out string value) ? value : null;
+ public string ETag => _response.Headers.TryGetValue("ETag", out string value) ? value : null;
}
}
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AnalyzeRequest.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AnalyzeRequest.Serialization.cs
index ad9d8945..338cae30 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AnalyzeRequest.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AnalyzeRequest.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/CognitiveSearch/CognitiveSearch/Generated/Models/AnalyzeRequest.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AnalyzeRequest.cs
index 2a7988e5..3669050e 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AnalyzeRequest.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AnalyzeRequest.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System.Collections.Generic;
namespace CognitiveSearch.Models
@@ -15,8 +17,8 @@ namespace CognitiveSearch.Models
/// Defines the names of all tokenizers supported by Azure Cognitive Search.
public TokenizerName? Tokenizer { get; set; }
/// An optional list of token filters to use when breaking the given text. This parameter can only be set when using the tokenizer parameter.
- public ICollection? TokenFilters { get; set; }
+ public ICollection TokenFilters { get; set; }
/// An optional list of character filters to use when breaking the given text. This parameter can only be set when using the tokenizer parameter.
- public ICollection? CharFilters { get; set; }
+ public ICollection CharFilters { get; set; }
}
}
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AnalyzeResult.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AnalyzeResult.Serialization.cs
index 2404221a..589111b5 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AnalyzeResult.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AnalyzeResult.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/CognitiveSearch/CognitiveSearch/Generated/Models/AnalyzeResult.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AnalyzeResult.cs
index 6580268b..bd9b80c4 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AnalyzeResult.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AnalyzeResult.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System.Collections.Generic;
namespace CognitiveSearch.Models
@@ -9,6 +11,6 @@ namespace CognitiveSearch.Models
public partial class AnalyzeResult
{
/// The list of tokens returned by the analyzer specified in the request.
- public ICollection? Tokens { get; set; }
+ public ICollection Tokens { get; set; }
}
}
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Analyzer.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Analyzer.Serialization.cs
index d52a32b8..2cc5de6d 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Analyzer.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Analyzer.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/CognitiveSearch/CognitiveSearch/Generated/Models/Analyzer.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Analyzer.cs
index 919b2983..0d365564 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Analyzer.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Analyzer.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// Abstract base class for analyzers.
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AnalyzerName.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AnalyzerName.cs
index 9833c013..092d2999 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AnalyzerName.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AnalyzerName.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 CognitiveSearch.Models
/// Defines the names of all text analyzers supported by Azure Cognitive Search.
public readonly partial struct AnalyzerName : IEquatable
{
- private readonly string? _value;
+ private readonly string _value;
/// Determines if two values are the same.
public AnalyzerName(string value)
@@ -306,7 +308,7 @@ namespace CognitiveSearch.Models
///
[EditorBrowsable(EditorBrowsableState.Never)]
- public override bool Equals(object? obj) => obj is AnalyzerName other && Equals(other);
+ public override bool Equals(object obj) => obj is AnalyzerName other && Equals(other);
///
public bool Equals(AnalyzerName other) => string.Equals(_value, other._value, StringComparison.Ordinal);
@@ -314,6 +316,6 @@ namespace CognitiveSearch.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/CognitiveSearch/CognitiveSearch/Generated/Models/AsciiFoldingTokenFilter.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AsciiFoldingTokenFilter.Serialization.cs
index df888785..280f8d02 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AsciiFoldingTokenFilter.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AsciiFoldingTokenFilter.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/CognitiveSearch/CognitiveSearch/Generated/Models/AsciiFoldingTokenFilter.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AsciiFoldingTokenFilter.cs
index 23616965..e95f7f60 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AsciiFoldingTokenFilter.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AsciiFoldingTokenFilter.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// Converts alphabetic, numeric, and symbolic Unicode characters which are not in the first 127 ASCII characters (the "Basic Latin" Unicode block) into their ASCII equivalents, if such equivalents exist. This token filter is implemented using Apache Lucene.
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteItem.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteItem.Serialization.cs
index 0ce72170..29c01eaf 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteItem.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteItem.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/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteItem.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteItem.cs
index 92fb9f52..d248c84b 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteItem.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteItem.cs
@@ -1,14 +1,16 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// The result of Autocomplete requests.
public partial class AutocompleteItem
{
/// The completed term.
- public string? Text { get; internal set; }
+ public string Text { get; internal set; }
/// The query along with the completed term.
- public string? QueryPlusText { get; internal set; }
+ public string QueryPlusText { get; internal set; }
}
}
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteMode.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteMode.Serialization.cs
index fcaddac6..86297ca4 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteMode.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteMode.Serialization.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System;
namespace CognitiveSearch.Models
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteMode.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteMode.cs
index e30acc93..9cbcc769 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteMode.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteMode.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// MISSING·SCHEMA-DESCRIPTION-CHOICE.
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteRequest.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteRequest.Serialization.cs
index 9e058db1..f2968d38 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteRequest.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteRequest.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/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteRequest.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteRequest.cs
index 23e32879..56443f39 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteRequest.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteRequest.cs
@@ -1,29 +1,31 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// Parameters for fuzzy matching, and other autocomplete query behaviors.
public partial class AutocompleteRequest
{
/// The search text on which to base autocomplete results.
- public string? SearchText { get; set; }
+ public string SearchText { get; set; }
/// MISSING·SCHEMA-DESCRIPTION-CHOICE.
public AutocompleteMode? AutocompleteMode { get; set; }
/// An OData expression that filters the documents used to produce completed terms for the Autocomplete result.
- public string? Filter { get; set; }
+ public string Filter { get; set; }
/// A value indicating whether to use fuzzy matching for the autocomplete query. Default is false. When set to true, the query will autocomplete terms even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy autocomplete queries are slower and consume more resources.
public bool? UseFuzzyMatching { get; set; }
/// A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting is disabled.
- public string? HighlightPostTag { get; set; }
+ public string HighlightPostTag { get; set; }
/// A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting is disabled.
- public string? HighlightPreTag { get; set; }
+ public string HighlightPreTag { get; set; }
/// A number between 0 and 100 indicating the percentage of the index that must be covered by an autocomplete query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80.
public double? MinimumCoverage { get; set; }
/// The comma-separated list of field names to consider when querying for auto-completed terms. Target fields must be included in the specified suggester.
- public string? SearchFields { get; set; }
+ public string SearchFields { get; set; }
/// The name of the suggester as specified in the suggesters collection that's part of the index definition.
- public string? SuggesterName { get; set; }
+ public string SuggesterName { get; set; }
/// The number of auto-completed terms to retrieve. This must be a value between 1 and 100. The default is 5.
public int? Top { get; set; }
}
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteResult.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteResult.Serialization.cs
index eb0ed8f1..3e15a170 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteResult.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteResult.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/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteResult.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteResult.cs
index 18ad2c97..5c04fa7c 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteResult.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/AutocompleteResult.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System.Collections.Generic;
namespace CognitiveSearch.Models
@@ -11,6 +13,6 @@ namespace CognitiveSearch.Models
/// A value indicating the percentage of the index that was considered by the autocomplete request, or null if minimumCoverage was not specified in the request.
public double? Coverage { get; internal set; }
/// The list of returned Autocompleted items.
- public ICollection? Results { get; internal set; }
+ public ICollection Results { get; internal set; }
}
}
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CharFilter.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CharFilter.Serialization.cs
index 971c47bb..a7c5fa9e 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CharFilter.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CharFilter.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/CognitiveSearch/CognitiveSearch/Generated/Models/CharFilter.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CharFilter.cs
index bafcdb51..0c7bce57 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CharFilter.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CharFilter.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// Abstract base class for character filters.
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CjkBigramTokenFilter.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CjkBigramTokenFilter.Serialization.cs
index ab70279d..71b9524e 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CjkBigramTokenFilter.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CjkBigramTokenFilter.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/CognitiveSearch/CognitiveSearch/Generated/Models/CjkBigramTokenFilter.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CjkBigramTokenFilter.cs
index bd028e40..90406db9 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CjkBigramTokenFilter.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CjkBigramTokenFilter.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System.Collections.Generic;
namespace CognitiveSearch.Models
@@ -14,7 +16,7 @@ namespace CognitiveSearch.Models
OdataType = "#Microsoft.Azure.Search.CjkBigramTokenFilter";
}
/// The scripts to ignore.
- public ICollection? IgnoreScripts { get; set; }
+ public ICollection IgnoreScripts { get; set; }
/// A value indicating whether to output both unigrams and bigrams (if true), or just bigrams (if false). Default is false.
public bool? OutputUnigrams { get; set; }
}
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CjkBigramTokenFilterScripts.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CjkBigramTokenFilterScripts.Serialization.cs
index 8f26bf89..f5973cdb 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CjkBigramTokenFilterScripts.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CjkBigramTokenFilterScripts.Serialization.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System;
namespace CognitiveSearch.Models
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CjkBigramTokenFilterScripts.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CjkBigramTokenFilterScripts.cs
index 90b8785d..a8e9804c 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CjkBigramTokenFilterScripts.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CjkBigramTokenFilterScripts.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// Scripts that can be ignored by CjkBigramTokenFilter.
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ClassicTokenizer.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ClassicTokenizer.Serialization.cs
index eeefd793..89eb6f7f 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ClassicTokenizer.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ClassicTokenizer.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/CognitiveSearch/CognitiveSearch/Generated/Models/ClassicTokenizer.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ClassicTokenizer.cs
index dad58847..3eb3fdf1 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ClassicTokenizer.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ClassicTokenizer.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// Grammar-based tokenizer that is suitable for processing most European-language documents. This tokenizer is implemented using Apache Lucene.
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CognitiveServicesAccount.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CognitiveServicesAccount.Serialization.cs
index 6f1094d7..f8692f43 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CognitiveServicesAccount.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CognitiveServicesAccount.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/CognitiveSearch/CognitiveSearch/Generated/Models/CognitiveServicesAccount.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CognitiveServicesAccount.cs
index 9d5245bc..1a445a09 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CognitiveServicesAccount.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CognitiveServicesAccount.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// Abstract base class for describing any cognitive service resource attached to the skillset.
@@ -12,6 +14,6 @@ namespace CognitiveSearch.Models
OdataType = null;
}
public string OdataType { get; internal set; }
- public string? Description { get; set; }
+ public string Description { get; set; }
}
}
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CognitiveServicesAccountKey.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CognitiveServicesAccountKey.Serialization.cs
index 7dce2c9f..3a3b95a4 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CognitiveServicesAccountKey.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CognitiveServicesAccountKey.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/CognitiveSearch/CognitiveSearch/Generated/Models/CognitiveServicesAccountKey.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CognitiveServicesAccountKey.cs
index a5bee9ce..ce6520d5 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CognitiveServicesAccountKey.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CognitiveServicesAccountKey.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// A cognitive service resource provisioned with a key that is attached to a skillset.
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CommonGramTokenFilter.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CommonGramTokenFilter.Serialization.cs
index 6f5d1929..e9de2cb6 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CommonGramTokenFilter.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CommonGramTokenFilter.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/CognitiveSearch/CognitiveSearch/Generated/Models/CommonGramTokenFilter.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CommonGramTokenFilter.cs
index c6613c44..bb400550 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CommonGramTokenFilter.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CommonGramTokenFilter.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System.Collections.Generic;
namespace CognitiveSearch.Models
@@ -14,7 +16,7 @@ namespace CognitiveSearch.Models
OdataType = "#Microsoft.Azure.Search.CommonGramTokenFilter";
}
/// The set of common words.
- public ICollection CommonWords { get; set; } = new List();
+ public ICollection CommonWords { get; set; } = new System.Collections.Generic.List();
/// A value indicating whether common words matching will be case insensitive. Default is false.
public bool? IgnoreCase { get; set; }
/// A value that indicates whether the token filter is in query mode. When in query mode, the token filter generates bigrams and then removes common words and single terms followed by a common word. Default is false.
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ComponentsSchemasFacetresultAdditionalproperties.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ComponentsSchemasFacetresultAdditionalproperties.Serialization.cs
index b2001415..17864a11 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ComponentsSchemasFacetresultAdditionalproperties.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ComponentsSchemasFacetresultAdditionalproperties.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/CognitiveSearch/CognitiveSearch/Generated/Models/ComponentsSchemasFacetresultAdditionalproperties.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ComponentsSchemasFacetresultAdditionalproperties.cs
index 2bc74c14..9d92a1e8 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ComponentsSchemasFacetresultAdditionalproperties.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ComponentsSchemasFacetresultAdditionalproperties.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// MISSING·SCHEMA-DESCRIPTION-OBJECTSCHEMA.
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ConditionalSkill.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ConditionalSkill.Serialization.cs
index ec36d91e..4a594f4b 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ConditionalSkill.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ConditionalSkill.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/CognitiveSearch/CognitiveSearch/Generated/Models/ConditionalSkill.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ConditionalSkill.cs
index 57117936..381b64d0 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ConditionalSkill.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ConditionalSkill.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// A skill that enables scenarios that require a Boolean operation to determine the data to assign to an output.
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CorsOptions.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CorsOptions.Serialization.cs
index ff380efa..48d128be 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CorsOptions.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CorsOptions.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/CognitiveSearch/CognitiveSearch/Generated/Models/CorsOptions.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CorsOptions.cs
index cd82851f..126616b9 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CorsOptions.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CorsOptions.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System.Collections.Generic;
namespace CognitiveSearch.Models
@@ -9,7 +11,7 @@ namespace CognitiveSearch.Models
public partial class CorsOptions
{
/// The list of origins from which JavaScript code will be granted access to your index. Can contain a list of hosts of the form {protocol}://{fully-qualified-domain-name}[:{port#}], or a single '*' to allow all origins (not recommended).
- public ICollection AllowedOrigins { get; set; } = new List();
+ public ICollection AllowedOrigins { get; set; } = new System.Collections.Generic.List();
/// The duration for which browsers should cache CORS preflight responses. Defaults to 5 minutes.
public long? MaxAgeInSeconds { get; set; }
}
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CustomAnalyzer.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CustomAnalyzer.Serialization.cs
index 35f5a458..0b59a4fe 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CustomAnalyzer.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CustomAnalyzer.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/CognitiveSearch/CognitiveSearch/Generated/Models/CustomAnalyzer.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CustomAnalyzer.cs
index 54f2d89a..62830c6a 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CustomAnalyzer.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/CustomAnalyzer.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System.Collections.Generic;
namespace CognitiveSearch.Models
@@ -16,8 +18,8 @@ namespace CognitiveSearch.Models
/// Defines the names of all tokenizers supported by Azure Cognitive Search.
public TokenizerName Tokenizer { get; set; }
/// A list of token filters used to filter out or modify the tokens generated by a tokenizer. For example, you can specify a lowercase filter that converts all characters to lowercase. The filters are run in the order in which they are listed.
- public ICollection? TokenFilters { get; set; }
+ public ICollection TokenFilters { get; set; }
/// A list of character filters used to prepare input text before it is processed by the tokenizer. For instance, they can replace certain characters or symbols. The filters are run in the order in which they are listed.
- public ICollection? CharFilters { get; set; }
+ public ICollection CharFilters { get; set; }
}
}
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataChangeDetectionPolicy.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataChangeDetectionPolicy.Serialization.cs
index 025e9768..79da1915 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataChangeDetectionPolicy.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataChangeDetectionPolicy.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/CognitiveSearch/CognitiveSearch/Generated/Models/DataChangeDetectionPolicy.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataChangeDetectionPolicy.cs
index a7b688b5..58b3a62f 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataChangeDetectionPolicy.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataChangeDetectionPolicy.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// Abstract base class for data change detection policies.
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataContainer.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataContainer.Serialization.cs
index 279872fc..c7e15dfd 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataContainer.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataContainer.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/CognitiveSearch/CognitiveSearch/Generated/Models/DataContainer.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataContainer.cs
index 12051f4a..cb6bff5a 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataContainer.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataContainer.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// Represents information about the entity (such as Azure SQL table or CosmosDB collection) that will be indexed.
@@ -9,6 +11,6 @@ namespace CognitiveSearch.Models
/// The name of the table or view (for Azure SQL data source) or collection (for CosmosDB data source) that will be indexed.
public string Name { get; set; }
/// A query that is applied to this data container. The syntax and meaning of this parameter is datasource-specific. Not supported by Azure SQL datasources.
- public string? Query { get; set; }
+ public string Query { get; set; }
}
}
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataDeletionDetectionPolicy.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataDeletionDetectionPolicy.Serialization.cs
index afe7796a..3f936d84 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataDeletionDetectionPolicy.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataDeletionDetectionPolicy.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/CognitiveSearch/CognitiveSearch/Generated/Models/DataDeletionDetectionPolicy.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataDeletionDetectionPolicy.cs
index 6ac72dfd..26f9e68a 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataDeletionDetectionPolicy.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataDeletionDetectionPolicy.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// Abstract base class for data deletion detection policies.
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataSource.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataSource.Serialization.cs
index 2cf92e6f..26c79f2d 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataSource.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataSource.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/CognitiveSearch/CognitiveSearch/Generated/Models/DataSource.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataSource.cs
index aaac650d..3e74b685 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataSource.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataSource.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// Represents a datasource definition, which can be used to configure an indexer.
@@ -9,7 +11,7 @@ namespace CognitiveSearch.Models
/// The name of the datasource.
public string Name { get; set; }
/// The description of the datasource.
- public string? Description { get; set; }
+ public string Description { get; set; }
/// Defines the type of a datasource.
public DataSourceType Type { get; set; }
/// Represents credentials that can be used to connect to a datasource.
@@ -17,10 +19,10 @@ namespace CognitiveSearch.Models
/// Represents information about the entity (such as Azure SQL table or CosmosDB collection) that will be indexed.
public DataContainer Container { get; set; } = new DataContainer();
/// Abstract base class for data change detection policies.
- public DataChangeDetectionPolicy? DataChangeDetectionPolicy { get; set; }
+ public DataChangeDetectionPolicy DataChangeDetectionPolicy { get; set; }
/// Abstract base class for data deletion detection policies.
- public DataDeletionDetectionPolicy? DataDeletionDetectionPolicy { get; set; }
+ public DataDeletionDetectionPolicy DataDeletionDetectionPolicy { get; set; }
/// The ETag of the DataSource.
- public string? ETag { get; set; }
+ public string ETag { get; set; }
}
}
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataSourceCredentials.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataSourceCredentials.Serialization.cs
index 36c1899d..18928a72 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataSourceCredentials.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataSourceCredentials.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/CognitiveSearch/CognitiveSearch/Generated/Models/DataSourceCredentials.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataSourceCredentials.cs
index aee2f297..51a04068 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataSourceCredentials.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataSourceCredentials.cs
@@ -1,12 +1,14 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// Represents credentials that can be used to connect to a datasource.
public partial class DataSourceCredentials
{
/// The connection string for the datasource.
- public string? ConnectionString { get; set; }
+ public string ConnectionString { get; set; }
}
}
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataSourceType.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataSourceType.cs
index 442b84e6..1ca4e81d 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataSourceType.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataSourceType.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 CognitiveSearch.Models
/// Defines the type of a datasource.
public readonly partial struct DataSourceType : IEquatable
{
- private readonly string? _value;
+ private readonly string _value;
/// Determines if two values are the same.
public DataSourceType(string value)
@@ -39,7 +41,7 @@ namespace CognitiveSearch.Models
///
[EditorBrowsable(EditorBrowsableState.Never)]
- public override bool Equals(object? obj) => obj is DataSourceType other && Equals(other);
+ public override bool Equals(object obj) => obj is DataSourceType other && Equals(other);
///
public bool Equals(DataSourceType other) => string.Equals(_value, other._value, StringComparison.Ordinal);
@@ -47,6 +49,6 @@ namespace CognitiveSearch.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/CognitiveSearch/CognitiveSearch/Generated/Models/DataType.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataType.cs
index d59f4823..5f9f3e03 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataType.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DataType.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 CognitiveSearch.Models
/// Defines the data type of a field in a search index.
public readonly partial struct DataType : IEquatable
{
- private readonly string? _value;
+ private readonly string _value;
/// Determines if two values are the same.
public DataType(string value)
@@ -51,7 +53,7 @@ namespace CognitiveSearch.Models
///
[EditorBrowsable(EditorBrowsableState.Never)]
- public override bool Equals(object? obj) => obj is DataType other && Equals(other);
+ public override bool Equals(object obj) => obj is DataType other && Equals(other);
///
public bool Equals(DataType other) => string.Equals(_value, other._value, StringComparison.Ordinal);
@@ -59,6 +61,6 @@ namespace CognitiveSearch.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/CognitiveSearch/CognitiveSearch/Generated/Models/DefaultCognitiveServicesAccount.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DefaultCognitiveServicesAccount.Serialization.cs
index 425b343f..e20c8b8d 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DefaultCognitiveServicesAccount.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DefaultCognitiveServicesAccount.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/CognitiveSearch/CognitiveSearch/Generated/Models/DefaultCognitiveServicesAccount.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DefaultCognitiveServicesAccount.cs
index 570fcee7..23e605c2 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DefaultCognitiveServicesAccount.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DefaultCognitiveServicesAccount.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// An empty object that represents the default cognitive service resource for a skillset.
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DictionaryDecompounderTokenFilter.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DictionaryDecompounderTokenFilter.Serialization.cs
index 97ae9e68..33194adf 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DictionaryDecompounderTokenFilter.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DictionaryDecompounderTokenFilter.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/CognitiveSearch/CognitiveSearch/Generated/Models/DictionaryDecompounderTokenFilter.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DictionaryDecompounderTokenFilter.cs
index 1570a5e2..e31cc785 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DictionaryDecompounderTokenFilter.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DictionaryDecompounderTokenFilter.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System.Collections.Generic;
namespace CognitiveSearch.Models
@@ -14,7 +16,7 @@ namespace CognitiveSearch.Models
OdataType = "#Microsoft.Azure.Search.DictionaryDecompounderTokenFilter";
}
/// The list of words to match against.
- public ICollection WordList { get; set; } = new List();
+ public ICollection WordList { get; set; } = new System.Collections.Generic.List();
/// The minimum word size. Only words longer than this get processed. Default is 5. Maximum is 300.
public int? MinWordSize { get; set; }
/// The minimum subword size. Only subwords longer than this are outputted. Default is 2. Maximum is 300.
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DistanceScoringFunction.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DistanceScoringFunction.Serialization.cs
index ac1a1b8a..78deb8ef 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DistanceScoringFunction.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DistanceScoringFunction.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/CognitiveSearch/CognitiveSearch/Generated/Models/DistanceScoringFunction.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DistanceScoringFunction.cs
index 4b0d2255..d8894300 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DistanceScoringFunction.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DistanceScoringFunction.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// Defines a function that boosts scores based on distance from a geographic location.
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DistanceScoringParameters.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DistanceScoringParameters.Serialization.cs
index c25f6c10..ba2c48bc 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DistanceScoringParameters.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DistanceScoringParameters.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/CognitiveSearch/CognitiveSearch/Generated/Models/DistanceScoringParameters.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DistanceScoringParameters.cs
index fb92243a..b0c26657 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DistanceScoringParameters.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/DistanceScoringParameters.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// Provides parameter values to a distance scoring function.
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenFilter.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenFilter.Serialization.cs
index b79750d5..3a07eaca 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenFilter.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenFilter.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/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenFilter.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenFilter.cs
index 883c023d..4fa01b71 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenFilter.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenFilter.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// Generates n-grams of the given size(s) starting from the front or the back of an input token. This token filter is implemented using Apache Lucene.
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenFilterSide.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenFilterSide.Serialization.cs
index 87ce01e7..10118bdd 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenFilterSide.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenFilterSide.Serialization.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System;
namespace CognitiveSearch.Models
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenFilterSide.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenFilterSide.cs
index 5ddeede1..e0cba0c0 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenFilterSide.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenFilterSide.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// Specifies which side of the input an n-gram should be generated from.
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenFilterV2.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenFilterV2.Serialization.cs
index f3515730..7b715bbf 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenFilterV2.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenFilterV2.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/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenFilterV2.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenFilterV2.cs
index 74605b49..9a04a45e 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenFilterV2.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenFilterV2.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// Generates n-grams of the given size(s) starting from the front or the back of an input token. This token filter is implemented using Apache Lucene.
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenizer.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenizer.Serialization.cs
index c1a3d2f7..b1a1bc33 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenizer.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenizer.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/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenizer.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenizer.cs
index 3201a5ab..d164f13d 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenizer.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EdgeNGramTokenizer.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System.Collections.Generic;
namespace CognitiveSearch.Models
@@ -18,6 +20,6 @@ namespace CognitiveSearch.Models
/// The maximum n-gram length. Default is 2. Maximum is 300.
public int? MaxGram { get; set; }
/// Character classes to keep in the tokens.
- public ICollection? TokenChars { get; set; }
+ public ICollection TokenChars { get; set; }
}
}
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ElisionTokenFilter.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ElisionTokenFilter.Serialization.cs
index 00832924..4f4ce501 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ElisionTokenFilter.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ElisionTokenFilter.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/CognitiveSearch/CognitiveSearch/Generated/Models/ElisionTokenFilter.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ElisionTokenFilter.cs
index 74153413..1a561a13 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ElisionTokenFilter.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ElisionTokenFilter.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System.Collections.Generic;
namespace CognitiveSearch.Models
@@ -14,6 +16,6 @@ namespace CognitiveSearch.Models
OdataType = "#Microsoft.Azure.Search.ElisionTokenFilter";
}
/// The set of articles to remove.
- public ICollection? Articles { get; set; }
+ public ICollection Articles { get; set; }
}
}
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EntityCategory.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EntityCategory.Serialization.cs
index 43fa26dc..132f4830 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EntityCategory.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EntityCategory.Serialization.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System;
namespace CognitiveSearch.Models
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EntityCategory.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EntityCategory.cs
index 5f8ac37d..e3ce8424 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EntityCategory.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EntityCategory.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// A string indicating what entity categories to return.
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EntityRecognitionSkill.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EntityRecognitionSkill.Serialization.cs
index 9b5d27cc..48f6832b 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EntityRecognitionSkill.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EntityRecognitionSkill.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/CognitiveSearch/CognitiveSearch/Generated/Models/EntityRecognitionSkill.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EntityRecognitionSkill.cs
index 7de6227a..3f6275d8 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EntityRecognitionSkill.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EntityRecognitionSkill.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System.Collections.Generic;
namespace CognitiveSearch.Models
@@ -14,7 +16,7 @@ namespace CognitiveSearch.Models
OdataType = "#Microsoft.Skills.Text.EntityRecognitionSkill";
}
/// A list of entity categories that should be extracted.
- public ICollection? Categories { get; set; }
+ public ICollection Categories { get; set; }
/// The language codes supported for input text by EntityRecognitionSkill.
public EntityRecognitionSkillLanguage? DefaultLanguageCode { get; set; }
/// Determines whether or not to include entities which are well known but don't conform to a pre-defined type. If this configuration is not set (default), set to null or set to false, entities which don't conform to one of the pre-defined types will not be surfaced.
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EntityRecognitionSkillLanguage.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EntityRecognitionSkillLanguage.cs
index 47e670ac..f81f9e85 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EntityRecognitionSkillLanguage.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/EntityRecognitionSkillLanguage.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 CognitiveSearch.Models
/// The language codes supported for input text by EntityRecognitionSkill.
public readonly partial struct EntityRecognitionSkillLanguage : IEquatable
{
- private readonly string? _value;
+ private readonly string _value;
/// Determines if two values are the same.
public EntityRecognitionSkillLanguage(string value)
@@ -96,7 +98,7 @@ namespace CognitiveSearch.Models
///
[EditorBrowsable(EditorBrowsableState.Never)]
- public override bool Equals(object? obj) => obj is EntityRecognitionSkillLanguage other && Equals(other);
+ public override bool Equals(object obj) => obj is EntityRecognitionSkillLanguage other && Equals(other);
///
public bool Equals(EntityRecognitionSkillLanguage other) => string.Equals(_value, other._value, StringComparison.Ordinal);
@@ -104,6 +106,6 @@ namespace CognitiveSearch.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/CognitiveSearch/CognitiveSearch/Generated/Models/FacetResult.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FacetResult.Serialization.cs
index f67ebb7f..678d00d2 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FacetResult.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FacetResult.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/CognitiveSearch/CognitiveSearch/Generated/Models/FacetResult.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FacetResult.cs
index 6c22e261..254c2e6b 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FacetResult.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FacetResult.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System.Collections;
using System.Collections.Generic;
@@ -11,7 +13,7 @@ namespace CognitiveSearch.Models
{
/// The approximate count of documents falling within the bucket described by this facet.
public long? Count { get; internal set; }
- private readonly IDictionary _additionalProperties = new Dictionary();
+ private readonly IDictionary _additionalProperties = new System.Collections.Generic.Dictionary();
///
public IEnumerator> GetEnumerator() => _additionalProperties.GetEnumerator();
///
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Field.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Field.Serialization.cs
index ee1aea45..3f799306 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Field.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Field.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/CognitiveSearch/CognitiveSearch/Generated/Models/Field.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Field.cs
index 167c1b34..3eef3543 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Field.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Field.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System.Collections.Generic;
namespace CognitiveSearch.Models
@@ -31,8 +33,8 @@ namespace CognitiveSearch.Models
/// Defines the names of all text analyzers supported by Azure Cognitive Search.
public AnalyzerName? IndexAnalyzer { get; set; }
/// A list of the names of synonym maps to associate with this field. This option can be used only with searchable fields. Currently only one synonym map per field is supported. Assigning a synonym map to a field ensures that query terms targeting that field are expanded at query-time using the rules in the synonym map. This attribute can be changed on existing fields. Must be null or an empty collection for complex fields.
- public ICollection? SynonymMaps { get; set; }
+ public ICollection SynonymMaps { get; set; }
/// A list of sub-fields if this is a field of type Edm.ComplexType or Collection(Edm.ComplexType). Must be null or empty for simple fields.
- public ICollection? Fields { get; set; }
+ public ICollection Fields { get; set; }
}
}
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FieldMapping.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FieldMapping.Serialization.cs
index ae292b20..2ed13e61 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FieldMapping.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FieldMapping.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/CognitiveSearch/CognitiveSearch/Generated/Models/FieldMapping.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FieldMapping.cs
index 5cfbbf1f..fc842379 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FieldMapping.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FieldMapping.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// Defines a mapping between a field in a data source and a target field in an index.
@@ -9,8 +11,8 @@ namespace CognitiveSearch.Models
/// The name of the field in the data source.
public string SourceFieldName { get; set; }
/// The name of the target field in the index. Same as the source field name by default.
- public string? TargetFieldName { get; set; }
+ public string TargetFieldName { get; set; }
/// Represents a function that transforms a value from a data source before indexing.
- public FieldMappingFunction? MappingFunction { get; set; }
+ public FieldMappingFunction MappingFunction { get; set; }
}
}
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FieldMappingFunction.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FieldMappingFunction.Serialization.cs
index 496896d5..0851f77c 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FieldMappingFunction.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FieldMappingFunction.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/CognitiveSearch/CognitiveSearch/Generated/Models/FieldMappingFunction.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FieldMappingFunction.cs
index bd155408..3006b856 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FieldMappingFunction.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FieldMappingFunction.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System.Collections.Generic;
namespace CognitiveSearch.Models
@@ -11,6 +13,6 @@ namespace CognitiveSearch.Models
/// The name of the field mapping function.
public string Name { get; set; }
/// A dictionary of parameter name/value pairs to pass to the function. Each value must be of a primitive type.
- public IDictionary? Parameters { get; set; }
+ public IDictionary Parameters { get; set; }
}
}
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FreshnessScoringFunction.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FreshnessScoringFunction.Serialization.cs
index ac67f66b..ec5f92e8 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FreshnessScoringFunction.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FreshnessScoringFunction.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/CognitiveSearch/CognitiveSearch/Generated/Models/FreshnessScoringFunction.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FreshnessScoringFunction.cs
index 53a169ec..ced81bc2 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FreshnessScoringFunction.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FreshnessScoringFunction.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// Defines a function that boosts scores based on the value of a date-time field.
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FreshnessScoringParameters.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FreshnessScoringParameters.Serialization.cs
index 300d3595..dc53daf5 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FreshnessScoringParameters.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FreshnessScoringParameters.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/CognitiveSearch/CognitiveSearch/Generated/Models/FreshnessScoringParameters.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FreshnessScoringParameters.cs
index bfe4c14d..c70ca656 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FreshnessScoringParameters.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/FreshnessScoringParameters.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System;
namespace CognitiveSearch.Models
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/GetIndexStatisticsResult.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/GetIndexStatisticsResult.Serialization.cs
index 23eeda9a..2bc305e0 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/GetIndexStatisticsResult.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/GetIndexStatisticsResult.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/CognitiveSearch/CognitiveSearch/Generated/Models/GetIndexStatisticsResult.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/GetIndexStatisticsResult.cs
index 48325aa2..b0d563a2 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/GetIndexStatisticsResult.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/GetIndexStatisticsResult.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// Statistics for a given index. Statistics are collected periodically and are not guaranteed to always be up-to-date.
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/HighWaterMarkChangeDetectionPolicy.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/HighWaterMarkChangeDetectionPolicy.Serialization.cs
index 9fd716fd..9da6b866 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/HighWaterMarkChangeDetectionPolicy.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/HighWaterMarkChangeDetectionPolicy.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/CognitiveSearch/CognitiveSearch/Generated/Models/HighWaterMarkChangeDetectionPolicy.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/HighWaterMarkChangeDetectionPolicy.cs
index e1d90370..56895fff 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/HighWaterMarkChangeDetectionPolicy.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/HighWaterMarkChangeDetectionPolicy.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// Defines a data change detection policy that captures changes based on the value of a high water mark column.
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ImageAnalysisSkill.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ImageAnalysisSkill.Serialization.cs
index 6f5a440b..aae530af 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ImageAnalysisSkill.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ImageAnalysisSkill.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/CognitiveSearch/CognitiveSearch/Generated/Models/ImageAnalysisSkill.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ImageAnalysisSkill.cs
index c09b9e71..f0e86f7e 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ImageAnalysisSkill.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ImageAnalysisSkill.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System.Collections.Generic;
namespace CognitiveSearch.Models
@@ -16,8 +18,8 @@ namespace CognitiveSearch.Models
/// The language codes supported for input by ImageAnalysisSkill.
public ImageAnalysisSkillLanguage? DefaultLanguageCode { get; set; }
/// A list of visual features.
- public ICollection? VisualFeatures { get; set; }
+ public ICollection VisualFeatures { get; set; }
/// A string indicating which domain-specific details to return.
- public ICollection? Details { get; set; }
+ public ICollection Details { get; set; }
}
}
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ImageAnalysisSkillLanguage.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ImageAnalysisSkillLanguage.cs
index 0d20fba2..8c4a2fd4 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ImageAnalysisSkillLanguage.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ImageAnalysisSkillLanguage.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 CognitiveSearch.Models
/// The language codes supported for input by ImageAnalysisSkill.
public readonly partial struct ImageAnalysisSkillLanguage : IEquatable
{
- private readonly string? _value;
+ private readonly string _value;
/// Determines if two values are the same.
public ImageAnalysisSkillLanguage(string value)
@@ -33,7 +35,7 @@ namespace CognitiveSearch.Models
///
[EditorBrowsable(EditorBrowsableState.Never)]
- public override bool Equals(object? obj) => obj is ImageAnalysisSkillLanguage other && Equals(other);
+ public override bool Equals(object obj) => obj is ImageAnalysisSkillLanguage other && Equals(other);
///
public bool Equals(ImageAnalysisSkillLanguage other) => string.Equals(_value, other._value, StringComparison.Ordinal);
@@ -41,6 +43,6 @@ namespace CognitiveSearch.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/CognitiveSearch/CognitiveSearch/Generated/Models/ImageDetail.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ImageDetail.Serialization.cs
index 68a63714..788712b5 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ImageDetail.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ImageDetail.Serialization.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System;
namespace CognitiveSearch.Models
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ImageDetail.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ImageDetail.cs
index 2bf6f177..0ea4fede 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ImageDetail.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/ImageDetail.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// A string indicating which domain-specific details to return.
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Index.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Index.Serialization.cs
index b2da167b..1bdff50a 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Index.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Index.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/CognitiveSearch/CognitiveSearch/Generated/Models/Index.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Index.cs
index 141005ab..f4e42f67 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Index.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Index.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System.Collections.Generic;
namespace CognitiveSearch.Models
@@ -11,24 +13,24 @@ namespace CognitiveSearch.Models
/// The name of the index.
public string Name { get; set; }
/// The fields of the index.
- public ICollection Fields { get; set; } = new List();
+ public ICollection Fields { get; set; } = new System.Collections.Generic.List();
/// The scoring profiles for the index.
- public ICollection? ScoringProfiles { get; set; }
+ public ICollection ScoringProfiles { get; set; }
/// The name of the scoring profile to use if none is specified in the query. If this property is not set and no scoring profile is specified in the query, then default scoring (tf-idf) will be used.
- public string? DefaultScoringProfile { get; set; }
+ public string DefaultScoringProfile { get; set; }
/// Defines options to control Cross-Origin Resource Sharing (CORS) for an index.
- public CorsOptions? CorsOptions { get; set; }
+ public CorsOptions CorsOptions { get; set; }
/// The suggesters for the index.
- public ICollection? Suggesters { get; set; }
+ public ICollection Suggesters { get; set; }
/// The analyzers for the index.
- public ICollection? Analyzers { get; set; }
+ public ICollection Analyzers { get; set; }
/// The tokenizers for the index.
- public ICollection? Tokenizers { get; set; }
+ public ICollection Tokenizers { get; set; }
/// The token filters for the index.
- public ICollection? TokenFilters { get; set; }
+ public ICollection TokenFilters { get; set; }
/// The character filters for the index.
- public ICollection? CharFilters { get; set; }
+ public ICollection CharFilters { get; set; }
/// The ETag of the index.
- public string? ETag { get; set; }
+ public string ETag { get; set; }
}
}
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexAction.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexAction.Serialization.cs
index c16f0b6d..fb61641a 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexAction.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexAction.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/CognitiveSearch/CognitiveSearch/Generated/Models/IndexAction.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexAction.cs
index 372eb8fe..4b4bc143 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexAction.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexAction.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System.Collections;
using System.Collections.Generic;
@@ -11,7 +13,7 @@ namespace CognitiveSearch.Models
{
/// The operation to perform on a document in an indexing batch.
public IndexActionType? ActionType { get; set; }
- private readonly IDictionary _additionalProperties = new Dictionary();
+ private readonly IDictionary _additionalProperties = new System.Collections.Generic.Dictionary();
///
public IEnumerator> GetEnumerator() => _additionalProperties.GetEnumerator();
///
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexActionType.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexActionType.Serialization.cs
index c86486d4..82f7cdc6 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexActionType.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexActionType.Serialization.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System;
namespace CognitiveSearch.Models
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexActionType.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexActionType.cs
index 925f4689..8d90b11e 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexActionType.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexActionType.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
namespace CognitiveSearch.Models
{
/// The operation to perform on a document in an indexing batch.
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexBatch.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexBatch.Serialization.cs
index 1c5d00d3..f176c2ec 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexBatch.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexBatch.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/CognitiveSearch/CognitiveSearch/Generated/Models/IndexBatch.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexBatch.cs
index 1a0f74f0..3810f85c 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexBatch.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexBatch.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System.Collections.Generic;
namespace CognitiveSearch.Models
@@ -9,6 +11,6 @@ namespace CognitiveSearch.Models
public partial class IndexBatch
{
/// The actions in the batch.
- public ICollection Actions { get; set; } = new List();
+ public ICollection Actions { get; set; } = new System.Collections.Generic.List();
}
}
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexDocumentsResult.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexDocumentsResult.Serialization.cs
index 0e77439c..60bc3f5b 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexDocumentsResult.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexDocumentsResult.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/CognitiveSearch/CognitiveSearch/Generated/Models/IndexDocumentsResult.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexDocumentsResult.cs
index c8e38833..086cf6f9 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexDocumentsResult.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexDocumentsResult.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System.Collections.Generic;
namespace CognitiveSearch.Models
@@ -9,6 +11,6 @@ namespace CognitiveSearch.Models
public partial class IndexDocumentsResult
{
/// The list of status information for each document in the indexing request.
- public ICollection? Results { get; internal set; }
+ public ICollection Results { get; internal set; }
}
}
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Indexer.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Indexer.Serialization.cs
index a4e1f932..51aa596d 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Indexer.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Indexer.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/CognitiveSearch/CognitiveSearch/Generated/Models/Indexer.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Indexer.cs
index 994ba0ea..fb5fd22e 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Indexer.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/Indexer.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System.Collections.Generic;
namespace CognitiveSearch.Models
@@ -11,24 +13,24 @@ namespace CognitiveSearch.Models
/// The name of the indexer.
public string Name { get; set; }
/// The description of the indexer.
- public string? Description { get; set; }
+ public string Description { get; set; }
/// The name of the datasource from which this indexer reads data.
public string DataSourceName { get; set; }
/// The name of the skillset executing with this indexer.
- public string? SkillsetName { get; set; }
+ public string SkillsetName { get; set; }
/// The name of the index to which this indexer writes data.
public string TargetIndexName { get; set; }
/// Represents a schedule for indexer execution.
- public IndexingSchedule? Schedule { get; set; }
+ public IndexingSchedule Schedule { get; set; }
/// Represents parameters for indexer execution.
- public IndexingParameters? Parameters { get; set; }
+ public IndexingParameters Parameters { get; set; }
/// Defines mappings between fields in the data source and corresponding target fields in the index.
- public ICollection? FieldMappings { get; set; }
+ public ICollection FieldMappings { get; set; }
/// Output field mappings are applied after enrichment and immediately before indexing.
- public ICollection? OutputFieldMappings { get; set; }
+ public ICollection OutputFieldMappings { get; set; }
/// A value indicating whether the indexer is disabled. Default is false.
public bool? IsDisabled { get; set; }
/// The ETag of the Indexer.
- public string? ETag { get; set; }
+ public string ETag { get; set; }
}
}
diff --git a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexerExecutionInfo.Serialization.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexerExecutionInfo.Serialization.cs
index 6ee0a1b9..944c8978 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexerExecutionInfo.Serialization.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexerExecutionInfo.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/CognitiveSearch/CognitiveSearch/Generated/Models/IndexerExecutionInfo.cs b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexerExecutionInfo.cs
index 7449d13f..6460bf73 100644
--- a/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexerExecutionInfo.cs
+++ b/samples/CognitiveSearch/CognitiveSearch/Generated/Models/IndexerExecutionInfo.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#nullable disable
+
using System.Collections.Generic;
namespace CognitiveSearch.Models
@@ -11,10 +13,10 @@ namespace CognitiveSearch.Models
/// Represents the overall indexer status.
public IndexerStatus? Status { get; internal set; }
/// Represents the result of an individual indexer execution.
- public IndexerExecutionResult? LastResult { get; internal set; }
+ public IndexerExecutionResult LastResult { get; internal set; }
/// History of the recent indexer executions, sorted in reverse chronological order.
- public ICollection? ExecutionHistory { get; internal set; }
+ public ICollection ExecutionHistory { get; internal set; }
///