code: public ServiceCall<TrainingQuery> getTrainingData(GetTrainingDataOptions getTrainingDataOptions) {
      Validator.notNull(getTrainingDataOptions, "getTrainingDataOptions cannot be null");
      String[] pathSegments = { "v1/environments", "collections", "training_data" };
      String[] pathParameters = { getTrainingDataOptions.environmentId(), getTrainingDataOptions.collectionId(),
          getTrainingDataOptions.queryId() };
      RequestBuilder builder = RequestBuilder.get(RequestBuilder.constructHttpUrl(getEndPoint(), pathSegments,
          pathParameters));
      builder.query("version", versionDate);
      Map<String, String> sdkHeaders = SdkCommon.getSdkHeaders("discovery", "v1", "getTrainingData");
      for (Entry<String, String> header : sdkHeaders.entrySet()) {
        builder.header(header.getKey(), header.getValue());
      }
      builder.header("Accept", "application/json");
      return createServiceCall(builder.build(), ResponseConverterUtils.getObject(TrainingQuery.class));
    }
docs: Get details about a query.
  
  Gets details for a specific training data query, including the query string and all examples.
  
  @param getTrainingDataOptions the {@link GetTrainingDataOptions} containing the options for the call
  @return a {@link ServiceCall} with a response type of {@link TrainingQuery}