jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <notificati...@github.com>
Subject Re: [jclouds-labs-google] Convert GoogleComputeEngine to AutoValue + general cleanup. (#73)
Date Mon, 03 Nov 2014 21:21:30 GMT
>  
> -   public Builder toBuilder() {
> -      return new Builder().fromSnapshot(this);
> +   @SerializedNames({ "id", "selfLink", "name", "description", "diskSizeGb", "status",
"sourceDisk", "sourceDiskId" })
> +   public static Snapshot create(String id, URI selfLink, String name, String description,
int sizeGb, String status,
> +         URI sourceDisk, String sourceDiskId) {
> +      return new AutoValue_Snapshot(id, selfLink, name, description, sizeGb, status,
sourceDisk, sourceDiskId);

Does `sizeGb` sound like the size of the snapshot, rather than the size of the disk?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/73/files#r19765576
Mime
View raw message