2020-05-12 17:30:23 -07:00
|
|
|
package com.danilafe.fencelessgrazing.model
|
|
|
|
|
2020-05-13 13:36:32 -07:00
|
|
|
/**
|
|
|
|
* Information returned from the `/collar/<id>/details` API endpoint.
|
|
|
|
*
|
|
|
|
* @param id the collar's internal unique identifier.
|
|
|
|
* @param name the collar's current designation in the system.
|
|
|
|
* @param stimulus the number of stimulus activation reports in the last 24 hours.
|
|
|
|
*/
|
2020-05-12 18:49:39 -07:00
|
|
|
data class CollarDetails(val id: Int, val name: String, val stimulus: Int)
|