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

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

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

import java.net.URI;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAccessType;
import com.emc.storageos.model.NamedRelatedResourceRep;
import com.emc.storageos.model.RestLinkRep;
import org.codehaus.jackson.annotate.JsonProperty;

@XmlAccessorType(XmlAccessType.PROPERTY)
public class NamedRelatedVirtualPoolRep extends NamedRelatedResourceRep {
    private String virtualPoolType;

    public NamedRelatedVirtualPoolRep() {
    }

    public NamedRelatedVirtualPoolRep(URI id, RestLinkRep selfLink, String name, String virtualPoolType) {
        super(id, selfLink, name);
        this.virtualPoolType = virtualPoolType;
    }

    /**
     * The virtual pool type.
     * 
     * @valid block = Volume
     * @valid file = File System
     * @valid object = Object Store
     * 
     * @return The virtual pool type.
     */
    @XmlElement(name = "vpool_type")
    @JsonProperty("vpool_type")
    public String getVirtualPoolType() {
        return virtualPoolType;
    }

    public void setVirtualPoolType(String virtualPoolType) {
        this.virtualPoolType = virtualPoolType;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy