Skip to content

Commit 54077f8

Browse files
stevejgordongithub-actions[bot]
authored andcommitted
Remove ExistsResponseBase (#6895)
1 parent 12b886f commit 54077f8

File tree

7 files changed

+12
-18
lines changed

7 files changed

+12
-18
lines changed

src/Elastic.Clients.Elasticsearch/Core/Response/ExistsResponseBase.cs

-12
This file was deleted.

src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsResponse.g.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
#nullable restore
2525
namespace Elastic.Clients.Elasticsearch;
26-
public sealed partial class ExistsResponse : ExistsResponseBase
26+
public sealed partial class ExistsResponse : ElasticsearchResponseBase
2727
{
28+
public bool Exists => ApiCall is { Success: true, HttpStatusCode: 200 };
2829
}

src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsSourceResponse.g.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
#nullable restore
2525
namespace Elastic.Clients.Elasticsearch;
26-
public sealed partial class ExistsSourceResponse : ExistsResponseBase
26+
public sealed partial class ExistsSourceResponse : ElasticsearchResponseBase
2727
{
28+
public bool Exists => ApiCall is { Success: true, HttpStatusCode: 200 };
2829
}

src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsAliasResponse.g.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
#nullable restore
2525
namespace Elastic.Clients.Elasticsearch.IndexManagement;
26-
public sealed partial class ExistsAliasResponse : ExistsResponseBase
26+
public sealed partial class ExistsAliasResponse : ElasticsearchResponseBase
2727
{
28+
public bool Exists => ApiCall is { Success: true, HttpStatusCode: 200 };
2829
}

src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsIndexTemplateResponse.g.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
#nullable restore
2525
namespace Elastic.Clients.Elasticsearch.IndexManagement;
26-
public sealed partial class ExistsIndexTemplateResponse : ExistsResponseBase
26+
public sealed partial class ExistsIndexTemplateResponse : ElasticsearchResponseBase
2727
{
28+
public bool Exists => ApiCall is { Success: true, HttpStatusCode: 200 };
2829
}

src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsResponse.g.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
#nullable restore
2525
namespace Elastic.Clients.Elasticsearch.IndexManagement;
26-
public sealed partial class ExistsResponse : ExistsResponseBase
26+
public sealed partial class ExistsResponse : ElasticsearchResponseBase
2727
{
28+
public bool Exists => ApiCall is { Success: true, HttpStatusCode: 200 };
2829
}

src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsTemplateResponse.g.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
#nullable restore
2525
namespace Elastic.Clients.Elasticsearch.IndexManagement;
26-
public sealed partial class ExistsTemplateResponse : ExistsResponseBase
26+
public sealed partial class ExistsTemplateResponse : ElasticsearchResponseBase
2727
{
28+
public bool Exists => ApiCall is { Success: true, HttpStatusCode: 200 };
2829
}

0 commit comments

Comments
 (0)