poddm commented on issue #66:
URL: https://github.com/apache/cloudstack-go/issues/66#issuecomment-1665897322

   I believe the CreateZoneResponse should be updated to this.  I'm trying to 
understand the generator to submit a PR.
   
   ```go
   type CreateZoneResponse struct {
        Zone struct {
                Allocationstate       string                       
`json:"allocationstate"`
                Capacity              []CreateZoneResponseCapacity 
`json:"capacity"`
                Description           string                       
`json:"description"`
                Dhcpprovider          string                       
`json:"dhcpprovider"`
                Displaytext           string                       
`json:"displaytext"`
                Dns1                  string                       `json:"dns1"`
                Dns2                  string                       `json:"dns2"`
                Domain                string                       
`json:"domain"`
                Domainid              string                       
`json:"domainid"`
                Domainname            string                       
`json:"domainname"`
                Guestcidraddress      string                       
`json:"guestcidraddress"`
                Hasannotations        bool                         
`json:"hasannotations"`
                Icon                  string                       `json:"icon"`
                Id                    string                       `json:"id"`
                Internaldns1          string                       
`json:"internaldns1"`
                Internaldns2          string                       
`json:"internaldns2"`
                Ip6dns1               string                       
`json:"ip6dns1"`
                Ip6dns2               string                       
`json:"ip6dns2"`
                JobID                 string                       
`json:"jobid"`
                Jobstatus             int                          
`json:"jobstatus"`
                Localstorageenabled   bool                         
`json:"localstorageenabled"`
                Name                  string                       `json:"name"`
                Networktype           string                       
`json:"networktype"`
                Resourcedetails       map[string]string            
`json:"resourcedetails"`
                Securitygroupsenabled bool                         
`json:"securitygroupsenabled"`
                Tags                  []Tags                       `json:"tags"`
                Zonetoken             string                       
`json:"zonetoken"`
        } `json:"zone"`
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to