Sub2ApiAdminErrorPassthroughRule constructor
Sub2ApiAdminErrorPassthroughRule({
- required int id,
- required String name,
- required bool enabled,
- required int priority,
- required List<
int> errorCodes, - required List<
String> keywords, - required Sub2ApiAdminErrorPassthroughMatchMode matchMode,
- required List<
String> platforms, - required bool passthroughCode,
- required int? responseCode,
- required bool passthroughBody,
- required String? customMessage,
- required bool skipMonitoring,
- required String? description,
- required DateTime createdAt,
- required DateTime updatedAt,
Implementation
Sub2ApiAdminErrorPassthroughRule({
required this.id,
required this.name,
required this.enabled,
required this.priority,
required List<int> errorCodes,
required List<String> keywords,
required this.matchMode,
required List<String> platforms,
required this.passthroughCode,
required this.responseCode,
required this.passthroughBody,
required this.customMessage,
required this.skipMonitoring,
required this.description,
required this.createdAt,
required this.updatedAt,
}) : errorCodes = List.unmodifiable(errorCodes),
keywords = List.unmodifiable(keywords),
platforms = List.unmodifiable(platforms);