2020-02-01 20:43:56 -08:00
|
|
|
package com.danilafe.fencelessgrazing.model
|
|
|
|
|
2020-05-13 13:36:32 -07:00
|
|
|
/**
|
|
|
|
* Minimal information about one of the collars returned by the `/collars` API endpoints.
|
|
|
|
*
|
|
|
|
* @param id the internal identifier of the collar in the system.
|
|
|
|
* @param name the collar's current designation.
|
|
|
|
* @param pos the collar's most recent location.
|
|
|
|
*/
|
2020-02-01 20:43:56 -08:00
|
|
|
data class CollarSummary(val id: Int, val name: String, val pos: CollarPos)
|