package cn.reghao.autodop.common.docker.pojo.result;

import cn.reghao.autodop.common.docker.pojo.*;
import com.google.gson.annotations.SerializedName;
import lombok.Data;

import java.util.List;

/**
 * docker ps 返回值
 *
 * @author reghao
 * @date 2019-12-10 18:30:02
 */
@Data
public class Container {
    @SerializedName("Id") private String id;
    @SerializedName("Names") private List<String> names;
    @SerializedName("Image") private String image;
    @SerializedName("ImageID") private String imageId;
    @SerializedName("Command") private String command;
    @SerializedName("Created") private long created;
    @SerializedName("State") private String state;
    @SerializedName("Status") private String status;
    @SerializedName("Ports") private List<Port> ports;
    @SerializedName("Labels") private Labels labels;
    @SerializedName("SizeRw") private int sizeRw;
    @SerializedName("SizeRootFs") private int sizeRootFs;
    @SerializedName("HostConfig") private HostConfig hostConfig;
    @SerializedName("NetworkSettings") private NetworkSettings networkSettings;
    @SerializedName("Mounts") private List<Mount> mounts;
}
