GooglePrivacyDlpV2ContentLocation.fromJson constructor

GooglePrivacyDlpV2ContentLocation.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2ContentLocation.fromJson(core.Map json_)
  : this(
      containerName: json_['containerName'] as core.String?,
      containerTimestamp: json_['containerTimestamp'] as core.String?,
      containerVersion: json_['containerVersion'] as core.String?,
      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,
    );