From dc562d7ce5559229c5923366ba50f631d32af976 Mon Sep 17 00:00:00 2001 From: poddm <8801231+poddm@users.noreply.github.com> Date: Mon, 27 Nov 2023 17:06:00 -0800 Subject: [PATCH] Adding CreateVlanIpRange and UpdateVlanIpRange to getRawValues --- cloudstack/VLANService.go | 8 ++++++++ generate/generate.go | 2 ++ 2 files changed, 10 insertions(+) diff --git a/cloudstack/VLANService.go b/cloudstack/VLANService.go index 8364c4f..eed2c18 100644 --- a/cloudstack/VLANService.go +++ b/cloudstack/VLANService.go @@ -401,6 +401,10 @@ func (s *VLANService) CreateVlanIpRange(p *CreateVlanIpRangeParams) (*CreateVlan return nil, err } + if resp, err = getRawValue(resp); err != nil { + return nil, err + } + var r CreateVlanIpRangeResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err @@ -1772,6 +1776,10 @@ func (s *VLANService) UpdateVlanIpRange(p *UpdateVlanIpRangeParams) (*UpdateVlan return nil, err } + if resp, err = getRawValue(resp); err != nil { + return nil, err + } + var r UpdateVlanIpRangeResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err diff --git a/generate/generate.go b/generate/generate.go index 2e68df1..0a5b09a 100644 --- a/generate/generate.go +++ b/generate/generate.go @@ -1718,10 +1718,12 @@ func (s *service) generateNewAPICallFunc(a *API) { "CreateNetwork", "CreateStoragePool", "CreateNetworkOffering", + "CreateVlanIpRange", "UpdateNetworkOffering", "UpdateServiceOffering", "UpdateConfiguration", "UpdateCluster", + "UpdateVlanIpRange", "CreatePod", "CreateSSHKeyPair", "CreateSecurityGroup",