jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arvindn05 <notificati...@github.com>
Subject Re: [jclouds] add os-hypervisors extension (#819)
Date Tue, 21 Jul 2015 06:15:36 GMT
> +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
Mime
View raw message