code: public PagedList<JobExecutionInner> listByAgent(final String resourceGroupName, final String serverName, final String jobAgentName, final DateTime createTimeMin, final DateTime createTimeMax, final DateTime endTimeMin, final DateTime endTimeMax, final Boolean isActive, final Integer skip, final Integer top) {
          ServiceResponse<Page<JobExecutionInner>> response = listByAgentSinglePageAsync(resourceGroupName, serverName, jobAgentName, createTimeMin, createTimeMax, endTimeMin, endTimeMax, isActive, skip, top).toBlocking().single();
          return new PagedList<JobExecutionInner>(response.body()) {
              @Override
              public Page<JobExecutionInner> nextPage(String nextPageLink) {
                  return listByAgentNextSinglePageAsync(nextPageLink).toBlocking().single().body();
              }
          };
      }
docs: Lists all executions in a job agent.
  
  @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
  @param serverName The name of the server.
  @param jobAgentName The name of the job agent.
  @param createTimeMin If specified, only job executions created at or after the specified time are included.
  @param createTimeMax If specified, only job executions created before the specified time are included.
  @param endTimeMin If specified, only job executions completed at or after the specified time are included.
  @param endTimeMax If specified, only job executions completed before the specified time are included.
  @param isActive If specified, only active or only completed job executions are included.
  @param skip The number of elements in the collection to skip.
  @param top The number of elements to return from the collection.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException 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;JobExecutionInner&gt; object if successful.