| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System.Collections.Generic; |
| | 9 | | using Azure.Core; |
| | 10 | |
|
| | 11 | | namespace Azure.Messaging.EventGrid.SystemEvents |
| | 12 | | { |
| | 13 | | /// <summary> Schema of the Data property of an EventGridEvent for a Geofence event (GeofenceEntered, GeofenceExited |
| | 14 | | public partial class MapsGeofenceEventProperties |
| | 15 | | { |
| | 16 | | /// <summary> Initializes a new instance of MapsGeofenceEventProperties. </summary> |
| 0 | 17 | | internal MapsGeofenceEventProperties() |
| | 18 | | { |
| 0 | 19 | | ExpiredGeofenceGeometryId = new ChangeTrackingList<string>(); |
| 0 | 20 | | Geometries = new ChangeTrackingList<MapsGeofenceGeometry>(); |
| 0 | 21 | | InvalidPeriodGeofenceGeometryId = new ChangeTrackingList<string>(); |
| 0 | 22 | | } |
| | 23 | |
|
| | 24 | | /// <summary> Initializes a new instance of MapsGeofenceEventProperties. </summary> |
| | 25 | | /// <param name="expiredGeofenceGeometryId"> Lists of the geometry ID of the geofence which is expired relative |
| | 26 | | /// <param name="geometries"> Lists the fence geometries that either fully contain the coordinate position or ha |
| | 27 | | /// <param name="invalidPeriodGeofenceGeometryId"> Lists of the geometry ID of the geofence which is in invalid |
| | 28 | | /// <param name="isEventPublished"> True if at least one event is published to the Azure Maps event subscriber, |
| 6 | 29 | | internal MapsGeofenceEventProperties(IReadOnlyList<string> expiredGeofenceGeometryId, IReadOnlyList<MapsGeofence |
| | 30 | | { |
| 6 | 31 | | ExpiredGeofenceGeometryId = expiredGeofenceGeometryId; |
| 6 | 32 | | Geometries = geometries; |
| 6 | 33 | | InvalidPeriodGeofenceGeometryId = invalidPeriodGeofenceGeometryId; |
| 6 | 34 | | IsEventPublished = isEventPublished; |
| 6 | 35 | | } |
| | 36 | |
|
| | 37 | | /// <summary> Lists of the geometry ID of the geofence which is expired relative to the user time in the request |
| 0 | 38 | | public IReadOnlyList<string> ExpiredGeofenceGeometryId { get; } |
| | 39 | | /// <summary> Lists the fence geometries that either fully contain the coordinate position or have an overlap wi |
| 6 | 40 | | public IReadOnlyList<MapsGeofenceGeometry> Geometries { get; } |
| | 41 | | /// <summary> Lists of the geometry ID of the geofence which is in invalid period relative to the user time in t |
| 0 | 42 | | public IReadOnlyList<string> InvalidPeriodGeofenceGeometryId { get; } |
| | 43 | | /// <summary> True if at least one event is published to the Azure Maps event subscriber, false if no event is p |
| 0 | 44 | | public bool? IsEventPublished { get; } |
| | 45 | | } |
| | 46 | | } |