package org.simpleim.common.message;

public class NewAccountOkResponse extends OkResponse {
	private String id;
	private String password;

	/**
	 * You can use it like:
	 * <p>new NewAccountOkResponse().setId("blah").setPassword("blah");</p>
	 */
	public NewAccountOkResponse() {
		super();
	}
	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public NewAccountOkResponse setId(String id) {
		this.id = id;
		return this;
	}
	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * @param password the password to set
	 */
	public NewAccountOkResponse setPassword(String password) {
		this.password = password;
		return this;
	}
}

@@ -721,11 +721,101 @@
 this;%0A%09%7D
+%0A%0A%09public boolean isValid() %7B%0A%09%09return id != null && !id.isEmpty() && password != null;%0A%09%7D
 %0A%7D%0A

add NewAccountOkResponse.isValid() method