code: public Observable<UUID> createHierarchicalEntityRoleAsync(UUID appId, String versionId, UUID hEntityId, CreateHierarchicalEntityRoleOptionalParameter createHierarchicalEntityRoleOptionalParameter) {
          return createHierarchicalEntityRoleWithServiceResponseAsync(appId, versionId, hEntityId, createHierarchicalEntityRoleOptionalParameter).map(new Func1<ServiceResponse<UUID>, UUID>() {
              @Override
              public UUID call(ServiceResponse<UUID> response) {
                  return response.body();
              }
          });
      }
docs: Create an entity role for an entity in the application.
  
  @param appId The application ID.
  @param versionId The version ID.
  @param hEntityId The hierarchical entity extractor ID.
  @param createHierarchicalEntityRoleOptionalParameter the object representing the optional parameters to be set before calling this API
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the UUID object