package com.team5.aLife.BaseStation;

public class GetUserNotificiationReply extends AbstractReply{

	private boolean result;
	private ALifeNotificationSetup notification;
	
	public GetUserNotificiationReply(){
		//  Do nothing.  Needed for JSON
	}
	
	public GetUserNotificiationReply(boolean result, ALifeNotificationSetup notification)
	{
		this.result = result;
		this.notification = notification;
	}
	
	@Override
	public int getReplyType() {
		// TODO Auto-generated method stub
		return GET_USERS_NOTIFICATION_REPLY;
	}
	
	public boolean wasTransactionSuccessful(){
		return result;
	}
	
	public ALifeNotificationSetup getNotification(){
		return notification;
	}

}
