Class ListTasksResponse
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
[DataContract]
public class ListTasksResponse : ResponseBase, IResponse, IOpenSearchResponse
Properties
| Edit this page View SourceIsValid
Checks if a response is functionally valid or not. This is a OpenSearch.Client abstraction to have a single property to check whether there was something wrong with a request.
For instance, an OpenSearch bulk response always returns 200 and individual bulk items may fail, IsValid will be false in that case.
You can also configure the client to always throw an OpenSearchClientException using ThrowExceptions if the response is not valid
Declaration
public override bool IsValid { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceNodeFailures
Declaration
[DataMember(Name = "node_failures")]
public IReadOnlyCollection<ErrorCause> NodeFailures { get; }
Property Value
Type | Description |
---|---|
IReadOnlyCollection<ErrorCause> |
Nodes
Declaration
[DataMember(Name = "nodes")]
public IReadOnlyDictionary<string, TaskExecutingNode> Nodes { get; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<string, TaskExecutingNode> |