From 2c2e5771494da0327e5364e1eab9e0f26bebb9fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Mu=C3=B1oz?= Date: Wed, 28 Feb 2024 14:32:50 -0600 Subject: [PATCH] ## [2.0.1] - 2024-02-26 ### Changed `ResponseApplianceUpdateNetworkApplianceVLAN` changes ID from `string` to `int`. --- CHANGELOG.md | 5 +++++ sdk/appliance.go | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 78df35008..e3111caa2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.0.1] - 2024-02-26 +### Changed +`ResponseApplianceUpdateNetworkApplianceVLAN` changes ID from `string` to `int`. + ## [2.0.0] - 2024-02-26 ### Added - administered service. @@ -1285,4 +1289,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - model_wipe_network_sm_devices_request service [2.0.0]: https://github.com/meraki/dashboard-api-go/commits/v2.0.0 +[2.0.1]: https://github.com/meraki/dashboard-api-go/compare/v2.0.0...2.0.1 [Unreleased]: https://github.com/meraki/dashboard-api-go/compare/v2.0.0...main \ No newline at end of file diff --git a/sdk/appliance.go b/sdk/appliance.go index 17dfa4148..17d46d157 100644 --- a/sdk/appliance.go +++ b/sdk/appliance.go @@ -1129,7 +1129,7 @@ type ResponseApplianceUpdateNetworkApplianceVLAN struct { DNSNameservers string `json:"dnsNameservers,omitempty"` // The DNS nameservers used for DHCP responses, either "upstream_dns", "google_dns", "opendns", or a newline seperated string of IP addresses or domain names FixedIPAssignments *ResponseApplianceUpdateNetworkApplianceVLANFixedIPAssignments `json:"fixedIpAssignments,omitempty"` // The DHCP fixed IP assignments on the VLAN. This should be an object that contains mappings from MAC addresses to objects that themselves each contain "ip" and "name" string fields. See the sample request/response for more details. GroupPolicyID string `json:"groupPolicyId,omitempty"` // The id of the desired group policy to apply to the VLAN - ID string `json:"id,omitempty"` // The VLAN ID of the VLAN + ID *int `json:"id,omitempty"` // The VLAN ID of the VLAN InterfaceID string `json:"interfaceId,omitempty"` // The interface ID of the VLAN IPv6 *ResponseApplianceUpdateNetworkApplianceVLANIPv6 `json:"ipv6,omitempty"` // IPv6 configuration on the VLAN MandatoryDhcp *ResponseApplianceUpdateNetworkApplianceVLANMandatoryDhcp `json:"mandatoryDhcp,omitempty"` // Mandatory DHCP will enforce that clients connecting to this VLAN must use the IP address assigned by the DHCP server. Clients who use a static IP address won't be able to associate. Only available on firmware versions 17.0 and above