Skip to content

Commit 1e19446

Browse files
committed
Upgrade API support
Closes #1040
1 parent 34303e7 commit 1e19446

16 files changed

+405
-98
lines changed

src/Elasticsearch.Net/Domain/RequestParameters/RequestParameters.Generated.cs

+10-10
Original file line numberDiff line numberDiff line change
@@ -3378,12 +3378,12 @@ public GetIndexSettingsRequestParameters Local(bool local)
33783378
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/indices-upgrade.html
33793379
///</pre>
33803380
///</summary>
3381-
public class IndicesGetUpgradeRequestParameters : FluentRequestParameters<IndicesGetUpgradeRequestParameters>
3381+
public class UpgradeStatusRequestParameters : FluentRequestParameters<UpgradeStatusRequestParameters>
33823382
{
33833383

33843384
internal bool _ignore_unavailable { get; set; }
33853385
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
3386-
public IndicesGetUpgradeRequestParameters IgnoreUnavailable(bool ignore_unavailable)
3386+
public UpgradeStatusRequestParameters IgnoreUnavailable(bool ignore_unavailable)
33873387
{
33883388
this._ignore_unavailable = ignore_unavailable;
33893389
this.AddQueryString("ignore_unavailable", this._ignore_unavailable);
@@ -3393,7 +3393,7 @@ public IndicesGetUpgradeRequestParameters IgnoreUnavailable(bool ignore_unavaila
33933393

33943394
internal bool _allow_no_indices { get; set; }
33953395
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
3396-
public IndicesGetUpgradeRequestParameters AllowNoIndices(bool allow_no_indices)
3396+
public UpgradeStatusRequestParameters AllowNoIndices(bool allow_no_indices)
33973397
{
33983398
this._allow_no_indices = allow_no_indices;
33993399
this.AddQueryString("allow_no_indices", this._allow_no_indices);
@@ -3403,7 +3403,7 @@ public IndicesGetUpgradeRequestParameters AllowNoIndices(bool allow_no_indices)
34033403

34043404
internal ExpandWildcards _expand_wildcards { get; set; }
34053405
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
3406-
public IndicesGetUpgradeRequestParameters ExpandWildcards(ExpandWildcards expand_wildcards)
3406+
public UpgradeStatusRequestParameters ExpandWildcards(ExpandWildcards expand_wildcards)
34073407
{
34083408
this._expand_wildcards = expand_wildcards;
34093409
this.AddQueryString("expand_wildcards", this._expand_wildcards);
@@ -3413,7 +3413,7 @@ public IndicesGetUpgradeRequestParameters ExpandWildcards(ExpandWildcards expand
34133413

34143414
internal bool _human { get; set; }
34153415
///<summary>Whether to return time and byte values in human-readable format.</summary>
3416-
public IndicesGetUpgradeRequestParameters Human(bool human)
3416+
public UpgradeStatusRequestParameters Human(bool human)
34173417
{
34183418
this._human = human;
34193419
this.AddQueryString("human", this._human);
@@ -4238,12 +4238,12 @@ public AliasRequestParameters MasterTimeout(string master_timeout)
42384238
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/indices-upgrade.html
42394239
///</pre>
42404240
///</summary>
4241-
public class IndicesUpgradeRequestParameters : FluentRequestParameters<IndicesUpgradeRequestParameters>
4241+
public class UpgradeRequestParameters : FluentRequestParameters<UpgradeRequestParameters>
42424242
{
42434243

42444244
internal bool _allow_no_indices { get; set; }
42454245
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
4246-
public IndicesUpgradeRequestParameters AllowNoIndices(bool allow_no_indices)
4246+
public UpgradeRequestParameters AllowNoIndices(bool allow_no_indices)
42474247
{
42484248
this._allow_no_indices = allow_no_indices;
42494249
this.AddQueryString("allow_no_indices", this._allow_no_indices);
@@ -4253,7 +4253,7 @@ public IndicesUpgradeRequestParameters AllowNoIndices(bool allow_no_indices)
42534253

42544254
internal ExpandWildcards _expand_wildcards { get; set; }
42554255
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
4256-
public IndicesUpgradeRequestParameters ExpandWildcards(ExpandWildcards expand_wildcards)
4256+
public UpgradeRequestParameters ExpandWildcards(ExpandWildcards expand_wildcards)
42574257
{
42584258
this._expand_wildcards = expand_wildcards;
42594259
this.AddQueryString("expand_wildcards", this._expand_wildcards);
@@ -4263,7 +4263,7 @@ public IndicesUpgradeRequestParameters ExpandWildcards(ExpandWildcards expand_wi
42634263

42644264
internal bool _ignore_unavailable { get; set; }
42654265
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
4266-
public IndicesUpgradeRequestParameters IgnoreUnavailable(bool ignore_unavailable)
4266+
public UpgradeRequestParameters IgnoreUnavailable(bool ignore_unavailable)
42674267
{
42684268
this._ignore_unavailable = ignore_unavailable;
42694269
this.AddQueryString("ignore_unavailable", this._ignore_unavailable);
@@ -4273,7 +4273,7 @@ public IndicesUpgradeRequestParameters IgnoreUnavailable(bool ignore_unavailable
42734273

42744274
internal bool _wait_for_completion { get; set; }
42754275
///<summary>Specify whether the request should block until the all segments are upgraded (default: true)</summary>
4276-
public IndicesUpgradeRequestParameters WaitForCompletion(bool wait_for_completion)
4276+
public UpgradeRequestParameters WaitForCompletion(bool wait_for_completion)
42774277
{
42784278
this._wait_for_completion = wait_for_completion;
42794279
this.AddQueryString("wait_for_completion", this._wait_for_completion);

0 commit comments

Comments
 (0)