docs: fix invalid godoc for generated settings methods
This commit is contained in:
@@ -85,7 +85,7 @@ func (c *client) list{{ .StructName }}(ctx context.Context, site string) ([]{{ .
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{ if .IsSetting }}
|
{{ 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) {
|
func (c *client) Get{{ .StructName }}(ctx context.Context, site string) (*{{ .StructName }}, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, {{ .StructName }}Key)
|
s, f, err := c.GetSetting(ctx, site, {{ .StructName }}Key)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -148,7 +148,7 @@ func (c *client) create{{ .StructName }}(ctx context.Context, site string, d *{{
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{ if .IsSetting }}
|
{{ 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) {
|
func (c *client) Update{{ .StructName }}(ctx context.Context, site string, s *{{ .StructName}}) (*{{ .StructName }}, error) {
|
||||||
s.Key = {{ .StructName }}Key
|
s.Key = {{ .StructName }}Key
|
||||||
result, err := c.SetSetting(ctx, site, {{ .StructName }}Key, s)
|
result, err := c.SetSetting(ctx, site, {{ .StructName }}Key, s)
|
||||||
|
|||||||
4
unifi/setting_auto_speedtest.generated.go
generated
4
unifi/setting_auto_speedtest.generated.go
generated
@@ -49,7 +49,7 @@ func (dst *SettingAutoSpeedtest) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingAutoSpeedtest(ctx context.Context, site string) (*SettingAutoSpeedtest, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingAutoSpeedtestKey)
|
s, f, err := c.GetSetting(ctx, site, SettingAutoSpeedtestKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -61,7 +61,7 @@ func (c *client) GetSettingAutoSpeedtest(ctx context.Context, site string) (*Set
|
|||||||
return f.(*SettingAutoSpeedtest), nil
|
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) {
|
func (c *client) UpdateSettingAutoSpeedtest(ctx context.Context, site string, s *SettingAutoSpeedtest) (*SettingAutoSpeedtest, error) {
|
||||||
s.Key = SettingAutoSpeedtestKey
|
s.Key = SettingAutoSpeedtestKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingAutoSpeedtestKey, s)
|
result, err := c.SetSetting(ctx, site, SettingAutoSpeedtestKey, s)
|
||||||
|
|||||||
4
unifi/setting_baresip.generated.go
generated
4
unifi/setting_baresip.generated.go
generated
@@ -51,7 +51,7 @@ func (dst *SettingBaresip) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingBaresip(ctx context.Context, site string) (*SettingBaresip, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingBaresipKey)
|
s, f, err := c.GetSetting(ctx, site, SettingBaresipKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -63,7 +63,7 @@ func (c *client) GetSettingBaresip(ctx context.Context, site string) (*SettingBa
|
|||||||
return f.(*SettingBaresip), nil
|
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) {
|
func (c *client) UpdateSettingBaresip(ctx context.Context, site string, s *SettingBaresip) (*SettingBaresip, error) {
|
||||||
s.Key = SettingBaresipKey
|
s.Key = SettingBaresipKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingBaresipKey, s)
|
result, err := c.SetSetting(ctx, site, SettingBaresipKey, s)
|
||||||
|
|||||||
4
unifi/setting_broadcast.generated.go
generated
4
unifi/setting_broadcast.generated.go
generated
@@ -53,7 +53,7 @@ func (dst *SettingBroadcast) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingBroadcast(ctx context.Context, site string) (*SettingBroadcast, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingBroadcastKey)
|
s, f, err := c.GetSetting(ctx, site, SettingBroadcastKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -65,7 +65,7 @@ func (c *client) GetSettingBroadcast(ctx context.Context, site string) (*Setting
|
|||||||
return f.(*SettingBroadcast), nil
|
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) {
|
func (c *client) UpdateSettingBroadcast(ctx context.Context, site string, s *SettingBroadcast) (*SettingBroadcast, error) {
|
||||||
s.Key = SettingBroadcastKey
|
s.Key = SettingBroadcastKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingBroadcastKey, s)
|
result, err := c.SetSetting(ctx, site, SettingBroadcastKey, s)
|
||||||
|
|||||||
4
unifi/setting_connectivity.generated.go
generated
4
unifi/setting_connectivity.generated.go
generated
@@ -53,7 +53,7 @@ func (dst *SettingConnectivity) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingConnectivity(ctx context.Context, site string) (*SettingConnectivity, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingConnectivityKey)
|
s, f, err := c.GetSetting(ctx, site, SettingConnectivityKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -65,7 +65,7 @@ func (c *client) GetSettingConnectivity(ctx context.Context, site string) (*Sett
|
|||||||
return f.(*SettingConnectivity), nil
|
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) {
|
func (c *client) UpdateSettingConnectivity(ctx context.Context, site string, s *SettingConnectivity) (*SettingConnectivity, error) {
|
||||||
s.Key = SettingConnectivityKey
|
s.Key = SettingConnectivityKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingConnectivityKey, s)
|
result, err := c.SetSetting(ctx, site, SettingConnectivityKey, s)
|
||||||
|
|||||||
4
unifi/setting_country.generated.go
generated
4
unifi/setting_country.generated.go
generated
@@ -51,7 +51,7 @@ func (dst *SettingCountry) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingCountry(ctx context.Context, site string) (*SettingCountry, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingCountryKey)
|
s, f, err := c.GetSetting(ctx, site, SettingCountryKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -63,7 +63,7 @@ func (c *client) GetSettingCountry(ctx context.Context, site string) (*SettingCo
|
|||||||
return f.(*SettingCountry), nil
|
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) {
|
func (c *client) UpdateSettingCountry(ctx context.Context, site string, s *SettingCountry) (*SettingCountry, error) {
|
||||||
s.Key = SettingCountryKey
|
s.Key = SettingCountryKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingCountryKey, s)
|
result, err := c.SetSetting(ctx, site, SettingCountryKey, s)
|
||||||
|
|||||||
4
unifi/setting_dashboard.generated.go
generated
4
unifi/setting_dashboard.generated.go
generated
@@ -70,7 +70,7 @@ func (dst *SettingDashboardWidgets) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingDashboard(ctx context.Context, site string) (*SettingDashboard, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingDashboardKey)
|
s, f, err := c.GetSetting(ctx, site, SettingDashboardKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -82,7 +82,7 @@ func (c *client) GetSettingDashboard(ctx context.Context, site string) (*Setting
|
|||||||
return f.(*SettingDashboard), nil
|
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) {
|
func (c *client) UpdateSettingDashboard(ctx context.Context, site string, s *SettingDashboard) (*SettingDashboard, error) {
|
||||||
s.Key = SettingDashboardKey
|
s.Key = SettingDashboardKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingDashboardKey, s)
|
result, err := c.SetSetting(ctx, site, SettingDashboardKey, s)
|
||||||
|
|||||||
4
unifi/setting_doh.generated.go
generated
4
unifi/setting_doh.generated.go
generated
@@ -72,7 +72,7 @@ func (dst *SettingDohCustomServers) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingDoh(ctx context.Context, site string) (*SettingDoh, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingDohKey)
|
s, f, err := c.GetSetting(ctx, site, SettingDohKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -84,7 +84,7 @@ func (c *client) GetSettingDoh(ctx context.Context, site string) (*SettingDoh, e
|
|||||||
return f.(*SettingDoh), nil
|
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) {
|
func (c *client) UpdateSettingDoh(ctx context.Context, site string, s *SettingDoh) (*SettingDoh, error) {
|
||||||
s.Key = SettingDohKey
|
s.Key = SettingDohKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingDohKey, s)
|
result, err := c.SetSetting(ctx, site, SettingDohKey, s)
|
||||||
|
|||||||
4
unifi/setting_dpi.generated.go
generated
4
unifi/setting_dpi.generated.go
generated
@@ -49,7 +49,7 @@ func (dst *SettingDpi) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingDpi(ctx context.Context, site string) (*SettingDpi, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingDpiKey)
|
s, f, err := c.GetSetting(ctx, site, SettingDpiKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -61,7 +61,7 @@ func (c *client) GetSettingDpi(ctx context.Context, site string) (*SettingDpi, e
|
|||||||
return f.(*SettingDpi), nil
|
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) {
|
func (c *client) UpdateSettingDpi(ctx context.Context, site string, s *SettingDpi) (*SettingDpi, error) {
|
||||||
s.Key = SettingDpiKey
|
s.Key = SettingDpiKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingDpiKey, s)
|
result, err := c.SetSetting(ctx, site, SettingDpiKey, s)
|
||||||
|
|||||||
4
unifi/setting_element_adopt.generated.go
generated
4
unifi/setting_element_adopt.generated.go
generated
@@ -50,7 +50,7 @@ func (dst *SettingElementAdopt) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingElementAdopt(ctx context.Context, site string) (*SettingElementAdopt, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingElementAdoptKey)
|
s, f, err := c.GetSetting(ctx, site, SettingElementAdoptKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -62,7 +62,7 @@ func (c *client) GetSettingElementAdopt(ctx context.Context, site string) (*Sett
|
|||||||
return f.(*SettingElementAdopt), nil
|
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) {
|
func (c *client) UpdateSettingElementAdopt(ctx context.Context, site string, s *SettingElementAdopt) (*SettingElementAdopt, error) {
|
||||||
s.Key = SettingElementAdoptKey
|
s.Key = SettingElementAdoptKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingElementAdoptKey, s)
|
result, err := c.SetSetting(ctx, site, SettingElementAdoptKey, s)
|
||||||
|
|||||||
4
unifi/setting_ether_lighting.generated.go
generated
4
unifi/setting_ether_lighting.generated.go
generated
@@ -91,7 +91,7 @@ func (dst *SettingEtherLightingSpeedOverrides) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingEtherLighting(ctx context.Context, site string) (*SettingEtherLighting, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingEtherLightingKey)
|
s, f, err := c.GetSetting(ctx, site, SettingEtherLightingKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -103,7 +103,7 @@ func (c *client) GetSettingEtherLighting(ctx context.Context, site string) (*Set
|
|||||||
return f.(*SettingEtherLighting), nil
|
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) {
|
func (c *client) UpdateSettingEtherLighting(ctx context.Context, site string, s *SettingEtherLighting) (*SettingEtherLighting, error) {
|
||||||
s.Key = SettingEtherLightingKey
|
s.Key = SettingEtherLightingKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingEtherLightingKey, s)
|
result, err := c.SetSetting(ctx, site, SettingEtherLightingKey, s)
|
||||||
|
|||||||
4
unifi/setting_evaluation_score.generated.go
generated
4
unifi/setting_evaluation_score.generated.go
generated
@@ -48,7 +48,7 @@ func (dst *SettingEvaluationScore) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingEvaluationScore(ctx context.Context, site string) (*SettingEvaluationScore, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingEvaluationScoreKey)
|
s, f, err := c.GetSetting(ctx, site, SettingEvaluationScoreKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -60,7 +60,7 @@ func (c *client) GetSettingEvaluationScore(ctx context.Context, site string) (*S
|
|||||||
return f.(*SettingEvaluationScore), nil
|
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) {
|
func (c *client) UpdateSettingEvaluationScore(ctx context.Context, site string, s *SettingEvaluationScore) (*SettingEvaluationScore, error) {
|
||||||
s.Key = SettingEvaluationScoreKey
|
s.Key = SettingEvaluationScoreKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingEvaluationScoreKey, s)
|
result, err := c.SetSetting(ctx, site, SettingEvaluationScoreKey, s)
|
||||||
|
|||||||
4
unifi/setting_global_ap.generated.go
generated
4
unifi/setting_global_ap.generated.go
generated
@@ -70,7 +70,7 @@ func (dst *SettingGlobalAp) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingGlobalAp(ctx context.Context, site string) (*SettingGlobalAp, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingGlobalApKey)
|
s, f, err := c.GetSetting(ctx, site, SettingGlobalApKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -82,7 +82,7 @@ func (c *client) GetSettingGlobalAp(ctx context.Context, site string) (*SettingG
|
|||||||
return f.(*SettingGlobalAp), nil
|
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) {
|
func (c *client) UpdateSettingGlobalAp(ctx context.Context, site string, s *SettingGlobalAp) (*SettingGlobalAp, error) {
|
||||||
s.Key = SettingGlobalApKey
|
s.Key = SettingGlobalApKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingGlobalApKey, s)
|
result, err := c.SetSetting(ctx, site, SettingGlobalApKey, s)
|
||||||
|
|||||||
4
unifi/setting_global_nat.generated.go
generated
4
unifi/setting_global_nat.generated.go
generated
@@ -49,7 +49,7 @@ func (dst *SettingGlobalNat) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingGlobalNat(ctx context.Context, site string) (*SettingGlobalNat, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingGlobalNatKey)
|
s, f, err := c.GetSetting(ctx, site, SettingGlobalNatKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -61,7 +61,7 @@ func (c *client) GetSettingGlobalNat(ctx context.Context, site string) (*Setting
|
|||||||
return f.(*SettingGlobalNat), nil
|
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) {
|
func (c *client) UpdateSettingGlobalNat(ctx context.Context, site string, s *SettingGlobalNat) (*SettingGlobalNat, error) {
|
||||||
s.Key = SettingGlobalNatKey
|
s.Key = SettingGlobalNatKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingGlobalNatKey, s)
|
result, err := c.SetSetting(ctx, site, SettingGlobalNatKey, s)
|
||||||
|
|||||||
4
unifi/setting_global_switch.generated.go
generated
4
unifi/setting_global_switch.generated.go
generated
@@ -78,7 +78,7 @@ func (dst *SettingGlobalSwitchAclL3Isolation) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingGlobalSwitch(ctx context.Context, site string) (*SettingGlobalSwitch, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingGlobalSwitchKey)
|
s, f, err := c.GetSetting(ctx, site, SettingGlobalSwitchKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -90,7 +90,7 @@ func (c *client) GetSettingGlobalSwitch(ctx context.Context, site string) (*Sett
|
|||||||
return f.(*SettingGlobalSwitch), nil
|
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) {
|
func (c *client) UpdateSettingGlobalSwitch(ctx context.Context, site string, s *SettingGlobalSwitch) (*SettingGlobalSwitch, error) {
|
||||||
s.Key = SettingGlobalSwitchKey
|
s.Key = SettingGlobalSwitchKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingGlobalSwitchKey, s)
|
result, err := c.SetSetting(ctx, site, SettingGlobalSwitchKey, s)
|
||||||
|
|||||||
4
unifi/setting_guest_access.generated.go
generated
4
unifi/setting_guest_access.generated.go
generated
@@ -159,7 +159,7 @@ func (dst *SettingGuestAccess) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingGuestAccess(ctx context.Context, site string) (*SettingGuestAccess, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingGuestAccessKey)
|
s, f, err := c.GetSetting(ctx, site, SettingGuestAccessKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -171,7 +171,7 @@ func (c *client) GetSettingGuestAccess(ctx context.Context, site string) (*Setti
|
|||||||
return f.(*SettingGuestAccess), nil
|
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) {
|
func (c *client) UpdateSettingGuestAccess(ctx context.Context, site string, s *SettingGuestAccess) (*SettingGuestAccess, error) {
|
||||||
s.Key = SettingGuestAccessKey
|
s.Key = SettingGuestAccessKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingGuestAccessKey, s)
|
result, err := c.SetSetting(ctx, site, SettingGuestAccessKey, s)
|
||||||
|
|||||||
4
unifi/setting_ips.generated.go
generated
4
unifi/setting_ips.generated.go
generated
@@ -224,7 +224,7 @@ func (dst *SettingIpsWhitelist) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingIps(ctx context.Context, site string) (*SettingIps, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingIpsKey)
|
s, f, err := c.GetSetting(ctx, site, SettingIpsKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -236,7 +236,7 @@ func (c *client) GetSettingIps(ctx context.Context, site string) (*SettingIps, e
|
|||||||
return f.(*SettingIps), nil
|
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) {
|
func (c *client) UpdateSettingIps(ctx context.Context, site string, s *SettingIps) (*SettingIps, error) {
|
||||||
s.Key = SettingIpsKey
|
s.Key = SettingIpsKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingIpsKey, s)
|
result, err := c.SetSetting(ctx, site, SettingIpsKey, s)
|
||||||
|
|||||||
4
unifi/setting_lcm.generated.go
generated
4
unifi/setting_lcm.generated.go
generated
@@ -57,7 +57,7 @@ func (dst *SettingLcm) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingLcm(ctx context.Context, site string) (*SettingLcm, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingLcmKey)
|
s, f, err := c.GetSetting(ctx, site, SettingLcmKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -69,7 +69,7 @@ func (c *client) GetSettingLcm(ctx context.Context, site string) (*SettingLcm, e
|
|||||||
return f.(*SettingLcm), nil
|
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) {
|
func (c *client) UpdateSettingLcm(ctx context.Context, site string, s *SettingLcm) (*SettingLcm, error) {
|
||||||
s.Key = SettingLcmKey
|
s.Key = SettingLcmKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingLcmKey, s)
|
result, err := c.SetSetting(ctx, site, SettingLcmKey, s)
|
||||||
|
|||||||
4
unifi/setting_locale.generated.go
generated
4
unifi/setting_locale.generated.go
generated
@@ -48,7 +48,7 @@ func (dst *SettingLocale) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingLocale(ctx context.Context, site string) (*SettingLocale, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingLocaleKey)
|
s, f, err := c.GetSetting(ctx, site, SettingLocaleKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -60,7 +60,7 @@ func (c *client) GetSettingLocale(ctx context.Context, site string) (*SettingLoc
|
|||||||
return f.(*SettingLocale), nil
|
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) {
|
func (c *client) UpdateSettingLocale(ctx context.Context, site string, s *SettingLocale) (*SettingLocale, error) {
|
||||||
s.Key = SettingLocaleKey
|
s.Key = SettingLocaleKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingLocaleKey, s)
|
result, err := c.SetSetting(ctx, site, SettingLocaleKey, s)
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ func (dst *SettingMagicSiteToSiteVpn) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingMagicSiteToSiteVpn(ctx context.Context, site string) (*SettingMagicSiteToSiteVpn, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingMagicSiteToSiteVpnKey)
|
s, f, err := c.GetSetting(ctx, site, SettingMagicSiteToSiteVpnKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -60,7 +60,7 @@ func (c *client) GetSettingMagicSiteToSiteVpn(ctx context.Context, site string)
|
|||||||
return f.(*SettingMagicSiteToSiteVpn), nil
|
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) {
|
func (c *client) UpdateSettingMagicSiteToSiteVpn(ctx context.Context, site string, s *SettingMagicSiteToSiteVpn) (*SettingMagicSiteToSiteVpn, error) {
|
||||||
s.Key = SettingMagicSiteToSiteVpnKey
|
s.Key = SettingMagicSiteToSiteVpnKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingMagicSiteToSiteVpnKey, s)
|
result, err := c.SetSetting(ctx, site, SettingMagicSiteToSiteVpnKey, s)
|
||||||
|
|||||||
4
unifi/setting_mgmt.generated.go
generated
4
unifi/setting_mgmt.generated.go
generated
@@ -95,7 +95,7 @@ func (dst *SettingMgmtXSshKeys) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingMgmt(ctx context.Context, site string) (*SettingMgmt, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingMgmtKey)
|
s, f, err := c.GetSetting(ctx, site, SettingMgmtKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -107,7 +107,7 @@ func (c *client) GetSettingMgmt(ctx context.Context, site string) (*SettingMgmt,
|
|||||||
return f.(*SettingMgmt), nil
|
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) {
|
func (c *client) UpdateSettingMgmt(ctx context.Context, site string, s *SettingMgmt) (*SettingMgmt, error) {
|
||||||
s.Key = SettingMgmtKey
|
s.Key = SettingMgmtKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingMgmtKey, s)
|
result, err := c.SetSetting(ctx, site, SettingMgmtKey, s)
|
||||||
|
|||||||
4
unifi/setting_netflow.generated.go
generated
4
unifi/setting_netflow.generated.go
generated
@@ -71,7 +71,7 @@ func (dst *SettingNetflow) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingNetflow(ctx context.Context, site string) (*SettingNetflow, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingNetflowKey)
|
s, f, err := c.GetSetting(ctx, site, SettingNetflowKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -83,7 +83,7 @@ func (c *client) GetSettingNetflow(ctx context.Context, site string) (*SettingNe
|
|||||||
return f.(*SettingNetflow), nil
|
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) {
|
func (c *client) UpdateSettingNetflow(ctx context.Context, site string, s *SettingNetflow) (*SettingNetflow, error) {
|
||||||
s.Key = SettingNetflowKey
|
s.Key = SettingNetflowKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingNetflowKey, s)
|
result, err := c.SetSetting(ctx, site, SettingNetflowKey, s)
|
||||||
|
|||||||
4
unifi/setting_network_optimization.generated.go
generated
4
unifi/setting_network_optimization.generated.go
generated
@@ -48,7 +48,7 @@ func (dst *SettingNetworkOptimization) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingNetworkOptimization(ctx context.Context, site string) (*SettingNetworkOptimization, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingNetworkOptimizationKey)
|
s, f, err := c.GetSetting(ctx, site, SettingNetworkOptimizationKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -60,7 +60,7 @@ func (c *client) GetSettingNetworkOptimization(ctx context.Context, site string)
|
|||||||
return f.(*SettingNetworkOptimization), nil
|
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) {
|
func (c *client) UpdateSettingNetworkOptimization(ctx context.Context, site string, s *SettingNetworkOptimization) (*SettingNetworkOptimization, error) {
|
||||||
s.Key = SettingNetworkOptimizationKey
|
s.Key = SettingNetworkOptimizationKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingNetworkOptimizationKey, s)
|
result, err := c.SetSetting(ctx, site, SettingNetworkOptimizationKey, s)
|
||||||
|
|||||||
4
unifi/setting_ntp.generated.go
generated
4
unifi/setting_ntp.generated.go
generated
@@ -52,7 +52,7 @@ func (dst *SettingNtp) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingNtp(ctx context.Context, site string) (*SettingNtp, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingNtpKey)
|
s, f, err := c.GetSetting(ctx, site, SettingNtpKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -64,7 +64,7 @@ func (c *client) GetSettingNtp(ctx context.Context, site string) (*SettingNtp, e
|
|||||||
return f.(*SettingNtp), nil
|
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) {
|
func (c *client) UpdateSettingNtp(ctx context.Context, site string, s *SettingNtp) (*SettingNtp, error) {
|
||||||
s.Key = SettingNtpKey
|
s.Key = SettingNtpKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingNtpKey, s)
|
result, err := c.SetSetting(ctx, site, SettingNtpKey, s)
|
||||||
|
|||||||
4
unifi/setting_porta.generated.go
generated
4
unifi/setting_porta.generated.go
generated
@@ -48,7 +48,7 @@ func (dst *SettingPorta) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingPorta(ctx context.Context, site string) (*SettingPorta, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingPortaKey)
|
s, f, err := c.GetSetting(ctx, site, SettingPortaKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -60,7 +60,7 @@ func (c *client) GetSettingPorta(ctx context.Context, site string) (*SettingPort
|
|||||||
return f.(*SettingPorta), nil
|
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) {
|
func (c *client) UpdateSettingPorta(ctx context.Context, site string, s *SettingPorta) (*SettingPorta, error) {
|
||||||
s.Key = SettingPortaKey
|
s.Key = SettingPortaKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingPortaKey, s)
|
result, err := c.SetSetting(ctx, site, SettingPortaKey, s)
|
||||||
|
|||||||
4
unifi/setting_radio_ai.generated.go
generated
4
unifi/setting_radio_ai.generated.go
generated
@@ -115,7 +115,7 @@ func (dst *SettingRadioAiChannelsBlacklist) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingRadioAi(ctx context.Context, site string) (*SettingRadioAi, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingRadioAiKey)
|
s, f, err := c.GetSetting(ctx, site, SettingRadioAiKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -127,7 +127,7 @@ func (c *client) GetSettingRadioAi(ctx context.Context, site string) (*SettingRa
|
|||||||
return f.(*SettingRadioAi), nil
|
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) {
|
func (c *client) UpdateSettingRadioAi(ctx context.Context, site string, s *SettingRadioAi) (*SettingRadioAi, error) {
|
||||||
s.Key = SettingRadioAiKey
|
s.Key = SettingRadioAiKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingRadioAiKey, s)
|
result, err := c.SetSetting(ctx, site, SettingRadioAiKey, s)
|
||||||
|
|||||||
4
unifi/setting_radius.generated.go
generated
4
unifi/setting_radius.generated.go
generated
@@ -62,7 +62,7 @@ func (dst *SettingRadius) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingRadius(ctx context.Context, site string) (*SettingRadius, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingRadiusKey)
|
s, f, err := c.GetSetting(ctx, site, SettingRadiusKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -74,7 +74,7 @@ func (c *client) GetSettingRadius(ctx context.Context, site string) (*SettingRad
|
|||||||
return f.(*SettingRadius), nil
|
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) {
|
func (c *client) UpdateSettingRadius(ctx context.Context, site string, s *SettingRadius) (*SettingRadius, error) {
|
||||||
s.Key = SettingRadiusKey
|
s.Key = SettingRadiusKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingRadiusKey, s)
|
result, err := c.SetSetting(ctx, site, SettingRadiusKey, s)
|
||||||
|
|||||||
4
unifi/setting_rsyslogd.generated.go
generated
4
unifi/setting_rsyslogd.generated.go
generated
@@ -63,7 +63,7 @@ func (dst *SettingRsyslogd) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingRsyslogd(ctx context.Context, site string) (*SettingRsyslogd, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingRsyslogdKey)
|
s, f, err := c.GetSetting(ctx, site, SettingRsyslogdKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -75,7 +75,7 @@ func (c *client) GetSettingRsyslogd(ctx context.Context, site string) (*SettingR
|
|||||||
return f.(*SettingRsyslogd), nil
|
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) {
|
func (c *client) UpdateSettingRsyslogd(ctx context.Context, site string, s *SettingRsyslogd) (*SettingRsyslogd, error) {
|
||||||
s.Key = SettingRsyslogdKey
|
s.Key = SettingRsyslogdKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingRsyslogdKey, s)
|
result, err := c.SetSetting(ctx, site, SettingRsyslogdKey, s)
|
||||||
|
|||||||
4
unifi/setting_snmp.generated.go
generated
4
unifi/setting_snmp.generated.go
generated
@@ -52,7 +52,7 @@ func (dst *SettingSnmp) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingSnmp(ctx context.Context, site string) (*SettingSnmp, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingSnmpKey)
|
s, f, err := c.GetSetting(ctx, site, SettingSnmpKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -64,7 +64,7 @@ func (c *client) GetSettingSnmp(ctx context.Context, site string) (*SettingSnmp,
|
|||||||
return f.(*SettingSnmp), nil
|
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) {
|
func (c *client) UpdateSettingSnmp(ctx context.Context, site string, s *SettingSnmp) (*SettingSnmp, error) {
|
||||||
s.Key = SettingSnmpKey
|
s.Key = SettingSnmpKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingSnmpKey, s)
|
result, err := c.SetSetting(ctx, site, SettingSnmpKey, s)
|
||||||
|
|||||||
4
unifi/setting_ssl_inspection.generated.go
generated
4
unifi/setting_ssl_inspection.generated.go
generated
@@ -48,7 +48,7 @@ func (dst *SettingSslInspection) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingSslInspection(ctx context.Context, site string) (*SettingSslInspection, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingSslInspectionKey)
|
s, f, err := c.GetSetting(ctx, site, SettingSslInspectionKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -60,7 +60,7 @@ func (c *client) GetSettingSslInspection(ctx context.Context, site string) (*Set
|
|||||||
return f.(*SettingSslInspection), nil
|
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) {
|
func (c *client) UpdateSettingSslInspection(ctx context.Context, site string, s *SettingSslInspection) (*SettingSslInspection, error) {
|
||||||
s.Key = SettingSslInspectionKey
|
s.Key = SettingSslInspectionKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingSslInspectionKey, s)
|
result, err := c.SetSetting(ctx, site, SettingSslInspectionKey, s)
|
||||||
|
|||||||
4
unifi/setting_super_cloudaccess.generated.go
generated
4
unifi/setting_super_cloudaccess.generated.go
generated
@@ -54,7 +54,7 @@ func (dst *SettingSuperCloudaccess) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingSuperCloudaccess(ctx context.Context, site string) (*SettingSuperCloudaccess, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingSuperCloudaccessKey)
|
s, f, err := c.GetSetting(ctx, site, SettingSuperCloudaccessKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -66,7 +66,7 @@ func (c *client) GetSettingSuperCloudaccess(ctx context.Context, site string) (*
|
|||||||
return f.(*SettingSuperCloudaccess), nil
|
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) {
|
func (c *client) UpdateSettingSuperCloudaccess(ctx context.Context, site string, s *SettingSuperCloudaccess) (*SettingSuperCloudaccess, error) {
|
||||||
s.Key = SettingSuperCloudaccessKey
|
s.Key = SettingSuperCloudaccessKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingSuperCloudaccessKey, s)
|
result, err := c.SetSetting(ctx, site, SettingSuperCloudaccessKey, s)
|
||||||
|
|||||||
4
unifi/setting_super_events.generated.go
generated
4
unifi/setting_super_events.generated.go
generated
@@ -48,7 +48,7 @@ func (dst *SettingSuperEvents) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingSuperEvents(ctx context.Context, site string) (*SettingSuperEvents, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingSuperEventsKey)
|
s, f, err := c.GetSetting(ctx, site, SettingSuperEventsKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -60,7 +60,7 @@ func (c *client) GetSettingSuperEvents(ctx context.Context, site string) (*Setti
|
|||||||
return f.(*SettingSuperEvents), nil
|
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) {
|
func (c *client) UpdateSettingSuperEvents(ctx context.Context, site string, s *SettingSuperEvents) (*SettingSuperEvents, error) {
|
||||||
s.Key = SettingSuperEventsKey
|
s.Key = SettingSuperEventsKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingSuperEventsKey, s)
|
result, err := c.SetSetting(ctx, site, SettingSuperEventsKey, s)
|
||||||
|
|||||||
4
unifi/setting_super_fwupdate.generated.go
generated
4
unifi/setting_super_fwupdate.generated.go
generated
@@ -50,7 +50,7 @@ func (dst *SettingSuperFwupdate) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingSuperFwupdate(ctx context.Context, site string) (*SettingSuperFwupdate, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingSuperFwupdateKey)
|
s, f, err := c.GetSetting(ctx, site, SettingSuperFwupdateKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -62,7 +62,7 @@ func (c *client) GetSettingSuperFwupdate(ctx context.Context, site string) (*Set
|
|||||||
return f.(*SettingSuperFwupdate), nil
|
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) {
|
func (c *client) UpdateSettingSuperFwupdate(ctx context.Context, site string, s *SettingSuperFwupdate) (*SettingSuperFwupdate, error) {
|
||||||
s.Key = SettingSuperFwupdateKey
|
s.Key = SettingSuperFwupdateKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingSuperFwupdateKey, s)
|
result, err := c.SetSetting(ctx, site, SettingSuperFwupdateKey, s)
|
||||||
|
|||||||
4
unifi/setting_super_identity.generated.go
generated
4
unifi/setting_super_identity.generated.go
generated
@@ -49,7 +49,7 @@ func (dst *SettingSuperIdentity) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingSuperIdentity(ctx context.Context, site string) (*SettingSuperIdentity, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingSuperIdentityKey)
|
s, f, err := c.GetSetting(ctx, site, SettingSuperIdentityKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -61,7 +61,7 @@ func (c *client) GetSettingSuperIdentity(ctx context.Context, site string) (*Set
|
|||||||
return f.(*SettingSuperIdentity), nil
|
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) {
|
func (c *client) UpdateSettingSuperIdentity(ctx context.Context, site string, s *SettingSuperIdentity) (*SettingSuperIdentity, error) {
|
||||||
s.Key = SettingSuperIdentityKey
|
s.Key = SettingSuperIdentityKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingSuperIdentityKey, s)
|
result, err := c.SetSetting(ctx, site, SettingSuperIdentityKey, s)
|
||||||
|
|||||||
4
unifi/setting_super_mail.generated.go
generated
4
unifi/setting_super_mail.generated.go
generated
@@ -48,7 +48,7 @@ func (dst *SettingSuperMail) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingSuperMail(ctx context.Context, site string) (*SettingSuperMail, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingSuperMailKey)
|
s, f, err := c.GetSetting(ctx, site, SettingSuperMailKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -60,7 +60,7 @@ func (c *client) GetSettingSuperMail(ctx context.Context, site string) (*Setting
|
|||||||
return f.(*SettingSuperMail), nil
|
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) {
|
func (c *client) UpdateSettingSuperMail(ctx context.Context, site string, s *SettingSuperMail) (*SettingSuperMail, error) {
|
||||||
s.Key = SettingSuperMailKey
|
s.Key = SettingSuperMailKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingSuperMailKey, s)
|
result, err := c.SetSetting(ctx, site, SettingSuperMailKey, s)
|
||||||
|
|||||||
4
unifi/setting_super_mgmt.generated.go
generated
4
unifi/setting_super_mgmt.generated.go
generated
@@ -113,7 +113,7 @@ func (dst *SettingSuperMgmt) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingSuperMgmt(ctx context.Context, site string) (*SettingSuperMgmt, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingSuperMgmtKey)
|
s, f, err := c.GetSetting(ctx, site, SettingSuperMgmtKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -125,7 +125,7 @@ func (c *client) GetSettingSuperMgmt(ctx context.Context, site string) (*Setting
|
|||||||
return f.(*SettingSuperMgmt), nil
|
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) {
|
func (c *client) UpdateSettingSuperMgmt(ctx context.Context, site string, s *SettingSuperMgmt) (*SettingSuperMgmt, error) {
|
||||||
s.Key = SettingSuperMgmtKey
|
s.Key = SettingSuperMgmtKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingSuperMgmtKey, s)
|
result, err := c.SetSetting(ctx, site, SettingSuperMgmtKey, s)
|
||||||
|
|||||||
4
unifi/setting_super_sdn.generated.go
generated
4
unifi/setting_super_sdn.generated.go
generated
@@ -53,7 +53,7 @@ func (dst *SettingSuperSdn) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingSuperSdn(ctx context.Context, site string) (*SettingSuperSdn, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingSuperSdnKey)
|
s, f, err := c.GetSetting(ctx, site, SettingSuperSdnKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -65,7 +65,7 @@ func (c *client) GetSettingSuperSdn(ctx context.Context, site string) (*SettingS
|
|||||||
return f.(*SettingSuperSdn), nil
|
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) {
|
func (c *client) UpdateSettingSuperSdn(ctx context.Context, site string, s *SettingSuperSdn) (*SettingSuperSdn, error) {
|
||||||
s.Key = SettingSuperSdnKey
|
s.Key = SettingSuperSdnKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingSuperSdnKey, s)
|
result, err := c.SetSetting(ctx, site, SettingSuperSdnKey, s)
|
||||||
|
|||||||
4
unifi/setting_super_smtp.generated.go
generated
4
unifi/setting_super_smtp.generated.go
generated
@@ -59,7 +59,7 @@ func (dst *SettingSuperSmtp) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingSuperSmtp(ctx context.Context, site string) (*SettingSuperSmtp, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingSuperSmtpKey)
|
s, f, err := c.GetSetting(ctx, site, SettingSuperSmtpKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -71,7 +71,7 @@ func (c *client) GetSettingSuperSmtp(ctx context.Context, site string) (*Setting
|
|||||||
return f.(*SettingSuperSmtp), nil
|
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) {
|
func (c *client) UpdateSettingSuperSmtp(ctx context.Context, site string, s *SettingSuperSmtp) (*SettingSuperSmtp, error) {
|
||||||
s.Key = SettingSuperSmtpKey
|
s.Key = SettingSuperSmtpKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingSuperSmtpKey, s)
|
result, err := c.SetSetting(ctx, site, SettingSuperSmtpKey, s)
|
||||||
|
|||||||
4
unifi/setting_teleport.generated.go
generated
4
unifi/setting_teleport.generated.go
generated
@@ -49,7 +49,7 @@ func (dst *SettingTeleport) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingTeleport(ctx context.Context, site string) (*SettingTeleport, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingTeleportKey)
|
s, f, err := c.GetSetting(ctx, site, SettingTeleportKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -61,7 +61,7 @@ func (c *client) GetSettingTeleport(ctx context.Context, site string) (*SettingT
|
|||||||
return f.(*SettingTeleport), nil
|
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) {
|
func (c *client) UpdateSettingTeleport(ctx context.Context, site string, s *SettingTeleport) (*SettingTeleport, error) {
|
||||||
s.Key = SettingTeleportKey
|
s.Key = SettingTeleportKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingTeleportKey, s)
|
result, err := c.SetSetting(ctx, site, SettingTeleportKey, s)
|
||||||
|
|||||||
4
unifi/setting_usg.generated.go
generated
4
unifi/setting_usg.generated.go
generated
@@ -160,7 +160,7 @@ func (dst *SettingUsgDNSVerification) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingUsg(ctx context.Context, site string) (*SettingUsg, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingUsgKey)
|
s, f, err := c.GetSetting(ctx, site, SettingUsgKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -172,7 +172,7 @@ func (c *client) GetSettingUsg(ctx context.Context, site string) (*SettingUsg, e
|
|||||||
return f.(*SettingUsg), nil
|
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) {
|
func (c *client) UpdateSettingUsg(ctx context.Context, site string, s *SettingUsg) (*SettingUsg, error) {
|
||||||
s.Key = SettingUsgKey
|
s.Key = SettingUsgKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingUsgKey, s)
|
result, err := c.SetSetting(ctx, site, SettingUsgKey, s)
|
||||||
|
|||||||
4
unifi/setting_usw.generated.go
generated
4
unifi/setting_usw.generated.go
generated
@@ -48,7 +48,7 @@ func (dst *SettingUsw) UnmarshalJSON(b []byte) error {
|
|||||||
return nil
|
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) {
|
func (c *client) GetSettingUsw(ctx context.Context, site string) (*SettingUsw, error) {
|
||||||
s, f, err := c.GetSetting(ctx, site, SettingUswKey)
|
s, f, err := c.GetSetting(ctx, site, SettingUswKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -60,7 +60,7 @@ func (c *client) GetSettingUsw(ctx context.Context, site string) (*SettingUsw, e
|
|||||||
return f.(*SettingUsw), nil
|
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) {
|
func (c *client) UpdateSettingUsw(ctx context.Context, site string, s *SettingUsw) (*SettingUsw, error) {
|
||||||
s.Key = SettingUswKey
|
s.Key = SettingUswKey
|
||||||
result, err := c.SetSetting(ctx, site, SettingUswKey, s)
|
result, err := c.SetSetting(ctx, site, SettingUswKey, s)
|
||||||
|
|||||||
Reference in New Issue
Block a user