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 class
Deprecation.Builder
Builder forDeprecation
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Deprecation>
_DESERIALIZER
Json deserializer forDeprecation
-
Method Summary
Modifier and Type Method Description java.lang.String
details()
Required - API name:details
DeprecationLevel
level()
Required - The level property describes the significance of the issue.java.lang.String
message()
Required - API name:message
static Deprecation
of(java.util.function.Function<Deprecation.Builder,ObjectBuilder<Deprecation>> 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
setupDeprecationDeserializer(ObjectDeserializer<Deprecation.Builder> op)
java.lang.String
toString()
java.lang.String
url()
Required - API name:url
Methods 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupDeprecationDeserializer
-