You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2021/10/01 05:52:01 UTC

[cloudstack-go] branch fix-listtemplates created (now bb0b0f5)

This is an automated email from the ASF dual-hosted git repository.

davidjumani pushed a change to branch fix-listtemplates
in repository https://gitbox.apache.org/repos/asf/cloudstack-go.git.


      at bb0b0f5  Fix listtemplateresponse

This branch includes the following new commits:

     new bb0b0f5  Fix listtemplateresponse

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[cloudstack-go] 01/01: Fix listtemplateresponse

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

davidjumani pushed a commit to branch fix-listtemplates
in repository https://gitbox.apache.org/repos/asf/cloudstack-go.git

commit bb0b0f5a607c4b5d3359f9b5a4530bcb7f869537
Author: davidjumani <dj...@gmail.com>
AuthorDate: Fri Oct 1 11:21:44 2021 +0530

    Fix listtemplateresponse
---
 cloudstack/TemplateService.go | 96 +++++++++++++++++++++----------------------
 1 file changed, 48 insertions(+), 48 deletions(-)

diff --git a/cloudstack/TemplateService.go b/cloudstack/TemplateService.go
index 30198aa..3c65330 100644
--- a/cloudstack/TemplateService.go
+++ b/cloudstack/TemplateService.go
@@ -1430,54 +1430,54 @@ type ListTemplatesResponse struct {
 }
 
 type Template struct {
-	Account               string            `json:"account"`
-	Accountid             string            `json:"accountid"`
-	Bits                  int               `json:"bits"`
-	Bootable              bool              `json:"bootable"`
-	Checksum              string            `json:"checksum"`
-	Childtemplates        []interface{}     `json:"childtemplates"`
-	Created               string            `json:"created"`
-	CrossZones            bool              `json:"crossZones"`
-	Deployasis            bool              `json:"deployasis"`
-	Deployasisdetails     map[string]string `json:"deployasisdetails"`
-	Details               map[string]string `json:"details"`
-	Directdownload        bool              `json:"directdownload"`
-	Displaytext           string            `json:"displaytext"`
-	Domain                string            `json:"domain"`
-	Domainid              string            `json:"domainid"`
-	Downloaddetails       []string          `json:"downloaddetails"`
-	Format                string            `json:"format"`
-	Hostid                string            `json:"hostid"`
-	Hostname              string            `json:"hostname"`
-	Hypervisor            string            `json:"hypervisor"`
-	Id                    string            `json:"id"`
-	Isdynamicallyscalable bool              `json:"isdynamicallyscalable"`
-	Isextractable         bool              `json:"isextractable"`
-	Isfeatured            bool              `json:"isfeatured"`
-	Ispublic              bool              `json:"ispublic"`
-	Isready               bool              `json:"isready"`
-	JobID                 string            `json:"jobid"`
-	Jobstatus             int               `json:"jobstatus"`
-	Name                  string            `json:"name"`
-	Ostypeid              string            `json:"ostypeid"`
-	Ostypename            string            `json:"ostypename"`
-	Parenttemplateid      string            `json:"parenttemplateid"`
-	Passwordenabled       bool              `json:"passwordenabled"`
-	Physicalsize          int64             `json:"physicalsize"`
-	Project               string            `json:"project"`
-	Projectid             string            `json:"projectid"`
-	Removed               string            `json:"removed"`
-	Requireshvm           bool              `json:"requireshvm"`
-	Size                  int64             `json:"size"`
-	Sourcetemplateid      string            `json:"sourcetemplateid"`
-	Sshkeyenabled         bool              `json:"sshkeyenabled"`
-	Status                string            `json:"status"`
-	Tags                  []Tags            `json:"tags"`
-	Templatetag           string            `json:"templatetag"`
-	Templatetype          string            `json:"templatetype"`
-	Url                   string            `json:"url"`
-	Zoneid                string            `json:"zoneid"`
-	Zonename              string            `json:"zonename"`
+	Account               string              `json:"account"`
+	Accountid             string              `json:"accountid"`
+	Bits                  int                 `json:"bits"`
+	Bootable              bool                `json:"bootable"`
+	Checksum              string              `json:"checksum"`
+	Childtemplates        []interface{}       `json:"childtemplates"`
+	Created               string              `json:"created"`
+	CrossZones            bool                `json:"crossZones"`
+	Deployasis            bool                `json:"deployasis"`
+	Deployasisdetails     map[string]string   `json:"deployasisdetails"`
+	Details               map[string]string   `json:"details"`
+	Directdownload        bool                `json:"directdownload"`
+	Displaytext           string              `json:"displaytext"`
+	Domain                string              `json:"domain"`
+	Domainid              string              `json:"domainid"`
+	Downloaddetails       []map[string]string `json:"downloaddetails"`
+	Format                string              `json:"format"`
+	Hostid                string              `json:"hostid"`
+	Hostname              string              `json:"hostname"`
+	Hypervisor            string              `json:"hypervisor"`
+	Id                    string              `json:"id"`
+	Isdynamicallyscalable bool                `json:"isdynamicallyscalable"`
+	Isextractable         bool                `json:"isextractable"`
+	Isfeatured            bool                `json:"isfeatured"`
+	Ispublic              bool                `json:"ispublic"`
+	Isready               bool                `json:"isready"`
+	JobID                 string              `json:"jobid"`
+	Jobstatus             int                 `json:"jobstatus"`
+	Name                  string              `json:"name"`
+	Ostypeid              string              `json:"ostypeid"`
+	Ostypename            string              `json:"ostypename"`
+	Parenttemplateid      string              `json:"parenttemplateid"`
+	Passwordenabled       bool                `json:"passwordenabled"`
+	Physicalsize          int64               `json:"physicalsize"`
+	Project               string              `json:"project"`
+	Projectid             string              `json:"projectid"`
+	Removed               string              `json:"removed"`
+	Requireshvm           bool                `json:"requireshvm"`
+	Size                  int64               `json:"size"`
+	Sourcetemplateid      string              `json:"sourcetemplateid"`
+	Sshkeyenabled         bool                `json:"sshkeyenabled"`
+	Status                string              `json:"status"`
+	Tags                  []Tags              `json:"tags"`
+	Templatetag           string              `json:"templatetag"`
+	Templatetype          string              `json:"templatetype"`
+	Url                   string              `json:"url"`
+	Zoneid                string              `json:"zoneid"`
+	Zonename              string              `json:"zonename"`
 }
 
 func (r *Template) UnmarshalJSON(b []byte) error {