openShiftItem 资源类型
命名空间:microsoft.graph
表示 openShift 的单个计数。
继承自 shiftItem。
属性
属性 | 类型 | 说明 |
---|---|---|
activities | shiftActivity 集合 | 班次的增量部分,可以涵盖员工在轮班期间的时间和位置的详细信息。 例如,作业、计划休息或午餐。 必填。 继承自 shiftItem。 |
displayName | String | openShift 的移位标签。 继承自 shiftItem。 |
endDateTime | DateTimeOffset |
openShift 的结束日期和时间。 必填。 时间戳类型使用 ISO 8601 格式表示日期和时间信息,并且始终采用 UTC 格式。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z 。 继承自 shiftItem。 |
notes | String | openShift 的排班说明。 继承自 shiftItem。 |
openSlotCount | Int32 | 给定开放班次的槽数的计数。 |
startDateTime | DateTimeOffset |
openShift 的开始日期和时间。 必填。 时间戳类型使用 ISO 8601 格式表示日期和时间信息,并且始终采用 UTC 格式。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z 。 继承自 shiftItem。 |
theme | scheduleEntityTheme | 开放移位的颜色。 可能的值是:white 、blue 、green 、purple 、pink 、yellow 、gray 、darkBlue 、darkGreen 、darkPurple 、darkPink 、darkYellow 、unknownFutureValue 。 继承自 shiftItem。 |
JSON 表示形式
以下 JSON 表示形式显示了资源类型。
{
"@odata.type": "#microsoft.graph.openShiftItem",
"activities": [{"@odata.type": "microsoft.graph.shiftActivity"}],
"displayName": "String",
"endDateTime": "String (timestamp)",
"notes": "String",
"openSlotCount": "Int32",
"startDateTime": "String (timestamp)",
"theme": "String"
}