public WsTemplateGroupsResponse templateGroups(TemplateGroupsRequest request) {
    return call(
      new GetRequest(path("template_groups"))
        .setParam("organization", request.getOrganization())
        .setParam("p", request.getP())
        .setParam("permission", request.getPermission())
        .setParam("ps", request.getPs())
        .setParam("q", request.getQ())
        .setParam("templateId", request.getTemplateId())
        .setParam("templateName", request.getTemplateName()),
      WsTemplateGroupsResponse.parser());
  }
public WsTemplateGroupsResponse templateGroups ( TemplateGroupsRequest request ) { return call ( new GetRequest ( path ( "template_groups" ) ) . setParam ( "organization" , request . getOrganization ( ) ) . setParam ( "p" , request . getP ( ) ) . setParam ( "permission" , request . getPermission ( ) ) . setParam ( "ps" , request . getPs ( ) ) . setParam ( "q" , request . getQ ( ) ) . setParam ( "templateId" , request . getTemplateId ( ) ) . setParam ( "templateName" , request . getTemplateName ( ) ) , WsTemplateGroupsResponse . parser ( ) ) ; }
This is part of the internal API.
This is a GET request.
@see <a href="https://next.sonarqube.com/sonarqube/web_api/api/permissions/template_groups">Further information about this action online (including a response example)</a>
@since 5.2