code: public Collection<Deployment> list(long applicationId, List<String> queryParams)
      {
          return HTTP.GET(String.format("/v2/applications/%d/deployments.json", applicationId), null, queryParams, DEPLOYMENTS).get();
      }
docs: Returns the set of deployments.
  @param applicationId The application id for the deployments
  @param queryParams The query parameters
  @return The set of deployments