updateAccount.addStatus(ok("the account has been updated"));
updateAccount.addStatus(forbidden("insufficient rights to update the account"));
updateAccount.addStatus(badRequest("if a non-existing language identifier is provided"));
updateAccount.addStatus(notFound("the account does not exist"));
updateAccount.addStatus(notFound("the site does not exist"));
updateAccount.addStatus(serviceUnavailable("the site is temporarily offline"));
updateAccount.setTestForm(new TestForm());
updateAccount.addPathParameter(new Parameter("login", Parameter.Type.String, "Unique login name"));
updateAccount.addOptionalParameter(new Parameter("email", Parameter.Type.String, "E-mail address"));
updateAccount.addOptionalParameter(new Parameter("firstname", Parameter.Type.String, "First name"));
updateAccount.addOptionalParameter(new Parameter("lastname", Parameter.Type.String, "Last name"));