BaseItem 资源类型

命名空间:microsoft.graph

重要

Microsoft Graph版本下的 /beta API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。

baseItem 资源是抽象资源,其中包含一组在若干其他资源类型中共享的常见类型。从 baseItem 派生的资源包括:

JSON 表示形式

下面是 baseItem 资源的 JSON 表示形式。

{
  "id": "string (identifier)",
  "createdBy": { "@odata.type": "microsoft.graph.identitySet" },
  "createdDateTime": "datetime",
  "description": "string",
  "eTag": "string",
  "lastModifiedBy": { "@odata.type": "microsoft.graph.identitySet" },
  "lastModifiedDateTime": "datetime",
  "name": "string",
  "parentReference": { "@odata.type": "microsoft.graph.itemReference" },
  "webUrl": "url"
}

属性

属性 类型 说明
id string 驱动器唯一标识符。只读。
createdBy identitySet 识别创建项目的用户、设备或应用程序。只读。
createdDateTime dateTimeOffset 创建项的日期和时间。只读。
eTag 字符串 该项目的 ETag。只读。
lastModifiedBy identitySet 上次修改项目的用户、设备和应用程序的标识。只读。
lastModifiedDateTime dateTimeOffset 上次修改项目的日期和时间。只读。
name string 项目名称。读写。
parentReference itemReference 父信息(如果此项具有父级)。读写。
WebUrl string (url) 在浏览器中显示此资源的 URL。只读。

注解

baseItem 类型不应直接使用。