Class RemovePolicyResponse
java.lang.Object
org.opensearch.client.opensearch.ism.RemovePolicyResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<RemovePolicyResponse.Builder,RemovePolicyResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class RemovePolicyResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<RemovePolicyResponse.Builder,RemovePolicyResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RemovePolicyResponse> Json deserializer forRemovePolicyResponse -
Method Summary
Modifier and TypeMethodDescriptionstatic RemovePolicyResponse.Builderbuilder()booleanfinal List<FailedIndex> The list of indices that failed to update.final Booleanfailures()Whether there were any failures.inthashCode()static RemovePolicyResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final NumberThe number of updated indices.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forRemovePolicyResponse
-
-
Method Details
-
of
public static RemovePolicyResponse of(Function<RemovePolicyResponse.Builder, ObjectBuilder<RemovePolicyResponse>> fn) -
failedIndices
The list of indices that failed to update.API name:
failed_indices -
failures
Whether there were any failures.API name:
failures -
updatedIndices
The number of updated indices.API name:
updated_indices -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<RemovePolicyResponse.Builder,RemovePolicyResponse> - Returns:
- a new builder instance.
-
builder
-
setupRemovePolicyResponseDeserializer
protected static void setupRemovePolicyResponseDeserializer(ObjectDeserializer<RemovePolicyResponse.Builder> op) -
hashCode
public int hashCode() -
equals
-