MicrosoftSQLServerSettings.fromJson constructor
MicrosoftSQLServerSettings.fromJson(
- Map<String, dynamic> json
)
Implementation
factory MicrosoftSQLServerSettings.fromJson(Map<String, dynamic> json) {
return MicrosoftSQLServerSettings(
bcpPacketSize: json['BcpPacketSize'] as int?,
controlTablesFileGroup: json['ControlTablesFileGroup'] as String?,
databaseName: json['DatabaseName'] as String?,
password: json['Password'] as String?,
port: json['Port'] as int?,
readBackupOnly: json['ReadBackupOnly'] as bool?,
safeguardPolicy:
(json['SafeguardPolicy'] as String?)?.toSafeguardPolicy(),
secretsManagerAccessRoleArn:
json['SecretsManagerAccessRoleArn'] as String?,
secretsManagerSecretId: json['SecretsManagerSecretId'] as String?,
serverName: json['ServerName'] as String?,
useBcpFullLoad: json['UseBcpFullLoad'] as bool?,
username: json['Username'] as String?,
);
}