com.emc.storageos.model.object.BucketBulkRep Maven / Gradle / Ivy
/*
* Copyright (c) 2015 EMC Corporation
* All Rights Reserved
*/
package com.emc.storageos.model.object;
import com.emc.storageos.model.BulkRestRep;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.List;
@XmlRootElement(name = "bulk_buckets")
public class BucketBulkRep extends BulkRestRep {
private List buckets;
/**
* The list of buckets, returned as response to bulk
* queries.
*
* @valid none
*/
@XmlElement(name = "buckets")
public List getBuckets() {
if (buckets == null) {
buckets = new ArrayList();
}
return buckets;
}
public void setBuckets(List objectBuckets) {
this.buckets = objectBuckets;
}
public BucketBulkRep() {
}
public BucketBulkRep(List objectBuckets) {
this.buckets = objectBuckets;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy