com.woorea.openstack.nova.model.Services 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 Services
*
*/
public class Services implements Iterable {
@JsonProperty("services")
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 "Services [list=" + list + "]";
}
}