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

List the user input examples for an intent, optionally including contextual entity mentions.

This operation is limited to 2500 requests per 30 minutes. For more information, see **Rate limiting**.

@param listExamplesOptions the {@link ListExamplesOptions} containing the options for the call
@return a {@link ServiceCall} with a response type of {@link ExampleCollection}