Package org.elasticsearch.client.watcher
Class PutWatchResponse
java.lang.Object
org.elasticsearch.client.watcher.PutWatchResponse
public class PutWatchResponse
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description PutWatchResponse()
PutWatchResponse(java.lang.String id, long version, long seqNo, long primaryTerm, boolean created)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
static PutWatchResponse
fromXContent(org.elasticsearch.common.xcontent.XContentParser parser)
java.lang.String
getId()
long
getPrimaryTerm()
long
getSeqNo()
long
getVersion()
int
hashCode()
boolean
isCreated()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PutWatchResponse
public PutWatchResponse() -
PutWatchResponse
public PutWatchResponse(java.lang.String id, long version, long seqNo, long primaryTerm, boolean created)
-
-
Method Details
-
getId
public java.lang.String getId() -
getVersion
public long getVersion() -
getSeqNo
public long getSeqNo() -
getPrimaryTerm
public long getPrimaryTerm() -
isCreated
public boolean isCreated() -
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
fromXContent
public static PutWatchResponse fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException- Throws:
java.io.IOException
-