code: public TimeStats resetSpentTime(Object projectIdOrPath, Integer issueIid) throws GitLabApiException {
  
          if (issueIid == null) {
              throw new RuntimeException("issue IID cannot be null");
          }
  
          Response response = post(Response.Status.OK, new GitLabApiForm().asMap(),
                  "projects", getProjectIdOrPath(projectIdOrPath), "issues", issueIid, "reset_spent_time");
          return (response.readEntity(TimeStats.class));
      }
docs: Resets the total spent time for this issue to 0 seconds.
  
  <pre><code>GitLab Endpoint: POST /projects/:id/issues/:issue_iid/reset_spent_time</code></pre>
  
  @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
  @param issueIid the internal ID of a project's issue
  @return a TimeSTats instance
  @throws GitLabApiException if any exception occurs