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 classMultiGetError.BuilderBuilder forMultiGetError. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<MultiGetError>_DESERIALIZERJson deserializer forMultiGetError -
Method Summary
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)java.lang.Stringtype()Deprecated.7.0.0Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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 -
type
@Deprecated @Nullable public final java.lang.String type()Deprecated.7.0.0API name:_type -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupMultiGetErrorDeserializer
-