10 lines
400 B
Kotlin
10 lines
400 B
Kotlin
package com.danilafe.fencelessgrazing.model
|
|
|
|
/**
|
|
* 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) |