> +    public abstract String id();
> +
> +    public abstract String name();
> +
> +    public abstract Hardware hardware();
> +
> +    @SerializedNames({"id", "name", "hardware"})
> +    public static HardwareFlavour create(String id, String name, Hardware 
> hardware) {
> +        return new AutoValue_HardwareFlavour(id, name, hardware);
> +    }
> +
> +    @AutoValue
> +    public abstract static class Hardware {
> +
> +        @Nullable
> +        public abstract String fixedInstanceSizeId();

The Hdd object is different too

```

public abstract static class Hdd {
            public abstract String unit();
            public abstract int size();
            public abstract Boolean isMain();
```

And at the Hardware class

```

public abstract class Hdd {

    public abstract String id();

    public abstract double size();

    public abstract Boolean isMain();
```

I can mix them into one but i think this is neater, what do you say?

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/275/files/0767d011a984011133c9e34b3389b449ca0756cd#r68673027

Reply via email to