Class MapsGeofenceEventProperties
java.lang.Object
com.azure.messaging.eventgrid.systemevents.MapsGeofenceEventProperties
- Direct Known Subclasses:
MapsGeofenceEnteredEventData
,MapsGeofenceExitedEventData
,MapsGeofenceResultEventData
Schema of the Data property of an EventGridEvent for a Geofence event (GeofenceEntered, GeofenceExited,
GeofenceResult).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the expiredGeofenceGeometryId property: Lists of the geometry ID of the geofence which is expired relative to the user time in the request.Get the geometries property: Lists the fence geometries that either fully contain the coordinate position or have an overlap with the searchBuffer around the fence.Get the invalidPeriodGeofenceGeometryId property: Lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request.Get the isEventPublished property: True if at least one event is published to the Azure Maps event subscriber, false if no event is published to the Azure Maps event subscriber.setExpiredGeofenceGeometryId
(List<String> expiredGeofenceGeometryId) Set the expiredGeofenceGeometryId property: Lists of the geometry ID of the geofence which is expired relative to the user time in the request.setGeometries
(List<MapsGeofenceGeometry> geometries) Set the geometries property: Lists the fence geometries that either fully contain the coordinate position or have an overlap with the searchBuffer around the fence.setInvalidPeriodGeofenceGeometryId
(List<String> invalidPeriodGeofenceGeometryId) Set the invalidPeriodGeofenceGeometryId property: Lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request.setIsEventPublished
(Boolean isEventPublished) Set the isEventPublished property: True if at least one event is published to the Azure Maps event subscriber, false if no event is published to the Azure Maps event subscriber.
-
Constructor Details
-
MapsGeofenceEventProperties
public MapsGeofenceEventProperties()
-
-
Method Details
-
getExpiredGeofenceGeometryId
Get the expiredGeofenceGeometryId property: Lists of the geometry ID of the geofence which is expired relative to the user time in the request.- Returns:
- the expiredGeofenceGeometryId value.
-
setExpiredGeofenceGeometryId
public MapsGeofenceEventProperties setExpiredGeofenceGeometryId(List<String> expiredGeofenceGeometryId) Set the expiredGeofenceGeometryId property: Lists of the geometry ID of the geofence which is expired relative to the user time in the request.- Parameters:
expiredGeofenceGeometryId
- the expiredGeofenceGeometryId value to set.- Returns:
- the MapsGeofenceEventProperties object itself.
-
getGeometries
Get the geometries property: Lists the fence geometries that either fully contain the coordinate position or have an overlap with the searchBuffer around the fence.- Returns:
- the geometries value.
-
setGeometries
Set the geometries property: Lists the fence geometries that either fully contain the coordinate position or have an overlap with the searchBuffer around the fence.- Parameters:
geometries
- the geometries value to set.- Returns:
- the MapsGeofenceEventProperties object itself.
-
getInvalidPeriodGeofenceGeometryId
Get the invalidPeriodGeofenceGeometryId property: Lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request.- Returns:
- the invalidPeriodGeofenceGeometryId value.
-
setInvalidPeriodGeofenceGeometryId
public MapsGeofenceEventProperties setInvalidPeriodGeofenceGeometryId(List<String> invalidPeriodGeofenceGeometryId) Set the invalidPeriodGeofenceGeometryId property: Lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request.- Parameters:
invalidPeriodGeofenceGeometryId
- the invalidPeriodGeofenceGeometryId value to set.- Returns:
- the MapsGeofenceEventProperties object itself.
-
isEventPublished
Get the isEventPublished property: True if at least one event is published to the Azure Maps event subscriber, false if no event is published to the Azure Maps event subscriber.- Returns:
- the isEventPublished value.
-
setIsEventPublished
Set the isEventPublished property: True if at least one event is published to the Azure Maps event subscriber, false if no event is published to the Azure Maps event subscriber.- Parameters:
isEventPublished
- the isEventPublished value to set.- Returns:
- the MapsGeofenceEventProperties object itself.
-