DataCatalogEncryptionSettings.fromJson constructor

DataCatalogEncryptionSettings.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DataCatalogEncryptionSettings.fromJson(Map<String, dynamic> json) {
  return DataCatalogEncryptionSettings(
    connectionPasswordEncryption: json['ConnectionPasswordEncryption'] != null
        ? ConnectionPasswordEncryption.fromJson(
            json['ConnectionPasswordEncryption'] as Map<String, dynamic>)
        : null,
    encryptionAtRest: json['EncryptionAtRest'] != null
        ? EncryptionAtRest.fromJson(
            json['EncryptionAtRest'] as Map<String, dynamic>)
        : null,
  );
}