Package org.elasticsearch.client.watcher
Class PutWatchResponse
- java.lang.Object
-
- org.elasticsearch.client.watcher.PutWatchResponse
-
public class PutWatchResponse extends Object
-
-
Constructor Summary
Constructors Constructor Description PutWatchResponse()PutWatchResponse(String id, long version, long seqNo, long primaryTerm, boolean created)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static PutWatchResponsefromXContent(XContentParser parser)StringgetId()longgetPrimaryTerm()longgetSeqNo()longgetVersion()inthashCode()booleanisCreated()
-
-
-
Constructor Detail
-
PutWatchResponse
public PutWatchResponse()
-
PutWatchResponse
public PutWatchResponse(String id, long version, long seqNo, long primaryTerm, boolean created)
-
-
Method Detail
-
getId
public String getId()
-
getVersion
public long getVersion()
-
getSeqNo
public long getSeqNo()
-
getPrimaryTerm
public long getPrimaryTerm()
-
isCreated
public boolean isCreated()
-
fromXContent
public static PutWatchResponse fromXContent(XContentParser parser) throws IOException
- Throws:
IOException
-
-