jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zack Shoylev <notificati...@github.com>
Subject Re: [jclouds] add os-hypervisors extension (#819)
Date Tue, 21 Jul 2015 04:10:37 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();

Are you sure all of these ints will be returned by the service? If not, use Integer.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/819/files#r35068385
Mime
View raw message