Pearl1594 commented on code in PR #90: URL: https://github.com/apache/cloudstack-go/pull/90#discussion_r1867869799
########## generate/generate.go: ########## @@ -1865,6 +1865,20 @@ func (s *service) generateResponseType(a *API) { tn := capitalize(strings.TrimPrefix(a.Name, "configure") + "Response") // add custom response types for some specific API calls + if a.Name == "quotaBalance" { + pn("type QuotaBalanceResponse struct {") + pn(" Statement QuotaBalanceResponseType `json:\"balance\"`") + pn("}") + pn("") + pn("type QuotaBalanceResponseType struct {") + pn(" StartQuota float64 `json:\"startquota\"`") + pn(" Credits []string `json:\"credits\"`") + pn(" StartDate string `json:\"startdate\"`") + pn(" Currency string `json:\"currency\"`") + pn("}") Review Comment: Do we need to add EndDate and EndQuota as well? -- 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