toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (authentication != null) 'authentication': authentication!,
      if (blacklistPatterns != null) 'blacklistPatterns': blacklistPatterns!,
      if (displayName != null) 'displayName': displayName!,
      if (exportToSecurityCommandCenter != null)
        'exportToSecurityCommandCenter': exportToSecurityCommandCenter!,
      if (ignoreHttpStatusErrors != null)
        'ignoreHttpStatusErrors': ignoreHttpStatusErrors!,
      if (managedScan != null) 'managedScan': managedScan!,
      if (maxQps != null) 'maxQps': maxQps!,
      if (name != null) 'name': name!,
      if (riskLevel != null) 'riskLevel': riskLevel!,
      if (schedule != null) 'schedule': schedule!,
      if (startingUrls != null) 'startingUrls': startingUrls!,
      if (staticIpScan != null) 'staticIpScan': staticIpScan!,
      if (userAgent != null) 'userAgent': userAgent!,
    };