Class DeleteWatchResponse
java.lang.Object
co.elastic.clients.elasticsearch.watcher.DeleteWatchResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class DeleteWatchResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeleteWatchResponse.Builder
Builder forDeleteWatchResponse
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DeleteWatchResponse>
_DESERIALIZER
Json deserializer forDeleteWatchResponse
-
Method Summary
Modifier and Type Method Description boolean
found()
Required - API name:found
java.lang.String
id()
Required - API name:_id
static DeleteWatchResponse
of(java.util.function.Function<DeleteWatchResponse.Builder,ObjectBuilder<DeleteWatchResponse>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupDeleteWatchResponseDeserializer(ObjectDeserializer<DeleteWatchResponse.Builder> op)
long
version()
Required - API name:_version
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forDeleteWatchResponse
-
-
Method Details
-
of
public static DeleteWatchResponse of(java.util.function.Function<DeleteWatchResponse.Builder,ObjectBuilder<DeleteWatchResponse>> fn) -
found
public final boolean found()Required - API name:found
-
id
public final java.lang.String id()Required - API name:_id
-
version
public final long version()Required - API name:_version
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupDeleteWatchResponseDeserializer
protected static void setupDeleteWatchResponseDeserializer(ObjectDeserializer<DeleteWatchResponse.Builder> op)
-