using System.Text.Json.Serialization; namespace ModelContextProtocol.Protocol; /// /// Represents a server's response to a request from the client, /// containing available resource templates. /// /// /// /// This result is returned when a client sends a request to discover /// available resource templates on the server. /// /// /// It inherits from , allowing for paginated responses when there are many resource templates. /// The server can provide the property to indicate there are more /// resource templates available beyond what was returned in the current response. /// /// /// See the schema for details. /// /// public class ListResourceTemplatesResult : PaginatedResult { /// /// Gets or sets a list of resource templates that the server offers. /// /// /// This collection contains all the resource templates returned in the current page of results. /// Each provides metadata about resources available on the server, /// including URI templates, names, descriptions, and MIME types. /// [JsonPropertyName("resourceTemplates")] public List ResourceTemplates { get; set; } = []; }