OnPremisesConfiguration.fromJson constructor

OnPremisesConfiguration.fromJson(
  1. Map _json
)

Implementation

OnPremisesConfiguration.fromJson(core.Map _json)
    : this(
        caCertificate: _json.containsKey('caCertificate')
            ? _json['caCertificate'] as core.String
            : null,
        clientCertificate: _json.containsKey('clientCertificate')
            ? _json['clientCertificate'] as core.String
            : null,
        clientKey: _json.containsKey('clientKey')
            ? _json['clientKey'] as core.String
            : null,
        dumpFilePath: _json.containsKey('dumpFilePath')
            ? _json['dumpFilePath'] as core.String
            : null,
        hostPort: _json.containsKey('hostPort')
            ? _json['hostPort'] as core.String
            : null,
        kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
        password: _json.containsKey('password')
            ? _json['password'] as core.String
            : null,
        sourceInstance: _json.containsKey('sourceInstance')
            ? InstanceReference.fromJson(_json['sourceInstance']
                as core.Map<core.String, core.dynamic>)
            : null,
        username: _json.containsKey('username')
            ? _json['username'] as core.String
            : null,
      );