org.openstack4j.openstack.compute.domain.AggregateRemoveHost Maven / Gradle / Ivy
package org.openstack4j.openstack.compute.domain;
import org.openstack4j.model.ModelEntity;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;
/**
* remove a host to an aggregate.
* @author liujunpeng
*
*/
@JsonRootName("remove_host")
public class AggregateRemoveHost implements ModelEntity {
private static final long serialVersionUID = 1L;
/**
* host id
*/
@JsonProperty("host")
String host;
/**
*
* @param host
*/
public AggregateRemoveHost(String host){
this.host=host;
}
public String getHost() {
return host;
}
public void setHost(String host) {
this.host = host;
}
}