code: public ServiceCall<EntityCollection> listEntities(ListEntitiesOptions listEntitiesOptions) {
      Validator.notNull(listEntitiesOptions, "listEntitiesOptions cannot be null");
      String[] pathSegments = { "v1/workspaces", "entities" };
      String[] pathParameters = { listEntitiesOptions.workspaceId() };
      RequestBuilder builder = RequestBuilder.get(RequestBuilder.constructHttpUrl(getEndPoint(), pathSegments,
          pathParameters));
      builder.query("version", versionDate);
      Map<String, String> sdkHeaders = SdkCommon.getSdkHeaders("conversation", "v1", "listEntities");
      for (Entry<String, String> header : sdkHeaders.entrySet()) {
        builder.header(header.getKey(), header.getValue());
      }
      builder.header("Accept", "application/json");
      if (listEntitiesOptions.export() != null) {
        builder.query("export", String.valueOf(listEntitiesOptions.export()));
      }
      if (listEntitiesOptions.pageLimit() != null) {
        builder.query("page_limit", String.valueOf(listEntitiesOptions.pageLimit()));
      }
      if (listEntitiesOptions.includeCount() != null) {
        builder.query("include_count", String.valueOf(listEntitiesOptions.includeCount()));
      }
      if (listEntitiesOptions.sort() != null) {
        builder.query("sort", listEntitiesOptions.sort());
      }
      if (listEntitiesOptions.cursor() != null) {
        builder.query("cursor", listEntitiesOptions.cursor());
      }
      if (listEntitiesOptions.includeAudit() != null) {
        builder.query("include_audit", String.valueOf(listEntitiesOptions.includeAudit()));
      }
      return createServiceCall(builder.build(), ResponseConverterUtils.getObject(EntityCollection.class));
    }
docs: List entities.
  
  List the entities for a workspace.
  
  With **export**=`false`, this operation is limited to 1000 requests per 30 minutes. With **export**=`true`, the
  limit is 200 requests per 30 minutes. For more information, see **Rate limiting**.
  
  @param listEntitiesOptions the {@link ListEntitiesOptions} containing the options for the call
  @return a {@link ServiceCall} with a response type of {@link EntityCollection}