Sub2ApiAdminCreateErrorPassthroughRuleRequest constructor
Sub2ApiAdminCreateErrorPassthroughRuleRequest({
- required String name,
- List<
int> errorCodes = const <int>[], - List<
String> keywords = const <String>[], - List<
String> platforms = const <String>[], - bool enabled = true,
- int priority = 0,
- Sub2ApiAdminErrorPassthroughMatchMode matchMode = Sub2ApiAdminErrorPassthroughMatchMode.any,
- bool passthroughCode = true,
- int? responseCode,
- bool passthroughBody = true,
- String? customMessage,
- bool skipMonitoring = false,
- String? description,
Implementation
Sub2ApiAdminCreateErrorPassthroughRuleRequest({
required this.name,
List<int> errorCodes = const <int>[],
List<String> keywords = const <String>[],
List<String> platforms = const <String>[],
this.enabled = true,
this.priority = 0,
this.matchMode = Sub2ApiAdminErrorPassthroughMatchMode.any,
this.passthroughCode = true,
this.responseCode,
this.passthroughBody = true,
this.customMessage,
this.skipMonitoring = false,
this.description,
}) : errorCodes = List.unmodifiable(errorCodes),
keywords = List.unmodifiable(keywords),
platforms = List.unmodifiable(platforms);