app/app/src/main/java/com/danilafe/fencelessgrazing/model/CollarDetails.kt

10 lines
400 B
Kotlin
Raw Normal View History

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.
*/
data class CollarDetails(val id: Int, val name: String, val stimulus: Int)