Skip to content
Permalink
Browse files
correct listVirtualMachinesMetrics json tag.
  • Loading branch information
ovear authored and svanharmelen committed Mar 16, 2021
1 parent f5a5629 commit c6c4a1093d5562505960a4981e970929493f02a9
Showing 6 changed files with 32 additions and 60 deletions.
@@ -968,95 +968,83 @@ func (p *ListClustersMetricsParams) SetAllocationstate(v string) {
p.p = make(map[string]interface{})
}
p.p["allocationstate"] = v
return
}

func (p *ListClustersMetricsParams) SetClustertype(v string) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["clustertype"] = v
return
}

func (p *ListClustersMetricsParams) SetHypervisor(v string) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["hypervisor"] = v
return
}

func (p *ListClustersMetricsParams) SetId(v string) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["id"] = v
return
}

func (p *ListClustersMetricsParams) SetKeyword(v string) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["keyword"] = v
return
}

func (p *ListClustersMetricsParams) SetManagedstate(v string) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["managedstate"] = v
return
}

func (p *ListClustersMetricsParams) SetName(v string) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["name"] = v
return
}

func (p *ListClustersMetricsParams) SetPage(v int) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["page"] = v
return
}

func (p *ListClustersMetricsParams) SetPagesize(v int) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["pagesize"] = v
return
}

func (p *ListClustersMetricsParams) SetPodid(v string) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["podid"] = v
return
}

func (p *ListClustersMetricsParams) SetShowcapacities(v bool) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["showcapacities"] = v
return
}

func (p *ListClustersMetricsParams) SetZoneid(v string) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["zoneid"] = v
return
}

// You should always use this function to get a new ListClustersMetricsParams instance,
@@ -1948,135 +1948,118 @@ func (p *ListHostsMetricsParams) SetClusterid(v string) {
p.p = make(map[string]interface{})
}
p.p["clusterid"] = v
return
}

func (p *ListHostsMetricsParams) SetDetails(v []string) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["details"] = v
return
}

func (p *ListHostsMetricsParams) SetHahost(v bool) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["hahost"] = v
return
}

func (p *ListHostsMetricsParams) SetHypervisor(v string) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["hypervisor"] = v
return
}

func (p *ListHostsMetricsParams) SetId(v string) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["id"] = v
return
}

func (p *ListHostsMetricsParams) SetKeyword(v string) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["keyword"] = v
return
}

func (p *ListHostsMetricsParams) SetName(v string) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["name"] = v
return
}

func (p *ListHostsMetricsParams) SetOutofbandmanagementenabled(v bool) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["outofbandmanagementenabled"] = v
return
}

func (p *ListHostsMetricsParams) SetOutofbandmanagementpowerstate(v string) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["outofbandmanagementpowerstate"] = v
return
}

func (p *ListHostsMetricsParams) SetPage(v int) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["page"] = v
return
}

func (p *ListHostsMetricsParams) SetPagesize(v int) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["pagesize"] = v
return
}

func (p *ListHostsMetricsParams) SetPodid(v string) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["podid"] = v
return
}

func (p *ListHostsMetricsParams) SetResourcestate(v string) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["resourcestate"] = v
return
}

func (p *ListHostsMetricsParams) SetState(v string) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["state"] = v
return
}

func (p *ListHostsMetricsParams) SetType(v string) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["type"] = v
return
}

func (p *ListHostsMetricsParams) SetVirtualmachineid(v string) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["virtualmachineid"] = v
return
}

func (p *ListHostsMetricsParams) SetZoneid(v string) {
if p.p == nil {
p.p = make(map[string]interface{})
}
p.p["zoneid"] = v
return
}

// You should always use this function to get a new ListHostsMetricsParams instance,

0 comments on commit c6c4a10

Please sign in to comment.