Skip to content

Commit 7750612

Browse files
committed
Updage generated client code
1 parent d549ab2 commit 7750612

22 files changed

+7428
-1070
lines changed

elasticsearch/src/.generated.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ written = [
77
'dangling_indices.rs',
88
'enrich.rs',
99
'eql.rs',
10+
'features.rs',
11+
'fleet.rs',
1012
'graph.rs',
1113
'ilm.rs',
1214
'indices.rs',
@@ -21,6 +23,7 @@ written = [
2123
'root/mod.rs',
2224
'searchable_snapshots.rs',
2325
'security.rs',
26+
'shutdown.rs',
2427
'slm.rs',
2528
'snapshot.rs',
2629
'sql.rs',

elasticsearch/src/cat.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2640,6 +2640,7 @@ pub struct CatNodes<'a, 'b> {
26402640
headers: HeaderMap,
26412641
help: Option<bool>,
26422642
human: Option<bool>,
2643+
include_unloaded_segments: Option<bool>,
26432644
master_timeout: Option<&'b str>,
26442645
pretty: Option<bool>,
26452646
request_timeout: Option<Duration>,
@@ -2666,6 +2667,7 @@ impl<'a, 'b> CatNodes<'a, 'b> {
26662667
h: None,
26672668
help: None,
26682669
human: None,
2670+
include_unloaded_segments: None,
26692671
master_timeout: None,
26702672
pretty: None,
26712673
request_timeout: None,
@@ -2720,6 +2722,11 @@ impl<'a, 'b> CatNodes<'a, 'b> {
27202722
self.human = Some(human);
27212723
self
27222724
}
2725+
#[doc = "If set to true segment stats will include stats for segments that are not currently loaded into memory"]
2726+
pub fn include_unloaded_segments(mut self, include_unloaded_segments: bool) -> Self {
2727+
self.include_unloaded_segments = Some(include_unloaded_segments);
2728+
self
2729+
}
27232730
#[doc = "Explicit operation timeout for connection to master node"]
27242731
pub fn master_timeout(mut self, master_timeout: &'b str) -> Self {
27252732
self.master_timeout = Some(master_timeout);
@@ -2775,6 +2782,7 @@ impl<'a, 'b> CatNodes<'a, 'b> {
27752782
h: Option<&'b [&'b str]>,
27762783
help: Option<bool>,
27772784
human: Option<bool>,
2785+
include_unloaded_segments: Option<bool>,
27782786
master_timeout: Option<&'b str>,
27792787
pretty: Option<bool>,
27802788
#[serde(serialize_with = "crate::client::serialize_coll_qs")]
@@ -2792,6 +2800,7 @@ impl<'a, 'b> CatNodes<'a, 'b> {
27922800
h: self.h,
27932801
help: self.help,
27942802
human: self.human,
2803+
include_unloaded_segments: self.include_unloaded_segments,
27952804
master_timeout: self.master_timeout,
27962805
pretty: self.pretty,
27972806
s: self.s,

elasticsearch/src/cluster.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ impl ClusterGetSettingsParts {
753753
}
754754
}
755755
}
756-
#[doc = "Builder for the [Cluster Get Settings API](https://www.elastic.co/guide/en/elasticsearch/reference/8.0/cluster-update-settings.html)\n\nReturns cluster settings."]
756+
#[doc = "Builder for the [Cluster Get Settings API](https://www.elastic.co/guide/en/elasticsearch/reference/8.0/cluster-get-settings.html)\n\nReturns cluster settings."]
757757
#[derive(Clone, Debug)]
758758
pub struct ClusterGetSettings<'a, 'b> {
759759
transport: &'a Transport,
@@ -2451,7 +2451,7 @@ impl<'a> Cluster<'a> {
24512451
) -> ClusterGetComponentTemplate<'a, 'b> {
24522452
ClusterGetComponentTemplate::new(self.transport(), parts)
24532453
}
2454-
#[doc = "[Cluster Get Settings API](https://www.elastic.co/guide/en/elasticsearch/reference/8.0/cluster-update-settings.html)\n\nReturns cluster settings."]
2454+
#[doc = "[Cluster Get Settings API](https://www.elastic.co/guide/en/elasticsearch/reference/8.0/cluster-get-settings.html)\n\nReturns cluster settings."]
24552455
pub fn get_settings<'b>(&'a self) -> ClusterGetSettings<'a, 'b> {
24562456
ClusterGetSettings::new(self.transport())
24572457
}

0 commit comments

Comments
 (0)