We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
GetAliasResponse
1 parent 9a4ca1e commit 166f76bCopy full SHA for 166f76b
src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/GetAliasResponse.cs
@@ -2,9 +2,6 @@
2
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3
// See the LICENSE file in the project root for more information.
4
5
-using System.Collections.Generic;
6
-using System.Text.Json.Serialization;
7
-
8
namespace Elastic.Clients.Elasticsearch.IndexManagement;
9
10
public partial class GetAliasResponse
@@ -17,5 +14,5 @@ public partial class GetAliasResponse
17
14
/// the client considers the response to be valid.
18
15
/// </para>
19
16
/// </summary>
20
- public override bool IsValidResponse => base.IsValidResponse || Aliases.Count > 0;
+ public override bool IsValidResponse => base.IsValidResponse || Aliases?.Count > 0;
21
}
0 commit comments