GooglePrivacyDlpV2Finding.fromJson constructor

GooglePrivacyDlpV2Finding.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2Finding.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        findingId: json_.containsKey('findingId')
            ? json_['findingId'] as core.String
            : null,
        infoType: json_.containsKey('infoType')
            ? GooglePrivacyDlpV2InfoType.fromJson(
                json_['infoType'] as core.Map<core.String, core.dynamic>)
            : null,
        jobCreateTime: json_.containsKey('jobCreateTime')
            ? json_['jobCreateTime'] as core.String
            : null,
        jobName: json_.containsKey('jobName')
            ? json_['jobName'] as core.String
            : null,
        labels: json_.containsKey('labels')
            ? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        likelihood: json_.containsKey('likelihood')
            ? json_['likelihood'] as core.String
            : null,
        location: json_.containsKey('location')
            ? GooglePrivacyDlpV2Location.fromJson(
                json_['location'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        quote:
            json_.containsKey('quote') ? json_['quote'] as core.String : null,
        quoteInfo: json_.containsKey('quoteInfo')
            ? GooglePrivacyDlpV2QuoteInfo.fromJson(
                json_['quoteInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        resourceName: json_.containsKey('resourceName')
            ? json_['resourceName'] as core.String
            : null,
        triggerName: json_.containsKey('triggerName')
            ? json_['triggerName'] as core.String
            : null,
      );