com.woorea.openstack.nova.api.extensions.FloatingIpPoolsExtension Maven / Gradle / Ivy
The newest version!
/*******************************************************************************
* 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.api.extensions;
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.FloatingIpPools;
public class FloatingIpPoolsExtension {
private final OpenStackClient CLIENT;
public FloatingIpPoolsExtension(OpenStackClient client) {
CLIENT = client;
}
public List list() {
return new List();
}
public class List extends OpenStackRequest {
public List() {
super(CLIENT, HttpMethod.GET, "/os-floating-ip-pools", null, FloatingIpPools.class);
}
}
}