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 class
PostStartTrialResponse.Builder
Builder forPostStartTrialResponse
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<PostStartTrialResponse>
_DESERIALIZER
Json deserializer forPostStartTrialResponse
-
Method Summary
Modifier and Type Method Description boolean
acknowledged()
Required - API name:acknowledged
java.lang.String
errorMessage()
API name:error_message
static PostStartTrialResponse
of(java.util.function.Function<PostStartTrialResponse.Builder,ObjectBuilder<PostStartTrialResponse>> 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
setupPostStartTrialResponseDeserializer(ObjectDeserializer<PostStartTrialResponse.Builder> op)
java.lang.String
toString()
boolean
trialWasStarted()
Required - API name:trial_was_started
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 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:
acknowledged
in 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupPostStartTrialResponseDeserializer
protected static void setupPostStartTrialResponseDeserializer(ObjectDeserializer<PostStartTrialResponse.Builder> op)
-