public Observable<EntityRole> getHierarchicalEntityRoleAsync(UUID appId, String versionId, UUID hEntityId, UUID roleId) {
        return getHierarchicalEntityRoleWithServiceResponseAsync(appId, versionId, hEntityId, roleId).map(new Func1<ServiceResponse<EntityRole>, EntityRole>() {
            @Override
            public EntityRole call(ServiceResponse<EntityRole> response) {
                return response.body();
            }
        });
    }
public Observable < EntityRole > getHierarchicalEntityRoleAsync ( UUID appId , String versionId , UUID hEntityId , UUID roleId ) { return getHierarchicalEntityRoleWithServiceResponseAsync ( appId , versionId , hEntityId , roleId ) . map ( new Func1 < ServiceResponse < EntityRole > , EntityRole > ( ) { @ Override public EntityRole call ( ServiceResponse < EntityRole > response ) { return response . body ( ) ; } } ) ; }
Get one entity role for a given entity.

@param appId The application ID.
@param versionId The version ID.
@param hEntityId The hierarchical entity extractor ID.
@param roleId entity role ID.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the EntityRole object