code: public List<PollData> getPollData(String taskType) {
          Preconditions.checkArgument(StringUtils.isNotBlank(taskType), "Task type cannot be blank");
  
          Object[] params = new Object[]{"taskType", taskType};
          return getForEntity("tasks/queue/polldata", params, pollDataList);
      }
docs: Get last poll data for a given task type
  
  @param taskType the task type for which poll data is to be fetched
  @return returns the list of poll data for the task type