code: public PipelineSchedule takeOwnershipPipelineSchedule(Object projectIdOrPath, Integer pipelineScheduleId) throws GitLabApiException {
  
          Response response = post(Response.Status.OK, "", "projects", getProjectIdOrPath(projectIdOrPath),  "pipeline_schedules", pipelineScheduleId, "take_ownership");
          return (response.readEntity(PipelineSchedule.class));
      }
docs: Update the owner of the pipeline schedule of a project.
  
  <pre><code>POST /projects/:id/pipeline_schedules/:pipeline_schedule_id/take_ownership</code></pre>
  
  @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance, required
  @param pipelineScheduleId the pipelineSchedule instance id that ownership has to be taken of
  @return the modified project schedule
  @throws GitLabApiException if any exception occurs