com.woorea.openstack.nova.model.VirtualInterfaces Maven / Gradle / Ivy
/*******************************************************************************
* Copyright (C) 2016 AT&T Intellectual Property. All rights reserved. This code is licensed under the Apache License, Version 2.0
*******************************************************************************/
package com.woorea.openstack.nova.model;
import java.io.Serializable;
import java.util.Iterator;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* A list of virtual interfaces for a server
*
* @since Sep 14, 2015
* @version $Id$
*/
public class VirtualInterfaces implements Iterable, Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
@JsonProperty("virtual_interfaces")
private List list;
/**
* @return the list
*/
public List getList() {
return list;
}
@Override
public Iterator iterator() {
return list.iterator();
}
/*
* (non-Javadoc)
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
return "VirtualInterfaces [list=" + list + "]";
}
}