happyalexkg opened a new issue, #61: URL: https://github.com/apache/cloudstack-go/issues/61
Hi, i tring to get all VMs which belongs to user with this function ListVirtualMachines Here is my code: ` con := cloudstack.InitCloudStack() p3 := con.VirtualMachine.NewListVirtualMachinesParams() //p3.SetAccount("testuser") p3.SetListall(true) ret, err := con.VirtualMachine.ListVirtualMachines(p3) fmt.Println(ret) if err != nil { fmt.Println(err.Error()) }` After execution this code I got this error: `json: cannot unmarshal string into Go struct field VirtualMachine.virtualmachine.ostypeid of type int64` How to fix or can you please tell proper way to get all VMs which belongs to user Thx -- 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.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org