| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | namespace Azure.Messaging.EventGrid.SystemEvents |
| | 9 | | { |
| | 10 | | /// <summary> The geofence geometry. </summary> |
| | 11 | | public partial class MapsGeofenceGeometry |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of MapsGeofenceGeometry. </summary> |
| 0 | 14 | | internal MapsGeofenceGeometry() |
| | 15 | | { |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> Initializes a new instance of MapsGeofenceGeometry. </summary> |
| | 19 | | /// <param name="deviceId"> ID of the device. </param> |
| | 20 | | /// <param name="distance"> Distance from the coordinate to the closest border of the geofence. Positive means t |
| | 21 | | /// <param name="geometryId"> The unique ID for the geofence geometry. </param> |
| | 22 | | /// <param name="nearestLat"> Latitude of the nearest point of the geometry. </param> |
| | 23 | | /// <param name="nearestLon"> Longitude of the nearest point of the geometry. </param> |
| | 24 | | /// <param name="udId"> The unique id returned from user upload service when uploading a geofence. Will not be i |
| 6 | 25 | | internal MapsGeofenceGeometry(string deviceId, float? distance, string geometryId, float? nearestLat, float? nea |
| | 26 | | { |
| 6 | 27 | | DeviceId = deviceId; |
| 6 | 28 | | Distance = distance; |
| 6 | 29 | | GeometryId = geometryId; |
| 6 | 30 | | NearestLat = nearestLat; |
| 6 | 31 | | NearestLon = nearestLon; |
| 6 | 32 | | UdId = udId; |
| 6 | 33 | | } |
| | 34 | |
|
| | 35 | | /// <summary> ID of the device. </summary> |
| 0 | 36 | | public string DeviceId { get; } |
| | 37 | | /// <summary> Distance from the coordinate to the closest border of the geofence. Positive means the coordinate |
| 6 | 38 | | public float? Distance { get; } |
| | 39 | | /// <summary> The unique ID for the geofence geometry. </summary> |
| 0 | 40 | | public string GeometryId { get; } |
| | 41 | | /// <summary> Latitude of the nearest point of the geometry. </summary> |
| 0 | 42 | | public float? NearestLat { get; } |
| | 43 | | /// <summary> Longitude of the nearest point of the geometry. </summary> |
| 0 | 44 | | public float? NearestLon { get; } |
| | 45 | | /// <summary> The unique id returned from user upload service when uploading a geofence. Will not be included in |
| 0 | 46 | | public string UdId { get; } |
| | 47 | | } |
| | 48 | | } |