Class Actions


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

      • async

        public AsyncActions async()
        Switches to the async SDK.
        Returns:
        The async SDK
      • listActionsMeta

        public StackoneListActionsMetaResponse listActionsMeta​(StackoneListActionsMetaRequest request)
                                                        throws java.lang.Exception
        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:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • listActionsMeta

        public StackoneListActionsMetaResponse listActionsMeta​(StackoneListActionsMetaRequest request,
                                                               java.util.Optional<Options> options)
                                                        throws java.lang.Exception
        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:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • rpcAction

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

        Makes a remote procedure call to the specified action

        Returns:
        The call builder
      • rpcAction

        public StackoneRpcActionResponse rpcAction​(ActionsRpcRequestDto request)
                                            throws java.lang.Exception
        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:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • rpcAction

        public StackoneRpcActionResponse rpcAction​(ActionsRpcRequestDto request,
                                                   java.util.Optional<Options> options)
                                            throws java.lang.Exception
        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:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails