Class AddBlockResponse
java.lang.Object
co.elastic.clients.elasticsearch.indices.AddBlockResponse
- All Implemented Interfaces:
AcknowledgedResponse,JsonpSerializable
@JsonpDeserializable
public class AddBlockResponse
extends Object
implements AcknowledgedResponse, JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<AddBlockResponse>Json deserializer forAddBlockResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanRequired - API name:acknowledgedfinal List<AddIndicesBlockStatus>indices()Required - API name:indicesstatic AddBlockResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal booleanRequired - API name:shards_acknowledgedtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forAddBlockResponse
-
-
Method Details
-
of
public static AddBlockResponse of(Function<AddBlockResponse.Builder, ObjectBuilder<AddBlockResponse>> fn) -
acknowledged
public final boolean acknowledged()Required - API name:acknowledged- Specified by:
acknowledgedin interfaceAcknowledgedResponse
-
shardsAcknowledged
public final boolean shardsAcknowledged()Required - API name:shards_acknowledged -
indices
Required - API name:indices -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupAddBlockResponseDeserializer
protected static void setupAddBlockResponseDeserializer(ObjectDeserializer<AddBlockResponse.Builder> op)
-