Class ShardsOperationResponseBase
- java.lang.Object
-
- org.opensearch.client.opensearch._types.ShardsOperationResponseBase
-
- All Implemented Interfaces:
JsonpSerializable
- Direct Known Subclasses:
ClearCacheResponse,FlushResponse,ForcemergeResponse,RefreshResponse
public abstract class ShardsOperationResponseBase extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classShardsOperationResponseBase.AbstractBuilder<BuilderT extends ShardsOperationResponseBase.AbstractBuilder<BuilderT>>
-
Constructor Summary
Constructors Modifier Constructor Description protectedShardsOperationResponseBase(ShardsOperationResponseBase.AbstractBuilder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static <BuilderT extends ShardsOperationResponseBase.AbstractBuilder<BuilderT>>
voidsetupShardsOperationResponseBaseDeserializer(ObjectDeserializer<BuilderT> op)ShardStatisticsshards()Required - API name:_shards
-
-
-
Constructor Detail
-
ShardsOperationResponseBase
protected ShardsOperationResponseBase(ShardsOperationResponseBase.AbstractBuilder<?> builder)
-
-
Method Detail
-
shards
public final ShardStatistics shards()
Required - API name:_shards
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupShardsOperationResponseBaseDeserializer
protected static <BuilderT extends ShardsOperationResponseBase.AbstractBuilder<BuilderT>> void setupShardsOperationResponseBaseDeserializer(ObjectDeserializer<BuilderT> op)
-
-