code: public ApiSuccessResponse getUsers(String searchTerm, BigDecimal groupId, String sort, String sortBy, BigDecimal limit, BigDecimal offset, String channels) throws ApiException {
          ApiResponse<ApiSuccessResponse> resp = getUsersWithHttpInfo(searchTerm, groupId, sort, sortBy, limit, offset, channels);
          return resp.getData();
      }
docs: Search for users.
  Search for users with the specified filters.
  @param searchTerm The text to search. (optional)
  @param groupId The ID of the group where the user belongs. (optional)
  @param sort The sort order, either &#x60;asc&#x60; (ascending) or &#x60;desc&#x60; (descending). The default is &#x60;asc&#x60;. (optional)
  @param sortBy The sort order by criteria, either comma-separated list of criteria. Possible ccriteria &#39;firstName&#39;, &#39;lastName&#39;, &#39;userName&#39;. The default is &#x60;firstName,lastName&#x60;. (optional)
  @param limit Number of results to return. The default value is 100. (optional)
  @param offset The offset to start from in the results. The default value is 0. (optional)
  @param channels List of restricted channel, either comma-separated list of channels. If channels is not defined all available channels are returned. (optional)
  @return ApiSuccessResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body