Package-level declarations

Types

Link copied to clipboard
@Serializable
data class GlycemiaPoint(val date: Long, val value: Double)

The GlycemiaPoint data class is useful to represent a value on a chart

Link copied to clipboard
@Serializable
data class GlycemicTrendData(val higherGlycemia: GlycemiaPoint, val lowerGlycemia: GlycemiaPoint, val averageGlycemia: Double, val firstSet: List<GlycemiaPoint>? = null, val secondSet: List<GlycemiaPoint>? = null, val thirdSet: List<GlycemiaPoint>? = null, val fourthSet: List<GlycemiaPoint>? = null, val labelType: GlycemicTrendLabelType? = null)

The GlycemicTrendData data class is used to contains the trend data for each type of measurement

Link copied to clipboard
@Serializable
data class GlycemicTrendDataContainer(val breakfast: GlycemicTrendData? = null, val morningSnack: GlycemicTrendData? = null, val lunch: GlycemicTrendData? = null, val afternoonSnack: GlycemicTrendData? = null, val dinner: GlycemicTrendData? = null, val basalInsulin: GlycemicTrendData? = null, val from: Long = -1, val to: Long = -1)

The GlycemicTrendDataContainer data class is used as container of the data related to the glycemic trend over a selected period

Link copied to clipboard
@Serializable
data class Report(val reportId: String, val name: String, val reportUrl: String)

The Report data class is used to contains the details of the created report