class

MCProtocol::ResourceReference

Inherits JSON::Serializable < Reference < Object

A reference to a resource or resource template definition.

Constructors

new(uri : URI, type : String = "ref/resource")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

type
Source
uri

The URI or URI template of the resource.

Source