@Test public void testFields() throws Exception { final JSONObject testJSON = getTestJSON(); final JSONObject fields = new JSONObject(); fields.put("key1","key1Value"); fields.put("key2","key2Value"); testJSON.put("fields", fields); IssueType issueType = new IssueType(null, testJSON); assertEquals(2,issueType.getFields().size()); assertSame("key1Value",issueType.getFields().getString("key1")); assertSame("key2Value",issueType.getFields().getString("key2")); }
public JSONObject getFields() { return fields; }
IssueType extends Resource { public JSONObject getFields() { return fields; } }
IssueType extends Resource { public JSONObject getFields() { return fields; } protected  IssueType(RestClient restclient, JSONObject json); }
IssueType extends Resource { public JSONObject getFields() { return fields; } protected  IssueType(RestClient restclient, JSONObject json); static IssueType get(RestClient restclient, String id); @Override String toString(); String getDescription(); String getName(); String getIconUrl(); boolean isSubtask(); JSONObject getFields(); }
IssueType extends Resource { public JSONObject getFields() { return fields; } protected  IssueType(RestClient restclient, JSONObject json); static IssueType get(RestClient restclient, String id); @Override String toString(); String getDescription(); String getName(); String getIconUrl(); boolean isSubtask(); JSONObject getFields();  }