GetDatabaseConnectionResponse constructor

GetDatabaseConnectionResponse({
  1. String? hostname,
  2. String? mongodbUri,
  3. bool? hasDatabaseUser,
})

Implementation

factory GetDatabaseConnectionResponse({
  $core.String? hostname,
  $core.String? mongodbUri,
  $core.bool? hasDatabaseUser,
}) {
  final $result = create();
  if (hostname != null) {
    $result.hostname = hostname;
  }
  if (mongodbUri != null) {
    $result.mongodbUri = mongodbUri;
  }
  if (hasDatabaseUser != null) {
    $result.hasDatabaseUser = hasDatabaseUser;
  }
  return $result;
}