Class DeployModelResponse
java.lang.Object
org.opensearch.client.opensearch.ml.DeployModelResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<DeployModelResponse.Builder,DeployModelResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class DeployModelResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<DeployModelResponse.Builder,DeployModelResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<DeployModelResponse> Json deserializer forDeployModelResponse -
Method Summary
Modifier and TypeMethodDescriptionstatic DeployModelResponse.Builderbuilder()booleaninthashCode()static DeployModelResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Stringstatus()Required - API name:statusfinal StringtaskId()Required - API name:task_idfinal StringtaskType()API name:task_typeCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forDeployModelResponse
-
-
Method Details
-
of
public static DeployModelResponse of(Function<DeployModelResponse.Builder, ObjectBuilder<DeployModelResponse>> fn) -
status
Required - API name:status -
taskId
Required - API name:task_id -
taskType
API name:task_type -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<DeployModelResponse.Builder,DeployModelResponse> - Returns:
- a new builder instance.
-
builder
-
setupDeployModelResponseDeserializer
protected static void setupDeployModelResponseDeserializer(ObjectDeserializer<DeployModelResponse.Builder> op) -
hashCode
public int hashCode() -
equals
-