Class Deprecation
java.lang.Object
co.elastic.clients.elasticsearch.migration.deprecations.Deprecation
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class Deprecation extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeprecation.BuilderBuilder forDeprecation. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Deprecation>_DESERIALIZERJson deserializer forDeprecation -
Constructor Summary
Constructors Constructor Description Deprecation(Deprecation.Builder builder)Deprecation(java.util.function.Function<Deprecation.Builder,Deprecation.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.Stringdetails()API name:detailsDeprecationLevellevel()The level property describes the significance of the issue.java.lang.Stringmessage()API name:messagevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupDeprecationDeserializer(DelegatingDeserializer<Deprecation.Builder> op)java.lang.Stringurl()API name:urlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forDeprecation
-
-
Constructor Details
-
Deprecation
-
Deprecation
-
-
Method Details
-
details
public java.lang.String details()API name:details -
level
The level property describes the significance of the issue.API name:
level -
message
public java.lang.String message()API name:message -
url
public java.lang.String url()API name:url -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupDeprecationDeserializer
-