> +import org.jclouds.shipyard.domain.images.ImagePortsInfo;
> +
> +import com.google.auto.value.AutoValue;
> +
> +@AutoValue
> +public abstract class ContainerImageInfo {
> +   
> +   @Nullable public abstract String name();
> +   
> +   @Nullable public abstract Map<String, String> environment();
> +   
> +   @Nullable public abstract List<String> entrypoint();
> +   
> +   public abstract String hostname();
> +   
> +   @Nullable public abstract List<ImagePortsInfo> bind_ports();

Also, nullable lists are usually a bad idea. Could you work that out in the 
create method so an empty list is returned instead of a null one? Or are these 
list also used to "post" information to the provider and they *must* be null?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/116/files#r21862476

Reply via email to