Skip to content

Commit

Permalink
Regenerate client for 8.13 (#8071) (#8073)
Browse files Browse the repository at this point in the history
Co-authored-by: Florian Bernd <git@flobernd.de>
  • Loading branch information
github-actions[bot] and flobernd committed Apr 3, 2024
1 parent aa8fe1c commit 43ff973
Show file tree
Hide file tree
Showing 3,333 changed files with 265,098 additions and 80,760 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
46 changes: 46 additions & 0 deletions docfx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"metadata": [
{
"src": [
{
"src": "./src/Elastic.Clients.Elasticsearch",
"files": [
"**/*.csproj"
]
}
],
"dest": "api"
}
],
"build": {
"content": [
{
"files": [
"**/*.{md,yml}"
],
"exclude": [
"_site/**"
]
}
],
"resource": [
{
"files": [
"images/**"
]
}
],
"output": "_site",
"template": [
"default",
"modern"
],
"globalMetadata": {
"_appName": "Elasticsearch.NET",
"_appTitle": "Elasticsearch.NET",
"_enableSearch": true,
"_disableContribution": true,
"pdf": false
}
}
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@ public AsyncSearchStatusRequestDescriptor(Elastic.Clients.Elasticsearch.Serverle
{
}

internal AsyncSearchStatusRequestDescriptor()
{
}

internal override ApiUrls ApiUrls => ApiUrlLookup.AsyncSearchStatus;

protected override HttpMethod StaticHttpMethod => HttpMethod.GET;
Expand Down Expand Up @@ -96,10 +92,6 @@ public AsyncSearchStatusRequestDescriptor(Elastic.Clients.Elasticsearch.Serverle
{
}

internal AsyncSearchStatusRequestDescriptor()
{
}

internal override ApiUrls ApiUrls => ApiUrlLookup.AsyncSearchStatus;

protected override HttpMethod StaticHttpMethod => HttpMethod.GET;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,34 @@ public sealed partial class AsyncSearchStatusResponse : ElasticsearchResponse
/// </summary>
[JsonInclude, JsonPropertyName("completion_status")]
public int? CompletionStatus { get; init; }

/// <summary>
/// <para>Indicates when the async search completed. Only present<br/>when the search has completed.</para>
/// </summary>
[JsonInclude, JsonPropertyName("completion_time")]
public DateTimeOffset? CompletionTime { get; init; }
[JsonInclude, JsonPropertyName("completion_time_in_millis")]
public long? CompletionTimeInMillis { get; init; }

/// <summary>
/// <para>Indicates when the async search will expire.</para>
/// </summary>
[JsonInclude, JsonPropertyName("expiration_time")]
public DateTimeOffset? ExpirationTime { get; init; }
[JsonInclude, JsonPropertyName("expiration_time_in_millis")]
public long ExpirationTimeInMillis { get; init; }
[JsonInclude, JsonPropertyName("id")]
public string? Id { get; init; }

/// <summary>
/// <para>When the query is no longer running, this property indicates whether the search failed or was successfully completed on all shards.<br/>While the query is running, `is_partial` is always set to `true`.</para>
/// </summary>
[JsonInclude, JsonPropertyName("is_partial")]
public bool IsPartial { get; init; }

/// <summary>
/// <para>Indicates whether the search is still running or has completed.<br/>NOTE: If the search failed after some shards returned their results or the node that is coordinating the async search dies, results may be partial even though `is_running` is `false`.</para>
/// </summary>
[JsonInclude, JsonPropertyName("is_running")]
public bool IsRunning { get; init; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@ public DeleteAsyncSearchRequestDescriptor(Elastic.Clients.Elasticsearch.Serverle
{
}

internal DeleteAsyncSearchRequestDescriptor()
{
}

internal override ApiUrls ApiUrls => ApiUrlLookup.AsyncSearchDelete;

protected override HttpMethod StaticHttpMethod => HttpMethod.DELETE;
Expand Down Expand Up @@ -96,10 +92,6 @@ public DeleteAsyncSearchRequestDescriptor(Elastic.Clients.Elasticsearch.Serverle
{
}

internal DeleteAsyncSearchRequestDescriptor()
{
}

internal override ApiUrls ApiUrls => ApiUrlLookup.AsyncSearchDelete;

protected override HttpMethod StaticHttpMethod => HttpMethod.DELETE;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
using Elastic.Clients.Elasticsearch.Serverless.Fluent;
using Elastic.Clients.Elasticsearch.Serverless.Serialization;
using Elastic.Transport.Products.Elasticsearch;
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,6 @@ public GetAsyncSearchRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.
{
}

internal GetAsyncSearchRequestDescriptor()
{
}

internal override ApiUrls ApiUrls => ApiUrlLookup.AsyncSearchGet;

protected override HttpMethod StaticHttpMethod => HttpMethod.GET;
Expand Down Expand Up @@ -132,10 +128,6 @@ public GetAsyncSearchRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.
{
}

internal GetAsyncSearchRequestDescriptor()
{
}

internal override ApiUrls ApiUrls => ApiUrlLookup.AsyncSearchGet;

protected override HttpMethod StaticHttpMethod => HttpMethod.GET;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,33 @@ namespace Elastic.Clients.Elasticsearch.Serverless.AsyncSearch;

public sealed partial class GetAsyncSearchResponse<TDocument> : ElasticsearchResponse
{
/// <summary>
/// <para>Indicates when the async search completed. Only present<br/>when the search has completed.</para>
/// </summary>
[JsonInclude, JsonPropertyName("completion_time")]
public DateTimeOffset? CompletionTime { get; init; }
[JsonInclude, JsonPropertyName("completion_time_in_millis")]
public long? CompletionTimeInMillis { get; init; }

/// <summary>
/// <para>Indicates when the async search will expire.</para>
/// </summary>
[JsonInclude, JsonPropertyName("expiration_time")]
public DateTimeOffset? ExpirationTime { get; init; }
[JsonInclude, JsonPropertyName("expiration_time_in_millis")]
public long ExpirationTimeInMillis { get; init; }
[JsonInclude, JsonPropertyName("id")]
public string? Id { get; init; }

/// <summary>
/// <para>When the query is no longer running, this property indicates whether the search failed or was successfully completed on all shards.<br/>While the query is running, `is_partial` is always set to `true`.</para>
/// </summary>
[JsonInclude, JsonPropertyName("is_partial")]
public bool IsPartial { get; init; }

/// <summary>
/// <para>Indicates whether the search is still running or has completed.<br/>NOTE: If the search failed after some shards returned their results or the node that is coordinating the async search dies, results may be partial even though `is_running` is `false`.</para>
/// </summary>
[JsonInclude, JsonPropertyName("is_running")]
public bool IsRunning { get; init; }
[JsonInclude, JsonPropertyName("response")]
Expand Down
Loading

0 comments on commit 43ff973

Please sign in to comment.