Package co.elastic.clients.base
Class ElasticsearchError
java.lang.Object
co.elastic.clients.base.ElasticsearchError
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class ElasticsearchError extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classElasticsearchError.BuilderBuilder forElasticsearchError. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ElasticsearchError>_DESERIALIZERJson deserializer forElasticsearchError -
Constructor Summary
Constructors Constructor Description ElasticsearchError(ElasticsearchError.Builder builder)ElasticsearchError(java.util.function.Function<ElasticsearchError.Builder,ElasticsearchError.Builder> fn) -
Method Summary
Modifier and Type Method Description jakarta.json.JsonValueerror()API name:errorvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupElasticsearchErrorDeserializer(DelegatingDeserializer<ElasticsearchError.Builder> op)intstatus()API name:statusMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forElasticsearchError
-
-
Constructor Details
-
ElasticsearchError
-
ElasticsearchError
public ElasticsearchError(java.util.function.Function<ElasticsearchError.Builder,ElasticsearchError.Builder> fn)
-
-
Method Details
-
status
public int status()API name:status -
error
public jakarta.json.JsonValue error()API name:error -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupElasticsearchErrorDeserializer
protected static void setupElasticsearchErrorDeserializer(DelegatingDeserializer<ElasticsearchError.Builder> op)
-