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(XContentParser parser)
java.lang.String
getId()
long
getPrimaryTerm()
long
getSeqNo()
long
getVersion()
int
hashCode()
boolean
isCreated()
-
-
-
Method Detail
-
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(XContentParser parser) throws java.io.IOException
- Throws:
java.io.IOException
-
-