public List<EntityRole> getHierarchicalEntityRoles(UUID appId, String versionId, UUID hEntityId) {
        return getHierarchicalEntityRolesWithServiceResponseAsync(appId, versionId, hEntityId).toBlocking().single().body();
    }
public List < EntityRole > getHierarchicalEntityRoles ( UUID appId , String versionId , UUID hEntityId ) { return getHierarchicalEntityRolesWithServiceResponseAsync ( appId , versionId , hEntityId ) . toBlocking ( ) . single ( ) . body ( ) ; }
Get All Entity Roles for a given entity.

@param appId The application ID.
@param versionId The version ID.
@param hEntityId The hierarchical entity extractor 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.