Class PostStartTrialResponse
java.lang.Object
co.elastic.clients.elasticsearch._types.AcknowledgedResponseBase
co.elastic.clients.elasticsearch.license.PostStartTrialResponse
- All Implemented Interfaces:
AcknowledgedResponse
,JsonpSerializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.AcknowledgedResponseBase
AcknowledgedResponseBase.AbstractBuilder<BuilderT extends AcknowledgedResponseBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<PostStartTrialResponse>
Json deserializer forPostStartTrialResponse
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
API name:error_message
static PostStartTrialResponse
protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
final boolean
Required - API name:trial_was_started
final LicenseType
type()
Required - API name:type
Methods inherited from class co.elastic.clients.elasticsearch._types.AcknowledgedResponseBase
acknowledged, serialize, setupAcknowledgedResponseBaseDeserializer, toString
-
Field Details
-
_DESERIALIZER
Json deserializer forPostStartTrialResponse
-
-
Method Details
-
of
public static PostStartTrialResponse of(Function<PostStartTrialResponse.Builder, ObjectBuilder<PostStartTrialResponse>> fn) -
errorMessage
API name:error_message
-
trialWasStarted
public final boolean trialWasStarted()Required - API name:trial_was_started
-
type
Required - API name:type
-
serializeInternal
- Overrides:
serializeInternal
in classAcknowledgedResponseBase
-
setupPostStartTrialResponseDeserializer
protected static void setupPostStartTrialResponseDeserializer(ObjectDeserializer<PostStartTrialResponse.Builder> op)
-