Class PostStartTrialResponse
java.lang.Object
co.elastic.clients.elasticsearch.license.PostStartTrialResponse
- All Implemented Interfaces:
AcknowledgedResponse,JsonpSerializable
@JsonpDeserializable public class PostStartTrialResponse extends java.lang.Object implements AcknowledgedResponse, JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPostStartTrialResponse.BuilderBuilder forPostStartTrialResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<PostStartTrialResponse>_DESERIALIZERJson deserializer forPostStartTrialResponse -
Method Summary
Modifier and Type Method Description booleanacknowledged()Required - API name:acknowledgedjava.lang.StringerrorMessage()API name:error_messagestatic PostStartTrialResponseof(java.util.function.Function<PostStartTrialResponse.Builder,ObjectBuilder<PostStartTrialResponse>> 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 voidsetupPostStartTrialResponseDeserializer(ObjectDeserializer<PostStartTrialResponse.Builder> op)java.lang.StringtoString()booleantrialWasStarted()Required - API name:trial_was_startedLicenseTypetype()API name:typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forPostStartTrialResponse
-
-
Method Details
-
of
public static PostStartTrialResponse of(java.util.function.Function<PostStartTrialResponse.Builder,ObjectBuilder<PostStartTrialResponse>> fn) -
acknowledged
public final boolean acknowledged()Required - API name:acknowledged- Specified by:
acknowledgedin interfaceAcknowledgedResponse
-
errorMessage
@Nullable public final java.lang.String 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
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupPostStartTrialResponseDeserializer
protected static void setupPostStartTrialResponseDeserializer(ObjectDeserializer<PostStartTrialResponse.Builder> op)
-