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