com.emc.storageos.model.network.WwnAliasesParam Maven / Gradle / Ivy
/*
* Copyright (c) 2015 EMC Corporation
* All Rights Reserved
*/
package com.emc.storageos.model.network;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
/**
* This is a list of the SAN zones returned from the NetworkSystem.
*/
@XmlRootElement(name = "wwn_aliases")
public class WwnAliasesParam {
private List aliases;
private String fabricId;
public WwnAliasesParam() {
}
public WwnAliasesParam(List aliases) {
this.aliases = aliases;
}
/**
* The identifier of the aliases fabric for a Brocade device. It can be either
* the fabric name or its WWN.
*
* This field applies to Brocade network systems only.
*
* @valid none
*/
@XmlElement(name = "fabric_id")
public String getFabricId() {
return fabricId;
}
/**
* Sets the fabric identifier which either its name or WWN.
*
* @param fabricId
*/
public void setFabricId(String fabricId) {
this.fabricId = fabricId;
}
/**
* A list of alias. Each alias has a name and a WWN address
*
* @valid none
*/
@XmlElement(name = "wwn_alias")
public List getAliases() {
if (aliases == null) {
aliases = new ArrayList();
}
return aliases;
}
public void setAliases(List aliases) {
this.aliases = aliases;
}
}