ResourceTemplate

data class ResourceTemplate(val uriTemplate: String, val name: String, val description: String?, val mimeType: String?, val title: String? = null, val annotations: Annotations? = null)(source)

A template description for resources available on the server.

Constructors

Link copied to clipboard
constructor(uriTemplate: String, name: String, description: String?, mimeType: String?, title: String? = null, annotations: Annotations? = null)

Properties

Link copied to clipboard

Optional annotations for the client.

Link copied to clipboard

A description of what this template is for.

Link copied to clipboard

The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type.

Link copied to clipboard

A human-readable name for the type of resource this template refers to.

Link copied to clipboard
val title: String? = null

The optional human-readable name of this resource for display purposes.

Link copied to clipboard

A URI template (according to RFC 6570) that can be used to construct resource URIs.