Class MultiGetError
- java.lang.Object
-
- org.opensearch.client.opensearch.core.mget.MultiGetError
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class MultiGetError extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMultiGetError.BuilderBuilder forMultiGetError.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<MultiGetError>_DESERIALIZERJson deserializer forMultiGetError
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorCauseerror()Required - API name:errorjava.lang.Stringid()Required - API name:_idjava.lang.Stringindex()Required - API name:_indexstatic MultiGetErrorof(java.util.function.Function<MultiGetError.Builder,ObjectBuilder<MultiGetError>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupMultiGetErrorDeserializer(ObjectDeserializer<MultiGetError.Builder> op)
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<MultiGetError> _DESERIALIZER
Json deserializer forMultiGetError
-
-
Method Detail
-
of
public static MultiGetError of(java.util.function.Function<MultiGetError.Builder,ObjectBuilder<MultiGetError>> fn)
-
error
public final ErrorCause error()
Required - API name:error
-
id
public final java.lang.String id()
Required - API name:_id
-
index
public final java.lang.String index()
Required - API name:_index
-
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)
-
setupMultiGetErrorDeserializer
protected static void setupMultiGetErrorDeserializer(ObjectDeserializer<MultiGetError.Builder> op)
-
-