class GoogleAnalyticsDataLayerRestServiceImpl extends BaseRestService implements GoogleAnalyticsDataLayerRestService {

    @Override
    public RestResult<List<Role>> getRolesByApplicationId(long applicationId) {
        return getWithRestResult(format("%s/application/%d/user-roles", ANALYTICS_BASE_URL, applicationId),
                                 roleListType()
        );
    }

}