diff --git a/unifi/device.generated.go b/unifi/device.generated.go index 4386b57..6e2d7dc 100644 --- a/unifi/device.generated.go +++ b/unifi/device.generated.go @@ -295,7 +295,7 @@ type DeviceRadioTable struct { 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 HardNoiseFloorEnabled bool `json:"hard_noise_floor_enabled,omitempty"` - Ht int `json:"ht,omitempty"` // 20|40|80|160|1080|2160 + Ht int `json:"ht,omitempty"` // 20|40|80|160|1080|2160|4320 LoadbalanceEnabled bool `json:"loadbalance_enabled,omitempty"` Maxsta int `json:"maxsta,omitempty"` // [1-9]|[1-9][0-9]|1[0-9]{2}|200|^$ MinRssi int `json:"min_rssi,omitempty"` // ^-(6[7-9]|[7-8][0-9]|90)$ @@ -367,7 +367,7 @@ func (dst *DeviceRpsOverride) UnmarshalJSON(b []byte) error { type DeviceRpsPortTable struct { Name string `json:"name,omitempty"` // .{0,32} - PortIDX int `json:"port_idx,omitempty"` // [1-6] + PortIDX int `json:"port_idx,omitempty"` // [1-8] PortMode string `json:"port_mode,omitempty"` // auto|force_active|manual|disabled } diff --git a/unifi/firewall_rule.generated.go b/unifi/firewall_rule.generated.go index 2a9170e..412b2e7 100644 --- a/unifi/firewall_rule.generated.go +++ b/unifi/firewall_rule.generated.go @@ -43,9 +43,10 @@ type FirewallRule struct { Name string `json:"name,omitempty"` // .{1,128} Protocol string `json:"protocol"` // ^$|all|([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])|tcp_udp|ah|ax.25|dccp|ddp|egp|eigrp|encap|esp|etherip|fc|ggp|gre|hip|hmp|icmp|idpr-cmtp|idrp|igmp|igp|ip|ipcomp|ipencap|ipip|ipv6|ipv6-frag|ipv6-icmp|ipv6-nonxt|ipv6-opts|ipv6-route|isis|iso-tp4|l2tp|manet|mobility-header|mpls-in-ip|ospf|pim|pup|rdp|rohc|rspf|rsvp|sctp|shim6|skip|st|tcp|udp|udplite|vmtp|vrrp|wesp|xns-idp|xtp ProtocolMatchExcepted bool `json:"protocol_match_excepted"` - ProtocolV6 string `json:"protocol_v6"` // ^$|([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])|ah|all|dccp|eigrp|esp|gre|icmpv6|ipcomp|ipv6|ipv6-frag|ipv6-icmp|ipv6-nonxt|ipv6-opts|ipv6-route|isis|l2tp|manet|mobility-header|mpls-in-ip|ospf|pim|rsvp|sctp|shim6|tcp|tcp_udp|udp|vrrp - RuleIndex int `json:"rule_index,omitempty"` // 2[0-9]{3}|4[0-9]{3} - Ruleset string `json:"ruleset,omitempty"` // WAN_IN|WAN_OUT|WAN_LOCAL|LAN_IN|LAN_OUT|LAN_LOCAL|GUEST_IN|GUEST_OUT|GUEST_LOCAL|WANv6_IN|WANv6_OUT|WANv6_LOCAL|LANv6_IN|LANv6_OUT|LANv6_LOCAL|GUESTv6_IN|GUESTv6_OUT|GUESTv6_LOCAL + ProtocolV6 string `json:"protocol_v6"` // ^$|([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])|ah|all|dccp|eigrp|esp|gre|icmpv6|ipcomp|ipv6|ipv6-frag|ipv6-icmp|ipv6-nonxt|ipv6-opts|ipv6-route|isis|l2tp|manet|mobility-header|mpls-in-ip|ospf|pim|rsvp|sctp|shim6|tcp|tcp_udp|udp|vrrp + RuleIndex int `json:"rule_index,omitempty"` // 2[0-9]{3}|4[0-9]{3} + Ruleset string `json:"ruleset,omitempty"` // WAN_IN|WAN_OUT|WAN_LOCAL|LAN_IN|LAN_OUT|LAN_LOCAL|GUEST_IN|GUEST_OUT|GUEST_LOCAL|WANv6_IN|WANv6_OUT|WANv6_LOCAL|LANv6_IN|LANv6_OUT|LANv6_LOCAL|GUESTv6_IN|GUESTv6_OUT|GUESTv6_LOCAL + SettingPreference string `json:"setting_preference,omitempty"` // auto|manual SrcAddress string `json:"src_address,omitempty"` SrcAddressIPV6 string `json:"src_address_ipv6,omitempty"` SrcFirewallGroupIDs []string `json:"src_firewallgroup_ids,omitempty"` // [\d\w]+ diff --git a/unifi/network.generated.go b/unifi/network.generated.go index 815f4fa..59c6bdf 100644 --- a/unifi/network.generated.go +++ b/unifi/network.generated.go @@ -110,11 +110,13 @@ type Network struct { IntraNetworkAccessEnabled bool `json:"intra_network_access_enabled"` IntraNetworks []string `json:"intra_networks,omitempty"` // [\d\w]+ IsNAT bool `json:"is_nat"` + L2TpAllowWeakCiphers bool `json:"l2tp_allow_weak_ciphers"` L2TpInterface string `json:"l2tp_interface,omitempty"` // wan|wan2 L2TpLocalWANIP string `json:"l2tp_local_wan_ip,omitempty"` // ^any$|^(([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])$ LteLanEnabled bool `json:"lte_lan_enabled"` MACOverride string `json:"mac_override"` // (^$|^([0-9A-Fa-f]{2}:){5}([0-9A-Fa-f]{2})$) MACOverrideEnabled bool `json:"mac_override_enabled"` + MdnsEnabled bool `json:"mdns_enabled"` NATOutboundIPAddresses []NetworkNATOutboundIPAddresses `json:"nat_outbound_ip_addresses,omitempty"` Name string `json:"name,omitempty"` // .{1,128} NetworkGroup string `json:"networkgroup,omitempty"` // LAN[2-8]? @@ -136,7 +138,8 @@ type Network struct { RemoteVPNSubnets []string `json:"remote_vpn_subnets,omitempty"` // ^(([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])\/([1-9]|[1-2][0-9]|30)$|^$ ReportWANEvent bool `json:"report_wan_event"` RequireMschapv2 bool `json:"require_mschapv2"` - RouteDistance int `json:"route_distance,omitempty"` // ^[1-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]$|^$ + RouteDistance int `json:"route_distance,omitempty"` // ^[1-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]$|^$ + SettingPreference string `json:"setting_preference,omitempty"` // auto|manual TeleportEnabled bool `json:"teleport_enabled"` UpnpLanEnabled bool `json:"upnp_lan_enabled"` UserGroupID string `json:"usergroup_id"` @@ -144,17 +147,14 @@ type Network struct { VLANEnabled bool `json:"vlan_enabled"` VPNClientDefaultRoute bool `json:"vpn_client_default_route"` VPNClientPullDNS bool `json:"vpn_client_pull_dns"` - VPNCombinedDHCPDStart string `json:"vpn_combined_dhcpd_start"` // ^(([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])$|^$ - VPNCombinedDHCPDStop string `json:"vpn_combined_dhcpd_stop"` // ^(([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])$|^$ - VPNCombinedEnabled bool `json:"vpn_combined_enabled"` - VPNCombinedIPSubnet string `json:"vpn_combined_ip_subnet,omitempty"` // ^(([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])\/([1-9]|[1-2][0-9]|30)$ - VPNType string `json:"vpn_type,omitempty"` // auto|ipsec-vpn|openvpn-vpn|pptp-client|l2tp-server|pptp-server|uid-server + VPNType string `json:"vpn_type,omitempty"` // auto|ipsec-vpn|openvpn-vpn|pptp-client|l2tp-server|pptp-server|uid-server WANDHCPOptions []NetworkWANDHCPOptions `json:"wan_dhcp_options,omitempty"` WANDHCPv6PDSize int `json:"wan_dhcpv6_pd_size,omitempty"` // ^(4[89]|5[0-9]|6[0-4])$|^$ WANDNS1 string `json:"wan_dns1"` // ^(([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])$|^$ WANDNS2 string `json:"wan_dns2"` // ^(([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])$|^$ WANDNS3 string `json:"wan_dns3"` // ^(([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])$|^$ WANDNS4 string `json:"wan_dns4"` // ^(([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])$|^$ + WANDNSPreference string `json:"wan_dns_preference,omitempty"` // auto|manual WANEgressQOS int `json:"wan_egress_qos,omitempty"` // [1-7]|^$ WANGateway string `json:"wan_gateway,omitempty"` // ^(([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])$ WANGatewayV6 string `json:"wan_gateway_v6"` // ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$|^$ diff --git a/unifi/port_profile.generated.go b/unifi/port_profile.generated.go index 4bb62ef..cec087b 100644 --- a/unifi/port_profile.generated.go +++ b/unifi/port_profile.generated.go @@ -45,6 +45,7 @@ type PortProfile struct { PriorityQueue2Level int `json:"priority_queue2_level,omitempty"` // [0-9]|[1-9][0-9]|100 PriorityQueue3Level int `json:"priority_queue3_level,omitempty"` // [0-9]|[1-9][0-9]|100 PriorityQueue4Level int `json:"priority_queue4_level,omitempty"` // [0-9]|[1-9][0-9]|100 + SettingPreference string `json:"setting_preference,omitempty"` // auto|manual Speed int `json:"speed,omitempty"` // 10|100|1000|2500|5000|10000|20000|25000|40000|50000|100000 StormctrlBroadcastastEnabled bool `json:"stormctrl_bcast_enabled"` StormctrlBroadcastastLevel int `json:"stormctrl_bcast_level,omitempty"` // [0-9]|[1-9][0-9]|100 diff --git a/unifi/setting_guest_access.generated.go b/unifi/setting_guest_access.generated.go index f02cbb5..b926798 100644 --- a/unifi/setting_guest_access.generated.go +++ b/unifi/setting_guest_access.generated.go @@ -91,7 +91,8 @@ type SettingGuestAccess struct { RestrictedDNSEnabled bool `json:"restricted_dns_enabled"` RestrictedDNSServers []string `json:"restricted_dns_servers,omitempty"` // ^(([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])$|^$ RestrictedSubnet string `json:"restricted_subnet_,omitempty"` - TemplateEngine string `json:"template_engine,omitempty"` // jsp|angular + SettingPreference string `json:"setting_preference,omitempty"` // auto|manual + TemplateEngine string `json:"template_engine,omitempty"` // jsp|angular VoucherCustomized bool `json:"voucher_customized"` VoucherEnabled bool `json:"voucher_enabled"` WechatAppID string `json:"wechat_app_id"` diff --git a/unifi/setting_ips.generated.go b/unifi/setting_ips.generated.go index 7501c31..ba19118 100644 --- a/unifi/setting_ips.generated.go +++ b/unifi/setting_ips.generated.go @@ -30,7 +30,6 @@ type SettingIps struct { DNSFiltering bool `json:"dns_filtering"` DNSFilters []SettingIpsDNSFilters `json:"dns_filters,omitempty"` EnabledCategories []string `json:"enabled_categories,omitempty"` // emerging-activex|emerging-attackresponse|botcc|emerging-chat|ciarmy|compromised|emerging-dns|emerging-dos|dshield|emerging-exploit|emerging-ftp|emerging-games|emerging-icmp|emerging-icmpinfo|emerging-imap|emerging-inappropriate|emerging-info|emerging-malware|emerging-misc|emerging-mobile|emerging-netbios|emerging-p2p|emerging-policy|emerging-pop3|emerging-rpc|emerging-scada|emerging-scan|emerging-shellcode|emerging-smtp|emerging-snmp|emerging-sql|emerging-telnet|emerging-tftp|tor|emerging-trojan|emerging-useragent|emerging-voip|emerging-webapps|emerging-webclient|emerging-webserver|emerging-worm - EndpointScanning bool `json:"endpoint_scanning"` Honeypot []SettingIpsHoneypot `json:"honeypot,omitempty"` HoneypotEnabled bool `json:"honeypot_enabled"` IPsMode string `json:"ips_mode,omitempty"` // ids|ips|ipsInline|disabled diff --git a/unifi/setting_mgmt.generated.go b/unifi/setting_mgmt.generated.go index 821c4a4..6f086dc 100644 --- a/unifi/setting_mgmt.generated.go +++ b/unifi/setting_mgmt.generated.go @@ -30,6 +30,7 @@ type SettingMgmt struct { AdvancedFeatureEnabled bool `json:"advanced_feature_enabled"` AlertEnabled bool `json:"alert_enabled"` AutoUpgrade bool `json:"auto_upgrade"` + AutoUpgradeHour int `json:"auto_upgrade_hour,omitempty"` // [0-9]|1[0-9]|2[0-3]|^$ BootSound bool `json:"boot_sound"` LedEnabled bool `json:"led_enabled"` OutdoorModeEnabled bool `json:"outdoor_mode_enabled"` @@ -49,6 +50,8 @@ type SettingMgmt struct { func (dst *SettingMgmt) UnmarshalJSON(b []byte) error { type Alias SettingMgmt aux := &struct { + AutoUpgradeHour emptyStringInt `json:"auto_upgrade_hour"` + *Alias }{ Alias: (*Alias)(dst), @@ -58,6 +61,7 @@ func (dst *SettingMgmt) UnmarshalJSON(b []byte) error { if err != nil { return fmt.Errorf("unable to unmarshal alias: %w", err) } + dst.AutoUpgradeHour = int(aux.AutoUpgradeHour) return nil } diff --git a/unifi/setting_ntp.generated.go b/unifi/setting_ntp.generated.go index 569b75e..d56caf3 100644 --- a/unifi/setting_ntp.generated.go +++ b/unifi/setting_ntp.generated.go @@ -27,10 +27,11 @@ type SettingNtp struct { Key string `json:"key"` - NtpServer1 string `json:"ntp_server_1,omitempty"` - NtpServer2 string `json:"ntp_server_2,omitempty"` - NtpServer3 string `json:"ntp_server_3,omitempty"` - NtpServer4 string `json:"ntp_server_4,omitempty"` + NtpServer1 string `json:"ntp_server_1,omitempty"` + NtpServer2 string `json:"ntp_server_2,omitempty"` + NtpServer3 string `json:"ntp_server_3,omitempty"` + NtpServer4 string `json:"ntp_server_4,omitempty"` + SettingPreference string `json:"setting_preference,omitempty"` // auto|manual } func (dst *SettingNtp) UnmarshalJSON(b []byte) error { diff --git a/unifi/setting_radio_ai.generated.go b/unifi/setting_radio_ai.generated.go index 8ebea4b..d14cb3d 100644 --- a/unifi/setting_radio_ai.generated.go +++ b/unifi/setting_radio_ai.generated.go @@ -27,17 +27,19 @@ type SettingRadioAi struct { Key string `json:"key"` - ChannelsNa []int `json:"channels_na,omitempty"` // 36|40|44|48|52|56|60|64|100|104|108|112|116|120|124|128|132|136|140|144|149|153|157|161|165 - ChannelsNg []int `json:"channels_ng,omitempty"` // 1|2|3|4|5|6|7|8|9|10|11|12|13|14 - CronExpr string `json:"cron_expr,omitempty"` - Default bool `json:"default"` - Enabled bool `json:"enabled"` - ExcludeDevices []string `json:"exclude_devices,omitempty"` // ([0-9a-z]{2}:){5}[0-9a-z]{2} - HtModesNa []int `json:"ht_modes_na,omitempty"` // ^(20|40|80|160)$ - HtModesNg []int `json:"ht_modes_ng,omitempty"` // ^(20|40)$ - Optimize []string `json:"optimize,omitempty"` // channel|power - Radios []string `json:"radios,omitempty"` // na|ng - UseXY bool `json:"useXY"` + AutoAdjustChannelsToCountry bool `json:"auto_adjust_channels_to_country"` + ChannelsNa []int `json:"channels_na,omitempty"` // 36|40|44|48|52|56|60|64|100|104|108|112|116|120|124|128|132|136|140|144|149|153|157|161|165 + ChannelsNg []int `json:"channels_ng,omitempty"` // 1|2|3|4|5|6|7|8|9|10|11|12|13|14 + CronExpr string `json:"cron_expr,omitempty"` + Default bool `json:"default"` + Enabled bool `json:"enabled"` + ExcludeDevices []string `json:"exclude_devices,omitempty"` // ([0-9a-z]{2}:){5}[0-9a-z]{2} + HtModesNa []int `json:"ht_modes_na,omitempty"` // ^(20|40|80|160)$ + HtModesNg []int `json:"ht_modes_ng,omitempty"` // ^(20|40)$ + Optimize []string `json:"optimize,omitempty"` // channel|power + Radios []string `json:"radios,omitempty"` // na|ng + SettingPreference string `json:"setting_preference,omitempty"` // auto|manual + UseXY bool `json:"useXY"` } func (dst *SettingRadioAi) UnmarshalJSON(b []byte) error { diff --git a/unifi/setting_super_mgmt.generated.go b/unifi/setting_super_mgmt.generated.go index cd9a4ee..61f5629 100644 --- a/unifi/setting_super_mgmt.generated.go +++ b/unifi/setting_super_mgmt.generated.go @@ -51,6 +51,7 @@ type SettingSuperMgmt struct { ContactInfoShippingAddress2 string `json:"contact_info_shipping_address_2,omitempty"` ContactInfoState string `json:"contact_info_state,omitempty"` ContactInfoZip string `json:"contact_info_zip,omitempty"` + DataRetentionSettingPreference string `json:"data_retention_setting_preference,omitempty"` // auto|manual DataRetentionTimeEnabled bool `json:"data_retention_time_enabled"` DataRetentionTimeInHoursFor5MinutesScale int `json:"data_retention_time_in_hours_for_5minutes_scale,omitempty"` DataRetentionTimeInHoursForDailyScale int `json:"data_retention_time_in_hours_for_daily_scale,omitempty"` @@ -70,8 +71,7 @@ type SettingSuperMgmt struct { MultipleSitesEnabled bool `json:"multiple_sites_enabled"` OverrideInformHost bool `json:"override_inform_host"` OverrideInformHostLocation string `json:"override_inform_host_location,omitempty"` - OverrideInformHostType string `json:"override_inform_host_type,omitempty"` // unifi-os|custom - StoreEnabled string `json:"store_enabled,omitempty"` // disabled|super-only|everyone + StoreEnabled string `json:"store_enabled,omitempty"` // disabled|super-only|everyone TimeSeriesPerClientStatsEnabled bool `json:"time_series_per_client_stats_enabled"` XSshPassword string `json:"x_ssh_password,omitempty"` XSshUsername string `json:"x_ssh_username,omitempty"` diff --git a/unifi/setting_usg.generated.go b/unifi/setting_usg.generated.go index 0447b31..64c85d4 100644 --- a/unifi/setting_usg.generated.go +++ b/unifi/setting_usg.generated.go @@ -55,7 +55,6 @@ type SettingUsg struct { H323Module bool `json:"h323_module"` ICMPTimeout int `json:"icmp_timeout,omitempty"` LldpEnableAll bool `json:"lldp_enable_all"` - MdnsEnabled bool `json:"mdns_enabled"` MssClamp string `json:"mss_clamp,omitempty"` // auto|custom|disabled MssClampMss int `json:"mss_clamp_mss,omitempty"` // [1-9][0-9]{2,3} OffloadAccounting bool `json:"offload_accounting"` @@ -76,6 +75,7 @@ type SettingUsg struct { TCPSynSentTimeout int `json:"tcp_syn_sent_timeout,omitempty"` TCPTimeWaitTimeout int `json:"tcp_time_wait_timeout,omitempty"` TFTPModule bool `json:"tftp_module"` + TimeoutSettingPreference string `json:"timeout_setting_preference,omitempty"` // auto|manual UDPOtherTimeout int `json:"udp_other_timeout,omitempty"` UDPStreamTimeout int `json:"udp_stream_timeout,omitempty"` UpnpEnabled bool `json:"upnp_enabled"` diff --git a/unifi/version.generated.go b/unifi/version.generated.go index e0a0d43..b685b52 100644 --- a/unifi/version.generated.go +++ b/unifi/version.generated.go @@ -2,4 +2,4 @@ package unifi -const UnifiVersion = "6.5.55" +const UnifiVersion = "7.0.23" diff --git a/unifi/wlan.generated.go b/unifi/wlan.generated.go index 1579724..d39f213 100644 --- a/unifi/wlan.generated.go +++ b/unifi/wlan.generated.go @@ -58,6 +58,7 @@ type WLAN struct { MinrateNgAdvertisingRates bool `json:"minrate_ng_advertising_rates"` MinrateNgDataRateKbps int `json:"minrate_ng_data_rate_kbps,omitempty"` MinrateNgEnabled bool `json:"minrate_ng_enabled"` + MinrateSettingPreference string `json:"minrate_setting_preference,omitempty"` // auto|manual MulticastEnhanceEnabled bool `json:"mcastenhance_enabled"` Name string `json:"name,omitempty"` // .{1,32} NameCombineEnabled bool `json:"name_combine_enabled"` @@ -88,7 +89,8 @@ type WLAN struct { ScheduleEnabled bool `json:"schedule_enabled"` ScheduleReversed bool `json:"schedule_reversed"` ScheduleWithDuration []WLANScheduleWithDuration `json:"schedule_with_duration,omitempty"` - Security string `json:"security,omitempty"` // open|wpapsk|wep|wpaeap|osen + Security string `json:"security,omitempty"` // open|wpapsk|wep|wpaeap|osen + SettingPreference string `json:"setting_preference,omitempty"` // auto|manual TdlsProhibit bool `json:"tdls_prohibit"` UapsdEnabled bool `json:"uapsd_enabled"` UserGroupID string `json:"usergroup_id"`