Class ListResponse
java.lang.Object
co.elastic.clients.elasticsearch.tasks.ListResponse
- All Implemented Interfaces:
JsonpSerializable
- Direct Known Subclasses:
DeleteByQueryRethrottleResponse
@JsonpDeserializable public class ListResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
ListResponse.AbstractBuilder<BuilderT extends ListResponse.AbstractBuilder<BuilderT>>
static class
ListResponse.Builder
Builder forListResponse
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ListResponse>
_DESERIALIZER
Json deserializer forListResponse
-
Constructor Summary
Constructors Modifier Constructor Description protected
ListResponse(ListResponse.AbstractBuilder<?> builder)
-
Method Summary
Modifier and Type Method Description static ListResponse
listResponseOf(java.util.function.Function<ListResponse.Builder,ObjectBuilder<ListResponse>> fn)
java.util.List<ErrorCause>
nodeFailures()
API name:node_failures
java.util.Map<java.lang.String,TaskExecutingNode>
nodes()
API name:nodes
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static <BuilderT extends ListResponse.AbstractBuilder<BuilderT>>
voidsetupListResponseDeserializer(ObjectDeserializer<BuilderT> op)
java.util.Map<java.lang.String,Info>
tasks()
API name:tasks
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forListResponse
-
-
Constructor Details
-
ListResponse
-
-
Method Details
-
listResponseOf
public static ListResponse listResponseOf(java.util.function.Function<ListResponse.Builder,ObjectBuilder<ListResponse>> fn) -
nodeFailures
API name:node_failures
-
nodes
API name:nodes
-
tasks
API name:tasks
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupListResponseDeserializer
protected static <BuilderT extends ListResponse.AbstractBuilder<BuilderT>> void setupListResponseDeserializer(ObjectDeserializer<BuilderT> op)
-