code: public Observable<List<EntityRole>> getPrebuiltEntityRolesAsync(UUID appId, String versionId, UUID entityId) {
          return getPrebuiltEntityRolesWithServiceResponseAsync(appId, versionId, entityId).map(new Func1<ServiceResponse<List<EntityRole>>, List<EntityRole>>() {
              @Override
              public List<EntityRole> call(ServiceResponse<List<EntityRole>> response) {
                  return response.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
  @return the observable to the List&lt;EntityRole&gt; object