GoogleCloudApigeeV1SecurityIncident.fromJson constructor

GoogleCloudApigeeV1SecurityIncident.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1SecurityIncident.fromJson(core.Map json_)
    : this(
        detectionTypes: json_.containsKey('detectionTypes')
            ? (json_['detectionTypes'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        firstDetectedTime: json_.containsKey('firstDetectedTime')
            ? json_['firstDetectedTime'] as core.String
            : null,
        lastDetectedTime: json_.containsKey('lastDetectedTime')
            ? json_['lastDetectedTime'] as core.String
            : null,
        lastObservabilityChangeTime:
            json_.containsKey('lastObservabilityChangeTime')
                ? json_['lastObservabilityChangeTime'] as core.String
                : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        observability: json_.containsKey('observability')
            ? json_['observability'] as core.String
            : null,
        riskLevel: json_.containsKey('riskLevel')
            ? json_['riskLevel'] as core.String
            : null,
        trafficCount: json_.containsKey('trafficCount')
            ? json_['trafficCount'] as core.String
            : null,
      );