com.emc.vipr.model.keystore.TrustedCertificateChanges Maven / Gradle / Ivy
/*
* Copyright (c) 2014 EMC Corporation
* All Rights Reserved
*/
package com.emc.vipr.model.keystore;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "trusted_certificate_changes")
public class TrustedCertificateChanges {
private List add;
private List remove;
@XmlElementWrapper(name = "add")
@XmlElement(name = "certificate")
public List getAdd() {
return add;
}
public void setAdd(List add) {
this.add = add;
}
@XmlElementWrapper(name = "remove")
@XmlElement(name = "certificate")
public List getRemove() {
return remove;
}
public void setRemove(List remove) {
this.remove = remove;
}
@Override
public String toString() {
StringBuilder builder = new StringBuilder();
builder.append("ADD=");
builder.append(getAdd());
builder.append(", REMOVE=");
builder.append(getRemove());
return builder.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy