diff --git a/src/CodeGeneration/ApiGenerator/Domain/ApiEndpoint.cs b/src/CodeGeneration/ApiGenerator/Domain/ApiEndpoint.cs index cd107d2d187..4e7d77fce47 100644 --- a/src/CodeGeneration/ApiGenerator/Domain/ApiEndpoint.cs +++ b/src/CodeGeneration/ApiGenerator/Domain/ApiEndpoint.cs @@ -325,6 +325,8 @@ private void PatchRequestParameters(IEndpointOverrides overrides) if (globalOverrides.RenderPartial.Contains(newName)) kv.Value.RenderPartial = true; + //make sure source_enabled takes a boolean only + if (newName == "source_enabled") kv.Value.Type = "boolean"; patchedParams.Add(newName, kv.Value); } diff --git a/src/CodeGeneration/ApiGenerator/Domain/ApiQueryParameters.cs b/src/CodeGeneration/ApiGenerator/Domain/ApiQueryParameters.cs index 3287042267c..002bea3f6f5 100644 --- a/src/CodeGeneration/ApiGenerator/Domain/ApiQueryParameters.cs +++ b/src/CodeGeneration/ApiGenerator/Domain/ApiQueryParameters.cs @@ -13,8 +13,6 @@ public class ApiQueryParameters public string Obsolete { get; set; } public IEnumerable Options { get; set; } - - public string CsharpType(string paramName) { switch (this.Type) @@ -56,6 +54,9 @@ public IEnumerable HighLevelTypeDescription(string paramName) yield return "For requests that are constructed from/for a document NEST will automatically infer the routing key"; yield return "if that document has a or a routing mapping on for its type exists on "; yield break; + case "source_enabled": + yield return "Whether the _source should be included in the response."; + yield break; default: yield return this.Description; yield break; @@ -80,13 +81,25 @@ public string HighLevelType(string paramName) case "string" when isFields: return "Fields"; case "string" when o.Contains("field"): return "Field"; default: - return csharpType; + return NullableCsharpType(csharpType); + } + } + private static string NullableCsharpType(string fieldType) + { + switch (fieldType) + { + case "bool": return "bool?"; + case "integer": return "int?"; + case "double": return "double?"; + case "long": return "long?"; + default: + return fieldType; } } public Func Generator { get; set; } = (fieldType, mm, original, setter) => - $"public {fieldType} {mm} {{ get {{ return Q<{fieldType}>(\"{original}\"); }} set {{ Q(\"{original}\", {setter}); }} }}"; + $"public {NullableCsharpType(fieldType)} {mm} {{ get {{ return Q<{NullableCsharpType(fieldType)}>(\"{original}\"); }} set {{ Q(\"{original}\", {setter}); }} }}"; public Func FluentGenerator { get; set; } diff --git a/src/CodeGeneration/ApiGenerator/Views/_Descriptors.Generated.cshtml b/src/CodeGeneration/ApiGenerator/Views/_Descriptors.Generated.cshtml index 70f7f71cee5..00ac146e4a1 100644 --- a/src/CodeGeneration/ApiGenerator/Views/_Descriptors.Generated.cshtml +++ b/src/CodeGeneration/ApiGenerator/Views/_Descriptors.Generated.cshtml @@ -54,7 +54,7 @@ namespace Nest } var t = @kv.Value.HighLevelType(kv.Key); var tMethod = t == "Time" ? ".ToTimeSpan()" : ""; - var tSuffix = (t == "bool") ? " = true" : ""; + var tSuffix = (t == "bool" || t == "bool?") ? " = true" : ""; var m = kv.Key.ToPascalCase(); var mm = (m != "Type" && m != "Index" && m != "Source" && m != "Script") ? m : m + "QueryString"; var typed = !method.DescriptorTypeGeneric.IsNullOrEmpty(); diff --git a/src/Elasticsearch.Net/Domain/RequestParameters/RequestParameters.Generated.cs b/src/Elasticsearch.Net/Domain/RequestParameters/RequestParameters.Generated.cs index 8d6c5e19c7c..2db887aed6f 100644 --- a/src/Elasticsearch.Net/Domain/RequestParameters/RequestParameters.Generated.cs +++ b/src/Elasticsearch.Net/Domain/RequestParameters/RequestParameters.Generated.cs @@ -38,7 +38,7 @@ public class BulkRequestParameters : RequestParameters public IEnumerable Fields { get { return Q>("fields"); } set { Q("fields", value); } } ///True or false to return the _source field or not, or default list of fields to return, can be overridden on each sub-request - public string[] SourceEnabled { get { return Q("_source"); } set { Q("_source", value); } } + public bool? SourceEnabled { get { return Q("_source"); } set { Q("_source", value); } } ///Default list of fields to exclude from the returned _source field, can be overridden on each sub-request public IEnumerable SourceExclude { get { return Q>("_source_exclude"); } set { Q("_source_exclude", value); } } @@ -50,13 +50,13 @@ public class BulkRequestParameters : RequestParameters public string Pipeline { get { return Q("pipeline"); } set { Q("pipeline", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -78,7 +78,7 @@ public class CatAliasesRequestParameters : RequestParameters("format"); } set { Q("format", value); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Explicit operation timeout for connection to master node public TimeSpan MasterTimeout { get { return Q("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } @@ -87,22 +87,22 @@ public class CatAliasesRequestParameters : RequestParameters("h"); } set { Q("h", value); } } ///Return help information - public bool Help { get { return Q("help"); } set { Q("help", value); } } + public bool? Help { get { return Q("help"); } set { Q("help", value); } } ///Comma-separated list of column names or column aliases to sort by public string[] S { get { return Q("s"); } set { Q("s", value); } } ///Verbose mode. Display column headers - public bool V { get { return Q("v"); } set { Q("v", value); } } + public bool? V { get { return Q("v"); } set { Q("v", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -127,7 +127,7 @@ public class CatAllocationRequestParameters : RequestParameters("bytes"); } set { Q("bytes", value); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Explicit operation timeout for connection to master node public TimeSpan MasterTimeout { get { return Q("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } @@ -136,22 +136,22 @@ public class CatAllocationRequestParameters : RequestParameters("h"); } set { Q("h", value); } } ///Return help information - public bool Help { get { return Q("help"); } set { Q("help", value); } } + public bool? Help { get { return Q("help"); } set { Q("help", value); } } ///Comma-separated list of column names or column aliases to sort by public string[] S { get { return Q("s"); } set { Q("s", value); } } ///Verbose mode. Display column headers - public bool V { get { return Q("v"); } set { Q("v", value); } } + public bool? V { get { return Q("v"); } set { Q("v", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -173,7 +173,7 @@ public class CatCountRequestParameters : RequestParameters("format"); } set { Q("format", value); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Explicit operation timeout for connection to master node public TimeSpan MasterTimeout { get { return Q("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } @@ -182,22 +182,22 @@ public class CatCountRequestParameters : RequestParameters("h"); } set { Q("h", value); } } ///Return help information - public bool Help { get { return Q("help"); } set { Q("help", value); } } + public bool? Help { get { return Q("help"); } set { Q("help", value); } } ///Comma-separated list of column names or column aliases to sort by public string[] S { get { return Q("s"); } set { Q("s", value); } } ///Verbose mode. Display column headers - public bool V { get { return Q("v"); } set { Q("v", value); } } + public bool? V { get { return Q("v"); } set { Q("v", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -222,7 +222,7 @@ public class CatFielddataRequestParameters : RequestParameters("bytes"); } set { Q("bytes", value); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Explicit operation timeout for connection to master node public TimeSpan MasterTimeout { get { return Q("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } @@ -231,25 +231,25 @@ public class CatFielddataRequestParameters : RequestParameters("h"); } set { Q("h", value); } } ///Return help information - public bool Help { get { return Q("help"); } set { Q("help", value); } } + public bool? Help { get { return Q("help"); } set { Q("help", value); } } ///Comma-separated list of column names or column aliases to sort by public string[] S { get { return Q("s"); } set { Q("s", value); } } ///Verbose mode. Display column headers - public bool V { get { return Q("v"); } set { Q("v", value); } } + public bool? V { get { return Q("v"); } set { Q("v", value); } } ///A comma-separated list of fields to return in the output public IEnumerable Fields { get { return Q>("fields"); } set { Q("fields", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -271,7 +271,7 @@ public class CatHealthRequestParameters : RequestParameters("format"); } set { Q("format", value); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Explicit operation timeout for connection to master node public TimeSpan MasterTimeout { get { return Q("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } @@ -280,25 +280,25 @@ public class CatHealthRequestParameters : RequestParameters("h"); } set { Q("h", value); } } ///Return help information - public bool Help { get { return Q("help"); } set { Q("help", value); } } + public bool? Help { get { return Q("help"); } set { Q("help", value); } } ///Comma-separated list of column names or column aliases to sort by public string[] S { get { return Q("s"); } set { Q("s", value); } } ///Set to false to disable timestamping - public bool Ts { get { return Q("ts"); } set { Q("ts", value); } } + public bool? Ts { get { return Q("ts"); } set { Q("ts", value); } } ///Verbose mode. Display column headers - public bool V { get { return Q("v"); } set { Q("v", value); } } + public bool? V { get { return Q("v"); } set { Q("v", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -317,19 +317,19 @@ public class CatHelpRequestParameters : RequestParameters HttpMethod.GET; ///Return help information - public bool Help { get { return Q("help"); } set { Q("help", value); } } + public bool? Help { get { return Q("help"); } set { Q("help", value); } } ///Comma-separated list of column names or column aliases to sort by public string[] S { get { return Q("s"); } set { Q("s", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -354,7 +354,7 @@ public class CatIndicesRequestParameters : RequestParameters("bytes"); } set { Q("bytes", value); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Explicit operation timeout for connection to master node public TimeSpan MasterTimeout { get { return Q("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } @@ -366,25 +366,25 @@ public class CatIndicesRequestParameters : RequestParameters("health"); } set { Q("health", value); } } ///Return help information - public bool Help { get { return Q("help"); } set { Q("help", value); } } + public bool? Help { get { return Q("help"); } set { Q("help", value); } } ///Set to true to return stats only for primary shards - public bool Pri { get { return Q("pri"); } set { Q("pri", value); } } + public bool? Pri { get { return Q("pri"); } set { Q("pri", value); } } ///Comma-separated list of column names or column aliases to sort by public string[] S { get { return Q("s"); } set { Q("s", value); } } ///Verbose mode. Display column headers - public bool V { get { return Q("v"); } set { Q("v", value); } } + public bool? V { get { return Q("v"); } set { Q("v", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -406,7 +406,7 @@ public class CatMasterRequestParameters : RequestParameters("format"); } set { Q("format", value); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Explicit operation timeout for connection to master node public TimeSpan MasterTimeout { get { return Q("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } @@ -415,22 +415,22 @@ public class CatMasterRequestParameters : RequestParameters("h"); } set { Q("h", value); } } ///Return help information - public bool Help { get { return Q("help"); } set { Q("help", value); } } + public bool? Help { get { return Q("help"); } set { Q("help", value); } } ///Comma-separated list of column names or column aliases to sort by public string[] S { get { return Q("s"); } set { Q("s", value); } } ///Verbose mode. Display column headers - public bool V { get { return Q("v"); } set { Q("v", value); } } + public bool? V { get { return Q("v"); } set { Q("v", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -452,7 +452,7 @@ public class CatNodeAttributesRequestParameters : RequestParameters("format"); } set { Q("format", value); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Explicit operation timeout for connection to master node public TimeSpan MasterTimeout { get { return Q("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } @@ -461,22 +461,22 @@ public class CatNodeAttributesRequestParameters : RequestParameters("h"); } set { Q("h", value); } } ///Return help information - public bool Help { get { return Q("help"); } set { Q("help", value); } } + public bool? Help { get { return Q("help"); } set { Q("help", value); } } ///Comma-separated list of column names or column aliases to sort by public string[] S { get { return Q("s"); } set { Q("s", value); } } ///Verbose mode. Display column headers - public bool V { get { return Q("v"); } set { Q("v", value); } } + public bool? V { get { return Q("v"); } set { Q("v", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -498,10 +498,10 @@ public class CatNodesRequestParameters : RequestParameters("format"); } set { Q("format", value); } } ///Return the full node ID instead of the shortened version (default: false) - public bool FullId { get { return Q("full_id"); } set { Q("full_id", value); } } + public bool? FullId { get { return Q("full_id"); } set { Q("full_id", value); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Explicit operation timeout for connection to master node public TimeSpan MasterTimeout { get { return Q("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } @@ -510,22 +510,22 @@ public class CatNodesRequestParameters : RequestParameters("h"); } set { Q("h", value); } } ///Return help information - public bool Help { get { return Q("help"); } set { Q("help", value); } } + public bool? Help { get { return Q("help"); } set { Q("help", value); } } ///Comma-separated list of column names or column aliases to sort by public string[] S { get { return Q("s"); } set { Q("s", value); } } ///Verbose mode. Display column headers - public bool V { get { return Q("v"); } set { Q("v", value); } } + public bool? V { get { return Q("v"); } set { Q("v", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -547,7 +547,7 @@ public class CatPendingTasksRequestParameters : RequestParameters("format"); } set { Q("format", value); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Explicit operation timeout for connection to master node public TimeSpan MasterTimeout { get { return Q("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } @@ -556,22 +556,22 @@ public class CatPendingTasksRequestParameters : RequestParameters("h"); } set { Q("h", value); } } ///Return help information - public bool Help { get { return Q("help"); } set { Q("help", value); } } + public bool? Help { get { return Q("help"); } set { Q("help", value); } } ///Comma-separated list of column names or column aliases to sort by public string[] S { get { return Q("s"); } set { Q("s", value); } } ///Verbose mode. Display column headers - public bool V { get { return Q("v"); } set { Q("v", value); } } + public bool? V { get { return Q("v"); } set { Q("v", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -593,7 +593,7 @@ public class CatPluginsRequestParameters : RequestParameters("format"); } set { Q("format", value); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Explicit operation timeout for connection to master node public TimeSpan MasterTimeout { get { return Q("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } @@ -602,22 +602,22 @@ public class CatPluginsRequestParameters : RequestParameters("h"); } set { Q("h", value); } } ///Return help information - public bool Help { get { return Q("help"); } set { Q("help", value); } } + public bool? Help { get { return Q("help"); } set { Q("help", value); } } ///Comma-separated list of column names or column aliases to sort by public string[] S { get { return Q("s"); } set { Q("s", value); } } ///Verbose mode. Display column headers - public bool V { get { return Q("v"); } set { Q("v", value); } } + public bool? V { get { return Q("v"); } set { Q("v", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -648,22 +648,22 @@ public class CatRecoveryRequestParameters : RequestParameters("h"); } set { Q("h", value); } } ///Return help information - public bool Help { get { return Q("help"); } set { Q("help", value); } } + public bool? Help { get { return Q("help"); } set { Q("help", value); } } ///Comma-separated list of column names or column aliases to sort by public string[] S { get { return Q("s"); } set { Q("s", value); } } ///Verbose mode. Display column headers - public bool V { get { return Q("v"); } set { Q("v", value); } } + public bool? V { get { return Q("v"); } set { Q("v", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -685,7 +685,7 @@ public class CatRepositoriesRequestParameters : RequestParameters("format"); } set { Q("format", value); } } ///Return local information, do not retrieve the state from master node - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Explicit operation timeout for connection to master node public TimeSpan MasterTimeout { get { return Q("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } @@ -694,22 +694,22 @@ public class CatRepositoriesRequestParameters : RequestParameters("h"); } set { Q("h", value); } } ///Return help information - public bool Help { get { return Q("help"); } set { Q("help", value); } } + public bool? Help { get { return Q("help"); } set { Q("help", value); } } ///Comma-separated list of column names or column aliases to sort by public string[] S { get { return Q("s"); } set { Q("s", value); } } ///Verbose mode. Display column headers - public bool V { get { return Q("v"); } set { Q("v", value); } } + public bool? V { get { return Q("v"); } set { Q("v", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -737,22 +737,22 @@ public class CatSegmentsRequestParameters : RequestParameters("h"); } set { Q("h", value); } } ///Return help information - public bool Help { get { return Q("help"); } set { Q("help", value); } } + public bool? Help { get { return Q("help"); } set { Q("help", value); } } ///Comma-separated list of column names or column aliases to sort by public string[] S { get { return Q("s"); } set { Q("s", value); } } ///Verbose mode. Display column headers - public bool V { get { return Q("v"); } set { Q("v", value); } } + public bool? V { get { return Q("v"); } set { Q("v", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -777,7 +777,7 @@ public class CatShardsRequestParameters : RequestParameters("bytes"); } set { Q("bytes", value); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Explicit operation timeout for connection to master node public TimeSpan MasterTimeout { get { return Q("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } @@ -786,22 +786,22 @@ public class CatShardsRequestParameters : RequestParameters("h"); } set { Q("h", value); } } ///Return help information - public bool Help { get { return Q("help"); } set { Q("help", value); } } + public bool? Help { get { return Q("help"); } set { Q("help", value); } } ///Comma-separated list of column names or column aliases to sort by public string[] S { get { return Q("s"); } set { Q("s", value); } } ///Verbose mode. Display column headers - public bool V { get { return Q("v"); } set { Q("v", value); } } + public bool? V { get { return Q("v"); } set { Q("v", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -823,7 +823,7 @@ public class CatSnapshotsRequestParameters : RequestParameters("format"); } set { Q("format", value); } } ///Set to true to ignore unavailable snapshots - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Explicit operation timeout for connection to master node public TimeSpan MasterTimeout { get { return Q("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } @@ -832,22 +832,22 @@ public class CatSnapshotsRequestParameters : RequestParameters("h"); } set { Q("h", value); } } ///Return help information - public bool Help { get { return Q("help"); } set { Q("help", value); } } + public bool? Help { get { return Q("help"); } set { Q("help", value); } } ///Comma-separated list of column names or column aliases to sort by public string[] S { get { return Q("s"); } set { Q("s", value); } } ///Verbose mode. Display column headers - public bool V { get { return Q("v"); } set { Q("v", value); } } + public bool? V { get { return Q("v"); } set { Q("v", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -875,34 +875,34 @@ public class CatTasksRequestParameters : RequestParameters("actions"); } set { Q("actions", value); } } ///Return detailed task information (default: false) - public bool Detailed { get { return Q("detailed"); } set { Q("detailed", value); } } + public bool? Detailed { get { return Q("detailed"); } set { Q("detailed", value); } } ///Return tasks with specified parent node. public string ParentNode { get { return Q("parent_node"); } set { Q("parent_node", value); } } ///Return tasks with specified parent task id. Set to -1 to return all. - public long ParentTask { get { return Q("parent_task"); } set { Q("parent_task", value); } } + public long? ParentTask { get { return Q("parent_task"); } set { Q("parent_task", value); } } ///Comma-separated list of column names to display public string[] H { get { return Q("h"); } set { Q("h", value); } } ///Return help information - public bool Help { get { return Q("help"); } set { Q("help", value); } } + public bool? Help { get { return Q("help"); } set { Q("help", value); } } ///Comma-separated list of column names or column aliases to sort by public string[] S { get { return Q("s"); } set { Q("s", value); } } ///Verbose mode. Display column headers - public bool V { get { return Q("v"); } set { Q("v", value); } } + public bool? V { get { return Q("v"); } set { Q("v", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -924,7 +924,7 @@ public class CatTemplatesRequestParameters : RequestParameters("format"); } set { Q("format", value); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Explicit operation timeout for connection to master node public TimeSpan MasterTimeout { get { return Q("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } @@ -933,22 +933,22 @@ public class CatTemplatesRequestParameters : RequestParameters("h"); } set { Q("h", value); } } ///Return help information - public bool Help { get { return Q("help"); } set { Q("help", value); } } + public bool? Help { get { return Q("help"); } set { Q("help", value); } } ///Comma-separated list of column names or column aliases to sort by public string[] S { get { return Q("s"); } set { Q("s", value); } } ///Verbose mode. Display column headers - public bool V { get { return Q("v"); } set { Q("v", value); } } + public bool? V { get { return Q("v"); } set { Q("v", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -973,7 +973,7 @@ public class CatThreadPoolRequestParameters : RequestParameters("size"); } set { Q("size", value); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Explicit operation timeout for connection to master node public TimeSpan MasterTimeout { get { return Q("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } @@ -982,22 +982,22 @@ public class CatThreadPoolRequestParameters : RequestParameters("h"); } set { Q("h", value); } } ///Return help information - public bool Help { get { return Q("help"); } set { Q("help", value); } } + public bool? Help { get { return Q("help"); } set { Q("help", value); } } ///Comma-separated list of column names or column aliases to sort by public string[] S { get { return Q("s"); } set { Q("s", value); } } ///Verbose mode. Display column headers - public bool V { get { return Q("v"); } set { Q("v", value); } } + public bool? V { get { return Q("v"); } set { Q("v", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -1016,13 +1016,13 @@ public class ClearScrollRequestParameters : RequestParameters HttpMethod.DELETE; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -1041,19 +1041,19 @@ public class ClusterAllocationExplainRequestParameters : RequestParameters HttpMethod.POST; ///Return 'YES' decisions in explanation (default: false) - public bool IncludeYesDecisions { get { return Q("include_yes_decisions"); } set { Q("include_yes_decisions", value); } } + public bool? IncludeYesDecisions { get { return Q("include_yes_decisions"); } set { Q("include_yes_decisions", value); } } ///Return information about disk usage and shard sizes (default: false) - public bool IncludeDiskInfo { get { return Q("include_disk_info"); } set { Q("include_disk_info", value); } } + public bool? IncludeDiskInfo { get { return Q("include_disk_info"); } set { Q("include_disk_info", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -1072,7 +1072,7 @@ public class ClusterGetSettingsRequestParameters : RequestParameters HttpMethod.GET; ///Return settings in flat format (default: false) - public bool FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } + public bool? FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } ///Explicit operation timeout for connection to master node public TimeSpan MasterTimeout { get { return Q("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } @@ -1081,16 +1081,16 @@ public class ClusterGetSettingsRequestParameters : RequestParameters("timeout"); } set { Q("timeout", value.ToTimeUnit()); } } ///Whether to return all default clusters setting. - public bool IncludeDefaults { get { return Q("include_defaults"); } set { Q("include_defaults", value); } } + public bool? IncludeDefaults { get { return Q("include_defaults"); } set { Q("include_defaults", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -1112,7 +1112,7 @@ public class ClusterHealthRequestParameters : RequestParameters("level"); } set { Q("level", value); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Explicit operation timeout for connection to master node public TimeSpan MasterTimeout { get { return Q("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } @@ -1130,19 +1130,19 @@ public class ClusterHealthRequestParameters : RequestParameters("wait_for_events"); } set { Q("wait_for_events", value); } } ///Whether to wait until there are no relocating shards in the cluster - public bool WaitForNoRelocatingShards { get { return Q("wait_for_no_relocating_shards"); } set { Q("wait_for_no_relocating_shards", value); } } + public bool? WaitForNoRelocatingShards { get { return Q("wait_for_no_relocating_shards"); } set { Q("wait_for_no_relocating_shards", value); } } ///Wait until cluster is in a specific state public WaitForStatus WaitForStatus { get { return Q("wait_for_status"); } set { Q("wait_for_status", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -1161,19 +1161,19 @@ public class ClusterPendingTasksRequestParameters : RequestParameters HttpMethod.GET; ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Specify timeout for connection to master public TimeSpan MasterTimeout { get { return Q("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -1192,7 +1192,7 @@ public class ClusterPutSettingsRequestParameters : RequestParameters HttpMethod.PUT; ///Return settings in flat format (default: false) - public bool FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } + public bool? FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } ///Explicit operation timeout for connection to master node public TimeSpan MasterTimeout { get { return Q("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } @@ -1201,13 +1201,13 @@ public class ClusterPutSettingsRequestParameters : RequestParameters("timeout"); } set { Q("timeout", value.ToTimeUnit()); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -1226,13 +1226,13 @@ public class RemoteInfoRequestParameters : RequestParameters HttpMethod.GET; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -1251,13 +1251,13 @@ public class ClusterRerouteRequestParameters : RequestParameters HttpMethod.POST; ///Simulate the operation only and return the resulting state - public bool DryRun { get { return Q("dry_run"); } set { Q("dry_run", value); } } + public bool? DryRun { get { return Q("dry_run"); } set { Q("dry_run", value); } } ///Return an explanation of why the commands can or cannot be executed - public bool Explain { get { return Q("explain"); } set { Q("explain", value); } } + public bool? Explain { get { return Q("explain"); } set { Q("explain", value); } } ///Retries allocation of shards that are blocked due to too many subsequent allocation failures - public bool RetryFailed { get { return Q("retry_failed"); } set { Q("retry_failed", value); } } + public bool? RetryFailed { get { return Q("retry_failed"); } set { Q("retry_failed", value); } } ///Limit the information returned to the specified metrics. Defaults to all but metadata public string[] Metric { get { return Q("metric"); } set { Q("metric", value); } } @@ -1269,13 +1269,13 @@ public class ClusterRerouteRequestParameters : RequestParameters("timeout"); } set { Q("timeout", value.ToTimeUnit()); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -1294,31 +1294,31 @@ public class ClusterStateRequestParameters : RequestParameters HttpMethod.GET; ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Specify timeout for connection to master public TimeSpan MasterTimeout { get { return Q("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Return settings in flat format (default: false) - public bool FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } + public bool? FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -1337,19 +1337,19 @@ public class ClusterStatsRequestParameters : RequestParameters HttpMethod.GET; ///Return settings in flat format (default: false) - public bool FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } + public bool? FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } ///Explicit operation timeout public TimeSpan Timeout { get { return Q("timeout"); } set { Q("timeout", value.ToTimeUnit()); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -1368,16 +1368,16 @@ public class CountRequestParameters : RequestParameters { public override HttpMethod DefaultHttpMethod => HttpMethod.POST; ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Include only documents with a specific `_score` value in the result - public double MinScore { get { return Q("min_score"); } set { Q("min_score", value); } } + public double? MinScore { get { return Q("min_score"); } set { Q("min_score", value); } } ///Specify the node or shard the operation should be performed on (default: random) public string Preference { get { return Q("preference"); } set { Q("preference", value); } } @@ -1392,7 +1392,7 @@ public class CountRequestParameters : RequestParameters public string Analyzer { get { return Q("analyzer"); } set { Q("analyzer", value); } } ///Specify whether wildcard and prefix queries should be analyzed (default: false) - public bool AnalyzeWildcard { get { return Q("analyze_wildcard"); } set { Q("analyze_wildcard", value); } } + public bool? AnalyzeWildcard { get { return Q("analyze_wildcard"); } set { Q("analyze_wildcard", value); } } ///The default operator for query string query (AND or OR) public DefaultOperator DefaultOperator { get { return Q("default_operator"); } set { Q("default_operator", value); } } @@ -1401,19 +1401,19 @@ public class CountRequestParameters : RequestParameters public string Df { get { return Q("df"); } set { Q("df", value); } } ///Specify whether format-based query failures (such as providing text to a numeric field) should be ignored - public bool Lenient { get { return Q("lenient"); } set { Q("lenient", value); } } + public bool? Lenient { get { return Q("lenient"); } set { Q("lenient", value); } } ///The maximum count for each shard, upon reaching which the query execution will terminate early - public long TerminateAfter { get { return Q("terminate_after"); } set { Q("terminate_after", value); } } + public long? TerminateAfter { get { return Q("terminate_after"); } set { Q("terminate_after", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -1453,7 +1453,7 @@ public class CreateRequestParameters : RequestParameters("ttl"); } set { Q("ttl", value.ToTimeUnit()); } } ///Explicit version number for concurrency control - public long Version { get { return Q("version"); } set { Q("version", value); } } + public long? Version { get { return Q("version"); } set { Q("version", value); } } ///Specific version type public VersionType VersionType { get { return Q("version_type"); } set { Q("version_type", value); } } @@ -1462,13 +1462,13 @@ public class CreateRequestParameters : RequestParameters("pipeline"); } set { Q("pipeline", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -1502,19 +1502,19 @@ public class DeleteRequestParameters : RequestParameters("timeout"); } set { Q("timeout", value.ToTimeUnit()); } } ///Explicit version number for concurrency control - public long Version { get { return Q("version"); } set { Q("version", value); } } + public long? Version { get { return Q("version"); } set { Q("version", value); } } ///Specific version type public VersionType VersionType { get { return Q("version_type"); } set { Q("version_type", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -1536,7 +1536,7 @@ public class DeleteByQueryRequestParameters : RequestParameters("analyzer"); } set { Q("analyzer", value); } } ///Specify whether wildcard and prefix queries should be analyzed (default: false) - public bool AnalyzeWildcard { get { return Q("analyze_wildcard"); } set { Q("analyze_wildcard", value); } } + public bool? AnalyzeWildcard { get { return Q("analyze_wildcard"); } set { Q("analyze_wildcard", value); } } ///The default operator for query string query (AND or OR) public DefaultOperator DefaultOperator { get { return Q("default_operator"); } set { Q("default_operator", value); } } @@ -1545,13 +1545,13 @@ public class DeleteByQueryRequestParameters : RequestParameters("df"); } set { Q("df", value); } } ///Starting offset (default: 0) - public long From { get { return Q("from"); } set { Q("from", value); } } + public long? From { get { return Q("from"); } set { Q("from", value); } } ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///What to do when the delete-by-query hits version conflicts? public Conflicts Conflicts { get { return Q("conflicts"); } set { Q("conflicts", value); } } @@ -1560,7 +1560,7 @@ public class DeleteByQueryRequestParameters : RequestParameters("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Specify whether format-based query failures (such as providing text to a numeric field) should be ignored - public bool Lenient { get { return Q("lenient"); } set { Q("lenient", value); } } + public bool? Lenient { get { return Q("lenient"); } set { Q("lenient", value); } } ///Specify the node or shard the operation should be performed on (default: random) public string Preference { get { return Q("preference"); } set { Q("preference", value); } } @@ -1581,13 +1581,13 @@ public class DeleteByQueryRequestParameters : RequestParameters("search_timeout"); } set { Q("search_timeout", value.ToTimeUnit()); } } ///Number of hits to return (default: 10) - public long Size { get { return Q("size"); } set { Q("size", value); } } + public long? Size { get { return Q("size"); } set { Q("size", value); } } ///A comma-separated list of <field>:<direction> pairs public string[] Sort { get { return Q("sort"); } set { Q("sort", value); } } ///True or false to return the _source field or not, or a list of fields to return - public string[] SourceEnabled { get { return Q("_source"); } set { Q("_source", value); } } + public bool? SourceEnabled { get { return Q("_source"); } set { Q("_source", value); } } ///A list of fields to exclude from the returned _source field public IEnumerable SourceExclude { get { return Q>("_source_exclude"); } set { Q("_source_exclude", value); } } @@ -1596,19 +1596,19 @@ public class DeleteByQueryRequestParameters : RequestParameters SourceInclude { get { return Q>("_source_include"); } set { Q("_source_include", value); } } ///The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early. - public long TerminateAfter { get { return Q("terminate_after"); } set { Q("terminate_after", value); } } + public long? TerminateAfter { get { return Q("terminate_after"); } set { Q("terminate_after", value); } } ///Specific 'tag' of the request for logging and statistical purposes public string[] Stats { get { return Q("stats"); } set { Q("stats", value); } } ///Specify whether to return document version as part of a hit - public bool Version { get { return Q("version"); } set { Q("version", value); } } + public bool? Version { get { return Q("version"); } set { Q("version", value); } } ///Specify if request cache should be used for this request or not, defaults to index level setting - public bool RequestCache { get { return Q("request_cache"); } set { Q("request_cache", value); } } + public bool? RequestCache { get { return Q("request_cache"); } set { Q("request_cache", value); } } ///Should the effected indexes be refreshed? - public bool Refresh { get { return Q("refresh"); } set { Q("refresh", value); } } + public bool? Refresh { get { return Q("refresh"); } set { Q("refresh", value); } } ///Time each individual bulk request should wait for shards that are unavailable. public TimeSpan Timeout { get { return Q("timeout"); } set { Q("timeout", value.ToTimeUnit()); } } @@ -1617,25 +1617,25 @@ public class DeleteByQueryRequestParameters : RequestParameters("wait_for_active_shards"); } set { Q("wait_for_active_shards", value); } } ///Size on the scroll request powering the update_by_query - public long ScrollSize { get { return Q("scroll_size"); } set { Q("scroll_size", value); } } + public long? ScrollSize { get { return Q("scroll_size"); } set { Q("scroll_size", value); } } ///Should the request should block until the delete-by-query is complete. - public bool WaitForCompletion { get { return Q("wait_for_completion"); } set { Q("wait_for_completion", value); } } + public bool? WaitForCompletion { get { return Q("wait_for_completion"); } set { Q("wait_for_completion", value); } } ///The throttle for this request in sub-requests per second. -1 means no throttle. - public long RequestsPerSecond { get { return Q("requests_per_second"); } set { Q("requests_per_second", value); } } + public long? RequestsPerSecond { get { return Q("requests_per_second"); } set { Q("requests_per_second", value); } } ///The number of slices this task should be divided into. Defaults to 1 meaning the task isn't sliced into subtasks. - public long Slices { get { return Q("slices"); } set { Q("slices", value); } } + public long? Slices { get { return Q("slices"); } set { Q("slices", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -1660,13 +1660,13 @@ public class DeleteScriptRequestParameters : RequestParameters("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -1694,16 +1694,16 @@ public class DocumentExistsRequestParameters : RequestParameters("preference"); } set { Q("preference", value); } } ///Specify whether to perform the operation in realtime or search mode - public bool Realtime { get { return Q("realtime"); } set { Q("realtime", value); } } + public bool? Realtime { get { return Q("realtime"); } set { Q("realtime", value); } } ///Refresh the shard containing the document before performing the operation - public bool Refresh { get { return Q("refresh"); } set { Q("refresh", value); } } + public bool? Refresh { get { return Q("refresh"); } set { Q("refresh", value); } } ///Specific routing value public string Routing { get { return Q("routing"); } set { Q("routing", value); } } ///True or false to return the _source field or not, or a list of fields to return - public string[] SourceEnabled { get { return Q("_source"); } set { Q("_source", value); } } + public bool? SourceEnabled { get { return Q("_source"); } set { Q("_source", value); } } ///A list of fields to exclude from the returned _source field public IEnumerable SourceExclude { get { return Q>("_source_exclude"); } set { Q("_source_exclude", value); } } @@ -1712,19 +1712,19 @@ public class DocumentExistsRequestParameters : RequestParameters SourceInclude { get { return Q>("_source_include"); } set { Q("_source_include", value); } } ///Explicit version number for concurrency control - public long Version { get { return Q("version"); } set { Q("version", value); } } + public long? Version { get { return Q("version"); } set { Q("version", value); } } ///Specific version type public VersionType VersionType { get { return Q("version_type"); } set { Q("version_type", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -1749,16 +1749,16 @@ public class SourceExistsRequestParameters : RequestParameters("preference"); } set { Q("preference", value); } } ///Specify whether to perform the operation in realtime or search mode - public bool Realtime { get { return Q("realtime"); } set { Q("realtime", value); } } + public bool? Realtime { get { return Q("realtime"); } set { Q("realtime", value); } } ///Refresh the shard containing the document before performing the operation - public bool Refresh { get { return Q("refresh"); } set { Q("refresh", value); } } + public bool? Refresh { get { return Q("refresh"); } set { Q("refresh", value); } } ///Specific routing value public string Routing { get { return Q("routing"); } set { Q("routing", value); } } ///True or false to return the _source field or not, or a list of fields to return - public string[] SourceEnabled { get { return Q("_source"); } set { Q("_source", value); } } + public bool? SourceEnabled { get { return Q("_source"); } set { Q("_source", value); } } ///A list of fields to exclude from the returned _source field public IEnumerable SourceExclude { get { return Q>("_source_exclude"); } set { Q("_source_exclude", value); } } @@ -1767,19 +1767,19 @@ public class SourceExistsRequestParameters : RequestParameters SourceInclude { get { return Q>("_source_include"); } set { Q("_source_include", value); } } ///Explicit version number for concurrency control - public long Version { get { return Q("version"); } set { Q("version", value); } } + public long? Version { get { return Q("version"); } set { Q("version", value); } } ///Specific version type public VersionType VersionType { get { return Q("version_type"); } set { Q("version_type", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -1798,7 +1798,7 @@ public class ExplainRequestParameters : RequestParameters HttpMethod.POST; ///Specify whether wildcards and prefix queries in the query string query should be analyzed (default: false) - public bool AnalyzeWildcard { get { return Q("analyze_wildcard"); } set { Q("analyze_wildcard", value); } } + public bool? AnalyzeWildcard { get { return Q("analyze_wildcard"); } set { Q("analyze_wildcard", value); } } ///The analyzer for the query string query public string Analyzer { get { return Q("analyzer"); } set { Q("analyzer", value); } } @@ -1813,7 +1813,7 @@ public class ExplainRequestParameters : RequestParameters StoredFields { get { return Q>("stored_fields"); } set { Q("stored_fields", value); } } ///Specify whether format-based query failures (such as providing text to a numeric field) should be ignored - public bool Lenient { get { return Q("lenient"); } set { Q("lenient", value); } } + public bool? Lenient { get { return Q("lenient"); } set { Q("lenient", value); } } ///The ID of the parent document public string Parent { get { return Q("parent"); } set { Q("parent", value); } } @@ -1828,7 +1828,7 @@ public class ExplainRequestParameters : RequestParameters("routing"); } set { Q("routing", value); } } ///True or false to return the _source field or not, or a list of fields to return - public string[] SourceEnabled { get { return Q("_source"); } set { Q("_source", value); } } + public bool? SourceEnabled { get { return Q("_source"); } set { Q("_source", value); } } ///A list of fields to exclude from the returned _source field public IEnumerable SourceExclude { get { return Q>("_source_exclude"); } set { Q("_source_exclude", value); } } @@ -1837,13 +1837,13 @@ public class ExplainRequestParameters : RequestParameters SourceInclude { get { return Q>("_source_include"); } set { Q("_source_include", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -1865,22 +1865,22 @@ public class FieldCapabilitiesRequestParameters : RequestParameters Fields { get { return Q>("fields"); } set { Q("fields", value); } } ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -1908,16 +1908,16 @@ public class GetRequestParameters : RequestParameters public string Preference { get { return Q("preference"); } set { Q("preference", value); } } ///Specify whether to perform the operation in realtime or search mode - public bool Realtime { get { return Q("realtime"); } set { Q("realtime", value); } } + public bool? Realtime { get { return Q("realtime"); } set { Q("realtime", value); } } ///Refresh the shard containing the document before performing the operation - public bool Refresh { get { return Q("refresh"); } set { Q("refresh", value); } } + public bool? Refresh { get { return Q("refresh"); } set { Q("refresh", value); } } ///Specific routing value public string Routing { get { return Q("routing"); } set { Q("routing", value); } } ///True or false to return the _source field or not, or a list of fields to return - public string[] SourceEnabled { get { return Q("_source"); } set { Q("_source", value); } } + public bool? SourceEnabled { get { return Q("_source"); } set { Q("_source", value); } } ///A list of fields to exclude from the returned _source field public IEnumerable SourceExclude { get { return Q>("_source_exclude"); } set { Q("_source_exclude", value); } } @@ -1926,19 +1926,19 @@ public class GetRequestParameters : RequestParameters public IEnumerable SourceInclude { get { return Q>("_source_include"); } set { Q("_source_include", value); } } ///Explicit version number for concurrency control - public long Version { get { return Q("version"); } set { Q("version", value); } } + public long? Version { get { return Q("version"); } set { Q("version", value); } } ///Specific version type public VersionType VersionType { get { return Q("version_type"); } set { Q("version_type", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -1957,13 +1957,13 @@ public class GetScriptRequestParameters : RequestParameters HttpMethod.GET; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -1988,16 +1988,16 @@ public class SourceRequestParameters : RequestParameters("preference"); } set { Q("preference", value); } } ///Specify whether to perform the operation in realtime or search mode - public bool Realtime { get { return Q("realtime"); } set { Q("realtime", value); } } + public bool? Realtime { get { return Q("realtime"); } set { Q("realtime", value); } } ///Refresh the shard containing the document before performing the operation - public bool Refresh { get { return Q("refresh"); } set { Q("refresh", value); } } + public bool? Refresh { get { return Q("refresh"); } set { Q("refresh", value); } } ///Specific routing value public string Routing { get { return Q("routing"); } set { Q("routing", value); } } ///True or false to return the _source field or not, or a list of fields to return - public string[] SourceEnabled { get { return Q("_source"); } set { Q("_source", value); } } + public bool? SourceEnabled { get { return Q("_source"); } set { Q("_source", value); } } ///A list of fields to exclude from the returned _source field public IEnumerable SourceExclude { get { return Q>("_source_exclude"); } set { Q("_source_exclude", value); } } @@ -2006,19 +2006,19 @@ public class SourceRequestParameters : RequestParameters SourceInclude { get { return Q>("_source_include"); } set { Q("_source_include", value); } } ///Explicit version number for concurrency control - public long Version { get { return Q("version"); } set { Q("version", value); } } + public long? Version { get { return Q("version"); } set { Q("version", value); } } ///Specific version type public VersionType VersionType { get { return Q("version_type"); } set { Q("version_type", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -2061,7 +2061,7 @@ public class IndexRequestParameters : RequestParameters public TimeSpan Ttl { get { return Q("ttl"); } set { Q("ttl", value.ToTimeUnit()); } } ///Explicit version number for concurrency control - public long Version { get { return Q("version"); } set { Q("version", value); } } + public long? Version { get { return Q("version"); } set { Q("version", value); } } ///Specific version type public VersionType VersionType { get { return Q("version_type"); } set { Q("version_type", value); } } @@ -2070,13 +2070,13 @@ public class IndexRequestParameters : RequestParameters public string Pipeline { get { return Q("pipeline"); } set { Q("pipeline", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -2098,19 +2098,19 @@ public class AnalyzeRequestParameters : RequestParameters("index"); } set { Q("index", value); } } ///With `true`, specify that a local shard should be used if available, with `false`, use a random shard (default: true) - public bool PreferLocal { get { return Q("prefer_local"); } set { Q("prefer_local", value); } } + public bool? PreferLocal { get { return Q("prefer_local"); } set { Q("prefer_local", value); } } ///Format of the output public Format Format { get { return Q("format"); } set { Q("format", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -2129,19 +2129,19 @@ public class ClearCacheRequestParameters : RequestParameters HttpMethod.POST; ///Clear field data - public bool FieldData { get { return Q("field_data"); } set { Q("field_data", value); } } + public bool? Fielddata { get { return Q("fielddata"); } set { Q("fielddata", value); } } ///A comma-separated list of fields to clear when using the `field_data` parameter (default: all) public IEnumerable Fields { get { return Q>("fields"); } set { Q("fields", value); } } ///Clear query caches - public bool Query { get { return Q("query"); } set { Q("query", value); } } + public bool? Query { get { return Q("query"); } set { Q("query", value); } } ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } @@ -2150,22 +2150,22 @@ public class ClearCacheRequestParameters : RequestParameters("index"); } set { Q("index", value); } } ///Clear the recycler cache - public bool Recycler { get { return Q("recycler"); } set { Q("recycler", value); } } + public bool? Recycler { get { return Q("recycler"); } set { Q("recycler", value); } } ///Clear request cache - public bool RequestCache { get { return Q("request_cache"); } set { Q("request_cache", value); } } + public bool? RequestCache { get { return Q("request_cache"); } set { Q("request_cache", value); } } ///Clear request cache - public bool Request { get { return Q("request"); } set { Q("request", value); } } + public bool? Request { get { return Q("request"); } set { Q("request", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -2190,22 +2190,22 @@ public class CloseIndexRequestParameters : RequestParameters("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -2233,16 +2233,16 @@ public class CreateIndexRequestParameters : RequestParameters("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Whether to update the mapping for all fields with the same name across all types or not - public bool UpdateAllTypes { get { return Q("update_all_types"); } set { Q("update_all_types", value); } } + public bool? UpdateAllTypes { get { return Q("update_all_types"); } set { Q("update_all_types", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -2267,22 +2267,22 @@ public class DeleteIndexRequestParameters : RequestParameters("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Ignore unavailable indexes (default: false) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Ignore if a wildcard expression resolves to no concrete indices (default: false) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether wildcard expressions should get expanded to open or closed indices (default: open) public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -2307,13 +2307,13 @@ public class DeleteAliasRequestParameters : RequestParameters("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -2338,13 +2338,13 @@ public class DeleteIndexTemplateRequestParameters : RequestParameters("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -2363,31 +2363,31 @@ public class IndexExistsRequestParameters : RequestParameters HttpMethod.HEAD; ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Ignore unavailable indexes (default: false) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Ignore if a wildcard expression resolves to no concrete indices (default: false) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether wildcard expressions should get expanded to open or closed indices (default: open) public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Return settings in flat format (default: false) - public bool FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } + public bool? FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } ///Whether to return all default setting for each of the indices. - public bool IncludeDefaults { get { return Q("include_defaults"); } set { Q("include_defaults", value); } } + public bool? IncludeDefaults { get { return Q("include_defaults"); } set { Q("include_defaults", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -2406,25 +2406,25 @@ public class AliasExistsRequestParameters : RequestParameters HttpMethod.HEAD; ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -2443,22 +2443,22 @@ public class IndexTemplateExistsRequestParameters : RequestParameters HttpMethod.HEAD; ///Return settings in flat format (default: false) - public bool FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } + public bool? FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } ///Explicit operation timeout for connection to master node public TimeSpan MasterTimeout { get { return Q("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -2477,25 +2477,25 @@ public class TypeExistsRequestParameters : RequestParameters HttpMethod.HEAD; ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -2514,28 +2514,28 @@ public class FlushRequestParameters : RequestParameters { public override HttpMethod DefaultHttpMethod => HttpMethod.POST; ///Whether a flush should be forced even if it is not necessarily needed ie. if no changes will be committed to the index. This is useful if transaction log IDs should be incremented even if no uncommitted changes are present. (This setting can be considered as internal) - public bool Force { get { return Q("force"); } set { Q("force", value); } } + public bool? Force { get { return Q("force"); } set { Q("force", value); } } ///If set to true the flush operation will block until the flush can be executed if another flush operation is already executing. The default is true. If set to false the flush will be skipped iff if another flush operation is already running. - public bool WaitIfOngoing { get { return Q("wait_if_ongoing"); } set { Q("wait_if_ongoing", value); } } + public bool? WaitIfOngoing { get { return Q("wait_if_ongoing"); } set { Q("wait_if_ongoing", value); } } ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -2554,22 +2554,22 @@ public class SyncedFlushRequestParameters : RequestParameters HttpMethod.POST; ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -2588,37 +2588,37 @@ public class ForceMergeRequestParameters : RequestParameters HttpMethod.POST; ///Specify whether the index should be flushed after performing the operation (default: true) - public bool Flush { get { return Q("flush"); } set { Q("flush", value); } } + public bool? Flush { get { return Q("flush"); } set { Q("flush", value); } } ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///The number of segments the index should be merged into (default: dynamic) - public long MaxNumSegments { get { return Q("max_num_segments"); } set { Q("max_num_segments", value); } } + public long? MaxNumSegments { get { return Q("max_num_segments"); } set { Q("max_num_segments", value); } } ///Specify whether the operation should only expunge deleted documents - public bool OnlyExpungeDeletes { get { return Q("only_expunge_deletes"); } set { Q("only_expunge_deletes", value); } } + public bool? OnlyExpungeDeletes { get { return Q("only_expunge_deletes"); } set { Q("only_expunge_deletes", value); } } ///TODO: ? public string OperationThreading { get { return Q("operation_threading"); } set { Q("operation_threading", value); } } ///Specify whether the request should block until the merge process is finished (default: true) - public bool WaitForMerge { get { return Q("wait_for_merge"); } set { Q("wait_for_merge", value); } } + public bool? WaitForMerge { get { return Q("wait_for_merge"); } set { Q("wait_for_merge", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -2637,31 +2637,31 @@ public class GetIndexRequestParameters : RequestParameters HttpMethod.GET; ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Ignore unavailable indexes (default: false) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Ignore if a wildcard expression resolves to no concrete indices (default: false) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether wildcard expressions should get expanded to open or closed indices (default: open) public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Return settings in flat format (default: false) - public bool FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } + public bool? FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } ///Whether to return all default setting for each of the indices. - public bool IncludeDefaults { get { return Q("include_defaults"); } set { Q("include_defaults", value); } } + public bool? IncludeDefaults { get { return Q("include_defaults"); } set { Q("include_defaults", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -2680,25 +2680,25 @@ public class GetAliasRequestParameters : RequestParameters HttpMethod.GET; ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -2717,28 +2717,28 @@ public class GetFieldMappingRequestParameters : RequestParameters HttpMethod.GET; ///Whether the default mapping values should be returned as well - public bool IncludeDefaults { get { return Q("include_defaults"); } set { Q("include_defaults", value); } } + public bool? IncludeDefaults { get { return Q("include_defaults"); } set { Q("include_defaults", value); } } ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -2757,25 +2757,25 @@ public class GetMappingRequestParameters : RequestParameters HttpMethod.GET; ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -2794,31 +2794,31 @@ public class GetIndexSettingsRequestParameters : RequestParameters HttpMethod.GET; ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Return settings in flat format (default: false) - public bool FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } + public bool? FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Whether to return all default setting for each of the indices. - public bool IncludeDefaults { get { return Q("include_defaults"); } set { Q("include_defaults", value); } } + public bool? IncludeDefaults { get { return Q("include_defaults"); } set { Q("include_defaults", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -2837,22 +2837,22 @@ public class GetIndexTemplateRequestParameters : RequestParameters HttpMethod.GET; ///Return settings in flat format (default: false) - public bool FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } + public bool? FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } ///Explicit operation timeout for connection to master node public TimeSpan MasterTimeout { get { return Q("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -2871,22 +2871,22 @@ public class UpgradeStatusRequestParameters : RequestParameters HttpMethod.GET; ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -2911,22 +2911,22 @@ public class OpenIndexRequestParameters : RequestParameters("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -2951,13 +2951,13 @@ public class PutAliasRequestParameters : RequestParameters("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -2982,25 +2982,25 @@ public class PutMappingRequestParameters : RequestParameters("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Whether to update the mapping for all fields with the same name across all types or not - public bool UpdateAllTypes { get { return Q("update_all_types"); } set { Q("update_all_types", value); } } + public bool? UpdateAllTypes { get { return Q("update_all_types"); } set { Q("update_all_types", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3022,28 +3022,28 @@ public class UpdateIndexSettingsRequestParameters : RequestParameters("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Whether to update existing settings. If set to `true` existing settings on an index remain unchanged, the default is `false` - public bool PreserveExisting { get { return Q("preserve_existing"); } set { Q("preserve_existing", value); } } + public bool? PreserveExisting { get { return Q("preserve_existing"); } set { Q("preserve_existing", value); } } ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Return settings in flat format (default: false) - public bool FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } + public bool? FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3062,7 +3062,7 @@ public class PutIndexTemplateRequestParameters : RequestParameters HttpMethod.PUT; ///Whether the index template should only be added if new or can also replace an existing one - public bool Create { get { return Q("create"); } set { Q("create", value); } } + public bool? Create { get { return Q("create"); } set { Q("create", value); } } ///Explicit operation timeout public TimeSpan Timeout { get { return Q("timeout"); } set { Q("timeout", value.ToTimeUnit()); } } @@ -3071,16 +3071,16 @@ public class PutIndexTemplateRequestParameters : RequestParameters("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Return settings in flat format (default: false) - public bool FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } + public bool? FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3099,19 +3099,19 @@ public class RecoveryStatusRequestParameters : RequestParameters HttpMethod.GET; ///Whether to display detailed information about shard recovery - public bool Detailed { get { return Q("detailed"); } set { Q("detailed", value); } } + public bool? Detailed { get { return Q("detailed"); } set { Q("detailed", value); } } ///Display only those recoveries that are currently on-going - public bool ActiveOnly { get { return Q("active_only"); } set { Q("active_only", value); } } + public bool? ActiveOnly { get { return Q("active_only"); } set { Q("active_only", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3130,22 +3130,22 @@ public class RefreshRequestParameters : RequestParameters HttpMethod.POST; ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3167,7 +3167,7 @@ public class RolloverIndexRequestParameters : RequestParameters("timeout"); } set { Q("timeout", value.ToTimeUnit()); } } ///If set to true the rollover action will only be validated but not actually performed even if a condition matches. The default is false - public bool DryRun { get { return Q("dry_run"); } set { Q("dry_run", value); } } + public bool? DryRun { get { return Q("dry_run"); } set { Q("dry_run", value); } } ///Specify timeout for connection to master public TimeSpan MasterTimeout { get { return Q("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } @@ -3176,13 +3176,13 @@ public class RolloverIndexRequestParameters : RequestParameters("wait_for_active_shards"); } set { Q("wait_for_active_shards", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3201,10 +3201,10 @@ public class SegmentsRequestParameters : RequestParameters HttpMethod.GET; ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } @@ -3213,16 +3213,16 @@ public class SegmentsRequestParameters : RequestParameters("operation_threading"); } set { Q("operation_threading", value); } } ///Includes detailed memory usage by Lucene. - public bool Verbose { get { return Q("verbose"); } set { Q("verbose", value); } } + public bool? Verbose { get { return Q("verbose"); } set { Q("verbose", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3244,10 +3244,10 @@ public class IndicesShardStoresRequestParameters : RequestParameters("status"); } set { Q("status", value); } } ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } @@ -3256,13 +3256,13 @@ public class IndicesShardStoresRequestParameters : RequestParameters("operation_threading"); } set { Q("operation_threading", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3290,13 +3290,13 @@ public class ShrinkIndexRequestParameters : RequestParameters("wait_for_active_shards"); } set { Q("wait_for_active_shards", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3330,16 +3330,16 @@ public class IndicesStatsRequestParameters : RequestParameters("level"); } set { Q("level", value); } } ///Whether to report the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested) - public bool IncludeSegmentFileSizes { get { return Q("include_segment_file_sizes"); } set { Q("include_segment_file_sizes", value); } } + public bool? IncludeSegmentFileSizes { get { return Q("include_segment_file_sizes"); } set { Q("include_segment_file_sizes", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3364,13 +3364,13 @@ public class BulkAliasRequestParameters : RequestParameters("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3389,28 +3389,28 @@ public class UpgradeRequestParameters : RequestParameters HttpMethod.POST; ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Specify whether the request should block until the all segments are upgraded (default: false) - public bool WaitForCompletion { get { return Q("wait_for_completion"); } set { Q("wait_for_completion", value); } } + public bool? WaitForCompletion { get { return Q("wait_for_completion"); } set { Q("wait_for_completion", value); } } ///If true, only ancient (an older Lucene major release) segments will be upgraded - public bool OnlyAncientSegments { get { return Q("only_ancient_segments"); } set { Q("only_ancient_segments", value); } } + public bool? OnlyAncientSegments { get { return Q("only_ancient_segments"); } set { Q("only_ancient_segments", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3429,13 +3429,13 @@ public class ValidateQueryRequestParameters : RequestParameters HttpMethod.POST; ///Return detailed information about the error - public bool Explain { get { return Q("explain"); } set { Q("explain", value); } } + public bool? Explain { get { return Q("explain"); } set { Q("explain", value); } } ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } @@ -3450,7 +3450,7 @@ public class ValidateQueryRequestParameters : RequestParameters("analyzer"); } set { Q("analyzer", value); } } ///Specify whether wildcard and prefix queries should be analyzed (default: false) - public bool AnalyzeWildcard { get { return Q("analyze_wildcard"); } set { Q("analyze_wildcard", value); } } + public bool? AnalyzeWildcard { get { return Q("analyze_wildcard"); } set { Q("analyze_wildcard", value); } } ///The default operator for query string query (AND or OR) public DefaultOperator DefaultOperator { get { return Q("default_operator"); } set { Q("default_operator", value); } } @@ -3459,22 +3459,22 @@ public class ValidateQueryRequestParameters : RequestParameters("df"); } set { Q("df", value); } } ///Specify whether format-based query failures (such as providing text to a numeric field) should be ignored - public bool Lenient { get { return Q("lenient"); } set { Q("lenient", value); } } + public bool? Lenient { get { return Q("lenient"); } set { Q("lenient", value); } } ///Provide a more detailed explanation showing the actual Lucene query that will be executed. - public bool Rewrite { get { return Q("rewrite"); } set { Q("rewrite", value); } } + public bool? Rewrite { get { return Q("rewrite"); } set { Q("rewrite", value); } } ///Execute validation on all shards instead of one random shard per index - public bool AllShards { get { return Q("all_shards"); } set { Q("all_shards", value); } } + public bool? AllShards { get { return Q("all_shards"); } set { Q("all_shards", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3493,13 +3493,13 @@ public class RootNodeInfoRequestParameters : RequestParameters HttpMethod.GET; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3524,13 +3524,13 @@ public class DeletePipelineRequestParameters : RequestParameters("timeout"); } set { Q("timeout", value.ToTimeUnit()); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3552,13 +3552,13 @@ public class GetPipelineRequestParameters : RequestParameters("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3577,13 +3577,13 @@ public class GrokProcessorPatternsRequestParameters : RequestParameters HttpMethod.GET; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3608,13 +3608,13 @@ public class PutPipelineRequestParameters : RequestParameters("timeout"); } set { Q("timeout", value.ToTimeUnit()); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3633,16 +3633,16 @@ public class SimulatePipelineRequestParameters : RequestParameters HttpMethod.POST; ///Verbose mode. Display data output for each processor in executed pipeline - public bool Verbose { get { return Q("verbose"); } set { Q("verbose", value); } } + public bool? Verbose { get { return Q("verbose"); } set { Q("verbose", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3667,16 +3667,16 @@ public class MultiGetRequestParameters : RequestParameters("preference"); } set { Q("preference", value); } } ///Specify whether to perform the operation in realtime or search mode - public bool Realtime { get { return Q("realtime"); } set { Q("realtime", value); } } + public bool? Realtime { get { return Q("realtime"); } set { Q("realtime", value); } } ///Refresh the shard containing the document before performing the operation - public bool Refresh { get { return Q("refresh"); } set { Q("refresh", value); } } + public bool? Refresh { get { return Q("refresh"); } set { Q("refresh", value); } } ///Specific routing value public string Routing { get { return Q("routing"); } set { Q("routing", value); } } ///True or false to return the _source field or not, or a list of fields to return - public string[] SourceEnabled { get { return Q("_source"); } set { Q("_source", value); } } + public bool? SourceEnabled { get { return Q("_source"); } set { Q("_source", value); } } ///A list of fields to exclude from the returned _source field public IEnumerable SourceExclude { get { return Q>("_source_exclude"); } set { Q("_source_exclude", value); } } @@ -3685,13 +3685,13 @@ public class MultiGetRequestParameters : RequestParameters SourceInclude { get { return Q>("_source_include"); } set { Q("_source_include", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3713,22 +3713,22 @@ public class MultiSearchRequestParameters : RequestParameters("search_type"); } set { Q("search_type", value); } } ///Controls the maximum number of concurrent searches the multi search api will execute - public long MaxConcurrentSearches { get { return Q("max_concurrent_searches"); } set { Q("max_concurrent_searches", value); } } + public long? MaxConcurrentSearches { get { return Q("max_concurrent_searches"); } set { Q("max_concurrent_searches", value); } } ///Specify whether aggregation and suggester names should be prefixed by their respective types in the response - public bool TypedKeys { get { return Q("typed_keys"); } set { Q("typed_keys", value); } } + public bool? TypedKeys { get { return Q("typed_keys"); } set { Q("typed_keys", value); } } ///A threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold. This filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on it's rewrite method ie. if date filters are mandatory to match but the shard bounds and the query are disjoint. - public long PreFilterShardSize { get { return Q("pre_filter_shard_size"); } set { Q("pre_filter_shard_size", value); } } + public long? PreFilterShardSize { get { return Q("pre_filter_shard_size"); } set { Q("pre_filter_shard_size", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3750,19 +3750,19 @@ public class MultiSearchTemplateRequestParameters : RequestParameters("search_type"); } set { Q("search_type", value); } } ///Specify whether aggregation and suggester names should be prefixed by their respective types in the response - public bool TypedKeys { get { return Q("typed_keys"); } set { Q("typed_keys", value); } } + public bool? TypedKeys { get { return Q("typed_keys"); } set { Q("typed_keys", value); } } ///Controls the maximum number of concurrent searches the multi search api will execute - public long MaxConcurrentSearches { get { return Q("max_concurrent_searches"); } set { Q("max_concurrent_searches", value); } } + public long? MaxConcurrentSearches { get { return Q("max_concurrent_searches"); } set { Q("max_concurrent_searches", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3781,22 +3781,22 @@ public class MultiTermVectorsRequestParameters : RequestParameters HttpMethod.POST; ///Specifies if total term frequency and document frequency should be returned. Applies to all returned documents unless otherwise specified in body "params" or "docs". - public bool TermStatistics { get { return Q("term_statistics"); } set { Q("term_statistics", value); } } + public bool? TermStatistics { get { return Q("term_statistics"); } set { Q("term_statistics", value); } } ///Specifies if document count, sum of document frequencies and sum of total term frequencies should be returned. Applies to all returned documents unless otherwise specified in body "params" or "docs". - public bool FieldStatistics { get { return Q("field_statistics"); } set { Q("field_statistics", value); } } + public bool? FieldStatistics { get { return Q("field_statistics"); } set { Q("field_statistics", value); } } ///A comma-separated list of fields to return. Applies to all returned documents unless otherwise specified in body "params" or "docs". public IEnumerable Fields { get { return Q>("fields"); } set { Q("fields", value); } } ///Specifies if term offsets should be returned. Applies to all returned documents unless otherwise specified in body "params" or "docs". - public bool Offsets { get { return Q("offsets"); } set { Q("offsets", value); } } + public bool? Offsets { get { return Q("offsets"); } set { Q("offsets", value); } } ///Specifies if term positions should be returned. Applies to all returned documents unless otherwise specified in body "params" or "docs". - public bool Positions { get { return Q("positions"); } set { Q("positions", value); } } + public bool? Positions { get { return Q("positions"); } set { Q("positions", value); } } ///Specifies if term payloads should be returned. Applies to all returned documents unless otherwise specified in body "params" or "docs". - public bool Payloads { get { return Q("payloads"); } set { Q("payloads", value); } } + public bool? Payloads { get { return Q("payloads"); } set { Q("payloads", value); } } ///Specify the node or shard the operation should be performed on (default: random) .Applies to all returned documents unless otherwise specified in body "params" or "docs". public string Preference { get { return Q("preference"); } set { Q("preference", value); } } @@ -3808,22 +3808,22 @@ public class MultiTermVectorsRequestParameters : RequestParameters("parent"); } set { Q("parent", value); } } ///Specifies if requests are real-time as opposed to near-real-time (default: true). - public bool Realtime { get { return Q("realtime"); } set { Q("realtime", value); } } + public bool? Realtime { get { return Q("realtime"); } set { Q("realtime", value); } } ///Explicit version number for concurrency control - public long Version { get { return Q("version"); } set { Q("version", value); } } + public long? Version { get { return Q("version"); } set { Q("version", value); } } ///Specific version type public VersionType VersionType { get { return Q("version_type"); } set { Q("version_type", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3845,13 +3845,13 @@ public class NodesHotThreadsRequestParameters : RequestParameters("interval"); } set { Q("interval", value.ToTimeUnit()); } } ///Number of samples of thread stacktrace (default: 10) - public long Snapshots { get { return Q("snapshots"); } set { Q("snapshots", value); } } + public long? Snapshots { get { return Q("snapshots"); } set { Q("snapshots", value); } } ///Specify the number of threads to provide information for (default: 3) - public long Threads { get { return Q("threads"); } set { Q("threads", value); } } + public long? Threads { get { return Q("threads"); } set { Q("threads", value); } } ///Don't show threads that are in known-idle places, such as waiting on a socket select or pulling from an empty task queue (default: true) - public bool IgnoreIdleThreads { get { return Q("ignore_idle_threads"); } set { Q("ignore_idle_threads", value); } } + public bool? IgnoreIdleThreads { get { return Q("ignore_idle_threads"); } set { Q("ignore_idle_threads", value); } } ///The type to sample (default: cpu) public ThreadType ThreadType { get { return Q("type"); } set { Q("type", value); } } @@ -3860,13 +3860,13 @@ public class NodesHotThreadsRequestParameters : RequestParameters("timeout"); } set { Q("timeout", value.ToTimeUnit()); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3885,19 +3885,19 @@ public class NodesInfoRequestParameters : RequestParameters HttpMethod.GET; ///Return settings in flat format (default: false) - public bool FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } + public bool? FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } ///Explicit operation timeout public TimeSpan Timeout { get { return Q("timeout"); } set { Q("timeout", value.ToTimeUnit()); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3925,7 +3925,7 @@ public class NodesStatsRequestParameters : RequestParameters Fields { get { return Q>("fields"); } set { Q("fields", value); } } ///A comma-separated list of search groups for `search` index metric - public bool Groups { get { return Q("groups"); } set { Q("groups", value); } } + public bool? Groups { get { return Q("groups"); } set { Q("groups", value); } } ///Return indices stats aggregated at index, node or shard level public Level Level { get { return Q("level"); } set { Q("level", value); } } @@ -3937,16 +3937,16 @@ public class NodesStatsRequestParameters : RequestParameters("timeout"); } set { Q("timeout", value.ToTimeUnit()); } } ///Whether to report the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested) - public bool IncludeSegmentFileSizes { get { return Q("include_segment_file_sizes"); } set { Q("include_segment_file_sizes", value); } } + public bool? IncludeSegmentFileSizes { get { return Q("include_segment_file_sizes"); } set { Q("include_segment_file_sizes", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3965,16 +3965,16 @@ public class NodesUsageRequestParameters : RequestParameters HttpMethod.GET; ///Whether to return time and byte values in human-readable format. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Explicit operation timeout public TimeSpan Timeout { get { return Q("timeout"); } set { Q("timeout", value.ToTimeUnit()); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -3993,13 +3993,13 @@ public class PingRequestParameters : RequestParameters { public override HttpMethod DefaultHttpMethod => HttpMethod.HEAD; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -4027,13 +4027,13 @@ public class PutScriptRequestParameters : RequestParameters("context"); } set { Q("context", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -4052,7 +4052,7 @@ public class ReindexOnServerRequestParameters : RequestParameters HttpMethod.POST; ///Should the effected indexes be refreshed? - public bool Refresh { get { return Q("refresh"); } set { Q("refresh", value); } } + public bool? Refresh { get { return Q("refresh"); } set { Q("refresh", value); } } ///Time each individual bulk request should wait for shards that are unavailable. public TimeSpan Timeout { get { return Q("timeout"); } set { Q("timeout", value.ToTimeUnit()); } } @@ -4061,22 +4061,22 @@ public class ReindexOnServerRequestParameters : RequestParameters("wait_for_active_shards"); } set { Q("wait_for_active_shards", value); } } ///Should the request should block until the reindex is complete. - public bool WaitForCompletion { get { return Q("wait_for_completion"); } set { Q("wait_for_completion", value); } } + public bool? WaitForCompletion { get { return Q("wait_for_completion"); } set { Q("wait_for_completion", value); } } ///The throttle to set on this request in sub-requests per second. -1 means no throttle. - public long RequestsPerSecond { get { return Q("requests_per_second"); } set { Q("requests_per_second", value); } } + public long? RequestsPerSecond { get { return Q("requests_per_second"); } set { Q("requests_per_second", value); } } ///The number of slices this task should be divided into. Defaults to 1 meaning the task isn't sliced into subtasks. - public long Slices { get { return Q("slices"); } set { Q("slices", value); } } + public long? Slices { get { return Q("slices"); } set { Q("slices", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///A comma-separated list of filters used to reduce the respone. public string[] FilterPath { get { return Q("filter_path"); } set { Q("filter_path", value); } } @@ -4092,16 +4092,16 @@ public class ReindexRethrottleRequestParameters : RequestParameters HttpMethod.POST; ///The throttle to set on this request in floating sub-requests per second. -1 means set no throttle. - public long RequestsPerSecond { get { return Q("requests_per_second"); } set { Q("requests_per_second", value); } } + public long? RequestsPerSecond { get { return Q("requests_per_second"); } set { Q("requests_per_second", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -4130,13 +4130,13 @@ public class ScrollRequestParameters : RequestParameters HttpMethod.POST; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -4158,7 +4158,7 @@ public class SearchRequestParameters : RequestParameters("analyzer"); } set { Q("analyzer", value); } } ///Specify whether wildcard and prefix queries should be analyzed (default: false) - public bool AnalyzeWildcard { get { return Q("analyze_wildcard"); } set { Q("analyze_wildcard", value); } } + public bool? AnalyzeWildcard { get { return Q("analyze_wildcard"); } set { Q("analyze_wildcard", value); } } ///The default operator for query string query (AND or OR) public DefaultOperator DefaultOperator { get { return Q("default_operator"); } set { Q("default_operator", value); } } @@ -4173,16 +4173,16 @@ public class SearchRequestParameters : RequestParameters DocValueFields { get { return Q>("docvalue_fields"); } set { Q("docvalue_fields", value); } } ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Specify whether format-based query failures (such as providing text to a numeric field) should be ignored - public bool Lenient { get { return Q("lenient"); } set { Q("lenient", value); } } + public bool? Lenient { get { return Q("lenient"); } set { Q("lenient", value); } } ///Specify the node or shard the operation should be performed on (default: random) public string Preference { get { return Q("preference"); } set { Q("preference", value); } } @@ -4206,37 +4206,37 @@ public class SearchRequestParameters : RequestParameters("suggest_mode"); } set { Q("suggest_mode", value); } } ///How many suggestions to return in response - public long SuggestSize { get { return Q("suggest_size"); } set { Q("suggest_size", value); } } + public long? SuggestSize { get { return Q("suggest_size"); } set { Q("suggest_size", value); } } ///The source text for which the suggestions should be returned public string SuggestText { get { return Q("suggest_text"); } set { Q("suggest_text", value); } } ///Indicate if the number of documents that match the query should be tracked - public bool TrackTotalHits { get { return Q("track_total_hits"); } set { Q("track_total_hits", value); } } + public bool? TrackTotalHits { get { return Q("track_total_hits"); } set { Q("track_total_hits", value); } } ///Specify whether aggregation and suggester names should be prefixed by their respective types in the response - public bool TypedKeys { get { return Q("typed_keys"); } set { Q("typed_keys", value); } } + public bool? TypedKeys { get { return Q("typed_keys"); } set { Q("typed_keys", value); } } ///Specify if request cache should be used for this request or not, defaults to index level setting - public bool RequestCache { get { return Q("request_cache"); } set { Q("request_cache", value); } } + public bool? RequestCache { get { return Q("request_cache"); } set { Q("request_cache", value); } } ///The number of shard results that should be reduced at once on the coordinating node. This value should be used as a protection mechanism to reduce the memory overhead per search request if the potential number of shards in the request can be large. - public long BatchedReduceSize { get { return Q("batched_reduce_size"); } set { Q("batched_reduce_size", value); } } + public long? BatchedReduceSize { get { return Q("batched_reduce_size"); } set { Q("batched_reduce_size", value); } } ///The number of concurrent shard requests this search executes concurrently. This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests - public long MaxConcurrentShardRequests { get { return Q("max_concurrent_shard_requests"); } set { Q("max_concurrent_shard_requests", value); } } + public long? MaxConcurrentShardRequests { get { return Q("max_concurrent_shard_requests"); } set { Q("max_concurrent_shard_requests", value); } } ///A threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold. This filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on it's rewrite method ie. if date filters are mandatory to match but the shard bounds and the query are disjoint. - public long PreFilterShardSize { get { return Q("pre_filter_shard_size"); } set { Q("pre_filter_shard_size", value); } } + public long? PreFilterShardSize { get { return Q("pre_filter_shard_size"); } set { Q("pre_filter_shard_size", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///A comma-separated list of filters used to reduce the respone. public string[] FilterPath { get { return Q("filter_path"); } set { Q("filter_path", value); } } @@ -4258,25 +4258,25 @@ public class SearchShardsRequestParameters : RequestParameters("routing"); } set { Q("routing", value); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -4295,10 +4295,10 @@ public class SearchTemplateRequestParameters : RequestParameters HttpMethod.POST; ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } @@ -4316,22 +4316,22 @@ public class SearchTemplateRequestParameters : RequestParameters("search_type"); } set { Q("search_type", value); } } ///Specify whether to return detailed information about score computation as part of a hit - public bool Explain { get { return Q("explain"); } set { Q("explain", value); } } + public bool? Explain { get { return Q("explain"); } set { Q("explain", value); } } ///Specify whether to profile the query execution - public bool Profile { get { return Q("profile"); } set { Q("profile", value); } } + public bool? Profile { get { return Q("profile"); } set { Q("profile", value); } } ///Specify whether aggregation and suggester names should be prefixed by their respective types in the response - public bool TypedKeys { get { return Q("typed_keys"); } set { Q("typed_keys", value); } } + public bool? TypedKeys { get { return Q("typed_keys"); } set { Q("typed_keys", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -4353,16 +4353,16 @@ public class SnapshotRequestParameters : RequestParameters("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Should this request wait until the operation has completed before returning - public bool WaitForCompletion { get { return Q("wait_for_completion"); } set { Q("wait_for_completion", value); } } + public bool? WaitForCompletion { get { return Q("wait_for_completion"); } set { Q("wait_for_completion", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -4387,16 +4387,16 @@ public class CreateRepositoryRequestParameters : RequestParameters("timeout"); } set { Q("timeout", value.ToTimeUnit()); } } ///Whether to verify the repository after creation - public bool Verify { get { return Q("verify"); } set { Q("verify", value); } } + public bool? Verify { get { return Q("verify"); } set { Q("verify", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -4418,13 +4418,13 @@ public class DeleteSnapshotRequestParameters : RequestParameters("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -4449,13 +4449,13 @@ public class DeleteRepositoryRequestParameters : RequestParameters("timeout"); } set { Q("timeout", value.ToTimeUnit()); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -4477,19 +4477,19 @@ public class GetSnapshotRequestParameters : RequestParameters("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Whether to ignore unavailable snapshots, defaults to false which means a SnapshotMissingException is thrown - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to show verbose snapshot info or only show the basic info found in the repository index blob - public bool Verbose { get { return Q("verbose"); } set { Q("verbose", value); } } + public bool? Verbose { get { return Q("verbose"); } set { Q("verbose", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -4511,16 +4511,16 @@ public class GetRepositoryRequestParameters : RequestParameters("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -4542,16 +4542,16 @@ public class RestoreRequestParameters : RequestParameters("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Should this request wait until the operation has completed before returning - public bool WaitForCompletion { get { return Q("wait_for_completion"); } set { Q("wait_for_completion", value); } } + public bool? WaitForCompletion { get { return Q("wait_for_completion"); } set { Q("wait_for_completion", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -4573,16 +4573,16 @@ public class SnapshotStatusRequestParameters : RequestParameters("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Whether to ignore unavailable snapshots, defaults to false which means a SnapshotMissingException is thrown - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -4607,13 +4607,13 @@ public class VerifyRepositoryRequestParameters : RequestParameters("timeout"); } set { Q("timeout", value.ToTimeUnit()); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -4644,13 +4644,13 @@ public class CancelTasksRequestParameters : RequestParameters("parent_task_id"); } set { Q("parent_task_id", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -4669,16 +4669,16 @@ public class GetTaskRequestParameters : RequestParameters HttpMethod.GET; ///Wait for the matching tasks to complete (default: false) - public bool WaitForCompletion { get { return Q("wait_for_completion"); } set { Q("wait_for_completion", value); } } + public bool? WaitForCompletion { get { return Q("wait_for_completion"); } set { Q("wait_for_completion", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -4703,7 +4703,7 @@ public class ListTasksRequestParameters : RequestParameters("actions"); } set { Q("actions", value); } } ///Return detailed task information (default: false) - public bool Detailed { get { return Q("detailed"); } set { Q("detailed", value); } } + public bool? Detailed { get { return Q("detailed"); } set { Q("detailed", value); } } ///Return tasks with specified parent node. public string ParentNode { get { return Q("parent_node"); } set { Q("parent_node", value); } } @@ -4712,19 +4712,19 @@ public class ListTasksRequestParameters : RequestParameters("parent_task_id"); } set { Q("parent_task_id", value); } } ///Wait for the matching tasks to complete (default: false) - public bool WaitForCompletion { get { return Q("wait_for_completion"); } set { Q("wait_for_completion", value); } } + public bool? WaitForCompletion { get { return Q("wait_for_completion"); } set { Q("wait_for_completion", value); } } ///Group tasks by nodes or parent/child relationships public GroupBy GroupBy { get { return Q("group_by"); } set { Q("group_by", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -4743,22 +4743,22 @@ public class TermVectorsRequestParameters : RequestParameters HttpMethod.POST; ///Specifies if total term frequency and document frequency should be returned. - public bool TermStatistics { get { return Q("term_statistics"); } set { Q("term_statistics", value); } } + public bool? TermStatistics { get { return Q("term_statistics"); } set { Q("term_statistics", value); } } ///Specifies if document count, sum of document frequencies and sum of total term frequencies should be returned. - public bool FieldStatistics { get { return Q("field_statistics"); } set { Q("field_statistics", value); } } + public bool? FieldStatistics { get { return Q("field_statistics"); } set { Q("field_statistics", value); } } ///A comma-separated list of fields to return. public IEnumerable Fields { get { return Q>("fields"); } set { Q("fields", value); } } ///Specifies if term offsets should be returned. - public bool Offsets { get { return Q("offsets"); } set { Q("offsets", value); } } + public bool? Offsets { get { return Q("offsets"); } set { Q("offsets", value); } } ///Specifies if term positions should be returned. - public bool Positions { get { return Q("positions"); } set { Q("positions", value); } } + public bool? Positions { get { return Q("positions"); } set { Q("positions", value); } } ///Specifies if term payloads should be returned. - public bool Payloads { get { return Q("payloads"); } set { Q("payloads", value); } } + public bool? Payloads { get { return Q("payloads"); } set { Q("payloads", value); } } ///Specify the node or shard the operation should be performed on (default: random). public string Preference { get { return Q("preference"); } set { Q("preference", value); } } @@ -4770,22 +4770,22 @@ public class TermVectorsRequestParameters : RequestParameters("parent"); } set { Q("parent", value); } } ///Specifies if request is real-time as opposed to near-real-time (default: true). - public bool Realtime { get { return Q("realtime"); } set { Q("realtime", value); } } + public bool? Realtime { get { return Q("realtime"); } set { Q("realtime", value); } } ///Explicit version number for concurrency control - public long Version { get { return Q("version"); } set { Q("version", value); } } + public long? Version { get { return Q("version"); } set { Q("version", value); } } ///Specific version type public VersionType VersionType { get { return Q("version_type"); } set { Q("version_type", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -4807,7 +4807,7 @@ public class UpdateRequestParameters : RequestParameters("wait_for_active_shards"); } set { Q("wait_for_active_shards", value); } } ///True or false to return the _source field or not, or a list of fields to return - public string[] SourceEnabled { get { return Q("_source"); } set { Q("_source", value); } } + public bool? SourceEnabled { get { return Q("_source"); } set { Q("_source", value); } } ///The script language (default: painless) public string Lang { get { return Q("lang"); } set { Q("lang", value); } } @@ -4819,7 +4819,7 @@ public class UpdateRequestParameters : RequestParameters("refresh"); } set { Q("refresh", value); } } ///Specify how many times should the operation be retried when a conflict occurs (default: 0) - public long RetryOnConflict { get { return Q("retry_on_conflict"); } set { Q("retry_on_conflict", value); } } + public long? RetryOnConflict { get { return Q("retry_on_conflict"); } set { Q("retry_on_conflict", value); } } ///Specific routing value public string Routing { get { return Q("routing"); } set { Q("routing", value); } } @@ -4834,19 +4834,19 @@ public class UpdateRequestParameters : RequestParameters("ttl"); } set { Q("ttl", value.ToTimeUnit()); } } ///Explicit version number for concurrency control - public long Version { get { return Q("version"); } set { Q("version", value); } } + public long? Version { get { return Q("version"); } set { Q("version", value); } } ///Specific version type public VersionType VersionType { get { return Q("version_type"); } set { Q("version_type", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -4868,7 +4868,7 @@ public class UpdateByQueryRequestParameters : RequestParameters("analyzer"); } set { Q("analyzer", value); } } ///Specify whether wildcard and prefix queries should be analyzed (default: false) - public bool AnalyzeWildcard { get { return Q("analyze_wildcard"); } set { Q("analyze_wildcard", value); } } + public bool? AnalyzeWildcard { get { return Q("analyze_wildcard"); } set { Q("analyze_wildcard", value); } } ///The default operator for query string query (AND or OR) public DefaultOperator DefaultOperator { get { return Q("default_operator"); } set { Q("default_operator", value); } } @@ -4877,13 +4877,13 @@ public class UpdateByQueryRequestParameters : RequestParameters("df"); } set { Q("df", value); } } ///Starting offset (default: 0) - public long From { get { return Q("from"); } set { Q("from", value); } } + public long? From { get { return Q("from"); } set { Q("from", value); } } ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///What to do when the update by query hits version conflicts? public Conflicts Conflicts { get { return Q("conflicts"); } set { Q("conflicts", value); } } @@ -4892,7 +4892,7 @@ public class UpdateByQueryRequestParameters : RequestParameters("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Specify whether format-based query failures (such as providing text to a numeric field) should be ignored - public bool Lenient { get { return Q("lenient"); } set { Q("lenient", value); } } + public bool? Lenient { get { return Q("lenient"); } set { Q("lenient", value); } } ///Ingest pipeline to set on index requests made by this action. (default: none) public string Pipeline { get { return Q("pipeline"); } set { Q("pipeline", value); } } @@ -4916,13 +4916,13 @@ public class UpdateByQueryRequestParameters : RequestParameters("search_timeout"); } set { Q("search_timeout", value.ToTimeUnit()); } } ///Number of hits to return (default: 10) - public long Size { get { return Q("size"); } set { Q("size", value); } } + public long? Size { get { return Q("size"); } set { Q("size", value); } } ///A comma-separated list of <field>:<direction> pairs public string[] Sort { get { return Q("sort"); } set { Q("sort", value); } } ///True or false to return the _source field or not, or a list of fields to return - public string[] SourceEnabled { get { return Q("_source"); } set { Q("_source", value); } } + public bool? SourceEnabled { get { return Q("_source"); } set { Q("_source", value); } } ///A list of fields to exclude from the returned _source field public IEnumerable SourceExclude { get { return Q>("_source_exclude"); } set { Q("_source_exclude", value); } } @@ -4931,22 +4931,22 @@ public class UpdateByQueryRequestParameters : RequestParameters SourceInclude { get { return Q>("_source_include"); } set { Q("_source_include", value); } } ///The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early. - public long TerminateAfter { get { return Q("terminate_after"); } set { Q("terminate_after", value); } } + public long? TerminateAfter { get { return Q("terminate_after"); } set { Q("terminate_after", value); } } ///Specific 'tag' of the request for logging and statistical purposes public string[] Stats { get { return Q("stats"); } set { Q("stats", value); } } ///Specify whether to return document version as part of a hit - public bool Version { get { return Q("version"); } set { Q("version", value); } } + public bool? Version { get { return Q("version"); } set { Q("version", value); } } ///Should the document increment the version number (internal) on hit or not (reindex) - public bool VersionType { get { return Q("version_type"); } set { Q("version_type", value); } } + public bool? VersionType { get { return Q("version_type"); } set { Q("version_type", value); } } ///Specify if request cache should be used for this request or not, defaults to index level setting - public bool RequestCache { get { return Q("request_cache"); } set { Q("request_cache", value); } } + public bool? RequestCache { get { return Q("request_cache"); } set { Q("request_cache", value); } } ///Should the effected indexes be refreshed? - public bool Refresh { get { return Q("refresh"); } set { Q("refresh", value); } } + public bool? Refresh { get { return Q("refresh"); } set { Q("refresh", value); } } ///Time each individual bulk request should wait for shards that are unavailable. public TimeSpan Timeout { get { return Q("timeout"); } set { Q("timeout", value.ToTimeUnit()); } } @@ -4955,25 +4955,25 @@ public class UpdateByQueryRequestParameters : RequestParameters("wait_for_active_shards"); } set { Q("wait_for_active_shards", value); } } ///Size on the scroll request powering the update_by_query - public long ScrollSize { get { return Q("scroll_size"); } set { Q("scroll_size", value); } } + public long? ScrollSize { get { return Q("scroll_size"); } set { Q("scroll_size", value); } } ///Should the request should block until the update by query operation is complete. - public bool WaitForCompletion { get { return Q("wait_for_completion"); } set { Q("wait_for_completion", value); } } + public bool? WaitForCompletion { get { return Q("wait_for_completion"); } set { Q("wait_for_completion", value); } } ///The throttle to set on this request in sub-requests per second. -1 means no throttle. - public long RequestsPerSecond { get { return Q("requests_per_second"); } set { Q("requests_per_second", value); } } + public long? RequestsPerSecond { get { return Q("requests_per_second"); } set { Q("requests_per_second", value); } } ///The number of slices this task should be divided into. Defaults to 1 meaning the task isn't sliced into subtasks. - public long Slices { get { return Q("slices"); } set { Q("slices", value); } } + public long? Slices { get { return Q("slices"); } set { Q("slices", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -4998,13 +4998,13 @@ public class GraphExploreRequestParameters : RequestParameters("timeout"); } set { Q("timeout", value.ToTimeUnit()); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5023,13 +5023,13 @@ public class DeprecationInfoRequestParameters : RequestParameters HttpMethod.GET; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5048,16 +5048,16 @@ public class XPackInfoRequestParameters : RequestParameters HttpMethod.GET; ///Presents additional info for humans (feature descriptions and X-Pack tagline) - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Comma-separated list of info categories. Can be any of: build, license, features public string[] Categories { get { return Q("categories"); } set { Q("categories", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5079,13 +5079,13 @@ public class XPackUsageRequestParameters : RequestParameters("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5114,16 +5114,16 @@ public class GetLicenseRequestParameters : RequestParameters HttpMethod.GET; ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5142,16 +5142,16 @@ public class PostLicenseRequestParameters : RequestParameters HttpMethod.PUT; ///whether the user has acknowledged acknowledge messages (default: false) - public bool Acknowledge { get { return Q("acknowledge"); } set { Q("acknowledge", value); } } + public bool? Acknowledge { get { return Q("acknowledge"); } set { Q("acknowledge", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5170,19 +5170,19 @@ public class CloseJobRequestParameters : RequestParameters HttpMethod.POST; ///True if the job should be forcefully closed - public bool Force { get { return Q("force"); } set { Q("force", value); } } + public bool? Force { get { return Q("force"); } set { Q("force", value); } } ///Controls the time to wait until a job has closed. Default to 30 minutes public TimeSpan Timeout { get { return Q("timeout"); } set { Q("timeout", value.ToTimeUnit()); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5201,16 +5201,16 @@ public class DeleteDatafeedRequestParameters : RequestParameters HttpMethod.DELETE; ///True if the datafeed should be forcefully deleted - public bool Force { get { return Q("force"); } set { Q("force", value); } } + public bool? Force { get { return Q("force"); } set { Q("force", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5239,16 +5239,16 @@ public class DeleteJobRequestParameters : RequestParameters HttpMethod.DELETE; ///True if the job should be forcefully deleted - public bool Force { get { return Q("force"); } set { Q("force", value); } } + public bool? Force { get { return Q("force"); } set { Q("force", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5280,13 +5280,13 @@ public class FlushJobRequestParameters : RequestParameters("skip_time"); } set { Q("skip_time", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5305,13 +5305,13 @@ public class GetBucketsRequestParameters : RequestParameters HttpMethod.POST; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5330,13 +5330,13 @@ public class GetCategoriesRequestParameters : RequestParameters HttpMethod.POST; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5375,13 +5375,13 @@ public class GetInfluencersRequestParameters : RequestParameters HttpMethod.POST; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5420,13 +5420,13 @@ public class GetModelSnapshotsRequestParameters : RequestParameters HttpMethod.POST; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5445,13 +5445,13 @@ public class GetAnomalyRecordsRequestParameters : RequestParameters HttpMethod.POST; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5486,13 +5486,13 @@ public class PostJobDataRequestParameters : RequestParameters("reset_end"); } set { Q("reset_end", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5541,13 +5541,13 @@ public class RevertModelSnapshotRequestParameters : RequestParameters HttpMethod.POST; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5566,13 +5566,13 @@ public class StartDatafeedRequestParameters : RequestParameters HttpMethod.POST; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5591,13 +5591,13 @@ public class StopDatafeedRequestParameters : RequestParameters HttpMethod.POST; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5636,13 +5636,13 @@ public class UpdateModelSnapshotRequestParameters : RequestParameters HttpMethod.POST; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5661,13 +5661,13 @@ public class ValidateJobRequestParameters : RequestParameters HttpMethod.POST; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5686,13 +5686,13 @@ public class ValidateDetectorRequestParameters : RequestParameters HttpMethod.POST; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5711,13 +5711,13 @@ public class AuthenticateRequestParameters : RequestParameters HttpMethod.GET; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5739,13 +5739,13 @@ public class ChangePasswordRequestParameters : RequestParameters("refresh"); } set { Q("refresh", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5767,13 +5767,13 @@ public class ClearCachedRealmsRequestParameters : RequestParameters("usernames"); } set { Q("usernames", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5792,13 +5792,13 @@ public class ClearCachedRolesRequestParameters : RequestParameters HttpMethod.POST; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5820,13 +5820,13 @@ public class DeleteRoleRequestParameters : RequestParameters("refresh"); } set { Q("refresh", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5848,13 +5848,13 @@ public class DeleteRoleMappingRequestParameters : RequestParameters("refresh"); } set { Q("refresh", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5876,13 +5876,13 @@ public class DeleteUserRequestParameters : RequestParameters("refresh"); } set { Q("refresh", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5904,13 +5904,13 @@ public class DisableUserRequestParameters : RequestParameters("refresh"); } set { Q("refresh", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5932,13 +5932,13 @@ public class EnableUserRequestParameters : RequestParameters("refresh"); } set { Q("refresh", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5957,13 +5957,13 @@ public class GetRoleRequestParameters : RequestParameters HttpMethod.GET; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -5982,13 +5982,13 @@ public class GetRoleMappingRequestParameters : RequestParameters HttpMethod.GET; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -6007,13 +6007,13 @@ public class GetUserAccessTokenRequestParameters : RequestParameters HttpMethod.POST; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -6032,13 +6032,13 @@ public class GetUserRequestParameters : RequestParameters HttpMethod.GET; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -6057,13 +6057,13 @@ public class InvalidateUserAccessTokenRequestParameters : RequestParameters HttpMethod.DELETE; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -6085,13 +6085,13 @@ public class PutRoleRequestParameters : RequestParameters("refresh"); } set { Q("refresh", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -6113,13 +6113,13 @@ public class PutRoleMappingRequestParameters : RequestParameters("refresh"); } set { Q("refresh", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -6141,13 +6141,13 @@ public class PutUserRequestParameters : RequestParameters("refresh"); } set { Q("refresh", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -6169,13 +6169,13 @@ public class AcknowledgeWatchRequestParameters : RequestParameters("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -6197,13 +6197,13 @@ public class ActivateWatchRequestParameters : RequestParameters("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -6225,13 +6225,13 @@ public class DeactivateWatchRequestParameters : RequestParameters("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -6253,13 +6253,13 @@ public class DeleteWatchRequestParameters : RequestParameters("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -6278,16 +6278,16 @@ public class ExecuteWatchRequestParameters : RequestParameters HttpMethod.PUT; ///indicates whether the watch should execute in debug mode - public bool Debug { get { return Q("debug"); } set { Q("debug", value); } } + public bool? Debug { get { return Q("debug"); } set { Q("debug", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -6306,13 +6306,13 @@ public class GetWatchRequestParameters : RequestParameters HttpMethod.GET; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -6334,16 +6334,16 @@ public class PutWatchRequestParameters : RequestParameters("master_timeout"); } set { Q("master_timeout", value.ToTimeUnit()); } } ///Specify whether the watch is in/active by default - public bool Active { get { return Q("active"); } set { Q("active", value); } } + public bool? Active { get { return Q("active"); } set { Q("active", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -6362,13 +6362,13 @@ public class RestartWatcherRequestParameters : RequestParameters HttpMethod.POST; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -6387,13 +6387,13 @@ public class StartWatcherRequestParameters : RequestParameters HttpMethod.POST; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -6412,16 +6412,16 @@ public class WatcherStatsRequestParameters : RequestParameters HttpMethod.GET; ///Emits stack traces of currently running watches - public bool EmitStacktraces { get { return Q("emit_stacktraces"); } set { Q("emit_stacktraces", value); } } + public bool? EmitStacktraces { get { return Q("emit_stacktraces"); } set { Q("emit_stacktraces", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } @@ -6440,13 +6440,13 @@ public class StopWatcherRequestParameters : RequestParameters HttpMethod.POST; ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string Source { get { return Q("source"); } set { Q("source", value); } } diff --git a/src/Nest/_Generated/_Descriptors.generated.cs b/src/Nest/_Generated/_Descriptors.generated.cs index c30c1bca4e0..acb5f297a8d 100644 --- a/src/Nest/_Generated/_Descriptors.generated.cs +++ b/src/Nest/_Generated/_Descriptors.generated.cs @@ -51,8 +51,8 @@ public BulkDescriptor() : base() public BulkDescriptor Fields(Fields fields) => Qs("fields", fields); ///Default comma-separated list of fields to return in the response for updates, can be overridden on each sub-request public BulkDescriptor Fields(params Expression>[] fields) where T : class => Qs("fields", fields?.Select(e=>(Field)e)); - ///True or false to return the _source field or not, or default list of fields to return, can be overridden on each sub-request - public BulkDescriptor SourceEnabled(params string[] source_enabled) => Qs("_source", source_enabled); + ///Whether the _source should be included in the response. + public BulkDescriptor SourceEnabled(bool? source_enabled = true) => Qs("_source", source_enabled); ///Default list of fields to exclude from the returned _source field, can be overridden on each sub-request public BulkDescriptor SourceExclude(Fields source_exclude) => Qs("_source_exclude", source_exclude); ///Default list of fields to exclude from the returned _source field, can be overridden on each sub-request @@ -64,11 +64,11 @@ public BulkDescriptor() : base() ///The pipeline id to preprocess incoming documents with public BulkDescriptor Pipeline(string pipeline) => Qs("pipeline", pipeline); ///Pretty format the returned JSON response. - public BulkDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public BulkDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public BulkDescriptor Human(bool human = true) => Qs("human", human); + public BulkDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public BulkDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public BulkDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public BulkDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -91,23 +91,23 @@ public CatAliasesDescriptor() : base() ///a short version of the Accept header, e.g. json, yaml public CatAliasesDescriptor Format(string format) => Qs("format", format); ///Return local information, do not retrieve the state from master node (default: false) - public CatAliasesDescriptor Local(bool local = true) => Qs("local", local); + public CatAliasesDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node public CatAliasesDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Comma-separated list of column names to display public CatAliasesDescriptor H(params string[] h) => Qs("h", h); ///Return help information - public CatAliasesDescriptor Help(bool help = true) => Qs("help", help); + public CatAliasesDescriptor Help(bool? help = true) => Qs("help", help); ///Comma-separated list of column names or column aliases to sort by public CatAliasesDescriptor S(params string[] s) => Qs("s", s); ///Verbose mode. Display column headers - public CatAliasesDescriptor V(bool v = true) => Qs("v", v); + public CatAliasesDescriptor V(bool? v = true) => Qs("v", v); ///Pretty format the returned JSON response. - public CatAliasesDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CatAliasesDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CatAliasesDescriptor Human(bool human = true) => Qs("human", human); + public CatAliasesDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CatAliasesDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CatAliasesDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CatAliasesDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -132,23 +132,23 @@ public CatAllocationDescriptor() : base() ///The unit in which to display byte values public CatAllocationDescriptor Bytes(Bytes bytes) => Qs("bytes", bytes); ///Return local information, do not retrieve the state from master node (default: false) - public CatAllocationDescriptor Local(bool local = true) => Qs("local", local); + public CatAllocationDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node public CatAllocationDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Comma-separated list of column names to display public CatAllocationDescriptor H(params string[] h) => Qs("h", h); ///Return help information - public CatAllocationDescriptor Help(bool help = true) => Qs("help", help); + public CatAllocationDescriptor Help(bool? help = true) => Qs("help", help); ///Comma-separated list of column names or column aliases to sort by public CatAllocationDescriptor S(params string[] s) => Qs("s", s); ///Verbose mode. Display column headers - public CatAllocationDescriptor V(bool v = true) => Qs("v", v); + public CatAllocationDescriptor V(bool? v = true) => Qs("v", v); ///Pretty format the returned JSON response. - public CatAllocationDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CatAllocationDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CatAllocationDescriptor Human(bool human = true) => Qs("human", human); + public CatAllocationDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CatAllocationDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CatAllocationDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CatAllocationDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -177,23 +177,23 @@ public CatCountDescriptor() : base() ///a short version of the Accept header, e.g. json, yaml public CatCountDescriptor Format(string format) => Qs("format", format); ///Return local information, do not retrieve the state from master node (default: false) - public CatCountDescriptor Local(bool local = true) => Qs("local", local); + public CatCountDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node public CatCountDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Comma-separated list of column names to display public CatCountDescriptor H(params string[] h) => Qs("h", h); ///Return help information - public CatCountDescriptor Help(bool help = true) => Qs("help", help); + public CatCountDescriptor Help(bool? help = true) => Qs("help", help); ///Comma-separated list of column names or column aliases to sort by public CatCountDescriptor S(params string[] s) => Qs("s", s); ///Verbose mode. Display column headers - public CatCountDescriptor V(bool v = true) => Qs("v", v); + public CatCountDescriptor V(bool? v = true) => Qs("v", v); ///Pretty format the returned JSON response. - public CatCountDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CatCountDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CatCountDescriptor Human(bool human = true) => Qs("human", human); + public CatCountDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CatCountDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CatCountDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CatCountDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -221,23 +221,23 @@ public CatFielddataDescriptor() : base() ///The unit in which to display byte values public CatFielddataDescriptor Bytes(Bytes bytes) => Qs("bytes", bytes); ///Return local information, do not retrieve the state from master node (default: false) - public CatFielddataDescriptor Local(bool local = true) => Qs("local", local); + public CatFielddataDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node public CatFielddataDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Comma-separated list of column names to display public CatFielddataDescriptor H(params string[] h) => Qs("h", h); ///Return help information - public CatFielddataDescriptor Help(bool help = true) => Qs("help", help); + public CatFielddataDescriptor Help(bool? help = true) => Qs("help", help); ///Comma-separated list of column names or column aliases to sort by public CatFielddataDescriptor S(params string[] s) => Qs("s", s); ///Verbose mode. Display column headers - public CatFielddataDescriptor V(bool v = true) => Qs("v", v); + public CatFielddataDescriptor V(bool? v = true) => Qs("v", v); ///Pretty format the returned JSON response. - public CatFielddataDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CatFielddataDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CatFielddataDescriptor Human(bool human = true) => Qs("human", human); + public CatFielddataDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CatFielddataDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CatFielddataDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CatFielddataDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -251,25 +251,25 @@ public partial class CatHealthDescriptor : RequestDescriptorBasea short version of the Accept header, e.g. json, yaml public CatHealthDescriptor Format(string format) => Qs("format", format); ///Return local information, do not retrieve the state from master node (default: false) - public CatHealthDescriptor Local(bool local = true) => Qs("local", local); + public CatHealthDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node public CatHealthDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Comma-separated list of column names to display public CatHealthDescriptor H(params string[] h) => Qs("h", h); ///Return help information - public CatHealthDescriptor Help(bool help = true) => Qs("help", help); + public CatHealthDescriptor Help(bool? help = true) => Qs("help", help); ///Comma-separated list of column names or column aliases to sort by public CatHealthDescriptor S(params string[] s) => Qs("s", s); ///Set to false to disable timestamping - public CatHealthDescriptor Ts(bool ts = true) => Qs("ts", ts); + public CatHealthDescriptor Ts(bool? ts = true) => Qs("ts", ts); ///Verbose mode. Display column headers - public CatHealthDescriptor V(bool v = true) => Qs("v", v); + public CatHealthDescriptor V(bool? v = true) => Qs("v", v); ///Pretty format the returned JSON response. - public CatHealthDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CatHealthDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CatHealthDescriptor Human(bool human = true) => Qs("human", human); + public CatHealthDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CatHealthDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CatHealthDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CatHealthDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -281,15 +281,15 @@ public partial class CatHealthDescriptor : RequestDescriptorBase, ICatHelpRequest { ///Return help information - public CatHelpDescriptor Help(bool help = true) => Qs("help", help); + public CatHelpDescriptor Help(bool? help = true) => Qs("help", help); ///Comma-separated list of column names or column aliases to sort by public CatHelpDescriptor S(params string[] s) => Qs("s", s); ///Pretty format the returned JSON response. - public CatHelpDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CatHelpDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CatHelpDescriptor Human(bool human = true) => Qs("human", human); + public CatHelpDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CatHelpDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CatHelpDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CatHelpDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -320,7 +320,7 @@ public CatIndicesDescriptor() : base() ///The unit in which to display byte values public CatIndicesDescriptor Bytes(Bytes bytes) => Qs("bytes", bytes); ///Return local information, do not retrieve the state from master node (default: false) - public CatIndicesDescriptor Local(bool local = true) => Qs("local", local); + public CatIndicesDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node public CatIndicesDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Comma-separated list of column names to display @@ -328,19 +328,19 @@ public CatIndicesDescriptor() : base() ///A health status ("green", "yellow", or "red" to filter only indices matching the specified health status public CatIndicesDescriptor Health(Health health) => Qs("health", health); ///Return help information - public CatIndicesDescriptor Help(bool help = true) => Qs("help", help); + public CatIndicesDescriptor Help(bool? help = true) => Qs("help", help); ///Set to true to return stats only for primary shards - public CatIndicesDescriptor Pri(bool pri = true) => Qs("pri", pri); + public CatIndicesDescriptor Pri(bool? pri = true) => Qs("pri", pri); ///Comma-separated list of column names or column aliases to sort by public CatIndicesDescriptor S(params string[] s) => Qs("s", s); ///Verbose mode. Display column headers - public CatIndicesDescriptor V(bool v = true) => Qs("v", v); + public CatIndicesDescriptor V(bool? v = true) => Qs("v", v); ///Pretty format the returned JSON response. - public CatIndicesDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CatIndicesDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CatIndicesDescriptor Human(bool human = true) => Qs("human", human); + public CatIndicesDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CatIndicesDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CatIndicesDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CatIndicesDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -354,23 +354,23 @@ public partial class CatMasterDescriptor : RequestDescriptorBasea short version of the Accept header, e.g. json, yaml public CatMasterDescriptor Format(string format) => Qs("format", format); ///Return local information, do not retrieve the state from master node (default: false) - public CatMasterDescriptor Local(bool local = true) => Qs("local", local); + public CatMasterDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node public CatMasterDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Comma-separated list of column names to display public CatMasterDescriptor H(params string[] h) => Qs("h", h); ///Return help information - public CatMasterDescriptor Help(bool help = true) => Qs("help", help); + public CatMasterDescriptor Help(bool? help = true) => Qs("help", help); ///Comma-separated list of column names or column aliases to sort by public CatMasterDescriptor S(params string[] s) => Qs("s", s); ///Verbose mode. Display column headers - public CatMasterDescriptor V(bool v = true) => Qs("v", v); + public CatMasterDescriptor V(bool? v = true) => Qs("v", v); ///Pretty format the returned JSON response. - public CatMasterDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CatMasterDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CatMasterDescriptor Human(bool human = true) => Qs("human", human); + public CatMasterDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CatMasterDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CatMasterDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CatMasterDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -384,23 +384,23 @@ public partial class CatNodeAttributesDescriptor : RequestDescriptorBasea short version of the Accept header, e.g. json, yaml public CatNodeAttributesDescriptor Format(string format) => Qs("format", format); ///Return local information, do not retrieve the state from master node (default: false) - public CatNodeAttributesDescriptor Local(bool local = true) => Qs("local", local); + public CatNodeAttributesDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node public CatNodeAttributesDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Comma-separated list of column names to display public CatNodeAttributesDescriptor H(params string[] h) => Qs("h", h); ///Return help information - public CatNodeAttributesDescriptor Help(bool help = true) => Qs("help", help); + public CatNodeAttributesDescriptor Help(bool? help = true) => Qs("help", help); ///Comma-separated list of column names or column aliases to sort by public CatNodeAttributesDescriptor S(params string[] s) => Qs("s", s); ///Verbose mode. Display column headers - public CatNodeAttributesDescriptor V(bool v = true) => Qs("v", v); + public CatNodeAttributesDescriptor V(bool? v = true) => Qs("v", v); ///Pretty format the returned JSON response. - public CatNodeAttributesDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CatNodeAttributesDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CatNodeAttributesDescriptor Human(bool human = true) => Qs("human", human); + public CatNodeAttributesDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CatNodeAttributesDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CatNodeAttributesDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CatNodeAttributesDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -414,25 +414,25 @@ public partial class CatNodesDescriptor : RequestDescriptorBasea short version of the Accept header, e.g. json, yaml public CatNodesDescriptor Format(string format) => Qs("format", format); ///Return the full node ID instead of the shortened version (default: false) - public CatNodesDescriptor FullId(bool full_id = true) => Qs("full_id", full_id); + public CatNodesDescriptor FullId(bool? full_id = true) => Qs("full_id", full_id); ///Return local information, do not retrieve the state from master node (default: false) - public CatNodesDescriptor Local(bool local = true) => Qs("local", local); + public CatNodesDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node public CatNodesDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Comma-separated list of column names to display public CatNodesDescriptor H(params string[] h) => Qs("h", h); ///Return help information - public CatNodesDescriptor Help(bool help = true) => Qs("help", help); + public CatNodesDescriptor Help(bool? help = true) => Qs("help", help); ///Comma-separated list of column names or column aliases to sort by public CatNodesDescriptor S(params string[] s) => Qs("s", s); ///Verbose mode. Display column headers - public CatNodesDescriptor V(bool v = true) => Qs("v", v); + public CatNodesDescriptor V(bool? v = true) => Qs("v", v); ///Pretty format the returned JSON response. - public CatNodesDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CatNodesDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CatNodesDescriptor Human(bool human = true) => Qs("human", human); + public CatNodesDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CatNodesDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CatNodesDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CatNodesDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -446,23 +446,23 @@ public partial class CatPendingTasksDescriptor : RequestDescriptorBasea short version of the Accept header, e.g. json, yaml public CatPendingTasksDescriptor Format(string format) => Qs("format", format); ///Return local information, do not retrieve the state from master node (default: false) - public CatPendingTasksDescriptor Local(bool local = true) => Qs("local", local); + public CatPendingTasksDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node public CatPendingTasksDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Comma-separated list of column names to display public CatPendingTasksDescriptor H(params string[] h) => Qs("h", h); ///Return help information - public CatPendingTasksDescriptor Help(bool help = true) => Qs("help", help); + public CatPendingTasksDescriptor Help(bool? help = true) => Qs("help", help); ///Comma-separated list of column names or column aliases to sort by public CatPendingTasksDescriptor S(params string[] s) => Qs("s", s); ///Verbose mode. Display column headers - public CatPendingTasksDescriptor V(bool v = true) => Qs("v", v); + public CatPendingTasksDescriptor V(bool? v = true) => Qs("v", v); ///Pretty format the returned JSON response. - public CatPendingTasksDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CatPendingTasksDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CatPendingTasksDescriptor Human(bool human = true) => Qs("human", human); + public CatPendingTasksDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CatPendingTasksDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CatPendingTasksDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CatPendingTasksDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -476,23 +476,23 @@ public partial class CatPluginsDescriptor : RequestDescriptorBasea short version of the Accept header, e.g. json, yaml public CatPluginsDescriptor Format(string format) => Qs("format", format); ///Return local information, do not retrieve the state from master node (default: false) - public CatPluginsDescriptor Local(bool local = true) => Qs("local", local); + public CatPluginsDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node public CatPluginsDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Comma-separated list of column names to display public CatPluginsDescriptor H(params string[] h) => Qs("h", h); ///Return help information - public CatPluginsDescriptor Help(bool help = true) => Qs("help", help); + public CatPluginsDescriptor Help(bool? help = true) => Qs("help", help); ///Comma-separated list of column names or column aliases to sort by public CatPluginsDescriptor S(params string[] s) => Qs("s", s); ///Verbose mode. Display column headers - public CatPluginsDescriptor V(bool v = true) => Qs("v", v); + public CatPluginsDescriptor V(bool? v = true) => Qs("v", v); ///Pretty format the returned JSON response. - public CatPluginsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CatPluginsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CatPluginsDescriptor Human(bool human = true) => Qs("human", human); + public CatPluginsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CatPluginsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CatPluginsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CatPluginsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -527,17 +527,17 @@ public CatRecoveryDescriptor() : base() ///Comma-separated list of column names to display public CatRecoveryDescriptor H(params string[] h) => Qs("h", h); ///Return help information - public CatRecoveryDescriptor Help(bool help = true) => Qs("help", help); + public CatRecoveryDescriptor Help(bool? help = true) => Qs("help", help); ///Comma-separated list of column names or column aliases to sort by public CatRecoveryDescriptor S(params string[] s) => Qs("s", s); ///Verbose mode. Display column headers - public CatRecoveryDescriptor V(bool v = true) => Qs("v", v); + public CatRecoveryDescriptor V(bool? v = true) => Qs("v", v); ///Pretty format the returned JSON response. - public CatRecoveryDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CatRecoveryDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CatRecoveryDescriptor Human(bool human = true) => Qs("human", human); + public CatRecoveryDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CatRecoveryDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CatRecoveryDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CatRecoveryDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -551,23 +551,23 @@ public partial class CatRepositoriesDescriptor : RequestDescriptorBasea short version of the Accept header, e.g. json, yaml public CatRepositoriesDescriptor Format(string format) => Qs("format", format); ///Return local information, do not retrieve the state from master node - public CatRepositoriesDescriptor Local(bool local = true) => Qs("local", local); + public CatRepositoriesDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node public CatRepositoriesDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Comma-separated list of column names to display public CatRepositoriesDescriptor H(params string[] h) => Qs("h", h); ///Return help information - public CatRepositoriesDescriptor Help(bool help = true) => Qs("help", help); + public CatRepositoriesDescriptor Help(bool? help = true) => Qs("help", help); ///Comma-separated list of column names or column aliases to sort by public CatRepositoriesDescriptor S(params string[] s) => Qs("s", s); ///Verbose mode. Display column headers - public CatRepositoriesDescriptor V(bool v = true) => Qs("v", v); + public CatRepositoriesDescriptor V(bool? v = true) => Qs("v", v); ///Pretty format the returned JSON response. - public CatRepositoriesDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CatRepositoriesDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CatRepositoriesDescriptor Human(bool human = true) => Qs("human", human); + public CatRepositoriesDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CatRepositoriesDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CatRepositoriesDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CatRepositoriesDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -600,17 +600,17 @@ public CatSegmentsDescriptor() : base() ///Comma-separated list of column names to display public CatSegmentsDescriptor H(params string[] h) => Qs("h", h); ///Return help information - public CatSegmentsDescriptor Help(bool help = true) => Qs("help", help); + public CatSegmentsDescriptor Help(bool? help = true) => Qs("help", help); ///Comma-separated list of column names or column aliases to sort by public CatSegmentsDescriptor S(params string[] s) => Qs("s", s); ///Verbose mode. Display column headers - public CatSegmentsDescriptor V(bool v = true) => Qs("v", v); + public CatSegmentsDescriptor V(bool? v = true) => Qs("v", v); ///Pretty format the returned JSON response. - public CatSegmentsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CatSegmentsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CatSegmentsDescriptor Human(bool human = true) => Qs("human", human); + public CatSegmentsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CatSegmentsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CatSegmentsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CatSegmentsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -641,23 +641,23 @@ public CatShardsDescriptor() : base() ///The unit in which to display byte values public CatShardsDescriptor Bytes(Bytes bytes) => Qs("bytes", bytes); ///Return local information, do not retrieve the state from master node (default: false) - public CatShardsDescriptor Local(bool local = true) => Qs("local", local); + public CatShardsDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node public CatShardsDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Comma-separated list of column names to display public CatShardsDescriptor H(params string[] h) => Qs("h", h); ///Return help information - public CatShardsDescriptor Help(bool help = true) => Qs("help", help); + public CatShardsDescriptor Help(bool? help = true) => Qs("help", help); ///Comma-separated list of column names or column aliases to sort by public CatShardsDescriptor S(params string[] s) => Qs("s", s); ///Verbose mode. Display column headers - public CatShardsDescriptor V(bool v = true) => Qs("v", v); + public CatShardsDescriptor V(bool? v = true) => Qs("v", v); ///Pretty format the returned JSON response. - public CatShardsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CatShardsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CatShardsDescriptor Human(bool human = true) => Qs("human", human); + public CatShardsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CatShardsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CatShardsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CatShardsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -680,23 +680,23 @@ public CatSnapshotsDescriptor() : base() ///a short version of the Accept header, e.g. json, yaml public CatSnapshotsDescriptor Format(string format) => Qs("format", format); ///Set to true to ignore unavailable snapshots - public CatSnapshotsDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public CatSnapshotsDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Explicit operation timeout for connection to master node public CatSnapshotsDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Comma-separated list of column names to display public CatSnapshotsDescriptor H(params string[] h) => Qs("h", h); ///Return help information - public CatSnapshotsDescriptor Help(bool help = true) => Qs("help", help); + public CatSnapshotsDescriptor Help(bool? help = true) => Qs("help", help); ///Comma-separated list of column names or column aliases to sort by public CatSnapshotsDescriptor S(params string[] s) => Qs("s", s); ///Verbose mode. Display column headers - public CatSnapshotsDescriptor V(bool v = true) => Qs("v", v); + public CatSnapshotsDescriptor V(bool? v = true) => Qs("v", v); ///Pretty format the returned JSON response. - public CatSnapshotsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CatSnapshotsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CatSnapshotsDescriptor Human(bool human = true) => Qs("human", human); + public CatSnapshotsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CatSnapshotsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CatSnapshotsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CatSnapshotsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -714,25 +714,25 @@ public partial class CatTasksDescriptor : RequestDescriptorBaseA comma-separated list of actions that should be returned. Leave empty to return all. public CatTasksDescriptor Actions(params string[] actions) => Qs("actions", actions); ///Return detailed task information (default: false) - public CatTasksDescriptor Detailed(bool detailed = true) => Qs("detailed", detailed); + public CatTasksDescriptor Detailed(bool? detailed = true) => Qs("detailed", detailed); ///Return tasks with specified parent node. public CatTasksDescriptor ParentNode(string parent_node) => Qs("parent_node", parent_node); ///Return tasks with specified parent task id. Set to -1 to return all. - public CatTasksDescriptor ParentTask(long parent_task) => Qs("parent_task", parent_task); + public CatTasksDescriptor ParentTask(long? parent_task) => Qs("parent_task", parent_task); ///Comma-separated list of column names to display public CatTasksDescriptor H(params string[] h) => Qs("h", h); ///Return help information - public CatTasksDescriptor Help(bool help = true) => Qs("help", help); + public CatTasksDescriptor Help(bool? help = true) => Qs("help", help); ///Comma-separated list of column names or column aliases to sort by public CatTasksDescriptor S(params string[] s) => Qs("s", s); ///Verbose mode. Display column headers - public CatTasksDescriptor V(bool v = true) => Qs("v", v); + public CatTasksDescriptor V(bool? v = true) => Qs("v", v); ///Pretty format the returned JSON response. - public CatTasksDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CatTasksDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CatTasksDescriptor Human(bool human = true) => Qs("human", human); + public CatTasksDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CatTasksDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CatTasksDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CatTasksDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -755,23 +755,23 @@ public CatTemplatesDescriptor() : base() ///a short version of the Accept header, e.g. json, yaml public CatTemplatesDescriptor Format(string format) => Qs("format", format); ///Return local information, do not retrieve the state from master node (default: false) - public CatTemplatesDescriptor Local(bool local = true) => Qs("local", local); + public CatTemplatesDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node public CatTemplatesDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Comma-separated list of column names to display public CatTemplatesDescriptor H(params string[] h) => Qs("h", h); ///Return help information - public CatTemplatesDescriptor Help(bool help = true) => Qs("help", help); + public CatTemplatesDescriptor Help(bool? help = true) => Qs("help", help); ///Comma-separated list of column names or column aliases to sort by public CatTemplatesDescriptor S(params string[] s) => Qs("s", s); ///Verbose mode. Display column headers - public CatTemplatesDescriptor V(bool v = true) => Qs("v", v); + public CatTemplatesDescriptor V(bool? v = true) => Qs("v", v); ///Pretty format the returned JSON response. - public CatTemplatesDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CatTemplatesDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CatTemplatesDescriptor Human(bool human = true) => Qs("human", human); + public CatTemplatesDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CatTemplatesDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CatTemplatesDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CatTemplatesDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -796,23 +796,23 @@ public CatThreadPoolDescriptor() : base() ///The multiplier in which to display values public CatThreadPoolDescriptor Size(Size size) => Qs("size", size); ///Return local information, do not retrieve the state from master node (default: false) - public CatThreadPoolDescriptor Local(bool local = true) => Qs("local", local); + public CatThreadPoolDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node public CatThreadPoolDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Comma-separated list of column names to display public CatThreadPoolDescriptor H(params string[] h) => Qs("h", h); ///Return help information - public CatThreadPoolDescriptor Help(bool help = true) => Qs("help", help); + public CatThreadPoolDescriptor Help(bool? help = true) => Qs("help", help); ///Comma-separated list of column names or column aliases to sort by public CatThreadPoolDescriptor S(params string[] s) => Qs("s", s); ///Verbose mode. Display column headers - public CatThreadPoolDescriptor V(bool v = true) => Qs("v", v); + public CatThreadPoolDescriptor V(bool? v = true) => Qs("v", v); ///Pretty format the returned JSON response. - public CatThreadPoolDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CatThreadPoolDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CatThreadPoolDescriptor Human(bool human = true) => Qs("human", human); + public CatThreadPoolDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CatThreadPoolDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CatThreadPoolDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CatThreadPoolDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -829,11 +829,11 @@ public ClearScrollDescriptor() : base() ///Pretty format the returned JSON response. - public ClearScrollDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public ClearScrollDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public ClearScrollDescriptor Human(bool human = true) => Qs("human", human); + public ClearScrollDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public ClearScrollDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public ClearScrollDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public ClearScrollDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -845,15 +845,15 @@ public ClearScrollDescriptor() : base() public partial class ClusterAllocationExplainDescriptor : RequestDescriptorBase, IClusterAllocationExplainRequest { ///Return 'YES' decisions in explanation (default: false) - public ClusterAllocationExplainDescriptor IncludeYesDecisions(bool include_yes_decisions = true) => Qs("include_yes_decisions", include_yes_decisions); + public ClusterAllocationExplainDescriptor IncludeYesDecisions(bool? include_yes_decisions = true) => Qs("include_yes_decisions", include_yes_decisions); ///Return information about disk usage and shard sizes (default: false) - public ClusterAllocationExplainDescriptor IncludeDiskInfo(bool include_disk_info = true) => Qs("include_disk_info", include_disk_info); + public ClusterAllocationExplainDescriptor IncludeDiskInfo(bool? include_disk_info = true) => Qs("include_disk_info", include_disk_info); ///Pretty format the returned JSON response. - public ClusterAllocationExplainDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public ClusterAllocationExplainDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public ClusterAllocationExplainDescriptor Human(bool human = true) => Qs("human", human); + public ClusterAllocationExplainDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public ClusterAllocationExplainDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public ClusterAllocationExplainDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public ClusterAllocationExplainDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -865,19 +865,19 @@ public partial class ClusterAllocationExplainDescriptor : RequestDescriptorBase public partial class ClusterGetSettingsDescriptor : RequestDescriptorBase, IClusterGetSettingsRequest { ///Return settings in flat format (default: false) - public ClusterGetSettingsDescriptor FlatSettings(bool flat_settings = true) => Qs("flat_settings", flat_settings); + public ClusterGetSettingsDescriptor FlatSettings(bool? flat_settings = true) => Qs("flat_settings", flat_settings); ///Explicit operation timeout for connection to master node public ClusterGetSettingsDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Explicit operation timeout public ClusterGetSettingsDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Whether to return all default clusters setting. - public ClusterGetSettingsDescriptor IncludeDefaults(bool include_defaults = true) => Qs("include_defaults", include_defaults); + public ClusterGetSettingsDescriptor IncludeDefaults(bool? include_defaults = true) => Qs("include_defaults", include_defaults); ///Pretty format the returned JSON response. - public ClusterGetSettingsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public ClusterGetSettingsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public ClusterGetSettingsDescriptor Human(bool human = true) => Qs("human", human); + public ClusterGetSettingsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public ClusterGetSettingsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public ClusterGetSettingsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public ClusterGetSettingsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -906,7 +906,7 @@ public ClusterHealthDescriptor() : base() ///Specify the level of detail for returned information public ClusterHealthDescriptor Level(Level level) => Qs("level", level); ///Return local information, do not retrieve the state from master node (default: false) - public ClusterHealthDescriptor Local(bool local = true) => Qs("local", local); + public ClusterHealthDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node public ClusterHealthDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Explicit operation timeout @@ -918,15 +918,15 @@ public ClusterHealthDescriptor() : base() ///Wait until all currently queued events with the given priority are processed public ClusterHealthDescriptor WaitForEvents(WaitForEvents wait_for_events) => Qs("wait_for_events", wait_for_events); ///Whether to wait until there are no relocating shards in the cluster - public ClusterHealthDescriptor WaitForNoRelocatingShards(bool wait_for_no_relocating_shards = true) => Qs("wait_for_no_relocating_shards", wait_for_no_relocating_shards); + public ClusterHealthDescriptor WaitForNoRelocatingShards(bool? wait_for_no_relocating_shards = true) => Qs("wait_for_no_relocating_shards", wait_for_no_relocating_shards); ///Wait until cluster is in a specific state public ClusterHealthDescriptor WaitForStatus(WaitForStatus wait_for_status) => Qs("wait_for_status", wait_for_status); ///Pretty format the returned JSON response. - public ClusterHealthDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public ClusterHealthDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public ClusterHealthDescriptor Human(bool human = true) => Qs("human", human); + public ClusterHealthDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public ClusterHealthDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public ClusterHealthDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public ClusterHealthDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -938,15 +938,15 @@ public ClusterHealthDescriptor() : base() public partial class ClusterPendingTasksDescriptor : RequestDescriptorBase, IClusterPendingTasksRequest { ///Return local information, do not retrieve the state from master node (default: false) - public ClusterPendingTasksDescriptor Local(bool local = true) => Qs("local", local); + public ClusterPendingTasksDescriptor Local(bool? local = true) => Qs("local", local); ///Specify timeout for connection to master public ClusterPendingTasksDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Pretty format the returned JSON response. - public ClusterPendingTasksDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public ClusterPendingTasksDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public ClusterPendingTasksDescriptor Human(bool human = true) => Qs("human", human); + public ClusterPendingTasksDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public ClusterPendingTasksDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public ClusterPendingTasksDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public ClusterPendingTasksDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -958,17 +958,17 @@ public partial class ClusterPendingTasksDescriptor : RequestDescriptorBase, IClusterPutSettingsRequest { ///Return settings in flat format (default: false) - public ClusterPutSettingsDescriptor FlatSettings(bool flat_settings = true) => Qs("flat_settings", flat_settings); + public ClusterPutSettingsDescriptor FlatSettings(bool? flat_settings = true) => Qs("flat_settings", flat_settings); ///Explicit operation timeout for connection to master node public ClusterPutSettingsDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Explicit operation timeout public ClusterPutSettingsDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Pretty format the returned JSON response. - public ClusterPutSettingsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public ClusterPutSettingsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public ClusterPutSettingsDescriptor Human(bool human = true) => Qs("human", human); + public ClusterPutSettingsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public ClusterPutSettingsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public ClusterPutSettingsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public ClusterPutSettingsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -980,11 +980,11 @@ public partial class ClusterPutSettingsDescriptor : RequestDescriptorBase, IRemoteInfoRequest { ///Pretty format the returned JSON response. - public RemoteInfoDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public RemoteInfoDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public RemoteInfoDescriptor Human(bool human = true) => Qs("human", human); + public RemoteInfoDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public RemoteInfoDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public RemoteInfoDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public RemoteInfoDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -996,11 +996,11 @@ public partial class RemoteInfoDescriptor : RequestDescriptorBase, IClusterRerouteRequest { ///Simulate the operation only and return the resulting state - public ClusterRerouteDescriptor DryRun(bool dry_run = true) => Qs("dry_run", dry_run); + public ClusterRerouteDescriptor DryRun(bool? dry_run = true) => Qs("dry_run", dry_run); ///Return an explanation of why the commands can or cannot be executed - public ClusterRerouteDescriptor Explain(bool explain = true) => Qs("explain", explain); + public ClusterRerouteDescriptor Explain(bool? explain = true) => Qs("explain", explain); ///Retries allocation of shards that are blocked due to too many subsequent allocation failures - public ClusterRerouteDescriptor RetryFailed(bool retry_failed = true) => Qs("retry_failed", retry_failed); + public ClusterRerouteDescriptor RetryFailed(bool? retry_failed = true) => Qs("retry_failed", retry_failed); ///Limit the information returned to the specified metrics. Defaults to all but metadata public ClusterRerouteDescriptor Metric(params string[] metric) => Qs("metric", metric); ///Explicit operation timeout for connection to master node @@ -1008,11 +1008,11 @@ public partial class ClusterRerouteDescriptor : RequestDescriptorBaseExplicit operation timeout public ClusterRerouteDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Pretty format the returned JSON response. - public ClusterRerouteDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public ClusterRerouteDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public ClusterRerouteDescriptor Human(bool human = true) => Qs("human", human); + public ClusterRerouteDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public ClusterRerouteDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public ClusterRerouteDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public ClusterRerouteDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -1043,23 +1043,23 @@ public ClusterStateDescriptor() : base() public ClusterStateDescriptor Metric(ClusterStateMetric metric) => Assign(a=>a.RouteValues.Optional("metric", (Metrics)metric)); ///Return local information, do not retrieve the state from master node (default: false) - public ClusterStateDescriptor Local(bool local = true) => Qs("local", local); + public ClusterStateDescriptor Local(bool? local = true) => Qs("local", local); ///Specify timeout for connection to master public ClusterStateDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Return settings in flat format (default: false) - public ClusterStateDescriptor FlatSettings(bool flat_settings = true) => Qs("flat_settings", flat_settings); + public ClusterStateDescriptor FlatSettings(bool? flat_settings = true) => Qs("flat_settings", flat_settings); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public ClusterStateDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public ClusterStateDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public ClusterStateDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public ClusterStateDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ClusterStateDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Pretty format the returned JSON response. - public ClusterStateDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public ClusterStateDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public ClusterStateDescriptor Human(bool human = true) => Qs("human", human); + public ClusterStateDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public ClusterStateDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public ClusterStateDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public ClusterStateDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -1080,15 +1080,15 @@ public ClusterStatsDescriptor() : base() public ClusterStatsDescriptor NodeId(NodeIds nodeId) => Assign(a=>a.RouteValues.Optional("node_id", nodeId)); ///Return settings in flat format (default: false) - public ClusterStatsDescriptor FlatSettings(bool flat_settings = true) => Qs("flat_settings", flat_settings); + public ClusterStatsDescriptor FlatSettings(bool? flat_settings = true) => Qs("flat_settings", flat_settings); ///Explicit operation timeout public ClusterStatsDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Pretty format the returned JSON response. - public ClusterStatsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public ClusterStatsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public ClusterStatsDescriptor Human(bool human = true) => Qs("human", human); + public ClusterStatsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public ClusterStatsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public ClusterStatsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public ClusterStatsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -1125,13 +1125,13 @@ public CountDescriptor() : base(r=> r.Required("index", (Indices)typeof(T)).Requ public CountDescriptor AllTypes() => this.Type(Types.All); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public CountDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public CountDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public CountDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public CountDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public CountDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Include only documents with a specific `_score` value in the result - public CountDescriptor MinScore(double min_score) => Qs("min_score", min_score); + public CountDescriptor MinScore(double? min_score) => Qs("min_score", min_score); ///Specify the node or shard the operation should be performed on (default: random) public CountDescriptor Preference(string preference) => Qs("preference", preference); /// @@ -1147,21 +1147,21 @@ public CountDescriptor() : base(r=> r.Required("index", (Indices)typeof(T)).Requ ///The analyzer to use for the query string public CountDescriptor Analyzer(string analyzer) => Qs("analyzer", analyzer); ///Specify whether wildcard and prefix queries should be analyzed (default: false) - public CountDescriptor AnalyzeWildcard(bool analyze_wildcard = true) => Qs("analyze_wildcard", analyze_wildcard); + public CountDescriptor AnalyzeWildcard(bool? analyze_wildcard = true) => Qs("analyze_wildcard", analyze_wildcard); ///The default operator for query string query (AND or OR) public CountDescriptor DefaultOperator(DefaultOperator default_operator) => Qs("default_operator", default_operator); ///The field to use as default where no field prefix is given in the query string public CountDescriptor Df(string df) => Qs("df", df); ///Specify whether format-based query failures (such as providing text to a numeric field) should be ignored - public CountDescriptor Lenient(bool lenient = true) => Qs("lenient", lenient); + public CountDescriptor Lenient(bool? lenient = true) => Qs("lenient", lenient); ///The maximum count for each shard, upon reaching which the query execution will terminate early - public CountDescriptor TerminateAfter(long terminate_after) => Qs("terminate_after", terminate_after); + public CountDescriptor TerminateAfter(long? terminate_after) => Qs("terminate_after", terminate_after); ///Pretty format the returned JSON response. - public CountDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CountDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CountDescriptor Human(bool human = true) => Qs("human", human); + public CountDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CountDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CountDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CountDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -1223,17 +1223,17 @@ public CreateDescriptor(DocumentPath document) : base(r=>r.Required(" ///Expiration time for the document public CreateDescriptor Ttl(Time ttl) => Qs("ttl", ttl); ///Explicit version number for concurrency control - public CreateDescriptor Version(long version) => Qs("version", version); + public CreateDescriptor Version(long? version) => Qs("version", version); ///Specific version type public CreateDescriptor VersionType(VersionType version_type) => Qs("version_type", version_type); ///The pipeline id to preprocess incoming documents with public CreateDescriptor Pipeline(string pipeline) => Qs("pipeline", pipeline); ///Pretty format the returned JSON response. - public CreateDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CreateDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CreateDescriptor Human(bool human = true) => Qs("human", human); + public CreateDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CreateDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CreateDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CreateDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -1291,15 +1291,15 @@ public DeleteDescriptor(DocumentPath document) : base(r=>r.Required("index", ///Explicit operation timeout public DeleteDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Explicit version number for concurrency control - public DeleteDescriptor Version(long version) => Qs("version", version); + public DeleteDescriptor Version(long? version) => Qs("version", version); ///Specific version type public DeleteDescriptor VersionType(VersionType version_type) => Qs("version_type", version_type); ///Pretty format the returned JSON response. - public DeleteDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public DeleteDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public DeleteDescriptor Human(bool human = true) => Qs("human", human); + public DeleteDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public DeleteDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public DeleteDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public DeleteDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -1339,23 +1339,23 @@ public DeleteByQueryDescriptor(Indices index) : base(r=>r.Required("index", inde ///The analyzer to use for the query string public DeleteByQueryDescriptor Analyzer(string analyzer) => Qs("analyzer", analyzer); ///Specify whether wildcard and prefix queries should be analyzed (default: false) - public DeleteByQueryDescriptor AnalyzeWildcard(bool analyze_wildcard = true) => Qs("analyze_wildcard", analyze_wildcard); + public DeleteByQueryDescriptor AnalyzeWildcard(bool? analyze_wildcard = true) => Qs("analyze_wildcard", analyze_wildcard); ///The default operator for query string query (AND or OR) public DeleteByQueryDescriptor DefaultOperator(DefaultOperator default_operator) => Qs("default_operator", default_operator); ///The field to use as default where no field prefix is given in the query string public DeleteByQueryDescriptor Df(string df) => Qs("df", df); ///Starting offset (default: 0) - public DeleteByQueryDescriptor From(long from) => Qs("from", from); + public DeleteByQueryDescriptor From(long? from) => Qs("from", from); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public DeleteByQueryDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public DeleteByQueryDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public DeleteByQueryDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public DeleteByQueryDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///What to do when the delete-by-query hits version conflicts? public DeleteByQueryDescriptor Conflicts(Conflicts conflicts) => Qs("conflicts", conflicts); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public DeleteByQueryDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Specify whether format-based query failures (such as providing text to a numeric field) should be ignored - public DeleteByQueryDescriptor Lenient(bool lenient = true) => Qs("lenient", lenient); + public DeleteByQueryDescriptor Lenient(bool? lenient = true) => Qs("lenient", lenient); ///Specify the node or shard the operation should be performed on (default: random) public DeleteByQueryDescriptor Preference(string preference) => Qs("preference", preference); ///Query in the Lucene query string syntax @@ -1375,11 +1375,11 @@ public DeleteByQueryDescriptor(Indices index) : base(r=>r.Required("index", inde ///Explicit timeout for each search request. Defaults to no timeout. public DeleteByQueryDescriptor SearchTimeout(Time search_timeout) => Qs("search_timeout", search_timeout); ///Number of hits to return (default: 10) - public DeleteByQueryDescriptor Size(long size) => Qs("size", size); + public DeleteByQueryDescriptor Size(long? size) => Qs("size", size); ///A comma-separated list of : pairs public DeleteByQueryDescriptor Sort(params string[] sort) => Qs("sort", sort); - ///True or false to return the _source field or not, or a list of fields to return - public DeleteByQueryDescriptor SourceEnabled(params string[] source_enabled) => Qs("_source", source_enabled); + ///Whether the _source should be included in the response. + public DeleteByQueryDescriptor SourceEnabled(bool? source_enabled = true) => Qs("_source", source_enabled); ///A list of fields to exclude from the returned _source field public DeleteByQueryDescriptor SourceExclude(Fields source_exclude) => Qs("_source_exclude", source_exclude); ///A list of fields to exclude from the returned _source field @@ -1389,33 +1389,33 @@ public DeleteByQueryDescriptor(Indices index) : base(r=>r.Required("index", inde ///A list of fields to extract and return from the _source field public DeleteByQueryDescriptor SourceInclude(params Expression>[] fields) => Qs("_source_include", fields?.Select(e=>(Field)e)); ///The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early. - public DeleteByQueryDescriptor TerminateAfter(long terminate_after) => Qs("terminate_after", terminate_after); + public DeleteByQueryDescriptor TerminateAfter(long? terminate_after) => Qs("terminate_after", terminate_after); ///Specific 'tag' of the request for logging and statistical purposes public DeleteByQueryDescriptor Stats(params string[] stats) => Qs("stats", stats); ///Specify whether to return document version as part of a hit - public DeleteByQueryDescriptor Version(bool version = true) => Qs("version", version); + public DeleteByQueryDescriptor Version(bool? version = true) => Qs("version", version); ///Specify if request cache should be used for this request or not, defaults to index level setting - public DeleteByQueryDescriptor RequestCache(bool request_cache = true) => Qs("request_cache", request_cache); + public DeleteByQueryDescriptor RequestCache(bool? request_cache = true) => Qs("request_cache", request_cache); ///Should the effected indexes be refreshed? - public DeleteByQueryDescriptor Refresh(bool refresh = true) => Qs("refresh", refresh); + public DeleteByQueryDescriptor Refresh(bool? refresh = true) => Qs("refresh", refresh); ///Time each individual bulk request should wait for shards that are unavailable. public DeleteByQueryDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Sets the number of shard copies that must be active before proceeding with the delete by query operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1) public DeleteByQueryDescriptor WaitForActiveShards(string wait_for_active_shards) => Qs("wait_for_active_shards", wait_for_active_shards); ///Size on the scroll request powering the update_by_query - public DeleteByQueryDescriptor ScrollSize(long scroll_size) => Qs("scroll_size", scroll_size); + public DeleteByQueryDescriptor ScrollSize(long? scroll_size) => Qs("scroll_size", scroll_size); ///Should the request should block until the delete-by-query is complete. - public DeleteByQueryDescriptor WaitForCompletion(bool wait_for_completion = true) => Qs("wait_for_completion", wait_for_completion); + public DeleteByQueryDescriptor WaitForCompletion(bool? wait_for_completion = true) => Qs("wait_for_completion", wait_for_completion); ///The throttle for this request in sub-requests per second. -1 means no throttle. - public DeleteByQueryDescriptor RequestsPerSecond(long requests_per_second) => Qs("requests_per_second", requests_per_second); + public DeleteByQueryDescriptor RequestsPerSecond(long? requests_per_second) => Qs("requests_per_second", requests_per_second); ///The number of slices this task should be divided into. Defaults to 1 meaning the task isn't sliced into subtasks. - public DeleteByQueryDescriptor Slices(long slices) => Qs("slices", slices); + public DeleteByQueryDescriptor Slices(long? slices) => Qs("slices", slices); ///Pretty format the returned JSON response. - public DeleteByQueryDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public DeleteByQueryDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public DeleteByQueryDescriptor Human(bool human = true) => Qs("human", human); + public DeleteByQueryDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public DeleteByQueryDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public DeleteByQueryDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public DeleteByQueryDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -1438,11 +1438,11 @@ public DeleteScriptDescriptor(Id id) : base(r=>r.Required("id", id)) ///Specify timeout for connection to master public DeleteScriptDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Pretty format the returned JSON response. - public DeleteScriptDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public DeleteScriptDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public DeleteScriptDescriptor Human(bool human = true) => Qs("human", human); + public DeleteScriptDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public DeleteScriptDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public DeleteScriptDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public DeleteScriptDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -1492,9 +1492,9 @@ public DocumentExistsDescriptor(DocumentPath document) : base(r=>r.Required(" ///Specify the node or shard the operation should be performed on (default: random) public DocumentExistsDescriptor Preference(string preference) => Qs("preference", preference); ///Specify whether to perform the operation in realtime or search mode - public DocumentExistsDescriptor Realtime(bool realtime = true) => Qs("realtime", realtime); + public DocumentExistsDescriptor Realtime(bool? realtime = true) => Qs("realtime", realtime); ///Refresh the shard containing the document before performing the operation - public DocumentExistsDescriptor Refresh(bool refresh = true) => Qs("refresh", refresh); + public DocumentExistsDescriptor Refresh(bool? refresh = true) => Qs("refresh", refresh); /// /// A document is routed to a particular shard in an index using the following formula /// shard_num = hash(_routing) % num_primary_shards @@ -1503,8 +1503,8 @@ public DocumentExistsDescriptor(DocumentPath document) : base(r=>r.Required(" /// if that document has a or a routing mapping on for its type exists on /// public DocumentExistsDescriptor Routing(Routing routing) => Qs("routing", routing); - ///True or false to return the _source field or not, or a list of fields to return - public DocumentExistsDescriptor SourceEnabled(params string[] source_enabled) => Qs("_source", source_enabled); + ///Whether the _source should be included in the response. + public DocumentExistsDescriptor SourceEnabled(bool? source_enabled = true) => Qs("_source", source_enabled); ///A list of fields to exclude from the returned _source field public DocumentExistsDescriptor SourceExclude(Fields source_exclude) => Qs("_source_exclude", source_exclude); ///A list of fields to exclude from the returned _source field @@ -1514,15 +1514,15 @@ public DocumentExistsDescriptor(DocumentPath document) : base(r=>r.Required(" ///A list of fields to extract and return from the _source field public DocumentExistsDescriptor SourceInclude(params Expression>[] fields) => Qs("_source_include", fields?.Select(e=>(Field)e)); ///Explicit version number for concurrency control - public DocumentExistsDescriptor Version(long version) => Qs("version", version); + public DocumentExistsDescriptor Version(long? version) => Qs("version", version); ///Specific version type public DocumentExistsDescriptor VersionType(VersionType version_type) => Qs("version_type", version_type); ///Pretty format the returned JSON response. - public DocumentExistsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public DocumentExistsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public DocumentExistsDescriptor Human(bool human = true) => Qs("human", human); + public DocumentExistsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public DocumentExistsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public DocumentExistsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public DocumentExistsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -1568,9 +1568,9 @@ public SourceExistsDescriptor(DocumentPath document) : base(r=>r.Required("in ///Specify the node or shard the operation should be performed on (default: random) public SourceExistsDescriptor Preference(string preference) => Qs("preference", preference); ///Specify whether to perform the operation in realtime or search mode - public SourceExistsDescriptor Realtime(bool realtime = true) => Qs("realtime", realtime); + public SourceExistsDescriptor Realtime(bool? realtime = true) => Qs("realtime", realtime); ///Refresh the shard containing the document before performing the operation - public SourceExistsDescriptor Refresh(bool refresh = true) => Qs("refresh", refresh); + public SourceExistsDescriptor Refresh(bool? refresh = true) => Qs("refresh", refresh); /// /// A document is routed to a particular shard in an index using the following formula /// shard_num = hash(_routing) % num_primary_shards @@ -1579,8 +1579,8 @@ public SourceExistsDescriptor(DocumentPath document) : base(r=>r.Required("in /// if that document has a or a routing mapping on for its type exists on /// public SourceExistsDescriptor Routing(Routing routing) => Qs("routing", routing); - ///True or false to return the _source field or not, or a list of fields to return - public SourceExistsDescriptor SourceEnabled(params string[] source_enabled) => Qs("_source", source_enabled); + ///Whether the _source should be included in the response. + public SourceExistsDescriptor SourceEnabled(bool? source_enabled = true) => Qs("_source", source_enabled); ///A list of fields to exclude from the returned _source field public SourceExistsDescriptor SourceExclude(Fields source_exclude) => Qs("_source_exclude", source_exclude); ///A list of fields to exclude from the returned _source field @@ -1590,15 +1590,15 @@ public SourceExistsDescriptor(DocumentPath document) : base(r=>r.Required("in ///A list of fields to extract and return from the _source field public SourceExistsDescriptor SourceInclude(params Expression>[] fields) => Qs("_source_include", fields?.Select(e=>(Field)e)); ///Explicit version number for concurrency control - public SourceExistsDescriptor Version(long version) => Qs("version", version); + public SourceExistsDescriptor Version(long? version) => Qs("version", version); ///Specific version type public SourceExistsDescriptor VersionType(VersionType version_type) => Qs("version_type", version_type); ///Pretty format the returned JSON response. - public SourceExistsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public SourceExistsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public SourceExistsDescriptor Human(bool human = true) => Qs("human", human); + public SourceExistsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public SourceExistsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public SourceExistsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public SourceExistsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -1640,7 +1640,7 @@ public ExplainDescriptor(DocumentPath document) : base(r=>r.Required( public ExplainDescriptor Type() where TOther : class => Assign(a=>a.RouteValues.Required("type", (TypeName)typeof(TOther))); ///Specify whether wildcards and prefix queries in the query string query should be analyzed (default: false) - public ExplainDescriptor AnalyzeWildcard(bool analyze_wildcard = true) => Qs("analyze_wildcard", analyze_wildcard); + public ExplainDescriptor AnalyzeWildcard(bool? analyze_wildcard = true) => Qs("analyze_wildcard", analyze_wildcard); ///The analyzer for the query string query public ExplainDescriptor Analyzer(string analyzer) => Qs("analyzer", analyzer); ///The default operator for query string query (AND or OR) @@ -1648,7 +1648,7 @@ public ExplainDescriptor(DocumentPath document) : base(r=>r.Required( ///The default field for query string query (default: _all) public ExplainDescriptor Df(string df) => Qs("df", df); ///Specify whether format-based query failures (such as providing text to a numeric field) should be ignored - public ExplainDescriptor Lenient(bool lenient = true) => Qs("lenient", lenient); + public ExplainDescriptor Lenient(bool? lenient = true) => Qs("lenient", lenient); ///The ID of the parent document public ExplainDescriptor Parent(string parent) => Qs("parent", parent); ///Specify the node or shard the operation should be performed on (default: random) @@ -1663,8 +1663,8 @@ public ExplainDescriptor(DocumentPath document) : base(r=>r.Required( /// if that document has a or a routing mapping on for its type exists on /// public ExplainDescriptor Routing(Routing routing) => Qs("routing", routing); - ///True or false to return the _source field or not, or a list of fields to return - public ExplainDescriptor SourceEnabled(params string[] source_enabled) => Qs("_source", source_enabled); + ///Whether the _source should be included in the response. + public ExplainDescriptor SourceEnabled(bool? source_enabled = true) => Qs("_source", source_enabled); ///A list of fields to exclude from the returned _source field public ExplainDescriptor SourceExclude(Fields source_exclude) => Qs("_source_exclude", source_exclude); ///A list of fields to exclude from the returned _source field @@ -1674,11 +1674,11 @@ public ExplainDescriptor(DocumentPath document) : base(r=>r.Required( ///A list of fields to extract and return from the _source field public ExplainDescriptor SourceInclude(params Expression>[] fields) => Qs("_source_include", fields?.Select(e=>(Field)e)); ///Pretty format the returned JSON response. - public ExplainDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public ExplainDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public ExplainDescriptor Human(bool human = true) => Qs("human", human); + public ExplainDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public ExplainDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public ExplainDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public ExplainDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -1709,17 +1709,17 @@ public FieldCapabilitiesDescriptor() : base() ///A comma-separated list of field names public FieldCapabilitiesDescriptor Fields(params Expression>[] fields) where T : class => Qs("fields", fields?.Select(e=>(Field)e)); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public FieldCapabilitiesDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public FieldCapabilitiesDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public FieldCapabilitiesDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public FieldCapabilitiesDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public FieldCapabilitiesDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Pretty format the returned JSON response. - public FieldCapabilitiesDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public FieldCapabilitiesDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public FieldCapabilitiesDescriptor Human(bool human = true) => Qs("human", human); + public FieldCapabilitiesDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public FieldCapabilitiesDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public FieldCapabilitiesDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public FieldCapabilitiesDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -1769,9 +1769,9 @@ public GetDescriptor(DocumentPath document) : base(r=>r.Required("index", doc ///Specify the node or shard the operation should be performed on (default: random) public GetDescriptor Preference(string preference) => Qs("preference", preference); ///Specify whether to perform the operation in realtime or search mode - public GetDescriptor Realtime(bool realtime = true) => Qs("realtime", realtime); + public GetDescriptor Realtime(bool? realtime = true) => Qs("realtime", realtime); ///Refresh the shard containing the document before performing the operation - public GetDescriptor Refresh(bool refresh = true) => Qs("refresh", refresh); + public GetDescriptor Refresh(bool? refresh = true) => Qs("refresh", refresh); /// /// A document is routed to a particular shard in an index using the following formula /// shard_num = hash(_routing) % num_primary_shards @@ -1780,8 +1780,8 @@ public GetDescriptor(DocumentPath document) : base(r=>r.Required("index", doc /// if that document has a or a routing mapping on for its type exists on /// public GetDescriptor Routing(Routing routing) => Qs("routing", routing); - ///True or false to return the _source field or not, or a list of fields to return - public GetDescriptor SourceEnabled(params string[] source_enabled) => Qs("_source", source_enabled); + ///Whether the _source should be included in the response. + public GetDescriptor SourceEnabled(bool? source_enabled = true) => Qs("_source", source_enabled); ///A list of fields to exclude from the returned _source field public GetDescriptor SourceExclude(Fields source_exclude) => Qs("_source_exclude", source_exclude); ///A list of fields to exclude from the returned _source field @@ -1791,15 +1791,15 @@ public GetDescriptor(DocumentPath document) : base(r=>r.Required("index", doc ///A list of fields to extract and return from the _source field public GetDescriptor SourceInclude(params Expression>[] fields) => Qs("_source_include", fields?.Select(e=>(Field)e)); ///Explicit version number for concurrency control - public GetDescriptor Version(long version) => Qs("version", version); + public GetDescriptor Version(long? version) => Qs("version", version); ///Specific version type public GetDescriptor VersionType(VersionType version_type) => Qs("version_type", version_type); ///Pretty format the returned JSON response. - public GetDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public GetDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public GetDescriptor Human(bool human = true) => Qs("human", human); + public GetDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public GetDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public GetDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public GetDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -1818,11 +1818,11 @@ public GetScriptDescriptor(Id id) : base(r=>r.Required("id", id)) ///Pretty format the returned JSON response. - public GetScriptDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public GetScriptDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public GetScriptDescriptor Human(bool human = true) => Qs("human", human); + public GetScriptDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public GetScriptDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public GetScriptDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public GetScriptDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -1868,9 +1868,9 @@ public SourceDescriptor(DocumentPath document) : base(r=>r.Required("index", ///Specify the node or shard the operation should be performed on (default: random) public SourceDescriptor Preference(string preference) => Qs("preference", preference); ///Specify whether to perform the operation in realtime or search mode - public SourceDescriptor Realtime(bool realtime = true) => Qs("realtime", realtime); + public SourceDescriptor Realtime(bool? realtime = true) => Qs("realtime", realtime); ///Refresh the shard containing the document before performing the operation - public SourceDescriptor Refresh(bool refresh = true) => Qs("refresh", refresh); + public SourceDescriptor Refresh(bool? refresh = true) => Qs("refresh", refresh); /// /// A document is routed to a particular shard in an index using the following formula /// shard_num = hash(_routing) % num_primary_shards @@ -1879,8 +1879,8 @@ public SourceDescriptor(DocumentPath document) : base(r=>r.Required("index", /// if that document has a or a routing mapping on for its type exists on /// public SourceDescriptor Routing(Routing routing) => Qs("routing", routing); - ///True or false to return the _source field or not, or a list of fields to return - public SourceDescriptor SourceEnabled(params string[] source_enabled) => Qs("_source", source_enabled); + ///Whether the _source should be included in the response. + public SourceDescriptor SourceEnabled(bool? source_enabled = true) => Qs("_source", source_enabled); ///A list of fields to exclude from the returned _source field public SourceDescriptor SourceExclude(Fields source_exclude) => Qs("_source_exclude", source_exclude); ///A list of fields to exclude from the returned _source field @@ -1890,15 +1890,15 @@ public SourceDescriptor(DocumentPath document) : base(r=>r.Required("index", ///A list of fields to extract and return from the _source field public SourceDescriptor SourceInclude(params Expression>[] fields) => Qs("_source_include", fields?.Select(e=>(Field)e)); ///Explicit version number for concurrency control - public SourceDescriptor Version(long version) => Qs("version", version); + public SourceDescriptor Version(long? version) => Qs("version", version); ///Specific version type public SourceDescriptor VersionType(VersionType version_type) => Qs("version_type", version_type); ///Pretty format the returned JSON response. - public SourceDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public SourceDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public SourceDescriptor Human(bool human = true) => Qs("human", human); + public SourceDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public SourceDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public SourceDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public SourceDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -1964,17 +1964,17 @@ public IndexDescriptor(DocumentPath document) : base(r=>r.Required("i ///Expiration time for the document public IndexDescriptor Ttl(Time ttl) => Qs("ttl", ttl); ///Explicit version number for concurrency control - public IndexDescriptor Version(long version) => Qs("version", version); + public IndexDescriptor Version(long? version) => Qs("version", version); ///Specific version type public IndexDescriptor VersionType(VersionType version_type) => Qs("version_type", version_type); ///The pipeline id to preprocess incoming documents with public IndexDescriptor Pipeline(string pipeline) => Qs("pipeline", pipeline); ///Pretty format the returned JSON response. - public IndexDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public IndexDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public IndexDescriptor Human(bool human = true) => Qs("human", human); + public IndexDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public IndexDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public IndexDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public IndexDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -1998,15 +1998,15 @@ public AnalyzeDescriptor() : base() public AnalyzeDescriptor Index() where TOther : class => Assign(a=>a.RouteValues.Optional("index", (IndexName)typeof(TOther))); ///With `true`, specify that a local shard should be used if available, with `false`, use a random shard (default: true) - public AnalyzeDescriptor PreferLocal(bool prefer_local = true) => Qs("prefer_local", prefer_local); + public AnalyzeDescriptor PreferLocal(bool? prefer_local = true) => Qs("prefer_local", prefer_local); ///Format of the output public AnalyzeDescriptor Format(Format format) => Qs("format", format); ///Pretty format the returned JSON response. - public AnalyzeDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public AnalyzeDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public AnalyzeDescriptor Human(bool human = true) => Qs("human", human); + public AnalyzeDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public AnalyzeDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public AnalyzeDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public AnalyzeDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -2033,31 +2033,31 @@ public ClearCacheDescriptor() : base() public ClearCacheDescriptor AllIndices() => this.Index(Indices.All); ///Clear field data - public ClearCacheDescriptor FieldData(bool field_data = true) => Qs("field_data", field_data); + public ClearCacheDescriptor Fielddata(bool? fielddata = true) => Qs("fielddata", fielddata); ///A comma-separated list of fields to clear when using the `field_data` parameter (default: all) public ClearCacheDescriptor Fields(Fields fields) => Qs("fields", fields); ///A comma-separated list of fields to clear when using the `field_data` parameter (default: all) public ClearCacheDescriptor Fields(params Expression>[] fields) where T : class => Qs("fields", fields?.Select(e=>(Field)e)); ///Clear query caches - public ClearCacheDescriptor Query(bool query = true) => Qs("query", query); + public ClearCacheDescriptor Query(bool? query = true) => Qs("query", query); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public ClearCacheDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public ClearCacheDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public ClearCacheDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public ClearCacheDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ClearCacheDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Clear the recycler cache - public ClearCacheDescriptor Recycler(bool recycler = true) => Qs("recycler", recycler); + public ClearCacheDescriptor Recycler(bool? recycler = true) => Qs("recycler", recycler); ///Clear request cache - public ClearCacheDescriptor RequestCache(bool request_cache = true) => Qs("request_cache", request_cache); + public ClearCacheDescriptor RequestCache(bool? request_cache = true) => Qs("request_cache", request_cache); ///Clear request cache - public ClearCacheDescriptor Request(bool request = true) => Qs("request", request); + public ClearCacheDescriptor Request(bool? request = true) => Qs("request", request); ///Pretty format the returned JSON response. - public ClearCacheDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public ClearCacheDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public ClearCacheDescriptor Human(bool human = true) => Qs("human", human); + public ClearCacheDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public ClearCacheDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public ClearCacheDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public ClearCacheDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -2089,17 +2089,17 @@ public CloseIndexDescriptor(Indices index) : base(r=>r.Required("index", index)) ///Specify timeout for connection to master public CloseIndexDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public CloseIndexDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public CloseIndexDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public CloseIndexDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public CloseIndexDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public CloseIndexDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Pretty format the returned JSON response. - public CloseIndexDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CloseIndexDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CloseIndexDescriptor Human(bool human = true) => Qs("human", human); + public CloseIndexDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CloseIndexDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CloseIndexDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CloseIndexDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -2130,13 +2130,13 @@ public CreateIndexDescriptor(IndexName index) : base(r=>r.Required("index", inde ///Specify timeout for connection to master public CreateIndexDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Whether to update the mapping for all fields with the same name across all types or not - public CreateIndexDescriptor UpdateAllTypes(bool update_all_types = true) => Qs("update_all_types", update_all_types); + public CreateIndexDescriptor UpdateAllTypes(bool? update_all_types = true) => Qs("update_all_types", update_all_types); ///Pretty format the returned JSON response. - public CreateIndexDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CreateIndexDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CreateIndexDescriptor Human(bool human = true) => Qs("human", human); + public CreateIndexDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CreateIndexDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CreateIndexDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CreateIndexDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -2168,17 +2168,17 @@ public DeleteIndexDescriptor(Indices index) : base(r=>r.Required("index", index) ///Specify timeout for connection to master public DeleteIndexDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Ignore unavailable indexes (default: false) - public DeleteIndexDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public DeleteIndexDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Ignore if a wildcard expression resolves to no concrete indices (default: false) - public DeleteIndexDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public DeleteIndexDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether wildcard expressions should get expanded to open or closed indices (default: open) public DeleteIndexDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Pretty format the returned JSON response. - public DeleteIndexDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public DeleteIndexDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public DeleteIndexDescriptor Human(bool human = true) => Qs("human", human); + public DeleteIndexDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public DeleteIndexDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public DeleteIndexDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public DeleteIndexDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -2212,11 +2212,11 @@ public DeleteAliasDescriptor(Indices index, Names name) : base(r=>r.Required("in ///Specify timeout for connection to master public DeleteAliasDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Pretty format the returned JSON response. - public DeleteAliasDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public DeleteAliasDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public DeleteAliasDescriptor Human(bool human = true) => Qs("human", human); + public DeleteAliasDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public DeleteAliasDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public DeleteAliasDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public DeleteAliasDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -2239,11 +2239,11 @@ public DeleteIndexTemplateDescriptor(Name name) : base(r=>r.Required("name", nam ///Specify timeout for connection to master public DeleteIndexTemplateDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Pretty format the returned JSON response. - public DeleteIndexTemplateDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public DeleteIndexTemplateDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public DeleteIndexTemplateDescriptor Human(bool human = true) => Qs("human", human); + public DeleteIndexTemplateDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public DeleteIndexTemplateDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public DeleteIndexTemplateDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public DeleteIndexTemplateDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -2271,23 +2271,23 @@ public IndexExistsDescriptor(Indices index) : base(r=>r.Required("index", index) public IndexExistsDescriptor AllIndices() => this.Index(Indices.All); ///Return local information, do not retrieve the state from master node (default: false) - public IndexExistsDescriptor Local(bool local = true) => Qs("local", local); + public IndexExistsDescriptor Local(bool? local = true) => Qs("local", local); ///Ignore unavailable indexes (default: false) - public IndexExistsDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public IndexExistsDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Ignore if a wildcard expression resolves to no concrete indices (default: false) - public IndexExistsDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public IndexExistsDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether wildcard expressions should get expanded to open or closed indices (default: open) public IndexExistsDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Return settings in flat format (default: false) - public IndexExistsDescriptor FlatSettings(bool flat_settings = true) => Qs("flat_settings", flat_settings); + public IndexExistsDescriptor FlatSettings(bool? flat_settings = true) => Qs("flat_settings", flat_settings); ///Whether to return all default setting for each of the indices. - public IndexExistsDescriptor IncludeDefaults(bool include_defaults = true) => Qs("include_defaults", include_defaults); + public IndexExistsDescriptor IncludeDefaults(bool? include_defaults = true) => Qs("include_defaults", include_defaults); ///Pretty format the returned JSON response. - public IndexExistsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public IndexExistsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public IndexExistsDescriptor Human(bool human = true) => Qs("human", human); + public IndexExistsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public IndexExistsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public IndexExistsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public IndexExistsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -2318,19 +2318,19 @@ public AliasExistsDescriptor() : base() public AliasExistsDescriptor Name(Names name) => Assign(a=>a.RouteValues.Optional("name", name)); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public AliasExistsDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public AliasExistsDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public AliasExistsDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public AliasExistsDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public AliasExistsDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Return local information, do not retrieve the state from master node (default: false) - public AliasExistsDescriptor Local(bool local = true) => Qs("local", local); + public AliasExistsDescriptor Local(bool? local = true) => Qs("local", local); ///Pretty format the returned JSON response. - public AliasExistsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public AliasExistsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public AliasExistsDescriptor Human(bool human = true) => Qs("human", human); + public AliasExistsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public AliasExistsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public AliasExistsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public AliasExistsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -2349,17 +2349,17 @@ public IndexTemplateExistsDescriptor(Names name) : base(r=>r.Required("name", na ///Return settings in flat format (default: false) - public IndexTemplateExistsDescriptor FlatSettings(bool flat_settings = true) => Qs("flat_settings", flat_settings); + public IndexTemplateExistsDescriptor FlatSettings(bool? flat_settings = true) => Qs("flat_settings", flat_settings); ///Explicit operation timeout for connection to master node public IndexTemplateExistsDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Return local information, do not retrieve the state from master node (default: false) - public IndexTemplateExistsDescriptor Local(bool local = true) => Qs("local", local); + public IndexTemplateExistsDescriptor Local(bool? local = true) => Qs("local", local); ///Pretty format the returned JSON response. - public IndexTemplateExistsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public IndexTemplateExistsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public IndexTemplateExistsDescriptor Human(bool human = true) => Qs("human", human); + public IndexTemplateExistsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public IndexTemplateExistsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public IndexTemplateExistsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public IndexTemplateExistsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -2398,19 +2398,19 @@ public TypeExistsDescriptor(Indices index, Types type) : base(r=>r.Required("ind public TypeExistsDescriptor AllTypes() => this.Type(Types.All); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public TypeExistsDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public TypeExistsDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public TypeExistsDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public TypeExistsDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public TypeExistsDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Return local information, do not retrieve the state from master node (default: false) - public TypeExistsDescriptor Local(bool local = true) => Qs("local", local); + public TypeExistsDescriptor Local(bool? local = true) => Qs("local", local); ///Pretty format the returned JSON response. - public TypeExistsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public TypeExistsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public TypeExistsDescriptor Human(bool human = true) => Qs("human", human); + public TypeExistsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public TypeExistsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public TypeExistsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public TypeExistsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -2437,21 +2437,21 @@ public FlushDescriptor() : base() public FlushDescriptor AllIndices() => this.Index(Indices.All); ///Whether a flush should be forced even if it is not necessarily needed ie. if no changes will be committed to the index. This is useful if transaction log IDs should be incremented even if no uncommitted changes are present. (This setting can be considered as internal) - public FlushDescriptor Force(bool force = true) => Qs("force", force); + public FlushDescriptor Force(bool? force = true) => Qs("force", force); ///If set to true the flush operation will block until the flush can be executed if another flush operation is already executing. The default is true. If set to false the flush will be skipped iff if another flush operation is already running. - public FlushDescriptor WaitIfOngoing(bool wait_if_ongoing = true) => Qs("wait_if_ongoing", wait_if_ongoing); + public FlushDescriptor WaitIfOngoing(bool? wait_if_ongoing = true) => Qs("wait_if_ongoing", wait_if_ongoing); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public FlushDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public FlushDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public FlushDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public FlushDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public FlushDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Pretty format the returned JSON response. - public FlushDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public FlushDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public FlushDescriptor Human(bool human = true) => Qs("human", human); + public FlushDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public FlushDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public FlushDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public FlushDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -2478,17 +2478,17 @@ public SyncedFlushDescriptor() : base() public SyncedFlushDescriptor AllIndices() => this.Index(Indices.All); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public SyncedFlushDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public SyncedFlushDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public SyncedFlushDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public SyncedFlushDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public SyncedFlushDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Pretty format the returned JSON response. - public SyncedFlushDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public SyncedFlushDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public SyncedFlushDescriptor Human(bool human = true) => Qs("human", human); + public SyncedFlushDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public SyncedFlushDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public SyncedFlushDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public SyncedFlushDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -2515,27 +2515,27 @@ public ForceMergeDescriptor() : base() public ForceMergeDescriptor AllIndices() => this.Index(Indices.All); ///Specify whether the index should be flushed after performing the operation (default: true) - public ForceMergeDescriptor Flush(bool flush = true) => Qs("flush", flush); + public ForceMergeDescriptor Flush(bool? flush = true) => Qs("flush", flush); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public ForceMergeDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public ForceMergeDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public ForceMergeDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public ForceMergeDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ForceMergeDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///The number of segments the index should be merged into (default: dynamic) - public ForceMergeDescriptor MaxNumSegments(long max_num_segments) => Qs("max_num_segments", max_num_segments); + public ForceMergeDescriptor MaxNumSegments(long? max_num_segments) => Qs("max_num_segments", max_num_segments); ///Specify whether the operation should only expunge deleted documents - public ForceMergeDescriptor OnlyExpungeDeletes(bool only_expunge_deletes = true) => Qs("only_expunge_deletes", only_expunge_deletes); + public ForceMergeDescriptor OnlyExpungeDeletes(bool? only_expunge_deletes = true) => Qs("only_expunge_deletes", only_expunge_deletes); ///TODO: ? public ForceMergeDescriptor OperationThreading(string operation_threading) => Qs("operation_threading", operation_threading); ///Specify whether the request should block until the merge process is finished (default: true) - public ForceMergeDescriptor WaitForMerge(bool wait_for_merge = true) => Qs("wait_for_merge", wait_for_merge); + public ForceMergeDescriptor WaitForMerge(bool? wait_for_merge = true) => Qs("wait_for_merge", wait_for_merge); ///Pretty format the returned JSON response. - public ForceMergeDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public ForceMergeDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public ForceMergeDescriptor Human(bool human = true) => Qs("human", human); + public ForceMergeDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public ForceMergeDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public ForceMergeDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public ForceMergeDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -2563,23 +2563,23 @@ public GetIndexDescriptor(Indices index) : base(r=>r.Required("index", index)) public GetIndexDescriptor AllIndices() => this.Index(Indices.All); ///Return local information, do not retrieve the state from master node (default: false) - public GetIndexDescriptor Local(bool local = true) => Qs("local", local); + public GetIndexDescriptor Local(bool? local = true) => Qs("local", local); ///Ignore unavailable indexes (default: false) - public GetIndexDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public GetIndexDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Ignore if a wildcard expression resolves to no concrete indices (default: false) - public GetIndexDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public GetIndexDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether wildcard expressions should get expanded to open or closed indices (default: open) public GetIndexDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Return settings in flat format (default: false) - public GetIndexDescriptor FlatSettings(bool flat_settings = true) => Qs("flat_settings", flat_settings); + public GetIndexDescriptor FlatSettings(bool? flat_settings = true) => Qs("flat_settings", flat_settings); ///Whether to return all default setting for each of the indices. - public GetIndexDescriptor IncludeDefaults(bool include_defaults = true) => Qs("include_defaults", include_defaults); + public GetIndexDescriptor IncludeDefaults(bool? include_defaults = true) => Qs("include_defaults", include_defaults); ///Pretty format the returned JSON response. - public GetIndexDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public GetIndexDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public GetIndexDescriptor Human(bool human = true) => Qs("human", human); + public GetIndexDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public GetIndexDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public GetIndexDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public GetIndexDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -2610,19 +2610,19 @@ public GetAliasDescriptor() : base() public GetAliasDescriptor Name(Names name) => Assign(a=>a.RouteValues.Optional("name", name)); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public GetAliasDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public GetAliasDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public GetAliasDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public GetAliasDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public GetAliasDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Return local information, do not retrieve the state from master node (default: false) - public GetAliasDescriptor Local(bool local = true) => Qs("local", local); + public GetAliasDescriptor Local(bool? local = true) => Qs("local", local); ///Pretty format the returned JSON response. - public GetAliasDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public GetAliasDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public GetAliasDescriptor Human(bool human = true) => Qs("human", human); + public GetAliasDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public GetAliasDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public GetAliasDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public GetAliasDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -2661,21 +2661,21 @@ public GetFieldMappingDescriptor(Fields fields) : base(r=>r.Required("fields", f public GetFieldMappingDescriptor AllTypes() => this.Type(Types.All); ///Whether the default mapping values should be returned as well - public GetFieldMappingDescriptor IncludeDefaults(bool include_defaults = true) => Qs("include_defaults", include_defaults); + public GetFieldMappingDescriptor IncludeDefaults(bool? include_defaults = true) => Qs("include_defaults", include_defaults); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public GetFieldMappingDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public GetFieldMappingDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public GetFieldMappingDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public GetFieldMappingDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public GetFieldMappingDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Return local information, do not retrieve the state from master node (default: false) - public GetFieldMappingDescriptor Local(bool local = true) => Qs("local", local); + public GetFieldMappingDescriptor Local(bool? local = true) => Qs("local", local); ///Pretty format the returned JSON response. - public GetFieldMappingDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public GetFieldMappingDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public GetFieldMappingDescriptor Human(bool human = true) => Qs("human", human); + public GetFieldMappingDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public GetFieldMappingDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public GetFieldMappingDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public GetFieldMappingDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -2712,19 +2712,19 @@ public GetMappingDescriptor() : base(r=> r.Required("index", (Indices)typeof(T)) public GetMappingDescriptor AllTypes() => this.Type(Types.All); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public GetMappingDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public GetMappingDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public GetMappingDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public GetMappingDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public GetMappingDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Return local information, do not retrieve the state from master node (default: false) - public GetMappingDescriptor Local(bool local = true) => Qs("local", local); + public GetMappingDescriptor Local(bool? local = true) => Qs("local", local); ///Pretty format the returned JSON response. - public GetMappingDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public GetMappingDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public GetMappingDescriptor Human(bool human = true) => Qs("human", human); + public GetMappingDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public GetMappingDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public GetMappingDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public GetMappingDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -2755,23 +2755,23 @@ public GetIndexSettingsDescriptor() : base() public GetIndexSettingsDescriptor Name(Names name) => Assign(a=>a.RouteValues.Optional("name", name)); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public GetIndexSettingsDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public GetIndexSettingsDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public GetIndexSettingsDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public GetIndexSettingsDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public GetIndexSettingsDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Return settings in flat format (default: false) - public GetIndexSettingsDescriptor FlatSettings(bool flat_settings = true) => Qs("flat_settings", flat_settings); + public GetIndexSettingsDescriptor FlatSettings(bool? flat_settings = true) => Qs("flat_settings", flat_settings); ///Return local information, do not retrieve the state from master node (default: false) - public GetIndexSettingsDescriptor Local(bool local = true) => Qs("local", local); + public GetIndexSettingsDescriptor Local(bool? local = true) => Qs("local", local); ///Whether to return all default setting for each of the indices. - public GetIndexSettingsDescriptor IncludeDefaults(bool include_defaults = true) => Qs("include_defaults", include_defaults); + public GetIndexSettingsDescriptor IncludeDefaults(bool? include_defaults = true) => Qs("include_defaults", include_defaults); ///Pretty format the returned JSON response. - public GetIndexSettingsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public GetIndexSettingsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public GetIndexSettingsDescriptor Human(bool human = true) => Qs("human", human); + public GetIndexSettingsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public GetIndexSettingsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public GetIndexSettingsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public GetIndexSettingsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -2792,17 +2792,17 @@ public GetIndexTemplateDescriptor() : base() public GetIndexTemplateDescriptor Name(Names name) => Assign(a=>a.RouteValues.Optional("name", name)); ///Return settings in flat format (default: false) - public GetIndexTemplateDescriptor FlatSettings(bool flat_settings = true) => Qs("flat_settings", flat_settings); + public GetIndexTemplateDescriptor FlatSettings(bool? flat_settings = true) => Qs("flat_settings", flat_settings); ///Explicit operation timeout for connection to master node public GetIndexTemplateDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Return local information, do not retrieve the state from master node (default: false) - public GetIndexTemplateDescriptor Local(bool local = true) => Qs("local", local); + public GetIndexTemplateDescriptor Local(bool? local = true) => Qs("local", local); ///Pretty format the returned JSON response. - public GetIndexTemplateDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public GetIndexTemplateDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public GetIndexTemplateDescriptor Human(bool human = true) => Qs("human", human); + public GetIndexTemplateDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public GetIndexTemplateDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public GetIndexTemplateDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public GetIndexTemplateDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -2829,17 +2829,17 @@ public UpgradeStatusDescriptor() : base() public UpgradeStatusDescriptor AllIndices() => this.Index(Indices.All); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public UpgradeStatusDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public UpgradeStatusDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public UpgradeStatusDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public UpgradeStatusDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public UpgradeStatusDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Pretty format the returned JSON response. - public UpgradeStatusDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public UpgradeStatusDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public UpgradeStatusDescriptor Human(bool human = true) => Qs("human", human); + public UpgradeStatusDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public UpgradeStatusDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public UpgradeStatusDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public UpgradeStatusDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -2871,17 +2871,17 @@ public OpenIndexDescriptor(Indices index) : base(r=>r.Required("index", index)) ///Specify timeout for connection to master public OpenIndexDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public OpenIndexDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public OpenIndexDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public OpenIndexDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public OpenIndexDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public OpenIndexDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Pretty format the returned JSON response. - public OpenIndexDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public OpenIndexDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public OpenIndexDescriptor Human(bool human = true) => Qs("human", human); + public OpenIndexDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public OpenIndexDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public OpenIndexDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public OpenIndexDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -2915,11 +2915,11 @@ public PutAliasDescriptor(Indices index, Name name) : base(r=>r.Required("index" ///Specify timeout for connection to master public PutAliasDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Pretty format the returned JSON response. - public PutAliasDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public PutAliasDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public PutAliasDescriptor Human(bool human = true) => Qs("human", human); + public PutAliasDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public PutAliasDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public PutAliasDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public PutAliasDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -2958,19 +2958,19 @@ public PutMappingDescriptor(TypeName type) : base(r=>r.Required("type", type)) ///Specify timeout for connection to master public PutMappingDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public PutMappingDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public PutMappingDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public PutMappingDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public PutMappingDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public PutMappingDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Whether to update the mapping for all fields with the same name across all types or not - public PutMappingDescriptor UpdateAllTypes(bool update_all_types = true) => Qs("update_all_types", update_all_types); + public PutMappingDescriptor UpdateAllTypes(bool? update_all_types = true) => Qs("update_all_types", update_all_types); ///Pretty format the returned JSON response. - public PutMappingDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public PutMappingDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public PutMappingDescriptor Human(bool human = true) => Qs("human", human); + public PutMappingDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public PutMappingDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public PutMappingDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public PutMappingDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -2999,21 +2999,21 @@ public UpdateIndexSettingsDescriptor() : base() ///Specify timeout for connection to master public UpdateIndexSettingsDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Whether to update existing settings. If set to `true` existing settings on an index remain unchanged, the default is `false` - public UpdateIndexSettingsDescriptor PreserveExisting(bool preserve_existing = true) => Qs("preserve_existing", preserve_existing); + public UpdateIndexSettingsDescriptor PreserveExisting(bool? preserve_existing = true) => Qs("preserve_existing", preserve_existing); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public UpdateIndexSettingsDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public UpdateIndexSettingsDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public UpdateIndexSettingsDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public UpdateIndexSettingsDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public UpdateIndexSettingsDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Return settings in flat format (default: false) - public UpdateIndexSettingsDescriptor FlatSettings(bool flat_settings = true) => Qs("flat_settings", flat_settings); + public UpdateIndexSettingsDescriptor FlatSettings(bool? flat_settings = true) => Qs("flat_settings", flat_settings); ///Pretty format the returned JSON response. - public UpdateIndexSettingsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public UpdateIndexSettingsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public UpdateIndexSettingsDescriptor Human(bool human = true) => Qs("human", human); + public UpdateIndexSettingsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public UpdateIndexSettingsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public UpdateIndexSettingsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public UpdateIndexSettingsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -3032,19 +3032,19 @@ public PutIndexTemplateDescriptor(Name name) : base(r=>r.Required("name", name)) ///Whether the index template should only be added if new or can also replace an existing one - public PutIndexTemplateDescriptor Create(bool create = true) => Qs("create", create); + public PutIndexTemplateDescriptor Create(bool? create = true) => Qs("create", create); ///Explicit operation timeout public PutIndexTemplateDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Specify timeout for connection to master public PutIndexTemplateDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Return settings in flat format (default: false) - public PutIndexTemplateDescriptor FlatSettings(bool flat_settings = true) => Qs("flat_settings", flat_settings); + public PutIndexTemplateDescriptor FlatSettings(bool? flat_settings = true) => Qs("flat_settings", flat_settings); ///Pretty format the returned JSON response. - public PutIndexTemplateDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public PutIndexTemplateDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public PutIndexTemplateDescriptor Human(bool human = true) => Qs("human", human); + public PutIndexTemplateDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public PutIndexTemplateDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public PutIndexTemplateDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public PutIndexTemplateDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -3071,15 +3071,15 @@ public RecoveryStatusDescriptor() : base() public RecoveryStatusDescriptor AllIndices() => this.Index(Indices.All); ///Whether to display detailed information about shard recovery - public RecoveryStatusDescriptor Detailed(bool detailed = true) => Qs("detailed", detailed); + public RecoveryStatusDescriptor Detailed(bool? detailed = true) => Qs("detailed", detailed); ///Display only those recoveries that are currently on-going - public RecoveryStatusDescriptor ActiveOnly(bool active_only = true) => Qs("active_only", active_only); + public RecoveryStatusDescriptor ActiveOnly(bool? active_only = true) => Qs("active_only", active_only); ///Pretty format the returned JSON response. - public RecoveryStatusDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public RecoveryStatusDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public RecoveryStatusDescriptor Human(bool human = true) => Qs("human", human); + public RecoveryStatusDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public RecoveryStatusDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public RecoveryStatusDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public RecoveryStatusDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -3106,17 +3106,17 @@ public RefreshDescriptor() : base() public RefreshDescriptor AllIndices() => this.Index(Indices.All); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public RefreshDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public RefreshDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public RefreshDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public RefreshDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public RefreshDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Pretty format the returned JSON response. - public RefreshDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public RefreshDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public RefreshDescriptor Human(bool human = true) => Qs("human", human); + public RefreshDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public RefreshDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public RefreshDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public RefreshDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -3141,17 +3141,17 @@ public RolloverIndexDescriptor(Name alias) : base(r=>r.Required("alias", alias)) ///Explicit operation timeout public RolloverIndexDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///If set to true the rollover action will only be validated but not actually performed even if a condition matches. The default is false - public RolloverIndexDescriptor DryRun(bool dry_run = true) => Qs("dry_run", dry_run); + public RolloverIndexDescriptor DryRun(bool? dry_run = true) => Qs("dry_run", dry_run); ///Specify timeout for connection to master public RolloverIndexDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Set the number of active shards to wait for on the newly created rollover index before the operation returns. public RolloverIndexDescriptor WaitForActiveShards(string wait_for_active_shards) => Qs("wait_for_active_shards", wait_for_active_shards); ///Pretty format the returned JSON response. - public RolloverIndexDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public RolloverIndexDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public RolloverIndexDescriptor Human(bool human = true) => Qs("human", human); + public RolloverIndexDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public RolloverIndexDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public RolloverIndexDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public RolloverIndexDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -3178,21 +3178,21 @@ public SegmentsDescriptor() : base() public SegmentsDescriptor AllIndices() => this.Index(Indices.All); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public SegmentsDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public SegmentsDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public SegmentsDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public SegmentsDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public SegmentsDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///TODO: ? public SegmentsDescriptor OperationThreading(string operation_threading) => Qs("operation_threading", operation_threading); ///Includes detailed memory usage by Lucene. - public SegmentsDescriptor Verbose(bool verbose = true) => Qs("verbose", verbose); + public SegmentsDescriptor Verbose(bool? verbose = true) => Qs("verbose", verbose); ///Pretty format the returned JSON response. - public SegmentsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public SegmentsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public SegmentsDescriptor Human(bool human = true) => Qs("human", human); + public SegmentsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public SegmentsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public SegmentsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public SegmentsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -3221,19 +3221,19 @@ public IndicesShardStoresDescriptor() : base() ///A comma-separated list of statuses used to filter on shards to get store information for public IndicesShardStoresDescriptor Status(params string[] status) => Qs("status", status); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public IndicesShardStoresDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public IndicesShardStoresDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public IndicesShardStoresDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public IndicesShardStoresDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public IndicesShardStoresDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///TODO: ? public IndicesShardStoresDescriptor OperationThreading(string operation_threading) => Qs("operation_threading", operation_threading); ///Pretty format the returned JSON response. - public IndicesShardStoresDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public IndicesShardStoresDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public IndicesShardStoresDescriptor Human(bool human = true) => Qs("human", human); + public IndicesShardStoresDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public IndicesShardStoresDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public IndicesShardStoresDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public IndicesShardStoresDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -3266,11 +3266,11 @@ public ShrinkIndexDescriptor(IndexName index, IndexName target) : base(r=>r.Requ ///Set the number of active shards to wait for on the shrunken index before the operation returns. public ShrinkIndexDescriptor WaitForActiveShards(string wait_for_active_shards) => Qs("wait_for_active_shards", wait_for_active_shards); ///Pretty format the returned JSON response. - public ShrinkIndexDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public ShrinkIndexDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public ShrinkIndexDescriptor Human(bool human = true) => Qs("human", human); + public ShrinkIndexDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public ShrinkIndexDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public ShrinkIndexDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public ShrinkIndexDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -3317,13 +3317,13 @@ public IndicesStatsDescriptor() : base() ///Return stats aggregated at cluster, index or shard level public IndicesStatsDescriptor Level(Level level) => Qs("level", level); ///Whether to report the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested) - public IndicesStatsDescriptor IncludeSegmentFileSizes(bool include_segment_file_sizes = true) => Qs("include_segment_file_sizes", include_segment_file_sizes); + public IndicesStatsDescriptor IncludeSegmentFileSizes(bool? include_segment_file_sizes = true) => Qs("include_segment_file_sizes", include_segment_file_sizes); ///Pretty format the returned JSON response. - public IndicesStatsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public IndicesStatsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public IndicesStatsDescriptor Human(bool human = true) => Qs("human", human); + public IndicesStatsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public IndicesStatsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public IndicesStatsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public IndicesStatsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -3339,11 +3339,11 @@ public partial class BulkAliasDescriptor : RequestDescriptorBaseSpecify timeout for connection to master public BulkAliasDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Pretty format the returned JSON response. - public BulkAliasDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public BulkAliasDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public BulkAliasDescriptor Human(bool human = true) => Qs("human", human); + public BulkAliasDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public BulkAliasDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public BulkAliasDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public BulkAliasDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -3370,21 +3370,21 @@ public UpgradeDescriptor() : base() public UpgradeDescriptor AllIndices() => this.Index(Indices.All); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public UpgradeDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public UpgradeDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public UpgradeDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public UpgradeDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public UpgradeDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Specify whether the request should block until the all segments are upgraded (default: false) - public UpgradeDescriptor WaitForCompletion(bool wait_for_completion = true) => Qs("wait_for_completion", wait_for_completion); + public UpgradeDescriptor WaitForCompletion(bool? wait_for_completion = true) => Qs("wait_for_completion", wait_for_completion); ///If true, only ancient (an older Lucene major release) segments will be upgraded - public UpgradeDescriptor OnlyAncientSegments(bool only_ancient_segments = true) => Qs("only_ancient_segments", only_ancient_segments); + public UpgradeDescriptor OnlyAncientSegments(bool? only_ancient_segments = true) => Qs("only_ancient_segments", only_ancient_segments); ///Pretty format the returned JSON response. - public UpgradeDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public UpgradeDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public UpgradeDescriptor Human(bool human = true) => Qs("human", human); + public UpgradeDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public UpgradeDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public UpgradeDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public UpgradeDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -3421,11 +3421,11 @@ public ValidateQueryDescriptor() : base(r=> r.Required("index", (Indices)typeof( public ValidateQueryDescriptor AllTypes() => this.Type(Types.All); ///Return detailed information about the error - public ValidateQueryDescriptor Explain(bool explain = true) => Qs("explain", explain); + public ValidateQueryDescriptor Explain(bool? explain = true) => Qs("explain", explain); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public ValidateQueryDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public ValidateQueryDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public ValidateQueryDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public ValidateQueryDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ValidateQueryDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///TODO: ? @@ -3435,23 +3435,23 @@ public ValidateQueryDescriptor() : base(r=> r.Required("index", (Indices)typeof( ///The analyzer to use for the query string public ValidateQueryDescriptor Analyzer(string analyzer) => Qs("analyzer", analyzer); ///Specify whether wildcard and prefix queries should be analyzed (default: false) - public ValidateQueryDescriptor AnalyzeWildcard(bool analyze_wildcard = true) => Qs("analyze_wildcard", analyze_wildcard); + public ValidateQueryDescriptor AnalyzeWildcard(bool? analyze_wildcard = true) => Qs("analyze_wildcard", analyze_wildcard); ///The default operator for query string query (AND or OR) public ValidateQueryDescriptor DefaultOperator(DefaultOperator default_operator) => Qs("default_operator", default_operator); ///The field to use as default where no field prefix is given in the query string public ValidateQueryDescriptor Df(string df) => Qs("df", df); ///Specify whether format-based query failures (such as providing text to a numeric field) should be ignored - public ValidateQueryDescriptor Lenient(bool lenient = true) => Qs("lenient", lenient); + public ValidateQueryDescriptor Lenient(bool? lenient = true) => Qs("lenient", lenient); ///Provide a more detailed explanation showing the actual Lucene query that will be executed. - public ValidateQueryDescriptor Rewrite(bool rewrite = true) => Qs("rewrite", rewrite); + public ValidateQueryDescriptor Rewrite(bool? rewrite = true) => Qs("rewrite", rewrite); ///Execute validation on all shards instead of one random shard per index - public ValidateQueryDescriptor AllShards(bool all_shards = true) => Qs("all_shards", all_shards); + public ValidateQueryDescriptor AllShards(bool? all_shards = true) => Qs("all_shards", all_shards); ///Pretty format the returned JSON response. - public ValidateQueryDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public ValidateQueryDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public ValidateQueryDescriptor Human(bool human = true) => Qs("human", human); + public ValidateQueryDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public ValidateQueryDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public ValidateQueryDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public ValidateQueryDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -3463,11 +3463,11 @@ public ValidateQueryDescriptor() : base(r=> r.Required("index", (Indices)typeof( public partial class RootNodeInfoDescriptor : RequestDescriptorBase, IRootNodeInfoRequest { ///Pretty format the returned JSON response. - public RootNodeInfoDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public RootNodeInfoDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public RootNodeInfoDescriptor Human(bool human = true) => Qs("human", human); + public RootNodeInfoDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public RootNodeInfoDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public RootNodeInfoDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public RootNodeInfoDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -3490,11 +3490,11 @@ public DeletePipelineDescriptor(Id id) : base(r=>r.Required("id", id)) ///Explicit operation timeout public DeletePipelineDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Pretty format the returned JSON response. - public DeletePipelineDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public DeletePipelineDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public DeletePipelineDescriptor Human(bool human = true) => Qs("human", human); + public DeletePipelineDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public DeletePipelineDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public DeletePipelineDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public DeletePipelineDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -3517,11 +3517,11 @@ public GetPipelineDescriptor() : base() ///Explicit operation timeout for connection to master node public GetPipelineDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Pretty format the returned JSON response. - public GetPipelineDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public GetPipelineDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public GetPipelineDescriptor Human(bool human = true) => Qs("human", human); + public GetPipelineDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public GetPipelineDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public GetPipelineDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public GetPipelineDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -3533,11 +3533,11 @@ public GetPipelineDescriptor() : base() public partial class GrokProcessorPatternsDescriptor : RequestDescriptorBase, IGrokProcessorPatternsRequest { ///Pretty format the returned JSON response. - public GrokProcessorPatternsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public GrokProcessorPatternsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public GrokProcessorPatternsDescriptor Human(bool human = true) => Qs("human", human); + public GrokProcessorPatternsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public GrokProcessorPatternsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public GrokProcessorPatternsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public GrokProcessorPatternsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -3560,11 +3560,11 @@ public PutPipelineDescriptor(Id id) : base(r=>r.Required("id", id)) ///Explicit operation timeout public PutPipelineDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Pretty format the returned JSON response. - public PutPipelineDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public PutPipelineDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public PutPipelineDescriptor Human(bool human = true) => Qs("human", human); + public PutPipelineDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public PutPipelineDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public PutPipelineDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public PutPipelineDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -3585,13 +3585,13 @@ public SimulatePipelineDescriptor() : base() public SimulatePipelineDescriptor Id(Id id) => Assign(a=>a.RouteValues.Optional("id", id)); ///Verbose mode. Display data output for each processor in executed pipeline - public SimulatePipelineDescriptor Verbose(bool verbose = true) => Qs("verbose", verbose); + public SimulatePipelineDescriptor Verbose(bool? verbose = true) => Qs("verbose", verbose); ///Pretty format the returned JSON response. - public SimulatePipelineDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public SimulatePipelineDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public SimulatePipelineDescriptor Human(bool human = true) => Qs("human", human); + public SimulatePipelineDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public SimulatePipelineDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public SimulatePipelineDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public SimulatePipelineDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -3624,9 +3624,9 @@ public MultiGetDescriptor() : base() ///Specify the node or shard the operation should be performed on (default: random) public MultiGetDescriptor Preference(string preference) => Qs("preference", preference); ///Specify whether to perform the operation in realtime or search mode - public MultiGetDescriptor Realtime(bool realtime = true) => Qs("realtime", realtime); + public MultiGetDescriptor Realtime(bool? realtime = true) => Qs("realtime", realtime); ///Refresh the shard containing the document before performing the operation - public MultiGetDescriptor Refresh(bool refresh = true) => Qs("refresh", refresh); + public MultiGetDescriptor Refresh(bool? refresh = true) => Qs("refresh", refresh); /// /// A document is routed to a particular shard in an index using the following formula /// shard_num = hash(_routing) % num_primary_shards @@ -3635,8 +3635,8 @@ public MultiGetDescriptor() : base() /// if that document has a or a routing mapping on for its type exists on /// public MultiGetDescriptor Routing(Routing routing) => Qs("routing", routing); - ///True or false to return the _source field or not, or a list of fields to return - public MultiGetDescriptor SourceEnabled(params string[] source_enabled) => Qs("_source", source_enabled); + ///Whether the _source should be included in the response. + public MultiGetDescriptor SourceEnabled(bool? source_enabled = true) => Qs("_source", source_enabled); ///A list of fields to exclude from the returned _source field public MultiGetDescriptor SourceExclude(Fields source_exclude) => Qs("_source_exclude", source_exclude); ///A list of fields to exclude from the returned _source field @@ -3646,11 +3646,11 @@ public MultiGetDescriptor() : base() ///A list of fields to extract and return from the _source field public MultiGetDescriptor SourceInclude(params Expression>[] fields) where T : class => Qs("_source_include", fields?.Select(e=>(Field)e)); ///Pretty format the returned JSON response. - public MultiGetDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public MultiGetDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public MultiGetDescriptor Human(bool human = true) => Qs("human", human); + public MultiGetDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public MultiGetDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public MultiGetDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public MultiGetDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -3689,17 +3689,17 @@ public MultiSearchDescriptor() ///Search operation type public MultiSearchDescriptor SearchType(SearchType search_type) => Qs("search_type", search_type); ///Controls the maximum number of concurrent searches the multi search api will execute - public MultiSearchDescriptor MaxConcurrentSearches(long max_concurrent_searches) => Qs("max_concurrent_searches", max_concurrent_searches); + public MultiSearchDescriptor MaxConcurrentSearches(long? max_concurrent_searches) => Qs("max_concurrent_searches", max_concurrent_searches); ///Specify whether aggregation and suggester names should be prefixed by their respective types in the response - public MultiSearchDescriptor TypedKeys(bool typed_keys = true) => Qs("typed_keys", typed_keys); + public MultiSearchDescriptor TypedKeys(bool? typed_keys = true) => Qs("typed_keys", typed_keys); ///A threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold. This filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on it's rewrite method ie. if date filters are mandatory to match but the shard bounds and the query are disjoint. - public MultiSearchDescriptor PreFilterShardSize(long pre_filter_shard_size) => Qs("pre_filter_shard_size", pre_filter_shard_size); + public MultiSearchDescriptor PreFilterShardSize(long? pre_filter_shard_size) => Qs("pre_filter_shard_size", pre_filter_shard_size); ///Pretty format the returned JSON response. - public MultiSearchDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public MultiSearchDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public MultiSearchDescriptor Human(bool human = true) => Qs("human", human); + public MultiSearchDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public MultiSearchDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public MultiSearchDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public MultiSearchDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -3738,15 +3738,15 @@ public MultiSearchTemplateDescriptor() ///Search operation type public MultiSearchTemplateDescriptor SearchType(SearchType search_type) => Qs("search_type", search_type); ///Specify whether aggregation and suggester names should be prefixed by their respective types in the response - public MultiSearchTemplateDescriptor TypedKeys(bool typed_keys = true) => Qs("typed_keys", typed_keys); + public MultiSearchTemplateDescriptor TypedKeys(bool? typed_keys = true) => Qs("typed_keys", typed_keys); ///Controls the maximum number of concurrent searches the multi search api will execute - public MultiSearchTemplateDescriptor MaxConcurrentSearches(long max_concurrent_searches) => Qs("max_concurrent_searches", max_concurrent_searches); + public MultiSearchTemplateDescriptor MaxConcurrentSearches(long? max_concurrent_searches) => Qs("max_concurrent_searches", max_concurrent_searches); ///Pretty format the returned JSON response. - public MultiSearchTemplateDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public MultiSearchTemplateDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public MultiSearchTemplateDescriptor Human(bool human = true) => Qs("human", human); + public MultiSearchTemplateDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public MultiSearchTemplateDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public MultiSearchTemplateDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public MultiSearchTemplateDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -3777,19 +3777,19 @@ public MultiTermVectorsDescriptor() : base() public MultiTermVectorsDescriptor Type() where TOther : class => Assign(a=>a.RouteValues.Optional("type", (TypeName)typeof(TOther))); ///Specifies if total term frequency and document frequency should be returned. Applies to all returned documents unless otherwise specified in body "params" or "docs". - public MultiTermVectorsDescriptor TermStatistics(bool term_statistics = true) => Qs("term_statistics", term_statistics); + public MultiTermVectorsDescriptor TermStatistics(bool? term_statistics = true) => Qs("term_statistics", term_statistics); ///Specifies if document count, sum of document frequencies and sum of total term frequencies should be returned. Applies to all returned documents unless otherwise specified in body "params" or "docs". - public MultiTermVectorsDescriptor FieldStatistics(bool field_statistics = true) => Qs("field_statistics", field_statistics); + public MultiTermVectorsDescriptor FieldStatistics(bool? field_statistics = true) => Qs("field_statistics", field_statistics); ///A comma-separated list of fields to return. Applies to all returned documents unless otherwise specified in body "params" or "docs". public MultiTermVectorsDescriptor Fields(Fields fields) => Qs("fields", fields); ///A comma-separated list of fields to return. Applies to all returned documents unless otherwise specified in body "params" or "docs". public MultiTermVectorsDescriptor Fields(params Expression>[] fields) where T : class => Qs("fields", fields?.Select(e=>(Field)e)); ///Specifies if term offsets should be returned. Applies to all returned documents unless otherwise specified in body "params" or "docs". - public MultiTermVectorsDescriptor Offsets(bool offsets = true) => Qs("offsets", offsets); + public MultiTermVectorsDescriptor Offsets(bool? offsets = true) => Qs("offsets", offsets); ///Specifies if term positions should be returned. Applies to all returned documents unless otherwise specified in body "params" or "docs". - public MultiTermVectorsDescriptor Positions(bool positions = true) => Qs("positions", positions); + public MultiTermVectorsDescriptor Positions(bool? positions = true) => Qs("positions", positions); ///Specifies if term payloads should be returned. Applies to all returned documents unless otherwise specified in body "params" or "docs". - public MultiTermVectorsDescriptor Payloads(bool payloads = true) => Qs("payloads", payloads); + public MultiTermVectorsDescriptor Payloads(bool? payloads = true) => Qs("payloads", payloads); ///Specify the node or shard the operation should be performed on (default: random) .Applies to all returned documents unless otherwise specified in body "params" or "docs". public MultiTermVectorsDescriptor Preference(string preference) => Qs("preference", preference); /// @@ -3803,17 +3803,17 @@ public MultiTermVectorsDescriptor() : base() ///Parent id of documents. Applies to all returned documents unless otherwise specified in body "params" or "docs". public MultiTermVectorsDescriptor Parent(string parent) => Qs("parent", parent); ///Specifies if requests are real-time as opposed to near-real-time (default: true). - public MultiTermVectorsDescriptor Realtime(bool realtime = true) => Qs("realtime", realtime); + public MultiTermVectorsDescriptor Realtime(bool? realtime = true) => Qs("realtime", realtime); ///Explicit version number for concurrency control - public MultiTermVectorsDescriptor Version(long version) => Qs("version", version); + public MultiTermVectorsDescriptor Version(long? version) => Qs("version", version); ///Specific version type public MultiTermVectorsDescriptor VersionType(VersionType version_type) => Qs("version_type", version_type); ///Pretty format the returned JSON response. - public MultiTermVectorsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public MultiTermVectorsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public MultiTermVectorsDescriptor Human(bool human = true) => Qs("human", human); + public MultiTermVectorsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public MultiTermVectorsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public MultiTermVectorsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public MultiTermVectorsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -3836,21 +3836,21 @@ public NodesHotThreadsDescriptor() : base() ///The interval for the second sampling of threads public NodesHotThreadsDescriptor Interval(Time interval) => Qs("interval", interval); ///Number of samples of thread stacktrace (default: 10) - public NodesHotThreadsDescriptor Snapshots(long snapshots) => Qs("snapshots", snapshots); + public NodesHotThreadsDescriptor Snapshots(long? snapshots) => Qs("snapshots", snapshots); ///Specify the number of threads to provide information for (default: 3) - public NodesHotThreadsDescriptor Threads(long threads) => Qs("threads", threads); + public NodesHotThreadsDescriptor Threads(long? threads) => Qs("threads", threads); ///Don't show threads that are in known-idle places, such as waiting on a socket select or pulling from an empty task queue (default: true) - public NodesHotThreadsDescriptor IgnoreIdleThreads(bool ignore_idle_threads = true) => Qs("ignore_idle_threads", ignore_idle_threads); + public NodesHotThreadsDescriptor IgnoreIdleThreads(bool? ignore_idle_threads = true) => Qs("ignore_idle_threads", ignore_idle_threads); ///The type to sample (default: cpu) public NodesHotThreadsDescriptor ThreadType(ThreadType thread_type) => Qs("type", thread_type); ///Explicit operation timeout public NodesHotThreadsDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Pretty format the returned JSON response. - public NodesHotThreadsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public NodesHotThreadsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public NodesHotThreadsDescriptor Human(bool human = true) => Qs("human", human); + public NodesHotThreadsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public NodesHotThreadsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public NodesHotThreadsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public NodesHotThreadsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -3875,15 +3875,15 @@ public NodesInfoDescriptor() : base() public NodesInfoDescriptor Metric(NodesInfoMetric metric) => Assign(a=>a.RouteValues.Optional("metric", (Metrics)metric)); ///Return settings in flat format (default: false) - public NodesInfoDescriptor FlatSettings(bool flat_settings = true) => Qs("flat_settings", flat_settings); + public NodesInfoDescriptor FlatSettings(bool? flat_settings = true) => Qs("flat_settings", flat_settings); ///Explicit operation timeout public NodesInfoDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Pretty format the returned JSON response. - public NodesInfoDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public NodesInfoDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public NodesInfoDescriptor Human(bool human = true) => Qs("human", human); + public NodesInfoDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public NodesInfoDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public NodesInfoDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public NodesInfoDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -3924,7 +3924,7 @@ public NodesStatsDescriptor() : base() ///A comma-separated list of fields for `fielddata` and `completion` index metric (supports wildcards) public NodesStatsDescriptor Fields(params Expression>[] fields) where T : class => Qs("fields", fields?.Select(e=>(Field)e)); ///A comma-separated list of search groups for `search` index metric - public NodesStatsDescriptor Groups(bool groups = true) => Qs("groups", groups); + public NodesStatsDescriptor Groups(bool? groups = true) => Qs("groups", groups); ///Return indices stats aggregated at index, node or shard level public NodesStatsDescriptor Level(Level level) => Qs("level", level); ///A comma-separated list of document types for the `indexing` index metric @@ -3932,13 +3932,13 @@ public NodesStatsDescriptor() : base() ///Explicit operation timeout public NodesStatsDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Whether to report the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested) - public NodesStatsDescriptor IncludeSegmentFileSizes(bool include_segment_file_sizes = true) => Qs("include_segment_file_sizes", include_segment_file_sizes); + public NodesStatsDescriptor IncludeSegmentFileSizes(bool? include_segment_file_sizes = true) => Qs("include_segment_file_sizes", include_segment_file_sizes); ///Pretty format the returned JSON response. - public NodesStatsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public NodesStatsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public NodesStatsDescriptor Human(bool human = true) => Qs("human", human); + public NodesStatsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public NodesStatsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public NodesStatsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public NodesStatsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -3963,13 +3963,13 @@ public NodesUsageDescriptor() : base() public NodesUsageDescriptor NodeId(NodeIds nodeId) => Assign(a=>a.RouteValues.Optional("node_id", nodeId)); ///Whether to return time and byte values in human-readable format. - public NodesUsageDescriptor Human(bool human = true) => Qs("human", human); + public NodesUsageDescriptor Human(bool? human = true) => Qs("human", human); ///Explicit operation timeout public NodesUsageDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Pretty format the returned JSON response. - public NodesUsageDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public NodesUsageDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Include the stack trace of returned errors. - public NodesUsageDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public NodesUsageDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public NodesUsageDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -3981,11 +3981,11 @@ public NodesUsageDescriptor() : base() public partial class PingDescriptor : RequestDescriptorBase, IPingRequest { ///Pretty format the returned JSON response. - public PingDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public PingDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public PingDescriptor Human(bool human = true) => Qs("human", human); + public PingDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public PingDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public PingDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public PingDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -4012,11 +4012,11 @@ public PutScriptDescriptor(Id id) : base(r=>r.Required("id", id)) ///Specify timeout for connection to master public PutScriptDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Pretty format the returned JSON response. - public PutScriptDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public PutScriptDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public PutScriptDescriptor Human(bool human = true) => Qs("human", human); + public PutScriptDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public PutScriptDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public PutScriptDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public PutScriptDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -4028,23 +4028,23 @@ public PutScriptDescriptor(Id id) : base(r=>r.Required("id", id)) public partial class ReindexOnServerDescriptor : RequestDescriptorBase, IReindexOnServerRequest { ///Should the effected indexes be refreshed? - public ReindexOnServerDescriptor Refresh(bool refresh = true) => Qs("refresh", refresh); + public ReindexOnServerDescriptor Refresh(bool? refresh = true) => Qs("refresh", refresh); ///Time each individual bulk request should wait for shards that are unavailable. public ReindexOnServerDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Sets the number of shard copies that must be active before proceeding with the reindex operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1) public ReindexOnServerDescriptor WaitForActiveShards(string wait_for_active_shards) => Qs("wait_for_active_shards", wait_for_active_shards); ///Should the request should block until the reindex is complete. - public ReindexOnServerDescriptor WaitForCompletion(bool wait_for_completion = true) => Qs("wait_for_completion", wait_for_completion); + public ReindexOnServerDescriptor WaitForCompletion(bool? wait_for_completion = true) => Qs("wait_for_completion", wait_for_completion); ///The throttle to set on this request in sub-requests per second. -1 means no throttle. - public ReindexOnServerDescriptor RequestsPerSecond(long requests_per_second) => Qs("requests_per_second", requests_per_second); + public ReindexOnServerDescriptor RequestsPerSecond(long? requests_per_second) => Qs("requests_per_second", requests_per_second); ///The number of slices this task should be divided into. Defaults to 1 meaning the task isn't sliced into subtasks. - public ReindexOnServerDescriptor Slices(long slices) => Qs("slices", slices); + public ReindexOnServerDescriptor Slices(long? slices) => Qs("slices", slices); ///Pretty format the returned JSON response. - public ReindexOnServerDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public ReindexOnServerDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public ReindexOnServerDescriptor Human(bool human = true) => Qs("human", human); + public ReindexOnServerDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public ReindexOnServerDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public ReindexOnServerDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///A comma-separated list of filters used to reduce the respone. public ReindexOnServerDescriptor FilterPath(params string[] filter_path) => Qs("filter_path", filter_path); @@ -4063,13 +4063,13 @@ public ReindexRethrottleDescriptor() : base() public ReindexRethrottleDescriptor TaskId(TaskId taskId) => Assign(a=>a.RouteValues.Optional("task_id", taskId)); ///The throttle to set on this request in floating sub-requests per second. -1 means set no throttle. - public ReindexRethrottleDescriptor RequestsPerSecond(long requests_per_second) => Qs("requests_per_second", requests_per_second); + public ReindexRethrottleDescriptor RequestsPerSecond(long? requests_per_second) => Qs("requests_per_second", requests_per_second); ///Pretty format the returned JSON response. - public ReindexRethrottleDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public ReindexRethrottleDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public ReindexRethrottleDescriptor Human(bool human = true) => Qs("human", human); + public ReindexRethrottleDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public ReindexRethrottleDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public ReindexRethrottleDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public ReindexRethrottleDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -4101,11 +4101,11 @@ public ScrollDescriptor() : base() ///Pretty format the returned JSON response. - public ScrollDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public ScrollDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public ScrollDescriptor Human(bool human = true) => Qs("human", human); + public ScrollDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public ScrollDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public ScrollDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public ScrollDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -4144,19 +4144,19 @@ public SearchDescriptor() : base(r=> r.Required("index", (Indices)typeof(T)).Req ///The analyzer to use for the query string public SearchDescriptor Analyzer(string analyzer) => Qs("analyzer", analyzer); ///Specify whether wildcard and prefix queries should be analyzed (default: false) - public SearchDescriptor AnalyzeWildcard(bool analyze_wildcard = true) => Qs("analyze_wildcard", analyze_wildcard); + public SearchDescriptor AnalyzeWildcard(bool? analyze_wildcard = true) => Qs("analyze_wildcard", analyze_wildcard); ///The default operator for query string query (AND or OR) public SearchDescriptor DefaultOperator(DefaultOperator default_operator) => Qs("default_operator", default_operator); ///The field to use as default where no field prefix is given in the query string public SearchDescriptor Df(string df) => Qs("df", df); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public SearchDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public SearchDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public SearchDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public SearchDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public SearchDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Specify whether format-based query failures (such as providing text to a numeric field) should be ignored - public SearchDescriptor Lenient(bool lenient = true) => Qs("lenient", lenient); + public SearchDescriptor Lenient(bool? lenient = true) => Qs("lenient", lenient); ///Specify the node or shard the operation should be performed on (default: random) public SearchDescriptor Preference(string preference) => Qs("preference", preference); /// @@ -4181,27 +4181,27 @@ public SearchDescriptor() : base(r=> r.Required("index", (Indices)typeof(T)).Req ///Specify suggest mode public SearchDescriptor SuggestMode(SuggestMode suggest_mode) => Qs("suggest_mode", suggest_mode); ///How many suggestions to return in response - public SearchDescriptor SuggestSize(long suggest_size) => Qs("suggest_size", suggest_size); + public SearchDescriptor SuggestSize(long? suggest_size) => Qs("suggest_size", suggest_size); ///The source text for which the suggestions should be returned public SearchDescriptor SuggestText(string suggest_text) => Qs("suggest_text", suggest_text); ///Indicate if the number of documents that match the query should be tracked - public SearchDescriptor TrackTotalHits(bool track_total_hits = true) => Qs("track_total_hits", track_total_hits); + public SearchDescriptor TrackTotalHits(bool? track_total_hits = true) => Qs("track_total_hits", track_total_hits); ///Specify whether aggregation and suggester names should be prefixed by their respective types in the response - public SearchDescriptor TypedKeys(bool typed_keys = true) => Qs("typed_keys", typed_keys); + public SearchDescriptor TypedKeys(bool? typed_keys = true) => Qs("typed_keys", typed_keys); ///Specify if request cache should be used for this request or not, defaults to index level setting - public SearchDescriptor RequestCache(bool request_cache = true) => Qs("request_cache", request_cache); + public SearchDescriptor RequestCache(bool? request_cache = true) => Qs("request_cache", request_cache); ///The number of shard results that should be reduced at once on the coordinating node. This value should be used as a protection mechanism to reduce the memory overhead per search request if the potential number of shards in the request can be large. - public SearchDescriptor BatchedReduceSize(long batched_reduce_size) => Qs("batched_reduce_size", batched_reduce_size); + public SearchDescriptor BatchedReduceSize(long? batched_reduce_size) => Qs("batched_reduce_size", batched_reduce_size); ///The number of concurrent shard requests this search executes concurrently. This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests - public SearchDescriptor MaxConcurrentShardRequests(long max_concurrent_shard_requests) => Qs("max_concurrent_shard_requests", max_concurrent_shard_requests); + public SearchDescriptor MaxConcurrentShardRequests(long? max_concurrent_shard_requests) => Qs("max_concurrent_shard_requests", max_concurrent_shard_requests); ///A threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold. This filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on it's rewrite method ie. if date filters are mandatory to match but the shard bounds and the query are disjoint. - public SearchDescriptor PreFilterShardSize(long pre_filter_shard_size) => Qs("pre_filter_shard_size", pre_filter_shard_size); + public SearchDescriptor PreFilterShardSize(long? pre_filter_shard_size) => Qs("pre_filter_shard_size", pre_filter_shard_size); ///Pretty format the returned JSON response. - public SearchDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public SearchDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public SearchDescriptor Human(bool human = true) => Qs("human", human); + public SearchDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public SearchDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public SearchDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///A comma-separated list of filters used to reduce the respone. public SearchDescriptor FilterPath(params string[] filter_path) => Qs("filter_path", filter_path); @@ -4236,19 +4236,19 @@ public SearchShardsDescriptor() : base() /// public SearchShardsDescriptor Routing(Routing routing) => Qs("routing", routing); ///Return local information, do not retrieve the state from master node (default: false) - public SearchShardsDescriptor Local(bool local = true) => Qs("local", local); + public SearchShardsDescriptor Local(bool? local = true) => Qs("local", local); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public SearchShardsDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public SearchShardsDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public SearchShardsDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public SearchShardsDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public SearchShardsDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Pretty format the returned JSON response. - public SearchShardsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public SearchShardsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public SearchShardsDescriptor Human(bool human = true) => Qs("human", human); + public SearchShardsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public SearchShardsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public SearchShardsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public SearchShardsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -4285,9 +4285,9 @@ public SearchTemplateDescriptor() : base(r=> r.Required("index", (Indices)typeof public SearchTemplateDescriptor AllTypes() => this.Type(Types.All); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public SearchTemplateDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public SearchTemplateDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public SearchTemplateDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public SearchTemplateDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public SearchTemplateDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Specify the node or shard the operation should be performed on (default: random) @@ -4305,17 +4305,17 @@ public SearchTemplateDescriptor() : base(r=> r.Required("index", (Indices)typeof ///Search operation type public SearchTemplateDescriptor SearchType(SearchType search_type) => Qs("search_type", search_type); ///Specify whether to return detailed information about score computation as part of a hit - public SearchTemplateDescriptor Explain(bool explain = true) => Qs("explain", explain); + public SearchTemplateDescriptor Explain(bool? explain = true) => Qs("explain", explain); ///Specify whether to profile the query execution - public SearchTemplateDescriptor Profile(bool profile = true) => Qs("profile", profile); + public SearchTemplateDescriptor Profile(bool? profile = true) => Qs("profile", profile); ///Specify whether aggregation and suggester names should be prefixed by their respective types in the response - public SearchTemplateDescriptor TypedKeys(bool typed_keys = true) => Qs("typed_keys", typed_keys); + public SearchTemplateDescriptor TypedKeys(bool? typed_keys = true) => Qs("typed_keys", typed_keys); ///Pretty format the returned JSON response. - public SearchTemplateDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public SearchTemplateDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public SearchTemplateDescriptor Human(bool human = true) => Qs("human", human); + public SearchTemplateDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public SearchTemplateDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public SearchTemplateDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public SearchTemplateDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -4338,13 +4338,13 @@ public SnapshotDescriptor(Name repository, Name snapshot) : base(r=>r.Required(" ///Explicit operation timeout for connection to master node public SnapshotDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Should this request wait until the operation has completed before returning - public SnapshotDescriptor WaitForCompletion(bool wait_for_completion = true) => Qs("wait_for_completion", wait_for_completion); + public SnapshotDescriptor WaitForCompletion(bool? wait_for_completion = true) => Qs("wait_for_completion", wait_for_completion); ///Pretty format the returned JSON response. - public SnapshotDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public SnapshotDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public SnapshotDescriptor Human(bool human = true) => Qs("human", human); + public SnapshotDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public SnapshotDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public SnapshotDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public SnapshotDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -4367,13 +4367,13 @@ public CreateRepositoryDescriptor(Name repository) : base(r=>r.Required("reposit ///Explicit operation timeout public CreateRepositoryDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Whether to verify the repository after creation - public CreateRepositoryDescriptor Verify(bool verify = true) => Qs("verify", verify); + public CreateRepositoryDescriptor Verify(bool? verify = true) => Qs("verify", verify); ///Pretty format the returned JSON response. - public CreateRepositoryDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CreateRepositoryDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CreateRepositoryDescriptor Human(bool human = true) => Qs("human", human); + public CreateRepositoryDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CreateRepositoryDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CreateRepositoryDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CreateRepositoryDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -4396,11 +4396,11 @@ public DeleteSnapshotDescriptor(Name repository, Name snapshot) : base(r=>r.Requ ///Explicit operation timeout for connection to master node public DeleteSnapshotDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Pretty format the returned JSON response. - public DeleteSnapshotDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public DeleteSnapshotDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public DeleteSnapshotDescriptor Human(bool human = true) => Qs("human", human); + public DeleteSnapshotDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public DeleteSnapshotDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public DeleteSnapshotDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public DeleteSnapshotDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -4423,11 +4423,11 @@ public DeleteRepositoryDescriptor(Names repository) : base(r=>r.Required("reposi ///Explicit operation timeout public DeleteRepositoryDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Pretty format the returned JSON response. - public DeleteRepositoryDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public DeleteRepositoryDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public DeleteRepositoryDescriptor Human(bool human = true) => Qs("human", human); + public DeleteRepositoryDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public DeleteRepositoryDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public DeleteRepositoryDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public DeleteRepositoryDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -4450,15 +4450,15 @@ public GetSnapshotDescriptor(Name repository, Names snapshot) : base(r=>r.Requir ///Explicit operation timeout for connection to master node public GetSnapshotDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Whether to ignore unavailable snapshots, defaults to false which means a SnapshotMissingException is thrown - public GetSnapshotDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public GetSnapshotDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to show verbose snapshot info or only show the basic info found in the repository index blob - public GetSnapshotDescriptor Verbose(bool verbose = true) => Qs("verbose", verbose); + public GetSnapshotDescriptor Verbose(bool? verbose = true) => Qs("verbose", verbose); ///Pretty format the returned JSON response. - public GetSnapshotDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public GetSnapshotDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public GetSnapshotDescriptor Human(bool human = true) => Qs("human", human); + public GetSnapshotDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public GetSnapshotDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public GetSnapshotDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public GetSnapshotDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -4481,13 +4481,13 @@ public GetRepositoryDescriptor() : base() ///Explicit operation timeout for connection to master node public GetRepositoryDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Return local information, do not retrieve the state from master node (default: false) - public GetRepositoryDescriptor Local(bool local = true) => Qs("local", local); + public GetRepositoryDescriptor Local(bool? local = true) => Qs("local", local); ///Pretty format the returned JSON response. - public GetRepositoryDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public GetRepositoryDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public GetRepositoryDescriptor Human(bool human = true) => Qs("human", human); + public GetRepositoryDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public GetRepositoryDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public GetRepositoryDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public GetRepositoryDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -4510,13 +4510,13 @@ public RestoreDescriptor(Name repository, Name snapshot) : base(r=>r.Required("r ///Explicit operation timeout for connection to master node public RestoreDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Should this request wait until the operation has completed before returning - public RestoreDescriptor WaitForCompletion(bool wait_for_completion = true) => Qs("wait_for_completion", wait_for_completion); + public RestoreDescriptor WaitForCompletion(bool? wait_for_completion = true) => Qs("wait_for_completion", wait_for_completion); ///Pretty format the returned JSON response. - public RestoreDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public RestoreDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public RestoreDescriptor Human(bool human = true) => Qs("human", human); + public RestoreDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public RestoreDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public RestoreDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public RestoreDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -4543,13 +4543,13 @@ public SnapshotStatusDescriptor() : base() ///Explicit operation timeout for connection to master node public SnapshotStatusDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Whether to ignore unavailable snapshots, defaults to false which means a SnapshotMissingException is thrown - public SnapshotStatusDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public SnapshotStatusDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Pretty format the returned JSON response. - public SnapshotStatusDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public SnapshotStatusDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public SnapshotStatusDescriptor Human(bool human = true) => Qs("human", human); + public SnapshotStatusDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public SnapshotStatusDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public SnapshotStatusDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public SnapshotStatusDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -4572,11 +4572,11 @@ public VerifyRepositoryDescriptor(Name repository) : base(r=>r.Required("reposit ///Explicit operation timeout public VerifyRepositoryDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Pretty format the returned JSON response. - public VerifyRepositoryDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public VerifyRepositoryDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public VerifyRepositoryDescriptor Human(bool human = true) => Qs("human", human); + public VerifyRepositoryDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public VerifyRepositoryDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public VerifyRepositoryDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public VerifyRepositoryDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -4605,11 +4605,11 @@ public CancelTasksDescriptor() : base() ///Cancel tasks with specified parent task id (node_id:task_number). Set to -1 to cancel all. public CancelTasksDescriptor ParentTaskId(string parent_task_id) => Qs("parent_task_id", parent_task_id); ///Pretty format the returned JSON response. - public CancelTasksDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CancelTasksDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CancelTasksDescriptor Human(bool human = true) => Qs("human", human); + public CancelTasksDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CancelTasksDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CancelTasksDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CancelTasksDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -4630,13 +4630,13 @@ public GetTaskDescriptor() : base() public GetTaskDescriptor TaskId(TaskId taskId) => Assign(a=>a.RouteValues.Optional("task_id", taskId)); ///Wait for the matching tasks to complete (default: false) - public GetTaskDescriptor WaitForCompletion(bool wait_for_completion = true) => Qs("wait_for_completion", wait_for_completion); + public GetTaskDescriptor WaitForCompletion(bool? wait_for_completion = true) => Qs("wait_for_completion", wait_for_completion); ///Pretty format the returned JSON response. - public GetTaskDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public GetTaskDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public GetTaskDescriptor Human(bool human = true) => Qs("human", human); + public GetTaskDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public GetTaskDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public GetTaskDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public GetTaskDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -4652,21 +4652,21 @@ public partial class ListTasksDescriptor : RequestDescriptorBaseA comma-separated list of actions that should be returned. Leave empty to return all. public ListTasksDescriptor Actions(params string[] actions) => Qs("actions", actions); ///Return detailed task information (default: false) - public ListTasksDescriptor Detailed(bool detailed = true) => Qs("detailed", detailed); + public ListTasksDescriptor Detailed(bool? detailed = true) => Qs("detailed", detailed); ///Return tasks with specified parent node. public ListTasksDescriptor ParentNode(string parent_node) => Qs("parent_node", parent_node); ///Return tasks with specified parent task id (node_id:task_number). Set to -1 to return all. public ListTasksDescriptor ParentTaskId(string parent_task_id) => Qs("parent_task_id", parent_task_id); ///Wait for the matching tasks to complete (default: false) - public ListTasksDescriptor WaitForCompletion(bool wait_for_completion = true) => Qs("wait_for_completion", wait_for_completion); + public ListTasksDescriptor WaitForCompletion(bool? wait_for_completion = true) => Qs("wait_for_completion", wait_for_completion); ///Group tasks by nodes or parent/child relationships public ListTasksDescriptor GroupBy(GroupBy group_by) => Qs("group_by", group_by); ///Pretty format the returned JSON response. - public ListTasksDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public ListTasksDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public ListTasksDescriptor Human(bool human = true) => Qs("human", human); + public ListTasksDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public ListTasksDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public ListTasksDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public ListTasksDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -4710,19 +4710,19 @@ public TermVectorsDescriptor(DocumentPath document) : base(r=>r.Requi public TermVectorsDescriptor Id(Id id) => Assign(a=>a.RouteValues.Optional("id", id)); ///Specifies if total term frequency and document frequency should be returned. - public TermVectorsDescriptor TermStatistics(bool term_statistics = true) => Qs("term_statistics", term_statistics); + public TermVectorsDescriptor TermStatistics(bool? term_statistics = true) => Qs("term_statistics", term_statistics); ///Specifies if document count, sum of document frequencies and sum of total term frequencies should be returned. - public TermVectorsDescriptor FieldStatistics(bool field_statistics = true) => Qs("field_statistics", field_statistics); + public TermVectorsDescriptor FieldStatistics(bool? field_statistics = true) => Qs("field_statistics", field_statistics); ///A comma-separated list of fields to return. public TermVectorsDescriptor Fields(Fields fields) => Qs("fields", fields); ///A comma-separated list of fields to return. public TermVectorsDescriptor Fields(params Expression>[] fields) => Qs("fields", fields?.Select(e=>(Field)e)); ///Specifies if term offsets should be returned. - public TermVectorsDescriptor Offsets(bool offsets = true) => Qs("offsets", offsets); + public TermVectorsDescriptor Offsets(bool? offsets = true) => Qs("offsets", offsets); ///Specifies if term positions should be returned. - public TermVectorsDescriptor Positions(bool positions = true) => Qs("positions", positions); + public TermVectorsDescriptor Positions(bool? positions = true) => Qs("positions", positions); ///Specifies if term payloads should be returned. - public TermVectorsDescriptor Payloads(bool payloads = true) => Qs("payloads", payloads); + public TermVectorsDescriptor Payloads(bool? payloads = true) => Qs("payloads", payloads); ///Specify the node or shard the operation should be performed on (default: random). public TermVectorsDescriptor Preference(string preference) => Qs("preference", preference); /// @@ -4736,17 +4736,17 @@ public TermVectorsDescriptor(DocumentPath document) : base(r=>r.Requi ///Parent id of documents. public TermVectorsDescriptor Parent(string parent) => Qs("parent", parent); ///Specifies if request is real-time as opposed to near-real-time (default: true). - public TermVectorsDescriptor Realtime(bool realtime = true) => Qs("realtime", realtime); + public TermVectorsDescriptor Realtime(bool? realtime = true) => Qs("realtime", realtime); ///Explicit version number for concurrency control - public TermVectorsDescriptor Version(long version) => Qs("version", version); + public TermVectorsDescriptor Version(long? version) => Qs("version", version); ///Specific version type public TermVectorsDescriptor VersionType(VersionType version_type) => Qs("version_type", version_type); ///Pretty format the returned JSON response. - public TermVectorsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public TermVectorsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public TermVectorsDescriptor Human(bool human = true) => Qs("human", human); + public TermVectorsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public TermVectorsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public TermVectorsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public TermVectorsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -4789,8 +4789,8 @@ public UpdateDescriptor(DocumentPath document) : base(r=>r.Required(" ///Sets the number of shard copies that must be active before proceeding with the update operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1) public UpdateDescriptor WaitForActiveShards(string wait_for_active_shards) => Qs("wait_for_active_shards", wait_for_active_shards); - ///True or false to return the _source field or not, or a list of fields to return - public UpdateDescriptor SourceEnabled(params string[] source_enabled) => Qs("_source", source_enabled); + ///Whether the _source should be included in the response. + public UpdateDescriptor SourceEnabled(bool? source_enabled = true) => Qs("_source", source_enabled); ///The script language (default: painless) public UpdateDescriptor Lang(string lang) => Qs("lang", lang); ///ID of the parent document. Is is only used for routing and when for the upsert request @@ -4798,7 +4798,7 @@ public UpdateDescriptor(DocumentPath document) : base(r=>r.Required(" ///If `true` then refresh the effected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes. public UpdateDescriptor Refresh(Refresh refresh) => Qs("refresh", refresh); ///Specify how many times should the operation be retried when a conflict occurs (default: 0) - public UpdateDescriptor RetryOnConflict(long retry_on_conflict) => Qs("retry_on_conflict", retry_on_conflict); + public UpdateDescriptor RetryOnConflict(long? retry_on_conflict) => Qs("retry_on_conflict", retry_on_conflict); /// /// A document is routed to a particular shard in an index using the following formula /// shard_num = hash(_routing) % num_primary_shards @@ -4814,15 +4814,15 @@ public UpdateDescriptor(DocumentPath document) : base(r=>r.Required(" ///Expiration time for the document public UpdateDescriptor Ttl(Time ttl) => Qs("ttl", ttl); ///Explicit version number for concurrency control - public UpdateDescriptor Version(long version) => Qs("version", version); + public UpdateDescriptor Version(long? version) => Qs("version", version); ///Specific version type public UpdateDescriptor VersionType(VersionType version_type) => Qs("version_type", version_type); ///Pretty format the returned JSON response. - public UpdateDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public UpdateDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public UpdateDescriptor Human(bool human = true) => Qs("human", human); + public UpdateDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public UpdateDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public UpdateDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public UpdateDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -4862,23 +4862,23 @@ public UpdateByQueryDescriptor(Indices index) : base(r=>r.Required("index", inde ///The analyzer to use for the query string public UpdateByQueryDescriptor Analyzer(string analyzer) => Qs("analyzer", analyzer); ///Specify whether wildcard and prefix queries should be analyzed (default: false) - public UpdateByQueryDescriptor AnalyzeWildcard(bool analyze_wildcard = true) => Qs("analyze_wildcard", analyze_wildcard); + public UpdateByQueryDescriptor AnalyzeWildcard(bool? analyze_wildcard = true) => Qs("analyze_wildcard", analyze_wildcard); ///The default operator for query string query (AND or OR) public UpdateByQueryDescriptor DefaultOperator(DefaultOperator default_operator) => Qs("default_operator", default_operator); ///The field to use as default where no field prefix is given in the query string public UpdateByQueryDescriptor Df(string df) => Qs("df", df); ///Starting offset (default: 0) - public UpdateByQueryDescriptor From(long from) => Qs("from", from); + public UpdateByQueryDescriptor From(long? from) => Qs("from", from); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public UpdateByQueryDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); + public UpdateByQueryDescriptor IgnoreUnavailable(bool? ignore_unavailable = true) => Qs("ignore_unavailable", ignore_unavailable); ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public UpdateByQueryDescriptor AllowNoIndices(bool allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); + public UpdateByQueryDescriptor AllowNoIndices(bool? allow_no_indices = true) => Qs("allow_no_indices", allow_no_indices); ///What to do when the update by query hits version conflicts? public UpdateByQueryDescriptor Conflicts(Conflicts conflicts) => Qs("conflicts", conflicts); ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public UpdateByQueryDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => Qs("expand_wildcards", expand_wildcards); ///Specify whether format-based query failures (such as providing text to a numeric field) should be ignored - public UpdateByQueryDescriptor Lenient(bool lenient = true) => Qs("lenient", lenient); + public UpdateByQueryDescriptor Lenient(bool? lenient = true) => Qs("lenient", lenient); ///Ingest pipeline to set on index requests made by this action. (default: none) public UpdateByQueryDescriptor Pipeline(string pipeline) => Qs("pipeline", pipeline); ///Specify the node or shard the operation should be performed on (default: random) @@ -4900,11 +4900,11 @@ public UpdateByQueryDescriptor(Indices index) : base(r=>r.Required("index", inde ///Explicit timeout for each search request. Defaults to no timeout. public UpdateByQueryDescriptor SearchTimeout(Time search_timeout) => Qs("search_timeout", search_timeout); ///Number of hits to return (default: 10) - public UpdateByQueryDescriptor Size(long size) => Qs("size", size); + public UpdateByQueryDescriptor Size(long? size) => Qs("size", size); ///A comma-separated list of : pairs public UpdateByQueryDescriptor Sort(params string[] sort) => Qs("sort", sort); - ///True or false to return the _source field or not, or a list of fields to return - public UpdateByQueryDescriptor SourceEnabled(params string[] source_enabled) => Qs("_source", source_enabled); + ///Whether the _source should be included in the response. + public UpdateByQueryDescriptor SourceEnabled(bool? source_enabled = true) => Qs("_source", source_enabled); ///A list of fields to exclude from the returned _source field public UpdateByQueryDescriptor SourceExclude(Fields source_exclude) => Qs("_source_exclude", source_exclude); ///A list of fields to exclude from the returned _source field @@ -4914,35 +4914,35 @@ public UpdateByQueryDescriptor(Indices index) : base(r=>r.Required("index", inde ///A list of fields to extract and return from the _source field public UpdateByQueryDescriptor SourceInclude(params Expression>[] fields) => Qs("_source_include", fields?.Select(e=>(Field)e)); ///The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early. - public UpdateByQueryDescriptor TerminateAfter(long terminate_after) => Qs("terminate_after", terminate_after); + public UpdateByQueryDescriptor TerminateAfter(long? terminate_after) => Qs("terminate_after", terminate_after); ///Specific 'tag' of the request for logging and statistical purposes public UpdateByQueryDescriptor Stats(params string[] stats) => Qs("stats", stats); ///Specify whether to return document version as part of a hit - public UpdateByQueryDescriptor Version(bool version = true) => Qs("version", version); + public UpdateByQueryDescriptor Version(bool? version = true) => Qs("version", version); ///Should the document increment the version number (internal) on hit or not (reindex) - public UpdateByQueryDescriptor VersionType(bool version_type = true) => Qs("version_type", version_type); + public UpdateByQueryDescriptor VersionType(bool? version_type = true) => Qs("version_type", version_type); ///Specify if request cache should be used for this request or not, defaults to index level setting - public UpdateByQueryDescriptor RequestCache(bool request_cache = true) => Qs("request_cache", request_cache); + public UpdateByQueryDescriptor RequestCache(bool? request_cache = true) => Qs("request_cache", request_cache); ///Should the effected indexes be refreshed? - public UpdateByQueryDescriptor Refresh(bool refresh = true) => Qs("refresh", refresh); + public UpdateByQueryDescriptor Refresh(bool? refresh = true) => Qs("refresh", refresh); ///Time each individual bulk request should wait for shards that are unavailable. public UpdateByQueryDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Sets the number of shard copies that must be active before proceeding with the update by query operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1) public UpdateByQueryDescriptor WaitForActiveShards(string wait_for_active_shards) => Qs("wait_for_active_shards", wait_for_active_shards); ///Size on the scroll request powering the update_by_query - public UpdateByQueryDescriptor ScrollSize(long scroll_size) => Qs("scroll_size", scroll_size); + public UpdateByQueryDescriptor ScrollSize(long? scroll_size) => Qs("scroll_size", scroll_size); ///Should the request should block until the update by query operation is complete. - public UpdateByQueryDescriptor WaitForCompletion(bool wait_for_completion = true) => Qs("wait_for_completion", wait_for_completion); + public UpdateByQueryDescriptor WaitForCompletion(bool? wait_for_completion = true) => Qs("wait_for_completion", wait_for_completion); ///The throttle to set on this request in sub-requests per second. -1 means no throttle. - public UpdateByQueryDescriptor RequestsPerSecond(long requests_per_second) => Qs("requests_per_second", requests_per_second); + public UpdateByQueryDescriptor RequestsPerSecond(long? requests_per_second) => Qs("requests_per_second", requests_per_second); ///The number of slices this task should be divided into. Defaults to 1 meaning the task isn't sliced into subtasks. - public UpdateByQueryDescriptor Slices(long slices) => Qs("slices", slices); + public UpdateByQueryDescriptor Slices(long? slices) => Qs("slices", slices); ///Pretty format the returned JSON response. - public UpdateByQueryDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public UpdateByQueryDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public UpdateByQueryDescriptor Human(bool human = true) => Qs("human", human); + public UpdateByQueryDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public UpdateByQueryDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public UpdateByQueryDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public UpdateByQueryDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -4990,11 +4990,11 @@ public GraphExploreDescriptor(Indices index) : base(r=>r.Required("index", index ///Explicit operation timeout public GraphExploreDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Pretty format the returned JSON response. - public GraphExploreDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public GraphExploreDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public GraphExploreDescriptor Human(bool human = true) => Qs("human", human); + public GraphExploreDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public GraphExploreDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public GraphExploreDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public GraphExploreDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5018,11 +5018,11 @@ public DeprecationInfoDescriptor() : base() public DeprecationInfoDescriptor Index() where TOther : class => Assign(a=>a.RouteValues.Optional("index", (IndexName)typeof(TOther))); ///Pretty format the returned JSON response. - public DeprecationInfoDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public DeprecationInfoDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public DeprecationInfoDescriptor Human(bool human = true) => Qs("human", human); + public DeprecationInfoDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public DeprecationInfoDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public DeprecationInfoDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public DeprecationInfoDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5034,13 +5034,13 @@ public DeprecationInfoDescriptor() : base() public partial class XPackInfoDescriptor : RequestDescriptorBase, IXPackInfoRequest { ///Presents additional info for humans (feature descriptions and X-Pack tagline) - public XPackInfoDescriptor Human(bool human = true) => Qs("human", human); + public XPackInfoDescriptor Human(bool? human = true) => Qs("human", human); ///Comma-separated list of info categories. Can be any of: build, license, features public XPackInfoDescriptor Categories(params string[] categories) => Qs("categories", categories); ///Pretty format the returned JSON response. - public XPackInfoDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public XPackInfoDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Include the stack trace of returned errors. - public XPackInfoDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public XPackInfoDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public XPackInfoDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5054,11 +5054,11 @@ public partial class XPackUsageDescriptor : RequestDescriptorBaseSpecify timeout for watch write operation public XPackUsageDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Pretty format the returned JSON response. - public XPackUsageDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public XPackUsageDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public XPackUsageDescriptor Human(bool human = true) => Qs("human", human); + public XPackUsageDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public XPackUsageDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public XPackUsageDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public XPackUsageDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5076,13 +5076,13 @@ public partial class DeleteLicenseDescriptor : RequestDescriptorBase, IGetLicenseRequest { ///Return local information, do not retrieve the state from master node (default: false) - public GetLicenseDescriptor Local(bool local = true) => Qs("local", local); + public GetLicenseDescriptor Local(bool? local = true) => Qs("local", local); ///Pretty format the returned JSON response. - public GetLicenseDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public GetLicenseDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public GetLicenseDescriptor Human(bool human = true) => Qs("human", human); + public GetLicenseDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public GetLicenseDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public GetLicenseDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public GetLicenseDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5094,13 +5094,13 @@ public partial class GetLicenseDescriptor : RequestDescriptorBase, IPostLicenseRequest { ///whether the user has acknowledged acknowledge messages (default: false) - public PostLicenseDescriptor Acknowledge(bool acknowledge = true) => Qs("acknowledge", acknowledge); + public PostLicenseDescriptor Acknowledge(bool? acknowledge = true) => Qs("acknowledge", acknowledge); ///Pretty format the returned JSON response. - public PostLicenseDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public PostLicenseDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public PostLicenseDescriptor Human(bool human = true) => Qs("human", human); + public PostLicenseDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public PostLicenseDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public PostLicenseDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public PostLicenseDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5119,15 +5119,15 @@ public CloseJobDescriptor(Id job_id) : base(r=>r.Required("job_id", job_id)) ///True if the job should be forcefully closed - public CloseJobDescriptor Force(bool force = true) => Qs("force", force); + public CloseJobDescriptor Force(bool? force = true) => Qs("force", force); ///Controls the time to wait until a job has closed. Default to 30 minutes public CloseJobDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Pretty format the returned JSON response. - public CloseJobDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public CloseJobDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public CloseJobDescriptor Human(bool human = true) => Qs("human", human); + public CloseJobDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public CloseJobDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public CloseJobDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public CloseJobDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5146,13 +5146,13 @@ public DeleteDatafeedDescriptor(Id datafeed_id) : base(r=>r.Required("datafeed_i ///True if the datafeed should be forcefully deleted - public DeleteDatafeedDescriptor Force(bool force = true) => Qs("force", force); + public DeleteDatafeedDescriptor Force(bool? force = true) => Qs("force", force); ///Pretty format the returned JSON response. - public DeleteDatafeedDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public DeleteDatafeedDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public DeleteDatafeedDescriptor Human(bool human = true) => Qs("human", human); + public DeleteDatafeedDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public DeleteDatafeedDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public DeleteDatafeedDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public DeleteDatafeedDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5177,13 +5177,13 @@ public DeleteJobDescriptor(Id job_id) : base(r=>r.Required("job_id", job_id)) ///True if the job should be forcefully deleted - public DeleteJobDescriptor Force(bool force = true) => Qs("force", force); + public DeleteJobDescriptor Force(bool? force = true) => Qs("force", force); ///Pretty format the returned JSON response. - public DeleteJobDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public DeleteJobDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public DeleteJobDescriptor Human(bool human = true) => Qs("human", human); + public DeleteJobDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public DeleteJobDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public DeleteJobDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public DeleteJobDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5219,11 +5219,11 @@ public FlushJobDescriptor(Id job_id) : base(r=>r.Required("job_id", job_id)) ///Skips time to the given value without generating results or updating the model for the skipped interval public FlushJobDescriptor SkipTime(string skip_time) => Qs("skip_time", skip_time); ///Pretty format the returned JSON response. - public FlushJobDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public FlushJobDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public FlushJobDescriptor Human(bool human = true) => Qs("human", human); + public FlushJobDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public FlushJobDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public FlushJobDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public FlushJobDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5242,11 +5242,11 @@ public GetBucketsDescriptor(Id job_id) : base(r=>r.Required("job_id", job_id)) ///Pretty format the returned JSON response. - public GetBucketsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public GetBucketsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public GetBucketsDescriptor Human(bool human = true) => Qs("human", human); + public GetBucketsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public GetBucketsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public GetBucketsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public GetBucketsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5269,11 +5269,11 @@ public GetCategoriesDescriptor(Id job_id) : base(r=>r.Required("job_id", job_id) public GetCategoriesDescriptor CategoryId(CategoryId categoryId) => Assign(a=>a.RouteValues.Optional("category_id", categoryId)); ///Pretty format the returned JSON response. - public GetCategoriesDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public GetCategoriesDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public GetCategoriesDescriptor Human(bool human = true) => Qs("human", human); + public GetCategoriesDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public GetCategoriesDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public GetCategoriesDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public GetCategoriesDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5322,11 +5322,11 @@ public GetInfluencersDescriptor(Id job_id) : base(r=>r.Required("job_id", job_id ///Pretty format the returned JSON response. - public GetInfluencersDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public GetInfluencersDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public GetInfluencersDescriptor Human(bool human = true) => Qs("human", human); + public GetInfluencersDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public GetInfluencersDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public GetInfluencersDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public GetInfluencersDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5379,11 +5379,11 @@ public GetModelSnapshotsDescriptor(Id job_id) : base(r=>r.Required("job_id", job public GetModelSnapshotsDescriptor SnapshotId(Id snapshotId) => Assign(a=>a.RouteValues.Optional("snapshot_id", snapshotId)); ///Pretty format the returned JSON response. - public GetModelSnapshotsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public GetModelSnapshotsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public GetModelSnapshotsDescriptor Human(bool human = true) => Qs("human", human); + public GetModelSnapshotsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public GetModelSnapshotsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public GetModelSnapshotsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public GetModelSnapshotsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5402,11 +5402,11 @@ public GetAnomalyRecordsDescriptor(Id job_id) : base(r=>r.Required("job_id", job ///Pretty format the returned JSON response. - public GetAnomalyRecordsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public GetAnomalyRecordsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public GetAnomalyRecordsDescriptor Human(bool human = true) => Qs("human", human); + public GetAnomalyRecordsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public GetAnomalyRecordsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public GetAnomalyRecordsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public GetAnomalyRecordsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5442,11 +5442,11 @@ public PostJobDataDescriptor(Id job_id) : base(r=>r.Required("job_id", job_id)) ///Optional parameter to specify the end of the bucket resetting range public PostJobDataDescriptor ResetEnd(DateTimeOffset reset_end) => Qs("reset_end", reset_end); ///Pretty format the returned JSON response. - public PostJobDataDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public PostJobDataDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public PostJobDataDescriptor Human(bool human = true) => Qs("human", human); + public PostJobDataDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public PostJobDataDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public PostJobDataDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public PostJobDataDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5506,11 +5506,11 @@ public RevertModelSnapshotDescriptor(Id job_id, Id snapshot_id) : base(r=>r.Requ ///Pretty format the returned JSON response. - public RevertModelSnapshotDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public RevertModelSnapshotDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public RevertModelSnapshotDescriptor Human(bool human = true) => Qs("human", human); + public RevertModelSnapshotDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public RevertModelSnapshotDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public RevertModelSnapshotDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public RevertModelSnapshotDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5529,11 +5529,11 @@ public StartDatafeedDescriptor(Id datafeed_id) : base(r=>r.Required("datafeed_id ///Pretty format the returned JSON response. - public StartDatafeedDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public StartDatafeedDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public StartDatafeedDescriptor Human(bool human = true) => Qs("human", human); + public StartDatafeedDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public StartDatafeedDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public StartDatafeedDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public StartDatafeedDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5552,11 +5552,11 @@ public StopDatafeedDescriptor(Id datafeed_id) : base(r=>r.Required("datafeed_id" ///Pretty format the returned JSON response. - public StopDatafeedDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public StopDatafeedDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public StopDatafeedDescriptor Human(bool human = true) => Qs("human", human); + public StopDatafeedDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public StopDatafeedDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public StopDatafeedDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public StopDatafeedDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5603,11 +5603,11 @@ public UpdateModelSnapshotDescriptor(Id job_id, Id snapshot_id) : base(r=>r.Requ ///Pretty format the returned JSON response. - public UpdateModelSnapshotDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public UpdateModelSnapshotDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public UpdateModelSnapshotDescriptor Human(bool human = true) => Qs("human", human); + public UpdateModelSnapshotDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public UpdateModelSnapshotDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public UpdateModelSnapshotDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public UpdateModelSnapshotDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5619,11 +5619,11 @@ public UpdateModelSnapshotDescriptor(Id job_id, Id snapshot_id) : base(r=>r.Requ public partial class ValidateJobDescriptor : RequestDescriptorBase,ValidateJobRequestParameters, IValidateJobRequest>, IValidateJobRequest { ///Pretty format the returned JSON response. - public ValidateJobDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public ValidateJobDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public ValidateJobDescriptor Human(bool human = true) => Qs("human", human); + public ValidateJobDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public ValidateJobDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public ValidateJobDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public ValidateJobDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5635,11 +5635,11 @@ public partial class ValidateJobDescriptor : RequestDescriptorBase : RequestDescriptorBase,ValidateDetectorRequestParameters, IValidateDetectorRequest>, IValidateDetectorRequest { ///Pretty format the returned JSON response. - public ValidateDetectorDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public ValidateDetectorDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public ValidateDetectorDescriptor Human(bool human = true) => Qs("human", human); + public ValidateDetectorDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public ValidateDetectorDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public ValidateDetectorDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public ValidateDetectorDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5651,11 +5651,11 @@ public partial class ValidateDetectorDescriptor : RequestDescriptorBase, IAuthenticateRequest { ///Pretty format the returned JSON response. - public AuthenticateDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public AuthenticateDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public AuthenticateDescriptor Human(bool human = true) => Qs("human", human); + public AuthenticateDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public AuthenticateDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public AuthenticateDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public AuthenticateDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5678,11 +5678,11 @@ public ChangePasswordDescriptor() : base() ///If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. public ChangePasswordDescriptor Refresh(Refresh refresh) => Qs("refresh", refresh); ///Pretty format the returned JSON response. - public ChangePasswordDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public ChangePasswordDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public ChangePasswordDescriptor Human(bool human = true) => Qs("human", human); + public ChangePasswordDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public ChangePasswordDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public ChangePasswordDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public ChangePasswordDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5703,11 +5703,11 @@ public ClearCachedRealmsDescriptor(Names realms) : base(r=>r.Required("realms", ///Comma-separated list of usernames to clear from the cache public ClearCachedRealmsDescriptor Usernames(params string[] usernames) => Qs("usernames", usernames); ///Pretty format the returned JSON response. - public ClearCachedRealmsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public ClearCachedRealmsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public ClearCachedRealmsDescriptor Human(bool human = true) => Qs("human", human); + public ClearCachedRealmsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public ClearCachedRealmsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public ClearCachedRealmsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public ClearCachedRealmsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5726,11 +5726,11 @@ public ClearCachedRolesDescriptor(Names name) : base(r=>r.Required("name", name) ///Pretty format the returned JSON response. - public ClearCachedRolesDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public ClearCachedRolesDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public ClearCachedRolesDescriptor Human(bool human = true) => Qs("human", human); + public ClearCachedRolesDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public ClearCachedRolesDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public ClearCachedRolesDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public ClearCachedRolesDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5751,11 +5751,11 @@ public DeleteRoleDescriptor(Name name) : base(r=>r.Required("name", name)) ///If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. public DeleteRoleDescriptor Refresh(Refresh refresh) => Qs("refresh", refresh); ///Pretty format the returned JSON response. - public DeleteRoleDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public DeleteRoleDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public DeleteRoleDescriptor Human(bool human = true) => Qs("human", human); + public DeleteRoleDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public DeleteRoleDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public DeleteRoleDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public DeleteRoleDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5776,11 +5776,11 @@ public DeleteRoleMappingDescriptor(Name name) : base(r=>r.Required("name", name) ///If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. public DeleteRoleMappingDescriptor Refresh(Refresh refresh) => Qs("refresh", refresh); ///Pretty format the returned JSON response. - public DeleteRoleMappingDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public DeleteRoleMappingDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public DeleteRoleMappingDescriptor Human(bool human = true) => Qs("human", human); + public DeleteRoleMappingDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public DeleteRoleMappingDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public DeleteRoleMappingDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public DeleteRoleMappingDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5801,11 +5801,11 @@ public DeleteUserDescriptor(Name username) : base(r=>r.Required("username", user ///If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. public DeleteUserDescriptor Refresh(Refresh refresh) => Qs("refresh", refresh); ///Pretty format the returned JSON response. - public DeleteUserDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public DeleteUserDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public DeleteUserDescriptor Human(bool human = true) => Qs("human", human); + public DeleteUserDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public DeleteUserDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public DeleteUserDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public DeleteUserDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5828,11 +5828,11 @@ public DisableUserDescriptor() : base() ///If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. public DisableUserDescriptor Refresh(Refresh refresh) => Qs("refresh", refresh); ///Pretty format the returned JSON response. - public DisableUserDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public DisableUserDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public DisableUserDescriptor Human(bool human = true) => Qs("human", human); + public DisableUserDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public DisableUserDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public DisableUserDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public DisableUserDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5855,11 +5855,11 @@ public EnableUserDescriptor() : base() ///If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. public EnableUserDescriptor Refresh(Refresh refresh) => Qs("refresh", refresh); ///Pretty format the returned JSON response. - public EnableUserDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public EnableUserDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public EnableUserDescriptor Human(bool human = true) => Qs("human", human); + public EnableUserDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public EnableUserDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public EnableUserDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public EnableUserDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5880,11 +5880,11 @@ public GetRoleDescriptor() : base() public GetRoleDescriptor Name(Name name) => Assign(a=>a.RouteValues.Optional("name", name)); ///Pretty format the returned JSON response. - public GetRoleDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public GetRoleDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public GetRoleDescriptor Human(bool human = true) => Qs("human", human); + public GetRoleDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public GetRoleDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public GetRoleDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public GetRoleDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5905,11 +5905,11 @@ public GetRoleMappingDescriptor() : base() public GetRoleMappingDescriptor Name(Name name) => Assign(a=>a.RouteValues.Optional("name", name)); ///Pretty format the returned JSON response. - public GetRoleMappingDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public GetRoleMappingDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public GetRoleMappingDescriptor Human(bool human = true) => Qs("human", human); + public GetRoleMappingDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public GetRoleMappingDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public GetRoleMappingDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public GetRoleMappingDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5921,11 +5921,11 @@ public GetRoleMappingDescriptor() : base() public partial class GetUserAccessTokenDescriptor : RequestDescriptorBase, IGetUserAccessTokenRequest { ///Pretty format the returned JSON response. - public GetUserAccessTokenDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public GetUserAccessTokenDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public GetUserAccessTokenDescriptor Human(bool human = true) => Qs("human", human); + public GetUserAccessTokenDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public GetUserAccessTokenDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public GetUserAccessTokenDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public GetUserAccessTokenDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5946,11 +5946,11 @@ public GetUserDescriptor() : base() public GetUserDescriptor Username(Names username) => Assign(a=>a.RouteValues.Optional("username", username)); ///Pretty format the returned JSON response. - public GetUserDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public GetUserDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public GetUserDescriptor Human(bool human = true) => Qs("human", human); + public GetUserDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public GetUserDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public GetUserDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public GetUserDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5962,11 +5962,11 @@ public GetUserDescriptor() : base() public partial class InvalidateUserAccessTokenDescriptor : RequestDescriptorBase, IInvalidateUserAccessTokenRequest { ///Pretty format the returned JSON response. - public InvalidateUserAccessTokenDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public InvalidateUserAccessTokenDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public InvalidateUserAccessTokenDescriptor Human(bool human = true) => Qs("human", human); + public InvalidateUserAccessTokenDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public InvalidateUserAccessTokenDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public InvalidateUserAccessTokenDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public InvalidateUserAccessTokenDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -5987,11 +5987,11 @@ public PutRoleDescriptor(Name name) : base(r=>r.Required("name", name)) ///If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. public PutRoleDescriptor Refresh(Refresh refresh) => Qs("refresh", refresh); ///Pretty format the returned JSON response. - public PutRoleDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public PutRoleDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public PutRoleDescriptor Human(bool human = true) => Qs("human", human); + public PutRoleDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public PutRoleDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public PutRoleDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public PutRoleDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -6012,11 +6012,11 @@ public PutRoleMappingDescriptor(Name name) : base(r=>r.Required("name", name)) ///If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. public PutRoleMappingDescriptor Refresh(Refresh refresh) => Qs("refresh", refresh); ///Pretty format the returned JSON response. - public PutRoleMappingDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public PutRoleMappingDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public PutRoleMappingDescriptor Human(bool human = true) => Qs("human", human); + public PutRoleMappingDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public PutRoleMappingDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public PutRoleMappingDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public PutRoleMappingDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -6037,11 +6037,11 @@ public PutUserDescriptor(Name username) : base(r=>r.Required("username", usernam ///If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. public PutUserDescriptor Refresh(Refresh refresh) => Qs("refresh", refresh); ///Pretty format the returned JSON response. - public PutUserDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public PutUserDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public PutUserDescriptor Human(bool human = true) => Qs("human", human); + public PutUserDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public PutUserDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public PutUserDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public PutUserDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -6066,11 +6066,11 @@ public AcknowledgeWatchDescriptor(Id watch_id) : base(r=>r.Required("watch_id", ///Explicit operation timeout for connection to master node public AcknowledgeWatchDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Pretty format the returned JSON response. - public AcknowledgeWatchDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public AcknowledgeWatchDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public AcknowledgeWatchDescriptor Human(bool human = true) => Qs("human", human); + public AcknowledgeWatchDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public AcknowledgeWatchDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public AcknowledgeWatchDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public AcknowledgeWatchDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -6091,11 +6091,11 @@ public ActivateWatchDescriptor(Id watch_id) : base(r=>r.Required("watch_id", wat ///Explicit operation timeout for connection to master node public ActivateWatchDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Pretty format the returned JSON response. - public ActivateWatchDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public ActivateWatchDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public ActivateWatchDescriptor Human(bool human = true) => Qs("human", human); + public ActivateWatchDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public ActivateWatchDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public ActivateWatchDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public ActivateWatchDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -6116,11 +6116,11 @@ public DeactivateWatchDescriptor(Id watch_id) : base(r=>r.Required("watch_id", w ///Explicit operation timeout for connection to master node public DeactivateWatchDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Pretty format the returned JSON response. - public DeactivateWatchDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public DeactivateWatchDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public DeactivateWatchDescriptor Human(bool human = true) => Qs("human", human); + public DeactivateWatchDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public DeactivateWatchDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public DeactivateWatchDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public DeactivateWatchDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -6141,11 +6141,11 @@ public DeleteWatchDescriptor(Id id) : base(r=>r.Required("id", id)) ///Explicit operation timeout for connection to master node public DeleteWatchDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Pretty format the returned JSON response. - public DeleteWatchDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public DeleteWatchDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public DeleteWatchDescriptor Human(bool human = true) => Qs("human", human); + public DeleteWatchDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public DeleteWatchDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public DeleteWatchDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public DeleteWatchDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -6166,13 +6166,13 @@ public ExecuteWatchDescriptor() : base() public ExecuteWatchDescriptor Id(Id id) => Assign(a=>a.RouteValues.Optional("id", id)); ///indicates whether the watch should execute in debug mode - public ExecuteWatchDescriptor Debug(bool debug = true) => Qs("debug", debug); + public ExecuteWatchDescriptor Debug(bool? debug = true) => Qs("debug", debug); ///Pretty format the returned JSON response. - public ExecuteWatchDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public ExecuteWatchDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public ExecuteWatchDescriptor Human(bool human = true) => Qs("human", human); + public ExecuteWatchDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public ExecuteWatchDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public ExecuteWatchDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public ExecuteWatchDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -6191,11 +6191,11 @@ public GetWatchDescriptor(Id id) : base(r=>r.Required("id", id)) ///Pretty format the returned JSON response. - public GetWatchDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public GetWatchDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public GetWatchDescriptor Human(bool human = true) => Qs("human", human); + public GetWatchDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public GetWatchDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public GetWatchDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public GetWatchDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -6216,13 +6216,13 @@ public PutWatchDescriptor(Id id) : base(r=>r.Required("id", id)) ///Explicit operation timeout for connection to master node public PutWatchDescriptor MasterTimeout(Time master_timeout) => Qs("master_timeout", master_timeout); ///Specify whether the watch is in/active by default - public PutWatchDescriptor Active(bool active = true) => Qs("active", active); + public PutWatchDescriptor Active(bool? active = true) => Qs("active", active); ///Pretty format the returned JSON response. - public PutWatchDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public PutWatchDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public PutWatchDescriptor Human(bool human = true) => Qs("human", human); + public PutWatchDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public PutWatchDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public PutWatchDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public PutWatchDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -6234,11 +6234,11 @@ public PutWatchDescriptor(Id id) : base(r=>r.Required("id", id)) public partial class RestartWatcherDescriptor : RequestDescriptorBase, IRestartWatcherRequest { ///Pretty format the returned JSON response. - public RestartWatcherDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public RestartWatcherDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public RestartWatcherDescriptor Human(bool human = true) => Qs("human", human); + public RestartWatcherDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public RestartWatcherDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public RestartWatcherDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public RestartWatcherDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -6250,11 +6250,11 @@ public partial class RestartWatcherDescriptor : RequestDescriptorBase, IStartWatcherRequest { ///Pretty format the returned JSON response. - public StartWatcherDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public StartWatcherDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public StartWatcherDescriptor Human(bool human = true) => Qs("human", human); + public StartWatcherDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public StartWatcherDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public StartWatcherDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public StartWatcherDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -6275,13 +6275,13 @@ public WatcherStatsDescriptor() : base() public WatcherStatsDescriptor WatcherStatsMetric(WatcherStatsMetric watcherStatsMetric) => Assign(a=>a.RouteValues.Optional("watcher_stats_metric", (Metrics)watcherStatsMetric)); ///Emits stack traces of currently running watches - public WatcherStatsDescriptor EmitStacktraces(bool emit_stacktraces = true) => Qs("emit_stacktraces", emit_stacktraces); + public WatcherStatsDescriptor EmitStacktraces(bool? emit_stacktraces = true) => Qs("emit_stacktraces", emit_stacktraces); ///Pretty format the returned JSON response. - public WatcherStatsDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public WatcherStatsDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public WatcherStatsDescriptor Human(bool human = true) => Qs("human", human); + public WatcherStatsDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public WatcherStatsDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public WatcherStatsDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public WatcherStatsDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. @@ -6293,11 +6293,11 @@ public WatcherStatsDescriptor() : base() public partial class StopWatcherDescriptor : RequestDescriptorBase, IStopWatcherRequest { ///Pretty format the returned JSON response. - public StopWatcherDescriptor Pretty(bool pretty = true) => Qs("pretty", pretty); + public StopWatcherDescriptor Pretty(bool? pretty = true) => Qs("pretty", pretty); ///Return human readable values for statistics. - public StopWatcherDescriptor Human(bool human = true) => Qs("human", human); + public StopWatcherDescriptor Human(bool? human = true) => Qs("human", human); ///Include the stack trace of returned errors. - public StopWatcherDescriptor ErrorTrace(bool error_trace = true) => Qs("error_trace", error_trace); + public StopWatcherDescriptor ErrorTrace(bool? error_trace = true) => Qs("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public StopWatcherDescriptor SourceQueryString(string source) => Qs("source", source); ///A comma-separated list of filters used to reduce the respone. diff --git a/src/Nest/_Generated/_Requests.generated.cs b/src/Nest/_Generated/_Requests.generated.cs index 7361deb0329..32cd2ee1694 100644 --- a/src/Nest/_Generated/_Requests.generated.cs +++ b/src/Nest/_Generated/_Requests.generated.cs @@ -44,13 +44,13 @@ public AcknowledgeWatchRequest(Id watch_id, ActionIds action_id) : base(r=>r.Req public Time MasterTimeout { get { return Q public Routing Routing { get { return Q("routing"); } set { Q("routing", value); } } - ///True or false to return the _source field or not, or a list of fields to return - public string[] SourceEnabled { get { return Q("_source"); } set { Q("_source", value); } } + ///Whether the _source should be included in the response. + public bool? SourceEnabled { get { return Q("_source"); } set { Q("_source", value); } } ///A list of fields to exclude from the returned _source field public Fields SourceExclude { get { return Q("_source_exclude"); } set { Q("_source_exclude", value); } } @@ -3884,13 +3884,13 @@ public ExplainRequest(DocumentPath document, IndexName index = null, public Fields SourceInclude { get { return Q("_source_include"); } set { Q("_source_include", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string SourceQueryString { get { return Q("source"); } set { Q("source", value); } } @@ -3926,22 +3926,22 @@ public FieldCapabilitiesRequest(Indices index) : base(r=>r.Optional("index", ind public Fields Fields { get { return Q("fields"); } set { Q("fields", value); } } ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string SourceQueryString { get { return Q("source"); } set { Q("source", value); } } @@ -3972,13 +3972,13 @@ public FlushJobRequest(Id job_id) : base(r=>r.Required("job_id", job_id)) public string SkipTime { get { return Q("skip_time"); } set { Q("skip_time", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string SourceQueryString { get { return Q("source"); } set { Q("source", value); } } @@ -4011,28 +4011,28 @@ public FlushRequest(Indices index) : base(r=>r.Optional("index", index)) ///Whether a flush should be forced even if it is not necessarily needed ie. if no changes will be committed to the index. This is useful if transaction log IDs should be incremented even if no uncommitted changes are present. (This setting can be considered as internal) - public bool Force { get { return Q("force"); } set { Q("force", value); } } + public bool? Force { get { return Q("force"); } set { Q("force", value); } } ///If set to true the flush operation will block until the flush can be executed if another flush operation is already executing. The default is true. If set to false the flush will be skipped iff if another flush operation is already running. - public bool WaitIfOngoing { get { return Q("wait_if_ongoing"); } set { Q("wait_if_ongoing", value); } } + public bool? WaitIfOngoing { get { return Q("wait_if_ongoing"); } set { Q("wait_if_ongoing", value); } } ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string SourceQueryString { get { return Q("source"); } set { Q("source", value); } } @@ -4065,37 +4065,37 @@ public ForceMergeRequest(Indices index) : base(r=>r.Optional("index", index)) ///Specify whether the index should be flushed after performing the operation (default: true) - public bool Flush { get { return Q("flush"); } set { Q("flush", value); } } + public bool? Flush { get { return Q("flush"); } set { Q("flush", value); } } ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///The number of segments the index should be merged into (default: dynamic) - public long MaxNumSegments { get { return Q("max_num_segments"); } set { Q("max_num_segments", value); } } + public long? MaxNumSegments { get { return Q("max_num_segments"); } set { Q("max_num_segments", value); } } ///Specify whether the operation should only expunge deleted documents - public bool OnlyExpungeDeletes { get { return Q("only_expunge_deletes"); } set { Q("only_expunge_deletes", value); } } + public bool? OnlyExpungeDeletes { get { return Q("only_expunge_deletes"); } set { Q("only_expunge_deletes", value); } } ///TODO: ? public string OperationThreading { get { return Q("operation_threading"); } set { Q("operation_threading", value); } } ///Specify whether the request should block until the merge process is finished (default: true) - public bool WaitForMerge { get { return Q("wait_for_merge"); } set { Q("wait_for_merge", value); } } + public bool? WaitForMerge { get { return Q("wait_for_merge"); } set { Q("wait_for_merge", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string SourceQueryString { get { return Q("source"); } set { Q("source", value); } } @@ -4143,25 +4143,25 @@ public GetAliasRequest(Indices index) : base(r=>r.Optional("index", index)) ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string SourceQueryString { get { return Q("source"); } set { Q("source", value); } } @@ -4189,13 +4189,13 @@ public GetAnomalyRecordsRequest(Id job_id) : base(r=>r.Required("job_id", job_id ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string SourceQueryString { get { return Q("source"); } set { Q("source", value); } } @@ -4223,13 +4223,13 @@ public GetBucketsRequest(Id job_id) : base(r=>r.Required("job_id", job_id)) ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string SourceQueryString { get { return Q("source"); } set { Q("source", value); } } @@ -4266,13 +4266,13 @@ public GetCategoriesRequest(Id job_id) : base(r=>r.Required("job_id", job_id)) ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string SourceQueryString { get { return Q("source"); } set { Q("source", value); } } @@ -4374,28 +4374,28 @@ public GetFieldMappingRequest(Indices index, Types type, Fields fields) : base(r ///Whether the default mapping values should be returned as well - public bool IncludeDefaults { get { return Q("include_defaults"); } set { Q("include_defaults", value); } } + public bool? IncludeDefaults { get { return Q("include_defaults"); } set { Q("include_defaults", value); } } ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string SourceQueryString { get { return Q("source"); } set { Q("source", value); } } @@ -4423,31 +4423,31 @@ public GetIndexRequest(Indices index) : base(r=>r.Required("index", index)) ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Ignore unavailable indexes (default: false) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Ignore if a wildcard expression resolves to no concrete indices (default: false) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether wildcard expressions should get expanded to open or closed indices (default: open) public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Return settings in flat format (default: false) - public bool FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } + public bool? FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } ///Whether to return all default setting for each of the indices. - public bool IncludeDefaults { get { return Q("include_defaults"); } set { Q("include_defaults", value); } } + public bool? IncludeDefaults { get { return Q("include_defaults"); } set { Q("include_defaults", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string SourceQueryString { get { return Q("source"); } set { Q("source", value); } } @@ -4495,31 +4495,31 @@ public GetIndexSettingsRequest(Names name) : base(r=>r.Optional("name", name)) ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public bool IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } + public bool? IgnoreUnavailable { get { return Q("ignore_unavailable"); } set { Q("ignore_unavailable", value); } } ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) - public bool AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } + public bool? AllowNoIndices { get { return Q("allow_no_indices"); } set { Q("allow_no_indices", value); } } ///Whether to expand wildcard expression to concrete indices that are open, closed or both. public ExpandWildcards ExpandWildcards { get { return Q("expand_wildcards"); } set { Q("expand_wildcards", value); } } ///Return settings in flat format (default: false) - public bool FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } + public bool? FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } ///Return local information, do not retrieve the state from master node (default: false) - public bool Local { get { return Q("local"); } set { Q("local", value); } } + public bool? Local { get { return Q("local"); } set { Q("local", value); } } ///Whether to return all default setting for each of the indices. - public bool IncludeDefaults { get { return Q("include_defaults"); } set { Q("include_defaults", value); } } + public bool? IncludeDefaults { get { return Q("include_defaults"); } set { Q("include_defaults", value); } } ///Pretty format the returned JSON response. - public bool Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } + public bool? Pretty { get { return Q("pretty"); } set { Q("pretty", value); } } ///Return human readable values for statistics. - public bool Human { get { return Q("human"); } set { Q("human", value); } } + public bool? Human { get { return Q("human"); } set { Q("human", value); } } ///Include the stack trace of returned errors. - public bool ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } + public bool? ErrorTrace { get { return Q("error_trace"); } set { Q("error_trace", value); } } ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. public string SourceQueryString { get { return Q("source"); } set { Q("source", value); } } @@ -4552,22 +4552,22 @@ public GetIndexTemplateRequest(Names name) : base(r=>r.Optional("name", name)) ///Return settings in flat format (default: false) - public bool FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } + public bool? FlatSettings { get { return Q("flat_settings"); } set { Q("flat_settings", value); } } ///Explicit operation timeout for connection to master node public Time MasterTimeout { get { return Q