Class PostStartBasicResponse
java.lang.Object
co.elastic.clients.elasticsearch.license.PostStartBasicResponse
- All Implemented Interfaces:
AcknowledgedResponse
,JsonpSerializable
@JsonpDeserializable public class PostStartBasicResponse extends java.lang.Object implements AcknowledgedResponse, JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PostStartBasicResponse.Builder
Builder forPostStartBasicResponse
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<PostStartBasicResponse>
_DESERIALIZER
Json deserializer forPostStartBasicResponse
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,java.util.List<java.lang.String>>
acknowledge()
API name:acknowledge
boolean
acknowledged()
Required - API name:acknowledged
boolean
basicWasStarted()
Required - API name:basic_was_started
java.lang.String
errorMessage()
API name:error_message
static PostStartBasicResponse
of(java.util.function.Function<PostStartBasicResponse.Builder,ObjectBuilder<PostStartBasicResponse>> 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
setupPostStartBasicResponseDeserializer(ObjectDeserializer<PostStartBasicResponse.Builder> op)
java.lang.String
toString()
LicenseType
type()
API name:type
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forPostStartBasicResponse
-
-
Method Details
-
of
public static PostStartBasicResponse of(java.util.function.Function<PostStartBasicResponse.Builder,ObjectBuilder<PostStartBasicResponse>> fn) -
acknowledged
public final boolean acknowledged()Required - API name:acknowledged
- Specified by:
acknowledged
in interfaceAcknowledgedResponse
-
basicWasStarted
public final boolean basicWasStarted()Required - API name:basic_was_started
-
errorMessage
@Nullable public final java.lang.String errorMessage()API name:error_message
-
type
API name:type
-
acknowledge
public final java.util.Map<java.lang.String,java.util.List<java.lang.String>> acknowledge()API name:acknowledge
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupPostStartBasicResponseDeserializer
protected static void setupPostStartBasicResponseDeserializer(ObjectDeserializer<PostStartBasicResponse.Builder> op)
-