From 8f0bac78f68a3b36eca536d3afa64243ae9d1b06 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 10 Aug 2022 11:06:46 +1000 Subject: [PATCH] [create-pull-request] automated change (#90) Co-authored-by: joshuaspence --- unifi/device.generated.go | 4 +- unifi/network.generated.go | 310 +++++++++++----------- unifi/setting_auto_speedtest.generated.go | 7 +- unifi/setting_global_switch.generated.go | 94 +++++++ unifi/setting_radio_ai.generated.go | 2 +- unifi/setting_super_sdn.generated.go | 16 +- unifi/user.generated.go | 26 +- unifi/version.generated.go | 2 +- 8 files changed, 277 insertions(+), 184 deletions(-) create mode 100644 unifi/setting_global_switch.generated.go diff --git a/unifi/device.generated.go b/unifi/device.generated.go index 6e2d7dc..2003957 100644 --- a/unifi/device.generated.go +++ b/unifi/device.generated.go @@ -292,8 +292,8 @@ func (dst *DevicePortOverrides) UnmarshalJSON(b []byte) error { type DeviceRadioTable struct { AntennaGain int `json:"antenna_gain,omitempty"` // ^-?([0-9]|[1-9][0-9]) AntennaID int `json:"antenna_id,omitempty"` // -1|[0-9] - BackupChannel string `json:"backup_channel,omitempty"` // [0-9]|[1][0-4]|4.5|5|16|21|34|36|37|38|40|42|44|46|48|52|53|56|60|64|69|85|100|101|104|108|112|117|116|120|124|128|132|133|136|140|144|149|153|157|161|165|181|183|184|185|187|188|189|192|196|197|213|229|auto - Channel string `json:"channel,omitempty"` // [0-9]|[1][0-4]|4.5|5|16|21|34|36|37|38|40|42|44|46|48|52|53|56|60|64|69|85|100|101|104|108|112|117|116|120|124|128|132|133|136|140|144|149|153|157|161|165|181|183|184|185|187|188|189|192|196|197|213|229|auto + BackupChannel string `json:"backup_channel,omitempty"` // [0-9]|[1][0-4]|4.5|5|16|21|33|34|36|37|38|40|41|42|44|45|46|48|49|52|53|56|57|60|61|64|65|69|73|77|81|85|89|93|97|100|101|104|105|108|109|112|113|117|116|120|121|124|125|128|129|132|133|136|137|140|141|144|145|149|153|157|161|165|169|173|177|181|183|184|185|187|188|189|192|193|196|197|201|205|209|213|217|221|225|229|233|auto + Channel string `json:"channel,omitempty"` // [0-9]|[1][0-4]|4.5|5|16|21|33|34|36|37|38|40|41|42|44|45|46|48|49|52|53|56|57|60|61|64|65|69|73|77|81|85|89|93|97|100|101|104|105|108|109|112|113|117|116|120|121|124|125|128|129|132|133|136|137|140|141|144|145|149|153|157|161|165|169|173|177|181|183|184|185|187|188|189|192|193|196|197|201|205|209|213|217|221|225|229|233|auto HardNoiseFloorEnabled bool `json:"hard_noise_floor_enabled,omitempty"` Ht int `json:"ht,omitempty"` // 20|40|80|160|1080|2160|4320 LoadbalanceEnabled bool `json:"loadbalance_enabled,omitempty"` diff --git a/unifi/network.generated.go b/unifi/network.generated.go index caa563b..884c783 100644 --- a/unifi/network.generated.go +++ b/unifi/network.generated.go @@ -25,159 +25,163 @@ type Network struct { NoDelete bool `json:"attr_no_delete,omitempty"` NoEdit bool `json:"attr_no_edit,omitempty"` - AutoScaleEnabled bool `json:"auto_scale_enabled"` - ClientMACList []string `json:"client_mac_list,omitempty"` // ^([0-9A-Fa-f]{2}:){5}([0-9A-Fa-f]{2})$ - DHCPDBootEnabled bool `json:"dhcpd_boot_enabled"` - DHCPDBootFilename string `json:"dhcpd_boot_filename,omitempty"` // .{1,256} - DHCPDBootServer string `json:"dhcpd_boot_server"` // ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$|^$|(?=^.{3,253}$)(^((?!-)[a-zA-Z0-9-]{1,63}(?