package com.woorea.openstack.nova.model; import java.io.Serializable; import org.codehaus.jackson.map.annotate.JsonRootName; @JsonRootName("volumeAttachment") public class VolumeAttachment implements Serializable { private String id; private String volumeId; private String serverId; private String device; public String getId() { return id; } public void setId(String id) { this.id = id; } public String getVolumeId() { return volumeId; } public void setVolumeId(String volumeId) { this.volumeId = volumeId; } public String getServerId() { return serverId; } public void setServerId(String serverId) { this.serverId = serverId; } public String getDevice() { return device; } public void setDevice(String device) { this.device = device; } /* (non-Javadoc) * @see java.lang.Object#toString() */ @Override public String toString() { return "VolumeAttachment [id=" + id + ", volumeId=" + volumeId + ", serverId=" + serverId + ", device=" + device + "]"; } }