Disable nullable reference type generation (#431)
This commit is contained in:
Родитель
842aee05c4
Коммит
46fb310c7f
|
@ -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
|
|||
/// <summary> MISSING·SCHEMA-DESCRIPTION-CHOICE. </summary>
|
||||
public readonly partial struct Enum0 : IEquatable<Enum0>
|
||||
{
|
||||
private readonly string? _value;
|
||||
private readonly string _value;
|
||||
|
||||
/// <summary> Determines if two <see cref="Enum0"/> values are the same. </summary>
|
||||
public Enum0(string value)
|
||||
|
@ -51,7 +53,7 @@ namespace AppConfiguration.Models
|
|||
|
||||
/// <inheritdoc />
|
||||
[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);
|
||||
/// <inheritdoc />
|
||||
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;
|
||||
/// <inheritdoc />
|
||||
public override string? ToString() => _value;
|
||||
public override string ToString() => _value;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,19 +1,21 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace AppConfiguration.Models
|
||||
{
|
||||
/// <summary> Azure App Configuration error object. </summary>
|
||||
public partial class Error
|
||||
{
|
||||
/// <summary> The type of the error. </summary>
|
||||
public string? Type { get; set; }
|
||||
public string Type { get; set; }
|
||||
/// <summary> A brief summary of the error. </summary>
|
||||
public string? Title { get; set; }
|
||||
public string Title { get; set; }
|
||||
/// <summary> The name of the parameter that resulted in the error. </summary>
|
||||
public string? Name { get; set; }
|
||||
public string Name { get; set; }
|
||||
/// <summary> A detailed description of the error. </summary>
|
||||
public string? Detail { get; set; }
|
||||
public string Detail { get; set; }
|
||||
/// <summary> The HTTP status code that the error maps to. </summary>
|
||||
public int? Status { get; set; }
|
||||
}
|
||||
|
|
|
@ -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
|
|||
/// <summary> MISSING·SCHEMA-DESCRIPTION-CHOICE. </summary>
|
||||
public readonly partial struct Get6ItemsItem : IEquatable<Get6ItemsItem>
|
||||
{
|
||||
private readonly string? _value;
|
||||
private readonly string _value;
|
||||
|
||||
/// <summary> Determines if two <see cref="Get6ItemsItem"/> values are the same. </summary>
|
||||
public Get6ItemsItem(string value)
|
||||
|
@ -51,7 +53,7 @@ namespace AppConfiguration.Models
|
|||
|
||||
/// <inheritdoc />
|
||||
[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);
|
||||
/// <inheritdoc />
|
||||
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;
|
||||
/// <inheritdoc />
|
||||
public override string? ToString() => _value;
|
||||
public override string ToString() => _value;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
|||
/// <summary> MISSING·SCHEMA-DESCRIPTION-CHOICE. </summary>
|
||||
public readonly partial struct Get7ItemsItem : IEquatable<Get7ItemsItem>
|
||||
{
|
||||
private readonly string? _value;
|
||||
private readonly string _value;
|
||||
|
||||
/// <summary> Determines if two <see cref="Get7ItemsItem"/> values are the same. </summary>
|
||||
public Get7ItemsItem(string value)
|
||||
|
@ -51,7 +53,7 @@ namespace AppConfiguration.Models
|
|||
|
||||
/// <inheritdoc />
|
||||
[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);
|
||||
/// <inheritdoc />
|
||||
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;
|
||||
/// <inheritdoc />
|
||||
public override string? ToString() => _value;
|
||||
public override string ToString() => _value;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
|||
/// <summary> MISSING·SCHEMA-DESCRIPTION-CHOICE. </summary>
|
||||
public readonly partial struct Head6ItemsItem : IEquatable<Head6ItemsItem>
|
||||
{
|
||||
private readonly string? _value;
|
||||
private readonly string _value;
|
||||
|
||||
/// <summary> Determines if two <see cref="Head6ItemsItem"/> values are the same. </summary>
|
||||
public Head6ItemsItem(string value)
|
||||
|
@ -51,7 +53,7 @@ namespace AppConfiguration.Models
|
|||
|
||||
/// <inheritdoc />
|
||||
[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);
|
||||
/// <inheritdoc />
|
||||
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;
|
||||
/// <inheritdoc />
|
||||
public override string? ToString() => _value;
|
||||
public override string ToString() => _value;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
|||
/// <summary> MISSING·SCHEMA-DESCRIPTION-CHOICE. </summary>
|
||||
public readonly partial struct Head7ItemsItem : IEquatable<Head7ItemsItem>
|
||||
{
|
||||
private readonly string? _value;
|
||||
private readonly string _value;
|
||||
|
||||
/// <summary> Determines if two <see cref="Head7ItemsItem"/> values are the same. </summary>
|
||||
public Head7ItemsItem(string value)
|
||||
|
@ -51,7 +53,7 @@ namespace AppConfiguration.Models
|
|||
|
||||
/// <inheritdoc />
|
||||
[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);
|
||||
/// <inheritdoc />
|
||||
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;
|
||||
/// <inheritdoc />
|
||||
public override string? ToString() => _value;
|
||||
public override string ToString() => _value;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace AppConfiguration.Models
|
||||
{
|
||||
/// <summary> MISSING·SCHEMA-DESCRIPTION-OBJECTSCHEMA. </summary>
|
||||
public partial class Key
|
||||
{
|
||||
public string? Name { get; internal set; }
|
||||
public string Name { get; internal set; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
{
|
||||
/// <summary> The collection value. </summary>
|
||||
public ICollection<Key>? Items { get; set; }
|
||||
public ICollection<Key> Items { get; set; }
|
||||
/// <summary> The URI that can be used to request the next set of paged results. </summary>
|
||||
public string? NextLink { get; set; }
|
||||
public string NextLink { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
|||
/// <summary> MISSING·SCHEMA-DESCRIPTION-OBJECTSCHEMA. </summary>
|
||||
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; }
|
||||
/// <summary> MISSING·SCHEMA-DESCRIPTION-DATETIME. </summary>
|
||||
public DateTimeOffset? LastModified { get; set; }
|
||||
/// <summary> Dictionary of <paths·keys·get·parameters·0·schema>. </summary>
|
||||
public IDictionary<string, string>? Tags { get; set; }
|
||||
public IDictionary<string, string> Tags { get; set; }
|
||||
/// <summary> MISSING·SCHEMA-DESCRIPTION-BOOLEAN. </summary>
|
||||
public bool? Locked { get; set; }
|
||||
public string? Etag { get; set; }
|
||||
public string Etag { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
{
|
||||
/// <summary> The collection value. </summary>
|
||||
public ICollection<KeyValue>? Items { get; set; }
|
||||
public ICollection<KeyValue> Items { get; set; }
|
||||
/// <summary> The URI that can be used to request the next set of paged results. </summary>
|
||||
public string? NextLink { get; set; }
|
||||
public string NextLink { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace AppConfiguration.Models
|
||||
{
|
||||
/// <summary> MISSING·SCHEMA-DESCRIPTION-OBJECTSCHEMA. </summary>
|
||||
public partial class Label
|
||||
{
|
||||
public string? Name { get; internal set; }
|
||||
public string Name { get; internal set; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
{
|
||||
/// <summary> The collection value. </summary>
|
||||
public ICollection<Label>? Items { get; set; }
|
||||
public ICollection<Label> Items { get; set; }
|
||||
/// <summary> The URI that can be used to request the next set of paged results. </summary>
|
||||
public string? NextLink { get; set; }
|
||||
public string NextLink { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
/// <summary> Initializes a new instance of AllOperations. </summary>
|
||||
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
|
|||
/// <param name="after"> Instructs the server to return elements that appear after the element referred to by the specified token. </param>
|
||||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public async ValueTask<ResponseWithHeaders<KeyListResult, GetKeysHeaders>> GetKeysAsync(string? name, string? after, string? acceptDatetime, CancellationToken cancellationToken = default)
|
||||
public async ValueTask<ResponseWithHeaders<KeyListResult, GetKeysHeaders>> GetKeysAsync(string name, string after, string acceptDatetime, CancellationToken cancellationToken = default)
|
||||
{
|
||||
|
||||
using var scope = clientDiagnostics.CreateScope("AllOperations.GetKeys");
|
||||
|
@ -104,7 +106,7 @@ namespace AppConfiguration
|
|||
/// <param name="after"> Instructs the server to return elements that appear after the element referred to by the specified token. </param>
|
||||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public ResponseWithHeaders<KeyListResult, GetKeysHeaders> GetKeys(string? name, string? after, string? acceptDatetime, CancellationToken cancellationToken = default)
|
||||
public ResponseWithHeaders<KeyListResult, GetKeysHeaders> 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
|
|||
/// <param name="after"> Instructs the server to return elements that appear after the element referred to by the specified token. </param>
|
||||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public async ValueTask<ResponseWithHeaders<CheckKeysHeaders>> CheckKeysAsync(string? name, string? after, string? acceptDatetime, CancellationToken cancellationToken = default)
|
||||
public async ValueTask<ResponseWithHeaders<CheckKeysHeaders>> CheckKeysAsync(string name, string after, string acceptDatetime, CancellationToken cancellationToken = default)
|
||||
{
|
||||
|
||||
using var scope = clientDiagnostics.CreateScope("AllOperations.CheckKeys");
|
||||
|
@ -194,7 +196,7 @@ namespace AppConfiguration
|
|||
/// <param name="after"> Instructs the server to return elements that appear after the element referred to by the specified token. </param>
|
||||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public ResponseWithHeaders<CheckKeysHeaders> CheckKeys(string? name, string? after, string? acceptDatetime, CancellationToken cancellationToken = default)
|
||||
public ResponseWithHeaders<CheckKeysHeaders> 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<Get6ItemsItem>? select)
|
||||
internal HttpMessage CreateGetKeyValuesRequest(string key, string label, string after, string acceptDatetime, IEnumerable<Get6ItemsItem> select)
|
||||
{
|
||||
var message = pipeline.CreateMessage();
|
||||
var request = message.Request;
|
||||
|
@ -261,7 +263,7 @@ namespace AppConfiguration
|
|||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="select"> Used to select what fields are present in the returned resource(s). </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public async ValueTask<ResponseWithHeaders<KeyValueListResult, GetKeyValuesHeaders>> GetKeyValuesAsync(string? key, string? label, string? after, string? acceptDatetime, IEnumerable<Get6ItemsItem>? select, CancellationToken cancellationToken = default)
|
||||
public async ValueTask<ResponseWithHeaders<KeyValueListResult, GetKeyValuesHeaders>> GetKeyValuesAsync(string key, string label, string after, string acceptDatetime, IEnumerable<Get6ItemsItem> select, CancellationToken cancellationToken = default)
|
||||
{
|
||||
|
||||
using var scope = clientDiagnostics.CreateScope("AllOperations.GetKeyValues");
|
||||
|
@ -296,7 +298,7 @@ namespace AppConfiguration
|
|||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="select"> Used to select what fields are present in the returned resource(s). </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public ResponseWithHeaders<KeyValueListResult, GetKeyValuesHeaders> GetKeyValues(string? key, string? label, string? after, string? acceptDatetime, IEnumerable<Get6ItemsItem>? select, CancellationToken cancellationToken = default)
|
||||
public ResponseWithHeaders<KeyValueListResult, GetKeyValuesHeaders> GetKeyValues(string key, string label, string after, string acceptDatetime, IEnumerable<Get6ItemsItem> 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<Head6ItemsItem>? select)
|
||||
internal HttpMessage CreateCheckKeyValuesRequest(string key, string label, string after, string acceptDatetime, IEnumerable<Head6ItemsItem> select)
|
||||
{
|
||||
var message = pipeline.CreateMessage();
|
||||
var request = message.Request;
|
||||
|
@ -367,7 +369,7 @@ namespace AppConfiguration
|
|||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="select"> Used to select what fields are present in the returned resource(s). </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public async ValueTask<ResponseWithHeaders<CheckKeyValuesHeaders>> CheckKeyValuesAsync(string? key, string? label, string? after, string? acceptDatetime, IEnumerable<Head6ItemsItem>? select, CancellationToken cancellationToken = default)
|
||||
public async ValueTask<ResponseWithHeaders<CheckKeyValuesHeaders>> CheckKeyValuesAsync(string key, string label, string after, string acceptDatetime, IEnumerable<Head6ItemsItem> select, CancellationToken cancellationToken = default)
|
||||
{
|
||||
|
||||
using var scope = clientDiagnostics.CreateScope("AllOperations.CheckKeyValues");
|
||||
|
@ -398,7 +400,7 @@ namespace AppConfiguration
|
|||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="select"> Used to select what fields are present in the returned resource(s). </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public ResponseWithHeaders<CheckKeyValuesHeaders> CheckKeyValues(string? key, string? label, string? after, string? acceptDatetime, IEnumerable<Head6ItemsItem>? select, CancellationToken cancellationToken = default)
|
||||
public ResponseWithHeaders<CheckKeyValuesHeaders> CheckKeyValues(string key, string label, string after, string acceptDatetime, IEnumerable<Head6ItemsItem> 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<Get7ItemsItem>? select)
|
||||
internal HttpMessage CreateGetKeyValueRequest(string key, string label, string acceptDatetime, string ifMatch, string ifNoneMatch, IEnumerable<Get7ItemsItem> select)
|
||||
{
|
||||
var message = pipeline.CreateMessage();
|
||||
var request = message.Request;
|
||||
|
@ -467,7 +469,7 @@ namespace AppConfiguration
|
|||
/// <param name="ifNoneMatch"> Used to perform an operation only if the targeted resource's etag does not match the value provided. </param>
|
||||
/// <param name="select"> Used to select what fields are present in the returned resource(s). </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public async ValueTask<ResponseWithHeaders<KeyValue, GetKeyValueHeaders>> GetKeyValueAsync(string key, string? label, string? acceptDatetime, string? ifMatch, string? ifNoneMatch, IEnumerable<Get7ItemsItem>? select, CancellationToken cancellationToken = default)
|
||||
public async ValueTask<ResponseWithHeaders<KeyValue, GetKeyValueHeaders>> GetKeyValueAsync(string key, string label, string acceptDatetime, string ifMatch, string ifNoneMatch, IEnumerable<Get7ItemsItem> select, CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (key == null)
|
||||
{
|
||||
|
@ -507,7 +509,7 @@ namespace AppConfiguration
|
|||
/// <param name="ifNoneMatch"> Used to perform an operation only if the targeted resource's etag does not match the value provided. </param>
|
||||
/// <param name="select"> Used to select what fields are present in the returned resource(s). </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public ResponseWithHeaders<KeyValue, GetKeyValueHeaders> GetKeyValue(string key, string? label, string? acceptDatetime, string? ifMatch, string? ifNoneMatch, IEnumerable<Get7ItemsItem>? select, CancellationToken cancellationToken = default)
|
||||
public ResponseWithHeaders<KeyValue, GetKeyValueHeaders> GetKeyValue(string key, string label, string acceptDatetime, string ifMatch, string ifNoneMatch, IEnumerable<Get7ItemsItem> 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
|
|||
/// <param name="ifNoneMatch"> Used to perform an operation only if the targeted resource's etag does not match the value provided. </param>
|
||||
/// <param name="entity"> The key-value to create. </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public async ValueTask<ResponseWithHeaders<KeyValue, PutKeyValueHeaders>> PutKeyValueAsync(string key, string? label, string? ifMatch, string? ifNoneMatch, KeyValue? entity, CancellationToken cancellationToken = default)
|
||||
public async ValueTask<ResponseWithHeaders<KeyValue, PutKeyValueHeaders>> PutKeyValueAsync(string key, string label, string ifMatch, string ifNoneMatch, KeyValue entity, CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (key == null)
|
||||
{
|
||||
|
@ -623,7 +625,7 @@ namespace AppConfiguration
|
|||
/// <param name="ifNoneMatch"> Used to perform an operation only if the targeted resource's etag does not match the value provided. </param>
|
||||
/// <param name="entity"> The key-value to create. </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public ResponseWithHeaders<KeyValue, PutKeyValueHeaders> PutKeyValue(string key, string? label, string? ifMatch, string? ifNoneMatch, KeyValue? entity, CancellationToken cancellationToken = default)
|
||||
public ResponseWithHeaders<KeyValue, PutKeyValueHeaders> 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
|
|||
/// <param name="label"> A filter used to match labels. </param>
|
||||
/// <param name="ifMatch"> Used to perform an operation only if the targeted resource's etag matches the value provided. </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public async ValueTask<ResponseWithHeaders<KeyValue, DeleteKeyValueHeaders>> DeleteKeyValueAsync(string key, string? label, string? ifMatch, CancellationToken cancellationToken = default)
|
||||
public async ValueTask<ResponseWithHeaders<KeyValue, DeleteKeyValueHeaders>> DeleteKeyValueAsync(string key, string label, string ifMatch, CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (key == null)
|
||||
{
|
||||
|
@ -722,7 +724,7 @@ namespace AppConfiguration
|
|||
/// <param name="label"> A filter used to match labels. </param>
|
||||
/// <param name="ifMatch"> Used to perform an operation only if the targeted resource's etag matches the value provided. </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public ResponseWithHeaders<KeyValue, DeleteKeyValueHeaders> DeleteKeyValue(string key, string? label, string? ifMatch, CancellationToken cancellationToken = default)
|
||||
public ResponseWithHeaders<KeyValue, DeleteKeyValueHeaders> 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<Head7ItemsItem>? select)
|
||||
internal HttpMessage CreateCheckKeyValueRequest(string key, string label, string acceptDatetime, string ifMatch, string ifNoneMatch, IEnumerable<Head7ItemsItem> select)
|
||||
{
|
||||
var message = pipeline.CreateMessage();
|
||||
var request = message.Request;
|
||||
|
@ -799,7 +801,7 @@ namespace AppConfiguration
|
|||
/// <param name="ifNoneMatch"> Used to perform an operation only if the targeted resource's etag does not match the value provided. </param>
|
||||
/// <param name="select"> Used to select what fields are present in the returned resource(s). </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public async ValueTask<ResponseWithHeaders<CheckKeyValueHeaders>> CheckKeyValueAsync(string key, string? label, string? acceptDatetime, string? ifMatch, string? ifNoneMatch, IEnumerable<Head7ItemsItem>? select, CancellationToken cancellationToken = default)
|
||||
public async ValueTask<ResponseWithHeaders<CheckKeyValueHeaders>> CheckKeyValueAsync(string key, string label, string acceptDatetime, string ifMatch, string ifNoneMatch, IEnumerable<Head7ItemsItem> select, CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (key == null)
|
||||
{
|
||||
|
@ -835,7 +837,7 @@ namespace AppConfiguration
|
|||
/// <param name="ifNoneMatch"> Used to perform an operation only if the targeted resource's etag does not match the value provided. </param>
|
||||
/// <param name="select"> Used to select what fields are present in the returned resource(s). </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public ResponseWithHeaders<CheckKeyValueHeaders> CheckKeyValue(string key, string? label, string? acceptDatetime, string? ifMatch, string? ifNoneMatch, IEnumerable<Head7ItemsItem>? select, CancellationToken cancellationToken = default)
|
||||
public ResponseWithHeaders<CheckKeyValueHeaders> CheckKeyValue(string key, string label, string acceptDatetime, string ifMatch, string ifNoneMatch, IEnumerable<Head7ItemsItem> select, CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (key == null)
|
||||
{
|
||||
|
@ -863,7 +865,7 @@ namespace AppConfiguration
|
|||
throw;
|
||||
}
|
||||
}
|
||||
internal HttpMessage CreateGetLabelsRequest(string? name, string? after, string? acceptDatetime, IEnumerable<string>? select)
|
||||
internal HttpMessage CreateGetLabelsRequest(string name, string after, string acceptDatetime, IEnumerable<string> select)
|
||||
{
|
||||
var message = pipeline.CreateMessage();
|
||||
var request = message.Request;
|
||||
|
@ -901,7 +903,7 @@ namespace AppConfiguration
|
|||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="select"> Used to select what fields are present in the returned resource(s). </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public async ValueTask<ResponseWithHeaders<LabelListResult, GetLabelsHeaders>> GetLabelsAsync(string? name, string? after, string? acceptDatetime, IEnumerable<string>? select, CancellationToken cancellationToken = default)
|
||||
public async ValueTask<ResponseWithHeaders<LabelListResult, GetLabelsHeaders>> GetLabelsAsync(string name, string after, string acceptDatetime, IEnumerable<string> select, CancellationToken cancellationToken = default)
|
||||
{
|
||||
|
||||
using var scope = clientDiagnostics.CreateScope("AllOperations.GetLabels");
|
||||
|
@ -935,7 +937,7 @@ namespace AppConfiguration
|
|||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="select"> Used to select what fields are present in the returned resource(s). </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public ResponseWithHeaders<LabelListResult, GetLabelsHeaders> GetLabels(string? name, string? after, string? acceptDatetime, IEnumerable<string>? select, CancellationToken cancellationToken = default)
|
||||
public ResponseWithHeaders<LabelListResult, GetLabelsHeaders> GetLabels(string name, string after, string acceptDatetime, IEnumerable<string> 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<string>? select)
|
||||
internal HttpMessage CreateCheckLabelsRequest(string name, string after, string acceptDatetime, IEnumerable<string> select)
|
||||
{
|
||||
var message = pipeline.CreateMessage();
|
||||
var request = message.Request;
|
||||
|
@ -1001,7 +1003,7 @@ namespace AppConfiguration
|
|||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="select"> Used to select what fields are present in the returned resource(s). </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public async ValueTask<ResponseWithHeaders<CheckLabelsHeaders>> CheckLabelsAsync(string? name, string? after, string? acceptDatetime, IEnumerable<string>? select, CancellationToken cancellationToken = default)
|
||||
public async ValueTask<ResponseWithHeaders<CheckLabelsHeaders>> CheckLabelsAsync(string name, string after, string acceptDatetime, IEnumerable<string> select, CancellationToken cancellationToken = default)
|
||||
{
|
||||
|
||||
using var scope = clientDiagnostics.CreateScope("AllOperations.CheckLabels");
|
||||
|
@ -1031,7 +1033,7 @@ namespace AppConfiguration
|
|||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="select"> Used to select what fields are present in the returned resource(s). </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public ResponseWithHeaders<CheckLabelsHeaders> CheckLabels(string? name, string? after, string? acceptDatetime, IEnumerable<string>? select, CancellationToken cancellationToken = default)
|
||||
public ResponseWithHeaders<CheckLabelsHeaders> CheckLabels(string name, string after, string acceptDatetime, IEnumerable<string> 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
|
|||
/// <param name="ifMatch"> Used to perform an operation only if the targeted resource's etag matches the value provided. </param>
|
||||
/// <param name="ifNoneMatch"> Used to perform an operation only if the targeted resource's etag does not match the value provided. </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public async ValueTask<ResponseWithHeaders<KeyValue, PutLockHeaders>> PutLockAsync(string key, string? label, string? ifMatch, string? ifNoneMatch, CancellationToken cancellationToken = default)
|
||||
public async ValueTask<ResponseWithHeaders<KeyValue, PutLockHeaders>> PutLockAsync(string key, string label, string ifMatch, string ifNoneMatch, CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (key == null)
|
||||
{
|
||||
|
@ -1128,7 +1130,7 @@ namespace AppConfiguration
|
|||
/// <param name="ifMatch"> Used to perform an operation only if the targeted resource's etag matches the value provided. </param>
|
||||
/// <param name="ifNoneMatch"> Used to perform an operation only if the targeted resource's etag does not match the value provided. </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public ResponseWithHeaders<KeyValue, PutLockHeaders> PutLock(string key, string? label, string? ifMatch, string? ifNoneMatch, CancellationToken cancellationToken = default)
|
||||
public ResponseWithHeaders<KeyValue, PutLockHeaders> 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
|
|||
/// <param name="ifMatch"> Used to perform an operation only if the targeted resource's etag matches the value provided. </param>
|
||||
/// <param name="ifNoneMatch"> Used to perform an operation only if the targeted resource's etag does not match the value provided. </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public async ValueTask<ResponseWithHeaders<KeyValue, DeleteLockHeaders>> DeleteLockAsync(string key, string? label, string? ifMatch, string? ifNoneMatch, CancellationToken cancellationToken = default)
|
||||
public async ValueTask<ResponseWithHeaders<KeyValue, DeleteLockHeaders>> DeleteLockAsync(string key, string label, string ifMatch, string ifNoneMatch, CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (key == null)
|
||||
{
|
||||
|
@ -1233,7 +1235,7 @@ namespace AppConfiguration
|
|||
/// <param name="ifMatch"> Used to perform an operation only if the targeted resource's etag matches the value provided. </param>
|
||||
/// <param name="ifNoneMatch"> Used to perform an operation only if the targeted resource's etag does not match the value provided. </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public ResponseWithHeaders<KeyValue, DeleteLockHeaders> DeleteLock(string key, string? label, string? ifMatch, string? ifNoneMatch, CancellationToken cancellationToken = default)
|
||||
public ResponseWithHeaders<KeyValue, DeleteLockHeaders> 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<Enum0>? select)
|
||||
internal HttpMessage CreateGetRevisionsRequest(string key, string label, string after, string acceptDatetime, IEnumerable<Enum0> select)
|
||||
{
|
||||
var message = pipeline.CreateMessage();
|
||||
var request = message.Request;
|
||||
|
@ -1308,7 +1310,7 @@ namespace AppConfiguration
|
|||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="select"> Used to select what fields are present in the returned resource(s). </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public async ValueTask<ResponseWithHeaders<KeyValueListResult, GetRevisionsHeaders>> GetRevisionsAsync(string? key, string? label, string? after, string? acceptDatetime, IEnumerable<Enum0>? select, CancellationToken cancellationToken = default)
|
||||
public async ValueTask<ResponseWithHeaders<KeyValueListResult, GetRevisionsHeaders>> GetRevisionsAsync(string key, string label, string after, string acceptDatetime, IEnumerable<Enum0> select, CancellationToken cancellationToken = default)
|
||||
{
|
||||
|
||||
using var scope = clientDiagnostics.CreateScope("AllOperations.GetRevisions");
|
||||
|
@ -1343,7 +1345,7 @@ namespace AppConfiguration
|
|||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="select"> Used to select what fields are present in the returned resource(s). </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public ResponseWithHeaders<KeyValueListResult, GetRevisionsHeaders> GetRevisions(string? key, string? label, string? after, string? acceptDatetime, IEnumerable<Enum0>? select, CancellationToken cancellationToken = default)
|
||||
public ResponseWithHeaders<KeyValueListResult, GetRevisionsHeaders> GetRevisions(string key, string label, string after, string acceptDatetime, IEnumerable<Enum0> 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<Enum0>? select)
|
||||
internal HttpMessage CreateCheckRevisionsRequest(string key, string label, string after, string acceptDatetime, IEnumerable<Enum0> select)
|
||||
{
|
||||
var message = pipeline.CreateMessage();
|
||||
var request = message.Request;
|
||||
|
@ -1414,7 +1416,7 @@ namespace AppConfiguration
|
|||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="select"> Used to select what fields are present in the returned resource(s). </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public async ValueTask<ResponseWithHeaders<CheckRevisionsHeaders>> CheckRevisionsAsync(string? key, string? label, string? after, string? acceptDatetime, IEnumerable<Enum0>? select, CancellationToken cancellationToken = default)
|
||||
public async ValueTask<ResponseWithHeaders<CheckRevisionsHeaders>> CheckRevisionsAsync(string key, string label, string after, string acceptDatetime, IEnumerable<Enum0> select, CancellationToken cancellationToken = default)
|
||||
{
|
||||
|
||||
using var scope = clientDiagnostics.CreateScope("AllOperations.CheckRevisions");
|
||||
|
@ -1445,7 +1447,7 @@ namespace AppConfiguration
|
|||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="select"> Used to select what fields are present in the returned resource(s). </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public ResponseWithHeaders<CheckRevisionsHeaders> CheckRevisions(string? key, string? label, string? after, string? acceptDatetime, IEnumerable<Enum0>? select, CancellationToken cancellationToken = default)
|
||||
public ResponseWithHeaders<CheckRevisionsHeaders> CheckRevisions(string key, string label, string after, string acceptDatetime, IEnumerable<Enum0> 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
|
|||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="nextLink"> The URL to the next page of results. </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public async ValueTask<ResponseWithHeaders<KeyListResult, GetKeysHeaders>> GetKeysNextPageAsync(string? acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
|
||||
public async ValueTask<ResponseWithHeaders<KeyListResult, GetKeysHeaders>> GetKeysNextPageAsync(string acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (nextLink == null)
|
||||
{
|
||||
|
@ -1527,7 +1529,7 @@ namespace AppConfiguration
|
|||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="nextLink"> The URL to the next page of results. </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public ResponseWithHeaders<KeyListResult, GetKeysHeaders> GetKeysNextPage(string? acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
|
||||
public ResponseWithHeaders<KeyListResult, GetKeysHeaders> 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
|
|||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="nextLink"> The URL to the next page of results. </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public async ValueTask<ResponseWithHeaders<KeyValueListResult, GetKeyValuesHeaders>> GetKeyValuesNextPageAsync(string? acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
|
||||
public async ValueTask<ResponseWithHeaders<KeyValueListResult, GetKeyValuesHeaders>> GetKeyValuesNextPageAsync(string acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (nextLink == null)
|
||||
{
|
||||
|
@ -1617,7 +1619,7 @@ namespace AppConfiguration
|
|||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="nextLink"> The URL to the next page of results. </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public ResponseWithHeaders<KeyValueListResult, GetKeyValuesHeaders> GetKeyValuesNextPage(string? acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
|
||||
public ResponseWithHeaders<KeyValueListResult, GetKeyValuesHeaders> 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
|
|||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="nextLink"> The URL to the next page of results. </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public async ValueTask<ResponseWithHeaders<LabelListResult, GetLabelsHeaders>> GetLabelsNextPageAsync(string? acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
|
||||
public async ValueTask<ResponseWithHeaders<LabelListResult, GetLabelsHeaders>> GetLabelsNextPageAsync(string acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (nextLink == null)
|
||||
{
|
||||
|
@ -1707,7 +1709,7 @@ namespace AppConfiguration
|
|||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="nextLink"> The URL to the next page of results. </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public ResponseWithHeaders<LabelListResult, GetLabelsHeaders> GetLabelsNextPage(string? acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
|
||||
public ResponseWithHeaders<LabelListResult, GetLabelsHeaders> 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
|
|||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="nextLink"> The URL to the next page of results. </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public async ValueTask<ResponseWithHeaders<KeyValueListResult, GetRevisionsHeaders>> GetRevisionsNextPageAsync(string? acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
|
||||
public async ValueTask<ResponseWithHeaders<KeyValueListResult, GetRevisionsHeaders>> GetRevisionsNextPageAsync(string acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (nextLink == null)
|
||||
{
|
||||
|
@ -1797,7 +1799,7 @@ namespace AppConfiguration
|
|||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="nextLink"> The URL to the next page of results. </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public ResponseWithHeaders<KeyValueListResult, GetRevisionsHeaders> GetRevisionsNextPage(string? acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
|
||||
public ResponseWithHeaders<KeyValueListResult, GetRevisionsHeaders> GetRevisionsNextPage(string acceptDatetime, string nextLink, CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (nextLink == null)
|
||||
{
|
||||
|
@ -1834,7 +1836,7 @@ namespace AppConfiguration
|
|||
/// <param name="after"> Instructs the server to return elements that appear after the element referred to by the specified token. </param>
|
||||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public AsyncPageable<Key> GetKeysPageableAsync(string? name, string? after, string? acceptDatetime, CancellationToken cancellationToken = default)
|
||||
public AsyncPageable<Key> GetKeysPageableAsync(string name, string after, string acceptDatetime, CancellationToken cancellationToken = default)
|
||||
{
|
||||
|
||||
async Task<Page<Key>> FirstPageFunc(int? pageSizeHint)
|
||||
|
@ -1854,7 +1856,7 @@ namespace AppConfiguration
|
|||
/// <param name="after"> Instructs the server to return elements that appear after the element referred to by the specified token. </param>
|
||||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public Pageable<Key> GetKeysPageable(string? name, string? after, string? acceptDatetime, CancellationToken cancellationToken = default)
|
||||
public Pageable<Key> GetKeysPageable(string name, string after, string acceptDatetime, CancellationToken cancellationToken = default)
|
||||
{
|
||||
|
||||
Page<Key> FirstPageFunc(int? pageSizeHint)
|
||||
|
@ -1876,7 +1878,7 @@ namespace AppConfiguration
|
|||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="select"> Used to select what fields are present in the returned resource(s). </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public AsyncPageable<KeyValue> GetKeyValuesPageableAsync(string? key, string? label, string? after, string? acceptDatetime, IEnumerable<Get6ItemsItem>? select, CancellationToken cancellationToken = default)
|
||||
public AsyncPageable<KeyValue> GetKeyValuesPageableAsync(string key, string label, string after, string acceptDatetime, IEnumerable<Get6ItemsItem> select, CancellationToken cancellationToken = default)
|
||||
{
|
||||
|
||||
async Task<Page<KeyValue>> FirstPageFunc(int? pageSizeHint)
|
||||
|
@ -1898,7 +1900,7 @@ namespace AppConfiguration
|
|||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="select"> Used to select what fields are present in the returned resource(s). </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public Pageable<KeyValue> GetKeyValuesPageable(string? key, string? label, string? after, string? acceptDatetime, IEnumerable<Get6ItemsItem>? select, CancellationToken cancellationToken = default)
|
||||
public Pageable<KeyValue> GetKeyValuesPageable(string key, string label, string after, string acceptDatetime, IEnumerable<Get6ItemsItem> select, CancellationToken cancellationToken = default)
|
||||
{
|
||||
|
||||
Page<KeyValue> FirstPageFunc(int? pageSizeHint)
|
||||
|
@ -1919,7 +1921,7 @@ namespace AppConfiguration
|
|||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="select"> Used to select what fields are present in the returned resource(s). </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public AsyncPageable<Label> GetLabelsPageableAsync(string? name, string? after, string? acceptDatetime, IEnumerable<string>? select, CancellationToken cancellationToken = default)
|
||||
public AsyncPageable<Label> GetLabelsPageableAsync(string name, string after, string acceptDatetime, IEnumerable<string> select, CancellationToken cancellationToken = default)
|
||||
{
|
||||
|
||||
async Task<Page<Label>> FirstPageFunc(int? pageSizeHint)
|
||||
|
@ -1940,7 +1942,7 @@ namespace AppConfiguration
|
|||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="select"> Used to select what fields are present in the returned resource(s). </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public Pageable<Label> GetLabelsPageable(string? name, string? after, string? acceptDatetime, IEnumerable<string>? select, CancellationToken cancellationToken = default)
|
||||
public Pageable<Label> GetLabelsPageable(string name, string after, string acceptDatetime, IEnumerable<string> select, CancellationToken cancellationToken = default)
|
||||
{
|
||||
|
||||
Page<Label> FirstPageFunc(int? pageSizeHint)
|
||||
|
@ -1962,7 +1964,7 @@ namespace AppConfiguration
|
|||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="select"> Used to select what fields are present in the returned resource(s). </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public AsyncPageable<KeyValue> GetRevisionsPageableAsync(string? key, string? label, string? after, string? acceptDatetime, IEnumerable<Enum0>? select, CancellationToken cancellationToken = default)
|
||||
public AsyncPageable<KeyValue> GetRevisionsPageableAsync(string key, string label, string after, string acceptDatetime, IEnumerable<Enum0> select, CancellationToken cancellationToken = default)
|
||||
{
|
||||
|
||||
async Task<Page<KeyValue>> FirstPageFunc(int? pageSizeHint)
|
||||
|
@ -1984,7 +1986,7 @@ namespace AppConfiguration
|
|||
/// <param name="acceptDatetime"> Requests the server to respond with the state of the resource at the specified time. </param>
|
||||
/// <param name="select"> Used to select what fields are present in the returned resource(s). </param>
|
||||
/// <param name="cancellationToken"> The cancellation token to use. </param>
|
||||
public Pageable<KeyValue> GetRevisionsPageable(string? key, string? label, string? after, string? acceptDatetime, IEnumerable<Enum0>? select, CancellationToken cancellationToken = default)
|
||||
public Pageable<KeyValue> GetRevisionsPageable(string key, string label, string after, string acceptDatetime, IEnumerable<Enum0> select, CancellationToken cancellationToken = default)
|
||||
{
|
||||
|
||||
Page<KeyValue> FirstPageFunc(int? pageSizeHint)
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
|||
/// <summary> Defines the names of all tokenizers supported by Azure Cognitive Search. </summary>
|
||||
public TokenizerName? Tokenizer { get; set; }
|
||||
/// <summary> An optional list of token filters to use when breaking the given text. This parameter can only be set when using the tokenizer parameter. </summary>
|
||||
public ICollection<TokenFilterName>? TokenFilters { get; set; }
|
||||
public ICollection<TokenFilterName> TokenFilters { get; set; }
|
||||
/// <summary> An optional list of character filters to use when breaking the given text. This parameter can only be set when using the tokenizer parameter. </summary>
|
||||
public ICollection<string>? CharFilters { get; set; }
|
||||
public ICollection<string> CharFilters { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
{
|
||||
/// <summary> The list of tokens returned by the analyzer specified in the request. </summary>
|
||||
public ICollection<TokenInfo>? Tokens { get; set; }
|
||||
public ICollection<TokenInfo> Tokens { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace CognitiveSearch.Models
|
||||
{
|
||||
/// <summary> Abstract base class for analyzers. </summary>
|
||||
|
|
|
@ -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
|
|||
/// <summary> Defines the names of all text analyzers supported by Azure Cognitive Search. </summary>
|
||||
public readonly partial struct AnalyzerName : IEquatable<AnalyzerName>
|
||||
{
|
||||
private readonly string? _value;
|
||||
private readonly string _value;
|
||||
|
||||
/// <summary> Determines if two <see cref="AnalyzerName"/> values are the same. </summary>
|
||||
public AnalyzerName(string value)
|
||||
|
@ -306,7 +308,7 @@ namespace CognitiveSearch.Models
|
|||
|
||||
/// <inheritdoc />
|
||||
[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);
|
||||
/// <inheritdoc />
|
||||
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;
|
||||
/// <inheritdoc />
|
||||
public override string? ToString() => _value;
|
||||
public override string ToString() => _value;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace CognitiveSearch.Models
|
||||
{
|
||||
/// <summary> 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. </summary>
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,14 +1,16 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace CognitiveSearch.Models
|
||||
{
|
||||
/// <summary> The result of Autocomplete requests. </summary>
|
||||
public partial class AutocompleteItem
|
||||
{
|
||||
/// <summary> The completed term. </summary>
|
||||
public string? Text { get; internal set; }
|
||||
public string Text { get; internal set; }
|
||||
/// <summary> The query along with the completed term. </summary>
|
||||
public string? QueryPlusText { get; internal set; }
|
||||
public string QueryPlusText { get; internal set; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
using System;
|
||||
|
||||
namespace CognitiveSearch.Models
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace CognitiveSearch.Models
|
||||
{
|
||||
/// <summary> MISSING·SCHEMA-DESCRIPTION-CHOICE. </summary>
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,29 +1,31 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace CognitiveSearch.Models
|
||||
{
|
||||
/// <summary> Parameters for fuzzy matching, and other autocomplete query behaviors. </summary>
|
||||
public partial class AutocompleteRequest
|
||||
{
|
||||
/// <summary> The search text on which to base autocomplete results. </summary>
|
||||
public string? SearchText { get; set; }
|
||||
public string SearchText { get; set; }
|
||||
/// <summary> MISSING·SCHEMA-DESCRIPTION-CHOICE. </summary>
|
||||
public AutocompleteMode? AutocompleteMode { get; set; }
|
||||
/// <summary> An OData expression that filters the documents used to produce completed terms for the Autocomplete result. </summary>
|
||||
public string? Filter { get; set; }
|
||||
public string Filter { get; set; }
|
||||
/// <summary> 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. </summary>
|
||||
public bool? UseFuzzyMatching { get; set; }
|
||||
/// <summary> A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting is disabled. </summary>
|
||||
public string? HighlightPostTag { get; set; }
|
||||
public string HighlightPostTag { get; set; }
|
||||
/// <summary> A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting is disabled. </summary>
|
||||
public string? HighlightPreTag { get; set; }
|
||||
public string HighlightPreTag { get; set; }
|
||||
/// <summary> 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. </summary>
|
||||
public double? MinimumCoverage { get; set; }
|
||||
/// <summary> The comma-separated list of field names to consider when querying for auto-completed terms. Target fields must be included in the specified suggester. </summary>
|
||||
public string? SearchFields { get; set; }
|
||||
public string SearchFields { get; set; }
|
||||
/// <summary> The name of the suggester as specified in the suggesters collection that's part of the index definition. </summary>
|
||||
public string? SuggesterName { get; set; }
|
||||
public string SuggesterName { get; set; }
|
||||
/// <summary> The number of auto-completed terms to retrieve. This must be a value between 1 and 100. The default is 5. </summary>
|
||||
public int? Top { get; set; }
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
|||
/// <summary> 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. </summary>
|
||||
public double? Coverage { get; internal set; }
|
||||
/// <summary> The list of returned Autocompleted items. </summary>
|
||||
public ICollection<AutocompleteItem>? Results { get; internal set; }
|
||||
public ICollection<AutocompleteItem> Results { get; internal set; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace CognitiveSearch.Models
|
||||
{
|
||||
/// <summary> Abstract base class for character filters. </summary>
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
/// <summary> The scripts to ignore. </summary>
|
||||
public ICollection<CjkBigramTokenFilterScripts>? IgnoreScripts { get; set; }
|
||||
public ICollection<CjkBigramTokenFilterScripts> IgnoreScripts { get; set; }
|
||||
/// <summary> A value indicating whether to output both unigrams and bigrams (if true), or just bigrams (if false). Default is false. </summary>
|
||||
public bool? OutputUnigrams { get; set; }
|
||||
}
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
using System;
|
||||
|
||||
namespace CognitiveSearch.Models
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace CognitiveSearch.Models
|
||||
{
|
||||
/// <summary> Scripts that can be ignored by CjkBigramTokenFilter. </summary>
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace CognitiveSearch.Models
|
||||
{
|
||||
/// <summary> Grammar-based tokenizer that is suitable for processing most European-language documents. This tokenizer is implemented using Apache Lucene. </summary>
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace CognitiveSearch.Models
|
||||
{
|
||||
/// <summary> Abstract base class for describing any cognitive service resource attached to the skillset. </summary>
|
||||
|
@ -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; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace CognitiveSearch.Models
|
||||
{
|
||||
/// <summary> A cognitive service resource provisioned with a key that is attached to a skillset. </summary>
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
/// <summary> The set of common words. </summary>
|
||||
public ICollection<string> CommonWords { get; set; } = new List<string>();
|
||||
public ICollection<string> CommonWords { get; set; } = new System.Collections.Generic.List<string>();
|
||||
/// <summary> A value indicating whether common words matching will be case insensitive. Default is false. </summary>
|
||||
public bool? IgnoreCase { get; set; }
|
||||
/// <summary> 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. </summary>
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace CognitiveSearch.Models
|
||||
{
|
||||
/// <summary> MISSING·SCHEMA-DESCRIPTION-OBJECTSCHEMA. </summary>
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace CognitiveSearch.Models
|
||||
{
|
||||
/// <summary> A skill that enables scenarios that require a Boolean operation to determine the data to assign to an output. </summary>
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
{
|
||||
/// <summary> 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). </summary>
|
||||
public ICollection<string> AllowedOrigins { get; set; } = new List<string>();
|
||||
public ICollection<string> AllowedOrigins { get; set; } = new System.Collections.Generic.List<string>();
|
||||
/// <summary> The duration for which browsers should cache CORS preflight responses. Defaults to 5 minutes. </summary>
|
||||
public long? MaxAgeInSeconds { get; set; }
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
|||
/// <summary> Defines the names of all tokenizers supported by Azure Cognitive Search. </summary>
|
||||
public TokenizerName Tokenizer { get; set; }
|
||||
/// <summary> 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. </summary>
|
||||
public ICollection<TokenFilterName>? TokenFilters { get; set; }
|
||||
public ICollection<TokenFilterName> TokenFilters { get; set; }
|
||||
/// <summary> 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. </summary>
|
||||
public ICollection<string>? CharFilters { get; set; }
|
||||
public ICollection<string> CharFilters { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace CognitiveSearch.Models
|
||||
{
|
||||
/// <summary> Abstract base class for data change detection policies. </summary>
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace CognitiveSearch.Models
|
||||
{
|
||||
/// <summary> Represents information about the entity (such as Azure SQL table or CosmosDB collection) that will be indexed. </summary>
|
||||
|
@ -9,6 +11,6 @@ namespace CognitiveSearch.Models
|
|||
/// <summary> The name of the table or view (for Azure SQL data source) or collection (for CosmosDB data source) that will be indexed. </summary>
|
||||
public string Name { get; set; }
|
||||
/// <summary> 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. </summary>
|
||||
public string? Query { get; set; }
|
||||
public string Query { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace CognitiveSearch.Models
|
||||
{
|
||||
/// <summary> Abstract base class for data deletion detection policies. </summary>
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace CognitiveSearch.Models
|
||||
{
|
||||
/// <summary> Represents a datasource definition, which can be used to configure an indexer. </summary>
|
||||
|
@ -9,7 +11,7 @@ namespace CognitiveSearch.Models
|
|||
/// <summary> The name of the datasource. </summary>
|
||||
public string Name { get; set; }
|
||||
/// <summary> The description of the datasource. </summary>
|
||||
public string? Description { get; set; }
|
||||
public string Description { get; set; }
|
||||
/// <summary> Defines the type of a datasource. </summary>
|
||||
public DataSourceType Type { get; set; }
|
||||
/// <summary> Represents credentials that can be used to connect to a datasource. </summary>
|
||||
|
@ -17,10 +19,10 @@ namespace CognitiveSearch.Models
|
|||
/// <summary> Represents information about the entity (such as Azure SQL table or CosmosDB collection) that will be indexed. </summary>
|
||||
public DataContainer Container { get; set; } = new DataContainer();
|
||||
/// <summary> Abstract base class for data change detection policies. </summary>
|
||||
public DataChangeDetectionPolicy? DataChangeDetectionPolicy { get; set; }
|
||||
public DataChangeDetectionPolicy DataChangeDetectionPolicy { get; set; }
|
||||
/// <summary> Abstract base class for data deletion detection policies. </summary>
|
||||
public DataDeletionDetectionPolicy? DataDeletionDetectionPolicy { get; set; }
|
||||
public DataDeletionDetectionPolicy DataDeletionDetectionPolicy { get; set; }
|
||||
/// <summary> The ETag of the DataSource. </summary>
|
||||
public string? ETag { get; set; }
|
||||
public string ETag { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,12 +1,14 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace CognitiveSearch.Models
|
||||
{
|
||||
/// <summary> Represents credentials that can be used to connect to a datasource. </summary>
|
||||
public partial class DataSourceCredentials
|
||||
{
|
||||
/// <summary> The connection string for the datasource. </summary>
|
||||
public string? ConnectionString { get; set; }
|
||||
public string ConnectionString { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
|||
/// <summary> Defines the type of a datasource. </summary>
|
||||
public readonly partial struct DataSourceType : IEquatable<DataSourceType>
|
||||
{
|
||||
private readonly string? _value;
|
||||
private readonly string _value;
|
||||
|
||||
/// <summary> Determines if two <see cref="DataSourceType"/> values are the same. </summary>
|
||||
public DataSourceType(string value)
|
||||
|
@ -39,7 +41,7 @@ namespace CognitiveSearch.Models
|
|||
|
||||
/// <inheritdoc />
|
||||
[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);
|
||||
/// <inheritdoc />
|
||||
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;
|
||||
/// <inheritdoc />
|
||||
public override string? ToString() => _value;
|
||||
public override string ToString() => _value;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
|||
/// <summary> Defines the data type of a field in a search index. </summary>
|
||||
public readonly partial struct DataType : IEquatable<DataType>
|
||||
{
|
||||
private readonly string? _value;
|
||||
private readonly string _value;
|
||||
|
||||
/// <summary> Determines if two <see cref="DataType"/> values are the same. </summary>
|
||||
public DataType(string value)
|
||||
|
@ -51,7 +53,7 @@ namespace CognitiveSearch.Models
|
|||
|
||||
/// <inheritdoc />
|
||||
[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);
|
||||
/// <inheritdoc />
|
||||
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;
|
||||
/// <inheritdoc />
|
||||
public override string? ToString() => _value;
|
||||
public override string ToString() => _value;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace CognitiveSearch.Models
|
||||
{
|
||||
/// <summary> An empty object that represents the default cognitive service resource for a skillset. </summary>
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
/// <summary> The list of words to match against. </summary>
|
||||
public ICollection<string> WordList { get; set; } = new List<string>();
|
||||
public ICollection<string> WordList { get; set; } = new System.Collections.Generic.List<string>();
|
||||
/// <summary> The minimum word size. Only words longer than this get processed. Default is 5. Maximum is 300. </summary>
|
||||
public int? MinWordSize { get; set; }
|
||||
/// <summary> The minimum subword size. Only subwords longer than this are outputted. Default is 2. Maximum is 300. </summary>
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace CognitiveSearch.Models
|
||||
{
|
||||
/// <summary> Defines a function that boosts scores based on distance from a geographic location. </summary>
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace CognitiveSearch.Models
|
||||
{
|
||||
/// <summary> Provides parameter values to a distance scoring function. </summary>
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace CognitiveSearch.Models
|
||||
{
|
||||
/// <summary> 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. </summary>
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
using System;
|
||||
|
||||
namespace CognitiveSearch.Models
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace CognitiveSearch.Models
|
||||
{
|
||||
/// <summary> Specifies which side of the input an n-gram should be generated from. </summary>
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace CognitiveSearch.Models
|
||||
{
|
||||
/// <summary> 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. </summary>
|
||||
|
|
|
@ -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;
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче