All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.emc.storageos.model.vpool.VDCCapacities Maven / Gradle / Ivy

There is a newer version: 3.5.0.0
Show newest version
/*
 * Copyright (c) 2015 EMC Corporation
 * All Rights Reserved
 */
package com.emc.storageos.model.vpool;

import org.codehaus.jackson.annotate.JsonProperty;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

import java.util.ArrayList;
import java.util.List;

@XmlRootElement(name = "vdc_capacities")
public class VDCCapacities {

    private List arrayCapacities;

    public VDCCapacities() {
    }

    public VDCCapacities(List arrayCapacities) {
        this.arrayCapacities = arrayCapacities;
    }

    @XmlElementWrapper(name = "varrays")
    /**
     * The list of Virtual Pool capacity
     * attributes of a Virtual Array. 
     * @valid none
     */
    @XmlElement(name = "varray")
    @JsonProperty("varrays")
    public List getArrayCapacities() {
        if (arrayCapacities == null) {
            arrayCapacities = new ArrayList();
        }
        return arrayCapacities;
    }

    public void setArrayCapacities(
            List arrayCapacities) {
        this.arrayCapacities = arrayCapacities;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy