com.woorea.openstack.nova.model.Hypervisors 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.util.Iterator;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Model for List of Hypervisors
*
*/
public class Hypervisors implements Iterable {
@JsonProperty("hypervisors")
private List list;
public List getList() {
return list;
}
public void setList(List list) {
this.list = list;
}
@Override
public Iterator iterator() {
return list.iterator();
}
@Override
public String toString() {
return "Hypervisors [list=" + list + "]";
}
}