Class Actions
- java.lang.Object
-
- com.stackone.stackone_client_java.Actions
-
public class Actions extends java.lang.ObjectRetrieve Actions metadata and definitions.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsyncActionsasync()Switches to the async SDK.StackoneListActionsMetaRequestBuilderlistActionsMeta()List all actions metadataStackoneListActionsMetaResponselistActionsMeta(StackoneListActionsMetaRequest request)List all actions metadataStackoneListActionsMetaResponselistActionsMeta(StackoneListActionsMetaRequest request, java.util.Optional<Options> options)List all actions metadataStackoneRpcActionRequestBuilderrpcAction()Make an RPC call to an actionStackoneRpcActionResponserpcAction(ActionsRpcRequestDto request)Make an RPC call to an actionStackoneRpcActionResponserpcAction(ActionsRpcRequestDto request, java.util.Optional<Options> options)Make an RPC call to an action
-
-
-
Method Detail
-
async
public AsyncActions async()
Switches to the async SDK.- Returns:
- The async SDK
-
listActionsMeta
public StackoneListActionsMetaRequestBuilder listActionsMeta()
List all actions metadataRetrieves a list of all actions metadata
- Returns:
- The call builder
-
listActionsMeta
public StackoneListActionsMetaResponse listActionsMeta(StackoneListActionsMetaRequest request) throws java.lang.Exception
List all actions metadataRetrieves 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 metadataRetrieves 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 actionMakes 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 actionMakes 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 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:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
-