Package software.xdev.brevo.api
Class ProcessApi
java.lang.Object
software.xdev.brevo.api.ProcessApi
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ProcessApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProcess(Long processId) Return the informations for a processgetProcess(Long processId, Map<String, String> additionalHeaders) Return the informations for a processgetProcesses(Long limit, Long offset, String sort) Return all the processes for your accountReturn all the processes for your accountvoidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
ProcessApi
public ProcessApi() -
ProcessApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getProcess
Return the informations for a process- Parameters:
processId- Id of the process (required)- Returns:
- GetProcess
- Throws:
ApiException- if fails to make API call
-
getProcess
public GetProcess getProcess(Long processId, Map<String, String> additionalHeaders) throws ApiExceptionReturn the informations for a process- Parameters:
processId- Id of the process (required)additionalHeaders- additionalHeaders for this call- Returns:
- GetProcess
- Throws:
ApiException- if fails to make API call
-
getProcesses
Return all the processes for your account- Parameters:
limit- Number limitation for the result returned (optional, default to 10)offset- Beginning point in the list to retrieve from. (optional, default to 0)sort- Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)- Returns:
- GetProcesses
- Throws:
ApiException- if fails to make API call
-
getProcesses
public GetProcesses getProcesses(Long limit, Long offset, String sort, Map<String, String> additionalHeaders) throws ApiExceptionReturn all the processes for your account- Parameters:
limit- Number limitation for the result returned (optional, default to 10)offset- Beginning point in the list to retrieve from. (optional, default to 0)sort- Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)additionalHeaders- additionalHeaders for this call- Returns:
- GetProcesses
- Throws:
ApiException- if fails to make API call
-