Class ShardsOperationResponseBase
java.lang.Object
org.opensearch.client.opensearch._types.ShardsOperationResponseBase
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable
- Direct Known Subclasses:
ClearCacheResponse,FlushResponse,ForcemergeResponse,RefreshResponse
@Generated("org.opensearch.client.codegen.CodeGenerator")
public abstract class ShardsOperationResponseBase
extends Object
implements PlainJsonSerializable
The base response for operations involving shards.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classShardsOperationResponseBase.AbstractBuilder<BuilderT extends ShardsOperationResponseBase.AbstractBuilder<BuilderT>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()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>>
voidfinal ShardStatisticsshards()Required - API name:_shardsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
Constructor Details
-
ShardsOperationResponseBase
-
-
Method Details
-
shards
Required - API name:_shards -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupShardsOperationResponseBaseDeserializer
protected static <BuilderT extends ShardsOperationResponseBase.AbstractBuilder<BuilderT>> void setupShardsOperationResponseBaseDeserializer(ObjectDeserializer<BuilderT> op) -
hashCode
public int hashCode() -
equals
-