code: public PagedList<CloudJobSchedule> list(final JobScheduleListOptions jobScheduleListOptions) {
          ServiceResponseWithHeaders<Page<CloudJobSchedule>, JobScheduleListHeaders> response = listSinglePageAsync(jobScheduleListOptions).toBlocking().single();
          return new PagedList<CloudJobSchedule>(response.body()) {
              @Override
              public Page<CloudJobSchedule> nextPage(String nextPageLink) {
                  JobScheduleListNextOptions jobScheduleListNextOptions = null;
                  if (jobScheduleListOptions != null) {
                      jobScheduleListNextOptions = new JobScheduleListNextOptions();
                      jobScheduleListNextOptions.withClientRequestId(jobScheduleListOptions.clientRequestId());
                      jobScheduleListNextOptions.withReturnClientRequestId(jobScheduleListOptions.returnClientRequestId());
                      jobScheduleListNextOptions.withOcpDate(jobScheduleListOptions.ocpDate());
                  }
                  return listNextSinglePageAsync(nextPageLink, jobScheduleListNextOptions).toBlocking().single().body();
              }
          };
      }
docs: Lists all of the job schedules in the specified account.
  
  @param jobScheduleListOptions Additional parameters for the operation
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws BatchErrorException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the PagedList&lt;CloudJobSchedule&gt; object if successful.