Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ internal static class ApiUrlsLookups
internal static ApiUrls IndexManagementGetIndexTemplate = new ApiUrls(new[] { "/_index_template", "/_index_template/{name}" });
internal static ApiUrls IndexManagementGetMapping = new ApiUrls(new[] { "/_mapping", "/{index}/_mapping" });
internal static ApiUrls IndexManagementMigrateToDataStream = new ApiUrls(new[] { "/_data_stream/_migrate/{name}" });
internal static ApiUrls IndexManagementModifyDataStream = new ApiUrls(new[] { "/_data_stream/_modify" });
internal static ApiUrls IndexManagementOpen = new ApiUrls(new[] { "/{index}/_open" });
internal static ApiUrls IndexManagementPromoteDataStream = new ApiUrls(new[] { "/_data_stream/_promote/{name}" });
internal static ApiUrls IndexManagementPutAlias = new ApiUrls(new[] { "/{index}/_alias/{name}" });
Expand All @@ -139,7 +138,6 @@ internal static class ApiUrlsLookups
internal static ApiUrls IndexManagementSplit = new ApiUrls(new[] { "/{index}/_split/{target}" });
internal static ApiUrls IndexManagementStats = new ApiUrls(new[] { "/_stats", "/_stats/{metric}", "/{index}/_stats", "/{index}/_stats/{metric}" });
internal static ApiUrls IndexManagementGetTemplate = new ApiUrls(new[] { "/_template", "/_template/{name}" });
internal static ApiUrls IndexManagementUpdateAliases = new ApiUrls(new[] { "/_aliases" });
internal static ApiUrls IndexManagementValidateQuery = new ApiUrls(new[] { "/_validate/query", "/{index}/_validate/query" });
internal static ApiUrls NoNamespaceIndex = new ApiUrls(new[] { "/{index}/_doc/{id}", "/{index}/_doc" });
internal static ApiUrls NoNamespaceInfo = new ApiUrls(new[] { "/" });
Expand All @@ -157,6 +155,9 @@ internal static class ApiUrlsLookups
internal static ApiUrls LicensePost = new ApiUrls(new[] { "/_license" });
internal static ApiUrls LicensePostStartBasic = new ApiUrls(new[] { "/_license/start_basic" });
internal static ApiUrls LicensePostStartTrial = new ApiUrls(new[] { "/_license/start_trial" });
internal static ApiUrls LogstashDeletePipeline = new ApiUrls(new[] { "/_logstash/pipeline/{id}" });
internal static ApiUrls LogstashPutPipeline = new ApiUrls(new[] { "/_logstash/pipeline/{id}" });
internal static ApiUrls MigrationDeprecations = new ApiUrls(new[] { "/_migration/deprecations", "/{index}/_migration/deprecations" });
internal static ApiUrls NodesHotThreads = new ApiUrls(new[] { "/_nodes/hot_threads", "/_nodes/{node_id}/hot_threads" });
internal static ApiUrls NodesInfo = new ApiUrls(new[] { "/_nodes", "/_nodes/{node_id}", "/_nodes/{metric}", "/_nodes/{node_id}/{metric}" });
internal static ApiUrls NodesReloadSecureSettings = new ApiUrls(new[] { "/_nodes/reload_secure_settings", "/_nodes/{node_id}/reload_secure_settings" });
Expand Down Expand Up @@ -202,6 +203,7 @@ internal static class ApiUrlsLookups
internal static ApiUrls SqlGetAsync = new ApiUrls(new[] { "/_sql/async/{id}" });
internal static ApiUrls SqlGetAsyncStatus = new ApiUrls(new[] { "/_sql/async/status/{id}" });
internal static ApiUrls SqlQuery = new ApiUrls(new[] { "/_sql" });
internal static ApiUrls SecurityCertificates = new ApiUrls(new[] { "/_ssl/certificates" });
internal static ApiUrls TasksGet = new ApiUrls(new[] { "/_tasks/{task_id}" });
internal static ApiUrls TasksCancel = new ApiUrls(new[] { "/_tasks/_cancel", "/_tasks/{task_id}/_cancel" });
internal static ApiUrls TasksList = new ApiUrls(new[] { "/_tasks" });
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
// ------------------------------------------------
//
// This file is automatically generated.
// Please do not edit these files manually.
//
// ------------------------------------------------

using Elastic.Transport;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text.Json;
using System.Text.Json.Serialization;

#nullable restore
namespace Elastic.Clients.Elasticsearch.Logstash
{
public class LogstashDeletePipelineRequestParameters : RequestParameters<LogstashDeletePipelineRequestParameters>
{
}

public partial class LogstashDeletePipelineRequest : PlainRequestBase<LogstashDeletePipelineRequestParameters>
{
public LogstashDeletePipelineRequest(Elastic.Clients.Elasticsearch.Id id) : base(r => r.Required("id", id))
{
}

internal override ApiUrls ApiUrls => ApiUrlsLookups.LogstashDeletePipeline;
protected override HttpMethod HttpMethod => HttpMethod.DELETE;
protected override bool SupportsBody => false;
}

public sealed partial class LogstashDeletePipelineRequestDescriptor<TDocument> : RequestDescriptorBase<LogstashDeletePipelineRequestDescriptor<TDocument>, LogstashDeletePipelineRequestParameters>
{
internal LogstashDeletePipelineRequestDescriptor(Action<LogstashDeletePipelineRequestDescriptor<TDocument>> configure) => configure.Invoke(this);
public LogstashDeletePipelineRequestDescriptor(Elastic.Clients.Elasticsearch.Id id) : base(r => r.Required("id", id))
{
}

internal LogstashDeletePipelineRequestDescriptor()
{
}

internal override ApiUrls ApiUrls => ApiUrlsLookups.LogstashDeletePipeline;
protected override HttpMethod HttpMethod => HttpMethod.DELETE;
protected override bool SupportsBody => false;
public LogstashDeletePipelineRequestDescriptor<TDocument> Id(Elastic.Clients.Elasticsearch.Id id)
{
RouteValues.Required("id", id);
return Self;
}

protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings)
{
}
}

public sealed partial class LogstashDeletePipelineRequestDescriptor : RequestDescriptorBase<LogstashDeletePipelineRequestDescriptor, LogstashDeletePipelineRequestParameters>
{
internal LogstashDeletePipelineRequestDescriptor(Action<LogstashDeletePipelineRequestDescriptor> configure) => configure.Invoke(this);
public LogstashDeletePipelineRequestDescriptor(Elastic.Clients.Elasticsearch.Id id) : base(r => r.Required("id", id))
{
}

internal LogstashDeletePipelineRequestDescriptor()
{
}

internal override ApiUrls ApiUrls => ApiUrlsLookups.LogstashDeletePipeline;
protected override HttpMethod HttpMethod => HttpMethod.DELETE;
protected override bool SupportsBody => false;
public LogstashDeletePipelineRequestDescriptor Id(Elastic.Clients.Elasticsearch.Id id)
{
RouteValues.Required("id", id);
return Self;
}

protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings)
{
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,9 @@
using System.Text.Json.Serialization;

#nullable restore
namespace Elastic.Clients.Elasticsearch.IndexManagement
namespace Elastic.Clients.Elasticsearch.Logstash
{
public partial class UpdateAliasesResponse : ElasticsearchResponseBase
public partial class LogstashDeletePipelineResponse : ElasticsearchResponseBase
{
[JsonInclude]
[JsonPropertyName("acknowledged")]
public bool Acknowledged { get; init; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
// ------------------------------------------------
//
// This file is automatically generated.
// Please do not edit these files manually.
//
// ------------------------------------------------

using Elastic.Transport;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text.Json;
using System.Text.Json.Serialization;

#nullable restore
namespace Elastic.Clients.Elasticsearch.Logstash
{
public class LogstashPutPipelineRequestParameters : RequestParameters<LogstashPutPipelineRequestParameters>
{
}

public partial class LogstashPutPipelineRequest : PlainRequestBase<LogstashPutPipelineRequestParameters>
{
public LogstashPutPipelineRequest(Elastic.Clients.Elasticsearch.Id id) : base(r => r.Required("id", id))
{
}

internal override ApiUrls ApiUrls => ApiUrlsLookups.LogstashPutPipeline;
protected override HttpMethod HttpMethod => HttpMethod.PUT;
protected override bool SupportsBody => false;
}

public sealed partial class LogstashPutPipelineRequestDescriptor<TDocument> : RequestDescriptorBase<LogstashPutPipelineRequestDescriptor<TDocument>, LogstashPutPipelineRequestParameters>
{
internal LogstashPutPipelineRequestDescriptor(Action<LogstashPutPipelineRequestDescriptor<TDocument>> configure) => configure.Invoke(this);
public LogstashPutPipelineRequestDescriptor(Elastic.Clients.Elasticsearch.Id id) : base(r => r.Required("id", id))
{
}

internal LogstashPutPipelineRequestDescriptor()
{
}

internal override ApiUrls ApiUrls => ApiUrlsLookups.LogstashPutPipeline;
protected override HttpMethod HttpMethod => HttpMethod.PUT;
protected override bool SupportsBody => false;
public LogstashPutPipelineRequestDescriptor<TDocument> Id(Elastic.Clients.Elasticsearch.Id id)
{
RouteValues.Required("id", id);
return Self;
}

protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings)
{
}
}

public sealed partial class LogstashPutPipelineRequestDescriptor : RequestDescriptorBase<LogstashPutPipelineRequestDescriptor, LogstashPutPipelineRequestParameters>
{
internal LogstashPutPipelineRequestDescriptor(Action<LogstashPutPipelineRequestDescriptor> configure) => configure.Invoke(this);
public LogstashPutPipelineRequestDescriptor(Elastic.Clients.Elasticsearch.Id id) : base(r => r.Required("id", id))
{
}

internal LogstashPutPipelineRequestDescriptor()
{
}

internal override ApiUrls ApiUrls => ApiUrlsLookups.LogstashPutPipeline;
protected override HttpMethod HttpMethod => HttpMethod.PUT;
protected override bool SupportsBody => false;
public LogstashPutPipelineRequestDescriptor Id(Elastic.Clients.Elasticsearch.Id id)
{
RouteValues.Required("id", id);
return Self;
}

protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings)
{
}
}
}
Loading