@nacx  
[Example](https://github.com/StackPointCloud/jclouds-labs/blob/oneandone-server-api/oneandone/src/main/java/org/apache/jclouds/oneandone/rest/domain/Server.java#L182-L389)
 Just to make sure i understand you correctly you are saying that i need to get 
rid of all these Classes inside the Request class  in the example and make each 
one of them a separate class with the static factory method like this 
`@SerializedNames({"id", "country_code", "location"})
        public static DataCenter create(String id, String countryCode, String 
location) {
            return new AutoValue_Server_DataCenter(id, countryCode, location);
}` to provide Models for POST and PUT requests.

---
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#issuecomment-227603053

Reply via email to