Class BuildDataBoundUIViaAIRequest

All Implemented Interfaces:
HasHandlers

public class BuildDataBoundUIViaAIRequest extends BuildUIViaAIRequest
Represents a request to AI for data-bound UI elements.
  • Constructor Details

    • BuildDataBoundUIViaAIRequest

      public BuildDataBoundUIViaAIRequest()
    • BuildDataBoundUIViaAIRequest

      public BuildDataBoundUIViaAIRequest(JavaScriptObject jsObj)
  • Method Details

    • getOrCreateRef

      public static BuildDataBoundUIViaAIRequest getOrCreateRef(JavaScriptObject jsObj)
    • setAllowedUITypes

      public BuildDataBoundUIViaAIRequest setAllowedUITypes(String... allowedUITypes)
      The list of allowed, data-bound UI types. The following types are supported by default:
      • "list" - A ListGrid displaying some data from a data source in a list or grid
      • "chart" - A FacetChart displaying some data from a data source as a chart
      • "value" - A Label displaying a single value (scalar) derived from the data in a data source
      Overrides:
      setAllowedUITypes in class BuildUIViaAIRequest
      Parameters:
      allowedUITypes - New allowedUITypes value. Default value is null
      Returns:
      BuildDataBoundUIViaAIRequest instance, for chaining setter calls
    • getAllowedUITypes

      public String[] getAllowedUITypes()
      The list of allowed, data-bound UI types. The following types are supported by default:
      • "list" - A ListGrid displaying some data from a data source in a list or grid
      • "chart" - A FacetChart displaying some data from a data source as a chart
      • "value" - A Label displaying a single value (scalar) derived from the data in a data source
      Overrides:
      getAllowedUITypes in class BuildUIViaAIRequest
      Returns:
      Current allowedUITypes value. Default value is null
    • setAvailableDataSources

      public BuildDataBoundUIViaAIRequest setAvailableDataSources(String... availableDataSources)
      Global IDs of the data sources made available to AI for satisfying the user's request. If not specified, then the data sources of the application will be considered the available data sources.
      Parameters:
      availableDataSources - New availableDataSources value. Default value is null
      Returns:
      BuildDataBoundUIViaAIRequest instance, for chaining setter calls
      See Also:
    • getAvailableDataSources

      public String[] getAvailableDataSources()
      Global IDs of the data sources made available to AI for satisfying the user's request. If not specified, then the data sources of the application will be considered the available data sources.
      Returns:
      Current availableDataSources value. Default value is null
      See Also: