> +import com.google.auto.value.AutoValue;
> +
> +@AutoValue
> +public abstract class UploadFileResponse {
> +   public abstract String fileId();
> +   public abstract String fileName();
> +   public abstract String accountId();
> +   public abstract String bucketId();
> +   public abstract long contentLength();
> +   public abstract String contentSha1();
> +   public abstract String contentType();
> +   public abstract Map<String, String> fileInfo();
> +
> +   @SerializedNames({"fileId", "fileName", "accountId", "bucketId", 
> "contentLength", "contentSha1", "contentType", "fileInfo"})
> +   public static UploadFileResponse create(String fileId, String fileName, 
> String accountId, String bucketId, long contentLength, String contentSha1, 
> String contentType, Map<String, String> fileInfo) {
> +      return new AutoValue_UploadFileResponse(fileId, fileName, accountId, 
> bucketId, contentLength, contentSha1, contentType, fileInfo);

Immutable fileinfo

---
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/276/files/d27eef19e1ef39d560170786aa7a9ef1f711b71b#r65691238

Reply via email to