diff --git a/cloudstack/AccountService.go b/cloudstack/AccountService.go index 66270b62..0ec7f789 100644 --- a/cloudstack/AccountService.go +++ b/cloudstack/AccountService.go @@ -367,7 +367,7 @@ type CreateAccountResponse struct { Domainid string `json:"domainid"` Domainpath string `json:"domainpath"` Groups []string `json:"groups"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Ipavailable string `json:"ipavailable"` Iplimit string `json:"iplimit"` @@ -420,28 +420,28 @@ type CreateAccountResponse struct { } type CreateAccountResponseUser struct { - Account string `json:"account"` - Accountid string `json:"accountid"` - Accounttype int `json:"accounttype"` - Apikey string `json:"apikey"` - Created string `json:"created"` - Domain string `json:"domain"` - Domainid string `json:"domainid"` - Email string `json:"email"` - Firstname string `json:"firstname"` - Icon string `json:"icon"` - Id string `json:"id"` - Iscallerchilddomain bool `json:"iscallerchilddomain"` - Isdefault bool `json:"isdefault"` - Lastname string `json:"lastname"` - Roleid string `json:"roleid"` - Rolename string `json:"rolename"` - Roletype string `json:"roletype"` - Secretkey string `json:"secretkey"` - State string `json:"state"` - Timezone string `json:"timezone"` - Username string `json:"username"` - Usersource string `json:"usersource"` + Account string `json:"account"` + Accountid string `json:"accountid"` + Accounttype int `json:"accounttype"` + Apikey string `json:"apikey"` + Created string `json:"created"` + Domain string `json:"domain"` + Domainid string `json:"domainid"` + Email string `json:"email"` + Firstname string `json:"firstname"` + Icon interface{} `json:"icon"` + Id string `json:"id"` + Iscallerchilddomain bool `json:"iscallerchilddomain"` + Isdefault bool `json:"isdefault"` + Lastname string `json:"lastname"` + Roleid string `json:"roleid"` + Rolename string `json:"rolename"` + Roletype string `json:"roletype"` + Secretkey string `json:"secretkey"` + State string `json:"state"` + Timezone string `json:"timezone"` + Username string `json:"username"` + Usersource string `json:"usersource"` } type DeleteAccountParams struct { @@ -661,7 +661,7 @@ type DisableAccountResponse struct { Domainid string `json:"domainid"` Domainpath string `json:"domainpath"` Groups []string `json:"groups"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Ipavailable string `json:"ipavailable"` Iplimit string `json:"iplimit"` @@ -714,28 +714,28 @@ type DisableAccountResponse struct { } type DisableAccountResponseUser struct { - Account string `json:"account"` - Accountid string `json:"accountid"` - Accounttype int `json:"accounttype"` - Apikey string `json:"apikey"` - Created string `json:"created"` - Domain string `json:"domain"` - Domainid string `json:"domainid"` - Email string `json:"email"` - Firstname string `json:"firstname"` - Icon string `json:"icon"` - Id string `json:"id"` - Iscallerchilddomain bool `json:"iscallerchilddomain"` - Isdefault bool `json:"isdefault"` - Lastname string `json:"lastname"` - Roleid string `json:"roleid"` - Rolename string `json:"rolename"` - Roletype string `json:"roletype"` - Secretkey string `json:"secretkey"` - State string `json:"state"` - Timezone string `json:"timezone"` - Username string `json:"username"` - Usersource string `json:"usersource"` + Account string `json:"account"` + Accountid string `json:"accountid"` + Accounttype int `json:"accounttype"` + Apikey string `json:"apikey"` + Created string `json:"created"` + Domain string `json:"domain"` + Domainid string `json:"domainid"` + Email string `json:"email"` + Firstname string `json:"firstname"` + Icon interface{} `json:"icon"` + Id string `json:"id"` + Iscallerchilddomain bool `json:"iscallerchilddomain"` + Isdefault bool `json:"isdefault"` + Lastname string `json:"lastname"` + Roleid string `json:"roleid"` + Rolename string `json:"rolename"` + Roletype string `json:"roletype"` + Secretkey string `json:"secretkey"` + State string `json:"state"` + Timezone string `json:"timezone"` + Username string `json:"username"` + Usersource string `json:"usersource"` } type EnableAccountParams struct { @@ -839,7 +839,7 @@ type EnableAccountResponse struct { Domainid string `json:"domainid"` Domainpath string `json:"domainpath"` Groups []string `json:"groups"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Ipavailable string `json:"ipavailable"` Iplimit string `json:"iplimit"` @@ -892,28 +892,28 @@ type EnableAccountResponse struct { } type EnableAccountResponseUser struct { - Account string `json:"account"` - Accountid string `json:"accountid"` - Accounttype int `json:"accounttype"` - Apikey string `json:"apikey"` - Created string `json:"created"` - Domain string `json:"domain"` - Domainid string `json:"domainid"` - Email string `json:"email"` - Firstname string `json:"firstname"` - Icon string `json:"icon"` - Id string `json:"id"` - Iscallerchilddomain bool `json:"iscallerchilddomain"` - Isdefault bool `json:"isdefault"` - Lastname string `json:"lastname"` - Roleid string `json:"roleid"` - Rolename string `json:"rolename"` - Roletype string `json:"roletype"` - Secretkey string `json:"secretkey"` - State string `json:"state"` - Timezone string `json:"timezone"` - Username string `json:"username"` - Usersource string `json:"usersource"` + Account string `json:"account"` + Accountid string `json:"accountid"` + Accounttype int `json:"accounttype"` + Apikey string `json:"apikey"` + Created string `json:"created"` + Domain string `json:"domain"` + Domainid string `json:"domainid"` + Email string `json:"email"` + Firstname string `json:"firstname"` + Icon interface{} `json:"icon"` + Id string `json:"id"` + Iscallerchilddomain bool `json:"iscallerchilddomain"` + Isdefault bool `json:"isdefault"` + Lastname string `json:"lastname"` + Roleid string `json:"roleid"` + Rolename string `json:"rolename"` + Roletype string `json:"roletype"` + Secretkey string `json:"secretkey"` + State string `json:"state"` + Timezone string `json:"timezone"` + Username string `json:"username"` + Usersource string `json:"usersource"` } type GetSolidFireAccountIdParams struct { @@ -1372,7 +1372,7 @@ type Account struct { Domainid string `json:"domainid"` Domainpath string `json:"domainpath"` Groups []string `json:"groups"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Ipavailable string `json:"ipavailable"` Iplimit string `json:"iplimit"` @@ -1425,28 +1425,28 @@ type Account struct { } type AccountUser struct { - Account string `json:"account"` - Accountid string `json:"accountid"` - Accounttype int `json:"accounttype"` - Apikey string `json:"apikey"` - Created string `json:"created"` - Domain string `json:"domain"` - Domainid string `json:"domainid"` - Email string `json:"email"` - Firstname string `json:"firstname"` - Icon string `json:"icon"` - Id string `json:"id"` - Iscallerchilddomain bool `json:"iscallerchilddomain"` - Isdefault bool `json:"isdefault"` - Lastname string `json:"lastname"` - Roleid string `json:"roleid"` - Rolename string `json:"rolename"` - Roletype string `json:"roletype"` - Secretkey string `json:"secretkey"` - State string `json:"state"` - Timezone string `json:"timezone"` - Username string `json:"username"` - Usersource string `json:"usersource"` + Account string `json:"account"` + Accountid string `json:"accountid"` + Accounttype int `json:"accounttype"` + Apikey string `json:"apikey"` + Created string `json:"created"` + Domain string `json:"domain"` + Domainid string `json:"domainid"` + Email string `json:"email"` + Firstname string `json:"firstname"` + Icon interface{} `json:"icon"` + Id string `json:"id"` + Iscallerchilddomain bool `json:"iscallerchilddomain"` + Isdefault bool `json:"isdefault"` + Lastname string `json:"lastname"` + Roleid string `json:"roleid"` + Rolename string `json:"rolename"` + Roletype string `json:"roletype"` + Secretkey string `json:"secretkey"` + State string `json:"state"` + Timezone string `json:"timezone"` + Username string `json:"username"` + Usersource string `json:"usersource"` } type ListProjectAccountsParams struct { @@ -1681,7 +1681,7 @@ type ProjectAccount struct { Displaytext string `json:"displaytext"` Domain string `json:"domain"` Domainid string `json:"domainid"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Ipavailable string `json:"ipavailable"` Iplimit string `json:"iplimit"` @@ -1822,7 +1822,7 @@ type LockAccountResponse struct { Domainid string `json:"domainid"` Domainpath string `json:"domainpath"` Groups []string `json:"groups"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Ipavailable string `json:"ipavailable"` Iplimit string `json:"iplimit"` @@ -1875,28 +1875,28 @@ type LockAccountResponse struct { } type LockAccountResponseUser struct { - Account string `json:"account"` - Accountid string `json:"accountid"` - Accounttype int `json:"accounttype"` - Apikey string `json:"apikey"` - Created string `json:"created"` - Domain string `json:"domain"` - Domainid string `json:"domainid"` - Email string `json:"email"` - Firstname string `json:"firstname"` - Icon string `json:"icon"` - Id string `json:"id"` - Iscallerchilddomain bool `json:"iscallerchilddomain"` - Isdefault bool `json:"isdefault"` - Lastname string `json:"lastname"` - Roleid string `json:"roleid"` - Rolename string `json:"rolename"` - Roletype string `json:"roletype"` - Secretkey string `json:"secretkey"` - State string `json:"state"` - Timezone string `json:"timezone"` - Username string `json:"username"` - Usersource string `json:"usersource"` + Account string `json:"account"` + Accountid string `json:"accountid"` + Accounttype int `json:"accounttype"` + Apikey string `json:"apikey"` + Created string `json:"created"` + Domain string `json:"domain"` + Domainid string `json:"domainid"` + Email string `json:"email"` + Firstname string `json:"firstname"` + Icon interface{} `json:"icon"` + Id string `json:"id"` + Iscallerchilddomain bool `json:"iscallerchilddomain"` + Isdefault bool `json:"isdefault"` + Lastname string `json:"lastname"` + Roleid string `json:"roleid"` + Rolename string `json:"rolename"` + Roletype string `json:"roletype"` + Secretkey string `json:"secretkey"` + State string `json:"state"` + Timezone string `json:"timezone"` + Username string `json:"username"` + Usersource string `json:"usersource"` } type MarkDefaultZoneForAccountParams struct { @@ -2023,7 +2023,7 @@ type MarkDefaultZoneForAccountResponse struct { Domainid string `json:"domainid"` Domainpath string `json:"domainpath"` Groups []string `json:"groups"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Ipavailable string `json:"ipavailable"` Iplimit string `json:"iplimit"` @@ -2076,28 +2076,28 @@ type MarkDefaultZoneForAccountResponse struct { } type MarkDefaultZoneForAccountResponseUser struct { - Account string `json:"account"` - Accountid string `json:"accountid"` - Accounttype int `json:"accounttype"` - Apikey string `json:"apikey"` - Created string `json:"created"` - Domain string `json:"domain"` - Domainid string `json:"domainid"` - Email string `json:"email"` - Firstname string `json:"firstname"` - Icon string `json:"icon"` - Id string `json:"id"` - Iscallerchilddomain bool `json:"iscallerchilddomain"` - Isdefault bool `json:"isdefault"` - Lastname string `json:"lastname"` - Roleid string `json:"roleid"` - Rolename string `json:"rolename"` - Roletype string `json:"roletype"` - Secretkey string `json:"secretkey"` - State string `json:"state"` - Timezone string `json:"timezone"` - Username string `json:"username"` - Usersource string `json:"usersource"` + Account string `json:"account"` + Accountid string `json:"accountid"` + Accounttype int `json:"accounttype"` + Apikey string `json:"apikey"` + Created string `json:"created"` + Domain string `json:"domain"` + Domainid string `json:"domainid"` + Email string `json:"email"` + Firstname string `json:"firstname"` + Icon interface{} `json:"icon"` + Id string `json:"id"` + Iscallerchilddomain bool `json:"iscallerchilddomain"` + Isdefault bool `json:"isdefault"` + Lastname string `json:"lastname"` + Roleid string `json:"roleid"` + Rolename string `json:"rolename"` + Roletype string `json:"roletype"` + Secretkey string `json:"secretkey"` + State string `json:"state"` + Timezone string `json:"timezone"` + Username string `json:"username"` + Usersource string `json:"usersource"` } type UpdateAccountParams struct { @@ -2277,7 +2277,7 @@ type UpdateAccountResponse struct { Domainid string `json:"domainid"` Domainpath string `json:"domainpath"` Groups []string `json:"groups"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Ipavailable string `json:"ipavailable"` Iplimit string `json:"iplimit"` @@ -2330,26 +2330,26 @@ type UpdateAccountResponse struct { } type UpdateAccountResponseUser struct { - Account string `json:"account"` - Accountid string `json:"accountid"` - Accounttype int `json:"accounttype"` - Apikey string `json:"apikey"` - Created string `json:"created"` - Domain string `json:"domain"` - Domainid string `json:"domainid"` - Email string `json:"email"` - Firstname string `json:"firstname"` - Icon string `json:"icon"` - Id string `json:"id"` - Iscallerchilddomain bool `json:"iscallerchilddomain"` - Isdefault bool `json:"isdefault"` - Lastname string `json:"lastname"` - Roleid string `json:"roleid"` - Rolename string `json:"rolename"` - Roletype string `json:"roletype"` - Secretkey string `json:"secretkey"` - State string `json:"state"` - Timezone string `json:"timezone"` - Username string `json:"username"` - Usersource string `json:"usersource"` + Account string `json:"account"` + Accountid string `json:"accountid"` + Accounttype int `json:"accounttype"` + Apikey string `json:"apikey"` + Created string `json:"created"` + Domain string `json:"domain"` + Domainid string `json:"domainid"` + Email string `json:"email"` + Firstname string `json:"firstname"` + Icon interface{} `json:"icon"` + Id string `json:"id"` + Iscallerchilddomain bool `json:"iscallerchilddomain"` + Isdefault bool `json:"isdefault"` + Lastname string `json:"lastname"` + Roleid string `json:"roleid"` + Rolename string `json:"rolename"` + Roletype string `json:"roletype"` + Secretkey string `json:"secretkey"` + State string `json:"state"` + Timezone string `json:"timezone"` + Username string `json:"username"` + Usersource string `json:"usersource"` } diff --git a/cloudstack/AffinityGroupService.go b/cloudstack/AffinityGroupService.go index 3d6ae187..fcaa8ccd 100644 --- a/cloudstack/AffinityGroupService.go +++ b/cloudstack/AffinityGroupService.go @@ -981,7 +981,7 @@ type UpdateVMAffinityGroupResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Instancename string `json:"instancename"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` diff --git a/cloudstack/BigSwitchBCFService.go b/cloudstack/BigSwitchBCFService.go index 5fbef5fc..de4ca0f4 100644 --- a/cloudstack/BigSwitchBCFService.go +++ b/cloudstack/BigSwitchBCFService.go @@ -237,7 +237,7 @@ func (s *BigSwitchBCFService) NewDeleteBigSwitchBcfDeviceParams(bcfdeviceid stri return p } -// delete a BigSwitch BCF Controller device +// delete a BigSwitch BCF Controller device func (s *BigSwitchBCFService) DeleteBigSwitchBcfDevice(p *DeleteBigSwitchBcfDeviceParams) (*DeleteBigSwitchBcfDeviceResponse, error) { resp, err := s.cs.newRequest("deleteBigSwitchBcfDevice", p.toURLValues()) if err != nil { diff --git a/cloudstack/BrocadeVCSService.go b/cloudstack/BrocadeVCSService.go index fc902744..ac1930f1 100644 --- a/cloudstack/BrocadeVCSService.go +++ b/cloudstack/BrocadeVCSService.go @@ -218,7 +218,7 @@ func (s *BrocadeVCSService) NewDeleteBrocadeVcsDeviceParams(vcsdeviceid string) return p } -// delete a Brocade VCS Switch +// delete a Brocade VCS Switch func (s *BrocadeVCSService) DeleteBrocadeVcsDevice(p *DeleteBrocadeVcsDeviceParams) (*DeleteBrocadeVcsDeviceResponse, error) { resp, err := s.cs.newRequest("deleteBrocadeVcsDevice", p.toURLValues()) if err != nil { @@ -427,7 +427,7 @@ type BrocadeVcsDeviceNetwork struct { Externalid string `json:"externalid"` Gateway string `json:"gateway"` Hasannotations bool `json:"hasannotations"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Ip6cidr string `json:"ip6cidr"` Ip6gateway string `json:"ip6gateway"` diff --git a/cloudstack/DomainService.go b/cloudstack/DomainService.go index 45d17b6a..71c2ed47 100644 --- a/cloudstack/DomainService.go +++ b/cloudstack/DomainService.go @@ -166,7 +166,7 @@ type CreateDomainResponse struct { Domaindetails map[string]string `json:"domaindetails"` Hasannotations bool `json:"hasannotations"` Haschild bool `json:"haschild"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Ipavailable string `json:"ipavailable"` Iplimit string `json:"iplimit"` @@ -587,7 +587,7 @@ type DomainChildren struct { Domaindetails map[string]string `json:"domaindetails"` Hasannotations bool `json:"hasannotations"` Haschild bool `json:"haschild"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Ipavailable string `json:"ipavailable"` Iplimit string `json:"iplimit"` @@ -932,7 +932,7 @@ type Domain struct { Domaindetails map[string]string `json:"domaindetails"` Hasannotations bool `json:"hasannotations"` Haschild bool `json:"haschild"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Ipavailable string `json:"ipavailable"` Iplimit string `json:"iplimit"` @@ -1080,7 +1080,7 @@ type UpdateDomainResponse struct { Domaindetails map[string]string `json:"domaindetails"` Hasannotations bool `json:"hasannotations"` Haschild bool `json:"haschild"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Ipavailable string `json:"ipavailable"` Iplimit string `json:"iplimit"` diff --git a/cloudstack/FirewallService.go b/cloudstack/FirewallService.go index 165b4a96..dd4f2674 100644 --- a/cloudstack/FirewallService.go +++ b/cloudstack/FirewallService.go @@ -1438,7 +1438,7 @@ func (s *FirewallService) NewDeletePaloAltoFirewallParams(fwdeviceid string) *De return p } -// delete a Palo Alto firewall device +// delete a Palo Alto firewall device func (s *FirewallService) DeletePaloAltoFirewall(p *DeletePaloAltoFirewallParams) (*DeletePaloAltoFirewallResponse, error) { resp, err := s.cs.newRequest("deletePaloAltoFirewall", p.toURLValues()) if err != nil { diff --git a/cloudstack/ISOService.go b/cloudstack/ISOService.go index 7ed08ff9..9bdeba26 100644 --- a/cloudstack/ISOService.go +++ b/cloudstack/ISOService.go @@ -197,7 +197,7 @@ type AttachIsoResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Instancename string `json:"instancename"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` @@ -466,7 +466,7 @@ type CopyIsoResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` Isextractable bool `json:"isextractable"` @@ -742,7 +742,7 @@ type DetachIsoResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Instancename string `json:"instancename"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` @@ -1631,7 +1631,7 @@ type Iso struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` Isextractable bool `json:"isextractable"` @@ -2067,7 +2067,7 @@ type RegisterIsoResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` Isextractable bool `json:"isextractable"` @@ -2446,7 +2446,7 @@ type UpdateIsoResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` Isextractable bool `json:"isextractable"` diff --git a/cloudstack/LDAPService.go b/cloudstack/LDAPService.go index c437ba20..3b421796 100644 --- a/cloudstack/LDAPService.go +++ b/cloudstack/LDAPService.go @@ -945,7 +945,7 @@ type LdapCreateAccountResponse struct { Domainid string `json:"domainid"` Domainpath string `json:"domainpath"` Groups []string `json:"groups"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Ipavailable string `json:"ipavailable"` Iplimit string `json:"iplimit"` @@ -998,28 +998,28 @@ type LdapCreateAccountResponse struct { } type LdapCreateAccountResponseUser struct { - Account string `json:"account"` - Accountid string `json:"accountid"` - Accounttype int `json:"accounttype"` - Apikey string `json:"apikey"` - Created string `json:"created"` - Domain string `json:"domain"` - Domainid string `json:"domainid"` - Email string `json:"email"` - Firstname string `json:"firstname"` - Icon string `json:"icon"` - Id string `json:"id"` - Iscallerchilddomain bool `json:"iscallerchilddomain"` - Isdefault bool `json:"isdefault"` - Lastname string `json:"lastname"` - Roleid string `json:"roleid"` - Rolename string `json:"rolename"` - Roletype string `json:"roletype"` - Secretkey string `json:"secretkey"` - State string `json:"state"` - Timezone string `json:"timezone"` - Username string `json:"username"` - Usersource string `json:"usersource"` + Account string `json:"account"` + Accountid string `json:"accountid"` + Accounttype int `json:"accounttype"` + Apikey string `json:"apikey"` + Created string `json:"created"` + Domain string `json:"domain"` + Domainid string `json:"domainid"` + Email string `json:"email"` + Firstname string `json:"firstname"` + Icon interface{} `json:"icon"` + Id string `json:"id"` + Iscallerchilddomain bool `json:"iscallerchilddomain"` + Isdefault bool `json:"isdefault"` + Lastname string `json:"lastname"` + Roleid string `json:"roleid"` + Rolename string `json:"rolename"` + Roletype string `json:"roletype"` + Secretkey string `json:"secretkey"` + State string `json:"state"` + Timezone string `json:"timezone"` + Username string `json:"username"` + Usersource string `json:"usersource"` } type LdapRemoveParams struct { diff --git a/cloudstack/LoadBalancerService.go b/cloudstack/LoadBalancerService.go index 3d255132..65484013 100644 --- a/cloudstack/LoadBalancerService.go +++ b/cloudstack/LoadBalancerService.go @@ -2582,7 +2582,7 @@ func (s *LoadBalancerService) NewDeleteNetscalerLoadBalancerParams(lbdeviceid st return p } -// delete a netscaler load balancer device +// delete a netscaler load balancer device func (s *LoadBalancerService) DeleteNetscalerLoadBalancer(p *DeleteNetscalerLoadBalancerParams) (*DeleteNetscalerLoadBalancerResponse, error) { resp, err := s.cs.newRequest("deleteNetscalerLoadBalancer", p.toURLValues()) if err != nil { diff --git a/cloudstack/NetworkService.go b/cloudstack/NetworkService.go index 914c2a16..7eac43bb 100644 --- a/cloudstack/NetworkService.go +++ b/cloudstack/NetworkService.go @@ -988,7 +988,7 @@ type CreateNetworkResponse struct { Externalid string `json:"externalid"` Gateway string `json:"gateway"` Hasannotations bool `json:"hasannotations"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Ip6cidr string `json:"ip6cidr"` Ip6gateway string `json:"ip6gateway"` @@ -2406,7 +2406,7 @@ type NetscalerLoadBalancerNetwork struct { Externalid string `json:"externalid"` Gateway string `json:"gateway"` Hasannotations bool `json:"hasannotations"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Ip6cidr string `json:"ip6cidr"` Ip6gateway string `json:"ip6gateway"` @@ -3380,7 +3380,7 @@ type Network struct { Externalid string `json:"externalid"` Gateway string `json:"gateway"` Hasannotations bool `json:"hasannotations"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Ip6cidr string `json:"ip6cidr"` Ip6gateway string `json:"ip6gateway"` @@ -3617,7 +3617,7 @@ type NiciraNvpDeviceNetwork struct { Externalid string `json:"externalid"` Gateway string `json:"gateway"` Hasannotations bool `json:"hasannotations"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Ip6cidr string `json:"ip6cidr"` Ip6gateway string `json:"ip6gateway"` @@ -3973,7 +3973,7 @@ type PaloAltoFirewallNetwork struct { Externalid string `json:"externalid"` Gateway string `json:"gateway"` Hasannotations bool `json:"hasannotations"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Ip6cidr string `json:"ip6cidr"` Ip6gateway string `json:"ip6gateway"` @@ -5139,7 +5139,7 @@ type UpdateNetworkResponse struct { Externalid string `json:"externalid"` Gateway string `json:"gateway"` Hasannotations bool `json:"hasannotations"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Ip6cidr string `json:"ip6cidr"` Ip6gateway string `json:"ip6gateway"` diff --git a/cloudstack/NicService.go b/cloudstack/NicService.go index 08463e51..471edae1 100644 --- a/cloudstack/NicService.go +++ b/cloudstack/NicService.go @@ -545,7 +545,7 @@ type UpdateVmNicIpResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Instancename string `json:"instancename"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` diff --git a/cloudstack/NiciraNVPService.go b/cloudstack/NiciraNVPService.go index 5b967506..39649977 100644 --- a/cloudstack/NiciraNVPService.go +++ b/cloudstack/NiciraNVPService.go @@ -272,7 +272,7 @@ func (s *NiciraNVPService) NewDeleteNiciraNvpDeviceParams(nvpdeviceid string) *D return p } -// delete a nicira nvp device +// delete a nicira nvp device func (s *NiciraNVPService) DeleteNiciraNvpDevice(p *DeleteNiciraNvpDeviceParams) (*DeleteNiciraNvpDeviceResponse, error) { resp, err := s.cs.newRequest("deleteNiciraNvpDevice", p.toURLValues()) if err != nil { diff --git a/cloudstack/ProjectService.go b/cloudstack/ProjectService.go index 3c065823..323c0270 100644 --- a/cloudstack/ProjectService.go +++ b/cloudstack/ProjectService.go @@ -150,7 +150,7 @@ type ActivateProjectResponse struct { Displaytext string `json:"displaytext"` Domain string `json:"domain"` Domainid string `json:"domainid"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Ipavailable string `json:"ipavailable"` Iplimit string `json:"iplimit"` @@ -663,7 +663,7 @@ type CreateProjectResponse struct { Displaytext string `json:"displaytext"` Domain string `json:"domain"` Domainid string `json:"domainid"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Ipavailable string `json:"ipavailable"` Iplimit string `json:"iplimit"` @@ -1786,7 +1786,7 @@ type Project struct { Displaytext string `json:"displaytext"` Domain string `json:"domain"` Domainid string `json:"domainid"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Ipavailable string `json:"ipavailable"` Iplimit string `json:"iplimit"` @@ -1911,7 +1911,7 @@ type SuspendProjectResponse struct { Displaytext string `json:"displaytext"` Domain string `json:"domain"` Domainid string `json:"domainid"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Ipavailable string `json:"ipavailable"` Iplimit string `json:"iplimit"` @@ -2127,7 +2127,7 @@ type UpdateProjectResponse struct { Displaytext string `json:"displaytext"` Domain string `json:"domain"` Domainid string `json:"domainid"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Ipavailable string `json:"ipavailable"` Iplimit string `json:"iplimit"` diff --git a/cloudstack/SSHService.go b/cloudstack/SSHService.go index aef62e10..da7f6e9d 100644 --- a/cloudstack/SSHService.go +++ b/cloudstack/SSHService.go @@ -968,7 +968,7 @@ type ResetSSHKeyForVirtualMachineResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Instancename string `json:"instancename"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` diff --git a/cloudstack/SnapshotService.go b/cloudstack/SnapshotService.go index f469d12e..c0b5a86d 100644 --- a/cloudstack/SnapshotService.go +++ b/cloudstack/SnapshotService.go @@ -2228,7 +2228,7 @@ type RevertToVMSnapshotResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Instancename string `json:"instancename"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` diff --git a/cloudstack/TemplateService.go b/cloudstack/TemplateService.go index 64238812..3d123177 100644 --- a/cloudstack/TemplateService.go +++ b/cloudstack/TemplateService.go @@ -209,7 +209,7 @@ type CopyTemplateResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` Isextractable bool `json:"isextractable"` @@ -663,7 +663,7 @@ type CreateTemplateResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` Isextractable bool `json:"isextractable"` @@ -2068,7 +2068,7 @@ type Template struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` Isextractable bool `json:"isextractable"` @@ -2239,7 +2239,7 @@ type PrepareTemplateResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` Isextractable bool `json:"isextractable"` @@ -2829,7 +2829,7 @@ type RegisterTemplate struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` Isextractable bool `json:"isextractable"` @@ -3226,7 +3226,7 @@ type UpdateTemplateResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` Isextractable bool `json:"isextractable"` diff --git a/cloudstack/UserService.go b/cloudstack/UserService.go index 3c024cf6..b1f298ec 100644 --- a/cloudstack/UserService.go +++ b/cloudstack/UserService.go @@ -261,30 +261,30 @@ func (s *UserService) CreateUser(p *CreateUserParams) (*CreateUserResponse, erro } type CreateUserResponse struct { - Account string `json:"account"` - Accountid string `json:"accountid"` - Accounttype int `json:"accounttype"` - Apikey string `json:"apikey"` - Created string `json:"created"` - Domain string `json:"domain"` - Domainid string `json:"domainid"` - Email string `json:"email"` - Firstname string `json:"firstname"` - Icon string `json:"icon"` - Id string `json:"id"` - Iscallerchilddomain bool `json:"iscallerchilddomain"` - Isdefault bool `json:"isdefault"` - JobID string `json:"jobid"` - Jobstatus int `json:"jobstatus"` - Lastname string `json:"lastname"` - Roleid string `json:"roleid"` - Rolename string `json:"rolename"` - Roletype string `json:"roletype"` - Secretkey string `json:"secretkey"` - State string `json:"state"` - Timezone string `json:"timezone"` - Username string `json:"username"` - Usersource string `json:"usersource"` + Account string `json:"account"` + Accountid string `json:"accountid"` + Accounttype int `json:"accounttype"` + Apikey string `json:"apikey"` + Created string `json:"created"` + Domain string `json:"domain"` + Domainid string `json:"domainid"` + Email string `json:"email"` + Firstname string `json:"firstname"` + Icon interface{} `json:"icon"` + Id string `json:"id"` + Iscallerchilddomain bool `json:"iscallerchilddomain"` + Isdefault bool `json:"isdefault"` + JobID string `json:"jobid"` + Jobstatus int `json:"jobstatus"` + Lastname string `json:"lastname"` + Roleid string `json:"roleid"` + Rolename string `json:"rolename"` + Roletype string `json:"roletype"` + Secretkey string `json:"secretkey"` + State string `json:"state"` + Timezone string `json:"timezone"` + Username string `json:"username"` + Usersource string `json:"usersource"` } type DeleteUserParams struct { @@ -450,30 +450,30 @@ func (s *UserService) DisableUser(p *DisableUserParams) (*DisableUserResponse, e } type DisableUserResponse struct { - Account string `json:"account"` - Accountid string `json:"accountid"` - Accounttype int `json:"accounttype"` - Apikey string `json:"apikey"` - Created string `json:"created"` - Domain string `json:"domain"` - Domainid string `json:"domainid"` - Email string `json:"email"` - Firstname string `json:"firstname"` - Icon string `json:"icon"` - Id string `json:"id"` - Iscallerchilddomain bool `json:"iscallerchilddomain"` - Isdefault bool `json:"isdefault"` - JobID string `json:"jobid"` - Jobstatus int `json:"jobstatus"` - Lastname string `json:"lastname"` - Roleid string `json:"roleid"` - Rolename string `json:"rolename"` - Roletype string `json:"roletype"` - Secretkey string `json:"secretkey"` - State string `json:"state"` - Timezone string `json:"timezone"` - Username string `json:"username"` - Usersource string `json:"usersource"` + Account string `json:"account"` + Accountid string `json:"accountid"` + Accounttype int `json:"accounttype"` + Apikey string `json:"apikey"` + Created string `json:"created"` + Domain string `json:"domain"` + Domainid string `json:"domainid"` + Email string `json:"email"` + Firstname string `json:"firstname"` + Icon interface{} `json:"icon"` + Id string `json:"id"` + Iscallerchilddomain bool `json:"iscallerchilddomain"` + Isdefault bool `json:"isdefault"` + JobID string `json:"jobid"` + Jobstatus int `json:"jobstatus"` + Lastname string `json:"lastname"` + Roleid string `json:"roleid"` + Rolename string `json:"rolename"` + Roletype string `json:"roletype"` + Secretkey string `json:"secretkey"` + State string `json:"state"` + Timezone string `json:"timezone"` + Username string `json:"username"` + Usersource string `json:"usersource"` } type EnableUserParams struct { @@ -535,30 +535,30 @@ func (s *UserService) EnableUser(p *EnableUserParams) (*EnableUserResponse, erro } type EnableUserResponse struct { - Account string `json:"account"` - Accountid string `json:"accountid"` - Accounttype int `json:"accounttype"` - Apikey string `json:"apikey"` - Created string `json:"created"` - Domain string `json:"domain"` - Domainid string `json:"domainid"` - Email string `json:"email"` - Firstname string `json:"firstname"` - Icon string `json:"icon"` - Id string `json:"id"` - Iscallerchilddomain bool `json:"iscallerchilddomain"` - Isdefault bool `json:"isdefault"` - JobID string `json:"jobid"` - Jobstatus int `json:"jobstatus"` - Lastname string `json:"lastname"` - Roleid string `json:"roleid"` - Rolename string `json:"rolename"` - Roletype string `json:"roletype"` - Secretkey string `json:"secretkey"` - State string `json:"state"` - Timezone string `json:"timezone"` - Username string `json:"username"` - Usersource string `json:"usersource"` + Account string `json:"account"` + Accountid string `json:"accountid"` + Accounttype int `json:"accounttype"` + Apikey string `json:"apikey"` + Created string `json:"created"` + Domain string `json:"domain"` + Domainid string `json:"domainid"` + Email string `json:"email"` + Firstname string `json:"firstname"` + Icon interface{} `json:"icon"` + Id string `json:"id"` + Iscallerchilddomain bool `json:"iscallerchilddomain"` + Isdefault bool `json:"isdefault"` + JobID string `json:"jobid"` + Jobstatus int `json:"jobstatus"` + Lastname string `json:"lastname"` + Roleid string `json:"roleid"` + Rolename string `json:"rolename"` + Roletype string `json:"roletype"` + Secretkey string `json:"secretkey"` + State string `json:"state"` + Timezone string `json:"timezone"` + Username string `json:"username"` + Usersource string `json:"usersource"` } type GetUserParams struct { @@ -616,30 +616,30 @@ func (s *UserService) GetUser(p *GetUserParams) (*GetUserResponse, error) { } type GetUserResponse struct { - Account string `json:"account"` - Accountid string `json:"accountid"` - Accounttype int `json:"accounttype"` - Apikey string `json:"apikey"` - Created string `json:"created"` - Domain string `json:"domain"` - Domainid string `json:"domainid"` - Email string `json:"email"` - Firstname string `json:"firstname"` - Icon string `json:"icon"` - Id string `json:"id"` - Iscallerchilddomain bool `json:"iscallerchilddomain"` - Isdefault bool `json:"isdefault"` - JobID string `json:"jobid"` - Jobstatus int `json:"jobstatus"` - Lastname string `json:"lastname"` - Roleid string `json:"roleid"` - Rolename string `json:"rolename"` - Roletype string `json:"roletype"` - Secretkey string `json:"secretkey"` - State string `json:"state"` - Timezone string `json:"timezone"` - Username string `json:"username"` - Usersource string `json:"usersource"` + Account string `json:"account"` + Accountid string `json:"accountid"` + Accounttype int `json:"accounttype"` + Apikey string `json:"apikey"` + Created string `json:"created"` + Domain string `json:"domain"` + Domainid string `json:"domainid"` + Email string `json:"email"` + Firstname string `json:"firstname"` + Icon interface{} `json:"icon"` + Id string `json:"id"` + Iscallerchilddomain bool `json:"iscallerchilddomain"` + Isdefault bool `json:"isdefault"` + JobID string `json:"jobid"` + Jobstatus int `json:"jobstatus"` + Lastname string `json:"lastname"` + Roleid string `json:"roleid"` + Rolename string `json:"rolename"` + Roletype string `json:"roletype"` + Secretkey string `json:"secretkey"` + State string `json:"state"` + Timezone string `json:"timezone"` + Username string `json:"username"` + Usersource string `json:"usersource"` } type GetUserKeysParams struct { @@ -1068,30 +1068,30 @@ type ListUsersResponse struct { } type User struct { - Account string `json:"account"` - Accountid string `json:"accountid"` - Accounttype int `json:"accounttype"` - Apikey string `json:"apikey"` - Created string `json:"created"` - Domain string `json:"domain"` - Domainid string `json:"domainid"` - Email string `json:"email"` - Firstname string `json:"firstname"` - Icon string `json:"icon"` - Id string `json:"id"` - Iscallerchilddomain bool `json:"iscallerchilddomain"` - Isdefault bool `json:"isdefault"` - JobID string `json:"jobid"` - Jobstatus int `json:"jobstatus"` - Lastname string `json:"lastname"` - Roleid string `json:"roleid"` - Rolename string `json:"rolename"` - Roletype string `json:"roletype"` - Secretkey string `json:"secretkey"` - State string `json:"state"` - Timezone string `json:"timezone"` - Username string `json:"username"` - Usersource string `json:"usersource"` + Account string `json:"account"` + Accountid string `json:"accountid"` + Accounttype int `json:"accounttype"` + Apikey string `json:"apikey"` + Created string `json:"created"` + Domain string `json:"domain"` + Domainid string `json:"domainid"` + Email string `json:"email"` + Firstname string `json:"firstname"` + Icon interface{} `json:"icon"` + Id string `json:"id"` + Iscallerchilddomain bool `json:"iscallerchilddomain"` + Isdefault bool `json:"isdefault"` + JobID string `json:"jobid"` + Jobstatus int `json:"jobstatus"` + Lastname string `json:"lastname"` + Roleid string `json:"roleid"` + Rolename string `json:"rolename"` + Roletype string `json:"roletype"` + Secretkey string `json:"secretkey"` + State string `json:"state"` + Timezone string `json:"timezone"` + Username string `json:"username"` + Usersource string `json:"usersource"` } type LockUserParams struct { @@ -1153,30 +1153,30 @@ func (s *UserService) LockUser(p *LockUserParams) (*LockUserResponse, error) { } type LockUserResponse struct { - Account string `json:"account"` - Accountid string `json:"accountid"` - Accounttype int `json:"accounttype"` - Apikey string `json:"apikey"` - Created string `json:"created"` - Domain string `json:"domain"` - Domainid string `json:"domainid"` - Email string `json:"email"` - Firstname string `json:"firstname"` - Icon string `json:"icon"` - Id string `json:"id"` - Iscallerchilddomain bool `json:"iscallerchilddomain"` - Isdefault bool `json:"isdefault"` - JobID string `json:"jobid"` - Jobstatus int `json:"jobstatus"` - Lastname string `json:"lastname"` - Roleid string `json:"roleid"` - Rolename string `json:"rolename"` - Roletype string `json:"roletype"` - Secretkey string `json:"secretkey"` - State string `json:"state"` - Timezone string `json:"timezone"` - Username string `json:"username"` - Usersource string `json:"usersource"` + Account string `json:"account"` + Accountid string `json:"accountid"` + Accounttype int `json:"accounttype"` + Apikey string `json:"apikey"` + Created string `json:"created"` + Domain string `json:"domain"` + Domainid string `json:"domainid"` + Email string `json:"email"` + Firstname string `json:"firstname"` + Icon interface{} `json:"icon"` + Id string `json:"id"` + Iscallerchilddomain bool `json:"iscallerchilddomain"` + Isdefault bool `json:"isdefault"` + JobID string `json:"jobid"` + Jobstatus int `json:"jobstatus"` + Lastname string `json:"lastname"` + Roleid string `json:"roleid"` + Rolename string `json:"rolename"` + Roletype string `json:"roletype"` + Secretkey string `json:"secretkey"` + State string `json:"state"` + Timezone string `json:"timezone"` + Username string `json:"username"` + Usersource string `json:"usersource"` } type RegisterUserKeysParams struct { @@ -1461,28 +1461,28 @@ func (s *UserService) UpdateUser(p *UpdateUserParams) (*UpdateUserResponse, erro } type UpdateUserResponse struct { - Account string `json:"account"` - Accountid string `json:"accountid"` - Accounttype int `json:"accounttype"` - Apikey string `json:"apikey"` - Created string `json:"created"` - Domain string `json:"domain"` - Domainid string `json:"domainid"` - Email string `json:"email"` - Firstname string `json:"firstname"` - Icon string `json:"icon"` - Id string `json:"id"` - Iscallerchilddomain bool `json:"iscallerchilddomain"` - Isdefault bool `json:"isdefault"` - JobID string `json:"jobid"` - Jobstatus int `json:"jobstatus"` - Lastname string `json:"lastname"` - Roleid string `json:"roleid"` - Rolename string `json:"rolename"` - Roletype string `json:"roletype"` - Secretkey string `json:"secretkey"` - State string `json:"state"` - Timezone string `json:"timezone"` - Username string `json:"username"` - Usersource string `json:"usersource"` + Account string `json:"account"` + Accountid string `json:"accountid"` + Accounttype int `json:"accounttype"` + Apikey string `json:"apikey"` + Created string `json:"created"` + Domain string `json:"domain"` + Domainid string `json:"domainid"` + Email string `json:"email"` + Firstname string `json:"firstname"` + Icon interface{} `json:"icon"` + Id string `json:"id"` + Iscallerchilddomain bool `json:"iscallerchilddomain"` + Isdefault bool `json:"isdefault"` + JobID string `json:"jobid"` + Jobstatus int `json:"jobstatus"` + Lastname string `json:"lastname"` + Roleid string `json:"roleid"` + Rolename string `json:"rolename"` + Roletype string `json:"roletype"` + Secretkey string `json:"secretkey"` + State string `json:"state"` + Timezone string `json:"timezone"` + Username string `json:"username"` + Usersource string `json:"usersource"` } diff --git a/cloudstack/VPCService.go b/cloudstack/VPCService.go index f7c9f80e..ec592288 100644 --- a/cloudstack/VPCService.go +++ b/cloudstack/VPCService.go @@ -713,7 +713,7 @@ type CreateVPCResponse struct { Domainid string `json:"domainid"` Fordisplay bool `json:"fordisplay"` Hasannotations bool `json:"hasannotations"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` JobID string `json:"jobid"` Jobstatus int `json:"jobstatus"` @@ -2850,7 +2850,7 @@ type VPC struct { Domainid string `json:"domainid"` Fordisplay bool `json:"fordisplay"` Hasannotations bool `json:"hasannotations"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` JobID string `json:"jobid"` Jobstatus int `json:"jobstatus"` @@ -3164,7 +3164,7 @@ type UpdateVPCResponse struct { Domainid string `json:"domainid"` Fordisplay bool `json:"fordisplay"` Hasannotations bool `json:"hasannotations"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` JobID string `json:"jobid"` Jobstatus int `json:"jobstatus"` diff --git a/cloudstack/VirtualMachineService.go b/cloudstack/VirtualMachineService.go index 912f2a1f..2bac76ce 100644 --- a/cloudstack/VirtualMachineService.go +++ b/cloudstack/VirtualMachineService.go @@ -262,7 +262,7 @@ type AddNicToVirtualMachineResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Instancename string `json:"instancename"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` @@ -557,7 +557,7 @@ type AssignVirtualMachineResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Instancename string `json:"instancename"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` @@ -800,7 +800,7 @@ type ChangeServiceForVirtualMachineResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Instancename string `json:"instancename"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` @@ -1918,7 +1918,7 @@ type DeployVirtualMachineResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Instancename string `json:"instancename"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` @@ -2179,7 +2179,7 @@ type DestroyVirtualMachineResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Instancename string `json:"instancename"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` @@ -3222,7 +3222,7 @@ type VirtualMachine struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Instancename string `json:"instancename"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` @@ -4106,7 +4106,7 @@ type VirtualMachinesMetric struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Instancename string `json:"instancename"` Ipaddress string `json:"ipaddress"` @@ -4388,7 +4388,7 @@ type MigrateVirtualMachineResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Instancename string `json:"instancename"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` @@ -4666,7 +4666,7 @@ type MigrateVirtualMachineWithVolumeResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Instancename string `json:"instancename"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` @@ -4927,7 +4927,7 @@ type RebootVirtualMachineResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Instancename string `json:"instancename"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` @@ -5130,7 +5130,7 @@ type RecoverVirtualMachineResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Instancename string `json:"instancename"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` @@ -5372,7 +5372,7 @@ type RemoveNicFromVirtualMachineResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Instancename string `json:"instancename"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` @@ -5595,7 +5595,7 @@ type ResetPasswordForVirtualMachineResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Instancename string `json:"instancename"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` @@ -5836,7 +5836,7 @@ type RestoreVirtualMachineResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Instancename string `json:"instancename"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` @@ -6266,7 +6266,7 @@ type StartVirtualMachineResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Instancename string `json:"instancename"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` @@ -6508,7 +6508,7 @@ type StopVirtualMachineResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Instancename string `json:"instancename"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` @@ -6750,7 +6750,7 @@ type UpdateDefaultNicForVirtualMachineResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Instancename string `json:"instancename"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` @@ -7269,7 +7269,7 @@ type UpdateVirtualMachineResponse struct { Hostid string `json:"hostid"` Hostname string `json:"hostname"` Hypervisor string `json:"hypervisor"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Instancename string `json:"instancename"` Isdynamicallyscalable bool `json:"isdynamicallyscalable"` diff --git a/cloudstack/ZoneService.go b/cloudstack/ZoneService.go index 61367a82..cc067a73 100644 --- a/cloudstack/ZoneService.go +++ b/cloudstack/ZoneService.go @@ -366,7 +366,7 @@ type CreateZoneResponse struct { Domainname string `json:"domainname"` Guestcidraddress string `json:"guestcidraddress"` Hasannotations bool `json:"hasannotations"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Internaldns1 string `json:"internaldns1"` Internaldns2 string `json:"internaldns2"` @@ -1462,7 +1462,7 @@ type Zone struct { Domainname string `json:"domainname"` Guestcidraddress string `json:"guestcidraddress"` Hasannotations bool `json:"hasannotations"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Internaldns1 string `json:"internaldns1"` Internaldns2 string `json:"internaldns2"` @@ -1846,7 +1846,7 @@ type ZonesMetric struct { Domainname string `json:"domainname"` Guestcidraddress string `json:"guestcidraddress"` Hasannotations bool `json:"hasannotations"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Internaldns1 string `json:"internaldns1"` Internaldns2 string `json:"internaldns2"` @@ -2326,7 +2326,7 @@ type UpdateZoneResponse struct { Domainname string `json:"domainname"` Guestcidraddress string `json:"guestcidraddress"` Hasannotations bool `json:"hasannotations"` - Icon string `json:"icon"` + Icon interface{} `json:"icon"` Id string `json:"id"` Internaldns1 string `json:"internaldns1"` Internaldns2 string `json:"internaldns2"` diff --git a/generate/generate.go b/generate/generate.go index 37c920d9..41380ac9 100644 --- a/generate/generate.go +++ b/generate/generate.go @@ -2105,6 +2105,8 @@ func mapType(aName string, pName string, pType string) string { return "map[string]string" case "set": return "[]interface{}" + case "resourceiconresponse": + return "interface{}" case "responseobject": return "json.RawMessage" case "uservmresponse":