code: public List<EntityRole> getClosedListEntityRoles(UUID appId, String versionId, UUID entityId) {
          return getClosedListEntityRolesWithServiceResponseAsync(appId, versionId, entityId).toBlocking().single().body();
      }
docs: Get All Entity Roles for a given entity.
  
  @param appId The application ID.
  @param versionId The version ID.
  @param entityId entity Id
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws ErrorResponseException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the List&lt;EntityRole&gt; object if successful.