Skip to content
Permalink
Browse files
Merge pull request #27 from svanharmelen/dev
Generated packages based on latests fixes...
  • Loading branch information
Sander van Harmelen committed Jun 8, 2015
2 parents 3c31a84 + 3382b03 commit 679b6774da70de01dfe633a64ad607b0db6e3d1e
Showing 44 changed files with 178 additions and 134 deletions.
@@ -506,11 +506,11 @@ func (p *UpdateVMAffinityGroupParams) toURLValues() url.Values {
return u
}
if v, found := p.p["affinitygroupids"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("affinitygroupids", vv)
}
if v, found := p.p["affinitygroupnames"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("affinitygroupnames", vv)
}
if v, found := p.p["id"]; found {
@@ -223,7 +223,7 @@ func (p *ArchiveAlertsParams) toURLValues() url.Values {
u.Set("enddate", v.(string))
}
if v, found := p.p["ids"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("ids", vv)
}
if v, found := p.p["startdate"]; found {
@@ -307,7 +307,7 @@ func (p *DeleteAlertsParams) toURLValues() url.Values {
u.Set("enddate", v.(string))
}
if v, found := p.p["ids"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("ids", vv)
}
if v, found := p.p["startdate"]; found {
@@ -267,7 +267,7 @@ func (p *CreateAutoScalePolicyParams) toURLValues() url.Values {
u.Set("action", v.(string))
}
if v, found := p.p["conditionids"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("conditionids", vv)
}
if v, found := p.p["duration"]; found {
@@ -574,11 +574,11 @@ func (p *CreateAutoScaleVmGroupParams) toURLValues() url.Values {
u.Set("minmembers", vv)
}
if v, found := p.p["scaledownpolicyids"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("scaledownpolicyids", vv)
}
if v, found := p.p["scaleuppolicyids"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("scaleuppolicyids", vv)
}
if v, found := p.p["vmprofileid"]; found {
@@ -2346,7 +2346,7 @@ func (p *UpdateAutoScalePolicyParams) toURLValues() url.Values {
return u
}
if v, found := p.p["conditionids"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("conditionids", vv)
}
if v, found := p.p["duration"]; found {
@@ -2644,11 +2644,11 @@ func (p *UpdateAutoScaleVmGroupParams) toURLValues() url.Values {
u.Set("minmembers", vv)
}
if v, found := p.p["scaledownpolicyids"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("scaledownpolicyids", vv)
}
if v, found := p.p["scaleuppolicyids"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("scaleuppolicyids", vv)
}
return u
@@ -348,7 +348,7 @@ func (p *ArchiveEventsParams) toURLValues() url.Values {
u.Set("enddate", v.(string))
}
if v, found := p.p["ids"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("ids", vv)
}
if v, found := p.p["startdate"]; found {
@@ -432,7 +432,7 @@ func (p *DeleteEventsParams) toURLValues() url.Values {
u.Set("enddate", v.(string))
}
if v, found := p.p["ids"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("ids", vv)
}
if v, found := p.p["startdate"]; found {
@@ -299,7 +299,7 @@ func (p *CreatePortForwardingRuleParams) toURLValues() url.Values {
return u
}
if v, found := p.p["cidrlist"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("cidrlist", vv)
}
if v, found := p.p["fordisplay"]; found {
@@ -789,7 +789,7 @@ func (p *CreateFirewallRuleParams) toURLValues() url.Values {
return u
}
if v, found := p.p["cidrlist"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("cidrlist", vv)
}
if v, found := p.p["endport"]; found {
@@ -1429,7 +1429,7 @@ func (p *CreateEgressFirewallRuleParams) toURLValues() url.Values {
return u
}
if v, found := p.p["cidrlist"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("cidrlist", vv)
}
if v, found := p.p["endport"]; found {
@@ -43,7 +43,7 @@ func (p *AddHostParams) toURLValues() url.Values {
u.Set("clustername", v.(string))
}
if v, found := p.p["hosttags"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("hosttags", vv)
}
if v, found := p.p["hypervisor"]; found {
@@ -377,7 +377,7 @@ func (p *UpdateHostParams) toURLValues() url.Values {
u.Set("allocationstate", v.(string))
}
if v, found := p.p["hosttags"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("hosttags", vv)
}
if v, found := p.p["id"]; found {
@@ -861,7 +861,7 @@ func (p *ListHostsParams) toURLValues() url.Values {
u.Set("clusterid", v.(string))
}
if v, found := p.p["details"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("details", vv)
}
if v, found := p.p["hahost"]; found {
@@ -1557,7 +1557,7 @@ func (p *AddBaremetalHostParams) toURLValues() url.Values {
u.Set("clustername", v.(string))
}
if v, found := p.p["hosttags"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("hosttags", vv)
}
if v, found := p.p["hypervisor"]; found {
@@ -1600,7 +1600,7 @@ func (p *UpdateIsoPermissionsParams) toURLValues() url.Values {
return u
}
if v, found := p.p["accounts"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("accounts", vv)
}
if v, found := p.p["id"]; found {
@@ -1622,7 +1622,7 @@ func (p *UpdateIsoPermissionsParams) toURLValues() url.Values {
u.Set("op", v.(string))
}
if v, found := p.p["projectids"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("projectids", vv)
}
return u
@@ -40,7 +40,7 @@ func (p *CreateLoadBalancerRuleParams) toURLValues() url.Values {
u.Set("algorithm", v.(string))
}
if v, found := p.p["cidrlist"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("cidrlist", vv)
}
if v, found := p.p["description"]; found {
@@ -360,7 +360,7 @@ func (p *RemoveFromLoadBalancerRuleParams) toURLValues() url.Values {
u.Set("id", v.(string))
}
if v, found := p.p["virtualmachineids"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("virtualmachineids", vv)
}
if v, found := p.p["vmidipmap"]; found {
@@ -457,7 +457,7 @@ func (p *AssignToLoadBalancerRuleParams) toURLValues() url.Values {
u.Set("id", v.(string))
}
if v, found := p.p["virtualmachineids"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("virtualmachineids", vv)
}
if v, found := p.p["vmidipmap"]; found {
@@ -2878,7 +2878,7 @@ func (p *ConfigureNetscalerLoadBalancerParams) toURLValues() url.Values {
u.Set("lbdeviceid", v.(string))
}
if v, found := p.p["podids"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("podids", vv)
}
return u
@@ -3858,7 +3858,7 @@ func (p *AssignToGlobalLoadBalancerRuleParams) toURLValues() url.Values {
u.Set("id", v.(string))
}
if v, found := p.p["loadbalancerrulelist"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("loadbalancerrulelist", vv)
}
return u
@@ -3948,7 +3948,7 @@ func (p *RemoveFromGlobalLoadBalancerRuleParams) toURLValues() url.Values {
u.Set("id", v.(string))
}
if v, found := p.p["loadbalancerrulelist"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("loadbalancerrulelist", vv)
}
return u
@@ -119,7 +119,7 @@ func (p *CreateIpForwardingRuleParams) toURLValues() url.Values {
return u
}
if v, found := p.p["cidrlist"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("cidrlist", vv)
}
if v, found := p.p["endport"]; found {
@@ -40,7 +40,7 @@ func (p *CreateNetworkACLParams) toURLValues() url.Values {
u.Set("action", v.(string))
}
if v, found := p.p["cidrlist"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("cidrlist", vv)
}
if v, found := p.p["endport"]; found {
@@ -262,7 +262,7 @@ func (p *UpdateNetworkACLItemParams) toURLValues() url.Values {
u.Set("action", v.(string))
}
if v, found := p.p["cidrlist"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("cidrlist", vv)
}
if v, found := p.p["customid"]; found {
@@ -105,7 +105,7 @@ func (p *CreateNetworkOfferingParams) toURLValues() url.Values {
u.Set("specifyvlan", vv)
}
if v, found := p.p["supportedservices"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("supportedservices", vv)
}
if v, found := p.p["tags"]; found {
@@ -620,7 +620,7 @@ func (p *ListNetworkOfferingsParams) toURLValues() url.Values {
u.Set("state", v.(string))
}
if v, found := p.p["supportedservices"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("supportedservices", vv)
}
if v, found := p.p["tags"]; found {
@@ -719,7 +719,7 @@ func (p *ListNetworksParams) toURLValues() url.Values {
u.Set("specifyipranges", vv)
}
if v, found := p.p["supportedservices"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("supportedservices", vv)
}
if v, found := p.p["tags"]; found {
@@ -1498,7 +1498,7 @@ func (p *CreatePhysicalNetworkParams) toURLValues() url.Values {
u.Set("domainid", v.(string))
}
if v, found := p.p["isolationmethods"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("isolationmethods", vv)
}
if v, found := p.p["name"]; found {
@@ -1508,7 +1508,7 @@ func (p *CreatePhysicalNetworkParams) toURLValues() url.Values {
u.Set("networkspeed", v.(string))
}
if v, found := p.p["tags"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("tags", vv)
}
if v, found := p.p["vlan"]; found {
@@ -1923,7 +1923,7 @@ func (p *UpdatePhysicalNetworkParams) toURLValues() url.Values {
u.Set("state", v.(string))
}
if v, found := p.p["tags"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("tags", vv)
}
if v, found := p.p["vlan"]; found {
@@ -2164,7 +2164,7 @@ func (p *AddNetworkServiceProviderParams) toURLValues() url.Values {
u.Set("physicalnetworkid", v.(string))
}
if v, found := p.p["servicelist"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("servicelist", vv)
}
return u
@@ -2488,7 +2488,7 @@ func (p *UpdateNetworkServiceProviderParams) toURLValues() url.Values {
u.Set("id", v.(string))
}
if v, found := p.p["servicelist"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("servicelist", vv)
}
if v, found := p.p["state"]; found {
@@ -518,7 +518,7 @@ func (p *UpdateStoragePoolParams) toURLValues() url.Values {
u.Set("id", v.(string))
}
if v, found := p.p["tags"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("tags", vv)
}
return u
@@ -37,7 +37,7 @@ func (p *CreateTagsParams) toURLValues() url.Values {
u.Set("customer", v.(string))
}
if v, found := p.p["resourceids"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("resourceids", vv)
}
if v, found := p.p["resourcetype"]; found {
@@ -144,7 +144,7 @@ func (p *DeleteTagsParams) toURLValues() url.Values {
return u
}
if v, found := p.p["resourceids"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("resourceids", vv)
}
if v, found := p.p["resourcetype"]; found {
@@ -290,7 +290,7 @@ func (p *AuthorizeSecurityGroupIngressParams) toURLValues() url.Values {
u.Set("account", v.(string))
}
if v, found := p.p["cidrlist"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("cidrlist", vv)
}
if v, found := p.p["domainid"]; found {
@@ -582,7 +582,7 @@ func (p *AuthorizeSecurityGroupEgressParams) toURLValues() url.Values {
u.Set("account", v.(string))
}
if v, found := p.p["cidrlist"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("cidrlist", vv)
}
if v, found := p.p["domainid"]; found {
@@ -799,7 +799,7 @@ func (p *DeleteSnapshotPoliciesParams) toURLValues() url.Values {
u.Set("id", v.(string))
}
if v, found := p.p["ids"]; found {
vv := strings.Join(v.([]string), ", ")
vv := strings.Join(v.([]string), ",")
u.Set("ids", vv)
}
return u

0 comments on commit 679b677

Please sign in to comment.