Class PostStartTrialResponse
java.lang.Object
co.elastic.clients.elasticsearch.license.PostStartTrialResponse
- All Implemented Interfaces:
AcknowledgedResponse,JsonpSerializable
@JsonpDeserializable
public class PostStartTrialResponse
extends Object
implements AcknowledgedResponse, JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<PostStartTrialResponse>Json deserializer forPostStartTrialResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanRequired - API name:acknowledgedfinal StringAPI name:error_messagestatic PostStartTrialResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()final booleanRequired - API name:trial_was_startedfinal LicenseTypetype()API name:type
-
Field Details
-
_DESERIALIZER
Json deserializer forPostStartTrialResponse
-
-
Method Details
-
of
public static PostStartTrialResponse of(Function<PostStartTrialResponse.Builder, ObjectBuilder<PostStartTrialResponse>> fn) -
acknowledged
public final boolean acknowledged()Required - API name:acknowledged- Specified by:
acknowledgedin interfaceAcknowledgedResponse
-
errorMessage
API name:error_message -
trialWasStarted
public final boolean trialWasStarted()Required - API name:trial_was_started -
type
API name:type -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupPostStartTrialResponseDeserializer
protected static void setupPostStartTrialResponseDeserializer(ObjectDeserializer<PostStartTrialResponse.Builder> op)
-