@@ -2457,9 +2457,9 @@ pub struct ClusterStats<'a, 'b> {
24572457 parts : ClusterStatsParts < ' b > ,
24582458 error_trace : Option < bool > ,
24592459 filter_path : Option < & ' b [ & ' b str ] > ,
2460- flat_settings : Option < bool > ,
24612460 headers : HeaderMap ,
24622461 human : Option < bool > ,
2462+ include_remotes : Option < bool > ,
24632463 pretty : Option < bool > ,
24642464 request_timeout : Option < Duration > ,
24652465 source : Option < & ' b str > ,
@@ -2475,8 +2475,8 @@ impl<'a, 'b> ClusterStats<'a, 'b> {
24752475 headers,
24762476 error_trace : None ,
24772477 filter_path : None ,
2478- flat_settings : None ,
24792478 human : None ,
2479+ include_remotes : None ,
24802480 pretty : None ,
24812481 request_timeout : None ,
24822482 source : None ,
@@ -2493,11 +2493,6 @@ impl<'a, 'b> ClusterStats<'a, 'b> {
24932493 self . filter_path = Some ( filter_path) ;
24942494 self
24952495 }
2496- #[ doc = "Return settings in flat format (default: false)" ]
2497- pub fn flat_settings ( mut self , flat_settings : bool ) -> Self {
2498- self . flat_settings = Some ( flat_settings) ;
2499- self
2500- }
25012496 #[ doc = "Adds a HTTP header" ]
25022497 pub fn header ( mut self , key : HeaderName , value : HeaderValue ) -> Self {
25032498 self . headers . insert ( key, value) ;
@@ -2508,6 +2503,11 @@ impl<'a, 'b> ClusterStats<'a, 'b> {
25082503 self . human = Some ( human) ;
25092504 self
25102505 }
2506+ #[ doc = "Include remote cluster data into the response (default: false)" ]
2507+ pub fn include_remotes ( mut self , include_remotes : bool ) -> Self {
2508+ self . include_remotes = Some ( include_remotes) ;
2509+ self
2510+ }
25112511 #[ doc = "Pretty format the returned JSON response." ]
25122512 pub fn pretty ( mut self , pretty : bool ) -> Self {
25132513 self . pretty = Some ( pretty) ;
@@ -2541,17 +2541,17 @@ impl<'a, 'b> ClusterStats<'a, 'b> {
25412541 error_trace : Option < bool > ,
25422542 #[ serde( serialize_with = "crate::client::serialize_coll_qs" ) ]
25432543 filter_path : Option < & ' b [ & ' b str ] > ,
2544- flat_settings : Option < bool > ,
25452544 human : Option < bool > ,
2545+ include_remotes : Option < bool > ,
25462546 pretty : Option < bool > ,
25472547 source : Option < & ' b str > ,
25482548 timeout : Option < & ' b str > ,
25492549 }
25502550 let query_params = QueryParams {
25512551 error_trace : self . error_trace ,
25522552 filter_path : self . filter_path ,
2553- flat_settings : self . flat_settings ,
25542553 human : self . human ,
2554+ include_remotes : self . include_remotes ,
25552555 pretty : self . pretty ,
25562556 source : self . source ,
25572557 timeout : self . timeout ,
0 commit comments