testInboxForwardersForInboxWithHttpInfo method
Future<Response>
testInboxForwardersForInboxWithHttpInfo(
- String inboxId,
- InboxForwarderTestOptions inboxForwarderTestOptions
Test inbox forwarders for inbox
Test inbox forwarders for inbox
Note: This method returns the HTTP Response
.
Parameters:
-
String inboxId (required): ID of inbox
-
InboxForwarderTestOptions inboxForwarderTestOptions (required):
Implementation
Future<Response> testInboxForwardersForInboxWithHttpInfo(String inboxId, InboxForwarderTestOptions inboxForwarderTestOptions,) async {
// ignore: prefer_const_declarations
final path = r'/forwarders';
// ignore: prefer_final_locals
Object? postBody = inboxForwarderTestOptions;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
queryParams.addAll(_queryParams('', 'inboxId', inboxId));
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'PUT',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}