> + * limitations under the License.
> + */
> +package org.jclouds.glacier.domain;
> +
> +import java.beans.ConstructorProperties;
> +
> +import com.google.gson.annotations.SerializedName;
> +
> +/**
> + * Defines attributes to describe a GlacierError
> + *
> + * @author Roman Coedo
> + */
> +public class GlacierError {
> +
> + @SerializedName("code")
BTW, you don't need the annotation if the name of the field is the same than
the name of the field in the JSON document, so I'd remove all these annotations
from the variables.
The `@ConstructorProperties`, however, is needed always, to tell jclouds in
which order each field in the json document has to be passed to the constructor.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-aws/pull/4/files#r12843056