createNewInboxReplierWithHttpInfo method
Future<Response>
createNewInboxReplierWithHttpInfo(
- CreateInboxReplierOptions createInboxReplierOptions
Create an inbox replier
Create a new inbox rule for reply toing, blocking, and allowing emails when sending and receiving
Note: This method returns the HTTP Response
.
Parameters:
- CreateInboxReplierOptions createInboxReplierOptions (required):
Implementation
Future<Response> createNewInboxReplierWithHttpInfo(CreateInboxReplierOptions createInboxReplierOptions,) async {
// ignore: prefer_const_declarations
final path = r'/repliers';
// ignore: prefer_final_locals
Object? postBody = createInboxReplierOptions;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}