toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (alertId != null) 'alertId': alertId!,
      if (createTime != null) 'createTime': createTime!,
      if (customerId != null) 'customerId': customerId!,
      if (data != null) 'data': data!,
      if (deleted != null) 'deleted': deleted!,
      if (endTime != null) 'endTime': endTime!,
      if (etag != null) 'etag': etag!,
      if (metadata != null) 'metadata': metadata!.toJson(),
      if (securityInvestigationToolLink != null)
        'securityInvestigationToolLink': securityInvestigationToolLink!,
      if (source != null) 'source': source!,
      if (startTime != null) 'startTime': startTime!,
      if (type != null) 'type': type!,
      if (updateTime != null) 'updateTime': updateTime!,
    };