LocationMarker

data class LocationMarker(val id: Long, val globalId: String?, val legacyClubId: Long?, val name: String?, val description: String?, val position: LocationMarkerPosition?, val address: LocationMarkerAddress?, val classification: LocationMarkerClassification?, val amenities: List<String>, val brand: String?, val logoUrl: String?, val coverImageUrl: String?, val imageUrls: List<String>, val pinImageId: Long?, val pinImageUrl: String?, val phone: String?, val website: String?, val email: String?, val social: Map<String, String>, val hours: LocationMarkerHours?, val timezoneId: String?, val status: String?, val isVerified: Boolean, val geofenceRadiusMeters: Double?, val dwellThresholdMinutes: Int?, val supportsGuestPass: Boolean, val isFavorite: Boolean, val isBrandFavorite: Boolean, val isMuted: Boolean, val isReported: Boolean, val member: LocationMarkerMember?, val merchantId: Int?)

An advanced location marker returned by com.advantahealth.api.locations.Locations.getLocationsByViewPort or com.advantahealth.api.locations.Locations.getLocationsByRadius - the full place record behind a map pin.

Constructors

Link copied to clipboard
constructor(id: Long, globalId: String?, legacyClubId: Long?, name: String?, description: String?, position: LocationMarkerPosition?, address: LocationMarkerAddress?, classification: LocationMarkerClassification?, amenities: List<String>, brand: String?, logoUrl: String?, coverImageUrl: String?, imageUrls: List<String>, pinImageId: Long?, pinImageUrl: String?, phone: String?, website: String?, email: String?, social: Map<String, String>, hours: LocationMarkerHours?, timezoneId: String?, status: String?, isVerified: Boolean, geofenceRadiusMeters: Double?, dwellThresholdMinutes: Int?, supportsGuestPass: Boolean, isFavorite: Boolean, isBrandFavorite: Boolean, isMuted: Boolean, isReported: Boolean, member: LocationMarkerMember?, merchantId: Int?)

Properties

Link copied to clipboard

Address of the location, or null.

Link copied to clipboard

Amenity codes the location advertises.

Link copied to clipboard

Brand the location belongs to, or null.

Link copied to clipboard

Type/category the location is filed under, or null.

Link copied to clipboard

Cover image URL, or null.

Link copied to clipboard

Optional description.

Link copied to clipboard

Minimum dwell in minutes for a visit to count, or null.

Link copied to clipboard

Contact email, or null.

Link copied to clipboard

Geofence radius in meters, or null.

Link copied to clipboard

Global id of the location as a GUID string, or null.

Link copied to clipboard

Operating hours, or null.

Link copied to clipboard
val id: Long

Canonical location id.

Link copied to clipboard

Additional gallery image URLs.

Link copied to clipboard

Whether the member has favorited this location's brand rather than the location itself.

Link copied to clipboard

Whether the current member has favorited this location. A muted favorite is deliberately NOT advertised as favorite, so a map can offer re-adding it.

Link copied to clipboard

Whether the current member has muted this location. Only meaningful when the request did not excludeMuted.

Link copied to clipboard

Whether the current member has an open problem report against this location.

Link copied to clipboard

Whether the location is verified.

Link copied to clipboard

Id of the legacy VerifiedClubs record this location maps to, or null when there is none.

Link copied to clipboard

Brand logo URL, or null.

Link copied to clipboard

The member's relationship details when isFavorite is true (favorited or excluded); null for a muted-only or unrelated marker.

Link copied to clipboard

Merchant id resolved server-side for retail markers, or null - decoded tolerantly, as the server has sent it both as a JSON number and as a numeric string.

Link copied to clipboard
val name: String?

Display name, or null.

Link copied to clipboard

Location phone number, or null.

Link copied to clipboard

Raw id of the map pin image, or null.

Link copied to clipboard

Resolved URL of the map pin image, or null.

Link copied to clipboard

Coordinates and, when the request was radius-based, the distance from the search center.

Link copied to clipboard

Social profile URLs keyed by platform.

Link copied to clipboard

Opaque server status string; not contract-guaranteed.

Link copied to clipboard

Whether the location supports guest passes.

Link copied to clipboard

IANA timezone id of the location, or null.

Link copied to clipboard

Website URL, or null.