Class Deprecation
java.lang.Object
co.elastic.clients.elasticsearch.migration.deprecations.Deprecation
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class Deprecation extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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 -
Method Summary
Modifier and Type Method Description java.lang.Stringdetails()Required - API name:detailsDeprecationLevellevel()Required - The level property describes the significance of the issue.java.lang.Stringmessage()Required - API name:messagestatic Deprecationof(java.util.function.Function<Deprecation.Builder,ObjectBuilder<Deprecation>> 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 voidsetupDeprecationDeserializer(ObjectDeserializer<Deprecation.Builder> op)java.lang.StringtoString()java.lang.Stringurl()Required - API name:urlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forDeprecation
-
-
Method Details
-
of
public static Deprecation of(java.util.function.Function<Deprecation.Builder,ObjectBuilder<Deprecation>> fn) -
details
public final java.lang.String details()Required - API name:details -
level
Required - The level property describes the significance of the issue.API name:
level -
message
public final java.lang.String message()Required - API name:message -
url
public final java.lang.String url()Required - API name:url -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupDeprecationDeserializer
-