From de4e2c1f5ecb6f5b2d760b3dfc19fdf9d33ae5b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Mu=C3=B1oz?= Date: Wed, 29 May 2024 15:13:45 -0600 Subject: [PATCH] ## [3.0.2] - 2024-05-29 ### Changed - `ResponseItemSwitchGetNetworkSwitchAccessPolicies` add new attribute `AccessPolicyNumber`. - `ResponseSwitchGetNetworkSwitchAccessPolicy` add new attribute `AccessPolicyNumber`. --- CHANGELOG.md | 8 +++++++- sdk/switch.go | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97a7c0a0..056e9dd6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [3.0.2] - 2024-05-29 +### Changed +- `ResponseItemSwitchGetNetworkSwitchAccessPolicies` add new attribute `AccessPolicyNumber`. +- `ResponseSwitchGetNetworkSwitchAccessPolicy` add new attribute `AccessPolicyNumber`. + ## [3.0.1] - 2024-05-22 ### Changed - `ResponseItemNetworksGetNetworkGroupPolicies` add new attribute `Name`. @@ -1350,4 +1355,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [2.0.9]: https://github.com/meraki/dashboard-api-go/compare/v2.0.8...2.0.9 [3.0.0]: https://github.com/meraki/dashboard-api-go/compare/v2.0.9...3.0.0 [3.0.1]: https://github.com/meraki/dashboard-api-go/compare/v3.0.0...3.0.1 -[Unreleased]: https://github.com/meraki/dashboard-api-go/compare/v3.0.1...main \ No newline at end of file +[3.0.2]: https://github.com/meraki/dashboard-api-go/compare/v3.0.1...3.0.2 +[Unreleased]: https://github.com/meraki/dashboard-api-go/compare/v3.0.2...main \ No newline at end of file diff --git a/sdk/switch.go b/sdk/switch.go index 6ce8b4c2..21dce83c 100644 --- a/sdk/switch.go +++ b/sdk/switch.go @@ -536,6 +536,7 @@ type ResponseSwitchUpdateNetworkSwitchAccessControlListsRules struct { } type ResponseSwitchGetNetworkSwitchAccessPolicies []ResponseItemSwitchGetNetworkSwitchAccessPolicies // Array of ResponseSwitchGetNetworkSwitchAccessPolicies type ResponseItemSwitchGetNetworkSwitchAccessPolicies struct { + AccessPolicyNumber string `json:"accessPolicyNumber,omitempty"` // Access Type of the policy. Automatically 'Hybrid authentication' when hostMode is 'Multi-Domain'. AccessPolicyType string `json:"accessPolicyType,omitempty"` // Access Type of the policy. Automatically 'Hybrid authentication' when hostMode is 'Multi-Domain'. Counts *ResponseItemSwitchGetNetworkSwitchAccessPoliciesCounts `json:"counts,omitempty"` // Counts associated with the access policy Dot1X *ResponseItemSwitchGetNetworkSwitchAccessPoliciesDot1X `json:"dot1x,omitempty"` // 802.1x Settings @@ -630,6 +631,7 @@ type ResponseSwitchCreateNetworkSwitchAccessPolicyRadiusServers struct { Port *int `json:"port,omitempty"` // UDP port that the RADIUS server listens on for access requests } type ResponseSwitchGetNetworkSwitchAccessPolicy struct { + AccessPolicyNumber string `json:"accessPolicyNumber,omitempty"` // Access Type of the policy. Automatically 'Hybrid authentication' when hostMode is 'Multi-Domain'. AccessPolicyType string `json:"accessPolicyType,omitempty"` // Access Type of the policy. Automatically 'Hybrid authentication' when hostMode is 'Multi-Domain'. Counts *ResponseSwitchGetNetworkSwitchAccessPolicyCounts `json:"counts,omitempty"` // Counts associated with the access policy Dot1X *ResponseSwitchGetNetworkSwitchAccessPolicyDot1X `json:"dot1x,omitempty"` // 802.1x Settings