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
  • Field Details

  • 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

      public final DeprecationLevel 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

      public void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • setupDeprecationDeserializer

      protected static void setupDeprecationDeserializer​(ObjectDeserializer<Deprecation.Builder> op)