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

com.emc.storageos.model.host.cluster.ClusterBulkRep 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.host.cluster;

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

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.emc.storageos.model.BulkRestRep;

@XmlRootElement(name = "bulk_clusters")
public class ClusterBulkRep extends BulkRestRep {
    private List clusters;

    /**
     * Represents a host cluster within ViPR
     * 
     * @valid none
     */
    @XmlElement(name = "cluster")
    public List getClusters() {
        if (clusters == null) {
            clusters = new ArrayList();
        }
        return clusters;
    }

    public void setClusters(List cluster) {
        this.clusters = cluster;
    }

    public ClusterBulkRep() {
    }

    public ClusterBulkRep(List clusters) {
        this.clusters = clusters;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy