code: public PipelineSchedule updatePipelineSchedule(Object projectIdOrPath,PipelineSchedule pipelineSchedule) throws GitLabApiException {
  
          GitLabApiForm formData = new GitLabApiForm()
                  .withParam("description", pipelineSchedule.getDescription(), false)
                  .withParam("ref", pipelineSchedule.getRef(), false)
                  .withParam("cron", pipelineSchedule.getCron(), false)
                  .withParam("cron_timezone", pipelineSchedule.getCronTimezone(), false)
                  .withParam("active", pipelineSchedule.getActive(), false);
  
          Response response = put(Response.Status.OK, formData.asMap(), "projects", getProjectIdOrPath(projectIdOrPath), "pipeline_schedules", pipelineSchedule.getId());
          return (response.readEntity(PipelineSchedule.class));
      }
docs: Modifies a pipeline schedule for project.
  
  <pre><code>PUT /projects/:id/pipeline_schedules/:pipeline_schedule_id</code></pre>
  
  @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance, required
  @param pipelineSchedule the pipelineSchedule instance that contains the pipelineSchedule info to modify
  @return the modified project schedule
  @throws GitLabApiException if any exception occurs