description:A type containing zone status notification.
properties:
_links:
$ref:'#/components/schemas/Link'
accessPointId:
description:Identifier of an access point.
description:Identifier of an access point (e.g. ap01). Shall be included when userNumEvent related with access point or operationStatus is included.
type:string
x-etsi-mec-cardinality:0..1
x-etsi-mec-origin-type:string
callbackData:
description:CallBackData if passed by the application during the associated ZoneStatusSubscription operation. See [REST_NetAPI_Common].
x-etsi-mec-origin-type:String
notificationType:
description:Shall be set to "ZoneStatusNotification".
type:string
x-etsi-mec-cardinality:0..1
x-etsi-mec-origin-type:string
link:
description:Link to other resources that are in relationship with this notification. The server SHOULD include a link to the related subscription. No other links are required or suggested by this specification
items:
$ref:'#/components/schemas/Link'
type:array
x-etsi-mec-cardinality:0..N
x-etsi-mec-origin-type:Link
numberOfUsersInAP:
description:This element shall be present when ZoneStatusSubscription includes numberOfUsersAPThreshold element and the number of users in an access point exceeds the threshold defined in the subscription.
type:integer
x-etsi-mec-cardinality:0..1
x-etsi-mec-origin-type:unsignedInt
numberOfUsersInZone:
description:This element shall be present when ZoneStatusSubscription includes numberOfUsersZoneThreshold element and the number of users in a zone exceeds the threshold defined in this subscription.
type:integer
x-etsi-mec-cardinality:0..1
x-etsi-mec-origin-type:unsignedInt
x-etsi-mec-cardinality:'1'
x-etsi-mec-origin-type:String
operationStatus:
description':Shall be present when ZoneStatusSubscription includes operationStatus and the operation status value of an access point meets Serviceable or Unserviceable or Unknown defined in the subscription. See note 1.
// log.Info("Zone Status Notification" + "(" + subsIdStr + "): " + "For event in zone " + zoneId + " which has " + strconv.Itoa(int(nbUsersInAP)) + " users in AP " + apId)
// } else {
// log.Info("Zone Status Notification" + "(" + subsIdStr + "): " + "For event in zone " + zoneId + " which has " + strconv.Itoa(int(nbUsersInZone)) + " users in total")