DiscoverConnectionProfileRequest.fromJson constructor

DiscoverConnectionProfileRequest.fromJson(
  1. Map json_
)

Implementation

DiscoverConnectionProfileRequest.fromJson(core.Map json_)
    : this(
        connectionProfile: json_.containsKey('connectionProfile')
            ? ConnectionProfile.fromJson(json_['connectionProfile']
                as core.Map<core.String, core.dynamic>)
            : null,
        connectionProfileName: json_.containsKey('connectionProfileName')
            ? json_['connectionProfileName'] as core.String
            : null,
        fullHierarchy: json_.containsKey('fullHierarchy')
            ? json_['fullHierarchy'] as core.bool
            : null,
        hierarchyDepth: json_.containsKey('hierarchyDepth')
            ? json_['hierarchyDepth'] as core.int
            : null,
        mysqlRdbms: json_.containsKey('mysqlRdbms')
            ? MysqlRdbms.fromJson(
                json_['mysqlRdbms'] as core.Map<core.String, core.dynamic>)
            : null,
        oracleRdbms: json_.containsKey('oracleRdbms')
            ? OracleRdbms.fromJson(
                json_['oracleRdbms'] as core.Map<core.String, core.dynamic>)
            : null,
        postgresqlRdbms: json_.containsKey('postgresqlRdbms')
            ? PostgresqlRdbms.fromJson(json_['postgresqlRdbms']
                as core.Map<core.String, core.dynamic>)
            : null,
        sqlServerRdbms: json_.containsKey('sqlServerRdbms')
            ? SqlServerRdbms.fromJson(json_['sqlServerRdbms']
                as core.Map<core.String, core.dynamic>)
            : null,
      );