Class MultiGetError
java.lang.Object
co.elastic.clients.elasticsearch.core.mget.MultiGetError
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class MultiGetError extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MultiGetError.Builder
Builder forMultiGetError
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<MultiGetError>
_DESERIALIZER
Json deserializer forMultiGetError
-
Method Summary
Modifier and Type Method Description ErrorCause
error()
Required - API name:error
java.lang.String
id()
Required - API name:_id
java.lang.String
index()
Required - API name:_index
static MultiGetError
of(java.util.function.Function<MultiGetError.Builder,ObjectBuilder<MultiGetError>> 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
setupMultiGetErrorDeserializer(ObjectDeserializer<MultiGetError.Builder> op)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forMultiGetError
-
-
Method Details
-
of
public static MultiGetError of(java.util.function.Function<MultiGetError.Builder,ObjectBuilder<MultiGetError>> fn) -
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
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupMultiGetErrorDeserializer
-