Sub2ApiAdminUpdateErrorPassthroughRuleRequest constructor

Sub2ApiAdminUpdateErrorPassthroughRuleRequest({
  1. String? name,
  2. bool? enabled,
  3. int? priority,
  4. List<int>? errorCodes,
  5. List<String>? keywords,
  6. Sub2ApiAdminErrorPassthroughMatchMode? matchMode,
  7. List<String>? platforms,
  8. bool? passthroughCode,
  9. int? responseCode,
  10. bool? passthroughBody,
  11. String? customMessage,
  12. bool? skipMonitoring,
  13. String? description,
})

Implementation

Sub2ApiAdminUpdateErrorPassthroughRuleRequest({
  this.name,
  this.enabled,
  this.priority,
  List<int>? errorCodes,
  List<String>? keywords,
  this.matchMode,
  List<String>? platforms,
  this.passthroughCode,
  this.responseCode,
  this.passthroughBody,
  this.customMessage,
  this.skipMonitoring,
  this.description,
}) : errorCodes = errorCodes == null ? null : List.unmodifiable(errorCodes),
     keywords = keywords == null ? null : List.unmodifiable(keywords),
     platforms = platforms == null ? null : List.unmodifiable(platforms);