/* * Copyright (c) 2008-2013 EMC Corporation * All Rights Reserved */ package com.emc.storageos.model.vpool; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement(name = "mirror") @XmlAccessorType(XmlAccessType.PROPERTY) public class VirtualPoolProtectionMirrorRestRep { private String type; private String placementVpool; private String haPlacementVpool; public VirtualPoolProtectionMirrorRestRep() { } public VirtualPoolProtectionMirrorRestRep(String type, String placementVpool, String haPlacementVpool) { this.type = type; this.placementVpool = placementVpool; this.haPlacementVpool = haPlacementVpool; } /** * The mirror protection type. * * * @return The mirror protection type. */ @XmlElement(name = "type") public String getType() { return type; } /** * The mirror protection virtual pool. * * * @return The mirror protection virtual pool. */ @XmlElement(name = "protection_mirror_vpool") public String getPlacementVpool() { return placementVpool; } public void setPlacementVpool(String placementVpool) { this.placementVpool = placementVpool; } /** * The High Availability mirror protection virtual pool. * * * @return The High Availability mirror protection virtual pool. */ @XmlElement(name = "ha_protection_mirror_vpool") public String getHaPlacementVpool() { return haPlacementVpool; } public void setHaPlacementVpool(String haPlacementVpool) { this.haPlacementVpool = haPlacementVpool; } public void setType(String type) { this.type = type; } }