> @SerializedNames({ "network", "accessConfigs" })
> static NetworkInterface create(URI network, List<AccessConfig>
> accessConfigs) {
> - return new AutoValue_NewInstance_NetworkInterface(network,
> accessConfigs);
> + return new AutoValue_NewInstance_NetworkInterface(network, null,
> accessConfigs);
> + }
> +
> + @SerializedNames({ "network", "subnetwork", "accessConfigs" })
> + static NetworkInterface create(URI network, URI subnetwork,
> List<AccessConfig> accessConfigs) {
> + return new AutoValue_NewInstance_NetworkInterface(network,
> subnetwork, accessConfigs);
Same here. Keep just one static factory method.
--
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/pull/1006/files/0c51ed39650e9cab341136716a9d9732c63f7dd0#r78042253