com.woorea.openstack.quantum.model.Ports 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.quantum.model;
import java.io.Serializable;
import java.util.Iterator;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
@SuppressWarnings("serial")
public class Ports implements Iterable, Serializable {
@JsonProperty("ports")
private List list;
/**
* @return the list
*/
public List getList() {
return list;
}
/**
* @param list
* the list to set
*/
public void setList(List list) {
this.list = list;
}
@Override
public Iterator iterator() {
return list.iterator();
}
@Override
public String toString() {
return "Ports [list=" + list + "]";
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy