code: public ListEnvironmentsResponseInner listEnvironments(String userName, String labId) {
          return listEnvironmentsWithServiceResponseAsync(userName, labId).toBlocking().single().body();
      }
docs: List Environments for the user.
  
  @param userName The name of the user.
  @param labId The resource Id of the lab
  @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 ListEnvironmentsResponseInner object if successful.