Class AsyncActions


  • public class AsyncActions
    extends java.lang.Object
    Retrieve Actions metadata and definitions.
    • Method Detail

      • sync

        public Actions sync()
        Switches to the sync SDK.
        Returns:
        The sync SDK
      • listActionsMeta

        public java.util.concurrent.CompletableFuture<StackoneListActionsMetaResponse> listActionsMeta​(StackoneListActionsMetaRequest request)
        List all actions metadata

        Retrieves 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 metadata

        Retrieves 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
      • rpcAction

        public StackoneRpcActionRequestBuilder rpcAction()
        Make an RPC call to an action

        Makes 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 action

        Makes 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 action

        Makes 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