> + @Nullable
> + public abstract AvailabilityZone availabilityZone();
> +
> + @Nullable
> + public abstract Date creationTime();
> +
> + @Nullable
> + public abstract Date lastModificationTime();
> +
> +// public abstract List<Storage> storages();
> +// public abstract List<Nic> storages();
> + public static Server create( String id, String name, int cores, int ram,
> boolean hasInternetAccess, ProvisioningState state,
> + Status status, OsType osType, AvailabilityZone availabilityZone,
> Date creationTime, Date lastModificationTime, Boolean isCpuHotPlug,
> + Boolean isRamHotPlug, Boolean isNicHotPlug, Boolean
> isNicHotUnPlug, Boolean isDiscVirtioHotPlug, Boolean isDiscVirtioHotUnPlug ) {
> + return new AutoValue_Server( isCpuHotPlug, isRamHotPlug, isNicHotPlug,
> isNicHotUnPlug, isDiscVirtioHotPlug, isDiscVirtioHotUnPlug,
> + cores, ram, id, name, hasInternetAccess, state, status,
> osType, availabilityZone, creationTime, lastModificationTime );
Take care with inheritance, as the order here is very important, as noted in
the [google auto
warnings](https://github.com/google/auto/tree/master/value#warnings). Make sure
we have a test to cover the proper object construction so we don't break this
accidentally by changing the implemented interface.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/119/files#r22943820