MPIPolygon

data class MPIPolygon(id: String, map: String, layer: String?, layerId: String?, externalId: String?, name: String?) : MPINavigatable

MPIPolygon represents the geographical area covered by a MPILocation in a venue.

Constructors

MPIPolygon
Link copied to clipboard
fun MPIPolygon(id: String, map: String, layer: String? = null, layerId: String? = null, externalId: String? = null, name: String? = null)

Functions

component1
Link copied to clipboard
operator fun component1(): String
component2
Link copied to clipboard
operator fun component2(): String
component3
Link copied to clipboard
operator fun component3(): String?
component4
Link copied to clipboard
operator fun component4(): String?
component5
Link copied to clipboard
operator fun component5(): String?
component6
Link copied to clipboard
operator fun component6(): String?
copy
Link copied to clipboard
fun copy(id: String, map: String, layer: String? = null, layerId: String? = null, externalId: String? = null, name: String? = null): MPINavigatable.MPIPolygon
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

entrances
Link copied to clipboard
var entrances: List<MPINavigatable.MPINode>
The array of all entrance nodes of the MPIPolygon
externalId
Link copied to clipboard
val externalId: String? = null
The external id of the MPIPolygon
  • Note: external id is for a more durable use than id or if the data in the Mappedin CMS is being synced from somewhere else

id
Link copied to clipboard
open override val id: String
id of the MPIPolygon
  • Note: id can be used for the lifetime of the data you get back, but it may not be present in future calls.

layer
Link copied to clipboard
val layer: String? = null
The layer covering the MPIPolygon
layerId
Link copied to clipboard
val layerId: String? = null
id of the layer
locations
Link copied to clipboard
var locations: List<MPINavigatable.MPILocation>
The array of all locations attached to the MPIPolygon
map
Link copied to clipboard
val map: String
id of the map where the MPIPolygon is at
name
Link copied to clipboard
val name: String? = null
The name of the MPIPolygon
rank
Link copied to clipboard
var rank: MPIPolygonRanking? = null
The rank of the MPIPolygon