using System.Text.Json.Serialization; namespace ModelContextProtocol.Protocol; /// /// Represents a server's response to a request from the client, containing available resources. /// /// /// /// This result is returned when a client sends a request to discover available resources on the server. /// /// /// It inherits from , allowing for paginated responses when there are many resources. /// The server can provide the property to indicate there are more /// resources available beyond what was returned in the current response. /// /// /// See the schema for details. /// /// public sealed class ListResourcesResult : PaginatedResult { /// /// Gets or sets a list of resources that the server offers. /// [JsonPropertyName("resources")] public IList Resources { get; set; } = []; }