attachmentBase 资源类型
命名空间:microsoft.graph
重要
Microsoft Graph /beta
版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。
表示附件的抽象基类型。 可以附件的形式向 todoTask 添加相关内容。
taskFileAttachment 的基本类型。
继承自 entity。
属性
属性 | 类型 | 说明 |
---|---|---|
contentType | String | MIME 类型。 |
id | String | 附件的唯一标识符。 只读。 继承自 entity。 |
lastModifiedDateTime | DateTimeOffset | 时间戳类型表示采用 ISO 8601 格式的日期和时间信息,始终采用 UTC 时区。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z 。 |
name | String | 附件的显示名称。 这不需要是实际文件名。 |
size | Int32 | 附件大小,以字节为单位。 |
关系
无。
JSON 表示形式
以下 JSON 表示形式显示了资源类型。
{
"@odata.type": "#microsoft.graph.attachmentBase",
"contentType": "String",
"id": "String (identifier)",
"lastModifiedDateTime": "String (timestamp)",
"name": "String",
"size": "Int32"
}