Class ListResourcesResult
java.lang.Object
org.apache.juneau.bean.mcp.v20250618.ListResourcesResult
Result payload for "resources/list".
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddResources(Collection<Resource> value) Appends to the resource descriptors.addResources(Resource... value) Appends to the resource descriptors.Pagination cursor for the next page.Resource descriptors.setNextCursor(String value) Sets the next cursor.setResources(List<Resource> value) Sets the resource descriptors.setResources(Resource... value) Sets the resource descriptors.
-
Constructor Details
-
ListResourcesResult
public ListResourcesResult()
-
-
Method Details
-
getResources
Resource descriptors.- Returns:
- The resources list, or
nullif not set.
-
setResources
Sets the resource descriptors.- Parameters:
value- The new value. Can benull to unset the property.- Returns:
- This object (for method chaining).
-
setResources
Sets the resource descriptors.- Parameters:
value- The new value. Can benull 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
nullif not set.
-
setNextCursor
Sets the next cursor.- Parameters:
value- The new value. Can benull to unset the property.- Returns:
- This object (for method chaining).
-