ResourceTemplate extension type

A template description for resources available on the server.

on
Implemented types

Constructors

ResourceTemplate.new({required String uriTemplate, required String name, Annotations? annotations, String? description, String? mimeType})
factory
ResourceTemplate.fromMap(Map<String, Object?> _value)

Properties

annotations Annotations?
Annotations for this object.
no setterinherited
description String?
A description of what this template is for.
no setter
mimeType String?
The MIME type for all resources that match this template.
no setter
name String
A human-readable name for the type of resource this template refers to.
no setter
uriTemplate String
A URI template (according to RFC 6570) that can be used to construct resource URIs.
no setter