com.woorea.openstack.nova.api.HypervisorsResource Maven / Gradle / Ivy
package com.woorea.openstack.nova.api;
import java.util.HashMap;
import com.woorea.openstack.base.client.Entity;
import com.woorea.openstack.base.client.HttpMethod;
import com.woorea.openstack.base.client.OpenStackClient;
import com.woorea.openstack.base.client.OpenStackRequest;
import com.woorea.openstack.nova.model.Hypervisor;
import com.woorea.openstack.nova.model.Hypervisors;
/**
* Model for HypervisorsResource
*
*/
public class HypervisorsResource {
private final OpenStackClient CLIENT;
public HypervisorsResource(OpenStackClient client) {
this.CLIENT = client;
}
public List list() {
return new List();
}
public class List extends OpenStackRequest {
public List() {
super(CLIENT, HttpMethod.GET, "/os-hypervisors", null, Hypervisors.class);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy