GooglePrivacyDlpV2ContentLocation.fromJson constructor

GooglePrivacyDlpV2ContentLocation.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2ContentLocation.fromJson(core.Map json_)
    : this(
        containerName: json_.containsKey('containerName')
            ? json_['containerName'] as core.String
            : null,
        containerTimestamp: json_.containsKey('containerTimestamp')
            ? json_['containerTimestamp'] as core.String
            : null,
        containerVersion: json_.containsKey('containerVersion')
            ? json_['containerVersion'] as core.String
            : null,
        documentLocation: json_.containsKey('documentLocation')
            ? GooglePrivacyDlpV2DocumentLocation.fromJson(
                json_['documentLocation']
                    as core.Map<core.String, core.dynamic>)
            : null,
        imageLocation: json_.containsKey('imageLocation')
            ? GooglePrivacyDlpV2ImageLocation.fromJson(
                json_['imageLocation'] as core.Map<core.String, core.dynamic>)
            : null,
        metadataLocation: json_.containsKey('metadataLocation')
            ? GooglePrivacyDlpV2MetadataLocation.fromJson(
                json_['metadataLocation']
                    as core.Map<core.String, core.dynamic>)
            : null,
        recordLocation: json_.containsKey('recordLocation')
            ? GooglePrivacyDlpV2RecordLocation.fromJson(
                json_['recordLocation']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );