生成资源类型

命名空间:microsoft.graph

重要

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

表示租户中的建筑物。

位置继承。

方法

方法 返回类型 说明
引入映射文件 在 Places 中引入建筑物的地图文件。

有关更多受支持的方法,请参阅 place

属性

属性 类型 说明
address physicalAddress 建筑物的物理地址,包括街道、城市、州、国家或地区和邮政编码。 从 位置继承。
displayName String 与建筑物关联的名称。 从 位置继承。
geoCoordinates outlookGeoCoordinates 指定纬度、经度和 ((可选)) 高度坐标 的建筑物 位置。 从 位置继承。
hasWiFi 布尔值 指示 建筑物 是否具有无线网络。
id String 建筑物的唯一标识符。 只读。 此标识符不可变,如果邮箱或租户配置发生更改,则此标识符可能会更改。 从 位置继承。
isWheelChairAccessible 布尔值 指示 建筑物 是否适合轮椅。 从 位置继承。
标签 String 用户定义的建筑物说明。 从 位置继承。
parentId String 目前,建筑物没有父级。 请勿使用。 从 位置继承。
phone String 大楼的电话号码。 从 位置继承。
resourceLinks resourceLink 集合 一组指向与 建筑物关联的外部资源的链接。 从 位置继承。
tags 字符串集合 与用于分类或筛选的生成关联的自定义标记。 从 位置继承。
wifiState placeFeatureEnablement 指示建筑物是否具有 Wi-Fi 的状态。 可能的值包括 unknownenableddisabledunknownFutureValue

关系

关系 类型 说明
children place 集合 仅在 Upsert places API 中使用的子位置的集合。 建筑物的子级应为 楼层类型。 从 位置继承。
地图 buildingMap 与 Places 中的建筑物关联的映射文件。 此对象是 building.geojson 的 IMDF 格式表示形式。

JSON 表示形式

以下 JSON 表示形式显示了资源类型。

{
  "@odata.type": "#microsoft.graph.building",
  "address": {"@odata.type": "microsoft.graph.physicalAddress"},
  "displayName": "String",
  "geoCoordinates": {"@odata.type": "microsoft.graph.outlookGeoCoordinates"},
  "hasWiFi": "Boolean",
  "id": "String (identifier)",
  "isWheelChairAccessible": "Boolean",
  "label": "String",
  "parentId": "String",
  "phone": "String",
  "resourceLinks": [{"@odata.type": "microsoft.graph.resourceLink"}],
  "tags": ["String"],
  "wifiState": "String"
}