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 classPostStartBasicResponse.BuilderBuilder forPostStartBasicResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<PostStartBasicResponse>_DESERIALIZERJson deserializer forPostStartBasicResponse -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,java.util.List<java.lang.String>>acknowledge()API name:acknowledgebooleanacknowledged()Required - API name:acknowledgedbooleanbasicWasStarted()Required - API name:basic_was_startedjava.lang.StringerrorMessage()API name:error_messagestatic PostStartBasicResponseof(java.util.function.Function<PostStartBasicResponse.Builder,ObjectBuilder<PostStartBasicResponse>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupPostStartBasicResponseDeserializer(ObjectDeserializer<PostStartBasicResponse.Builder> op)java.lang.StringtoString()LicenseTypetype()API name:typeMethods 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:
acknowledgedin 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupPostStartBasicResponseDeserializer
protected static void setupPostStartBasicResponseDeserializer(ObjectDeserializer<PostStartBasicResponse.Builder> op)
-