package io.wdd.rpc.status.beans;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class DockerMetric {


    /**
     * dockerStats
     */
    @JsonProperty("DockerStats")
    private List<DockerStatsDTO> dockerStats;

    /**
     * DockerStatsDTO
     */
    @NoArgsConstructor
    @Data
    public static class DockerStatsDTO {
        /**
         * containerID
         */
        @JsonProperty("containerID")
        private String containerID;
        /**
         * name
         */
        @JsonProperty("name")
        private String name;
        /**
         * image
         */
        @JsonProperty("image")
        private String image;
        /**
         * status
         */
        @JsonProperty("status")
        private String status;
        /**
         * running
         */
        @JsonProperty("running")
        private Boolean running;
    }
}
