@@ -0,0 +1,1040 @@
+package com.growthbeat.model;%0A%0Aimport java.util.Date;%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0A%0Aimport com.growthbeat.Context;%0A%0Apublic class Consumption extends Model %7B%0A%0A%09private int count;%0A%09private Date created;%0A%09private Account account;%0A%09private Action action;%0A%0A%09public int getCount() %7B%0A%09%09return count;%0A%09%7D%0A%0A%09public void setCount(int count) %7B%0A%09%09this.count = count;%0A%09%7D%0A%0A%09public Date getCreated() %7B%0A%09%09return created;%0A%09%7D%0A%0A%09public void setCreated(Date created) %7B%0A%09%09this.created = created;%0A%09%7D%0A%0A%09public Account getAccount() %7B%0A%09%09return account;%0A%09%7D%0A%0A%09public void setAccount(Account account) %7B%0A%09%09this.account = account;%0A%09%7D%0A%0A%09public Action getAction() %7B%0A%09%09return action;%0A%09%7D%0A%0A%09public void setAction(Action action) %7B%0A%09%09this.action = action;%0A%09%7D%0A%0A%09public static Consumption create(String accountId, String actionId, Context context) %7B%0A%09%09Map%3CString, Object%3E params = new HashMap%3CString, Object%3E();%0A%09%09params.put(%22accountId%22, accountId);%0A%09%09params.put(%22actionId%22, actionId);%0A%09%09return post(context, %221/consumptions%22, params, Consumption.class);%0A%09%7D%0A%0A%7D%0A

Add Consumption model