Uses of Record Class
com.soklet.McpListedResource
Packages that use McpListedResource
-
Uses of McpListedResource in com.soklet
Methods in com.soklet that return McpListedResourceModifier and TypeMethodDescriptionstatic @NonNull McpListedResourceMcpListedResource.fromComponents(@NonNull String uri, @NonNull String name, @NonNull String mimeType) Creates a minimal resource-list entry without optional metadata.McpListedResource.withDescription(@NonNull String description) Returns a copy of this resource entry with a description.McpListedResource.withSizeBytes(@NonNull Long sizeBytes) Returns a copy of this resource entry with a size metadata value.Returns a copy of this resource entry with a title.Methods in com.soklet that return types with arguments of type McpListedResourceModifier and TypeMethodDescriptionMcpListResourcesResult.resources()Returns the value of theresourcesrecord component.Method parameters in com.soklet with type arguments of type McpListedResourceModifier and TypeMethodDescriptionstatic @NonNull McpListResourcesResultMcpListResourcesResult.fromResources(@NonNull List<@NonNull McpListedResource> resources) Creates a non-paginatedresources/listresult.static @NonNull McpListResourcesResultMcpListResourcesResult.fromResourcesAndNextCursor(@NonNull List<@NonNull McpListedResource> resources, @NonNull String nextCursor) Creates a paginatedresources/listresult.Constructor parameters in com.soklet with type arguments of type McpListedResourceModifierConstructorDescriptionMcpListResourcesResult(@NonNull List<@NonNull McpListedResource> resources, @Nullable String nextCursor) Creates an instance of aMcpListResourcesResultrecord class.