Class ShrinkResponse
java.lang.Object
co.elastic.clients.elasticsearch.indices.ShrinkResponse
- All Implemented Interfaces:
AcknowledgedResponse
,JsonpSerializable
@JsonpDeserializable
public class ShrinkResponse
extends Object
implements AcknowledgedResponse, JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<ShrinkResponse>
Json deserializer forShrinkResponse
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Required - API name:acknowledged
final String
index()
Required - API name:index
static ShrinkResponse
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 void
final boolean
Required - API name:shards_acknowledged
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forShrinkResponse
-
-
Method Details
-
of
-
acknowledged
public final boolean acknowledged()Required - API name:acknowledged
- Specified by:
acknowledged
in interfaceAcknowledgedResponse
-
shardsAcknowledged
public final boolean shardsAcknowledged()Required - API name:shards_acknowledged
-
index
Required - API name:index
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupShrinkResponseDeserializer
protected static void setupShrinkResponseDeserializer(ObjectDeserializer<ShrinkResponse.Builder> op)
-