docs: public PagedList<RoleInner> listByDataBoxEdgeDevice(final String deviceName, final String resourceGroupName) {
          ServiceResponse<Page<RoleInner>> response = listByDataBoxEdgeDeviceSinglePageAsync(deviceName, resourceGroupName).toBlocking().single();
          return new PagedList<RoleInner>(response.body()) {
              @Override
              public Page<RoleInner> nextPage(String nextPageLink) {
                  return listByDataBoxEdgeDeviceNextSinglePageAsync(nextPageLink).toBlocking().single().body();
              }
          };
      }