package com.team5.aLife.Client;

public class UpdateDeviceRequest extends AbstractRequest {

	Device device;
	
	public UpdateDeviceRequest(){
		//  Do nothing.  Needed for JSON
	}
	
	public UpdateDeviceRequest(Device device)
	{
		this.device = device;
	}
	
	@Override
	public int getRequestType() {
		// TODO Auto-generated method stub
		return UPDATE_DEVICE_REQUEST;
	}
	
	public Device getDevice(){
		return device;
	}

}
