Simplify ManiphestSearch
Now that the need for attachments in ManiphestSearch went away, we
remove them to get simpler code.
Change-Id: I34aab4f43b25b515b7ea25bf7fb38ea2e29636b4
diff --git a/src/main/java/com/googlesource/gerrit/plugins/its/phabricator/conduit/results/ManiphestSearch.java b/src/main/java/com/googlesource/gerrit/plugins/its/phabricator/conduit/results/ManiphestSearch.java
index 1f98709..e203b2c 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/its/phabricator/conduit/results/ManiphestSearch.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/its/phabricator/conduit/results/ManiphestSearch.java
@@ -14,8 +14,6 @@
package com.googlesource.gerrit.plugins.its.phabricator.conduit.results;
-import com.google.gson.JsonElement;
-
/**
* Models the result for a call to maniphest.search
*
@@ -69,34 +67,8 @@
*/
public class ManiphestSearch {
private int id;
- private JsonElement fields;
- private Attachments attachments;
public int getId() {
return id;
}
-
- public JsonElement getFields() {
- return fields;
- }
-
- public Attachments getAttachments() {
- return attachments;
- }
-
- public class Attachments {
- private Projects projects;
-
- public Projects getProjects() {
- return projects;
- }
- }
-
- public class Projects {
- private JsonElement projectPHIDs;
-
- public JsonElement getProjectPHIDs() {
- return projectPHIDs;
- }
- }
}