-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Co-authored-by: Florian Bernd <[email protected]>
- Loading branch information
1 parent
88dc423
commit 572feb4
Showing
97 changed files
with
6,017 additions
and
1,185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
150 changes: 150 additions & 0 deletions
150
...astic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetGeoipDatabaseRequest.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,150 @@ | ||
// 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. | ||
// | ||
// ------------------------------------------------ | ||
|
||
#nullable restore | ||
|
||
using Elastic.Clients.Elasticsearch.Serverless.Fluent; | ||
using Elastic.Clients.Elasticsearch.Serverless.Requests; | ||
using Elastic.Clients.Elasticsearch.Serverless.Serialization; | ||
using Elastic.Transport; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq.Expressions; | ||
using System.Text.Json; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace Elastic.Clients.Elasticsearch.Serverless.Ingest; | ||
|
||
public sealed partial class GetGeoipDatabaseRequestParameters : RequestParameters | ||
{ | ||
/// <summary> | ||
/// <para> | ||
/// Period to wait for a connection to the master node. | ||
/// If no response is received before the timeout expires, the request fails and returns an error. | ||
/// </para> | ||
/// </summary> | ||
public Elastic.Clients.Elasticsearch.Serverless.Duration? MasterTimeout { get => Q<Elastic.Clients.Elasticsearch.Serverless.Duration?>("master_timeout"); set => Q("master_timeout", value); } | ||
} | ||
|
||
/// <summary> | ||
/// <para> | ||
/// Returns information about one or more geoip database configurations. | ||
/// </para> | ||
/// </summary> | ||
public sealed partial class GetGeoipDatabaseRequest : PlainRequest<GetGeoipDatabaseRequestParameters> | ||
{ | ||
public GetGeoipDatabaseRequest() | ||
{ | ||
} | ||
|
||
public GetGeoipDatabaseRequest(Elastic.Clients.Elasticsearch.Serverless.Ids? id) : base(r => r.Optional("id", id)) | ||
{ | ||
} | ||
|
||
internal override ApiUrls ApiUrls => ApiUrlLookup.IngestGetGeoipDatabase; | ||
|
||
protected override HttpMethod StaticHttpMethod => HttpMethod.GET; | ||
|
||
internal override bool SupportsBody => false; | ||
|
||
internal override string OperationName => "ingest.get_geoip_database"; | ||
|
||
/// <summary> | ||
/// <para> | ||
/// Period to wait for a connection to the master node. | ||
/// If no response is received before the timeout expires, the request fails and returns an error. | ||
/// </para> | ||
/// </summary> | ||
[JsonIgnore] | ||
public Elastic.Clients.Elasticsearch.Serverless.Duration? MasterTimeout { get => Q<Elastic.Clients.Elasticsearch.Serverless.Duration?>("master_timeout"); set => Q("master_timeout", value); } | ||
} | ||
|
||
/// <summary> | ||
/// <para> | ||
/// Returns information about one or more geoip database configurations. | ||
/// </para> | ||
/// </summary> | ||
public sealed partial class GetGeoipDatabaseRequestDescriptor<TDocument> : RequestDescriptor<GetGeoipDatabaseRequestDescriptor<TDocument>, GetGeoipDatabaseRequestParameters> | ||
{ | ||
internal GetGeoipDatabaseRequestDescriptor(Action<GetGeoipDatabaseRequestDescriptor<TDocument>> configure) => configure.Invoke(this); | ||
|
||
public GetGeoipDatabaseRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Ids? id) : base(r => r.Optional("id", id)) | ||
{ | ||
} | ||
|
||
public GetGeoipDatabaseRequestDescriptor() | ||
{ | ||
} | ||
|
||
internal override ApiUrls ApiUrls => ApiUrlLookup.IngestGetGeoipDatabase; | ||
|
||
protected override HttpMethod StaticHttpMethod => HttpMethod.GET; | ||
|
||
internal override bool SupportsBody => false; | ||
|
||
internal override string OperationName => "ingest.get_geoip_database"; | ||
|
||
public GetGeoipDatabaseRequestDescriptor<TDocument> MasterTimeout(Elastic.Clients.Elasticsearch.Serverless.Duration? masterTimeout) => Qs("master_timeout", masterTimeout); | ||
|
||
public GetGeoipDatabaseRequestDescriptor<TDocument> Id(Elastic.Clients.Elasticsearch.Serverless.Ids? id) | ||
{ | ||
RouteValues.Optional("id", id); | ||
return Self; | ||
} | ||
|
||
protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) | ||
{ | ||
} | ||
} | ||
|
||
/// <summary> | ||
/// <para> | ||
/// Returns information about one or more geoip database configurations. | ||
/// </para> | ||
/// </summary> | ||
public sealed partial class GetGeoipDatabaseRequestDescriptor : RequestDescriptor<GetGeoipDatabaseRequestDescriptor, GetGeoipDatabaseRequestParameters> | ||
{ | ||
internal GetGeoipDatabaseRequestDescriptor(Action<GetGeoipDatabaseRequestDescriptor> configure) => configure.Invoke(this); | ||
|
||
public GetGeoipDatabaseRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Ids? id) : base(r => r.Optional("id", id)) | ||
{ | ||
} | ||
|
||
public GetGeoipDatabaseRequestDescriptor() | ||
{ | ||
} | ||
|
||
internal override ApiUrls ApiUrls => ApiUrlLookup.IngestGetGeoipDatabase; | ||
|
||
protected override HttpMethod StaticHttpMethod => HttpMethod.GET; | ||
|
||
internal override bool SupportsBody => false; | ||
|
||
internal override string OperationName => "ingest.get_geoip_database"; | ||
|
||
public GetGeoipDatabaseRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Serverless.Duration? masterTimeout) => Qs("master_timeout", masterTimeout); | ||
|
||
public GetGeoipDatabaseRequestDescriptor Id(Elastic.Clients.Elasticsearch.Serverless.Ids? id) | ||
{ | ||
RouteValues.Optional("id", id); | ||
return Self; | ||
} | ||
|
||
protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) | ||
{ | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...stic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetGeoipDatabaseResponse.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// 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. | ||
// | ||
// ------------------------------------------------ | ||
|
||
#nullable restore | ||
|
||
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; | ||
|
||
namespace Elastic.Clients.Elasticsearch.Serverless.Ingest; | ||
|
||
public sealed partial class GetGeoipDatabaseResponse : ElasticsearchResponse | ||
{ | ||
[JsonInclude, JsonPropertyName("databases")] | ||
public IReadOnlyCollection<Elastic.Clients.Elasticsearch.Serverless.Ingest.DatabaseConfigurationMetadata> Databases { get; init; } | ||
} |
Oops, something went wrong.