OracleSettings.fromJson constructor

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

Implementation

factory OracleSettings.fromJson(Map<String, dynamic> json) {
  return OracleSettings(
    accessAlternateDirectly: json['AccessAlternateDirectly'] as bool?,
    addSupplementalLogging: json['AddSupplementalLogging'] as bool?,
    additionalArchivedLogDestId: json['AdditionalArchivedLogDestId'] as int?,
    allowSelectNestedTables: json['AllowSelectNestedTables'] as bool?,
    archivedLogDestId: json['ArchivedLogDestId'] as int?,
    archivedLogsOnly: json['ArchivedLogsOnly'] as bool?,
    asmPassword: json['AsmPassword'] as String?,
    asmServer: json['AsmServer'] as String?,
    asmUser: json['AsmUser'] as String?,
    charLengthSemantics:
        (json['CharLengthSemantics'] as String?)?.toCharLengthSemantics(),
    databaseName: json['DatabaseName'] as String?,
    directPathNoLog: json['DirectPathNoLog'] as bool?,
    directPathParallelLoad: json['DirectPathParallelLoad'] as bool?,
    enableHomogenousTablespace: json['EnableHomogenousTablespace'] as bool?,
    failTasksOnLobTruncation: json['FailTasksOnLobTruncation'] as bool?,
    numberDatatypeScale: json['NumberDatatypeScale'] as int?,
    oraclePathPrefix: json['OraclePathPrefix'] as String?,
    parallelAsmReadThreads: json['ParallelAsmReadThreads'] as int?,
    password: json['Password'] as String?,
    port: json['Port'] as int?,
    readAheadBlocks: json['ReadAheadBlocks'] as int?,
    readTableSpaceName: json['ReadTableSpaceName'] as bool?,
    replacePathPrefix: json['ReplacePathPrefix'] as bool?,
    retryInterval: json['RetryInterval'] as int?,
    secretsManagerAccessRoleArn:
        json['SecretsManagerAccessRoleArn'] as String?,
    secretsManagerOracleAsmAccessRoleArn:
        json['SecretsManagerOracleAsmAccessRoleArn'] as String?,
    secretsManagerOracleAsmSecretId:
        json['SecretsManagerOracleAsmSecretId'] as String?,
    secretsManagerSecretId: json['SecretsManagerSecretId'] as String?,
    securityDbEncryption: json['SecurityDbEncryption'] as String?,
    securityDbEncryptionName: json['SecurityDbEncryptionName'] as String?,
    serverName: json['ServerName'] as String?,
    useAlternateFolderForOnline: json['UseAlternateFolderForOnline'] as bool?,
    usePathPrefix: json['UsePathPrefix'] as String?,
    username: json['Username'] as String?,
  );
}