package org.trello4j.model;

/**
 * <code>
 * {
 * 	"id":"4e7b86d7ce194786721560b8",
 * 	"name":"Known Issues",
 * 	"closed":false,
 * 	"idBoard":"4d5ea62fd76aa1136000000c",
 * 	"pos":9408.2119140625
 * }
 * </code>
 * 
 * @author joel
 * 
 */
public class List extends TrelloObject {

	/** The name. */
	private String name;

	/** The closed. */
	private boolean closed;

	/** The id board. */
	private String idBoard;

	/** The pos. */
	private double pos;

	/**
	 * Gets the name.
	 * 
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * Sets the name.
	 * 
	 * @param name
	 *            the new name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * Checks if is closed.
	 * 
	 * @return true, if is closed
	 */
	public boolean isClosed() {
		return closed;
	}

	/**
	 * Sets the closed.
	 * 
	 * @param closed
	 *            the new closed
	 */
	public void setClosed(boolean closed) {
		this.closed = closed;
	}

	/**
	 * Gets the id board.
	 * 
	 * @return the id board
	 */
	public String getIdBoard() {
		return idBoard;
	}

	/**
	 * Sets the id board.
	 * 
	 * @param idBoard
	 *            the new id board
	 */
	public void setIdBoard(String idBoard) {
		this.idBoard = idBoard;
	}

	/**
	 * Gets the pos.
	 * 
	 * @return the pos
	 */
	public double getPos() {
		return pos;
	}

	/**
	 * Sets the pos.
	 * 
	 * @param pos
	 *            the new pos
	 */
	public void setPos(double pos) {
		this.pos = pos;
	}

}

@@ -283,26 +283,8 @@
  %7B%0A%0A
-%09/** The name. */%0A
 %09pri
@@ -304,29 +304,8 @@
 ame;
-%0A%0A%09/** The closed. */
 %0A%09pr
@@ -329,31 +329,8 @@
 sed;
-%0A%0A%09/** The id board. */
 %0A%09pr
@@ -346,34 +346,16 @@
 ing 
-idB
+b
 oard
-;%0A%0A%09/** The pos. */
+Id;
 %0A%09pr
@@ -376,452 +376,193 @@
 os;%0A
-%0A%09/**%0A%09 * Gets the name.%0A%09 * %0A%09 * @return the name%0A%09 */%0A%09public String getName() %7B%0A%09%09return name;%0A%09%7D%0A%0A%09/**%0A%09 * Sets the name.%0A%09 * %0A%09 * @param name%0A%09 *            the new name%0A%09 */%0A%09public void setName(String name) %7B%0A%09%09this.name = name;%0A%09%7D%0A%0A%09/**%0A%09 * Checks if is closed.%0A%09 * %0A%09 * @return true, if is closed%0A%09 */%0A%09public boolean isClosed() %7B%0A%09%09return closed;%0A%09%7D%0A%0A%09/**%0A%09 * Sets the closed.%0A%09 * %0A%09 * @param closed%0A%09 *            the new closed%0A%09 */
+%09private boolean subscribed;%0A%0A%09public String getName() %7B%0A%09%09return name;%0A%09%7D%0A%0A%09public void setName(String name) %7B%0A%09%09this.name = name;%0A%09%7D%0A%0A%09public boolean isClosed() %7B%0A%09%09return closed;%0A%09%7D%0A
 %0A%09pu
@@ -631,71 +631,8 @@
 %09%7D%0A%0A
-%09/**%0A%09 * Gets the id board.%0A%09 * %0A%09 * @return the id board%0A%09 */%0A
 %09pub
@@ -645,23 +645,23 @@
 ring get
-Id
 Board
+Id
 () %7B%0A%09%09r
@@ -670,109 +670,20 @@
 urn 
-idBoard;%0A%09%7D%0A%0A%09/**%0A%09 * Sets the id board.%0A%09 * %0A%09 * @param idBoard%0A%09 *            the new id board%0A%09 */
+boardId;%0A%09%7D%0A
 %0A%09pu
@@ -699,23 +699,23 @@
  set
-Id
 Board
+Id
 (String 
 idBo
@@ -710,23 +710,23 @@
 (String 
-idB
+b
 oard
+Id
 ) %7B%0A%09%09th
@@ -732,83 +732,74 @@
 his.
-idB
+b
 oard
+Id
  = 
-idB
+b
 oard
+Id
 ;%0A%09%7D%0A%0A%09
-/**%0A%09 * Gets the pos.%0A%09 * %0A%09 * @
+public double getPos() %7B%0A%09%09
 return 
-the 
 pos
+;
 %0A%09
- */
+%7D%0A
 %0A%09pu
@@ -807,34 +807,46 @@
 lic 
+void setPos(
 double 
-getP
+p
 os
-(
 ) %7B%0A%09%09
-return
+this.pos =
  pos
@@ -856,136 +856,147 @@
 %7D%0A%0A%09
-/**%0A%09 * Sets the pos.%0A%09 * %0A%09 * @param pos%0A%09 *            the new pos%0A%09 */%0A%09public void setPos(double pos) %7B%0A%09%09this.pos = pos
+public boolean isSubscribed() %7B%0A%09%09return subscribed;%0A%09%7D%0A%0A%09public void setSubscribed(boolean subscribed) %7B%0A%09%09this.subscribed = subscribed
 ;%0A%09%7D%0A
-%0A
 %7D%0A

Add missing field "subscribed"