From 74e2b9dd3842594e473fa4b4d39498f2ed37d8ff Mon Sep 17 00:00:00 2001 From: Kurt McAlpine Date: Wed, 31 Mar 2021 16:56:58 +1300 Subject: [PATCH] Add GetSettingMgmt and UpdateSettingMgmt functions --- unifi/setting_mgmt.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 unifi/setting_mgmt.go diff --git a/unifi/setting_mgmt.go b/unifi/setting_mgmt.go new file mode 100644 index 0000000..20d8405 --- /dev/null +++ b/unifi/setting_mgmt.go @@ -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) +}