code: public PagedList<JobStepInner> listByVersion(final String resourceGroupName, final String serverName, final String jobAgentName, final String jobName, final int jobVersion) {
          ServiceResponse<Page<JobStepInner>> response = listByVersionSinglePageAsync(resourceGroupName, serverName, jobAgentName, jobName, jobVersion).toBlocking().single();
          return new PagedList<JobStepInner>(response.body()) {
              @Override
              public Page<JobStepInner> nextPage(String nextPageLink) {
                  return listByVersionNextSinglePageAsync(nextPageLink).toBlocking().single().body();
              }
          };
      }
docs: Gets all job steps in the specified job version.
  
  @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 jobName The name of the job to get.
  @param jobVersion The version of the job to get.
  @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;JobStepInner&gt; object if successful.