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

List the dialog nodes for a workspace.

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

@param listDialogNodesOptions the {@link ListDialogNodesOptions} containing the options for the call
@return a {@link ServiceCall} with a response type of {@link DialogNodeCollection}