Skip to content

Commit 37218f3

Browse files
[codegen] 7.x synchronization (#5556)
Co-authored-by: Mpdreamz <Mpdreamz@users.noreply.github.com>
1 parent c8c4787 commit 37218f3

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

src/ApiGenerator/RestSpecification/Core/snapshot.get.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@
3838
"type":"boolean",
3939
"description":"Whether to ignore unavailable snapshots, defaults to false which means a SnapshotMissingException is thrown"
4040
},
41+
"index_details":{
42+
"type":"boolean",
43+
"description":"Whether to include details of each index in the snapshot, if those details are available. Defaults to false."
44+
},
4145
"verbose":{
4246
"type":"boolean",
4347
"description":"Whether to show verbose snapshot info or only show the basic info found in the repository index blob"

src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Snapshot.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,13 @@ public bool? IgnoreUnavailable
149149
set => Q("ignore_unavailable", value);
150150
}
151151

152+
///<summary>Whether to include details of each index in the snapshot, if those details are available. Defaults to false.</summary>
153+
public bool? IndexDetails
154+
{
155+
get => Q<bool? >("index_details");
156+
set => Q("index_details", value);
157+
}
158+
152159
///<summary>Explicit operation timeout for connection to master node</summary>
153160
public TimeSpan MasterTimeout
154161
{

0 commit comments

Comments
 (0)