Class AllocationResponse
- java.lang.Object
-
- org.opensearch.client.opensearch.cat.AllocationResponse
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class AllocationResponse extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAllocationResponse.BuilderBuilder forAllocationResponse.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AllocationResponse>_DESERIALIZER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static JsonpDeserializer<AllocationResponse>createAllocationResponseDeserializer()static AllocationResponseof(java.util.function.Function<AllocationResponse.Builder,ObjectBuilder<AllocationResponse>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this value to JSON.java.util.List<AllocationRecord>valueBody()Required - Response value.
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<AllocationResponse> _DESERIALIZER
-
-
Method Detail
-
of
public static AllocationResponse of(java.util.function.Function<AllocationResponse.Builder,ObjectBuilder<AllocationResponse>> fn)
-
valueBody
public final java.util.List<AllocationRecord> 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:
serializein interfaceJsonpSerializable
-
createAllocationResponseDeserializer
protected static JsonpDeserializer<AllocationResponse> createAllocationResponseDeserializer()
-
-