updateInboxForwarderWithHttpInfo method
Future<Response>
updateInboxForwarderWithHttpInfo(
- String id,
- CreateInboxForwarderOptions createInboxForwarderOptions
Update an inbox forwarder
Update inbox ruleset
Note: This method returns the HTTP Response
.
Parameters:
-
String id (required): ID of inbox forwarder
-
CreateInboxForwarderOptions createInboxForwarderOptions (required):
Implementation
Future<Response> updateInboxForwarderWithHttpInfo(String id, CreateInboxForwarderOptions createInboxForwarderOptions,) async {
// ignore: prefer_const_declarations
final path = r'/forwarders/{id}'
.replaceAll('{id}', id);
// ignore: prefer_final_locals
Object? postBody = createInboxForwarderOptions;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'PUT',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}