Class NodesResponse
- java.lang.Object
-
- org.opensearch.client.opensearch.cat.NodesResponse
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
@JsonpDeserializable public class NodesResponse extends java.lang.Object implements PlainJsonSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NodesResponse.Builder
Builder forNodesResponse
.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<NodesResponse>
_DESERIALIZER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static JsonpDeserializer<NodesResponse>
createNodesResponseDeserializer()
static NodesResponse
of(java.util.function.Function<NodesResponse.Builder,ObjectBuilder<NodesResponse>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this value to JSON.java.util.List<NodesRecord>
valueBody()
Required - Response value.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<NodesResponse> _DESERIALIZER
-
-
Method Detail
-
of
public static NodesResponse of(java.util.function.Function<NodesResponse.Builder,ObjectBuilder<NodesResponse>> fn)
-
valueBody
public final java.util.List<NodesRecord> valueBody()
Required - Response value.API name:
_value_body
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this value to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
createNodesResponseDeserializer
protected static JsonpDeserializer<NodesResponse> createNodesResponseDeserializer()
-
-