class Azure::EventGrid::V2018_01_01::Models::MapsGeofenceEventProperties
Schema of the Data property of an EventGridEvent
for a Geofence event (GeofenceEntered, GeofenceExited, GeofenceResult).
Attributes
expired_geofence_geometry_id[RW]
@return [Array<String>] Lists of the geometry ID of the geofence which is expired relative to the user time in the request.
geometries[RW]
@return [Array<MapsGeofenceGeometry>] Lists the fence geometries that either fully contain the coordinate position or have an overlap with the searchBuffer around the fence.
invalid_period_geofence_geometry_id[RW]
@return [Array<String>] Lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request.
Private Class Methods
mapper()
click to toggle source
Mapper for MapsGeofenceEventProperties
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-01-01/generated/azure_event_grid/models/maps_geofence_event_properties.rb, line 39 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'MapsGeofenceEventProperties', type: { name: 'Composite', class_name: 'MapsGeofenceEventProperties', model_properties: { expired_geofence_geometry_id: { client_side_validation: true, required: false, serialized_name: 'expiredGeofenceGeometryId', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, geometries: { client_side_validation: true, required: false, serialized_name: 'geometries', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'MapsGeofenceGeometryElementType', type: { name: 'Composite', class_name: 'MapsGeofenceGeometry' } } } }, invalid_period_geofence_geometry_id: { client_side_validation: true, required: false, serialized_name: 'invalidPeriodGeofenceGeometryId', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, is_event_published: { client_side_validation: true, required: false, serialized_name: 'isEventPublished', type: { name: 'Boolean' } } } } } end