public class ConnectorControllerApi extends Object
Constructor and Description |
---|
ConnectorControllerApi() |
ConnectorControllerApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ConnectorDto |
createConnector(CreateConnectorOptions createConnectorOptions)
Create an inbox connector
Sync emails between external mailboxes and MailSlurp inboxes
|
okhttp3.Call |
createConnectorAsync(CreateConnectorOptions createConnectorOptions,
ApiCallback<ConnectorDto> _callback)
Create an inbox connector (asynchronously)
Sync emails between external mailboxes and MailSlurp inboxes
|
okhttp3.Call |
createConnectorCall(CreateConnectorOptions createConnectorOptions,
ApiCallback _callback)
Build call for createConnector
|
ApiResponse<ConnectorDto> |
createConnectorWithHttpInfo(CreateConnectorOptions createConnectorOptions)
Create an inbox connector
Sync emails between external mailboxes and MailSlurp inboxes
|
void |
deleteConnector(UUID id)
Delete an inbox connector
|
okhttp3.Call |
deleteConnectorAsync(UUID id,
ApiCallback<Void> _callback)
Delete an inbox connector (asynchronously)
|
okhttp3.Call |
deleteConnectorCall(UUID id,
ApiCallback _callback)
Build call for deleteConnector
|
ApiResponse<Void> |
deleteConnectorWithHttpInfo(UUID id)
Delete an inbox connector
|
PageConnectorSyncEvents |
getAllConnectorSyncEvents(Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before)
Get all inbox connector sync events
|
okhttp3.Call |
getAllConnectorSyncEventsAsync(Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before,
ApiCallback<PageConnectorSyncEvents> _callback)
Get all inbox connector sync events (asynchronously)
|
okhttp3.Call |
getAllConnectorSyncEventsCall(Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before,
ApiCallback _callback)
Build call for getAllConnectorSyncEvents
|
ApiResponse<PageConnectorSyncEvents> |
getAllConnectorSyncEventsWithHttpInfo(Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before)
Get all inbox connector sync events
|
ApiClient |
getApiClient() |
ConnectorDto |
getConnector(UUID id)
Get an inbox connector
|
okhttp3.Call |
getConnectorAsync(UUID id,
ApiCallback<ConnectorDto> _callback)
Get an inbox connector (asynchronously)
|
okhttp3.Call |
getConnectorCall(UUID id,
ApiCallback _callback)
Build call for getConnector
|
PageConnector |
getConnectors(Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before)
Get inbox connectors
List inbox connectors that sync external emails to MailSlurp inboxes
|
okhttp3.Call |
getConnectorsAsync(Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before,
ApiCallback<PageConnector> _callback)
Get inbox connectors (asynchronously)
List inbox connectors that sync external emails to MailSlurp inboxes
|
okhttp3.Call |
getConnectorsCall(Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before,
ApiCallback _callback)
Build call for getConnectors
|
ApiResponse<PageConnector> |
getConnectorsWithHttpInfo(Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before)
Get inbox connectors
List inbox connectors that sync external emails to MailSlurp inboxes
|
ConnectorSyncEventDto |
getConnectorSyncEvent(UUID id)
Get an inbox connector sync event
|
okhttp3.Call |
getConnectorSyncEventAsync(UUID id,
ApiCallback<ConnectorSyncEventDto> _callback)
Get an inbox connector sync event (asynchronously)
|
okhttp3.Call |
getConnectorSyncEventCall(UUID id,
ApiCallback _callback)
Build call for getConnectorSyncEvent
|
PageConnectorSyncEvents |
getConnectorSyncEvents(UUID id,
Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before)
Get an inbox connector sync events
|
okhttp3.Call |
getConnectorSyncEventsAsync(UUID id,
Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before,
ApiCallback<PageConnectorSyncEvents> _callback)
Get an inbox connector sync events (asynchronously)
|
okhttp3.Call |
getConnectorSyncEventsCall(UUID id,
Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before,
ApiCallback _callback)
Build call for getConnectorSyncEvents
|
ApiResponse<PageConnectorSyncEvents> |
getConnectorSyncEventsWithHttpInfo(UUID id,
Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before)
Get an inbox connector sync events
|
ApiResponse<ConnectorSyncEventDto> |
getConnectorSyncEventWithHttpInfo(UUID id)
Get an inbox connector sync event
|
ApiResponse<ConnectorDto> |
getConnectorWithHttpInfo(UUID id)
Get an inbox connector
|
String |
getCustomBaseUrl() |
int |
getHostIndex() |
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
ConnectorSyncRequestResult |
syncConnector(UUID id)
Sync an inbox connector
|
okhttp3.Call |
syncConnectorAsync(UUID id,
ApiCallback<ConnectorSyncRequestResult> _callback)
Sync an inbox connector (asynchronously)
|
okhttp3.Call |
syncConnectorCall(UUID id,
ApiCallback _callback)
Build call for syncConnector
|
ApiResponse<ConnectorSyncRequestResult> |
syncConnectorWithHttpInfo(UUID id)
Sync an inbox connector
|
ConnectorDto |
updateConnector(UUID id,
CreateConnectorOptions createConnectorOptions)
Update an inbox connector
|
okhttp3.Call |
updateConnectorAsync(UUID id,
CreateConnectorOptions createConnectorOptions,
ApiCallback<ConnectorDto> _callback)
Update an inbox connector (asynchronously)
|
okhttp3.Call |
updateConnectorCall(UUID id,
CreateConnectorOptions createConnectorOptions,
ApiCallback _callback)
Build call for updateConnector
|
ApiResponse<ConnectorDto> |
updateConnectorWithHttpInfo(UUID id,
CreateConnectorOptions createConnectorOptions)
Update an inbox connector
|
public ConnectorControllerApi()
public ConnectorControllerApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public String getCustomBaseUrl()
public void setCustomBaseUrl(String customBaseUrl)
public okhttp3.Call createConnectorCall(CreateConnectorOptions createConnectorOptions, ApiCallback _callback) throws ApiException
createConnectorOptions
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
201 | Created | - |
public ConnectorDto createConnector(CreateConnectorOptions createConnectorOptions) throws ApiException
createConnectorOptions
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
201 | Created | - |
public ApiResponse<ConnectorDto> createConnectorWithHttpInfo(CreateConnectorOptions createConnectorOptions) throws ApiException
createConnectorOptions
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
201 | Created | - |
public okhttp3.Call createConnectorAsync(CreateConnectorOptions createConnectorOptions, ApiCallback<ConnectorDto> _callback) throws ApiException
createConnectorOptions
- (required)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectStatus Code | Description | Response Headers |
201 | Created | - |
public okhttp3.Call deleteConnectorCall(UUID id, ApiCallback _callback) throws ApiException
id
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
204 | No Content | - |
public void deleteConnector(UUID id) throws ApiException
id
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
204 | No Content | - |
public ApiResponse<Void> deleteConnectorWithHttpInfo(UUID id) throws ApiException
id
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
204 | No Content | - |
public okhttp3.Call deleteConnectorAsync(UUID id, ApiCallback<Void> _callback) throws ApiException
id
- (required)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectStatus Code | Description | Response Headers |
204 | No Content | - |
public okhttp3.Call getAllConnectorSyncEventsCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, ApiCallback _callback) throws ApiException
page
- Optional page index in connector list pagination (optional, default to 0)size
- Optional page size in connector list pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public PageConnectorSyncEvents getAllConnectorSyncEvents(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException
page
- Optional page index in connector list pagination (optional, default to 0)size
- Optional page size in connector list pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public ApiResponse<PageConnectorSyncEvents> getAllConnectorSyncEventsWithHttpInfo(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException
page
- Optional page index in connector list pagination (optional, default to 0)size
- Optional page size in connector list pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getAllConnectorSyncEventsAsync(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, ApiCallback<PageConnectorSyncEvents> _callback) throws ApiException
page
- Optional page index in connector list pagination (optional, default to 0)size
- Optional page size in connector list pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getConnectorCall(UUID id, ApiCallback _callback) throws ApiException
id
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public ConnectorDto getConnector(UUID id) throws ApiException
id
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public ApiResponse<ConnectorDto> getConnectorWithHttpInfo(UUID id) throws ApiException
id
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getConnectorAsync(UUID id, ApiCallback<ConnectorDto> _callback) throws ApiException
id
- (required)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getConnectorSyncEventCall(UUID id, ApiCallback _callback) throws ApiException
id
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public ConnectorSyncEventDto getConnectorSyncEvent(UUID id) throws ApiException
id
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public ApiResponse<ConnectorSyncEventDto> getConnectorSyncEventWithHttpInfo(UUID id) throws ApiException
id
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getConnectorSyncEventAsync(UUID id, ApiCallback<ConnectorSyncEventDto> _callback) throws ApiException
id
- (required)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getConnectorSyncEventsCall(UUID id, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, ApiCallback _callback) throws ApiException
id
- (required)page
- Optional page index in connector list pagination (optional, default to 0)size
- Optional page size in connector list pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public PageConnectorSyncEvents getConnectorSyncEvents(UUID id, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException
id
- (required)page
- Optional page index in connector list pagination (optional, default to 0)size
- Optional page size in connector list pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public ApiResponse<PageConnectorSyncEvents> getConnectorSyncEventsWithHttpInfo(UUID id, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException
id
- (required)page
- Optional page index in connector list pagination (optional, default to 0)size
- Optional page size in connector list pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getConnectorSyncEventsAsync(UUID id, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, ApiCallback<PageConnectorSyncEvents> _callback) throws ApiException
id
- (required)page
- Optional page index in connector list pagination (optional, default to 0)size
- Optional page size in connector list pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getConnectorsCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, ApiCallback _callback) throws ApiException
page
- Optional page index in connector list pagination (optional, default to 0)size
- Optional page size in connector list pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public PageConnector getConnectors(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException
page
- Optional page index in connector list pagination (optional, default to 0)size
- Optional page size in connector list pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public ApiResponse<PageConnector> getConnectorsWithHttpInfo(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException
page
- Optional page index in connector list pagination (optional, default to 0)size
- Optional page size in connector list pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getConnectorsAsync(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, ApiCallback<PageConnector> _callback) throws ApiException
page
- Optional page index in connector list pagination (optional, default to 0)size
- Optional page size in connector list pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call syncConnectorCall(UUID id, ApiCallback _callback) throws ApiException
id
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public ConnectorSyncRequestResult syncConnector(UUID id) throws ApiException
id
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public ApiResponse<ConnectorSyncRequestResult> syncConnectorWithHttpInfo(UUID id) throws ApiException
id
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call syncConnectorAsync(UUID id, ApiCallback<ConnectorSyncRequestResult> _callback) throws ApiException
id
- (required)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call updateConnectorCall(UUID id, CreateConnectorOptions createConnectorOptions, ApiCallback _callback) throws ApiException
id
- (required)createConnectorOptions
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public ConnectorDto updateConnector(UUID id, CreateConnectorOptions createConnectorOptions) throws ApiException
id
- (required)createConnectorOptions
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public ApiResponse<ConnectorDto> updateConnectorWithHttpInfo(UUID id, CreateConnectorOptions createConnectorOptions) throws ApiException
id
- (required)createConnectorOptions
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call updateConnectorAsync(UUID id, CreateConnectorOptions createConnectorOptions, ApiCallback<ConnectorDto> _callback) throws ApiException
id
- (required)createConnectorOptions
- (required)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
Copyright © 2023. All rights reserved.