code: public ApiResponse<TaskStatusesEnvelope> getStatusesWithHttpInfo(String tid, Integer count, Integer offset, String status, String dids) throws ApiException {
          com.squareup.okhttp.Call call = getStatusesValidateBeforeCall(tid, count, offset, status, dids, null, null);
          Type localVarReturnType = new TypeToken<TaskStatusesEnvelope>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Returns the details and status of a task id and the individual statuses of each device id in the list.
  Returns the details and status of a task id and the individual statuses of each device id in the list.
  @param tid Task ID. (required)
  @param count Max results count. (optional)
  @param offset Result starting offset. (optional)
  @param status Status filter. Comma-separated statuses. (optional)
  @param dids Devices filter. Comma-separated device IDs. (optional)
  @return ApiResponse&lt;TaskStatusesEnvelope&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body