Class GetProfileModelsRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.ml.GetProfileModelsRequest
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<GetProfileModelsRequest.Builder,GetProfileModelsRequest>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class GetProfileModelsRequest
extends RequestBase
implements PlainJsonSerializable, ToCopyableBuilder<GetProfileModelsRequest.Builder,GetProfileModelsRequest>
Get a profile models.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetProfileModelsRequest> Json deserializer forGetProfileModelsRequeststatic final Endpoint<GetProfileModelsRequest, GetProfileModelsResponse, ErrorResponse> Endpoint "ml.get_profile_models". -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaninthashCode()final StringmodelId()API name:model_idmodelIds()API name:model_idsnodeIds()API name:node_idsstatic GetProfileModelsRequestfinal BooleanWhether to return all models.final BooleanWhether to return all tasks.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtaskIds()API name:task_idsCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.RequestBase
applyQueryParameters, errorTrace, humanMethods 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 forGetProfileModelsRequest -
_ENDPOINT
public static final Endpoint<GetProfileModelsRequest,GetProfileModelsResponse, _ENDPOINTErrorResponse> Endpoint "ml.get_profile_models".
-
-
Method Details
-
of
public static GetProfileModelsRequest of(Function<GetProfileModelsRequest.Builder, ObjectBuilder<GetProfileModelsRequest>> fn) -
modelId
API name:model_id -
modelIds
API name:model_ids -
nodeIds
API name:node_ids -
returnAllModels
Whether to return all models.API name:
return_all_models -
returnAllTasks
Whether to return all tasks.API name:
return_all_tasks -
taskIds
API name:task_ids -
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<GetProfileModelsRequest.Builder,GetProfileModelsRequest> - Returns:
- a new builder instance.
-
builder
-
setupGetProfileModelsRequestDeserializer
protected static void setupGetProfileModelsRequestDeserializer(ObjectDeserializer<GetProfileModelsRequest.Builder> op) -
hashCode
public int hashCode() -
equals
-