From de65f80f77a571195fd0fa7ad40acff5784c7973 Mon Sep 17 00:00:00 2001 From: Mpdreamz Date: Wed, 6 Sep 2017 11:30:46 +0100 Subject: [PATCH 01/58] update rest spec with specification from the elasticsearch and xpack repositories v6.0.0-beta2 tag --- .../RestSpecification/Core/delete_script.json | 12 +++++- .../RestSpecification/Core/exists_source.json | 2 +- .../RestSpecification/Core/field_caps.json | 2 +- .../RestSpecification/Core/get_script.json | 4 +- .../Core/indices.delete.json | 14 +++++++ .../RestSpecification/Core/indices.get.json | 7 +--- .../Core/ingest.processor.grok.json | 15 ++++++++ .../RestSpecification/Core/msearch.json | 5 +++ .../RestSpecification/Core/nodes.usage.json | 38 +++++++++++++++++++ .../RestSpecification/Core/put_script.json | 18 +++++++-- .../RestSpecification/Core/remote.info.json | 2 +- .../RestSpecification/Core/search.json | 18 +++++++-- .../XPack/Graph/xpack.graph.explore.json | 6 +-- .../XPack/Info/xpack.deprecation.info.json | 19 ++++++++++ .../XPack/License/xpack.license.delete.json | 2 +- .../XPack/License/xpack.license.get.json | 2 +- .../XPack/License/xpack.license.post.json | 2 +- .../MachineLearning/xpack.ml.flush_job.json | 6 ++- .../xpack.migration.get_assistance.json | 35 +++++++++++++++++ .../Migration/xpack.migration.upgrade.json | 26 +++++++++++++ .../Monitoring/xpack.monitoring.bulk.json | 35 +++++++++++++++++ .../Security/xpack.security.authenticate.json | 2 +- .../xpack.security.change_password.json | 2 +- .../xpack.security.clear_cached_realms.json | 2 +- .../xpack.security.clear_cached_roles.json | 2 +- .../Security/xpack.security.delete_role.json | 2 +- .../xpack.security.delete_role_mapping.json | 2 +- .../Security/xpack.security.delete_user.json | 2 +- .../Security/xpack.security.disable_user.json | 2 +- .../Security/xpack.security.enable_user.json | 2 +- .../Security/xpack.security.get_role.json | 2 +- .../xpack.security.get_role_mapping.json | 2 +- .../Security/xpack.security.get_token.json | 2 +- .../Security/xpack.security.get_user.json | 2 +- .../xpack.security.invalidate_token.json | 2 +- .../Security/xpack.security.put_role.json | 2 +- .../xpack.security.put_role_mapping.json | 2 +- .../Security/xpack.security.put_user.json | 2 +- 38 files changed, 260 insertions(+), 44 deletions(-) create mode 100644 src/CodeGeneration/ApiGenerator/RestSpecification/Core/ingest.processor.grok.json create mode 100644 src/CodeGeneration/ApiGenerator/RestSpecification/Core/nodes.usage.json create mode 100644 src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Info/xpack.deprecation.info.json create mode 100644 src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Migration/xpack.migration.get_assistance.json create mode 100644 src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Migration/xpack.migration.upgrade.json create mode 100644 src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Monitoring/xpack.monitoring.bulk.json diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/delete_script.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/delete_script.json index 7be743e8e78..c61aecd6bb2 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/delete_script.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/delete_script.json @@ -3,8 +3,8 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html", "methods": ["DELETE"], "url": { - "path": "/_scripts/{lang}", - "paths": [ "/_scripts/{lang}", "/_scripts/{lang}/{id}" ], + "path": "/_scripts/{id}", + "paths": [ "/_scripts/{id}" ], "parts": { "id": { "type" : "string", @@ -18,6 +18,14 @@ } }, "params" : { + "timeout": { + "type" : "time", + "description" : "Explicit operation timeout" + }, + "master_timeout": { + "type" : "time", + "description" : "Specify timeout for connection to master" + } } }, "body": null diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/exists_source.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/exists_source.json index f14ec46891d..3e561a21146 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/exists_source.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/exists_source.json @@ -1,6 +1,6 @@ { "exists_source": { - "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/5.5/docs-get.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html", "methods": ["HEAD"], "url": { "path": "/{index}/{type}/{id}/_source", diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/field_caps.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/field_caps.json index 357d1571b33..d993dc0545b 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/field_caps.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/field_caps.json @@ -1,6 +1,6 @@ { "field_caps": { - "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/5.5/search-field-caps.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html", "methods": ["GET", "POST"], "url": { "path": "/_field_caps", diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/get_script.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/get_script.json index c253c6e1fdb..1bdc546ad03 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/get_script.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/get_script.json @@ -3,8 +3,8 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html", "methods": ["GET"], "url": { - "path": "/_scripts/{lang}", - "paths": [ "/_scripts/{lang}", "/_scripts/{lang}/{id}" ], + "path": "/_scripts/{id}", + "paths": [ "/_scripts/{id}" ], "parts": { "id": { "type" : "string", diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.delete.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.delete.json index 829e7a2ded1..c391242e9de 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.delete.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.delete.json @@ -20,6 +20,20 @@ "master_timeout": { "type" : "time", "description" : "Specify timeout for connection to master" + }, + "ignore_unavailable": { + "type": "boolean", + "description": "Ignore unavailable indexes (default: false)" + }, + "allow_no_indices": { + "type": "boolean", + "description": "Ignore if a wildcard expression resolves to no concrete indices (default: false)" + }, + "expand_wildcards": { + "type": "enum", + "options": [ "open", "closed", "none", "all" ], + "default": "open", + "description": "Whether wildcard expressions should get expanded to open or closed indices (default: open)" } } }, diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.get.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.get.json index e58af6d50b2..f615718c7d4 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.get.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.get.json @@ -4,17 +4,12 @@ "methods":[ "GET" ], "url":{ "path":"/{index}", - "paths":[ "/{index}", "/{index}/{feature}" ], + "paths":[ "/{index}" ], "parts":{ "index":{ "type":"list", "required" : true, "description":"A comma-separated list of index names" - }, - "feature":{ - "type":"list", - "description":"A comma-separated list of features", - "options": ["_settings", "_mappings", "_aliases"] } }, "params":{ diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/ingest.processor.grok.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/ingest.processor.grok.json new file mode 100644 index 00000000000..1bd0c3ceec4 --- /dev/null +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/ingest.processor.grok.json @@ -0,0 +1,15 @@ +{ + "ingest.processor.grok": { + "documentation": "https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html", + "methods": [ "GET" ], + "url": { + "path": "/_ingest/processor/grok", + "paths": ["/_ingest/processor/grok"], + "parts": { + }, + "params": { + } + }, + "body": null + } +} diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/msearch.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/msearch.json index 69d9145207c..090c429fd82 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/msearch.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/msearch.json @@ -28,6 +28,11 @@ "typed_keys": { "type" : "boolean", "description" : "Specify whether aggregation and suggester names should be prefixed by their respective types in the response" + }, + "pre_filter_shard_size" : { + "type" : "number", + "description" : "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.", + "default" : 128 } } }, diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/nodes.usage.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/nodes.usage.json new file mode 100644 index 00000000000..b066a010553 --- /dev/null +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/nodes.usage.json @@ -0,0 +1,38 @@ +{ + "nodes.usage": { + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html", + "methods": ["GET"], + "url": { + "path": "/_nodes/usage", + "paths": [ + "/_nodes/usage", + "/_nodes/{node_id}/usage", + "/_nodes/usage/{metric}", + "/_nodes/{node_id}/usage/{metric}" + ], + "parts": { + "metric" : { + "type" : "list", + "options" : ["_all", "rest_actions"], + "description" : "Limit the information returned to the specified metrics" + }, + "node_id": { + "type" : "list", + "description" : "A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes" + } + }, + "params": { + "human": { + "type": "boolean", + "description": "Whether to return time and byte values in human-readable format.", + "default": false + }, + "timeout": { + "type" : "time", + "description" : "Explicit operation timeout" + } + } + }, + "body": null + } +} \ No newline at end of file diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/put_script.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/put_script.json index 93fef4c030b..45b97f9f285 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/put_script.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/put_script.json @@ -3,8 +3,8 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html", "methods": ["PUT", "POST"], "url": { - "path": "/_scripts/{lang}", - "paths": [ "/_scripts/{lang}", "/_scripts/{lang}/{id}" ], + "path": "/_scripts/{id}", + "paths": [ "/_scripts/{id}", "/_scripts/{id}/{context}" ], "parts": { "id": { "type" : "string", @@ -18,6 +18,18 @@ } }, "params" : { + "timeout": { + "type" : "time", + "description" : "Explicit operation timeout" + }, + "master_timeout": { + "type" : "time", + "description" : "Specify timeout for connection to master" + }, + "context": { + "type" : "string", + "description" : "Context name to compile script against" + } } }, "body": { @@ -25,4 +37,4 @@ "required" : true } } -} \ No newline at end of file +} diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/remote.info.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/remote.info.json index f831fa9de6c..aca981fff00 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/remote.info.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/remote.info.json @@ -1,6 +1,6 @@ { "remote.info": { - "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/5.5/cluster-remote-info.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-remote-info.html", "methods": ["GET"], "url": { "path": "/_remote/info", diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/search.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/search.json index dc5fda57439..0f2beffa457 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/search.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/search.json @@ -46,10 +46,6 @@ "type" : "list", "description" : "A comma-separated list of fields to return as the docvalue representation of a field for each hit" }, - "fielddata_fields": { - "type" : "list", - "description" : "A comma-separated list of fields to return as the docvalue representation of a field for each hit" - }, "from": { "type" : "number", "description" : "Starting offset (default: 0)" @@ -147,6 +143,10 @@ "type" : "boolean", "description": "Whether to calculate and return scores even if they are not used for sorting" }, + "track_total_hits": { + "type" : "boolean", + "description": "Indicate if the number of documents that match the query should be tracked" + }, "typed_keys": { "type" : "boolean", "description" : "Specify whether aggregation and suggester names should be prefixed by their respective types in the response" @@ -163,6 +163,16 @@ "type" : "number", "description" : "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.", "default" : 512 + }, + "max_concurrent_shard_requests" : { + "type" : "number", + "description" : "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", + "default" : "The default grows with the number of nodes in the cluster but is at most 256." + }, + "pre_filter_shard_size" : { + "type" : "number", + "description" : "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.", + "default" : 128 } } }, diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Graph/xpack.graph.explore.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Graph/xpack.graph.explore.json index 4530b6027ab..2879ce182cb 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Graph/xpack.graph.explore.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Graph/xpack.graph.explore.json @@ -1,10 +1,10 @@ { "xpack.graph.explore": { - "documentation": "https://www.elastic.co/guide/en/graph/current/explore.html", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html", "methods": ["GET", "POST"], "url": { - "path": "/{index}/_xpack/_graph/_explore", - "paths": ["/{index}/_xpack/_graph/_explore", "/{index}/{type}/_xpack/_graph/_explore"], + "path": "/{index}/_xpack/graph/_explore", + "paths": ["/{index}/_xpack/graph/_explore", "/{index}/{type}/_xpack/graph/_explore"], "parts" : { "index": { "type" : "list", diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Info/xpack.deprecation.info.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Info/xpack.deprecation.info.json new file mode 100644 index 00000000000..cd4e3cac339 --- /dev/null +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Info/xpack.deprecation.info.json @@ -0,0 +1,19 @@ +{ + "xpack.deprecation.info": { + "documentation": "http://www.elastic.co/guide/en/migration/current/migration-api-deprecation.html", + "methods": [ "GET" ], + "url": { + "path": "/{index}/_xpack/migration/deprecations", + "paths": ["/_xpack/migration/deprecations", "/{index}/_xpack/migration/deprecations"], + "parts": { + "index": { + "type" : "string", + "description" : "Index pattern" + } + }, + "params": { + } + }, + "body": null + } +} diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/License/xpack.license.delete.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/License/xpack.license.delete.json index 7a9ad12eef3..6b5a449b04f 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/License/xpack.license.delete.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/License/xpack.license.delete.json @@ -1,6 +1,6 @@ { "xpack.license.delete": { - "documentation": "https://www.elastic.co/guide/en/shield/current/license-management.html", + "documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html", "methods": ["DELETE"], "url": { "path": "/_xpack/license", diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/License/xpack.license.get.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/License/xpack.license.get.json index 2849ad2e31b..f8498a3db97 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/License/xpack.license.get.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/License/xpack.license.get.json @@ -1,6 +1,6 @@ { "xpack.license.get": { - "documentation": "https://www.elastic.co/guide/en/shield/current/license-management.html", + "documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html", "methods": ["GET"], "url": { "path": "/_xpack/license", diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/License/xpack.license.post.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/License/xpack.license.post.json index 0b51d2c5ad7..0899a742a81 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/License/xpack.license.post.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/License/xpack.license.post.json @@ -1,6 +1,6 @@ { "xpack.license.post": { - "documentation": "https://www.elastic.co/guide/en/shield/current/license-management.html", + "documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html", "methods": ["PUT", "POST"], "url": { "path": "/_xpack/license", diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/MachineLearning/xpack.ml.flush_job.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/MachineLearning/xpack.ml.flush_job.json index de174183b75..22dba0ed6ce 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/MachineLearning/xpack.ml.flush_job.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/MachineLearning/xpack.ml.flush_job.json @@ -31,7 +31,11 @@ }, "advance_time": { "type": "string", - "description": "Setting this tells the Engine API that no data prior to advance_time is expected" + "description": "Advances time to the given value generating results and updating the model for the advanced interval" + }, + "skip_time": { + "type": "string", + "description": "Skips time to the given value without generating results or updating the model for the skipped interval" } } }, diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Migration/xpack.migration.get_assistance.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Migration/xpack.migration.get_assistance.json new file mode 100644 index 00000000000..46abf6741c1 --- /dev/null +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Migration/xpack.migration.get_assistance.json @@ -0,0 +1,35 @@ +{ + "xpack.migration.get_assistance": { + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-assistance.html", + "methods": [ "GET" ], + "url": { + "path": "/_xpack/migration/assistance", + "paths": [ + "/_xpack/migration/assistance", + "/_xpack/migration/assistance/{index}" + ], + "parts": { + "index": { + "type" : "list", + "description" : "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices" + } + }, + "params": { + "allow_no_indices": { + "type" : "boolean", + "description" : "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)" + }, + "expand_wildcards": { + "type" : "enum", + "options" : ["open","closed","none","all"], + "default" : "open", + "description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both." + }, + "ignore_unavailable": { + "type" : "boolean", + "description" : "Whether specified concrete indices should be ignored when unavailable (missing or closed)" + } + } + } + } +} diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Migration/xpack.migration.upgrade.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Migration/xpack.migration.upgrade.json new file mode 100644 index 00000000000..d6cdff03fa6 --- /dev/null +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Migration/xpack.migration.upgrade.json @@ -0,0 +1,26 @@ +{ + "xpack.migration.upgrade": { + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-upgrade.html", + "methods": [ "POST" ], + "url": { + "path": "/_xpack/migration/upgrade/{index}", + "paths": [ + "/_xpack/migration/upgrade/{index}" + ], + "parts": { + "index": { + "type" : "string", + "required" : true, + "description" : "The name of the index" + } + }, + "params": { + "wait_for_completion": { + "type" : "boolean", + "default": true, + "description" : "Should the request block until the upgrade operation is completed" + } + } + } + } +} diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Monitoring/xpack.monitoring.bulk.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Monitoring/xpack.monitoring.bulk.json new file mode 100644 index 00000000000..71f1b1fc13b --- /dev/null +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Monitoring/xpack.monitoring.bulk.json @@ -0,0 +1,35 @@ +{ + "xpack.monitoring.bulk": { + "documentation": "http://www.elastic.co/guide/en/monitoring/current/appendix-api-bulk.html", + "methods": ["POST", "PUT"], + "url": { + "path": "/_xpack/monitoring/_bulk", + "paths": ["/_xpack/monitoring/_bulk", "/_xpack/monitoring/{type}/_bulk"], + "parts": { + "type": { + "type" : "string", + "description" : "Default document type for items which don't provide one" + } + }, + "params": { + "system_id": { + "type": "string", + "description" : "Identifier of the monitored system" + }, + "system_api_version" : { + "type" : "string", + "description" : "API Version of the monitored system" + }, + "interval": { + "type" : "string", + "description" : "Collection interval (e.g., '10s' or '10000ms') of the payload" + } + } + }, + "body": { + "description" : "The operation definition and data (action-data pairs), separated by newlines", + "required" : true, + "serialize" : "bulk" + } + } +} diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.authenticate.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.authenticate.json index 3db7084b342..650f89e89a4 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.authenticate.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.authenticate.json @@ -1,6 +1,6 @@ { "xpack.security.authenticate": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-authenticate.html", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-authenticate.html", "methods": [ "GET" ], "url": { "path": "/_xpack/security/_authenticate", diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.change_password.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.change_password.json index b193284c1e3..7cb4277ee50 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.change_password.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.change_password.json @@ -1,6 +1,6 @@ { "xpack.security.change_password": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-change-password.html", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html", "methods": [ "PUT", "POST" ], "url": { "path": "/_xpack/security/user/{username}/_password", diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.clear_cached_realms.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.clear_cached_realms.json index 21c6305304c..059441d654e 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.clear_cached_realms.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.clear_cached_realms.json @@ -1,6 +1,6 @@ { "xpack.security.clear_cached_realms": { - "documentation": "https://www.elastic.co/guide/en/x-pack/current/security-api-clear-cache.html", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-cache.html", "methods": [ "POST" ], "url": { "path": "/_xpack/security/realm/{realms}/_clear_cache", diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.clear_cached_roles.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.clear_cached_roles.json index 65426cdc29b..c94333325b1 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.clear_cached_roles.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.clear_cached_roles.json @@ -1,6 +1,6 @@ { "xpack.security.clear_cached_roles": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-clear-role-cache", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-clear-role-cache", "methods": [ "POST" ], "url": { "path": "/_xpack/security/role/{name}/_clear_cache", diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.delete_role.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.delete_role.json index 365d3ba4a5c..4351b1bc847 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.delete_role.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.delete_role.json @@ -1,6 +1,6 @@ { "xpack.security.delete_role": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-delete-role", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-delete-role", "methods": [ "DELETE" ], "url": { "path": "/_xpack/security/role/{name}", diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.delete_role_mapping.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.delete_role_mapping.json index 6d6657bed46..26c72666e8f 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.delete_role_mapping.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.delete_role_mapping.json @@ -1,6 +1,6 @@ { "xpack.security.delete_role_mapping": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-delete-role-mapping", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-delete-role-mapping", "methods": [ "DELETE" ], "url": { "path": "/_xpack/security/role_mapping/{name}", diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.delete_user.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.delete_user.json index 4e6c1cc5370..d72c854a69d 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.delete_user.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.delete_user.json @@ -1,6 +1,6 @@ { "xpack.security.delete_user": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-delete-user", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-delete-user", "methods": [ "DELETE" ], "url": { "path": "/_xpack/security/user/{username}", diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.disable_user.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.disable_user.json index 75c1d26cd8a..3a72b314191 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.disable_user.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.disable_user.json @@ -1,6 +1,6 @@ { "xpack.security.disable_user": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-disable-user.html", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-disable-user", "methods": [ "PUT", "POST" ], "url": { "path": "/_xpack/security/user/{username}/_disable", diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.enable_user.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.enable_user.json index eaf40c09275..c68144957f0 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.enable_user.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.enable_user.json @@ -1,6 +1,6 @@ { "xpack.security.enable_user": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-enable-user.html", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-enable-user", "methods": [ "PUT", "POST" ], "url": { "path": "/_xpack/security/user/{username}/_enable", diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.get_role.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.get_role.json index 20292019dcb..3479c911ccd 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.get_role.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.get_role.json @@ -1,6 +1,6 @@ { "xpack.security.get_role": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-get-role", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-get-role", "methods": [ "GET" ], "url": { "path": "/_xpack/security/role/{name}", diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.get_role_mapping.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.get_role_mapping.json index e33183c96f3..0bdeb54cfb6 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.get_role_mapping.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.get_role_mapping.json @@ -1,6 +1,6 @@ { "xpack.security.get_role_mapping": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-get-role-mapping", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-get-role-mapping", "methods": [ "GET" ], "url": { "path": "/_xpack/security/role_mapping/{name}", diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.get_token.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.get_token.json index 07c060f56a8..8020d1ecd6d 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.get_token.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.get_token.json @@ -1,6 +1,6 @@ { "xpack.security.get_token": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-tokens.html#security-api-get-token", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-tokens.html#security-api-get-token", "methods": [ "POST" ], "url": { "path": "/_xpack/security/oauth2/token", diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.get_user.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.get_user.json index 8853275c19f..910fb7d0645 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.get_user.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.get_user.json @@ -1,6 +1,6 @@ { "xpack.security.get_user": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-get-user", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-get-user", "methods": [ "GET" ], "url": { "path": "/_xpack/security/user/{username}", diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.invalidate_token.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.invalidate_token.json index 88ad6edbb5b..be032c2ffd0 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.invalidate_token.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.invalidate_token.json @@ -1,6 +1,6 @@ { "xpack.security.invalidate_token": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-tokens.html#security-api-invalidate-token", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-tokens.html#security-api-invalidate-token", "methods": [ "DELETE" ], "url": { "path": "/_xpack/security/oauth2/token", diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.put_role.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.put_role.json index c2d51dc016a..4152975189e 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.put_role.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.put_role.json @@ -1,6 +1,6 @@ { "xpack.security.put_role": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-put-role", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-put-role", "methods": [ "PUT", "POST" ], "url": { "path": "/_xpack/security/role/{name}", diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.put_role_mapping.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.put_role_mapping.json index 919e174f28e..3f92cd130ba 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.put_role_mapping.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.put_role_mapping.json @@ -1,6 +1,6 @@ { "xpack.security.put_role_mapping": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-put-role-mapping", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-put-role-mapping", "methods": [ "PUT", "POST" ], "url": { "path": "/_xpack/security/role_mapping/{name}", diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.put_user.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.put_user.json index a589dd1e61d..de07498a409 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.put_user.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/Security/xpack.security.put_user.json @@ -1,6 +1,6 @@ { "xpack.security.put_user": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-put-user", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-put-user", "methods": [ "PUT", "POST" ], "url": { "path": "/_xpack/security/user/{username}", From f8bcf82d873991c1c336183ac6e4fa8a33126ec9 Mon Sep 17 00:00:00 2001 From: Russ Cam Date: Fri, 25 Aug 2017 21:04:50 +1000 Subject: [PATCH 02/58] Add x-pack-env.bat Erroroneously not included in Elasticsearch 6.0.0-beta1. Including allows tests to run against 6.0.0-beta1. See https://discuss.elastic.co/t/x-pack-env-bat-is-missing/98033 --- .../Nodes/NodeConfiguration.cs | 16 ++++++++++++++-- .../ManagedElasticsearch/Nodes/NodeFileSystem.cs | 1 + .../EnsureSecurityUsersInDefaultRealmAreAdded.cs | 5 +++++ 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/Tests/Framework/ManagedElasticsearch/Nodes/NodeConfiguration.cs b/src/Tests/Framework/ManagedElasticsearch/Nodes/NodeConfiguration.cs index 875269d9401..b70e0ad502a 100644 --- a/src/Tests/Framework/ManagedElasticsearch/Nodes/NodeConfiguration.cs +++ b/src/Tests/Framework/ManagedElasticsearch/Nodes/NodeConfiguration.cs @@ -68,9 +68,7 @@ public NodeConfiguration(ITestConfiguration configuration, ClusterBase cluster) $"{es}path.repo={this.FileSystem.RepositoryPath}", $"{es}path.data={this.FileSystem.DataPath}", $"{es}http.port={this.DesiredPort}", - $"{es}script.inline=true", $"{es}script.max_compilations_per_minute=10000", - $"{es}script.{indexedOrStored}=true", $"{es}node.{attr}testingcluster=true", $"{es}node.{attr}gateway=true", $"{es}{shieldOrSecurity}.enabled={b}", @@ -78,6 +76,20 @@ public NodeConfiguration(ITestConfiguration configuration, ClusterBase cluster) $"{es}{shieldOrSecurity}.authc.realms.pki1.enabled={sslEnabled}", $"{es}search.remote.connect=true" }; + + if (v < ElasticsearchVersion.GetOrAdd("5.5.0")) + { + this.DefaultNodeSettings.AddRange(new [] { + $"{es}script.inline=true", + $"{es}script.{indexedOrStored}=true", + }); + } + else + { + this.DefaultNodeSettings.AddRange(new [] { + $"script.allowed_types=inline,stored", + }); + } } public string[] CreateSettings(string[] additionalSettings) diff --git a/src/Tests/Framework/ManagedElasticsearch/Nodes/NodeFileSystem.cs b/src/Tests/Framework/ManagedElasticsearch/Nodes/NodeFileSystem.cs index 53906f3e9f1..17655b24444 100644 --- a/src/Tests/Framework/ManagedElasticsearch/Nodes/NodeFileSystem.cs +++ b/src/Tests/Framework/ManagedElasticsearch/Nodes/NodeFileSystem.cs @@ -31,6 +31,7 @@ public class NodeFileSystem //certificates public string CertGenBinary => Path.Combine(this.ElasticsearchHome, "bin", "x-pack", "certgen") + BinarySuffix; + public string XPackEnvBinary => Path.Combine(this.ElasticsearchHome, "bin", "x-pack", "x-pack-env") + BinarySuffix; public string CertificateFolderName => "node-certificates"; public string CertificateNodeName => "node01"; diff --git a/src/Tests/Framework/ManagedElasticsearch/Tasks/InstallationTasks/EnsureSecurityUsersInDefaultRealmAreAdded.cs b/src/Tests/Framework/ManagedElasticsearch/Tasks/InstallationTasks/EnsureSecurityUsersInDefaultRealmAreAdded.cs index a67e2274e4a..b973d1f3f8f 100644 --- a/src/Tests/Framework/ManagedElasticsearch/Tasks/InstallationTasks/EnsureSecurityUsersInDefaultRealmAreAdded.cs +++ b/src/Tests/Framework/ManagedElasticsearch/Tasks/InstallationTasks/EnsureSecurityUsersInDefaultRealmAreAdded.cs @@ -14,6 +14,11 @@ public override void Run(NodeConfiguration config, NodeFileSystem fileSystem) var folder = v.Major >= 5 ? "x-pack" : "shield"; var plugin = v.Major >= 5 ? "users" : "esusers"; + if (v.Major == 6 && !File.Exists(fileSystem.XPackEnvBinary)) + { + File.WriteAllText(fileSystem.XPackEnvBinary, "set ES_CLASSPATH=!ES_CLASSPATH!;!ES_HOME!/plugins/x-pack/*"); + } + var pluginBat = Path.Combine(fileSystem.ElasticsearchHome, "bin", folder, plugin) + BinarySuffix; foreach (var cred in ShieldInformation.AllUsers) this.ExecuteBinary(pluginBat, $"adding user {cred.Username}",$"useradd {cred.Username} -p {cred.Password} -r {cred.Role}"); From 8910eccf53f679a24b3eaea897b5b88e7cf0413d Mon Sep 17 00:00:00 2001 From: Mpdreamz Date: Wed, 6 Sep 2017 11:45:50 +0100 Subject: [PATCH 03/58] removed deleted API's --- .../Core/delete_template.json | 20 -------- .../RestSpecification/Core/field_stats.json | 49 ------------------- .../RestSpecification/Core/get_template.json | 20 -------- .../Core/indices.exists_template.json | 32 ------------ .../Core/indices.exists_template.patch.json | 11 ----- .../RestSpecification/Core/put_template.json | 23 --------- 6 files changed, 155 deletions(-) delete mode 100644 src/CodeGeneration/ApiGenerator/RestSpecification/Core/delete_template.json delete mode 100644 src/CodeGeneration/ApiGenerator/RestSpecification/Core/field_stats.json delete mode 100644 src/CodeGeneration/ApiGenerator/RestSpecification/Core/get_template.json delete mode 100644 src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.exists_template.json delete mode 100644 src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.exists_template.patch.json delete mode 100644 src/CodeGeneration/ApiGenerator/RestSpecification/Core/put_template.json diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/delete_template.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/delete_template.json deleted file mode 100644 index e1e40bd95b6..00000000000 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/delete_template.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "delete_template": { - "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html", - "methods": ["DELETE"], - "url": { - "path": "/_search/template/{id}", - "paths": [ "/_search/template/{id}" ], - "parts": { - "id": { - "type" : "string", - "description" : "Template ID", - "required" : true - } - }, - "params" : { - } - }, - "body": null - } -} diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/field_stats.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/field_stats.json deleted file mode 100644 index c7e95dd683e..00000000000 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/field_stats.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "field_stats": { - "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-stats.html", - "methods": ["GET", "POST"], - "url": { - "path": "/_field_stats", - "paths": [ - "/_field_stats", - "/{index}/_field_stats" - ], - "parts": { - "index": { - "type" : "list", - "description" : "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices" - } - }, - "params": { - "fields": { - "type" : "list", - "description" : "A comma-separated list of fields for to get field statistics for (min value, max value, and more)" - }, - "level": { - "type" : "enum", - "options" : ["indices", "cluster"], - "default" : "cluster", - "description" : "Defines if field stats should be returned on a per index level or on a cluster wide level" - }, - "ignore_unavailable": { - "type" : "boolean", - "description" : "Whether specified concrete indices should be ignored when unavailable (missing or closed)" - }, - "allow_no_indices": { - "type" : "boolean", - "description" : "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)" - }, - "expand_wildcards": { - "type" : "enum", - "options" : ["open","closed","none","all"], - "default" : "open", - "description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both." - } - } - }, - "body": { - "description": "Field json objects containing the name and optionally a range to filter out indices result, that have results outside the defined bounds", - "required": false - } - } -} diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/get_template.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/get_template.json deleted file mode 100644 index 487b81c5350..00000000000 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/get_template.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "get_template": { - "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html", - "methods": ["GET"], - "url": { - "path": "/_search/template/{id}", - "paths": [ "/_search/template/{id}" ], - "parts": { - "id": { - "type" : "string", - "description" : "Template ID", - "required" : true - } - }, - "params" : { - } - }, - "body": null - } -} \ No newline at end of file diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.exists_template.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.exists_template.json deleted file mode 100644 index 96c4c53cd9d..00000000000 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.exists_template.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "indices.exists_template": { - "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html", - "methods": ["HEAD"], - "url": { - "path": "/_template/{name}", - "paths": [ "/_template/{name}" ], - "parts": { - "name": { - "type": "list", - "required": false, - "description": "The comma separated names of the index templates" - } - }, - "params": { - "flat_settings": { - "type": "boolean", - "description": "Return settings in flat format (default: false)" - }, - "master_timeout": { - "type": "time", - "description": "Explicit operation timeout for connection to master node" - }, - "local": { - "type": "boolean", - "description": "Return local information, do not retrieve the state from master node (default: false)" - } - } - }, - "body": null - } -} diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.exists_template.patch.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.exists_template.patch.json deleted file mode 100644 index 8ee484be37d..00000000000 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.exists_template.patch.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "indices.exists_template": { - "url": { - "parts": { - "name": { - "required": true - } - } - } - } -} diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/put_template.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/put_template.json deleted file mode 100644 index 294ed32cfff..00000000000 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/put_template.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "put_template": { - "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html", - "methods": ["PUT", "POST"], - "url": { - "path": "/_search/template/{id}", - "paths": [ "/_search/template/{id}" ], - "parts": { - "id": { - "type" : "string", - "description" : "Template ID", - "required" : true - } - }, - "params" : { - } - }, - "body": { - "description" : "The document", - "required" : true - } - } -} From b2008fc3185f725adddcab81a148320efd1938ea Mon Sep 17 00:00:00 2001 From: Mpdreamz Date: Wed, 6 Sep 2017 13:50:33 +0100 Subject: [PATCH 04/58] Compilable base for 6.0 beta2 PR's This commit represents the base for the codegeneration for Elasticsearch 6.0.0-beta2 which deals with the changes in the spec and the removed API's. Compiles and unit tests are happy. Will send PR's against this branch to deal with all the actual request/response changes and adding support for new API's --- .../Core/indices.exists_template.json | 32 + .../Core/indices.exists_template.patch.json | 11 + .../Domain/Enums.Generated.cs | 761 +- .../RequestParameters.Generated.cs | 322 +- .../ElasticLowLevelClient.Generated.cs | 9502 ++++++++--------- .../IElasticLowLevelClient.Generated.cs | 9414 ++++++++-------- .../Infer/Features/Features.cs | 31 - .../Infer/Features/FeaturesJsonConverter.cs | 35 - .../Infer/Metrics/Metrics.cs | 2 + .../ElasticClient-DeleteScript.cs | 12 +- .../GetScript/ElasticClient-GetScript.cs | 12 +- .../PutScript/ElasticClient-PutScript.cs | 12 +- .../FieldStats/ElasticClient-FieldStats.cs | 47 - .../Search/FieldStats/FieldStatsRequest.cs | 33 - .../Search/FieldStats/FieldStatsResponse.cs | 68 - src/Nest/Search/FieldStats/IndexConstraint.cs | 81 - .../Search/FieldStats/IndexConstraints.cs | 29 - .../ElasticClient-MultiSearchTemplate.cs | 0 .../MultiSearchTemplateJsonConverter.cs | 0 .../MultiSearchTemplateRequest.cs | 0 .../DeleteSearchTemplateRequest.cs | 15 - .../DeleteSearchTemplateResponse.cs | 12 - .../ElasticClient-DeleteSearchTemplate.cs | 45 - .../ElasticClient-GetSearchTemplate.cs | 43 - .../GetSearchTemplateRequest.cs | 16 - .../GetSearchTemplateResponse.cs | 16 - .../ElasticClient-PutSearchTemplate.cs | 48 - .../PutSearchTemplateRequest.cs | 24 - .../PutSearchTemplateResponse.cs | 6 - src/Nest/_Generated/_Descriptors.generated.cs | 2369 ++-- .../_Generated/_LowLevelDispatch.generated.cs | 224 +- src/Nest/_Generated/_Requests.generated.cs | 6243 ++++++----- .../Inference/FeaturesInference.doc.cs | 39 - .../CodeStandards/NamingConventions.doc.cs | 8 +- .../GetIndex/GetIndexUrlTests.cs | 8 - .../DeleteScript/DeleteScriptApiTests.cs | 12 +- .../DeleteScript/DeleteScriptUrlTests.cs | 11 +- .../Scripting/GetScript/GetScriptApiTests.cs | 12 +- .../Scripting/GetScript/GetScriptUrlTests.cs | 11 +- .../Scripting/PutScript/PutScriptApiTests.cs | 10 +- .../Scripting/PutScript/PutScriptUrlTests.cs | 11 +- .../Modules/Scripting/ScriptingCrudTests.cs | 24 +- .../Search/FieldStats/FieldStatsApiTests.cs | 84 - .../Search/FieldStats/FieldStatsUrlTests.cs | 21 - .../DeleteSearchTemplateApiTests.cs | 31 - .../DeleteSearchTemplateUrlTests.cs | 21 - .../GetSearchTemplateApiTests.cs | 31 - .../GetSearchTemplateUrlTests.cs | 21 - .../PutSearchTemplateApiTests.cs | 44 - .../PutSearchTemplateUrlTests.cs | 21 - .../SearchTemplate/SearchTemplateCrudTests.cs | 78 - src/Tests/Tests.csproj | 4 +- .../Graph/Explore/GraphExploreApiTests.cs | 2 +- .../Graph/Explore/GraphExploreUrlTests.cs | 10 +- src/Tests/tests.default.yaml | 2 +- 55 files changed, 14298 insertions(+), 15683 deletions(-) create mode 100644 src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.exists_template.json create mode 100644 src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.exists_template.patch.json delete mode 100644 src/Nest/CommonAbstractions/Infer/Features/Features.cs delete mode 100644 src/Nest/CommonAbstractions/Infer/Features/FeaturesJsonConverter.cs delete mode 100644 src/Nest/Search/FieldStats/ElasticClient-FieldStats.cs delete mode 100644 src/Nest/Search/FieldStats/FieldStatsRequest.cs delete mode 100644 src/Nest/Search/FieldStats/FieldStatsResponse.cs delete mode 100644 src/Nest/Search/FieldStats/IndexConstraint.cs delete mode 100644 src/Nest/Search/FieldStats/IndexConstraints.cs rename src/Nest/Search/{MultiSearch => }/MultiSearchTemplate/ElasticClient-MultiSearchTemplate.cs (100%) rename src/Nest/Search/{MultiSearch => }/MultiSearchTemplate/MultiSearchTemplateJsonConverter.cs (100%) rename src/Nest/Search/{MultiSearch => }/MultiSearchTemplate/MultiSearchTemplateRequest.cs (100%) delete mode 100644 src/Nest/Search/SearchTemplate/DeleteSearchTemplate/DeleteSearchTemplateRequest.cs delete mode 100644 src/Nest/Search/SearchTemplate/DeleteSearchTemplate/DeleteSearchTemplateResponse.cs delete mode 100644 src/Nest/Search/SearchTemplate/DeleteSearchTemplate/ElasticClient-DeleteSearchTemplate.cs delete mode 100644 src/Nest/Search/SearchTemplate/GetSearchTemplate/ElasticClient-GetSearchTemplate.cs delete mode 100644 src/Nest/Search/SearchTemplate/GetSearchTemplate/GetSearchTemplateRequest.cs delete mode 100644 src/Nest/Search/SearchTemplate/GetSearchTemplate/GetSearchTemplateResponse.cs delete mode 100644 src/Nest/Search/SearchTemplate/PutSearchTemplate/ElasticClient-PutSearchTemplate.cs delete mode 100644 src/Nest/Search/SearchTemplate/PutSearchTemplate/PutSearchTemplateRequest.cs delete mode 100644 src/Nest/Search/SearchTemplate/PutSearchTemplate/PutSearchTemplateResponse.cs delete mode 100644 src/Tests/ClientConcepts/HighLevel/Inference/FeaturesInference.doc.cs delete mode 100644 src/Tests/Search/FieldStats/FieldStatsApiTests.cs delete mode 100644 src/Tests/Search/FieldStats/FieldStatsUrlTests.cs delete mode 100644 src/Tests/Search/SearchTemplate/DeleteSearchTemplate/DeleteSearchTemplateApiTests.cs delete mode 100644 src/Tests/Search/SearchTemplate/DeleteSearchTemplate/DeleteSearchTemplateUrlTests.cs delete mode 100644 src/Tests/Search/SearchTemplate/GetSearchTemplate/GetSearchTemplateApiTests.cs delete mode 100644 src/Tests/Search/SearchTemplate/GetSearchTemplate/GetSearchTemplateUrlTests.cs delete mode 100644 src/Tests/Search/SearchTemplate/PutSearchTemplate/PutSearchTemplateApiTests.cs delete mode 100644 src/Tests/Search/SearchTemplate/PutSearchTemplate/PutSearchTemplateUrlTests.cs delete mode 100644 src/Tests/Search/SearchTemplate/SearchTemplateCrudTests.cs diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.exists_template.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.exists_template.json new file mode 100644 index 00000000000..96c4c53cd9d --- /dev/null +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.exists_template.json @@ -0,0 +1,32 @@ +{ + "indices.exists_template": { + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html", + "methods": ["HEAD"], + "url": { + "path": "/_template/{name}", + "paths": [ "/_template/{name}" ], + "parts": { + "name": { + "type": "list", + "required": false, + "description": "The comma separated names of the index templates" + } + }, + "params": { + "flat_settings": { + "type": "boolean", + "description": "Return settings in flat format (default: false)" + }, + "master_timeout": { + "type": "time", + "description": "Explicit operation timeout for connection to master node" + }, + "local": { + "type": "boolean", + "description": "Return local information, do not retrieve the state from master node (default: false)" + } + } + }, + "body": null + } +} diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.exists_template.patch.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.exists_template.patch.json new file mode 100644 index 00000000000..8ee484be37d --- /dev/null +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.exists_template.patch.json @@ -0,0 +1,11 @@ +{ + "indices.exists_template": { + "url": { + "parts": { + "name": { + "required": true + } + } + } + } +} diff --git a/src/Elasticsearch.Net/Domain/Enums.Generated.cs b/src/Elasticsearch.Net/Domain/Enums.Generated.cs index 38fa6a26e11..6784ee6852f 100644 --- a/src/Elasticsearch.Net/Domain/Enums.Generated.cs +++ b/src/Elasticsearch.Net/Domain/Enums.Generated.cs @@ -12,583 +12,581 @@ namespace Elasticsearch.Net { - + public enum Refresh { - [EnumMember(Value = "true")] - True, - [EnumMember(Value = "false")] - False, - [EnumMember(Value = "wait_for")] + [EnumMember(Value = "true")] + True, + [EnumMember(Value = "false")] + False, + [EnumMember(Value = "wait_for")] WaitFor } - + public enum Bytes { - [EnumMember(Value = "b")] - B, - [EnumMember(Value = "k")] - K, - [EnumMember(Value = "kb")] - Kb, - [EnumMember(Value = "m")] - M, - [EnumMember(Value = "mb")] - Mb, - [EnumMember(Value = "g")] - G, - [EnumMember(Value = "gb")] - Gb, - [EnumMember(Value = "t")] - T, - [EnumMember(Value = "tb")] - Tb, - [EnumMember(Value = "p")] - P, - [EnumMember(Value = "pb")] + [EnumMember(Value = "b")] + B, + [EnumMember(Value = "k")] + K, + [EnumMember(Value = "kb")] + Kb, + [EnumMember(Value = "m")] + M, + [EnumMember(Value = "mb")] + Mb, + [EnumMember(Value = "g")] + G, + [EnumMember(Value = "gb")] + Gb, + [EnumMember(Value = "t")] + T, + [EnumMember(Value = "tb")] + Tb, + [EnumMember(Value = "p")] + P, + [EnumMember(Value = "pb")] Pb } - + public enum Health { - [EnumMember(Value = "green")] - Green, - [EnumMember(Value = "yellow")] - Yellow, - [EnumMember(Value = "red")] + [EnumMember(Value = "green")] + Green, + [EnumMember(Value = "yellow")] + Yellow, + [EnumMember(Value = "red")] Red } - + public enum Size { - [EnumMember(Value = "")] - Raw, - [EnumMember(Value = "k")] - K, - [EnumMember(Value = "m")] - M, - [EnumMember(Value = "g")] - G, - [EnumMember(Value = "t")] - T, - [EnumMember(Value = "p")] + [EnumMember(Value = "")] + Raw, + [EnumMember(Value = "k")] + K, + [EnumMember(Value = "m")] + M, + [EnumMember(Value = "g")] + G, + [EnumMember(Value = "t")] + T, + [EnumMember(Value = "p")] P } - + public enum Level { - [EnumMember(Value = "cluster")] - Cluster, - [EnumMember(Value = "indices")] - Indices, - [EnumMember(Value = "shards")] + [EnumMember(Value = "cluster")] + Cluster, + [EnumMember(Value = "indices")] + Indices, + [EnumMember(Value = "shards")] Shards } - + public enum WaitForEvents { - [EnumMember(Value = "immediate")] - Immediate, - [EnumMember(Value = "urgent")] - Urgent, - [EnumMember(Value = "high")] - High, - [EnumMember(Value = "normal")] - Normal, - [EnumMember(Value = "low")] - Low, - [EnumMember(Value = "languid")] + [EnumMember(Value = "immediate")] + Immediate, + [EnumMember(Value = "urgent")] + Urgent, + [EnumMember(Value = "high")] + High, + [EnumMember(Value = "normal")] + Normal, + [EnumMember(Value = "low")] + Low, + [EnumMember(Value = "languid")] Languid } - + public enum WaitForStatus { - [EnumMember(Value = "green")] - Green, - [EnumMember(Value = "yellow")] - Yellow, - [EnumMember(Value = "red")] + [EnumMember(Value = "green")] + Green, + [EnumMember(Value = "yellow")] + Yellow, + [EnumMember(Value = "red")] Red } - + public enum ExpandWildcards { - [EnumMember(Value = "open")] - Open, - [EnumMember(Value = "closed")] - Closed, - [EnumMember(Value = "none")] - None, - [EnumMember(Value = "all")] + [EnumMember(Value = "open")] + Open, + [EnumMember(Value = "closed")] + Closed, + [EnumMember(Value = "none")] + None, + [EnumMember(Value = "all")] All } - + public enum DefaultOperator { - [EnumMember(Value = "AND")] - And, - [EnumMember(Value = "OR")] + [EnumMember(Value = "AND")] + And, + [EnumMember(Value = "OR")] Or } - + public enum VersionType { - [EnumMember(Value = "internal")] - Internal, - [EnumMember(Value = "external")] - External, - [EnumMember(Value = "external_gte")] - ExternalGte, - [EnumMember(Value = "force")] + [EnumMember(Value = "internal")] + Internal, + [EnumMember(Value = "external")] + External, + [EnumMember(Value = "external_gte")] + ExternalGte, + [EnumMember(Value = "force")] Force } - + public enum Conflicts { - [EnumMember(Value = "abort")] - Abort, - [EnumMember(Value = "proceed")] + [EnumMember(Value = "abort")] + Abort, + [EnumMember(Value = "proceed")] Proceed } - + public enum SearchType { - [EnumMember(Value = "query_then_fetch")] - QueryThenFetch, - [EnumMember(Value = "dfs_query_then_fetch")] + [EnumMember(Value = "query_then_fetch")] + QueryThenFetch, + [EnumMember(Value = "dfs_query_then_fetch")] DfsQueryThenFetch } - + public enum OpType { - [EnumMember(Value = "index")] - Index, - [EnumMember(Value = "create")] + [EnumMember(Value = "index")] + Index, + [EnumMember(Value = "create")] Create } - + public enum Format { - [EnumMember(Value = "detailed")] - Detailed, - [EnumMember(Value = "text")] + [EnumMember(Value = "detailed")] + Detailed, + [EnumMember(Value = "text")] Text } - + public enum ThreadType { - [EnumMember(Value = "cpu")] - Cpu, - [EnumMember(Value = "wait")] - Wait, - [EnumMember(Value = "block")] + [EnumMember(Value = "cpu")] + Cpu, + [EnumMember(Value = "wait")] + Wait, + [EnumMember(Value = "block")] Block } - + public enum SuggestMode { - [EnumMember(Value = "missing")] - Missing, - [EnumMember(Value = "popular")] - Popular, - [EnumMember(Value = "always")] + [EnumMember(Value = "missing")] + Missing, + [EnumMember(Value = "popular")] + Popular, + [EnumMember(Value = "always")] Always } - + public enum GroupBy { - [EnumMember(Value = "nodes")] - Nodes, - [EnumMember(Value = "parents")] + [EnumMember(Value = "nodes")] + Nodes, + [EnumMember(Value = "parents")] Parents } - + [Flags]public enum ClusterStateMetric { - [EnumMember(Value = "blocks")] - Blocks = 1 << 0, - [EnumMember(Value = "metadata")] - Metadata = 1 << 1, - [EnumMember(Value = "nodes")] - Nodes = 1 << 2, - [EnumMember(Value = "routing_table")] - RoutingTable = 1 << 3, - [EnumMember(Value = "routing_nodes")] - RoutingNodes = 1 << 4, - [EnumMember(Value = "master_node")] - MasterNode = 1 << 5, - [EnumMember(Value = "version")] - Version = 1 << 6, - [EnumMember(Value = "_all")] + [EnumMember(Value = "blocks")] + Blocks = 1 << 0, + [EnumMember(Value = "metadata")] + Metadata = 1 << 1, + [EnumMember(Value = "nodes")] + Nodes = 1 << 2, + [EnumMember(Value = "routing_table")] + RoutingTable = 1 << 3, + [EnumMember(Value = "routing_nodes")] + RoutingNodes = 1 << 4, + [EnumMember(Value = "master_node")] + MasterNode = 1 << 5, + [EnumMember(Value = "version")] + Version = 1 << 6, + [EnumMember(Value = "_all")] All = 1 << 7 } - - [Flags]public enum Feature - { - [EnumMember(Value = "_settings")] - Settings = 1 << 0, - [EnumMember(Value = "_mappings")] - Mappings = 1 << 1, - [EnumMember(Value = "_aliases")] - Aliases = 1 << 2 - } - + [Flags]public enum IndicesStatsMetric { - [EnumMember(Value = "completion")] - Completion = 1 << 0, - [EnumMember(Value = "docs")] - Docs = 1 << 1, - [EnumMember(Value = "fielddata")] - Fielddata = 1 << 2, - [EnumMember(Value = "query_cache")] - QueryCache = 1 << 3, - [EnumMember(Value = "flush")] - Flush = 1 << 4, - [EnumMember(Value = "get")] - Get = 1 << 5, - [EnumMember(Value = "indexing")] - Indexing = 1 << 6, - [EnumMember(Value = "merge")] - Merge = 1 << 7, - [EnumMember(Value = "request_cache")] - RequestCache = 1 << 8, - [EnumMember(Value = "refresh")] - Refresh = 1 << 9, - [EnumMember(Value = "search")] - Search = 1 << 10, - [EnumMember(Value = "segments")] - Segments = 1 << 11, - [EnumMember(Value = "store")] - Store = 1 << 12, - [EnumMember(Value = "warmer")] - Warmer = 1 << 13, - [EnumMember(Value = "suggest")] - Suggest = 1 << 14, - [EnumMember(Value = "_all")] + [EnumMember(Value = "completion")] + Completion = 1 << 0, + [EnumMember(Value = "docs")] + Docs = 1 << 1, + [EnumMember(Value = "fielddata")] + Fielddata = 1 << 2, + [EnumMember(Value = "query_cache")] + QueryCache = 1 << 3, + [EnumMember(Value = "flush")] + Flush = 1 << 4, + [EnumMember(Value = "get")] + Get = 1 << 5, + [EnumMember(Value = "indexing")] + Indexing = 1 << 6, + [EnumMember(Value = "merge")] + Merge = 1 << 7, + [EnumMember(Value = "request_cache")] + RequestCache = 1 << 8, + [EnumMember(Value = "refresh")] + Refresh = 1 << 9, + [EnumMember(Value = "search")] + Search = 1 << 10, + [EnumMember(Value = "segments")] + Segments = 1 << 11, + [EnumMember(Value = "store")] + Store = 1 << 12, + [EnumMember(Value = "warmer")] + Warmer = 1 << 13, + [EnumMember(Value = "suggest")] + Suggest = 1 << 14, + [EnumMember(Value = "_all")] All = 1 << 15 } - + [Flags]public enum NodesInfoMetric { - [EnumMember(Value = "settings")] - Settings = 1 << 0, - [EnumMember(Value = "os")] - Os = 1 << 1, - [EnumMember(Value = "process")] - Process = 1 << 2, - [EnumMember(Value = "jvm")] - Jvm = 1 << 3, - [EnumMember(Value = "thread_pool")] - ThreadPool = 1 << 4, - [EnumMember(Value = "transport")] - Transport = 1 << 5, - [EnumMember(Value = "http")] - Http = 1 << 6, - [EnumMember(Value = "plugins")] - Plugins = 1 << 7, - [EnumMember(Value = "ingest")] + [EnumMember(Value = "settings")] + Settings = 1 << 0, + [EnumMember(Value = "os")] + Os = 1 << 1, + [EnumMember(Value = "process")] + Process = 1 << 2, + [EnumMember(Value = "jvm")] + Jvm = 1 << 3, + [EnumMember(Value = "thread_pool")] + ThreadPool = 1 << 4, + [EnumMember(Value = "transport")] + Transport = 1 << 5, + [EnumMember(Value = "http")] + Http = 1 << 6, + [EnumMember(Value = "plugins")] + Plugins = 1 << 7, + [EnumMember(Value = "ingest")] Ingest = 1 << 8 } - + [Flags]public enum NodesStatsMetric { - [EnumMember(Value = "breaker")] - Breaker = 1 << 0, - [EnumMember(Value = "fs")] - Fs = 1 << 1, - [EnumMember(Value = "http")] - Http = 1 << 2, - [EnumMember(Value = "indices")] - Indices = 1 << 3, - [EnumMember(Value = "jvm")] - Jvm = 1 << 4, - [EnumMember(Value = "os")] - Os = 1 << 5, - [EnumMember(Value = "process")] - Process = 1 << 6, - [EnumMember(Value = "thread_pool")] - ThreadPool = 1 << 7, - [EnumMember(Value = "transport")] - Transport = 1 << 8, - [EnumMember(Value = "discovery")] - Discovery = 1 << 9, - [EnumMember(Value = "_all")] + [EnumMember(Value = "breaker")] + Breaker = 1 << 0, + [EnumMember(Value = "fs")] + Fs = 1 << 1, + [EnumMember(Value = "http")] + Http = 1 << 2, + [EnumMember(Value = "indices")] + Indices = 1 << 3, + [EnumMember(Value = "jvm")] + Jvm = 1 << 4, + [EnumMember(Value = "os")] + Os = 1 << 5, + [EnumMember(Value = "process")] + Process = 1 << 6, + [EnumMember(Value = "thread_pool")] + ThreadPool = 1 << 7, + [EnumMember(Value = "transport")] + Transport = 1 << 8, + [EnumMember(Value = "discovery")] + Discovery = 1 << 9, + [EnumMember(Value = "_all")] All = 1 << 10 } - + [Flags]public enum NodesStatsIndexMetric { - [EnumMember(Value = "completion")] - Completion = 1 << 0, - [EnumMember(Value = "docs")] - Docs = 1 << 1, - [EnumMember(Value = "fielddata")] - Fielddata = 1 << 2, - [EnumMember(Value = "query_cache")] - QueryCache = 1 << 3, - [EnumMember(Value = "flush")] - Flush = 1 << 4, - [EnumMember(Value = "get")] - Get = 1 << 5, - [EnumMember(Value = "indexing")] - Indexing = 1 << 6, - [EnumMember(Value = "merge")] - Merge = 1 << 7, - [EnumMember(Value = "request_cache")] - RequestCache = 1 << 8, - [EnumMember(Value = "refresh")] - Refresh = 1 << 9, - [EnumMember(Value = "search")] - Search = 1 << 10, - [EnumMember(Value = "segments")] - Segments = 1 << 11, - [EnumMember(Value = "store")] - Store = 1 << 12, - [EnumMember(Value = "warmer")] - Warmer = 1 << 13, - [EnumMember(Value = "suggest")] - Suggest = 1 << 14, - [EnumMember(Value = "_all")] + [EnumMember(Value = "completion")] + Completion = 1 << 0, + [EnumMember(Value = "docs")] + Docs = 1 << 1, + [EnumMember(Value = "fielddata")] + Fielddata = 1 << 2, + [EnumMember(Value = "query_cache")] + QueryCache = 1 << 3, + [EnumMember(Value = "flush")] + Flush = 1 << 4, + [EnumMember(Value = "get")] + Get = 1 << 5, + [EnumMember(Value = "indexing")] + Indexing = 1 << 6, + [EnumMember(Value = "merge")] + Merge = 1 << 7, + [EnumMember(Value = "request_cache")] + RequestCache = 1 << 8, + [EnumMember(Value = "refresh")] + Refresh = 1 << 9, + [EnumMember(Value = "search")] + Search = 1 << 10, + [EnumMember(Value = "segments")] + Segments = 1 << 11, + [EnumMember(Value = "store")] + Store = 1 << 12, + [EnumMember(Value = "warmer")] + Warmer = 1 << 13, + [EnumMember(Value = "suggest")] + Suggest = 1 << 14, + [EnumMember(Value = "_all")] All = 1 << 15 } - + + [Flags]public enum NodesUsageMetric + { + [EnumMember(Value = "rest_actions")] + RestActions = 1 << 0, + [EnumMember(Value = "_all")] + All = 1 << 1 + } + [Flags]public enum WatcherStatsMetric { - [EnumMember(Value = "queued_watches")] - QueuedWatches = 1 << 0, - [EnumMember(Value = "pending_watches")] - PendingWatches = 1 << 1, - [EnumMember(Value = "_all")] + [EnumMember(Value = "queued_watches")] + QueuedWatches = 1 << 0, + [EnumMember(Value = "pending_watches")] + PendingWatches = 1 << 1, + [EnumMember(Value = "_all")] All = 1 << 2 } public static class KnownEnums - { + { private class EnumDictionary : Dictionary - { + { public EnumDictionary(int capacity) : base(capacity) {} public Func Resolver { get; set; } - } + } + - public static string GetStringValue(this Refresh enumValue) { - + switch (enumValue) { - case Refresh.True: return "true"; - case Refresh.False: return "false"; + case Refresh.True: return "true"; + case Refresh.False: return "false"; case Refresh.WaitFor: return "wait_for"; } - throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'Refresh'"); + throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'Refresh'"); } - + public static string GetStringValue(this Bytes enumValue) { - + switch (enumValue) { - case Bytes.B: return "b"; - case Bytes.K: return "k"; - case Bytes.Kb: return "kb"; - case Bytes.M: return "m"; - case Bytes.Mb: return "mb"; - case Bytes.G: return "g"; - case Bytes.Gb: return "gb"; - case Bytes.T: return "t"; - case Bytes.Tb: return "tb"; - case Bytes.P: return "p"; + case Bytes.B: return "b"; + case Bytes.K: return "k"; + case Bytes.Kb: return "kb"; + case Bytes.M: return "m"; + case Bytes.Mb: return "mb"; + case Bytes.G: return "g"; + case Bytes.Gb: return "gb"; + case Bytes.T: return "t"; + case Bytes.Tb: return "tb"; + case Bytes.P: return "p"; case Bytes.Pb: return "pb"; } - throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'Bytes'"); + throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'Bytes'"); } - + public static string GetStringValue(this Health enumValue) { - + switch (enumValue) { - case Health.Green: return "green"; - case Health.Yellow: return "yellow"; + case Health.Green: return "green"; + case Health.Yellow: return "yellow"; case Health.Red: return "red"; } - throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'Health'"); + throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'Health'"); } - + public static string GetStringValue(this Size enumValue) { - + switch (enumValue) { - case Size.Raw: return ""; - case Size.K: return "k"; - case Size.M: return "m"; - case Size.G: return "g"; - case Size.T: return "t"; + case Size.Raw: return ""; + case Size.K: return "k"; + case Size.M: return "m"; + case Size.G: return "g"; + case Size.T: return "t"; case Size.P: return "p"; } - throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'Size'"); + throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'Size'"); } - + public static string GetStringValue(this Level enumValue) { - + switch (enumValue) { - case Level.Cluster: return "cluster"; - case Level.Indices: return "indices"; + case Level.Cluster: return "cluster"; + case Level.Indices: return "indices"; case Level.Shards: return "shards"; } - throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'Level'"); + throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'Level'"); } - + public static string GetStringValue(this WaitForEvents enumValue) { - + switch (enumValue) { - case WaitForEvents.Immediate: return "immediate"; - case WaitForEvents.Urgent: return "urgent"; - case WaitForEvents.High: return "high"; - case WaitForEvents.Normal: return "normal"; - case WaitForEvents.Low: return "low"; + case WaitForEvents.Immediate: return "immediate"; + case WaitForEvents.Urgent: return "urgent"; + case WaitForEvents.High: return "high"; + case WaitForEvents.Normal: return "normal"; + case WaitForEvents.Low: return "low"; case WaitForEvents.Languid: return "languid"; } - throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'WaitForEvents'"); + throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'WaitForEvents'"); } - + public static string GetStringValue(this WaitForStatus enumValue) { - + switch (enumValue) { - case WaitForStatus.Green: return "green"; - case WaitForStatus.Yellow: return "yellow"; + case WaitForStatus.Green: return "green"; + case WaitForStatus.Yellow: return "yellow"; case WaitForStatus.Red: return "red"; } - throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'WaitForStatus'"); + throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'WaitForStatus'"); } - + public static string GetStringValue(this ExpandWildcards enumValue) { - + switch (enumValue) { - case ExpandWildcards.Open: return "open"; - case ExpandWildcards.Closed: return "closed"; - case ExpandWildcards.None: return "none"; + case ExpandWildcards.Open: return "open"; + case ExpandWildcards.Closed: return "closed"; + case ExpandWildcards.None: return "none"; case ExpandWildcards.All: return "all"; } - throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'ExpandWildcards'"); + throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'ExpandWildcards'"); } - + public static string GetStringValue(this DefaultOperator enumValue) { - + switch (enumValue) { - case DefaultOperator.And: return "AND"; + case DefaultOperator.And: return "AND"; case DefaultOperator.Or: return "OR"; } - throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'DefaultOperator'"); + throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'DefaultOperator'"); } - + public static string GetStringValue(this VersionType enumValue) { - + switch (enumValue) { - case VersionType.Internal: return "internal"; - case VersionType.External: return "external"; - case VersionType.ExternalGte: return "external_gte"; + case VersionType.Internal: return "internal"; + case VersionType.External: return "external"; + case VersionType.ExternalGte: return "external_gte"; case VersionType.Force: return "force"; } - throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'VersionType'"); + throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'VersionType'"); } - + public static string GetStringValue(this Conflicts enumValue) { - + switch (enumValue) { - case Conflicts.Abort: return "abort"; + case Conflicts.Abort: return "abort"; case Conflicts.Proceed: return "proceed"; } - throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'Conflicts'"); + throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'Conflicts'"); } - + public static string GetStringValue(this SearchType enumValue) { - + switch (enumValue) { - case SearchType.QueryThenFetch: return "query_then_fetch"; + case SearchType.QueryThenFetch: return "query_then_fetch"; case SearchType.DfsQueryThenFetch: return "dfs_query_then_fetch"; } - throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'SearchType'"); + throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'SearchType'"); } - + public static string GetStringValue(this OpType enumValue) { - + switch (enumValue) { - case OpType.Index: return "index"; + case OpType.Index: return "index"; case OpType.Create: return "create"; } - throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'OpType'"); + throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'OpType'"); } - + public static string GetStringValue(this Format enumValue) { - + switch (enumValue) { - case Format.Detailed: return "detailed"; + case Format.Detailed: return "detailed"; case Format.Text: return "text"; } - throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'Format'"); + throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'Format'"); } - + public static string GetStringValue(this ThreadType enumValue) { - + switch (enumValue) { - case ThreadType.Cpu: return "cpu"; - case ThreadType.Wait: return "wait"; + case ThreadType.Cpu: return "cpu"; + case ThreadType.Wait: return "wait"; case ThreadType.Block: return "block"; } - throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'ThreadType'"); + throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'ThreadType'"); } - + public static string GetStringValue(this SuggestMode enumValue) { - + switch (enumValue) { - case SuggestMode.Missing: return "missing"; - case SuggestMode.Popular: return "popular"; + case SuggestMode.Missing: return "missing"; + case SuggestMode.Popular: return "popular"; case SuggestMode.Always: return "always"; } - throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'SuggestMode'"); + throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'SuggestMode'"); } - + public static string GetStringValue(this GroupBy enumValue) { - + switch (enumValue) { - case GroupBy.Nodes: return "nodes"; + case GroupBy.Nodes: return "nodes"; case GroupBy.Parents: return "parents"; } - throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'GroupBy'"); + throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'GroupBy'"); } - + public static string GetStringValue(this ClusterStateMetric enumValue) { - + if ((enumValue & ClusterStateMetric.All) != 0) return "_all"; var list = new List(); if ((enumValue & ClusterStateMetric.Blocks) != 0) list.Add("blocks"); @@ -600,20 +598,10 @@ public static string GetStringValue(this ClusterStateMetric enumValue) if ((enumValue & ClusterStateMetric.Version) != 0) list.Add("version"); return string.Join(",", list); } - - public static string GetStringValue(this Feature enumValue) - { - - var list = new List(); - if ((enumValue & Feature.Settings) != 0) list.Add("_settings"); - if ((enumValue & Feature.Mappings) != 0) list.Add("_mappings"); - if ((enumValue & Feature.Aliases) != 0) list.Add("_aliases"); - return string.Join(",", list); - } - + public static string GetStringValue(this IndicesStatsMetric enumValue) { - + if ((enumValue & IndicesStatsMetric.All) != 0) return "_all"; var list = new List(); if ((enumValue & IndicesStatsMetric.Completion) != 0) list.Add("completion"); @@ -633,10 +621,10 @@ public static string GetStringValue(this IndicesStatsMetric enumValue) if ((enumValue & IndicesStatsMetric.Suggest) != 0) list.Add("suggest"); return string.Join(",", list); } - + public static string GetStringValue(this NodesInfoMetric enumValue) { - + var list = new List(); if ((enumValue & NodesInfoMetric.Settings) != 0) list.Add("settings"); if ((enumValue & NodesInfoMetric.Os) != 0) list.Add("os"); @@ -649,10 +637,10 @@ public static string GetStringValue(this NodesInfoMetric enumValue) if ((enumValue & NodesInfoMetric.Ingest) != 0) list.Add("ingest"); return string.Join(",", list); } - + public static string GetStringValue(this NodesStatsMetric enumValue) { - + if ((enumValue & NodesStatsMetric.All) != 0) return "_all"; var list = new List(); if ((enumValue & NodesStatsMetric.Breaker) != 0) list.Add("breaker"); @@ -667,10 +655,10 @@ public static string GetStringValue(this NodesStatsMetric enumValue) if ((enumValue & NodesStatsMetric.Discovery) != 0) list.Add("discovery"); return string.Join(",", list); } - + public static string GetStringValue(this NodesStatsIndexMetric enumValue) { - + if ((enumValue & NodesStatsIndexMetric.All) != 0) return "_all"; var list = new List(); if ((enumValue & NodesStatsIndexMetric.Completion) != 0) list.Add("completion"); @@ -690,10 +678,19 @@ public static string GetStringValue(this NodesStatsIndexMetric enumValue) if ((enumValue & NodesStatsIndexMetric.Suggest) != 0) list.Add("suggest"); return string.Join(",", list); } - + + public static string GetStringValue(this NodesUsageMetric enumValue) + { + + if ((enumValue & NodesUsageMetric.All) != 0) return "_all"; + var list = new List(); + if ((enumValue & NodesUsageMetric.RestActions) != 0) list.Add("rest_actions"); + return string.Join(",", list); + } + public static string GetStringValue(this WatcherStatsMetric enumValue) { - + if ((enumValue & WatcherStatsMetric.All) != 0) return "_all"; var list = new List(); if ((enumValue & WatcherStatsMetric.QueuedWatches) != 0) list.Add("queued_watches"); @@ -724,17 +721,17 @@ static KnownEnums() EnumStringResolvers.TryAdd(typeof(SuggestMode), (e) => GetStringValue((SuggestMode)e)); EnumStringResolvers.TryAdd(typeof(GroupBy), (e) => GetStringValue((GroupBy)e)); EnumStringResolvers.TryAdd(typeof(ClusterStateMetric), (e) => GetStringValue((ClusterStateMetric)e)); - EnumStringResolvers.TryAdd(typeof(Feature), (e) => GetStringValue((Feature)e)); EnumStringResolvers.TryAdd(typeof(IndicesStatsMetric), (e) => GetStringValue((IndicesStatsMetric)e)); EnumStringResolvers.TryAdd(typeof(NodesInfoMetric), (e) => GetStringValue((NodesInfoMetric)e)); EnumStringResolvers.TryAdd(typeof(NodesStatsMetric), (e) => GetStringValue((NodesStatsMetric)e)); EnumStringResolvers.TryAdd(typeof(NodesStatsIndexMetric), (e) => GetStringValue((NodesStatsIndexMetric)e)); + EnumStringResolvers.TryAdd(typeof(NodesUsageMetric), (e) => GetStringValue((NodesUsageMetric)e)); EnumStringResolvers.TryAdd(typeof(WatcherStatsMetric), (e) => GetStringValue((WatcherStatsMetric)e)); } public static string GetStringValue(this Enum e) { - var type = e.GetType(); + var type = e.GetType(); var resolver = EnumStringResolvers.GetOrAdd(type, GetEnumStringResolver); return resolver(e); } @@ -763,7 +760,7 @@ private static Func GetEnumStringResolver(Type type) var isFlag = type.GetCustomAttributes(typeof(FlagsAttribute), false).Length > 0; #endif - return (e) => + return (e) => { if (isFlag) { @@ -781,4 +778,4 @@ private static Func GetEnumStringResolver(Type type) }; } } -} \ No newline at end of file +} diff --git a/src/Elasticsearch.Net/Domain/RequestParameters/RequestParameters.Generated.cs b/src/Elasticsearch.Net/Domain/RequestParameters/RequestParameters.Generated.cs index b7a15d2804a..dd7bbf99c78 100644 --- a/src/Elasticsearch.Net/Domain/RequestParameters/RequestParameters.Generated.cs +++ b/src/Elasticsearch.Net/Domain/RequestParameters/RequestParameters.Generated.cs @@ -2041,6 +2041,14 @@ public class DeleteScriptRequestParameters : FluentRequestParameters HttpMethod.DELETE; + ///Explicit operation timeout + public DeleteScriptRequestParameters Timeout(TimeSpan timeout) => this.AddQueryString("timeout", timeout.ToTimeUnit()); + + + ///Specify timeout for connection to master + public DeleteScriptRequestParameters MasterTimeout(TimeSpan master_timeout) => this.AddQueryString("master_timeout", master_timeout.ToTimeUnit()); + + ///Pretty format the returned JSON response. public DeleteScriptRequestParameters Pretty(bool pretty) => this.AddQueryString("pretty", pretty); @@ -2062,36 +2070,6 @@ public class DeleteScriptRequestParameters : FluentRequestParametersRequest parameters descriptor for DeleteTemplate - ///
-	///http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html
-	///
- /// - public class DeleteSearchTemplateRequestParameters : FluentRequestParameters - { - public override HttpMethod DefaultHttpMethod => HttpMethod.DELETE; - - ///Pretty format the returned JSON response. - public DeleteSearchTemplateRequestParameters Pretty(bool pretty) => this.AddQueryString("pretty", pretty); - - - ///Return human readable values for statistics. - public DeleteSearchTemplateRequestParameters Human(bool human) => this.AddQueryString("human", human); - - - ///Include the stack trace of returned errors. - public DeleteSearchTemplateRequestParameters ErrorTrace(bool error_trace) => this.AddQueryString("error_trace", error_trace); - - - ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. - public DeleteSearchTemplateRequestParameters Source(string source) => this.AddQueryString("source", source); - - - ///A comma-separated list of filters used to reduce the respone. - public DeleteSearchTemplateRequestParameters FilterPath(params string[] filter_path) => this.AddQueryString("filter_path", filter_path); - - } - ///Request parameters descriptor for Exists ///
 	///http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html
@@ -2168,7 +2146,7 @@ public class DocumentExistsRequestParameters : FluentRequestParametersRequest parameters descriptor for ExistsSource
 	///
-	///http://www.elastic.co/guide/en/elasticsearch/reference/5.5/docs-get.html
+	///http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html
 	///
///
public class SourceExistsRequestParameters : FluentRequestParameters @@ -2320,7 +2298,7 @@ public class ExplainRequestParameters : FluentRequestParametersRequest parameters descriptor for FieldCaps ///
-	///http://www.elastic.co/guide/en/elasticsearch/reference/5.5/search-field-caps.html
+	///http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html
 	///
/// public class FieldCapabilitiesRequestParameters : FluentRequestParameters @@ -2364,52 +2342,6 @@ public class FieldCapabilitiesRequestParameters : FluentRequestParametersRequest parameters descriptor for FieldStats - ///
-	///http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-stats.html
-	///
- /// - public class FieldStatsRequestParameters : FluentRequestParameters - { - public override HttpMethod DefaultHttpMethod => HttpMethod.POST; - - ///Defines if field stats should be returned on a per index level or on a cluster wide level - public FieldStatsRequestParameters Level(Level level) => this.AddQueryString("level", level); - - - ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public FieldStatsRequestParameters IgnoreUnavailable(bool ignore_unavailable) => this.AddQueryString("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 FieldStatsRequestParameters AllowNoIndices(bool allow_no_indices) => this.AddQueryString("allow_no_indices", allow_no_indices); - - - ///Whether to expand wildcard expression to concrete indices that are open, closed or both. - public FieldStatsRequestParameters ExpandWildcards(ExpandWildcards expand_wildcards) => this.AddQueryString("expand_wildcards", expand_wildcards); - - - ///Pretty format the returned JSON response. - public FieldStatsRequestParameters Pretty(bool pretty) => this.AddQueryString("pretty", pretty); - - - ///Return human readable values for statistics. - public FieldStatsRequestParameters Human(bool human) => this.AddQueryString("human", human); - - - ///Include the stack trace of returned errors. - public FieldStatsRequestParameters ErrorTrace(bool error_trace) => this.AddQueryString("error_trace", error_trace); - - - ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. - public FieldStatsRequestParameters Source(string source) => this.AddQueryString("source", source); - - - ///A comma-separated list of filters used to reduce the respone. - public FieldStatsRequestParameters FilterPath(params string[] filter_path) => this.AddQueryString("filter_path", filter_path); - - } - ///Request parameters descriptor for Get ///
 	///http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html
@@ -2584,36 +2516,6 @@ public class SourceRequestParameters : FluentRequestParametersRequest parameters descriptor for GetTemplate
-	///
-	///http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html
-	///
- ///
- public class GetSearchTemplateRequestParameters : FluentRequestParameters - { - public override HttpMethod DefaultHttpMethod => HttpMethod.GET; - - ///Pretty format the returned JSON response. - public GetSearchTemplateRequestParameters Pretty(bool pretty) => this.AddQueryString("pretty", pretty); - - - ///Return human readable values for statistics. - public GetSearchTemplateRequestParameters Human(bool human) => this.AddQueryString("human", human); - - - ///Include the stack trace of returned errors. - public GetSearchTemplateRequestParameters ErrorTrace(bool error_trace) => this.AddQueryString("error_trace", error_trace); - - - ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. - public GetSearchTemplateRequestParameters Source(string source) => this.AddQueryString("source", source); - - - ///A comma-separated list of filters used to reduce the respone. - public GetSearchTemplateRequestParameters FilterPath(params string[] filter_path) => this.AddQueryString("filter_path", filter_path); - - } - ///Request parameters descriptor for Index ///
 	///http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html
@@ -2913,6 +2815,18 @@ public class DeleteIndexRequestParameters : FluentRequestParameters this.AddQueryString("master_timeout", master_timeout.ToTimeUnit());
 		
 		
+		///Ignore unavailable indexes (default: false)
+		public DeleteIndexRequestParameters IgnoreUnavailable(bool ignore_unavailable) => this.AddQueryString("ignore_unavailable", ignore_unavailable);
+		
+		
+		///Ignore if a wildcard expression resolves to no concrete indices (default: false)
+		public DeleteIndexRequestParameters AllowNoIndices(bool allow_no_indices) => this.AddQueryString("allow_no_indices", allow_no_indices);
+		
+		
+		///Whether wildcard expressions should get expanded to open or closed indices (default: open)
+		public DeleteIndexRequestParameters ExpandWildcards(ExpandWildcards expand_wildcards) => this.AddQueryString("expand_wildcards", expand_wildcards);
+		
+		
 		///Pretty format the returned JSON response.
 		public DeleteIndexRequestParameters Pretty(bool pretty) => this.AddQueryString("pretty", pretty);
 		
@@ -4522,6 +4436,36 @@ public class GetPipelineRequestParameters : FluentRequestParametersRequest parameters descriptor for IngestProcessorGrok
+	///
+	///https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
+	///
+ ///
+ public class IngestProcessorGrokRequestParameters : FluentRequestParameters + { + public override HttpMethod DefaultHttpMethod => HttpMethod.GET; + + ///Pretty format the returned JSON response. + public IngestProcessorGrokRequestParameters Pretty(bool pretty) => this.AddQueryString("pretty", pretty); + + + ///Return human readable values for statistics. + public IngestProcessorGrokRequestParameters Human(bool human) => this.AddQueryString("human", human); + + + ///Include the stack trace of returned errors. + public IngestProcessorGrokRequestParameters ErrorTrace(bool error_trace) => this.AddQueryString("error_trace", error_trace); + + + ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. + public IngestProcessorGrokRequestParameters Source(string source) => this.AddQueryString("source", source); + + + ///A comma-separated list of filters used to reduce the respone. + public IngestProcessorGrokRequestParameters FilterPath(params string[] filter_path) => this.AddQueryString("filter_path", filter_path); + + } + ///Request parameters descriptor for IngestPutPipeline ///
 	///https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
@@ -4677,6 +4621,10 @@ public class MultiSearchRequestParameters : FluentRequestParameters this.AddQueryString("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 MultiSearchRequestParameters PreFilterShardSize(long pre_filter_shard_size) => this.AddQueryString("pre_filter_shard_size", pre_filter_shard_size);
+		
+		
 		///Pretty format the returned JSON response.
 		public MultiSearchRequestParameters Pretty(bool pretty) => this.AddQueryString("pretty", pretty);
 		
@@ -4972,93 +4920,109 @@ public class NodesStatsRequestParameters : FluentRequestParametersRequest parameters descriptor for Ping
+	///Request parameters descriptor for NodesUsageForAll
 	///
-	///http://www.elastic.co/guide/
+	///http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html
 	///
///
- public class PingRequestParameters : FluentRequestParameters + public class NodesUsageRequestParameters : FluentRequestParameters { - public override HttpMethod DefaultHttpMethod => HttpMethod.HEAD; + public override HttpMethod DefaultHttpMethod => HttpMethod.GET; - ///Pretty format the returned JSON response. - public PingRequestParameters Pretty(bool pretty) => this.AddQueryString("pretty", pretty); + ///Whether to return time and byte values in human-readable format. + public NodesUsageRequestParameters Human(bool human) => this.AddQueryString("human", human); - ///Return human readable values for statistics. - public PingRequestParameters Human(bool human) => this.AddQueryString("human", human); + ///Explicit operation timeout + public NodesUsageRequestParameters Timeout(TimeSpan timeout) => this.AddQueryString("timeout", timeout.ToTimeUnit()); + + + ///Pretty format the returned JSON response. + public NodesUsageRequestParameters Pretty(bool pretty) => this.AddQueryString("pretty", pretty); ///Include the stack trace of returned errors. - public PingRequestParameters ErrorTrace(bool error_trace) => this.AddQueryString("error_trace", error_trace); + public NodesUsageRequestParameters ErrorTrace(bool error_trace) => this.AddQueryString("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. - public PingRequestParameters Source(string source) => this.AddQueryString("source", source); + public NodesUsageRequestParameters Source(string source) => this.AddQueryString("source", source); ///A comma-separated list of filters used to reduce the respone. - public PingRequestParameters FilterPath(params string[] filter_path) => this.AddQueryString("filter_path", filter_path); + public NodesUsageRequestParameters FilterPath(params string[] filter_path) => this.AddQueryString("filter_path", filter_path); } - ///Request parameters descriptor for PutScript + ///Request parameters descriptor for Ping ///
-	///http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html
+	///http://www.elastic.co/guide/
 	///
///
- public class PutScriptRequestParameters : FluentRequestParameters + public class PingRequestParameters : FluentRequestParameters { - public override HttpMethod DefaultHttpMethod => HttpMethod.PUT; + public override HttpMethod DefaultHttpMethod => HttpMethod.HEAD; ///Pretty format the returned JSON response. - public PutScriptRequestParameters Pretty(bool pretty) => this.AddQueryString("pretty", pretty); + public PingRequestParameters Pretty(bool pretty) => this.AddQueryString("pretty", pretty); ///Return human readable values for statistics. - public PutScriptRequestParameters Human(bool human) => this.AddQueryString("human", human); + public PingRequestParameters Human(bool human) => this.AddQueryString("human", human); ///Include the stack trace of returned errors. - public PutScriptRequestParameters ErrorTrace(bool error_trace) => this.AddQueryString("error_trace", error_trace); + public PingRequestParameters ErrorTrace(bool error_trace) => this.AddQueryString("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. - public PutScriptRequestParameters Source(string source) => this.AddQueryString("source", source); + public PingRequestParameters Source(string source) => this.AddQueryString("source", source); ///A comma-separated list of filters used to reduce the respone. - public PutScriptRequestParameters FilterPath(params string[] filter_path) => this.AddQueryString("filter_path", filter_path); + public PingRequestParameters FilterPath(params string[] filter_path) => this.AddQueryString("filter_path", filter_path); } - ///Request parameters descriptor for PutTemplate + ///Request parameters descriptor for PutScript ///
-	///http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html
+	///http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html
 	///
///
- public class PutSearchTemplateRequestParameters : FluentRequestParameters + public class PutScriptRequestParameters : FluentRequestParameters { public override HttpMethod DefaultHttpMethod => HttpMethod.PUT; + ///Explicit operation timeout + public PutScriptRequestParameters Timeout(TimeSpan timeout) => this.AddQueryString("timeout", timeout.ToTimeUnit()); + + + ///Specify timeout for connection to master + public PutScriptRequestParameters MasterTimeout(TimeSpan master_timeout) => this.AddQueryString("master_timeout", master_timeout.ToTimeUnit()); + + + ///Context name to compile script against + public PutScriptRequestParameters Context(string context) => this.AddQueryString("context", context); + + ///Pretty format the returned JSON response. - public PutSearchTemplateRequestParameters Pretty(bool pretty) => this.AddQueryString("pretty", pretty); + public PutScriptRequestParameters Pretty(bool pretty) => this.AddQueryString("pretty", pretty); ///Return human readable values for statistics. - public PutSearchTemplateRequestParameters Human(bool human) => this.AddQueryString("human", human); + public PutScriptRequestParameters Human(bool human) => this.AddQueryString("human", human); ///Include the stack trace of returned errors. - public PutSearchTemplateRequestParameters ErrorTrace(bool error_trace) => this.AddQueryString("error_trace", error_trace); + public PutScriptRequestParameters ErrorTrace(bool error_trace) => this.AddQueryString("error_trace", error_trace); ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. - public PutSearchTemplateRequestParameters Source(string source) => this.AddQueryString("source", source); + public PutScriptRequestParameters Source(string source) => this.AddQueryString("source", source); ///A comma-separated list of filters used to reduce the respone. - public PutSearchTemplateRequestParameters FilterPath(params string[] filter_path) => this.AddQueryString("filter_path", filter_path); + public PutScriptRequestParameters FilterPath(params string[] filter_path) => this.AddQueryString("filter_path", filter_path); } @@ -5148,7 +5112,7 @@ public class ReindexRethrottleRequestParameters : FluentRequestParametersRequest parameters descriptor for RemoteInfo ///
-	///http://www.elastic.co/guide/en/elasticsearch/reference/5.5/cluster-remote-info.html
+	///http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-remote-info.html
 	///
///
public class RemoteInfoRequestParameters : FluentRequestParameters @@ -5317,6 +5281,10 @@ public class SearchRequestParameters : FluentRequestParameters this.AddQueryString("suggest_text", suggest_text); + ///Indicate if the number of documents that match the query should be tracked + public SearchRequestParameters TrackTotalHits(bool track_total_hits) => this.AddQueryString("track_total_hits", track_total_hits); + + ///Specify whether aggregation and suggester names should be prefixed by their respective types in the response public SearchRequestParameters TypedKeys(bool typed_keys) => this.AddQueryString("typed_keys", typed_keys); @@ -5329,6 +5297,14 @@ public class SearchRequestParameters : FluentRequestParameters this.AddQueryString("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 SearchRequestParameters MaxConcurrentShardRequests(long max_concurrent_shard_requests) => this.AddQueryString("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 SearchRequestParameters PreFilterShardSize(long pre_filter_shard_size) => this.AddQueryString("pre_filter_shard_size", pre_filter_shard_size); + + ///Pretty format the returned JSON response. public SearchRequestParameters Pretty(bool pretty) => this.AddQueryString("pretty", pretty); @@ -6278,7 +6254,7 @@ public class UpdateByQueryRequestParameters : FluentRequestParametersRequest parameters descriptor for XpackGraphExplore ///
-	///https://www.elastic.co/guide/en/graph/current/explore.html
+	///https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html
 	///
///
public class GraphExploreRequestParameters : FluentRequestParameters @@ -6314,6 +6290,36 @@ public class GraphExploreRequestParameters : FluentRequestParametersRequest parameters descriptor for XpackDeprecationInfo + ///
+	///http://www.elastic.co/guide/en/migration/current/migration-api-deprecation.html
+	///
+ ///
+ public class XpackDeprecationInfoRequestParameters : FluentRequestParameters + { + public override HttpMethod DefaultHttpMethod => HttpMethod.GET; + + ///Pretty format the returned JSON response. + public XpackDeprecationInfoRequestParameters Pretty(bool pretty) => this.AddQueryString("pretty", pretty); + + + ///Return human readable values for statistics. + public XpackDeprecationInfoRequestParameters Human(bool human) => this.AddQueryString("human", human); + + + ///Include the stack trace of returned errors. + public XpackDeprecationInfoRequestParameters ErrorTrace(bool error_trace) => this.AddQueryString("error_trace", error_trace); + + + ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. + public XpackDeprecationInfoRequestParameters Source(string source) => this.AddQueryString("source", source); + + + ///A comma-separated list of filters used to reduce the respone. + public XpackDeprecationInfoRequestParameters FilterPath(params string[] filter_path) => this.AddQueryString("filter_path", filter_path); + + } + ///Request parameters descriptor for XpackInfo ///
 	///https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html
@@ -6384,7 +6390,7 @@ public class XPackUsageRequestParameters : FluentRequestParametersRequest parameters descriptor for XpackLicenseDelete
 	///
-	///https://www.elastic.co/guide/en/shield/current/license-management.html
+	///https://www.elastic.co/guide/en/x-pack/current/license-management.html
 	///
///
public class DeleteLicenseRequestParameters : FluentRequestParameters @@ -6414,7 +6420,7 @@ public class DeleteLicenseRequestParameters : FluentRequestParametersRequest parameters descriptor for XpackLicenseGet ///
-	///https://www.elastic.co/guide/en/shield/current/license-management.html
+	///https://www.elastic.co/guide/en/x-pack/current/license-management.html
 	///
/// public class GetLicenseRequestParameters : FluentRequestParameters @@ -6448,7 +6454,7 @@ public class GetLicenseRequestParameters : FluentRequestParametersRequest parameters descriptor for XpackLicensePost ///
-	///https://www.elastic.co/guide/en/shield/current/license-management.html
+	///https://www.elastic.co/guide/en/x-pack/current/license-management.html
 	///
/// public class PostLicenseRequestParameters : FluentRequestParameters @@ -7346,7 +7352,7 @@ public class ValidateDetectorRequestParameters : FluentRequestParametersRequest parameters descriptor for XpackSecurityAuthenticate ///
-	///https://www.elastic.co/guide/en/x-pack/master/security-api-authenticate.html
+	///https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-authenticate.html
 	///
/// public class AuthenticateRequestParameters : FluentRequestParameters @@ -7376,7 +7382,7 @@ public class AuthenticateRequestParameters : FluentRequestParametersRequest parameters descriptor for XpackSecurityChangePassword ///
-	///https://www.elastic.co/guide/en/x-pack/master/security-api-change-password.html
+	///https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html
 	///
/// public class ChangePasswordRequestParameters : FluentRequestParameters @@ -7410,7 +7416,7 @@ public class ChangePasswordRequestParameters : FluentRequestParametersRequest parameters descriptor for XpackSecurityClearCachedRealms ///
-	///https://www.elastic.co/guide/en/x-pack/current/security-api-clear-cache.html
+	///https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-cache.html
 	///
/// public class ClearCachedRealmsRequestParameters : FluentRequestParameters @@ -7444,7 +7450,7 @@ public class ClearCachedRealmsRequestParameters : FluentRequestParametersRequest parameters descriptor for XpackSecurityClearCachedRoles ///
-	///https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-clear-role-cache
+	///https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-clear-role-cache
 	///
/// public class ClearCachedRolesRequestParameters : FluentRequestParameters @@ -7474,7 +7480,7 @@ public class ClearCachedRolesRequestParameters : FluentRequestParametersRequest parameters descriptor for XpackSecurityDeleteRole ///
-	///https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-delete-role
+	///https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-delete-role
 	///
/// public class DeleteRoleRequestParameters : FluentRequestParameters @@ -7508,7 +7514,7 @@ public class DeleteRoleRequestParameters : FluentRequestParametersRequest parameters descriptor for XpackSecurityDeleteRoleMapping ///
-	///https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-delete-role-mapping
+	///https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-delete-role-mapping
 	///
/// public class DeleteRoleMappingRequestParameters : FluentRequestParameters @@ -7542,7 +7548,7 @@ public class DeleteRoleMappingRequestParameters : FluentRequestParametersRequest parameters descriptor for XpackSecurityDeleteUser ///
-	///https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-delete-user
+	///https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-delete-user
 	///
/// public class DeleteUserRequestParameters : FluentRequestParameters @@ -7576,7 +7582,7 @@ public class DeleteUserRequestParameters : FluentRequestParametersRequest parameters descriptor for XpackSecurityDisableUser ///
-	///https://www.elastic.co/guide/en/x-pack/master/security-api-disable-user.html
+	///https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-disable-user
 	///
/// public class DisableUserRequestParameters : FluentRequestParameters @@ -7610,7 +7616,7 @@ public class DisableUserRequestParameters : FluentRequestParametersRequest parameters descriptor for XpackSecurityEnableUser ///
-	///https://www.elastic.co/guide/en/x-pack/master/security-api-enable-user.html
+	///https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-enable-user
 	///
/// public class EnableUserRequestParameters : FluentRequestParameters @@ -7644,7 +7650,7 @@ public class EnableUserRequestParameters : FluentRequestParametersRequest parameters descriptor for XpackSecurityGetRole ///
-	///https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-get-role
+	///https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-get-role
 	///
/// public class GetRoleRequestParameters : FluentRequestParameters @@ -7674,7 +7680,7 @@ public class GetRoleRequestParameters : FluentRequestParametersRequest parameters descriptor for XpackSecurityGetRoleMapping ///
-	///https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-get-role-mapping
+	///https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-get-role-mapping
 	///
/// public class GetRoleMappingRequestParameters : FluentRequestParameters @@ -7704,7 +7710,7 @@ public class GetRoleMappingRequestParameters : FluentRequestParametersRequest parameters descriptor for XpackSecurityGetToken ///
-	///https://www.elastic.co/guide/en/x-pack/master/security-api-tokens.html#security-api-get-token
+	///https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-tokens.html#security-api-get-token
 	///
/// public class GetUserAccessTokenRequestParameters : FluentRequestParameters @@ -7734,7 +7740,7 @@ public class GetUserAccessTokenRequestParameters : FluentRequestParametersRequest parameters descriptor for XpackSecurityGetUser ///
-	///https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-get-user
+	///https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-get-user
 	///
/// public class GetUserRequestParameters : FluentRequestParameters @@ -7764,7 +7770,7 @@ public class GetUserRequestParameters : FluentRequestParametersRequest parameters descriptor for XpackSecurityInvalidateToken ///
-	///https://www.elastic.co/guide/en/x-pack/master/security-api-tokens.html#security-api-invalidate-token
+	///https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-tokens.html#security-api-invalidate-token
 	///
/// public class InvalidateUserAccessTokenRequestParameters : FluentRequestParameters @@ -7794,7 +7800,7 @@ public class InvalidateUserAccessTokenRequestParameters : FluentRequestParameter ///Request parameters descriptor for XpackSecurityPutRole ///
-	///https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-put-role
+	///https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-put-role
 	///
///
public class PutRoleRequestParameters : FluentRequestParameters @@ -7828,7 +7834,7 @@ public class PutRoleRequestParameters : FluentRequestParametersRequest parameters descriptor for XpackSecurityPutRoleMapping ///
-	///https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-put-role-mapping
+	///https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-put-role-mapping
 	///
/// public class PutRoleMappingRequestParameters : FluentRequestParameters @@ -7862,7 +7868,7 @@ public class PutRoleMappingRequestParameters : FluentRequestParametersRequest parameters descriptor for XpackSecurityPutUser ///
-	///https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-put-user
+	///https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-put-user
 	///
/// public class PutUserRequestParameters : FluentRequestParameters diff --git a/src/Elasticsearch.Net/ElasticLowLevelClient.Generated.cs b/src/Elasticsearch.Net/ElasticLowLevelClient.Generated.cs index f6f036b1129..9e993f79961 100644 --- a/src/Elasticsearch.Net/ElasticLowLevelClient.Generated.cs +++ b/src/Elasticsearch.Net/ElasticLowLevelClient.Generated.cs @@ -11,7 +11,7 @@ //This file is automatically generated from https://github.com/elastic/elasticsearch/tree/v6.0.0-alpha1/rest-api-spec //Generated from commit v6.0.0-alpha1 - + namespace Elasticsearch.Net { /// @@ -19,13 +19,13 @@ namespace Elasticsearch.Net /// public partial class ElasticLowLevelClient : IElasticLowLevelClient { - + ///Represents a POST on /_bulk - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html /// @@ -33,13 +33,13 @@ public partial class ElasticLowLevelClient : IElasticLowLevelClient ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Bulk(PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_bulk"), body, _params(requestParameters)); - + ///Represents a POST on /_bulk - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html /// @@ -47,13 +47,13 @@ public ElasticsearchResponse Bulk(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> BulkAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_bulk"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/_bulk - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html /// @@ -62,13 +62,13 @@ public ElasticsearchResponse Bulk(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Bulk(string index, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_bulk"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/_bulk - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html /// @@ -77,13 +77,13 @@ public ElasticsearchResponse Bulk(string index, PostData body, Fun ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> BulkAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_bulk"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/_bulk - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html /// @@ -93,13 +93,13 @@ public ElasticsearchResponse Bulk(string index, PostData body, Fun ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Bulk(string index, string type, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_bulk"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/_bulk - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html /// @@ -109,13 +109,13 @@ public ElasticsearchResponse Bulk(string index, string type, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public Task> BulkAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_bulk"), cancellationToken, body, _params(requestParameters)); - + ///Represents a PUT on /_bulk - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html /// @@ -123,13 +123,13 @@ public ElasticsearchResponse Bulk(string index, string type, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse BulkPut(PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"_bulk"), body, _params(requestParameters)); - + ///Represents a PUT on /_bulk - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html /// @@ -137,13 +137,13 @@ public ElasticsearchResponse BulkPut(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> BulkPutAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"_bulk"), cancellationToken, body, _params(requestParameters)); - + ///Represents a PUT on /{index}/_bulk - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html /// @@ -152,13 +152,13 @@ public ElasticsearchResponse BulkPut(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse BulkPut(string index, PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"{index.NotNull("index")}/_bulk"), body, _params(requestParameters)); - + ///Represents a PUT on /{index}/_bulk - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html /// @@ -167,13 +167,13 @@ public ElasticsearchResponse BulkPut(string index, PostData body, ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> BulkPutAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"{index.NotNull("index")}/_bulk"), cancellationToken, body, _params(requestParameters)); - + ///Represents a PUT on /{index}/{type}/_bulk - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html /// @@ -183,13 +183,13 @@ public ElasticsearchResponse BulkPut(string index, PostData body, ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse BulkPut(string index, string type, PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_bulk"), body, _params(requestParameters)); - + ///Represents a PUT on /{index}/{type}/_bulk - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html /// @@ -199,39 +199,39 @@ public ElasticsearchResponse BulkPut(string index, string type, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public Task> BulkPutAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_bulk"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_cat/aliases - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatAliases(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/aliases"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/aliases - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatAliasesAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/aliases"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/aliases/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html /// @@ -239,13 +239,13 @@ public ElasticsearchResponse CatAliases(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatAliases(string name, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/aliases/{name.NotNull("name")}"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/aliases/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html /// @@ -253,39 +253,39 @@ public ElasticsearchResponse CatAliases(string name, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatAliasesAsync(string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/aliases/{name.NotNull("name")}"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/allocation - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatAllocation(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/allocation"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/allocation - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatAllocationAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/allocation"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/allocation/{node_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html /// @@ -293,13 +293,13 @@ public ElasticsearchResponse CatAllocation(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatAllocation(string node_id, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/allocation/{node_id.NotNull("node_id")}"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/allocation/{node_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html /// @@ -307,39 +307,39 @@ public ElasticsearchResponse CatAllocation(string node_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatAllocationAsync(string node_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/allocation/{node_id.NotNull("node_id")}"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/count - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatCount(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/count"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/count - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatCountAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/count"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/count/{index} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html /// @@ -347,13 +347,13 @@ public ElasticsearchResponse CatCount(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatCount(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/count/{index.NotNull("index")}"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/count/{index} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html /// @@ -361,39 +361,39 @@ public ElasticsearchResponse CatCount(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatCountAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/count/{index.NotNull("index")}"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/fielddata - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatFielddata(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/fielddata"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/fielddata - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatFielddataAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/fielddata"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/fielddata/{fields} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html /// @@ -401,13 +401,13 @@ public ElasticsearchResponse CatFielddata(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatFielddata(string fields, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/fielddata/{fields.NotNull("fields")}"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/fielddata/{fields} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html /// @@ -415,91 +415,91 @@ public ElasticsearchResponse CatFielddata(string fields, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatFielddataAsync(string fields, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/fielddata/{fields.NotNull("fields")}"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/health - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-health.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatHealth(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/health"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/health - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-health.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatHealthAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/health"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatHelp(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatHelpAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/indices - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatIndices(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/indices"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/indices - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatIndicesAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/indices"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/indices/{index} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html /// @@ -507,13 +507,13 @@ public ElasticsearchResponse CatIndices(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatIndices(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/indices/{index.NotNull("index")}"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/indices/{index} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html /// @@ -521,169 +521,169 @@ public ElasticsearchResponse CatIndices(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatIndicesAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/indices/{index.NotNull("index")}"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/master - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-master.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatMaster(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/master"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/master - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-master.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatMasterAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/master"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/nodeattrs - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatNodeattrs(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/nodeattrs"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/nodeattrs - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatNodeattrsAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/nodeattrs"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/nodes - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatNodes(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/nodes"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/nodes - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatNodesAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/nodes"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/pending_tasks - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-pending-tasks.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatPendingTasks(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/pending_tasks"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/pending_tasks - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-pending-tasks.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatPendingTasksAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/pending_tasks"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/plugins - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-plugins.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatPlugins(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/plugins"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/plugins - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-plugins.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatPluginsAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/plugins"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/recovery - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatRecovery(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/recovery"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/recovery - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatRecoveryAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/recovery"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/recovery/{index} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html /// @@ -691,13 +691,13 @@ public ElasticsearchResponse CatRecovery(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatRecovery(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/recovery/{index.NotNull("index")}"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/recovery/{index} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html /// @@ -705,65 +705,65 @@ public ElasticsearchResponse CatRecovery(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatRecoveryAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/recovery/{index.NotNull("index")}"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/repositories - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-repositories.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatRepositories(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/repositories"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/repositories - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-repositories.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatRepositoriesAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/repositories"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/segments - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatSegments(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/segments"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/segments - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatSegmentsAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/segments"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/segments/{index} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html /// @@ -771,13 +771,13 @@ public ElasticsearchResponse CatSegments(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatSegments(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/segments/{index.NotNull("index")}"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/segments/{index} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html /// @@ -785,39 +785,39 @@ public ElasticsearchResponse CatSegments(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatSegmentsAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/segments/{index.NotNull("index")}"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/shards - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatShards(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/shards"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/shards - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatShardsAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/shards"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/shards/{index} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html /// @@ -825,13 +825,13 @@ public ElasticsearchResponse CatShards(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatShards(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/shards/{index.NotNull("index")}"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/shards/{index} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html /// @@ -839,39 +839,39 @@ public ElasticsearchResponse CatShards(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatShardsAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/shards/{index.NotNull("index")}"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/snapshots - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatSnapshots(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/snapshots"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/snapshots - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatSnapshotsAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/snapshots"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/snapshots/{repository} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html /// @@ -879,13 +879,13 @@ public ElasticsearchResponse CatSnapshots(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatSnapshots(string repository, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/snapshots/{repository.NotNull("repository")}"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/snapshots/{repository} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html /// @@ -893,65 +893,65 @@ public ElasticsearchResponse CatSnapshots(string repository, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatSnapshotsAsync(string repository, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/snapshots/{repository.NotNull("repository")}"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/tasks - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatTasks(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/tasks"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/tasks - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatTasksAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/tasks"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/templates - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatTemplates(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/templates"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/templates - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatTemplatesAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/templates"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/templates/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html /// @@ -959,13 +959,13 @@ public ElasticsearchResponse CatTemplates(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatTemplates(string name, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/templates/{name.NotNull("name")}"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/templates/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html /// @@ -973,39 +973,39 @@ public ElasticsearchResponse CatTemplates(string name, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatTemplatesAsync(string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/templates/{name.NotNull("name")}"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/thread_pool - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatThreadPool(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/thread_pool"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/thread_pool - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatThreadPoolAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/thread_pool"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/thread_pool/{thread_pool_patterns} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html /// @@ -1013,13 +1013,13 @@ public ElasticsearchResponse CatThreadPool(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CatThreadPool(string thread_pool_patterns, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cat/thread_pool/{thread_pool_patterns.NotNull("thread_pool_patterns")}"), null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a GET on /_cat/thread_pool/{thread_pool_patterns} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html /// @@ -1027,13 +1027,13 @@ public ElasticsearchResponse CatThreadPool(string thread_pool_patterns, Fu ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> CatThreadPoolAsync(string thread_pool_patterns, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cat/thread_pool/{thread_pool_patterns.NotNull("thread_pool_patterns")}"), cancellationToken, null, _params(requestParameters, contentType: "text/plain", accept: "text/plain")); - + ///Represents a DELETE on /_search/scroll - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html /// @@ -1041,13 +1041,13 @@ public ElasticsearchResponse CatThreadPool(string thread_pool_patterns, Fu ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse ClearScroll(PostData body, Func requestParameters = null) where T : class => this.DoRequest(DELETE, Url($"_search/scroll"), body, _params(requestParameters)); - + ///Represents a DELETE on /_search/scroll - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html /// @@ -1055,39 +1055,39 @@ public ElasticsearchResponse ClearScroll(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> ClearScrollAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(DELETE, Url($"_search/scroll"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_cluster/allocation/explain - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse ClusterAllocationExplainGet(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cluster/allocation/explain"), null, _params(requestParameters)); - + ///Represents a GET on /_cluster/allocation/explain - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> ClusterAllocationExplainGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cluster/allocation/explain"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_cluster/allocation/explain - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html /// @@ -1095,13 +1095,13 @@ public ElasticsearchResponse ClusterAllocationExplainGet(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse ClusterAllocationExplain(PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_cluster/allocation/explain"), body, _params(requestParameters)); - + ///Represents a POST on /_cluster/allocation/explain - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html /// @@ -1109,65 +1109,65 @@ public ElasticsearchResponse ClusterAllocationExplain(PostData bod ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> ClusterAllocationExplainAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_cluster/allocation/explain"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_cluster/settings - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse ClusterGetSettings(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cluster/settings"), null, _params(requestParameters)); - + ///Represents a GET on /_cluster/settings - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> ClusterGetSettingsAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cluster/settings"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_cluster/health - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse ClusterHealth(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cluster/health"), null, _params(requestParameters)); - + ///Represents a GET on /_cluster/health - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> ClusterHealthAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cluster/health"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_cluster/health/{index} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html /// @@ -1175,13 +1175,13 @@ public ElasticsearchResponse ClusterHealth(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse ClusterHealth(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cluster/health/{index.NotNull("index")}"), null, _params(requestParameters)); - + ///Represents a GET on /_cluster/health/{index} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html /// @@ -1189,39 +1189,39 @@ public ElasticsearchResponse ClusterHealth(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> ClusterHealthAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cluster/health/{index.NotNull("index")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_cluster/pending_tasks - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-pending.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse ClusterPendingTasks(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cluster/pending_tasks"), null, _params(requestParameters)); - + ///Represents a GET on /_cluster/pending_tasks - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-pending.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> ClusterPendingTasksAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cluster/pending_tasks"), cancellationToken, null, _params(requestParameters)); - + ///Represents a PUT on /_cluster/settings - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html /// @@ -1229,13 +1229,13 @@ public ElasticsearchResponse ClusterPendingTasks(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse ClusterPutSettings(PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"_cluster/settings"), body, _params(requestParameters)); - + ///Represents a PUT on /_cluster/settings - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html /// @@ -1243,13 +1243,13 @@ public ElasticsearchResponse ClusterPutSettings(PostData body, Fun ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> ClusterPutSettingsAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"_cluster/settings"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_cluster/reroute - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-reroute.html /// @@ -1257,13 +1257,13 @@ public ElasticsearchResponse ClusterPutSettings(PostData body, Fun ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse ClusterReroute(PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_cluster/reroute"), body, _params(requestParameters)); - + ///Represents a POST on /_cluster/reroute - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-reroute.html /// @@ -1271,39 +1271,39 @@ public ElasticsearchResponse ClusterReroute(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> ClusterRerouteAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_cluster/reroute"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_cluster/state - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse ClusterState(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cluster/state"), null, _params(requestParameters)); - + ///Represents a GET on /_cluster/state - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> ClusterStateAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cluster/state"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_cluster/state/{metric} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html /// @@ -1311,13 +1311,13 @@ public ElasticsearchResponse ClusterState(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse ClusterState(string metric, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cluster/state/{metric.NotNull("metric")}"), null, _params(requestParameters)); - + ///Represents a GET on /_cluster/state/{metric} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html /// @@ -1325,13 +1325,13 @@ public ElasticsearchResponse ClusterState(string metric, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> ClusterStateAsync(string metric, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cluster/state/{metric.NotNull("metric")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_cluster/state/{metric}/{index} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html /// @@ -1340,13 +1340,13 @@ public ElasticsearchResponse ClusterState(string metric, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse ClusterState(string metric, string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cluster/state/{metric.NotNull("metric")}/{index.NotNull("index")}"), null, _params(requestParameters)); - + ///Represents a GET on /_cluster/state/{metric}/{index} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html /// @@ -1355,39 +1355,39 @@ public ElasticsearchResponse ClusterState(string metric, string index, Fun ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> ClusterStateAsync(string metric, string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cluster/state/{metric.NotNull("metric")}/{index.NotNull("index")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_cluster/stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse ClusterStats(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cluster/stats"), null, _params(requestParameters)); - + ///Represents a GET on /_cluster/stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> ClusterStatsAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cluster/stats"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_cluster/stats/nodes/{node_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html /// @@ -1395,13 +1395,13 @@ public ElasticsearchResponse ClusterStats(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse ClusterStats(string node_id, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cluster/stats/nodes/{node_id.NotNull("node_id")}"), null, _params(requestParameters)); - + ///Represents a GET on /_cluster/stats/nodes/{node_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html /// @@ -1409,13 +1409,13 @@ public ElasticsearchResponse ClusterStats(string node_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> ClusterStatsAsync(string node_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cluster/stats/nodes/{node_id.NotNull("node_id")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_count - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html /// @@ -1423,13 +1423,13 @@ public ElasticsearchResponse ClusterStats(string node_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Count(PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_count"), body, _params(requestParameters)); - + ///Represents a POST on /_count - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html /// @@ -1437,13 +1437,13 @@ public ElasticsearchResponse Count(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> CountAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_count"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/_count - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html /// @@ -1452,13 +1452,13 @@ public ElasticsearchResponse Count(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Count(string index, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_count"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/_count - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html /// @@ -1467,13 +1467,13 @@ public ElasticsearchResponse Count(string index, PostData body, Fu ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> CountAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_count"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/_count - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html /// @@ -1483,13 +1483,13 @@ public ElasticsearchResponse Count(string index, PostData body, Fu ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Count(string index, string type, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_count"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/_count - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html /// @@ -1499,39 +1499,39 @@ public ElasticsearchResponse Count(string index, string type, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public Task> CountAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_count"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_count - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CountGet(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_count"), null, _params(requestParameters)); - + ///Represents a GET on /_count - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> CountGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_count"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_count - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html /// @@ -1539,13 +1539,13 @@ public ElasticsearchResponse CountGet(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CountGet(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_count"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_count - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html /// @@ -1553,13 +1553,13 @@ public ElasticsearchResponse CountGet(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> CountGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_count"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/{type}/_count - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html /// @@ -1568,13 +1568,13 @@ public ElasticsearchResponse CountGet(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CountGet(string index, string type, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_count"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/{type}/_count - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html /// @@ -1583,13 +1583,13 @@ public ElasticsearchResponse CountGet(string index, string type, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> CountGetAsync(string index, string type, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_count"), cancellationToken, null, _params(requestParameters)); - + ///Represents a PUT on /{index}/{type}/{id}/_create - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html /// @@ -1600,13 +1600,13 @@ public ElasticsearchResponse CountGet(string index, string type, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Create(string index, string type, string id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}/_create"), body, _params(requestParameters)); - + ///Represents a PUT on /{index}/{type}/{id}/_create - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html /// @@ -1617,13 +1617,13 @@ public ElasticsearchResponse Create(string index, string type, string id, ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> CreateAsync(string index, string type, string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}/_create"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/{id}/_create - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html /// @@ -1634,13 +1634,13 @@ public ElasticsearchResponse Create(string index, string type, string id, ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse CreatePost(string index, string type, string id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}/_create"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/{id}/_create - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html /// @@ -1651,13 +1651,13 @@ public ElasticsearchResponse CreatePost(string index, string type, string ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> CreatePostAsync(string index, string type, string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}/_create"), cancellationToken, body, _params(requestParameters)); - + ///Represents a DELETE on /{index}/{type}/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html /// @@ -1667,13 +1667,13 @@ public ElasticsearchResponse CreatePost(string index, string type, string ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Delete(string index, string type, string id, Func requestParameters = null) where T : class => this.DoRequest(DELETE, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}"), null, _params(requestParameters, allow404: true)); - + ///Represents a DELETE on /{index}/{type}/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html /// @@ -1683,13 +1683,13 @@ public ElasticsearchResponse Delete(string index, string type, string id, ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> DeleteAsync(string index, string type, string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(DELETE, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}"), cancellationToken, null, _params(requestParameters, allow404: true)); - + ///Represents a POST on /{index}/_delete_by_query - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html /// @@ -1698,13 +1698,13 @@ public ElasticsearchResponse Delete(string index, string type, string id, ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse DeleteByQuery(string index, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_delete_by_query"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/_delete_by_query - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html /// @@ -1713,13 +1713,13 @@ public ElasticsearchResponse DeleteByQuery(string index, PostData ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> DeleteByQueryAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_delete_by_query"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/_delete_by_query - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html /// @@ -1729,13 +1729,13 @@ public ElasticsearchResponse DeleteByQuery(string index, PostData ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse DeleteByQuery(string index, string type, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_delete_by_query"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/_delete_by_query - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html /// @@ -1745,99 +1745,41 @@ public ElasticsearchResponse DeleteByQuery(string index, string type, Post ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> DeleteByQueryAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_delete_by_query"), cancellationToken, body, _params(requestParameters)); - - ///Represents a DELETE on /_scripts/{lang} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html - /// - ///Script language - ///A func that allows you to describe the querystring parameters & request specific connection settings. - public ElasticsearchResponse DeleteScript(string lang, Func requestParameters = null) - where T : class => this.DoRequest(DELETE, Url($"_scripts/{lang.NotNull("lang")}"), null, _params(requestParameters)); - - ///Represents a DELETE on /_scripts/{lang} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html - /// - ///Script language - ///A func that allows you to describe the querystring parameters & request specific connection settings. - public Task> DeleteScriptAsync(string lang, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) - where T : class => this.DoRequestAsync(DELETE, Url($"_scripts/{lang.NotNull("lang")}"), cancellationToken, null, _params(requestParameters)); - - ///Represents a DELETE on /_scripts/{lang}/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + + ///Represents a DELETE on /_scripts/{id} + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html /// - ///Script language ///Script ID ///A func that allows you to describe the querystring parameters & request specific connection settings. - public ElasticsearchResponse DeleteScript(string lang, string id, Func requestParameters = null) - where T : class => this.DoRequest(DELETE, Url($"_scripts/{lang.NotNull("lang")}/{id.NotNull("id")}"), null, _params(requestParameters)); - - ///Represents a DELETE on /_scripts/{lang}/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + public ElasticsearchResponse DeleteScript(string id, Func requestParameters = null) + where T : class => this.DoRequest(DELETE, Url($"_scripts/{id.NotNull("id")}"), null, _params(requestParameters)); + + ///Represents a DELETE on /_scripts/{id} + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html /// - ///Script language ///Script ID ///A func that allows you to describe the querystring parameters & request specific connection settings. - public Task> DeleteScriptAsync(string lang, string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) - where T : class => this.DoRequestAsync(DELETE, Url($"_scripts/{lang.NotNull("lang")}/{id.NotNull("id")}"), cancellationToken, null, _params(requestParameters)); - - ///Represents a DELETE on /_search/template/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html - /// - ///Template ID - ///A func that allows you to describe the querystring parameters & request specific connection settings. - public ElasticsearchResponse DeleteTemplate(string id, Func requestParameters = null) - where T : class => this.DoRequest(DELETE, Url($"_search/template/{id.NotNull("id")}"), null, _params(requestParameters)); - - ///Represents a DELETE on /_search/template/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html - /// - ///Template ID - ///A func that allows you to describe the querystring parameters & request specific connection settings. - public Task> DeleteTemplateAsync(string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) - where T : class => this.DoRequestAsync(DELETE, Url($"_search/template/{id.NotNull("id")}"), cancellationToken, null, _params(requestParameters)); - + public Task> DeleteScriptAsync(string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) + where T : class => this.DoRequestAsync(DELETE, Url($"_scripts/{id.NotNull("id")}"), cancellationToken, null, _params(requestParameters)); + ///Represents a HEAD on /{index}/{type}/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html /// @@ -1847,13 +1789,13 @@ public ElasticsearchResponse DeleteTemplate(string id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Exists(string index, string type, string id, Func requestParameters = null) where T : class => this.DoRequest(HEAD, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}"), null, _params(requestParameters, allow404: true)); - + ///Represents a HEAD on /{index}/{type}/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html /// @@ -1863,15 +1805,15 @@ public ElasticsearchResponse Exists(string index, string type, string id, ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> ExistsAsync(string index, string type, string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(HEAD, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}"), cancellationToken, null, _params(requestParameters, allow404: true)); - + ///Represents a HEAD on /{index}/{type}/{id}/_source - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/5.5/docs-get.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html /// ///The name of the index ///The type of the document; use `_all` to fetch the first document matching the ID across all types @@ -1879,15 +1821,15 @@ public ElasticsearchResponse Exists(string index, string type, string id, ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse ExistsSource(string index, string type, string id, Func requestParameters = null) where T : class => this.DoRequest(HEAD, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}/_source"), null, _params(requestParameters)); - + ///Represents a HEAD on /{index}/{type}/{id}/_source - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/5.5/docs-get.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html /// ///The name of the index ///The type of the document; use `_all` to fetch the first document matching the ID across all types @@ -1895,13 +1837,13 @@ public ElasticsearchResponse ExistsSource(string index, string type, strin ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> ExistsSourceAsync(string index, string type, string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(HEAD, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}/_source"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/{type}/{id}/_explain - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html /// @@ -1911,13 +1853,13 @@ public ElasticsearchResponse ExistsSource(string index, string type, strin ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse ExplainGet(string index, string type, string id, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}/_explain"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/{type}/{id}/_explain - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html /// @@ -1927,13 +1869,13 @@ public ElasticsearchResponse ExplainGet(string index, string type, string ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> ExplainGetAsync(string index, string type, string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}/_explain"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/{id}/_explain - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html /// @@ -1944,13 +1886,13 @@ public ElasticsearchResponse ExplainGet(string index, string type, string ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Explain(string index, string type, string id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}/_explain"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/{id}/_explain - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html /// @@ -1961,237 +1903,125 @@ public ElasticsearchResponse Explain(string index, string type, string id, ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> ExplainAsync(string index, string type, string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}/_explain"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_field_caps - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/5.5/search-field-caps.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse FieldCapsGet(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_field_caps"), null, _params(requestParameters)); - + ///Represents a GET on /_field_caps - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/5.5/search-field-caps.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> FieldCapsGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_field_caps"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_field_caps - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/5.5/search-field-caps.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse FieldCapsGet(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_field_caps"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_field_caps - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/5.5/search-field-caps.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> FieldCapsGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_field_caps"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_field_caps - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/5.5/search-field-caps.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html /// ///Field json objects containing an array of field names ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse FieldCaps(PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_field_caps"), body, _params(requestParameters)); - + ///Represents a POST on /_field_caps - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/5.5/search-field-caps.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html /// ///Field json objects containing an array of field names ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> FieldCapsAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_field_caps"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/_field_caps - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/5.5/search-field-caps.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///Field json objects containing an array of field names ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse FieldCaps(string index, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_field_caps"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/_field_caps - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/5.5/search-field-caps.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///Field json objects containing an array of field names ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> FieldCapsAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_field_caps"), cancellationToken, body, _params(requestParameters)); - - ///Represents a GET on /_field_stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-stats.html - /// - ///A func that allows you to describe the querystring parameters & request specific connection settings. - public ElasticsearchResponse FieldStatsGet(Func requestParameters = null) - where T : class => this.DoRequest(GET, Url($"_field_stats"), null, _params(requestParameters)); - - ///Represents a GET on /_field_stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-stats.html - /// - ///A func that allows you to describe the querystring parameters & request specific connection settings. - public Task> FieldStatsGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) - where T : class => this.DoRequestAsync(GET, Url($"_field_stats"), cancellationToken, null, _params(requestParameters)); - - ///Represents a GET on /{index}/_field_stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-stats.html - /// - ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices - ///A func that allows you to describe the querystring parameters & request specific connection settings. - public ElasticsearchResponse FieldStatsGet(string index, Func requestParameters = null) - where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_field_stats"), null, _params(requestParameters)); - - ///Represents a GET on /{index}/_field_stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-stats.html - /// - ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices - ///A func that allows you to describe the querystring parameters & request specific connection settings. - public Task> FieldStatsGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) - where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_field_stats"), cancellationToken, null, _params(requestParameters)); - - ///Represents a POST on /_field_stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-stats.html - /// - ///Field json objects containing the name and optionally a range to filter out indices result, that have results outside the defined bounds - ///A func that allows you to describe the querystring parameters & request specific connection settings. - public ElasticsearchResponse FieldStats(PostData body, Func requestParameters = null) - where T : class => this.DoRequest(POST, Url($"_field_stats"), body, _params(requestParameters)); - - ///Represents a POST on /_field_stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-stats.html - /// - ///Field json objects containing the name and optionally a range to filter out indices result, that have results outside the defined bounds - ///A func that allows you to describe the querystring parameters & request specific connection settings. - public Task> FieldStatsAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) - where T : class => this.DoRequestAsync(POST, Url($"_field_stats"), cancellationToken, body, _params(requestParameters)); - - ///Represents a POST on /{index}/_field_stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-stats.html - /// - ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices - ///Field json objects containing the name and optionally a range to filter out indices result, that have results outside the defined bounds - ///A func that allows you to describe the querystring parameters & request specific connection settings. - public ElasticsearchResponse FieldStats(string index, PostData body, Func requestParameters = null) - where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_field_stats"), body, _params(requestParameters)); - - ///Represents a POST on /{index}/_field_stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-stats.html - /// - ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices - ///Field json objects containing the name and optionally a range to filter out indices result, that have results outside the defined bounds - ///A func that allows you to describe the querystring parameters & request specific connection settings. - public Task> FieldStatsAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) - where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_field_stats"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /{index}/{type}/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html /// @@ -2201,13 +2031,13 @@ public ElasticsearchResponse FieldStats(string index, PostData bod ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Get(string index, string type, string id, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}"), null, _params(requestParameters, allow404: true)); - + ///Represents a GET on /{index}/{type}/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html /// @@ -2217,71 +2047,41 @@ public ElasticsearchResponse Get(string index, string type, string id, Fun ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> GetAsync(string index, string type, string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}"), cancellationToken, null, _params(requestParameters, allow404: true)); - - ///Represents a GET on /_scripts/{lang} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html - /// - ///Script language - ///A func that allows you to describe the querystring parameters & request specific connection settings. - public ElasticsearchResponse GetScript(string lang, Func requestParameters = null) - where T : class => this.DoRequest(GET, Url($"_scripts/{lang.NotNull("lang")}"), null, _params(requestParameters)); - - ///Represents a GET on /_scripts/{lang} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html - /// - ///Script language - ///A func that allows you to describe the querystring parameters & request specific connection settings. - public Task> GetScriptAsync(string lang, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) - where T : class => this.DoRequestAsync(GET, Url($"_scripts/{lang.NotNull("lang")}"), cancellationToken, null, _params(requestParameters)); - - ///Represents a GET on /_scripts/{lang}/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + + ///Represents a GET on /_scripts/{id} + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html /// - ///Script language ///Script ID ///A func that allows you to describe the querystring parameters & request specific connection settings. - public ElasticsearchResponse GetScript(string lang, string id, Func requestParameters = null) - where T : class => this.DoRequest(GET, Url($"_scripts/{lang.NotNull("lang")}/{id.NotNull("id")}"), null, _params(requestParameters)); - - ///Represents a GET on /_scripts/{lang}/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + public ElasticsearchResponse GetScript(string id, Func requestParameters = null) + where T : class => this.DoRequest(GET, Url($"_scripts/{id.NotNull("id")}"), null, _params(requestParameters)); + + ///Represents a GET on /_scripts/{id} + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html /// - ///Script language ///Script ID ///A func that allows you to describe the querystring parameters & request specific connection settings. - public Task> GetScriptAsync(string lang, string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) - where T : class => this.DoRequestAsync(GET, Url($"_scripts/{lang.NotNull("lang")}/{id.NotNull("id")}"), cancellationToken, null, _params(requestParameters)); - + public Task> GetScriptAsync(string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) + where T : class => this.DoRequestAsync(GET, Url($"_scripts/{id.NotNull("id")}"), cancellationToken, null, _params(requestParameters)); + ///Represents a GET on /{index}/{type}/{id}/_source - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html /// @@ -2291,13 +2091,13 @@ public ElasticsearchResponse GetScript(string lang, string id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse GetSource(string index, string type, string id, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}/_source"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/{type}/{id}/_source - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html /// @@ -2307,41 +2107,13 @@ public ElasticsearchResponse GetSource(string index, string type, string i ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> GetSourceAsync(string index, string type, string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}/_source"), cancellationToken, null, _params(requestParameters)); - - ///Represents a GET on /_search/template/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html - /// - ///Template ID - ///A func that allows you to describe the querystring parameters & request specific connection settings. - public ElasticsearchResponse GetTemplate(string id, Func requestParameters = null) - where T : class => this.DoRequest(GET, Url($"_search/template/{id.NotNull("id")}"), null, _params(requestParameters)); - - ///Represents a GET on /_search/template/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html - /// - ///Template ID - ///A func that allows you to describe the querystring parameters & request specific connection settings. - public Task> GetTemplateAsync(string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) - where T : class => this.DoRequestAsync(GET, Url($"_search/template/{id.NotNull("id")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /{index}/{type} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html /// @@ -2351,13 +2123,13 @@ public ElasticsearchResponse GetTemplate(string id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Index(string index, string type, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html /// @@ -2367,13 +2139,13 @@ public ElasticsearchResponse Index(string index, string type, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndexAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html /// @@ -2384,13 +2156,13 @@ public ElasticsearchResponse Index(string index, string type, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Index(string index, string type, string id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html /// @@ -2401,13 +2173,13 @@ public ElasticsearchResponse Index(string index, string type, string id, P ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndexAsync(string index, string type, string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a PUT on /{index}/{type} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html /// @@ -2417,13 +2189,13 @@ public ElasticsearchResponse Index(string index, string type, string id, P ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndexPut(string index, string type, PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"{index.NotNull("index")}/{type.NotNull("type")}"), body, _params(requestParameters)); - + ///Represents a PUT on /{index}/{type} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html /// @@ -2433,13 +2205,13 @@ public ElasticsearchResponse IndexPut(string index, string type, PostData< ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndexPutAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"{index.NotNull("index")}/{type.NotNull("type")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a PUT on /{index}/{type}/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html /// @@ -2450,13 +2222,13 @@ public ElasticsearchResponse IndexPut(string index, string type, PostData< ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndexPut(string index, string type, string id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}"), body, _params(requestParameters)); - + ///Represents a PUT on /{index}/{type}/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html /// @@ -2467,39 +2239,39 @@ public ElasticsearchResponse IndexPut(string index, string type, string id ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndexPutAsync(string index, string type, string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_analyze - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesAnalyzeGetForAll(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_analyze"), null, _params(requestParameters)); - + ///Represents a GET on /_analyze - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesAnalyzeGetForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_analyze"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_analyze - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html /// @@ -2507,13 +2279,13 @@ public ElasticsearchResponse IndicesAnalyzeGetForAll(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesAnalyzeGet(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_analyze"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_analyze - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html /// @@ -2521,13 +2293,13 @@ public ElasticsearchResponse IndicesAnalyzeGet(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesAnalyzeGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_analyze"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_analyze - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html /// @@ -2535,13 +2307,13 @@ public ElasticsearchResponse IndicesAnalyzeGet(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesAnalyzeForAll(PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_analyze"), body, _params(requestParameters)); - + ///Represents a POST on /_analyze - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html /// @@ -2549,13 +2321,13 @@ public ElasticsearchResponse IndicesAnalyzeForAll(PostData body, F ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesAnalyzeForAllAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_analyze"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/_analyze - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html /// @@ -2564,13 +2336,13 @@ public ElasticsearchResponse IndicesAnalyzeForAll(PostData body, F ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesAnalyze(string index, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_analyze"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/_analyze - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html /// @@ -2579,39 +2351,39 @@ public ElasticsearchResponse IndicesAnalyze(string index, PostData ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesAnalyzeAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_analyze"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_cache/clear - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesClearCacheForAll(Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_cache/clear"), null, _params(requestParameters)); - + ///Represents a POST on /_cache/clear - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesClearCacheForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_cache/clear"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /{index}/_cache/clear - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html /// @@ -2619,13 +2391,13 @@ public ElasticsearchResponse IndicesClearCacheForAll(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesClearCache(string index, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_cache/clear"), null, _params(requestParameters)); - + ///Represents a POST on /{index}/_cache/clear - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html /// @@ -2633,39 +2405,39 @@ public ElasticsearchResponse IndicesClearCache(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesClearCacheAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_cache/clear"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_cache/clear - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesClearCacheGetForAll(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cache/clear"), null, _params(requestParameters)); - + ///Represents a GET on /_cache/clear - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesClearCacheGetForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cache/clear"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_cache/clear - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html /// @@ -2673,13 +2445,13 @@ public ElasticsearchResponse IndicesClearCacheGetForAll(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesClearCacheGet(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_cache/clear"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_cache/clear - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html /// @@ -2687,13 +2459,13 @@ public ElasticsearchResponse IndicesClearCacheGet(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesClearCacheGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_cache/clear"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /{index}/_close - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html /// @@ -2701,13 +2473,13 @@ public ElasticsearchResponse IndicesClearCacheGet(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesClose(string index, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_close"), null, _params(requestParameters)); - + ///Represents a POST on /{index}/_close - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html /// @@ -2715,13 +2487,13 @@ public ElasticsearchResponse IndicesClose(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesCloseAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_close"), cancellationToken, null, _params(requestParameters)); - + ///Represents a PUT on /{index} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html /// @@ -2730,13 +2502,13 @@ public ElasticsearchResponse IndicesClose(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesCreate(string index, PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"{index.NotNull("index")}"), body, _params(requestParameters)); - + ///Represents a PUT on /{index} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html /// @@ -2745,13 +2517,13 @@ public ElasticsearchResponse IndicesCreate(string index, PostData ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesCreateAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"{index.NotNull("index")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a DELETE on /{index} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html /// @@ -2759,13 +2531,13 @@ public ElasticsearchResponse IndicesCreate(string index, PostData ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesDelete(string index, Func requestParameters = null) where T : class => this.DoRequest(DELETE, Url($"{index.NotNull("index")}"), null, _params(requestParameters)); - + ///Represents a DELETE on /{index} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html /// @@ -2773,13 +2545,13 @@ public ElasticsearchResponse IndicesDelete(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesDeleteAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(DELETE, Url($"{index.NotNull("index")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a DELETE on /{index}/_alias/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -2788,13 +2560,13 @@ public ElasticsearchResponse IndicesDelete(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesDeleteAlias(string index, string name, Func requestParameters = null) where T : class => this.DoRequest(DELETE, Url($"{index.NotNull("index")}/_alias/{name.NotNull("name")}"), null, _params(requestParameters)); - + ///Represents a DELETE on /{index}/_alias/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -2803,13 +2575,13 @@ public ElasticsearchResponse IndicesDeleteAlias(string index, string name, ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesDeleteAliasAsync(string index, string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(DELETE, Url($"{index.NotNull("index")}/_alias/{name.NotNull("name")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a DELETE on /_template/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html /// @@ -2817,13 +2589,13 @@ public ElasticsearchResponse IndicesDeleteAlias(string index, string name, ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesDeleteTemplateForAll(string name, Func requestParameters = null) where T : class => this.DoRequest(DELETE, Url($"_template/{name.NotNull("name")}"), null, _params(requestParameters)); - + ///Represents a DELETE on /_template/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html /// @@ -2831,13 +2603,13 @@ public ElasticsearchResponse IndicesDeleteTemplateForAll(string name, Func ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesDeleteTemplateForAllAsync(string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(DELETE, Url($"_template/{name.NotNull("name")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a HEAD on /{index} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html /// @@ -2845,13 +2617,13 @@ public ElasticsearchResponse IndicesDeleteTemplateForAll(string name, Func ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesExists(string index, Func requestParameters = null) where T : class => this.DoRequest(HEAD, Url($"{index.NotNull("index")}"), null, _params(requestParameters, allow404: true)); - + ///Represents a HEAD on /{index} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html /// @@ -2859,13 +2631,13 @@ public ElasticsearchResponse IndicesExists(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesExistsAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(HEAD, Url($"{index.NotNull("index")}"), cancellationToken, null, _params(requestParameters, allow404: true)); - + ///Represents a HEAD on /_alias/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -2873,13 +2645,13 @@ public ElasticsearchResponse IndicesExists(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesExistsAliasForAll(string name, Func requestParameters = null) where T : class => this.DoRequest(HEAD, Url($"_alias/{name.NotNull("name")}"), null, _params(requestParameters, allow404: true)); - + ///Represents a HEAD on /_alias/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -2887,13 +2659,13 @@ public ElasticsearchResponse IndicesExistsAliasForAll(string name, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesExistsAliasForAllAsync(string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(HEAD, Url($"_alias/{name.NotNull("name")}"), cancellationToken, null, _params(requestParameters, allow404: true)); - + ///Represents a HEAD on /{index}/_alias/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -2902,13 +2674,13 @@ public ElasticsearchResponse IndicesExistsAliasForAll(string name, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesExistsAlias(string index, string name, Func requestParameters = null) where T : class => this.DoRequest(HEAD, Url($"{index.NotNull("index")}/_alias/{name.NotNull("name")}"), null, _params(requestParameters, allow404: true)); - + ///Represents a HEAD on /{index}/_alias/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -2917,13 +2689,13 @@ public ElasticsearchResponse IndicesExistsAlias(string index, string name, ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesExistsAliasAsync(string index, string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(HEAD, Url($"{index.NotNull("index")}/_alias/{name.NotNull("name")}"), cancellationToken, null, _params(requestParameters, allow404: true)); - + ///Represents a HEAD on /_template/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html /// @@ -2931,13 +2703,13 @@ public ElasticsearchResponse IndicesExistsAlias(string index, string name, ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesExistsTemplateForAll(string name, Func requestParameters = null) where T : class => this.DoRequest(HEAD, Url($"_template/{name.NotNull("name")}"), null, _params(requestParameters, allow404: true)); - + ///Represents a HEAD on /_template/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html /// @@ -2945,13 +2717,13 @@ public ElasticsearchResponse IndicesExistsTemplateForAll(string name, Func ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesExistsTemplateForAllAsync(string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(HEAD, Url($"_template/{name.NotNull("name")}"), cancellationToken, null, _params(requestParameters, allow404: true)); - + ///Represents a HEAD on /{index}/_mapping/{type} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-types-exists.html /// @@ -2960,13 +2732,13 @@ public ElasticsearchResponse IndicesExistsTemplateForAll(string name, Func ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesExistsType(string index, string type, Func requestParameters = null) where T : class => this.DoRequest(HEAD, Url($"{index.NotNull("index")}/_mapping/{type.NotNull("type")}"), null, _params(requestParameters, allow404: true)); - + ///Represents a HEAD on /{index}/_mapping/{type} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-types-exists.html /// @@ -2975,39 +2747,39 @@ public ElasticsearchResponse IndicesExistsType(string index, string type, ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesExistsTypeAsync(string index, string type, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(HEAD, Url($"{index.NotNull("index")}/_mapping/{type.NotNull("type")}"), cancellationToken, null, _params(requestParameters, allow404: true)); - + ///Represents a POST on /_flush - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesFlushForAll(Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_flush"), null, _params(requestParameters)); - + ///Represents a POST on /_flush - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesFlushForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_flush"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /{index}/_flush - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html /// @@ -3015,13 +2787,13 @@ public ElasticsearchResponse IndicesFlushForAll(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesFlush(string index, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_flush"), null, _params(requestParameters)); - + ///Represents a POST on /{index}/_flush - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html /// @@ -3029,39 +2801,39 @@ public ElasticsearchResponse IndicesFlush(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesFlushAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_flush"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_flush - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesFlushGetForAll(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_flush"), null, _params(requestParameters)); - + ///Represents a GET on /_flush - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesFlushGetForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_flush"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_flush - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html /// @@ -3069,13 +2841,13 @@ public ElasticsearchResponse IndicesFlushGetForAll(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesFlushGet(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_flush"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_flush - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html /// @@ -3083,39 +2855,39 @@ public ElasticsearchResponse IndicesFlushGet(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesFlushGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_flush"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_flush/synced - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesFlushSyncedForAll(Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_flush/synced"), null, _params(requestParameters)); - + ///Represents a POST on /_flush/synced - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesFlushSyncedForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_flush/synced"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /{index}/_flush/synced - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html /// @@ -3123,13 +2895,13 @@ public ElasticsearchResponse IndicesFlushSyncedForAll(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesFlushSynced(string index, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_flush/synced"), null, _params(requestParameters)); - + ///Represents a POST on /{index}/_flush/synced - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html /// @@ -3137,39 +2909,39 @@ public ElasticsearchResponse IndicesFlushSynced(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesFlushSyncedAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_flush/synced"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_flush/synced - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesFlushSyncedGetForAll(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_flush/synced"), null, _params(requestParameters)); - + ///Represents a GET on /_flush/synced - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesFlushSyncedGetForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_flush/synced"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_flush/synced - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html /// @@ -3177,13 +2949,13 @@ public ElasticsearchResponse IndicesFlushSyncedGetForAll(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesFlushSyncedGet(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_flush/synced"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_flush/synced - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html /// @@ -3191,39 +2963,39 @@ public ElasticsearchResponse IndicesFlushSyncedGet(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesFlushSyncedGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_flush/synced"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_forcemerge - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesForcemergeForAll(Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_forcemerge"), null, _params(requestParameters)); - + ///Represents a POST on /_forcemerge - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesForcemergeForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_forcemerge"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /{index}/_forcemerge - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html /// @@ -3231,13 +3003,13 @@ public ElasticsearchResponse IndicesForcemergeForAll(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesForcemerge(string index, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_forcemerge"), null, _params(requestParameters)); - + ///Represents a POST on /{index}/_forcemerge - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html /// @@ -3245,13 +3017,13 @@ public ElasticsearchResponse IndicesForcemerge(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesForcemergeAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_forcemerge"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html /// @@ -3259,13 +3031,13 @@ public ElasticsearchResponse IndicesForcemerge(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesGet(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}"), null, _params(requestParameters)); - + ///Represents a GET on /{index} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html /// @@ -3273,69 +3045,39 @@ public ElasticsearchResponse IndicesGet(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}"), cancellationToken, null, _params(requestParameters)); - - ///Represents a GET on /{index}/{feature} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html - /// - ///A comma-separated list of index names - ///A comma-separated list of features - ///A func that allows you to describe the querystring parameters & request specific connection settings. - public ElasticsearchResponse IndicesGet(string index, string feature, Func requestParameters = null) - where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/{feature.NotNull("feature")}"), null, _params(requestParameters)); - - ///Represents a GET on /{index}/{feature} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + + ///Represents a GET on /_alias + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html - /// - ///A comma-separated list of index names - ///A comma-separated list of features - ///A func that allows you to describe the querystring parameters & request specific connection settings. - public Task> IndicesGetAsync(string index, string feature, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) - where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/{feature.NotNull("feature")}"), cancellationToken, null, _params(requestParameters)); - - ///Represents a GET on /_alias - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesGetAliasForAll(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_alias"), null, _params(requestParameters)); - + ///Represents a GET on /_alias - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesGetAliasForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_alias"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_alias/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -3343,13 +3085,13 @@ public ElasticsearchResponse IndicesGetAliasForAll(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesGetAliasForAll(string name, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_alias/{name.NotNull("name")}"), null, _params(requestParameters)); - + ///Represents a GET on /_alias/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -3357,13 +3099,13 @@ public ElasticsearchResponse IndicesGetAliasForAll(string name, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesGetAliasForAllAsync(string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_alias/{name.NotNull("name")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_alias/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -3372,13 +3114,13 @@ public ElasticsearchResponse IndicesGetAliasForAll(string name, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesGetAlias(string index, string name, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_alias/{name.NotNull("name")}"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_alias/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -3387,13 +3129,13 @@ public ElasticsearchResponse IndicesGetAlias(string index, string name, Fu ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesGetAliasAsync(string index, string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_alias/{name.NotNull("name")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_alias - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -3401,13 +3143,13 @@ public ElasticsearchResponse IndicesGetAlias(string index, string name, Fu ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesGetAlias(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_alias"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_alias - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -3415,13 +3157,13 @@ public ElasticsearchResponse IndicesGetAlias(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesGetAliasAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_alias"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_mapping/field/{fields} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html /// @@ -3429,13 +3171,13 @@ public ElasticsearchResponse IndicesGetAlias(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesGetFieldMappingForAll(string fields, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_mapping/field/{fields.NotNull("fields")}"), null, _params(requestParameters)); - + ///Represents a GET on /_mapping/field/{fields} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html /// @@ -3443,13 +3185,13 @@ public ElasticsearchResponse IndicesGetFieldMappingForAll(string fields, F ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesGetFieldMappingForAllAsync(string fields, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_mapping/field/{fields.NotNull("fields")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_mapping/field/{fields} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html /// @@ -3458,13 +3200,13 @@ public ElasticsearchResponse IndicesGetFieldMappingForAll(string fields, F ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesGetFieldMapping(string index, string fields, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_mapping/field/{fields.NotNull("fields")}"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_mapping/field/{fields} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html /// @@ -3473,13 +3215,13 @@ public ElasticsearchResponse IndicesGetFieldMapping(string index, string f ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesGetFieldMappingAsync(string index, string fields, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_mapping/field/{fields.NotNull("fields")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_mapping/{type}/field/{fields} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html /// @@ -3488,13 +3230,13 @@ public ElasticsearchResponse IndicesGetFieldMapping(string index, string f ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesGetFieldMappingForAll(string type, string fields, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_mapping/{type.NotNull("type")}/field/{fields.NotNull("fields")}"), null, _params(requestParameters)); - + ///Represents a GET on /_mapping/{type}/field/{fields} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html /// @@ -3503,13 +3245,13 @@ public ElasticsearchResponse IndicesGetFieldMappingForAll(string type, str ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesGetFieldMappingForAllAsync(string type, string fields, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_mapping/{type.NotNull("type")}/field/{fields.NotNull("fields")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_mapping/{type}/field/{fields} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html /// @@ -3519,13 +3261,13 @@ public ElasticsearchResponse IndicesGetFieldMappingForAll(string type, str ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesGetFieldMapping(string index, string type, string fields, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_mapping/{type.NotNull("type")}/field/{fields.NotNull("fields")}"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_mapping/{type}/field/{fields} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html /// @@ -3535,39 +3277,39 @@ public ElasticsearchResponse IndicesGetFieldMapping(string index, string t ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesGetFieldMappingAsync(string index, string type, string fields, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_mapping/{type.NotNull("type")}/field/{fields.NotNull("fields")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_mapping - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesGetMappingForAll(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_mapping"), null, _params(requestParameters)); - + ///Represents a GET on /_mapping - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesGetMappingForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_mapping"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_mapping - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html /// @@ -3575,13 +3317,13 @@ public ElasticsearchResponse IndicesGetMappingForAll(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesGetMapping(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_mapping"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_mapping - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html /// @@ -3589,13 +3331,13 @@ public ElasticsearchResponse IndicesGetMapping(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesGetMappingAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_mapping"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_mapping/{type} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html /// @@ -3603,13 +3345,13 @@ public ElasticsearchResponse IndicesGetMapping(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesGetMappingForAll(string type, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_mapping/{type.NotNull("type")}"), null, _params(requestParameters)); - + ///Represents a GET on /_mapping/{type} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html /// @@ -3617,13 +3359,13 @@ public ElasticsearchResponse IndicesGetMappingForAll(string type, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesGetMappingForAllAsync(string type, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_mapping/{type.NotNull("type")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_mapping/{type} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html /// @@ -3632,13 +3374,13 @@ public ElasticsearchResponse IndicesGetMappingForAll(string type, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesGetMapping(string index, string type, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_mapping/{type.NotNull("type")}"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_mapping/{type} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html /// @@ -3647,39 +3389,39 @@ public ElasticsearchResponse IndicesGetMapping(string index, string type, ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesGetMappingAsync(string index, string type, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_mapping/{type.NotNull("type")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_settings - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesGetSettingsForAll(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_settings"), null, _params(requestParameters)); - + ///Represents a GET on /_settings - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesGetSettingsForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_settings"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_settings - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html /// @@ -3687,13 +3429,13 @@ public ElasticsearchResponse IndicesGetSettingsForAll(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesGetSettings(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_settings"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_settings - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html /// @@ -3701,13 +3443,13 @@ public ElasticsearchResponse IndicesGetSettings(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesGetSettingsAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_settings"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_settings/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html /// @@ -3716,13 +3458,13 @@ public ElasticsearchResponse IndicesGetSettings(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesGetSettings(string index, string name, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_settings/{name.NotNull("name")}"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_settings/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html /// @@ -3731,13 +3473,13 @@ public ElasticsearchResponse IndicesGetSettings(string index, string name, ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesGetSettingsAsync(string index, string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_settings/{name.NotNull("name")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_settings/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html /// @@ -3745,13 +3487,13 @@ public ElasticsearchResponse IndicesGetSettings(string index, string name, ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesGetSettingsForAll(string name, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_settings/{name.NotNull("name")}"), null, _params(requestParameters)); - + ///Represents a GET on /_settings/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html /// @@ -3759,39 +3501,39 @@ public ElasticsearchResponse IndicesGetSettingsForAll(string name, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesGetSettingsForAllAsync(string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_settings/{name.NotNull("name")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesGetTemplateForAll(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_template"), null, _params(requestParameters)); - + ///Represents a GET on /_template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesGetTemplateForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_template"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_template/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html /// @@ -3799,13 +3541,13 @@ public ElasticsearchResponse IndicesGetTemplateForAll(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesGetTemplateForAll(string name, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_template/{name.NotNull("name")}"), null, _params(requestParameters)); - + ///Represents a GET on /_template/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html /// @@ -3813,39 +3555,39 @@ public ElasticsearchResponse IndicesGetTemplateForAll(string name, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesGetTemplateForAllAsync(string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_template/{name.NotNull("name")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_upgrade - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesGetUpgradeForAll(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_upgrade"), null, _params(requestParameters)); - + ///Represents a GET on /_upgrade - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesGetUpgradeForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_upgrade"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_upgrade - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html /// @@ -3853,13 +3595,13 @@ public ElasticsearchResponse IndicesGetUpgradeForAll(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesGetUpgrade(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_upgrade"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_upgrade - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html /// @@ -3867,13 +3609,13 @@ public ElasticsearchResponse IndicesGetUpgrade(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesGetUpgradeAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_upgrade"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /{index}/_open - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html /// @@ -3881,13 +3623,13 @@ public ElasticsearchResponse IndicesGetUpgrade(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesOpen(string index, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_open"), null, _params(requestParameters)); - + ///Represents a POST on /{index}/_open - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html /// @@ -3895,13 +3637,13 @@ public ElasticsearchResponse IndicesOpen(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesOpenAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_open"), cancellationToken, null, _params(requestParameters)); - + ///Represents a PUT on /{index}/_alias/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -3911,13 +3653,13 @@ public ElasticsearchResponse IndicesOpen(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesPutAlias(string index, string name, PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"{index.NotNull("index")}/_alias/{name.NotNull("name")}"), body, _params(requestParameters)); - + ///Represents a PUT on /{index}/_alias/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -3927,13 +3669,13 @@ public ElasticsearchResponse IndicesPutAlias(string index, string name, Po ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesPutAliasAsync(string index, string name, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"{index.NotNull("index")}/_alias/{name.NotNull("name")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/_alias/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -3943,13 +3685,13 @@ public ElasticsearchResponse IndicesPutAlias(string index, string name, Po ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesPutAliasPost(string index, string name, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_alias/{name.NotNull("name")}"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/_alias/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -3959,13 +3701,13 @@ public ElasticsearchResponse IndicesPutAliasPost(string index, string name ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesPutAliasPostAsync(string index, string name, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_alias/{name.NotNull("name")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a PUT on /{index}/{type}/_mapping - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html /// @@ -3975,13 +3717,13 @@ public ElasticsearchResponse IndicesPutAliasPost(string index, string name ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesPutMapping(string index, string type, PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_mapping"), body, _params(requestParameters)); - + ///Represents a PUT on /{index}/{type}/_mapping - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html /// @@ -3991,13 +3733,13 @@ public ElasticsearchResponse IndicesPutMapping(string index, string type, ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesPutMappingAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_mapping"), cancellationToken, body, _params(requestParameters)); - + ///Represents a PUT on /_mapping/{type} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html /// @@ -4006,13 +3748,13 @@ public ElasticsearchResponse IndicesPutMapping(string index, string type, ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesPutMappingForAll(string type, PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"_mapping/{type.NotNull("type")}"), body, _params(requestParameters)); - + ///Represents a PUT on /_mapping/{type} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html /// @@ -4021,13 +3763,13 @@ public ElasticsearchResponse IndicesPutMappingForAll(string type, PostData ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesPutMappingForAllAsync(string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"_mapping/{type.NotNull("type")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/_mapping - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html /// @@ -4037,13 +3779,13 @@ public ElasticsearchResponse IndicesPutMappingForAll(string type, PostData ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesPutMappingPost(string index, string type, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_mapping"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/_mapping - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html /// @@ -4053,13 +3795,13 @@ public ElasticsearchResponse IndicesPutMappingPost(string index, string ty ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesPutMappingPostAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_mapping"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_mapping/{type} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html /// @@ -4068,13 +3810,13 @@ public ElasticsearchResponse IndicesPutMappingPost(string index, string ty ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesPutMappingPostForAll(string type, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_mapping/{type.NotNull("type")}"), body, _params(requestParameters)); - + ///Represents a POST on /_mapping/{type} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html /// @@ -4083,13 +3825,13 @@ public ElasticsearchResponse IndicesPutMappingPostForAll(string type, Post ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesPutMappingPostForAllAsync(string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_mapping/{type.NotNull("type")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a PUT on /_settings - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html /// @@ -4097,13 +3839,13 @@ public ElasticsearchResponse IndicesPutMappingPostForAll(string type, Post ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesPutSettingsForAll(PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"_settings"), body, _params(requestParameters)); - + ///Represents a PUT on /_settings - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html /// @@ -4111,13 +3853,13 @@ public ElasticsearchResponse IndicesPutSettingsForAll(PostData bod ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesPutSettingsForAllAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"_settings"), cancellationToken, body, _params(requestParameters)); - + ///Represents a PUT on /{index}/_settings - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html /// @@ -4126,13 +3868,13 @@ public ElasticsearchResponse IndicesPutSettingsForAll(PostData bod ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesPutSettings(string index, PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"{index.NotNull("index")}/_settings"), body, _params(requestParameters)); - + ///Represents a PUT on /{index}/_settings - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html /// @@ -4141,13 +3883,13 @@ public ElasticsearchResponse IndicesPutSettings(string index, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesPutSettingsAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"{index.NotNull("index")}/_settings"), cancellationToken, body, _params(requestParameters)); - + ///Represents a PUT on /_template/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html /// @@ -4156,13 +3898,13 @@ public ElasticsearchResponse IndicesPutSettings(string index, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesPutTemplateForAll(string name, PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"_template/{name.NotNull("name")}"), body, _params(requestParameters)); - + ///Represents a PUT on /_template/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html /// @@ -4171,13 +3913,13 @@ public ElasticsearchResponse IndicesPutTemplateForAll(string name, PostDat ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesPutTemplateForAllAsync(string name, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"_template/{name.NotNull("name")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_template/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html /// @@ -4186,13 +3928,13 @@ public ElasticsearchResponse IndicesPutTemplateForAll(string name, PostDat ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesPutTemplatePostForAll(string name, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_template/{name.NotNull("name")}"), body, _params(requestParameters)); - + ///Represents a POST on /_template/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html /// @@ -4201,39 +3943,39 @@ public ElasticsearchResponse IndicesPutTemplatePostForAll(string name, Pos ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesPutTemplatePostForAllAsync(string name, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_template/{name.NotNull("name")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_recovery - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesRecoveryForAll(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_recovery"), null, _params(requestParameters)); - + ///Represents a GET on /_recovery - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesRecoveryForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_recovery"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_recovery - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html /// @@ -4241,13 +3983,13 @@ public ElasticsearchResponse IndicesRecoveryForAll(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesRecovery(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_recovery"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_recovery - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html /// @@ -4255,39 +3997,39 @@ public ElasticsearchResponse IndicesRecovery(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesRecoveryAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_recovery"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_refresh - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesRefreshForAll(Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_refresh"), null, _params(requestParameters)); - + ///Represents a POST on /_refresh - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesRefreshForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_refresh"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /{index}/_refresh - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html /// @@ -4295,13 +4037,13 @@ public ElasticsearchResponse IndicesRefreshForAll(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesRefresh(string index, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_refresh"), null, _params(requestParameters)); - + ///Represents a POST on /{index}/_refresh - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html /// @@ -4309,39 +4051,39 @@ public ElasticsearchResponse IndicesRefresh(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesRefreshAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_refresh"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_refresh - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesRefreshGetForAll(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_refresh"), null, _params(requestParameters)); - + ///Represents a GET on /_refresh - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesRefreshGetForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_refresh"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_refresh - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html /// @@ -4349,13 +4091,13 @@ public ElasticsearchResponse IndicesRefreshGetForAll(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesRefreshGet(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_refresh"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_refresh - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html /// @@ -4363,13 +4105,13 @@ public ElasticsearchResponse IndicesRefreshGet(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesRefreshGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_refresh"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /{alias}/_rollover - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html /// @@ -4378,13 +4120,13 @@ public ElasticsearchResponse IndicesRefreshGet(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesRolloverForAll(string alias, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{alias.NotNull("alias")}/_rollover"), body, _params(requestParameters)); - + ///Represents a POST on /{alias}/_rollover - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html /// @@ -4393,13 +4135,13 @@ public ElasticsearchResponse IndicesRolloverForAll(string alias, PostData< ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesRolloverForAllAsync(string alias, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{alias.NotNull("alias")}/_rollover"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{alias}/_rollover/{new_index} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html /// @@ -4409,13 +4151,13 @@ public ElasticsearchResponse IndicesRolloverForAll(string alias, PostData< ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesRolloverForAll(string alias, string new_index, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{alias.NotNull("alias")}/_rollover/{new_index.NotNull("new_index")}"), body, _params(requestParameters)); - + ///Represents a POST on /{alias}/_rollover/{new_index} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html /// @@ -4425,39 +4167,39 @@ public ElasticsearchResponse IndicesRolloverForAll(string alias, string ne ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesRolloverForAllAsync(string alias, string new_index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{alias.NotNull("alias")}/_rollover/{new_index.NotNull("new_index")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_segments - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesSegmentsForAll(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_segments"), null, _params(requestParameters)); - + ///Represents a GET on /_segments - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesSegmentsForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_segments"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_segments - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html /// @@ -4465,13 +4207,13 @@ public ElasticsearchResponse IndicesSegmentsForAll(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesSegments(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_segments"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_segments - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html /// @@ -4479,39 +4221,39 @@ public ElasticsearchResponse IndicesSegments(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesSegmentsAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_segments"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_shard_stores - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesShardStoresForAll(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_shard_stores"), null, _params(requestParameters)); - + ///Represents a GET on /_shard_stores - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesShardStoresForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_shard_stores"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_shard_stores - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html /// @@ -4519,13 +4261,13 @@ public ElasticsearchResponse IndicesShardStoresForAll(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesShardStores(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_shard_stores"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_shard_stores - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html /// @@ -4533,13 +4275,13 @@ public ElasticsearchResponse IndicesShardStores(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesShardStoresAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_shard_stores"), cancellationToken, null, _params(requestParameters)); - + ///Represents a PUT on /{index}/_shrink/{target} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html /// @@ -4549,13 +4291,13 @@ public ElasticsearchResponse IndicesShardStores(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesShrink(string index, string target, PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"{index.NotNull("index")}/_shrink/{target.NotNull("target")}"), body, _params(requestParameters)); - + ///Represents a PUT on /{index}/_shrink/{target} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html /// @@ -4565,13 +4307,13 @@ public ElasticsearchResponse IndicesShrink(string index, string target, Po ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesShrinkAsync(string index, string target, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"{index.NotNull("index")}/_shrink/{target.NotNull("target")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/_shrink/{target} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html /// @@ -4581,13 +4323,13 @@ public ElasticsearchResponse IndicesShrink(string index, string target, Po ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesShrinkPost(string index, string target, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_shrink/{target.NotNull("target")}"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/_shrink/{target} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html /// @@ -4597,39 +4339,39 @@ public ElasticsearchResponse IndicesShrinkPost(string index, string target ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesShrinkPostAsync(string index, string target, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_shrink/{target.NotNull("target")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesStatsForAll(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_stats"), null, _params(requestParameters)); - + ///Represents a GET on /_stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesStatsForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_stats"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_stats/{metric} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html /// @@ -4637,13 +4379,13 @@ public ElasticsearchResponse IndicesStatsForAll(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesStatsForAll(string metric, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_stats/{metric.NotNull("metric")}"), null, _params(requestParameters)); - + ///Represents a GET on /_stats/{metric} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html /// @@ -4651,13 +4393,13 @@ public ElasticsearchResponse IndicesStatsForAll(string metric, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesStatsForAllAsync(string metric, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_stats/{metric.NotNull("metric")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html /// @@ -4665,13 +4407,13 @@ public ElasticsearchResponse IndicesStatsForAll(string metric, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesStats(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_stats"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html /// @@ -4679,13 +4421,13 @@ public ElasticsearchResponse IndicesStats(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesStatsAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_stats"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_stats/{metric} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html /// @@ -4694,13 +4436,13 @@ public ElasticsearchResponse IndicesStats(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesStats(string index, string metric, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_stats/{metric.NotNull("metric")}"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_stats/{metric} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html /// @@ -4709,13 +4451,13 @@ public ElasticsearchResponse IndicesStats(string index, string metric, Fun ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesStatsAsync(string index, string metric, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_stats/{metric.NotNull("metric")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_aliases - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -4723,13 +4465,13 @@ public ElasticsearchResponse IndicesStats(string index, string metric, Fun ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesUpdateAliasesForAll(PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_aliases"), body, _params(requestParameters)); - + ///Represents a POST on /_aliases - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -4737,39 +4479,39 @@ public ElasticsearchResponse IndicesUpdateAliasesForAll(PostData b ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesUpdateAliasesForAllAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_aliases"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_upgrade - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesUpgradeForAll(Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_upgrade"), null, _params(requestParameters)); - + ///Represents a POST on /_upgrade - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesUpgradeForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_upgrade"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /{index}/_upgrade - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html /// @@ -4777,13 +4519,13 @@ public ElasticsearchResponse IndicesUpgradeForAll(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesUpgrade(string index, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_upgrade"), null, _params(requestParameters)); - + ///Represents a POST on /{index}/_upgrade - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html /// @@ -4791,39 +4533,39 @@ public ElasticsearchResponse IndicesUpgrade(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesUpgradeAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_upgrade"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_validate/query - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesValidateQueryGetForAll(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_validate/query"), null, _params(requestParameters)); - + ///Represents a GET on /_validate/query - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesValidateQueryGetForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_validate/query"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_validate/query - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html /// @@ -4831,13 +4573,13 @@ public ElasticsearchResponse IndicesValidateQueryGetForAll(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesValidateQueryGet(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_validate/query"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_validate/query - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html /// @@ -4845,13 +4587,13 @@ public ElasticsearchResponse IndicesValidateQueryGet(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesValidateQueryGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_validate/query"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/{type}/_validate/query - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html /// @@ -4860,13 +4602,13 @@ public ElasticsearchResponse IndicesValidateQueryGet(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesValidateQueryGet(string index, string type, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_validate/query"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/{type}/_validate/query - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html /// @@ -4875,13 +4617,13 @@ public ElasticsearchResponse IndicesValidateQueryGet(string index, string ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesValidateQueryGetAsync(string index, string type, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_validate/query"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_validate/query - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html /// @@ -4889,13 +4631,13 @@ public ElasticsearchResponse IndicesValidateQueryGet(string index, string ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesValidateQueryForAll(PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_validate/query"), body, _params(requestParameters)); - + ///Represents a POST on /_validate/query - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html /// @@ -4903,13 +4645,13 @@ public ElasticsearchResponse IndicesValidateQueryForAll(PostData b ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesValidateQueryForAllAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_validate/query"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/_validate/query - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html /// @@ -4918,13 +4660,13 @@ public ElasticsearchResponse IndicesValidateQueryForAll(PostData b ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesValidateQuery(string index, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_validate/query"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/_validate/query - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html /// @@ -4933,13 +4675,13 @@ public ElasticsearchResponse IndicesValidateQuery(string index, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesValidateQueryAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_validate/query"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/_validate/query - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html /// @@ -4949,13 +4691,13 @@ public ElasticsearchResponse IndicesValidateQuery(string index, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IndicesValidateQuery(string index, string type, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_validate/query"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/_validate/query - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html /// @@ -4965,39 +4707,39 @@ public ElasticsearchResponse IndicesValidateQuery(string index, string typ ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IndicesValidateQueryAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_validate/query"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on / - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/ /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Info(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($""), null, _params(requestParameters)); - + ///Represents a GET on / - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/ /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> InfoAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($""), cancellationToken, null, _params(requestParameters)); - + ///Represents a DELETE on /_ingest/pipeline/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// @@ -5005,13 +4747,13 @@ public ElasticsearchResponse Info(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IngestDeletePipeline(string id, Func requestParameters = null) where T : class => this.DoRequest(DELETE, Url($"_ingest/pipeline/{id.NotNull("id")}"), null, _params(requestParameters)); - + ///Represents a DELETE on /_ingest/pipeline/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// @@ -5019,39 +4761,39 @@ public ElasticsearchResponse IngestDeletePipeline(string id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IngestDeletePipelineAsync(string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(DELETE, Url($"_ingest/pipeline/{id.NotNull("id")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_ingest/pipeline - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IngestGetPipeline(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_ingest/pipeline"), null, _params(requestParameters)); - + ///Represents a GET on /_ingest/pipeline - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IngestGetPipelineAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_ingest/pipeline"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_ingest/pipeline/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// @@ -5059,13 +4801,13 @@ public ElasticsearchResponse IngestGetPipeline(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IngestGetPipeline(string id, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_ingest/pipeline/{id.NotNull("id")}"), null, _params(requestParameters)); - + ///Represents a GET on /_ingest/pipeline/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// @@ -5073,13 +4815,39 @@ public ElasticsearchResponse IngestGetPipeline(string id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IngestGetPipelineAsync(string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_ingest/pipeline/{id.NotNull("id")}"), cancellationToken, null, _params(requestParameters)); - + + ///Represents a GET on /_ingest/processor/grok + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed + /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth + ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html + /// + ///A func that allows you to describe the querystring parameters & request specific connection settings. + public ElasticsearchResponse IngestProcessorGrok(Func requestParameters = null) + where T : class => this.DoRequest(GET, Url($"_ingest/processor/grok"), null, _params(requestParameters)); + + ///Represents a GET on /_ingest/processor/grok + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed + /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth + ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html + /// + ///A func that allows you to describe the querystring parameters & request specific connection settings. + public Task> IngestProcessorGrokAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) + where T : class => this.DoRequestAsync(GET, Url($"_ingest/processor/grok"), cancellationToken, null, _params(requestParameters)); + ///Represents a PUT on /_ingest/pipeline/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// @@ -5088,13 +4856,13 @@ public ElasticsearchResponse IngestGetPipeline(string id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IngestPutPipeline(string id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"_ingest/pipeline/{id.NotNull("id")}"), body, _params(requestParameters)); - + ///Represents a PUT on /_ingest/pipeline/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// @@ -5103,39 +4871,39 @@ public ElasticsearchResponse IngestPutPipeline(string id, PostData ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IngestPutPipelineAsync(string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"_ingest/pipeline/{id.NotNull("id")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_ingest/pipeline/_simulate - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IngestSimulateGet(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_ingest/pipeline/_simulate"), null, _params(requestParameters)); - + ///Represents a GET on /_ingest/pipeline/_simulate - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IngestSimulateGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_ingest/pipeline/_simulate"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_ingest/pipeline/{id}/_simulate - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// @@ -5143,13 +4911,13 @@ public ElasticsearchResponse IngestSimulateGet(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IngestSimulateGet(string id, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_ingest/pipeline/{id.NotNull("id")}/_simulate"), null, _params(requestParameters)); - + ///Represents a GET on /_ingest/pipeline/{id}/_simulate - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// @@ -5157,13 +4925,13 @@ public ElasticsearchResponse IngestSimulateGet(string id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IngestSimulateGetAsync(string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_ingest/pipeline/{id.NotNull("id")}/_simulate"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_ingest/pipeline/_simulate - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// @@ -5171,13 +4939,13 @@ public ElasticsearchResponse IngestSimulateGet(string id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IngestSimulate(PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_ingest/pipeline/_simulate"), body, _params(requestParameters)); - + ///Represents a POST on /_ingest/pipeline/_simulate - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// @@ -5185,13 +4953,13 @@ public ElasticsearchResponse IngestSimulate(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> IngestSimulateAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_ingest/pipeline/_simulate"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_ingest/pipeline/{id}/_simulate - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// @@ -5200,13 +4968,13 @@ public ElasticsearchResponse IngestSimulate(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse IngestSimulate(string id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_ingest/pipeline/{id.NotNull("id")}/_simulate"), body, _params(requestParameters)); - + ///Represents a POST on /_ingest/pipeline/{id}/_simulate - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// @@ -5215,39 +4983,39 @@ public ElasticsearchResponse IngestSimulate(string id, PostData bo ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> IngestSimulateAsync(string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_ingest/pipeline/{id.NotNull("id")}/_simulate"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_mget - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse MgetGet(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_mget"), null, _params(requestParameters)); - + ///Represents a GET on /_mget - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> MgetGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_mget"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_mget - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html /// @@ -5255,13 +5023,13 @@ public ElasticsearchResponse MgetGet(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse MgetGet(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_mget"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_mget - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html /// @@ -5269,13 +5037,13 @@ public ElasticsearchResponse MgetGet(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> MgetGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_mget"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/{type}/_mget - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html /// @@ -5284,13 +5052,13 @@ public ElasticsearchResponse MgetGet(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse MgetGet(string index, string type, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_mget"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/{type}/_mget - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html /// @@ -5299,13 +5067,13 @@ public ElasticsearchResponse MgetGet(string index, string type, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> MgetGetAsync(string index, string type, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_mget"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_mget - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html /// @@ -5313,13 +5081,13 @@ public ElasticsearchResponse MgetGet(string index, string type, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Mget(PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_mget"), body, _params(requestParameters)); - + ///Represents a POST on /_mget - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html /// @@ -5327,13 +5095,13 @@ public ElasticsearchResponse Mget(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> MgetAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_mget"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/_mget - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html /// @@ -5342,13 +5110,13 @@ public ElasticsearchResponse Mget(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Mget(string index, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_mget"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/_mget - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html /// @@ -5357,13 +5125,13 @@ public ElasticsearchResponse Mget(string index, PostData body, Fun ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> MgetAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_mget"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/_mget - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html /// @@ -5373,13 +5141,13 @@ public ElasticsearchResponse Mget(string index, PostData body, Fun ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Mget(string index, string type, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_mget"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/_mget - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html /// @@ -5389,39 +5157,39 @@ public ElasticsearchResponse Mget(string index, string type, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public Task> MgetAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_mget"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_msearch - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse MsearchGet(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_msearch"), null, _params(requestParameters)); - + ///Represents a GET on /_msearch - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> MsearchGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_msearch"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_msearch - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html /// @@ -5429,13 +5197,13 @@ public ElasticsearchResponse MsearchGet(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse MsearchGet(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_msearch"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_msearch - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html /// @@ -5443,13 +5211,13 @@ public ElasticsearchResponse MsearchGet(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> MsearchGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_msearch"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/{type}/_msearch - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html /// @@ -5458,13 +5226,13 @@ public ElasticsearchResponse MsearchGet(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse MsearchGet(string index, string type, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_msearch"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/{type}/_msearch - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html /// @@ -5473,13 +5241,13 @@ public ElasticsearchResponse MsearchGet(string index, string type, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> MsearchGetAsync(string index, string type, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_msearch"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_msearch - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html /// @@ -5487,13 +5255,13 @@ public ElasticsearchResponse MsearchGet(string index, string type, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Msearch(PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_msearch"), body, _params(requestParameters)); - + ///Represents a POST on /_msearch - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html /// @@ -5501,13 +5269,13 @@ public ElasticsearchResponse Msearch(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> MsearchAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_msearch"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/_msearch - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html /// @@ -5516,13 +5284,13 @@ public ElasticsearchResponse Msearch(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Msearch(string index, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_msearch"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/_msearch - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html /// @@ -5531,13 +5299,13 @@ public ElasticsearchResponse Msearch(string index, PostData body, ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> MsearchAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_msearch"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/_msearch - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html /// @@ -5547,13 +5315,13 @@ public ElasticsearchResponse Msearch(string index, PostData body, ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Msearch(string index, string type, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_msearch"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/_msearch - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html /// @@ -5563,39 +5331,39 @@ public ElasticsearchResponse Msearch(string index, string type, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public Task> MsearchAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_msearch"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_msearch/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse MsearchTemplateGet(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_msearch/template"), null, _params(requestParameters)); - + ///Represents a GET on /_msearch/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> MsearchTemplateGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_msearch/template"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_msearch/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html /// @@ -5603,13 +5371,13 @@ public ElasticsearchResponse MsearchTemplateGet(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse MsearchTemplateGet(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_msearch/template"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_msearch/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html /// @@ -5617,13 +5385,13 @@ public ElasticsearchResponse MsearchTemplateGet(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> MsearchTemplateGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_msearch/template"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/{type}/_msearch/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html /// @@ -5632,13 +5400,13 @@ public ElasticsearchResponse MsearchTemplateGet(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse MsearchTemplateGet(string index, string type, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_msearch/template"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/{type}/_msearch/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html /// @@ -5647,13 +5415,13 @@ public ElasticsearchResponse MsearchTemplateGet(string index, string type, ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> MsearchTemplateGetAsync(string index, string type, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_msearch/template"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_msearch/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html /// @@ -5661,13 +5429,13 @@ public ElasticsearchResponse MsearchTemplateGet(string index, string type, ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse MsearchTemplate(PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_msearch/template"), body, _params(requestParameters)); - + ///Represents a POST on /_msearch/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html /// @@ -5675,13 +5443,13 @@ public ElasticsearchResponse MsearchTemplate(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> MsearchTemplateAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_msearch/template"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/_msearch/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html /// @@ -5690,13 +5458,13 @@ public ElasticsearchResponse MsearchTemplate(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse MsearchTemplate(string index, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_msearch/template"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/_msearch/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html /// @@ -5705,13 +5473,13 @@ public ElasticsearchResponse MsearchTemplate(string index, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public Task> MsearchTemplateAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_msearch/template"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/_msearch/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html /// @@ -5721,13 +5489,13 @@ public ElasticsearchResponse MsearchTemplate(string index, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse MsearchTemplate(string index, string type, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_msearch/template"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/_msearch/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html /// @@ -5737,39 +5505,39 @@ public ElasticsearchResponse MsearchTemplate(string index, string type, Po ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> MsearchTemplateAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_msearch/template"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_mtermvectors - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse MtermvectorsGet(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_mtermvectors"), null, _params(requestParameters)); - + ///Represents a GET on /_mtermvectors - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> MtermvectorsGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_mtermvectors"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_mtermvectors - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html /// @@ -5777,13 +5545,13 @@ public ElasticsearchResponse MtermvectorsGet(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse MtermvectorsGet(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_mtermvectors"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_mtermvectors - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html /// @@ -5791,13 +5559,13 @@ public ElasticsearchResponse MtermvectorsGet(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> MtermvectorsGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_mtermvectors"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/{type}/_mtermvectors - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html /// @@ -5806,13 +5574,13 @@ public ElasticsearchResponse MtermvectorsGet(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse MtermvectorsGet(string index, string type, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_mtermvectors"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/{type}/_mtermvectors - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html /// @@ -5821,13 +5589,13 @@ public ElasticsearchResponse MtermvectorsGet(string index, string type, Fu ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> MtermvectorsGetAsync(string index, string type, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_mtermvectors"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_mtermvectors - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html /// @@ -5835,13 +5603,13 @@ public ElasticsearchResponse MtermvectorsGet(string index, string type, Fu ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Mtermvectors(PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_mtermvectors"), body, _params(requestParameters)); - + ///Represents a POST on /_mtermvectors - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html /// @@ -5849,13 +5617,13 @@ public ElasticsearchResponse Mtermvectors(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> MtermvectorsAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_mtermvectors"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/_mtermvectors - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html /// @@ -5864,13 +5632,13 @@ public ElasticsearchResponse Mtermvectors(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Mtermvectors(string index, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_mtermvectors"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/_mtermvectors - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html /// @@ -5879,13 +5647,13 @@ public ElasticsearchResponse Mtermvectors(string index, PostData b ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> MtermvectorsAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_mtermvectors"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/_mtermvectors - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html /// @@ -5895,13 +5663,13 @@ public ElasticsearchResponse Mtermvectors(string index, PostData b ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Mtermvectors(string index, string type, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_mtermvectors"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/_mtermvectors - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html /// @@ -5911,39 +5679,39 @@ public ElasticsearchResponse Mtermvectors(string index, string type, PostD ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> MtermvectorsAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_mtermvectors"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_cluster/nodes/hotthreads - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse NodesHotThreadsForAll(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cluster/nodes/hotthreads"), null, _params(requestParameters)); - + ///Represents a GET on /_cluster/nodes/hotthreads - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> NodesHotThreadsForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cluster/nodes/hotthreads"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_cluster/nodes/{node_id}/hotthreads - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html /// @@ -5951,13 +5719,13 @@ public ElasticsearchResponse NodesHotThreadsForAll(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse NodesHotThreads(string node_id, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_cluster/nodes/{node_id.NotNull("node_id")}/hotthreads"), null, _params(requestParameters)); - + ///Represents a GET on /_cluster/nodes/{node_id}/hotthreads - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html /// @@ -5965,39 +5733,39 @@ public ElasticsearchResponse NodesHotThreads(string node_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> NodesHotThreadsAsync(string node_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_cluster/nodes/{node_id.NotNull("node_id")}/hotthreads"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_nodes - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse NodesInfoForAll(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_nodes"), null, _params(requestParameters)); - + ///Represents a GET on /_nodes - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> NodesInfoForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_nodes"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_nodes/{node_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html /// @@ -6005,13 +5773,13 @@ public ElasticsearchResponse NodesInfoForAll(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse NodesInfo(string node_id, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_nodes/{node_id.NotNull("node_id")}"), null, _params(requestParameters)); - + ///Represents a GET on /_nodes/{node_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html /// @@ -6019,13 +5787,13 @@ public ElasticsearchResponse NodesInfo(string node_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> NodesInfoAsync(string node_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_nodes/{node_id.NotNull("node_id")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_nodes/{metric} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html /// @@ -6033,13 +5801,13 @@ public ElasticsearchResponse NodesInfo(string node_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse NodesInfoForAll(string metric, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_nodes/{metric.NotNull("metric")}"), null, _params(requestParameters)); - + ///Represents a GET on /_nodes/{metric} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html /// @@ -6047,13 +5815,13 @@ public ElasticsearchResponse NodesInfoForAll(string metric, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> NodesInfoForAllAsync(string metric, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_nodes/{metric.NotNull("metric")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_nodes/{node_id}/{metric} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html /// @@ -6062,13 +5830,13 @@ public ElasticsearchResponse NodesInfoForAll(string metric, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse NodesInfo(string node_id, string metric, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_nodes/{node_id.NotNull("node_id")}/{metric.NotNull("metric")}"), null, _params(requestParameters)); - + ///Represents a GET on /_nodes/{node_id}/{metric} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html /// @@ -6077,39 +5845,39 @@ public ElasticsearchResponse NodesInfo(string node_id, string metric, Func ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> NodesInfoAsync(string node_id, string metric, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_nodes/{node_id.NotNull("node_id")}/{metric.NotNull("metric")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_nodes/stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse NodesStatsForAll(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_nodes/stats"), null, _params(requestParameters)); - + ///Represents a GET on /_nodes/stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> NodesStatsForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_nodes/stats"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_nodes/{node_id}/stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html /// @@ -6117,13 +5885,13 @@ public ElasticsearchResponse NodesStatsForAll(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse NodesStats(string node_id, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_nodes/{node_id.NotNull("node_id")}/stats"), null, _params(requestParameters)); - + ///Represents a GET on /_nodes/{node_id}/stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html /// @@ -6131,13 +5899,13 @@ public ElasticsearchResponse NodesStats(string node_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> NodesStatsAsync(string node_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_nodes/{node_id.NotNull("node_id")}/stats"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_nodes/stats/{metric} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html /// @@ -6145,13 +5913,13 @@ public ElasticsearchResponse NodesStats(string node_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse NodesStatsForAll(string metric, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_nodes/stats/{metric.NotNull("metric")}"), null, _params(requestParameters)); - + ///Represents a GET on /_nodes/stats/{metric} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html /// @@ -6159,13 +5927,13 @@ public ElasticsearchResponse NodesStatsForAll(string metric, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> NodesStatsForAllAsync(string metric, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_nodes/stats/{metric.NotNull("metric")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_nodes/{node_id}/stats/{metric} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html /// @@ -6174,13 +5942,13 @@ public ElasticsearchResponse NodesStatsForAll(string metric, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse NodesStats(string node_id, string metric, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_nodes/{node_id.NotNull("node_id")}/stats/{metric.NotNull("metric")}"), null, _params(requestParameters)); - + ///Represents a GET on /_nodes/{node_id}/stats/{metric} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html /// @@ -6189,13 +5957,13 @@ public ElasticsearchResponse NodesStats(string node_id, string metric, Fun ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> NodesStatsAsync(string node_id, string metric, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_nodes/{node_id.NotNull("node_id")}/stats/{metric.NotNull("metric")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_nodes/stats/{metric}/{index_metric} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html /// @@ -6204,13 +5972,13 @@ public ElasticsearchResponse NodesStats(string node_id, string metric, Fun ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse NodesStatsForAll(string metric, string index_metric, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_nodes/stats/{metric.NotNull("metric")}/{index_metric.NotNull("index_metric")}"), null, _params(requestParameters)); - + ///Represents a GET on /_nodes/stats/{metric}/{index_metric} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html /// @@ -6219,13 +5987,13 @@ public ElasticsearchResponse NodesStatsForAll(string metric, string index_ ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> NodesStatsForAllAsync(string metric, string index_metric, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_nodes/stats/{metric.NotNull("metric")}/{index_metric.NotNull("index_metric")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_nodes/{node_id}/stats/{metric}/{index_metric} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html /// @@ -6235,13 +6003,13 @@ public ElasticsearchResponse NodesStatsForAll(string metric, string index_ ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse NodesStats(string node_id, string metric, string index_metric, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_nodes/{node_id.NotNull("node_id")}/stats/{metric.NotNull("metric")}/{index_metric.NotNull("index_metric")}"), null, _params(requestParameters)); - + ///Represents a GET on /_nodes/{node_id}/stats/{metric}/{index_metric} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html /// @@ -6251,223 +6019,211 @@ public ElasticsearchResponse NodesStats(string node_id, string metric, str ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> NodesStatsAsync(string node_id, string metric, string index_metric, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_nodes/{node_id.NotNull("node_id")}/stats/{metric.NotNull("metric")}/{index_metric.NotNull("index_metric")}"), cancellationToken, null, _params(requestParameters)); - - ///Represents a HEAD on / - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + + ///Represents a GET on /_nodes/usage + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/ + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. - public ElasticsearchResponse Ping(Func requestParameters = null) - where T : class => this.DoRequest(HEAD, Url($""), null, _params(requestParameters)); - - ///Represents a HEAD on / - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + public ElasticsearchResponse NodesUsageForAll(Func requestParameters = null) + where T : class => this.DoRequest(GET, Url($"_nodes/usage"), null, _params(requestParameters)); + + ///Represents a GET on /_nodes/usage + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/ + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. - public Task> PingAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) - where T : class => this.DoRequestAsync(HEAD, Url($""), cancellationToken, null, _params(requestParameters)); - - ///Represents a PUT on /_scripts/{lang} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + public Task> NodesUsageForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) + where T : class => this.DoRequestAsync(GET, Url($"_nodes/usage"), cancellationToken, null, _params(requestParameters)); + + ///Represents a GET on /_nodes/{node_id}/usage + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html /// - ///Script language - ///The document + ///A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes ///A func that allows you to describe the querystring parameters & request specific connection settings. - public ElasticsearchResponse PutScript(string lang, PostData body, Func requestParameters = null) - where T : class => this.DoRequest(PUT, Url($"_scripts/{lang.NotNull("lang")}"), body, _params(requestParameters)); - - ///Represents a PUT on /_scripts/{lang} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + public ElasticsearchResponse NodesUsage(string node_id, Func requestParameters = null) + where T : class => this.DoRequest(GET, Url($"_nodes/{node_id.NotNull("node_id")}/usage"), null, _params(requestParameters)); + + ///Represents a GET on /_nodes/{node_id}/usage + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html /// - ///Script language - ///The document + ///A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes ///A func that allows you to describe the querystring parameters & request specific connection settings. - public Task> PutScriptAsync(string lang, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) - where T : class => this.DoRequestAsync(PUT, Url($"_scripts/{lang.NotNull("lang")}"), cancellationToken, body, _params(requestParameters)); - - ///Represents a PUT on /_scripts/{lang}/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + public Task> NodesUsageAsync(string node_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) + where T : class => this.DoRequestAsync(GET, Url($"_nodes/{node_id.NotNull("node_id")}/usage"), cancellationToken, null, _params(requestParameters)); + + ///Represents a GET on /_nodes/usage/{metric} + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html /// - ///Script language - ///Script ID - ///The document + ///Limit the information returned to the specified metrics ///A func that allows you to describe the querystring parameters & request specific connection settings. - public ElasticsearchResponse PutScript(string lang, string id, PostData body, Func requestParameters = null) - where T : class => this.DoRequest(PUT, Url($"_scripts/{lang.NotNull("lang")}/{id.NotNull("id")}"), body, _params(requestParameters)); - - ///Represents a PUT on /_scripts/{lang}/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + public ElasticsearchResponse NodesUsageForAll(string metric, Func requestParameters = null) + where T : class => this.DoRequest(GET, Url($"_nodes/usage/{metric.NotNull("metric")}"), null, _params(requestParameters)); + + ///Represents a GET on /_nodes/usage/{metric} + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html /// - ///Script language - ///Script ID - ///The document + ///Limit the information returned to the specified metrics ///A func that allows you to describe the querystring parameters & request specific connection settings. - public Task> PutScriptAsync(string lang, string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) - where T : class => this.DoRequestAsync(PUT, Url($"_scripts/{lang.NotNull("lang")}/{id.NotNull("id")}"), cancellationToken, body, _params(requestParameters)); - - ///Represents a POST on /_scripts/{lang} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + public Task> NodesUsageForAllAsync(string metric, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) + where T : class => this.DoRequestAsync(GET, Url($"_nodes/usage/{metric.NotNull("metric")}"), cancellationToken, null, _params(requestParameters)); + + ///Represents a GET on /_nodes/{node_id}/usage/{metric} + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html /// - ///Script language - ///The document + ///A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes + ///Limit the information returned to the specified metrics ///A func that allows you to describe the querystring parameters & request specific connection settings. - public ElasticsearchResponse PutScriptPost(string lang, PostData body, Func requestParameters = null) - where T : class => this.DoRequest(POST, Url($"_scripts/{lang.NotNull("lang")}"), body, _params(requestParameters)); - - ///Represents a POST on /_scripts/{lang} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + public ElasticsearchResponse NodesUsage(string node_id, string metric, Func requestParameters = null) + where T : class => this.DoRequest(GET, Url($"_nodes/{node_id.NotNull("node_id")}/usage/{metric.NotNull("metric")}"), null, _params(requestParameters)); + + ///Represents a GET on /_nodes/{node_id}/usage/{metric} + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html /// - ///Script language - ///The document + ///A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes + ///Limit the information returned to the specified metrics ///A func that allows you to describe the querystring parameters & request specific connection settings. - public Task> PutScriptPostAsync(string lang, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) - where T : class => this.DoRequestAsync(POST, Url($"_scripts/{lang.NotNull("lang")}"), cancellationToken, body, _params(requestParameters)); - - ///Represents a POST on /_scripts/{lang}/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + public Task> NodesUsageAsync(string node_id, string metric, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) + where T : class => this.DoRequestAsync(GET, Url($"_nodes/{node_id.NotNull("node_id")}/usage/{metric.NotNull("metric")}"), cancellationToken, null, _params(requestParameters)); + + ///Represents a HEAD on / + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html + ///See also: http://www.elastic.co/guide/ /// - ///Script language - ///Script ID - ///The document ///A func that allows you to describe the querystring parameters & request specific connection settings. - public ElasticsearchResponse PutScriptPost(string lang, string id, PostData body, Func requestParameters = null) - where T : class => this.DoRequest(POST, Url($"_scripts/{lang.NotNull("lang")}/{id.NotNull("id")}"), body, _params(requestParameters)); - - ///Represents a POST on /_scripts/{lang}/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + public ElasticsearchResponse Ping(Func requestParameters = null) + where T : class => this.DoRequest(HEAD, Url($""), null, _params(requestParameters)); + + ///Represents a HEAD on / + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html + ///See also: http://www.elastic.co/guide/ /// - ///Script language - ///Script ID - ///The document ///A func that allows you to describe the querystring parameters & request specific connection settings. - public Task> PutScriptPostAsync(string lang, string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) - where T : class => this.DoRequestAsync(POST, Url($"_scripts/{lang.NotNull("lang")}/{id.NotNull("id")}"), cancellationToken, body, _params(requestParameters)); - - ///Represents a PUT on /_search/template/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + public Task> PingAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) + where T : class => this.DoRequestAsync(HEAD, Url($""), cancellationToken, null, _params(requestParameters)); + + ///Represents a PUT on /_scripts/{id} + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html /// - ///Template ID + ///Script ID ///The document ///A func that allows you to describe the querystring parameters & request specific connection settings. - public ElasticsearchResponse PutTemplate(string id, PostData body, Func requestParameters = null) - where T : class => this.DoRequest(PUT, Url($"_search/template/{id.NotNull("id")}"), body, _params(requestParameters)); - - ///Represents a PUT on /_search/template/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + public ElasticsearchResponse PutScript(string id, PostData body, Func requestParameters = null) + where T : class => this.DoRequest(PUT, Url($"_scripts/{id.NotNull("id")}"), body, _params(requestParameters)); + + ///Represents a PUT on /_scripts/{id} + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html /// - ///Template ID + ///Script ID ///The document ///A func that allows you to describe the querystring parameters & request specific connection settings. - public Task> PutTemplateAsync(string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) - where T : class => this.DoRequestAsync(PUT, Url($"_search/template/{id.NotNull("id")}"), cancellationToken, body, _params(requestParameters)); - - ///Represents a POST on /_search/template/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + public Task> PutScriptAsync(string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) + where T : class => this.DoRequestAsync(PUT, Url($"_scripts/{id.NotNull("id")}"), cancellationToken, body, _params(requestParameters)); + + ///Represents a POST on /_scripts/{id} + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html /// - ///Template ID + ///Script ID ///The document ///A func that allows you to describe the querystring parameters & request specific connection settings. - public ElasticsearchResponse PutTemplatePost(string id, PostData body, Func requestParameters = null) - where T : class => this.DoRequest(POST, Url($"_search/template/{id.NotNull("id")}"), body, _params(requestParameters)); - - ///Represents a POST on /_search/template/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + public ElasticsearchResponse PutScriptPost(string id, PostData body, Func requestParameters = null) + where T : class => this.DoRequest(POST, Url($"_scripts/{id.NotNull("id")}"), body, _params(requestParameters)); + + ///Represents a POST on /_scripts/{id} + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html /// - ///Template ID + ///Script ID ///The document ///A func that allows you to describe the querystring parameters & request specific connection settings. - public Task> PutTemplatePostAsync(string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) - where T : class => this.DoRequestAsync(POST, Url($"_search/template/{id.NotNull("id")}"), cancellationToken, body, _params(requestParameters)); - + public Task> PutScriptPostAsync(string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) + where T : class => this.DoRequestAsync(POST, Url($"_scripts/{id.NotNull("id")}"), cancellationToken, body, _params(requestParameters)); + ///Represents a POST on /_reindex - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html /// @@ -6475,13 +6231,13 @@ public ElasticsearchResponse PutTemplatePost(string id, PostData b ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Reindex(PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_reindex"), body, _params(requestParameters)); - + ///Represents a POST on /_reindex - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html /// @@ -6489,13 +6245,13 @@ public ElasticsearchResponse Reindex(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> ReindexAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_reindex"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_reindex/{task_id}/_rethrottle - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html /// @@ -6503,13 +6259,13 @@ public ElasticsearchResponse Reindex(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse ReindexRethrottle(string task_id, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_reindex/{task_id.NotNull("task_id")}/_rethrottle"), null, _params(requestParameters)); - + ///Represents a POST on /_reindex/{task_id}/_rethrottle - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html /// @@ -6517,65 +6273,65 @@ public ElasticsearchResponse ReindexRethrottle(string task_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> ReindexRethrottleAsync(string task_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_reindex/{task_id.NotNull("task_id")}/_rethrottle"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_remote/info - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/5.5/cluster-remote-info.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-remote-info.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse RemoteInfo(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_remote/info"), null, _params(requestParameters)); - + ///Represents a GET on /_remote/info - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/5.5/cluster-remote-info.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-remote-info.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> RemoteInfoAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_remote/info"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_render/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse RenderSearchTemplateGet(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_render/template"), null, _params(requestParameters)); - + ///Represents a GET on /_render/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> RenderSearchTemplateGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_render/template"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_render/template/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html /// @@ -6583,13 +6339,13 @@ public ElasticsearchResponse RenderSearchTemplateGet(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse RenderSearchTemplateGet(string id, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_render/template/{id.NotNull("id")}"), null, _params(requestParameters)); - + ///Represents a GET on /_render/template/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html /// @@ -6597,13 +6353,13 @@ public ElasticsearchResponse RenderSearchTemplateGet(string id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> RenderSearchTemplateGetAsync(string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_render/template/{id.NotNull("id")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_render/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html /// @@ -6611,13 +6367,13 @@ public ElasticsearchResponse RenderSearchTemplateGet(string id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse RenderSearchTemplate(PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_render/template"), body, _params(requestParameters)); - + ///Represents a POST on /_render/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html /// @@ -6625,13 +6381,13 @@ public ElasticsearchResponse RenderSearchTemplate(PostData body, F ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> RenderSearchTemplateAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_render/template"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_render/template/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html /// @@ -6640,13 +6396,13 @@ public ElasticsearchResponse RenderSearchTemplate(PostData body, F ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse RenderSearchTemplate(string id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_render/template/{id.NotNull("id")}"), body, _params(requestParameters)); - + ///Represents a POST on /_render/template/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html /// @@ -6655,39 +6411,39 @@ public ElasticsearchResponse RenderSearchTemplate(string id, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public Task> RenderSearchTemplateAsync(string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_render/template/{id.NotNull("id")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_search/scroll - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse ScrollGet(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_search/scroll"), null, _params(requestParameters)); - + ///Represents a GET on /_search/scroll - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> ScrollGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_search/scroll"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_search/scroll - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html /// @@ -6695,13 +6451,13 @@ public ElasticsearchResponse ScrollGet(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Scroll(PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_search/scroll"), body, _params(requestParameters)); - + ///Represents a POST on /_search/scroll - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html /// @@ -6709,39 +6465,39 @@ public ElasticsearchResponse Scroll(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> ScrollAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_search/scroll"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_search - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SearchGet(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_search"), null, _params(requestParameters)); - + ///Represents a GET on /_search - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> SearchGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_search"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_search - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html /// @@ -6749,13 +6505,13 @@ public ElasticsearchResponse SearchGet(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SearchGet(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_search"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_search - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html /// @@ -6763,13 +6519,13 @@ public ElasticsearchResponse SearchGet(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> SearchGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_search"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/{type}/_search - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html /// @@ -6778,13 +6534,13 @@ public ElasticsearchResponse SearchGet(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SearchGet(string index, string type, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_search"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/{type}/_search - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html /// @@ -6793,13 +6549,13 @@ public ElasticsearchResponse SearchGet(string index, string type, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> SearchGetAsync(string index, string type, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_search"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_search - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html /// @@ -6807,13 +6563,13 @@ public ElasticsearchResponse SearchGet(string index, string type, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Search(PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_search"), body, _params(requestParameters)); - + ///Represents a POST on /_search - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html /// @@ -6821,13 +6577,13 @@ public ElasticsearchResponse Search(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> SearchAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_search"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/_search - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html /// @@ -6836,13 +6592,13 @@ public ElasticsearchResponse Search(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Search(string index, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_search"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/_search - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html /// @@ -6851,13 +6607,13 @@ public ElasticsearchResponse Search(string index, PostData body, F ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> SearchAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_search"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/_search - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html /// @@ -6867,13 +6623,13 @@ public ElasticsearchResponse Search(string index, PostData body, F ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Search(string index, string type, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_search"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/_search - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html /// @@ -6883,39 +6639,39 @@ public ElasticsearchResponse Search(string index, string type, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public Task> SearchAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_search"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_search_shards - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SearchShardsGet(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_search_shards"), null, _params(requestParameters)); - + ///Represents a GET on /_search_shards - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> SearchShardsGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_search_shards"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_search_shards - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html /// @@ -6923,13 +6679,13 @@ public ElasticsearchResponse SearchShardsGet(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SearchShardsGet(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_search_shards"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_search_shards - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html /// @@ -6937,39 +6693,39 @@ public ElasticsearchResponse SearchShardsGet(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> SearchShardsGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_search_shards"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_search_shards - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SearchShards(Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_search_shards"), null, _params(requestParameters)); - + ///Represents a POST on /_search_shards - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> SearchShardsAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_search_shards"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /{index}/_search_shards - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html /// @@ -6977,13 +6733,13 @@ public ElasticsearchResponse SearchShards(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SearchShards(string index, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_search_shards"), null, _params(requestParameters)); - + ///Represents a POST on /{index}/_search_shards - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html /// @@ -6991,39 +6747,39 @@ public ElasticsearchResponse SearchShards(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> SearchShardsAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_search_shards"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_search/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SearchTemplateGet(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_search/template"), null, _params(requestParameters)); - + ///Represents a GET on /_search/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> SearchTemplateGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_search/template"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/_search/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html /// @@ -7031,13 +6787,13 @@ public ElasticsearchResponse SearchTemplateGet(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SearchTemplateGet(string index, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_search/template"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/_search/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html /// @@ -7045,13 +6801,13 @@ public ElasticsearchResponse SearchTemplateGet(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> SearchTemplateGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_search/template"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/{type}/_search/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html /// @@ -7060,13 +6816,13 @@ public ElasticsearchResponse SearchTemplateGet(string index, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SearchTemplateGet(string index, string type, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_search/template"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/{type}/_search/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html /// @@ -7075,13 +6831,13 @@ public ElasticsearchResponse SearchTemplateGet(string index, string type, ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> SearchTemplateGetAsync(string index, string type, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_search/template"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_search/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html /// @@ -7089,13 +6845,13 @@ public ElasticsearchResponse SearchTemplateGet(string index, string type, ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SearchTemplate(PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_search/template"), body, _params(requestParameters)); - + ///Represents a POST on /_search/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html /// @@ -7103,13 +6859,13 @@ public ElasticsearchResponse SearchTemplate(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> SearchTemplateAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_search/template"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/_search/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html /// @@ -7118,13 +6874,13 @@ public ElasticsearchResponse SearchTemplate(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SearchTemplate(string index, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_search/template"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/_search/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html /// @@ -7133,13 +6889,13 @@ public ElasticsearchResponse SearchTemplate(string index, PostData ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> SearchTemplateAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_search/template"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/_search/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html /// @@ -7149,13 +6905,13 @@ public ElasticsearchResponse SearchTemplate(string index, PostData ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SearchTemplate(string index, string type, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_search/template"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/_search/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html /// @@ -7165,13 +6921,13 @@ public ElasticsearchResponse SearchTemplate(string index, string type, Pos ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> SearchTemplateAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_search/template"), cancellationToken, body, _params(requestParameters)); - + ///Represents a PUT on /_snapshot/{repository}/{snapshot} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -7181,13 +6937,13 @@ public ElasticsearchResponse SearchTemplate(string index, string type, Pos ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SnapshotCreate(string repository, string snapshot, PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"_snapshot/{repository.NotNull("repository")}/{snapshot.NotNull("snapshot")}"), body, _params(requestParameters)); - + ///Represents a PUT on /_snapshot/{repository}/{snapshot} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -7197,13 +6953,13 @@ public ElasticsearchResponse SnapshotCreate(string repository, string snap ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> SnapshotCreateAsync(string repository, string snapshot, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"_snapshot/{repository.NotNull("repository")}/{snapshot.NotNull("snapshot")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_snapshot/{repository}/{snapshot} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -7213,13 +6969,13 @@ public ElasticsearchResponse SnapshotCreate(string repository, string snap ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SnapshotCreatePost(string repository, string snapshot, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_snapshot/{repository.NotNull("repository")}/{snapshot.NotNull("snapshot")}"), body, _params(requestParameters)); - + ///Represents a POST on /_snapshot/{repository}/{snapshot} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -7229,13 +6985,13 @@ public ElasticsearchResponse SnapshotCreatePost(string repository, string ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> SnapshotCreatePostAsync(string repository, string snapshot, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_snapshot/{repository.NotNull("repository")}/{snapshot.NotNull("snapshot")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a PUT on /_snapshot/{repository} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -7244,13 +7000,13 @@ public ElasticsearchResponse SnapshotCreatePost(string repository, string ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SnapshotCreateRepository(string repository, PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"_snapshot/{repository.NotNull("repository")}"), body, _params(requestParameters)); - + ///Represents a PUT on /_snapshot/{repository} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -7259,13 +7015,13 @@ public ElasticsearchResponse SnapshotCreateRepository(string repository, P ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> SnapshotCreateRepositoryAsync(string repository, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"_snapshot/{repository.NotNull("repository")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_snapshot/{repository} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -7274,13 +7030,13 @@ public ElasticsearchResponse SnapshotCreateRepository(string repository, P ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SnapshotCreateRepositoryPost(string repository, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_snapshot/{repository.NotNull("repository")}"), body, _params(requestParameters)); - + ///Represents a POST on /_snapshot/{repository} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -7289,13 +7045,13 @@ public ElasticsearchResponse SnapshotCreateRepositoryPost(string repositor ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> SnapshotCreateRepositoryPostAsync(string repository, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_snapshot/{repository.NotNull("repository")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a DELETE on /_snapshot/{repository}/{snapshot} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -7304,13 +7060,13 @@ public ElasticsearchResponse SnapshotCreateRepositoryPost(string repositor ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SnapshotDelete(string repository, string snapshot, Func requestParameters = null) where T : class => this.DoRequest(DELETE, Url($"_snapshot/{repository.NotNull("repository")}/{snapshot.NotNull("snapshot")}"), null, _params(requestParameters)); - + ///Represents a DELETE on /_snapshot/{repository}/{snapshot} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -7319,13 +7075,13 @@ public ElasticsearchResponse SnapshotDelete(string repository, string snap ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> SnapshotDeleteAsync(string repository, string snapshot, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(DELETE, Url($"_snapshot/{repository.NotNull("repository")}/{snapshot.NotNull("snapshot")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a DELETE on /_snapshot/{repository} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -7333,13 +7089,13 @@ public ElasticsearchResponse SnapshotDelete(string repository, string snap ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SnapshotDeleteRepository(string repository, Func requestParameters = null) where T : class => this.DoRequest(DELETE, Url($"_snapshot/{repository.NotNull("repository")}"), null, _params(requestParameters)); - + ///Represents a DELETE on /_snapshot/{repository} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -7347,13 +7103,13 @@ public ElasticsearchResponse SnapshotDeleteRepository(string repository, F ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> SnapshotDeleteRepositoryAsync(string repository, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(DELETE, Url($"_snapshot/{repository.NotNull("repository")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_snapshot/{repository}/{snapshot} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -7362,13 +7118,13 @@ public ElasticsearchResponse SnapshotDeleteRepository(string repository, F ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SnapshotGet(string repository, string snapshot, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_snapshot/{repository.NotNull("repository")}/{snapshot.NotNull("snapshot")}"), null, _params(requestParameters)); - + ///Represents a GET on /_snapshot/{repository}/{snapshot} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -7377,39 +7133,39 @@ public ElasticsearchResponse SnapshotGet(string repository, string snapsho ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> SnapshotGetAsync(string repository, string snapshot, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_snapshot/{repository.NotNull("repository")}/{snapshot.NotNull("snapshot")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_snapshot - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SnapshotGetRepository(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_snapshot"), null, _params(requestParameters)); - + ///Represents a GET on /_snapshot - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> SnapshotGetRepositoryAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_snapshot"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_snapshot/{repository} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -7417,13 +7173,13 @@ public ElasticsearchResponse SnapshotGetRepository(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SnapshotGetRepository(string repository, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_snapshot/{repository.NotNull("repository")}"), null, _params(requestParameters)); - + ///Represents a GET on /_snapshot/{repository} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -7431,13 +7187,13 @@ public ElasticsearchResponse SnapshotGetRepository(string repository, Func ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> SnapshotGetRepositoryAsync(string repository, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_snapshot/{repository.NotNull("repository")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_snapshot/{repository}/{snapshot}/_restore - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -7447,13 +7203,13 @@ public ElasticsearchResponse SnapshotGetRepository(string repository, Func ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SnapshotRestore(string repository, string snapshot, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_snapshot/{repository.NotNull("repository")}/{snapshot.NotNull("snapshot")}/_restore"), body, _params(requestParameters)); - + ///Represents a POST on /_snapshot/{repository}/{snapshot}/_restore - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -7463,39 +7219,39 @@ public ElasticsearchResponse SnapshotRestore(string repository, string sna ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> SnapshotRestoreAsync(string repository, string snapshot, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_snapshot/{repository.NotNull("repository")}/{snapshot.NotNull("snapshot")}/_restore"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_snapshot/_status - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SnapshotStatus(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_snapshot/_status"), null, _params(requestParameters)); - + ///Represents a GET on /_snapshot/_status - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> SnapshotStatusAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_snapshot/_status"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_snapshot/{repository}/_status - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -7503,13 +7259,13 @@ public ElasticsearchResponse SnapshotStatus(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SnapshotStatus(string repository, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_snapshot/{repository.NotNull("repository")}/_status"), null, _params(requestParameters)); - + ///Represents a GET on /_snapshot/{repository}/_status - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -7517,13 +7273,13 @@ public ElasticsearchResponse SnapshotStatus(string repository, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> SnapshotStatusAsync(string repository, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_snapshot/{repository.NotNull("repository")}/_status"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_snapshot/{repository}/{snapshot}/_status - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -7532,13 +7288,13 @@ public ElasticsearchResponse SnapshotStatus(string repository, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SnapshotStatus(string repository, string snapshot, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_snapshot/{repository.NotNull("repository")}/{snapshot.NotNull("snapshot")}/_status"), null, _params(requestParameters)); - + ///Represents a GET on /_snapshot/{repository}/{snapshot}/_status - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -7547,13 +7303,13 @@ public ElasticsearchResponse SnapshotStatus(string repository, string snap ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> SnapshotStatusAsync(string repository, string snapshot, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_snapshot/{repository.NotNull("repository")}/{snapshot.NotNull("snapshot")}/_status"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_snapshot/{repository}/_verify - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -7561,13 +7317,13 @@ public ElasticsearchResponse SnapshotStatus(string repository, string snap ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse SnapshotVerifyRepository(string repository, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_snapshot/{repository.NotNull("repository")}/_verify"), null, _params(requestParameters)); - + ///Represents a POST on /_snapshot/{repository}/_verify - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -7575,39 +7331,39 @@ public ElasticsearchResponse SnapshotVerifyRepository(string repository, F ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> SnapshotVerifyRepositoryAsync(string repository, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_snapshot/{repository.NotNull("repository")}/_verify"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_tasks/_cancel - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse TasksCancel(Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_tasks/_cancel"), null, _params(requestParameters)); - + ///Represents a POST on /_tasks/_cancel - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> TasksCancelAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_tasks/_cancel"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_tasks/{task_id}/_cancel - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html /// @@ -7615,13 +7371,13 @@ public ElasticsearchResponse TasksCancel(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse TasksCancel(string task_id, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_tasks/{task_id.NotNull("task_id")}/_cancel"), null, _params(requestParameters)); - + ///Represents a POST on /_tasks/{task_id}/_cancel - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html /// @@ -7629,13 +7385,13 @@ public ElasticsearchResponse TasksCancel(string task_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> TasksCancelAsync(string task_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_tasks/{task_id.NotNull("task_id")}/_cancel"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_tasks/{task_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html /// @@ -7643,13 +7399,13 @@ public ElasticsearchResponse TasksCancel(string task_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse TasksGet(string task_id, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_tasks/{task_id.NotNull("task_id")}"), null, _params(requestParameters)); - + ///Represents a GET on /_tasks/{task_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html /// @@ -7657,39 +7413,39 @@ public ElasticsearchResponse TasksGet(string task_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> TasksGetAsync(string task_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_tasks/{task_id.NotNull("task_id")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_tasks - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse TasksList(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_tasks"), null, _params(requestParameters)); - + ///Represents a GET on /_tasks - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> TasksListAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_tasks"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/{type}/_termvectors - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html /// @@ -7698,13 +7454,13 @@ public ElasticsearchResponse TasksList(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse TermvectorsGet(string index, string type, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_termvectors"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/{type}/_termvectors - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html /// @@ -7713,13 +7469,13 @@ public ElasticsearchResponse TermvectorsGet(string index, string type, Fun ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> TermvectorsGetAsync(string index, string type, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_termvectors"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /{index}/{type}/{id}/_termvectors - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html /// @@ -7729,13 +7485,13 @@ public ElasticsearchResponse TermvectorsGet(string index, string type, Fun ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse TermvectorsGet(string index, string type, string id, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}/_termvectors"), null, _params(requestParameters)); - + ///Represents a GET on /{index}/{type}/{id}/_termvectors - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html /// @@ -7745,13 +7501,13 @@ public ElasticsearchResponse TermvectorsGet(string index, string type, str ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> TermvectorsGetAsync(string index, string type, string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}/_termvectors"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/_termvectors - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html /// @@ -7761,13 +7517,13 @@ public ElasticsearchResponse TermvectorsGet(string index, string type, str ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Termvectors(string index, string type, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_termvectors"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/_termvectors - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html /// @@ -7777,13 +7533,13 @@ public ElasticsearchResponse Termvectors(string index, string type, PostDa ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> TermvectorsAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_termvectors"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/{id}/_termvectors - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html /// @@ -7794,13 +7550,13 @@ public ElasticsearchResponse Termvectors(string index, string type, PostDa ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Termvectors(string index, string type, string id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}/_termvectors"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/{id}/_termvectors - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html /// @@ -7811,13 +7567,13 @@ public ElasticsearchResponse Termvectors(string index, string type, string ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> TermvectorsAsync(string index, string type, string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}/_termvectors"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/{id}/_update - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update.html /// @@ -7828,13 +7584,13 @@ public ElasticsearchResponse Termvectors(string index, string type, string ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse Update(string index, string type, string id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}/_update"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/{id}/_update - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update.html /// @@ -7845,13 +7601,13 @@ public ElasticsearchResponse Update(string index, string type, string id, ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> UpdateAsync(string index, string type, string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}/_update"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/_update_by_query - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html /// @@ -7860,13 +7616,13 @@ public ElasticsearchResponse Update(string index, string type, string id, ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse UpdateByQuery(string index, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_update_by_query"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/_update_by_query - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html /// @@ -7875,13 +7631,13 @@ public ElasticsearchResponse UpdateByQuery(string index, PostData ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> UpdateByQueryAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_update_by_query"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/_update_by_query - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html /// @@ -7891,13 +7647,13 @@ public ElasticsearchResponse UpdateByQuery(string index, PostData ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse UpdateByQuery(string index, string type, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_update_by_query"), body, _params(requestParameters)); - + ///Represents a POST on /{index}/{type}/_update_by_query - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html /// @@ -7907,265 +7663,319 @@ public ElasticsearchResponse UpdateByQuery(string index, string type, Post ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> UpdateByQueryAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_update_by_query"), cancellationToken, body, _params(requestParameters)); - - ///Represents a GET on /{index}/_xpack/_graph/_explore - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + + ///Represents a GET on /{index}/_xpack/graph/_explore + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/graph/current/explore.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html /// ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackGraphExploreGet(string index, Func requestParameters = null) - where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_xpack/_graph/_explore"), null, _params(requestParameters)); - - ///Represents a GET on /{index}/_xpack/_graph/_explore - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_xpack/graph/_explore"), null, _params(requestParameters)); + + ///Represents a GET on /{index}/_xpack/graph/_explore + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/graph/current/explore.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html /// ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackGraphExploreGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) - where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_xpack/_graph/_explore"), cancellationToken, null, _params(requestParameters)); - - ///Represents a GET on /{index}/{type}/_xpack/_graph/_explore - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_xpack/graph/_explore"), cancellationToken, null, _params(requestParameters)); + + ///Represents a GET on /{index}/{type}/_xpack/graph/_explore + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/graph/current/explore.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html /// ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices ///A comma-separated list of document types to search; leave empty to perform the operation on all types ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackGraphExploreGet(string index, string type, Func requestParameters = null) - where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_xpack/_graph/_explore"), null, _params(requestParameters)); - - ///Represents a GET on /{index}/{type}/_xpack/_graph/_explore - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_xpack/graph/_explore"), null, _params(requestParameters)); + + ///Represents a GET on /{index}/{type}/_xpack/graph/_explore + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/graph/current/explore.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html /// ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices ///A comma-separated list of document types to search; leave empty to perform the operation on all types ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackGraphExploreGetAsync(string index, string type, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) - where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_xpack/_graph/_explore"), cancellationToken, null, _params(requestParameters)); - - ///Represents a POST on /{index}/_xpack/_graph/_explore - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_xpack/graph/_explore"), cancellationToken, null, _params(requestParameters)); + + ///Represents a POST on /{index}/_xpack/graph/_explore + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/graph/current/explore.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html /// ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices ///Graph Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackGraphExplore(string index, PostData body, Func requestParameters = null) - where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_xpack/_graph/_explore"), body, _params(requestParameters)); - - ///Represents a POST on /{index}/_xpack/_graph/_explore - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/_xpack/graph/_explore"), body, _params(requestParameters)); + + ///Represents a POST on /{index}/_xpack/graph/_explore + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/graph/current/explore.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html /// ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices ///Graph Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackGraphExploreAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) - where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_xpack/_graph/_explore"), cancellationToken, body, _params(requestParameters)); - - ///Represents a POST on /{index}/{type}/_xpack/_graph/_explore - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/_xpack/graph/_explore"), cancellationToken, body, _params(requestParameters)); + + ///Represents a POST on /{index}/{type}/_xpack/graph/_explore + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/graph/current/explore.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html /// ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices ///A comma-separated list of document types to search; leave empty to perform the operation on all types ///Graph Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackGraphExplore(string index, string type, PostData body, Func requestParameters = null) - where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_xpack/_graph/_explore"), body, _params(requestParameters)); - - ///Represents a POST on /{index}/{type}/_xpack/_graph/_explore - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + where T : class => this.DoRequest(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_xpack/graph/_explore"), body, _params(requestParameters)); + + ///Represents a POST on /{index}/{type}/_xpack/graph/_explore + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/graph/current/explore.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html /// ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices ///A comma-separated list of document types to search; leave empty to perform the operation on all types ///Graph Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackGraphExploreAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) - where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_xpack/_graph/_explore"), cancellationToken, body, _params(requestParameters)); - + where T : class => this.DoRequestAsync(POST, Url($"{index.NotNull("index")}/{type.NotNull("type")}/_xpack/graph/_explore"), cancellationToken, body, _params(requestParameters)); + + ///Represents a GET on /_xpack/migration/deprecations + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed + /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth + ///See also: http://www.elastic.co/guide/en/migration/current/migration-api-deprecation.html + /// + ///A func that allows you to describe the querystring parameters & request specific connection settings. + public ElasticsearchResponse XpackDeprecationInfo(Func requestParameters = null) + where T : class => this.DoRequest(GET, Url($"_xpack/migration/deprecations"), null, _params(requestParameters)); + + ///Represents a GET on /_xpack/migration/deprecations + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed + /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth + ///See also: http://www.elastic.co/guide/en/migration/current/migration-api-deprecation.html + /// + ///A func that allows you to describe the querystring parameters & request specific connection settings. + public Task> XpackDeprecationInfoAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) + where T : class => this.DoRequestAsync(GET, Url($"_xpack/migration/deprecations"), cancellationToken, null, _params(requestParameters)); + + ///Represents a GET on /{index}/_xpack/migration/deprecations + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed + /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth + ///See also: http://www.elastic.co/guide/en/migration/current/migration-api-deprecation.html + /// + ///Index pattern + ///A func that allows you to describe the querystring parameters & request specific connection settings. + public ElasticsearchResponse XpackDeprecationInfo(string index, Func requestParameters = null) + where T : class => this.DoRequest(GET, Url($"{index.NotNull("index")}/_xpack/migration/deprecations"), null, _params(requestParameters)); + + ///Represents a GET on /{index}/_xpack/migration/deprecations + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed + /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth + ///See also: http://www.elastic.co/guide/en/migration/current/migration-api-deprecation.html + /// + ///Index pattern + ///A func that allows you to describe the querystring parameters & request specific connection settings. + public Task> XpackDeprecationInfoAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) + where T : class => this.DoRequestAsync(GET, Url($"{index.NotNull("index")}/_xpack/migration/deprecations"), cancellationToken, null, _params(requestParameters)); + ///Represents a GET on /_xpack - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackInfo(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackInfoAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_xpack/usage - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: Retrieve information about xpack features usage /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackUsage(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/usage"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/usage - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: Retrieve information about xpack features usage /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackUsageAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/usage"), cancellationToken, null, _params(requestParameters)); - + ///Represents a DELETE on /_xpack/license - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/shield/current/license-management.html + ///See also: https://www.elastic.co/guide/en/x-pack/current/license-management.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackLicenseDelete(Func requestParameters = null) where T : class => this.DoRequest(DELETE, Url($"_xpack/license"), null, _params(requestParameters)); - + ///Represents a DELETE on /_xpack/license - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/shield/current/license-management.html + ///See also: https://www.elastic.co/guide/en/x-pack/current/license-management.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackLicenseDeleteAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(DELETE, Url($"_xpack/license"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_xpack/license - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/shield/current/license-management.html + ///See also: https://www.elastic.co/guide/en/x-pack/current/license-management.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackLicenseGet(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/license"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/license - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/shield/current/license-management.html + ///See also: https://www.elastic.co/guide/en/x-pack/current/license-management.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackLicenseGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/license"), cancellationToken, null, _params(requestParameters)); - + ///Represents a PUT on /_xpack/license - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/shield/current/license-management.html + ///See also: https://www.elastic.co/guide/en/x-pack/current/license-management.html /// ///licenses to be installed ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackLicensePost(PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"_xpack/license"), body, _params(requestParameters)); - + ///Represents a PUT on /_xpack/license - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/shield/current/license-management.html + ///See also: https://www.elastic.co/guide/en/x-pack/current/license-management.html /// ///licenses to be installed ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackLicensePostAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"_xpack/license"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/_close - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-close-job.html /// @@ -8173,13 +7983,13 @@ public ElasticsearchResponse XpackLicensePost(PostData body, Func< ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlCloseJob(string job_id, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/_close"), null, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/_close - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-close-job.html /// @@ -8187,13 +7997,13 @@ public ElasticsearchResponse XpackMlCloseJob(string job_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlCloseJobAsync(string job_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/_close"), cancellationToken, null, _params(requestParameters)); - + ///Represents a DELETE on /_xpack/ml/datafeeds/{datafeed_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-datafeed.html /// @@ -8201,13 +8011,13 @@ public ElasticsearchResponse XpackMlCloseJob(string job_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlDeleteDatafeed(string datafeed_id, Func requestParameters = null) where T : class => this.DoRequest(DELETE, Url($"_xpack/ml/datafeeds/{datafeed_id.NotNull("datafeed_id")}"), null, _params(requestParameters)); - + ///Represents a DELETE on /_xpack/ml/datafeeds/{datafeed_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-datafeed.html /// @@ -8215,39 +8025,39 @@ public ElasticsearchResponse XpackMlDeleteDatafeed(string datafeed_id, Fun ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlDeleteDatafeedAsync(string datafeed_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(DELETE, Url($"_xpack/ml/datafeeds/{datafeed_id.NotNull("datafeed_id")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a DELETE on /_xpack/ml/_delete_expired_data - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlDeleteExpiredData(Func requestParameters = null) where T : class => this.DoRequest(DELETE, Url($"_xpack/ml/_delete_expired_data"), null, _params(requestParameters)); - + ///Represents a DELETE on /_xpack/ml/_delete_expired_data - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlDeleteExpiredDataAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(DELETE, Url($"_xpack/ml/_delete_expired_data"), cancellationToken, null, _params(requestParameters)); - + ///Represents a DELETE on /_xpack/ml/anomaly_detectors/{job_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-job.html /// @@ -8255,13 +8065,13 @@ public ElasticsearchResponse XpackMlDeleteExpiredData(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlDeleteJob(string job_id, Func requestParameters = null) where T : class => this.DoRequest(DELETE, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}"), null, _params(requestParameters)); - + ///Represents a DELETE on /_xpack/ml/anomaly_detectors/{job_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-job.html /// @@ -8269,13 +8079,13 @@ public ElasticsearchResponse XpackMlDeleteJob(string job_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlDeleteJobAsync(string job_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(DELETE, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a DELETE on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-snapshot.html /// @@ -8284,13 +8094,13 @@ public ElasticsearchResponse XpackMlDeleteJob(string job_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlDeleteModelSnapshot(string job_id, string snapshot_id, Func requestParameters = null) where T : class => this.DoRequest(DELETE, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/model_snapshots/{snapshot_id.NotNull("snapshot_id")}"), null, _params(requestParameters)); - + ///Represents a DELETE on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-snapshot.html /// @@ -8299,13 +8109,13 @@ public ElasticsearchResponse XpackMlDeleteModelSnapshot(string job_id, str ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlDeleteModelSnapshotAsync(string job_id, string snapshot_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(DELETE, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/model_snapshots/{snapshot_id.NotNull("snapshot_id")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/_flush - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html /// @@ -8314,13 +8124,13 @@ public ElasticsearchResponse XpackMlDeleteModelSnapshot(string job_id, str ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlFlushJob(string job_id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/_flush"), body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/_flush - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html /// @@ -8329,13 +8139,13 @@ public ElasticsearchResponse XpackMlFlushJob(string job_id, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlFlushJobAsync(string job_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/_flush"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/results/buckets - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html /// @@ -8343,13 +8153,13 @@ public ElasticsearchResponse XpackMlFlushJob(string job_id, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlGetBuckets(string job_id, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/results/buckets"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/results/buckets - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html /// @@ -8357,13 +8167,13 @@ public ElasticsearchResponse XpackMlGetBuckets(string job_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlGetBucketsAsync(string job_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/results/buckets"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/results/buckets - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html /// @@ -8372,13 +8182,13 @@ public ElasticsearchResponse XpackMlGetBuckets(string job_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlGetBuckets(string job_id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/results/buckets"), body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/results/buckets - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html /// @@ -8387,13 +8197,13 @@ public ElasticsearchResponse XpackMlGetBuckets(string job_id, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlGetBucketsAsync(string job_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/results/buckets"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/results/categories/{category_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html /// @@ -8402,13 +8212,13 @@ public ElasticsearchResponse XpackMlGetBuckets(string job_id, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlGetCategories(string job_id, long category_id, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/results/categories/{category_id}"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/results/categories/{category_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html /// @@ -8417,13 +8227,13 @@ public ElasticsearchResponse XpackMlGetCategories(string job_id, long cate ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlGetCategoriesAsync(string job_id, long category_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/results/categories/{category_id}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/results/categories/ - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html /// @@ -8431,13 +8241,13 @@ public ElasticsearchResponse XpackMlGetCategories(string job_id, long cate ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlGetCategories(string job_id, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/results/categories/"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/results/categories/ - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html /// @@ -8445,13 +8255,13 @@ public ElasticsearchResponse XpackMlGetCategories(string job_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlGetCategoriesAsync(string job_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/results/categories/"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/results/categories/{category_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html /// @@ -8461,13 +8271,13 @@ public ElasticsearchResponse XpackMlGetCategories(string job_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlGetCategories(string job_id, long category_id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/results/categories/{category_id}"), body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/results/categories/{category_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html /// @@ -8477,13 +8287,13 @@ public ElasticsearchResponse XpackMlGetCategories(string job_id, long cate ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlGetCategoriesAsync(string job_id, long category_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/results/categories/{category_id}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/results/categories/ - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html /// @@ -8492,13 +8302,13 @@ public ElasticsearchResponse XpackMlGetCategories(string job_id, long cate ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlGetCategories(string job_id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/results/categories/"), body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/results/categories/ - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html /// @@ -8507,13 +8317,13 @@ public ElasticsearchResponse XpackMlGetCategories(string job_id, PostData< ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlGetCategoriesAsync(string job_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/results/categories/"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/datafeeds/{datafeed_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html /// @@ -8521,13 +8331,13 @@ public ElasticsearchResponse XpackMlGetCategories(string job_id, PostData< ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlGetDatafeeds(string datafeed_id, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/ml/datafeeds/{datafeed_id.NotNull("datafeed_id")}"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/datafeeds/{datafeed_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html /// @@ -8535,39 +8345,39 @@ public ElasticsearchResponse XpackMlGetDatafeeds(string datafeed_id, Func< ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlGetDatafeedsAsync(string datafeed_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/ml/datafeeds/{datafeed_id.NotNull("datafeed_id")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/datafeeds - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlGetDatafeeds(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/ml/datafeeds"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/datafeeds - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlGetDatafeedsAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/ml/datafeeds"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/datafeeds/{datafeed_id}/_stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html /// @@ -8575,13 +8385,13 @@ public ElasticsearchResponse XpackMlGetDatafeeds(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlGetDatafeedStats(string datafeed_id, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/ml/datafeeds/{datafeed_id.NotNull("datafeed_id")}/_stats"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/datafeeds/{datafeed_id}/_stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html /// @@ -8589,39 +8399,39 @@ public ElasticsearchResponse XpackMlGetDatafeedStats(string datafeed_id, F ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlGetDatafeedStatsAsync(string datafeed_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/ml/datafeeds/{datafeed_id.NotNull("datafeed_id")}/_stats"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/datafeeds/_stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlGetDatafeedStats(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/ml/datafeeds/_stats"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/datafeeds/_stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlGetDatafeedStatsAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/ml/datafeeds/_stats"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/results/influencers - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html /// @@ -8629,13 +8439,13 @@ public ElasticsearchResponse XpackMlGetDatafeedStats(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlGetInfluencers(string job_id, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/results/influencers"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/results/influencers - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html /// @@ -8643,13 +8453,13 @@ public ElasticsearchResponse XpackMlGetInfluencers(string job_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlGetInfluencersAsync(string job_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/results/influencers"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/results/influencers - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html /// @@ -8658,13 +8468,13 @@ public ElasticsearchResponse XpackMlGetInfluencers(string job_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlGetInfluencers(string job_id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/results/influencers"), body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/results/influencers - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html /// @@ -8673,13 +8483,13 @@ public ElasticsearchResponse XpackMlGetInfluencers(string job_id, PostData ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlGetInfluencersAsync(string job_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/results/influencers"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html /// @@ -8687,13 +8497,13 @@ public ElasticsearchResponse XpackMlGetInfluencers(string job_id, PostData ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlGetJobs(string job_id, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html /// @@ -8701,65 +8511,65 @@ public ElasticsearchResponse XpackMlGetJobs(string job_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlGetJobsAsync(string job_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/anomaly_detectors/ - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlGetJobs(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/ml/anomaly_detectors/"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/anomaly_detectors/ - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlGetJobsAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/ml/anomaly_detectors/"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/anomaly_detectors/_stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlGetJobStats(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/ml/anomaly_detectors/_stats"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/anomaly_detectors/_stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlGetJobStatsAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/ml/anomaly_detectors/_stats"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/_stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html /// @@ -8767,13 +8577,13 @@ public ElasticsearchResponse XpackMlGetJobStats(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlGetJobStats(string job_id, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/_stats"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/_stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html /// @@ -8781,13 +8591,13 @@ public ElasticsearchResponse XpackMlGetJobStats(string job_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlGetJobStatsAsync(string job_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/_stats"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html /// @@ -8796,13 +8606,13 @@ public ElasticsearchResponse XpackMlGetJobStats(string job_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlGetModelSnapshots(string job_id, string snapshot_id, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/model_snapshots/{snapshot_id.NotNull("snapshot_id")}"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html /// @@ -8811,13 +8621,13 @@ public ElasticsearchResponse XpackMlGetModelSnapshots(string job_id, strin ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlGetModelSnapshotsAsync(string job_id, string snapshot_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/model_snapshots/{snapshot_id.NotNull("snapshot_id")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html /// @@ -8825,13 +8635,13 @@ public ElasticsearchResponse XpackMlGetModelSnapshots(string job_id, strin ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlGetModelSnapshots(string job_id, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/model_snapshots"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html /// @@ -8839,13 +8649,13 @@ public ElasticsearchResponse XpackMlGetModelSnapshots(string job_id, Func< ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlGetModelSnapshotsAsync(string job_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/model_snapshots"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html /// @@ -8855,13 +8665,13 @@ public ElasticsearchResponse XpackMlGetModelSnapshots(string job_id, Func< ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlGetModelSnapshots(string job_id, string snapshot_id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/model_snapshots/{snapshot_id.NotNull("snapshot_id")}"), body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html /// @@ -8871,13 +8681,13 @@ public ElasticsearchResponse XpackMlGetModelSnapshots(string job_id, strin ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlGetModelSnapshotsAsync(string job_id, string snapshot_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/model_snapshots/{snapshot_id.NotNull("snapshot_id")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html /// @@ -8886,13 +8696,13 @@ public ElasticsearchResponse XpackMlGetModelSnapshots(string job_id, strin ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlGetModelSnapshots(string job_id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/model_snapshots"), body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html /// @@ -8901,13 +8711,13 @@ public ElasticsearchResponse XpackMlGetModelSnapshots(string job_id, PostD ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlGetModelSnapshotsAsync(string job_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/model_snapshots"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/results/records - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html /// @@ -8915,13 +8725,13 @@ public ElasticsearchResponse XpackMlGetModelSnapshots(string job_id, PostD ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlGetRecords(string job_id, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/results/records"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/results/records - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html /// @@ -8929,13 +8739,13 @@ public ElasticsearchResponse XpackMlGetRecords(string job_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlGetRecordsAsync(string job_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/results/records"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/results/records - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html /// @@ -8944,13 +8754,13 @@ public ElasticsearchResponse XpackMlGetRecords(string job_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlGetRecords(string job_id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/results/records"), body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/results/records - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html /// @@ -8959,13 +8769,13 @@ public ElasticsearchResponse XpackMlGetRecords(string job_id, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlGetRecordsAsync(string job_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/results/records"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/_open - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-open-job.html /// @@ -8973,13 +8783,13 @@ public ElasticsearchResponse XpackMlGetRecords(string job_id, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlOpenJob(string job_id, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/_open"), null, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/_open - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-open-job.html /// @@ -8987,13 +8797,13 @@ public ElasticsearchResponse XpackMlOpenJob(string job_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlOpenJobAsync(string job_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/_open"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/_data - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-data.html /// @@ -9002,13 +8812,13 @@ public ElasticsearchResponse XpackMlOpenJob(string job_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlPostData(string job_id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/_data"), body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/_data - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-data.html /// @@ -9017,13 +8827,13 @@ public ElasticsearchResponse XpackMlPostData(string job_id, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlPostDataAsync(string job_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/_data"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/datafeeds/{datafeed_id}/_preview - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html /// @@ -9031,13 +8841,13 @@ public ElasticsearchResponse XpackMlPostData(string job_id, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlPreviewDatafeed(string datafeed_id, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/ml/datafeeds/{datafeed_id.NotNull("datafeed_id")}/_preview"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/ml/datafeeds/{datafeed_id}/_preview - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html /// @@ -9045,13 +8855,13 @@ public ElasticsearchResponse XpackMlPreviewDatafeed(string datafeed_id, Fu ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlPreviewDatafeedAsync(string datafeed_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/ml/datafeeds/{datafeed_id.NotNull("datafeed_id")}/_preview"), cancellationToken, null, _params(requestParameters)); - + ///Represents a PUT on /_xpack/ml/datafeeds/{datafeed_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-datafeed.html /// @@ -9060,13 +8870,13 @@ public ElasticsearchResponse XpackMlPreviewDatafeed(string datafeed_id, Fu ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlPutDatafeed(string datafeed_id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"_xpack/ml/datafeeds/{datafeed_id.NotNull("datafeed_id")}"), body, _params(requestParameters)); - + ///Represents a PUT on /_xpack/ml/datafeeds/{datafeed_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-datafeed.html /// @@ -9075,13 +8885,13 @@ public ElasticsearchResponse XpackMlPutDatafeed(string datafeed_id, PostDa ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlPutDatafeedAsync(string datafeed_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"_xpack/ml/datafeeds/{datafeed_id.NotNull("datafeed_id")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a PUT on /_xpack/ml/anomaly_detectors/{job_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html /// @@ -9090,13 +8900,13 @@ public ElasticsearchResponse XpackMlPutDatafeed(string datafeed_id, PostDa ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlPutJob(string job_id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}"), body, _params(requestParameters)); - + ///Represents a PUT on /_xpack/ml/anomaly_detectors/{job_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html /// @@ -9105,13 +8915,13 @@ public ElasticsearchResponse XpackMlPutJob(string job_id, PostData ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlPutJobAsync(string job_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-revert-snapshot.html /// @@ -9121,13 +8931,13 @@ public ElasticsearchResponse XpackMlPutJob(string job_id, PostData ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlRevertModelSnapshot(string job_id, string snapshot_id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/model_snapshots/{snapshot_id.NotNull("snapshot_id")}/_revert"), body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-revert-snapshot.html /// @@ -9137,13 +8947,13 @@ public ElasticsearchResponse XpackMlRevertModelSnapshot(string job_id, str ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlRevertModelSnapshotAsync(string job_id, string snapshot_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/model_snapshots/{snapshot_id.NotNull("snapshot_id")}/_revert"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/datafeeds/{datafeed_id}/_start - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-start-datafeed.html /// @@ -9152,13 +8962,13 @@ public ElasticsearchResponse XpackMlRevertModelSnapshot(string job_id, str ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlStartDatafeed(string datafeed_id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/ml/datafeeds/{datafeed_id.NotNull("datafeed_id")}/_start"), body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/datafeeds/{datafeed_id}/_start - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-start-datafeed.html /// @@ -9167,13 +8977,13 @@ public ElasticsearchResponse XpackMlStartDatafeed(string datafeed_id, Post ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlStartDatafeedAsync(string datafeed_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/ml/datafeeds/{datafeed_id.NotNull("datafeed_id")}/_start"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/datafeeds/{datafeed_id}/_stop - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-stop-datafeed.html /// @@ -9181,13 +8991,13 @@ public ElasticsearchResponse XpackMlStartDatafeed(string datafeed_id, Post ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlStopDatafeed(string datafeed_id, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/ml/datafeeds/{datafeed_id.NotNull("datafeed_id")}/_stop"), null, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/datafeeds/{datafeed_id}/_stop - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-stop-datafeed.html /// @@ -9195,13 +9005,13 @@ public ElasticsearchResponse XpackMlStopDatafeed(string datafeed_id, Func< ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlStopDatafeedAsync(string datafeed_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/ml/datafeeds/{datafeed_id.NotNull("datafeed_id")}/_stop"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/datafeeds/{datafeed_id}/_update - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-datafeed.html /// @@ -9210,13 +9020,13 @@ public ElasticsearchResponse XpackMlStopDatafeed(string datafeed_id, Func< ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlUpdateDatafeed(string datafeed_id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/ml/datafeeds/{datafeed_id.NotNull("datafeed_id")}/_update"), body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/datafeeds/{datafeed_id}/_update - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-datafeed.html /// @@ -9225,13 +9035,13 @@ public ElasticsearchResponse XpackMlUpdateDatafeed(string datafeed_id, Pos ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlUpdateDatafeedAsync(string datafeed_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/ml/datafeeds/{datafeed_id.NotNull("datafeed_id")}/_update"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/_update - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-job.html /// @@ -9240,13 +9050,13 @@ public ElasticsearchResponse XpackMlUpdateDatafeed(string datafeed_id, Pos ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlUpdateJob(string job_id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/_update"), body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/_update - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-job.html /// @@ -9255,13 +9065,13 @@ public ElasticsearchResponse XpackMlUpdateJob(string job_id, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlUpdateJobAsync(string job_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/_update"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-snapshot.html /// @@ -9271,13 +9081,13 @@ public ElasticsearchResponse XpackMlUpdateJob(string job_id, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlUpdateModelSnapshot(string job_id, string snapshot_id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/model_snapshots/{snapshot_id.NotNull("snapshot_id")}/_update"), body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-snapshot.html /// @@ -9287,13 +9097,13 @@ public ElasticsearchResponse XpackMlUpdateModelSnapshot(string job_id, str ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlUpdateModelSnapshotAsync(string job_id, string snapshot_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/ml/anomaly_detectors/{job_id.NotNull("job_id")}/model_snapshots/{snapshot_id.NotNull("snapshot_id")}/_update"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/_validate - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: /// @@ -9301,13 +9111,13 @@ public ElasticsearchResponse XpackMlUpdateModelSnapshot(string job_id, str ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlValidate(PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/ml/anomaly_detectors/_validate"), body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/_validate - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: /// @@ -9315,13 +9125,13 @@ public ElasticsearchResponse XpackMlValidate(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlValidateAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/ml/anomaly_detectors/_validate"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/_validate/detector - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: /// @@ -9329,13 +9139,13 @@ public ElasticsearchResponse XpackMlValidate(PostData body, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackMlValidateDetector(PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/ml/anomaly_detectors/_validate/detector"), body, _params(requestParameters)); - + ///Represents a POST on /_xpack/ml/anomaly_detectors/_validate/detector - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: /// @@ -9343,805 +9153,805 @@ public ElasticsearchResponse XpackMlValidateDetector(PostData body ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackMlValidateDetectorAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/ml/anomaly_detectors/_validate/detector"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_xpack/security/_authenticate - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-authenticate.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-authenticate.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityAuthenticate(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/security/_authenticate"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/security/_authenticate - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-authenticate.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-authenticate.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityAuthenticateAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/security/_authenticate"), cancellationToken, null, _params(requestParameters)); - + ///Represents a PUT on /_xpack/security/user/{username}/_password - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-change-password.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html /// ///The username of the user to change the password for ///the new password for the user ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityChangePassword(string username, PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"_xpack/security/user/{username.NotNull("username")}/_password"), body, _params(requestParameters)); - + ///Represents a PUT on /_xpack/security/user/{username}/_password - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-change-password.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html /// ///The username of the user to change the password for ///the new password for the user ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityChangePasswordAsync(string username, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"_xpack/security/user/{username.NotNull("username")}/_password"), cancellationToken, body, _params(requestParameters)); - + ///Represents a PUT on /_xpack/security/user/_password - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-change-password.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html /// ///the new password for the user ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityChangePassword(PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"_xpack/security/user/_password"), body, _params(requestParameters)); - + ///Represents a PUT on /_xpack/security/user/_password - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-change-password.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html /// ///the new password for the user ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityChangePasswordAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"_xpack/security/user/_password"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_xpack/security/user/{username}/_password - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-change-password.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html /// ///The username of the user to change the password for ///the new password for the user ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityChangePasswordPost(string username, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/security/user/{username.NotNull("username")}/_password"), body, _params(requestParameters)); - + ///Represents a POST on /_xpack/security/user/{username}/_password - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-change-password.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html /// ///The username of the user to change the password for ///the new password for the user ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityChangePasswordPostAsync(string username, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/security/user/{username.NotNull("username")}/_password"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_xpack/security/user/_password - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-change-password.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html /// ///the new password for the user ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityChangePasswordPost(PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/security/user/_password"), body, _params(requestParameters)); - + ///Represents a POST on /_xpack/security/user/_password - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-change-password.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html /// ///the new password for the user ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityChangePasswordPostAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/security/user/_password"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_xpack/security/realm/{realms}/_clear_cache - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/current/security-api-clear-cache.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-cache.html /// ///Comma-separated list of realms to clear ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityClearCachedRealms(string realms, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/security/realm/{realms.NotNull("realms")}/_clear_cache"), null, _params(requestParameters)); - + ///Represents a POST on /_xpack/security/realm/{realms}/_clear_cache - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/current/security-api-clear-cache.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-cache.html /// ///Comma-separated list of realms to clear ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityClearCachedRealmsAsync(string realms, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/security/realm/{realms.NotNull("realms")}/_clear_cache"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_xpack/security/role/{name}/_clear_cache - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-clear-role-cache + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-clear-role-cache /// ///Role name ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityClearCachedRoles(string name, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/security/role/{name.NotNull("name")}/_clear_cache"), null, _params(requestParameters)); - + ///Represents a POST on /_xpack/security/role/{name}/_clear_cache - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-clear-role-cache + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-clear-role-cache /// ///Role name ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityClearCachedRolesAsync(string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/security/role/{name.NotNull("name")}/_clear_cache"), cancellationToken, null, _params(requestParameters)); - + ///Represents a DELETE on /_xpack/security/role/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-delete-role + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-delete-role /// ///Role name ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityDeleteRole(string name, Func requestParameters = null) where T : class => this.DoRequest(DELETE, Url($"_xpack/security/role/{name.NotNull("name")}"), null, _params(requestParameters)); - + ///Represents a DELETE on /_xpack/security/role/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-delete-role + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-delete-role /// ///Role name ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityDeleteRoleAsync(string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(DELETE, Url($"_xpack/security/role/{name.NotNull("name")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a DELETE on /_xpack/security/role_mapping/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-delete-role-mapping + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-delete-role-mapping /// ///Role-mapping name ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityDeleteRoleMapping(string name, Func requestParameters = null) where T : class => this.DoRequest(DELETE, Url($"_xpack/security/role_mapping/{name.NotNull("name")}"), null, _params(requestParameters)); - + ///Represents a DELETE on /_xpack/security/role_mapping/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-delete-role-mapping + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-delete-role-mapping /// ///Role-mapping name ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityDeleteRoleMappingAsync(string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(DELETE, Url($"_xpack/security/role_mapping/{name.NotNull("name")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a DELETE on /_xpack/security/user/{username} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-delete-user + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-delete-user /// ///username ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityDeleteUser(string username, Func requestParameters = null) where T : class => this.DoRequest(DELETE, Url($"_xpack/security/user/{username.NotNull("username")}"), null, _params(requestParameters)); - + ///Represents a DELETE on /_xpack/security/user/{username} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-delete-user + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-delete-user /// ///username ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityDeleteUserAsync(string username, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(DELETE, Url($"_xpack/security/user/{username.NotNull("username")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a PUT on /_xpack/security/user/{username}/_disable - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-disable-user.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-disable-user /// ///The username of the user to disable ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityDisableUser(string username, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"_xpack/security/user/{username.NotNull("username")}/_disable"), null, _params(requestParameters)); - + ///Represents a PUT on /_xpack/security/user/{username}/_disable - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-disable-user.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-disable-user /// ///The username of the user to disable ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityDisableUserAsync(string username, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"_xpack/security/user/{username.NotNull("username")}/_disable"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_xpack/security/user/{username}/_disable - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-disable-user.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-disable-user /// ///The username of the user to disable ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityDisableUserPost(string username, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/security/user/{username.NotNull("username")}/_disable"), null, _params(requestParameters)); - + ///Represents a POST on /_xpack/security/user/{username}/_disable - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-disable-user.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-disable-user /// ///The username of the user to disable ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityDisableUserPostAsync(string username, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/security/user/{username.NotNull("username")}/_disable"), cancellationToken, null, _params(requestParameters)); - + ///Represents a PUT on /_xpack/security/user/{username}/_enable - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-enable-user.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-enable-user /// ///The username of the user to enable ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityEnableUser(string username, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"_xpack/security/user/{username.NotNull("username")}/_enable"), null, _params(requestParameters)); - + ///Represents a PUT on /_xpack/security/user/{username}/_enable - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-enable-user.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-enable-user /// ///The username of the user to enable ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityEnableUserAsync(string username, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"_xpack/security/user/{username.NotNull("username")}/_enable"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_xpack/security/user/{username}/_enable - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-enable-user.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-enable-user /// ///The username of the user to enable ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityEnableUserPost(string username, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/security/user/{username.NotNull("username")}/_enable"), null, _params(requestParameters)); - + ///Represents a POST on /_xpack/security/user/{username}/_enable - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-enable-user.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-enable-user /// ///The username of the user to enable ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityEnableUserPostAsync(string username, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/security/user/{username.NotNull("username")}/_enable"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_xpack/security/role/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-get-role + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-get-role /// ///Role name ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityGetRole(string name, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/security/role/{name.NotNull("name")}"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/security/role/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-get-role + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-get-role /// ///Role name ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityGetRoleAsync(string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/security/role/{name.NotNull("name")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_xpack/security/role - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-get-role + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-get-role /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityGetRole(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/security/role"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/security/role - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-get-role + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-get-role /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityGetRoleAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/security/role"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_xpack/security/role_mapping/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-get-role-mapping + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-get-role-mapping /// ///Role-Mapping name ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityGetRoleMapping(string name, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/security/role_mapping/{name.NotNull("name")}"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/security/role_mapping/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-get-role-mapping + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-get-role-mapping /// ///Role-Mapping name ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityGetRoleMappingAsync(string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/security/role_mapping/{name.NotNull("name")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_xpack/security/role_mapping - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-get-role-mapping + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-get-role-mapping /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityGetRoleMapping(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/security/role_mapping"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/security/role_mapping - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-get-role-mapping + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-get-role-mapping /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityGetRoleMappingAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/security/role_mapping"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_xpack/security/oauth2/token - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-tokens.html#security-api-get-token + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-tokens.html#security-api-get-token /// ///The token request to get ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityGetToken(PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/security/oauth2/token"), body, _params(requestParameters)); - + ///Represents a POST on /_xpack/security/oauth2/token - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-tokens.html#security-api-get-token + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-tokens.html#security-api-get-token /// ///The token request to get ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityGetTokenAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/security/oauth2/token"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_xpack/security/user/{username} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-get-user + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-get-user /// ///A comma-separated list of usernames ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityGetUser(string username, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/security/user/{username.NotNull("username")}"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/security/user/{username} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-get-user + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-get-user /// ///A comma-separated list of usernames ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityGetUserAsync(string username, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/security/user/{username.NotNull("username")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_xpack/security/user - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-get-user + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-get-user /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityGetUser(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/security/user"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/security/user - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-get-user + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-get-user /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityGetUserAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/security/user"), cancellationToken, null, _params(requestParameters)); - + ///Represents a DELETE on /_xpack/security/oauth2/token - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-tokens.html#security-api-invalidate-token + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-tokens.html#security-api-invalidate-token /// ///The token to invalidate ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityInvalidateToken(PostData body, Func requestParameters = null) where T : class => this.DoRequest(DELETE, Url($"_xpack/security/oauth2/token"), body, _params(requestParameters)); - + ///Represents a DELETE on /_xpack/security/oauth2/token - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-tokens.html#security-api-invalidate-token + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-tokens.html#security-api-invalidate-token /// ///The token to invalidate ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityInvalidateTokenAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(DELETE, Url($"_xpack/security/oauth2/token"), cancellationToken, body, _params(requestParameters)); - + ///Represents a PUT on /_xpack/security/role/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-put-role + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-put-role /// ///Role name ///The role to add ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityPutRole(string name, PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"_xpack/security/role/{name.NotNull("name")}"), body, _params(requestParameters)); - + ///Represents a PUT on /_xpack/security/role/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-put-role + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-put-role /// ///Role name ///The role to add ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityPutRoleAsync(string name, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"_xpack/security/role/{name.NotNull("name")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_xpack/security/role/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-put-role + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-put-role /// ///Role name ///The role to add ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityPutRolePost(string name, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/security/role/{name.NotNull("name")}"), body, _params(requestParameters)); - + ///Represents a POST on /_xpack/security/role/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-put-role + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-put-role /// ///Role name ///The role to add ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityPutRolePostAsync(string name, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/security/role/{name.NotNull("name")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a PUT on /_xpack/security/role_mapping/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-put-role-mapping + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-put-role-mapping /// ///Role-mapping name ///The role to add ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityPutRoleMapping(string name, PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"_xpack/security/role_mapping/{name.NotNull("name")}"), body, _params(requestParameters)); - + ///Represents a PUT on /_xpack/security/role_mapping/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-put-role-mapping + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-put-role-mapping /// ///Role-mapping name ///The role to add ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityPutRoleMappingAsync(string name, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"_xpack/security/role_mapping/{name.NotNull("name")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_xpack/security/role_mapping/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-put-role-mapping + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-put-role-mapping /// ///Role-mapping name ///The role to add ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityPutRoleMappingPost(string name, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/security/role_mapping/{name.NotNull("name")}"), body, _params(requestParameters)); - + ///Represents a POST on /_xpack/security/role_mapping/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-put-role-mapping + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-put-role-mapping /// ///Role-mapping name ///The role to add ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityPutRoleMappingPostAsync(string name, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/security/role_mapping/{name.NotNull("name")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a PUT on /_xpack/security/user/{username} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-put-user + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-put-user /// ///The username of the User ///The user to add ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityPutUser(string username, PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"_xpack/security/user/{username.NotNull("username")}"), body, _params(requestParameters)); - + ///Represents a PUT on /_xpack/security/user/{username} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-put-user + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-put-user /// ///The username of the User ///The user to add ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityPutUserAsync(string username, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"_xpack/security/user/{username.NotNull("username")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_xpack/security/user/{username} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-put-user + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-put-user /// ///The username of the User ///The user to add ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackSecurityPutUserPost(string username, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/security/user/{username.NotNull("username")}"), body, _params(requestParameters)); - + ///Represents a POST on /_xpack/security/user/{username} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-put-user + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-put-user /// ///The username of the User ///The user to add ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackSecurityPutUserPostAsync(string username, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/security/user/{username.NotNull("username")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a PUT on /_xpack/watcher/watch/{watch_id}/_ack - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html /// @@ -10149,13 +9959,13 @@ public ElasticsearchResponse XpackSecurityPutUserPost(string username, Pos ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackWatcherAckWatch(string watch_id, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"_xpack/watcher/watch/{watch_id.NotNull("watch_id")}/_ack"), null, _params(requestParameters)); - + ///Represents a PUT on /_xpack/watcher/watch/{watch_id}/_ack - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html /// @@ -10163,13 +9973,13 @@ public ElasticsearchResponse XpackWatcherAckWatch(string watch_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackWatcherAckWatchAsync(string watch_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"_xpack/watcher/watch/{watch_id.NotNull("watch_id")}/_ack"), cancellationToken, null, _params(requestParameters)); - + ///Represents a PUT on /_xpack/watcher/watch/{watch_id}/_ack/{action_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html /// @@ -10178,13 +9988,13 @@ public ElasticsearchResponse XpackWatcherAckWatch(string watch_id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackWatcherAckWatch(string watch_id, string action_id, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"_xpack/watcher/watch/{watch_id.NotNull("watch_id")}/_ack/{action_id.NotNull("action_id")}"), null, _params(requestParameters)); - + ///Represents a PUT on /_xpack/watcher/watch/{watch_id}/_ack/{action_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html /// @@ -10193,13 +10003,13 @@ public ElasticsearchResponse XpackWatcherAckWatch(string watch_id, string ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackWatcherAckWatchAsync(string watch_id, string action_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"_xpack/watcher/watch/{watch_id.NotNull("watch_id")}/_ack/{action_id.NotNull("action_id")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_xpack/watcher/watch/{watch_id}/_ack - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html /// @@ -10207,13 +10017,13 @@ public ElasticsearchResponse XpackWatcherAckWatch(string watch_id, string ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackWatcherAckWatchPost(string watch_id, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/watcher/watch/{watch_id.NotNull("watch_id")}/_ack"), null, _params(requestParameters)); - + ///Represents a POST on /_xpack/watcher/watch/{watch_id}/_ack - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html /// @@ -10221,13 +10031,13 @@ public ElasticsearchResponse XpackWatcherAckWatchPost(string watch_id, Fun ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackWatcherAckWatchPostAsync(string watch_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/watcher/watch/{watch_id.NotNull("watch_id")}/_ack"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_xpack/watcher/watch/{watch_id}/_ack/{action_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html /// @@ -10236,13 +10046,13 @@ public ElasticsearchResponse XpackWatcherAckWatchPost(string watch_id, Fun ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackWatcherAckWatchPost(string watch_id, string action_id, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/watcher/watch/{watch_id.NotNull("watch_id")}/_ack/{action_id.NotNull("action_id")}"), null, _params(requestParameters)); - + ///Represents a POST on /_xpack/watcher/watch/{watch_id}/_ack/{action_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html /// @@ -10251,13 +10061,13 @@ public ElasticsearchResponse XpackWatcherAckWatchPost(string watch_id, str ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackWatcherAckWatchPostAsync(string watch_id, string action_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/watcher/watch/{watch_id.NotNull("watch_id")}/_ack/{action_id.NotNull("action_id")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a PUT on /_xpack/watcher/watch/{watch_id}/_activate - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html /// @@ -10265,13 +10075,13 @@ public ElasticsearchResponse XpackWatcherAckWatchPost(string watch_id, str ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackWatcherActivateWatch(string watch_id, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"_xpack/watcher/watch/{watch_id.NotNull("watch_id")}/_activate"), null, _params(requestParameters)); - + ///Represents a PUT on /_xpack/watcher/watch/{watch_id}/_activate - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html /// @@ -10279,13 +10089,13 @@ public ElasticsearchResponse XpackWatcherActivateWatch(string watch_id, Fu ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackWatcherActivateWatchAsync(string watch_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"_xpack/watcher/watch/{watch_id.NotNull("watch_id")}/_activate"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_xpack/watcher/watch/{watch_id}/_activate - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html /// @@ -10293,13 +10103,13 @@ public ElasticsearchResponse XpackWatcherActivateWatch(string watch_id, Fu ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackWatcherActivateWatchPost(string watch_id, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/watcher/watch/{watch_id.NotNull("watch_id")}/_activate"), null, _params(requestParameters)); - + ///Represents a POST on /_xpack/watcher/watch/{watch_id}/_activate - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html /// @@ -10307,13 +10117,13 @@ public ElasticsearchResponse XpackWatcherActivateWatchPost(string watch_id ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackWatcherActivateWatchPostAsync(string watch_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/watcher/watch/{watch_id.NotNull("watch_id")}/_activate"), cancellationToken, null, _params(requestParameters)); - + ///Represents a PUT on /_xpack/watcher/watch/{watch_id}/_deactivate - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html /// @@ -10321,13 +10131,13 @@ public ElasticsearchResponse XpackWatcherActivateWatchPost(string watch_id ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackWatcherDeactivateWatch(string watch_id, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"_xpack/watcher/watch/{watch_id.NotNull("watch_id")}/_deactivate"), null, _params(requestParameters)); - + ///Represents a PUT on /_xpack/watcher/watch/{watch_id}/_deactivate - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html /// @@ -10335,13 +10145,13 @@ public ElasticsearchResponse XpackWatcherDeactivateWatch(string watch_id, ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackWatcherDeactivateWatchAsync(string watch_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"_xpack/watcher/watch/{watch_id.NotNull("watch_id")}/_deactivate"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_xpack/watcher/watch/{watch_id}/_deactivate - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html /// @@ -10349,13 +10159,13 @@ public ElasticsearchResponse XpackWatcherDeactivateWatch(string watch_id, ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackWatcherDeactivateWatchPost(string watch_id, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/watcher/watch/{watch_id.NotNull("watch_id")}/_deactivate"), null, _params(requestParameters)); - + ///Represents a POST on /_xpack/watcher/watch/{watch_id}/_deactivate - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html /// @@ -10363,13 +10173,13 @@ public ElasticsearchResponse XpackWatcherDeactivateWatchPost(string watch_ ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackWatcherDeactivateWatchPostAsync(string watch_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/watcher/watch/{watch_id.NotNull("watch_id")}/_deactivate"), cancellationToken, null, _params(requestParameters)); - + ///Represents a DELETE on /_xpack/watcher/watch/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-delete-watch.html /// @@ -10377,13 +10187,13 @@ public ElasticsearchResponse XpackWatcherDeactivateWatchPost(string watch_ ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackWatcherDeleteWatch(string id, Func requestParameters = null) where T : class => this.DoRequest(DELETE, Url($"_xpack/watcher/watch/{id.NotNull("id")}"), null, _params(requestParameters, allow404: true)); - + ///Represents a DELETE on /_xpack/watcher/watch/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-delete-watch.html /// @@ -10391,13 +10201,13 @@ public ElasticsearchResponse XpackWatcherDeleteWatch(string id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackWatcherDeleteWatchAsync(string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(DELETE, Url($"_xpack/watcher/watch/{id.NotNull("id")}"), cancellationToken, null, _params(requestParameters, allow404: true)); - + ///Represents a PUT on /_xpack/watcher/watch/{id}/_execute - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html /// @@ -10406,13 +10216,13 @@ public ElasticsearchResponse XpackWatcherDeleteWatch(string id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackWatcherExecuteWatch(string id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"_xpack/watcher/watch/{id.NotNull("id")}/_execute"), body, _params(requestParameters)); - + ///Represents a PUT on /_xpack/watcher/watch/{id}/_execute - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html /// @@ -10421,13 +10231,13 @@ public ElasticsearchResponse XpackWatcherExecuteWatch(string id, PostData< ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackWatcherExecuteWatchAsync(string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"_xpack/watcher/watch/{id.NotNull("id")}/_execute"), cancellationToken, body, _params(requestParameters)); - + ///Represents a PUT on /_xpack/watcher/watch/_execute - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html /// @@ -10435,13 +10245,13 @@ public ElasticsearchResponse XpackWatcherExecuteWatch(string id, PostData< ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackWatcherExecuteWatch(PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"_xpack/watcher/watch/_execute"), body, _params(requestParameters)); - + ///Represents a PUT on /_xpack/watcher/watch/_execute - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html /// @@ -10449,13 +10259,13 @@ public ElasticsearchResponse XpackWatcherExecuteWatch(PostData bod ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackWatcherExecuteWatchAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"_xpack/watcher/watch/_execute"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_xpack/watcher/watch/{id}/_execute - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html /// @@ -10464,13 +10274,13 @@ public ElasticsearchResponse XpackWatcherExecuteWatch(PostData bod ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackWatcherExecuteWatchPost(string id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/watcher/watch/{id.NotNull("id")}/_execute"), body, _params(requestParameters)); - + ///Represents a POST on /_xpack/watcher/watch/{id}/_execute - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html /// @@ -10479,13 +10289,13 @@ public ElasticsearchResponse XpackWatcherExecuteWatchPost(string id, PostD ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackWatcherExecuteWatchPostAsync(string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/watcher/watch/{id.NotNull("id")}/_execute"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_xpack/watcher/watch/_execute - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html /// @@ -10493,13 +10303,13 @@ public ElasticsearchResponse XpackWatcherExecuteWatchPost(string id, PostD ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackWatcherExecuteWatchPost(PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/watcher/watch/_execute"), body, _params(requestParameters)); - + ///Represents a POST on /_xpack/watcher/watch/_execute - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html /// @@ -10507,13 +10317,13 @@ public ElasticsearchResponse XpackWatcherExecuteWatchPost(PostData ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackWatcherExecuteWatchPostAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/watcher/watch/_execute"), cancellationToken, body, _params(requestParameters)); - + ///Represents a GET on /_xpack/watcher/watch/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-get-watch.html /// @@ -10521,13 +10331,13 @@ public ElasticsearchResponse XpackWatcherExecuteWatchPost(PostData ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackWatcherGetWatch(string id, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/watcher/watch/{id.NotNull("id")}"), null, _params(requestParameters, allow404: true)); - + ///Represents a GET on /_xpack/watcher/watch/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-get-watch.html /// @@ -10535,13 +10345,13 @@ public ElasticsearchResponse XpackWatcherGetWatch(string id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackWatcherGetWatchAsync(string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/watcher/watch/{id.NotNull("id")}"), cancellationToken, null, _params(requestParameters, allow404: true)); - + ///Represents a PUT on /_xpack/watcher/watch/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html /// @@ -10550,13 +10360,13 @@ public ElasticsearchResponse XpackWatcherGetWatch(string id, FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackWatcherPutWatch(string id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(PUT, Url($"_xpack/watcher/watch/{id.NotNull("id")}"), body, _params(requestParameters)); - + ///Represents a PUT on /_xpack/watcher/watch/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html /// @@ -10565,13 +10375,13 @@ public ElasticsearchResponse XpackWatcherPutWatch(string id, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackWatcherPutWatchAsync(string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(PUT, Url($"_xpack/watcher/watch/{id.NotNull("id")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_xpack/watcher/watch/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html /// @@ -10580,13 +10390,13 @@ public ElasticsearchResponse XpackWatcherPutWatch(string id, PostDataA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackWatcherPutWatchPost(string id, PostData body, Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/watcher/watch/{id.NotNull("id")}"), body, _params(requestParameters)); - + ///Represents a POST on /_xpack/watcher/watch/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html /// @@ -10595,91 +10405,91 @@ public ElasticsearchResponse XpackWatcherPutWatchPost(string id, PostData< ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackWatcherPutWatchPostAsync(string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/watcher/watch/{id.NotNull("id")}"), cancellationToken, body, _params(requestParameters)); - + ///Represents a POST on /_xpack/watcher/_restart - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-restart.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackWatcherRestart(Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/watcher/_restart"), null, _params(requestParameters)); - + ///Represents a POST on /_xpack/watcher/_restart - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-restart.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackWatcherRestartAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/watcher/_restart"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_xpack/watcher/_start - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-start.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackWatcherStart(Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/watcher/_start"), null, _params(requestParameters)); - + ///Represents a POST on /_xpack/watcher/_start - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-start.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackWatcherStartAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/watcher/_start"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_xpack/watcher/stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackWatcherStats(Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/watcher/stats"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/watcher/stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackWatcherStatsAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/watcher/stats"), cancellationToken, null, _params(requestParameters)); - + ///Represents a GET on /_xpack/watcher/stats/{watcher_stats_metric} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html /// @@ -10687,13 +10497,13 @@ public ElasticsearchResponse XpackWatcherStats(FuncA func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackWatcherStats(WatcherStatsMetric watcher_stats_metric, Func requestParameters = null) where T : class => this.DoRequest(GET, Url($"_xpack/watcher/stats/{watcher_stats_metric.NotNull("watcher_stats_metric")}"), null, _params(requestParameters)); - + ///Represents a GET on /_xpack/watcher/stats/{watcher_stats_metric} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html /// @@ -10701,35 +10511,35 @@ public ElasticsearchResponse XpackWatcherStats(WatcherStatsMetric watcher_ ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackWatcherStatsAsync(WatcherStatsMetric watcher_stats_metric, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(GET, Url($"_xpack/watcher/stats/{watcher_stats_metric.NotNull("watcher_stats_metric")}"), cancellationToken, null, _params(requestParameters)); - + ///Represents a POST on /_xpack/watcher/_stop - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stop.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public ElasticsearchResponse XpackWatcherStop(Func requestParameters = null) where T : class => this.DoRequest(POST, Url($"_xpack/watcher/_stop"), null, _params(requestParameters)); - + ///Represents a POST on /_xpack/watcher/_stop - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stop.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. public Task> XpackWatcherStopAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class => this.DoRequestAsync(POST, Url($"_xpack/watcher/_stop"), cancellationToken, null, _params(requestParameters)); - - + + } } - + diff --git a/src/Elasticsearch.Net/IElasticLowLevelClient.Generated.cs b/src/Elasticsearch.Net/IElasticLowLevelClient.Generated.cs index f2383b2fc39..4663a7d32b0 100644 --- a/src/Elasticsearch.Net/IElasticLowLevelClient.Generated.cs +++ b/src/Elasticsearch.Net/IElasticLowLevelClient.Generated.cs @@ -28,37 +28,37 @@ public partial interface IElasticLowLevelClient //IElasticsearchSerializer Serializer { get; } ///Represents a POST on /_bulk - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html /// ///The operation definition and data (action-data pairs), separated by newlines ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Bulk(PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_bulk - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html /// ///The operation definition and data (action-data pairs), separated by newlines ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> BulkAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/_bulk - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html /// @@ -66,13 +66,13 @@ public partial interface IElasticLowLevelClient ///The operation definition and data (action-data pairs), separated by newlines ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Bulk(string index, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/_bulk - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html /// @@ -80,13 +80,13 @@ public partial interface IElasticLowLevelClient ///The operation definition and data (action-data pairs), separated by newlines ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> BulkAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/{type}/_bulk - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html /// @@ -95,13 +95,13 @@ public partial interface IElasticLowLevelClient ///The operation definition and data (action-data pairs), separated by newlines ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Bulk(string index, string type, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/{type}/_bulk - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html /// @@ -110,39 +110,39 @@ public partial interface IElasticLowLevelClient ///The operation definition and data (action-data pairs), separated by newlines ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> BulkAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /_bulk - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html /// ///The operation definition and data (action-data pairs), separated by newlines ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse BulkPut(PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /_bulk - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html /// ///The operation definition and data (action-data pairs), separated by newlines ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> BulkPutAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /{index}/_bulk - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html /// @@ -150,13 +150,13 @@ public partial interface IElasticLowLevelClient ///The operation definition and data (action-data pairs), separated by newlines ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse BulkPut(string index, PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /{index}/_bulk - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html /// @@ -164,13 +164,13 @@ public partial interface IElasticLowLevelClient ///The operation definition and data (action-data pairs), separated by newlines ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> BulkPutAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /{index}/{type}/_bulk - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html /// @@ -179,13 +179,13 @@ public partial interface IElasticLowLevelClient ///The operation definition and data (action-data pairs), separated by newlines ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse BulkPut(string index, string type, PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /{index}/{type}/_bulk - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html /// @@ -194,1055 +194,1055 @@ public partial interface IElasticLowLevelClient ///The operation definition and data (action-data pairs), separated by newlines ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> BulkPutAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/aliases - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatAliases(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/aliases - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatAliasesAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/aliases/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html /// ///A comma-separated list of alias names to return ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatAliases(string name, Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/aliases/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html /// ///A comma-separated list of alias names to return ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatAliasesAsync(string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/allocation - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatAllocation(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/allocation - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatAllocationAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/allocation/{node_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html /// ///A comma-separated list of node IDs or names to limit the returned information ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatAllocation(string node_id, Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/allocation/{node_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html /// ///A comma-separated list of node IDs or names to limit the returned information ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatAllocationAsync(string node_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/count - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatCount(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/count - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatCountAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/count/{index} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html /// ///A comma-separated list of index names to limit the returned information ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatCount(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/count/{index} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html /// ///A comma-separated list of index names to limit the returned information ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatCountAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/fielddata - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatFielddata(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/fielddata - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatFielddataAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/fielddata/{fields} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html /// ///A comma-separated list of fields to return the fielddata size ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatFielddata(string fields, Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/fielddata/{fields} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html /// ///A comma-separated list of fields to return the fielddata size ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatFielddataAsync(string fields, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/health - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-health.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatHealth(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/health - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-health.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatHealthAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatHelp(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatHelpAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/indices - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatIndices(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/indices - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatIndicesAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/indices/{index} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html /// ///A comma-separated list of index names to limit the returned information ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatIndices(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/indices/{index} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html /// ///A comma-separated list of index names to limit the returned information ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatIndicesAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/master - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-master.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatMaster(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/master - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-master.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatMasterAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/nodeattrs - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatNodeattrs(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/nodeattrs - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatNodeattrsAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/nodes - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatNodes(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/nodes - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatNodesAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/pending_tasks - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-pending-tasks.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatPendingTasks(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/pending_tasks - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-pending-tasks.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatPendingTasksAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/plugins - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-plugins.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatPlugins(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/plugins - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-plugins.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatPluginsAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/recovery - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatRecovery(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/recovery - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatRecoveryAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/recovery/{index} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html /// ///A comma-separated list of index names to limit the returned information ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatRecovery(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/recovery/{index} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html /// ///A comma-separated list of index names to limit the returned information ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatRecoveryAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/repositories - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-repositories.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatRepositories(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/repositories - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-repositories.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatRepositoriesAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/segments - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatSegments(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/segments - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatSegmentsAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/segments/{index} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html /// ///A comma-separated list of index names to limit the returned information ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatSegments(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/segments/{index} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html /// ///A comma-separated list of index names to limit the returned information ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatSegmentsAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/shards - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatShards(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/shards - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatShardsAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/shards/{index} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html /// ///A comma-separated list of index names to limit the returned information ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatShards(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/shards/{index} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html /// ///A comma-separated list of index names to limit the returned information ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatShardsAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/snapshots - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatSnapshots(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/snapshots - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatSnapshotsAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/snapshots/{repository} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html /// ///Name of repository from which to fetch the snapshot information ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatSnapshots(string repository, Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/snapshots/{repository} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html /// ///Name of repository from which to fetch the snapshot information ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatSnapshotsAsync(string repository, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/tasks - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatTasks(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/tasks - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatTasksAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/templates - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatTemplates(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/templates - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatTemplatesAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/templates/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html /// ///A pattern that returned template names must match ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatTemplates(string name, Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/templates/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html /// ///A pattern that returned template names must match ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatTemplatesAsync(string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/thread_pool - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatThreadPool(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/thread_pool - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatThreadPoolAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cat/thread_pool/{thread_pool_patterns} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html /// ///A comma-separated list of regular-expressions to filter the thread pools in the output ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CatThreadPool(string thread_pool_patterns, Func requestParameters = null) where T : class; - + ///Represents a GET on /_cat/thread_pool/{thread_pool_patterns} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html /// ///A comma-separated list of regular-expressions to filter the thread pools in the output ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CatThreadPoolAsync(string thread_pool_patterns, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a DELETE on /_search/scroll - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html /// ///A comma-separated list of scroll IDs to clear if none was specified via the scroll_id parameter ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse ClearScroll(PostData body, Func requestParameters = null) where T : class; - + ///Represents a DELETE on /_search/scroll - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html /// ///A comma-separated list of scroll IDs to clear if none was specified via the scroll_id parameter ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> ClearScrollAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cluster/allocation/explain - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse ClusterAllocationExplainGet(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cluster/allocation/explain - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> ClusterAllocationExplainGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_cluster/allocation/explain - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html /// ///The index, shard, and primary flag to explain. Empty means 'explain the first unassigned shard' ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse ClusterAllocationExplain(PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_cluster/allocation/explain - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html /// ///The index, shard, and primary flag to explain. Empty means 'explain the first unassigned shard' ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> ClusterAllocationExplainAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cluster/settings - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse ClusterGetSettings(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cluster/settings - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> ClusterGetSettingsAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cluster/health - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse ClusterHealth(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cluster/health - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> ClusterHealthAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cluster/health/{index} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html /// ///Limit the information returned to a specific index ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse ClusterHealth(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /_cluster/health/{index} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html /// ///Limit the information returned to a specific index ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> ClusterHealthAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cluster/pending_tasks - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-pending.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse ClusterPendingTasks(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cluster/pending_tasks - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-pending.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> ClusterPendingTasksAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /_cluster/settings - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html /// ///The settings to be updated. Can be either `transient` or `persistent` (survives cluster restart). ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse ClusterPutSettings(PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /_cluster/settings - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html /// ///The settings to be updated. Can be either `transient` or `persistent` (survives cluster restart). ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> ClusterPutSettingsAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_cluster/reroute - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-reroute.html /// ///The definition of `commands` to perform (`move`, `cancel`, `allocate`) ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse ClusterReroute(PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_cluster/reroute - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-reroute.html /// ///The definition of `commands` to perform (`move`, `cancel`, `allocate`) ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> ClusterRerouteAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cluster/state - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse ClusterState(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cluster/state - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> ClusterStateAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cluster/state/{metric} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html /// ///Limit the information returned to the specified metrics ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse ClusterState(string metric, Func requestParameters = null) where T : class; - + ///Represents a GET on /_cluster/state/{metric} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html /// ///Limit the information returned to the specified metrics ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> ClusterStateAsync(string metric, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cluster/state/{metric}/{index} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html /// @@ -1250,13 +1250,13 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse ClusterState(string metric, string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /_cluster/state/{metric}/{index} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html /// @@ -1264,89 +1264,89 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> ClusterStateAsync(string metric, string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cluster/stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse ClusterStats(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cluster/stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> ClusterStatsAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cluster/stats/nodes/{node_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html /// ///A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse ClusterStats(string node_id, Func requestParameters = null) where T : class; - + ///Represents a GET on /_cluster/stats/nodes/{node_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html /// ///A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> ClusterStatsAsync(string node_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_count - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html /// ///A query to restrict the results specified with the Query DSL (optional) ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Count(PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_count - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html /// ///A query to restrict the results specified with the Query DSL (optional) ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CountAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/_count - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html /// @@ -1354,13 +1354,13 @@ public partial interface IElasticLowLevelClient ///A query to restrict the results specified with the Query DSL (optional) ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Count(string index, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/_count - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html /// @@ -1368,13 +1368,13 @@ public partial interface IElasticLowLevelClient ///A query to restrict the results specified with the Query DSL (optional) ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CountAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/{type}/_count - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html /// @@ -1383,13 +1383,13 @@ public partial interface IElasticLowLevelClient ///A query to restrict the results specified with the Query DSL (optional) ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Count(string index, string type, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/{type}/_count - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html /// @@ -1398,63 +1398,63 @@ public partial interface IElasticLowLevelClient ///A query to restrict the results specified with the Query DSL (optional) ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CountAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_count - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CountGet(Func requestParameters = null) where T : class; - + ///Represents a GET on /_count - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CountGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_count - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html /// ///A comma-separated list of indices to restrict the results ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CountGet(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_count - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html /// ///A comma-separated list of indices to restrict the results ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CountGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/{type}/_count - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html /// @@ -1462,13 +1462,13 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of types to restrict the results ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CountGet(string index, string type, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/{type}/_count - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html /// @@ -1476,13 +1476,13 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of types to restrict the results ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CountGetAsync(string index, string type, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /{index}/{type}/{id}/_create - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html /// @@ -1492,13 +1492,13 @@ public partial interface IElasticLowLevelClient ///The document ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Create(string index, string type, string id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /{index}/{type}/{id}/_create - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html /// @@ -1508,13 +1508,13 @@ public partial interface IElasticLowLevelClient ///The document ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CreateAsync(string index, string type, string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/{type}/{id}/_create - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html /// @@ -1524,13 +1524,13 @@ public partial interface IElasticLowLevelClient ///The document ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse CreatePost(string index, string type, string id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/{type}/{id}/_create - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html /// @@ -1540,13 +1540,13 @@ public partial interface IElasticLowLevelClient ///The document ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> CreatePostAsync(string index, string type, string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a DELETE on /{index}/{type}/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html /// @@ -1555,13 +1555,13 @@ public partial interface IElasticLowLevelClient ///The document ID ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Delete(string index, string type, string id, Func requestParameters = null) where T : class; - + ///Represents a DELETE on /{index}/{type}/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html /// @@ -1570,13 +1570,13 @@ public partial interface IElasticLowLevelClient ///The document ID ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> DeleteAsync(string index, string type, string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/_delete_by_query - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html /// @@ -1584,13 +1584,13 @@ public partial interface IElasticLowLevelClient ///The search definition using the Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse DeleteByQuery(string index, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/_delete_by_query - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html /// @@ -1598,13 +1598,13 @@ public partial interface IElasticLowLevelClient ///The search definition using the Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> DeleteByQueryAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/{type}/_delete_by_query - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html /// @@ -1613,13 +1613,13 @@ public partial interface IElasticLowLevelClient ///The search definition using the Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse DeleteByQuery(string index, string type, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/{type}/_delete_by_query - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html /// @@ -1628,93 +1628,39 @@ public partial interface IElasticLowLevelClient ///The search definition using the Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> DeleteByQueryAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - - ///Represents a DELETE on /_scripts/{lang} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html - /// - ///Script language - ///A func that allows you to describe the querystring parameters & request specific connection settings. - ElasticsearchResponse DeleteScript(string lang, Func requestParameters = null) where T : class; - - ///Represents a DELETE on /_scripts/{lang} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html - /// - ///Script language - ///A func that allows you to describe the querystring parameters & request specific connection settings. - Task> DeleteScriptAsync(string lang, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - - ///Represents a DELETE on /_scripts/{lang}/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + + ///Represents a DELETE on /_scripts/{id} + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html /// - ///Script language ///Script ID ///A func that allows you to describe the querystring parameters & request specific connection settings. - ElasticsearchResponse DeleteScript(string lang, string id, Func requestParameters = null) where T : class; - - ///Represents a DELETE on /_scripts/{lang}/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ElasticsearchResponse DeleteScript(string id, Func requestParameters = null) where T : class; + + ///Represents a DELETE on /_scripts/{id} + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html /// - ///Script language ///Script ID ///A func that allows you to describe the querystring parameters & request specific connection settings. - Task> DeleteScriptAsync(string lang, string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - - ///Represents a DELETE on /_search/template/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html - /// - ///Template ID - ///A func that allows you to describe the querystring parameters & request specific connection settings. - ElasticsearchResponse DeleteTemplate(string id, Func requestParameters = null) where T : class; - - ///Represents a DELETE on /_search/template/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html - /// - ///Template ID - ///A func that allows you to describe the querystring parameters & request specific connection settings. - Task> DeleteTemplateAsync(string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + Task> DeleteScriptAsync(string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; + ///Represents a HEAD on /{index}/{type}/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html /// @@ -1723,13 +1669,13 @@ public partial interface IElasticLowLevelClient ///The document ID ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Exists(string index, string type, string id, Func requestParameters = null) where T : class; - + ///Represents a HEAD on /{index}/{type}/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html /// @@ -1738,43 +1684,43 @@ public partial interface IElasticLowLevelClient ///The document ID ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> ExistsAsync(string index, string type, string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a HEAD on /{index}/{type}/{id}/_source - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/5.5/docs-get.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html /// ///The name of the index ///The type of the document; use `_all` to fetch the first document matching the ID across all types ///The document ID ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse ExistsSource(string index, string type, string id, Func requestParameters = null) where T : class; - + ///Represents a HEAD on /{index}/{type}/{id}/_source - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/5.5/docs-get.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html /// ///The name of the index ///The type of the document; use `_all` to fetch the first document matching the ID across all types ///The document ID ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> ExistsSourceAsync(string index, string type, string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/{type}/{id}/_explain - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html /// @@ -1783,13 +1729,13 @@ public partial interface IElasticLowLevelClient ///The document ID ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse ExplainGet(string index, string type, string id, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/{type}/{id}/_explain - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html /// @@ -1798,13 +1744,13 @@ public partial interface IElasticLowLevelClient ///The document ID ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> ExplainGetAsync(string index, string type, string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/{type}/{id}/_explain - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html /// @@ -1814,13 +1760,13 @@ public partial interface IElasticLowLevelClient ///The query definition using the Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Explain(string index, string type, string id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/{type}/{id}/_explain - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html /// @@ -1830,221 +1776,117 @@ public partial interface IElasticLowLevelClient ///The query definition using the Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> ExplainAsync(string index, string type, string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_field_caps - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/5.5/search-field-caps.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse FieldCapsGet(Func requestParameters = null) where T : class; - + ///Represents a GET on /_field_caps - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/5.5/search-field-caps.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> FieldCapsGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_field_caps - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/5.5/search-field-caps.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse FieldCapsGet(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_field_caps - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/5.5/search-field-caps.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> FieldCapsGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_field_caps - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/5.5/search-field-caps.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html /// ///Field json objects containing an array of field names ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse FieldCaps(PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_field_caps - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/5.5/search-field-caps.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html /// ///Field json objects containing an array of field names ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> FieldCapsAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/_field_caps - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/5.5/search-field-caps.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///Field json objects containing an array of field names ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse FieldCaps(string index, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/_field_caps - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/5.5/search-field-caps.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///Field json objects containing an array of field names ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> FieldCapsAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - - ///Represents a GET on /_field_stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-stats.html - /// - ///A func that allows you to describe the querystring parameters & request specific connection settings. - ElasticsearchResponse FieldStatsGet(Func requestParameters = null) where T : class; - - ///Represents a GET on /_field_stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-stats.html - /// - ///A func that allows you to describe the querystring parameters & request specific connection settings. - Task> FieldStatsGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - - ///Represents a GET on /{index}/_field_stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-stats.html - /// - ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices - ///A func that allows you to describe the querystring parameters & request specific connection settings. - ElasticsearchResponse FieldStatsGet(string index, Func requestParameters = null) where T : class; - - ///Represents a GET on /{index}/_field_stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-stats.html - /// - ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices - ///A func that allows you to describe the querystring parameters & request specific connection settings. - Task> FieldStatsGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - - ///Represents a POST on /_field_stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-stats.html - /// - ///Field json objects containing the name and optionally a range to filter out indices result, that have results outside the defined bounds - ///A func that allows you to describe the querystring parameters & request specific connection settings. - ElasticsearchResponse FieldStats(PostData body, Func requestParameters = null) where T : class; - - ///Represents a POST on /_field_stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-stats.html - /// - ///Field json objects containing the name and optionally a range to filter out indices result, that have results outside the defined bounds - ///A func that allows you to describe the querystring parameters & request specific connection settings. - Task> FieldStatsAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - - ///Represents a POST on /{index}/_field_stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-stats.html - /// - ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices - ///Field json objects containing the name and optionally a range to filter out indices result, that have results outside the defined bounds - ///A func that allows you to describe the querystring parameters & request specific connection settings. - ElasticsearchResponse FieldStats(string index, PostData body, Func requestParameters = null) where T : class; - - ///Represents a POST on /{index}/_field_stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-stats.html - /// - ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices - ///Field json objects containing the name and optionally a range to filter out indices result, that have results outside the defined bounds - ///A func that allows you to describe the querystring parameters & request specific connection settings. - Task> FieldStatsAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/{type}/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html /// @@ -2053,13 +1895,13 @@ public partial interface IElasticLowLevelClient ///The document ID ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Get(string index, string type, string id, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/{type}/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html /// @@ -2068,67 +1910,39 @@ public partial interface IElasticLowLevelClient ///The document ID ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> GetAsync(string index, string type, string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - - ///Represents a GET on /_scripts/{lang} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html - /// - ///Script language - ///A func that allows you to describe the querystring parameters & request specific connection settings. - ElasticsearchResponse GetScript(string lang, Func requestParameters = null) where T : class; - - ///Represents a GET on /_scripts/{lang} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html - /// - ///Script language - ///A func that allows you to describe the querystring parameters & request specific connection settings. - Task> GetScriptAsync(string lang, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - - ///Represents a GET on /_scripts/{lang}/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + + ///Represents a GET on /_scripts/{id} + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html /// - ///Script language ///Script ID ///A func that allows you to describe the querystring parameters & request specific connection settings. - ElasticsearchResponse GetScript(string lang, string id, Func requestParameters = null) where T : class; - - ///Represents a GET on /_scripts/{lang}/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ElasticsearchResponse GetScript(string id, Func requestParameters = null) where T : class; + + ///Represents a GET on /_scripts/{id} + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html /// - ///Script language ///Script ID ///A func that allows you to describe the querystring parameters & request specific connection settings. - Task> GetScriptAsync(string lang, string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + Task> GetScriptAsync(string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; + ///Represents a GET on /{index}/{type}/{id}/_source - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html /// @@ -2137,13 +1951,13 @@ public partial interface IElasticLowLevelClient ///The document ID ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse GetSource(string index, string type, string id, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/{type}/{id}/_source - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html /// @@ -2152,39 +1966,13 @@ public partial interface IElasticLowLevelClient ///The document ID ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> GetSourceAsync(string index, string type, string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - - ///Represents a GET on /_search/template/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html - /// - ///Template ID - ///A func that allows you to describe the querystring parameters & request specific connection settings. - ElasticsearchResponse GetTemplate(string id, Func requestParameters = null) where T : class; - - ///Represents a GET on /_search/template/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html - /// - ///Template ID - ///A func that allows you to describe the querystring parameters & request specific connection settings. - Task> GetTemplateAsync(string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/{type} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html /// @@ -2193,13 +1981,13 @@ public partial interface IElasticLowLevelClient ///The document ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Index(string index, string type, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/{type} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html /// @@ -2208,13 +1996,13 @@ public partial interface IElasticLowLevelClient ///The document ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndexAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/{type}/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html /// @@ -2224,13 +2012,13 @@ public partial interface IElasticLowLevelClient ///The document ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Index(string index, string type, string id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/{type}/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html /// @@ -2240,13 +2028,13 @@ public partial interface IElasticLowLevelClient ///The document ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndexAsync(string index, string type, string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /{index}/{type} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html /// @@ -2255,13 +2043,13 @@ public partial interface IElasticLowLevelClient ///The document ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndexPut(string index, string type, PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /{index}/{type} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html /// @@ -2270,13 +2058,13 @@ public partial interface IElasticLowLevelClient ///The document ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndexPutAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /{index}/{type}/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html /// @@ -2286,13 +2074,13 @@ public partial interface IElasticLowLevelClient ///The document ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndexPut(string index, string type, string id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /{index}/{type}/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html /// @@ -2302,89 +2090,89 @@ public partial interface IElasticLowLevelClient ///The document ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndexPutAsync(string index, string type, string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_analyze - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesAnalyzeGetForAll(Func requestParameters = null) where T : class; - + ///Represents a GET on /_analyze - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesAnalyzeGetForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_analyze - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html /// ///The name of the index to scope the operation ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesAnalyzeGet(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_analyze - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html /// ///The name of the index to scope the operation ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesAnalyzeGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_analyze - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html /// ///Define analyzer/tokenizer parameters and the text on which the analysis should be performed ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesAnalyzeForAll(PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_analyze - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html /// ///Define analyzer/tokenizer parameters and the text on which the analysis should be performed ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesAnalyzeForAllAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/_analyze - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html /// @@ -2392,13 +2180,13 @@ public partial interface IElasticLowLevelClient ///Define analyzer/tokenizer parameters and the text on which the analysis should be performed ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesAnalyze(string index, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/_analyze - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html /// @@ -2406,139 +2194,139 @@ public partial interface IElasticLowLevelClient ///Define analyzer/tokenizer parameters and the text on which the analysis should be performed ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesAnalyzeAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_cache/clear - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesClearCacheForAll(Func requestParameters = null) where T : class; - + ///Represents a POST on /_cache/clear - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesClearCacheForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/_cache/clear - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html /// ///A comma-separated list of index name to limit the operation ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesClearCache(string index, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/_cache/clear - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html /// ///A comma-separated list of index name to limit the operation ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesClearCacheAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cache/clear - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesClearCacheGetForAll(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cache/clear - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesClearCacheGetForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_cache/clear - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html /// ///A comma-separated list of index name to limit the operation ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesClearCacheGet(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_cache/clear - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html /// ///A comma-separated list of index name to limit the operation ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesClearCacheGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/_close - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html /// ///A comma separated list of indices to close ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesClose(string index, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/_close - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html /// ///A comma separated list of indices to close ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesCloseAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /{index} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html /// @@ -2546,13 +2334,13 @@ public partial interface IElasticLowLevelClient ///The configuration for the index (`settings` and `mappings`) ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesCreate(string index, PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /{index} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html /// @@ -2560,39 +2348,39 @@ public partial interface IElasticLowLevelClient ///The configuration for the index (`settings` and `mappings`) ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesCreateAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a DELETE on /{index} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html /// ///A comma-separated list of indices to delete; use `_all` or `*` string to delete all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesDelete(string index, Func requestParameters = null) where T : class; - + ///Represents a DELETE on /{index} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html /// ///A comma-separated list of indices to delete; use `_all` or `*` string to delete all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesDeleteAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a DELETE on /{index}/_alias/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -2600,13 +2388,13 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of aliases to delete (supports wildcards); use `_all` to delete all aliases for the specified indices. ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesDeleteAlias(string index, string name, Func requestParameters = null) where T : class; - + ///Represents a DELETE on /{index}/_alias/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -2614,91 +2402,91 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of aliases to delete (supports wildcards); use `_all` to delete all aliases for the specified indices. ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesDeleteAliasAsync(string index, string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a DELETE on /_template/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html /// ///The name of the template ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesDeleteTemplateForAll(string name, Func requestParameters = null) where T : class; - + ///Represents a DELETE on /_template/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html /// ///The name of the template ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesDeleteTemplateForAllAsync(string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a HEAD on /{index} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html /// ///A comma-separated list of index names ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesExists(string index, Func requestParameters = null) where T : class; - + ///Represents a HEAD on /{index} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html /// ///A comma-separated list of index names ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesExistsAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a HEAD on /_alias/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// ///A comma-separated list of alias names to return ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesExistsAliasForAll(string name, Func requestParameters = null) where T : class; - + ///Represents a HEAD on /_alias/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// ///A comma-separated list of alias names to return ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesExistsAliasForAllAsync(string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a HEAD on /{index}/_alias/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -2706,13 +2494,13 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of alias names to return ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesExistsAlias(string index, string name, Func requestParameters = null) where T : class; - + ///Represents a HEAD on /{index}/_alias/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -2720,39 +2508,39 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of alias names to return ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesExistsAliasAsync(string index, string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a HEAD on /_template/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html /// ///The comma separated names of the index templates ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesExistsTemplateForAll(string name, Func requestParameters = null) where T : class; - + ///Represents a HEAD on /_template/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html /// ///The comma separated names of the index templates ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesExistsTemplateForAllAsync(string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a HEAD on /{index}/_mapping/{type} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-types-exists.html /// @@ -2760,13 +2548,13 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of document types to check ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesExistsType(string index, string type, Func requestParameters = null) where T : class; - + ///Represents a HEAD on /{index}/_mapping/{type} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-types-exists.html /// @@ -2774,367 +2562,339 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of document types to check ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesExistsTypeAsync(string index, string type, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_flush - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesFlushForAll(Func requestParameters = null) where T : class; - + ///Represents a POST on /_flush - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesFlushForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/_flush - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All for all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesFlush(string index, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/_flush - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All for all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesFlushAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_flush - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesFlushGetForAll(Func requestParameters = null) where T : class; - + ///Represents a GET on /_flush - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesFlushGetForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_flush - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All for all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesFlushGet(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_flush - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All for all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesFlushGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_flush/synced - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesFlushSyncedForAll(Func requestParameters = null) where T : class; - + ///Represents a POST on /_flush/synced - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesFlushSyncedForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/_flush/synced - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All for all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesFlushSynced(string index, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/_flush/synced - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All for all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesFlushSyncedAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_flush/synced - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesFlushSyncedGetForAll(Func requestParameters = null) where T : class; - + ///Represents a GET on /_flush/synced - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesFlushSyncedGetForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_flush/synced - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All for all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesFlushSyncedGet(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_flush/synced - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All for all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesFlushSyncedGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_forcemerge - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesForcemergeForAll(Func requestParameters = null) where T : class; - + ///Represents a POST on /_forcemerge - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesForcemergeForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/_forcemerge - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesForcemerge(string index, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/_forcemerge - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesForcemergeAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html /// ///A comma-separated list of index names ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesGet(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html /// ///A comma-separated list of index names ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - - ///Represents a GET on /{index}/{feature} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html - /// - ///A comma-separated list of index names - ///A comma-separated list of features - ///A func that allows you to describe the querystring parameters & request specific connection settings. - ElasticsearchResponse IndicesGet(string index, string feature, Func requestParameters = null) where T : class; - - ///Represents a GET on /{index}/{feature} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed - /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html - /// - ///A comma-separated list of index names - ///A comma-separated list of features - ///A func that allows you to describe the querystring parameters & request specific connection settings. - Task> IndicesGetAsync(string index, string feature, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_alias - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesGetAliasForAll(Func requestParameters = null) where T : class; - + ///Represents a GET on /_alias - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesGetAliasForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_alias/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// ///A comma-separated list of alias names to return ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesGetAliasForAll(string name, Func requestParameters = null) where T : class; - + ///Represents a GET on /_alias/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// ///A comma-separated list of alias names to return ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesGetAliasForAllAsync(string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_alias/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -3142,13 +2902,13 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of alias names to return ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesGetAlias(string index, string name, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_alias/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -3156,65 +2916,65 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of alias names to return ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesGetAliasAsync(string index, string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_alias - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// ///A comma-separated list of index names to filter aliases ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesGetAlias(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_alias - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// ///A comma-separated list of index names to filter aliases ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesGetAliasAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_mapping/field/{fields} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html /// ///A comma-separated list of fields ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesGetFieldMappingForAll(string fields, Func requestParameters = null) where T : class; - + ///Represents a GET on /_mapping/field/{fields} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html /// ///A comma-separated list of fields ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesGetFieldMappingForAllAsync(string fields, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_mapping/field/{fields} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html /// @@ -3222,13 +2982,13 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of fields ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesGetFieldMapping(string index, string fields, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_mapping/field/{fields} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html /// @@ -3236,13 +2996,13 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of fields ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesGetFieldMappingAsync(string index, string fields, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_mapping/{type}/field/{fields} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html /// @@ -3250,13 +3010,13 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of fields ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesGetFieldMappingForAll(string type, string fields, Func requestParameters = null) where T : class; - + ///Represents a GET on /_mapping/{type}/field/{fields} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html /// @@ -3264,13 +3024,13 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of fields ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesGetFieldMappingForAllAsync(string type, string fields, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_mapping/{type}/field/{fields} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html /// @@ -3279,13 +3039,13 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of fields ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesGetFieldMapping(string index, string type, string fields, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_mapping/{type}/field/{fields} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html /// @@ -3294,89 +3054,89 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of fields ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesGetFieldMappingAsync(string index, string type, string fields, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_mapping - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesGetMappingForAll(Func requestParameters = null) where T : class; - + ///Represents a GET on /_mapping - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesGetMappingForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_mapping - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html /// ///A comma-separated list of index names ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesGetMapping(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_mapping - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html /// ///A comma-separated list of index names ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesGetMappingAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_mapping/{type} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html /// ///A comma-separated list of document types ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesGetMappingForAll(string type, Func requestParameters = null) where T : class; - + ///Represents a GET on /_mapping/{type} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html /// ///A comma-separated list of document types ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesGetMappingForAllAsync(string type, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_mapping/{type} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html /// @@ -3384,13 +3144,13 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of document types ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesGetMapping(string index, string type, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_mapping/{type} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html /// @@ -3398,63 +3158,63 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of document types ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesGetMappingAsync(string index, string type, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_settings - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesGetSettingsForAll(Func requestParameters = null) where T : class; - + ///Represents a GET on /_settings - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesGetSettingsForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_settings - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesGetSettings(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_settings - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesGetSettingsAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_settings/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html /// @@ -3462,13 +3222,13 @@ public partial interface IElasticLowLevelClient ///The name of the settings that should be included ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesGetSettings(string index, string name, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_settings/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html /// @@ -3476,165 +3236,165 @@ public partial interface IElasticLowLevelClient ///The name of the settings that should be included ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesGetSettingsAsync(string index, string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_settings/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html /// ///The name of the settings that should be included ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesGetSettingsForAll(string name, Func requestParameters = null) where T : class; - + ///Represents a GET on /_settings/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html /// ///The name of the settings that should be included ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesGetSettingsForAllAsync(string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesGetTemplateForAll(Func requestParameters = null) where T : class; - + ///Represents a GET on /_template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesGetTemplateForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_template/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html /// ///The comma separated names of the index templates ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesGetTemplateForAll(string name, Func requestParameters = null) where T : class; - + ///Represents a GET on /_template/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html /// ///The comma separated names of the index templates ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesGetTemplateForAllAsync(string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_upgrade - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesGetUpgradeForAll(Func requestParameters = null) where T : class; - + ///Represents a GET on /_upgrade - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesGetUpgradeForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_upgrade - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesGetUpgrade(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_upgrade - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesGetUpgradeAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/_open - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html /// ///A comma separated list of indices to open ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesOpen(string index, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/_open - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html /// ///A comma separated list of indices to open ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesOpenAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /{index}/_alias/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -3643,13 +3403,13 @@ public partial interface IElasticLowLevelClient ///The settings for the alias, such as `routing` or `filter` ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesPutAlias(string index, string name, PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /{index}/_alias/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -3658,13 +3418,13 @@ public partial interface IElasticLowLevelClient ///The settings for the alias, such as `routing` or `filter` ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesPutAliasAsync(string index, string name, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/_alias/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -3673,13 +3433,13 @@ public partial interface IElasticLowLevelClient ///The settings for the alias, such as `routing` or `filter` ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesPutAliasPost(string index, string name, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/_alias/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// @@ -3688,13 +3448,13 @@ public partial interface IElasticLowLevelClient ///The settings for the alias, such as `routing` or `filter` ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesPutAliasPostAsync(string index, string name, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /{index}/{type}/_mapping - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html /// @@ -3703,13 +3463,13 @@ public partial interface IElasticLowLevelClient ///The mapping definition ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesPutMapping(string index, string type, PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /{index}/{type}/_mapping - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html /// @@ -3718,13 +3478,13 @@ public partial interface IElasticLowLevelClient ///The mapping definition ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesPutMappingAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /_mapping/{type} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html /// @@ -3732,13 +3492,13 @@ public partial interface IElasticLowLevelClient ///The mapping definition ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesPutMappingForAll(string type, PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /_mapping/{type} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html /// @@ -3746,13 +3506,13 @@ public partial interface IElasticLowLevelClient ///The mapping definition ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesPutMappingForAllAsync(string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/{type}/_mapping - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html /// @@ -3761,13 +3521,13 @@ public partial interface IElasticLowLevelClient ///The mapping definition ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesPutMappingPost(string index, string type, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/{type}/_mapping - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html /// @@ -3776,13 +3536,13 @@ public partial interface IElasticLowLevelClient ///The mapping definition ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesPutMappingPostAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_mapping/{type} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html /// @@ -3790,13 +3550,13 @@ public partial interface IElasticLowLevelClient ///The mapping definition ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesPutMappingPostForAll(string type, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_mapping/{type} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html /// @@ -3804,39 +3564,39 @@ public partial interface IElasticLowLevelClient ///The mapping definition ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesPutMappingPostForAllAsync(string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /_settings - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html /// ///The index settings to be updated ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesPutSettingsForAll(PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /_settings - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html /// ///The index settings to be updated ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesPutSettingsForAllAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /{index}/_settings - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html /// @@ -3844,13 +3604,13 @@ public partial interface IElasticLowLevelClient ///The index settings to be updated ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesPutSettings(string index, PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /{index}/_settings - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html /// @@ -3858,13 +3618,13 @@ public partial interface IElasticLowLevelClient ///The index settings to be updated ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesPutSettingsAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /_template/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html /// @@ -3872,13 +3632,13 @@ public partial interface IElasticLowLevelClient ///The template definition ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesPutTemplateForAll(string name, PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /_template/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html /// @@ -3886,13 +3646,13 @@ public partial interface IElasticLowLevelClient ///The template definition ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesPutTemplateForAllAsync(string name, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_template/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html /// @@ -3900,13 +3660,13 @@ public partial interface IElasticLowLevelClient ///The template definition ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesPutTemplatePostForAll(string name, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_template/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html /// @@ -3914,163 +3674,163 @@ public partial interface IElasticLowLevelClient ///The template definition ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesPutTemplatePostForAllAsync(string name, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_recovery - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesRecoveryForAll(Func requestParameters = null) where T : class; - + ///Represents a GET on /_recovery - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesRecoveryForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_recovery - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesRecovery(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_recovery - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesRecoveryAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_refresh - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesRefreshForAll(Func requestParameters = null) where T : class; - + ///Represents a POST on /_refresh - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesRefreshForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/_refresh - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesRefresh(string index, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/_refresh - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesRefreshAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_refresh - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesRefreshGetForAll(Func requestParameters = null) where T : class; - + ///Represents a GET on /_refresh - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesRefreshGetForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_refresh - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesRefreshGet(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_refresh - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesRefreshGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{alias}/_rollover - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html /// @@ -4078,13 +3838,13 @@ public partial interface IElasticLowLevelClient ///The conditions that needs to be met for executing rollover ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesRolloverForAll(string alias, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{alias}/_rollover - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html /// @@ -4092,13 +3852,13 @@ public partial interface IElasticLowLevelClient ///The conditions that needs to be met for executing rollover ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesRolloverForAllAsync(string alias, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{alias}/_rollover/{new_index} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html /// @@ -4107,13 +3867,13 @@ public partial interface IElasticLowLevelClient ///The conditions that needs to be met for executing rollover ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesRolloverForAll(string alias, string new_index, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{alias}/_rollover/{new_index} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html /// @@ -4122,113 +3882,113 @@ public partial interface IElasticLowLevelClient ///The conditions that needs to be met for executing rollover ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesRolloverForAllAsync(string alias, string new_index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_segments - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesSegmentsForAll(Func requestParameters = null) where T : class; - + ///Represents a GET on /_segments - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesSegmentsForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_segments - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesSegments(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_segments - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesSegmentsAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_shard_stores - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesShardStoresForAll(Func requestParameters = null) where T : class; - + ///Represents a GET on /_shard_stores - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesShardStoresForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_shard_stores - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesShardStores(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_shard_stores - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesShardStoresAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /{index}/_shrink/{target} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html /// @@ -4237,13 +3997,13 @@ public partial interface IElasticLowLevelClient ///The configuration for the target index (`settings` and `aliases`) ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesShrink(string index, string target, PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /{index}/_shrink/{target} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html /// @@ -4252,13 +4012,13 @@ public partial interface IElasticLowLevelClient ///The configuration for the target index (`settings` and `aliases`) ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesShrinkAsync(string index, string target, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/_shrink/{target} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html /// @@ -4267,13 +4027,13 @@ public partial interface IElasticLowLevelClient ///The configuration for the target index (`settings` and `aliases`) ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesShrinkPost(string index, string target, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/_shrink/{target} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html /// @@ -4282,89 +4042,89 @@ public partial interface IElasticLowLevelClient ///The configuration for the target index (`settings` and `aliases`) ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesShrinkPostAsync(string index, string target, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesStatsForAll(Func requestParameters = null) where T : class; - + ///Represents a GET on /_stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesStatsForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_stats/{metric} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html /// ///Limit the information returned the specific metrics. ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesStatsForAll(string metric, Func requestParameters = null) where T : class; - + ///Represents a GET on /_stats/{metric} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html /// ///Limit the information returned the specific metrics. ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesStatsForAllAsync(string metric, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesStats(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesStatsAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_stats/{metric} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html /// @@ -4372,13 +4132,13 @@ public partial interface IElasticLowLevelClient ///Limit the information returned the specific metrics. ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesStats(string index, string metric, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_stats/{metric} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html /// @@ -4386,139 +4146,139 @@ public partial interface IElasticLowLevelClient ///Limit the information returned the specific metrics. ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesStatsAsync(string index, string metric, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_aliases - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// ///The definition of `actions` to perform ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesUpdateAliasesForAll(PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_aliases - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html /// ///The definition of `actions` to perform ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesUpdateAliasesForAllAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_upgrade - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesUpgradeForAll(Func requestParameters = null) where T : class; - + ///Represents a POST on /_upgrade - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesUpgradeForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/_upgrade - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesUpgrade(string index, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/_upgrade - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html /// ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesUpgradeAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_validate/query - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesValidateQueryGetForAll(Func requestParameters = null) where T : class; - + ///Represents a GET on /_validate/query - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesValidateQueryGetForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_validate/query - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html /// ///A comma-separated list of index names to restrict the operation; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesValidateQueryGet(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_validate/query - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html /// ///A comma-separated list of index names to restrict the operation; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesValidateQueryGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/{type}/_validate/query - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html /// @@ -4526,13 +4286,13 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of document types to restrict the operation; leave empty to perform the operation on all types ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesValidateQueryGet(string index, string type, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/{type}/_validate/query - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html /// @@ -4540,39 +4300,39 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of document types to restrict the operation; leave empty to perform the operation on all types ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesValidateQueryGetAsync(string index, string type, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_validate/query - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html /// ///The query definition specified with the Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesValidateQueryForAll(PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_validate/query - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html /// ///The query definition specified with the Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesValidateQueryForAllAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/_validate/query - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html /// @@ -4580,13 +4340,13 @@ public partial interface IElasticLowLevelClient ///The query definition specified with the Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesValidateQuery(string index, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/_validate/query - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html /// @@ -4594,13 +4354,13 @@ public partial interface IElasticLowLevelClient ///The query definition specified with the Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesValidateQueryAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/{type}/_validate/query - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html /// @@ -4609,13 +4369,13 @@ public partial interface IElasticLowLevelClient ///The query definition specified with the Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IndicesValidateQuery(string index, string type, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/{type}/_validate/query - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html /// @@ -4624,113 +4384,137 @@ public partial interface IElasticLowLevelClient ///The query definition specified with the Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IndicesValidateQueryAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on / - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/ /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Info(Func requestParameters = null) where T : class; - + ///Represents a GET on / - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/ /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> InfoAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a DELETE on /_ingest/pipeline/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// ///Pipeline ID ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IngestDeletePipeline(string id, Func requestParameters = null) where T : class; - + ///Represents a DELETE on /_ingest/pipeline/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// ///Pipeline ID ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IngestDeletePipelineAsync(string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_ingest/pipeline - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IngestGetPipeline(Func requestParameters = null) where T : class; - + ///Represents a GET on /_ingest/pipeline - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IngestGetPipelineAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_ingest/pipeline/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// ///Comma separated list of pipeline ids. Wildcards supported ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IngestGetPipeline(string id, Func requestParameters = null) where T : class; - + ///Represents a GET on /_ingest/pipeline/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// ///Comma separated list of pipeline ids. Wildcards supported ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IngestGetPipelineAsync(string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + + ///Represents a GET on /_ingest/processor/grok + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed + /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth + ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html + /// + ///A func that allows you to describe the querystring parameters & request specific connection settings. + ElasticsearchResponse IngestProcessorGrok(Func requestParameters = null) where T : class; + + ///Represents a GET on /_ingest/processor/grok + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed + /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth + ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html + /// + ///A func that allows you to describe the querystring parameters & request specific connection settings. + Task> IngestProcessorGrokAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; + ///Represents a PUT on /_ingest/pipeline/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// @@ -4738,13 +4522,13 @@ public partial interface IElasticLowLevelClient ///The ingest definition ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IngestPutPipeline(string id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /_ingest/pipeline/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// @@ -4752,89 +4536,89 @@ public partial interface IElasticLowLevelClient ///The ingest definition ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IngestPutPipelineAsync(string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_ingest/pipeline/_simulate - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IngestSimulateGet(Func requestParameters = null) where T : class; - + ///Represents a GET on /_ingest/pipeline/_simulate - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IngestSimulateGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_ingest/pipeline/{id}/_simulate - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// ///Pipeline ID ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IngestSimulateGet(string id, Func requestParameters = null) where T : class; - + ///Represents a GET on /_ingest/pipeline/{id}/_simulate - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// ///Pipeline ID ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IngestSimulateGetAsync(string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_ingest/pipeline/_simulate - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// ///The simulate definition ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IngestSimulate(PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_ingest/pipeline/_simulate - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// ///The simulate definition ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IngestSimulateAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_ingest/pipeline/{id}/_simulate - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// @@ -4842,13 +4626,13 @@ public partial interface IElasticLowLevelClient ///The simulate definition ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse IngestSimulate(string id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_ingest/pipeline/{id}/_simulate - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html /// @@ -4856,63 +4640,63 @@ public partial interface IElasticLowLevelClient ///The simulate definition ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> IngestSimulateAsync(string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_mget - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse MgetGet(Func requestParameters = null) where T : class; - + ///Represents a GET on /_mget - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> MgetGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_mget - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html /// ///The name of the index ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse MgetGet(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_mget - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html /// ///The name of the index ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> MgetGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/{type}/_mget - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html /// @@ -4920,13 +4704,13 @@ public partial interface IElasticLowLevelClient ///The type of the document ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse MgetGet(string index, string type, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/{type}/_mget - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html /// @@ -4934,39 +4718,39 @@ public partial interface IElasticLowLevelClient ///The type of the document ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> MgetGetAsync(string index, string type, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_mget - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html /// ///Document identifiers; can be either `docs` (containing full document information) or `ids` (when index and type is provided in the URL. ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Mget(PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_mget - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html /// ///Document identifiers; can be either `docs` (containing full document information) or `ids` (when index and type is provided in the URL. ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> MgetAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/_mget - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html /// @@ -4974,13 +4758,13 @@ public partial interface IElasticLowLevelClient ///Document identifiers; can be either `docs` (containing full document information) or `ids` (when index and type is provided in the URL. ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Mget(string index, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/_mget - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html /// @@ -4988,13 +4772,13 @@ public partial interface IElasticLowLevelClient ///Document identifiers; can be either `docs` (containing full document information) or `ids` (when index and type is provided in the URL. ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> MgetAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/{type}/_mget - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html /// @@ -5003,13 +4787,13 @@ public partial interface IElasticLowLevelClient ///Document identifiers; can be either `docs` (containing full document information) or `ids` (when index and type is provided in the URL. ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Mget(string index, string type, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/{type}/_mget - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html /// @@ -5018,63 +4802,63 @@ public partial interface IElasticLowLevelClient ///Document identifiers; can be either `docs` (containing full document information) or `ids` (when index and type is provided in the URL. ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> MgetAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_msearch - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse MsearchGet(Func requestParameters = null) where T : class; - + ///Represents a GET on /_msearch - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> MsearchGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_msearch - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html /// ///A comma-separated list of index names to use as default ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse MsearchGet(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_msearch - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html /// ///A comma-separated list of index names to use as default ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> MsearchGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/{type}/_msearch - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html /// @@ -5082,13 +4866,13 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of document types to use as default ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse MsearchGet(string index, string type, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/{type}/_msearch - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html /// @@ -5096,39 +4880,39 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of document types to use as default ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> MsearchGetAsync(string index, string type, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_msearch - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html /// ///The request definitions (metadata-search request definition pairs), separated by newlines ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Msearch(PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_msearch - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html /// ///The request definitions (metadata-search request definition pairs), separated by newlines ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> MsearchAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/_msearch - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html /// @@ -5136,13 +4920,13 @@ public partial interface IElasticLowLevelClient ///The request definitions (metadata-search request definition pairs), separated by newlines ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Msearch(string index, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/_msearch - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html /// @@ -5150,13 +4934,13 @@ public partial interface IElasticLowLevelClient ///The request definitions (metadata-search request definition pairs), separated by newlines ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> MsearchAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/{type}/_msearch - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html /// @@ -5165,13 +4949,13 @@ public partial interface IElasticLowLevelClient ///The request definitions (metadata-search request definition pairs), separated by newlines ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Msearch(string index, string type, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/{type}/_msearch - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html /// @@ -5180,63 +4964,63 @@ public partial interface IElasticLowLevelClient ///The request definitions (metadata-search request definition pairs), separated by newlines ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> MsearchAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_msearch/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse MsearchTemplateGet(Func requestParameters = null) where T : class; - + ///Represents a GET on /_msearch/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> MsearchTemplateGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_msearch/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html /// ///A comma-separated list of index names to use as default ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse MsearchTemplateGet(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_msearch/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html /// ///A comma-separated list of index names to use as default ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> MsearchTemplateGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/{type}/_msearch/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html /// @@ -5244,13 +5028,13 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of document types to use as default ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse MsearchTemplateGet(string index, string type, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/{type}/_msearch/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html /// @@ -5258,39 +5042,39 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of document types to use as default ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> MsearchTemplateGetAsync(string index, string type, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_msearch/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html /// ///The request definitions (metadata-search request definition pairs), separated by newlines ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse MsearchTemplate(PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_msearch/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html /// ///The request definitions (metadata-search request definition pairs), separated by newlines ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> MsearchTemplateAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/_msearch/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html /// @@ -5298,13 +5082,13 @@ public partial interface IElasticLowLevelClient ///The request definitions (metadata-search request definition pairs), separated by newlines ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse MsearchTemplate(string index, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/_msearch/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html /// @@ -5312,13 +5096,13 @@ public partial interface IElasticLowLevelClient ///The request definitions (metadata-search request definition pairs), separated by newlines ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> MsearchTemplateAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/{type}/_msearch/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html /// @@ -5327,13 +5111,13 @@ public partial interface IElasticLowLevelClient ///The request definitions (metadata-search request definition pairs), separated by newlines ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse MsearchTemplate(string index, string type, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/{type}/_msearch/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html /// @@ -5342,63 +5126,63 @@ public partial interface IElasticLowLevelClient ///The request definitions (metadata-search request definition pairs), separated by newlines ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> MsearchTemplateAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_mtermvectors - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse MtermvectorsGet(Func requestParameters = null) where T : class; - + ///Represents a GET on /_mtermvectors - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> MtermvectorsGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_mtermvectors - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html /// ///The index in which the document resides. ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse MtermvectorsGet(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_mtermvectors - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html /// ///The index in which the document resides. ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> MtermvectorsGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/{type}/_mtermvectors - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html /// @@ -5406,13 +5190,13 @@ public partial interface IElasticLowLevelClient ///The type of the document. ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse MtermvectorsGet(string index, string type, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/{type}/_mtermvectors - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html /// @@ -5420,39 +5204,39 @@ public partial interface IElasticLowLevelClient ///The type of the document. ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> MtermvectorsGetAsync(string index, string type, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_mtermvectors - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html /// ///Define ids, documents, parameters or a list of parameters per document here. You must at least provide a list of document ids. See documentation. ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Mtermvectors(PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_mtermvectors - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html /// ///Define ids, documents, parameters or a list of parameters per document here. You must at least provide a list of document ids. See documentation. ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> MtermvectorsAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/_mtermvectors - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html /// @@ -5460,13 +5244,13 @@ public partial interface IElasticLowLevelClient ///Define ids, documents, parameters or a list of parameters per document here. You must at least provide a list of document ids. See documentation. ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Mtermvectors(string index, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/_mtermvectors - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html /// @@ -5474,13 +5258,13 @@ public partial interface IElasticLowLevelClient ///Define ids, documents, parameters or a list of parameters per document here. You must at least provide a list of document ids. See documentation. ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> MtermvectorsAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/{type}/_mtermvectors - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html /// @@ -5489,13 +5273,13 @@ public partial interface IElasticLowLevelClient ///Define ids, documents, parameters or a list of parameters per document here. You must at least provide a list of document ids. See documentation. ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Mtermvectors(string index, string type, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/{type}/_mtermvectors - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html /// @@ -5504,139 +5288,139 @@ public partial interface IElasticLowLevelClient ///Define ids, documents, parameters or a list of parameters per document here. You must at least provide a list of document ids. See documentation. ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> MtermvectorsAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cluster/nodes/hotthreads - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse NodesHotThreadsForAll(Func requestParameters = null) where T : class; - + ///Represents a GET on /_cluster/nodes/hotthreads - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> NodesHotThreadsForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_cluster/nodes/{node_id}/hotthreads - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html /// ///A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse NodesHotThreads(string node_id, Func requestParameters = null) where T : class; - + ///Represents a GET on /_cluster/nodes/{node_id}/hotthreads - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html /// ///A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> NodesHotThreadsAsync(string node_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_nodes - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse NodesInfoForAll(Func requestParameters = null) where T : class; - + ///Represents a GET on /_nodes - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> NodesInfoForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_nodes/{node_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html /// ///A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse NodesInfo(string node_id, Func requestParameters = null) where T : class; - + ///Represents a GET on /_nodes/{node_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html /// ///A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> NodesInfoAsync(string node_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_nodes/{metric} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html /// ///A comma-separated list of metrics you wish returned. Leave empty to return all. ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse NodesInfoForAll(string metric, Func requestParameters = null) where T : class; - + ///Represents a GET on /_nodes/{metric} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html /// ///A comma-separated list of metrics you wish returned. Leave empty to return all. ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> NodesInfoForAllAsync(string metric, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_nodes/{node_id}/{metric} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html /// @@ -5644,13 +5428,13 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of metrics you wish returned. Leave empty to return all. ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse NodesInfo(string node_id, string metric, Func requestParameters = null) where T : class; - + ///Represents a GET on /_nodes/{node_id}/{metric} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html /// @@ -5658,89 +5442,89 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of metrics you wish returned. Leave empty to return all. ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> NodesInfoAsync(string node_id, string metric, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_nodes/stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse NodesStatsForAll(Func requestParameters = null) where T : class; - + ///Represents a GET on /_nodes/stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> NodesStatsForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_nodes/{node_id}/stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html /// ///A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse NodesStats(string node_id, Func requestParameters = null) where T : class; - + ///Represents a GET on /_nodes/{node_id}/stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html /// ///A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> NodesStatsAsync(string node_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_nodes/stats/{metric} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html /// ///Limit the information returned to the specified metrics ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse NodesStatsForAll(string metric, Func requestParameters = null) where T : class; - + ///Represents a GET on /_nodes/stats/{metric} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html /// ///Limit the information returned to the specified metrics ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> NodesStatsForAllAsync(string metric, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_nodes/{node_id}/stats/{metric} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html /// @@ -5748,13 +5532,13 @@ public partial interface IElasticLowLevelClient ///Limit the information returned to the specified metrics ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse NodesStats(string node_id, string metric, Func requestParameters = null) where T : class; - + ///Represents a GET on /_nodes/{node_id}/stats/{metric} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html /// @@ -5762,13 +5546,13 @@ public partial interface IElasticLowLevelClient ///Limit the information returned to the specified metrics ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> NodesStatsAsync(string node_id, string metric, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_nodes/stats/{metric}/{index_metric} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html /// @@ -5776,13 +5560,13 @@ public partial interface IElasticLowLevelClient ///Limit the information returned for `indices` metric to the specific index metrics. Isn't used if `indices` (or `all`) metric isn't specified. ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse NodesStatsForAll(string metric, string index_metric, Func requestParameters = null) where T : class; - + ///Represents a GET on /_nodes/stats/{metric}/{index_metric} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html /// @@ -5790,13 +5574,13 @@ public partial interface IElasticLowLevelClient ///Limit the information returned for `indices` metric to the specific index metrics. Isn't used if `indices` (or `all`) metric isn't specified. ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> NodesStatsForAllAsync(string metric, string index_metric, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_nodes/{node_id}/stats/{metric}/{index_metric} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html /// @@ -5805,13 +5589,13 @@ public partial interface IElasticLowLevelClient ///Limit the information returned for `indices` metric to the specific index metrics. Isn't used if `indices` (or `all`) metric isn't specified. ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse NodesStats(string node_id, string metric, string index_metric, Func requestParameters = null) where T : class; - + ///Represents a GET on /_nodes/{node_id}/stats/{metric}/{index_metric} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html /// @@ -5820,361 +5604,349 @@ public partial interface IElasticLowLevelClient ///Limit the information returned for `indices` metric to the specific index metrics. Isn't used if `indices` (or `all`) metric isn't specified. ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> NodesStatsAsync(string node_id, string metric, string index_metric, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - - ///Represents a HEAD on / - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + + ///Represents a GET on /_nodes/usage + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/ + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. - ElasticsearchResponse Ping(Func requestParameters = null) where T : class; - - ///Represents a HEAD on / - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ElasticsearchResponse NodesUsageForAll(Func requestParameters = null) where T : class; + + ///Represents a GET on /_nodes/usage + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/ + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. - Task> PingAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - - ///Represents a PUT on /_scripts/{lang} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + Task> NodesUsageForAllAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; + + ///Represents a GET on /_nodes/{node_id}/usage + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html /// - ///Script language - ///The document + ///A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes ///A func that allows you to describe the querystring parameters & request specific connection settings. - ElasticsearchResponse PutScript(string lang, PostData body, Func requestParameters = null) where T : class; - - ///Represents a PUT on /_scripts/{lang} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ElasticsearchResponse NodesUsage(string node_id, Func requestParameters = null) where T : class; + + ///Represents a GET on /_nodes/{node_id}/usage + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html /// - ///Script language - ///The document + ///A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes ///A func that allows you to describe the querystring parameters & request specific connection settings. - Task> PutScriptAsync(string lang, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - - ///Represents a PUT on /_scripts/{lang}/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + Task> NodesUsageAsync(string node_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; + + ///Represents a GET on /_nodes/usage/{metric} + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html /// - ///Script language - ///Script ID - ///The document + ///Limit the information returned to the specified metrics ///A func that allows you to describe the querystring parameters & request specific connection settings. - ElasticsearchResponse PutScript(string lang, string id, PostData body, Func requestParameters = null) where T : class; - - ///Represents a PUT on /_scripts/{lang}/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ElasticsearchResponse NodesUsageForAll(string metric, Func requestParameters = null) where T : class; + + ///Represents a GET on /_nodes/usage/{metric} + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html /// - ///Script language - ///Script ID - ///The document + ///Limit the information returned to the specified metrics ///A func that allows you to describe the querystring parameters & request specific connection settings. - Task> PutScriptAsync(string lang, string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - - ///Represents a POST on /_scripts/{lang} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + Task> NodesUsageForAllAsync(string metric, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; + + ///Represents a GET on /_nodes/{node_id}/usage/{metric} + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html /// - ///Script language - ///The document + ///A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes + ///Limit the information returned to the specified metrics ///A func that allows you to describe the querystring parameters & request specific connection settings. - ElasticsearchResponse PutScriptPost(string lang, PostData body, Func requestParameters = null) where T : class; - - ///Represents a POST on /_scripts/{lang} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ElasticsearchResponse NodesUsage(string node_id, string metric, Func requestParameters = null) where T : class; + + ///Represents a GET on /_nodes/{node_id}/usage/{metric} + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html /// - ///Script language - ///The document + ///A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes + ///Limit the information returned to the specified metrics ///A func that allows you to describe the querystring parameters & request specific connection settings. - Task> PutScriptPostAsync(string lang, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - - ///Represents a POST on /_scripts/{lang}/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + Task> NodesUsageAsync(string node_id, string metric, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; + + ///Represents a HEAD on / + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html + ///See also: http://www.elastic.co/guide/ /// - ///Script language - ///Script ID - ///The document ///A func that allows you to describe the querystring parameters & request specific connection settings. - ElasticsearchResponse PutScriptPost(string lang, string id, PostData body, Func requestParameters = null) where T : class; - - ///Represents a POST on /_scripts/{lang}/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ElasticsearchResponse Ping(Func requestParameters = null) where T : class; + + ///Represents a HEAD on / + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html + ///See also: http://www.elastic.co/guide/ /// - ///Script language - ///Script ID - ///The document ///A func that allows you to describe the querystring parameters & request specific connection settings. - Task> PutScriptPostAsync(string lang, string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - - ///Represents a PUT on /_search/template/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + Task> PingAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; + + ///Represents a PUT on /_scripts/{id} + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html /// - ///Template ID + ///Script ID ///The document ///A func that allows you to describe the querystring parameters & request specific connection settings. - ElasticsearchResponse PutTemplate(string id, PostData body, Func requestParameters = null) where T : class; - - ///Represents a PUT on /_search/template/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ElasticsearchResponse PutScript(string id, PostData body, Func requestParameters = null) where T : class; + + ///Represents a PUT on /_scripts/{id} + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html /// - ///Template ID + ///Script ID ///The document ///A func that allows you to describe the querystring parameters & request specific connection settings. - Task> PutTemplateAsync(string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - - ///Represents a POST on /_search/template/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + Task> PutScriptAsync(string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; + + ///Represents a POST on /_scripts/{id} + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html /// - ///Template ID + ///Script ID ///The document ///A func that allows you to describe the querystring parameters & request specific connection settings. - ElasticsearchResponse PutTemplatePost(string id, PostData body, Func requestParameters = null) where T : class; - - ///Represents a POST on /_search/template/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ElasticsearchResponse PutScriptPost(string id, PostData body, Func requestParameters = null) where T : class; + + ///Represents a POST on /_scripts/{id} + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html /// - ///Template ID + ///Script ID ///The document ///A func that allows you to describe the querystring parameters & request specific connection settings. - Task> PutTemplatePostAsync(string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + Task> PutScriptPostAsync(string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; + ///Represents a POST on /_reindex - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html /// ///The search definition using the Query DSL and the prototype for the index request. ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Reindex(PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_reindex - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html /// ///The search definition using the Query DSL and the prototype for the index request. ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> ReindexAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_reindex/{task_id}/_rethrottle - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html /// ///The task id to rethrottle ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse ReindexRethrottle(string task_id, Func requestParameters = null) where T : class; - + ///Represents a POST on /_reindex/{task_id}/_rethrottle - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html /// ///The task id to rethrottle ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> ReindexRethrottleAsync(string task_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_remote/info - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/5.5/cluster-remote-info.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-remote-info.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse RemoteInfo(Func requestParameters = null) where T : class; - + ///Represents a GET on /_remote/info - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/5.5/cluster-remote-info.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-remote-info.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> RemoteInfoAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_render/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse RenderSearchTemplateGet(Func requestParameters = null) where T : class; - + ///Represents a GET on /_render/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> RenderSearchTemplateGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_render/template/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html /// ///The id of the stored search template ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse RenderSearchTemplateGet(string id, Func requestParameters = null) where T : class; - + ///Represents a GET on /_render/template/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html /// ///The id of the stored search template ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> RenderSearchTemplateGetAsync(string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_render/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html /// ///The search definition template and its params ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse RenderSearchTemplate(PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_render/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html /// ///The search definition template and its params ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> RenderSearchTemplateAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_render/template/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html /// @@ -6182,13 +5954,13 @@ public partial interface IElasticLowLevelClient ///The search definition template and its params ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse RenderSearchTemplate(string id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_render/template/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html /// @@ -6196,113 +5968,113 @@ public partial interface IElasticLowLevelClient ///The search definition template and its params ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> RenderSearchTemplateAsync(string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_search/scroll - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse ScrollGet(Func requestParameters = null) where T : class; - + ///Represents a GET on /_search/scroll - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> ScrollGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_search/scroll - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html /// ///The scroll ID if not passed by URL or query parameter. ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Scroll(PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_search/scroll - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html /// ///The scroll ID if not passed by URL or query parameter. ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> ScrollAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_search - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SearchGet(Func requestParameters = null) where T : class; - + ///Represents a GET on /_search - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SearchGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_search - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html /// ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SearchGet(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_search - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html /// ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SearchGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/{type}/_search - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html /// @@ -6310,13 +6082,13 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of document types to search; leave empty to perform the operation on all types ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SearchGet(string index, string type, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/{type}/_search - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html /// @@ -6324,39 +6096,39 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of document types to search; leave empty to perform the operation on all types ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SearchGetAsync(string index, string type, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_search - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html /// ///The search definition using the Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Search(PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_search - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html /// ///The search definition using the Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SearchAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/_search - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html /// @@ -6364,13 +6136,13 @@ public partial interface IElasticLowLevelClient ///The search definition using the Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Search(string index, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/_search - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html /// @@ -6378,13 +6150,13 @@ public partial interface IElasticLowLevelClient ///The search definition using the Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SearchAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/{type}/_search - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html /// @@ -6393,13 +6165,13 @@ public partial interface IElasticLowLevelClient ///The search definition using the Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Search(string index, string type, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/{type}/_search - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html /// @@ -6408,163 +6180,163 @@ public partial interface IElasticLowLevelClient ///The search definition using the Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SearchAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_search_shards - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SearchShardsGet(Func requestParameters = null) where T : class; - + ///Represents a GET on /_search_shards - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SearchShardsGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_search_shards - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html /// ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SearchShardsGet(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_search_shards - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html /// ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SearchShardsGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_search_shards - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SearchShards(Func requestParameters = null) where T : class; - + ///Represents a POST on /_search_shards - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SearchShardsAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/_search_shards - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html /// ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SearchShards(string index, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/_search_shards - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html /// ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SearchShardsAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_search/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SearchTemplateGet(Func requestParameters = null) where T : class; - + ///Represents a GET on /_search/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SearchTemplateGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/_search/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html /// ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SearchTemplateGet(string index, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/_search/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html /// ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SearchTemplateGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/{type}/_search/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html /// @@ -6572,13 +6344,13 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of document types to search; leave empty to perform the operation on all types ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SearchTemplateGet(string index, string type, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/{type}/_search/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html /// @@ -6586,39 +6358,39 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of document types to search; leave empty to perform the operation on all types ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SearchTemplateGetAsync(string index, string type, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_search/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html /// ///The search definition template and its params ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SearchTemplate(PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_search/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html /// ///The search definition template and its params ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SearchTemplateAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/_search/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html /// @@ -6626,13 +6398,13 @@ public partial interface IElasticLowLevelClient ///The search definition template and its params ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SearchTemplate(string index, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/_search/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html /// @@ -6640,13 +6412,13 @@ public partial interface IElasticLowLevelClient ///The search definition template and its params ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SearchTemplateAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/{type}/_search/template - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html /// @@ -6655,13 +6427,13 @@ public partial interface IElasticLowLevelClient ///The search definition template and its params ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SearchTemplate(string index, string type, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/{type}/_search/template - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html /// @@ -6670,13 +6442,13 @@ public partial interface IElasticLowLevelClient ///The search definition template and its params ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SearchTemplateAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /_snapshot/{repository}/{snapshot} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -6685,13 +6457,13 @@ public partial interface IElasticLowLevelClient ///The snapshot definition ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SnapshotCreate(string repository, string snapshot, PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /_snapshot/{repository}/{snapshot} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -6700,13 +6472,13 @@ public partial interface IElasticLowLevelClient ///The snapshot definition ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SnapshotCreateAsync(string repository, string snapshot, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_snapshot/{repository}/{snapshot} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -6715,13 +6487,13 @@ public partial interface IElasticLowLevelClient ///The snapshot definition ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SnapshotCreatePost(string repository, string snapshot, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_snapshot/{repository}/{snapshot} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -6730,13 +6502,13 @@ public partial interface IElasticLowLevelClient ///The snapshot definition ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SnapshotCreatePostAsync(string repository, string snapshot, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /_snapshot/{repository} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -6744,13 +6516,13 @@ public partial interface IElasticLowLevelClient ///The repository definition ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SnapshotCreateRepository(string repository, PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /_snapshot/{repository} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -6758,13 +6530,13 @@ public partial interface IElasticLowLevelClient ///The repository definition ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SnapshotCreateRepositoryAsync(string repository, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_snapshot/{repository} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -6772,13 +6544,13 @@ public partial interface IElasticLowLevelClient ///The repository definition ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SnapshotCreateRepositoryPost(string repository, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_snapshot/{repository} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -6786,13 +6558,13 @@ public partial interface IElasticLowLevelClient ///The repository definition ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SnapshotCreateRepositoryPostAsync(string repository, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a DELETE on /_snapshot/{repository}/{snapshot} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -6800,13 +6572,13 @@ public partial interface IElasticLowLevelClient ///A snapshot name ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SnapshotDelete(string repository, string snapshot, Func requestParameters = null) where T : class; - + ///Represents a DELETE on /_snapshot/{repository}/{snapshot} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -6814,39 +6586,39 @@ public partial interface IElasticLowLevelClient ///A snapshot name ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SnapshotDeleteAsync(string repository, string snapshot, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a DELETE on /_snapshot/{repository} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// ///A comma-separated list of repository names ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SnapshotDeleteRepository(string repository, Func requestParameters = null) where T : class; - + ///Represents a DELETE on /_snapshot/{repository} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// ///A comma-separated list of repository names ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SnapshotDeleteRepositoryAsync(string repository, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_snapshot/{repository}/{snapshot} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -6854,13 +6626,13 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of snapshot names ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SnapshotGet(string repository, string snapshot, Func requestParameters = null) where T : class; - + ///Represents a GET on /_snapshot/{repository}/{snapshot} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -6868,63 +6640,63 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of snapshot names ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SnapshotGetAsync(string repository, string snapshot, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_snapshot - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SnapshotGetRepository(Func requestParameters = null) where T : class; - + ///Represents a GET on /_snapshot - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SnapshotGetRepositoryAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_snapshot/{repository} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// ///A comma-separated list of repository names ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SnapshotGetRepository(string repository, Func requestParameters = null) where T : class; - + ///Represents a GET on /_snapshot/{repository} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// ///A comma-separated list of repository names ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SnapshotGetRepositoryAsync(string repository, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_snapshot/{repository}/{snapshot}/_restore - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -6933,13 +6705,13 @@ public partial interface IElasticLowLevelClient ///Details of what to restore ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SnapshotRestore(string repository, string snapshot, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_snapshot/{repository}/{snapshot}/_restore - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -6948,63 +6720,63 @@ public partial interface IElasticLowLevelClient ///Details of what to restore ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SnapshotRestoreAsync(string repository, string snapshot, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_snapshot/_status - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SnapshotStatus(Func requestParameters = null) where T : class; - + ///Represents a GET on /_snapshot/_status - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SnapshotStatusAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_snapshot/{repository}/_status - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// ///A repository name ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SnapshotStatus(string repository, Func requestParameters = null) where T : class; - + ///Represents a GET on /_snapshot/{repository}/_status - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// ///A repository name ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SnapshotStatusAsync(string repository, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_snapshot/{repository}/{snapshot}/_status - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -7012,13 +6784,13 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of snapshot names ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SnapshotStatus(string repository, string snapshot, Func requestParameters = null) where T : class; - + ///Represents a GET on /_snapshot/{repository}/{snapshot}/_status - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// @@ -7026,139 +6798,139 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of snapshot names ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SnapshotStatusAsync(string repository, string snapshot, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_snapshot/{repository}/_verify - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// ///A repository name ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse SnapshotVerifyRepository(string repository, Func requestParameters = null) where T : class; - + ///Represents a POST on /_snapshot/{repository}/_verify - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html /// ///A repository name ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> SnapshotVerifyRepositoryAsync(string repository, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_tasks/_cancel - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse TasksCancel(Func requestParameters = null) where T : class; - + ///Represents a POST on /_tasks/_cancel - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> TasksCancelAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_tasks/{task_id}/_cancel - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html /// ///Cancel the task with specified task id (node_id:task_number) ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse TasksCancel(string task_id, Func requestParameters = null) where T : class; - + ///Represents a POST on /_tasks/{task_id}/_cancel - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html /// ///Cancel the task with specified task id (node_id:task_number) ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> TasksCancelAsync(string task_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_tasks/{task_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html /// ///Return the task with specified id (node_id:task_number) ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse TasksGet(string task_id, Func requestParameters = null) where T : class; - + ///Represents a GET on /_tasks/{task_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html /// ///Return the task with specified id (node_id:task_number) ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> TasksGetAsync(string task_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_tasks - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse TasksList(Func requestParameters = null) where T : class; - + ///Represents a GET on /_tasks - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> TasksListAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/{type}/_termvectors - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html /// @@ -7166,13 +6938,13 @@ public partial interface IElasticLowLevelClient ///The type of the document. ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse TermvectorsGet(string index, string type, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/{type}/_termvectors - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html /// @@ -7180,13 +6952,13 @@ public partial interface IElasticLowLevelClient ///The type of the document. ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> TermvectorsGetAsync(string index, string type, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /{index}/{type}/{id}/_termvectors - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html /// @@ -7195,13 +6967,13 @@ public partial interface IElasticLowLevelClient ///The id of the document, when not specified a doc param should be supplied. ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse TermvectorsGet(string index, string type, string id, Func requestParameters = null) where T : class; - + ///Represents a GET on /{index}/{type}/{id}/_termvectors - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html /// @@ -7210,13 +6982,13 @@ public partial interface IElasticLowLevelClient ///The id of the document, when not specified a doc param should be supplied. ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> TermvectorsGetAsync(string index, string type, string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/{type}/_termvectors - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html /// @@ -7225,13 +6997,13 @@ public partial interface IElasticLowLevelClient ///Define parameters and or supply a document to get termvectors for. See documentation. ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Termvectors(string index, string type, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/{type}/_termvectors - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html /// @@ -7240,13 +7012,13 @@ public partial interface IElasticLowLevelClient ///Define parameters and or supply a document to get termvectors for. See documentation. ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> TermvectorsAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/{type}/{id}/_termvectors - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html /// @@ -7256,13 +7028,13 @@ public partial interface IElasticLowLevelClient ///Define parameters and or supply a document to get termvectors for. See documentation. ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Termvectors(string index, string type, string id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/{type}/{id}/_termvectors - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html /// @@ -7272,13 +7044,13 @@ public partial interface IElasticLowLevelClient ///Define parameters and or supply a document to get termvectors for. See documentation. ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> TermvectorsAsync(string index, string type, string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/{type}/{id}/_update - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update.html /// @@ -7288,13 +7060,13 @@ public partial interface IElasticLowLevelClient ///The request definition using either `script` or partial `doc` ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse Update(string index, string type, string id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/{type}/{id}/_update - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update.html /// @@ -7304,13 +7076,13 @@ public partial interface IElasticLowLevelClient ///The request definition using either `script` or partial `doc` ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> UpdateAsync(string index, string type, string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/_update_by_query - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html /// @@ -7318,13 +7090,13 @@ public partial interface IElasticLowLevelClient ///The search definition using the Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse UpdateByQuery(string index, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/_update_by_query - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html /// @@ -7332,13 +7104,13 @@ public partial interface IElasticLowLevelClient ///The search definition using the Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> UpdateByQueryAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /{index}/{type}/_update_by_query - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html /// @@ -7347,13 +7119,13 @@ public partial interface IElasticLowLevelClient ///The search definition using the Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse UpdateByQuery(string index, string type, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /{index}/{type}/_update_by_query - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html /// @@ -7362,349 +7134,399 @@ public partial interface IElasticLowLevelClient ///The search definition using the Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> UpdateByQueryAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - - ///Represents a GET on /{index}/_xpack/_graph/_explore - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + + ///Represents a GET on /{index}/_xpack/graph/_explore + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/graph/current/explore.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html /// ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackGraphExploreGet(string index, Func requestParameters = null) where T : class; - - ///Represents a GET on /{index}/_xpack/_graph/_explore - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + + ///Represents a GET on /{index}/_xpack/graph/_explore + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/graph/current/explore.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html /// ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackGraphExploreGetAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - - ///Represents a GET on /{index}/{type}/_xpack/_graph/_explore - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + + ///Represents a GET on /{index}/{type}/_xpack/graph/_explore + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/graph/current/explore.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html /// ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices ///A comma-separated list of document types to search; leave empty to perform the operation on all types ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackGraphExploreGet(string index, string type, Func requestParameters = null) where T : class; - - ///Represents a GET on /{index}/{type}/_xpack/_graph/_explore - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + + ///Represents a GET on /{index}/{type}/_xpack/graph/_explore + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/graph/current/explore.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html /// ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices ///A comma-separated list of document types to search; leave empty to perform the operation on all types ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackGraphExploreGetAsync(string index, string type, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - - ///Represents a POST on /{index}/_xpack/_graph/_explore - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + + ///Represents a POST on /{index}/_xpack/graph/_explore + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/graph/current/explore.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html /// ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices ///Graph Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackGraphExplore(string index, PostData body, Func requestParameters = null) where T : class; - - ///Represents a POST on /{index}/_xpack/_graph/_explore - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + + ///Represents a POST on /{index}/_xpack/graph/_explore + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/graph/current/explore.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html /// ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices ///Graph Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackGraphExploreAsync(string index, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - - ///Represents a POST on /{index}/{type}/_xpack/_graph/_explore - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + + ///Represents a POST on /{index}/{type}/_xpack/graph/_explore + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/graph/current/explore.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html /// ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices ///A comma-separated list of document types to search; leave empty to perform the operation on all types ///Graph Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackGraphExplore(string index, string type, PostData body, Func requestParameters = null) where T : class; - - ///Represents a POST on /{index}/{type}/_xpack/_graph/_explore - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + + ///Represents a POST on /{index}/{type}/_xpack/graph/_explore + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/graph/current/explore.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html /// ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices ///A comma-separated list of document types to search; leave empty to perform the operation on all types ///Graph Query DSL ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackGraphExploreAsync(string index, string type, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + + ///Represents a GET on /_xpack/migration/deprecations + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed + /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth + ///See also: http://www.elastic.co/guide/en/migration/current/migration-api-deprecation.html + /// + ///A func that allows you to describe the querystring parameters & request specific connection settings. + ElasticsearchResponse XpackDeprecationInfo(Func requestParameters = null) where T : class; + + ///Represents a GET on /_xpack/migration/deprecations + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed + /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth + ///See also: http://www.elastic.co/guide/en/migration/current/migration-api-deprecation.html + /// + ///A func that allows you to describe the querystring parameters & request specific connection settings. + Task> XpackDeprecationInfoAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; + + ///Represents a GET on /{index}/_xpack/migration/deprecations + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed + /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth + ///See also: http://www.elastic.co/guide/en/migration/current/migration-api-deprecation.html + /// + ///Index pattern + ///A func that allows you to describe the querystring parameters & request specific connection settings. + ElasticsearchResponse XpackDeprecationInfo(string index, Func requestParameters = null) where T : class; + + ///Represents a GET on /{index}/_xpack/migration/deprecations + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed + /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth + ///See also: http://www.elastic.co/guide/en/migration/current/migration-api-deprecation.html + /// + ///Index pattern + ///A func that allows you to describe the querystring parameters & request specific connection settings. + Task> XpackDeprecationInfoAsync(string index, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; + ///Represents a GET on /_xpack - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackInfo(Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackInfoAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/usage - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: Retrieve information about xpack features usage /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackUsage(Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/usage - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: Retrieve information about xpack features usage /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackUsageAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a DELETE on /_xpack/license - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/shield/current/license-management.html + ///See also: https://www.elastic.co/guide/en/x-pack/current/license-management.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackLicenseDelete(Func requestParameters = null) where T : class; - + ///Represents a DELETE on /_xpack/license - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/shield/current/license-management.html + ///See also: https://www.elastic.co/guide/en/x-pack/current/license-management.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackLicenseDeleteAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/license - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/shield/current/license-management.html + ///See also: https://www.elastic.co/guide/en/x-pack/current/license-management.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackLicenseGet(Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/license - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/shield/current/license-management.html + ///See also: https://www.elastic.co/guide/en/x-pack/current/license-management.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackLicenseGetAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /_xpack/license - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/shield/current/license-management.html + ///See also: https://www.elastic.co/guide/en/x-pack/current/license-management.html /// ///licenses to be installed ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackLicensePost(PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /_xpack/license - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/shield/current/license-management.html + ///See also: https://www.elastic.co/guide/en/x-pack/current/license-management.html /// ///licenses to be installed ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackLicensePostAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/_close - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-close-job.html /// ///The name of the job to close ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlCloseJob(string job_id, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/_close - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-close-job.html /// ///The name of the job to close ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlCloseJobAsync(string job_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a DELETE on /_xpack/ml/datafeeds/{datafeed_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-datafeed.html /// ///The ID of the datafeed to delete ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlDeleteDatafeed(string datafeed_id, Func requestParameters = null) where T : class; - + ///Represents a DELETE on /_xpack/ml/datafeeds/{datafeed_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-datafeed.html /// ///The ID of the datafeed to delete ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlDeleteDatafeedAsync(string datafeed_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a DELETE on /_xpack/ml/_delete_expired_data - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlDeleteExpiredData(Func requestParameters = null) where T : class; - + ///Represents a DELETE on /_xpack/ml/_delete_expired_data - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlDeleteExpiredDataAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a DELETE on /_xpack/ml/anomaly_detectors/{job_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-job.html /// ///The ID of the job to delete ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlDeleteJob(string job_id, Func requestParameters = null) where T : class; - + ///Represents a DELETE on /_xpack/ml/anomaly_detectors/{job_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-job.html /// ///The ID of the job to delete ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlDeleteJobAsync(string job_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a DELETE on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-snapshot.html /// @@ -7712,13 +7534,13 @@ public partial interface IElasticLowLevelClient ///The ID of the snapshot to delete ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlDeleteModelSnapshot(string job_id, string snapshot_id, Func requestParameters = null) where T : class; - + ///Represents a DELETE on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-snapshot.html /// @@ -7726,13 +7548,13 @@ public partial interface IElasticLowLevelClient ///The ID of the snapshot to delete ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlDeleteModelSnapshotAsync(string job_id, string snapshot_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/_flush - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html /// @@ -7740,13 +7562,13 @@ public partial interface IElasticLowLevelClient ///Flush parameters ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlFlushJob(string job_id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/_flush - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html /// @@ -7754,39 +7576,39 @@ public partial interface IElasticLowLevelClient ///Flush parameters ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlFlushJobAsync(string job_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/results/buckets - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html /// ///ID of the job to get bucket results from ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlGetBuckets(string job_id, Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/results/buckets - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html /// ///ID of the job to get bucket results from ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlGetBucketsAsync(string job_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/results/buckets - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html /// @@ -7794,13 +7616,13 @@ public partial interface IElasticLowLevelClient ///Bucket selection details if not provided in URI ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlGetBuckets(string job_id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/results/buckets - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html /// @@ -7808,13 +7630,13 @@ public partial interface IElasticLowLevelClient ///Bucket selection details if not provided in URI ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlGetBucketsAsync(string job_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/results/categories/{category_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html /// @@ -7822,13 +7644,13 @@ public partial interface IElasticLowLevelClient ///The identifier of the category definition of interest ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlGetCategories(string job_id, long category_id, Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/results/categories/{category_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html /// @@ -7836,39 +7658,39 @@ public partial interface IElasticLowLevelClient ///The identifier of the category definition of interest ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlGetCategoriesAsync(string job_id, long category_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/results/categories/ - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html /// ///The name of the job ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlGetCategories(string job_id, Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/results/categories/ - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html /// ///The name of the job ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlGetCategoriesAsync(string job_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/results/categories/{category_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html /// @@ -7877,13 +7699,13 @@ public partial interface IElasticLowLevelClient ///Category selection details if not provided in URI ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlGetCategories(string job_id, long category_id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/results/categories/{category_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html /// @@ -7892,13 +7714,13 @@ public partial interface IElasticLowLevelClient ///Category selection details if not provided in URI ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlGetCategoriesAsync(string job_id, long category_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/results/categories/ - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html /// @@ -7906,13 +7728,13 @@ public partial interface IElasticLowLevelClient ///Category selection details if not provided in URI ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlGetCategories(string job_id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/results/categories/ - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html /// @@ -7920,139 +7742,139 @@ public partial interface IElasticLowLevelClient ///Category selection details if not provided in URI ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlGetCategoriesAsync(string job_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/ml/datafeeds/{datafeed_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html /// ///The ID of the datafeeds to fetch ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlGetDatafeeds(string datafeed_id, Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/ml/datafeeds/{datafeed_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html /// ///The ID of the datafeeds to fetch ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlGetDatafeedsAsync(string datafeed_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/ml/datafeeds - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlGetDatafeeds(Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/ml/datafeeds - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlGetDatafeedsAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/ml/datafeeds/{datafeed_id}/_stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html /// ///The ID of the datafeeds stats to fetch ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlGetDatafeedStats(string datafeed_id, Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/ml/datafeeds/{datafeed_id}/_stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html /// ///The ID of the datafeeds stats to fetch ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlGetDatafeedStatsAsync(string datafeed_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/ml/datafeeds/_stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlGetDatafeedStats(Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/ml/datafeeds/_stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlGetDatafeedStatsAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/results/influencers - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html /// /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlGetInfluencers(string job_id, Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/results/influencers - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html /// /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlGetInfluencersAsync(string job_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/results/influencers - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html /// @@ -8060,13 +7882,13 @@ public partial interface IElasticLowLevelClient ///Influencer selection criteria ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlGetInfluencers(string job_id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/results/influencers - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html /// @@ -8074,113 +7896,113 @@ public partial interface IElasticLowLevelClient ///Influencer selection criteria ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlGetInfluencersAsync(string job_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html /// ///The ID of the jobs to fetch ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlGetJobs(string job_id, Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html /// ///The ID of the jobs to fetch ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlGetJobsAsync(string job_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/ml/anomaly_detectors/ - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlGetJobs(Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/ml/anomaly_detectors/ - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlGetJobsAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/ml/anomaly_detectors/_stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlGetJobStats(Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/ml/anomaly_detectors/_stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlGetJobStatsAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/_stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html /// ///The ID of the jobs stats to fetch ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlGetJobStats(string job_id, Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/_stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html /// ///The ID of the jobs stats to fetch ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlGetJobStatsAsync(string job_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html /// @@ -8188,13 +8010,13 @@ public partial interface IElasticLowLevelClient ///The ID of the snapshot to fetch ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlGetModelSnapshots(string job_id, string snapshot_id, Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html /// @@ -8202,39 +8024,39 @@ public partial interface IElasticLowLevelClient ///The ID of the snapshot to fetch ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlGetModelSnapshotsAsync(string job_id, string snapshot_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html /// ///The ID of the job to fetch ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlGetModelSnapshots(string job_id, Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html /// ///The ID of the job to fetch ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlGetModelSnapshotsAsync(string job_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html /// @@ -8243,13 +8065,13 @@ public partial interface IElasticLowLevelClient ///Model snapshot selection criteria ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlGetModelSnapshots(string job_id, string snapshot_id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html /// @@ -8258,13 +8080,13 @@ public partial interface IElasticLowLevelClient ///Model snapshot selection criteria ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlGetModelSnapshotsAsync(string job_id, string snapshot_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html /// @@ -8272,13 +8094,13 @@ public partial interface IElasticLowLevelClient ///Model snapshot selection criteria ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlGetModelSnapshots(string job_id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html /// @@ -8286,39 +8108,39 @@ public partial interface IElasticLowLevelClient ///Model snapshot selection criteria ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlGetModelSnapshotsAsync(string job_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/results/records - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html /// /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlGetRecords(string job_id, Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/ml/anomaly_detectors/{job_id}/results/records - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html /// /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlGetRecordsAsync(string job_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/results/records - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html /// @@ -8326,13 +8148,13 @@ public partial interface IElasticLowLevelClient ///Record selection criteria ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlGetRecords(string job_id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/results/records - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html /// @@ -8340,39 +8162,39 @@ public partial interface IElasticLowLevelClient ///Record selection criteria ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlGetRecordsAsync(string job_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/_open - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-open-job.html /// ///The ID of the job to open ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlOpenJob(string job_id, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/_open - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-open-job.html /// ///The ID of the job to open ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlOpenJobAsync(string job_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/_data - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-data.html /// @@ -8380,13 +8202,13 @@ public partial interface IElasticLowLevelClient ///The data to process ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlPostData(string job_id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/_data - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-data.html /// @@ -8394,39 +8216,39 @@ public partial interface IElasticLowLevelClient ///The data to process ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlPostDataAsync(string job_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/ml/datafeeds/{datafeed_id}/_preview - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html /// ///The ID of the datafeed to preview ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlPreviewDatafeed(string datafeed_id, Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/ml/datafeeds/{datafeed_id}/_preview - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html /// ///The ID of the datafeed to preview ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlPreviewDatafeedAsync(string datafeed_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /_xpack/ml/datafeeds/{datafeed_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-datafeed.html /// @@ -8434,13 +8256,13 @@ public partial interface IElasticLowLevelClient ///The datafeed config ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlPutDatafeed(string datafeed_id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /_xpack/ml/datafeeds/{datafeed_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-datafeed.html /// @@ -8448,13 +8270,13 @@ public partial interface IElasticLowLevelClient ///The datafeed config ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlPutDatafeedAsync(string datafeed_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /_xpack/ml/anomaly_detectors/{job_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html /// @@ -8462,13 +8284,13 @@ public partial interface IElasticLowLevelClient ///The job ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlPutJob(string job_id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /_xpack/ml/anomaly_detectors/{job_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html /// @@ -8476,13 +8298,13 @@ public partial interface IElasticLowLevelClient ///The job ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlPutJobAsync(string job_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-revert-snapshot.html /// @@ -8491,13 +8313,13 @@ public partial interface IElasticLowLevelClient ///Reversion options ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlRevertModelSnapshot(string job_id, string snapshot_id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-revert-snapshot.html /// @@ -8506,13 +8328,13 @@ public partial interface IElasticLowLevelClient ///Reversion options ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlRevertModelSnapshotAsync(string job_id, string snapshot_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/ml/datafeeds/{datafeed_id}/_start - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-start-datafeed.html /// @@ -8520,13 +8342,13 @@ public partial interface IElasticLowLevelClient ///The start datafeed parameters ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlStartDatafeed(string datafeed_id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/ml/datafeeds/{datafeed_id}/_start - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-start-datafeed.html /// @@ -8534,39 +8356,39 @@ public partial interface IElasticLowLevelClient ///The start datafeed parameters ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlStartDatafeedAsync(string datafeed_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/ml/datafeeds/{datafeed_id}/_stop - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-stop-datafeed.html /// ///The ID of the datafeed to stop ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlStopDatafeed(string datafeed_id, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/ml/datafeeds/{datafeed_id}/_stop - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-stop-datafeed.html /// ///The ID of the datafeed to stop ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlStopDatafeedAsync(string datafeed_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/ml/datafeeds/{datafeed_id}/_update - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-datafeed.html /// @@ -8574,13 +8396,13 @@ public partial interface IElasticLowLevelClient ///The datafeed update settings ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlUpdateDatafeed(string datafeed_id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/ml/datafeeds/{datafeed_id}/_update - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-datafeed.html /// @@ -8588,13 +8410,13 @@ public partial interface IElasticLowLevelClient ///The datafeed update settings ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlUpdateDatafeedAsync(string datafeed_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/_update - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-job.html /// @@ -8602,13 +8424,13 @@ public partial interface IElasticLowLevelClient ///The job update settings ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlUpdateJob(string job_id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/_update - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-job.html /// @@ -8616,13 +8438,13 @@ public partial interface IElasticLowLevelClient ///The job update settings ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlUpdateJobAsync(string job_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-snapshot.html /// @@ -8631,13 +8453,13 @@ public partial interface IElasticLowLevelClient ///The model snapshot properties to update ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlUpdateModelSnapshot(string job_id, string snapshot_id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-snapshot.html /// @@ -8646,827 +8468,827 @@ public partial interface IElasticLowLevelClient ///The model snapshot properties to update ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlUpdateModelSnapshotAsync(string job_id, string snapshot_id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/_validate - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: /// ///The job config ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlValidate(PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/_validate - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: /// ///The job config ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlValidateAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/_validate/detector - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: /// ///The detector ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackMlValidateDetector(PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/ml/anomaly_detectors/_validate/detector - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: /// ///The detector ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackMlValidateDetectorAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/security/_authenticate - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-authenticate.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-authenticate.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityAuthenticate(Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/security/_authenticate - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-authenticate.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-authenticate.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityAuthenticateAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /_xpack/security/user/{username}/_password - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-change-password.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html /// ///The username of the user to change the password for ///the new password for the user ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityChangePassword(string username, PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /_xpack/security/user/{username}/_password - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-change-password.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html /// ///The username of the user to change the password for ///the new password for the user ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityChangePasswordAsync(string username, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /_xpack/security/user/_password - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-change-password.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html /// ///the new password for the user ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityChangePassword(PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /_xpack/security/user/_password - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-change-password.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html /// ///the new password for the user ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityChangePasswordAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/security/user/{username}/_password - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-change-password.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html /// ///The username of the user to change the password for ///the new password for the user ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityChangePasswordPost(string username, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/security/user/{username}/_password - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-change-password.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html /// ///The username of the user to change the password for ///the new password for the user ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityChangePasswordPostAsync(string username, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/security/user/_password - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-change-password.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html /// ///the new password for the user ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityChangePasswordPost(PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/security/user/_password - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-change-password.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html /// ///the new password for the user ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityChangePasswordPostAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/security/realm/{realms}/_clear_cache - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/current/security-api-clear-cache.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-cache.html /// ///Comma-separated list of realms to clear ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityClearCachedRealms(string realms, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/security/realm/{realms}/_clear_cache - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/current/security-api-clear-cache.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-cache.html /// ///Comma-separated list of realms to clear ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityClearCachedRealmsAsync(string realms, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/security/role/{name}/_clear_cache - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-clear-role-cache + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-clear-role-cache /// ///Role name ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityClearCachedRoles(string name, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/security/role/{name}/_clear_cache - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-clear-role-cache + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-clear-role-cache /// ///Role name ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityClearCachedRolesAsync(string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a DELETE on /_xpack/security/role/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-delete-role + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-delete-role /// ///Role name ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityDeleteRole(string name, Func requestParameters = null) where T : class; - + ///Represents a DELETE on /_xpack/security/role/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-delete-role + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-delete-role /// ///Role name ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityDeleteRoleAsync(string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a DELETE on /_xpack/security/role_mapping/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-delete-role-mapping + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-delete-role-mapping /// ///Role-mapping name ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityDeleteRoleMapping(string name, Func requestParameters = null) where T : class; - + ///Represents a DELETE on /_xpack/security/role_mapping/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-delete-role-mapping + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-delete-role-mapping /// ///Role-mapping name ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityDeleteRoleMappingAsync(string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a DELETE on /_xpack/security/user/{username} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-delete-user + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-delete-user /// ///username ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityDeleteUser(string username, Func requestParameters = null) where T : class; - + ///Represents a DELETE on /_xpack/security/user/{username} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-delete-user + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-delete-user /// ///username ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityDeleteUserAsync(string username, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /_xpack/security/user/{username}/_disable - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-disable-user.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-disable-user /// ///The username of the user to disable ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityDisableUser(string username, Func requestParameters = null) where T : class; - + ///Represents a PUT on /_xpack/security/user/{username}/_disable - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-disable-user.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-disable-user /// ///The username of the user to disable ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityDisableUserAsync(string username, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/security/user/{username}/_disable - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-disable-user.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-disable-user /// ///The username of the user to disable ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityDisableUserPost(string username, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/security/user/{username}/_disable - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-disable-user.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-disable-user /// ///The username of the user to disable ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityDisableUserPostAsync(string username, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /_xpack/security/user/{username}/_enable - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-enable-user.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-enable-user /// ///The username of the user to enable ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityEnableUser(string username, Func requestParameters = null) where T : class; - + ///Represents a PUT on /_xpack/security/user/{username}/_enable - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-enable-user.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-enable-user /// ///The username of the user to enable ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityEnableUserAsync(string username, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/security/user/{username}/_enable - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-enable-user.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-enable-user /// ///The username of the user to enable ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityEnableUserPost(string username, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/security/user/{username}/_enable - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-enable-user.html + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-enable-user /// ///The username of the user to enable ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityEnableUserPostAsync(string username, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/security/role/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-get-role + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-get-role /// ///Role name ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityGetRole(string name, Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/security/role/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-get-role + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-get-role /// ///Role name ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityGetRoleAsync(string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/security/role - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-get-role + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-get-role /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityGetRole(Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/security/role - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-get-role + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-get-role /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityGetRoleAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/security/role_mapping/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-get-role-mapping + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-get-role-mapping /// ///Role-Mapping name ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityGetRoleMapping(string name, Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/security/role_mapping/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-get-role-mapping + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-get-role-mapping /// ///Role-Mapping name ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityGetRoleMappingAsync(string name, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/security/role_mapping - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-get-role-mapping + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-get-role-mapping /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityGetRoleMapping(Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/security/role_mapping - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-get-role-mapping + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-get-role-mapping /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityGetRoleMappingAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/security/oauth2/token - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-tokens.html#security-api-get-token + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-tokens.html#security-api-get-token /// ///The token request to get ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityGetToken(PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/security/oauth2/token - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-tokens.html#security-api-get-token + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-tokens.html#security-api-get-token /// ///The token request to get ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityGetTokenAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/security/user/{username} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-get-user + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-get-user /// ///A comma-separated list of usernames ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityGetUser(string username, Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/security/user/{username} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-get-user + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-get-user /// ///A comma-separated list of usernames ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityGetUserAsync(string username, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/security/user - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-get-user + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-get-user /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityGetUser(Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/security/user - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-get-user + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-get-user /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityGetUserAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a DELETE on /_xpack/security/oauth2/token - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-tokens.html#security-api-invalidate-token + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-tokens.html#security-api-invalidate-token /// ///The token to invalidate ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityInvalidateToken(PostData body, Func requestParameters = null) where T : class; - + ///Represents a DELETE on /_xpack/security/oauth2/token - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-tokens.html#security-api-invalidate-token + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-tokens.html#security-api-invalidate-token /// ///The token to invalidate ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityInvalidateTokenAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /_xpack/security/role/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-put-role + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-put-role /// ///Role name ///The role to add ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityPutRole(string name, PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /_xpack/security/role/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-put-role + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-put-role /// ///Role name ///The role to add ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityPutRoleAsync(string name, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/security/role/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-put-role + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-put-role /// ///Role name ///The role to add ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityPutRolePost(string name, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/security/role/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-put-role + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-put-role /// ///Role name ///The role to add ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityPutRolePostAsync(string name, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /_xpack/security/role_mapping/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-put-role-mapping + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-put-role-mapping /// ///Role-mapping name ///The role to add ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityPutRoleMapping(string name, PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /_xpack/security/role_mapping/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-put-role-mapping + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-put-role-mapping /// ///Role-mapping name ///The role to add ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityPutRoleMappingAsync(string name, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/security/role_mapping/{name} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-put-role-mapping + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-put-role-mapping /// ///Role-mapping name ///The role to add ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityPutRoleMappingPost(string name, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/security/role_mapping/{name} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-put-role-mapping + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-put-role-mapping /// ///Role-mapping name ///The role to add ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityPutRoleMappingPostAsync(string name, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /_xpack/security/user/{username} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-put-user + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-put-user /// ///The username of the User ///The user to add ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityPutUser(string username, PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /_xpack/security/user/{username} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-put-user + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-put-user /// ///The username of the User ///The user to add ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityPutUserAsync(string username, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/security/user/{username} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-put-user + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-put-user /// ///The username of the User ///The user to add ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackSecurityPutUserPost(string username, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/security/user/{username} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-put-user + ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-put-user /// ///The username of the User ///The user to add ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackSecurityPutUserPostAsync(string username, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /_xpack/watcher/watch/{watch_id}/_ack - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html /// ///Watch ID ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackWatcherAckWatch(string watch_id, Func requestParameters = null) where T : class; - + ///Represents a PUT on /_xpack/watcher/watch/{watch_id}/_ack - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html /// ///Watch ID ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackWatcherAckWatchAsync(string watch_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /_xpack/watcher/watch/{watch_id}/_ack/{action_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html /// @@ -9474,13 +9296,13 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of the action ids to be acked ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackWatcherAckWatch(string watch_id, string action_id, Func requestParameters = null) where T : class; - + ///Represents a PUT on /_xpack/watcher/watch/{watch_id}/_ack/{action_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html /// @@ -9488,39 +9310,39 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of the action ids to be acked ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackWatcherAckWatchAsync(string watch_id, string action_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/watcher/watch/{watch_id}/_ack - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html /// ///Watch ID ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackWatcherAckWatchPost(string watch_id, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/watcher/watch/{watch_id}/_ack - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html /// ///Watch ID ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackWatcherAckWatchPostAsync(string watch_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/watcher/watch/{watch_id}/_ack/{action_id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html /// @@ -9528,13 +9350,13 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of the action ids to be acked ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackWatcherAckWatchPost(string watch_id, string action_id, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/watcher/watch/{watch_id}/_ack/{action_id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html /// @@ -9542,143 +9364,143 @@ public partial interface IElasticLowLevelClient ///A comma-separated list of the action ids to be acked ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackWatcherAckWatchPostAsync(string watch_id, string action_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /_xpack/watcher/watch/{watch_id}/_activate - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html /// ///Watch ID ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackWatcherActivateWatch(string watch_id, Func requestParameters = null) where T : class; - + ///Represents a PUT on /_xpack/watcher/watch/{watch_id}/_activate - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html /// ///Watch ID ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackWatcherActivateWatchAsync(string watch_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/watcher/watch/{watch_id}/_activate - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html /// ///Watch ID ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackWatcherActivateWatchPost(string watch_id, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/watcher/watch/{watch_id}/_activate - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html /// ///Watch ID ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackWatcherActivateWatchPostAsync(string watch_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /_xpack/watcher/watch/{watch_id}/_deactivate - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html /// ///Watch ID ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackWatcherDeactivateWatch(string watch_id, Func requestParameters = null) where T : class; - + ///Represents a PUT on /_xpack/watcher/watch/{watch_id}/_deactivate - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html /// ///Watch ID ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackWatcherDeactivateWatchAsync(string watch_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/watcher/watch/{watch_id}/_deactivate - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html /// ///Watch ID ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackWatcherDeactivateWatchPost(string watch_id, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/watcher/watch/{watch_id}/_deactivate - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html /// ///Watch ID ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackWatcherDeactivateWatchPostAsync(string watch_id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a DELETE on /_xpack/watcher/watch/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-delete-watch.html /// ///Watch ID ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackWatcherDeleteWatch(string id, Func requestParameters = null) where T : class; - + ///Represents a DELETE on /_xpack/watcher/watch/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-delete-watch.html /// ///Watch ID ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackWatcherDeleteWatchAsync(string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /_xpack/watcher/watch/{id}/_execute - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html /// @@ -9686,13 +9508,13 @@ public partial interface IElasticLowLevelClient ///Execution control ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackWatcherExecuteWatch(string id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /_xpack/watcher/watch/{id}/_execute - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html /// @@ -9700,39 +9522,39 @@ public partial interface IElasticLowLevelClient ///Execution control ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackWatcherExecuteWatchAsync(string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /_xpack/watcher/watch/_execute - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html /// ///Execution control ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackWatcherExecuteWatch(PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /_xpack/watcher/watch/_execute - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html /// ///Execution control ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackWatcherExecuteWatchAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/watcher/watch/{id}/_execute - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html /// @@ -9740,13 +9562,13 @@ public partial interface IElasticLowLevelClient ///Execution control ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackWatcherExecuteWatchPost(string id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/watcher/watch/{id}/_execute - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html /// @@ -9754,65 +9576,65 @@ public partial interface IElasticLowLevelClient ///Execution control ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackWatcherExecuteWatchPostAsync(string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/watcher/watch/_execute - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html /// ///Execution control ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackWatcherExecuteWatchPost(PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/watcher/watch/_execute - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html /// ///Execution control ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackWatcherExecuteWatchPostAsync(PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/watcher/watch/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-get-watch.html /// ///Watch ID ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackWatcherGetWatch(string id, Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/watcher/watch/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-get-watch.html /// ///Watch ID ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackWatcherGetWatchAsync(string id, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a PUT on /_xpack/watcher/watch/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html /// @@ -9820,13 +9642,13 @@ public partial interface IElasticLowLevelClient ///The watch ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackWatcherPutWatch(string id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a PUT on /_xpack/watcher/watch/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html /// @@ -9834,13 +9656,13 @@ public partial interface IElasticLowLevelClient ///The watch ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackWatcherPutWatchAsync(string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/watcher/watch/{id} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html /// @@ -9848,13 +9670,13 @@ public partial interface IElasticLowLevelClient ///The watch ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackWatcherPutWatchPost(string id, PostData body, Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/watcher/watch/{id} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html /// @@ -9862,128 +9684,128 @@ public partial interface IElasticLowLevelClient ///The watch ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackWatcherPutWatchPostAsync(string id, PostData body, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/watcher/_restart - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-restart.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackWatcherRestart(Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/watcher/_restart - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-restart.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackWatcherRestartAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/watcher/_start - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-start.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackWatcherStart(Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/watcher/_start - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-start.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackWatcherStartAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/watcher/stats - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackWatcherStats(Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/watcher/stats - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackWatcherStatsAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a GET on /_xpack/watcher/stats/{watcher_stats_metric} - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html /// ///Controls what additional stat metrics should be include in the response ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackWatcherStats(WatcherStatsMetric watcher_stats_metric, Func requestParameters = null) where T : class; - + ///Represents a GET on /_xpack/watcher/stats/{watcher_stats_metric} - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html /// ///Controls what additional stat metrics should be include in the response ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackWatcherStatsAsync(WatcherStatsMetric watcher_stats_metric, Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + ///Represents a POST on /_xpack/watcher/_stop - ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: ElasticsearchResponse<T> where the behavior depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stop.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. ElasticsearchResponse XpackWatcherStop(Func requestParameters = null) where T : class; - + ///Represents a POST on /_xpack/watcher/_stop - ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: - /// - T, an object you own that the elasticsearch response will be deserialized to - /// - byte[], no deserialization, but the response stream will be closed - /// - Stream, no deserialization, response stream is your responsibility - /// - VoidResponse, no deserialization, response stream never read and closed + ///Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T: + /// - T, an object you own that the elasticsearch response will be deserialized to + /// - byte[], no deserialization, but the response stream will be closed + /// - Stream, no deserialization, response stream is your responsibility + /// - VoidResponse, no deserialization, response stream never read and closed /// - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stop.html /// ///A func that allows you to describe the querystring parameters & request specific connection settings. Task> XpackWatcherStopAsync(Func requestParameters = null, CancellationToken cancellationToken = default(CancellationToken)) where T : class; - + } } diff --git a/src/Nest/CommonAbstractions/Infer/Features/Features.cs b/src/Nest/CommonAbstractions/Infer/Features/Features.cs deleted file mode 100644 index ad5b5e822b1..00000000000 --- a/src/Nest/CommonAbstractions/Infer/Features/Features.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System; -using Elasticsearch.Net; -using Newtonsoft.Json; - -namespace Nest -{ - [JsonConverter(typeof(FeaturesJsonConverter))] - public class Features : IUrlParameter - { - string IUrlParameter.GetString(IConnectionConfigurationValues settings) => _enumValue.GetStringValue(); - - private readonly Feature _enumValue; - - internal Features(Feature feature) { _enumValue = feature; } - - public static implicit operator Features(Feature feature) => new Features(feature); - public static implicit operator Features(string features) => FromString(features); - - public static Features FromString(string features) - { - var parts = features.Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries); - int feature = 0; - foreach (var p in parts) - { - var f = p.ToEnum(); - if (f != null) feature |= (int)f; - } - return (Feature)feature; - } - } -} diff --git a/src/Nest/CommonAbstractions/Infer/Features/FeaturesJsonConverter.cs b/src/Nest/CommonAbstractions/Infer/Features/FeaturesJsonConverter.cs deleted file mode 100644 index faec580ee48..00000000000 --- a/src/Nest/CommonAbstractions/Infer/Features/FeaturesJsonConverter.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; -using Elasticsearch.Net; -using Newtonsoft.Json; - -namespace Nest -{ - internal class FeaturesJsonConverter : JsonConverter - { - public override bool CanConvert(Type objectType) => true; - - public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) - { - var marker = value as Features; - if (marker == null) - { - writer.WriteNull(); - return; - } - var settings = serializer.GetConnectionSettings(); - var s = ((IUrlParameter)marker).GetString(settings); - writer.WriteValue(s); - } - - public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) - { - if (reader.TokenType == JsonToken.String) - { - string indices = reader.Value.ToString(); - return (Features)indices; - } - return null; - } - - } -} diff --git a/src/Nest/CommonAbstractions/Infer/Metrics/Metrics.cs b/src/Nest/CommonAbstractions/Infer/Metrics/Metrics.cs index 3d0690de1cb..87874b4b8ec 100644 --- a/src/Nest/CommonAbstractions/Infer/Metrics/Metrics.cs +++ b/src/Nest/CommonAbstractions/Infer/Metrics/Metrics.cs @@ -13,11 +13,13 @@ public class Metrics : IUrlParameter internal Metrics(NodesInfoMetric metric){ _enumValue = metric; } internal Metrics(ClusterStateMetric metric){ _enumValue = metric; } internal Metrics(WatcherStatsMetric metric){ _enumValue = metric; } + internal Metrics(NodesUsageMetric metric){ _enumValue = metric; } public static implicit operator Metrics(IndicesStatsMetric metric) => new Metrics(metric); public static implicit operator Metrics(NodesStatsMetric metric) => new Metrics(metric); public static implicit operator Metrics(NodesInfoMetric metric) => new Metrics(metric); public static implicit operator Metrics(ClusterStateMetric metric) => new Metrics(metric); public static implicit operator Metrics(WatcherStatsMetric metric) => new Metrics(metric); + public static implicit operator Metrics(NodesUsageMetric metric) => new Metrics(metric); } } diff --git a/src/Nest/Modules/Scripting/DeleteScript/ElasticClient-DeleteScript.cs b/src/Nest/Modules/Scripting/DeleteScript/ElasticClient-DeleteScript.cs index b6c7e4fdfd8..b688ea523e4 100644 --- a/src/Nest/Modules/Scripting/DeleteScript/ElasticClient-DeleteScript.cs +++ b/src/Nest/Modules/Scripting/DeleteScript/ElasticClient-DeleteScript.cs @@ -8,13 +8,13 @@ namespace Nest public partial interface IElasticClient { /// - IDeleteScriptResponse DeleteScript(Name language, Id id, Func selector = null); + IDeleteScriptResponse DeleteScript(Id id, Func selector = null); /// IDeleteScriptResponse DeleteScript(IDeleteScriptRequest request); /// - Task DeleteScriptAsync(Name language, Id id, Func selector = null, CancellationToken cancellationToken = default(CancellationToken)); + Task DeleteScriptAsync(Id id, Func selector = null, CancellationToken cancellationToken = default(CancellationToken)); /// Task DeleteScriptAsync(IDeleteScriptRequest request, CancellationToken cancellationToken = default(CancellationToken)); @@ -30,12 +30,12 @@ public IDeleteScriptResponse DeleteScript(IDeleteScriptRequest request) => ); /// - public IDeleteScriptResponse DeleteScript(Name language, Id id, Func selector = null) => - this.DeleteScript(selector.InvokeOrDefault(new DeleteScriptDescriptor(language, id))); + public IDeleteScriptResponse DeleteScript(Id id, Func selector = null) => + this.DeleteScript(selector.InvokeOrDefault(new DeleteScriptDescriptor(id))); /// - public Task DeleteScriptAsync(Name language, Id id, Func selector = null, CancellationToken cancellationToken = default(CancellationToken)) => - this.DeleteScriptAsync(selector.InvokeOrDefault(new DeleteScriptDescriptor(language, id)), cancellationToken); + public Task DeleteScriptAsync(Id id, Func selector = null, CancellationToken cancellationToken = default(CancellationToken)) => + this.DeleteScriptAsync(selector.InvokeOrDefault(new DeleteScriptDescriptor(id)), cancellationToken); /// public Task DeleteScriptAsync(IDeleteScriptRequest request, CancellationToken cancellationToken = default(CancellationToken)) => diff --git a/src/Nest/Modules/Scripting/GetScript/ElasticClient-GetScript.cs b/src/Nest/Modules/Scripting/GetScript/ElasticClient-GetScript.cs index 3456bfe75c9..82bbbbf72e7 100644 --- a/src/Nest/Modules/Scripting/GetScript/ElasticClient-GetScript.cs +++ b/src/Nest/Modules/Scripting/GetScript/ElasticClient-GetScript.cs @@ -9,13 +9,13 @@ public partial interface IElasticClient { /// - IGetScriptResponse GetScript(Name language, Id id, Func selector = null); + IGetScriptResponse GetScript(Id id, Func selector = null); /// IGetScriptResponse GetScript(IGetScriptRequest request); /// - Task GetScriptAsync(Name language, Id id, Func selector = null, CancellationToken cancellationToken = default(CancellationToken)); + Task GetScriptAsync(Id id, Func selector = null, CancellationToken cancellationToken = default(CancellationToken)); /// Task GetScriptAsync(IGetScriptRequest request, CancellationToken cancellationToken = default(CancellationToken)); @@ -25,8 +25,8 @@ public partial interface IElasticClient public partial class ElasticClient { /// - public IGetScriptResponse GetScript(Name language, Id id, Func selector = null) => - this.GetScript(selector.InvokeOrDefault(new GetScriptDescriptor(language, id))); + public IGetScriptResponse GetScript(Id id, Func selector = null) => + this.GetScript(selector.InvokeOrDefault(new GetScriptDescriptor(id))); /// public IGetScriptResponse GetScript(IGetScriptRequest request) => @@ -36,8 +36,8 @@ public IGetScriptResponse GetScript(IGetScriptRequest request) => ); /// - public Task GetScriptAsync(Name language, Id id, Func selector = null, CancellationToken cancellationToken = default(CancellationToken)) => - this.GetScriptAsync(selector.InvokeOrDefault(new GetScriptDescriptor(language, id)), cancellationToken); + public Task GetScriptAsync(Id id, Func selector = null, CancellationToken cancellationToken = default(CancellationToken)) => + this.GetScriptAsync(selector.InvokeOrDefault(new GetScriptDescriptor(id)), cancellationToken); /// public Task GetScriptAsync(IGetScriptRequest request, CancellationToken cancellationToken = default(CancellationToken)) => diff --git a/src/Nest/Modules/Scripting/PutScript/ElasticClient-PutScript.cs b/src/Nest/Modules/Scripting/PutScript/ElasticClient-PutScript.cs index 7678c58f6ef..1a2d3c005a6 100644 --- a/src/Nest/Modules/Scripting/PutScript/ElasticClient-PutScript.cs +++ b/src/Nest/Modules/Scripting/PutScript/ElasticClient-PutScript.cs @@ -8,13 +8,13 @@ namespace Nest public partial interface IElasticClient { /// - IPutScriptResponse PutScript(Name language, Id id, Func selector); + IPutScriptResponse PutScript(Id id, Func selector); /// IPutScriptResponse PutScript(IPutScriptRequest request); /// - Task PutScriptAsync(Name language, Id id, Func selector, CancellationToken cancellationToken = default(CancellationToken)); + Task PutScriptAsync(Id id, Func selector, CancellationToken cancellationToken = default(CancellationToken)); /// Task PutScriptAsync(IPutScriptRequest request, CancellationToken cancellationToken = default(CancellationToken)); @@ -22,8 +22,8 @@ public partial interface IElasticClient } public partial class ElasticClient { - public IPutScriptResponse PutScript(Name language, Id id, Func selector) => - this.PutScript(selector?.Invoke(new PutScriptDescriptor(language, id))); + public IPutScriptResponse PutScript(Id id, Func selector) => + this.PutScript(selector?.Invoke(new PutScriptDescriptor(id))); public IPutScriptResponse PutScript(IPutScriptRequest request) => this.Dispatcher.Dispatch( @@ -31,8 +31,8 @@ public IPutScriptResponse PutScript(IPutScriptRequest request) => this.LowLevelDispatch.PutScriptDispatch ); - public Task PutScriptAsync(Name language, Id id, Func selector, CancellationToken cancellationToken = default(CancellationToken)) => - this.PutScriptAsync(selector?.Invoke(new PutScriptDescriptor(language, id)), cancellationToken); + public Task PutScriptAsync(Id id, Func selector, CancellationToken cancellationToken = default(CancellationToken)) => + this.PutScriptAsync(selector?.Invoke(new PutScriptDescriptor(id)), cancellationToken); public Task PutScriptAsync(IPutScriptRequest request, CancellationToken cancellationToken = default(CancellationToken)) => this.Dispatcher.DispatchAsync( diff --git a/src/Nest/Search/FieldStats/ElasticClient-FieldStats.cs b/src/Nest/Search/FieldStats/ElasticClient-FieldStats.cs deleted file mode 100644 index d944d5010a2..00000000000 --- a/src/Nest/Search/FieldStats/ElasticClient-FieldStats.cs +++ /dev/null @@ -1,47 +0,0 @@ -using System; -using System.Threading.Tasks; -using Elasticsearch.Net; -using System.Threading; - -namespace Nest -{ - public partial interface IElasticClient - { - /// - IFieldStatsResponse FieldStats(Indices indices, Func selector = null); - - /// - IFieldStatsResponse FieldStats(IFieldStatsRequest request); - - /// - Task FieldStatsAsync(Indices indices, Func selector= null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - Task FieldStatsAsync(IFieldStatsRequest request, CancellationToken cancellationToken = default(CancellationToken)); - } - - public partial class ElasticClient - { - /// - public IFieldStatsResponse FieldStats(Indices indices, Func selector = null) => - this.FieldStats(selector.InvokeOrDefault(new FieldStatsDescriptor().Index(indices))); - - /// - public IFieldStatsResponse FieldStats(IFieldStatsRequest request) => - this.Dispatcher.Dispatch( - request, this.LowLevelDispatch.FieldStatsDispatch - ); - - /// - public Task FieldStatsAsync(Indices indices, Func selector = null, CancellationToken cancellationToken = default(CancellationToken)) => - this.FieldStatsAsync(selector.InvokeOrDefault(new FieldStatsDescriptor().Index(indices)), cancellationToken); - - /// - public Task FieldStatsAsync(IFieldStatsRequest request, CancellationToken cancellationToken = default(CancellationToken)) - => this.Dispatcher.DispatchAsync( - request, - cancellationToken, - this.LowLevelDispatch.FieldStatsDispatchAsync - ); - } -} diff --git a/src/Nest/Search/FieldStats/FieldStatsRequest.cs b/src/Nest/Search/FieldStats/FieldStatsRequest.cs deleted file mode 100644 index 13edc94a895..00000000000 --- a/src/Nest/Search/FieldStats/FieldStatsRequest.cs +++ /dev/null @@ -1,33 +0,0 @@ - -using System; -using Elasticsearch.Net; -using Newtonsoft.Json; - -namespace Nest -{ - public partial interface IFieldStatsRequest - { - [JsonProperty("fields")] - Fields Fields { get; set; } - - [JsonProperty("index_constraints")] - IIndexConstraints IndexConstraints { get; set; } - } - - public partial class FieldStatsRequest - { - public Fields Fields { get; set; } - public IIndexConstraints IndexConstraints { get; set; } - } - - public partial class FieldStatsDescriptor - { - Fields IFieldStatsRequest.Fields { get; set; } - IIndexConstraints IFieldStatsRequest.IndexConstraints { get; set; } - - public FieldStatsDescriptor Fields(Fields fields) => Assign(a => a.Fields = fields); - - public FieldStatsDescriptor IndexConstraints(Func> selector) => - Assign(a => a.IndexConstraints = selector?.Invoke(new IndexConstraintsDescriptor())?.Value); - } -} diff --git a/src/Nest/Search/FieldStats/FieldStatsResponse.cs b/src/Nest/Search/FieldStats/FieldStatsResponse.cs deleted file mode 100644 index 3a49776ebb2..00000000000 --- a/src/Nest/Search/FieldStats/FieldStatsResponse.cs +++ /dev/null @@ -1,68 +0,0 @@ -using System.Collections.Generic; -using Newtonsoft.Json; - -namespace Nest -{ - [JsonObject] - public interface IFieldStatsResponse : IResponse - { - [JsonProperty("_shards")] - ShardsMetaData Shards { get; } - - [JsonProperty("indices")] - IReadOnlyDictionary Indices { get; } - } - - public class FieldStatsResponse : ResponseBase, IFieldStatsResponse - { - public ShardsMetaData Shards { get; internal set; } - public IReadOnlyDictionary Indices { get; internal set; } = - EmptyReadOnly.Dictionary; - } - - [JsonObject] - public class FieldStats - { - [JsonProperty("fields")] - public IReadOnlyDictionary Fields { get; internal set; } = EmptyReadOnly.Dictionary; - } - - public class FieldStatsField - { - [JsonProperty("max_doc")] - public long MaxDoc { get; internal set; } - - [JsonProperty("doc_count")] - public long DocCount { get; internal set; } - - [JsonProperty("density")] - public long Density { get; internal set; } - - [JsonProperty("sum_doc_freq")] - public long SumDocumentFrequency { get; internal set; } - - [JsonProperty("sum_total_term_freq")] - public long SumTotalTermFrequency { get; internal set; } - - [JsonProperty("searchable")] - public bool Searchable { get; internal set; } - - [JsonProperty("aggregatable")] - public bool Aggregatable { get; internal set; } - - [JsonProperty("min_value")] - //TODO this can also be an object in the case of geo_point/shape - public object MinValue { get; internal set; } - - [JsonProperty("min_value_as_string")] - public string MinValueAsString { get; internal set; } - - [JsonProperty("max_value")] - //TODO this can also be an object in the case of geo_point/shape - public object MaxValue { get; internal set; } - - [JsonProperty("max_value_as_string")] - public string MaxValueAsString { get; internal set; } - - } -} diff --git a/src/Nest/Search/FieldStats/IndexConstraint.cs b/src/Nest/Search/FieldStats/IndexConstraint.cs deleted file mode 100644 index ee436dec54c..00000000000 --- a/src/Nest/Search/FieldStats/IndexConstraint.cs +++ /dev/null @@ -1,81 +0,0 @@ -using Newtonsoft.Json; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Nest -{ - public interface IIndexConstraint - { - [JsonProperty("min_value")] - IIndexConstraintComparison MinValue { get; set; } - - [JsonProperty("max_value")] - IIndexConstraintComparison MaxValue { get; set; } - } - - [JsonObject] - public class IndexConstraint : IIndexConstraint - { - public IIndexConstraintComparison MinValue { get; set; } - public IIndexConstraintComparison MaxValue { get; set; } - } - - public class IndexConstraintDescriptor - : DescriptorBase, IIndexConstraint - { - IIndexConstraintComparison IIndexConstraint.MaxValue { get; set; } - IIndexConstraintComparison IIndexConstraint.MinValue { get; set; } - - public IndexConstraintDescriptor MinValue(Func minValue) => - Assign(a => a.MinValue = minValue?.Invoke(new IndexConstraintComparisonDescriptor())); - - public IndexConstraintDescriptor MaxValue(Func maxValue) => - Assign(a => a.MaxValue = maxValue?.Invoke(new IndexConstraintComparisonDescriptor())); - } - - public interface IIndexConstraintComparison - { - [JsonProperty("gte")] - string GreaterThanOrEqualTo { get; set; } - - [JsonProperty("gt")] - string GreaterThan { get; set; } - - [JsonProperty("lte")] - string LessThanOrEqualTo { get; set; } - - [JsonProperty("lt")] - string LessThan { get; set; } - - [JsonProperty("format")] - string Format { get; set; } - } - - public class IndexConstraintComparison : IIndexConstraintComparison - { - public string GreaterThanOrEqualTo { get; set; } - public string GreaterThan { get; set; } - public string LessThanOrEqualTo { get; set; } - public string LessThan { get; set; } - public string Format { get; set; } - } - - public class IndexConstraintComparisonDescriptor - : DescriptorBase, IIndexConstraintComparison - { - string IIndexConstraintComparison.Format { get; set; } - string IIndexConstraintComparison.GreaterThan { get; set; } - string IIndexConstraintComparison.GreaterThanOrEqualTo { get; set; } - string IIndexConstraintComparison.LessThan { get; set; } - string IIndexConstraintComparison.LessThanOrEqualTo { get; set; } - - public IndexConstraintComparisonDescriptor Format(string format) => Assign(a => a.Format = format); - public IndexConstraintComparisonDescriptor GreaterThan(string gt) => Assign(a => a.GreaterThan = gt); - public IndexConstraintComparisonDescriptor GreaterThanOrEqualTo(string gte) => Assign(a => a.GreaterThanOrEqualTo = gte); - public IndexConstraintComparisonDescriptor LessThan(string lt) => Assign(a => a.LessThan = lt); - public IndexConstraintComparisonDescriptor LessThanOrEqualTo(string lte) => Assign(a => a.LessThanOrEqualTo = lte); - } -} diff --git a/src/Nest/Search/FieldStats/IndexConstraints.cs b/src/Nest/Search/FieldStats/IndexConstraints.cs deleted file mode 100644 index 126d3ff23c7..00000000000 --- a/src/Nest/Search/FieldStats/IndexConstraints.cs +++ /dev/null @@ -1,29 +0,0 @@ -using Newtonsoft.Json; -using System; -using System.Collections.Generic; -using System.Linq; - -namespace Nest -{ - [JsonConverter(typeof(VerbatimDictionaryKeysJsonConverter))] - public interface IIndexConstraints : IIsADictionary { } - - public class IndexConstraints : IsADictionaryBase, IIndexConstraints - { - public IndexConstraints() {} - public IndexConstraints(IDictionary container) : base(container) { } - public IndexConstraints(Dictionary container) - : base(container.Select(kv => kv).ToDictionary(kv => kv.Key, kv => kv.Value)) - {} - - public void Add(Field field, IndexConstraint constraint) => BackingDictionary.Add(field, constraint); - } - - public class IndexConstraintsDescriptor : IsADictionaryDescriptorBase - { - public IndexConstraintsDescriptor() : base(new IndexConstraints()) { } - - public IndexConstraintsDescriptor IndexConstraint(Field field, Func selector) => - Assign(field, selector?.Invoke(new IndexConstraintDescriptor())); - } -} diff --git a/src/Nest/Search/MultiSearch/MultiSearchTemplate/ElasticClient-MultiSearchTemplate.cs b/src/Nest/Search/MultiSearchTemplate/ElasticClient-MultiSearchTemplate.cs similarity index 100% rename from src/Nest/Search/MultiSearch/MultiSearchTemplate/ElasticClient-MultiSearchTemplate.cs rename to src/Nest/Search/MultiSearchTemplate/ElasticClient-MultiSearchTemplate.cs diff --git a/src/Nest/Search/MultiSearch/MultiSearchTemplate/MultiSearchTemplateJsonConverter.cs b/src/Nest/Search/MultiSearchTemplate/MultiSearchTemplateJsonConverter.cs similarity index 100% rename from src/Nest/Search/MultiSearch/MultiSearchTemplate/MultiSearchTemplateJsonConverter.cs rename to src/Nest/Search/MultiSearchTemplate/MultiSearchTemplateJsonConverter.cs diff --git a/src/Nest/Search/MultiSearch/MultiSearchTemplate/MultiSearchTemplateRequest.cs b/src/Nest/Search/MultiSearchTemplate/MultiSearchTemplateRequest.cs similarity index 100% rename from src/Nest/Search/MultiSearch/MultiSearchTemplate/MultiSearchTemplateRequest.cs rename to src/Nest/Search/MultiSearchTemplate/MultiSearchTemplateRequest.cs diff --git a/src/Nest/Search/SearchTemplate/DeleteSearchTemplate/DeleteSearchTemplateRequest.cs b/src/Nest/Search/SearchTemplate/DeleteSearchTemplate/DeleteSearchTemplateRequest.cs deleted file mode 100644 index c52281b09dc..00000000000 --- a/src/Nest/Search/SearchTemplate/DeleteSearchTemplate/DeleteSearchTemplateRequest.cs +++ /dev/null @@ -1,15 +0,0 @@ -namespace Nest -{ - public partial interface IDeleteSearchTemplateRequest - { - } - - public partial class DeleteSearchTemplateRequest - { - } - - [DescriptorFor("DeleteTemplate")] - public partial class DeleteSearchTemplateDescriptor - { - } -} diff --git a/src/Nest/Search/SearchTemplate/DeleteSearchTemplate/DeleteSearchTemplateResponse.cs b/src/Nest/Search/SearchTemplate/DeleteSearchTemplate/DeleteSearchTemplateResponse.cs deleted file mode 100644 index 6fb7cf92272..00000000000 --- a/src/Nest/Search/SearchTemplate/DeleteSearchTemplate/DeleteSearchTemplateResponse.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Nest -{ - public interface IDeleteSearchTemplateResponse : IAcknowledgedResponse { } - - public class DeleteSearchTemplateResponse : AcknowledgedResponseBase, IDeleteSearchTemplateResponse { } -} diff --git a/src/Nest/Search/SearchTemplate/DeleteSearchTemplate/ElasticClient-DeleteSearchTemplate.cs b/src/Nest/Search/SearchTemplate/DeleteSearchTemplate/ElasticClient-DeleteSearchTemplate.cs deleted file mode 100644 index d770dcae39e..00000000000 --- a/src/Nest/Search/SearchTemplate/DeleteSearchTemplate/ElasticClient-DeleteSearchTemplate.cs +++ /dev/null @@ -1,45 +0,0 @@ -using System; -using System.Threading.Tasks; -using Elasticsearch.Net; -using System.Threading; - -namespace Nest -{ - public partial interface IElasticClient - { - /// - IDeleteSearchTemplateResponse DeleteSearchTemplate(Id id, Func selector = null); - - /// - IDeleteSearchTemplateResponse DeleteSearchTemplate(IDeleteSearchTemplateRequest request); - - /// - Task DeleteSearchTemplateAsync(Id id, Func selector = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - Task DeleteSearchTemplateAsync(IDeleteSearchTemplateRequest request, CancellationToken cancellationToken = default(CancellationToken)); - } - - public partial class ElasticClient - { - public IDeleteSearchTemplateResponse DeleteSearchTemplate(Id id, Func selector = null) => - this.DeleteSearchTemplate(selector.InvokeOrDefault(new DeleteSearchTemplateDescriptor(id))); - - - public IDeleteSearchTemplateResponse DeleteSearchTemplate(IDeleteSearchTemplateRequest request) => - this.Dispatcher.Dispatch( - request, - (p, d) => this.LowLevelDispatch.DeleteTemplateDispatch(p) - ); - - public Task DeleteSearchTemplateAsync(Id id, Func selector = null, CancellationToken cancellationToken = default(CancellationToken)) => - this.DeleteSearchTemplateAsync(selector.InvokeOrDefault(new DeleteSearchTemplateDescriptor(id)), cancellationToken); - - public Task DeleteSearchTemplateAsync(IDeleteSearchTemplateRequest request, CancellationToken cancellationToken = default(CancellationToken)) => - this.Dispatcher.DispatchAsync( - request, - cancellationToken, - (p, d, c) => this.LowLevelDispatch.DeleteTemplateDispatchAsync(p, c) - ); - } -} diff --git a/src/Nest/Search/SearchTemplate/GetSearchTemplate/ElasticClient-GetSearchTemplate.cs b/src/Nest/Search/SearchTemplate/GetSearchTemplate/ElasticClient-GetSearchTemplate.cs deleted file mode 100644 index a79e3f329f6..00000000000 --- a/src/Nest/Search/SearchTemplate/GetSearchTemplate/ElasticClient-GetSearchTemplate.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using System.Threading.Tasks; -using Elasticsearch.Net; -using System.Threading; - -namespace Nest -{ - public partial interface IElasticClient - { - /// - IGetSearchTemplateResponse GetSearchTemplate(Id id, Func selector = null); - - /// - IGetSearchTemplateResponse GetSearchTemplate(IGetSearchTemplateRequest request); - - /// - Task GetSearchTemplateAsync(Id id, Func selector = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - Task GetSearchTemplateAsync(IGetSearchTemplateRequest request, CancellationToken cancellationToken = default(CancellationToken)); - } - public partial class ElasticClient - { - public IGetSearchTemplateResponse GetSearchTemplate(Id id, Func selector = null) => - this.GetSearchTemplate(selector.InvokeOrDefault(new GetSearchTemplateDescriptor(id))); - - public IGetSearchTemplateResponse GetSearchTemplate(IGetSearchTemplateRequest request) => - this.Dispatcher.Dispatch( - request, - (p, d) => this.LowLevelDispatch.GetTemplateDispatch(p) - ); - - public Task GetSearchTemplateAsync(Id id, Func selector = null, CancellationToken cancellationToken = default(CancellationToken)) => - this.GetSearchTemplateAsync(selector.InvokeOrDefault(new GetSearchTemplateDescriptor(id)), cancellationToken); - - public Task GetSearchTemplateAsync(IGetSearchTemplateRequest request, CancellationToken cancellationToken = default(CancellationToken)) => - this.Dispatcher.DispatchAsync( - request, - cancellationToken, - (p, d, c) => this.LowLevelDispatch.GetTemplateDispatchAsync(p, c) - ); - } -} diff --git a/src/Nest/Search/SearchTemplate/GetSearchTemplate/GetSearchTemplateRequest.cs b/src/Nest/Search/SearchTemplate/GetSearchTemplate/GetSearchTemplateRequest.cs deleted file mode 100644 index 402b97ea510..00000000000 --- a/src/Nest/Search/SearchTemplate/GetSearchTemplate/GetSearchTemplateRequest.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace Nest -{ - public partial interface IGetSearchTemplateRequest - { - } - - public partial class GetSearchTemplateRequest - { - } - - - [DescriptorFor("GetTemplate")] - public partial class GetSearchTemplateDescriptor - { - } -} diff --git a/src/Nest/Search/SearchTemplate/GetSearchTemplate/GetSearchTemplateResponse.cs b/src/Nest/Search/SearchTemplate/GetSearchTemplate/GetSearchTemplateResponse.cs deleted file mode 100644 index 2f52e6745bf..00000000000 --- a/src/Nest/Search/SearchTemplate/GetSearchTemplate/GetSearchTemplateResponse.cs +++ /dev/null @@ -1,16 +0,0 @@ -using Newtonsoft.Json; - -namespace Nest -{ - public interface IGetSearchTemplateResponse : IResponse - { - string Template { get; } - } - - [JsonObject] - public class GetSearchTemplateResponse : ResponseBase, IGetSearchTemplateResponse - { - [JsonProperty("template")] - public string Template { get; internal set; } - } -} diff --git a/src/Nest/Search/SearchTemplate/PutSearchTemplate/ElasticClient-PutSearchTemplate.cs b/src/Nest/Search/SearchTemplate/PutSearchTemplate/ElasticClient-PutSearchTemplate.cs deleted file mode 100644 index e0a5926641a..00000000000 --- a/src/Nest/Search/SearchTemplate/PutSearchTemplate/ElasticClient-PutSearchTemplate.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using System.Threading.Tasks; -using Elasticsearch.Net; -using System.Threading; - -namespace Nest -{ - public partial interface IElasticClient - { - /// - IPutSearchTemplateResponse PutSearchTemplate(Id id, Func selector); - - /// - IPutSearchTemplateResponse PutSearchTemplate(IPutSearchTemplateRequest request); - - /// - Task PutSearchTemplateAsync(Id id, Func selector, CancellationToken cancellationToken = default(CancellationToken)); - - /// - Task PutSearchTemplateAsync(IPutSearchTemplateRequest request, CancellationToken cancellationToken = default(CancellationToken)); - } - - public partial class ElasticClient - { - /// - public IPutSearchTemplateResponse PutSearchTemplate(Id id, Func selector) => - this.PutSearchTemplate(selector?.Invoke(new PutSearchTemplateDescriptor(id))); - - /// - public IPutSearchTemplateResponse PutSearchTemplate(IPutSearchTemplateRequest request) => - this.Dispatcher.Dispatch( - request, - this.LowLevelDispatch.PutTemplateDispatch - ); - - /// - public Task PutSearchTemplateAsync(Id id, Func selector, CancellationToken cancellationToken = default(CancellationToken)) => - this.PutSearchTemplateAsync(selector?.Invoke(new PutSearchTemplateDescriptor(id)), cancellationToken); - - /// - public Task PutSearchTemplateAsync(IPutSearchTemplateRequest request, CancellationToken cancellationToken = default(CancellationToken)) => - this.Dispatcher.DispatchAsync( - request, - cancellationToken, - this.LowLevelDispatch.PutTemplateDispatchAsync - ); - } -} diff --git a/src/Nest/Search/SearchTemplate/PutSearchTemplate/PutSearchTemplateRequest.cs b/src/Nest/Search/SearchTemplate/PutSearchTemplate/PutSearchTemplateRequest.cs deleted file mode 100644 index d40d02c1ff4..00000000000 --- a/src/Nest/Search/SearchTemplate/PutSearchTemplate/PutSearchTemplateRequest.cs +++ /dev/null @@ -1,24 +0,0 @@ -using Newtonsoft.Json; - -namespace Nest -{ - [JsonConverter(typeof(ReadAsTypeJsonConverter))] - public partial interface IPutSearchTemplateRequest - { - [JsonProperty("template")] - string Template { get; set; } - } - - public partial class PutSearchTemplateRequest - { - public string Template { get; set; } - } - - [DescriptorFor("PutTemplate")] - public partial class PutSearchTemplateDescriptor - { - string IPutSearchTemplateRequest.Template { get; set; } - - public PutSearchTemplateDescriptor Template(string template) => Assign(a => a.Template = template); - } -} diff --git a/src/Nest/Search/SearchTemplate/PutSearchTemplate/PutSearchTemplateResponse.cs b/src/Nest/Search/SearchTemplate/PutSearchTemplate/PutSearchTemplateResponse.cs deleted file mode 100644 index 16fdb018195..00000000000 --- a/src/Nest/Search/SearchTemplate/PutSearchTemplate/PutSearchTemplateResponse.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Nest -{ - public interface IPutSearchTemplateResponse : IAcknowledgedResponse { } - - public class PutSearchTemplateResponse : AcknowledgedResponseBase, IPutSearchTemplateResponse { } -} diff --git a/src/Nest/_Generated/_Descriptors.generated.cs b/src/Nest/_Generated/_Descriptors.generated.cs index d1c378d0646..206e0701e48 100644 --- a/src/Nest/_Generated/_Descriptors.generated.cs +++ b/src/Nest/_Generated/_Descriptors.generated.cs @@ -11,15 +11,15 @@ namespace Nest { - + ///descriptor for Bulk
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html
public partial class BulkDescriptor : RequestDescriptorBase, IBulkRequest - { + { IndexName IBulkRequest.Index => Self.RouteValues.Get("index"); TypeName IBulkRequest.Type => Self.RouteValues.Get("type"); /// /_bulk public BulkDescriptor() : base(){} - + ///Default index for items which don't provide one public BulkDescriptor Index(IndexName index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -33,7 +33,7 @@ public BulkDescriptor() : base(){} ///a shortcut into calling Type(typeof(TOther)) public BulkDescriptor Type() where TOther : class => Assign(a=>a.RouteValues.Optional("type", (TypeName)typeof(TOther))); - + ///Sets the number of shard copies that must be active before proceeding with the bulk 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 BulkDescriptor WaitForActiveShards(string wait_for_active_shards) => AssignParam(p=>p.WaitForActiveShards(wait_for_active_shards)); @@ -48,7 +48,7 @@ public BulkDescriptor() : base(){} ///Default comma-separated list of fields to return in the response for updates, can be overridden on each sub-request public BulkDescriptor Fields(params string[] fields) => AssignParam(p=>p.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 => AssignParam(p=>p._Fields(fields)); @@ -58,14 +58,14 @@ public BulkDescriptor Fields(params Expression>[] fields) whe ///Default list of fields to exclude from the returned _source field, can be overridden on each sub-request public BulkDescriptor SourceExclude(params string[] source_exclude) => AssignParam(p=>p.SourceExclude(source_exclude)); - + ///Default list of fields to exclude from the returned _source field, can be overridden on each sub-request public BulkDescriptor SourceExclude(params Expression>[] fields) where T : class => AssignParam(p=>p._SourceExclude(fields)); ///Default list of fields to extract and return from the _source field, can be overridden on each sub-request public BulkDescriptor SourceInclude(params string[] source_include) => AssignParam(p=>p.SourceInclude(source_include)); - + ///Default list of fields to extract and return from the _source field, can be overridden on each sub-request public BulkDescriptor SourceInclude(params Expression>[] fields) where T : class => AssignParam(p=>p._SourceInclude(fields)); @@ -87,21 +87,21 @@ public BulkDescriptor SourceInclude(params Expression>[] fiel ///A comma-separated list of filters used to reduce the respone. public BulkDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for CatAliases
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html
public partial class CatAliasesDescriptor : RequestDescriptorBase, ICatAliasesRequest - { + { Names ICatAliasesRequest.Name => Self.RouteValues.Get("name"); /// /_cat/aliases public CatAliasesDescriptor() : base(){} - + ///A comma-separated list of alias names to return public CatAliasesDescriptor Name(Names name) => Assign(a=>a.RouteValues.Optional("name", name)); - + ///a short version of the Accept header, e.g. json, yaml public CatAliasesDescriptor Format(string format) => AssignParam(p=>p.Format(format)); @@ -137,21 +137,21 @@ public CatAliasesDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public CatAliasesDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for CatAllocation
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html
public partial class CatAllocationDescriptor : RequestDescriptorBase, ICatAllocationRequest - { + { NodeIds ICatAllocationRequest.NodeId => Self.RouteValues.Get("node_id"); /// /_cat/allocation public CatAllocationDescriptor() : base(){} - + ///A comma-separated list of node IDs or names to limit the returned information public CatAllocationDescriptor NodeId(NodeIds nodeId) => Assign(a=>a.RouteValues.Optional("node_id", nodeId)); - + ///a short version of the Accept header, e.g. json, yaml public CatAllocationDescriptor Format(string format) => AssignParam(p=>p.Format(format)); @@ -190,16 +190,16 @@ public CatAllocationDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public CatAllocationDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for CatCount
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html
public partial class CatCountDescriptor : RequestDescriptorBase, ICatCountRequest - { + { Indices ICatCountRequest.Index => Self.RouteValues.Get("index"); /// /_cat/count public CatCountDescriptor() : base(){} - + ///A comma-separated list of index names to limit the returned information public CatCountDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -210,7 +210,7 @@ public CatCountDescriptor() : base(){} ///A shortcut into calling Index(Indices.All) public CatCountDescriptor AllIndices() => this.Index(Indices.All); - + ///a short version of the Accept header, e.g. json, yaml public CatCountDescriptor Format(string format) => AssignParam(p=>p.Format(format)); @@ -246,16 +246,16 @@ public CatCountDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public CatCountDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for CatFielddata
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html
public partial class CatFielddataDescriptor : RequestDescriptorBase, ICatFielddataRequest - { + { Fields ICatFielddataRequest.Fields => Self.RouteValues.Get("fields"); /// /_cat/fielddata public CatFielddataDescriptor() : base(){} - + ///A comma-separated list of fields to return the fielddata size public CatFielddataDescriptor Fields(Fields fields) => Assign(a=>a.RouteValues.Optional("fields", fields)); @@ -263,7 +263,7 @@ public CatFielddataDescriptor() : base(){} ///A comma-separated list of fields to return the fielddata size public CatFielddataDescriptor Fields(params Expression>[] fields) => Assign(a => a.RouteValues.Optional("fields", (Fields)fields)); - + ///a short version of the Accept header, e.g. json, yaml public CatFielddataDescriptor Format(string format) => AssignParam(p=>p.Format(format)); @@ -302,13 +302,13 @@ public CatFielddataDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public CatFielddataDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for CatHealth
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-health.html
public partial class CatHealthDescriptor : RequestDescriptorBase, ICatHealthRequest - { - + { + ///a short version of the Accept header, e.g. json, yaml public CatHealthDescriptor Format(string format) => AssignParam(p=>p.Format(format)); @@ -347,13 +347,13 @@ public partial class CatHealthDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public CatHealthDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for CatHelp
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html
public partial class CatHelpDescriptor : RequestDescriptorBase, ICatHelpRequest - { - + { + ///Return help information public CatHelpDescriptor Help(bool help = true) => AssignParam(p=>p.Help(help)); @@ -374,16 +374,16 @@ public partial class CatHelpDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public CatHelpDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for CatIndices
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html
public partial class CatIndicesDescriptor : RequestDescriptorBase, ICatIndicesRequest - { + { Indices ICatIndicesRequest.Index => Self.RouteValues.Get("index"); /// /_cat/indices public CatIndicesDescriptor() : base(){} - + ///A comma-separated list of index names to limit the returned information public CatIndicesDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -394,7 +394,7 @@ public CatIndicesDescriptor() : base(){} ///A shortcut into calling Index(Indices.All) public CatIndicesDescriptor AllIndices() => this.Index(Indices.All); - + ///a short version of the Accept header, e.g. json, yaml public CatIndicesDescriptor Format(string format) => AssignParam(p=>p.Format(format)); @@ -439,13 +439,13 @@ public CatIndicesDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public CatIndicesDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for CatMaster
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-master.html
public partial class CatMasterDescriptor : RequestDescriptorBase, ICatMasterRequest - { - + { + ///a short version of the Accept header, e.g. json, yaml public CatMasterDescriptor Format(string format) => AssignParam(p=>p.Format(format)); @@ -481,13 +481,13 @@ public partial class CatMasterDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public CatMasterDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for CatNodeattrs
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html
public partial class CatNodeAttributesDescriptor : RequestDescriptorBase, ICatNodeAttributesRequest - { - + { + ///a short version of the Accept header, e.g. json, yaml public CatNodeAttributesDescriptor Format(string format) => AssignParam(p=>p.Format(format)); @@ -523,13 +523,13 @@ public partial class CatNodeAttributesDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public CatNodeAttributesDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for CatNodes
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html
public partial class CatNodesDescriptor : RequestDescriptorBase, ICatNodesRequest - { - + { + ///a short version of the Accept header, e.g. json, yaml public CatNodesDescriptor Format(string format) => AssignParam(p=>p.Format(format)); @@ -568,13 +568,13 @@ public partial class CatNodesDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public CatNodesDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for CatPendingTasks
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-pending-tasks.html
public partial class CatPendingTasksDescriptor : RequestDescriptorBase, ICatPendingTasksRequest - { - + { + ///a short version of the Accept header, e.g. json, yaml public CatPendingTasksDescriptor Format(string format) => AssignParam(p=>p.Format(format)); @@ -610,13 +610,13 @@ public partial class CatPendingTasksDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public CatPendingTasksDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for CatPlugins
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-plugins.html
public partial class CatPluginsDescriptor : RequestDescriptorBase, ICatPluginsRequest - { - + { + ///a short version of the Accept header, e.g. json, yaml public CatPluginsDescriptor Format(string format) => AssignParam(p=>p.Format(format)); @@ -652,16 +652,16 @@ public partial class CatPluginsDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public CatPluginsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for CatRecovery
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html
public partial class CatRecoveryDescriptor : RequestDescriptorBase, ICatRecoveryRequest - { + { Indices ICatRecoveryRequest.Index => Self.RouteValues.Get("index"); /// /_cat/recovery public CatRecoveryDescriptor() : base(){} - + ///A comma-separated list of index names to limit the returned information public CatRecoveryDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -672,7 +672,7 @@ public CatRecoveryDescriptor() : base(){} ///A shortcut into calling Index(Indices.All) public CatRecoveryDescriptor AllIndices() => this.Index(Indices.All); - + ///a short version of the Accept header, e.g. json, yaml public CatRecoveryDescriptor Format(string format) => AssignParam(p=>p.Format(format)); @@ -708,13 +708,13 @@ public CatRecoveryDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public CatRecoveryDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for CatRepositories
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-repositories.html
public partial class CatRepositoriesDescriptor : RequestDescriptorBase, ICatRepositoriesRequest - { - + { + ///a short version of the Accept header, e.g. json, yaml public CatRepositoriesDescriptor Format(string format) => AssignParam(p=>p.Format(format)); @@ -750,16 +750,16 @@ public partial class CatRepositoriesDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public CatRepositoriesDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for CatSegments
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html
public partial class CatSegmentsDescriptor : RequestDescriptorBase, ICatSegmentsRequest - { + { Indices ICatSegmentsRequest.Index => Self.RouteValues.Get("index"); /// /_cat/segments public CatSegmentsDescriptor() : base(){} - + ///A comma-separated list of index names to limit the returned information public CatSegmentsDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -770,7 +770,7 @@ public CatSegmentsDescriptor() : base(){} ///A shortcut into calling Index(Indices.All) public CatSegmentsDescriptor AllIndices() => this.Index(Indices.All); - + ///a short version of the Accept header, e.g. json, yaml public CatSegmentsDescriptor Format(string format) => AssignParam(p=>p.Format(format)); @@ -800,16 +800,16 @@ public CatSegmentsDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public CatSegmentsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for CatShards
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html
public partial class CatShardsDescriptor : RequestDescriptorBase, ICatShardsRequest - { + { Indices ICatShardsRequest.Index => Self.RouteValues.Get("index"); /// /_cat/shards public CatShardsDescriptor() : base(){} - + ///A comma-separated list of index names to limit the returned information public CatShardsDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -820,7 +820,7 @@ public CatShardsDescriptor() : base(){} ///A shortcut into calling Index(Indices.All) public CatShardsDescriptor AllIndices() => this.Index(Indices.All); - + ///a short version of the Accept header, e.g. json, yaml public CatShardsDescriptor Format(string format) => AssignParam(p=>p.Format(format)); @@ -856,23 +856,23 @@ public CatShardsDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public CatShardsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for CatSnapshots
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html
public partial class CatSnapshotsDescriptor : RequestDescriptorBase, ICatSnapshotsRequest - { + { Names ICatSnapshotsRequest.RepositoryName => Self.RouteValues.Get("repository"); /// /_cat/snapshots public CatSnapshotsDescriptor() : base(){} - - /// /_cat/snapshots/{repository} + + /// /_cat/snapshots/{repository} /// this parameter is required public CatSnapshotsDescriptor(Names repository) : base(r=>r.Required("repository", repository)){} - - + + ///a short version of the Accept header, e.g. json, yaml public CatSnapshotsDescriptor Format(string format) => AssignParam(p=>p.Format(format)); @@ -908,13 +908,13 @@ public CatSnapshotsDescriptor(Names repository) : base(r=>r.Required("repository ///A comma-separated list of filters used to reduce the respone. public CatSnapshotsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for CatTasks
http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html
public partial class CatTasksDescriptor : RequestDescriptorBase, ICatTasksRequest - { - + { + ///a short version of the Accept header, e.g. json, yaml public CatTasksDescriptor Format(string format) => AssignParam(p=>p.Format(format)); @@ -959,21 +959,21 @@ public partial class CatTasksDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public CatTasksDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for CatTemplates
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html
public partial class CatTemplatesDescriptor : RequestDescriptorBase, ICatTemplatesRequest - { + { Name ICatTemplatesRequest.Name => Self.RouteValues.Get("name"); /// /_cat/templates public CatTemplatesDescriptor() : base(){} - + ///A pattern that returned template names must match public CatTemplatesDescriptor Name(Name name) => Assign(a=>a.RouteValues.Optional("name", name)); - + ///a short version of the Accept header, e.g. json, yaml public CatTemplatesDescriptor Format(string format) => AssignParam(p=>p.Format(format)); @@ -1009,21 +1009,21 @@ public CatTemplatesDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public CatTemplatesDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for CatThreadPool
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html
public partial class CatThreadPoolDescriptor : RequestDescriptorBase, ICatThreadPoolRequest - { + { Names ICatThreadPoolRequest.ThreadPoolPatterns => Self.RouteValues.Get("thread_pool_patterns"); /// /_cat/thread_pool public CatThreadPoolDescriptor() : base(){} - + ///A comma-separated list of regular-expressions to filter the thread pools in the output public CatThreadPoolDescriptor ThreadPoolPatterns(Names threadPoolPatterns) => Assign(a=>a.RouteValues.Optional("thread_pool_patterns", threadPoolPatterns)); - + ///a short version of the Accept header, e.g. json, yaml public CatThreadPoolDescriptor Format(string format) => AssignParam(p=>p.Format(format)); @@ -1062,17 +1062,17 @@ public CatThreadPoolDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public CatThreadPoolDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for ClearScroll
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html
public partial class ClearScrollDescriptor : RequestDescriptorBase, IClearScrollRequest - { + { /// /_search/scroll public ClearScrollDescriptor() : base(){} - - + + ///Pretty format the returned JSON response. public ClearScrollDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -1087,13 +1087,13 @@ public ClearScrollDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public ClearScrollDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for ClusterAllocationExplain
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html
public partial class ClusterAllocationExplainDescriptor : RequestDescriptorBase, IClusterAllocationExplainRequest - { - + { + ///Return 'YES' decisions in explanation (default: false) public ClusterAllocationExplainDescriptor IncludeYesDecisions(bool include_yes_decisions = true) => AssignParam(p=>p.IncludeYesDecisions(include_yes_decisions)); @@ -1114,13 +1114,13 @@ public partial class ClusterAllocationExplainDescriptor : RequestDescriptorBase ///A comma-separated list of filters used to reduce the respone. public ClusterAllocationExplainDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for ClusterGetSettings
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html
public partial class ClusterGetSettingsDescriptor : RequestDescriptorBase, IClusterGetSettingsRequest - { - + { + ///Return settings in flat format (default: false) public ClusterGetSettingsDescriptor FlatSettings(bool flat_settings = true) => AssignParam(p=>p.FlatSettings(flat_settings)); @@ -1147,16 +1147,16 @@ public partial class ClusterGetSettingsDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public ClusterGetSettingsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for ClusterHealth
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html
public partial class ClusterHealthDescriptor : RequestDescriptorBase, IClusterHealthRequest - { + { Indices IClusterHealthRequest.Index => Self.RouteValues.Get("index"); /// /_cluster/health public ClusterHealthDescriptor() : base(){} - + ///Limit the information returned to a specific index public ClusterHealthDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -1167,7 +1167,7 @@ public ClusterHealthDescriptor() : base(){} ///A shortcut into calling Index(Indices.All) public ClusterHealthDescriptor AllIndices() => this.Index(Indices.All); - + ///Specify the level of detail for returned information public ClusterHealthDescriptor Level(Level level) => AssignParam(p=>p.Level(level)); @@ -1209,13 +1209,13 @@ public ClusterHealthDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public ClusterHealthDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for ClusterPendingTasks
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-pending.html
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) => AssignParam(p=>p.Local(local)); @@ -1236,13 +1236,13 @@ public partial class ClusterPendingTasksDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public ClusterPendingTasksDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for ClusterPutSettings
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html
public partial class ClusterPutSettingsDescriptor : RequestDescriptorBase, IClusterPutSettingsRequest - { - + { + ///Return settings in flat format (default: false) public ClusterPutSettingsDescriptor FlatSettings(bool flat_settings = true) => AssignParam(p=>p.FlatSettings(flat_settings)); @@ -1266,13 +1266,13 @@ public partial class ClusterPutSettingsDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public ClusterPutSettingsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for ClusterReroute
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-reroute.html
public partial class ClusterRerouteDescriptor : RequestDescriptorBase, IClusterRerouteRequest - { - + { + ///Simulate the operation only and return the resulting state public ClusterRerouteDescriptor DryRun(bool dry_run = true) => AssignParam(p=>p.DryRun(dry_run)); @@ -1305,17 +1305,17 @@ public partial class ClusterRerouteDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public ClusterRerouteDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for ClusterState
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html
public partial class ClusterStateDescriptor : RequestDescriptorBase, IClusterStateRequest - { + { Indices IClusterStateRequest.Index => Self.RouteValues.Get("index"); Metrics IClusterStateRequest.Metric => Self.RouteValues.Get("metric"); /// /_cluster/state public ClusterStateDescriptor() : base(){} - + ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices public ClusterStateDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -1329,7 +1329,7 @@ public ClusterStateDescriptor() : base(){} ///Limit the information returned to the specified metrics 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) => AssignParam(p=>p.Local(local)); @@ -1362,21 +1362,21 @@ public ClusterStateDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public ClusterStateDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for ClusterStats
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html
public partial class ClusterStatsDescriptor : RequestDescriptorBase, IClusterStatsRequest - { + { NodeIds IClusterStatsRequest.NodeId => Self.RouteValues.Get("node_id"); /// /_cluster/stats public ClusterStatsDescriptor() : base(){} - + ///A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes 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) => AssignParam(p=>p.FlatSettings(flat_settings)); @@ -1397,17 +1397,17 @@ public ClusterStatsDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public ClusterStatsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for Count
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html
public partial class CountDescriptor : RequestDescriptorBase,CountRequestParameters, ICountRequest>, ICountRequest - { + { Indices ICountRequest.Index => Self.RouteValues.Get("index"); Types ICountRequest.Type => Self.RouteValues.Get("type"); /// /_count public CountDescriptor() : base(r=> r.Required("index", (Indices)typeof(T)).Required("type", (Types)typeof(T))){} - + ///A comma-separated list of indices to restrict the results public CountDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -1427,7 +1427,7 @@ public CountDescriptor() : base(r=> r.Required("index", (Indices)typeof(T)).Requ ///a shortcut into calling Type(Types.All) 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) => AssignParam(p=>p.IgnoreUnavailable(ignore_unavailable)); @@ -1478,24 +1478,24 @@ public CountDescriptor() : base(r=> r.Required("index", (Indices)typeof(T)).Requ ///A comma-separated list of filters used to reduce the respone. public CountDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for Create
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html
public partial class CreateDescriptor : RequestDescriptorBase,CreateRequestParameters, ICreateRequest>, ICreateRequest - { + { Id ICreateRequest.Id => Self.RouteValues.Get("id"); IndexName ICreateRequest.Index => Self.RouteValues.Get("index"); TypeName ICreateRequest.Type => Self.RouteValues.Get("type"); - /// /{index}/{type}/{id}/_create -/// this parameter is required -/// this parameter is required + /// /{index}/{type}/{id}/_create +/// this parameter is required +/// this parameter is required /// this parameter is required public CreateDescriptor(IndexName index, TypeName type, Id id) : base(r=>r.Required("index", index).Required("type", type).Required("id", id)){} - - /// /{index}/{type}/{id}/_create - + + /// /{index}/{type}/{id}/_create + /// describes an elasticsearch document of type from which the index, type and id can be inferred public CreateDescriptor(DocumentPath document) : base(r=>r.Required("index", document.Self.Index).Required("type", document.Self.Type).Required("id", document.Self.Id)){ this.DocumentFromPath(document.Document); } partial void DocumentFromPath(TDocument document); @@ -1512,7 +1512,7 @@ public CreateDescriptor(IndexName index, TypeName type, Id id) : base(r=>r.Requi ///a shortcut into calling Type(typeof(TOther)) public CreateDescriptor Type() where TOther : class => Assign(a=>a.RouteValues.Required("type", (TypeName)typeof(TOther))); - + ///Sets the number of shard copies that must be active before proceeding with the index 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 CreateDescriptor WaitForActiveShards(string wait_for_active_shards) => AssignParam(p=>p.WaitForActiveShards(wait_for_active_shards)); @@ -1557,24 +1557,24 @@ public CreateDescriptor(IndexName index, TypeName type, Id id) : base(r=>r.Requi ///A comma-separated list of filters used to reduce the respone. public CreateDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for Delete
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html
public partial class DeleteDescriptor : RequestDescriptorBase,DeleteRequestParameters, IDeleteRequest>, IDeleteRequest - { + { Id IDeleteRequest.Id => Self.RouteValues.Get("id"); IndexName IDeleteRequest.Index => Self.RouteValues.Get("index"); TypeName IDeleteRequest.Type => Self.RouteValues.Get("type"); - /// /{index}/{type}/{id} -/// this parameter is required -/// this parameter is required + /// /{index}/{type}/{id} +/// this parameter is required +/// this parameter is required /// this parameter is required public DeleteDescriptor(IndexName index, TypeName type, Id id) : base(r=>r.Required("index", index).Required("type", type).Required("id", id)){} - - /// /{index}/{type}/{id} - + + /// /{index}/{type}/{id} + /// describes an elasticsearch document of type from which the index, type and id can be inferred public DeleteDescriptor(DocumentPath document) : base(r=>r.Required("index", document.Self.Index).Required("type", document.Self.Type).Required("id", document.Self.Id)){ this.DocumentFromPath(document.Document); } partial void DocumentFromPath(T document); @@ -1591,7 +1591,7 @@ public DeleteDescriptor(IndexName index, TypeName type, Id id) : base(r=>r.Requi ///a shortcut into calling Type(typeof(TOther)) public DeleteDescriptor Type() where TOther : class => Assign(a=>a.RouteValues.Required("type", (TypeName)typeof(TOther))); - + ///Sets the number of shard copies that must be active before proceeding with the delete 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 DeleteDescriptor WaitForActiveShards(string wait_for_active_shards) => AssignParam(p=>p.WaitForActiveShards(wait_for_active_shards)); @@ -1627,18 +1627,18 @@ public DeleteDescriptor(IndexName index, TypeName type, Id id) : base(r=>r.Requi ///A comma-separated list of filters used to reduce the respone. public DeleteDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for DeleteByQuery
https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html
public partial class DeleteByQueryDescriptor : RequestDescriptorBase,DeleteByQueryRequestParameters, IDeleteByQueryRequest>, IDeleteByQueryRequest - { + { Indices IDeleteByQueryRequest.Index => Self.RouteValues.Get("index"); Types IDeleteByQueryRequest.Type => Self.RouteValues.Get("type"); - /// /{index}/_delete_by_query + /// /{index}/_delete_by_query /// this parameter is required public DeleteByQueryDescriptor(Indices index) : base(r=>r.Required("index", index).Required("type", (Types)typeof(T))){} - + ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices public DeleteByQueryDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Required("index", index)); @@ -1658,7 +1658,7 @@ public DeleteByQueryDescriptor(Indices index) : base(r=>r.Required("index", inde ///a shortcut into calling Type(Types.All) public DeleteByQueryDescriptor AllTypes() => this.Type(Types.All); - + ///The analyzer to use for the query string public DeleteByQueryDescriptor Analyzer(string analyzer) => AssignParam(p=>p.Analyzer(analyzer)); @@ -1718,14 +1718,14 @@ public DeleteByQueryDescriptor(Indices index) : base(r=>r.Required("index", inde ///A list of fields to exclude from the returned _source field public DeleteByQueryDescriptor SourceExclude(params string[] source_exclude) => AssignParam(p=>p.SourceExclude(source_exclude)); - + ///A list of fields to exclude from the returned _source field public DeleteByQueryDescriptor SourceExclude(params Expression>[] fields) => AssignParam(p=>p._SourceExclude(fields)); ///A list of fields to extract and return from the _source field public DeleteByQueryDescriptor SourceInclude(params string[] source_include) => AssignParam(p=>p.SourceInclude(source_include)); - + ///A list of fields to extract and return from the _source field public DeleteByQueryDescriptor SourceInclude(params Expression>[] fields) => AssignParam(p=>p._SourceInclude(fields)); @@ -1777,26 +1777,25 @@ public DeleteByQueryDescriptor SourceInclude(params ExpressionA comma-separated list of filters used to reduce the respone. public DeleteByQueryDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for DeleteScript
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html
public partial class DeleteScriptDescriptor : RequestDescriptorBase, IDeleteScriptRequest - { + { Id IDeleteScriptRequest.Id => Self.RouteValues.Get("id"); - Name IDeleteScriptRequest.Lang => Self.RouteValues.Get("lang"); - /// /_scripts/{lang} -/// this parameter is required - public DeleteScriptDescriptor(Name lang) : base(r=>r.Required("lang", lang)){} - - - /// /_scripts/{lang}/{id} -/// this parameter is required + /// /_scripts/{id} /// this parameter is required - public DeleteScriptDescriptor(Name lang, Id id) : base(r=>r.Required("lang", lang).Required("id", id)){} - + public DeleteScriptDescriptor(Id id) : base(r=>r.Required("id", id)){} + + + + ///Explicit operation timeout + public DeleteScriptDescriptor Timeout(Time timeout) => AssignParam(p=>p.Timeout(timeout.ToTimeSpan())); + + ///Specify timeout for connection to master + public DeleteScriptDescriptor MasterTimeout(Time master_timeout) => AssignParam(p=>p.MasterTimeout(master_timeout.ToTimeSpan())); - ///Pretty format the returned JSON response. public DeleteScriptDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -1811,51 +1810,24 @@ public DeleteScriptDescriptor(Name lang, Id id) : base(r=>r.Required("lang", lan ///A comma-separated list of filters used to reduce the respone. public DeleteScriptDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - - } - - ///descriptor for DeleteTemplate
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html
- public partial class DeleteSearchTemplateDescriptor : RequestDescriptorBase, IDeleteSearchTemplateRequest - { - Id IDeleteSearchTemplateRequest.Id => Self.RouteValues.Get("id"); - /// /_search/template/{id} -/// this parameter is required - public DeleteSearchTemplateDescriptor(Id id) : base(r=>r.Required("id", id)){} - - - - ///Pretty format the returned JSON response. - public DeleteSearchTemplateDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); - ///Return human readable values for statistics. - public DeleteSearchTemplateDescriptor Human(bool human = true) => AssignParam(p=>p.Human(human)); - - ///Include the stack trace of returned errors. - public DeleteSearchTemplateDescriptor ErrorTrace(bool error_trace = true) => AssignParam(p=>p.ErrorTrace(error_trace)); - - ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. - public DeleteSearchTemplateDescriptor Source(string source) => AssignParam(p=>p.Source(source)); - - ///A comma-separated list of filters used to reduce the respone. - public DeleteSearchTemplateDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - } - + ///descriptor for Exists
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html
public partial class DocumentExistsDescriptor : RequestDescriptorBase,DocumentExistsRequestParameters, IDocumentExistsRequest>, IDocumentExistsRequest - { + { Id IDocumentExistsRequest.Id => Self.RouteValues.Get("id"); IndexName IDocumentExistsRequest.Index => Self.RouteValues.Get("index"); TypeName IDocumentExistsRequest.Type => Self.RouteValues.Get("type"); - /// /{index}/{type}/{id} -/// this parameter is required -/// this parameter is required + /// /{index}/{type}/{id} +/// this parameter is required +/// this parameter is required /// this parameter is required public DocumentExistsDescriptor(IndexName index, TypeName type, Id id) : base(r=>r.Required("index", index).Required("type", type).Required("id", id)){} - - /// /{index}/{type}/{id} - + + /// /{index}/{type}/{id} + /// describes an elasticsearch document of type from which the index, type and id can be inferred public DocumentExistsDescriptor(DocumentPath document) : base(r=>r.Required("index", document.Self.Index).Required("type", document.Self.Type).Required("id", document.Self.Id)){ this.DocumentFromPath(document.Document); } partial void DocumentFromPath(T document); @@ -1872,10 +1844,10 @@ public DocumentExistsDescriptor(IndexName index, TypeName type, Id id) : base(r= ///a shortcut into calling Type(typeof(TOther)) public DocumentExistsDescriptor Type() where TOther : class => Assign(a=>a.RouteValues.Required("type", (TypeName)typeof(TOther))); - + ///A comma-separated list of stored fields to return in the response public DocumentExistsDescriptor StoredFields(params string[] stored_fields) => AssignParam(p=>p.StoredFields(stored_fields)); - + ///A comma-separated list of stored fields to return in the response public DocumentExistsDescriptor StoredFields(params Expression>[] fields) => AssignParam(p=>p._StoredFields(fields)); @@ -1900,14 +1872,14 @@ public DocumentExistsDescriptor StoredFields(params ExpressionA list of fields to exclude from the returned _source field public DocumentExistsDescriptor SourceExclude(params string[] source_exclude) => AssignParam(p=>p.SourceExclude(source_exclude)); - + ///A list of fields to exclude from the returned _source field public DocumentExistsDescriptor SourceExclude(params Expression>[] fields) => AssignParam(p=>p._SourceExclude(fields)); ///A list of fields to extract and return from the _source field public DocumentExistsDescriptor SourceInclude(params string[] source_include) => AssignParam(p=>p.SourceInclude(source_include)); - + ///A list of fields to extract and return from the _source field public DocumentExistsDescriptor SourceInclude(params Expression>[] fields) => AssignParam(p=>p._SourceInclude(fields)); @@ -1932,24 +1904,24 @@ public DocumentExistsDescriptor SourceInclude(params ExpressionA comma-separated list of filters used to reduce the respone. public DocumentExistsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - - ///descriptor for ExistsSource
http://www.elastic.co/guide/en/elasticsearch/reference/5.5/docs-get.html
+ + ///descriptor for ExistsSource
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html
public partial class SourceExistsDescriptor : RequestDescriptorBase,SourceExistsRequestParameters, ISourceExistsRequest>, ISourceExistsRequest - { + { Id ISourceExistsRequest.Id => Self.RouteValues.Get("id"); IndexName ISourceExistsRequest.Index => Self.RouteValues.Get("index"); TypeName ISourceExistsRequest.Type => Self.RouteValues.Get("type"); - /// /{index}/{type}/{id}/_source -/// this parameter is required -/// this parameter is required + /// /{index}/{type}/{id}/_source +/// this parameter is required +/// this parameter is required /// this parameter is required public SourceExistsDescriptor(IndexName index, TypeName type, Id id) : base(r=>r.Required("index", index).Required("type", type).Required("id", id)){} - - /// /{index}/{type}/{id}/_source - + + /// /{index}/{type}/{id}/_source + /// describes an elasticsearch document of type from which the index, type and id can be inferred public SourceExistsDescriptor(DocumentPath document) : base(r=>r.Required("index", document.Self.Index).Required("type", document.Self.Type).Required("id", document.Self.Id)){ this.DocumentFromPath(document.Document); } partial void DocumentFromPath(T document); @@ -1966,7 +1938,7 @@ public SourceExistsDescriptor(IndexName index, TypeName type, Id id) : base(r=>r ///a shortcut into calling Type(typeof(TOther)) public SourceExistsDescriptor Type() where TOther : class => Assign(a=>a.RouteValues.Required("type", (TypeName)typeof(TOther))); - + ///The ID of the parent document public SourceExistsDescriptor Parent(string parent) => AssignParam(p=>p.Parent(parent)); @@ -1987,14 +1959,14 @@ public SourceExistsDescriptor(IndexName index, TypeName type, Id id) : base(r=>r ///A list of fields to exclude from the returned _source field public SourceExistsDescriptor SourceExclude(params string[] source_exclude) => AssignParam(p=>p.SourceExclude(source_exclude)); - + ///A list of fields to exclude from the returned _source field public SourceExistsDescriptor SourceExclude(params Expression>[] fields) => AssignParam(p=>p._SourceExclude(fields)); ///A list of fields to extract and return from the _source field public SourceExistsDescriptor SourceInclude(params string[] source_include) => AssignParam(p=>p.SourceInclude(source_include)); - + ///A list of fields to extract and return from the _source field public SourceExistsDescriptor SourceInclude(params Expression>[] fields) => AssignParam(p=>p._SourceInclude(fields)); @@ -2019,24 +1991,24 @@ public SourceExistsDescriptor SourceInclude(params Expression ///A comma-separated list of filters used to reduce the respone. public SourceExistsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for Explain
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html
public partial class ExplainDescriptor : RequestDescriptorBase,ExplainRequestParameters, IExplainRequest>, IExplainRequest - { + { Id IExplainRequest.Id => Self.RouteValues.Get("id"); IndexName IExplainRequest.Index => Self.RouteValues.Get("index"); TypeName IExplainRequest.Type => Self.RouteValues.Get("type"); - /// /{index}/{type}/{id}/_explain -/// this parameter is required -/// this parameter is required + /// /{index}/{type}/{id}/_explain +/// this parameter is required +/// this parameter is required /// this parameter is required public ExplainDescriptor(IndexName index, TypeName type, Id id) : base(r=>r.Required("index", index).Required("type", type).Required("id", id)){} - - /// /{index}/{type}/{id}/_explain - + + /// /{index}/{type}/{id}/_explain + /// describes an elasticsearch document of type from which the index, type and id can be inferred public ExplainDescriptor(DocumentPath document) : base(r=>r.Required("index", document.Self.Index).Required("type", document.Self.Type).Required("id", document.Self.Id)){ this.DocumentFromPath(document.Document); } partial void DocumentFromPath(TDocument document); @@ -2053,7 +2025,7 @@ public ExplainDescriptor(IndexName index, TypeName type, Id id) : base(r=>r.Requ ///a shortcut into calling Type(typeof(TOther)) 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) => AssignParam(p=>p.AnalyzeWildcard(analyze_wildcard)); @@ -2068,7 +2040,7 @@ public ExplainDescriptor(IndexName index, TypeName type, Id id) : base(r=>r.Requ ///A comma-separated list of stored fields to return in the response public ExplainDescriptor StoredFields(params string[] stored_fields) => AssignParam(p=>p.StoredFields(stored_fields)); - + ///A comma-separated list of stored fields to return in the response public ExplainDescriptor StoredFields(params Expression>[] fields) => AssignParam(p=>p._StoredFields(fields)); @@ -2093,14 +2065,14 @@ public ExplainDescriptor StoredFields(params ExpressionA list of fields to exclude from the returned _source field public ExplainDescriptor SourceExclude(params string[] source_exclude) => AssignParam(p=>p.SourceExclude(source_exclude)); - + ///A list of fields to exclude from the returned _source field public ExplainDescriptor SourceExclude(params Expression>[] fields) => AssignParam(p=>p._SourceExclude(fields)); ///A list of fields to extract and return from the _source field public ExplainDescriptor SourceInclude(params string[] source_include) => AssignParam(p=>p.SourceInclude(source_include)); - + ///A list of fields to extract and return from the _source field public ExplainDescriptor SourceInclude(params Expression>[] fields) => AssignParam(p=>p._SourceInclude(fields)); @@ -2119,16 +2091,16 @@ public ExplainDescriptor SourceInclude(params ExpressionA comma-separated list of filters used to reduce the respone. public ExplainDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - - ///descriptor for FieldCaps
http://www.elastic.co/guide/en/elasticsearch/reference/5.5/search-field-caps.html
+ + ///descriptor for FieldCaps
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html
public partial class FieldCapabilitiesDescriptor : RequestDescriptorBase, IFieldCapabilitiesRequest - { + { Indices IFieldCapabilitiesRequest.Index => Self.RouteValues.Get("index"); /// /_field_caps public FieldCapabilitiesDescriptor() : base(){} - + ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices public FieldCapabilitiesDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -2139,10 +2111,10 @@ public FieldCapabilitiesDescriptor() : base(){} ///A shortcut into calling Index(Indices.All) public FieldCapabilitiesDescriptor AllIndices() => this.Index(Indices.All); - + ///A comma-separated list of field names public FieldCapabilitiesDescriptor Fields(params string[] fields) => AssignParam(p=>p.Fields(fields)); - + ///A comma-separated list of field names public FieldCapabilitiesDescriptor Fields(params Expression>[] fields) where T : class => AssignParam(p=>p._Fields(fields)); @@ -2170,71 +2142,24 @@ public FieldCapabilitiesDescriptor Fields(params Expression>[ ///A comma-separated list of filters used to reduce the respone. public FieldCapabilitiesDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - - } - - ///descriptor for FieldStats
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-stats.html
- public partial class FieldStatsDescriptor : RequestDescriptorBase, IFieldStatsRequest - { - Indices IFieldStatsRequest.Index => Self.RouteValues.Get("index"); - /// /_field_stats - public FieldStatsDescriptor() : base(){} - - - ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices - public FieldStatsDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); - - ///a shortcut into calling Index(typeof(TOther)) - public FieldStatsDescriptor Index() where TOther : class => Assign(a=>a.RouteValues.Optional("index", (Indices)typeof(TOther))); - - ///A shortcut into calling Index(Indices.All) - public FieldStatsDescriptor AllIndices() => this.Index(Indices.All); - - - ///Defines if field stats should be returned on a per index level or on a cluster wide level - public FieldStatsDescriptor Level(Level level) => AssignParam(p=>p.Level(level)); - ///Whether specified concrete indices should be ignored when unavailable (missing or closed) - public FieldStatsDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => AssignParam(p=>p.IgnoreUnavailable(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 FieldStatsDescriptor AllowNoIndices(bool allow_no_indices = true) => AssignParam(p=>p.AllowNoIndices(allow_no_indices)); - - ///Whether to expand wildcard expression to concrete indices that are open, closed or both. - public FieldStatsDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => AssignParam(p=>p.ExpandWildcards(expand_wildcards)); - - ///Pretty format the returned JSON response. - public FieldStatsDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); - - ///Return human readable values for statistics. - public FieldStatsDescriptor Human(bool human = true) => AssignParam(p=>p.Human(human)); - - ///Include the stack trace of returned errors. - public FieldStatsDescriptor ErrorTrace(bool error_trace = true) => AssignParam(p=>p.ErrorTrace(error_trace)); - - ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. - public FieldStatsDescriptor Source(string source) => AssignParam(p=>p.Source(source)); - - ///A comma-separated list of filters used to reduce the respone. - public FieldStatsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - } - + ///descriptor for Get
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html
public partial class GetDescriptor : RequestDescriptorBase,GetRequestParameters, IGetRequest>, IGetRequest - { + { Id IGetRequest.Id => Self.RouteValues.Get("id"); IndexName IGetRequest.Index => Self.RouteValues.Get("index"); TypeName IGetRequest.Type => Self.RouteValues.Get("type"); - /// /{index}/{type}/{id} -/// this parameter is required -/// this parameter is required + /// /{index}/{type}/{id} +/// this parameter is required +/// this parameter is required /// this parameter is required public GetDescriptor(IndexName index, TypeName type, Id id) : base(r=>r.Required("index", index).Required("type", type).Required("id", id)){} - - /// /{index}/{type}/{id} - + + /// /{index}/{type}/{id} + /// describes an elasticsearch document of type from which the index, type and id can be inferred public GetDescriptor(DocumentPath document) : base(r=>r.Required("index", document.Self.Index).Required("type", document.Self.Type).Required("id", document.Self.Id)){ this.DocumentFromPath(document.Document); } partial void DocumentFromPath(T document); @@ -2251,10 +2176,10 @@ public GetDescriptor(IndexName index, TypeName type, Id id) : base(r=>r.Required ///a shortcut into calling Type(typeof(TOther)) public GetDescriptor Type() where TOther : class => Assign(a=>a.RouteValues.Required("type", (TypeName)typeof(TOther))); - + ///A comma-separated list of stored fields to return in the response public GetDescriptor StoredFields(params string[] stored_fields) => AssignParam(p=>p.StoredFields(stored_fields)); - + ///A comma-separated list of stored fields to return in the response public GetDescriptor StoredFields(params Expression>[] fields) => AssignParam(p=>p._StoredFields(fields)); @@ -2279,14 +2204,14 @@ public GetDescriptor StoredFields(params Expression>[] fields ///A list of fields to exclude from the returned _source field public GetDescriptor SourceExclude(params string[] source_exclude) => AssignParam(p=>p.SourceExclude(source_exclude)); - + ///A list of fields to exclude from the returned _source field public GetDescriptor SourceExclude(params Expression>[] fields) => AssignParam(p=>p._SourceExclude(fields)); ///A list of fields to extract and return from the _source field public GetDescriptor SourceInclude(params string[] source_include) => AssignParam(p=>p.SourceInclude(source_include)); - + ///A list of fields to extract and return from the _source field public GetDescriptor SourceInclude(params Expression>[] fields) => AssignParam(p=>p._SourceInclude(fields)); @@ -2311,26 +2236,19 @@ public GetDescriptor SourceInclude(params Expression>[] field ///A comma-separated list of filters used to reduce the respone. public GetDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for GetScript
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html
public partial class GetScriptDescriptor : RequestDescriptorBase, IGetScriptRequest - { + { Id IGetScriptRequest.Id => Self.RouteValues.Get("id"); - Name IGetScriptRequest.Lang => Self.RouteValues.Get("lang"); - /// /_scripts/{lang} -/// this parameter is required - public GetScriptDescriptor(Name lang) : base(r=>r.Required("lang", lang)){} - - - /// /_scripts/{lang}/{id} -/// this parameter is required + /// /_scripts/{id} /// this parameter is required - public GetScriptDescriptor(Name lang, Id id) : base(r=>r.Required("lang", lang).Required("id", id)){} - + public GetScriptDescriptor(Id id) : base(r=>r.Required("id", id)){} + + - ///Pretty format the returned JSON response. public GetScriptDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -2345,24 +2263,24 @@ public GetScriptDescriptor(Name lang, Id id) : base(r=>r.Required("lang", lang). ///A comma-separated list of filters used to reduce the respone. public GetScriptDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for GetSource
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html
public partial class SourceDescriptor : RequestDescriptorBase,SourceRequestParameters, ISourceRequest>, ISourceRequest - { + { Id ISourceRequest.Id => Self.RouteValues.Get("id"); IndexName ISourceRequest.Index => Self.RouteValues.Get("index"); TypeName ISourceRequest.Type => Self.RouteValues.Get("type"); - /// /{index}/{type}/{id}/_source -/// this parameter is required -/// this parameter is required + /// /{index}/{type}/{id}/_source +/// this parameter is required +/// this parameter is required /// this parameter is required public SourceDescriptor(IndexName index, TypeName type, Id id) : base(r=>r.Required("index", index).Required("type", type).Required("id", id)){} - - /// /{index}/{type}/{id}/_source - + + /// /{index}/{type}/{id}/_source + /// describes an elasticsearch document of type from which the index, type and id can be inferred public SourceDescriptor(DocumentPath document) : base(r=>r.Required("index", document.Self.Index).Required("type", document.Self.Type).Required("id", document.Self.Id)){ this.DocumentFromPath(document.Document); } partial void DocumentFromPath(T document); @@ -2379,7 +2297,7 @@ public SourceDescriptor(IndexName index, TypeName type, Id id) : base(r=>r.Requi ///a shortcut into calling Type(typeof(TOther)) public SourceDescriptor Type() where TOther : class => Assign(a=>a.RouteValues.Required("type", (TypeName)typeof(TOther))); - + ///The ID of the parent document public SourceDescriptor Parent(string parent) => AssignParam(p=>p.Parent(parent)); @@ -2400,14 +2318,14 @@ public SourceDescriptor(IndexName index, TypeName type, Id id) : base(r=>r.Requi ///A list of fields to exclude from the returned _source field public SourceDescriptor SourceExclude(params string[] source_exclude) => AssignParam(p=>p.SourceExclude(source_exclude)); - + ///A list of fields to exclude from the returned _source field public SourceDescriptor SourceExclude(params Expression>[] fields) => AssignParam(p=>p._SourceExclude(fields)); ///A list of fields to extract and return from the _source field public SourceDescriptor SourceInclude(params string[] source_include) => AssignParam(p=>p.SourceInclude(source_include)); - + ///A list of fields to extract and return from the _source field public SourceDescriptor SourceInclude(params Expression>[] fields) => AssignParam(p=>p._SourceInclude(fields)); @@ -2432,50 +2350,23 @@ public SourceDescriptor SourceInclude(params Expression>[] fi ///A comma-separated list of filters used to reduce the respone. public SourceDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - - } - - ///descriptor for GetTemplate
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html
- public partial class GetSearchTemplateDescriptor : RequestDescriptorBase, IGetSearchTemplateRequest - { - Id IGetSearchTemplateRequest.Id => Self.RouteValues.Get("id"); - /// /_search/template/{id} -/// this parameter is required - public GetSearchTemplateDescriptor(Id id) : base(r=>r.Required("id", id)){} - - - - ///Pretty format the returned JSON response. - public GetSearchTemplateDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); - ///Return human readable values for statistics. - public GetSearchTemplateDescriptor Human(bool human = true) => AssignParam(p=>p.Human(human)); - - ///Include the stack trace of returned errors. - public GetSearchTemplateDescriptor ErrorTrace(bool error_trace = true) => AssignParam(p=>p.ErrorTrace(error_trace)); - - ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. - public GetSearchTemplateDescriptor Source(string source) => AssignParam(p=>p.Source(source)); - - ///A comma-separated list of filters used to reduce the respone. - public GetSearchTemplateDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - } - + ///descriptor for Index
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html
public partial class IndexDescriptor : RequestDescriptorBase,IndexRequestParameters, IIndexRequest>, IIndexRequest - { + { Id IIndexRequest.Id => Self.RouteValues.Get("id"); IndexName IIndexRequest.Index => Self.RouteValues.Get("index"); TypeName IIndexRequest.Type => Self.RouteValues.Get("type"); - /// /{index}/{type} -/// this parameter is required + /// /{index}/{type} +/// this parameter is required /// this parameter is required public IndexDescriptor(IndexName index, TypeName type) : base(r=>r.Required("index", index).Required("type", type)){} - - /// /{index}/{type} - + + /// /{index}/{type} + /// describes an elasticsearch document of type from which the index, type and id can be inferred public IndexDescriptor(DocumentPath document) : base(r=>r.Required("index", document.Self.Index).Required("type", document.Self.Type).Required("id", document.Self.Id)){ this.DocumentFromPath(document.Document); } partial void DocumentFromPath(TDocument document); @@ -2495,7 +2386,7 @@ public IndexDescriptor(IndexName index, TypeName type) : base(r=>r.Required("ind ///a shortcut into calling Type(typeof(TOther)) public IndexDescriptor Type() where TOther : class => Assign(a=>a.RouteValues.Required("type", (TypeName)typeof(TOther))); - + ///Sets the number of shard copies that must be active before proceeding with the index 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 IndexDescriptor WaitForActiveShards(string wait_for_active_shards) => AssignParam(p=>p.WaitForActiveShards(wait_for_active_shards)); @@ -2543,16 +2434,16 @@ public IndexDescriptor(IndexName index, TypeName type) : base(r=>r.Required("ind ///A comma-separated list of filters used to reduce the respone. public IndexDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesAnalyzeForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html
public partial class AnalyzeDescriptor : RequestDescriptorBase, IAnalyzeRequest - { + { IndexName IAnalyzeRequest.Index => Self.RouteValues.Get("index"); /// /_analyze public AnalyzeDescriptor() : base(){} - + ///The name of the index to scope the operation public AnalyzeDescriptor Index(IndexName index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -2560,7 +2451,7 @@ public AnalyzeDescriptor() : base(){} ///a shortcut into calling Index(typeof(TOther)) 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) => AssignParam(p=>p.PreferLocal(prefer_local)); @@ -2581,16 +2472,16 @@ public AnalyzeDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public AnalyzeDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesClearCacheForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html
public partial class ClearCacheDescriptor : RequestDescriptorBase, IClearCacheRequest - { + { Indices IClearCacheRequest.Index => Self.RouteValues.Get("index"); /// /_cache/clear public ClearCacheDescriptor() : base(){} - + ///A comma-separated list of index name to limit the operation public ClearCacheDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -2601,13 +2492,13 @@ public ClearCacheDescriptor() : base(){} ///A shortcut into calling Index(Indices.All) public ClearCacheDescriptor AllIndices() => this.Index(Indices.All); - + ///Clear field data public ClearCacheDescriptor FieldData(bool field_data = true) => AssignParam(p=>p.FieldData(field_data)); ///A comma-separated list of fields to clear when using the `field_data` parameter (default: all) public ClearCacheDescriptor Fields(params string[] fields) => AssignParam(p=>p.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 => AssignParam(p=>p._Fields(fields)); @@ -2647,17 +2538,17 @@ public ClearCacheDescriptor Fields(params Expression>[] field ///A comma-separated list of filters used to reduce the respone. public ClearCacheDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesClose
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html
public partial class CloseIndexDescriptor : RequestDescriptorBase, ICloseIndexRequest - { + { Indices ICloseIndexRequest.Index => Self.RouteValues.Get("index"); - /// /{index}/_close + /// /{index}/_close /// this parameter is required public CloseIndexDescriptor(Indices index) : base(r=>r.Required("index", index)){} - + ///A comma separated list of indices to close public CloseIndexDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Required("index", index)); @@ -2668,7 +2559,7 @@ public CloseIndexDescriptor(Indices index) : base(r=>r.Required("index", index)) ///A shortcut into calling Index(Indices.All) public CloseIndexDescriptor AllIndices() => this.Index(Indices.All); - + ///Explicit operation timeout public CloseIndexDescriptor Timeout(Time timeout) => AssignParam(p=>p.Timeout(timeout.ToTimeSpan())); @@ -2698,17 +2589,17 @@ public CloseIndexDescriptor(Indices index) : base(r=>r.Required("index", index)) ///A comma-separated list of filters used to reduce the respone. public CloseIndexDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesCreate
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html
public partial class CreateIndexDescriptor : RequestDescriptorBase, ICreateIndexRequest - { + { IndexName ICreateIndexRequest.Index => Self.RouteValues.Get("index"); - /// /{index} + /// /{index} /// this parameter is required public CreateIndexDescriptor(IndexName index) : base(r=>r.Required("index", index)){} - + ///The name of the index public CreateIndexDescriptor Index(IndexName index) => Assign(a=>a.RouteValues.Required("index", index)); @@ -2716,7 +2607,7 @@ public CreateIndexDescriptor(IndexName index) : base(r=>r.Required("index", inde ///a shortcut into calling Index(typeof(TOther)) public CreateIndexDescriptor Index() where TOther : class => Assign(a=>a.RouteValues.Required("index", (IndexName)typeof(TOther))); - + ///Set the number of active shards to wait for before the operation returns. public CreateIndexDescriptor WaitForActiveShards(string wait_for_active_shards) => AssignParam(p=>p.WaitForActiveShards(wait_for_active_shards)); @@ -2743,17 +2634,17 @@ public CreateIndexDescriptor(IndexName index) : base(r=>r.Required("index", inde ///A comma-separated list of filters used to reduce the respone. public CreateIndexDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesDelete
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html
public partial class DeleteIndexDescriptor : RequestDescriptorBase, IDeleteIndexRequest - { + { Indices IDeleteIndexRequest.Index => Self.RouteValues.Get("index"); - /// /{index} + /// /{index} /// this parameter is required public DeleteIndexDescriptor(Indices index) : base(r=>r.Required("index", index)){} - + ///A comma-separated list of indices to delete; use `_all` or `*` string to delete all indices public DeleteIndexDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Required("index", index)); @@ -2764,13 +2655,22 @@ public DeleteIndexDescriptor(Indices index) : base(r=>r.Required("index", index) ///A shortcut into calling Index(Indices.All) public DeleteIndexDescriptor AllIndices() => this.Index(Indices.All); - + ///Explicit operation timeout public DeleteIndexDescriptor Timeout(Time timeout) => AssignParam(p=>p.Timeout(timeout.ToTimeSpan())); ///Specify timeout for connection to master public DeleteIndexDescriptor MasterTimeout(Time master_timeout) => AssignParam(p=>p.MasterTimeout(master_timeout.ToTimeSpan())); + ///Ignore unavailable indexes (default: false) + public DeleteIndexDescriptor IgnoreUnavailable(bool ignore_unavailable = true) => AssignParam(p=>p.IgnoreUnavailable(ignore_unavailable)); + + ///Ignore if a wildcard expression resolves to no concrete indices (default: false) + public DeleteIndexDescriptor AllowNoIndices(bool allow_no_indices = true) => AssignParam(p=>p.AllowNoIndices(allow_no_indices)); + + ///Whether wildcard expressions should get expanded to open or closed indices (default: open) + public DeleteIndexDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => AssignParam(p=>p.ExpandWildcards(expand_wildcards)); + ///Pretty format the returned JSON response. public DeleteIndexDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -2785,19 +2685,19 @@ public DeleteIndexDescriptor(Indices index) : base(r=>r.Required("index", index) ///A comma-separated list of filters used to reduce the respone. public DeleteIndexDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesDeleteAlias
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html
public partial class DeleteAliasDescriptor : RequestDescriptorBase, IDeleteAliasRequest - { + { Indices IDeleteAliasRequest.Index => Self.RouteValues.Get("index"); Names IDeleteAliasRequest.Name => Self.RouteValues.Get("name"); - /// /{index}/_alias/{name} -/// this parameter is required + /// /{index}/_alias/{name} +/// this parameter is required /// this parameter is required public DeleteAliasDescriptor(Indices index, Names name) : base(r=>r.Required("index", index).Required("name", name)){} - + ///A comma-separated list of index names (supports wildcards); use `_all` for all indices public DeleteAliasDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Required("index", index)); @@ -2808,7 +2708,7 @@ public DeleteAliasDescriptor(Indices index, Names name) : base(r=>r.Required("in ///A shortcut into calling Index(Indices.All) public DeleteAliasDescriptor AllIndices() => this.Index(Indices.All); - + ///Explicit timestamp for the document public DeleteAliasDescriptor Timeout(Time timeout) => AssignParam(p=>p.Timeout(timeout.ToTimeSpan())); @@ -2829,19 +2729,19 @@ public DeleteAliasDescriptor(Indices index, Names name) : base(r=>r.Required("in ///A comma-separated list of filters used to reduce the respone. public DeleteAliasDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesDeleteTemplateForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html
public partial class DeleteIndexTemplateDescriptor : RequestDescriptorBase, IDeleteIndexTemplateRequest - { + { Name IDeleteIndexTemplateRequest.Name => Self.RouteValues.Get("name"); - /// /_template/{name} + /// /_template/{name} /// this parameter is required public DeleteIndexTemplateDescriptor(Name name) : base(r=>r.Required("name", name)){} - - + + ///Explicit operation timeout public DeleteIndexTemplateDescriptor Timeout(Time timeout) => AssignParam(p=>p.Timeout(timeout.ToTimeSpan())); @@ -2862,17 +2762,17 @@ public DeleteIndexTemplateDescriptor(Name name) : base(r=>r.Required("name", nam ///A comma-separated list of filters used to reduce the respone. public DeleteIndexTemplateDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesExists
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html
public partial class IndexExistsDescriptor : RequestDescriptorBase, IIndexExistsRequest - { + { Indices IIndexExistsRequest.Index => Self.RouteValues.Get("index"); - /// /{index} + /// /{index} /// this parameter is required public IndexExistsDescriptor(Indices index) : base(r=>r.Required("index", index)){} - + ///A comma-separated list of index names public IndexExistsDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Required("index", index)); @@ -2883,7 +2783,7 @@ public IndexExistsDescriptor(Indices index) : base(r=>r.Required("index", index) ///A shortcut into calling Index(Indices.All) 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) => AssignParam(p=>p.Local(local)); @@ -2916,17 +2816,17 @@ public IndexExistsDescriptor(Indices index) : base(r=>r.Required("index", index) ///A comma-separated list of filters used to reduce the respone. public IndexExistsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesExistsAliasForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html
public partial class AliasExistsDescriptor : RequestDescriptorBase, IAliasExistsRequest - { + { Indices IAliasExistsRequest.Index => Self.RouteValues.Get("index"); Names IAliasExistsRequest.Name => Self.RouteValues.Get("name"); /// /_alias/{name} public AliasExistsDescriptor() : base(){} - + ///A comma-separated list of index names to filter aliases public AliasExistsDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -2940,7 +2840,7 @@ public AliasExistsDescriptor() : base(){} ///A comma-separated list of alias names to return 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) => AssignParam(p=>p.IgnoreUnavailable(ignore_unavailable)); @@ -2967,19 +2867,19 @@ public AliasExistsDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public AliasExistsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesExistsTemplateForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html
public partial class IndexTemplateExistsDescriptor : RequestDescriptorBase, IIndexTemplateExistsRequest - { + { Names IIndexTemplateExistsRequest.Name => Self.RouteValues.Get("name"); - /// /_template/{name} + /// /_template/{name} /// this parameter is required public IndexTemplateExistsDescriptor(Names name) : base(r=>r.Required("name", name)){} - - + + ///Return settings in flat format (default: false) public IndexTemplateExistsDescriptor FlatSettings(bool flat_settings = true) => AssignParam(p=>p.FlatSettings(flat_settings)); @@ -3003,19 +2903,19 @@ public IndexTemplateExistsDescriptor(Names name) : base(r=>r.Required("name", na ///A comma-separated list of filters used to reduce the respone. public IndexTemplateExistsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesExistsType
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-types-exists.html
public partial class TypeExistsDescriptor : RequestDescriptorBase, ITypeExistsRequest - { + { Indices ITypeExistsRequest.Index => Self.RouteValues.Get("index"); Types ITypeExistsRequest.Type => Self.RouteValues.Get("type"); - /// /{index}/_mapping/{type} -/// this parameter is required + /// /{index}/_mapping/{type} +/// this parameter is required /// this parameter is required public TypeExistsDescriptor(Indices index, Types type) : base(r=>r.Required("index", index).Required("type", type)){} - + ///A comma-separated list of index names; use `_all` to check the types across all indices public TypeExistsDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Required("index", index)); @@ -3035,7 +2935,7 @@ public TypeExistsDescriptor(Indices index, Types type) : base(r=>r.Required("ind ///a shortcut into calling Type(Types.All) 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) => AssignParam(p=>p.IgnoreUnavailable(ignore_unavailable)); @@ -3062,16 +2962,16 @@ public TypeExistsDescriptor(Indices index, Types type) : base(r=>r.Required("ind ///A comma-separated list of filters used to reduce the respone. public TypeExistsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesFlushForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html
public partial class FlushDescriptor : RequestDescriptorBase, IFlushRequest - { + { Indices IFlushRequest.Index => Self.RouteValues.Get("index"); /// /_flush public FlushDescriptor() : base(){} - + ///A comma-separated list of index names; use the special string `_all` or Indices.All for all indices public FlushDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -3082,7 +2982,7 @@ public FlushDescriptor() : base(){} ///A shortcut into calling Index(Indices.All) 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) => AssignParam(p=>p.Force(force)); @@ -3112,16 +3012,16 @@ public FlushDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public FlushDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesFlushSyncedForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html
public partial class SyncedFlushDescriptor : RequestDescriptorBase, ISyncedFlushRequest - { + { Indices ISyncedFlushRequest.Index => Self.RouteValues.Get("index"); /// /_flush/synced public SyncedFlushDescriptor() : base(){} - + ///A comma-separated list of index names; use the special string `_all` or Indices.All for all indices public SyncedFlushDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -3132,7 +3032,7 @@ public SyncedFlushDescriptor() : base(){} ///A shortcut into calling Index(Indices.All) 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) => AssignParam(p=>p.IgnoreUnavailable(ignore_unavailable)); @@ -3156,16 +3056,16 @@ public SyncedFlushDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public SyncedFlushDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesForcemergeForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html
public partial class ForceMergeDescriptor : RequestDescriptorBase, IForceMergeRequest - { + { Indices IForceMergeRequest.Index => Self.RouteValues.Get("index"); /// /_forcemerge public ForceMergeDescriptor() : base(){} - + ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices public ForceMergeDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -3176,7 +3076,7 @@ public ForceMergeDescriptor() : base(){} ///A shortcut into calling Index(Indices.All) 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) => AssignParam(p=>p.Flush(flush)); @@ -3215,18 +3115,17 @@ public ForceMergeDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public ForceMergeDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesGet
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html
public partial class GetIndexDescriptor : RequestDescriptorBase, IGetIndexRequest - { + { Indices IGetIndexRequest.Index => Self.RouteValues.Get("index"); - Features IGetIndexRequest.Feature => Self.RouteValues.Get("feature"); - /// /{index} + /// /{index} /// this parameter is required public GetIndexDescriptor(Indices index) : base(r=>r.Required("index", index)){} - + ///A comma-separated list of index names public GetIndexDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Required("index", index)); @@ -3237,10 +3136,7 @@ public GetIndexDescriptor(Indices index) : base(r=>r.Required("index", index)){} ///A shortcut into calling Index(Indices.All) public GetIndexDescriptor AllIndices() => this.Index(Indices.All); - ///A comma-separated list of features - public GetIndexDescriptor Feature(Features feature) => Assign(a=>a.RouteValues.Optional("feature", feature)); - ///Return local information, do not retrieve the state from master node (default: false) public GetIndexDescriptor Local(bool local = true) => AssignParam(p=>p.Local(local)); @@ -3273,17 +3169,17 @@ public GetIndexDescriptor(Indices index) : base(r=>r.Required("index", index)){} ///A comma-separated list of filters used to reduce the respone. public GetIndexDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesGetAliasForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html
public partial class GetAliasDescriptor : RequestDescriptorBase, IGetAliasRequest - { + { Indices IGetAliasRequest.Index => Self.RouteValues.Get("index"); Names IGetAliasRequest.Name => Self.RouteValues.Get("name"); /// /_alias public GetAliasDescriptor() : base(){} - + ///A comma-separated list of index names to filter aliases public GetAliasDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -3297,7 +3193,7 @@ public GetAliasDescriptor() : base(){} ///A comma-separated list of alias names to return 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) => AssignParam(p=>p.IgnoreUnavailable(ignore_unavailable)); @@ -3324,19 +3220,19 @@ public GetAliasDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public GetAliasDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesGetFieldMappingForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html
public partial class GetFieldMappingDescriptor : RequestDescriptorBase,GetFieldMappingRequestParameters, IGetFieldMappingRequest>, IGetFieldMappingRequest - { + { Indices IGetFieldMappingRequest.Index => Self.RouteValues.Get("index"); Types IGetFieldMappingRequest.Type => Self.RouteValues.Get("type"); Fields IGetFieldMappingRequest.Fields => Self.RouteValues.Get("fields"); - /// /_mapping/field/{fields} + /// /_mapping/field/{fields} /// this parameter is required public GetFieldMappingDescriptor(Fields fields) : base(r=>r.Required("fields", fields)){} - + ///A comma-separated list of index names public GetFieldMappingDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -3356,7 +3252,7 @@ public GetFieldMappingDescriptor(Fields fields) : base(r=>r.Required("fields", f ///a shortcut into calling Type(Types.All) public GetFieldMappingDescriptor AllTypes() => this.Type(Types.All); - + ///Whether the default mapping values should be returned as well public GetFieldMappingDescriptor IncludeDefaults(bool include_defaults = true) => AssignParam(p=>p.IncludeDefaults(include_defaults)); @@ -3386,17 +3282,17 @@ public GetFieldMappingDescriptor(Fields fields) : base(r=>r.Required("fields", f ///A comma-separated list of filters used to reduce the respone. public GetFieldMappingDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesGetMappingForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html
public partial class GetMappingDescriptor : RequestDescriptorBase,GetMappingRequestParameters, IGetMappingRequest>, IGetMappingRequest - { + { Indices IGetMappingRequest.Index => Self.RouteValues.Get("index"); Types IGetMappingRequest.Type => Self.RouteValues.Get("type"); /// /_mapping public GetMappingDescriptor() : base(r=> r.Required("index", (Indices)typeof(T)).Required("type", (Types)typeof(T))){} - + ///A comma-separated list of index names public GetMappingDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -3416,7 +3312,7 @@ public GetMappingDescriptor() : base(r=> r.Required("index", (Indices)typeof(T)) ///a shortcut into calling Type(Types.All) 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) => AssignParam(p=>p.IgnoreUnavailable(ignore_unavailable)); @@ -3443,17 +3339,17 @@ public GetMappingDescriptor() : base(r=> r.Required("index", (Indices)typeof(T)) ///A comma-separated list of filters used to reduce the respone. public GetMappingDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesGetSettingsForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html
public partial class GetIndexSettingsDescriptor : RequestDescriptorBase, IGetIndexSettingsRequest - { + { Indices IGetIndexSettingsRequest.Index => Self.RouteValues.Get("index"); Names IGetIndexSettingsRequest.Name => Self.RouteValues.Get("name"); /// /_settings public GetIndexSettingsDescriptor() : base(){} - + ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices public GetIndexSettingsDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -3467,7 +3363,7 @@ public GetIndexSettingsDescriptor() : base(){} ///The name of the settings that should be included 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) => AssignParam(p=>p.IgnoreUnavailable(ignore_unavailable)); @@ -3500,21 +3396,21 @@ public GetIndexSettingsDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public GetIndexSettingsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesGetTemplateForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html
public partial class GetIndexTemplateDescriptor : RequestDescriptorBase, IGetIndexTemplateRequest - { + { Names IGetIndexTemplateRequest.Name => Self.RouteValues.Get("name"); /// /_template public GetIndexTemplateDescriptor() : base(){} - + ///The comma separated names of the index templates 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) => AssignParam(p=>p.FlatSettings(flat_settings)); @@ -3538,16 +3434,16 @@ public GetIndexTemplateDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public GetIndexTemplateDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesGetUpgradeForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html
public partial class UpgradeStatusDescriptor : RequestDescriptorBase, IUpgradeStatusRequest - { + { Indices IUpgradeStatusRequest.Index => Self.RouteValues.Get("index"); /// /_upgrade public UpgradeStatusDescriptor() : base(){} - + ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices public UpgradeStatusDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -3558,7 +3454,7 @@ public UpgradeStatusDescriptor() : base(){} ///A shortcut into calling Index(Indices.All) 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) => AssignParam(p=>p.IgnoreUnavailable(ignore_unavailable)); @@ -3582,17 +3478,17 @@ public UpgradeStatusDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public UpgradeStatusDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesOpen
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html
public partial class OpenIndexDescriptor : RequestDescriptorBase, IOpenIndexRequest - { + { Indices IOpenIndexRequest.Index => Self.RouteValues.Get("index"); - /// /{index}/_open + /// /{index}/_open /// this parameter is required public OpenIndexDescriptor(Indices index) : base(r=>r.Required("index", index)){} - + ///A comma separated list of indices to open public OpenIndexDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Required("index", index)); @@ -3603,7 +3499,7 @@ public OpenIndexDescriptor(Indices index) : base(r=>r.Required("index", index)){ ///A shortcut into calling Index(Indices.All) public OpenIndexDescriptor AllIndices() => this.Index(Indices.All); - + ///Explicit operation timeout public OpenIndexDescriptor Timeout(Time timeout) => AssignParam(p=>p.Timeout(timeout.ToTimeSpan())); @@ -3633,19 +3529,19 @@ public OpenIndexDescriptor(Indices index) : base(r=>r.Required("index", index)){ ///A comma-separated list of filters used to reduce the respone. public OpenIndexDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesPutAlias
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html
public partial class PutAliasDescriptor : RequestDescriptorBase, IPutAliasRequest - { + { Indices IPutAliasRequest.Index => Self.RouteValues.Get("index"); Name IPutAliasRequest.Name => Self.RouteValues.Get("name"); - /// /{index}/_alias/{name} -/// this parameter is required + /// /{index}/_alias/{name} +/// this parameter is required /// this parameter is required public PutAliasDescriptor(Indices index, Name name) : base(r=>r.Required("index", index).Required("name", name)){} - + ///A comma-separated list of index names the alias should point to (supports wildcards); use `_all` to perform the operation on all indices. public PutAliasDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Required("index", index)); @@ -3656,7 +3552,7 @@ public PutAliasDescriptor(Indices index, Name name) : base(r=>r.Required("index" ///A shortcut into calling Index(Indices.All) public PutAliasDescriptor AllIndices() => this.Index(Indices.All); - + ///Explicit timestamp for the document public PutAliasDescriptor Timeout(Time timeout) => AssignParam(p=>p.Timeout(timeout.ToTimeSpan())); @@ -3677,18 +3573,18 @@ public PutAliasDescriptor(Indices index, Name name) : base(r=>r.Required("index" ///A comma-separated list of filters used to reduce the respone. public PutAliasDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesPutMapping
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html
public partial class PutMappingDescriptor : RequestDescriptorBase,PutMappingRequestParameters, IPutMappingRequest>, IPutMappingRequest - { + { Indices IPutMappingRequest.Index => Self.RouteValues.Get("index"); TypeName IPutMappingRequest.Type => Self.RouteValues.Get("type"); - /// /{index}/{type}/_mapping + /// /{index}/{type}/_mapping /// this parameter is required public PutMappingDescriptor(TypeName type) : base(r=>r.Required("type", type)){} - + ///A comma-separated list of index names the mapping should be added to (supports wildcards); use `_all` or omit to add the mapping on all indices. public PutMappingDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -3705,7 +3601,7 @@ public PutMappingDescriptor(TypeName type) : base(r=>r.Required("type", type)){} ///a shortcut into calling Type(typeof(TOther)) public PutMappingDescriptor Type() where TOther : class => Assign(a=>a.RouteValues.Required("type", (TypeName)typeof(TOther))); - + ///Explicit operation timeout public PutMappingDescriptor Timeout(Time timeout) => AssignParam(p=>p.Timeout(timeout.ToTimeSpan())); @@ -3738,16 +3634,16 @@ public PutMappingDescriptor(TypeName type) : base(r=>r.Required("type", type)){} ///A comma-separated list of filters used to reduce the respone. public PutMappingDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesPutSettingsForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html
public partial class UpdateIndexSettingsDescriptor : RequestDescriptorBase, IUpdateIndexSettingsRequest - { + { Indices IUpdateIndexSettingsRequest.Index => Self.RouteValues.Get("index"); /// /_settings public UpdateIndexSettingsDescriptor() : base(){} - + ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices public UpdateIndexSettingsDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -3758,7 +3654,7 @@ public UpdateIndexSettingsDescriptor() : base(){} ///A shortcut into calling Index(Indices.All) public UpdateIndexSettingsDescriptor AllIndices() => this.Index(Indices.All); - + ///Specify timeout for connection to master public UpdateIndexSettingsDescriptor MasterTimeout(Time master_timeout) => AssignParam(p=>p.MasterTimeout(master_timeout.ToTimeSpan())); @@ -3791,19 +3687,19 @@ public UpdateIndexSettingsDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public UpdateIndexSettingsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesPutTemplateForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html
public partial class PutIndexTemplateDescriptor : RequestDescriptorBase, IPutIndexTemplateRequest - { + { Name IPutIndexTemplateRequest.Name => Self.RouteValues.Get("name"); - /// /_template/{name} + /// /_template/{name} /// this parameter is required 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) => AssignParam(p=>p.Create(create)); @@ -3830,16 +3726,16 @@ public PutIndexTemplateDescriptor(Name name) : base(r=>r.Required("name", name)) ///A comma-separated list of filters used to reduce the respone. public PutIndexTemplateDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesRecoveryForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html
public partial class RecoveryStatusDescriptor : RequestDescriptorBase, IRecoveryStatusRequest - { + { Indices IRecoveryStatusRequest.Index => Self.RouteValues.Get("index"); /// /_recovery public RecoveryStatusDescriptor() : base(){} - + ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices public RecoveryStatusDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -3850,7 +3746,7 @@ public RecoveryStatusDescriptor() : base(){} ///A shortcut into calling Index(Indices.All) public RecoveryStatusDescriptor AllIndices() => this.Index(Indices.All); - + ///Whether to display detailed information about shard recovery public RecoveryStatusDescriptor Detailed(bool detailed = true) => AssignParam(p=>p.Detailed(detailed)); @@ -3871,16 +3767,16 @@ public RecoveryStatusDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public RecoveryStatusDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesRefreshForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html
public partial class RefreshDescriptor : RequestDescriptorBase, IRefreshRequest - { + { Indices IRefreshRequest.Index => Self.RouteValues.Get("index"); /// /_refresh public RefreshDescriptor() : base(){} - + ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices public RefreshDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -3891,7 +3787,7 @@ public RefreshDescriptor() : base(){} ///A shortcut into calling Index(Indices.All) 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) => AssignParam(p=>p.IgnoreUnavailable(ignore_unavailable)); @@ -3915,23 +3811,23 @@ public RefreshDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public RefreshDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesRolloverForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html
public partial class RolloverIndexDescriptor : RequestDescriptorBase, IRolloverIndexRequest - { + { Name IRolloverIndexRequest.Alias => Self.RouteValues.Get("alias"); IndexName IRolloverIndexRequest.NewIndex => Self.RouteValues.Get("new_index"); - /// /{alias}/_rollover + /// /{alias}/_rollover /// this parameter is required public RolloverIndexDescriptor(Name alias) : base(r=>r.Required("alias", alias)){} - + ///The name of the rollover index public RolloverIndexDescriptor NewIndex(IndexName newIndex) => Assign(a=>a.RouteValues.Optional("new_index", newIndex)); - + ///Explicit operation timeout public RolloverIndexDescriptor Timeout(Time timeout) => AssignParam(p=>p.Timeout(timeout.ToTimeSpan())); @@ -3958,16 +3854,16 @@ public RolloverIndexDescriptor(Name alias) : base(r=>r.Required("alias", alias)) ///A comma-separated list of filters used to reduce the respone. public RolloverIndexDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesSegmentsForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html
public partial class SegmentsDescriptor : RequestDescriptorBase, ISegmentsRequest - { + { Indices ISegmentsRequest.Index => Self.RouteValues.Get("index"); /// /_segments public SegmentsDescriptor() : base(){} - + ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices public SegmentsDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -3978,7 +3874,7 @@ public SegmentsDescriptor() : base(){} ///A shortcut into calling Index(Indices.All) 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) => AssignParam(p=>p.IgnoreUnavailable(ignore_unavailable)); @@ -4008,16 +3904,16 @@ public SegmentsDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public SegmentsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesShardStoresForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html
public partial class IndicesShardStoresDescriptor : RequestDescriptorBase, IIndicesShardStoresRequest - { + { Indices IIndicesShardStoresRequest.Index => Self.RouteValues.Get("index"); /// /_shard_stores public IndicesShardStoresDescriptor() : base(){} - + ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices public IndicesShardStoresDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -4028,7 +3924,7 @@ public IndicesShardStoresDescriptor() : base(){} ///A shortcut into calling Index(Indices.All) public IndicesShardStoresDescriptor AllIndices() => this.Index(Indices.All); - + ///A comma-separated list of statuses used to filter on shards to get store information for public IndicesShardStoresDescriptor Status(params string[] status) => AssignParam(p=>p.Status(status)); @@ -4058,19 +3954,19 @@ public IndicesShardStoresDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public IndicesShardStoresDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesShrink
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html
public partial class ShrinkIndexDescriptor : RequestDescriptorBase, IShrinkIndexRequest - { + { IndexName IShrinkIndexRequest.Index => Self.RouteValues.Get("index"); IndexName IShrinkIndexRequest.Target => Self.RouteValues.Get("target"); - /// /{index}/_shrink/{target} -/// this parameter is required + /// /{index}/_shrink/{target} +/// this parameter is required /// this parameter is required public ShrinkIndexDescriptor(IndexName index, IndexName target) : base(r=>r.Required("index", index).Required("target", target)){} - + ///The name of the source index to shrink public ShrinkIndexDescriptor Index(IndexName index) => Assign(a=>a.RouteValues.Required("index", index)); @@ -4078,7 +3974,7 @@ public ShrinkIndexDescriptor(IndexName index, IndexName target) : base(r=>r.Requ ///a shortcut into calling Index(typeof(TOther)) public ShrinkIndexDescriptor Index() where TOther : class => Assign(a=>a.RouteValues.Required("index", (IndexName)typeof(TOther))); - + ///Explicit operation timeout public ShrinkIndexDescriptor Timeout(Time timeout) => AssignParam(p=>p.Timeout(timeout.ToTimeSpan())); @@ -4102,17 +3998,17 @@ public ShrinkIndexDescriptor(IndexName index, IndexName target) : base(r=>r.Requ ///A comma-separated list of filters used to reduce the respone. public ShrinkIndexDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesStatsForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html
public partial class IndicesStatsDescriptor : RequestDescriptorBase, IIndicesStatsRequest - { + { Indices IIndicesStatsRequest.Index => Self.RouteValues.Get("index"); Metrics IIndicesStatsRequest.Metric => Self.RouteValues.Get("metric"); /// /_stats public IndicesStatsDescriptor() : base(){} - + ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices public IndicesStatsDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -4126,24 +4022,24 @@ public IndicesStatsDescriptor() : base(){} ///Limit the information returned the specific metrics. public IndicesStatsDescriptor Metric(IndicesStatsMetric metric) => Assign(a=>a.RouteValues.Optional("metric", (Metrics)metric)); - + ///A comma-separated list of fields for `fielddata` and `suggest` index metric (supports wildcards) public IndicesStatsDescriptor CompletionFields(params string[] completion_fields) => AssignParam(p=>p.CompletionFields(completion_fields)); - + ///A comma-separated list of fields for `fielddata` and `suggest` index metric (supports wildcards) public IndicesStatsDescriptor CompletionFields(params Expression>[] fields) where T : class => AssignParam(p=>p._CompletionFields(fields)); ///A comma-separated list of fields for `fielddata` index metric (supports wildcards) public IndicesStatsDescriptor FielddataFields(params string[] fielddata_fields) => AssignParam(p=>p.FielddataFields(fielddata_fields)); - + ///A comma-separated list of fields for `fielddata` index metric (supports wildcards) public IndicesStatsDescriptor FielddataFields(params Expression>[] fields) where T : class => AssignParam(p=>p._FielddataFields(fields)); ///A comma-separated list of fields for `fielddata` and `completion` index metric (supports wildcards) public IndicesStatsDescriptor Fields(params string[] fields) => AssignParam(p=>p.Fields(fields)); - + ///A comma-separated list of fields for `fielddata` and `completion` index metric (supports wildcards) public IndicesStatsDescriptor Fields(params Expression>[] fields) where T : class => AssignParam(p=>p._Fields(fields)); @@ -4171,13 +4067,13 @@ public IndicesStatsDescriptor Fields(params Expression>[] fie ///A comma-separated list of filters used to reduce the respone. public IndicesStatsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesUpdateAliasesForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html
public partial class BulkAliasDescriptor : RequestDescriptorBase, IBulkAliasRequest - { - + { + ///Request timeout public BulkAliasDescriptor Timeout(Time timeout) => AssignParam(p=>p.Timeout(timeout.ToTimeSpan())); @@ -4198,16 +4094,16 @@ public partial class BulkAliasDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public BulkAliasDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesUpgradeForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html
public partial class UpgradeDescriptor : RequestDescriptorBase, IUpgradeRequest - { + { Indices IUpgradeRequest.Index => Self.RouteValues.Get("index"); /// /_upgrade public UpgradeDescriptor() : base(){} - + ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices public UpgradeDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -4218,7 +4114,7 @@ public UpgradeDescriptor() : base(){} ///A shortcut into calling Index(Indices.All) 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) => AssignParam(p=>p.AllowNoIndices(allow_no_indices)); @@ -4248,17 +4144,17 @@ public UpgradeDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public UpgradeDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IndicesValidateQueryForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html
public partial class ValidateQueryDescriptor : RequestDescriptorBase,ValidateQueryRequestParameters, IValidateQueryRequest>, IValidateQueryRequest - { + { Indices IValidateQueryRequest.Index => Self.RouteValues.Get("index"); Types IValidateQueryRequest.Type => Self.RouteValues.Get("type"); /// /_validate/query public ValidateQueryDescriptor() : base(r=> r.Required("index", (Indices)typeof(T)).Required("type", (Types)typeof(T))){} - + ///A comma-separated list of index names to restrict the operation; use the special string `_all` or Indices.All to perform the operation on all indices public ValidateQueryDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -4278,7 +4174,7 @@ public ValidateQueryDescriptor() : base(r=> r.Required("index", (Indices)typeof( ///a shortcut into calling Type(Types.All) public ValidateQueryDescriptor AllTypes() => this.Type(Types.All); - + ///Return detailed information about the error public ValidateQueryDescriptor Explain(bool explain = true) => AssignParam(p=>p.Explain(explain)); @@ -4332,13 +4228,13 @@ public ValidateQueryDescriptor() : base(r=> r.Required("index", (Indices)typeof( ///A comma-separated list of filters used to reduce the respone. public ValidateQueryDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for Info
http://www.elastic.co/guide/
public partial class RootNodeInfoDescriptor : RequestDescriptorBase, IRootNodeInfoRequest - { - + { + ///Pretty format the returned JSON response. public RootNodeInfoDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -4353,19 +4249,19 @@ public partial class RootNodeInfoDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public RootNodeInfoDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IngestDeletePipeline
https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
public partial class DeletePipelineDescriptor : RequestDescriptorBase, IDeletePipelineRequest - { + { Id IDeletePipelineRequest.Id => Self.RouteValues.Get("id"); - /// /_ingest/pipeline/{id} + /// /_ingest/pipeline/{id} /// this parameter is required public DeletePipelineDescriptor(Id id) : base(r=>r.Required("id", id)){} - - + + ///Explicit operation timeout for connection to master node public DeletePipelineDescriptor MasterTimeout(Time master_timeout) => AssignParam(p=>p.MasterTimeout(master_timeout.ToTimeSpan())); @@ -4386,21 +4282,21 @@ public DeletePipelineDescriptor(Id id) : base(r=>r.Required("id", id)){} ///A comma-separated list of filters used to reduce the respone. public DeletePipelineDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IngestGetPipeline
https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
public partial class GetPipelineDescriptor : RequestDescriptorBase, IGetPipelineRequest - { + { Id IGetPipelineRequest.Id => Self.RouteValues.Get("id"); /// /_ingest/pipeline public GetPipelineDescriptor() : base(){} - + ///Comma separated list of pipeline ids. Wildcards supported public GetPipelineDescriptor Id(Id id) => Assign(a=>a.RouteValues.Optional("id", id)); - + ///Explicit operation timeout for connection to master node public GetPipelineDescriptor MasterTimeout(Time master_timeout) => AssignParam(p=>p.MasterTimeout(master_timeout.ToTimeSpan())); @@ -4418,19 +4314,43 @@ public GetPipelineDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public GetPipelineDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + + } + + ///descriptor for IngestProcessorGrok
https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
+ public partial class IngestProcessorGrokDescriptor : RequestDescriptorBase, IIngestProcessorGrokRequest + { + + ///Pretty format the returned JSON response. + public IngestProcessorGrokDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); + + ///Return human readable values for statistics. + public IngestProcessorGrokDescriptor Human(bool human = true) => AssignParam(p=>p.Human(human)); + + ///Include the stack trace of returned errors. + public IngestProcessorGrokDescriptor ErrorTrace(bool error_trace = true) => AssignParam(p=>p.ErrorTrace(error_trace)); + + ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. + public IngestProcessorGrokDescriptor Source(string source) => AssignParam(p=>p.Source(source)); + + ///A comma-separated list of filters used to reduce the respone. + public IngestProcessorGrokDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); + + //TODO THIS METHOD IS UNMAPPED! + + } - + ///descriptor for IngestPutPipeline
https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
public partial class PutPipelineDescriptor : RequestDescriptorBase, IPutPipelineRequest - { + { Id IPutPipelineRequest.Id => Self.RouteValues.Get("id"); - /// /_ingest/pipeline/{id} + /// /_ingest/pipeline/{id} /// this parameter is required public PutPipelineDescriptor(Id id) : base(r=>r.Required("id", id)){} - - + + ///Explicit operation timeout for connection to master node public PutPipelineDescriptor MasterTimeout(Time master_timeout) => AssignParam(p=>p.MasterTimeout(master_timeout.ToTimeSpan())); @@ -4451,21 +4371,21 @@ public PutPipelineDescriptor(Id id) : base(r=>r.Required("id", id)){} ///A comma-separated list of filters used to reduce the respone. public PutPipelineDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for IngestSimulate
https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
public partial class SimulatePipelineDescriptor : RequestDescriptorBase, ISimulatePipelineRequest - { + { Id ISimulatePipelineRequest.Id => Self.RouteValues.Get("id"); /// /_ingest/pipeline/_simulate public SimulatePipelineDescriptor() : base(){} - + ///Pipeline ID 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) => AssignParam(p=>p.Verbose(verbose)); @@ -4483,17 +4403,17 @@ public SimulatePipelineDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public SimulatePipelineDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for Mget
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html
public partial class MultiGetDescriptor : RequestDescriptorBase, IMultiGetRequest - { + { IndexName IMultiGetRequest.Index => Self.RouteValues.Get("index"); TypeName IMultiGetRequest.Type => Self.RouteValues.Get("type"); /// /_mget public MultiGetDescriptor() : base(){} - + ///The name of the index public MultiGetDescriptor Index(IndexName index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -4507,10 +4427,10 @@ public MultiGetDescriptor() : base(){} ///a shortcut into calling Type(typeof(TOther)) public MultiGetDescriptor Type() where TOther : class => Assign(a=>a.RouteValues.Optional("type", (TypeName)typeof(TOther))); - + ///A comma-separated list of stored fields to return in the response public MultiGetDescriptor StoredFields(params string[] stored_fields) => AssignParam(p=>p.StoredFields(stored_fields)); - + ///A comma-separated list of stored fields to return in the response public MultiGetDescriptor StoredFields(params Expression>[] fields) where T : class => AssignParam(p=>p._StoredFields(fields)); @@ -4532,14 +4452,14 @@ public MultiGetDescriptor StoredFields(params Expression>[] f ///A list of fields to exclude from the returned _source field public MultiGetDescriptor SourceExclude(params string[] source_exclude) => AssignParam(p=>p.SourceExclude(source_exclude)); - + ///A list of fields to exclude from the returned _source field public MultiGetDescriptor SourceExclude(params Expression>[] fields) where T : class => AssignParam(p=>p._SourceExclude(fields)); ///A list of fields to extract and return from the _source field public MultiGetDescriptor SourceInclude(params string[] source_include) => AssignParam(p=>p.SourceInclude(source_include)); - + ///A list of fields to extract and return from the _source field public MultiGetDescriptor SourceInclude(params Expression>[] fields) where T : class => AssignParam(p=>p._SourceInclude(fields)); @@ -4558,17 +4478,17 @@ public MultiGetDescriptor SourceInclude(params Expression>[] ///A comma-separated list of filters used to reduce the respone. public MultiGetDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for Msearch
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html
public partial class MultiSearchDescriptor : RequestDescriptorBase, IMultiSearchRequest - { + { Indices IMultiSearchRequest.Index => Self.RouteValues.Get("index"); Types IMultiSearchRequest.Type => Self.RouteValues.Get("type"); /// /_msearch public MultiSearchDescriptor() {} - + ///A comma-separated list of index names to use as default public MultiSearchDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -4588,7 +4508,7 @@ public MultiSearchDescriptor() {} ///a shortcut into calling Type(Types.All) public MultiSearchDescriptor AllTypes() => this.Type(Types.All); - + ///Search operation type public MultiSearchDescriptor SearchType(SearchType search_type) => AssignParam(p=>p.SearchType(search_type)); @@ -4598,6 +4518,9 @@ public MultiSearchDescriptor() {} ///Specify whether aggregation and suggester names should be prefixed by their respective types in the response public MultiSearchDescriptor TypedKeys(bool typed_keys = true) => AssignParam(p=>p.TypedKeys(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) => AssignParam(p=>p.PreFilterShardSize(pre_filter_shard_size)); + ///Pretty format the returned JSON response. public MultiSearchDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -4612,17 +4535,17 @@ public MultiSearchDescriptor() {} ///A comma-separated list of filters used to reduce the respone. public MultiSearchDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for MsearchTemplate
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html
public partial class MultiSearchTemplateDescriptor : RequestDescriptorBase, IMultiSearchTemplateRequest - { + { Indices IMultiSearchTemplateRequest.Index => Self.RouteValues.Get("index"); Types IMultiSearchTemplateRequest.Type => Self.RouteValues.Get("type"); /// /_msearch/template public MultiSearchTemplateDescriptor() {} - + ///A comma-separated list of index names to use as default public MultiSearchTemplateDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -4642,7 +4565,7 @@ public MultiSearchTemplateDescriptor() {} ///a shortcut into calling Type(Types.All) public MultiSearchTemplateDescriptor AllTypes() => this.Type(Types.All); - + ///Search operation type public MultiSearchTemplateDescriptor SearchType(SearchType search_type) => AssignParam(p=>p.SearchType(search_type)); @@ -4666,17 +4589,17 @@ public MultiSearchTemplateDescriptor() {} ///A comma-separated list of filters used to reduce the respone. public MultiSearchTemplateDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for Mtermvectors
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html
public partial class MultiTermVectorsDescriptor : RequestDescriptorBase, IMultiTermVectorsRequest - { + { IndexName IMultiTermVectorsRequest.Index => Self.RouteValues.Get("index"); TypeName IMultiTermVectorsRequest.Type => Self.RouteValues.Get("type"); /// /_mtermvectors public MultiTermVectorsDescriptor() : base(){} - + ///The index in which the document resides. public MultiTermVectorsDescriptor Index(IndexName index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -4690,7 +4613,7 @@ public MultiTermVectorsDescriptor() : base(){} ///a shortcut into calling Type(typeof(TOther)) 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) => AssignParam(p=>p.TermStatistics(term_statistics)); @@ -4699,7 +4622,7 @@ public MultiTermVectorsDescriptor() : base(){} ///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 string[] fields) => AssignParam(p=>p.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 => AssignParam(p=>p._Fields(fields)); @@ -4745,21 +4668,21 @@ public MultiTermVectorsDescriptor Fields(params Expression>[] ///A comma-separated list of filters used to reduce the respone. public MultiTermVectorsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for NodesHotThreadsForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html
public partial class NodesHotThreadsDescriptor : RequestDescriptorBase, INodesHotThreadsRequest - { + { NodeIds INodesHotThreadsRequest.NodeId => Self.RouteValues.Get("node_id"); /// /_cluster/nodes/hotthreads public NodesHotThreadsDescriptor() : base(){} - + ///A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes public NodesHotThreadsDescriptor NodeId(NodeIds nodeId) => Assign(a=>a.RouteValues.Optional("node_id", nodeId)); - + ///The interval for the second sampling of threads public NodesHotThreadsDescriptor Interval(Time interval) => AssignParam(p=>p.Interval(interval.ToTimeSpan())); @@ -4792,17 +4715,17 @@ public NodesHotThreadsDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public NodesHotThreadsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for NodesInfoForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html
public partial class NodesInfoDescriptor : RequestDescriptorBase, INodesInfoRequest - { + { NodeIds INodesInfoRequest.NodeId => Self.RouteValues.Get("node_id"); Metrics INodesInfoRequest.Metric => Self.RouteValues.Get("metric"); /// /_nodes public NodesInfoDescriptor() : base(){} - + ///A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes public NodesInfoDescriptor NodeId(NodeIds nodeId) => Assign(a=>a.RouteValues.Optional("node_id", nodeId)); @@ -4810,7 +4733,7 @@ public NodesInfoDescriptor() : base(){} ///A comma-separated list of metrics you wish returned. Leave empty to return all. 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) => AssignParam(p=>p.FlatSettings(flat_settings)); @@ -4831,18 +4754,18 @@ public NodesInfoDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public NodesInfoDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for NodesStatsForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html
public partial class NodesStatsDescriptor : RequestDescriptorBase, INodesStatsRequest - { + { Metrics INodesStatsRequest.Metric => Self.RouteValues.Get("metric"); IndexMetrics INodesStatsRequest.IndexMetric => Self.RouteValues.Get("index_metric"); NodeIds INodesStatsRequest.NodeId => Self.RouteValues.Get("node_id"); /// /_nodes/stats public NodesStatsDescriptor() : base(){} - + ///Limit the information returned to the specified metrics public NodesStatsDescriptor Metric(NodesStatsMetric metric) => Assign(a=>a.RouteValues.Optional("metric", (Metrics)metric)); @@ -4853,24 +4776,24 @@ public NodesStatsDescriptor() : base(){} ///A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes public NodesStatsDescriptor NodeId(NodeIds nodeId) => Assign(a=>a.RouteValues.Optional("node_id", nodeId)); - + ///A comma-separated list of fields for `fielddata` and `suggest` index metric (supports wildcards) public NodesStatsDescriptor CompletionFields(params string[] completion_fields) => AssignParam(p=>p.CompletionFields(completion_fields)); - + ///A comma-separated list of fields for `fielddata` and `suggest` index metric (supports wildcards) public NodesStatsDescriptor CompletionFields(params Expression>[] fields) where T : class => AssignParam(p=>p._CompletionFields(fields)); ///A comma-separated list of fields for `fielddata` index metric (supports wildcards) public NodesStatsDescriptor FielddataFields(params string[] fielddata_fields) => AssignParam(p=>p.FielddataFields(fielddata_fields)); - + ///A comma-separated list of fields for `fielddata` index metric (supports wildcards) public NodesStatsDescriptor FielddataFields(params Expression>[] fields) where T : class => AssignParam(p=>p._FielddataFields(fields)); ///A comma-separated list of fields for `fielddata` and `completion` index metric (supports wildcards) public NodesStatsDescriptor Fields(params string[] fields) => AssignParam(p=>p.Fields(fields)); - + ///A comma-separated list of fields for `fielddata` and `completion` index metric (supports wildcards) public NodesStatsDescriptor Fields(params Expression>[] fields) where T : class => AssignParam(p=>p._Fields(fields)); @@ -4904,13 +4827,52 @@ public NodesStatsDescriptor Fields(params Expression>[] field ///A comma-separated list of filters used to reduce the respone. public NodesStatsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + + } + + ///descriptor for NodesUsageForAll
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html
+ public partial class NodesUsageDescriptor : RequestDescriptorBase, INodesUsageRequest + { + Metrics INodesUsageRequest.Metric => Self.RouteValues.Get("metric"); + NodeIds INodesUsageRequest.NodeId => Self.RouteValues.Get("node_id"); + /// /_nodes/usage + public NodesUsageDescriptor() : base(){} + + + ///Limit the information returned to the specified metrics + public NodesUsageDescriptor Metric(NodesUsageMetric metric) => Assign(a=>a.RouteValues.Optional("metric", (Metrics)metric)); + + ///A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes + 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) => AssignParam(p=>p.Human(human)); + + ///Explicit operation timeout + public NodesUsageDescriptor Timeout(Time timeout) => AssignParam(p=>p.Timeout(timeout.ToTimeSpan())); + + ///Pretty format the returned JSON response. + public NodesUsageDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); + + ///Include the stack trace of returned errors. + public NodesUsageDescriptor ErrorTrace(bool error_trace = true) => AssignParam(p=>p.ErrorTrace(error_trace)); + + ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. + public NodesUsageDescriptor Source(string source) => AssignParam(p=>p.Source(source)); + + ///A comma-separated list of filters used to reduce the respone. + public NodesUsageDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); + + //TODO THIS METHOD IS UNMAPPED! + + } - + ///descriptor for Ping
http://www.elastic.co/guide/
public partial class PingDescriptor : RequestDescriptorBase, IPingRequest - { - + { + ///Pretty format the returned JSON response. public PingDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -4925,26 +4887,28 @@ public partial class PingDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public PingDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for PutScript
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html
public partial class PutScriptDescriptor : RequestDescriptorBase, IPutScriptRequest - { + { Id IPutScriptRequest.Id => Self.RouteValues.Get("id"); - Name IPutScriptRequest.Lang => Self.RouteValues.Get("lang"); - /// /_scripts/{lang} -/// this parameter is required - public PutScriptDescriptor(Name lang) : base(r=>r.Required("lang", lang)){} - - - /// /_scripts/{lang}/{id} -/// this parameter is required + /// /_scripts/{id} /// this parameter is required - public PutScriptDescriptor(Name lang, Id id) : base(r=>r.Required("lang", lang).Required("id", id)){} - + public PutScriptDescriptor(Id id) : base(r=>r.Required("id", id)){} + + + + ///Explicit operation timeout + public PutScriptDescriptor Timeout(Time timeout) => AssignParam(p=>p.Timeout(timeout.ToTimeSpan())); + + ///Specify timeout for connection to master + public PutScriptDescriptor MasterTimeout(Time master_timeout) => AssignParam(p=>p.MasterTimeout(master_timeout.ToTimeSpan())); + + ///Context name to compile script against + public PutScriptDescriptor Context(string context) => AssignParam(p=>p.Context(context)); - ///Pretty format the returned JSON response. public PutScriptDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -4959,40 +4923,13 @@ public PutScriptDescriptor(Name lang, Id id) : base(r=>r.Required("lang", lang). ///A comma-separated list of filters used to reduce the respone. public PutScriptDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - - } - - ///descriptor for PutTemplate
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html
- public partial class PutSearchTemplateDescriptor : RequestDescriptorBase, IPutSearchTemplateRequest - { - Id IPutSearchTemplateRequest.Id => Self.RouteValues.Get("id"); - /// /_search/template/{id} -/// this parameter is required - public PutSearchTemplateDescriptor(Id id) : base(r=>r.Required("id", id)){} - - - - ///Pretty format the returned JSON response. - public PutSearchTemplateDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); - ///Return human readable values for statistics. - public PutSearchTemplateDescriptor Human(bool human = true) => AssignParam(p=>p.Human(human)); + } - ///Include the stack trace of returned errors. - public PutSearchTemplateDescriptor ErrorTrace(bool error_trace = true) => AssignParam(p=>p.ErrorTrace(error_trace)); + ///descriptor for Reindex
https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html
+ public partial class ReindexOnServerDescriptor : RequestDescriptorBase, IReindexOnServerRequest + { - ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. - public PutSearchTemplateDescriptor Source(string source) => AssignParam(p=>p.Source(source)); - - ///A comma-separated list of filters used to reduce the respone. - public PutSearchTemplateDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - - } - - ///descriptor for Reindex
https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html
- public partial class ReindexOnServerDescriptor : RequestDescriptorBase, IReindexOnServerRequest - { - ///Should the effected indexes be refreshed? public ReindexOnServerDescriptor Refresh(bool refresh = true) => AssignParam(p=>p.Refresh(refresh)); @@ -5022,21 +4959,21 @@ public partial class ReindexOnServerDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public ReindexOnServerDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for ReindexRethrottle
https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html
public partial class ReindexRethrottleDescriptor : RequestDescriptorBase, IReindexRethrottleRequest - { + { TaskId IReindexRethrottleRequest.TaskId => Self.RouteValues.Get("task_id"); /// /_reindex/{task_id}/_rethrottle public ReindexRethrottleDescriptor() : base(){} - + ///The task id to rethrottle 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) => AssignParam(p=>p.RequestsPerSecond(requests_per_second)); @@ -5054,13 +4991,13 @@ public ReindexRethrottleDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public ReindexRethrottleDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - - ///descriptor for RemoteInfo
http://www.elastic.co/guide/en/elasticsearch/reference/5.5/cluster-remote-info.html
+ + ///descriptor for RemoteInfo
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-remote-info.html
public partial class RemoteInfoDescriptor : RequestDescriptorBase, IRemoteInfoRequest - { - + { + ///Pretty format the returned JSON response. public RemoteInfoDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -5075,21 +5012,21 @@ public partial class RemoteInfoDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public RemoteInfoDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for RenderSearchTemplate
http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html
public partial class RenderSearchTemplateDescriptor : RequestDescriptorBase, IRenderSearchTemplateRequest - { + { Id IRenderSearchTemplateRequest.Id => Self.RouteValues.Get("id"); /// /_render/template public RenderSearchTemplateDescriptor() : base(){} - + ///The id of the stored search template public RenderSearchTemplateDescriptor Id(Id id) => Assign(a=>a.RouteValues.Optional("id", id)); - + ///Pretty format the returned JSON response. public RenderSearchTemplateDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -5104,17 +5041,17 @@ public RenderSearchTemplateDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public RenderSearchTemplateDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for Scroll
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html
public partial class ScrollDescriptor : RequestDescriptorBase,ScrollRequestParameters, IScrollRequest>, IScrollRequest - { + { /// /_search/scroll public ScrollDescriptor() : base(){} - - + + ///Pretty format the returned JSON response. public ScrollDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -5129,17 +5066,17 @@ public ScrollDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public ScrollDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for Search
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html
public partial class SearchDescriptor : RequestDescriptorBase,SearchRequestParameters, ISearchRequest>, ISearchRequest - { + { Indices ISearchRequest.Index => Self.RouteValues.Get("index"); Types ISearchRequest.Type => Self.RouteValues.Get("type"); /// /_search public SearchDescriptor() : base(r=> r.Required("index", (Indices)typeof(T)).Required("type", (Types)typeof(T))){} - + ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices public SearchDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -5159,7 +5096,7 @@ public SearchDescriptor() : base(r=> r.Required("index", (Indices)typeof(T)).Req ///a shortcut into calling Type(Types.All) public SearchDescriptor AllTypes() => this.Type(Types.All); - + ///The analyzer to use for the query string public SearchDescriptor Analyzer(string analyzer) => AssignParam(p=>p.Analyzer(analyzer)); @@ -5174,7 +5111,7 @@ public SearchDescriptor() : base(r=> r.Required("index", (Indices)typeof(T)).Req ///A comma-separated list of fields to return as the docvalue representation of a field for each hit public SearchDescriptor DocvalueFields(params string[] docvalue_fields) => AssignParam(p=>p.DocvalueFields(docvalue_fields)); - + ///A comma-separated list of fields to return as the docvalue representation of a field for each hit public SearchDescriptor DocvalueFields(params Expression>[] fields) => AssignParam(p=>p._DocvalueFields(fields)); @@ -5222,6 +5159,9 @@ public SearchDescriptor SuggestField(Expression> field) => ///The source text for which the suggestions should be returned public SearchDescriptor SuggestText(string suggest_text) => AssignParam(p=>p.SuggestText(suggest_text)); + ///Indicate if the number of documents that match the query should be tracked + public SearchDescriptor TrackTotalHits(bool track_total_hits = true) => AssignParam(p=>p.TrackTotalHits(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) => AssignParam(p=>p.TypedKeys(typed_keys)); @@ -5231,6 +5171,12 @@ public SearchDescriptor SuggestField(Expression> field) => ///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) => AssignParam(p=>p.BatchedReduceSize(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) => AssignParam(p=>p.MaxConcurrentShardRequests(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) => AssignParam(p=>p.PreFilterShardSize(pre_filter_shard_size)); + ///Pretty format the returned JSON response. public SearchDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -5242,16 +5188,16 @@ public SearchDescriptor SuggestField(Expression> field) => ///A comma-separated list of filters used to reduce the respone. public SearchDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for SearchShards
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html
public partial class SearchShardsDescriptor : RequestDescriptorBase,SearchShardsRequestParameters, ISearchShardsRequest>, ISearchShardsRequest - { + { Indices ISearchShardsRequest.Index => Self.RouteValues.Get("index"); /// /_search_shards public SearchShardsDescriptor() : base(){} - + ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices public SearchShardsDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -5262,7 +5208,7 @@ public SearchShardsDescriptor() : base(){} ///A shortcut into calling Index(Indices.All) public SearchShardsDescriptor AllIndices() => this.Index(Indices.All); - + ///Specify the node or shard the operation should be performed on (default: random) public SearchShardsDescriptor Preference(string preference) => AssignParam(p=>p.Preference(preference)); @@ -5295,17 +5241,17 @@ public SearchShardsDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public SearchShardsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for SearchTemplate
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html
public partial class SearchTemplateDescriptor : RequestDescriptorBase,SearchTemplateRequestParameters, ISearchTemplateRequest>, ISearchTemplateRequest - { + { Indices ISearchTemplateRequest.Index => Self.RouteValues.Get("index"); Types ISearchTemplateRequest.Type => Self.RouteValues.Get("type"); /// /_search/template public SearchTemplateDescriptor() : base(r=> r.Required("index", (Indices)typeof(T)).Required("type", (Types)typeof(T))){} - + ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices public SearchTemplateDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Optional("index", index)); @@ -5325,7 +5271,7 @@ public SearchTemplateDescriptor() : base(r=> r.Required("index", (Indices)typeof ///a shortcut into calling Type(Types.All) 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) => AssignParam(p=>p.IgnoreUnavailable(ignore_unavailable)); @@ -5370,21 +5316,21 @@ public SearchTemplateDescriptor() : base(r=> r.Required("index", (Indices)typeof ///A comma-separated list of filters used to reduce the respone. public SearchTemplateDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for SnapshotCreate
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
public partial class SnapshotDescriptor : RequestDescriptorBase, ISnapshotRequest - { + { Name ISnapshotRequest.RepositoryName => Self.RouteValues.Get("repository"); Name ISnapshotRequest.Snapshot => Self.RouteValues.Get("snapshot"); - /// /_snapshot/{repository}/{snapshot} -/// this parameter is required + /// /_snapshot/{repository}/{snapshot} +/// this parameter is required /// this parameter is required public SnapshotDescriptor(Name repository, Name snapshot) : base(r=>r.Required("repository", repository).Required("snapshot", snapshot)){} - - + + ///Explicit operation timeout for connection to master node public SnapshotDescriptor MasterTimeout(Time master_timeout) => AssignParam(p=>p.MasterTimeout(master_timeout.ToTimeSpan())); @@ -5405,19 +5351,19 @@ public SnapshotDescriptor(Name repository, Name snapshot) : base(r=>r.Required(" ///A comma-separated list of filters used to reduce the respone. public SnapshotDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for SnapshotCreateRepository
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
public partial class CreateRepositoryDescriptor : RequestDescriptorBase, ICreateRepositoryRequest - { + { Name ICreateRepositoryRequest.RepositoryName => Self.RouteValues.Get("repository"); - /// /_snapshot/{repository} + /// /_snapshot/{repository} /// this parameter is required public CreateRepositoryDescriptor(Name repository) : base(r=>r.Required("repository", repository)){} - - + + ///Explicit operation timeout for connection to master node public CreateRepositoryDescriptor MasterTimeout(Time master_timeout) => AssignParam(p=>p.MasterTimeout(master_timeout.ToTimeSpan())); @@ -5441,21 +5387,21 @@ public CreateRepositoryDescriptor(Name repository) : base(r=>r.Required("reposit ///A comma-separated list of filters used to reduce the respone. public CreateRepositoryDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for SnapshotDelete
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
public partial class DeleteSnapshotDescriptor : RequestDescriptorBase, IDeleteSnapshotRequest - { + { Name IDeleteSnapshotRequest.RepositoryName => Self.RouteValues.Get("repository"); Name IDeleteSnapshotRequest.Snapshot => Self.RouteValues.Get("snapshot"); - /// /_snapshot/{repository}/{snapshot} -/// this parameter is required + /// /_snapshot/{repository}/{snapshot} +/// this parameter is required /// this parameter is required public DeleteSnapshotDescriptor(Name repository, Name snapshot) : base(r=>r.Required("repository", repository).Required("snapshot", snapshot)){} - - + + ///Explicit operation timeout for connection to master node public DeleteSnapshotDescriptor MasterTimeout(Time master_timeout) => AssignParam(p=>p.MasterTimeout(master_timeout.ToTimeSpan())); @@ -5473,19 +5419,19 @@ public DeleteSnapshotDescriptor(Name repository, Name snapshot) : base(r=>r.Requ ///A comma-separated list of filters used to reduce the respone. public DeleteSnapshotDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for SnapshotDeleteRepository
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
public partial class DeleteRepositoryDescriptor : RequestDescriptorBase, IDeleteRepositoryRequest - { + { Names IDeleteRepositoryRequest.RepositoryName => Self.RouteValues.Get("repository"); - /// /_snapshot/{repository} + /// /_snapshot/{repository} /// this parameter is required public DeleteRepositoryDescriptor(Names repository) : base(r=>r.Required("repository", repository)){} - - + + ///Explicit operation timeout for connection to master node public DeleteRepositoryDescriptor MasterTimeout(Time master_timeout) => AssignParam(p=>p.MasterTimeout(master_timeout.ToTimeSpan())); @@ -5506,21 +5452,21 @@ public DeleteRepositoryDescriptor(Names repository) : base(r=>r.Required("reposi ///A comma-separated list of filters used to reduce the respone. public DeleteRepositoryDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for SnapshotGet
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
public partial class GetSnapshotDescriptor : RequestDescriptorBase, IGetSnapshotRequest - { + { Name IGetSnapshotRequest.RepositoryName => Self.RouteValues.Get("repository"); Names IGetSnapshotRequest.Snapshot => Self.RouteValues.Get("snapshot"); - /// /_snapshot/{repository}/{snapshot} -/// this parameter is required + /// /_snapshot/{repository}/{snapshot} +/// this parameter is required /// this parameter is required public GetSnapshotDescriptor(Name repository, Names snapshot) : base(r=>r.Required("repository", repository).Required("snapshot", snapshot)){} - - + + ///Explicit operation timeout for connection to master node public GetSnapshotDescriptor MasterTimeout(Time master_timeout) => AssignParam(p=>p.MasterTimeout(master_timeout.ToTimeSpan())); @@ -5544,21 +5490,21 @@ public GetSnapshotDescriptor(Name repository, Names snapshot) : base(r=>r.Requir ///A comma-separated list of filters used to reduce the respone. public GetSnapshotDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for SnapshotGetRepository
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
public partial class GetRepositoryDescriptor : RequestDescriptorBase, IGetRepositoryRequest - { + { Names IGetRepositoryRequest.RepositoryName => Self.RouteValues.Get("repository"); /// /_snapshot public GetRepositoryDescriptor() : base(){} - + ///A comma-separated list of repository names public GetRepositoryDescriptor RepositoryName(Names repository) => Assign(a=>a.RouteValues.Optional("repository", repository)); - + ///Explicit operation timeout for connection to master node public GetRepositoryDescriptor MasterTimeout(Time master_timeout) => AssignParam(p=>p.MasterTimeout(master_timeout.ToTimeSpan())); @@ -5579,21 +5525,21 @@ public GetRepositoryDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public GetRepositoryDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for SnapshotRestore
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
public partial class RestoreDescriptor : RequestDescriptorBase, IRestoreRequest - { + { Name IRestoreRequest.RepositoryName => Self.RouteValues.Get("repository"); Name IRestoreRequest.Snapshot => Self.RouteValues.Get("snapshot"); - /// /_snapshot/{repository}/{snapshot}/_restore -/// this parameter is required + /// /_snapshot/{repository}/{snapshot}/_restore +/// this parameter is required /// this parameter is required public RestoreDescriptor(Name repository, Name snapshot) : base(r=>r.Required("repository", repository).Required("snapshot", snapshot)){} - - + + ///Explicit operation timeout for connection to master node public RestoreDescriptor MasterTimeout(Time master_timeout) => AssignParam(p=>p.MasterTimeout(master_timeout.ToTimeSpan())); @@ -5614,17 +5560,17 @@ public RestoreDescriptor(Name repository, Name snapshot) : base(r=>r.Required("r ///A comma-separated list of filters used to reduce the respone. public RestoreDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for SnapshotStatus
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
public partial class SnapshotStatusDescriptor : RequestDescriptorBase, ISnapshotStatusRequest - { + { Name ISnapshotStatusRequest.RepositoryName => Self.RouteValues.Get("repository"); Names ISnapshotStatusRequest.Snapshot => Self.RouteValues.Get("snapshot"); /// /_snapshot/_status public SnapshotStatusDescriptor() : base(){} - + ///A repository name public SnapshotStatusDescriptor RepositoryName(Name repository) => Assign(a=>a.RouteValues.Optional("repository", repository)); @@ -5632,7 +5578,7 @@ public SnapshotStatusDescriptor() : base(){} ///A comma-separated list of snapshot names public SnapshotStatusDescriptor Snapshot(Names snapshot) => Assign(a=>a.RouteValues.Optional("snapshot", snapshot)); - + ///Explicit operation timeout for connection to master node public SnapshotStatusDescriptor MasterTimeout(Time master_timeout) => AssignParam(p=>p.MasterTimeout(master_timeout.ToTimeSpan())); @@ -5653,19 +5599,19 @@ public SnapshotStatusDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public SnapshotStatusDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for SnapshotVerifyRepository
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
public partial class VerifyRepositoryDescriptor : RequestDescriptorBase, IVerifyRepositoryRequest - { + { Name IVerifyRepositoryRequest.RepositoryName => Self.RouteValues.Get("repository"); - /// /_snapshot/{repository}/_verify + /// /_snapshot/{repository}/_verify /// this parameter is required public VerifyRepositoryDescriptor(Name repository) : base(r=>r.Required("repository", repository)){} - - + + ///Explicit operation timeout for connection to master node public VerifyRepositoryDescriptor MasterTimeout(Time master_timeout) => AssignParam(p=>p.MasterTimeout(master_timeout.ToTimeSpan())); @@ -5686,21 +5632,21 @@ public VerifyRepositoryDescriptor(Name repository) : base(r=>r.Required("reposit ///A comma-separated list of filters used to reduce the respone. public VerifyRepositoryDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for TasksCancel
http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html
public partial class CancelTasksDescriptor : RequestDescriptorBase, ICancelTasksRequest - { + { TaskId ICancelTasksRequest.TaskId => Self.RouteValues.Get("task_id"); /// /_tasks/_cancel public CancelTasksDescriptor() : base(){} - + ///Cancel the task with specified task id (node_id:task_number) public CancelTasksDescriptor TaskId(TaskId taskId) => Assign(a=>a.RouteValues.Optional("task_id", taskId)); - + ///A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes public CancelTasksDescriptor NodeId(params string[] node_id) => AssignParam(p=>p.NodeId(node_id)); @@ -5727,21 +5673,21 @@ public CancelTasksDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public CancelTasksDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for TasksGet
http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html
public partial class GetTaskDescriptor : RequestDescriptorBase, IGetTaskRequest - { + { TaskId IGetTaskRequest.TaskId => Self.RouteValues.Get("task_id"); /// /_tasks/{task_id} public GetTaskDescriptor() : base(){} - + ///Return the task with specified id (node_id:task_number) 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) => AssignParam(p=>p.WaitForCompletion(wait_for_completion)); @@ -5759,13 +5705,13 @@ public GetTaskDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public GetTaskDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for TasksList
http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html
public partial class ListTasksDescriptor : RequestDescriptorBase, IListTasksRequest - { - + { + ///A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes public ListTasksDescriptor NodeId(params string[] node_id) => AssignParam(p=>p.NodeId(node_id)); @@ -5801,23 +5747,23 @@ public partial class ListTasksDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public ListTasksDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for Termvectors
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html
public partial class TermVectorsDescriptor : RequestDescriptorBase,TermVectorsRequestParameters, ITermVectorsRequest>, ITermVectorsRequest - { + { IndexName ITermVectorsRequest.Index => Self.RouteValues.Get("index"); TypeName ITermVectorsRequest.Type => Self.RouteValues.Get("type"); Id ITermVectorsRequest.Id => Self.RouteValues.Get("id"); - /// /{index}/{type}/_termvectors -/// this parameter is required + /// /{index}/{type}/_termvectors +/// this parameter is required /// this parameter is required public TermVectorsDescriptor(IndexName index, TypeName type) : base(r=>r.Required("index", index).Required("type", type)){} - - /// /{index}/{type}/_termvectors - + + /// /{index}/{type}/_termvectors + /// describes an elasticsearch document of type from which the index, type and id can be inferred public TermVectorsDescriptor(DocumentPath document) : base(r=>r.Required("index", document.Self.Index).Required("type", document.Self.Type).Required("id", document.Self.Id)){ this.DocumentFromPath(document.Document); } partial void DocumentFromPath(TDocument document); @@ -5837,7 +5783,7 @@ public TermVectorsDescriptor(IndexName index, TypeName type) : base(r=>r.Require ///The id of the document, when not specified a doc param should be supplied. 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) => AssignParam(p=>p.TermStatistics(term_statistics)); @@ -5846,7 +5792,7 @@ public TermVectorsDescriptor(IndexName index, TypeName type) : base(r=>r.Require ///A comma-separated list of fields to return. public TermVectorsDescriptor Fields(params string[] fields) => AssignParam(p=>p.Fields(fields)); - + ///A comma-separated list of fields to return. public TermVectorsDescriptor Fields(params Expression>[] fields) => AssignParam(p=>p._Fields(fields)); @@ -5892,24 +5838,24 @@ public TermVectorsDescriptor Fields(params ExpressionA comma-separated list of filters used to reduce the respone. public TermVectorsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for Update
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update.html
public partial class UpdateDescriptor : RequestDescriptorBase,UpdateRequestParameters, IUpdateRequest>, IUpdateRequest - { + { Id IUpdateRequest.Id => Self.RouteValues.Get("id"); IndexName IUpdateRequest.Index => Self.RouteValues.Get("index"); TypeName IUpdateRequest.Type => Self.RouteValues.Get("type"); - /// /{index}/{type}/{id}/_update -/// this parameter is required -/// this parameter is required + /// /{index}/{type}/{id}/_update +/// this parameter is required +/// this parameter is required /// this parameter is required public UpdateDescriptor(IndexName index, TypeName type, Id id) : base(r=>r.Required("index", index).Required("type", type).Required("id", id)){} - - /// /{index}/{type}/{id}/_update - + + /// /{index}/{type}/{id}/_update + /// describes an elasticsearch document of type from which the index, type and id can be inferred public UpdateDescriptor(DocumentPath document) : base(r=>r.Required("index", document.Self.Index).Required("type", document.Self.Type).Required("id", document.Self.Id)){ this.DocumentFromPath(document.Document); } partial void DocumentFromPath(TDocument document); @@ -5926,7 +5872,7 @@ public UpdateDescriptor(IndexName index, TypeName type, Id id) : base(r=>r.Requi ///a shortcut into calling Type(typeof(TOther)) public UpdateDescriptor Type() where TOther : class => Assign(a=>a.RouteValues.Required("type", (TypeName)typeof(TOther))); - + ///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) => AssignParam(p=>p.WaitForActiveShards(wait_for_active_shards)); @@ -5977,18 +5923,18 @@ public UpdateDescriptor(IndexName index, TypeName type, Id id) : base(r=>r.Requi ///A comma-separated list of filters used to reduce the respone. public UpdateDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for UpdateByQuery
https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html
public partial class UpdateByQueryDescriptor : RequestDescriptorBase,UpdateByQueryRequestParameters, IUpdateByQueryRequest>, IUpdateByQueryRequest - { + { Indices IUpdateByQueryRequest.Index => Self.RouteValues.Get("index"); Types IUpdateByQueryRequest.Type => Self.RouteValues.Get("type"); - /// /{index}/_update_by_query + /// /{index}/_update_by_query /// this parameter is required public UpdateByQueryDescriptor(Indices index) : base(r=>r.Required("index", index).Required("type", (Types)typeof(T))){} - + ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices public UpdateByQueryDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Required("index", index)); @@ -6008,7 +5954,7 @@ public UpdateByQueryDescriptor(Indices index) : base(r=>r.Required("index", inde ///a shortcut into calling Type(Types.All) public UpdateByQueryDescriptor AllTypes() => this.Type(Types.All); - + ///The analyzer to use for the query string public UpdateByQueryDescriptor Analyzer(string analyzer) => AssignParam(p=>p.Analyzer(analyzer)); @@ -6071,14 +6017,14 @@ public UpdateByQueryDescriptor(Indices index) : base(r=>r.Required("index", inde ///A list of fields to exclude from the returned _source field public UpdateByQueryDescriptor SourceExclude(params string[] source_exclude) => AssignParam(p=>p.SourceExclude(source_exclude)); - + ///A list of fields to exclude from the returned _source field public UpdateByQueryDescriptor SourceExclude(params Expression>[] fields) => AssignParam(p=>p._SourceExclude(fields)); ///A list of fields to extract and return from the _source field public UpdateByQueryDescriptor SourceInclude(params string[] source_include) => AssignParam(p=>p.SourceInclude(source_include)); - + ///A list of fields to extract and return from the _source field public UpdateByQueryDescriptor SourceInclude(params Expression>[] fields) => AssignParam(p=>p._SourceInclude(fields)); @@ -6133,18 +6079,18 @@ public UpdateByQueryDescriptor SourceInclude(params ExpressionA comma-separated list of filters used to reduce the respone. public UpdateByQueryDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - - ///descriptor for XpackGraphExplore
https://www.elastic.co/guide/en/graph/current/explore.html
+ + ///descriptor for XpackGraphExplore
https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html
public partial class GraphExploreDescriptor : RequestDescriptorBase,GraphExploreRequestParameters, IGraphExploreRequest>, IGraphExploreRequest - { + { Indices IGraphExploreRequest.Index => Self.RouteValues.Get("index"); Types IGraphExploreRequest.Type => Self.RouteValues.Get("type"); - /// /{index}/_xpack/_graph/_explore + /// /{index}/_xpack/graph/_explore /// this parameter is required public GraphExploreDescriptor(Indices index) : base(r=>r.Required("index", index)){} - + ///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices public GraphExploreDescriptor Index(Indices index) => Assign(a=>a.RouteValues.Required("index", index)); @@ -6164,7 +6110,7 @@ public GraphExploreDescriptor(Indices index) : base(r=>r.Required("index", index ///a shortcut into calling Type(Types.All) public GraphExploreDescriptor AllTypes() => this.Type(Types.All); - + ///Specific routing value public GraphExploreDescriptor Routing(string routing) => AssignParam(p=>p.Routing(routing)); @@ -6185,13 +6131,48 @@ public GraphExploreDescriptor(Indices index) : base(r=>r.Required("index", index ///A comma-separated list of filters used to reduce the respone. public GraphExploreDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + + ///descriptor for XpackDeprecationInfo
http://www.elastic.co/guide/en/migration/current/migration-api-deprecation.html
+ public partial class XpackDeprecationInfoDescriptor : RequestDescriptorBase, IXpackDeprecationInfoRequest + { + IndexName IXpackDeprecationInfoRequest.Index => Self.RouteValues.Get("index"); + /// /_xpack/migration/deprecations + public XpackDeprecationInfoDescriptor() : base(){} + + + ///Index pattern + public XpackDeprecationInfoDescriptor Index(IndexName index) => Assign(a=>a.RouteValues.Optional("index", index)); + + ///a shortcut into calling Index(typeof(TOther)) + public XpackDeprecationInfoDescriptor Index() where TOther : class => Assign(a=>a.RouteValues.Optional("index", (IndexName)typeof(TOther))); + + + ///Pretty format the returned JSON response. + public XpackDeprecationInfoDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); + + ///Return human readable values for statistics. + public XpackDeprecationInfoDescriptor Human(bool human = true) => AssignParam(p=>p.Human(human)); + + ///Include the stack trace of returned errors. + public XpackDeprecationInfoDescriptor ErrorTrace(bool error_trace = true) => AssignParam(p=>p.ErrorTrace(error_trace)); + + ///The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. + public XpackDeprecationInfoDescriptor Source(string source) => AssignParam(p=>p.Source(source)); + + ///A comma-separated list of filters used to reduce the respone. + public XpackDeprecationInfoDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); + + //TODO THIS METHOD IS UNMAPPED! + + + } + ///descriptor for XpackInfo
https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html
public partial class XPackInfoDescriptor : RequestDescriptorBase, IXPackInfoRequest - { - + { + ///Presents additional info for humans (feature descriptions and X-Pack tagline) public XPackInfoDescriptor Human(bool human = true) => AssignParam(p=>p.Human(human)); @@ -6209,13 +6190,13 @@ public partial class XPackInfoDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public XPackInfoDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackUsage
Retrieve information about xpack features usage
public partial class XPackUsageDescriptor : RequestDescriptorBase, IXPackUsageRequest - { - + { + ///Specify timeout for watch write operation public XPackUsageDescriptor MasterTimeout(Time master_timeout) => AssignParam(p=>p.MasterTimeout(master_timeout.ToTimeSpan())); @@ -6233,13 +6214,13 @@ public partial class XPackUsageDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public XPackUsageDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - - ///descriptor for XpackLicenseDelete
https://www.elastic.co/guide/en/shield/current/license-management.html
+ + ///descriptor for XpackLicenseDelete
https://www.elastic.co/guide/en/x-pack/current/license-management.html
public partial class DeleteLicenseDescriptor : RequestDescriptorBase, IDeleteLicenseRequest - { - + { + ///Pretty format the returned JSON response. public DeleteLicenseDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -6254,13 +6235,13 @@ public partial class DeleteLicenseDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public DeleteLicenseDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - - ///descriptor for XpackLicenseGet
https://www.elastic.co/guide/en/shield/current/license-management.html
+ + ///descriptor for XpackLicenseGet
https://www.elastic.co/guide/en/x-pack/current/license-management.html
public partial class GetLicenseDescriptor : RequestDescriptorBase, IGetLicenseRequest - { - + { + ///Return local information, do not retrieve the state from master node (default: false) public GetLicenseDescriptor Local(bool local = true) => AssignParam(p=>p.Local(local)); @@ -6278,13 +6259,13 @@ public partial class GetLicenseDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public GetLicenseDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - - ///descriptor for XpackLicensePost
https://www.elastic.co/guide/en/shield/current/license-management.html
+ + ///descriptor for XpackLicensePost
https://www.elastic.co/guide/en/x-pack/current/license-management.html
public partial class PostLicenseDescriptor : RequestDescriptorBase, IPostLicenseRequest - { - + { + ///whether the user has acknowledged acknowledge messages (default: false) public PostLicenseDescriptor Acknowledge(bool acknowledge = true) => AssignParam(p=>p.Acknowledge(acknowledge)); @@ -6302,19 +6283,19 @@ public partial class PostLicenseDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public PostLicenseDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlCloseJob
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-close-job.html
public partial class CloseJobDescriptor : RequestDescriptorBase, ICloseJobRequest - { + { Id ICloseJobRequest.JobId => Self.RouteValues.Get("job_id"); - /// /_xpack/ml/anomaly_detectors/{job_id}/_close + /// /_xpack/ml/anomaly_detectors/{job_id}/_close /// this parameter is required 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) => AssignParam(p=>p.Force(force)); @@ -6335,19 +6316,19 @@ public CloseJobDescriptor(Id job_id) : base(r=>r.Required("job_id", job_id)){} ///A comma-separated list of filters used to reduce the respone. public CloseJobDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlDeleteDatafeed
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-datafeed.html
public partial class DeleteDatafeedDescriptor : RequestDescriptorBase, IDeleteDatafeedRequest - { + { Id IDeleteDatafeedRequest.DatafeedId => Self.RouteValues.Get("datafeed_id"); - /// /_xpack/ml/datafeeds/{datafeed_id} + /// /_xpack/ml/datafeeds/{datafeed_id} /// this parameter is required public DeleteDatafeedDescriptor(Id datafeed_id) : base(r=>r.Required("datafeed_id", datafeed_id)){} - - + + ///True if the datafeed should be forcefully deleted public DeleteDatafeedDescriptor Force(bool force = true) => AssignParam(p=>p.Force(force)); @@ -6365,13 +6346,13 @@ public DeleteDatafeedDescriptor(Id datafeed_id) : base(r=>r.Required("datafeed_i ///A comma-separated list of filters used to reduce the respone. public DeleteDatafeedDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlDeleteExpiredData
public partial class DeleteExpiredDataDescriptor : RequestDescriptorBase, IDeleteExpiredDataRequest - { - + { + ///Pretty format the returned JSON response. public DeleteExpiredDataDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -6386,19 +6367,19 @@ public partial class DeleteExpiredDataDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public DeleteExpiredDataDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlDeleteJob
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-job.html
public partial class DeleteJobDescriptor : RequestDescriptorBase, IDeleteJobRequest - { + { Id IDeleteJobRequest.JobId => Self.RouteValues.Get("job_id"); - /// /_xpack/ml/anomaly_detectors/{job_id} + /// /_xpack/ml/anomaly_detectors/{job_id} /// this parameter is required 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) => AssignParam(p=>p.Force(force)); @@ -6416,21 +6397,21 @@ public DeleteJobDescriptor(Id job_id) : base(r=>r.Required("job_id", job_id)){} ///A comma-separated list of filters used to reduce the respone. public DeleteJobDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlDeleteModelSnapshot
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-snapshot.html
public partial class DeleteModelSnapshotDescriptor : RequestDescriptorBase, IDeleteModelSnapshotRequest - { + { Id IDeleteModelSnapshotRequest.JobId => Self.RouteValues.Get("job_id"); Id IDeleteModelSnapshotRequest.SnapshotId => Self.RouteValues.Get("snapshot_id"); - /// /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id} -/// this parameter is required + /// /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id} +/// this parameter is required /// this parameter is required public DeleteModelSnapshotDescriptor(Id job_id, Id snapshot_id) : base(r=>r.Required("job_id", job_id).Required("snapshot_id", snapshot_id)){} - - + + ///Pretty format the returned JSON response. public DeleteModelSnapshotDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -6445,19 +6426,19 @@ public DeleteModelSnapshotDescriptor(Id job_id, Id snapshot_id) : base(r=>r.Requ ///A comma-separated list of filters used to reduce the respone. public DeleteModelSnapshotDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlFlushJob
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html
public partial class FlushJobDescriptor : RequestDescriptorBase, IFlushJobRequest - { + { Id IFlushJobRequest.JobId => Self.RouteValues.Get("job_id"); - /// /_xpack/ml/anomaly_detectors/{job_id}/_flush + /// /_xpack/ml/anomaly_detectors/{job_id}/_flush /// this parameter is required public FlushJobDescriptor(Id job_id) : base(r=>r.Required("job_id", job_id)){} - - + + ///Pretty format the returned JSON response. public FlushJobDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -6472,19 +6453,19 @@ public FlushJobDescriptor(Id job_id) : base(r=>r.Required("job_id", job_id)){} ///A comma-separated list of filters used to reduce the respone. public FlushJobDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlGetBuckets
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html
public partial class GetBucketsDescriptor : RequestDescriptorBase, IGetBucketsRequest - { + { Id IGetBucketsRequest.JobId => Self.RouteValues.Get("job_id"); - /// /_xpack/ml/anomaly_detectors/{job_id}/results/buckets + /// /_xpack/ml/anomaly_detectors/{job_id}/results/buckets /// this parameter is required 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) => AssignParam(p=>p.Pretty(pretty)); @@ -6499,23 +6480,23 @@ public GetBucketsDescriptor(Id job_id) : base(r=>r.Required("job_id", job_id)){} ///A comma-separated list of filters used to reduce the respone. public GetBucketsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlGetCategories
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html
public partial class GetCategoriesDescriptor : RequestDescriptorBase, IGetCategoriesRequest - { + { Id IGetCategoriesRequest.JobId => Self.RouteValues.Get("job_id"); CategoryId IGetCategoriesRequest.CategoryId => Self.RouteValues.Get("category_id"); - /// /_xpack/ml/anomaly_detectors/{job_id}/results/categories/{category_id} + /// /_xpack/ml/anomaly_detectors/{job_id}/results/categories/{category_id} /// this parameter is required public GetCategoriesDescriptor(Id job_id) : base(r=>r.Required("job_id", job_id)){} - + ///The identifier of the category definition of interest 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) => AssignParam(p=>p.Pretty(pretty)); @@ -6530,21 +6511,21 @@ public GetCategoriesDescriptor(Id job_id) : base(r=>r.Required("job_id", job_id) ///A comma-separated list of filters used to reduce the respone. public GetCategoriesDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlGetDatafeeds
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html
public partial class GetDatafeedsDescriptor : RequestDescriptorBase, IGetDatafeedsRequest - { + { Id IGetDatafeedsRequest.DatafeedId => Self.RouteValues.Get("datafeed_id"); /// /_xpack/ml/datafeeds/{datafeed_id} public GetDatafeedsDescriptor() : base(){} - + ///The ID of the datafeeds to fetch public GetDatafeedsDescriptor DatafeedId(Id datafeedId) => Assign(a=>a.RouteValues.Optional("datafeed_id", datafeedId)); - + ///Pretty format the returned JSON response. public GetDatafeedsDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -6559,21 +6540,21 @@ public GetDatafeedsDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public GetDatafeedsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlGetDatafeedStats
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html
public partial class GetDatafeedStatsDescriptor : RequestDescriptorBase, IGetDatafeedStatsRequest - { + { Id IGetDatafeedStatsRequest.DatafeedId => Self.RouteValues.Get("datafeed_id"); /// /_xpack/ml/datafeeds/{datafeed_id}/_stats public GetDatafeedStatsDescriptor() : base(){} - + ///The ID of the datafeeds stats to fetch public GetDatafeedStatsDescriptor DatafeedId(Id datafeedId) => Assign(a=>a.RouteValues.Optional("datafeed_id", datafeedId)); - + ///Pretty format the returned JSON response. public GetDatafeedStatsDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -6588,19 +6569,19 @@ public GetDatafeedStatsDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public GetDatafeedStatsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlGetInfluencers
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html
public partial class GetInfluencersDescriptor : RequestDescriptorBase, IGetInfluencersRequest - { + { Id IGetInfluencersRequest.JobId => Self.RouteValues.Get("job_id"); - /// /_xpack/ml/anomaly_detectors/{job_id}/results/influencers + /// /_xpack/ml/anomaly_detectors/{job_id}/results/influencers /// this parameter is required 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) => AssignParam(p=>p.Pretty(pretty)); @@ -6615,21 +6596,21 @@ public GetInfluencersDescriptor(Id job_id) : base(r=>r.Required("job_id", job_id ///A comma-separated list of filters used to reduce the respone. public GetInfluencersDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlGetJobs
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html
public partial class GetJobsDescriptor : RequestDescriptorBase, IGetJobsRequest - { + { Id IGetJobsRequest.JobId => Self.RouteValues.Get("job_id"); /// /_xpack/ml/anomaly_detectors/{job_id} public GetJobsDescriptor() : base(){} - + ///The ID of the jobs to fetch public GetJobsDescriptor JobId(Id jobId) => Assign(a=>a.RouteValues.Optional("job_id", jobId)); - + ///Pretty format the returned JSON response. public GetJobsDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -6644,21 +6625,21 @@ public GetJobsDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public GetJobsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlGetJobStats
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html
public partial class GetJobStatsDescriptor : RequestDescriptorBase, IGetJobStatsRequest - { + { Id IGetJobStatsRequest.JobId => Self.RouteValues.Get("job_id"); /// /_xpack/ml/anomaly_detectors/_stats public GetJobStatsDescriptor() : base(){} - + ///The ID of the jobs stats to fetch public GetJobStatsDescriptor JobId(Id jobId) => Assign(a=>a.RouteValues.Optional("job_id", jobId)); - + ///Pretty format the returned JSON response. public GetJobStatsDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -6673,23 +6654,23 @@ public GetJobStatsDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public GetJobStatsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlGetModelSnapshots
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html
public partial class GetModelSnapshotsDescriptor : RequestDescriptorBase, IGetModelSnapshotsRequest - { + { Id IGetModelSnapshotsRequest.JobId => Self.RouteValues.Get("job_id"); Id IGetModelSnapshotsRequest.SnapshotId => Self.RouteValues.Get("snapshot_id"); - /// /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id} + /// /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id} /// this parameter is required public GetModelSnapshotsDescriptor(Id job_id) : base(r=>r.Required("job_id", job_id)){} - + ///The ID of the snapshot to fetch 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) => AssignParam(p=>p.Pretty(pretty)); @@ -6704,19 +6685,19 @@ public GetModelSnapshotsDescriptor(Id job_id) : base(r=>r.Required("job_id", job ///A comma-separated list of filters used to reduce the respone. public GetModelSnapshotsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlGetRecords
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html
public partial class GetAnomalyRecordsDescriptor : RequestDescriptorBase, IGetAnomalyRecordsRequest - { + { Id IGetAnomalyRecordsRequest.JobId => Self.RouteValues.Get("job_id"); - /// /_xpack/ml/anomaly_detectors/{job_id}/results/records + /// /_xpack/ml/anomaly_detectors/{job_id}/results/records /// this parameter is required public GetAnomalyRecordsDescriptor(Id job_id) : base(r=>r.Required("job_id", job_id)){} - - + + ///Pretty format the returned JSON response. public GetAnomalyRecordsDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -6731,19 +6712,19 @@ public GetAnomalyRecordsDescriptor(Id job_id) : base(r=>r.Required("job_id", job ///A comma-separated list of filters used to reduce the respone. public GetAnomalyRecordsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlOpenJob
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-open-job.html
public partial class OpenJobDescriptor : RequestDescriptorBase, IOpenJobRequest - { + { Id IOpenJobRequest.JobId => Self.RouteValues.Get("job_id"); - /// /_xpack/ml/anomaly_detectors/{job_id}/_open + /// /_xpack/ml/anomaly_detectors/{job_id}/_open /// this parameter is required public OpenJobDescriptor(Id job_id) : base(r=>r.Required("job_id", job_id)){} - - + + ///Pretty format the returned JSON response. public OpenJobDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -6758,19 +6739,19 @@ public OpenJobDescriptor(Id job_id) : base(r=>r.Required("job_id", job_id)){} ///A comma-separated list of filters used to reduce the respone. public OpenJobDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlPostData
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-data.html
public partial class PostJobDataDescriptor : RequestDescriptorBase, IPostJobDataRequest - { + { Id IPostJobDataRequest.JobId => Self.RouteValues.Get("job_id"); - /// /_xpack/ml/anomaly_detectors/{job_id}/_data + /// /_xpack/ml/anomaly_detectors/{job_id}/_data /// this parameter is required public PostJobDataDescriptor(Id job_id) : base(r=>r.Required("job_id", job_id)){} - - + + ///Optional parameter to specify the start of the bucket resetting range public PostJobDataDescriptor ResetStart(DateTimeOffset reset_start) => AssignParam(p=>p.ResetStart(reset_start)); @@ -6791,19 +6772,19 @@ public PostJobDataDescriptor(Id job_id) : base(r=>r.Required("job_id", job_id)){ ///A comma-separated list of filters used to reduce the respone. public PostJobDataDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlPreviewDatafeed
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html
public partial class PreviewDatafeedDescriptor : RequestDescriptorBase, IPreviewDatafeedRequest - { + { Id IPreviewDatafeedRequest.DatafeedId => Self.RouteValues.Get("datafeed_id"); - /// /_xpack/ml/datafeeds/{datafeed_id}/_preview + /// /_xpack/ml/datafeeds/{datafeed_id}/_preview /// this parameter is required public PreviewDatafeedDescriptor(Id datafeed_id) : base(r=>r.Required("datafeed_id", datafeed_id)){} - - + + ///Pretty format the returned JSON response. public PreviewDatafeedDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -6818,19 +6799,19 @@ public PreviewDatafeedDescriptor(Id datafeed_id) : base(r=>r.Required("datafeed_ ///A comma-separated list of filters used to reduce the respone. public PreviewDatafeedDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlPutDatafeed
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-datafeed.html
public partial class PutDatafeedDescriptor : RequestDescriptorBase,PutDatafeedRequestParameters, IPutDatafeedRequest>, IPutDatafeedRequest - { + { Id IPutDatafeedRequest.DatafeedId => Self.RouteValues.Get("datafeed_id"); - /// /_xpack/ml/datafeeds/{datafeed_id}. Will infer the index and type from the generic type + /// /_xpack/ml/datafeeds/{datafeed_id}. Will infer the index and type from the generic type /// this parameter is required public PutDatafeedDescriptor(Id datafeed_id) : base(r=>r.Required("datafeed_id", datafeed_id)){ Self.Indices = typeof(T); Self.Types = typeof(T); } - - + + ///Pretty format the returned JSON response. public PutDatafeedDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -6845,19 +6826,19 @@ public partial class PutDatafeedDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public PutDatafeedDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlPutJob
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html
public partial class PutJobDescriptor : RequestDescriptorBase,PutJobRequestParameters, IPutJobRequest>, IPutJobRequest - { + { Id IPutJobRequest.JobId => Self.RouteValues.Get("job_id"); - /// /_xpack/ml/anomaly_detectors/{job_id} + /// /_xpack/ml/anomaly_detectors/{job_id} /// this parameter is required public PutJobDescriptor(Id job_id) : base(r=>r.Required("job_id", job_id)){} - - + + ///Pretty format the returned JSON response. public PutJobDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -6872,21 +6853,21 @@ public PutJobDescriptor(Id job_id) : base(r=>r.Required("job_id", job_id)){} ///A comma-separated list of filters used to reduce the respone. public PutJobDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlRevertModelSnapshot
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-revert-snapshot.html
public partial class RevertModelSnapshotDescriptor : RequestDescriptorBase, IRevertModelSnapshotRequest - { + { Id IRevertModelSnapshotRequest.JobId => Self.RouteValues.Get("job_id"); Id IRevertModelSnapshotRequest.SnapshotId => Self.RouteValues.Get("snapshot_id"); - /// /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert -/// this parameter is required + /// /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert +/// this parameter is required /// this parameter is required public RevertModelSnapshotDescriptor(Id job_id, Id snapshot_id) : base(r=>r.Required("job_id", job_id).Required("snapshot_id", snapshot_id)){} - - + + ///Pretty format the returned JSON response. public RevertModelSnapshotDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -6901,19 +6882,19 @@ public RevertModelSnapshotDescriptor(Id job_id, Id snapshot_id) : base(r=>r.Requ ///A comma-separated list of filters used to reduce the respone. public RevertModelSnapshotDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlStartDatafeed
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-start-datafeed.html
public partial class StartDatafeedDescriptor : RequestDescriptorBase, IStartDatafeedRequest - { + { Id IStartDatafeedRequest.DatafeedId => Self.RouteValues.Get("datafeed_id"); - /// /_xpack/ml/datafeeds/{datafeed_id}/_start + /// /_xpack/ml/datafeeds/{datafeed_id}/_start /// this parameter is required public StartDatafeedDescriptor(Id datafeed_id) : base(r=>r.Required("datafeed_id", datafeed_id)){} - - + + ///Pretty format the returned JSON response. public StartDatafeedDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -6928,19 +6909,19 @@ public StartDatafeedDescriptor(Id datafeed_id) : base(r=>r.Required("datafeed_id ///A comma-separated list of filters used to reduce the respone. public StartDatafeedDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlStopDatafeed
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-stop-datafeed.html
public partial class StopDatafeedDescriptor : RequestDescriptorBase, IStopDatafeedRequest - { + { Id IStopDatafeedRequest.DatafeedId => Self.RouteValues.Get("datafeed_id"); - /// /_xpack/ml/datafeeds/{datafeed_id}/_stop + /// /_xpack/ml/datafeeds/{datafeed_id}/_stop /// this parameter is required public StopDatafeedDescriptor(Id datafeed_id) : base(r=>r.Required("datafeed_id", datafeed_id)){} - - + + ///Pretty format the returned JSON response. public StopDatafeedDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -6955,19 +6936,19 @@ public StopDatafeedDescriptor(Id datafeed_id) : base(r=>r.Required("datafeed_id" ///A comma-separated list of filters used to reduce the respone. public StopDatafeedDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlUpdateDatafeed
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-datafeed.html
public partial class UpdateDatafeedDescriptor : RequestDescriptorBase,UpdateDatafeedRequestParameters, IUpdateDatafeedRequest>, IUpdateDatafeedRequest - { + { Id IUpdateDatafeedRequest.DatafeedId => Self.RouteValues.Get("datafeed_id"); - /// /_xpack/ml/datafeeds/{datafeed_id}/_update. Will infer the index and type from the generic type + /// /_xpack/ml/datafeeds/{datafeed_id}/_update. Will infer the index and type from the generic type /// this parameter is required public UpdateDatafeedDescriptor(Id datafeed_id) : base(r=>r.Required("datafeed_id", datafeed_id)){ Self.Indices = typeof(T); Self.Types = typeof(T); } - - + + ///Pretty format the returned JSON response. public UpdateDatafeedDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -6982,19 +6963,19 @@ public partial class UpdateDatafeedDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public UpdateDatafeedDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlUpdateJob
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-job.html
public partial class UpdateJobDescriptor : RequestDescriptorBase,UpdateJobRequestParameters, IUpdateJobRequest>, IUpdateJobRequest - { + { Id IUpdateJobRequest.JobId => Self.RouteValues.Get("job_id"); - /// /_xpack/ml/anomaly_detectors/{job_id}/_update + /// /_xpack/ml/anomaly_detectors/{job_id}/_update /// this parameter is required public UpdateJobDescriptor(Id job_id) : base(r=>r.Required("job_id", job_id)){} - - + + ///Pretty format the returned JSON response. public UpdateJobDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -7009,21 +6990,21 @@ public UpdateJobDescriptor(Id job_id) : base(r=>r.Required("job_id", job_id)){} ///A comma-separated list of filters used to reduce the respone. public UpdateJobDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlUpdateModelSnapshot
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-snapshot.html
public partial class UpdateModelSnapshotDescriptor : RequestDescriptorBase, IUpdateModelSnapshotRequest - { + { Id IUpdateModelSnapshotRequest.JobId => Self.RouteValues.Get("job_id"); Id IUpdateModelSnapshotRequest.SnapshotId => Self.RouteValues.Get("snapshot_id"); - /// /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update -/// this parameter is required + /// /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update +/// this parameter is required /// this parameter is required public UpdateModelSnapshotDescriptor(Id job_id, Id snapshot_id) : base(r=>r.Required("job_id", job_id).Required("snapshot_id", snapshot_id)){} - - + + ///Pretty format the returned JSON response. public UpdateModelSnapshotDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -7038,13 +7019,13 @@ public UpdateModelSnapshotDescriptor(Id job_id, Id snapshot_id) : base(r=>r.Requ ///A comma-separated list of filters used to reduce the respone. public UpdateModelSnapshotDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlValidate
public partial class ValidateJobDescriptor : RequestDescriptorBase,ValidateJobRequestParameters, IValidateJobRequest>, IValidateJobRequest - { - + { + ///Pretty format the returned JSON response. public ValidateJobDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -7059,13 +7040,13 @@ public partial class ValidateJobDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public ValidateJobDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackMlValidateDetector
public partial class ValidateDetectorDescriptor : RequestDescriptorBase,ValidateDetectorRequestParameters, IValidateDetectorRequest>, IValidateDetectorRequest - { - + { + ///Pretty format the returned JSON response. public ValidateDetectorDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -7080,13 +7061,13 @@ public partial class ValidateDetectorDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public ValidateDetectorDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - - ///descriptor for XpackSecurityAuthenticate
https://www.elastic.co/guide/en/x-pack/master/security-api-authenticate.html
+ + ///descriptor for XpackSecurityAuthenticate
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-authenticate.html
public partial class AuthenticateDescriptor : RequestDescriptorBase, IAuthenticateRequest - { - + { + ///Pretty format the returned JSON response. public AuthenticateDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -7101,21 +7082,21 @@ public partial class AuthenticateDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public AuthenticateDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - - ///descriptor for XpackSecurityChangePassword
https://www.elastic.co/guide/en/x-pack/master/security-api-change-password.html
+ + ///descriptor for XpackSecurityChangePassword
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html
public partial class ChangePasswordDescriptor : RequestDescriptorBase, IChangePasswordRequest - { + { Name IChangePasswordRequest.Username => Self.RouteValues.Get("username"); /// /_xpack/security/user/{username}/_password public ChangePasswordDescriptor() : base(){} - + ///The username of the user to change the password for public ChangePasswordDescriptor Username(Name username) => Assign(a=>a.RouteValues.Optional("username", username)); - + ///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) => AssignParam(p=>p.Refresh(refresh)); @@ -7133,19 +7114,19 @@ public ChangePasswordDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public ChangePasswordDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - - ///descriptor for XpackSecurityClearCachedRealms
https://www.elastic.co/guide/en/x-pack/current/security-api-clear-cache.html
+ + ///descriptor for XpackSecurityClearCachedRealms
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-cache.html
public partial class ClearCachedRealmsDescriptor : RequestDescriptorBase, IClearCachedRealmsRequest - { + { Names IClearCachedRealmsRequest.Realms => Self.RouteValues.Get("realms"); - /// /_xpack/security/realm/{realms}/_clear_cache + /// /_xpack/security/realm/{realms}/_clear_cache /// this parameter is required public ClearCachedRealmsDescriptor(Names realms) : base(r=>r.Required("realms", realms)){} - - + + ///Comma-separated list of usernames to clear from the cache public ClearCachedRealmsDescriptor Usernames(params string[] usernames) => AssignParam(p=>p.Usernames(usernames)); @@ -7163,19 +7144,19 @@ public ClearCachedRealmsDescriptor(Names realms) : base(r=>r.Required("realms", ///A comma-separated list of filters used to reduce the respone. public ClearCachedRealmsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - - ///descriptor for XpackSecurityClearCachedRoles
https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-clear-role-cache
+ + ///descriptor for XpackSecurityClearCachedRoles
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-clear-role-cache
public partial class ClearCachedRolesDescriptor : RequestDescriptorBase, IClearCachedRolesRequest - { + { Names IClearCachedRolesRequest.Name => Self.RouteValues.Get("name"); - /// /_xpack/security/role/{name}/_clear_cache + /// /_xpack/security/role/{name}/_clear_cache /// this parameter is required public ClearCachedRolesDescriptor(Names name) : base(r=>r.Required("name", name)){} - - + + ///Pretty format the returned JSON response. public ClearCachedRolesDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -7190,19 +7171,19 @@ public ClearCachedRolesDescriptor(Names name) : base(r=>r.Required("name", name) ///A comma-separated list of filters used to reduce the respone. public ClearCachedRolesDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - - ///descriptor for XpackSecurityDeleteRole
https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-delete-role
+ + ///descriptor for XpackSecurityDeleteRole
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-delete-role
public partial class DeleteRoleDescriptor : RequestDescriptorBase, IDeleteRoleRequest - { + { Name IDeleteRoleRequest.Name => Self.RouteValues.Get("name"); - /// /_xpack/security/role/{name} + /// /_xpack/security/role/{name} /// this parameter is required 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) => AssignParam(p=>p.Refresh(refresh)); @@ -7220,19 +7201,19 @@ public DeleteRoleDescriptor(Name name) : base(r=>r.Required("name", name)){} ///A comma-separated list of filters used to reduce the respone. public DeleteRoleDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - - ///descriptor for XpackSecurityDeleteRoleMapping
https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-delete-role-mapping
+ + ///descriptor for XpackSecurityDeleteRoleMapping
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-delete-role-mapping
public partial class DeleteRoleMappingDescriptor : RequestDescriptorBase, IDeleteRoleMappingRequest - { + { Name IDeleteRoleMappingRequest.Name => Self.RouteValues.Get("name"); - /// /_xpack/security/role_mapping/{name} + /// /_xpack/security/role_mapping/{name} /// this parameter is required 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) => AssignParam(p=>p.Refresh(refresh)); @@ -7250,19 +7231,19 @@ public DeleteRoleMappingDescriptor(Name name) : base(r=>r.Required("name", name) ///A comma-separated list of filters used to reduce the respone. public DeleteRoleMappingDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - - ///descriptor for XpackSecurityDeleteUser
https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-delete-user
+ + ///descriptor for XpackSecurityDeleteUser
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-delete-user
public partial class DeleteUserDescriptor : RequestDescriptorBase, IDeleteUserRequest - { + { Name IDeleteUserRequest.Username => Self.RouteValues.Get("username"); - /// /_xpack/security/user/{username} + /// /_xpack/security/user/{username} /// this parameter is required public DeleteUserDescriptor(Name username) : base(r=>r.Required("username", username)){} - - + + ///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) => AssignParam(p=>p.Refresh(refresh)); @@ -7280,21 +7261,21 @@ public DeleteUserDescriptor(Name username) : base(r=>r.Required("username", user ///A comma-separated list of filters used to reduce the respone. public DeleteUserDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - - ///descriptor for XpackSecurityDisableUser
https://www.elastic.co/guide/en/x-pack/master/security-api-disable-user.html
+ + ///descriptor for XpackSecurityDisableUser
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-disable-user
public partial class DisableUserDescriptor : RequestDescriptorBase, IDisableUserRequest - { + { Name IDisableUserRequest.Username => Self.RouteValues.Get("username"); /// /_xpack/security/user/{username}/_disable public DisableUserDescriptor() : base(){} - + ///The username of the user to disable public DisableUserDescriptor Username(Name username) => Assign(a=>a.RouteValues.Optional("username", username)); - + ///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) => AssignParam(p=>p.Refresh(refresh)); @@ -7312,21 +7293,21 @@ public DisableUserDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public DisableUserDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - - ///descriptor for XpackSecurityEnableUser
https://www.elastic.co/guide/en/x-pack/master/security-api-enable-user.html
+ + ///descriptor for XpackSecurityEnableUser
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-enable-user
public partial class EnableUserDescriptor : RequestDescriptorBase, IEnableUserRequest - { + { Name IEnableUserRequest.Username => Self.RouteValues.Get("username"); /// /_xpack/security/user/{username}/_enable public EnableUserDescriptor() : base(){} - + ///The username of the user to enable public EnableUserDescriptor Username(Name username) => Assign(a=>a.RouteValues.Optional("username", username)); - + ///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) => AssignParam(p=>p.Refresh(refresh)); @@ -7344,21 +7325,21 @@ public EnableUserDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public EnableUserDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - - ///descriptor for XpackSecurityGetRole
https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-get-role
+ + ///descriptor for XpackSecurityGetRole
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-get-role
public partial class GetRoleDescriptor : RequestDescriptorBase, IGetRoleRequest - { + { Name IGetRoleRequest.Name => Self.RouteValues.Get("name"); /// /_xpack/security/role/{name} public GetRoleDescriptor() : base(){} - + ///Role name public GetRoleDescriptor Name(Name name) => Assign(a=>a.RouteValues.Optional("name", name)); - + ///Pretty format the returned JSON response. public GetRoleDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -7373,21 +7354,21 @@ public GetRoleDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public GetRoleDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - - ///descriptor for XpackSecurityGetRoleMapping
https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-get-role-mapping
+ + ///descriptor for XpackSecurityGetRoleMapping
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-get-role-mapping
public partial class GetRoleMappingDescriptor : RequestDescriptorBase, IGetRoleMappingRequest - { + { Name IGetRoleMappingRequest.Name => Self.RouteValues.Get("name"); /// /_xpack/security/role_mapping/{name} public GetRoleMappingDescriptor() : base(){} - + ///Role-Mapping name public GetRoleMappingDescriptor Name(Name name) => Assign(a=>a.RouteValues.Optional("name", name)); - + ///Pretty format the returned JSON response. public GetRoleMappingDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -7402,13 +7383,13 @@ public GetRoleMappingDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public GetRoleMappingDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - - ///descriptor for XpackSecurityGetToken
https://www.elastic.co/guide/en/x-pack/master/security-api-tokens.html#security-api-get-token
+ + ///descriptor for XpackSecurityGetToken
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-tokens.html#security-api-get-token
public partial class GetUserAccessTokenDescriptor : RequestDescriptorBase, IGetUserAccessTokenRequest - { - + { + ///Pretty format the returned JSON response. public GetUserAccessTokenDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -7423,21 +7404,21 @@ public partial class GetUserAccessTokenDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public GetUserAccessTokenDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - - ///descriptor for XpackSecurityGetUser
https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-get-user
+ + ///descriptor for XpackSecurityGetUser
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-get-user
public partial class GetUserDescriptor : RequestDescriptorBase, IGetUserRequest - { + { Names IGetUserRequest.Username => Self.RouteValues.Get("username"); /// /_xpack/security/user/{username} public GetUserDescriptor() : base(){} - + ///A comma-separated list of usernames public GetUserDescriptor Username(Names username) => Assign(a=>a.RouteValues.Optional("username", username)); - + ///Pretty format the returned JSON response. public GetUserDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -7452,13 +7433,13 @@ public GetUserDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public GetUserDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - - ///descriptor for XpackSecurityInvalidateToken
https://www.elastic.co/guide/en/x-pack/master/security-api-tokens.html#security-api-invalidate-token
+ + ///descriptor for XpackSecurityInvalidateToken
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-tokens.html#security-api-invalidate-token
public partial class InvalidateUserAccessTokenDescriptor : RequestDescriptorBase, IInvalidateUserAccessTokenRequest - { - + { + ///Pretty format the returned JSON response. public InvalidateUserAccessTokenDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -7473,19 +7454,19 @@ public partial class InvalidateUserAccessTokenDescriptor : RequestDescriptorBas ///A comma-separated list of filters used to reduce the respone. public InvalidateUserAccessTokenDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - - ///descriptor for XpackSecurityPutRole
https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-put-role
+ + ///descriptor for XpackSecurityPutRole
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-put-role
public partial class PutRoleDescriptor : RequestDescriptorBase, IPutRoleRequest - { + { Name IPutRoleRequest.Name => Self.RouteValues.Get("name"); - /// /_xpack/security/role/{name} + /// /_xpack/security/role/{name} /// this parameter is required 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) => AssignParam(p=>p.Refresh(refresh)); @@ -7503,19 +7484,19 @@ public PutRoleDescriptor(Name name) : base(r=>r.Required("name", name)){} ///A comma-separated list of filters used to reduce the respone. public PutRoleDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - - ///descriptor for XpackSecurityPutRoleMapping
https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-put-role-mapping
+ + ///descriptor for XpackSecurityPutRoleMapping
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-put-role-mapping
public partial class PutRoleMappingDescriptor : RequestDescriptorBase, IPutRoleMappingRequest - { + { Name IPutRoleMappingRequest.Name => Self.RouteValues.Get("name"); - /// /_xpack/security/role_mapping/{name} + /// /_xpack/security/role_mapping/{name} /// this parameter is required 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) => AssignParam(p=>p.Refresh(refresh)); @@ -7533,19 +7514,19 @@ public PutRoleMappingDescriptor(Name name) : base(r=>r.Required("name", name)){} ///A comma-separated list of filters used to reduce the respone. public PutRoleMappingDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - - ///descriptor for XpackSecurityPutUser
https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-put-user
+ + ///descriptor for XpackSecurityPutUser
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-put-user
public partial class PutUserDescriptor : RequestDescriptorBase, IPutUserRequest - { + { Name IPutUserRequest.Username => Self.RouteValues.Get("username"); - /// /_xpack/security/user/{username} + /// /_xpack/security/user/{username} /// this parameter is required public PutUserDescriptor(Name username) : base(r=>r.Required("username", username)){} - - + + ///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) => AssignParam(p=>p.Refresh(refresh)); @@ -7563,23 +7544,23 @@ public PutUserDescriptor(Name username) : base(r=>r.Required("username", usernam ///A comma-separated list of filters used to reduce the respone. public PutUserDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackWatcherAckWatch
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html
public partial class AcknowledgeWatchDescriptor : RequestDescriptorBase, IAcknowledgeWatchRequest - { + { Id IAcknowledgeWatchRequest.WatchId => Self.RouteValues.Get("watch_id"); ActionIds IAcknowledgeWatchRequest.ActionId => Self.RouteValues.Get("action_id"); - /// /_xpack/watcher/watch/{watch_id}/_ack + /// /_xpack/watcher/watch/{watch_id}/_ack /// this parameter is required public AcknowledgeWatchDescriptor(Id watch_id) : base(r=>r.Required("watch_id", watch_id)){} - + ///A comma-separated list of the action ids to be acked public AcknowledgeWatchDescriptor ActionId(ActionIds actionId) => Assign(a=>a.RouteValues.Optional("action_id", actionId)); - + ///Explicit operation timeout for connection to master node public AcknowledgeWatchDescriptor MasterTimeout(Time master_timeout) => AssignParam(p=>p.MasterTimeout(master_timeout.ToTimeSpan())); @@ -7597,19 +7578,19 @@ public AcknowledgeWatchDescriptor(Id watch_id) : base(r=>r.Required("watch_id", ///A comma-separated list of filters used to reduce the respone. public AcknowledgeWatchDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackWatcherActivateWatch
https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html
public partial class ActivateWatchDescriptor : RequestDescriptorBase, IActivateWatchRequest - { + { Id IActivateWatchRequest.WatchId => Self.RouteValues.Get("watch_id"); - /// /_xpack/watcher/watch/{watch_id}/_activate + /// /_xpack/watcher/watch/{watch_id}/_activate /// this parameter is required public ActivateWatchDescriptor(Id watch_id) : base(r=>r.Required("watch_id", watch_id)){} - - + + ///Explicit operation timeout for connection to master node public ActivateWatchDescriptor MasterTimeout(Time master_timeout) => AssignParam(p=>p.MasterTimeout(master_timeout.ToTimeSpan())); @@ -7627,19 +7608,19 @@ public ActivateWatchDescriptor(Id watch_id) : base(r=>r.Required("watch_id", wat ///A comma-separated list of filters used to reduce the respone. public ActivateWatchDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackWatcherDeactivateWatch
https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html
public partial class DeactivateWatchDescriptor : RequestDescriptorBase, IDeactivateWatchRequest - { + { Id IDeactivateWatchRequest.WatchId => Self.RouteValues.Get("watch_id"); - /// /_xpack/watcher/watch/{watch_id}/_deactivate + /// /_xpack/watcher/watch/{watch_id}/_deactivate /// this parameter is required public DeactivateWatchDescriptor(Id watch_id) : base(r=>r.Required("watch_id", watch_id)){} - - + + ///Explicit operation timeout for connection to master node public DeactivateWatchDescriptor MasterTimeout(Time master_timeout) => AssignParam(p=>p.MasterTimeout(master_timeout.ToTimeSpan())); @@ -7657,19 +7638,19 @@ public DeactivateWatchDescriptor(Id watch_id) : base(r=>r.Required("watch_id", w ///A comma-separated list of filters used to reduce the respone. public DeactivateWatchDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackWatcherDeleteWatch
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-delete-watch.html
public partial class DeleteWatchDescriptor : RequestDescriptorBase, IDeleteWatchRequest - { + { Id IDeleteWatchRequest.Id => Self.RouteValues.Get("id"); - /// /_xpack/watcher/watch/{id} + /// /_xpack/watcher/watch/{id} /// this parameter is required public DeleteWatchDescriptor(Id id) : base(r=>r.Required("id", id)){} - - + + ///Explicit operation timeout for connection to master node public DeleteWatchDescriptor MasterTimeout(Time master_timeout) => AssignParam(p=>p.MasterTimeout(master_timeout.ToTimeSpan())); @@ -7687,21 +7668,21 @@ public DeleteWatchDescriptor(Id id) : base(r=>r.Required("id", id)){} ///A comma-separated list of filters used to reduce the respone. public DeleteWatchDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackWatcherExecuteWatch
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html
public partial class ExecuteWatchDescriptor : RequestDescriptorBase, IExecuteWatchRequest - { + { Id IExecuteWatchRequest.Id => Self.RouteValues.Get("id"); /// /_xpack/watcher/watch/{id}/_execute public ExecuteWatchDescriptor() : base(){} - + ///Watch ID 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) => AssignParam(p=>p.Debug(debug)); @@ -7719,19 +7700,19 @@ public ExecuteWatchDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public ExecuteWatchDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackWatcherGetWatch
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-get-watch.html
public partial class GetWatchDescriptor : RequestDescriptorBase, IGetWatchRequest - { + { Id IGetWatchRequest.Id => Self.RouteValues.Get("id"); - /// /_xpack/watcher/watch/{id} + /// /_xpack/watcher/watch/{id} /// this parameter is required public GetWatchDescriptor(Id id) : base(r=>r.Required("id", id)){} - - + + ///Pretty format the returned JSON response. public GetWatchDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -7746,19 +7727,19 @@ public GetWatchDescriptor(Id id) : base(r=>r.Required("id", id)){} ///A comma-separated list of filters used to reduce the respone. public GetWatchDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackWatcherPutWatch
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html
public partial class PutWatchDescriptor : RequestDescriptorBase, IPutWatchRequest - { + { Id IPutWatchRequest.Id => Self.RouteValues.Get("id"); - /// /_xpack/watcher/watch/{id} + /// /_xpack/watcher/watch/{id} /// this parameter is required public PutWatchDescriptor(Id id) : base(r=>r.Required("id", id)){} - - + + ///Explicit operation timeout for connection to master node public PutWatchDescriptor MasterTimeout(Time master_timeout) => AssignParam(p=>p.MasterTimeout(master_timeout.ToTimeSpan())); @@ -7779,13 +7760,13 @@ public PutWatchDescriptor(Id id) : base(r=>r.Required("id", id)){} ///A comma-separated list of filters used to reduce the respone. public PutWatchDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackWatcherRestart
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-restart.html
public partial class RestartWatcherDescriptor : RequestDescriptorBase, IRestartWatcherRequest - { - + { + ///Pretty format the returned JSON response. public RestartWatcherDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -7800,13 +7781,13 @@ public partial class RestartWatcherDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public RestartWatcherDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackWatcherStart
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-start.html
public partial class StartWatcherDescriptor : RequestDescriptorBase, IStartWatcherRequest - { - + { + ///Pretty format the returned JSON response. public StartWatcherDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -7821,21 +7802,21 @@ public partial class StartWatcherDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public StartWatcherDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackWatcherStats
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html
public partial class WatcherStatsDescriptor : RequestDescriptorBase, IWatcherStatsRequest - { + { Metrics IWatcherStatsRequest.WatcherStatsMetric => Self.RouteValues.Get("watcher_stats_metric"); /// /_xpack/watcher/stats public WatcherStatsDescriptor() : base(){} - + ///Controls what additional stat metrics should be include in the response public WatcherStatsDescriptor WatcherStatsMetric(WatcherStatsMetric watcherStatsMetric) => Assign(a=>a.RouteValues.Optional("watcher_stats_metric", (Metrics)watcherStatsMetric)); - + ///Pretty format the returned JSON response. public WatcherStatsDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -7850,13 +7831,13 @@ public WatcherStatsDescriptor() : base(){} ///A comma-separated list of filters used to reduce the respone. public WatcherStatsDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } - + ///descriptor for XpackWatcherStop
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stop.html
public partial class StopWatcherDescriptor : RequestDescriptorBase, IStopWatcherRequest - { - + { + ///Pretty format the returned JSON response. public StopWatcherDescriptor Pretty(bool pretty = true) => AssignParam(p=>p.Pretty(pretty)); @@ -7871,6 +7852,6 @@ public partial class StopWatcherDescriptor : RequestDescriptorBaseA comma-separated list of filters used to reduce the respone. public StopWatcherDescriptor FilterPath(params string[] filter_path) => AssignParam(p=>p.FilterPath(filter_path)); - + } -} \ No newline at end of file +} diff --git a/src/Nest/_Generated/_LowLevelDispatch.generated.cs b/src/Nest/_Generated/_LowLevelDispatch.generated.cs index 450044c29cf..cfe0fab3756 100644 --- a/src/Nest/_Generated/_LowLevelDispatch.generated.cs +++ b/src/Nest/_Generated/_LowLevelDispatch.generated.cs @@ -851,12 +851,11 @@ internal ElasticsearchResponse DeleteScriptDispatch(IRequest(p.RouteValues.Lang,p.RouteValues.Id,u => p.RequestParameters); - if (AllSetNoFallback(p.RouteValues.Lang)) return _lowLevel.DeleteScript(p.RouteValues.Lang,u => p.RequestParameters); + if (AllSetNoFallback(p.RouteValues.Id)) return _lowLevel.DeleteScript(p.RouteValues.Id,u => p.RequestParameters); break; } - throw InvalidDispatch("DeleteScript", p, new [] { DELETE }, "/_scripts/{lang}", "/_scripts/{lang}/{id}"); + throw InvalidDispatch("DeleteScript", p, new [] { DELETE }, "/_scripts/{id}"); } internal Task> DeleteScriptDispatchAsync(IRequest p , CancellationToken cancellationToken) where T : class @@ -864,36 +863,11 @@ internal Task> DeleteScriptDispatchAsync(IRequest(p.RouteValues.Lang,p.RouteValues.Id,u => p.RequestParameters,cancellationToken); - if (AllSetNoFallback(p.RouteValues.Lang)) return _lowLevel.DeleteScriptAsync(p.RouteValues.Lang,u => p.RequestParameters,cancellationToken); + if (AllSetNoFallback(p.RouteValues.Id)) return _lowLevel.DeleteScriptAsync(p.RouteValues.Id,u => p.RequestParameters,cancellationToken); break; } - throw InvalidDispatch("DeleteScript", p, new [] { DELETE }, "/_scripts/{lang}", "/_scripts/{lang}/{id}"); - } - - internal ElasticsearchResponse DeleteTemplateDispatch(IRequest p ) where T : class - { - switch(p.HttpMethod) - { - case DELETE: - if (AllSetNoFallback(p.RouteValues.Id)) return _lowLevel.DeleteTemplate(p.RouteValues.Id,u => p.RequestParameters); - break; - - } - throw InvalidDispatch("DeleteTemplate", p, new [] { DELETE }, "/_search/template/{id}"); - } - - internal Task> DeleteTemplateDispatchAsync(IRequest p , CancellationToken cancellationToken) where T : class - { - switch(p.HttpMethod) - { - case DELETE: - if (AllSetNoFallback(p.RouteValues.Id)) return _lowLevel.DeleteTemplateAsync(p.RouteValues.Id,u => p.RequestParameters,cancellationToken); - break; - - } - throw InvalidDispatch("DeleteTemplate", p, new [] { DELETE }, "/_search/template/{id}"); + throw InvalidDispatch("DeleteScript", p, new [] { DELETE }, "/_scripts/{id}"); } internal ElasticsearchResponse ExistsDispatch(IRequest p ) where T : class @@ -1008,38 +982,6 @@ internal Task> FieldCapsDispatchAsync(IRequest FieldStatsDispatch(IRequest p , PostData body) where T : class - { - switch(p.HttpMethod) - { - case GET: - if (AllSet(p.RouteValues.Index)) return _lowLevel.FieldStatsGet(p.RouteValues.Index,u => p.RequestParameters); - return _lowLevel.FieldStatsGet(u => p.RequestParameters); - - case POST: - if (AllSet(p.RouteValues.Index)) return _lowLevel.FieldStats(p.RouteValues.Index,body,u => p.RequestParameters); - return _lowLevel.FieldStats(body,u => p.RequestParameters); - - } - throw InvalidDispatch("FieldStats", p, new [] { GET, POST }, "/_field_stats", "/{index}/_field_stats"); - } - - internal Task> FieldStatsDispatchAsync(IRequest p , PostData body, CancellationToken cancellationToken) where T : class - { - switch(p.HttpMethod) - { - case GET: - if (AllSet(p.RouteValues.Index)) return _lowLevel.FieldStatsGetAsync(p.RouteValues.Index,u => p.RequestParameters,cancellationToken); - return _lowLevel.FieldStatsGetAsync(u => p.RequestParameters,cancellationToken); - - case POST: - if (AllSet(p.RouteValues.Index)) return _lowLevel.FieldStatsAsync(p.RouteValues.Index,body,u => p.RequestParameters,cancellationToken); - return _lowLevel.FieldStatsAsync(body,u => p.RequestParameters,cancellationToken); - - } - throw InvalidDispatch("FieldStats", p, new [] { GET, POST }, "/_field_stats", "/{index}/_field_stats"); - } - internal ElasticsearchResponse GetDispatch(IRequest p ) where T : class { switch(p.HttpMethod) @@ -1069,12 +1011,11 @@ internal ElasticsearchResponse GetScriptDispatch(IRequest(p.RouteValues.Lang,p.RouteValues.Id,u => p.RequestParameters); - if (AllSetNoFallback(p.RouteValues.Lang)) return _lowLevel.GetScript(p.RouteValues.Lang,u => p.RequestParameters); + if (AllSetNoFallback(p.RouteValues.Id)) return _lowLevel.GetScript(p.RouteValues.Id,u => p.RequestParameters); break; } - throw InvalidDispatch("GetScript", p, new [] { GET }, "/_scripts/{lang}", "/_scripts/{lang}/{id}"); + throw InvalidDispatch("GetScript", p, new [] { GET }, "/_scripts/{id}"); } internal Task> GetScriptDispatchAsync(IRequest p , CancellationToken cancellationToken) where T : class @@ -1082,12 +1023,11 @@ internal Task> GetScriptDispatchAsync(IRequest(p.RouteValues.Lang,p.RouteValues.Id,u => p.RequestParameters,cancellationToken); - if (AllSetNoFallback(p.RouteValues.Lang)) return _lowLevel.GetScriptAsync(p.RouteValues.Lang,u => p.RequestParameters,cancellationToken); + if (AllSetNoFallback(p.RouteValues.Id)) return _lowLevel.GetScriptAsync(p.RouteValues.Id,u => p.RequestParameters,cancellationToken); break; } - throw InvalidDispatch("GetScript", p, new [] { GET }, "/_scripts/{lang}", "/_scripts/{lang}/{id}"); + throw InvalidDispatch("GetScript", p, new [] { GET }, "/_scripts/{id}"); } internal ElasticsearchResponse GetSourceDispatch(IRequest p ) where T : class @@ -1114,30 +1054,6 @@ internal Task> GetSourceDispatchAsync(IRequest GetTemplateDispatch(IRequest p ) where T : class - { - switch(p.HttpMethod) - { - case GET: - if (AllSetNoFallback(p.RouteValues.Id)) return _lowLevel.GetTemplate(p.RouteValues.Id,u => p.RequestParameters); - break; - - } - throw InvalidDispatch("GetTemplate", p, new [] { GET }, "/_search/template/{id}"); - } - - internal Task> GetTemplateDispatchAsync(IRequest p , CancellationToken cancellationToken) where T : class - { - switch(p.HttpMethod) - { - case GET: - if (AllSetNoFallback(p.RouteValues.Id)) return _lowLevel.GetTemplateAsync(p.RouteValues.Id,u => p.RequestParameters,cancellationToken); - break; - - } - throw InvalidDispatch("GetTemplate", p, new [] { GET }, "/_search/template/{id}"); - } - internal ElasticsearchResponse IndexDispatch(IRequest p , PostData body) where T : class { switch(p.HttpMethod) @@ -1549,12 +1465,11 @@ internal ElasticsearchResponse IndicesGetDispatch(IRequest(p.RouteValues.Index,p.RouteValues.Feature,u => p.RequestParameters); if (AllSetNoFallback(p.RouteValues.Index)) return _lowLevel.IndicesGet(p.RouteValues.Index,u => p.RequestParameters); break; } - throw InvalidDispatch("IndicesGet", p, new [] { GET }, "/{index}", "/{index}/{feature}"); + throw InvalidDispatch("IndicesGet", p, new [] { GET }, "/{index}"); } internal Task> IndicesGetDispatchAsync(IRequest p , CancellationToken cancellationToken) where T : class @@ -1562,12 +1477,11 @@ internal Task> IndicesGetDispatchAsync(IRequest(p.RouteValues.Index,p.RouteValues.Feature,u => p.RequestParameters,cancellationToken); if (AllSetNoFallback(p.RouteValues.Index)) return _lowLevel.IndicesGetAsync(p.RouteValues.Index,u => p.RequestParameters,cancellationToken); break; } - throw InvalidDispatch("IndicesGet", p, new [] { GET }, "/{index}", "/{index}/{feature}"); + throw InvalidDispatch("IndicesGet", p, new [] { GET }, "/{index}"); } internal ElasticsearchResponse IndicesGetAliasDispatch(IRequest p ) where T : class @@ -2222,6 +2136,28 @@ internal Task> IngestGetPipelineDispatchAsync(IReque throw InvalidDispatch("IngestGetPipeline", p, new [] { GET }, "/_ingest/pipeline", "/_ingest/pipeline/{id}"); } + internal ElasticsearchResponse IngestProcessorGrokDispatch(IRequest p ) where T : class + { + switch(p.HttpMethod) + { + case GET: + return _lowLevel.IngestProcessorGrok(u => p.RequestParameters); + + } + throw InvalidDispatch("IngestProcessorGrok", p, new [] { GET }, "/_ingest/processor/grok"); + } + + internal Task> IngestProcessorGrokDispatchAsync(IRequest p , CancellationToken cancellationToken) where T : class + { + switch(p.HttpMethod) + { + case GET: + return _lowLevel.IngestProcessorGrokAsync(u => p.RequestParameters,cancellationToken); + + } + throw InvalidDispatch("IngestProcessorGrok", p, new [] { GET }, "/_ingest/processor/grok"); + } + internal ElasticsearchResponse IngestPutPipelineDispatch(IRequest p , PostData body) where T : class { switch(p.HttpMethod) @@ -2506,94 +2442,86 @@ internal Task> NodesStatsDispatchAsync(IRequest PingDispatch(IRequest p ) where T : class + internal ElasticsearchResponse NodesUsageDispatch(IRequest p ) where T : class { switch(p.HttpMethod) { - case HEAD: - return _lowLevel.Ping(u => p.RequestParameters); + case GET: + if (AllSet(p.RouteValues.NodeId, p.RouteValues.Metric)) return _lowLevel.NodesUsage(p.RouteValues.NodeId,p.RouteValues.Metric,u => p.RequestParameters); + if (AllSet(p.RouteValues.NodeId)) return _lowLevel.NodesUsage(p.RouteValues.NodeId,u => p.RequestParameters); + if (AllSet(p.RouteValues.Metric)) return _lowLevel.NodesUsageForAll(p.RouteValues.Metric,u => p.RequestParameters); + return _lowLevel.NodesUsageForAll(u => p.RequestParameters); } - throw InvalidDispatch("Ping", p, new [] { HEAD }, "/"); + throw InvalidDispatch("NodesUsage", p, new [] { GET }, "/_nodes/usage", "/_nodes/{node_id}/usage", "/_nodes/usage/{metric}", "/_nodes/{node_id}/usage/{metric}"); } - internal Task> PingDispatchAsync(IRequest p , CancellationToken cancellationToken) where T : class + internal Task> NodesUsageDispatchAsync(IRequest p , CancellationToken cancellationToken) where T : class { switch(p.HttpMethod) { - case HEAD: - return _lowLevel.PingAsync(u => p.RequestParameters,cancellationToken); + case GET: + if (AllSet(p.RouteValues.NodeId, p.RouteValues.Metric)) return _lowLevel.NodesUsageAsync(p.RouteValues.NodeId,p.RouteValues.Metric,u => p.RequestParameters,cancellationToken); + if (AllSet(p.RouteValues.NodeId)) return _lowLevel.NodesUsageAsync(p.RouteValues.NodeId,u => p.RequestParameters,cancellationToken); + if (AllSet(p.RouteValues.Metric)) return _lowLevel.NodesUsageForAllAsync(p.RouteValues.Metric,u => p.RequestParameters,cancellationToken); + return _lowLevel.NodesUsageForAllAsync(u => p.RequestParameters,cancellationToken); } - throw InvalidDispatch("Ping", p, new [] { HEAD }, "/"); + throw InvalidDispatch("NodesUsage", p, new [] { GET }, "/_nodes/usage", "/_nodes/{node_id}/usage", "/_nodes/usage/{metric}", "/_nodes/{node_id}/usage/{metric}"); } - internal ElasticsearchResponse PutScriptDispatch(IRequest p , PostData body) where T : class + internal ElasticsearchResponse PingDispatch(IRequest p ) where T : class { switch(p.HttpMethod) { - case PUT: - if (AllSetNoFallback(p.RouteValues.Lang, p.RouteValues.Id)) return _lowLevel.PutScript(p.RouteValues.Lang,p.RouteValues.Id,body,u => p.RequestParameters); - if (AllSetNoFallback(p.RouteValues.Lang)) return _lowLevel.PutScript(p.RouteValues.Lang,body,u => p.RequestParameters); - break; - - case POST: - if (AllSetNoFallback(p.RouteValues.Lang, p.RouteValues.Id)) return _lowLevel.PutScriptPost(p.RouteValues.Lang,p.RouteValues.Id,body,u => p.RequestParameters); - if (AllSetNoFallback(p.RouteValues.Lang)) return _lowLevel.PutScriptPost(p.RouteValues.Lang,body,u => p.RequestParameters); - break; + case HEAD: + return _lowLevel.Ping(u => p.RequestParameters); } - throw InvalidDispatch("PutScript", p, new [] { PUT, POST }, "/_scripts/{lang}", "/_scripts/{lang}/{id}"); + throw InvalidDispatch("Ping", p, new [] { HEAD }, "/"); } - internal Task> PutScriptDispatchAsync(IRequest p , PostData body, CancellationToken cancellationToken) where T : class + internal Task> PingDispatchAsync(IRequest p , CancellationToken cancellationToken) where T : class { switch(p.HttpMethod) { - case PUT: - if (AllSetNoFallback(p.RouteValues.Lang, p.RouteValues.Id)) return _lowLevel.PutScriptAsync(p.RouteValues.Lang,p.RouteValues.Id,body,u => p.RequestParameters,cancellationToken); - if (AllSetNoFallback(p.RouteValues.Lang)) return _lowLevel.PutScriptAsync(p.RouteValues.Lang,body,u => p.RequestParameters,cancellationToken); - break; - - case POST: - if (AllSetNoFallback(p.RouteValues.Lang, p.RouteValues.Id)) return _lowLevel.PutScriptPostAsync(p.RouteValues.Lang,p.RouteValues.Id,body,u => p.RequestParameters,cancellationToken); - if (AllSetNoFallback(p.RouteValues.Lang)) return _lowLevel.PutScriptPostAsync(p.RouteValues.Lang,body,u => p.RequestParameters,cancellationToken); - break; + case HEAD: + return _lowLevel.PingAsync(u => p.RequestParameters,cancellationToken); } - throw InvalidDispatch("PutScript", p, new [] { PUT, POST }, "/_scripts/{lang}", "/_scripts/{lang}/{id}"); + throw InvalidDispatch("Ping", p, new [] { HEAD }, "/"); } - internal ElasticsearchResponse PutTemplateDispatch(IRequest p , PostData body) where T : class + internal ElasticsearchResponse PutScriptDispatch(IRequest p , PostData body) where T : class { switch(p.HttpMethod) { case PUT: - if (AllSetNoFallback(p.RouteValues.Id)) return _lowLevel.PutTemplate(p.RouteValues.Id,body,u => p.RequestParameters); + if (AllSetNoFallback(p.RouteValues.Id)) return _lowLevel.PutScript(p.RouteValues.Id,body,u => p.RequestParameters); break; case POST: - if (AllSetNoFallback(p.RouteValues.Id)) return _lowLevel.PutTemplatePost(p.RouteValues.Id,body,u => p.RequestParameters); + if (AllSetNoFallback(p.RouteValues.Id)) return _lowLevel.PutScriptPost(p.RouteValues.Id,body,u => p.RequestParameters); break; } - throw InvalidDispatch("PutTemplate", p, new [] { PUT, POST }, "/_search/template/{id}"); + throw InvalidDispatch("PutScript", p, new [] { PUT, POST }, "/_scripts/{id}", "/_scripts/{id}/{context}"); } - internal Task> PutTemplateDispatchAsync(IRequest p , PostData body, CancellationToken cancellationToken) where T : class + internal Task> PutScriptDispatchAsync(IRequest p , PostData body, CancellationToken cancellationToken) where T : class { switch(p.HttpMethod) { case PUT: - if (AllSetNoFallback(p.RouteValues.Id)) return _lowLevel.PutTemplateAsync(p.RouteValues.Id,body,u => p.RequestParameters,cancellationToken); + if (AllSetNoFallback(p.RouteValues.Id)) return _lowLevel.PutScriptAsync(p.RouteValues.Id,body,u => p.RequestParameters,cancellationToken); break; case POST: - if (AllSetNoFallback(p.RouteValues.Id)) return _lowLevel.PutTemplatePostAsync(p.RouteValues.Id,body,u => p.RequestParameters,cancellationToken); + if (AllSetNoFallback(p.RouteValues.Id)) return _lowLevel.PutScriptPostAsync(p.RouteValues.Id,body,u => p.RequestParameters,cancellationToken); break; } - throw InvalidDispatch("PutTemplate", p, new [] { PUT, POST }, "/_search/template/{id}"); + throw InvalidDispatch("PutScript", p, new [] { PUT, POST }, "/_scripts/{id}", "/_scripts/{id}/{context}"); } internal ElasticsearchResponse ReindexDispatch(IRequest p , PostData body) where T : class @@ -3233,7 +3161,7 @@ internal ElasticsearchResponse XpackGraphExploreDispatch(IRequest> XpackGraphExploreDispatchAsync(IRequest p , PostData body, CancellationToken cancellationToken) where T : class @@ -3251,7 +3179,31 @@ internal Task> XpackGraphExploreDispatchAsync(IReque break; } - throw InvalidDispatch("XpackGraphExplore", p, new [] { GET, POST }, "/{index}/_xpack/_graph/_explore", "/{index}/{type}/_xpack/_graph/_explore"); + throw InvalidDispatch("XpackGraphExplore", p, new [] { GET, POST }, "/{index}/_xpack/graph/_explore", "/{index}/{type}/_xpack/graph/_explore"); + } + + internal ElasticsearchResponse XpackDeprecationInfoDispatch(IRequest p ) where T : class + { + switch(p.HttpMethod) + { + case GET: + if (AllSet(p.RouteValues.Index)) return _lowLevel.XpackDeprecationInfo(p.RouteValues.Index,u => p.RequestParameters); + return _lowLevel.XpackDeprecationInfo(u => p.RequestParameters); + + } + throw InvalidDispatch("XpackDeprecationInfo", p, new [] { GET }, "/_xpack/migration/deprecations", "/{index}/_xpack/migration/deprecations"); + } + + internal Task> XpackDeprecationInfoDispatchAsync(IRequest p , CancellationToken cancellationToken) where T : class + { + switch(p.HttpMethod) + { + case GET: + if (AllSet(p.RouteValues.Index)) return _lowLevel.XpackDeprecationInfoAsync(p.RouteValues.Index,u => p.RequestParameters,cancellationToken); + return _lowLevel.XpackDeprecationInfoAsync(u => p.RequestParameters,cancellationToken); + + } + throw InvalidDispatch("XpackDeprecationInfo", p, new [] { GET }, "/_xpack/migration/deprecations", "/{index}/_xpack/migration/deprecations"); } internal ElasticsearchResponse XpackInfoDispatch(IRequest p ) where T : class diff --git a/src/Nest/_Generated/_Requests.generated.cs b/src/Nest/_Generated/_Requests.generated.cs index 4ab876cc4fc..cb45ebaaa7a 100644 --- a/src/Nest/_Generated/_Requests.generated.cs +++ b/src/Nest/_Generated/_Requests.generated.cs @@ -14,142 +14,142 @@ namespace Nest { - + [JsonObject(MemberSerialization = MemberSerialization.OptIn)] - public partial interface IAcknowledgeWatchRequest : IRequest + public partial interface IAcknowledgeWatchRequest : IRequest { Id WatchId { get; } ActionIds ActionId { get; } - } + } ///Request parameters for XpackWatcherAckWatch
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html
public partial class AcknowledgeWatchRequest : PlainRequestBase, IAcknowledgeWatchRequest { protected IAcknowledgeWatchRequest Self => this; Id IAcknowledgeWatchRequest.WatchId => Self.RouteValues.Get("watch_id"); ActionIds IAcknowledgeWatchRequest.ActionId => Self.RouteValues.Get("action_id"); - /// /_xpack/watcher/watch/{watch_id}/_ack + /// /_xpack/watcher/watch/{watch_id}/_ack ///this parameter is required public AcknowledgeWatchRequest(Id watch_id) : base(r=>r.Required("watch_id", watch_id)){} - - /// /_xpack/watcher/watch/{watch_id}/_ack/{action_id} -///this parameter is required + + /// /_xpack/watcher/watch/{watch_id}/_ack/{action_id} +///this parameter is required ///Optional, accepts null public AcknowledgeWatchRequest(Id watch_id, ActionIds action_id) : base(r=>r.Required("watch_id", watch_id).Optional("action_id", action_id)){} - + ///Explicit operation timeout for connection to master node public Time MasterTimeout { get { return Q