com.emc.storageos.model.file.NfsACLUpdateParams Maven / Gradle / Ivy
/*
* Copyright (c) 2015 EMC Corporation
* All Rights Reserved
*/
package com.emc.storageos.model.file;
import java.io.Serializable;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
public class NfsACLUpdateParams implements Serializable {
private static final long serialVersionUID = 3196927504346045761L;
/*
* Payload attributes
*/
protected List acesToAdd;
protected List acesToModify;
protected List acesToDelete;
protected String subDir;
public NfsACLUpdateParams() {
}
@XmlElementWrapper(name = "add")
@XmlElement(name = "ace")
public List getAcesToAdd() {
return acesToAdd;
}
public void setAcesToAdd(List acesToAdd) {
this.acesToAdd = acesToAdd;
}
@XmlElementWrapper(name = "modify")
@XmlElement(name = "ace")
public List getAcesToModify() {
return acesToModify;
}
public void setAcesToModify(List acesToModify) {
this.acesToModify = acesToModify;
}
@XmlElementWrapper(name = "delete")
@XmlElement(name = "ace")
public List getAcesToDelete() {
return acesToDelete;
}
public void setAcesToDelete(List acesToDelete) {
this.acesToDelete = acesToDelete;
}
@XmlElement(name = "subDir", required = false)
public String getSubDir() {
return subDir;
}
public void setSubDir(String subDir) {
this.subDir = subDir;
}
@Override
public String toString() {
StringBuilder builder = new StringBuilder();
builder.append("NfsACLUpdateParams [Subdirectory=");
builder.append(subDir);
builder.append(", acesToAdd=");
builder.append(acesToAdd);
builder.append(", acesToModify=");
builder.append(acesToModify);
builder.append(", acesToDelete=");
builder.append(acesToDelete);
builder.append("]");
return builder.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy