MapsGeofenceEventProperties Class

  • java.lang.Object
    • com.microsoft.azure.eventgrid.models.MapsGeofenceEventProperties

public class MapsGeofenceEventProperties

Schema of the Data property of an EventGridEvent for a Geofence event (GeofenceEntered, GeofenceExited, GeofenceResult).

Constructor Summary

Constructor Description
MapsGeofenceEventProperties()

Method Summary

Modifier and Type Method and Description
java.util.List<java.lang.String> expiredGeofenceGeometryId()

Get lists of the geometry ID of the geofence which is expired relative to the user time in the request.

java.util.List<MapsGeofenceGeometry> geometries()

Get lists the fence geometries that either fully contain the coordinate position or have an overlap with the searchBuffer around the fence.

java.util.List<java.lang.String> invalidPeriodGeofenceGeometryId()

Get lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request.

java.lang.Boolean isEventPublished()

Get 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.

MapsGeofenceEventProperties withExpiredGeofenceGeometryId(List<String> expiredGeofenceGeometryId)

Set lists of the geometry ID of the geofence which is expired relative to the user time in the request.

MapsGeofenceEventProperties withGeometries(List<MapsGeofenceGeometry> geometries)

Set lists the fence geometries that either fully contain the coordinate position or have an overlap with the searchBuffer around the fence.

MapsGeofenceEventProperties withInvalidPeriodGeofenceGeometryId(List<String> invalidPeriodGeofenceGeometryId)

Set lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request.

MapsGeofenceEventProperties withIsEventPublished(Boolean isEventPublished)

Set 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.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

MapsGeofenceEventProperties

public MapsGeofenceEventProperties()

Method Details

expiredGeofenceGeometryId

public List expiredGeofenceGeometryId()

Get lists of the geometry ID of the geofence which is expired relative to the user time in the request.

Returns:

the expiredGeofenceGeometryId value

geometries

public List geometries()

Get 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

invalidPeriodGeofenceGeometryId

public List invalidPeriodGeofenceGeometryId()

Get 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

isEventPublished

public Boolean isEventPublished()

Get 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

withExpiredGeofenceGeometryId

public MapsGeofenceEventProperties withExpiredGeofenceGeometryId(List expiredGeofenceGeometryId)

Set 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.

withGeometries

public MapsGeofenceEventProperties withGeometries(List geometries)

Set 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.

withInvalidPeriodGeofenceGeometryId

public MapsGeofenceEventProperties withInvalidPeriodGeofenceGeometryId(List invalidPeriodGeofenceGeometryId)

Set 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.

withIsEventPublished

public MapsGeofenceEventProperties withIsEventPublished(Boolean isEventPublished)

Set 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.

Applies to