updateInboxReplierWithHttpInfo method
Future<Response>
updateInboxReplierWithHttpInfo(
- String id,
- UpdateInboxReplierOptions updateInboxReplierOptions
Update an inbox replier
Update inbox ruleset
Note: This method returns the HTTP Response
.
Parameters:
-
String id (required): ID of inbox replier
-
UpdateInboxReplierOptions updateInboxReplierOptions (required):
Implementation
Future<Response> updateInboxReplierWithHttpInfo(String id, UpdateInboxReplierOptions updateInboxReplierOptions,) async {
// ignore: prefer_const_declarations
final path = r'/repliers/{id}'
.replaceAll('{id}', id);
// ignore: prefer_final_locals
Object? postBody = updateInboxReplierOptions;
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,
);
}