testNewInboxRulesetWithHttpInfo method
Future<Response>
testNewInboxRulesetWithHttpInfo(
- TestNewInboxRulesetOptions testNewInboxRulesetOptions
Test new inbox ruleset
Test new inbox ruleset
Note: This method returns the HTTP Response
.
Parameters:
- TestNewInboxRulesetOptions testNewInboxRulesetOptions (required):
Implementation
Future<Response> testNewInboxRulesetWithHttpInfo(TestNewInboxRulesetOptions testNewInboxRulesetOptions,) async {
// ignore: prefer_const_declarations
final path = r'/rulesets';
// ignore: prefer_final_locals
Object? postBody = testNewInboxRulesetOptions;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'PATCH',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}