Skip to content

Commit

Permalink
Surface radius profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
paultyng committed May 21, 2020
1 parent 8e63bff commit ae40573
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions unifi/radius_profile.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
package unifi

import (
"context"
)

func (c *Client) ListRADIUSProfile(ctx context.Context, site string) ([]RADIUSProfile, error) {
return c.listRADIUSProfile(ctx, site)
}

func (c *Client) GetRADIUSProfile(ctx context.Context, site, id string) (*RADIUSProfile, error) {
return c.getRADIUSProfile(ctx, site, id)
}

func (c *Client) DeleteRADIUSProfile(ctx context.Context, site, id string) error {
return c.deleteRADIUSProfile(ctx, site, id)
}

func (c *Client) CreateRADIUSProfile(ctx context.Context, site string, d *RADIUSProfile) (*RADIUSProfile, error) {
return c.createRADIUSProfile(ctx, site, d)
}

func (c *Client) UpdateRADIUSProfile(ctx context.Context, site string, d *RADIUSProfile) (*RADIUSProfile, error) {
return c.updateRADIUSProfile(ctx, site, d)
}

0 comments on commit ae40573

Please sign in to comment.