Class PutWatchResponse

java.lang.Object
org.elasticsearch.client.watcher.PutWatchResponse

public class PutWatchResponse extends Object
  • Constructor Details

    • PutWatchResponse

      public PutWatchResponse()
    • PutWatchResponse

      public PutWatchResponse(String id, long version, long seqNo, long primaryTerm, boolean created)
  • Method Details

    • getId

      public String getId()
    • getVersion

      public long getVersion()
    • getSeqNo

      public long getSeqNo()
    • getPrimaryTerm

      public long getPrimaryTerm()
    • isCreated

      public boolean isCreated()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • fromXContent

      public static PutWatchResponse fromXContent(org.elasticsearch.xcontent.XContentParser parser) throws IOException
      Throws:
      IOException