Class SearchResponse

java.lang.Object
com.arubanetworks.meridian.search.SearchResponse

public class SearchResponse extends Object
Encapsulates the results of a Search.
  • Method Details

    • fromJSONObject

      public static SearchResponse fromJSONObject(org.json.JSONObject json, EditorKey appKey, int maxResults) throws org.json.JSONException
      Constructs a SearchResponse from a json response.
      Throws:
      org.json.JSONException - on malformed JSON
    • getResults

      public List<SearchResult> getResults()
      Gets the search results.