> +package org.jclouds.openstack.nova.v2_0.domain.regionscoped;
> +
> +import com.google.auto.value.AutoValue;
> +import org.jclouds.json.SerializedNames;
> +
> +/**
> + * Hypervisor which shows id, name and other details
> + */
> +@AutoValue
> +public abstract class HypervisorDetails {
> +
> +   public abstract String getId();
> +
> +   public abstract String getName();
> +
> +   public abstract int getCurrentWorkload();

good point.
Took the reference from here. added nullable annotation and made fields objects 
for nullable properties.
https://github.com/openstack/nova/blob/master/nova/objects/compute_node.py

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/819/files#r35072519

Reply via email to