docs: public ServiceCall<SynonymCollection> listSynonyms(ListSynonymsOptions listSynonymsOptions) {
      Validator.notNull(listSynonymsOptions, "listSynonymsOptions cannot be null");
      String[] pathSegments = { "v1/workspaces", "entities", "values", "synonyms" };
      String[] pathParameters = { listSynonymsOptions.workspaceId(), listSynonymsOptions.entity(), listSynonymsOptions
          .value() };
      RequestBuilder builder = RequestBuilder.get(RequestBuilder.constructHttpUrl(getEndPoint(), pathSegments,
          pathParameters));
      builder.query("version", versionDate);
      Map<String, String> sdkHeaders = SdkCommon.getSdkHeaders("conversation", "v1", "listSynonyms");
      for (Entry<String, String> header : sdkHeaders.entrySet()) {
        builder.header(header.getKey(), header.getValue());
      }
      builder.header("Accept", "application/json");
      if (listSynonymsOptions.pageLimit() != null) {
        builder.query("page_limit", String.valueOf(listSynonymsOptions.pageLimit()));
      }
      if (listSynonymsOptions.includeCount() != null) {
        builder.query("include_count", String.valueOf(listSynonymsOptions.includeCount()));
      }
      if (listSynonymsOptions.sort() != null) {
        builder.query("sort", listSynonymsOptions.sort());
      }
      if (listSynonymsOptions.cursor() != null) {
        builder.query("cursor", listSynonymsOptions.cursor());
      }
      if (listSynonymsOptions.includeAudit() != null) {
        builder.query("include_audit", String.valueOf(listSynonymsOptions.includeAudit()));
      }
      return createServiceCall(builder.build(), ResponseConverterUtils.getObject(SynonymCollection.class));
    }