package com.bocloud.cmp.model;

import lombok.Data;

import java.util.List;

@Data
public class VDCModel {
    private String name;
    private Long cpuTotal;
    private Double memTotal;
    private Double diskTotal;
    private Long cpuUsed;
    private Double memUsed;
    private Double diskUsed;
    private String vdcVal;
    private List<ClusterModel> clusters;
    private List<HostModel> hosts;
    private List<DataStoreModel> stores;
    private List<NetworkModel> networks;
    private List<SwitchModel> switchers;
    private List<ResourcePoolModel> pools;
    private List<VAppModel> vapps;

    /**
     *
     */
    public VDCModel() {
        super();
    }

    /**
     * @param name
     * @param cpuTotal
     * @param memTotal
     * @param diskTotal
     * @param cpuUsed
     * @param memUsed
     * @param diskUsed
     * @param clusters
     * @param hosts
     */
    public VDCModel(String name, Long cpuTotal, Double memTotal, Double diskTotal, Long cpuUsed, Double memUsed,
                    Double diskUsed, List<ClusterModel> clusters, List<HostModel> hosts, List<DataStoreModel> stores,
                    String vdcVal) {
        this.name = name;
        this.cpuTotal = cpuTotal;
        this.memTotal = memTotal;
        this.diskTotal = diskTotal;
        this.cpuUsed = cpuUsed;
        this.memUsed = memUsed;
        this.diskUsed = diskUsed;
        this.clusters = clusters;
        this.hosts = hosts;
        this.stores = stores;
        this.vdcVal = vdcVal;
    }
}
