Class CloseShardResult
java.lang.Object
co.elastic.clients.elasticsearch.indices.close.CloseShardResult
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class CloseShardResult extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CloseShardResult.Builder
Builder forCloseShardResult
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<CloseShardResult>
_DESERIALIZER
Json deserializer forCloseShardResult
-
Method Summary
Modifier and Type Method Description java.util.List<ShardFailure>
failures()
Required - API name:failures
static CloseShardResult
of(java.util.function.Function<CloseShardResult.Builder,ObjectBuilder<CloseShardResult>> fn)
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
setupCloseShardResultDeserializer(ObjectDeserializer<CloseShardResult.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forCloseShardResult
-
-
Method Details
-
of
public static CloseShardResult of(java.util.function.Function<CloseShardResult.Builder,ObjectBuilder<CloseShardResult>> fn) -
failures
Required - API name:failures
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupCloseShardResultDeserializer
protected static void setupCloseShardResultDeserializer(ObjectDeserializer<CloseShardResult.Builder> op)
-