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,
        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,
        recursionDepth: _json.containsKey('recursionDepth')
            ? _json['recursionDepth'] as core.int
            : null,
        recursive: _json.containsKey('recursive')
            ? _json['recursive'] as core.bool
            : null,
      );