tonymmm1 commented on PR #90:
URL: https://github.com/apache/cloudstack-go/pull/90#issuecomment-2254195056

   As of cloudstack 14.19.0.2 it seems like the quotaBalance response object 
does not match listApis.json from cmk-cli.
   
   
   Is the object I am receiving from cloudstack api.
   
   ```
   {
     "quotabalanceresponse": {
       "balance": {
         "startquota": 0,
         "credits": [],
         "startdate": "2024-07-27T11:32:15-0500",
         "currency": "$"
       }
     }
   }
   ```
   
   Is the generated type.
   
   ```
   type QuotaBalance struct {
        Account   string  `json:"account"`
        Accountid int64   `json:"accountid"`
        Domain    int64   `json:"domain"`
        JobID     string  `json:"jobid"`
        Jobstatus int     `json:"jobstatus"`
        Name      string  `json:"name"`
        Quota     float64 `json:"quota"`
        Type      int     `json:"type"`
        Unit      string  `json:"unit"`
   }
   ```
   
   There seems to be no correlation between these types?


-- 
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