Class WorkflowsBankApi
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.api.WorkflowsBankApi
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-11-21T17:46:38.237005Z[Etc/UTC]") public class WorkflowsBankApi extends Object
-
-
Constructor Summary
Constructors Constructor Description WorkflowsBankApi()WorkflowsBankApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<WorkflowBankModel>createWorkflow(PostWorkflowBankModel postWorkflowBankModel)Create Workflow Creates a workflow.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<WorkflowBankModel>>createWorkflowWithHttpInfo(PostWorkflowBankModel postWorkflowBankModel)ApiClientgetApiClient()reactor.core.publisher.Mono<WorkflowWithDetailsBankModel>getWorkflow(String workflowGuid)Get Workflow Retrieves a workflow.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<WorkflowWithDetailsBankModel>>getWorkflowWithHttpInfo(String workflowGuid)reactor.core.publisher.Mono<WorkflowsListBankModel>listWorkflows(BigInteger page, BigInteger perPage, String guid, String bankGuid, String customerGuid)Get workflows list Retrieves a listing of workflows.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<WorkflowsListBankModel>>listWorkflowsWithHttpInfo(BigInteger page, BigInteger perPage, String guid, String bankGuid, String customerGuid)voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
WorkflowsBankApi
public WorkflowsBankApi()
-
WorkflowsBankApi
@Autowired public WorkflowsBankApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
createWorkflow
public reactor.core.publisher.Mono<WorkflowBankModel> createWorkflow(PostWorkflowBankModel postWorkflowBankModel) throws org.springframework.web.reactive.function.client.WebClientResponseException
Create Workflow Creates a workflow. Required scope: **workflows:execute**201 - Workflow created
400 - Invalid requests - malformed authentication header
401 - Unauthorized - Authentication failed,
403 - Invalid scope
422 - Unable to process request
- Parameters:
postWorkflowBankModel- The postWorkflowBankModel parameter- Returns:
- WorkflowBankModel
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createWorkflowWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<WorkflowBankModel>> createWorkflowWithHttpInfo(PostWorkflowBankModel postWorkflowBankModel) throws org.springframework.web.reactive.function.client.WebClientResponseException
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
getWorkflow
public reactor.core.publisher.Mono<WorkflowWithDetailsBankModel> getWorkflow(String workflowGuid) throws org.springframework.web.reactive.function.client.WebClientResponseException
Get Workflow Retrieves a workflow. Required scope: **workflows:read**200 - trade found
401 - Unauthorized - Authentication failed,
403 - Invalid scope
404 - workflow not found
- Parameters:
workflowGuid- Identifier for the workflow.- Returns:
- WorkflowWithDetailsBankModel
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
getWorkflowWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<WorkflowWithDetailsBankModel>> getWorkflowWithHttpInfo(String workflowGuid) throws org.springframework.web.reactive.function.client.WebClientResponseException
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
listWorkflows
public reactor.core.publisher.Mono<WorkflowsListBankModel> listWorkflows(BigInteger page, BigInteger perPage, String guid, String bankGuid, String customerGuid) throws org.springframework.web.reactive.function.client.WebClientResponseException
Get workflows list Retrieves a listing of workflows. Required scope: **workflows:read**200 - get list of workflows
400 - Invalid requests - malformed authentication header
401 - Unauthorized - Authentication failed,
403 - Invalid scope
- Parameters:
page- The page index to retrieve.perPage- The number of entities per page to return.guid- Comma separated workflow_guids to list workflows for.bankGuid- Comma separated bank_guids to list workflows for.customerGuid- Comma separated customer_guids to list workflows for.- Returns:
- WorkflowsListBankModel
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
listWorkflowsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<WorkflowsListBankModel>> listWorkflowsWithHttpInfo(BigInteger page, BigInteger perPage, String guid, String bankGuid, String customerGuid) throws org.springframework.web.reactive.function.client.WebClientResponseException
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
-