Class AsyncActions
- java.lang.Object
-
- com.stackone.stackone_client_java.AsyncActions
-
public class AsyncActions extends java.lang.ObjectRetrieve Actions metadata and definitions.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StackoneBuildActionEmbeddingsRequestBuilderbuildActionEmbeddings()Rebuild action embeddings for semantic searchjava.util.concurrent.CompletableFuture<StackoneBuildActionEmbeddingsResponse>buildActionEmbeddings(ActionBuildDto request)Rebuild action embeddings for semantic searchjava.util.concurrent.CompletableFuture<StackoneBuildActionEmbeddingsResponse>buildActionEmbeddings(ActionBuildDto request, java.util.Optional<Options> options)Rebuild action embeddings for semantic searchStackoneListActionsMetaRequestBuilderlistActionsMeta()List all actions metadatajava.util.concurrent.CompletableFuture<StackoneListActionsMetaResponse>listActionsMeta(StackoneListActionsMetaRequest request)List all actions metadatajava.util.concurrent.CompletableFuture<StackoneListActionsMetaResponse>listActionsMeta(StackoneListActionsMetaRequest request, java.util.Optional<Options> options)List all actions metadataStackoneRpcActionRequestBuilderrpcAction()Make an RPC call to an actionjava.util.concurrent.CompletableFuture<StackoneRpcActionResponse>rpcAction(ActionsRpcRequestDto request)Make an RPC call to an actionjava.util.concurrent.CompletableFuture<StackoneRpcActionResponse>rpcAction(ActionsRpcRequestDto request, java.util.Optional<Options> options)Make an RPC call to an actionStackoneSearchActionsRequestBuildersearchActions()Search connector actions by semantic similarityjava.util.concurrent.CompletableFuture<StackoneSearchActionsResponse>searchActions(ActionSearchDto request)Search connector actions by semantic similarityjava.util.concurrent.CompletableFuture<StackoneSearchActionsResponse>searchActions(ActionSearchDto request, java.util.Optional<Options> options)Search connector actions by semantic similarityActionssync()Switches to the sync SDK.
-
-
-
Method Detail
-
sync
public Actions sync()
Switches to the sync SDK.- Returns:
- The sync SDK
-
listActionsMeta
public StackoneListActionsMetaRequestBuilder listActionsMeta()
List all actions metadataRetrieves a list of all actions metadata
- Returns:
- The async call builder
-
listActionsMeta
public java.util.concurrent.CompletableFuture<StackoneListActionsMetaResponse> listActionsMeta(StackoneListActionsMetaRequest request)
List all actions metadataRetrieves a list of all actions metadata
- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
CompletableFuture<StackoneListActionsMetaResponse>- The async response
-
listActionsMeta
public java.util.concurrent.CompletableFuture<StackoneListActionsMetaResponse> listActionsMeta(StackoneListActionsMetaRequest request, java.util.Optional<Options> options)
List all actions metadataRetrieves a list of all actions metadata
- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
CompletableFuture<StackoneListActionsMetaResponse>- The async response
-
searchActions
public StackoneSearchActionsRequestBuilder searchActions()
Search connector actions by semantic similarity- Returns:
- The async call builder
-
searchActions
public java.util.concurrent.CompletableFuture<StackoneSearchActionsResponse> searchActions(ActionSearchDto request)
Search connector actions by semantic similarity- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
CompletableFuture<StackoneSearchActionsResponse>- The async response
-
searchActions
public java.util.concurrent.CompletableFuture<StackoneSearchActionsResponse> searchActions(ActionSearchDto request, java.util.Optional<Options> options)
Search connector actions by semantic similarity- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
CompletableFuture<StackoneSearchActionsResponse>- The async response
-
buildActionEmbeddings
public StackoneBuildActionEmbeddingsRequestBuilder buildActionEmbeddings()
Rebuild action embeddings for semantic search- Returns:
- The async call builder
-
buildActionEmbeddings
public java.util.concurrent.CompletableFuture<StackoneBuildActionEmbeddingsResponse> buildActionEmbeddings(ActionBuildDto request)
Rebuild action embeddings for semantic search- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
CompletableFuture<StackoneBuildActionEmbeddingsResponse>- The async response
-
buildActionEmbeddings
public java.util.concurrent.CompletableFuture<StackoneBuildActionEmbeddingsResponse> buildActionEmbeddings(ActionBuildDto request, java.util.Optional<Options> options)
Rebuild action embeddings for semantic search- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
CompletableFuture<StackoneBuildActionEmbeddingsResponse>- The async response
-
rpcAction
public StackoneRpcActionRequestBuilder rpcAction()
Make an RPC call to an actionMakes a remote procedure call to the specified action
- Returns:
- The async call builder
-
rpcAction
public java.util.concurrent.CompletableFuture<StackoneRpcActionResponse> rpcAction(ActionsRpcRequestDto request)
Make an RPC call to an actionMakes a remote procedure call to the specified action
- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
CompletableFuture<StackoneRpcActionResponse>- The async response
-
rpcAction
public java.util.concurrent.CompletableFuture<StackoneRpcActionResponse> rpcAction(ActionsRpcRequestDto request, java.util.Optional<Options> options)
Make an RPC call to an actionMakes a remote procedure call to the specified action
- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
CompletableFuture<StackoneRpcActionResponse>- The async response
-
-