Class ListResourceTemplatesResult
java.lang.Object
org.apache.juneau.bean.mcp.v20260728.Result<T>
org.apache.juneau.bean.mcp.v20260728.CacheableResult<ListResourceTemplatesResult>
org.apache.juneau.bean.mcp.v20260728.ListResourceTemplatesResult
@Marshalled
public class ListResourceTemplatesResult
extends CacheableResult<ListResourceTemplatesResult>
Result payload for "resources/templates/list".
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAppends to the resource-template descriptors.addResourceTemplates(ResourceTemplate... value) Appends to the resource-template descriptors.Pagination cursor for the next page.Resource-template descriptors.setNextCursor(String value) Sets the next cursor.setResourceTemplates(List<ResourceTemplate> value) Sets the resource-template descriptors.setResourceTemplates(ResourceTemplate... value) Sets the resource-template descriptors.Methods inherited from class org.apache.juneau.bean.mcp.v20260728.CacheableResult
getCacheScope, getTtlMs, setCacheScope, setTtlMsMethods inherited from class org.apache.juneau.bean.mcp.v20260728.Result
getMeta, getResultType, setMeta, setResultType
-
Constructor Details
-
ListResourceTemplatesResult
public ListResourceTemplatesResult()
-
-
Method Details
-
getResourceTemplates
Resource-template descriptors.- Returns:
- The resource templates list, or
nullif not set.
-
setResourceTemplates
Sets the resource-template descriptors.- Parameters:
value- The new value. Can benull to unset the property.- Returns:
- This object (for method chaining).
-
setResourceTemplates
Sets the resource-template descriptors.- Parameters:
value- The new value. Can benull to unset the property.- Returns:
- This object (for method chaining).
-
addResourceTemplates
Appends to the resource-template descriptors.- Parameters:
value- The values to append.- Returns:
- This object (for method chaining).
-
addResourceTemplates
Appends to the resource-template 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).
-