> +
> + public abstract List<Hdd> hdds();
> +
> + @SerializedNames({"fixed_instance_size_id", "vcore",
> "cores_per_processor", "ram", "hdds"})
> + public static Hardware create(String fixedInstanceSizeId, double
> vcore, double coresPerProcessor, double ram, List<Hdd> hdds) {
> + return new
> AutoValue_HardwareFlavour_Hardware(fixedInstanceSizeId, vcore,
> coresPerProcessor, ram, hdds);
> + }
> +
> + @AutoValue
> + public abstract static class Hdd {
> +
> + public abstract String unit();
> +
> + public abstract int size();
> +
> + public abstract Boolean isMain();
Use a primitive value if this can never be null, otherwise annotate as
`@Nullable`.
---
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#r68666552