toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final awsAccountId = this.awsAccountId;
  final companyName = this.companyName;
  final complianceStatus = this.complianceStatus;
  final confidence = this.confidence;
  final createdAt = this.createdAt;
  final criticality = this.criticality;
  final description = this.description;
  final firstObservedAt = this.firstObservedAt;
  final generatorId = this.generatorId;
  final id = this.id;
  final keyword = this.keyword;
  final lastObservedAt = this.lastObservedAt;
  final malwareName = this.malwareName;
  final malwarePath = this.malwarePath;
  final malwareState = this.malwareState;
  final malwareType = this.malwareType;
  final networkDestinationDomain = this.networkDestinationDomain;
  final networkDestinationIpV4 = this.networkDestinationIpV4;
  final networkDestinationIpV6 = this.networkDestinationIpV6;
  final networkDestinationPort = this.networkDestinationPort;
  final networkDirection = this.networkDirection;
  final networkProtocol = this.networkProtocol;
  final networkSourceDomain = this.networkSourceDomain;
  final networkSourceIpV4 = this.networkSourceIpV4;
  final networkSourceIpV6 = this.networkSourceIpV6;
  final networkSourceMac = this.networkSourceMac;
  final networkSourcePort = this.networkSourcePort;
  final noteText = this.noteText;
  final noteUpdatedAt = this.noteUpdatedAt;
  final noteUpdatedBy = this.noteUpdatedBy;
  final processLaunchedAt = this.processLaunchedAt;
  final processName = this.processName;
  final processParentPid = this.processParentPid;
  final processPath = this.processPath;
  final processPid = this.processPid;
  final processTerminatedAt = this.processTerminatedAt;
  final productArn = this.productArn;
  final productFields = this.productFields;
  final productName = this.productName;
  final recommendationText = this.recommendationText;
  final recordState = this.recordState;
  final relatedFindingsId = this.relatedFindingsId;
  final relatedFindingsProductArn = this.relatedFindingsProductArn;
  final resourceAwsEc2InstanceIamInstanceProfileArn =
      this.resourceAwsEc2InstanceIamInstanceProfileArn;
  final resourceAwsEc2InstanceImageId = this.resourceAwsEc2InstanceImageId;
  final resourceAwsEc2InstanceIpV4Addresses =
      this.resourceAwsEc2InstanceIpV4Addresses;
  final resourceAwsEc2InstanceIpV6Addresses =
      this.resourceAwsEc2InstanceIpV6Addresses;
  final resourceAwsEc2InstanceKeyName = this.resourceAwsEc2InstanceKeyName;
  final resourceAwsEc2InstanceLaunchedAt =
      this.resourceAwsEc2InstanceLaunchedAt;
  final resourceAwsEc2InstanceSubnetId = this.resourceAwsEc2InstanceSubnetId;
  final resourceAwsEc2InstanceType = this.resourceAwsEc2InstanceType;
  final resourceAwsEc2InstanceVpcId = this.resourceAwsEc2InstanceVpcId;
  final resourceAwsIamAccessKeyCreatedAt =
      this.resourceAwsIamAccessKeyCreatedAt;
  final resourceAwsIamAccessKeyStatus = this.resourceAwsIamAccessKeyStatus;
  final resourceAwsIamAccessKeyUserName =
      this.resourceAwsIamAccessKeyUserName;
  final resourceAwsS3BucketOwnerId = this.resourceAwsS3BucketOwnerId;
  final resourceAwsS3BucketOwnerName = this.resourceAwsS3BucketOwnerName;
  final resourceContainerImageId = this.resourceContainerImageId;
  final resourceContainerImageName = this.resourceContainerImageName;
  final resourceContainerLaunchedAt = this.resourceContainerLaunchedAt;
  final resourceContainerName = this.resourceContainerName;
  final resourceDetailsOther = this.resourceDetailsOther;
  final resourceId = this.resourceId;
  final resourcePartition = this.resourcePartition;
  final resourceRegion = this.resourceRegion;
  final resourceTags = this.resourceTags;
  final resourceType = this.resourceType;
  final severityLabel = this.severityLabel;
  final severityNormalized = this.severityNormalized;
  final severityProduct = this.severityProduct;
  final sourceUrl = this.sourceUrl;
  final threatIntelIndicatorCategory = this.threatIntelIndicatorCategory;
  final threatIntelIndicatorLastObservedAt =
      this.threatIntelIndicatorLastObservedAt;
  final threatIntelIndicatorSource = this.threatIntelIndicatorSource;
  final threatIntelIndicatorSourceUrl = this.threatIntelIndicatorSourceUrl;
  final threatIntelIndicatorType = this.threatIntelIndicatorType;
  final threatIntelIndicatorValue = this.threatIntelIndicatorValue;
  final title = this.title;
  final type = this.type;
  final updatedAt = this.updatedAt;
  final userDefinedFields = this.userDefinedFields;
  final verificationState = this.verificationState;
  final workflowState = this.workflowState;
  final workflowStatus = this.workflowStatus;
  return {
    if (awsAccountId != null) 'AwsAccountId': awsAccountId,
    if (companyName != null) 'CompanyName': companyName,
    if (complianceStatus != null) 'ComplianceStatus': complianceStatus,
    if (confidence != null) 'Confidence': confidence,
    if (createdAt != null) 'CreatedAt': createdAt,
    if (criticality != null) 'Criticality': criticality,
    if (description != null) 'Description': description,
    if (firstObservedAt != null) 'FirstObservedAt': firstObservedAt,
    if (generatorId != null) 'GeneratorId': generatorId,
    if (id != null) 'Id': id,
    if (keyword != null) 'Keyword': keyword,
    if (lastObservedAt != null) 'LastObservedAt': lastObservedAt,
    if (malwareName != null) 'MalwareName': malwareName,
    if (malwarePath != null) 'MalwarePath': malwarePath,
    if (malwareState != null) 'MalwareState': malwareState,
    if (malwareType != null) 'MalwareType': malwareType,
    if (networkDestinationDomain != null)
      'NetworkDestinationDomain': networkDestinationDomain,
    if (networkDestinationIpV4 != null)
      'NetworkDestinationIpV4': networkDestinationIpV4,
    if (networkDestinationIpV6 != null)
      'NetworkDestinationIpV6': networkDestinationIpV6,
    if (networkDestinationPort != null)
      'NetworkDestinationPort': networkDestinationPort,
    if (networkDirection != null) 'NetworkDirection': networkDirection,
    if (networkProtocol != null) 'NetworkProtocol': networkProtocol,
    if (networkSourceDomain != null)
      'NetworkSourceDomain': networkSourceDomain,
    if (networkSourceIpV4 != null) 'NetworkSourceIpV4': networkSourceIpV4,
    if (networkSourceIpV6 != null) 'NetworkSourceIpV6': networkSourceIpV6,
    if (networkSourceMac != null) 'NetworkSourceMac': networkSourceMac,
    if (networkSourcePort != null) 'NetworkSourcePort': networkSourcePort,
    if (noteText != null) 'NoteText': noteText,
    if (noteUpdatedAt != null) 'NoteUpdatedAt': noteUpdatedAt,
    if (noteUpdatedBy != null) 'NoteUpdatedBy': noteUpdatedBy,
    if (processLaunchedAt != null) 'ProcessLaunchedAt': processLaunchedAt,
    if (processName != null) 'ProcessName': processName,
    if (processParentPid != null) 'ProcessParentPid': processParentPid,
    if (processPath != null) 'ProcessPath': processPath,
    if (processPid != null) 'ProcessPid': processPid,
    if (processTerminatedAt != null)
      'ProcessTerminatedAt': processTerminatedAt,
    if (productArn != null) 'ProductArn': productArn,
    if (productFields != null) 'ProductFields': productFields,
    if (productName != null) 'ProductName': productName,
    if (recommendationText != null) 'RecommendationText': recommendationText,
    if (recordState != null) 'RecordState': recordState,
    if (relatedFindingsId != null) 'RelatedFindingsId': relatedFindingsId,
    if (relatedFindingsProductArn != null)
      'RelatedFindingsProductArn': relatedFindingsProductArn,
    if (resourceAwsEc2InstanceIamInstanceProfileArn != null)
      'ResourceAwsEc2InstanceIamInstanceProfileArn':
          resourceAwsEc2InstanceIamInstanceProfileArn,
    if (resourceAwsEc2InstanceImageId != null)
      'ResourceAwsEc2InstanceImageId': resourceAwsEc2InstanceImageId,
    if (resourceAwsEc2InstanceIpV4Addresses != null)
      'ResourceAwsEc2InstanceIpV4Addresses':
          resourceAwsEc2InstanceIpV4Addresses,
    if (resourceAwsEc2InstanceIpV6Addresses != null)
      'ResourceAwsEc2InstanceIpV6Addresses':
          resourceAwsEc2InstanceIpV6Addresses,
    if (resourceAwsEc2InstanceKeyName != null)
      'ResourceAwsEc2InstanceKeyName': resourceAwsEc2InstanceKeyName,
    if (resourceAwsEc2InstanceLaunchedAt != null)
      'ResourceAwsEc2InstanceLaunchedAt': resourceAwsEc2InstanceLaunchedAt,
    if (resourceAwsEc2InstanceSubnetId != null)
      'ResourceAwsEc2InstanceSubnetId': resourceAwsEc2InstanceSubnetId,
    if (resourceAwsEc2InstanceType != null)
      'ResourceAwsEc2InstanceType': resourceAwsEc2InstanceType,
    if (resourceAwsEc2InstanceVpcId != null)
      'ResourceAwsEc2InstanceVpcId': resourceAwsEc2InstanceVpcId,
    if (resourceAwsIamAccessKeyCreatedAt != null)
      'ResourceAwsIamAccessKeyCreatedAt': resourceAwsIamAccessKeyCreatedAt,
    if (resourceAwsIamAccessKeyStatus != null)
      'ResourceAwsIamAccessKeyStatus': resourceAwsIamAccessKeyStatus,
    if (resourceAwsIamAccessKeyUserName != null)
      'ResourceAwsIamAccessKeyUserName': resourceAwsIamAccessKeyUserName,
    if (resourceAwsS3BucketOwnerId != null)
      'ResourceAwsS3BucketOwnerId': resourceAwsS3BucketOwnerId,
    if (resourceAwsS3BucketOwnerName != null)
      'ResourceAwsS3BucketOwnerName': resourceAwsS3BucketOwnerName,
    if (resourceContainerImageId != null)
      'ResourceContainerImageId': resourceContainerImageId,
    if (resourceContainerImageName != null)
      'ResourceContainerImageName': resourceContainerImageName,
    if (resourceContainerLaunchedAt != null)
      'ResourceContainerLaunchedAt': resourceContainerLaunchedAt,
    if (resourceContainerName != null)
      'ResourceContainerName': resourceContainerName,
    if (resourceDetailsOther != null)
      'ResourceDetailsOther': resourceDetailsOther,
    if (resourceId != null) 'ResourceId': resourceId,
    if (resourcePartition != null) 'ResourcePartition': resourcePartition,
    if (resourceRegion != null) 'ResourceRegion': resourceRegion,
    if (resourceTags != null) 'ResourceTags': resourceTags,
    if (resourceType != null) 'ResourceType': resourceType,
    if (severityLabel != null) 'SeverityLabel': severityLabel,
    if (severityNormalized != null) 'SeverityNormalized': severityNormalized,
    if (severityProduct != null) 'SeverityProduct': severityProduct,
    if (sourceUrl != null) 'SourceUrl': sourceUrl,
    if (threatIntelIndicatorCategory != null)
      'ThreatIntelIndicatorCategory': threatIntelIndicatorCategory,
    if (threatIntelIndicatorLastObservedAt != null)
      'ThreatIntelIndicatorLastObservedAt':
          threatIntelIndicatorLastObservedAt,
    if (threatIntelIndicatorSource != null)
      'ThreatIntelIndicatorSource': threatIntelIndicatorSource,
    if (threatIntelIndicatorSourceUrl != null)
      'ThreatIntelIndicatorSourceUrl': threatIntelIndicatorSourceUrl,
    if (threatIntelIndicatorType != null)
      'ThreatIntelIndicatorType': threatIntelIndicatorType,
    if (threatIntelIndicatorValue != null)
      'ThreatIntelIndicatorValue': threatIntelIndicatorValue,
    if (title != null) 'Title': title,
    if (type != null) 'Type': type,
    if (updatedAt != null) 'UpdatedAt': updatedAt,
    if (userDefinedFields != null) 'UserDefinedFields': userDefinedFields,
    if (verificationState != null) 'VerificationState': verificationState,
    if (workflowState != null) 'WorkflowState': workflowState,
    if (workflowStatus != null) 'WorkflowStatus': workflowStatus,
  };
}