File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package docker
22
33import com.google.gson.annotations.SerializedName
4+ import kotlinx.serialization.SerialName
45import kotlinx.serialization.Serializable
56import utils.CircularList
67
@@ -32,22 +33,22 @@ data class DockerContainer(
3233
3334@Serializable
3435data class DockerStatsModel (
35- @SerializedName (" BlockIO" )
36+ @SerialName (" BlockIO" )
3637 val blockIo : String ,
37- @SerializedName (" CPUPerc" )
38+ @SerialName (" CPUPerc" )
3839 val cpuPercentage : String ,
39- @SerializedName (" Container" )
40+ @SerialName (" Container" )
4041 val container : String ,
41- @SerializedName (" ID" )
42+ @SerialName (" ID" )
4243 val id : String ,
43- @SerializedName (" MemPerc" )
44+ @SerialName (" MemPerc" )
4445 val memoryPercentage : String ,
45- @SerializedName (" MemUsage" )
46+ @SerialName (" MemUsage" )
4647 val memUsage : String ,
47- @SerializedName (" Name" )
48+ @SerialName (" Name" )
4849 val name : String ,
49- @SerializedName (" NetIO" )
50+ @SerialName (" NetIO" )
5051 val netIo : String ,
51- @SerializedName (" PIDs" )
52+ @SerialName (" PIDs" )
5253 val pids : String ,
5354)
You can’t perform that action at this time.
0 commit comments