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 booleanequals(java.lang.Object o)static PutWatchResponsefromXContent(XContentParser parser)java.lang.StringgetId()longgetPrimaryTerm()longgetSeqNo()longgetVersion()inthashCode()booleanisCreated()
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
fromXContent
- Throws:
java.io.IOException
-