Exemple #1
0
class DpistatsTable(Object):

    last_updated: int = Property(Integer(), required=True)

    by_cat: List[ByCatItem] = Property(Array(ByCatItem), required=True)

    by_app: List[ByAppItem] = Property(Array(ByAppItem), required=True)
Exemple #2
0
class DataItem(Object):

    _id: Maybe[str] = Property(String())

    ruleset: Maybe[str] = Property(String())

    rule_index: Maybe[int] = Property(Integer())

    name: Maybe[str] = Property(String())

    enabled: Maybe[bool] = Property(Boolean())

    action: Maybe[str] = Property(String())

    protocol_match_excepted: Maybe[bool] = Property(Boolean())

    logging: Maybe[bool] = Property(Boolean())

    state_new: Maybe[bool] = Property(Boolean())

    state_established: Maybe[bool] = Property(Boolean())

    state_invalid: Maybe[bool] = Property(Boolean())

    state_related: Maybe[bool] = Property(Boolean())

    ipsec: Maybe[str] = Property(String())

    src_firewallgroup_ids: Maybe[List[str]] = Property(Array(String()))

    src_mac_address: Maybe[str] = Property(String())

    dst_firewallgroup_ids: Maybe[List[str]] = Property(Array(String()))

    dst_address: Maybe[str] = Property(String())

    src_address: Maybe[str] = Property(String())

    protocol: Maybe[str] = Property(String())

    icmp_typename: Maybe[str] = Property(String())

    src_networkconf_id: Maybe[str] = Property(String())

    src_networkconf_type: Maybe[str] = Property(String())

    dst_networkconf_id: Maybe[str] = Property(String())

    dst_networkconf_type: Maybe[str] = Property(String())

    site_id: Maybe[str] = Property(String())
Exemple #3
0
class Permissions(Object):

    access_full_stop_management: List[str] = Property(
        Array(String()), required=True, source='access.management')

    connect_full_stop_management: List[str] = Property(
        Array(String()), required=True, source='connect.management')

    led_full_stop_management: List[str] = Property(Array(String()),
                                                   required=True,
                                                   source='led.management')

    network_full_stop_management: List[str] = Property(
        Array(String()), required=True, source='network.management')

    protect_full_stop_management: List[str] = Property(
        Array(String()), required=True, source='protect.management')

    system_full_stop_management_full_stop_location: List[str] = Property(
        Array(String()), required=True, source='system.management.location')

    system_full_stop_management_full_stop_user: List[str] = Property(
        Array(String()), required=True, source='system.management.user')

    talk_full_stop_management: List[str] = Property(Array(String()),
                                                    required=True,
                                                    source='talk.management')
Exemple #4
0
class DataItem(Object):

    _id: Maybe[str] = Property(String())

    group_type: Maybe[str] = Property(String())

    name: Maybe[str] = Property(String())

    group_members: Maybe[List[str]] = Property(Array(String()))

    site_id: Maybe[str] = Property(String())
Exemple #5
0
class GroupsItem(Object):

    unique_id: str = Property(String(), required=True)

    name: str = Property(String(), required=True)

    up_id: str = Property(String(), required=True)

    up_ids: List[Any] = Property(Array(Element()), required=True)

    system_name: str = Property(String(), required=True)

    create_time: str = Property(String(), required=True)
Exemple #6
0
class ByCatItem(Object):

    cat: int = Property(Integer(), required=True)

    apps: List[int] = Property(Array(Integer()), required=True)

    rx_bytes: int = Property(Integer(), required=True)

    tx_bytes: int = Property(Integer(), required=True)

    rx_packets: int = Property(Integer(), required=True)

    tx_packets: int = Property(Integer(), required=True)
Exemple #7
0
class ByAppItem(Object):

    app: int = Property(Integer(), required=True)

    cat: int = Property(Integer(), required=True)

    clients: List[ClientsItem] = Property(Array(ClientsItem), required=True)

    known_clients: int = Property(Integer(), required=True)

    rx_bytes: int = Property(Integer(), required=True)

    tx_bytes: int = Property(Integer(), required=True)

    rx_packets: int = Property(Integer(), required=True)

    tx_packets: int = Property(Integer(), required=True)
Exemple #8
0
class DataItem(Object):

    _id: Maybe[str] = Property(String())

    enabled: Maybe[bool] = Property(Boolean())

    name: Maybe[str] = Property(String())

    security: Maybe[str] = Property(String())

    wpa_enc: Maybe[str] = Property(String())

    wpa_mode: Maybe[str] = Property(String())

    x_passphrase: Maybe[str] = Property(String())

    site_id: Maybe[str] = Property(String())

    usergroup_id: Maybe[str] = Property(String())

    x_iapp_key: Maybe[str] = Property(String())

    no2ghz_oui: Maybe[bool] = Property(Boolean())

    minrate_ng_enabled: Maybe[bool] = Property(Boolean())

    minrate_ng_beacon_rate_kbps: Maybe[int] = Property(Integer())

    minrate_ng_data_rate_kbps: Maybe[int] = Property(Integer())

    pmf_mode: Maybe[str] = Property(String())

    b_supported: Maybe[bool] = Property(Boolean())

    ap_group_ids: Maybe[List[str]] = Property(Array(String()))

    wlan_band: Maybe[str] = Property(String())

    networkconf_id: Maybe[str] = Property(String())

    iapp_enabled: Maybe[bool] = Property(Boolean())
Exemple #9
0
class DataItem(Object):

    _id: Maybe[str] = Property(String())

    attr_no_delete: Maybe[bool] = Property(Boolean())

    attr_hidden_id: Maybe[str] = Property(String())

    wan_networkgroup: Maybe[str] = Property(String())

    site_id: Maybe[str] = Property(String())

    purpose: Maybe[str] = Property(String())

    name: Maybe[str] = Property(String())

    wan_type: Maybe[str] = Property(String())

    wan_provider_capabilities: Maybe[WanProviderCapabilities] = Property(
        WanProviderCapabilities)

    report_wan_event: Maybe[bool] = Property(Boolean())

    wan_ip_aliases: Maybe[List[Any]] = Property(Array(Element()))

    wan_type_v6: Maybe[str] = Property(String())

    wan_load_balance_type: Maybe[str] = Property(String())

    wan_load_balance_weight: Maybe[int] = Property(Integer())

    wan_egress_qos: Maybe[str] = Property(String())

    wan_dhcp_options: Maybe[List[Any]] = Property(Array(Element()))

    wan_dns1: Maybe[str] = Property(String())

    vlan_enabled: Maybe[bool] = Property(Boolean())

    ip_subnet: Maybe[str] = Property(String())

    ipv6_interface_type: Maybe[str] = Property(String())

    domain_name: Maybe[str] = Property(String())

    is_nat: Maybe[bool] = Property(Boolean())

    dhcpd_enabled: Maybe[bool] = Property(Boolean())

    dhcpd_start: Maybe[str] = Property(String())

    dhcpd_stop: Maybe[str] = Property(String())

    dhcpdv6_enabled: Maybe[bool] = Property(Boolean())

    ipv6_ra_enabled: Maybe[bool] = Property(Boolean())

    lte_lan_enabled: Maybe[bool] = Property(Boolean())

    networkgroup: Maybe[str] = Property(String())

    dhcpd_leasetime: Maybe[int] = Property(Integer())

    dhcpd_dns_enabled: Maybe[bool] = Property(Boolean())

    dhcpd_gateway_enabled: Maybe[bool] = Property(Boolean())

    dhcpd_time_offset_enabled: Maybe[bool] = Property(Boolean())

    ipv6_pd_start: Maybe[str] = Property(String())

    ipv6_pd_stop: Maybe[str] = Property(String())

    gateway_type: Maybe[str] = Property(String())

    enabled: Maybe[bool] = Property(Boolean())

    dhcp_relay_enabled: Maybe[bool] = Property(Boolean())

    nat_outbound_ip_addresses: Maybe[List[Any]] = Property(Array(Element()))

    dpi_enabled: Maybe[bool] = Property(Boolean())

    dpigroup_id: Maybe[str] = Property(String())

    dhcpd_dns_1: Maybe[str] = Property(String())

    dhcpd_dns_2: Maybe[str] = Property(String())

    ipsec_interface: Maybe[str] = Property(String())

    vpn_type: Maybe[str] = Property(String())

    route_distance: Maybe[int] = Property(Integer())

    ipsec_profile: Maybe[str] = Property(String())

    remote_vpn_subnets: Maybe[List[str]] = Property(Array(String()))

    ipsec_key_exchange: Maybe[str] = Property(String())

    ipsec_encryption: Maybe[str] = Property(String())

    ipsec_hash: Maybe[str] = Property(String())

    ipsec_dh_group: Maybe[int] = Property(Integer())

    ipsec_ike_dh_group: Maybe[int] = Property(Integer())

    ipsec_esp_dh_group: Maybe[int] = Property(Integer())

    ipsec_pfs: Maybe[bool] = Property(Boolean())

    ipsec_dynamic_routing: Maybe[bool] = Property(Boolean())

    x_ipsec_pre_shared_key: Maybe[str] = Property(String())

    ipsec_local_ip: Maybe[str] = Property(String())

    ipsec_peer_ip: Maybe[str] = Property(String())

    ifname: Maybe[str] = Property(String())
Exemple #10
0
class DhcpOption(Object):

    meta: Maybe[Meta] = Property(Meta)

    data: Maybe[List[Any]] = Property(Array(Element(required=[])))
Exemple #11
0
class FirewallGroup(Object):

    meta: Maybe[Meta] = Property(Meta)

    data: Maybe[List[DataItem]] = Property(Array(DataItem))
Exemple #12
0
class Routing(Object):

    meta: Maybe[Meta] = Property(Meta)

    data: Maybe[List[Any]] = Property(Array(Element(required=[])))
Exemple #13
0
class PortTableItem(Object):

    port_idx: int = Property(Integer(), required=True)

    media: str = Property(String(), required=True)

    port_poe: bool = Property(Boolean(), required=True)

    speed_caps: int = Property(Integer(), required=True)

    op_mode: str = Property(String(), required=True)

    portconf_id: str = Property(String(), required=True)

    autoneg: bool = Property(Boolean(), required=True)

    enable: bool = Property(Boolean(), required=True)

    flowctrl_rx: bool = Property(Boolean(), required=True)

    flowctrl_tx: bool = Property(Boolean(), required=True)

    full_duplex: bool = Property(Boolean(), required=True)

    is_uplink: bool = Property(Boolean(), required=True)

    mac: str = Property(String(), required=True)

    name: str = Property(String(), required=True)

    num_port: int = Property(Integer(), required=True)

    rx_broadcast: int = Property(Integer(), required=True)

    rx_bytes: int = Property(Integer(), required=True)

    rx_dropped: int = Property(Integer(), required=True)

    rx_errors: int = Property(Integer(), required=True)

    rx_multicast: int = Property(Integer(), required=True)

    rx_packets: int = Property(Integer(), required=True)

    rx_rate: int = Property(Integer(), required=True)

    rx_rate_max: int = Property(Integer(), required=True, source='rx_rate-max')

    speed: int = Property(Integer(), required=True)

    tx_broadcast: int = Property(Integer(), required=True)

    tx_bytes: int = Property(Integer(), required=True)

    tx_dropped: int = Property(Integer(), required=True)

    tx_errors: int = Property(Integer(), required=True)

    tx_multicast: int = Property(Integer(), required=True)

    tx_packets: int = Property(Integer(), required=True)

    tx_rate: int = Property(Integer(), required=True)

    tx_rate_max: int = Property(Integer(), required=True, source='tx_rate-max')

    type: str = Property(String(), required=True)

    up: bool = Property(Boolean(), required=True)

    ifname: str = Property(String(), required=True)

    ip: str = Property(String(), required=True)

    netmask: Maybe[str] = Property(String())

    tx_bytes_r: int = Property(Integer(), required=True, source='tx_bytes-r')

    rx_bytes_r: int = Property(Integer(), required=True, source='rx_bytes-r')

    bytes_r: int = Property(Integer(), required=True, source='bytes-r')

    port_delta: Maybe[PortDelta] = Property(PortDelta)

    network_name: str = Property(String(), required=True)

    masked: bool = Property(Boolean(), required=True)

    aggregated_by: bool = Property(Boolean(), required=True)

    mac_table: Maybe[List[MacTableItem]] = Property(Array(MacTableItem))

    dns: Maybe[List[str]] = Property(Array(String()))
Exemple #14
0
class Uplink(Object):

    drops: int = Property(Integer(), required=True)

    ip: str = Property(String(), required=True)

    latency: int = Property(Integer(), required=True)

    name: str = Property(String(), required=True)

    nameservers: List[str] = Property(Array(String()), required=True)

    netmask: str = Property(String(), required=True)

    num_port: int = Property(Integer(), required=True)

    rx_bytes: int = Property(Integer(), required=True)

    rx_dropped: int = Property(Integer(), required=True)

    rx_errors: int = Property(Integer(), required=True)

    rx_multicast: int = Property(Integer(), required=True)

    rx_packets: int = Property(Integer(), required=True)

    speedtest_lastrun: int = Property(Integer(), required=True)

    speedtest_ping: int = Property(Integer(), required=True)

    speedtest_status: str = Property(String(), required=True)

    tx_bytes: int = Property(Integer(), required=True)

    tx_dropped: int = Property(Integer(), required=True)

    tx_errors: int = Property(Integer(), required=True)

    tx_packets: int = Property(Integer(), required=True)

    up: bool = Property(Boolean(), required=True)

    uptime: int = Property(Integer(), required=True)

    xput_down: float = Property(Number(), required=True)

    xput_up: float = Property(Number(), required=True)

    port_idx: int = Property(Integer(), required=True)

    media: str = Property(String(), required=True)

    rx_rate: int = Property(Integer(), required=True)

    tx_rate: int = Property(Integer(), required=True)

    max_speed: int = Property(Integer(), required=True)

    type: str = Property(String(), required=True)

    speed: int = Property(Integer(), required=True)

    full_duplex: bool = Property(Boolean(), required=True)

    tx_bytes_r: int = Property(Integer(), required=True, source='tx_bytes-r')

    rx_bytes_r: int = Property(Integer(), required=True, source='rx_bytes-r')
Exemple #15
0
class Wan1(Object):

    max_speed: int = Property(Integer(), required=True)

    type: str = Property(String(), required=True)

    autoneg: bool = Property(Boolean(), required=True)

    enable: bool = Property(Boolean(), required=True)

    flowctrl_rx: bool = Property(Boolean(), required=True)

    flowctrl_tx: bool = Property(Boolean(), required=True)

    full_duplex: bool = Property(Boolean(), required=True)

    is_uplink: bool = Property(Boolean(), required=True)

    mac: str = Property(String(), required=True)

    mac_table: List[MacTableItem] = Property(Array(MacTableItem), required=True)

    media: str = Property(String(), required=True)

    name: str = Property(String(), required=True)

    num_port: int = Property(Integer(), required=True)

    port_idx: int = Property(Integer(), required=True)

    port_poe: bool = Property(Boolean(), required=True)

    rx_broadcast: int = Property(Integer(), required=True)

    rx_bytes: int = Property(Integer(), required=True)

    rx_dropped: int = Property(Integer(), required=True)

    rx_errors: int = Property(Integer(), required=True)

    rx_multicast: int = Property(Integer(), required=True)

    rx_packets: int = Property(Integer(), required=True)

    rx_rate: int = Property(Integer(), required=True)

    rx_rate_max: int = Property(Integer(), required=True, source='rx_rate-max')

    speed: int = Property(Integer(), required=True)

    speed_caps: int = Property(Integer(), required=True)

    tx_broadcast: int = Property(Integer(), required=True)

    tx_bytes: int = Property(Integer(), required=True)

    tx_dropped: int = Property(Integer(), required=True)

    tx_errors: int = Property(Integer(), required=True)

    tx_multicast: int = Property(Integer(), required=True)

    tx_packets: int = Property(Integer(), required=True)

    tx_rate: int = Property(Integer(), required=True)

    tx_rate_max: int = Property(Integer(), required=True, source='tx_rate-max')

    up: bool = Property(Boolean(), required=True)

    ifname: str = Property(String(), required=True)

    ip: str = Property(String(), required=True)

    netmask: str = Property(String(), required=True)

    tx_bytes_r: int = Property(Integer(), required=True, source='tx_bytes-r')

    rx_bytes_r: int = Property(Integer(), required=True, source='rx_bytes-r')

    bytes_r: int = Property(Integer(), required=True, source='bytes-r')

    dns: List[str] = Property(Array(String()), required=True)
Exemple #16
0
class Device(Object):

    meta: Maybe[Meta] = Property(Meta)

    data: Maybe[List[DataItem]] = Property(Array(DataItem))
Exemple #17
0
class DataItem(Object):

    _id: Maybe[str] = Property(String())

    ip: Maybe[str] = Property(String())

    mac: Maybe[str] = Property(String())

    model: Maybe[str] = Property(String())

    model_in_lts: Maybe[bool] = Property(Boolean())

    model_in_eol: Maybe[bool] = Property(Boolean())

    type: Maybe[str] = Property(String())

    version: Maybe[str] = Property(String())

    adopted: Maybe[bool] = Property(Boolean())

    site_id: Maybe[str] = Property(String())

    x_authkey: Maybe[str] = Property(String())

    cfgversion: Maybe[str] = Property(String())

    syslog_key: Maybe[str] = Property(String())

    config_network: Maybe[ConfigNetwork] = Property(ConfigNetwork)

    x_vwirekey: Maybe[str] = Property(String())

    vwire_table: Maybe[List[Any]] = Property(Array(Element()))

    dot1x_portctrl_enabled: Maybe[bool] = Property(Boolean())

    jumboframe_enabled: Maybe[bool] = Property(Boolean())

    flowctrl_enabled: Maybe[bool] = Property(Boolean())

    stp_version: Maybe[str] = Property(String())

    stp_priority: Maybe[str] = Property(String())

    power_source_ctrl_enabled: Maybe[bool] = Property(Boolean())

    license_state: Maybe[str] = Property(String())

    x_fingerprint: Maybe[str] = Property(String())

    inform_url: Maybe[str] = Property(String())

    inform_ip: Maybe[str] = Property(String())

    x_aes_gcm: Maybe[bool] = Property(Boolean())

    config_network_lan: Maybe[ConfigNetworkLan] = Property(ConfigNetworkLan)

    required_version: Maybe[str] = Property(String())

    kernel_version: Maybe[str] = Property(String())

    architecture: Maybe[str] = Property(String())

    board_rev: Maybe[int] = Property(Integer())

    manufacturer_id: Maybe[int] = Property(Integer())

    model_incompatible: Maybe[bool] = Property(Boolean())

    internet: Maybe[bool] = Property(Boolean())

    antenna_table: Maybe[List[AntennaTableItem]] = Property(Array(AntennaTableItem))

    radio_table: Maybe[List[RadioTableItem]] = Property(Array(RadioTableItem))

    scan_radio_table: Maybe[List[Any]] = Property(Array(Element()))

    ethernet_table: Maybe[List[EthernetTableItem]] = Property(Array(EthernetTableItem))

    port_table: Maybe[List[PortTableItem]] = Property(Array(PortTableItem))

    ethernet_overrides: Maybe[List[EthernetOverridesItem]] = Property(Array(EthernetOverridesItem))

    usg_caps: Maybe[int] = Property(Integer())

    has_speaker: Maybe[bool] = Property(Boolean())

    has_eth1: Maybe[bool] = Property(Boolean())

    fw_caps: Maybe[int] = Property(Integer())

    hw_caps: Maybe[int] = Property(Integer())

    wifi_caps: Maybe[int] = Property(Integer())

    switch_caps: Maybe[SwitchCaps] = Property(SwitchCaps)

    has_fan: Maybe[bool] = Property(Boolean())

    has_temperature: Maybe[bool] = Property(Boolean())

    temperatures: Maybe[List[TemperaturesItem]] = Property(Array(TemperaturesItem))

    storage: Maybe[List[StorageItem]] = Property(Array(StorageItem))

    ruleset_interfaces: Maybe[RulesetInterfaces] = Property(RulesetInterfaces)

    country_code: Maybe[int] = Property(Integer())

    countrycode_table: Maybe[List[Any]] = Property(Array(Element()))

    connected_at: Maybe[int] = Property(Integer())

    provisioned_at: Maybe[int] = Property(Integer())

    setup_provision_completed: Maybe[bool] = Property(Boolean())

    setup_provision_tracking: Maybe[bool] = Property(Boolean())

    unifi_care: Maybe[UnifiCare] = Property(UnifiCare)

    unsupported: Maybe[bool] = Property(Boolean())

    unsupported_reason: Maybe[int] = Property(Integer())

    wlangroup_id_na: Maybe[str] = Property(String())

    wlangroup_id_ng: Maybe[str] = Property(String())

    bandsteering_mode: Maybe[str] = Property(String())

    atf_enabled: Maybe[bool] = Property(Boolean())

    two_phase_adopt: Maybe[bool] = Property(Boolean())

    serial: Maybe[str] = Property(String())

    hash_id: Maybe[str] = Property(String())

    anon_id: Maybe[str] = Property(String())

    device_id: Maybe[str] = Property(String())

    state: Maybe[int] = Property(Integer())

    start_disconnected_millis: Maybe[int] = Property(Integer())

    x_inform_authkey: Maybe[str] = Property(String())

    last_seen: Maybe[int] = Property(Integer())

    upgradable: Maybe[bool] = Property(Boolean())

    adoptable_when_upgraded: Maybe[bool] = Property(Boolean())

    rollupgrade: Maybe[bool] = Property(Boolean())

    known_cfgversion: Maybe[str] = Property(String())

    uptime: Maybe[int] = Property(Integer())

    _uptime: Maybe[int] = Property(Integer())

    locating: Maybe[bool] = Property(Boolean())

    start_connected_millis: Maybe[int] = Property(Integer())

    sys_stats: Maybe[SysStats] = Property(SysStats)

    system_stats: Maybe[SystemStats] = Property(SystemStats, source='system-stats')

    lldp_table: Maybe[List[LldpTableItem]] = Property(Array(LldpTableItem))

    guest_kicks: Maybe[int] = Property(Integer())

    guest_token: Maybe[str] = Property(String())

    scanning: Maybe[bool] = Property(Boolean())

    spectrum_scanning: Maybe[bool] = Property(Boolean())

    meshv3_peer_mac: Maybe[str] = Property(String())

    element_peer_mac: Maybe[str] = Property(String())

    satisfaction: Maybe[int] = Property(Integer())

    uptime_stats: Maybe[UptimeStats] = Property(UptimeStats)

    overheating: Maybe[bool] = Property(Boolean())

    geo_info: Maybe[GeoInfo] = Property(GeoInfo)

    led_state: Maybe[LedState] = Property(LedState)

    isolated: Maybe[bool] = Property(Boolean())

    radio_table_stats: Maybe[List[RadioTableStatsItem]] = Property(Array(RadioTableStatsItem))

    speedtest_status: Maybe[SpeedtestStatus] = Property(SpeedtestStatus, source='speedtest-status')

    speedtest_status_saved: Maybe[bool] = Property(Boolean(), source='speedtest-status-saved')

    wan1: Maybe[Wan1] = Property(Wan1)

    uplink: Maybe[Uplink] = Property(Uplink)

    vap_table: Maybe[List[VapTableItem]] = Property(Array(VapTableItem))

    ap_downlink_table: Maybe[List[Any]] = Property(Array(Element()))

    vwire_vap_table: Maybe[List[VwireVapTableItem]] = Property(Array(VwireVapTableItem))

    bytes_d: Maybe[int] = Property(Integer(), source='bytes-d')

    tx_bytes_d: Maybe[int] = Property(Integer(), source='tx_bytes-d')

    rx_bytes_d: Maybe[int] = Property(Integer(), source='rx_bytes-d')

    bytes_r: Maybe[int] = Property(Integer(), source='bytes-r')

    downlink_table: Maybe[List[Any]] = Property(Array(Element()))

    network_table: Maybe[List[NetworkTableItem]] = Property(Array(NetworkTableItem))

    connect_request_ip: Maybe[str] = Property(String())

    connect_request_port: Maybe[str] = Property(String())

    prev_non_busy_state: Maybe[int] = Property(Integer())

    next_interval: Maybe[int] = Property(Integer())

    next_heartbeat_at: Maybe[int] = Property(Integer())

    considered_lost_at: Maybe[int] = Property(Integer())

    stat: Maybe[Stat] = Property(Stat)

    tx_bytes: Maybe[int] = Property(Integer())

    rx_bytes: Maybe[int] = Property(Integer())

    bytes: Maybe[int] = Property(Integer())

    vwireEnabled: Maybe[bool] = Property(Boolean())

    uplink_table: Maybe[List[Any]] = Property(Array(Element()))

    num_sta: Maybe[int] = Property(Integer())

    wlan_num_sta: Maybe[int] = Property(Integer(), source='wlan-num_sta')

    lan_num_sta: Maybe[int] = Property(Integer(), source='lan-num_sta')

    user_wlan_num_sta: Maybe[int] = Property(Integer(), source='user-wlan-num_sta')

    user_lan_num_sta: Maybe[int] = Property(Integer(), source='user-lan-num_sta')

    user_num_sta: Maybe[int] = Property(Integer(), source='user-num_sta')

    guest_wlan_num_sta: Maybe[int] = Property(Integer(), source='guest-wlan-num_sta')

    guest_lan_num_sta: Maybe[int] = Property(Integer(), source='guest-lan-num_sta')

    guest_num_sta: Maybe[int] = Property(Integer(), source='guest-num_sta')

    num_desktop: Maybe[int] = Property(Integer())

    num_mobile: Maybe[int] = Property(Integer())

    num_handheld: Maybe[int] = Property(Integer())

    x_has_ssh_hostkey: Maybe[bool] = Property(Boolean())
Exemple #18
0
class SysInfo(Object):

    meta: Maybe[Meta] = Property(Meta)

    data: Maybe[List[DataItem]] = Property(Array(DataItem))
Exemple #19
0
class Login(Object):

    unique_id: Maybe[str] = Property(String())

    first_name: Maybe[str] = Property(String())

    last_name: Maybe[str] = Property(String())

    full_name: Maybe[str] = Property(String())

    email: Maybe[str] = Property(String())

    email_status: Maybe[str] = Property(String())

    phone: Maybe[str] = Property(String())

    avatar_relative_path: Maybe[str] = Property(String())

    avatar_rpath2: Maybe[str] = Property(String())

    status: Maybe[str] = Property(String())

    employee_number: Maybe[str] = Property(String())

    create_time: Maybe[int] = Property(Integer())

    extras: Maybe[Extras] = Property(Extras)

    username: Maybe[str] = Property(String())

    local_account_exist: Maybe[bool] = Property(Boolean())

    password_revision: Maybe[int] = Property(Integer())

    sso_account: Maybe[str] = Property(String())

    sso_uuid: Maybe[str] = Property(String())

    sso_username: Maybe[str] = Property(String())

    sso_picture: Maybe[str] = Property(String())

    uid_sso_id: Maybe[str] = Property(String())

    uid_sso_account: Maybe[str] = Property(String())

    groups: Maybe[List[GroupsItem]] = Property(Array(GroupsItem))

    roles: Maybe[List[RolesItem]] = Property(Array(RolesItem))

    permissions: Maybe[Permissions] = Property(Permissions)

    scopes: Maybe[List[str]] = Property(Array(String()))

    cloud_access_granted: Maybe[bool] = Property(Boolean())

    update_time: Maybe[int] = Property(Integer())

    avatar: Maybe[str] = Property(String())

    nfc_token: Maybe[str] = Property(String())

    nfc_display_id: Maybe[str] = Property(String())

    nfc_card_type: Maybe[str] = Property(String())

    nfc_card_status: Maybe[str] = Property(String())

    id: Maybe[str] = Property(String())

    isOwner: Maybe[bool] = Property(Boolean())

    isSuperAdmin: Maybe[bool] = Property(Boolean())

    data: Maybe[Any] = Property(Element(items=Element(required=[])))
Exemple #20
0
class DataItem(Object):

    timezone: Maybe[str] = Property(String())

    autobackup: Maybe[bool] = Property(Boolean())

    build: Maybe[str] = Property(String())

    version: Maybe[str] = Property(String())

    previous_version: Maybe[str] = Property(String())

    debug_mgmt: Maybe[str] = Property(String())

    debug_system: Maybe[str] = Property(String())

    debug_device: Maybe[str] = Property(String())

    debug_sdn: Maybe[str] = Property(String())

    data_retention_days: Maybe[int] = Property(Integer())

    data_retention_time_in_hours_for_5minutes_scale: Maybe[int] = Property(
        Integer())

    data_retention_time_in_hours_for_hourly_scale: Maybe[int] = Property(
        Integer())

    data_retention_time_in_hours_for_daily_scale: Maybe[int] = Property(
        Integer())

    data_retention_time_in_hours_for_monthly_scale: Maybe[int] = Property(
        Integer())

    data_retention_time_in_hours_for_others: Maybe[int] = Property(Integer())

    update_available: Maybe[bool] = Property(Boolean())

    update_downloaded: Maybe[bool] = Property(Boolean())

    live_chat: Maybe[str] = Property(String())

    store_enabled: Maybe[str] = Property(String())

    hostname: Maybe[str] = Property(String())

    name: Maybe[str] = Property(String())

    ip_addrs: Maybe[List[str]] = Property(Array(String()))

    inform_port: Maybe[int] = Property(Integer())

    https_port: Maybe[int] = Property(Integer())

    override_inform_host: Maybe[bool] = Property(Boolean())

    image_maps_use_google_engine: Maybe[bool] = Property(Boolean())

    radius_disconnect_running: Maybe[bool] = Property(Boolean())

    facebook_wifi_registered: Maybe[bool] = Property(Boolean())

    sso_app_id: Maybe[str] = Property(String())

    sso_app_sec: Maybe[str] = Property(String())

    uptime: Maybe[int] = Property(Integer())

    anonymous_controller_id: Maybe[str] = Property(String())

    ubnt_device_type: Maybe[str] = Property(String())

    udm_version: Maybe[str] = Property(String())

    unsupported_device_count: Maybe[int] = Property(Integer())

    unsupported_device_list: Maybe[List[Any]] = Property(Array(Element()))

    unifi_go_enabled: Maybe[bool] = Property(Boolean())

    default_site_device_auth_password_alert: Maybe[bool] = Property(Boolean())
Exemple #21
0
class WlanConf(Object):

    meta: Maybe[Meta] = Property(Meta)

    data: Maybe[List[DataItem]] = Property(Array(DataItem))
Exemple #22
0
class NetworkTableItem(Object):

    _id: str = Property(String(), required=True)

    attr_no_delete: Maybe[bool] = Property(Boolean())

    attr_hidden_id: Maybe[str] = Property(String())

    name: str = Property(String(), required=True)

    site_id: str = Property(String(), required=True)

    vlan_enabled: Maybe[bool] = Property(Boolean())

    purpose: str = Property(String(), required=True)

    ip_subnet: Maybe[str] = Property(String())

    ipv6_interface_type: Maybe[str] = Property(String())

    domain_name: Maybe[str] = Property(String())

    is_nat: bool = Property(Boolean(), required=True)

    dhcpd_enabled: Maybe[bool] = Property(Boolean())

    dhcpd_start: Maybe[str] = Property(String())

    dhcpd_stop: Maybe[str] = Property(String())

    dhcpdv6_enabled: Maybe[bool] = Property(Boolean())

    ipv6_ra_enabled: Maybe[bool] = Property(Boolean())

    lte_lan_enabled: Maybe[bool] = Property(Boolean())

    networkgroup: Maybe[str] = Property(String())

    dhcpd_leasetime: Maybe[int] = Property(Integer())

    dhcpd_dns_enabled: Maybe[bool] = Property(Boolean())

    dhcpd_gateway_enabled: Maybe[bool] = Property(Boolean())

    dhcpd_time_offset_enabled: Maybe[bool] = Property(Boolean())

    ipv6_pd_start: Maybe[str] = Property(String())

    ipv6_pd_stop: Maybe[str] = Property(String())

    gateway_type: Maybe[str] = Property(String())

    enabled: bool = Property(Boolean(), required=True)

    dhcp_relay_enabled: Maybe[bool] = Property(Boolean())

    nat_outbound_ip_addresses: Maybe[List[Any]] = Property(Array(Element()))

    dpi_enabled: Maybe[bool] = Property(Boolean())

    dpigroup_id: Maybe[str] = Property(String())

    dhcpd_dns_1: Maybe[str] = Property(String())

    dhcpd_dns_2: Maybe[str] = Property(String())

    is_guest: bool = Property(Boolean(), required=True)

    ip: Union[None, str] = Property(AnyOf(Null(), String()), required=True)

    mac: Maybe[str] = Property(String())

    up: Union[bool, str] = Property(AnyOf(Boolean(), String()), required=True)

    active_dhcp_lease_count: Maybe[int] = Property(Integer())

    gateway_interface_name: Maybe[str] = Property(String())

    dpistats_table: Maybe[DpistatsTable] = Property(DpistatsTable)

    num_sta: Maybe[int] = Property(Integer())

    rx_bytes: Maybe[int] = Property(Integer())

    rx_packets: Maybe[int] = Property(Integer())

    tx_bytes: Maybe[int] = Property(Integer())

    tx_packets: Maybe[int] = Property(Integer())

    ipsec_interface: Maybe[str] = Property(String())

    vpn_type: Maybe[str] = Property(String())

    route_distance: Maybe[int] = Property(Integer())

    ipsec_profile: Maybe[str] = Property(String())

    remote_vpn_subnets: Maybe[List[str]] = Property(Array(String()))

    ipsec_key_exchange: Maybe[str] = Property(String())

    ipsec_encryption: Maybe[str] = Property(String())

    ipsec_hash: Maybe[str] = Property(String())

    ipsec_dh_group: Maybe[int] = Property(Integer())

    ipsec_ike_dh_group: Maybe[int] = Property(Integer())

    ipsec_esp_dh_group: Maybe[int] = Property(Integer())

    ipsec_pfs: Maybe[bool] = Property(Boolean())

    ipsec_dynamic_routing: Maybe[bool] = Property(Boolean())

    x_ipsec_pre_shared_key: Maybe[str] = Property(String())

    ipsec_local_ip: Maybe[str] = Property(String())

    ipsec_peer_ip: Maybe[str] = Property(String())

    ifname: Maybe[str] = Property(String())