Add GetSettingMgmt and UpdateSettingMgmt functions
This commit is contained in:
13
unifi/setting_mgmt.go
Normal file
13
unifi/setting_mgmt.go
Normal 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)
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user