/** * * This is part of the internal API. * This is a POST request. * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/qualityprofiles/change_parent">Further information about this action online (including a response example)</a> * @since 5.2 */ public void changeParent(ChangeParentRequest request) { call( new PostRequest(path("change_parent")) .setParam("key", request.getKey()) .setParam("language", request.getLanguage()) .setParam("organization", request.getOrganization()) .setParam("parentKey", request.getParentKey()) .setParam("parentQualityProfile", request.getParentQualityProfile()) .setParam("qualityProfile", request.getQualityProfile()) .setMediaType(MediaTypes.JSON) ).content(); }
/** * * This is part of the internal API. * This is a POST request. * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/qualityprofiles/change_parent">Further information about this action online (including a response example)</a> * @since 5.2 */ public void changeParent(ChangeParentRequest request) { call( new PostRequest(path("change_parent")) .setParam("key", request.getKey()) .setParam("language", request.getLanguage()) .setParam("organization", request.getOrganization()) .setParam("parentKey", request.getParentKey()) .setParam("parentQualityProfile", request.getParentQualityProfile()) .setParam("qualityProfile", request.getQualityProfile()) .setMediaType(MediaTypes.JSON) ).content(); }