Files
go-unifi/unifi/dashboard.go
2024-07-13 04:52:27 -05:00

29 lines
777 B
Go

// Code generated from ace.jar fields *.json files
// DO NOT EDIT.
package unifi
import (
"context"
)
func (c *Client) ListDashboard(ctx context.Context, site string) ([]Dashboard, error) {
return c.listDashboard(ctx, site)
}
func (c *Client) GetDashboard(ctx context.Context, site, id string) (*Dashboard, error) {
return c.getDashboard(ctx, site, id)
}
func (c *Client) DeleteDashboard(ctx context.Context, site, id string) error {
return c.deleteDashboard(ctx, site, id)
}
func (c *Client) CreateDashboard(ctx context.Context, site string, d *Dashboard) (*Dashboard, error) {
return c.createDashboard(ctx, site, d)
}
func (c *Client) UpdateDashboard(ctx context.Context, site string, d *Dashboard) (*Dashboard, error) {
return c.updateDashboard(ctx, site, d)
}