Segment

data class Segment(val segmentId: Int = 0, val name: String) : Parcelable

Data class representing a segment. Visits contains segments attached to them, to provide a better context of the visit.

Constructors

Link copied to clipboard
fun Segment(segmentId: Int = 0, name: String)

Properties

Link copied to clipboard
@SerializedName(value = "name")
val name: String
Link copied to clipboard
@SerializedName(value = "segmentId")
val segmentId: Int = 0