package com.cardshifter.api.both;

import com.cardshifter.api.messages.Message;

public class InviteResponse extends Message {

	private int inviteId;
	private boolean accepted;
	
	public InviteResponse() {
		this(0, false);
	}

	public InviteResponse(int inviteId, boolean accepted) {
		super("inviteResponse");
		this.inviteId = inviteId;
		this.accepted = accepted;
	}
	
	public int getInviteId() {
		return inviteId;
	}
	
	public boolean isAccepted() {
		return accepted;
	}

}

@@ -73,16 +73,64 @@
 essage;%0A
+/**%0A * Response to an InviteRequest message.%0A */
 %0Apublic 
@@ -221,16 +221,49 @@
 pted;%0A%09%0A
+%09/** Constructor. (no params) */%0A
 %09public 
@@ -306,205 +306,477 @@
 %0A%09%7D%0A
-%0A%09public InviteResponse(int inviteId, boolean accepted) %7B%0A%09%09super(%22inviteResponse%22);%0A%09%09this.inviteId = inviteId;%0A%09%09this.accepted = accepted;%0A%09%7D%0A%09%0A%09public int getInviteId() %7B%0A%09%09return inviteId;%0A%09%7D%0A%09
+%09/**%0A%09 * Constructor.%0A%09 * @param inviteId  Id of this incoming InviteRequest message%0A%09 * @param accepted  Whether or not the InviteRequest is accepted%0A%09 */%0A%09public InviteResponse(int inviteId, boolean accepted) %7B%0A%09%09super(%22inviteResponse%22);%0A%09%09this.inviteId = inviteId;%0A%09%09this.accepted = accepted;%0A%09%7D%0A%09/** @return  Id of this incoming InviteRequest message */%0A%09public int getInviteId() %7B%0A%09%09return inviteId;%0A%09%7D%0A%09/** @return  Whether or not the InviteRequest is accepted */
 %0A%09pu

Update InviteResponse.java