Add GetSettingMgmt and UpdateSettingMgmt functions

This commit is contained in:
Kurt McAlpine
2021-03-31 16:56:58 +13:00
committed by Paul Tyng
parent 0c90e4c32e
commit 74e2b9dd38

13
unifi/setting_mgmt.go Normal file
View File

@@ -0,0 +1,13 @@
package unifi
import (
"context"
)
func (c *Client) GetSettingMgmt(ctx context.Context, site string) (*SettingMgmt, error) {
return c.getSettingMgmt(ctx, site)
}
func (c *Client) UpdateSettingMgmt(ctx context.Context, site string, d *SettingMgmt) (*SettingMgmt, error) {
return c.updateSettingMgmt(ctx, site, d)
}