package com.mytatvarnsdk.model

import cgmblelib.Enum.enumSound

data class AllCGMLogRequest(
  val vendor: String = "GoodFlip",
  val logs: List<CgmLog>
)

data class CgmLog(
  val timeInMillis: Long,
  val countdownMinutes: Int,
  val countdownDays: Int,
  val hypoglycemiaEarlyWarnMinutes: Int,
  val showGlucoseMG: Int,
  val glucoseId: Int,
  val name: String,
  val bytes: ByteArray?,
  val showGlucose: Float,
  val Ib: Float,
  val Iw: Float,
  val countdownHours: Int,
  val T: Float,
  val year: Int,
  val month: Int,
  val day: Int,
  val hour: Int,
  val minute: Int,
  val trendObject: TrendObject,
  val glucoseStatusObject: GlucoseStatusObject,
  val errorObject: ErrorObject
)

data class TrendObject(
  var trendId: Int,
  var drawableId: Int,
  var widgetImg: Int,
  var apsChangeRate: String
)

data class GlucoseStatusObject(
  var statusId: Int
)

data class ErrorObject(
  var errorId: Int,
  var sound: enumSound
)


