ShallowReference interface

对某些其他资源的抽象引用。 此类用于提供生成数据协定的统一方法,以一种提供轻松遍历链接的方式引用其他资源。

属性

id

资源的 ID

name

链接资源的名称(定义名称、控制器名称等)

url

指向资源的完整 http 链接

属性详细信息

id

资源的 ID

id: string

属性值

string

name

链接资源的名称(定义名称、控制器名称等)

name: string

属性值

string

url

指向资源的完整 http 链接

url: string

属性值

string