> +
> + @Nullable
> + public abstract List<ServerIp> ips();
> +
> + @Nullable
> + public abstract List<Alert> alerts();
> +
> + @Nullable
> + public abstract ServerMonitoringPolicy monitoringPolicy();
> +
> + @Nullable
> + public abstract List<ServerPrivateNetwork> privateNetworks();
> +
> + @SerializedNames({"id", "name", "creation_date", "first_password",
> "description", "status", "hardware", "image", "dvd", "snapshot",
> "datacenter", "ips", "alerts", "monitoring_policy", "private_networks"})
> + public static Server create(String id, String name, Date creationDate,
> String firstPassword, String description, Status status, Hardware hardware,
> Image image, Dvd dvd, Snapshot snapshot, DataCenter datacenter,
> List<ServerIp> ips, List<Alert> alerts, ServerMonitoringPolicy policy,
> List<ServerPrivateNetwork> privateNetworks) {
> + return new AutoValue_Server(id, name, creationDate, firstPassword,
> description, status, hardware, image, dvd, snapshot, datacenter, ips, alerts,
> policy, privateNetworks);
Same comment about nullable lists.
---
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#r68666906