From bdc73a9811ae0bd46dd3f581b9d1384383207cc7 Mon Sep 17 00:00:00 2001 From: Mateusz Filipowicz Date: Sun, 2 Mar 2025 22:27:49 +0100 Subject: [PATCH] docs: fix invalid godoc for generated settings methods --- codegen/api.go.tmpl | 4 ++-- unifi/setting_auto_speedtest.generated.go | 4 ++-- unifi/setting_baresip.generated.go | 4 ++-- unifi/setting_broadcast.generated.go | 4 ++-- unifi/setting_connectivity.generated.go | 4 ++-- unifi/setting_country.generated.go | 4 ++-- unifi/setting_dashboard.generated.go | 4 ++-- unifi/setting_doh.generated.go | 4 ++-- unifi/setting_dpi.generated.go | 4 ++-- unifi/setting_element_adopt.generated.go | 4 ++-- unifi/setting_ether_lighting.generated.go | 4 ++-- unifi/setting_evaluation_score.generated.go | 4 ++-- unifi/setting_global_ap.generated.go | 4 ++-- unifi/setting_global_nat.generated.go | 4 ++-- unifi/setting_global_switch.generated.go | 4 ++-- unifi/setting_guest_access.generated.go | 4 ++-- unifi/setting_ips.generated.go | 4 ++-- unifi/setting_lcm.generated.go | 4 ++-- unifi/setting_locale.generated.go | 4 ++-- unifi/setting_magic_site_to_site_vpn.generated.go | 4 ++-- unifi/setting_mgmt.generated.go | 4 ++-- unifi/setting_netflow.generated.go | 4 ++-- unifi/setting_network_optimization.generated.go | 4 ++-- unifi/setting_ntp.generated.go | 4 ++-- unifi/setting_porta.generated.go | 4 ++-- unifi/setting_radio_ai.generated.go | 4 ++-- unifi/setting_radius.generated.go | 4 ++-- unifi/setting_rsyslogd.generated.go | 4 ++-- unifi/setting_snmp.generated.go | 4 ++-- unifi/setting_ssl_inspection.generated.go | 4 ++-- unifi/setting_super_cloudaccess.generated.go | 4 ++-- unifi/setting_super_events.generated.go | 4 ++-- unifi/setting_super_fwupdate.generated.go | 4 ++-- unifi/setting_super_identity.generated.go | 4 ++-- unifi/setting_super_mail.generated.go | 4 ++-- unifi/setting_super_mgmt.generated.go | 4 ++-- unifi/setting_super_sdn.generated.go | 4 ++-- unifi/setting_super_smtp.generated.go | 4 ++-- unifi/setting_teleport.generated.go | 4 ++-- unifi/setting_usg.generated.go | 4 ++-- unifi/setting_usw.generated.go | 4 ++-- 41 files changed, 82 insertions(+), 82 deletions(-) diff --git a/codegen/api.go.tmpl b/codegen/api.go.tmpl index 7317922..831fab2 100644 --- a/codegen/api.go.tmpl +++ b/codegen/api.go.tmpl @@ -85,7 +85,7 @@ func (c *client) list{{ .StructName }}(ctx context.Context, site string) ([]{{ . {{- end }} {{ if .IsSetting }} -// Update {{ .StructName }} Experimental! This function is not yet stable and may change in the future. +// Get{{ .StructName }} Experimental! This function is not yet stable and may change in the future. func (c *client) Get{{ .StructName }}(ctx context.Context, site string) (*{{ .StructName }}, error) { s, f, err := c.GetSetting(ctx, site, {{ .StructName }}Key) if err != nil { @@ -148,7 +148,7 @@ func (c *client) create{{ .StructName }}(ctx context.Context, site string, d *{{ {{- end }} {{ if .IsSetting }} -// Update {{ .StructName }} Experimental! This function is not yet stable and may change in the future. +// Update{{ .StructName }} Experimental! This function is not yet stable and may change in the future. func (c *client) Update{{ .StructName }}(ctx context.Context, site string, s *{{ .StructName}}) (*{{ .StructName }}, error) { s.Key = {{ .StructName }}Key result, err := c.SetSetting(ctx, site, {{ .StructName }}Key, s) diff --git a/unifi/setting_auto_speedtest.generated.go b/unifi/setting_auto_speedtest.generated.go index 3593e00..8ad966f 100644 --- a/unifi/setting_auto_speedtest.generated.go +++ b/unifi/setting_auto_speedtest.generated.go @@ -49,7 +49,7 @@ func (dst *SettingAutoSpeedtest) UnmarshalJSON(b []byte) error { return nil } -// Update SettingAutoSpeedtest Experimental! This function is not yet stable and may change in the future. +// GetSettingAutoSpeedtest Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingAutoSpeedtest(ctx context.Context, site string) (*SettingAutoSpeedtest, error) { s, f, err := c.GetSetting(ctx, site, SettingAutoSpeedtestKey) if err != nil { @@ -61,7 +61,7 @@ func (c *client) GetSettingAutoSpeedtest(ctx context.Context, site string) (*Set return f.(*SettingAutoSpeedtest), nil } -// Update SettingAutoSpeedtest Experimental! This function is not yet stable and may change in the future. +// UpdateSettingAutoSpeedtest Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingAutoSpeedtest(ctx context.Context, site string, s *SettingAutoSpeedtest) (*SettingAutoSpeedtest, error) { s.Key = SettingAutoSpeedtestKey result, err := c.SetSetting(ctx, site, SettingAutoSpeedtestKey, s) diff --git a/unifi/setting_baresip.generated.go b/unifi/setting_baresip.generated.go index 485e7db..99fea18 100644 --- a/unifi/setting_baresip.generated.go +++ b/unifi/setting_baresip.generated.go @@ -51,7 +51,7 @@ func (dst *SettingBaresip) UnmarshalJSON(b []byte) error { return nil } -// Update SettingBaresip Experimental! This function is not yet stable and may change in the future. +// GetSettingBaresip Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingBaresip(ctx context.Context, site string) (*SettingBaresip, error) { s, f, err := c.GetSetting(ctx, site, SettingBaresipKey) if err != nil { @@ -63,7 +63,7 @@ func (c *client) GetSettingBaresip(ctx context.Context, site string) (*SettingBa return f.(*SettingBaresip), nil } -// Update SettingBaresip Experimental! This function is not yet stable and may change in the future. +// UpdateSettingBaresip Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingBaresip(ctx context.Context, site string, s *SettingBaresip) (*SettingBaresip, error) { s.Key = SettingBaresipKey result, err := c.SetSetting(ctx, site, SettingBaresipKey, s) diff --git a/unifi/setting_broadcast.generated.go b/unifi/setting_broadcast.generated.go index 29e3b3a..aecb1be 100644 --- a/unifi/setting_broadcast.generated.go +++ b/unifi/setting_broadcast.generated.go @@ -53,7 +53,7 @@ func (dst *SettingBroadcast) UnmarshalJSON(b []byte) error { return nil } -// Update SettingBroadcast Experimental! This function is not yet stable and may change in the future. +// GetSettingBroadcast Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingBroadcast(ctx context.Context, site string) (*SettingBroadcast, error) { s, f, err := c.GetSetting(ctx, site, SettingBroadcastKey) if err != nil { @@ -65,7 +65,7 @@ func (c *client) GetSettingBroadcast(ctx context.Context, site string) (*Setting return f.(*SettingBroadcast), nil } -// Update SettingBroadcast Experimental! This function is not yet stable and may change in the future. +// UpdateSettingBroadcast Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingBroadcast(ctx context.Context, site string, s *SettingBroadcast) (*SettingBroadcast, error) { s.Key = SettingBroadcastKey result, err := c.SetSetting(ctx, site, SettingBroadcastKey, s) diff --git a/unifi/setting_connectivity.generated.go b/unifi/setting_connectivity.generated.go index fb8253c..2709818 100644 --- a/unifi/setting_connectivity.generated.go +++ b/unifi/setting_connectivity.generated.go @@ -53,7 +53,7 @@ func (dst *SettingConnectivity) UnmarshalJSON(b []byte) error { return nil } -// Update SettingConnectivity Experimental! This function is not yet stable and may change in the future. +// GetSettingConnectivity Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingConnectivity(ctx context.Context, site string) (*SettingConnectivity, error) { s, f, err := c.GetSetting(ctx, site, SettingConnectivityKey) if err != nil { @@ -65,7 +65,7 @@ func (c *client) GetSettingConnectivity(ctx context.Context, site string) (*Sett return f.(*SettingConnectivity), nil } -// Update SettingConnectivity Experimental! This function is not yet stable and may change in the future. +// UpdateSettingConnectivity Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingConnectivity(ctx context.Context, site string, s *SettingConnectivity) (*SettingConnectivity, error) { s.Key = SettingConnectivityKey result, err := c.SetSetting(ctx, site, SettingConnectivityKey, s) diff --git a/unifi/setting_country.generated.go b/unifi/setting_country.generated.go index 8901912..6f79368 100644 --- a/unifi/setting_country.generated.go +++ b/unifi/setting_country.generated.go @@ -51,7 +51,7 @@ func (dst *SettingCountry) UnmarshalJSON(b []byte) error { return nil } -// Update SettingCountry Experimental! This function is not yet stable and may change in the future. +// GetSettingCountry Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingCountry(ctx context.Context, site string) (*SettingCountry, error) { s, f, err := c.GetSetting(ctx, site, SettingCountryKey) if err != nil { @@ -63,7 +63,7 @@ func (c *client) GetSettingCountry(ctx context.Context, site string) (*SettingCo return f.(*SettingCountry), nil } -// Update SettingCountry Experimental! This function is not yet stable and may change in the future. +// UpdateSettingCountry Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingCountry(ctx context.Context, site string, s *SettingCountry) (*SettingCountry, error) { s.Key = SettingCountryKey result, err := c.SetSetting(ctx, site, SettingCountryKey, s) diff --git a/unifi/setting_dashboard.generated.go b/unifi/setting_dashboard.generated.go index f859102..8037504 100644 --- a/unifi/setting_dashboard.generated.go +++ b/unifi/setting_dashboard.generated.go @@ -70,7 +70,7 @@ func (dst *SettingDashboardWidgets) UnmarshalJSON(b []byte) error { return nil } -// Update SettingDashboard Experimental! This function is not yet stable and may change in the future. +// GetSettingDashboard Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingDashboard(ctx context.Context, site string) (*SettingDashboard, error) { s, f, err := c.GetSetting(ctx, site, SettingDashboardKey) if err != nil { @@ -82,7 +82,7 @@ func (c *client) GetSettingDashboard(ctx context.Context, site string) (*Setting return f.(*SettingDashboard), nil } -// Update SettingDashboard Experimental! This function is not yet stable and may change in the future. +// UpdateSettingDashboard Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingDashboard(ctx context.Context, site string, s *SettingDashboard) (*SettingDashboard, error) { s.Key = SettingDashboardKey result, err := c.SetSetting(ctx, site, SettingDashboardKey, s) diff --git a/unifi/setting_doh.generated.go b/unifi/setting_doh.generated.go index dab64e7..2bf5e38 100644 --- a/unifi/setting_doh.generated.go +++ b/unifi/setting_doh.generated.go @@ -72,7 +72,7 @@ func (dst *SettingDohCustomServers) UnmarshalJSON(b []byte) error { return nil } -// Update SettingDoh Experimental! This function is not yet stable and may change in the future. +// GetSettingDoh Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingDoh(ctx context.Context, site string) (*SettingDoh, error) { s, f, err := c.GetSetting(ctx, site, SettingDohKey) if err != nil { @@ -84,7 +84,7 @@ func (c *client) GetSettingDoh(ctx context.Context, site string) (*SettingDoh, e return f.(*SettingDoh), nil } -// Update SettingDoh Experimental! This function is not yet stable and may change in the future. +// UpdateSettingDoh Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingDoh(ctx context.Context, site string, s *SettingDoh) (*SettingDoh, error) { s.Key = SettingDohKey result, err := c.SetSetting(ctx, site, SettingDohKey, s) diff --git a/unifi/setting_dpi.generated.go b/unifi/setting_dpi.generated.go index 3ccc5f8..aea91ae 100644 --- a/unifi/setting_dpi.generated.go +++ b/unifi/setting_dpi.generated.go @@ -49,7 +49,7 @@ func (dst *SettingDpi) UnmarshalJSON(b []byte) error { return nil } -// Update SettingDpi Experimental! This function is not yet stable and may change in the future. +// GetSettingDpi Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingDpi(ctx context.Context, site string) (*SettingDpi, error) { s, f, err := c.GetSetting(ctx, site, SettingDpiKey) if err != nil { @@ -61,7 +61,7 @@ func (c *client) GetSettingDpi(ctx context.Context, site string) (*SettingDpi, e return f.(*SettingDpi), nil } -// Update SettingDpi Experimental! This function is not yet stable and may change in the future. +// UpdateSettingDpi Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingDpi(ctx context.Context, site string, s *SettingDpi) (*SettingDpi, error) { s.Key = SettingDpiKey result, err := c.SetSetting(ctx, site, SettingDpiKey, s) diff --git a/unifi/setting_element_adopt.generated.go b/unifi/setting_element_adopt.generated.go index 0181ad5..30ab252 100644 --- a/unifi/setting_element_adopt.generated.go +++ b/unifi/setting_element_adopt.generated.go @@ -50,7 +50,7 @@ func (dst *SettingElementAdopt) UnmarshalJSON(b []byte) error { return nil } -// Update SettingElementAdopt Experimental! This function is not yet stable and may change in the future. +// GetSettingElementAdopt Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingElementAdopt(ctx context.Context, site string) (*SettingElementAdopt, error) { s, f, err := c.GetSetting(ctx, site, SettingElementAdoptKey) if err != nil { @@ -62,7 +62,7 @@ func (c *client) GetSettingElementAdopt(ctx context.Context, site string) (*Sett return f.(*SettingElementAdopt), nil } -// Update SettingElementAdopt Experimental! This function is not yet stable and may change in the future. +// UpdateSettingElementAdopt Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingElementAdopt(ctx context.Context, site string, s *SettingElementAdopt) (*SettingElementAdopt, error) { s.Key = SettingElementAdoptKey result, err := c.SetSetting(ctx, site, SettingElementAdoptKey, s) diff --git a/unifi/setting_ether_lighting.generated.go b/unifi/setting_ether_lighting.generated.go index 41dbcad..99a3c03 100644 --- a/unifi/setting_ether_lighting.generated.go +++ b/unifi/setting_ether_lighting.generated.go @@ -91,7 +91,7 @@ func (dst *SettingEtherLightingSpeedOverrides) UnmarshalJSON(b []byte) error { return nil } -// Update SettingEtherLighting Experimental! This function is not yet stable and may change in the future. +// GetSettingEtherLighting Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingEtherLighting(ctx context.Context, site string) (*SettingEtherLighting, error) { s, f, err := c.GetSetting(ctx, site, SettingEtherLightingKey) if err != nil { @@ -103,7 +103,7 @@ func (c *client) GetSettingEtherLighting(ctx context.Context, site string) (*Set return f.(*SettingEtherLighting), nil } -// Update SettingEtherLighting Experimental! This function is not yet stable and may change in the future. +// UpdateSettingEtherLighting Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingEtherLighting(ctx context.Context, site string, s *SettingEtherLighting) (*SettingEtherLighting, error) { s.Key = SettingEtherLightingKey result, err := c.SetSetting(ctx, site, SettingEtherLightingKey, s) diff --git a/unifi/setting_evaluation_score.generated.go b/unifi/setting_evaluation_score.generated.go index 2452b9b..e83d74b 100644 --- a/unifi/setting_evaluation_score.generated.go +++ b/unifi/setting_evaluation_score.generated.go @@ -48,7 +48,7 @@ func (dst *SettingEvaluationScore) UnmarshalJSON(b []byte) error { return nil } -// Update SettingEvaluationScore Experimental! This function is not yet stable and may change in the future. +// GetSettingEvaluationScore Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingEvaluationScore(ctx context.Context, site string) (*SettingEvaluationScore, error) { s, f, err := c.GetSetting(ctx, site, SettingEvaluationScoreKey) if err != nil { @@ -60,7 +60,7 @@ func (c *client) GetSettingEvaluationScore(ctx context.Context, site string) (*S return f.(*SettingEvaluationScore), nil } -// Update SettingEvaluationScore Experimental! This function is not yet stable and may change in the future. +// UpdateSettingEvaluationScore Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingEvaluationScore(ctx context.Context, site string, s *SettingEvaluationScore) (*SettingEvaluationScore, error) { s.Key = SettingEvaluationScoreKey result, err := c.SetSetting(ctx, site, SettingEvaluationScoreKey, s) diff --git a/unifi/setting_global_ap.generated.go b/unifi/setting_global_ap.generated.go index 4648caf..ccb12dc 100644 --- a/unifi/setting_global_ap.generated.go +++ b/unifi/setting_global_ap.generated.go @@ -70,7 +70,7 @@ func (dst *SettingGlobalAp) UnmarshalJSON(b []byte) error { return nil } -// Update SettingGlobalAp Experimental! This function is not yet stable and may change in the future. +// GetSettingGlobalAp Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingGlobalAp(ctx context.Context, site string) (*SettingGlobalAp, error) { s, f, err := c.GetSetting(ctx, site, SettingGlobalApKey) if err != nil { @@ -82,7 +82,7 @@ func (c *client) GetSettingGlobalAp(ctx context.Context, site string) (*SettingG return f.(*SettingGlobalAp), nil } -// Update SettingGlobalAp Experimental! This function is not yet stable and may change in the future. +// UpdateSettingGlobalAp Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingGlobalAp(ctx context.Context, site string, s *SettingGlobalAp) (*SettingGlobalAp, error) { s.Key = SettingGlobalApKey result, err := c.SetSetting(ctx, site, SettingGlobalApKey, s) diff --git a/unifi/setting_global_nat.generated.go b/unifi/setting_global_nat.generated.go index d1f542a..b59db2d 100644 --- a/unifi/setting_global_nat.generated.go +++ b/unifi/setting_global_nat.generated.go @@ -49,7 +49,7 @@ func (dst *SettingGlobalNat) UnmarshalJSON(b []byte) error { return nil } -// Update SettingGlobalNat Experimental! This function is not yet stable and may change in the future. +// GetSettingGlobalNat Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingGlobalNat(ctx context.Context, site string) (*SettingGlobalNat, error) { s, f, err := c.GetSetting(ctx, site, SettingGlobalNatKey) if err != nil { @@ -61,7 +61,7 @@ func (c *client) GetSettingGlobalNat(ctx context.Context, site string) (*Setting return f.(*SettingGlobalNat), nil } -// Update SettingGlobalNat Experimental! This function is not yet stable and may change in the future. +// UpdateSettingGlobalNat Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingGlobalNat(ctx context.Context, site string, s *SettingGlobalNat) (*SettingGlobalNat, error) { s.Key = SettingGlobalNatKey result, err := c.SetSetting(ctx, site, SettingGlobalNatKey, s) diff --git a/unifi/setting_global_switch.generated.go b/unifi/setting_global_switch.generated.go index 41e20ee..8f96f45 100644 --- a/unifi/setting_global_switch.generated.go +++ b/unifi/setting_global_switch.generated.go @@ -78,7 +78,7 @@ func (dst *SettingGlobalSwitchAclL3Isolation) UnmarshalJSON(b []byte) error { return nil } -// Update SettingGlobalSwitch Experimental! This function is not yet stable and may change in the future. +// GetSettingGlobalSwitch Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingGlobalSwitch(ctx context.Context, site string) (*SettingGlobalSwitch, error) { s, f, err := c.GetSetting(ctx, site, SettingGlobalSwitchKey) if err != nil { @@ -90,7 +90,7 @@ func (c *client) GetSettingGlobalSwitch(ctx context.Context, site string) (*Sett return f.(*SettingGlobalSwitch), nil } -// Update SettingGlobalSwitch Experimental! This function is not yet stable and may change in the future. +// UpdateSettingGlobalSwitch Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingGlobalSwitch(ctx context.Context, site string, s *SettingGlobalSwitch) (*SettingGlobalSwitch, error) { s.Key = SettingGlobalSwitchKey result, err := c.SetSetting(ctx, site, SettingGlobalSwitchKey, s) diff --git a/unifi/setting_guest_access.generated.go b/unifi/setting_guest_access.generated.go index 466bb20..0bcb882 100644 --- a/unifi/setting_guest_access.generated.go +++ b/unifi/setting_guest_access.generated.go @@ -159,7 +159,7 @@ func (dst *SettingGuestAccess) UnmarshalJSON(b []byte) error { return nil } -// Update SettingGuestAccess Experimental! This function is not yet stable and may change in the future. +// GetSettingGuestAccess Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingGuestAccess(ctx context.Context, site string) (*SettingGuestAccess, error) { s, f, err := c.GetSetting(ctx, site, SettingGuestAccessKey) if err != nil { @@ -171,7 +171,7 @@ func (c *client) GetSettingGuestAccess(ctx context.Context, site string) (*Setti return f.(*SettingGuestAccess), nil } -// Update SettingGuestAccess Experimental! This function is not yet stable and may change in the future. +// UpdateSettingGuestAccess Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingGuestAccess(ctx context.Context, site string, s *SettingGuestAccess) (*SettingGuestAccess, error) { s.Key = SettingGuestAccessKey result, err := c.SetSetting(ctx, site, SettingGuestAccessKey, s) diff --git a/unifi/setting_ips.generated.go b/unifi/setting_ips.generated.go index be6d8c0..b2853bf 100644 --- a/unifi/setting_ips.generated.go +++ b/unifi/setting_ips.generated.go @@ -224,7 +224,7 @@ func (dst *SettingIpsWhitelist) UnmarshalJSON(b []byte) error { return nil } -// Update SettingIps Experimental! This function is not yet stable and may change in the future. +// GetSettingIps Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingIps(ctx context.Context, site string) (*SettingIps, error) { s, f, err := c.GetSetting(ctx, site, SettingIpsKey) if err != nil { @@ -236,7 +236,7 @@ func (c *client) GetSettingIps(ctx context.Context, site string) (*SettingIps, e return f.(*SettingIps), nil } -// Update SettingIps Experimental! This function is not yet stable and may change in the future. +// UpdateSettingIps Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingIps(ctx context.Context, site string, s *SettingIps) (*SettingIps, error) { s.Key = SettingIpsKey result, err := c.SetSetting(ctx, site, SettingIpsKey, s) diff --git a/unifi/setting_lcm.generated.go b/unifi/setting_lcm.generated.go index 17b01e8..52742c5 100644 --- a/unifi/setting_lcm.generated.go +++ b/unifi/setting_lcm.generated.go @@ -57,7 +57,7 @@ func (dst *SettingLcm) UnmarshalJSON(b []byte) error { return nil } -// Update SettingLcm Experimental! This function is not yet stable and may change in the future. +// GetSettingLcm Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingLcm(ctx context.Context, site string) (*SettingLcm, error) { s, f, err := c.GetSetting(ctx, site, SettingLcmKey) if err != nil { @@ -69,7 +69,7 @@ func (c *client) GetSettingLcm(ctx context.Context, site string) (*SettingLcm, e return f.(*SettingLcm), nil } -// Update SettingLcm Experimental! This function is not yet stable and may change in the future. +// UpdateSettingLcm Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingLcm(ctx context.Context, site string, s *SettingLcm) (*SettingLcm, error) { s.Key = SettingLcmKey result, err := c.SetSetting(ctx, site, SettingLcmKey, s) diff --git a/unifi/setting_locale.generated.go b/unifi/setting_locale.generated.go index 84f966a..63af18b 100644 --- a/unifi/setting_locale.generated.go +++ b/unifi/setting_locale.generated.go @@ -48,7 +48,7 @@ func (dst *SettingLocale) UnmarshalJSON(b []byte) error { return nil } -// Update SettingLocale Experimental! This function is not yet stable and may change in the future. +// GetSettingLocale Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingLocale(ctx context.Context, site string) (*SettingLocale, error) { s, f, err := c.GetSetting(ctx, site, SettingLocaleKey) if err != nil { @@ -60,7 +60,7 @@ func (c *client) GetSettingLocale(ctx context.Context, site string) (*SettingLoc return f.(*SettingLocale), nil } -// Update SettingLocale Experimental! This function is not yet stable and may change in the future. +// UpdateSettingLocale Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingLocale(ctx context.Context, site string, s *SettingLocale) (*SettingLocale, error) { s.Key = SettingLocaleKey result, err := c.SetSetting(ctx, site, SettingLocaleKey, s) diff --git a/unifi/setting_magic_site_to_site_vpn.generated.go b/unifi/setting_magic_site_to_site_vpn.generated.go index be6d71e..33840a5 100644 --- a/unifi/setting_magic_site_to_site_vpn.generated.go +++ b/unifi/setting_magic_site_to_site_vpn.generated.go @@ -48,7 +48,7 @@ func (dst *SettingMagicSiteToSiteVpn) UnmarshalJSON(b []byte) error { return nil } -// Update SettingMagicSiteToSiteVpn Experimental! This function is not yet stable and may change in the future. +// GetSettingMagicSiteToSiteVpn Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingMagicSiteToSiteVpn(ctx context.Context, site string) (*SettingMagicSiteToSiteVpn, error) { s, f, err := c.GetSetting(ctx, site, SettingMagicSiteToSiteVpnKey) if err != nil { @@ -60,7 +60,7 @@ func (c *client) GetSettingMagicSiteToSiteVpn(ctx context.Context, site string) return f.(*SettingMagicSiteToSiteVpn), nil } -// Update SettingMagicSiteToSiteVpn Experimental! This function is not yet stable and may change in the future. +// UpdateSettingMagicSiteToSiteVpn Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingMagicSiteToSiteVpn(ctx context.Context, site string, s *SettingMagicSiteToSiteVpn) (*SettingMagicSiteToSiteVpn, error) { s.Key = SettingMagicSiteToSiteVpnKey result, err := c.SetSetting(ctx, site, SettingMagicSiteToSiteVpnKey, s) diff --git a/unifi/setting_mgmt.generated.go b/unifi/setting_mgmt.generated.go index 5abbd43..0da4092 100644 --- a/unifi/setting_mgmt.generated.go +++ b/unifi/setting_mgmt.generated.go @@ -95,7 +95,7 @@ func (dst *SettingMgmtXSshKeys) UnmarshalJSON(b []byte) error { return nil } -// Update SettingMgmt Experimental! This function is not yet stable and may change in the future. +// GetSettingMgmt Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingMgmt(ctx context.Context, site string) (*SettingMgmt, error) { s, f, err := c.GetSetting(ctx, site, SettingMgmtKey) if err != nil { @@ -107,7 +107,7 @@ func (c *client) GetSettingMgmt(ctx context.Context, site string) (*SettingMgmt, return f.(*SettingMgmt), nil } -// Update SettingMgmt Experimental! This function is not yet stable and may change in the future. +// UpdateSettingMgmt Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingMgmt(ctx context.Context, site string, s *SettingMgmt) (*SettingMgmt, error) { s.Key = SettingMgmtKey result, err := c.SetSetting(ctx, site, SettingMgmtKey, s) diff --git a/unifi/setting_netflow.generated.go b/unifi/setting_netflow.generated.go index 4f0586c..c19d4d7 100644 --- a/unifi/setting_netflow.generated.go +++ b/unifi/setting_netflow.generated.go @@ -71,7 +71,7 @@ func (dst *SettingNetflow) UnmarshalJSON(b []byte) error { return nil } -// Update SettingNetflow Experimental! This function is not yet stable and may change in the future. +// GetSettingNetflow Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingNetflow(ctx context.Context, site string) (*SettingNetflow, error) { s, f, err := c.GetSetting(ctx, site, SettingNetflowKey) if err != nil { @@ -83,7 +83,7 @@ func (c *client) GetSettingNetflow(ctx context.Context, site string) (*SettingNe return f.(*SettingNetflow), nil } -// Update SettingNetflow Experimental! This function is not yet stable and may change in the future. +// UpdateSettingNetflow Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingNetflow(ctx context.Context, site string, s *SettingNetflow) (*SettingNetflow, error) { s.Key = SettingNetflowKey result, err := c.SetSetting(ctx, site, SettingNetflowKey, s) diff --git a/unifi/setting_network_optimization.generated.go b/unifi/setting_network_optimization.generated.go index 7eb4ad7..1f3a28e 100644 --- a/unifi/setting_network_optimization.generated.go +++ b/unifi/setting_network_optimization.generated.go @@ -48,7 +48,7 @@ func (dst *SettingNetworkOptimization) UnmarshalJSON(b []byte) error { return nil } -// Update SettingNetworkOptimization Experimental! This function is not yet stable and may change in the future. +// GetSettingNetworkOptimization Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingNetworkOptimization(ctx context.Context, site string) (*SettingNetworkOptimization, error) { s, f, err := c.GetSetting(ctx, site, SettingNetworkOptimizationKey) if err != nil { @@ -60,7 +60,7 @@ func (c *client) GetSettingNetworkOptimization(ctx context.Context, site string) return f.(*SettingNetworkOptimization), nil } -// Update SettingNetworkOptimization Experimental! This function is not yet stable and may change in the future. +// UpdateSettingNetworkOptimization Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingNetworkOptimization(ctx context.Context, site string, s *SettingNetworkOptimization) (*SettingNetworkOptimization, error) { s.Key = SettingNetworkOptimizationKey result, err := c.SetSetting(ctx, site, SettingNetworkOptimizationKey, s) diff --git a/unifi/setting_ntp.generated.go b/unifi/setting_ntp.generated.go index e2d5d6e..fcbd430 100644 --- a/unifi/setting_ntp.generated.go +++ b/unifi/setting_ntp.generated.go @@ -52,7 +52,7 @@ func (dst *SettingNtp) UnmarshalJSON(b []byte) error { return nil } -// Update SettingNtp Experimental! This function is not yet stable and may change in the future. +// GetSettingNtp Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingNtp(ctx context.Context, site string) (*SettingNtp, error) { s, f, err := c.GetSetting(ctx, site, SettingNtpKey) if err != nil { @@ -64,7 +64,7 @@ func (c *client) GetSettingNtp(ctx context.Context, site string) (*SettingNtp, e return f.(*SettingNtp), nil } -// Update SettingNtp Experimental! This function is not yet stable and may change in the future. +// UpdateSettingNtp Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingNtp(ctx context.Context, site string, s *SettingNtp) (*SettingNtp, error) { s.Key = SettingNtpKey result, err := c.SetSetting(ctx, site, SettingNtpKey, s) diff --git a/unifi/setting_porta.generated.go b/unifi/setting_porta.generated.go index f33d2c6..06dbc6a 100644 --- a/unifi/setting_porta.generated.go +++ b/unifi/setting_porta.generated.go @@ -48,7 +48,7 @@ func (dst *SettingPorta) UnmarshalJSON(b []byte) error { return nil } -// Update SettingPorta Experimental! This function is not yet stable and may change in the future. +// GetSettingPorta Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingPorta(ctx context.Context, site string) (*SettingPorta, error) { s, f, err := c.GetSetting(ctx, site, SettingPortaKey) if err != nil { @@ -60,7 +60,7 @@ func (c *client) GetSettingPorta(ctx context.Context, site string) (*SettingPort return f.(*SettingPorta), nil } -// Update SettingPorta Experimental! This function is not yet stable and may change in the future. +// UpdateSettingPorta Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingPorta(ctx context.Context, site string, s *SettingPorta) (*SettingPorta, error) { s.Key = SettingPortaKey result, err := c.SetSetting(ctx, site, SettingPortaKey, s) diff --git a/unifi/setting_radio_ai.generated.go b/unifi/setting_radio_ai.generated.go index 78c64fa..5a68c45 100644 --- a/unifi/setting_radio_ai.generated.go +++ b/unifi/setting_radio_ai.generated.go @@ -115,7 +115,7 @@ func (dst *SettingRadioAiChannelsBlacklist) UnmarshalJSON(b []byte) error { return nil } -// Update SettingRadioAi Experimental! This function is not yet stable and may change in the future. +// GetSettingRadioAi Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingRadioAi(ctx context.Context, site string) (*SettingRadioAi, error) { s, f, err := c.GetSetting(ctx, site, SettingRadioAiKey) if err != nil { @@ -127,7 +127,7 @@ func (c *client) GetSettingRadioAi(ctx context.Context, site string) (*SettingRa return f.(*SettingRadioAi), nil } -// Update SettingRadioAi Experimental! This function is not yet stable and may change in the future. +// UpdateSettingRadioAi Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingRadioAi(ctx context.Context, site string, s *SettingRadioAi) (*SettingRadioAi, error) { s.Key = SettingRadioAiKey result, err := c.SetSetting(ctx, site, SettingRadioAiKey, s) diff --git a/unifi/setting_radius.generated.go b/unifi/setting_radius.generated.go index 162f7ba..075f872 100644 --- a/unifi/setting_radius.generated.go +++ b/unifi/setting_radius.generated.go @@ -62,7 +62,7 @@ func (dst *SettingRadius) UnmarshalJSON(b []byte) error { return nil } -// Update SettingRadius Experimental! This function is not yet stable and may change in the future. +// GetSettingRadius Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingRadius(ctx context.Context, site string) (*SettingRadius, error) { s, f, err := c.GetSetting(ctx, site, SettingRadiusKey) if err != nil { @@ -74,7 +74,7 @@ func (c *client) GetSettingRadius(ctx context.Context, site string) (*SettingRad return f.(*SettingRadius), nil } -// Update SettingRadius Experimental! This function is not yet stable and may change in the future. +// UpdateSettingRadius Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingRadius(ctx context.Context, site string, s *SettingRadius) (*SettingRadius, error) { s.Key = SettingRadiusKey result, err := c.SetSetting(ctx, site, SettingRadiusKey, s) diff --git a/unifi/setting_rsyslogd.generated.go b/unifi/setting_rsyslogd.generated.go index e5a0857..3100124 100644 --- a/unifi/setting_rsyslogd.generated.go +++ b/unifi/setting_rsyslogd.generated.go @@ -63,7 +63,7 @@ func (dst *SettingRsyslogd) UnmarshalJSON(b []byte) error { return nil } -// Update SettingRsyslogd Experimental! This function is not yet stable and may change in the future. +// GetSettingRsyslogd Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingRsyslogd(ctx context.Context, site string) (*SettingRsyslogd, error) { s, f, err := c.GetSetting(ctx, site, SettingRsyslogdKey) if err != nil { @@ -75,7 +75,7 @@ func (c *client) GetSettingRsyslogd(ctx context.Context, site string) (*SettingR return f.(*SettingRsyslogd), nil } -// Update SettingRsyslogd Experimental! This function is not yet stable and may change in the future. +// UpdateSettingRsyslogd Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingRsyslogd(ctx context.Context, site string, s *SettingRsyslogd) (*SettingRsyslogd, error) { s.Key = SettingRsyslogdKey result, err := c.SetSetting(ctx, site, SettingRsyslogdKey, s) diff --git a/unifi/setting_snmp.generated.go b/unifi/setting_snmp.generated.go index e18af85..80c4ee8 100644 --- a/unifi/setting_snmp.generated.go +++ b/unifi/setting_snmp.generated.go @@ -52,7 +52,7 @@ func (dst *SettingSnmp) UnmarshalJSON(b []byte) error { return nil } -// Update SettingSnmp Experimental! This function is not yet stable and may change in the future. +// GetSettingSnmp Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingSnmp(ctx context.Context, site string) (*SettingSnmp, error) { s, f, err := c.GetSetting(ctx, site, SettingSnmpKey) if err != nil { @@ -64,7 +64,7 @@ func (c *client) GetSettingSnmp(ctx context.Context, site string) (*SettingSnmp, return f.(*SettingSnmp), nil } -// Update SettingSnmp Experimental! This function is not yet stable and may change in the future. +// UpdateSettingSnmp Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingSnmp(ctx context.Context, site string, s *SettingSnmp) (*SettingSnmp, error) { s.Key = SettingSnmpKey result, err := c.SetSetting(ctx, site, SettingSnmpKey, s) diff --git a/unifi/setting_ssl_inspection.generated.go b/unifi/setting_ssl_inspection.generated.go index e4c7f49..2574d7c 100644 --- a/unifi/setting_ssl_inspection.generated.go +++ b/unifi/setting_ssl_inspection.generated.go @@ -48,7 +48,7 @@ func (dst *SettingSslInspection) UnmarshalJSON(b []byte) error { return nil } -// Update SettingSslInspection Experimental! This function is not yet stable and may change in the future. +// GetSettingSslInspection Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingSslInspection(ctx context.Context, site string) (*SettingSslInspection, error) { s, f, err := c.GetSetting(ctx, site, SettingSslInspectionKey) if err != nil { @@ -60,7 +60,7 @@ func (c *client) GetSettingSslInspection(ctx context.Context, site string) (*Set return f.(*SettingSslInspection), nil } -// Update SettingSslInspection Experimental! This function is not yet stable and may change in the future. +// UpdateSettingSslInspection Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingSslInspection(ctx context.Context, site string, s *SettingSslInspection) (*SettingSslInspection, error) { s.Key = SettingSslInspectionKey result, err := c.SetSetting(ctx, site, SettingSslInspectionKey, s) diff --git a/unifi/setting_super_cloudaccess.generated.go b/unifi/setting_super_cloudaccess.generated.go index 73b7615..f8ddaae 100644 --- a/unifi/setting_super_cloudaccess.generated.go +++ b/unifi/setting_super_cloudaccess.generated.go @@ -54,7 +54,7 @@ func (dst *SettingSuperCloudaccess) UnmarshalJSON(b []byte) error { return nil } -// Update SettingSuperCloudaccess Experimental! This function is not yet stable and may change in the future. +// GetSettingSuperCloudaccess Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingSuperCloudaccess(ctx context.Context, site string) (*SettingSuperCloudaccess, error) { s, f, err := c.GetSetting(ctx, site, SettingSuperCloudaccessKey) if err != nil { @@ -66,7 +66,7 @@ func (c *client) GetSettingSuperCloudaccess(ctx context.Context, site string) (* return f.(*SettingSuperCloudaccess), nil } -// Update SettingSuperCloudaccess Experimental! This function is not yet stable and may change in the future. +// UpdateSettingSuperCloudaccess Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingSuperCloudaccess(ctx context.Context, site string, s *SettingSuperCloudaccess) (*SettingSuperCloudaccess, error) { s.Key = SettingSuperCloudaccessKey result, err := c.SetSetting(ctx, site, SettingSuperCloudaccessKey, s) diff --git a/unifi/setting_super_events.generated.go b/unifi/setting_super_events.generated.go index 971fa25..79f10f6 100644 --- a/unifi/setting_super_events.generated.go +++ b/unifi/setting_super_events.generated.go @@ -48,7 +48,7 @@ func (dst *SettingSuperEvents) UnmarshalJSON(b []byte) error { return nil } -// Update SettingSuperEvents Experimental! This function is not yet stable and may change in the future. +// GetSettingSuperEvents Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingSuperEvents(ctx context.Context, site string) (*SettingSuperEvents, error) { s, f, err := c.GetSetting(ctx, site, SettingSuperEventsKey) if err != nil { @@ -60,7 +60,7 @@ func (c *client) GetSettingSuperEvents(ctx context.Context, site string) (*Setti return f.(*SettingSuperEvents), nil } -// Update SettingSuperEvents Experimental! This function is not yet stable and may change in the future. +// UpdateSettingSuperEvents Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingSuperEvents(ctx context.Context, site string, s *SettingSuperEvents) (*SettingSuperEvents, error) { s.Key = SettingSuperEventsKey result, err := c.SetSetting(ctx, site, SettingSuperEventsKey, s) diff --git a/unifi/setting_super_fwupdate.generated.go b/unifi/setting_super_fwupdate.generated.go index a0f28a9..4577354 100644 --- a/unifi/setting_super_fwupdate.generated.go +++ b/unifi/setting_super_fwupdate.generated.go @@ -50,7 +50,7 @@ func (dst *SettingSuperFwupdate) UnmarshalJSON(b []byte) error { return nil } -// Update SettingSuperFwupdate Experimental! This function is not yet stable and may change in the future. +// GetSettingSuperFwupdate Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingSuperFwupdate(ctx context.Context, site string) (*SettingSuperFwupdate, error) { s, f, err := c.GetSetting(ctx, site, SettingSuperFwupdateKey) if err != nil { @@ -62,7 +62,7 @@ func (c *client) GetSettingSuperFwupdate(ctx context.Context, site string) (*Set return f.(*SettingSuperFwupdate), nil } -// Update SettingSuperFwupdate Experimental! This function is not yet stable and may change in the future. +// UpdateSettingSuperFwupdate Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingSuperFwupdate(ctx context.Context, site string, s *SettingSuperFwupdate) (*SettingSuperFwupdate, error) { s.Key = SettingSuperFwupdateKey result, err := c.SetSetting(ctx, site, SettingSuperFwupdateKey, s) diff --git a/unifi/setting_super_identity.generated.go b/unifi/setting_super_identity.generated.go index 3f69c12..5a65a4d 100644 --- a/unifi/setting_super_identity.generated.go +++ b/unifi/setting_super_identity.generated.go @@ -49,7 +49,7 @@ func (dst *SettingSuperIdentity) UnmarshalJSON(b []byte) error { return nil } -// Update SettingSuperIdentity Experimental! This function is not yet stable and may change in the future. +// GetSettingSuperIdentity Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingSuperIdentity(ctx context.Context, site string) (*SettingSuperIdentity, error) { s, f, err := c.GetSetting(ctx, site, SettingSuperIdentityKey) if err != nil { @@ -61,7 +61,7 @@ func (c *client) GetSettingSuperIdentity(ctx context.Context, site string) (*Set return f.(*SettingSuperIdentity), nil } -// Update SettingSuperIdentity Experimental! This function is not yet stable and may change in the future. +// UpdateSettingSuperIdentity Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingSuperIdentity(ctx context.Context, site string, s *SettingSuperIdentity) (*SettingSuperIdentity, error) { s.Key = SettingSuperIdentityKey result, err := c.SetSetting(ctx, site, SettingSuperIdentityKey, s) diff --git a/unifi/setting_super_mail.generated.go b/unifi/setting_super_mail.generated.go index a451aaa..ec82162 100644 --- a/unifi/setting_super_mail.generated.go +++ b/unifi/setting_super_mail.generated.go @@ -48,7 +48,7 @@ func (dst *SettingSuperMail) UnmarshalJSON(b []byte) error { return nil } -// Update SettingSuperMail Experimental! This function is not yet stable and may change in the future. +// GetSettingSuperMail Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingSuperMail(ctx context.Context, site string) (*SettingSuperMail, error) { s, f, err := c.GetSetting(ctx, site, SettingSuperMailKey) if err != nil { @@ -60,7 +60,7 @@ func (c *client) GetSettingSuperMail(ctx context.Context, site string) (*Setting return f.(*SettingSuperMail), nil } -// Update SettingSuperMail Experimental! This function is not yet stable and may change in the future. +// UpdateSettingSuperMail Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingSuperMail(ctx context.Context, site string, s *SettingSuperMail) (*SettingSuperMail, error) { s.Key = SettingSuperMailKey result, err := c.SetSetting(ctx, site, SettingSuperMailKey, s) diff --git a/unifi/setting_super_mgmt.generated.go b/unifi/setting_super_mgmt.generated.go index 564d5ab..b097258 100644 --- a/unifi/setting_super_mgmt.generated.go +++ b/unifi/setting_super_mgmt.generated.go @@ -113,7 +113,7 @@ func (dst *SettingSuperMgmt) UnmarshalJSON(b []byte) error { return nil } -// Update SettingSuperMgmt Experimental! This function is not yet stable and may change in the future. +// GetSettingSuperMgmt Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingSuperMgmt(ctx context.Context, site string) (*SettingSuperMgmt, error) { s, f, err := c.GetSetting(ctx, site, SettingSuperMgmtKey) if err != nil { @@ -125,7 +125,7 @@ func (c *client) GetSettingSuperMgmt(ctx context.Context, site string) (*Setting return f.(*SettingSuperMgmt), nil } -// Update SettingSuperMgmt Experimental! This function is not yet stable and may change in the future. +// UpdateSettingSuperMgmt Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingSuperMgmt(ctx context.Context, site string, s *SettingSuperMgmt) (*SettingSuperMgmt, error) { s.Key = SettingSuperMgmtKey result, err := c.SetSetting(ctx, site, SettingSuperMgmtKey, s) diff --git a/unifi/setting_super_sdn.generated.go b/unifi/setting_super_sdn.generated.go index 8294016..3223d18 100644 --- a/unifi/setting_super_sdn.generated.go +++ b/unifi/setting_super_sdn.generated.go @@ -53,7 +53,7 @@ func (dst *SettingSuperSdn) UnmarshalJSON(b []byte) error { return nil } -// Update SettingSuperSdn Experimental! This function is not yet stable and may change in the future. +// GetSettingSuperSdn Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingSuperSdn(ctx context.Context, site string) (*SettingSuperSdn, error) { s, f, err := c.GetSetting(ctx, site, SettingSuperSdnKey) if err != nil { @@ -65,7 +65,7 @@ func (c *client) GetSettingSuperSdn(ctx context.Context, site string) (*SettingS return f.(*SettingSuperSdn), nil } -// Update SettingSuperSdn Experimental! This function is not yet stable and may change in the future. +// UpdateSettingSuperSdn Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingSuperSdn(ctx context.Context, site string, s *SettingSuperSdn) (*SettingSuperSdn, error) { s.Key = SettingSuperSdnKey result, err := c.SetSetting(ctx, site, SettingSuperSdnKey, s) diff --git a/unifi/setting_super_smtp.generated.go b/unifi/setting_super_smtp.generated.go index ec69f74..180cc71 100644 --- a/unifi/setting_super_smtp.generated.go +++ b/unifi/setting_super_smtp.generated.go @@ -59,7 +59,7 @@ func (dst *SettingSuperSmtp) UnmarshalJSON(b []byte) error { return nil } -// Update SettingSuperSmtp Experimental! This function is not yet stable and may change in the future. +// GetSettingSuperSmtp Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingSuperSmtp(ctx context.Context, site string) (*SettingSuperSmtp, error) { s, f, err := c.GetSetting(ctx, site, SettingSuperSmtpKey) if err != nil { @@ -71,7 +71,7 @@ func (c *client) GetSettingSuperSmtp(ctx context.Context, site string) (*Setting return f.(*SettingSuperSmtp), nil } -// Update SettingSuperSmtp Experimental! This function is not yet stable and may change in the future. +// UpdateSettingSuperSmtp Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingSuperSmtp(ctx context.Context, site string, s *SettingSuperSmtp) (*SettingSuperSmtp, error) { s.Key = SettingSuperSmtpKey result, err := c.SetSetting(ctx, site, SettingSuperSmtpKey, s) diff --git a/unifi/setting_teleport.generated.go b/unifi/setting_teleport.generated.go index 97e898b..909f4c1 100644 --- a/unifi/setting_teleport.generated.go +++ b/unifi/setting_teleport.generated.go @@ -49,7 +49,7 @@ func (dst *SettingTeleport) UnmarshalJSON(b []byte) error { return nil } -// Update SettingTeleport Experimental! This function is not yet stable and may change in the future. +// GetSettingTeleport Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingTeleport(ctx context.Context, site string) (*SettingTeleport, error) { s, f, err := c.GetSetting(ctx, site, SettingTeleportKey) if err != nil { @@ -61,7 +61,7 @@ func (c *client) GetSettingTeleport(ctx context.Context, site string) (*SettingT return f.(*SettingTeleport), nil } -// Update SettingTeleport Experimental! This function is not yet stable and may change in the future. +// UpdateSettingTeleport Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingTeleport(ctx context.Context, site string, s *SettingTeleport) (*SettingTeleport, error) { s.Key = SettingTeleportKey result, err := c.SetSetting(ctx, site, SettingTeleportKey, s) diff --git a/unifi/setting_usg.generated.go b/unifi/setting_usg.generated.go index f3d3223..e06cfcf 100644 --- a/unifi/setting_usg.generated.go +++ b/unifi/setting_usg.generated.go @@ -160,7 +160,7 @@ func (dst *SettingUsgDNSVerification) UnmarshalJSON(b []byte) error { return nil } -// Update SettingUsg Experimental! This function is not yet stable and may change in the future. +// GetSettingUsg Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingUsg(ctx context.Context, site string) (*SettingUsg, error) { s, f, err := c.GetSetting(ctx, site, SettingUsgKey) if err != nil { @@ -172,7 +172,7 @@ func (c *client) GetSettingUsg(ctx context.Context, site string) (*SettingUsg, e return f.(*SettingUsg), nil } -// Update SettingUsg Experimental! This function is not yet stable and may change in the future. +// UpdateSettingUsg Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingUsg(ctx context.Context, site string, s *SettingUsg) (*SettingUsg, error) { s.Key = SettingUsgKey result, err := c.SetSetting(ctx, site, SettingUsgKey, s) diff --git a/unifi/setting_usw.generated.go b/unifi/setting_usw.generated.go index b3ffa5f..1e83657 100644 --- a/unifi/setting_usw.generated.go +++ b/unifi/setting_usw.generated.go @@ -48,7 +48,7 @@ func (dst *SettingUsw) UnmarshalJSON(b []byte) error { return nil } -// Update SettingUsw Experimental! This function is not yet stable and may change in the future. +// GetSettingUsw Experimental! This function is not yet stable and may change in the future. func (c *client) GetSettingUsw(ctx context.Context, site string) (*SettingUsw, error) { s, f, err := c.GetSetting(ctx, site, SettingUswKey) if err != nil { @@ -60,7 +60,7 @@ func (c *client) GetSettingUsw(ctx context.Context, site string) (*SettingUsw, e return f.(*SettingUsw), nil } -// Update SettingUsw Experimental! This function is not yet stable and may change in the future. +// UpdateSettingUsw Experimental! This function is not yet stable and may change in the future. func (c *client) UpdateSettingUsw(ctx context.Context, site string, s *SettingUsw) (*SettingUsw, error) { s.Key = SettingUswKey result, err := c.SetSetting(ctx, site, SettingUswKey, s)