Skip to content

Commit 17e34ac

Browse files
Merge pull request #76 from meraki/develop
Add 'name' field to ResponseNetworksGetNetworkGroupPolicy struct
2 parents 610d353 + 7b63d2a commit 17e34ac

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9-
## [5.0.7] - 2025-01-27
9+
## [5.0.8] - 2025-08-10
10+
### Fixed
11+
- Add 'name' field to ResponseNetworksGetNetworkGroupPolicy struct for enhanced configuration options
12+
13+
## [5.0.7] - 2025-07-27
1014
### Fixed
1115
- Enhanced error handling in API client retry logic by adding `resp.IsError()` check before returning responses.
1216
- Fixed type definition in `RequestApplianceUpdateNetworkApplianceFirewallL3FirewallRules` struct by changing `Rules` field from `*[]RequestApplianceUpdateNetworkApplianceFirewallL3FirewallRulesRules` to `[]RequestApplianceUpdateNetworkApplianceFirewallL3FirewallRulesRules` (removed pointer from slice).
@@ -1498,4 +1502,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
14981502
[5.0.5]: https://github.com/meraki/dashboard-api-go/compare/v5.0.4...5.0.5
14991503
[5.0.6]: https://github.com/meraki/dashboard-api-go/compare/v5.0.5...5.0.6
15001504
[5.0.7]: https://github.com/meraki/dashboard-api-go/compare/v5.0.6...5.0.7
1501-
[Unreleased]: https://github.com/meraki/dashboard-api-go/compare/v5.0.7...main
1505+
[5.0.8]: https://github.com/meraki/dashboard-api-go/compare/v5.0.7...5.0.8
1506+
[Unreleased]: https://github.com/meraki/dashboard-api-go/compare/v5.0.8...main

sdk/api_client.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,6 @@ func doWithRetriesAndNotResult(
706706
var resp *resty.Response
707707
var err error
708708
maxRetries, maxRetryDelay, maxRetryJitter, useRetryHeader := getBackoffValues(backoff)
709-
fmt.Println("MAX_RETRIES: ", maxRetries+1)
710709
for attempt := 0; attempt <= maxRetries; attempt++ {
711710
resp, err = operation()
712711

sdk/networks.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2385,6 +2385,7 @@ type ResponseNetworksGetNetworkGroupPolicy struct {
23852385
Scheduling *ResponseNetworksGetNetworkGroupPolicyScheduling `json:"scheduling,omitempty"` // The schedule for the group policy. Schedules are applied to days of the week.
23862386
SplashAuthSettings string `json:"splashAuthSettings,omitempty"` // Whether clients bound to your policy will bypass splash authorization or behave according to the network's rules. Can be one of 'network default' or 'bypass'. Only available if your network has a wireless configuration.
23872387
VLANTagging *ResponseNetworksGetNetworkGroupPolicyVLANTagging `json:"vlanTagging,omitempty"` // The VLAN tagging settings for your group policy. Only available if your network has a wireless configuration.
2388+
Name string `json:"name,omitempty"`
23882389
}
23892390
type ResponseNetworksGetNetworkGroupPolicyBandwidth struct {
23902391
BandwidthLimits *ResponseNetworksGetNetworkGroupPolicyBandwidthBandwidthLimits `json:"bandwidthLimits,omitempty"` // The bandwidth limits object, specifying upload and download speed for clients bound to the group policy. These are only enforced if 'settings' is set to 'custom'.

0 commit comments

Comments
 (0)