Class Network

Hierarchy (view full)

Constructors

Properties

_id: string
attr_hidden_id: string
attr_no_delete: boolean
auto_scale_enabled: boolean
dhcpd_boot_enabled: boolean
dhcpd_dns_1: string
dhcpd_dns_enabled: boolean
dhcpd_enabled: boolean
dhcpd_gateway_enabled: boolean
dhcpd_leasetime: number
dhcpd_ntp_enabled: boolean
dhcpd_relay_enabled: boolean
dhcpd_start: string
dhcpd_stop: string
dhcpd_time_offset_enabled: boolean
dhcpd_unifi_controller: string
dhcpdv6_enabled: boolean
dhcpguard_enabled: boolean
dhpcd_dns_2: string
dhpcd_dns_3: string
dhpcd_tftp_server: string
dhpcd_wins_enabled: boolean
dhpcd_wpad_url: string
domain_name: string
enabled: boolean
exposed_to_site_vpn: boolean
gateway_type: string
igmp_proxy_downstream: boolean
igmp_proxy_upstream: boolean
igmp_snooping: boolean
ip_subnet: string
ipv6_interface_type: string
ipv6_ra_enabled: boolean
is_nat: boolean
l2tp_allow_weak_ciphers: boolean
l2tp_interface: string
l2tp_local_wan_ip: string
lte_lan_enabled: boolean
mac_override: string
mac_override_enabled: boolean
mdns_enabled: boolean
name: string
networkgroup: string
purpose: string
radiusprofile_id: string
report_wan_event: boolean
require_mschapv2: boolean
setting_preference: string
site_id: string
upnp_lan_enabled: boolean
vlan: number
vlan_enabled: boolean
vpn_type: string
wan_dns1: string
wan_dns2: string
wan_dns_preference: string
wan_load_balance_type: string
wan_load_balance_weight: number
wan_networkgroup: string
wan_provider_capabilities: object
wan_smartq_enabled: boolean
wan_type: string
wan_type_v6: string
x_ipsec_pre_shared_key: string

Accessors

Methods

  • Parameters

    • Optional minVersion: string

      the minimal semver version for this object

    • Optional unifiOs: boolean

      need to be unifiOs ? or Unifi Controller ? if no need, pass undefined

    • parameterName: string = ''

      a name for the parameter

    Returns void

  • Type Parameters

    • T

    Parameters

    • key: keyof Network

      the key object that need to be only supported on some versions

    • Optional value: T

      the value store in this object

    • Optional minVersion: string

      the minimal semver version for this object

    • Optional unifiOs: boolean

      need to be unifiOs ? or Unifi Controller ? if no need, pass undefined

    • allowUndefined: boolean = false

      to undefined check ?

    Returns boolean

Generated using TypeDoc