James Stephenson
35eda4f67b
Refactor type generator
...
* Allows for generating top-level types for any embedded struct so
that sub-types can be properly instantiated from calling code
* Specifying `-no-embedded-types` will generate top-level types
rather than embedding the struct
* Refactored "Device" API
* All fields set to `omitempty` because it describes all possible
device types, so effectively any field could be omitted any time
* Fixed `get` call for "Device" API; replacing `rest` with `stat`
* Generated `get` and `update` calls for `Setting*` APIs
* Added `5.14.23` JSON files
2020-09-10 08:50:21 -04:00
Paul Tyng
79542b4006
Expose routing API
2020-08-27 23:06:31 -04:00
Paul Tyng
5726e0ab76
sort ascending
2020-08-27 21:52:32 -04:00
Paul Tyng
1e71303dd8
Merge pull request #6 from paultyng/account
...
Expose the Account API (RADIUS users)
2020-08-27 21:49:47 -04:00
James Stephenson
47fa522aba
Expose the Account API (RADIUS users)
...
* Adds Account CRUD API
* Enahnces `emptyStringInt` with a predicate for dynamically setting
which value should be interpreted as a blank JSON payload
2020-08-27 21:48:13 -04:00
Paul Tyng
ae40573bb7
Surface radius profiles
2020-05-20 22:01:47 -04:00
Paul Tyng
8e63bffebb
Generate from 5.12.72 fields
2020-05-20 22:01:47 -04:00
Paul Tyng
3d21ebbab0
Add 5.12.72 fields JSON
2020-05-20 22:01:47 -04:00
Paul Tyng
f0da875a46
Improve fields fetching
2020-05-20 22:01:47 -04:00
Paul Tyng
2c982433c3
Return wrapped errors in client
2020-03-26 16:13:57 -04:00
Paul Tyng
f74d29bd54
Fix empty string int marshalling in go 1.14
2020-03-26 16:13:36 -04:00
Paul Tyng
d076e78005
Add context support
2020-03-26 16:12:52 -04:00
Paul Tyng
19709dff50
Add support for IP on User
2020-02-19 10:32:44 -05:00
Paul Tyng
3fb1d0badb
Fix unmarshaling of dhcpd_leasetime
...
Issue #2
2020-02-10 11:07:31 -05:00
Paul Tyng
95a2437dcc
Fix maxsta unmarshaling
2020-02-06 11:12:45 -05:00
Paul Tyng
f740d52490
Typo
2020-02-02 15:58:43 -05:00
Paul Tyng
1f8ef07e63
Cleanup firewall rule names
2020-01-12 10:30:42 -05:00
Paul Tyng
091aff2b90
Update README.md
2020-01-12 10:15:02 -05:00
Paul Tyng
2849cbdf67
Update README.md
2020-01-10 14:44:53 -05:00
Paul Tyng
ca7112178a
Add godoc badge
2020-01-10 14:37:27 -05:00
Paul Tyng
435ecf9d6f
Initial version
...
Extracted from paultyng/terraform-provider-unifi@ef25893f14
2020-01-10 14:31:12 -05:00