Class PutWatchResponse

All Implemented Interfaces:

public class PutWatchResponse
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static PutWatchResponse of​(java.util.function.Function<PutWatchResponse.Builder,​ObjectBuilder<PutWatchResponse>> fn)
    • created

      public final boolean created()
      Required - API name: created
    • id

      public final java.lang.String id()
      Required - API name: _id
    • primaryTerm

      public final long primaryTerm()
      Required - API name: _primary_term
    • seqNo

      public final long seqNo()
      Required - API name: _seq_no
    • version

      public final long version()
      Required - API name: _version
    • serialize

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

      protected void serializeInternal​( generator, JsonpMapper mapper)
    • setupPutWatchResponseDeserializer

      protected static void setupPutWatchResponseDeserializer​(ObjectDeserializer<PutWatchResponse.Builder> op)