Class UpdateModelSnapshotResponse
java.lang.Object
co.elastic.clients.elasticsearch.ml.UpdateModelSnapshotResponse
- All Implemented Interfaces:
AcknowledgedResponse,JsonpSerializable
@JsonpDeserializable public class UpdateModelSnapshotResponse extends java.lang.Object implements AcknowledgedResponse, JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateModelSnapshotResponse.BuilderBuilder forUpdateModelSnapshotResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<UpdateModelSnapshotResponse>_DESERIALIZERJson deserializer forUpdateModelSnapshotResponse -
Method Summary
Modifier and Type Method Description booleanacknowledged()Required - API name:acknowledgedModelSnapshotmodel()Required - API name:modelstatic UpdateModelSnapshotResponseof(java.util.function.Function<UpdateModelSnapshotResponse.Builder,ObjectBuilder<UpdateModelSnapshotResponse>> 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 voidsetupUpdateModelSnapshotResponseDeserializer(ObjectDeserializer<UpdateModelSnapshotResponse.Builder> op)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forUpdateModelSnapshotResponse
-
-
Method Details
-
of
public static UpdateModelSnapshotResponse of(java.util.function.Function<UpdateModelSnapshotResponse.Builder,ObjectBuilder<UpdateModelSnapshotResponse>> fn) -
acknowledged
public final boolean acknowledged()Required - API name:acknowledged- Specified by:
acknowledgedin interfaceAcknowledgedResponse
-
model
Required - API name:model -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupUpdateModelSnapshotResponseDeserializer
protected static void setupUpdateModelSnapshotResponseDeserializer(ObjectDeserializer<UpdateModelSnapshotResponse.Builder> op)
-