Package org.elasticsearch.client.watcher
Class ActivateWatchResponse
- java.lang.Object
-
- org.elasticsearch.client.watcher.ActivateWatchResponse
-
public final class ActivateWatchResponse extends java.lang.ObjectResponse from an 'activate watch' request.
-
-
Constructor Summary
Constructors Constructor Description ActivateWatchResponse(WatchStatus status)
-
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object o)static ActivateWatchResponsefromXContent(XContentParser parser)WatchStatusgetStatus()inthashCode()
-
-
-
Constructor Detail
-
ActivateWatchResponse
public ActivateWatchResponse(WatchStatus status)
-
-
Method Detail
-
getStatus
public WatchStatus getStatus()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
fromXContent
public static ActivateWatchResponse fromXContent(XContentParser parser) throws java.io.IOException
- Throws:
java.io.IOException
-
-