Class ListResourcesResult

java.lang.Object
org.apache.juneau.bean.mcp.v20250618.ListResourcesResult

Result payload for "resources/list".
  • Constructor Details

  • Method Details

    • getResources

      Resource descriptors.
      Returns:
      The resources list, or null if not set.
    • setResources

      Sets the resource descriptors.
      Parameters:
      value - The new value. Can be null to unset the property.
      Returns:
      This object (for method chaining).
    • setResources

      Sets the resource descriptors.
      Parameters:
      value - The new value. Can be null to unset the property.
      Returns:
      This object (for method chaining).
    • addResources

      Appends to the resource descriptors.
      Parameters:
      value - The values to append.
      Returns:
      This object (for method chaining).
    • addResources

      Appends to the resource descriptors.
      Parameters:
      value - The values to append.
      Returns:
      This object (for method chaining).
    • getNextCursor

      Pagination cursor for the next page.
      Returns:
      The cursor, or null if not set.
    • setNextCursor

      Sets the next cursor.
      Parameters:
      value - The new value. Can be null to unset the property.
      Returns:
      This object (for method chaining).