code: public PipelineSchedule createPipelineSchedule(Object projectIdOrPath, PipelineSchedule pipelineSchedule)
              throws GitLabApiException {
  
          GitLabApiForm formData = new GitLabApiForm()
                  .withParam("description", pipelineSchedule.getDescription(), true)
                  .withParam("ref", pipelineSchedule.getRef(), true)
                  .withParam("cron", pipelineSchedule.getCron(), true)
                  .withParam("cron_timezone", pipelineSchedule.getCronTimezone(), false)
                  .withParam("active", pipelineSchedule.getActive(), false);
          Response response = post(Response.Status.CREATED, formData, "projects", getProjectIdOrPath(projectIdOrPath), "pipeline_schedules");
          return (response.readEntity(PipelineSchedule.class));
      }
docs: create a pipeline schedule for a project.
  
  <pre><code>POST /projects/:id/pipeline_schedules</code></pre>
  
  @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance, required
  @param pipelineSchedule a PipelineSchedule instance to create
  @return the added PipelineSchedule instance
  @throws GitLabApiException if any exception occurs