java.lang.Object
co.elastic.clients.elasticsearch.migration.deprecations.Deprecation
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class Deprecation extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • details

      @Nullable public final String details()
      Optional details about the deprecation warning.

      API name: details

    • level

      public final DeprecationLevel level()
      Required - The level property describes the significance of the issue.

      API name: level

    • message

      public final String message()
      Required - Descriptive information about the deprecation warning.

      API name: message

    • url

      public final String url()
      Required - A link to the breaking change documentation, where you can find more information about this change.

      API name: url

    • resolveDuringRollingUpgrade

      public final boolean resolveDuringRollingUpgrade()
      Required - API name: resolve_during_rolling_upgrade
    • meta

      public final Map<String,JsonData> meta()
      API name: _meta
    • 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)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupDeprecationDeserializer

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