Skip to content

Commit

Permalink
Regenerate client using the latest specification (#8275) (#8277)
Browse files Browse the repository at this point in the history
Co-authored-by: Florian Bernd <[email protected]>
  • Loading branch information
github-actions[bot] and flobernd authored Jul 29, 2024
1 parent 4d6cf96 commit 3d91fb9
Show file tree
Hide file tree
Showing 355 changed files with 15,341 additions and 3,221 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ internal static class ApiUrlLookup
internal static ApiUrls EqlGet = new ApiUrls(new[] { "_eql/search/{id}" });
internal static ApiUrls EqlGetStatus = new ApiUrls(new[] { "_eql/search/status/{id}" });
internal static ApiUrls EqlSearch = new ApiUrls(new[] { "{index}/_eql/search" });
internal static ApiUrls EsqlQuery = new ApiUrls(new[] { "_query" });
internal static ApiUrls GraphExplore = new ApiUrls(new[] { "{index}/_graph/explore" });
internal static ApiUrls IndexManagementAnalyze = new ApiUrls(new[] { "_analyze", "{index}/_analyze" });
internal static ApiUrls IndexManagementClearCache = new ApiUrls(new[] { "_cache/clear", "{index}/_cache/clear" });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public sealed partial class BulkRequestParameters : RequestParameters
}

/// <summary>
/// <para>Performs multiple indexing or delete operations in a single API call.<br/>This reduces overhead and can greatly increase indexing speed.</para>
/// <para>Bulk index or delete documents.<br/>Performs multiple indexing or delete operations in a single API call.<br/>This reduces overhead and can greatly increase indexing speed.</para>
/// </summary>
public sealed partial class BulkRequest : PlainRequest<BulkRequestParameters>
{
Expand Down Expand Up @@ -154,7 +154,7 @@ public BulkRequest(Elastic.Clients.Elasticsearch.Serverless.IndexName? index) :
}

/// <summary>
/// <para>Performs multiple indexing or delete operations in a single API call.<br/>This reduces overhead and can greatly increase indexing speed.</para>
/// <para>Bulk index or delete documents.<br/>Performs multiple indexing or delete operations in a single API call.<br/>This reduces overhead and can greatly increase indexing speed.</para>
/// </summary>
public sealed partial class BulkRequestDescriptor<TDocument> : RequestDescriptor<BulkRequestDescriptor<TDocument>, BulkRequestParameters>
{
Expand Down Expand Up @@ -200,7 +200,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}

/// <summary>
/// <para>Performs multiple indexing or delete operations in a single API call.<br/>This reduces overhead and can greatly increase indexing speed.</para>
/// <para>Bulk index or delete documents.<br/>Performs multiple indexing or delete operations in a single API call.<br/>This reduces overhead and can greatly increase indexing speed.</para>
/// </summary>
public sealed partial class BulkRequestDescriptor : RequestDescriptor<BulkRequestDescriptor, BulkRequestParameters>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public sealed partial class ClusterInfoRequestParameters : RequestParameters
}

/// <summary>
/// <para>Returns different information about the cluster.</para>
/// <para>Get cluster info.<br/>Returns basic information about the cluster.</para>
/// </summary>
public sealed partial class ClusterInfoRequest : PlainRequest<ClusterInfoRequestParameters>
{
Expand All @@ -52,7 +52,7 @@ public ClusterInfoRequest(IReadOnlyCollection<Elastic.Clients.Elasticsearch.Serv
}

/// <summary>
/// <para>Returns different information about the cluster.</para>
/// <para>Get cluster info.<br/>Returns basic information about the cluster.</para>
/// </summary>
public sealed partial class ClusterInfoRequestDescriptor : RequestDescriptor<ClusterInfoRequestDescriptor, ClusterInfoRequestParameters>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public sealed partial class DeleteComponentTemplateRequestParameters : RequestPa
}

/// <summary>
/// <para>Deletes component templates.<br/>Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.</para>
/// <para>Delete component templates.<br/>Deletes component templates.<br/>Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.</para>
/// </summary>
public sealed partial class DeleteComponentTemplateRequest : PlainRequest<DeleteComponentTemplateRequestParameters>
{
Expand Down Expand Up @@ -73,7 +73,7 @@ public DeleteComponentTemplateRequest(Elastic.Clients.Elasticsearch.Serverless.N
}

/// <summary>
/// <para>Deletes component templates.<br/>Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.</para>
/// <para>Delete component templates.<br/>Deletes component templates.<br/>Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.</para>
/// </summary>
public sealed partial class DeleteComponentTemplateRequestDescriptor : RequestDescriptor<DeleteComponentTemplateRequestDescriptor, DeleteComponentTemplateRequestParameters>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public sealed partial class ExistsComponentTemplateRequestParameters : RequestPa
}

/// <summary>
/// <para>Returns information about whether a particular component template exist</para>
/// <para>Check component templates.<br/>Returns information about whether a particular component template exists.</para>
/// </summary>
public sealed partial class ExistsComponentTemplateRequest : PlainRequest<ExistsComponentTemplateRequestParameters>
{
Expand Down Expand Up @@ -73,7 +73,7 @@ public ExistsComponentTemplateRequest(Elastic.Clients.Elasticsearch.Serverless.N
}

/// <summary>
/// <para>Returns information about whether a particular component template exist</para>
/// <para>Check component templates.<br/>Returns information about whether a particular component template exists.</para>
/// </summary>
public sealed partial class ExistsComponentTemplateRequestDescriptor : RequestDescriptor<ExistsComponentTemplateRequestDescriptor, ExistsComponentTemplateRequestParameters>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public sealed partial class GetComponentTemplateRequestParameters : RequestParam
}

/// <summary>
/// <para>Retrieves information about component templates.</para>
/// <para>Get component templates.<br/>Retrieves information about component templates.</para>
/// </summary>
public sealed partial class GetComponentTemplateRequest : PlainRequest<GetComponentTemplateRequestParameters>
{
Expand Down Expand Up @@ -99,7 +99,7 @@ public GetComponentTemplateRequest(Elastic.Clients.Elasticsearch.Serverless.Name
}

/// <summary>
/// <para>Retrieves information about component templates.</para>
/// <para>Get component templates.<br/>Retrieves information about component templates.</para>
/// </summary>
public sealed partial class GetComponentTemplateRequestDescriptor : RequestDescriptor<GetComponentTemplateRequestDescriptor, GetComponentTemplateRequestParameters>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public sealed partial class PutComponentTemplateRequestParameters : RequestParam
}

/// <summary>
/// <para>Creates or updates a component template.<br/>Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.</para>
/// <para>Create or update a component template.<br/>Creates or updates a component template.<br/>Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.</para>
/// <para>An index template can be composed of multiple component templates.<br/>To use a component template, specify it in an index template’s `composed_of` list.<br/>Component templates are only applied to new data streams and indices as part of a matching index template.</para>
/// <para>Settings and mappings specified directly in the index template or the create index request override any settings or mappings specified in a component template.</para>
/// <para>Component templates are only used during index creation.<br/>For data streams, this includes data stream creation and the creation of a stream’s backing indices.<br/>Changes to component templates do not affect existing indices, including a stream’s backing indices.</para>
Expand Down Expand Up @@ -101,7 +101,7 @@ public PutComponentTemplateRequest(Elastic.Clients.Elasticsearch.Serverless.Name
}

/// <summary>
/// <para>Creates or updates a component template.<br/>Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.</para>
/// <para>Create or update a component template.<br/>Creates or updates a component template.<br/>Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.</para>
/// <para>An index template can be composed of multiple component templates.<br/>To use a component template, specify it in an index template’s `composed_of` list.<br/>Component templates are only applied to new data streams and indices as part of a matching index template.</para>
/// <para>Settings and mappings specified directly in the index template or the create index request override any settings or mappings specified in a component template.</para>
/// <para>Component templates are only used during index creation.<br/>For data streams, this includes data stream creation and the creation of a stream’s backing indices.<br/>Changes to component templates do not affect existing indices, including a stream’s backing indices.</para>
Expand Down Expand Up @@ -235,7 +235,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}

/// <summary>
/// <para>Creates or updates a component template.<br/>Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.</para>
/// <para>Create or update a component template.<br/>Creates or updates a component template.<br/>Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.</para>
/// <para>An index template can be composed of multiple component templates.<br/>To use a component template, specify it in an index template’s `composed_of` list.<br/>Component templates are only applied to new data streams and indices as part of a matching index template.</para>
/// <para>Settings and mappings specified directly in the index template or the create index request override any settings or mappings specified in a component template.</para>
/// <para>Component templates are only used during index creation.<br/>For data streams, this includes data stream creation and the creation of a stream’s backing indices.<br/>Changes to component templates do not affect existing indices, including a stream’s backing indices.</para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public sealed partial class CreateRequestParameters : RequestParameters
}

/// <summary>
/// <para>Adds a JSON document to the specified data stream or index and makes it searchable.<br/>If the target is an index and the document already exists, the request updates the document and increments its version.</para>
/// <para>Index a document.<br/>Adds a JSON document to the specified data stream or index and makes it searchable.<br/>If the target is an index and the document already exists, the request updates the document and increments its version.</para>
/// </summary>
public sealed partial class CreateRequest<TDocument> : PlainRequest<CreateRequestParameters>, ISelfSerializable
{
Expand Down Expand Up @@ -135,7 +135,7 @@ void ISelfSerializable.Serialize(Utf8JsonWriter writer, JsonSerializerOptions op
}

/// <summary>
/// <para>Adds a JSON document to the specified data stream or index and makes it searchable.<br/>If the target is an index and the document already exists, the request updates the document and increments its version.</para>
/// <para>Index a document.<br/>Adds a JSON document to the specified data stream or index and makes it searchable.<br/>If the target is an index and the document already exists, the request updates the document and increments its version.</para>
/// </summary>
public sealed partial class CreateRequestDescriptor<TDocument> : RequestDescriptor<CreateRequestDescriptor<TDocument>, CreateRequestParameters>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public sealed partial class DeleteByQueryRequestParameters : RequestParameters
}

/// <summary>
/// <para>Deletes documents that match the specified query.</para>
/// <para>Delete documents.<br/>Deletes documents that match the specified query.</para>
/// </summary>
public sealed partial class DeleteByQueryRequest : PlainRequest<DeleteByQueryRequestParameters>
{
Expand Down Expand Up @@ -377,7 +377,7 @@ public DeleteByQueryRequest(Elastic.Clients.Elasticsearch.Serverless.Indices ind
}

/// <summary>
/// <para>Deletes documents that match the specified query.</para>
/// <para>Delete documents.<br/>Deletes documents that match the specified query.</para>
/// </summary>
public sealed partial class DeleteByQueryRequestDescriptor<TDocument> : RequestDescriptor<DeleteByQueryRequestDescriptor<TDocument>, DeleteByQueryRequestParameters>
{
Expand Down Expand Up @@ -551,7 +551,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}

/// <summary>
/// <para>Deletes documents that match the specified query.</para>
/// <para>Delete documents.<br/>Deletes documents that match the specified query.</para>
/// </summary>
public sealed partial class DeleteByQueryRequestDescriptor : RequestDescriptor<DeleteByQueryRequestDescriptor, DeleteByQueryRequestParameters>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public sealed partial class DeleteRequestParameters : RequestParameters
}

/// <summary>
/// <para>Removes a JSON document from the specified index.</para>
/// <para>Delete a document.<br/>Removes a JSON document from the specified index.</para>
/// </summary>
public partial class DeleteRequest : PlainRequest<DeleteRequestParameters>
{
Expand Down Expand Up @@ -139,7 +139,7 @@ public DeleteRequest(Elastic.Clients.Elasticsearch.Serverless.IndexName index, E
}

/// <summary>
/// <para>Removes a JSON document from the specified index.</para>
/// <para>Delete a document.<br/>Removes a JSON document from the specified index.</para>
/// </summary>
public sealed partial class DeleteRequestDescriptor<TDocument> : RequestDescriptor<DeleteRequestDescriptor<TDocument>, DeleteRequestParameters>
{
Expand Down Expand Up @@ -200,7 +200,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}

/// <summary>
/// <para>Removes a JSON document from the specified index.</para>
/// <para>Delete a document.<br/>Removes a JSON document from the specified index.</para>
/// </summary>
public sealed partial class DeleteRequestDescriptor : RequestDescriptor<DeleteRequestDescriptor, DeleteRequestParameters>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public sealed partial class DeleteScriptRequestParameters : RequestParameters
}

/// <summary>
/// <para>Deletes a stored script or search template.</para>
/// <para>Delete a script or search template.<br/>Deletes a stored script or search template.</para>
/// </summary>
public sealed partial class DeleteScriptRequest : PlainRequest<DeleteScriptRequestParameters>
{
Expand Down Expand Up @@ -73,7 +73,7 @@ public DeleteScriptRequest(Elastic.Clients.Elasticsearch.Serverless.Id id) : bas
}

/// <summary>
/// <para>Deletes a stored script or search template.</para>
/// <para>Delete a script or search template.<br/>Deletes a stored script or search template.</para>
/// </summary>
public sealed partial class DeleteScriptRequestDescriptor<TDocument> : RequestDescriptor<DeleteScriptRequestDescriptor<TDocument>, DeleteScriptRequestParameters>
{
Expand Down Expand Up @@ -106,7 +106,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}

/// <summary>
/// <para>Deletes a stored script or search template.</para>
/// <para>Delete a script or search template.<br/>Deletes a stored script or search template.</para>
/// </summary>
public sealed partial class DeleteScriptRequestDescriptor : RequestDescriptor<DeleteScriptRequestDescriptor, DeleteScriptRequestParameters>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public sealed partial class DeletePolicyRequestParameters : RequestParameters
}

/// <summary>
/// <para>Deletes an existing enrich policy and its enrich index.</para>
/// <para>Delete an enrich policy.<br/>Deletes an existing enrich policy and its enrich index.</para>
/// </summary>
public sealed partial class DeletePolicyRequest : PlainRequest<DeletePolicyRequestParameters>
{
Expand All @@ -52,7 +52,7 @@ public DeletePolicyRequest(Elastic.Clients.Elasticsearch.Serverless.Name name) :
}

/// <summary>
/// <para>Deletes an existing enrich policy and its enrich index.</para>
/// <para>Delete an enrich policy.<br/>Deletes an existing enrich policy and its enrich index.</para>
/// </summary>
public sealed partial class DeletePolicyRequestDescriptor : RequestDescriptor<DeletePolicyRequestDescriptor, DeletePolicyRequestParameters>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public sealed partial class EnrichStatsRequestParameters : RequestParameters
}

/// <summary>
/// <para>Returns enrich coordinator statistics and information about enrich policies that are currently executing.</para>
/// <para>Get enrich stats.<br/>Returns enrich coordinator statistics and information about enrich policies that are currently executing.</para>
/// </summary>
public sealed partial class EnrichStatsRequest : PlainRequest<EnrichStatsRequestParameters>
{
Expand All @@ -48,7 +48,7 @@ public sealed partial class EnrichStatsRequest : PlainRequest<EnrichStatsRequest
}

/// <summary>
/// <para>Returns enrich coordinator statistics and information about enrich policies that are currently executing.</para>
/// <para>Get enrich stats.<br/>Returns enrich coordinator statistics and information about enrich policies that are currently executing.</para>
/// </summary>
public sealed partial class EnrichStatsRequestDescriptor : RequestDescriptor<EnrichStatsRequestDescriptor, EnrichStatsRequestParameters>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public sealed partial class GetPolicyRequestParameters : RequestParameters
}

/// <summary>
/// <para>Returns information about an enrich policy.</para>
/// <para>Get an enrich policy.<br/>Returns information about an enrich policy.</para>
/// </summary>
public sealed partial class GetPolicyRequest : PlainRequest<GetPolicyRequestParameters>
{
Expand All @@ -56,7 +56,7 @@ public GetPolicyRequest(Elastic.Clients.Elasticsearch.Serverless.Names? name) :
}

/// <summary>
/// <para>Returns information about an enrich policy.</para>
/// <para>Get an enrich policy.<br/>Returns information about an enrich policy.</para>
/// </summary>
public sealed partial class GetPolicyRequestDescriptor : RequestDescriptor<GetPolicyRequestDescriptor, GetPolicyRequestParameters>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public sealed partial class PutPolicyRequestParameters : RequestParameters
}

/// <summary>
/// <para>Creates an enrich policy.</para>
/// <para>Create an enrich policy.<br/>Creates an enrich policy.</para>
/// </summary>
public sealed partial class PutPolicyRequest : PlainRequest<PutPolicyRequestParameters>
{
Expand Down Expand Up @@ -70,7 +70,7 @@ public PutPolicyRequest(Elastic.Clients.Elasticsearch.Serverless.Name name) : ba
}

/// <summary>
/// <para>Creates an enrich policy.</para>
/// <para>Create an enrich policy.<br/>Creates an enrich policy.</para>
/// </summary>
public sealed partial class PutPolicyRequestDescriptor<TDocument> : RequestDescriptor<PutPolicyRequestDescriptor<TDocument>, PutPolicyRequestParameters>
{
Expand Down Expand Up @@ -241,7 +241,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}

/// <summary>
/// <para>Creates an enrich policy.</para>
/// <para>Create an enrich policy.<br/>Creates an enrich policy.</para>
/// </summary>
public sealed partial class PutPolicyRequestDescriptor : RequestDescriptor<PutPolicyRequestDescriptor, PutPolicyRequestParameters>
{
Expand Down
Loading

0 comments on commit 3d91fb9

Please sign in to comment.