Documentation
¶
Overview ¶
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved
Index ¶
- Variables
- func DetectConflictingProperties[T any](dstMap map[string]T, structProperties ...string) error
- func ExtractAdditionalProperties[T any](input []byte, keysToRemove ...string) (map[string]T, error)
- func MergeAdditionalProperties[T any](destinationMap map[string]any, sourceMap map[string]T)
- func ToPointer[T any](value T) *T
- type AamwProfile
- type AamwProfileActionEnum
- type AamwProfileCategory
- type AamwProfileCategoryCategoryEnum
- type AccountCradlepointConfig
- type AccountCrowdstrikeConfig
- type AccountJamfConfig
- type AccountJseConfig
- type AccountJseInfo
- type AccountJuniperConfig
- type AccountJuniperInfo
- type AccountMobicontrolConfig
- type AccountOauthAdd
- func (a *AccountOauthAdd) AsAccountCrowdstrikeConfig() (*AccountCrowdstrikeConfig, bool)
- func (a *AccountOauthAdd) AsAccountJamfConfig() (*AccountJamfConfig, bool)
- func (a *AccountOauthAdd) AsAccountMobicontrolConfig() (*AccountMobicontrolConfig, bool)
- func (a *AccountOauthAdd) AsAccountPrismaConfig() (*AccountPrismaConfig, bool)
- func (a *AccountOauthAdd) AsAccountSentineloneConfig() (*AccountSentineloneConfig, bool)
- func (a *AccountOauthAdd) AsAccountVmwareConfig() (*AccountVmwareConfig, bool)
- func (a *AccountOauthAdd) AsAccountZdxConfig() (*AccountZdxConfig, bool)
- func (a AccountOauthAdd) MarshalJSON() ([]byte, error)
- func (a AccountOauthAdd) String() string
- func (a *AccountOauthAdd) UnmarshalJSON(input []byte) error
- type AccountOauthConfig
- type AccountOauthInfo
- type AccountOauthInfoAccount
- type AccountOauthInfoAccountRegion
- type AccountOauthInfoAccountServiceConnection
- type AccountPrismaConfig
- type AccountSentineloneConfig
- type AccountSkyatpConfig
- type AccountSkyatpData
- type AccountSkyatpDataSecintel
- type AccountSkyatpInfo
- type AccountVmwareConfig
- type AccountZdxConfig
- type AccountZscalerConfig
- type AccountZscalerInfo
- type AclPolicy
- type AclPolicyAction
- type AclTag
- type AclTagSpec
- type AclTagTypeEnum
- type AdditionalVlanIds
- func (a *AdditionalVlanIds) AsArrayOfVlanIdWithVariable7() (*[]VlanIdWithVariable, bool)
- func (a *AdditionalVlanIds) AsString() (*string, bool)
- func (a AdditionalVlanIds) MarshalJSON() ([]byte, error)
- func (a AdditionalVlanIds) String() string
- func (a *AdditionalVlanIds) UnmarshalJSON(input []byte) error
- type Admin
- type AdminComplianceStatusEnum
- type AdminInvite
- type AdminPrivilege
- type AdminPrivilegeRoleEnum
- type AdminPrivilegeScopeEnum
- type AdminPrivilegeViewEnum
- type AggregateRoute
- type Alarm
- type AlarmAck
- type AlarmCountDistinctEnum
- type AlarmSearchResult
- type AlarmStatusEnum
- type AlarmTemplate
- type AlarmTemplateRule
- type Alarms
- type AllowDenyEnum
- type Anomaly
- type AntennaSelectEnum
- type ApAeroscout
- type ApAirista
- type ApCentrak
- type ApClientBridge
- type ApClientBridgeAuth
- type ApClientBridgeAuthTypeEnum
- type ApEslConfig
- type ApEslTypeEnum
- type ApIot
- type ApIotInput
- type ApIotOutput
- type ApIotPullupEnum
- type ApIpConfig
- type ApLed
- type ApMesh
- type ApMeshRoleEnum
- type ApPortConfig
- type ApPortConfigDynamicVlan
- type ApPortConfigForwardingEnum
- type ApPortConfigMacAuthProtocolEnum
- type ApPortConfigPortAuthEnum
- type ApPwrConfig
- type ApRadio
- type ApRadioAntennaModeEnum
- type ApRadioBand24
- type ApRadioBand5
- type ApRadioBand6
- type ApRadioMac
- type ApRadioStat
- type ApRedundancy
- type ApRedundancyModule
- type ApSearch
- type ApSearchWlan
- type ApStatMeshDownlink
- type ApStatMeshUplink
- type ApSwitch
- type ApSwitchSetting
- type ApSwitchSettingPortVlanId
- func (a *ApSwitchSettingPortVlanId) AsNumber() (*int, bool)
- func (a *ApSwitchSettingPortVlanId) AsString() (*string, bool)
- func (a ApSwitchSettingPortVlanId) MarshalJSON() ([]byte, error)
- func (a ApSwitchSettingPortVlanId) String() string
- func (a *ApSwitchSettingPortVlanId) UnmarshalJSON(input []byte) error
- type ApTemplate
- type ApTemplateMatching
- type ApTemplateMatchingRule
- type ApTemplateWifi
- type ApUplinkPortConfig
- type ApUsb
- type ApUsbTypeEnum
- type ApiResponse
- type ApiUsage
- type AppProbing
- type AppProbingCustomApp
- type AppProbingCustomAppProtocolEnum
- type ArpTableStats
- type Asset
- type AssetFilter
- type AssetImport
- type AssetOfInterest
- type AssetRssiZone
- type AssetZone
- type AssetsImportFile
- type AuditLog
- type AutoOrient
- type AutoPlacement
- type AutoPlacementInfoStatusEnum
- type AutoPreemption
- type Avprofile
- type AvprofileFallbackActionEnum
- type AvprofileProtocolEnum
- type Beacon
- type BeaconTypeEnum
- type BgpAs
- type BgpConfig
- type BgpConfigNeighbors
- type BgpConfigTypeEnum
- type BgpConfigViaEnum
- type BgpLocalAs
- type BgpPeer
- type BgpStats
- type BgpStatsStateEnum
- type BinaryStream
- type BleConfig
- type BleConfigBeaconRateModeEnum
- type BleConfigPowerModeEnum
- type CallTroubleshoot
- type CallTroubleshootData
- type CallTroubleshootSummary
- type CallTroubleshootSummaryData
- type CaptureClient
- type CaptureClientTypeEnum
- type CaptureGateway
- type CaptureGatewayFormatEnum
- type CaptureGatewayGateways
- type CaptureGatewayGatewaysPort
- type CaptureGatewayTypeEnum
- type CaptureMxedge
- type CaptureMxedgeFormatEnum
- type CaptureMxedgeMxedges
- type CaptureMxedgeMxedgesInterfaces
- type CaptureMxedgeTypeEnum
- type CaptureNewAssoc
- type CaptureNewAssocTypeEnum
- type CaptureOrg
- type CaptureRadiotap
- type CaptureRadiotapBandEnum
- type CaptureRadiotapFormatEnum
- type CaptureRadiotapTypeEnum
- type CaptureRadiotapwired
- type CaptureRadiotapwiredBandEnum
- type CaptureRadiotapwiredFormatEnum
- type CaptureRadiotapwiredTypeEnum
- type CaptureScan
- type CaptureScanAps
- type CaptureScanApsBandEnum
- type CaptureScanBandEnum
- type CaptureScanFormatEnum
- type CaptureScanTypeEnum
- type CaptureSite
- func (c *CaptureSite) AsCaptureClient() (*CaptureClient, bool)
- func (c *CaptureSite) AsCaptureGateway() (*CaptureGateway, bool)
- func (c *CaptureSite) AsCaptureNewAssoc() (*CaptureNewAssoc, bool)
- func (c *CaptureSite) AsCaptureRadiotap() (*CaptureRadiotap, bool)
- func (c *CaptureSite) AsCaptureRadiotapwired() (*CaptureRadiotapwired, bool)
- func (c *CaptureSite) AsCaptureScan() (*CaptureScan, bool)
- func (c *CaptureSite) AsCaptureSwitch() (*CaptureSwitch, bool)
- func (c *CaptureSite) AsCaptureWired() (*CaptureWired, bool)
- func (c *CaptureSite) AsCaptureWireless() (*CaptureWireless, bool)
- func (c CaptureSite) MarshalJSON() ([]byte, error)
- func (c CaptureSite) String() string
- func (c *CaptureSite) UnmarshalJSON(input []byte) error
- type CaptureSwitch
- type CaptureSwitchFormatEnum
- type CaptureSwitchPortsTcpdumpExpression
- type CaptureSwitchSwitches
- type CaptureSwitchTypeEnum
- type CaptureWired
- type CaptureWiredFormatEnum
- type CaptureWiredTypeEnum
- type CaptureWireless
- type CaptureWirelessBandEnum
- type CaptureWirelessFormatEnum
- type CaptureWirelessTypeEnum
- type ClaimActivation
- type ClaimTypeEnum
- type ClearDot1xSession
- type ClientCertSerialNumbers
- type ClientInfoSourceEnum
- type ClientKeyMgmtEnum
- type ClientNac
- type ClientWireless
- type CoaServer
- type CodeString
- type ConfigDevice
- func (c *ConfigDevice) AsDeviceAp() (*DeviceAp, bool)
- func (c *ConfigDevice) AsDeviceGateway() (*DeviceGateway, bool)
- func (c *ConfigDevice) AsDeviceSwitch() (*DeviceSwitch, bool)
- func (c ConfigDevice) MarshalJSON() ([]byte, error)
- func (c ConfigDevice) String() string
- func (c *ConfigDevice) UnmarshalJSON(input []byte) error
- type ConfigSwitchLocalAccountsUser
- type ConfigSwitchLocalAccountsUserRoleEnum
- type ConfigVcPortMember
- type ConstAlarmDefinition
- type ConstApChannel
- type ConstApEslVersion
- type ConstApLed
- type ConstAppCategoryDefinition
- type ConstAppCategoryDefinitionFilters
- type ConstAppSubcategoryDefinition
- type ConstApplicationDefinition
- type ConstCountry
- type ConstDeviceAp
- type ConstDeviceApBand24
- type ConstDeviceApBand24UsageEnum
- type ConstDeviceApBand5
- type ConstDeviceApExtios
- type ConstDeviceApExtiosDefaultDirEnum
- type ConstDeviceApVble
- type ConstDeviceGateway
- type ConstDeviceGatewayPorts
- type ConstDeviceModel
- func (c *ConstDeviceModel) AsConstDeviceAp() (*ConstDeviceAp, bool)
- func (c *ConstDeviceModel) AsConstDeviceGateway() (*ConstDeviceGateway, bool)
- func (c *ConstDeviceModel) AsConstDeviceSwitch() (*ConstDeviceSwitch, bool)
- func (c ConstDeviceModel) MarshalJSON() ([]byte, error)
- func (c ConstDeviceModel) String() string
- func (c *ConstDeviceModel) UnmarshalJSON(input []byte) error
- type ConstDeviceSwitch
- type ConstDeviceSwitchDefault
- type ConstDeviceTypeApEnum
- type ConstDeviceTypeGatewayEnum
- type ConstDeviceTypeSwitchEnum
- type ConstEvent
- type ConstFingerprintTypes
- type ConstGatewayApplicationsDefinition
- type ConstInsightMetricsProperty
- type ConstInsightMetricsPropertyExample
- func (c *ConstInsightMetricsPropertyExample) AsBoolean() (*bool, bool)
- func (c *ConstInsightMetricsPropertyExample) AsNumber() (*int, bool)
- func (c *ConstInsightMetricsPropertyExample) AsObject() (*interface{}, bool)
- func (c *ConstInsightMetricsPropertyExample) AsPrecision() (*float64, bool)
- func (c *ConstInsightMetricsPropertyExample) AsString() (*string, bool)
- func (c ConstInsightMetricsPropertyExample) MarshalJSON() ([]byte, error)
- func (c ConstInsightMetricsPropertyExample) String() string
- func (c *ConstInsightMetricsPropertyExample) UnmarshalJSON(input []byte) error
- type ConstInsightMetricsPropertyExampleAnyOf
- type ConstInsightMetricsPropertyExampleAnyOf2
- func (c *ConstInsightMetricsPropertyExampleAnyOf2) AsArrayOfConstInsightMetricsPropertyExample() (*[]ConstInsightMetricsPropertyExample, bool)
- func (c *ConstInsightMetricsPropertyExampleAnyOf2) AsMapOfArrayOfConstInsightMetricsPropertyExamplesObject() (*map[string][]ConstInsightMetricsPropertyExamplesObject, bool)
- func (c ConstInsightMetricsPropertyExampleAnyOf2) MarshalJSON() ([]byte, error)
- func (c ConstInsightMetricsPropertyExampleAnyOf2) String() string
- func (c *ConstInsightMetricsPropertyExampleAnyOf2) UnmarshalJSON(input []byte) error
- type ConstInsightMetricsPropertyExamplesObject
- func (c *ConstInsightMetricsPropertyExamplesObject) AsBoolean() (*bool, bool)
- func (c *ConstInsightMetricsPropertyExamplesObject) AsNumber() (*int, bool)
- func (c *ConstInsightMetricsPropertyExamplesObject) AsObject() (*interface{}, bool)
- func (c *ConstInsightMetricsPropertyExamplesObject) AsPrecision() (*float64, bool)
- func (c *ConstInsightMetricsPropertyExamplesObject) AsString() (*string, bool)
- func (c ConstInsightMetricsPropertyExamplesObject) MarshalJSON() ([]byte, error)
- func (c ConstInsightMetricsPropertyExamplesObject) String() string
- func (c *ConstInsightMetricsPropertyExamplesObject) UnmarshalJSON(input []byte) error
- type ConstInsightMetricsPropertyInterval
- type ConstInsightMetricsPropertyParam
- type ConstInsightMetricsPropertyReportDuration
- type ConstInsightMetricsPropertyScopeEnum
- type ConstLanguage
- type ConstLicenseType
- type ConstMarvisClientVersion
- type ConstMxedgeModel
- type ConstMxedgeModelPort
- type ConstNacEvent
- type ConstOtherDeviceModel
- type ConstState
- type ConstTrafficType
- type ConstWebhookTopic
- type CountOrgDevicesMxtunnelStatusEnum
- type CountPortsAuthStateEnum
- type CountPortsStpRoleEnum
- type CountPortsStpStateEnum
- type CountResult
- type CountSiteCallsDistinctEnum
- type CpuStat
- type DayOfWeekEnum
- type DaysNumber
- type Delivery
- type DeviceAp
- type DeviceApLacpConfig
- type DeviceEvent
- type DeviceGateway
- type DeviceIdString
- type DeviceOther
- type DeviceSearchRadiusFilterStatusEnum
- type DeviceSearchRadiusStat
- type DeviceStatusEnum
- type DeviceSwitch
- type DeviceTypeApEnum
- type DeviceTypeDefaultApEnum
- type DeviceTypeEnum
- type DeviceTypeGatewayEnum
- type DeviceTypeSwitchEnum
- type DeviceTypeWithAllEnum
- type DeviceUpgrade
- type DeviceVersionItem
- type Deviceprofile
- func (d *Deviceprofile) AsDeviceprofileAp() (*DeviceprofileAp, bool)
- func (d *Deviceprofile) AsDeviceprofileGateway() (*DeviceprofileGateway, bool)
- func (d *Deviceprofile) AsDeviceprofileSwitch() (*DeviceprofileSwitch, bool)
- func (d Deviceprofile) MarshalJSON() ([]byte, error)
- func (d Deviceprofile) String() string
- func (d *Deviceprofile) UnmarshalJSON(input []byte) error
- type DeviceprofileAp
- type DeviceprofileGateway
- type DeviceprofileSwitch
- type DevicesGbpTag
- type DevicesIds
- type DhcpClientOption
- type DhcpSnooping
- type DhcpdConfig
- type DhcpdConfigFixedBinding
- type DhcpdConfigOption
- type DhcpdConfigOptionTypeEnum
- type DhcpdConfigProperty
- type DhcpdConfigTypeEnum
- type DhcpdConfigVendorOption
- type DhcpdConfigVendorOptionTypeEnum
- type DhcpdStatLan
- type DiscoveredSwitch
- type DiscoveredSwitchAp
- type DiscoveredSwitchMetric
- type DiscoveredSwitchMetricAp
- type DiscoveredSwitchMetricTypeEnum
- type DiscoveredSwitchesMetricScopeEnum
- type Dot11BandEnum
- type Dot11Bandwidth24Enum
- type Dot11Bandwidth5Enum
- type Dot11Bandwidth6Enum
- type Dot11BandwidthEnum
- type Dot11ProtoEnum
- type Dscp
- type DswitchesComplianceMajorVersion
- type DswitchesMetricsInactiveWiredVlans
- type DswitchesMetricsPoeCompliance
- type DswitchesMetricsPoeComplianceDetails
- type DswitchesMetricsSwitchApAffinity
- type DswitchesMetricsSwitchApAffinityDetails
- type DswitchesMetricsVersionCompliance
- type DswitchesMetricsVersionComplianceDetails
- type DynamicPskSourceEnum
- type EdrProviderEnum
- type EdrStatusEnum
- type EmailString
- type EventFastroam
- type EventFastroamTypeEnum
- type EventOtherdevice
- type EventSeverityEnum
- type EventsClient
- type EventsClientWan
- type EventsRogue
- type EventsSkyatp
- type EvpnConfig
- type EvpnConfigRoleEnum
- type EvpnOptions
- type EvpnOptionsOverlay
- type EvpnOptionsRoutedAtEnum
- type EvpnOptionsUnderlay
- type EvpnOptionsVsInstance
- type EvpnTopology
- type EvpnTopologyResponse
- type EvpnTopologySwitch
- type EvpnTopologySwitchConfig
- type EvpnTopologySwitchConfigDhcpdConfig
- type EvpnTopologySwitchConfigVrfConfig
- type EvpnTopologySwitchRoleEnum
- type ExtraRoute
- type ExtraRoute6
- type ExtraRoute6NextQualifiedProperties
- type ExtraRouteNextQualifiedProperties
- type FastRoamResultEnum
- type FileWrapper
- type Fingerprint
- type FingerprintSearchResult
- type FingerprintsCountDistinctEnum
- type ForSiteEnum
- type FwupdateStat
- type FwupdateStatStatusEnum
- type GatewayCluster
- type GatewayClusterNode
- type GatewayComplianceMajorVersionProperties
- type GatewayComplianceVersion
- type GatewayExtraRoute
- type GatewayIpConfigProperty
- type GatewayMatching
- type GatewayMatchingRule
- type GatewayMetrics
- type GatewayMgmt
- type GatewayMgmtHostOutPolicy
- type GatewayMgmtHostOutPolicySyslog
- type GatewayMgmtHostOutPolicySyslogServer
- type GatewayOobIpConfig
- type GatewayOobIpConfigNode1
- type GatewayPathPreferences
- type GatewayPathPreferencesPath
- type GatewayPathStrategyEnum
- type GatewayPathTypeEnum
- type GatewayPortConfig
- type GatewayPortConfigIpConfig
- type GatewayPortConfigRethIdx
- func (g *GatewayPortConfigRethIdx) AsNumber() (*int, bool)
- func (g *GatewayPortConfigRethIdx) AsString() (*string, bool)
- func (g GatewayPortConfigRethIdx) MarshalJSON() ([]byte, error)
- func (g GatewayPortConfigRethIdx) String() string
- func (g *GatewayPortConfigRethIdx) UnmarshalJSON(input []byte) error
- type GatewayPortDslTypeEnum
- type GatewayPortDuplexEnum
- type GatewayPortLteAuthEnum
- type GatewayPortMirroring
- type GatewayPortMirroringPortMirror
- type GatewayPortUsageEnum
- type GatewayPortVlanIdWithVariable
- func (g *GatewayPortVlanIdWithVariable) AsNumber() (*int, bool)
- func (g *GatewayPortVlanIdWithVariable) AsString() (*string, bool)
- func (g GatewayPortVlanIdWithVariable) MarshalJSON() ([]byte, error)
- func (g GatewayPortVlanIdWithVariable) String() string
- func (g *GatewayPortVlanIdWithVariable) UnmarshalJSON(input []byte) error
- type GatewayPortVpnPath
- type GatewayPortVpnPathBfdProfileEnum
- type GatewayPortVpnPathRoleEnum
- type GatewayPortWanArpPolicerEnum
- type GatewayPortWanSourceNat
- type GatewayPortWanTypeEnum
- type GatewaySearch
- type GatewayTemplate
- type GatewayTemplateTypeEnum
- type GatewayTrafficShaping
- type GatewayVrfInstance
- type GatewayWanPpoeAuthEnum
- type GatewayWanProbeOverride
- type GatewayWanProbeOverrideProbeProfileEnum
- type GatewayWanType6Enum
- type GatewayWanTypeEnum
- type GetOrgMxedgeUpgradeInfoChannelEnum
- type Guest
- type GuestOrg
- type GwRoutingPolicy
- type GwRoutingPolicyTerm
- type GwRoutingPolicyTermAction
- type GwRoutingPolicyTermMatching
- type GwRoutingPolicyTermMatchingProtocolEnum
- type GwRoutingPolicyTermMatchingRouteExists
- type GwRoutingPolicyTermMatchingVpnPathSla
- type HaClusterConfig
- type HaClusterConfigNode
- type HaClusterDelete
- type HaClusterNode
- type HaClusterNodeEnum
- type Hours
- type IdpConfig
- type IdpMachineCertLookupFieldEnum
- type IdpProfile
- type IdpProfileActionEnum
- type IdpProfileBaseProfileEnum
- type IdpProfileMatching
- type IdpProfileMatchingSeverityValueEnum
- type IdpProfileOverwrite
- type IdpUserCertLookupFieldEnum
- type IfStatProperty
- type IfStatPropertyServpInfo
- type ImageImport
- type ImportSiteAssetsUpsertEnum
- type InsightMetrics
- type InsightMetricsResultsItem
- func (i *InsightMetricsResultsItem) AsObject() (*interface{}, bool)
- func (i *InsightMetricsResultsItem) AsPrecision() (*float64, bool)
- func (i InsightMetricsResultsItem) MarshalJSON() ([]byte, error)
- func (i InsightMetricsResultsItem) String() string
- func (i *InsightMetricsResultsItem) UnmarshalJSON(input []byte) error
- type InsightRogueAp
- type InsightRogueClient
- type InstallerDevice
- type InstallerProvisionDevice
- type InstallerSite
- type InstallersItem
- type Inventory
- type InventoryCountDistinctEnum
- type InventorySearch
- type InventorySearchResult
- type InventorySearchResultMember
- type InventoryUpdate
- type InventoryUpdateOperationEnum
- type IpStat
- type IpType6Enum
- type IpTypeEnum
- type IssuedClientCertificate
- type IssuedClientCertificatesResults
- type JsInventoryItem
- type JsInventorySearch
- type JseDevice
- type JsiInventoryCountDistinctEnum
- type JsiWarrantyTypeEnum
- type JuniperAccount
- type JuniperSrxAutoUpgrade
- type JunosIpConfig
- type JunosLocalPortConfig
- type JunosOtherIpConfig
- type JunosPortConfig
- type JunosPortConfigDuplexEnum
- type JunosPortConfigSpeedEnum
- type L2tpStateEnum
- type LastConfigDeviceTypeEnum
- type LastTrouble
- type LatLng
- type LatlngBr
- type LatlngTl
- type License
- type LicenseAmendment
- type LicenseSub
- type LicenseUsageOrg
- type LicenseUsageSite
- type ListMspLogsSortEnum
- type ListOrgLogsSortEnum
- type LocateSwitch
- type LogEvent
- type Login
- type LoginFailures
- type MacAddresses
- type MacTableStats
- type Map
- type MapImportJson
- type MapImportJsonVendorNameEnum
- type MapJibestream
- type MapJibestreamVendorNameEnum
- type MapMicello
- type MapMicelloVendorNameEnum
- type MapNode
- type MapNodePosition
- type MapOrgImportFile
- type MapOrgImportFileJson
- type MapOrgImportFileJsonVendorNameEnum
- type MapSiteImportFile
- type MapSiteReplaceFile
- type MapSiteReplaceFileJson
- type MapSiteReplaceFileJsonTransform
- type MapSitesurveyPathItems
- type MapTypeEnum
- type MapViewEnum
- type MapWallPath
- type MapWayfinding
- type MapWayfindingMicello
- type MapWayfindingPath
- type Marvis
- type MarvisAutoOperations
- type MarvisClient
- type MemoryStat
- type MfaSecretTypeEnum
- type MistDevice
- func (m *MistDevice) AsDeviceAp() (*DeviceAp, bool)
- func (m *MistDevice) AsDeviceGateway() (*DeviceGateway, bool)
- func (m *MistDevice) AsDeviceSwitch() (*DeviceSwitch, bool)
- func (m MistDevice) MarshalJSON() ([]byte, error)
- func (m MistDevice) String() string
- func (m *MistDevice) UnmarshalJSON(input []byte) error
- type MistNacedge
- type MlOverwriteAdditionalProperties
- type ModuleStatItemErrorsItems
- type ModuleStatItemFansItems
- type ModuleStatItemNetworkResource
- type ModuleStatItemPicsItem
- type ModuleStatItemPicsItemPortGroupsItem
- type ModuleStatItemPoe
- type ModuleStatItemPsusItem
- type ModuleStatItemTemperaturesItem
- type ModuleStatItemVcLinksItem
- type Msp
- type MspLicenseAction
- type MspLicenseActionOperationEnum
- type MspLogo
- type MspLogsCountDistinctEnum
- type MspMarvisSuggestionsCountDistinctEnum
- type MspOrgChange
- type MspOrgChangeOperationEnum
- type MspSearchTypeEnum
- type MspTicketsCountDistinctEnum
- type MspTierEnum
- type Mxcluster
- type MxclusterNac
- type MxclusterNacClientIp
- type MxclusterNacClientVendorEnum
- type MxclusterRadAuthServerKeywrapFormatEnum
- type MxclusterRadsec
- type MxclusterRadsecAcctServer
- type MxclusterRadsecAuthServer
- type MxclusterRadsecNasIpSourceEnum
- type MxclusterRadsecServerSelectionEnum
- type MxclusterRadsecSrcIpSourceEnum
- type MxclusterRadsecTls
- type MxclusterTuntermExtraRoute
- type MxclusterTuntermHostsSelectionEnum
- type Mxedge
- type MxedgeDas
- type MxedgeDasCoaServer
- type MxedgeEvent
- type MxedgeEventSysInfo
- type MxedgeForSiteEnum
- type MxedgeMgmt
- type MxedgeMgmtOobIpType6Enum
- type MxedgeMgmtOobIpTypeEnum
- type MxedgeOobIpConfig
- type MxedgeServiceActionEnum
- type MxedgeServiceNameEnum
- type MxedgeTuntermDhcpdConfig
- type MxedgeTuntermDhcpdConfigProperty
- type MxedgeTuntermDhcpdConfigTypeEnum
- type MxedgeTuntermDhcpdTypeEnum
- type MxedgeTuntermExtraRoute
- type MxedgeTuntermIgmpSnoopingConfig
- type MxedgeTuntermIgmpSnoopingQuerier
- type MxedgeTuntermIpConfig
- type MxedgeTuntermMulticastConfig
- type MxedgeTuntermMulticastMdns
- type MxedgeTuntermMulticastSsdp
- type MxedgeTuntermOtherIpConfig
- type MxedgeTuntermSwitchConfig
- type MxedgeTuntermSwitchConfigs
- type MxedgeUpgradeChannelEnum
- type MxedgeUpgradeInfoItems
- type MxedgeUpgradeMulti
- type MxedgeUpgradeMultiAllowDowngrades
- type MxedgeUpgradeResponseCounts
- type MxedgeUpgradeStrategyEnum
- type MxedgeUpgradeVersion
- type MxedgeVersions
- type MxedgesAssign
- type MxedgesUnassign
- type Mxtunnel
- type MxtunnelIpsec
- type MxtunnelIpsecExtraRoute
- type MxtunnelProtocolEnum
- type NacAccessTypeEnum
- type NacAuthTypeEnum
- type NacClientEvent
- type NacClientLastStatusEnum
- type NacCrlFile
- type NacPortal
- type NacPortalAccessTypeEnum
- type NacPortalEapTypeEnum
- type NacPortalGuestPortal
- type NacPortalGuestPortalAuthEnum
- type NacPortalSso
- type NacPortalSsoIdpSignAlgoEnum
- type NacPortalSsoRoleMatching
- type NacPortalTemplate
- type NacPortalTypeEnum
- type NacRule
- type NacRuleActionEnum
- type NacRuleGuestAuthStateEnum
- type NacRuleMatching
- type NacRuleMatchingPortTypeEnum
- type NacTag
- type NacTagGbpTag
- type NacTagMatchEnum
- type NacTagTypeEnum
- type NacTagUsernameAttrEnum
- type NameString
- type Network
- type NetworkInternalAccess
- type NetworkInternetAccess
- type NetworkInternetAccessDestinationNatProperty
- type NetworkInternetAccessStaticNatProperty
- type NetworkMulticast
- type NetworkMulticastGroup
- type NetworkSourceNat
- type NetworkTemplate
- type NetworkTenant
- type NetworkVpnAccessConfig
- type NetworkVpnAccessDestinationNatProperty
- type NetworkVpnAccessStaticNatProperty
- type NoteString
- type NotesString
- type NumberOrNull
- type OauthAppNameEnum
- type OauthPingIdentityRegionEnum
- type OpticPortConfigPort
- type Optional
- type Org
- type OrgApitoken
- type OrgAssetCountDistinctEnum
- type OrgClientSessionsCountDistinctEnum
- type OrgClientsCountDistinctEnum
- type OrgCrlImportFile
- type OrgDevice
- type OrgDevicesCountDistinctEnum
- type OrgDevicesEventsCountDistinctEnum
- type OrgDevicesLastConfigsCountDistinctEnum
- type OrgEvent
- type OrgGuestsCountDistinctEnum
- type OrgLicenseAction
- type OrgLicenseActionOperationEnum
- type OrgLogsCountDistinctEnum
- type OrgMxedgeCountDistinctEnum
- type OrgMxedgeEventsCountDistinctEnum
- type OrgNacClientEventsCountDistinctEnum
- type OrgNacClientsCountDistinctEnum
- type OrgOtherdevicesEventsCountDistinctEnum
- type OrgPskPortalLogsCountDistinctEnum
- type OrgServicePolicy
- type OrgSetting
- type OrgSettingApiPolicy
- type OrgSettingAutoAssignmentRule
- type OrgSettingAutoDeviceNaming
- type OrgSettingAutoDeviceNamingRule
- type OrgSettingAutoDeviceNamingRuleSrcEnum
- type OrgSettingAutoDeviceprofileAssignment
- type OrgSettingAutoSiteAssignment
- type OrgSettingAutoSiteAssignmentSrcEnum
- type OrgSettingCelona
- type OrgSettingCloudshark
- type OrgSettingCradlepoint
- type OrgSettingDeviceCert
- type OrgSettingGatewayMgmt
- type OrgSettingGatewayMgmtAppProbing
- type OrgSettingGatewayMgmtHostInPolicies
- type OrgSettingGatewayMgmtHostInPolicy
- type OrgSettingGatewayMgmtHostOutPolicies
- type OrgSettingGatewayMgmtOverlayIp
- type OrgSettingInstaller
- type OrgSettingJcloud
- type OrgSettingJcloudRa
- type OrgSettingJuniperSrx
- type OrgSettingJunosShellAccess
- type OrgSettingJunosShellAccessAdminEnum
- type OrgSettingJunosShellAccessHelpdeskEnum
- type OrgSettingJunosShellAccessReadEnum
- type OrgSettingJunosShellAccessWriteEnum
- type OrgSettingMgmt
- type OrgSettingMistNac
- type OrgSettingMistNacIdp
- type OrgSettingMistNacIpVersionEnum
- type OrgSettingMistNacServerCert
- type OrgSettingPasswordPolicy
- type OrgSettingPcap
- type OrgSettingScep
- type OrgSettingScepCertProviderEnum
- type OrgSettingScepResponse
- type OrgSettingSecurity
- type OrgSettingSwitch
- type OrgSettingSwitchMgmt
- type OrgSettingVpnOptions
- type OrgSettingWanPma
- type OrgSettingWiredPma
- type OrgSettingWirelessPma
- type OrgSiteSleTypeEnum
- type OrgSiteSleWanResult
- type OrgSiteSleWifi
- type OrgSiteSleWifiResult
- type OrgSiteSleWiredResult
- type OrgSiteWanWifi
- type OrgSiteWiredWifi
- type OrgSitesCountDistinctEnum
- type OrgSslProxyCert
- type OrgSystemEvent
- type OrgTicketsCountDistinctEnum
- type OrgTunnelCountDistinctEnum
- type OrgTunnelTypeCountEnum
- type OrgUiSettings
- type OrgUiSettingsPurposeEnum
- type OrgUiSettingsTile
- type OrgUiSettingsTilePosition
- type OrgWanClientsCountDistinctEnum
- type OrgWanClientsEventsCountDistinctEnum
- type OrgWiredClientsCountDistinctEnum
- type Orggroup
- type OspfArea
- type OspfAreaNetworkAuthTypeEnum
- type OspfAreaNetworkInterfaceTypeEnum
- type OspfAreaTypeEnum
- type OspfAreasNetwork
- type OspfPeerStatsCountDistinctEnum
- type OspfPeerStatsSearchResult
- type OspfPeerStatsSearchResultsItems
- type OtherDeviceUpdate
- type OtherDeviceUpdateMulti
- type OtherDeviceUpdateOperationEnum
- type PcapBucket
- type PcapBucketVerify
- type PcapTypeEnum
- type PmaDashboard
- type PoePriorityEnum
- type PortalTemplateAlignmentEnum
- type PrivilegeMsp
- type PrivilegeMspRoleEnum
- type PrivilegeMspScopeEnum
- type PrivilegeOrg
- type PrivilegeOrgRoleEnum
- type PrivilegeOrgScopeEnum
- type ProtectRe
- type ProtectReAllowedServiceEnum
- type ProtectReCustom
- type ProtectReCustomProtocolEnum
- type Proxy
- type Psk
- type PskIdList
- type PskPortal
- type PskPortalAuthEnum
- type PskPortalImage
- type PskPortalPassphraseRules
- type PskPortalSso
- type PskPortalSsoIdpSignAlgoEnum
- type PskPortalTemplate
- type PskPortalTypeEnum
- type PskUsageEnum
- type PskVlanId
- type PsksImportFile
- type PushPolicyPushWindow
- type RadioBand24UsageEnum
- type RadioBandAntennaBeamPatternEnum
- type RadioBandAntennaModeEnum
- type RadioBandPreambleEnum
- type RadiusAcctPort
- type RadiusAcctServer
- type RadiusAuthPort
- type RadiusAuthServer
- type RadiusCoaPort
- type RadiusConfig
- type RadiusKeywrapFormatEnum
- type Radsec
- type RadsecIdleTimeout
- type RadsecServer
- type RandomMacEnum
- type Recaptcha
- type RecaptchaFlavorEnum
- type Recover
- type RemoteSyslog
- type RemoteSyslogArchive
- type RemoteSyslogArchiveFiles
- func (r *RemoteSyslogArchiveFiles) AsNumber() (*int, bool)
- func (r *RemoteSyslogArchiveFiles) AsString() (*string, bool)
- func (r RemoteSyslogArchiveFiles) MarshalJSON() ([]byte, error)
- func (r RemoteSyslogArchiveFiles) String() string
- func (r *RemoteSyslogArchiveFiles) UnmarshalJSON(input []byte) error
- type RemoteSyslogConsole
- type RemoteSyslogContent
- type RemoteSyslogFacilityEnum
- type RemoteSyslogFileConfig
- type RemoteSyslogServer
- type RemoteSyslogServerPort
- type RemoteSyslogServerProtocolEnum
- type RemoteSyslogSeverityEnum
- type RemoteSyslogTimeFormatEnum
- type RemoteSyslogUser
- type ReplaceDevice
- type ResolutionEnum
- type ResponseAnomalySearch
- type ResponseAssignSuccess
- type ResponseAsyncLicense
- type ResponseAsyncLicenseDetail
- type ResponseAsyncLicenseStatusEnum
- type ResponseAutoOrientation
- type ResponseAutoOrientationDevice
- type ResponseAutoOrientationInfo
- type ResponseAutoOrientationInfoStatusEnum
- type ResponseAutoPlacementInfo
- type ResponseAutoZone
- type ResponseAutoZoneStatusEnum
- type ResponseAutoZoneZone
- type ResponseAutoZoneZoneVertex
- type ResponseAutoplacement
- type ResponseAutoplacementDevice
- type ResponseCallTroubleshootSummary
- type ResponseCertificate
- type ResponseClaimLicense
- type ResponseClaimLicenseInventoryItem
- type ResponseClaimLicenseInventoryPendingItem
- type ResponseClaimLicenseLicenseErrorItem
- type ResponseClaimLicenseLicenseItem
- type ResponseClaimMxEdge
- type ResponseClientEventsSearch
- type ResponseClientNacSearch
- type ResponseClientSearch
- type ResponseClientSessionsSearch
- type ResponseClientSessionsSearchItem
- type ResponseConfigHistorySearch
- type ResponseConfigHistorySearchItem
- type ResponseConfigHistorySearchItemRadio
- type ResponseConfigHistorySearchItemWlan
- type ResponseCount
- type ResponseCountMarvisActions
- type ResponseCountMarvisActionsResult
- type ResponseDeviceBiosUpgrade
- type ResponseDeviceConfigCli
- type ResponseDeviceConfigCmd
- type ResponseDeviceEventsSearch
- type ResponseDeviceMetrics
- type ResponseDeviceMetricsResultsItems
- func (r *ResponseDeviceMetricsResultsItems) AsNumber() (*int, bool)
- func (r *ResponseDeviceMetricsResultsItems) AsString() (*string, bool)
- func (r ResponseDeviceMetricsResultsItems) MarshalJSON() ([]byte, error)
- func (r ResponseDeviceMetricsResultsItems) String() string
- func (r *ResponseDeviceMetricsResultsItems) UnmarshalJSON(input []byte) error
- type ResponseDeviceRadioChannels
- type ResponseDeviceSearch
- type ResponseDeviceSearchResultsItems
- func (r *ResponseDeviceSearchResultsItems) AsApSearch() (*ApSearch, bool)
- func (r *ResponseDeviceSearchResultsItems) AsGatewaySearch() (*GatewaySearch, bool)
- func (r *ResponseDeviceSearchResultsItems) AsSwitchSearch() (*SwitchSearch, bool)
- func (r ResponseDeviceSearchResultsItems) MarshalJSON() ([]byte, error)
- func (r ResponseDeviceSearchResultsItems) String() string
- func (r *ResponseDeviceSearchResultsItems) UnmarshalJSON(input []byte) error
- type ResponseDeviceUpgrade
- type ResponseDiscoveredSwitchMetrics
- type ResponseDiscoveredSwitches
- type ResponseDswitchesMetrics
- type ResponseEventsDevices
- type ResponseEventsFastroam
- type ResponseEventsNacClientSearch
- type ResponseEventsOrgsSearch
- type ResponseEventsOtherDevicesSearch
- type ResponseEventsPathSearch
- type ResponseEventsRogueSearch
- type ResponseEventsRrm
- type ResponseEventsSearch
- type ResponseEventsSkyAtpSearch
- type ResponseGuestSearch
- type ResponseInsightRogue
- type ResponseInsightRogueClient
- type ResponseInventory
- type ResponseInventoryInventoryAddedItems
- type ResponseInventoryInventoryDuplicatedItems
- type ResponseLocationCoverage
- type ResponseLogSearch
- type ResponseLoginLookup
- type ResponseLoginOauthUrl
- type ResponseLoginSuccess
- type ResponseLogout
- type ResponseMapImport
- type ResponseMapImportAp
- type ResponseMapImportApActionEnum
- type ResponseMapImportFloorplan
- type ResponseMapImportSummary
- type ResponseMobileVerifySecret
- type ResponseMspInventoryDevice
- type ResponseMxedgeEventsSearch
- type ResponseMxedgeSearch
- type ResponseMxedgeUpgrade
- type ResponseMxtunnelsPreemptAps
- type ResponseNacCrlFiles
- type ResponseOrgDevices
- type ResponseOrgDevicesSummary
- type ResponseOrgInventoryChange
- type ResponseOrgInventoryChangeOpEnum
- type ResponseOrgSearch
- type ResponseOrgSearchItem
- type ResponseOrgSiteSle
- func (r *ResponseOrgSiteSle) AsOrgSiteSleWifi() (*OrgSiteSleWifi, bool)
- func (r *ResponseOrgSiteSle) AsOrgSiteWanWifi() (*OrgSiteWanWifi, bool)
- func (r *ResponseOrgSiteSle) AsOrgSiteWiredWifi() (*OrgSiteWiredWifi, bool)
- func (r ResponseOrgSiteSle) MarshalJSON() ([]byte, error)
- func (r ResponseOrgSiteSle) String() string
- func (r *ResponseOrgSiteSle) UnmarshalJSON(input []byte) error
- type ResponseOrgSuppressAlarm
- type ResponseOrgSuppressAlarmItem
- type ResponseOrgSystemEventsSearch
- type ResponsePastSpectrumAnalysis
- type ResponsePastSpectrumAnalysisChannelUsage
- type ResponsePastSpectrumAnalysisFftSample
- type ResponsePastSpectrumAnalysisResult
- type ResponsePcapAp
- type ResponsePcapBucketConfig
- type ResponsePcapSearch
- type ResponsePcapSearchItem
- type ResponsePcapSearchItemPcapApsItem
- type ResponsePcapStart
- type ResponsePcapStatus
- type ResponsePortStatsSearch
- type ResponsePskPortalLogsSearch
- type ResponsePskPortalLogsSearchItem
- type ResponseRouterSsrRegisterCmd
- type ResponseRrmConsideration
- type ResponseRrmNeighbors
- type ResponseRunningSpectrumAnalysis
- type ResponseSearch
- type ResponseSearchBgps
- type ResponseSearchItem
- type ResponseSearchVar
- type ResponseSearchVarItem
- type ResponseSelfAuditLogs
- type ResponseSelfOauthLinkSuccess
- type ResponseSelfOauthUrl
- type ResponseSelfSubscription
- type ResponseSetDevicesMap
- type ResponseSiteDeviceUpgrade
- type ResponseSiteDeviceUpgradesItem
- type ResponseSiteSearch
- type ResponseSiteSearchItem
- type ResponseSsoFailureSearch
- type ResponseSsoFailureSearchItem
- type ResponseSsrExportIdTokens
- type ResponseSsrExportIdTokensResultsItem
- type ResponseSsrUpgrade
- type ResponseSsrUpgradeCounts
- type ResponseSsrUpgradeStatus
- type ResponseSsrUpgradeStatusTargets
- type ResponseStatsAssets
- type ResponseStatsCalls
- type ResponseStatsCallsSummary
- type ResponseSwitchMetrics
- type ResponseSwitchMetricsActivePortsSummary
- type ResponseSwitchMetricsConfigSuccess
- type ResponseSwitchMetricsConfigSuccessDetails
- type ResponseSwitchMetricsVersionCompliance
- type ResponseSwitchMetricsVersionComplianceDetails
- type ResponseSwitchPortSearch
- type ResponseSynthetictest
- type ResponseSynthetictestSearch
- type ResponseTroubleshoot
- type ResponseTroubleshootItem
- type ResponseTunnelSearch
- type ResponseTunnelSearchItem
- func (r *ResponseTunnelSearchItem) AsStatsMxtunnel() (*StatsMxtunnel, bool)
- func (r *ResponseTunnelSearchItem) AsStatsWanTunnel() (*StatsWanTunnel, bool)
- func (r ResponseTunnelSearchItem) MarshalJSON() ([]byte, error)
- func (r ResponseTunnelSearchItem) String() string
- func (r *ResponseTunnelSearchItem) UnmarshalJSON(input []byte) error
- type ResponseTwoFactorJson
- type ResponseUpgradeId
- type ResponseUpgradeOrgDevices
- type ResponseVerifyTokenSuccess
- type ResponseVirtualChassisConfig
- type ResponseWiredCoa
- type ResponseZoneSearch
- type ResponseZoneSearchItem
- type RfClientTypeEnum
- type RfDiag
- type RfDiagInfoItem
- type RfTemplate
- type RfTemplateModelSpecificProperty
- type RftemplateRadioBand24
- type RftemplateRadioBand5
- type RftemplateRadioBand6
- type RogueDetails
- type RogueTypeEnum
- type RootPasswordString
- type RouteSummaryStats
- type RoutingPolicyLocalPreference
- func (r *RoutingPolicyLocalPreference) AsNumber() (*int, bool)
- func (r *RoutingPolicyLocalPreference) AsString() (*string, bool)
- func (r RoutingPolicyLocalPreference) MarshalJSON() ([]byte, error)
- func (r RoutingPolicyLocalPreference) String() string
- func (r *RoutingPolicyLocalPreference) UnmarshalJSON(input []byte) error
- type Rrm
- type RrmBand
- type RrmBandMetric
- type RrmBandMetricInterference
- type RrmConsideration
- type RrmEvent
- type RrmEventPreBandwidthEnum
- type RrmEventTypeEnum
- type RrmNeighbors
- type RrmNeighborsNeighbor
- type RrmStatusEnum
- type RssiZone
- type RssiZoneDevice
- type SamlMetadata
- type ScanDataItemBandEnum
- type SdkInviteSms
- type Sdkinvite
- type SdkstatsWirelessClient
- type SdkstatsWirelessClientVbeacon
- type SdkstatsWirelessClientZone
- type Sdktemplate
- type SearchEventsWanClient
- type SearchMxedge
- type SearchOrgDevicesMxtunnelStatusEnum
- type SearchOrgSwOrGwPortsAuthStateEnum
- type SearchOrgSwOrGwPortsStpRoleEnum
- type SearchOrgSwOrGwPortsStpStateEnum
- type SearchOrgSwOrGwPortsTypeEnum
- type SearchSiteDevicesDescSortEnum
- type SearchSiteDevicesMxtunnelStatusEnum
- type SearchSiteDevicesSortEnum
- type SearchSiteSwOrGwPortsAuthStateEnum
- type SearchSiteSwOrGwPortsDeviceTypeEnum
- type SearchSiteSwOrGwPortsStpRoleEnum
- type SearchSiteSwOrGwPortsStpStateEnum
- type SearchWanClient
- type SearchWanUsage
- type SearchWebhookDelivery
- type SearchWiredClient
- type SearchWirelessClientSession
- type SearchWxtagAppsItem
- type SecintelProfile
- type SecintelProfileProfile
- type SecintelProfileProfileActionEnum
- type SecintelProfileProfileCategoryEnum
- type Secpolicy
- type Service
- type ServiceDscp
- type ServiceFailoverPolicyEnum
- type ServiceMaxJitter
- type ServiceMaxLatency
- type ServiceMaxLoss
- type ServicePacket
- type ServicePathEvent
- type ServicePolicy
- type ServicePolicyAamw
- type ServicePolicyAamwProfileEnum
- type ServicePolicyAntivirus
- type ServicePolicyAppqoe
- type ServicePolicyEwfRule
- type ServicePolicyEwfRuleProfileEnum
- type ServicePolicySecintel
- type ServicePolicySecintelProfileEnum
- type ServicePolicySkyatp
- type ServicePolicySkyatpDnsDgaDetectionEnum
- type ServicePolicySkyatpDnsTunnelDetectionEnum
- type ServicePolicySkyatpHttpInspectionEnum
- type ServicePolicySkyatpIotDevicePolicyEnum
- type ServicePolicySslProxy
- type ServicePolicySyslog
- type ServiceSpec
- type ServiceStatProperty
- type ServiceTrafficClassEnum
- type ServiceTypeEnum
- type SettingSsr
- type SettingSsrAutoUpgrade
- type ShellNode
- type SimpleAlert
- type SimpleAlertArpFailure
- type SimpleAlertDhcpFailure
- type SimpleAlertDnsFailure
- type Site
- type SiteApp
- type SiteAppsCountDistinctEnum
- type SiteAssetsCountDistinctEnum
- type SiteAutoUpgradeVersionEnum
- type SiteClientEventsCountDistinctEnum
- type SiteClientSessionsCountDistinctEnum
- type SiteClientsCountDistinctEnum
- type SiteDeviceEventsCountDistinctEnum
- type SiteDeviceLastConfigCountDistinctEnum
- type SiteDevicesCountDistinctEnum
- type SiteDiscoveredSwitchesCountDistinctEnum
- type SiteEngagement
- type SiteEngagementDwellTagNames
- type SiteEngagementDwellTags
- type SiteGuestsCountDistinctEnum
- type SiteMxedgeEventsCountDistinctEnum
- type SiteMxtunnel
- type SiteMxtunnelAdditionalMxtunnel
- type SiteMxtunnelCluster
- type SiteMxtunnelProtocolEnum
- type SiteMxtunnelRadsec
- type SiteNacClientEventsCountDistinctEnum
- type SiteNacClientsCountDistinctEnum
- type SiteOccupancyAnalytics
- type SiteOtherDeviceEventsCountDistinctEnum
- type SitePortsCountDistinctEnum
- type SiteRogue
- type SiteRogueEventsCountDistinctEnum
- type SiteServiceEventsCountDistinctEnum
- type SiteSetting
- type SiteSettingAnalytic
- type SiteSettingApMatching
- type SiteSettingApMatchingRule
- type SiteSettingApPortConfig
- type SiteSettingAutoPlacement
- type SiteSettingAutoUpgrade
- type SiteSettingAutoUpgradeEsl
- type SiteSettingConfigPushPolicy
- type SiteSettingCriticalUrlMonitoring
- type SiteSettingCriticalUrlMonitoringMonitor
- type SiteSettingDerived
- type SiteSettingGatewayMgmt
- type SiteSettingGatewayMgmtAutoSignatureUpdate
- type SiteSettingJuniperSrx
- type SiteSettingJuniperSrxGateway
- type SiteSettingMxedge
- type SiteSettingPaloaltoNetworkGateway
- type SiteSettingPaloaltoNetworks
- type SiteSettingRtsa
- type SiteSettingSkyatp
- type SiteSettingSrxApp
- type SiteSettingStatusPortal
- type SiteSettingSwitch
- type SiteSettingTuntermMulticastConfig
- type SiteSettingTuntermMulticastConfigMdns
- type SiteSettingTuntermMulticastConfigSsdp
- type SiteSettingVna
- type SiteSettingWanVna
- type SiteSettingWiredVna
- type SiteSkyAtpEventsCountDistinctEnum
- type SiteSleHistogramScopeParametersEnum
- type SiteSleImpactSummaryFieldsParameterEnum
- type SiteSleImpactSummaryScopeParametersEnum
- type SiteSleImpactedApsScopeParametersEnum
- type SiteSleImpactedChassisScopeParametersEnum
- type SiteSleImpactedClientsScopeParametersEnum
- type SiteSleImpactedGatewaysScopeParametersEnum
- type SiteSleImpactedInterfacesScopeParametersEnum
- type SiteSleImpactedSwitchesScopeParametersEnum
- type SiteSleImpactedUsersScopeParameterEnum
- type SiteSleMetricClassifiersScopeParametersEnum
- type SiteSleMetricSummaryScopeParametersEnum
- type SiteSleMetrics
- type SiteSleMetricsScopeParametersEnum
- type SiteSleScopeEnum
- type SiteSleThresholdScopeParameterEnum
- type SiteSystemEventsCountDistinctEnum
- type SiteTemplate
- type SiteTemplateAutoUpgrade
- type SiteWanClientEventsDistinctEnum
- type SiteWanClientsCountDistinctEnum
- type SiteWids
- type SiteWidsRepeatedAuthFailures
- type SiteWifi
- type SiteWifiProxyArpEnum
- type SiteWiredClientsCountDistinctEnum
- type SiteZoneCountDistinctEnum
- type SiteZoneOccupancyAlert
- type Sitegroup
- type SkyatpList
- type SkyatpListDomain
- type SkyatpListIp
- type SleClassifier
- type SleClassifierImpact
- type SleClassifierSamples
- type SleClassifierSummary
- type SleClassifierSummaryImpact
- type SleHistogram
- type SleHistogramDataItem
- type SleImpactSummary
- type SleImpactSummaryApItem
- type SleImpactSummaryBandItem
- type SleImpactSummaryDeviceOsItem
- type SleImpactSummaryDeviceTypeItem
- type SleImpactSummaryWlanItem
- type SleImpactedApplications
- type SleImpactedApplicationsApp
- type SleImpactedAps
- type SleImpactedApsAp
- type SleImpactedChassis
- type SleImpactedChassisChassisItem
- type SleImpactedClientGateway
- type SleImpactedClients
- type SleImpactedClientsClient
- type SleImpactedClientsClientSwitch
- type SleImpactedGateways
- type SleImpactedGatewaysGateway
- type SleImpactedInterfaces
- type SleImpactedInterfacesInterface
- type SleImpactedSwitches
- type SleImpactedSwitchesSwitch
- type SleImpactedUsers
- type SleImpactedUsersClient
- type SleImpactedUsersUser
- type SleSummary
- type SleSummaryImpact
- type SleSummaryScopeEnum
- type SleSummarySle
- type SleSummarySleSamples
- type SleThreshold
- type SleThresholds
- type SnmpConfig
- type SnmpConfigClientList
- type SnmpConfigEngineIdTypeEnum
- type SnmpConfigTrapGroup
- type SnmpConfigTrapVersionEnum
- type SnmpConfigV2cConfig
- type SnmpConfigView
- type SnmpUsm
- type SnmpUsmEngineTypeEnum
- type SnmpUsmUser
- type SnmpUsmUserAuthenticationTypeEnum
- type SnmpUsmUserEncryptionTypeEnum
- type SnmpVacm
- type SnmpVacmAccessItem
- type SnmpVacmAccessItemPrefixListItem
- type SnmpVacmAccessItemPrefixListItemLevelEnum
- type SnmpVacmAccessItemPrefixListItemModelEnum
- type SnmpVacmAccessItemTypeEnum
- type SnmpVacmSecurityModelEnum
- type SnmpVacmSecurityToGroup
- type SnmpVacmSecurityToGroupContentItem
- type Snmpv3Config
- type Snmpv3ConfigNotifyFilterItem
- type Snmpv3ConfigNotifyFilterItemContent
- type Snmpv3ConfigNotifyItems
- type Snmpv3ConfigNotifyTypeEnum
- type Snmpv3ConfigTargetAddressItem
- type Snmpv3ConfigTargetParam
- type Snmpv3ConfigTargetParamMessProcessModelEnum
- type Snmpv3ConfigTargetParamSecurityLevelEnum
- type Snmpv3ConfigTargetParamSecurityModelEnum
- type SpectrumAnalysis
- type SpectrumAnalysisBandEnum
- type SpectrumAnalysisFormatEnum
- type SponsorLinkValidityDuration
- func (s *SponsorLinkValidityDuration) AsNumber() (*int, bool)
- func (s *SponsorLinkValidityDuration) AsString() (*string, bool)
- func (s SponsorLinkValidityDuration) MarshalJSON() ([]byte, error)
- func (s SponsorLinkValidityDuration) String() string
- func (s *SponsorLinkValidityDuration) UnmarshalJSON(input []byte) error
- type SslProxyCiphersCategoryEnum
- type Sso
- type SsoIdpSignAlgoEnum
- type SsoIdpTypeEnum
- type SsoLdapTypeEnum
- type SsoMxedgeProxy
- type SsoMxedgeProxyAcctServer
- type SsoMxedgeProxyAuthServer
- type SsoNameidFormatEnum
- type SsoOauthTypeEnum
- type SsoOpenroaming
- type SsoRoleMsp
- type SsoRoleOrg
- type SsrProxy
- type SsrUpgrade
- type SsrUpgradeChannelEnum
- type SsrUpgradeMulti
- type SsrUpgradeStrategyEnum
- type SsrVersion
- type SsrVersionChannelEnum
- type StatDeviceStatusFilterEnum
- type StatsAp
- type StatsApAutoPlacement
- type StatsApAutoPlacementInfo
- type StatsApAutoPlacementInfoProbabilitySurface
- type StatsApAutoUpgrade
- type StatsApBle
- type StatsApEnvStat
- type StatsApEslStat
- type StatsApGpsStat
- type StatsApGpsStatSrcEnum
- type StatsApIotStatAdditionalProperties
- type StatsApL2tpStat
- type StatsApL2tpStatSession
- type StatsApLldpStat
- type StatsApPortStat
- type StatsApRadioConfig
- type StatsApRadioConfigBand
- type StatsApRadioStat
- type StatsApSwitchRedundancy
- type StatsApUsbStat
- type StatsAsset
- type StatsBeacon
- type StatsCall
- type StatsClient
- type StatsClusterConfig
- type StatsClusterConfigControlLinkInfo
- type StatsClusterConfigEthernetConnectionItem
- type StatsClusterConfigFabricLinkInfo
- type StatsClusterConfigRedundancyGroupInfoItem
- type StatsDevice
- func (s *StatsDevice) AsStatsAp() (*StatsAp, bool)
- func (s *StatsDevice) AsStatsGateway() (*StatsGateway, bool)
- func (s *StatsDevice) AsStatsSwitch() (*StatsSwitch, bool)
- func (s StatsDevice) MarshalJSON() ([]byte, error)
- func (s StatsDevice) String() string
- func (s *StatsDevice) UnmarshalJSON(input []byte) error
- type StatsDeviceOther
- type StatsDeviceOtherConnectedDevice
- type StatsDeviceOtherInterface
- type StatsDeviceOtherVendorSpecific
- type StatsDeviceOtherVendorSpecificPort
- type StatsGateway
- type StatsGatewayCluster
- type StatsGatewayMacTableStats
- type StatsGatewayModuleStatItem
- type StatsGatewayPort
- type StatsGatewayServiceStatus
- type StatsGatewaySpuItem
- type StatsGatewayVpnPeer
- type StatsGatewayWanTunnel
- type StatsMxedge
- type StatsMxedgeCpuStat
- type StatsMxedgeInactiveVlanStrs
- type StatsMxedgeIpStat
- type StatsMxedgeLagStat
- type StatsMxedgeMemoryStat
- type StatsMxedgeOobIpStat
- type StatsMxedgePortStat
- type StatsMxedgePortStatLacp
- type StatsMxedgePortStatLldpStats
- type StatsMxedgePortStatSfp
- type StatsMxedgeServiceStat
- type StatsMxedgeTuntermIpConfig
- type StatsMxedgeTuntermPortConfig
- type StatsMxedgeTuntermStat
- type StatsMxtunnel
- type StatsMxtunnelSession
- type StatsMxtunnelStateEnum
- type StatsOrg
- type StatsOrgSle
- type StatsOrgSleUserMinutes
- type StatsRssiZone
- type StatsRssiZonesDevice
- type StatsSdkclient
- type StatsSdkclientNetworkConnection
- type StatsSite
- type StatsSwitch
- type StatsSwitchApRedundancy
- type StatsSwitchApRedundancyModule
- type StatsSwitchClientItem
- type StatsSwitchClientsStats
- type StatsSwitchClientsStatsTotal
- type StatsSwitchModuleStatItem
- type StatsSwitchPort
- type StatsSwitchPortAuthStateEnum
- type StatsSwitchPortPoeModeEnum
- type StatsSwitchPortPortUsageEnum
- type StatsSwitchPortStpRoleEnum
- type StatsSwitchPortStpStateEnum
- type StatsSwitchPortTypeEnum
- type StatsSwitchVcSetupInfo
- type StatsUnconnectedClient
- type StatsWanClient
- type StatsWanTunnel
- type StatsWanTunnelPriorityEnum
- type StatsWiredClient
- type StatsWirelessClient
- type StatsWirelessClientAirwatch
- type StatsWirelessClientRssiZone
- type StatsWirelessClientVbeacon
- type StatsWirelessClientWxruleUsage
- type StatsWirelessClientZone
- type StatsWxrule
- type StatsWxruleActionEnum
- type StatsWxruleUsageProperties
- type StatsZone
- type StatsZoneAssetsWaits
- type StatsZoneClientsWaits
- type StatsZoneDetails
- type StatsZoneDetailsClientWaits
- type StatsZoneDiscoveredAssetsWaits
- type StatsZoneSdkclientsWaits
- type StatsZoneUnconnectedClientsWaits
- type SuppressedAlarm
- type SuppressedAlarmApplies
- type SuppressedAlarmScopeEnum
- type SwRoutingPolicy
- type SwRoutingPolicyTerm
- type SwRoutingPolicyTermAction
- type SwRoutingPolicyTermMatching
- type SwRoutingPolicyTermMatchingProtocolEnum
- type SwitchAutoUpgrade
- type SwitchAutoUpgradeContainer
- type SwitchBgpConfig
- type SwitchBgpConfigHoldTimeZeroEnum
- type SwitchBgpConfigNeighbor
- type SwitchBgpConfigNeighborNeighborAs
- func (s *SwitchBgpConfigNeighborNeighborAs) AsNumber() (*int, bool)
- func (s *SwitchBgpConfigNeighborNeighborAs) AsString() (*string, bool)
- func (s SwitchBgpConfigNeighborNeighborAs) MarshalJSON() ([]byte, error)
- func (s SwitchBgpConfigNeighborNeighborAs) String() string
- func (s *SwitchBgpConfigNeighborNeighborAs) UnmarshalJSON(input []byte) error
- type SwitchBgpConfigTypeEnum
- type SwitchDhcpdConfig
- type SwitchDhcpdConfigProperty
- type SwitchDhcpdConfigTypeEnum
- type SwitchIotPort
- type SwitchIotPortAlarmClassEnum
- type SwitchIotPortInputSrcEnum
- type SwitchMatching
- type SwitchMatchingRule
- type SwitchMatchingRuleIpConfig
- type SwitchMatchingRuleOobIpConfig
- type SwitchMetricScopeEnum
- type SwitchMetricTypeEnum
- type SwitchMetricsActivePortsSummaryDetails
- type SwitchMetricsComplianceMajorVersion
- type SwitchMgmt
- type SwitchMgmtMxedgeProxyPort
- func (s *SwitchMgmtMxedgeProxyPort) AsNumber() (*int, bool)
- func (s *SwitchMgmtMxedgeProxyPort) AsString() (*string, bool)
- func (s SwitchMgmtMxedgeProxyPort) MarshalJSON() ([]byte, error)
- func (s SwitchMgmtMxedgeProxyPort) String() string
- func (s *SwitchMgmtMxedgeProxyPort) UnmarshalJSON(input []byte) error
- type SwitchMistNac
- type SwitchNetwork
- type SwitchOobIpConfig
- type SwitchOspfConfig
- type SwitchOspfConfigArea
- type SwitchOspfConfigReferenceBandwidth
- func (s *SwitchOspfConfigReferenceBandwidth) AsNumber() (*int, bool)
- func (s *SwitchOspfConfigReferenceBandwidth) AsString() (*string, bool)
- func (s SwitchOspfConfigReferenceBandwidth) MarshalJSON() ([]byte, error)
- func (s SwitchOspfConfigReferenceBandwidth) String() string
- func (s *SwitchOspfConfigReferenceBandwidth) UnmarshalJSON(input []byte) error
- type SwitchPortConfigOverwrite
- type SwitchPortLocalUsageDot1xEnum
- type SwitchPortLocalUsageDuplexEnum
- type SwitchPortLocalUsageMacAuthProtocolEnum
- type SwitchPortLocalUsageModeEnum
- type SwitchPortLocalUsageStormControl
- type SwitchPortMirroringProperty
- type SwitchPortUsage
- type SwitchPortUsageDot1xEnum
- type SwitchPortUsageDuplexEnum
- type SwitchPortUsageDuplexOverwriteEnum
- type SwitchPortUsageDynamicResetDefaultWhenEnum
- type SwitchPortUsageDynamicRule
- type SwitchPortUsageDynamicRuleSrcEnum
- type SwitchPortUsageMacAuthProtocolEnum
- type SwitchPortUsageMacLimit
- type SwitchPortUsageMacLimitOverwrite
- func (s *SwitchPortUsageMacLimitOverwrite) AsNumber() (*int, bool)
- func (s *SwitchPortUsageMacLimitOverwrite) AsString() (*string, bool)
- func (s SwitchPortUsageMacLimitOverwrite) MarshalJSON() ([]byte, error)
- func (s SwitchPortUsageMacLimitOverwrite) String() string
- func (s *SwitchPortUsageMacLimitOverwrite) UnmarshalJSON(input []byte) error
- type SwitchPortUsageModeEnum
- type SwitchPortUsageMtu
- type SwitchPortUsageReauthInterval
- func (s *SwitchPortUsageReauthInterval) AsNumber() (*int, bool)
- func (s *SwitchPortUsageReauthInterval) AsString() (*string, bool)
- func (s SwitchPortUsageReauthInterval) MarshalJSON() ([]byte, error)
- func (s SwitchPortUsageReauthInterval) String() string
- func (s *SwitchPortUsageReauthInterval) UnmarshalJSON(input []byte) error
- type SwitchPortUsageSpeedEnum
- type SwitchPortUsageSpeedOverwriteEnum
- type SwitchPortUsageStormControl
- type SwitchRadius
- type SwitchRadiusConfig
- type SwitchRadiusConfigAuthServerSelectionEnum
- type SwitchSearch
- type SwitchStpConfig
- type SwitchVirtualChassis
- type SwitchVirtualChassisMember
- type SwitchVirtualChassisMemberVcRoleEnum
- type SwitchVrfInstance
- type Synthetictest
- type SynthetictestConfig
- type SynthetictestConfigAggressivenessEnum
- type SynthetictestConfigCustomProbe
- type SynthetictestConfigCustomProbeTypeEnum
- type SynthetictestConfigLanNetwork
- type SynthetictestConfigVlan
- type SynthetictestConfigWanSpeedtest
- type SynthetictestDevice
- type SynthetictestDeviceProtocolEnum
- type SynthetictestDeviceVlanId
- func (s *SynthetictestDeviceVlanId) AsNumber() (*int, bool)
- func (s *SynthetictestDeviceVlanId) AsString() (*string, bool)
- func (s SynthetictestDeviceVlanId) MarshalJSON() ([]byte, error)
- func (s SynthetictestDeviceVlanId) String() string
- func (s *SynthetictestDeviceVlanId) UnmarshalJSON(input []byte) error
- type SynthetictestInfo
- type SynthetictestProtocolEnum
- type SynthetictestRadiusServer
- type SynthetictestTypeEnum
- type SystemDefinedPortUsagesEnum
- type Tacacs
- type TacacsAcctServer
- type TacacsAuthServer
- type TacacsDefaultRoleEnum
- type Template
- type TemplateApplies
- type TemplateExceptions
- type TestCradlepoint
- type TestCradlepointLastStatusEnum
- type TestSmsGlobal
- type TestTelstra
- type TestTwilio
- type Ticket
- type TicketAttachment
- type TicketComment
- type TicketCommentImportFile
- type TicketCommentsAttachment
- type TicketStatusEnum
- type TicketUploadAttachmentsFile
- type TroubleshootCallItem
- type TroubleshootTypeEnum
- type TunnelConfig
- type TunnelConfigAuthAlgoEnum
- type TunnelConfigAutoProvision
- type TunnelConfigAutoProvisionLatLng
- type TunnelConfigAutoProvisionNode
- type TunnelConfigAutoProvisionProviderEnum
- type TunnelConfigDhGroupEnum
- type TunnelConfigEncAlgoEnum
- type TunnelConfigIkeDhGroupEnum
- type TunnelConfigIkeModeEnum
- type TunnelConfigIkeProposal
- type TunnelConfigIpsecProposal
- type TunnelConfigNode
- type TunnelConfigProbe
- type TunnelConfigProbeTypeEnum
- type TunnelConfigProtocolEnum
- type TunnelConfigProviderEnum
- type TunnelConfigTunnelModeEnum
- type TunnelConfigVersionEnum
- type TunnelProviderOptions
- type TunnelProviderOptionsJse
- type TunnelProviderOptionsPrisma
- type TunnelProviderOptionsZscaler
- type TunnelProviderOptionsZscalerSubLocation
- type TunnelTypeEnum
- type TuntermDhcpdConfig
- type TuntermDhcpdConfigProperty
- type TuntermDhcpdTypeEnum
- type TuntermMonitoringItem
- type TuntermMonitoringProtocolEnum
- type TuntermPortConfig
- type TuntermPortConfigUpstreamPortVlanId
- func (t *TuntermPortConfigUpstreamPortVlanId) AsNumber() (*int, bool)
- func (t *TuntermPortConfigUpstreamPortVlanId) AsString() (*string, bool)
- func (t TuntermPortConfigUpstreamPortVlanId) MarshalJSON() ([]byte, error)
- func (t TuntermPortConfigUpstreamPortVlanId) String() string
- func (t *TuntermPortConfigUpstreamPortVlanId) UnmarshalJSON(input []byte) error
- type TwoFactorCode
- type TwoFactorString
- type UiSettings
- type UiSettingsDefaultTimeRange
- type UiSettingsTile
- type UiSettingsTileMetric
- type UiSettingsTileTimeRange
- type UpgradeBios
- type UpgradeBiosMulti
- type UpgradeDeviceRrmMeshUpgradeEnum
- type UpgradeDeviceRrmNodeOrderEnum
- type UpgradeDeviceStatusEnum
- type UpgradeDeviceStrategyEnum
- type UpgradeDevicesTargets
- type UpgradeFpga
- type UpgradeFpgaMulti
- type UpgradeInfoStatusEnum
- type UpgradeOrgDevices
- type UpgradeOrgDevicesDownloadStrategyEnum
- type UpgradeOrgDevicesItem
- type UpgradeOrgDevicesItemSiteUpgrade
- type UpgradeOrgDevicesUpgrade
- type UpgradeOrgDevicesUpgradeInfo
- type UpgradeOrgDevicesVersion
- type UpgradeOrgDevicesVersionFirmwareTypeEnum
- type UpgradeSiteDevices
- type UpgradeSiteDevicesCounts
- type UseAutoApValues
- type UseAutoApValuesForEnum
- type UserApitoken
- type UserMac
- type UserMacImport
- type UserMacsUpdate
- type UsermacsId
- type UsernamePassword
- type UtilsBouncePort
- type UtilsCableTests
- type UtilsClearArp
- type UtilsClearBgp
- type UtilsClearBgpTypeEnum
- type UtilsClearBpdu
- type UtilsClearMacs
- type UtilsClearSession
- type UtilsDevicesRestart
- type UtilsDevicesRestartMulti
- type UtilsDevicesRestartNodeEnum
- type UtilsMacTable
- type UtilsMonitorTraffic
- type UtilsPing
- type UtilsReleaseDhcp
- type UtilsReleaseDhcpLeases
- type UtilsResetRadioConfig
- type UtilsRrmOptimize
- type UtilsSendBleBeacon
- type UtilsSendSupportLogs
- type UtilsSendSupportLogsInfoEnum
- type UtilsServicePing
- type UtilsShowArp
- type UtilsShowBgpSummary
- type UtilsShowDhcpLeases
- type UtilsShowDot1x
- type UtilsShowEvpnDatabase
- type UtilsShowForwardingTable
- type UtilsShowOspfDatabase
- type UtilsShowOspfInterfaces
- type UtilsShowOspfNeighbors
- type UtilsShowOspfSummary
- type UtilsShowRoute
- type UtilsShowRouteProtocolEnum
- type UtilsShowServicePath
- type UtilsShowSession
- type UtilsTraceroute
- type UtilsTracerouteProtocolEnum
- type UtilsTuntermBouncePort
- type UtilsZeroizeFips
- type VarSourceEnum
- type Vbeacon
- type VcPort
- type VcPortModeEnum
- type VersionString
- type VirtualChassisConfig
- type VirtualChassisConfigMember
- type VirtualChassisConfigMemberVcRoleEnum
- type VirtualChassisMemberUpdate
- type VirtualChassisMemberUpdateVcRoleEnum
- type VirtualChassisPort
- type VirtualChassisPortOperationEnum
- type VirtualChassisUpdate
- type VirtualChassisUpdateOpEnum
- type VisitsScopeEnum
- type VlanIdWithVariable
- type Vpn
- type VpnModeEnum
- type VpnPath
- type VpnPathBfdProfileEnum
- type VpnPathPeerPathsPeer
- type VpnPathSelection
- type VpnPathSelectionStrategyEnum
- type VpnPathTrafficShaping
- type VpnPeerStat
- type VpnPeerStatSearch
- type VpnTypeEnum
- type VrfConfig
- type VrfExtraRoute
- type VrrpConfig
- type VrrpConfigGroup
- type VrrpGroup
- type VrrpGroupAuthTypeEnum
- type VrrpGroupNetwork
- type VsInstanceProperty
- type WanExtraRoutes
- type WanTunnelProtocolEnum
- type WanUsages
- type WanUsagesCountDistinctEnum
- type WayfindingImportJson
- func (w *WayfindingImportJson) AsMapJibestream() (*MapJibestream, bool)
- func (w *WayfindingImportJson) AsMapMicello() (*MapMicello, bool)
- func (w WayfindingImportJson) MarshalJSON() ([]byte, error)
- func (w WayfindingImportJson) String() string
- func (w *WayfindingImportJson) UnmarshalJSON(input []byte) error
- type Webhook
- type WebhookAlarmEvent
- type WebhookAlarms
- type WebhookAlarmsTopicEnum
- type WebhookAssetRawRssi
- type WebhookAssetRawRssiEvent
- type WebhookAssetRawRssiEventServicePacket
- type WebhookAssetRawRssiTopicEnum
- type WebhookAudits
- type WebhookAuditsTopicEnum
- type WebhookClientInfo
- type WebhookClientInfoEvent
- type WebhookClientInfoTopicEnum
- type WebhookClientJoin
- type WebhookClientJoinEvent
- type WebhookClientJoinTopicEnum
- type WebhookClientLatency
- type WebhookClientLatencyEvent
- type WebhookClientLatencyTopicEnum
- type WebhookClientSessions
- type WebhookClientSessionsEvent
- type WebhookClientSessionsTopicEnum
- type WebhookDelivery
- type WebhookDeliveryDistinctEnum
- type WebhookDeliveryStatusEnum
- type WebhookDeliveryTopicEnum
- type WebhookDeviceEvents
- type WebhookDeviceEventsEventEvTypeEnum
- type WebhookDeviceEventsTopicEnum
- type WebhookDeviceUpdowns
- type WebhookDeviceUpdownsEvent
- type WebhookDeviceUpdownsTopicEnum
- type WebhookDiscoveredRawRssi
- type WebhookDiscoveredRawRssiEvent
- type WebhookDiscoveredRawRssiTopicEnum
- type WebhookGuestAuthorizations
- type WebhookGuestAuthorizationsEvent
- type WebhookGuestAuthorizationsTopicEnum
- type WebhookLocation
- type WebhookLocationAsset
- type WebhookLocationAssetEvent
- type WebhookLocationAssetTopicEnum
- type WebhookLocationCentrak
- type WebhookLocationCentrakEvent
- type WebhookLocationCentrakEventTypeEnum
- type WebhookLocationCentrakTopicEnum
- type WebhookLocationClient
- type WebhookLocationClientEvent
- type WebhookLocationClientTopicEnum
- type WebhookLocationEvent
- type WebhookLocationSdk
- type WebhookLocationSdkEvent
- type WebhookLocationSdkTopicEnum
- type WebhookLocationTopicEnum
- type WebhookLocationUnclient
- type WebhookLocationUnclientEvent
- type WebhookLocationUnclientTopicEnum
- type WebhookMxedgeEventTopicEnum
- type WebhookMxedgeEvents
- type WebhookNacAccounting
- type WebhookNacAccountingEvent
- type WebhookNacAccountingTopicEnum
- type WebhookNacEvents
- type WebhookNacEventsTopicEnum
- type WebhookOauth2GrantTypeEnum
- type WebhookOccupancyAlertTypeEnum
- type WebhookOccupancyAlerts
- type WebhookOccupancyAlertsEvent
- type WebhookOccupancyAlertsEventAlertEventsItems
- type WebhookOccupancyAlertsTopicEnum
- type WebhookPing
- type WebhookPingEvent
- type WebhookPingTopicEnum
- type WebhookRssizone
- type WebhookRssizoneEvent
- type WebhookRssizoneTopicEnum
- type WebhookSdkclientScanData
- type WebhookSdkclientScanDataEvent
- type WebhookSdkclientScanDataEventScanDataItem
- type WebhookSdkclientScanDataTopicEnum
- type WebhookSiteSle
- type WebhookSiteSleEvent
- type WebhookSiteSleEventSle
- type WebhookSiteSleTopicEnum
- type WebhookTypeEnum
- type WebhookWifiConnRaw
- type WebhookWifiConnRawEvent
- type WebhookWifiConnRawEventExtendedInfo
- type WebhookWifiConnRawEventPacket
- type WebhookWifiConnRawTopicEnum
- type WebhookWifiUnconnRaw
- type WebhookWifiUnconnRawEvent
- type WebhookWifiUnconnRawEventPacket
- type WebhookWifiUnconnRawTopicEnum
- type WebhookZone
- type WebhookZoneEvent
- type WebhookZoneEventTriggerEnum
- type WebhookZoneEventTypeEnum
- type WebhookZoneTopicEnum
- type WebsocketSession
- type WebsocketSessionWithUrl
- type WifiBeaconExtendedInfoItems
- type WiredClientResponse
- type WiredClientResponseDeviceMacPortItem
- type WirelessClientSession
- type Wlan
- type WlanAirwatch
- type WlanAppLimit
- type WlanAppQos
- type WlanAppQosAppsProperties
- type WlanAppQosOthersItem
- type WlanApplyToEnum
- type WlanAuth
- type WlanAuthOweEnum
- type WlanAuthPairwiseItemEnum
- type WlanAuthServerSelectionEnum
- type WlanAuthTypeEnum
- type WlanBonjour
- type WlanBonjourServiceProperties
- type WlanBonjourServicePropertiesScopeEnum
- type WlanCiscoCwa
- type WlanDatarates
- type WlanDataratesLegacyItemEnum
- type WlanDataratesTemplateEnum
- type WlanDnsServerRewrite
- type WlanDynamicPsk
- type WlanDynamicVlan
- type WlanDynamicVlanDefaultVlanId
- func (w *WlanDynamicVlanDefaultVlanId) AsNumber() (*int, bool)
- func (w *WlanDynamicVlanDefaultVlanId) AsString() (*string, bool)
- func (w WlanDynamicVlanDefaultVlanId) MarshalJSON() ([]byte, error)
- func (w WlanDynamicVlanDefaultVlanId) String() string
- func (w *WlanDynamicVlanDefaultVlanId) UnmarshalJSON(input []byte) error
- type WlanDynamicVlanDefaultVlanIdDeprecated
- func (w *WlanDynamicVlanDefaultVlanIdDeprecated) AsNumber() (*int, bool)
- func (w *WlanDynamicVlanDefaultVlanIdDeprecated) AsString() (*string, bool)
- func (w WlanDynamicVlanDefaultVlanIdDeprecated) MarshalJSON() ([]byte, error)
- func (w WlanDynamicVlanDefaultVlanIdDeprecated) String() string
- func (w *WlanDynamicVlanDefaultVlanIdDeprecated) UnmarshalJSON(input []byte) error
- type WlanDynamicVlanTypeEnum
- type WlanHotspot20
- type WlanHotspot20OperatorsItemEnum
- type WlanInjectDhcpOption82
- type WlanInterfaceEnum
- type WlanLimit
- type WlanMistNac
- type WlanPortal
- type WlanPortalAuthEnum
- type WlanPortalIdpSignAlgoEnum
- type WlanPortalSmsProviderEnum
- type WlanPortalSponsors
- func (w *WlanPortalSponsors) AsArrayOfString() (*[]string, bool)
- func (w *WlanPortalSponsors) AsMapOfString() (*map[string]string, bool)
- func (w WlanPortalSponsors) MarshalJSON() ([]byte, error)
- func (w WlanPortalSponsors) String() string
- func (w *WlanPortalSponsors) UnmarshalJSON(input []byte) error
- type WlanPortalSsoNameidFormatEnum
- type WlanPortalTemplate
- type WlanPortalTemplateSetting
- type WlanPortalTemplateSettingLocale
- type WlanQos
- type WlanQosClassEnum
- type WlanRoamModeEnum
- type WlanSchedule
- type WlanVlanIdWithVariable
- type WlanVlanIds
- type WxlanRule
- type WxlanRuleActionEnum
- type WxlanTag
- type WxlanTagMatchEnum
- type WxlanTagOperationEnum
- type WxlanTagSpec
- type WxlanTagTypeEnum
- type WxlanTagVlanId
- type WxlanTunnel
- type WxlanTunnelDmvpn
- type WxlanTunnelIpsec
- type WxlanTunnelSession
- type WxlanTunnelSessionEthertypeEnum
- type WxtagClient
- type Zone
- type ZoneScopeEnum
- type ZoneTypeEnum
- type ZoneVertex
- type ZoneVertexM
Constants ¶
This section is empty.
Variables ¶
var AccountOauthAddContainer internalAccountOauthAdd
var AdditionalVlanIdsContainer internalAdditionalVlanIds
var ApSwitchSettingPortVlanIdContainer internalApSwitchSettingPortVlanId
var BgpAsContainer internalBgpAs
var BgpLocalAsContainer internalBgpLocalAs
var CaptureOrgContainer internalCaptureOrg
var CaptureSiteContainer internalCaptureSite
var ConfigDeviceContainer internalConfigDevice
var ConstDeviceModelContainer internalConstDeviceModel
var ConstInsightMetricsPropertyExampleAnyOf2Container internalConstInsightMetricsPropertyExampleAnyOf2
var ConstInsightMetricsPropertyExampleContainer internalConstInsightMetricsPropertyExample
var ConstInsightMetricsPropertyExamplesObjectContainer internalConstInsightMetricsPropertyExamplesObject
var DEFAULT_DATE = utilities.DEFAULT_DATE
DEFAULT_DATE is a utility.
var DeviceprofileContainer internalDeviceprofile
var DscpContainer internalDscp
var ExtractTimeTypeAdditionalProperties = utilities.ExtractTimeTypeAdditionalProperties
ExtractTimeTypeAdditionalProperties is a utility.
var GatewayPortConfigRethIdxContainer internalGatewayPortConfigRethIdx
var GatewayPortVlanIdWithVariableContainer internalGatewayPortVlanIdWithVariable
var GetFile = https.GetFile
GetFile retrieves a file from the given filePath and returns it as a FileWrapper. It makes an HTTP GET request to the filePath to fetch the file's content and metadata. OR It uses os.ReadFile to read the file's content and metadata.
var GetFileWithContentType = https.GetFileWithContentType
GetFileWithContentType retrieves a file from the given filePath using GetFile and returns it as a FileWrapper. It also sets the provided "content-type" in the file headers.
var InsightMetricsResultsItemContainer internalInsightMetricsResultsItem
var MergeTimeTypeAdditionalProperties = utilities.MergeTimeTypeAdditionalProperties
MergeTimeTypeAdditionalProperties is a utility.
var MistDeviceContainer internalMistDevice
var NacTagGbpTagContainer internalNacTagGbpTag
var NewTypeHolder = utilities.NewTypeHolder
NewTypeHolder is a utility.
var NewTypeHolderDiscriminator = utilities.NewTypeHolderDiscriminator
NewTypeHolderDiscriminator is a utility.
var NumberOrNullContainer internalNumberOrNull
var PskVlanIdContainer internalPskVlanId
var RadiusAcctPortContainer internalRadiusAcctPort
var RadiusAuthPortContainer internalRadiusAuthPort
var RadiusCoaPortContainer internalRadiusCoaPort
var RadsecIdleTimeoutContainer internalRadsecIdleTimeout
var RemoteSyslogArchiveFilesContainer internalRemoteSyslogArchiveFiles
var RemoteSyslogServerPortContainer internalRemoteSyslogServerPort
var ResponseDeviceMetricsResultsItemsContainer internalResponseDeviceMetricsResultsItems
var ResponseDeviceSearchResultsItemsContainer internalResponseDeviceSearchResultsItems
var ResponseOrgSiteSleContainer internalResponseOrgSiteSle
var ResponseTunnelSearchItemContainer internalResponseTunnelSearchItem
var RoutingPolicyLocalPreferenceContainer internalRoutingPolicyLocalPreference
var ServiceDscpContainer internalServiceDscp
var ServiceMaxJitterContainer internalServiceMaxJitter
var ServiceMaxLatencyContainer internalServiceMaxLatency
var ServiceMaxLossContainer internalServiceMaxLoss
var SponsorLinkValidityDurationContainer internalSponsorLinkValidityDuration
var StatsClientContainer internalStatsClient
var StatsDeviceContainer internalStatsDevice
var SwitchBgpConfigNeighborNeighborAsContainer internalSwitchBgpConfigNeighborNeighborAs
var SwitchMgmtMxedgeProxyPortContainer internalSwitchMgmtMxedgeProxyPort
var SwitchOspfConfigReferenceBandwidthContainer internalSwitchOspfConfigReferenceBandwidth
var SwitchPortUsageMacLimitContainer internalSwitchPortUsageMacLimit
var SwitchPortUsageMacLimitOverwriteContainer internalSwitchPortUsageMacLimitOverwrite
var SwitchPortUsageMtuContainer internalSwitchPortUsageMtu
var SwitchPortUsageReauthIntervalContainer internalSwitchPortUsageReauthInterval
var SynthetictestDeviceVlanIdContainer internalSynthetictestDeviceVlanId
var TimeToStringMap = utilities.TimeToStringMap
TimeToStringMap is a utility.
var TimeToStringSlice = utilities.TimeToStringSlice
TimeToStringSlice is a utility.
var ToTimeMap = utilities.ToTimeMap
ToTimeMap is a utility.
var ToTimeSlice = utilities.ToTimeSlice
ToTimeSlice is a utility.
var TuntermPortConfigUpstreamPortVlanIdContainer internalTuntermPortConfigUpstreamPortVlanId
var UnmarshallAnyOf = utilities.UnmarshallAnyOf
UnmarshallAnyOf is a utility.
var UnmarshallAnyOfWithDiscriminator = utilities.UnmarshallAnyOfWithDiscriminator
UnmarshallAnyOfWithDiscriminator is a utility.
var UnmarshallOneOf = utilities.UnmarshallOneOf
UnmarshallOneOf is a utility.
var UnmarshallOneOfWithDiscriminator = utilities.UnmarshallOneOfWithDiscriminator
UnmarshallOneOfWithDiscriminator is a utility.
var VlanIdWithVariableContainer internalVlanIdWithVariable
var WayfindingImportJsonContainer internalWayfindingImportJson
var WlanDynamicVlanDefaultVlanIdContainer internalWlanDynamicVlanDefaultVlanId
var WlanDynamicVlanDefaultVlanIdDeprecatedContainer internalWlanDynamicVlanDefaultVlanIdDeprecated
var WlanLimitContainer internalWlanLimit
var WlanPortalSponsorsContainer internalWlanPortalSponsors
var WlanVlanIdWithVariableContainer internalWlanVlanIdWithVariable
var WlanVlanIdsContainer internalWlanVlanIds
var WxlanTagVlanIdContainer internalWxlanTagVlanId
Functions ¶
func DetectConflictingProperties ¶ added in v0.4.14
DetectConflictingProperties is a utility function.
func ExtractAdditionalProperties ¶ added in v0.4.14
func ExtractAdditionalProperties[T any]( input []byte, keysToRemove ...string) ( map[string]T, error)
ExtractAdditionalProperties is a utility function.
func MergeAdditionalProperties ¶ added in v0.4.14
MergeAdditionalProperties is a utility function.
Types ¶
type AamwProfile ¶ added in v0.4.54
type AamwProfile struct {
Categories []AamwProfileCategory `json:"categories,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// enum: `block`, `permit`
FallbackAction *AamwProfileActionEnum `json:"fallback_action,omitempty"`
// enum: `block`, `permit`
FileAction *AamwProfileActionEnum `json:"file_action,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name *string `json:"name,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
VerdictThreshold *int `json:"verdict_threshold,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AamwProfile represents a AamwProfile struct.
func (AamwProfile) MarshalJSON ¶ added in v0.4.54
func (a AamwProfile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AamwProfile. It customizes the JSON marshaling process for AamwProfile objects.
func (AamwProfile) String ¶ added in v0.4.54
func (a AamwProfile) String() string
String implements the fmt.Stringer interface for AamwProfile, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AamwProfile) UnmarshalJSON ¶ added in v0.4.54
func (a *AamwProfile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AamwProfile. It customizes the JSON unmarshaling process for AamwProfile objects.
type AamwProfileActionEnum ¶ added in v0.4.54
type AamwProfileActionEnum string
AamwProfileActionEnum is a string enum. enum: `block`, `permit`
const ( AamwProfileActionEnum_BLOCK AamwProfileActionEnum = "block" AamwProfileActionEnum_PERMIT AamwProfileActionEnum = "permit" )
type AamwProfileCategory ¶ added in v0.4.54
type AamwProfileCategory struct {
// enum: `archive`, `document`, `pdf`, `executable`, `rich_application`, `library`, `os_package`, `mobile`, `java`, `configuration`, `script`
Category *AamwProfileCategoryCategoryEnum `json:"category,omitempty"`
HashLookupOnly *bool `json:"hash_lookup_only,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AamwProfileCategory represents a AamwProfileCategory struct.
func (AamwProfileCategory) MarshalJSON ¶ added in v0.4.54
func (a AamwProfileCategory) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AamwProfileCategory. It customizes the JSON marshaling process for AamwProfileCategory objects.
func (AamwProfileCategory) String ¶ added in v0.4.54
func (a AamwProfileCategory) String() string
String implements the fmt.Stringer interface for AamwProfileCategory, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AamwProfileCategory) UnmarshalJSON ¶ added in v0.4.54
func (a *AamwProfileCategory) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AamwProfileCategory. It customizes the JSON unmarshaling process for AamwProfileCategory objects.
type AamwProfileCategoryCategoryEnum ¶ added in v0.4.54
type AamwProfileCategoryCategoryEnum string
AamwProfileCategoryCategoryEnum is a string enum. enum: `archive`, `document`, `pdf`, `executable`, `rich_application`, `library`, `os_package`, `mobile`, `java`, `configuration`, `script`
const ( AamwProfileCategoryCategoryEnum_ARCHIVE AamwProfileCategoryCategoryEnum = "archive" AamwProfileCategoryCategoryEnum_DOCUMENT AamwProfileCategoryCategoryEnum = "document" AamwProfileCategoryCategoryEnum_PDF AamwProfileCategoryCategoryEnum = "pdf" AamwProfileCategoryCategoryEnum_EXECUTABLE AamwProfileCategoryCategoryEnum = "executable" AamwProfileCategoryCategoryEnum_RICHAPPLICATION AamwProfileCategoryCategoryEnum = "rich_application" AamwProfileCategoryCategoryEnum_LIBRARY AamwProfileCategoryCategoryEnum = "library" AamwProfileCategoryCategoryEnum_OSPACKAGE AamwProfileCategoryCategoryEnum = "os_package" AamwProfileCategoryCategoryEnum_MOBILE AamwProfileCategoryCategoryEnum = "mobile" AamwProfileCategoryCategoryEnum_JAVA AamwProfileCategoryCategoryEnum = "java" AamwProfileCategoryCategoryEnum_CONFIGURATION AamwProfileCategoryCategoryEnum = "configuration" AamwProfileCategoryCategoryEnum_SCRIPT AamwProfileCategoryCategoryEnum = "script" )
type AccountCradlepointConfig ¶
type AccountCradlepointConfig struct {
CpApiId *string `json:"cp_api_id,omitempty"`
CpApiKey *string `json:"cp_api_key,omitempty"`
EcmApiId *string `json:"ecm_api_id,omitempty"`
EcmApiKey *string `json:"ecm_api_key,omitempty"`
EnableLldp *bool `json:"enable_lldp,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AccountCradlepointConfig represents a AccountCradlepointConfig struct.
func (AccountCradlepointConfig) MarshalJSON ¶
func (a AccountCradlepointConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountCradlepointConfig. It customizes the JSON marshaling process for AccountCradlepointConfig objects.
func (AccountCradlepointConfig) String ¶ added in v0.4.23
func (a AccountCradlepointConfig) String() string
String implements the fmt.Stringer interface for AccountCradlepointConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AccountCradlepointConfig) UnmarshalJSON ¶
func (a *AccountCradlepointConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountCradlepointConfig. It customizes the JSON unmarshaling process for AccountCradlepointConfig objects.
type AccountCrowdstrikeConfig ¶ added in v0.4.17
type AccountCrowdstrikeConfig struct {
// Customer account api client ID
ClientId string `json:"client_id"`
// Customer account api client Secret
ClientSecret string `json:"client_secret"`
// Customer id of an admin
CustomerId string `json:"customer_id"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AccountCrowdstrikeConfig represents a AccountCrowdstrikeConfig struct. OAuth linked CrowdStrike apps account details
func (AccountCrowdstrikeConfig) MarshalJSON ¶ added in v0.4.17
func (a AccountCrowdstrikeConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountCrowdstrikeConfig. It customizes the JSON marshaling process for AccountCrowdstrikeConfig objects.
func (AccountCrowdstrikeConfig) String ¶ added in v0.4.23
func (a AccountCrowdstrikeConfig) String() string
String implements the fmt.Stringer interface for AccountCrowdstrikeConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AccountCrowdstrikeConfig) UnmarshalJSON ¶ added in v0.4.17
func (a *AccountCrowdstrikeConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountCrowdstrikeConfig. It customizes the JSON unmarshaling process for AccountCrowdstrikeConfig objects.
type AccountJamfConfig ¶
type AccountJamfConfig struct {
// Customer account api client id. Required if `app_name`==`crowdstrike`
ClientId string `json:"client_id"`
// Customer account api client secret
ClientSecret string `json:"client_secret"`
// Customer account Jamf instance URL
InstanceUrl string `json:"instance_url"`
// Smart group membership for determining compliance status
SmartgroupName string `json:"smartgroup_name"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AccountJamfConfig represents a AccountJamfConfig struct. OAuth linked Jamf apps account details
func (AccountJamfConfig) MarshalJSON ¶
func (a AccountJamfConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountJamfConfig. It customizes the JSON marshaling process for AccountJamfConfig objects.
func (AccountJamfConfig) String ¶ added in v0.4.23
func (a AccountJamfConfig) String() string
String implements the fmt.Stringer interface for AccountJamfConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AccountJamfConfig) UnmarshalJSON ¶
func (a *AccountJamfConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountJamfConfig. It customizes the JSON unmarshaling process for AccountJamfConfig objects.
type AccountJseConfig ¶
type AccountJseConfig struct {
CloudName *string `json:"cloud_name,omitempty"`
Password string `json:"password"`
Username string `json:"username"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AccountJseConfig represents a AccountJseConfig struct.
func (AccountJseConfig) MarshalJSON ¶
func (a AccountJseConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountJseConfig. It customizes the JSON marshaling process for AccountJseConfig objects.
func (AccountJseConfig) String ¶ added in v0.4.23
func (a AccountJseConfig) String() string
String implements the fmt.Stringer interface for AccountJseConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AccountJseConfig) UnmarshalJSON ¶
func (a *AccountJseConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountJseConfig. It customizes the JSON unmarshaling process for AccountJseConfig objects.
type AccountJseInfo ¶
type AccountJseInfo struct {
CloudName *string `json:"cloud_name,omitempty"`
OrgNames []string `json:"org_names,omitempty"`
Username *string `json:"username,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AccountJseInfo represents a AccountJseInfo struct.
func (AccountJseInfo) MarshalJSON ¶
func (a AccountJseInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountJseInfo. It customizes the JSON marshaling process for AccountJseInfo objects.
func (AccountJseInfo) String ¶ added in v0.4.23
func (a AccountJseInfo) String() string
String implements the fmt.Stringer interface for AccountJseInfo, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AccountJseInfo) UnmarshalJSON ¶
func (a *AccountJseInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountJseInfo. It customizes the JSON unmarshaling process for AccountJseInfo objects.
type AccountJuniperConfig ¶
type AccountJuniperConfig struct {
// Customer account password
Password string `json:"password"`
// Customer account user name
Username string `json:"username"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AccountJuniperConfig represents a AccountJuniperConfig struct.
func (AccountJuniperConfig) MarshalJSON ¶
func (a AccountJuniperConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountJuniperConfig. It customizes the JSON marshaling process for AccountJuniperConfig objects.
func (AccountJuniperConfig) String ¶ added in v0.4.23
func (a AccountJuniperConfig) String() string
String implements the fmt.Stringer interface for AccountJuniperConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AccountJuniperConfig) UnmarshalJSON ¶
func (a *AccountJuniperConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountJuniperConfig. It customizes the JSON unmarshaling process for AccountJuniperConfig objects.
type AccountJuniperInfo ¶
type AccountJuniperInfo struct {
Accounts []JuniperAccount `json:"accounts,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AccountJuniperInfo represents a AccountJuniperInfo struct.
func (AccountJuniperInfo) MarshalJSON ¶
func (a AccountJuniperInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountJuniperInfo. It customizes the JSON marshaling process for AccountJuniperInfo objects.
func (AccountJuniperInfo) String ¶ added in v0.4.23
func (a AccountJuniperInfo) String() string
String implements the fmt.Stringer interface for AccountJuniperInfo, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AccountJuniperInfo) UnmarshalJSON ¶
func (a *AccountJuniperInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountJuniperInfo. It customizes the JSON unmarshaling process for AccountJuniperInfo objects.
type AccountMobicontrolConfig ¶ added in v0.2.38
type AccountMobicontrolConfig struct {
// Customer account Client ID
ClientId string `json:"client_id"`
// Customer account Client Secret
ClientSecret string `json:"client_secret"`
// Customer account MobiControl instance URL
InstanceUrl string `json:"instance_url"`
// Customer account password instance URL
Password string `json:"password"`
// Customer account username
Username string `json:"username"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AccountMobicontrolConfig represents a AccountMobicontrolConfig struct.
func (AccountMobicontrolConfig) MarshalJSON ¶ added in v0.2.38
func (a AccountMobicontrolConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountMobicontrolConfig. It customizes the JSON marshaling process for AccountMobicontrolConfig objects.
func (AccountMobicontrolConfig) String ¶ added in v0.4.23
func (a AccountMobicontrolConfig) String() string
String implements the fmt.Stringer interface for AccountMobicontrolConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AccountMobicontrolConfig) UnmarshalJSON ¶ added in v0.2.38
func (a *AccountMobicontrolConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountMobicontrolConfig. It customizes the JSON unmarshaling process for AccountMobicontrolConfig objects.
type AccountOauthAdd ¶
type AccountOauthAdd struct {
// contains filtered or unexported fields
}
AccountOauthAdd represents a AccountOauthAdd struct.
func (*AccountOauthAdd) AsAccountCrowdstrikeConfig ¶ added in v0.4.17
func (a *AccountOauthAdd) AsAccountCrowdstrikeConfig() ( *AccountCrowdstrikeConfig, bool)
func (*AccountOauthAdd) AsAccountJamfConfig ¶
func (a *AccountOauthAdd) AsAccountJamfConfig() ( *AccountJamfConfig, bool)
func (*AccountOauthAdd) AsAccountMobicontrolConfig ¶ added in v0.2.38
func (a *AccountOauthAdd) AsAccountMobicontrolConfig() ( *AccountMobicontrolConfig, bool)
func (*AccountOauthAdd) AsAccountPrismaConfig ¶ added in v0.4.74
func (a *AccountOauthAdd) AsAccountPrismaConfig() ( *AccountPrismaConfig, bool)
func (*AccountOauthAdd) AsAccountSentineloneConfig ¶ added in v0.4.74
func (a *AccountOauthAdd) AsAccountSentineloneConfig() ( *AccountSentineloneConfig, bool)
func (*AccountOauthAdd) AsAccountVmwareConfig ¶
func (a *AccountOauthAdd) AsAccountVmwareConfig() ( *AccountVmwareConfig, bool)
func (*AccountOauthAdd) AsAccountZdxConfig ¶ added in v0.4.17
func (a *AccountOauthAdd) AsAccountZdxConfig() ( *AccountZdxConfig, bool)
func (AccountOauthAdd) MarshalJSON ¶
func (a AccountOauthAdd) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountOauthAdd. It customizes the JSON marshaling process for AccountOauthAdd objects.
func (AccountOauthAdd) String ¶
func (a AccountOauthAdd) String() string
String implements the fmt.Stringer interface for AccountOauthAdd, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AccountOauthAdd) UnmarshalJSON ¶
func (a *AccountOauthAdd) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountOauthAdd. It customizes the JSON unmarshaling process for AccountOauthAdd objects.
type AccountOauthConfig ¶
type AccountOauthConfig struct {
// Linked app(zoom/teams/intune) account id
AccountId string `json:"account_id"`
// Optional, for Zoom/Teams. Whether to redact identifying information for call participants that are not part of the Zoom/Teams account identified by `account_id`
DiscardGuestInfo *bool `json:"discard_guest_info,omitempty"`
// Zoom daily api request quota, https://developers.zoom.us/docs/api/rest/rate-limits/
MaxDailyApiRequests *int `json:"max_daily_api_requests,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AccountOauthConfig represents a AccountOauthConfig struct. OAuth linked apps (zoom/teams/intune) account details
func (AccountOauthConfig) MarshalJSON ¶
func (a AccountOauthConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountOauthConfig. It customizes the JSON marshaling process for AccountOauthConfig objects.
func (AccountOauthConfig) String ¶ added in v0.4.23
func (a AccountOauthConfig) String() string
String implements the fmt.Stringer interface for AccountOauthConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AccountOauthConfig) UnmarshalJSON ¶
func (a *AccountOauthConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountOauthConfig. It customizes the JSON unmarshaling process for AccountOauthConfig objects.
type AccountOauthInfo ¶
type AccountOauthInfo struct {
// List of linked account details
Accounts []AccountOauthInfoAccount `json:"accounts"`
AuthorizationUrl *string `json:"authorization_url,omitempty"`
Linked bool `json:"linked"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AccountOauthInfo represents a AccountOauthInfo struct.
func (AccountOauthInfo) MarshalJSON ¶
func (a AccountOauthInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountOauthInfo. It customizes the JSON marshaling process for AccountOauthInfo objects.
func (AccountOauthInfo) String ¶ added in v0.4.23
func (a AccountOauthInfo) String() string
String implements the fmt.Stringer interface for AccountOauthInfo, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AccountOauthInfo) UnmarshalJSON ¶
func (a *AccountOauthInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountOauthInfo. It customizes the JSON unmarshaling process for AccountOauthInfo objects.
type AccountOauthInfoAccount ¶ added in v0.4.17
type AccountOauthInfoAccount struct {
// Linked app account id
AccountId *string `json:"account_id,omitempty"`
// For Prisma accounts only, tunnel auto probe subnet
AutoProbeSubnet *string `json:"auto_probe_subnet,omitempty"`
// Customer account Client ID
ClientId *string `json:"client_id,omitempty"`
// Name of the company whose account mist has subscribed to
CloudName *string `json:"cloud_name,omitempty"`
// Name of the company whose account mist has subscribed to
Company *string `json:"company,omitempty"`
// For Prisma accounts only, tunnel probe enable/disable
EnableProbe *bool `json:"enable_probe,omitempty"`
// This error is provided when the account fails to fetch token/data
Error *string `json:"error,omitempty"`
Errors []string `json:"errors,omitempty"`
// Customer account instance URL
InstanceUrl *string `json:"instance_url,omitempty"`
// For ZDX Account only, Customer account API key ID
KeyId *string `json:"key_id,omitempty"`
// Is the last data pull for account is successful or not
LastStatus *string `json:"last_status,omitempty"`
// Last data pull timestamp, background jobs that pull account data
LastSync *int64 `json:"last_sync,omitempty"`
// First name of the user who linked the account
LinkedBy *string `json:"linked_by,omitempty"`
LinkedTimestamp *float64 `json:"linked_timestamp,omitempty"`
// Zoom daily api request quota, https://developers.zoom.us/docs/api/rest/rate-limits/
MaxDailyApiRequests *int `json:"max_daily_api_requests,omitempty"`
// Name of the company whose account mist has subscribed to
Name *string `json:"name,omitempty"`
// Customer account password instance URL
Password *string `json:"password,omitempty"`
// For Prisma accounts only
Region *string `json:"region,omitempty"`
// For Prisma accounts only, property key is the region name. Regions with allocated bandwidth
Regions map[string]AccountOauthInfoAccountRegion `json:"regions,omitempty"`
// For Prisma accounts only
ServiceAccountName *string `json:"service_account_name,omitempty"`
// For Prisma accounts only, property key is the service connection name
ServiceConnections map[string]AccountOauthInfoAccountServiceConnection `json:"service_connections,omitempty"`
// Smart group membership for determining compliance status
SmartgroupName *string `json:"smartgroup_name,omitempty"`
// For Prisma accounts only, Prisma Tenant Service Group id
TsgId *string `json:"tsg_id,omitempty"`
// Customer account username
Username *string `json:"username,omitempty"`
// For VMWare accounts only
WebhookAuthType *string `json:"webhook_auth_type,omitempty"`
// For VMWare accounts only
WebhookEnabled *bool `json:"webhook_enabled,omitempty"`
// For VMWare accounts only
WebhookPassword *string `json:"webhook_password,omitempty"`
// For VMWare accounts only
WebhookUrl *string `json:"webhook_url,omitempty"`
// For VMWare accounts only
WebhookUsername *string `json:"webhook_username,omitempty"`
// For ZDX Account only, ZDX organization id
ZdxOrgId *string `json:"zdx_org_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AccountOauthInfoAccount represents a AccountOauthInfoAccount struct. OAuth linked apps account info
func (AccountOauthInfoAccount) MarshalJSON ¶ added in v0.4.17
func (a AccountOauthInfoAccount) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountOauthInfoAccount. It customizes the JSON marshaling process for AccountOauthInfoAccount objects.
func (AccountOauthInfoAccount) String ¶ added in v0.4.23
func (a AccountOauthInfoAccount) String() string
String implements the fmt.Stringer interface for AccountOauthInfoAccount, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AccountOauthInfoAccount) UnmarshalJSON ¶ added in v0.4.17
func (a *AccountOauthInfoAccount) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountOauthInfoAccount. It customizes the JSON unmarshaling process for AccountOauthInfoAccount objects.
type AccountOauthInfoAccountRegion ¶ added in v0.4.80
type AccountOauthInfoAccountRegion struct {
// Bandwidth Aggregate region for this region
AggregateRegion *string `json:"aggregate_region,omitempty"`
// Allocated bandwidth for the region, in Mbps
AllocatedBandwidth *int `json:"allocated_bandwidth,omitempty"`
// Display name for this region
Name *string `json:"name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AccountOauthInfoAccountRegion represents a AccountOauthInfoAccountRegion struct.
func (AccountOauthInfoAccountRegion) MarshalJSON ¶ added in v0.4.80
func (a AccountOauthInfoAccountRegion) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountOauthInfoAccountRegion. It customizes the JSON marshaling process for AccountOauthInfoAccountRegion objects.
func (AccountOauthInfoAccountRegion) String ¶ added in v0.4.80
func (a AccountOauthInfoAccountRegion) String() string
String implements the fmt.Stringer interface for AccountOauthInfoAccountRegion, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AccountOauthInfoAccountRegion) UnmarshalJSON ¶ added in v0.4.80
func (a *AccountOauthInfoAccountRegion) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountOauthInfoAccountRegion. It customizes the JSON unmarshaling process for AccountOauthInfoAccountRegion objects.
type AccountOauthInfoAccountServiceConnection ¶ added in v0.4.80
type AccountOauthInfoAccountServiceConnection struct {
// Region of the service connection
Region *string `json:"region,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AccountOauthInfoAccountServiceConnection represents a AccountOauthInfoAccountServiceConnection struct.
func (AccountOauthInfoAccountServiceConnection) MarshalJSON ¶ added in v0.4.80
func (a AccountOauthInfoAccountServiceConnection) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountOauthInfoAccountServiceConnection. It customizes the JSON marshaling process for AccountOauthInfoAccountServiceConnection objects.
func (AccountOauthInfoAccountServiceConnection) String ¶ added in v0.4.80
func (a AccountOauthInfoAccountServiceConnection) String() string
String implements the fmt.Stringer interface for AccountOauthInfoAccountServiceConnection, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AccountOauthInfoAccountServiceConnection) UnmarshalJSON ¶ added in v0.4.80
func (a *AccountOauthInfoAccountServiceConnection) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountOauthInfoAccountServiceConnection. It customizes the JSON unmarshaling process for AccountOauthInfoAccountServiceConnection objects.
type AccountPrismaConfig ¶ added in v0.4.74
type AccountPrismaConfig struct {
// Required If `enable_probe`==`true`. This field will accept an IPv4 cidr and an IP address will be picked from this range to be used as tunnel probe source ip address and as well as BGP neighbour IP address. The subnet should be big enough for num_devices * num_tunnel * 2
AutoProbeSubnet *string `json:"auto_probe_subnet,omitempty"`
// Customer account api client ID
ClientId string `json:"client_id"`
// Customer account api client Secret
ClientSecret string `json:"client_secret"`
// To enable/disable tunnel probe
EnableProbe *bool `json:"enable_probe,omitempty"`
// Prisma Tenant Service Group id
TsgId string `json:"tsg_id"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AccountPrismaConfig represents a AccountPrismaConfig struct. OAuth linked CrowdStrike apps account details
func (AccountPrismaConfig) MarshalJSON ¶ added in v0.4.74
func (a AccountPrismaConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountPrismaConfig. It customizes the JSON marshaling process for AccountPrismaConfig objects.
func (AccountPrismaConfig) String ¶ added in v0.4.74
func (a AccountPrismaConfig) String() string
String implements the fmt.Stringer interface for AccountPrismaConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AccountPrismaConfig) UnmarshalJSON ¶ added in v0.4.74
func (a *AccountPrismaConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountPrismaConfig. It customizes the JSON unmarshaling process for AccountPrismaConfig objects.
type AccountSentineloneConfig ¶ added in v0.4.74
type AccountSentineloneConfig struct {
// Customer account api_token
ApiToken string `json:"api_token"`
// Customer account SentinelOne instance URL
InstanceUrl string `json:"instance_url"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AccountSentineloneConfig represents a AccountSentineloneConfig struct. OAuth linked CrowdStrike apps account details
func (AccountSentineloneConfig) MarshalJSON ¶ added in v0.4.74
func (a AccountSentineloneConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountSentineloneConfig. It customizes the JSON marshaling process for AccountSentineloneConfig objects.
func (AccountSentineloneConfig) String ¶ added in v0.4.74
func (a AccountSentineloneConfig) String() string
String implements the fmt.Stringer interface for AccountSentineloneConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AccountSentineloneConfig) UnmarshalJSON ¶ added in v0.4.74
func (a *AccountSentineloneConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountSentineloneConfig. It customizes the JSON unmarshaling process for AccountSentineloneConfig objects.
type AccountSkyatpConfig ¶ added in v0.4.54
type AccountSkyatpConfig struct {
Password string `json:"password"`
Realm string `json:"realm"`
Username string `json:"username"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AccountSkyatpConfig represents a AccountSkyatpConfig struct.
func (AccountSkyatpConfig) MarshalJSON ¶ added in v0.4.54
func (a AccountSkyatpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountSkyatpConfig. It customizes the JSON marshaling process for AccountSkyatpConfig objects.
func (AccountSkyatpConfig) String ¶ added in v0.4.54
func (a AccountSkyatpConfig) String() string
String implements the fmt.Stringer interface for AccountSkyatpConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AccountSkyatpConfig) UnmarshalJSON ¶ added in v0.4.54
func (a *AccountSkyatpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountSkyatpConfig. It customizes the JSON unmarshaling process for AccountSkyatpConfig objects.
type AccountSkyatpData ¶ added in v0.4.74
type AccountSkyatpData struct {
// juniper secintel_feeds are enabled depending on your license tier: infected_host, geo_ip, attacker_ip, command_and_control.
// third party:
// * ip-based: block_list, threatfox_ip, feodo_tracker, dshield, tor
// * url-based: threatfox_url, urlhaus, open_phish
// * domain-based: threatfox_domains
Secintel *AccountSkyatpDataSecintel `json:"secintel,omitempty"`
SecintelAllowlistUrl *string `json:"secintel_allowlist_url,omitempty"`
SecintelBlocklistUrl *string `json:"secintel_blocklist_url,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AccountSkyatpData represents a AccountSkyatpData struct.
func (AccountSkyatpData) MarshalJSON ¶ added in v0.4.74
func (a AccountSkyatpData) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountSkyatpData. It customizes the JSON marshaling process for AccountSkyatpData objects.
func (AccountSkyatpData) String ¶ added in v0.4.74
func (a AccountSkyatpData) String() string
String implements the fmt.Stringer interface for AccountSkyatpData, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AccountSkyatpData) UnmarshalJSON ¶ added in v0.4.74
func (a *AccountSkyatpData) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountSkyatpData. It customizes the JSON unmarshaling process for AccountSkyatpData objects.
type AccountSkyatpDataSecintel ¶ added in v0.4.74
type AccountSkyatpDataSecintel struct {
ThirdPartyThreatFeeds []string `json:"third_party_threat_feeds,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AccountSkyatpDataSecintel represents a AccountSkyatpDataSecintel struct. juniper secintel_feeds are enabled depending on your license tier: infected_host, geo_ip, attacker_ip, command_and_control. third party: * ip-based: block_list, threatfox_ip, feodo_tracker, dshield, tor * url-based: threatfox_url, urlhaus, open_phish * domain-based: threatfox_domains
func (AccountSkyatpDataSecintel) MarshalJSON ¶ added in v0.4.74
func (a AccountSkyatpDataSecintel) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountSkyatpDataSecintel. It customizes the JSON marshaling process for AccountSkyatpDataSecintel objects.
func (AccountSkyatpDataSecintel) String ¶ added in v0.4.74
func (a AccountSkyatpDataSecintel) String() string
String implements the fmt.Stringer interface for AccountSkyatpDataSecintel, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AccountSkyatpDataSecintel) UnmarshalJSON ¶ added in v0.4.74
func (a *AccountSkyatpDataSecintel) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountSkyatpDataSecintel. It customizes the JSON unmarshaling process for AccountSkyatpDataSecintel objects.
type AccountSkyatpInfo ¶ added in v0.4.54
type AccountSkyatpInfo struct {
Realm *string `json:"realm,omitempty"`
Username *string `json:"username,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AccountSkyatpInfo represents a AccountSkyatpInfo struct.
func (AccountSkyatpInfo) MarshalJSON ¶ added in v0.4.54
func (a AccountSkyatpInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountSkyatpInfo. It customizes the JSON marshaling process for AccountSkyatpInfo objects.
func (AccountSkyatpInfo) String ¶ added in v0.4.54
func (a AccountSkyatpInfo) String() string
String implements the fmt.Stringer interface for AccountSkyatpInfo, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AccountSkyatpInfo) UnmarshalJSON ¶ added in v0.4.54
func (a *AccountSkyatpInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountSkyatpInfo. It customizes the JSON unmarshaling process for AccountSkyatpInfo objects.
type AccountVmwareConfig ¶
type AccountVmwareConfig struct {
// Customer account Client ID
ClientId string `json:"client_id"`
// Customer account Client Secret
ClientSecret string `json:"client_secret"`
// Customer account VMware instance URL
InstanceUrl string `json:"instance_url"`
// Enables or disables the webhook integration
WebhookEnabled bool `json:"webhook_enabled"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AccountVmwareConfig represents a AccountVmwareConfig struct.
func (AccountVmwareConfig) MarshalJSON ¶
func (a AccountVmwareConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountVmwareConfig. It customizes the JSON marshaling process for AccountVmwareConfig objects.
func (AccountVmwareConfig) String ¶ added in v0.4.23
func (a AccountVmwareConfig) String() string
String implements the fmt.Stringer interface for AccountVmwareConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AccountVmwareConfig) UnmarshalJSON ¶
func (a *AccountVmwareConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountVmwareConfig. It customizes the JSON unmarshaling process for AccountVmwareConfig objects.
type AccountZdxConfig ¶ added in v0.4.17
type AccountZdxConfig struct {
// ZDX cloud name. Refer https://help.zscaler.com/zdx/getting-started-zdx-api for ZDX cloud name
CloudName *string `json:"cloud_name,omitempty"`
// Customer account API key ID
KeyId string `json:"key_id"`
// Customer account API key Secret
KeySecret string `json:"key_secret"`
// ZDX organization id
ZdxOrgId string `json:"zdx_org_id"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AccountZdxConfig represents a AccountZdxConfig struct. OAuth linked ZDX apps account details
func (AccountZdxConfig) MarshalJSON ¶ added in v0.4.17
func (a AccountZdxConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountZdxConfig. It customizes the JSON marshaling process for AccountZdxConfig objects.
func (AccountZdxConfig) String ¶ added in v0.4.23
func (a AccountZdxConfig) String() string
String implements the fmt.Stringer interface for AccountZdxConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AccountZdxConfig) UnmarshalJSON ¶ added in v0.4.17
func (a *AccountZdxConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountZdxConfig. It customizes the JSON unmarshaling process for AccountZdxConfig objects.
type AccountZscalerConfig ¶
type AccountZscalerConfig struct {
CloudName string `json:"cloud_name"`
PartnerKey string `json:"partner_key"`
// Customer account password
Password string `json:"password"`
// Customer account user name
Username string `json:"username"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AccountZscalerConfig represents a AccountZscalerConfig struct. OAuth linked Zscaler apps account details
func (AccountZscalerConfig) MarshalJSON ¶
func (a AccountZscalerConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountZscalerConfig. It customizes the JSON marshaling process for AccountZscalerConfig objects.
func (AccountZscalerConfig) String ¶ added in v0.4.23
func (a AccountZscalerConfig) String() string
String implements the fmt.Stringer interface for AccountZscalerConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AccountZscalerConfig) UnmarshalJSON ¶
func (a *AccountZscalerConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountZscalerConfig. It customizes the JSON unmarshaling process for AccountZscalerConfig objects.
type AccountZscalerInfo ¶
type AccountZscalerInfo struct {
CloudName *string `json:"cloud_name,omitempty"`
PartnerKey *string `json:"partner_key,omitempty"`
// Customer account user name
Username *string `json:"username,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AccountZscalerInfo represents a AccountZscalerInfo struct. OAuth linked Zscaler apps account details
func (AccountZscalerInfo) MarshalJSON ¶
func (a AccountZscalerInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountZscalerInfo. It customizes the JSON marshaling process for AccountZscalerInfo objects.
func (AccountZscalerInfo) String ¶ added in v0.4.23
func (a AccountZscalerInfo) String() string
String implements the fmt.Stringer interface for AccountZscalerInfo, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AccountZscalerInfo) UnmarshalJSON ¶
func (a *AccountZscalerInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountZscalerInfo. It customizes the JSON unmarshaling process for AccountZscalerInfo objects.
type AclPolicy ¶
type AclPolicy struct {
// ACL Policy Actions:
// - for GBP-based policy, all src_tags and dst_tags have to be gbp-based
// - for ACL-based policy, `network` is required in either the source or destination so that we know where to attach the policy to
Actions []AclPolicyAction `json:"actions,omitempty"`
Name *string `json:"name,omitempty"`
// ACL Policy Source Tags:
// - for GBP-based policy, all src_tags and dst_tags have to be gbp-based
// - for ACL-based policy, `network` is required in either the source or destination so that we know where to attach the policy to
SrcTags []string `json:"src_tags,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AclPolicy represents a AclPolicy struct. ACL Policy: - for GBP-based policy, all src_tags and dst_tags have to be gbp-based - for ACL-based policy, `network` is required in either the source or destination so that we know where to attach the policy to
func (AclPolicy) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for AclPolicy. It customizes the JSON marshaling process for AclPolicy objects.
func (AclPolicy) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for AclPolicy, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AclPolicy) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for AclPolicy. It customizes the JSON unmarshaling process for AclPolicy objects.
type AclPolicyAction ¶
type AclPolicyAction struct {
// enum: `allow`, `deny`
Action *AllowDenyEnum `json:"action,omitempty"`
DstTag string `json:"dst_tag"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AclPolicyAction represents a AclPolicyAction struct.
func (AclPolicyAction) MarshalJSON ¶
func (a AclPolicyAction) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AclPolicyAction. It customizes the JSON marshaling process for AclPolicyAction objects.
func (AclPolicyAction) String ¶ added in v0.4.23
func (a AclPolicyAction) String() string
String implements the fmt.Stringer interface for AclPolicyAction, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AclPolicyAction) UnmarshalJSON ¶
func (a *AclPolicyAction) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AclPolicyAction. It customizes the JSON unmarshaling process for AclPolicyAction objects.
type AclTag ¶
type AclTag struct {
// ARP / IPv6. Default is `any`
EtherTypes []string `json:"ether_types,omitempty"`
// Required if
// - `type`==`dynamic_gbp` (gbp_tag received from RADIUS)
// - `type`==`gbp_resource`
// - `type`==`static_gbp` (applying gbp tag against matching conditions)
GbpTag *int `json:"gbp_tag,omitempty"`
// Required if
// - `type`==`mac`
// - `type`==`static_gbp` if from matching mac
Macs []string `json:"macs,omitempty"`
// If:
// * `type`==`mac` (optional. default is `any`)
// * `type`==`subnet` (optional. default is `any`)
// * `type`==`network`
// * `type`==`resource` (optional. default is `any`)
// * `type`==`static_gbp` if from matching network (vlan)
Network *string `json:"network,omitempty"`
// Required if `type`==`port_usage`
PortUsage *string `json:"port_usage,omitempty"`
// Required if:
// * `type`==`radius_group`
// * `type`==`static_gbp`
// if from matching radius_group
RadiusGroup *string `json:"radius_group,omitempty"`
// If `type`==`resource`, `type`==`radius_group`, `type`==`port_usage` or `type`==`gbp_resource`. Empty means unrestricted, i.e. any
Specs []AclTagSpec `json:"specs,omitempty"`
// If
// - `type`==`subnet`
// - `type`==`resource` (optional. default is `any`)
// - `type`==`static_gbp` if from matching subnet
Subnets []string `json:"subnets,omitempty"`
// enum:
// * `any`: matching anything not identified
// * `dynamic_gbp`: from the gbp_tag received from RADIUS
// * `gbp_resource`: can only be used in `dst_tags`
// * `mac`
// * `network`
// * `port_usage`
// * `radius_group`
// * `resource`: can only be used in `dst_tags`
// * `static_gbp`: applying gbp tag against matching conditions
// * `subnet`'
Type AclTagTypeEnum `json:"type"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AclTag represents a AclTag struct. Resource tags (`type`==`resource` or `type`==`gbp_resource`) can only be used in `dst_tags`
func (AclTag) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for AclTag. It customizes the JSON marshaling process for AclTag objects.
func (AclTag) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for AclTag, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AclTag) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for AclTag. It customizes the JSON unmarshaling process for AclTag objects.
type AclTagSpec ¶
type AclTagSpec struct {
// Matched dst port, "0" means any
PortRange *string `json:"port_range,omitempty"`
// `tcp` / `udp` / `icmp` / `icmp6` / `gre` / `any` / `:protocol_number`, `protocol_number` is between 1-254, default is `any` `protocol_number` is between 1-254
Protocol *string `json:"protocol,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AclTagSpec represents a AclTagSpec struct.
func (AclTagSpec) MarshalJSON ¶
func (a AclTagSpec) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AclTagSpec. It customizes the JSON marshaling process for AclTagSpec objects.
func (AclTagSpec) String ¶ added in v0.4.23
func (a AclTagSpec) String() string
String implements the fmt.Stringer interface for AclTagSpec, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AclTagSpec) UnmarshalJSON ¶
func (a *AclTagSpec) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AclTagSpec. It customizes the JSON unmarshaling process for AclTagSpec objects.
type AclTagTypeEnum ¶
type AclTagTypeEnum string
AclTagTypeEnum is a string enum. enum: * `any`: matching anything not identified * `dynamic_gbp`: from the gbp_tag received from RADIUS * `gbp_resource`: can only be used in `dst_tags` * `mac` * `network` * `port_usage` * `radius_group` * `resource`: can only be used in `dst_tags` * `static_gbp`: applying gbp tag against matching conditions * `subnet`'
const ( AclTagTypeEnum_ANY AclTagTypeEnum = "any" AclTagTypeEnum_DYNAMICGBP AclTagTypeEnum = "dynamic_gbp" AclTagTypeEnum_GBPRESOURCE AclTagTypeEnum = "gbp_resource" AclTagTypeEnum_MAC AclTagTypeEnum = "mac" AclTagTypeEnum_NETWORK AclTagTypeEnum = "network" AclTagTypeEnum_PORTUSAGE AclTagTypeEnum = "port_usage" AclTagTypeEnum_RADIUSGROUP AclTagTypeEnum = "radius_group" AclTagTypeEnum_RESOURCE AclTagTypeEnum = "resource" AclTagTypeEnum_STATICGBP AclTagTypeEnum = "static_gbp" AclTagTypeEnum_SUBNET AclTagTypeEnum = "subnet" )
type AdditionalVlanIds ¶ added in v0.4.66
type AdditionalVlanIds struct {
// contains filtered or unexported fields
}
AdditionalVlanIds represents a AdditionalVlanIds struct. List or Comma separated list of additional VLAN IDs (on the LAN side or from other WLANs) should we be forwarding bonjour queries/responses
func (*AdditionalVlanIds) AsArrayOfVlanIdWithVariable7 ¶ added in v0.4.71
func (a *AdditionalVlanIds) AsArrayOfVlanIdWithVariable7() ( *[]VlanIdWithVariable, bool)
func (*AdditionalVlanIds) AsString ¶ added in v0.4.66
func (a *AdditionalVlanIds) AsString() ( *string, bool)
func (AdditionalVlanIds) MarshalJSON ¶ added in v0.4.66
func (a AdditionalVlanIds) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AdditionalVlanIds. It customizes the JSON marshaling process for AdditionalVlanIds objects.
func (AdditionalVlanIds) String ¶ added in v0.4.66
func (a AdditionalVlanIds) String() string
String implements the fmt.Stringer interface for AdditionalVlanIds, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AdditionalVlanIds) UnmarshalJSON ¶ added in v0.4.66
func (a *AdditionalVlanIds) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AdditionalVlanIds. It customizes the JSON unmarshaling process for AdditionalVlanIds objects.
type Admin ¶
type Admin struct {
// ID of the administrator
AdminId *uuid.UUID `json:"admin_id,omitempty"`
// trade compliance status. enum: `blocked`, `restricted`
ComplianceStatus *AdminComplianceStatusEnum `json:"compliance_status,omitempty"`
// If admin account is not an Org API Token
Email *string `json:"email,omitempty"`
// If admin account is not an Org API Token
EnableTwoFactor *bool `json:"enable_two_factor,omitempty"`
ExpireTime *int `json:"expire_time,omitempty"`
// If admin account is not an Org API Token. For an invite, this is the original first name used
FirstName *string `json:"first_name,omitempty"`
// If admin account is not an Org API Token, how long the invite should be valid
Hours *int `json:"hours,omitempty"`
// If admin account is not an Org API Token. For an invite, this is the original last name used
LastName *string `json:"last_name,omitempty"`
// For Org API Token Only
Name *string `json:"name,omitempty"`
// Optional, whether to store privacy-consent information. When it doesn’t exist, it’s assumed true on EU (i.e. no tracking, the user has to opt-in); otherwise, the user would have to opt-out
NoTracking Optional[bool] `json:"no_tracking"`
// If admin account is not an Org API Token
OauthGoogle *bool `json:"oauth_google,omitempty"`
// Password last modified time, in epoch
PasswordModifiedTime *float64 `json:"password_modified_time,omitempty"`
// If admin account is not an Org API Token. Phone number (numbers only, including country code)
Phone *string `json:"phone,omitempty"`
// If admin account is not an Org API Token. Secondary phone number (numbers only, including country code)
Phone2 *string `json:"phone2,omitempty"`
// List of privileges the admin has
Privileges []AdminPrivilege `json:"privileges,omitempty"`
SessionExpiry *int64 `json:"session_expiry,omitempty"`
Tags []string `json:"tags,omitempty"`
// If admin account is not an Org API Token. Two factor status
TwoFactorVerified *bool `json:"two_factor_verified,omitempty"`
// If admin account is not an Org API Token, an admin login via_sso is more restircted. (password and email cannot be changed)
ViaSso *bool `json:"via_sso,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Admin represents a Admin struct.
func (Admin) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Admin. It customizes the JSON marshaling process for Admin objects.
func (Admin) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Admin, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Admin) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Admin. It customizes the JSON unmarshaling process for Admin objects.
type AdminComplianceStatusEnum ¶
type AdminComplianceStatusEnum string
AdminComplianceStatusEnum is a string enum. trade compliance status. enum: `blocked`, `restricted`
const ( AdminComplianceStatusEnum_BLOCKED AdminComplianceStatusEnum = "blocked" AdminComplianceStatusEnum_RESTRICTED AdminComplianceStatusEnum = "restricted" )
type AdminInvite ¶
type AdminInvite struct {
// Skip creating initial setup if true
AccountOnly *bool `json:"account_only,omitempty"`
// Whether to allow Mist to look at this org
AllowMist *bool `json:"allow_mist,omitempty"`
// City of registering user
City *string `json:"city,omitempty"`
// Country/region name or ISO code of registering user
Country *string `json:"country,omitempty"`
Email string `json:"email"`
FirstName string `json:"first_name"`
// Required initially
InviteCode *string `json:"invite_code,omitempty"`
LastName string `json:"last_name"`
OrgName string `json:"org_name"`
Password string `json:"password"`
// reCAPTCHA , see https://www.google.com/recaptcha/
Recaptcha string `json:"recaptcha"`
// flavor of the captcha. enum: `google`, `hcaptcha`
RecaptchaFlavor *RecaptchaFlavorEnum `json:"recaptcha_flavor,omitempty"`
// Invite token to apply after account creation
RefererInviteToken *string `json:"referer_invite_token,omitempty"`
// URL the user should be redirected back to
ReturnTo *string `json:"return_to,omitempty"`
// State name or ISO code of registering user, optional (depends on country/region)
State *string `json:"state,omitempty"`
// Street address of registering user
StreetAddress *string `json:"street_address,omitempty"`
// Street address 2 of registering user
StreetAddress2 *string `json:"street_address 2,omitempty"`
// zipcode of registering user
Zipcode *string `json:"zipcode,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AdminInvite represents a AdminInvite struct.
func (AdminInvite) MarshalJSON ¶
func (a AdminInvite) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AdminInvite. It customizes the JSON marshaling process for AdminInvite objects.
func (AdminInvite) String ¶ added in v0.4.23
func (a AdminInvite) String() string
String implements the fmt.Stringer interface for AdminInvite, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AdminInvite) UnmarshalJSON ¶
func (a *AdminInvite) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AdminInvite. It customizes the JSON unmarshaling process for AdminInvite objects.
type AdminPrivilege ¶ added in v0.3.31
type AdminPrivilege struct {
// Required if `scope`==`msp`
MspId *uuid.UUID `json:"msp_id,omitempty"`
// Logo of the MSP (if the MSP belongs to an Advanced tier)
MspLogoUrl *string `json:"msp_logo_url,omitempty"`
// Name of the MSP (if the org belongs to an MSP)
MspName Optional[string] `json:"msp_name"`
// Custom url of the MSP (if the MSP belongs to an Advanced tier)
MspUrl *string `json:"msp_url,omitempty"`
// Name of the org/site/MSP depending on object scope
Name *string `json:"name,omitempty"`
// Required if `scope`==`org`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Name of the org (for a site belonging to org)
OrgName *string `json:"org_name,omitempty"`
// If `scope`==`orggroup`
OrggroupIds []uuid.UUID `json:"orggroup_ids,omitempty"`
// access permissions. enum: `admin`, `helpdesk`, `installer`, `read`, `write`
Role AdminPrivilegeRoleEnum `json:"role"`
// enum: `msp`, `org`, `orggroup`, `site`, `sitegroup`
Scope AdminPrivilegeScopeEnum `json:"scope"`
// Required if `scope`==`site`
SiteId *uuid.UUID `json:"site_id,omitempty"`
SitegroupIds []uuid.UUID `json:"sitegroup_ids,omitempty"`
// Custom roles restrict Org users to specific UI views. This is useful for limiting UI access of Org users. Custom roles restrict Org users to specific UI views. This is useful for limiting UI access of Org users.
// You can define custom roles by adding the `views` attribute along with `role` when assigning privileges.
// Below are the list of supported UI views. Note that this is UI only feature.
// | UI View | Required Role | Description |
// | --- | --- | --- |
// | `reporting` | `read` | full access to all analytics tools |
// | `marketing` | `read` | can view analytics and location maps |
// | `super_observer` | `read` | can view all the organization except the subscription page |
// | `location` | `write` | can view and manage location maps, can view analytics |
// | `security` | `write` | can view and manage site labels, policies and security |
// | `switch_admin` | `helpdesk` | can view and manage Switch ports, can view wired clients |
// | `mxedge_admin` | `admin` | can view and manage Mist edges and Mist tunnels |
// | `lobby_admin` | `admin` | full access to Org and Site Pre-shared keys |
Views []AdminPrivilegeViewEnum `json:"views,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AdminPrivilege represents a AdminPrivilege struct. Privilieges settings
func (AdminPrivilege) MarshalJSON ¶ added in v0.3.31
func (a AdminPrivilege) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AdminPrivilege. It customizes the JSON marshaling process for AdminPrivilege objects.
func (AdminPrivilege) String ¶ added in v0.4.23
func (a AdminPrivilege) String() string
String implements the fmt.Stringer interface for AdminPrivilege, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AdminPrivilege) UnmarshalJSON ¶ added in v0.3.31
func (a *AdminPrivilege) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AdminPrivilege. It customizes the JSON unmarshaling process for AdminPrivilege objects.
type AdminPrivilegeRoleEnum ¶ added in v0.3.31
type AdminPrivilegeRoleEnum string
AdminPrivilegeRoleEnum is a string enum. access permissions. enum: `admin`, `helpdesk`, `installer`, `read`, `write`
const ( AdminPrivilegeRoleEnum_ADMIN AdminPrivilegeRoleEnum = "admin" AdminPrivilegeRoleEnum_HELPDESK AdminPrivilegeRoleEnum = "helpdesk" AdminPrivilegeRoleEnum_INSTALLER AdminPrivilegeRoleEnum = "installer" AdminPrivilegeRoleEnum_READ AdminPrivilegeRoleEnum = "read" AdminPrivilegeRoleEnum_WRITE AdminPrivilegeRoleEnum = "write" )
type AdminPrivilegeScopeEnum ¶ added in v0.3.31
type AdminPrivilegeScopeEnum string
AdminPrivilegeScopeEnum is a string enum. enum: `msp`, `org`, `orggroup`, `site`, `sitegroup`
const ( AdminPrivilegeScopeEnum_MSP AdminPrivilegeScopeEnum = "msp" AdminPrivilegeScopeEnum_ORG AdminPrivilegeScopeEnum = "org" AdminPrivilegeScopeEnum_ORGGROUP AdminPrivilegeScopeEnum = "orggroup" AdminPrivilegeScopeEnum_SITE AdminPrivilegeScopeEnum = "site" AdminPrivilegeScopeEnum_SITEGROUP AdminPrivilegeScopeEnum = "sitegroup" )
type AdminPrivilegeViewEnum ¶ added in v0.3.31
type AdminPrivilegeViewEnum string
AdminPrivilegeViewEnum is a string enum.
const ( AdminPrivilegeViewEnum_LOBBYADMIN AdminPrivilegeViewEnum = "lobby_admin" AdminPrivilegeViewEnum_LOCATION AdminPrivilegeViewEnum = "location" AdminPrivilegeViewEnum_MARKETING AdminPrivilegeViewEnum = "marketing" AdminPrivilegeViewEnum_MXEDGEADMIN AdminPrivilegeViewEnum = "mxedge_admin" AdminPrivilegeViewEnum_REPORTING AdminPrivilegeViewEnum = "reporting" AdminPrivilegeViewEnum_SECURITY AdminPrivilegeViewEnum = "security" AdminPrivilegeViewEnum_SUPEROBSERVER AdminPrivilegeViewEnum = "super_observer" AdminPrivilegeViewEnum_SWITCHADMIN AdminPrivilegeViewEnum = "switch_admin" )
type AggregateRoute ¶ added in v0.4.54
type AggregateRoute struct {
Discard *bool `json:"discard,omitempty"`
Metric Optional[int] `json:"metric"`
Preference Optional[int] `json:"preference"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AggregateRoute represents a AggregateRoute struct.
func (AggregateRoute) MarshalJSON ¶ added in v0.4.54
func (a AggregateRoute) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AggregateRoute. It customizes the JSON marshaling process for AggregateRoute objects.
func (AggregateRoute) String ¶ added in v0.4.54
func (a AggregateRoute) String() string
String implements the fmt.Stringer interface for AggregateRoute, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AggregateRoute) UnmarshalJSON ¶ added in v0.4.54
func (a *AggregateRoute) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AggregateRoute. It customizes the JSON unmarshaling process for AggregateRoute objects.
type Alarm ¶
type Alarm struct {
// UUID of the admin who acked the alarm
AckAdminId *uuid.UUID `json:"ack_admin_id,omitempty"`
// Name & Email ID of the admin who acked the alarm
AckAdminName *string `json:"ack_admin_name,omitempty"`
// Whether the alarm is acked or not
Acked *bool `json:"acked,omitempty"`
// Epoch (seconds) when the alarm was acked
AckedTime *int `json:"acked_time,omitempty"`
// additional information: List of MACs of the APs
Aps []string `json:"aps,omitempty"`
// List of BSSIDs
Bssids []string `json:"bssids,omitempty"`
// Number of incident within an alarm window
Count int `json:"count"`
// additional information: List of MACs of the gateways
Gateways []string `json:"gateways,omitempty"`
// Group of the alarm
Group string `json:"group"`
// additional information: List of Hostnames of the devices (AP/Switch/Gateway)
Hostnames []string `json:"hostnames,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
// Epoch (seconds) of the last incident/alarm within an alarm window
LastSeen float64 `json:"last_seen"`
// Text describing the alarm
Note *string `json:"note,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Epoch (seconds) of the resolved_time for the alarm
ResolvedTime *int `json:"resolved_time,omitempty"`
// Severity of the alarm
Severity string `json:"severity"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// List of SSIDs
Ssids []string `json:"ssids,omitempty"`
// enum: `open`, `resolved`
Status *AlarmStatusEnum `json:"status,omitempty"`
// additional information: List of MACs of the switches
Switches []string `json:"switches,omitempty"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
// Key-name of the alarm type
Type string `json:"type"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Alarm represents a Alarm struct. Additional information per alarm type
func (Alarm) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Alarm. It customizes the JSON marshaling process for Alarm objects.
func (Alarm) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Alarm, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Alarm) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Alarm. It customizes the JSON unmarshaling process for Alarm objects.
type AlarmAck ¶
type AlarmAck struct {
AlarmIds []uuid.UUID `json:"alarm_ids"`
// Some text note describing the intent
Note *string `json:"note,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AlarmAck represents a AlarmAck struct.
func (AlarmAck) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for AlarmAck. It customizes the JSON marshaling process for AlarmAck objects.
func (AlarmAck) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for AlarmAck, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AlarmAck) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for AlarmAck. It customizes the JSON unmarshaling process for AlarmAck objects.
type AlarmCountDistinctEnum ¶ added in v0.4.54
type AlarmCountDistinctEnum string
AlarmCountDistinctEnum is a string enum. enum: `acked`, `group`, `severity`, `type`
const ( AlarmCountDistinctEnum_ACKED AlarmCountDistinctEnum = "acked" AlarmCountDistinctEnum_GROUP AlarmCountDistinctEnum = "group" AlarmCountDistinctEnum_SEVERITY AlarmCountDistinctEnum = "severity" AlarmCountDistinctEnum_ENUMTYPE AlarmCountDistinctEnum = "type" )
type AlarmSearchResult ¶
type AlarmSearchResult struct {
// Component of the alarm
Component *string `json:"component,omitempty"`
End int `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Page *int `json:"page,omitempty"`
Results []Alarm `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AlarmSearchResult represents a AlarmSearchResult struct.
func (AlarmSearchResult) MarshalJSON ¶
func (a AlarmSearchResult) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AlarmSearchResult. It customizes the JSON marshaling process for AlarmSearchResult objects.
func (AlarmSearchResult) String ¶ added in v0.4.23
func (a AlarmSearchResult) String() string
String implements the fmt.Stringer interface for AlarmSearchResult, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AlarmSearchResult) UnmarshalJSON ¶
func (a *AlarmSearchResult) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AlarmSearchResult. It customizes the JSON unmarshaling process for AlarmSearchResult objects.
type AlarmStatusEnum ¶ added in v0.4.54
type AlarmStatusEnum string
AlarmStatusEnum is a string enum. enum: `open`, `resolved`
const ( AlarmStatusEnum_OPEN AlarmStatusEnum = "open" AlarmStatusEnum_RESOLVED AlarmStatusEnum = "resolved" )
type AlarmTemplate ¶
type AlarmTemplate struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// Delivery object to configure the alarm delivery
Delivery Delivery `json:"delivery"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
// Some string to name the alarm template
Name *string `json:"name,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Alarm Rules object to configure the individual alarm keys/types. Property key is the alarm name.
Rules map[string]AlarmTemplateRule `json:"rules"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AlarmTemplate represents a AlarmTemplate struct. Alarm Template
func (AlarmTemplate) MarshalJSON ¶
func (a AlarmTemplate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AlarmTemplate. It customizes the JSON marshaling process for AlarmTemplate objects.
func (AlarmTemplate) String ¶ added in v0.4.23
func (a AlarmTemplate) String() string
String implements the fmt.Stringer interface for AlarmTemplate, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AlarmTemplate) UnmarshalJSON ¶
func (a *AlarmTemplate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AlarmTemplate. It customizes the JSON unmarshaling process for AlarmTemplate objects.
type AlarmTemplateRule ¶
type AlarmTemplateRule struct {
// Delivery object to configure the alarm delivery
Delivery *Delivery `json:"delivery,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AlarmTemplateRule represents a AlarmTemplateRule struct.
func (AlarmTemplateRule) MarshalJSON ¶
func (a AlarmTemplateRule) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AlarmTemplateRule. It customizes the JSON marshaling process for AlarmTemplateRule objects.
func (AlarmTemplateRule) String ¶ added in v0.4.23
func (a AlarmTemplateRule) String() string
String implements the fmt.Stringer interface for AlarmTemplateRule, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AlarmTemplateRule) UnmarshalJSON ¶
func (a *AlarmTemplateRule) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AlarmTemplateRule. It customizes the JSON unmarshaling process for AlarmTemplateRule objects.
type Alarms ¶
type Alarms struct {
AlarmIds []uuid.UUID `json:"alarm_ids"`
// Some text note describing the intent
Note *string `json:"note,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Alarms represents a Alarms struct.
func (Alarms) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Alarms. It customizes the JSON marshaling process for Alarms objects.
func (Alarms) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Alarms, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Alarms) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Alarms. It customizes the JSON unmarshaling process for Alarms objects.
type AllowDenyEnum ¶
type AllowDenyEnum string
AllowDenyEnum is a string enum. enum: `allow`, `deny`
const ( AllowDenyEnum_ALLOW AllowDenyEnum = "allow" AllowDenyEnum_DENY AllowDenyEnum = "deny" )
type Anomaly ¶
type Anomaly struct {
Events []string `json:"events"`
Since *float64 `json:"since,omitempty"`
SleBaseline float64 `json:"sle_baseline"`
SleDeviation float64 `json:"sle_deviation"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Anomaly represents a Anomaly struct. Anomaly
func (Anomaly) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Anomaly. It customizes the JSON marshaling process for Anomaly objects.
func (Anomaly) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Anomaly, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Anomaly) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Anomaly. It customizes the JSON unmarshaling process for Anomaly objects.
type AntennaSelectEnum ¶ added in v0.4.92
type AntennaSelectEnum string
AntennaSelectEnum is a string enum. Antenna Mode for AP which supports selectable antennas. enum: `""` (default), `external`, `internal`
const ( AntennaSelectEnum_EXTERNAL AntennaSelectEnum = "external" AntennaSelectEnum_INTERNAL AntennaSelectEnum = "internal" )
type ApAeroscout ¶
type ApAeroscout struct {
// Whether to enable aeroscout config
Enabled *bool `json:"enabled,omitempty"`
// Required if enabled, aeroscout server host
Host Optional[string] `json:"host"`
// Whether to enable the feature to allow wireless clients data received and sent to AES server for location calculation
LocateConnected *bool `json:"locate_connected,omitempty"`
Port Optional[int] `json:"port"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApAeroscout represents a ApAeroscout struct. Aeroscout AP settings
func (ApAeroscout) MarshalJSON ¶
func (a ApAeroscout) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApAeroscout. It customizes the JSON marshaling process for ApAeroscout objects.
func (ApAeroscout) String ¶ added in v0.4.23
func (a ApAeroscout) String() string
String implements the fmt.Stringer interface for ApAeroscout, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApAeroscout) UnmarshalJSON ¶
func (a *ApAeroscout) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApAeroscout. It customizes the JSON unmarshaling process for ApAeroscout objects.
type ApAirista ¶ added in v0.4.80
type ApAirista struct {
// Whether to enable Airista config
Enabled *bool `json:"enabled,omitempty"`
// Required if enabled, Airista server host
Host Optional[string] `json:"host"`
Port Optional[int] `json:"port"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApAirista represents a ApAirista struct.
func (ApAirista) MarshalJSON ¶ added in v0.4.80
MarshalJSON implements the json.Marshaler interface for ApAirista. It customizes the JSON marshaling process for ApAirista objects.
func (ApAirista) String ¶ added in v0.4.80
String implements the fmt.Stringer interface for ApAirista, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApAirista) UnmarshalJSON ¶ added in v0.4.80
UnmarshalJSON implements the json.Unmarshaler interface for ApAirista. It customizes the JSON unmarshaling process for ApAirista objects.
type ApCentrak ¶
type ApCentrak struct {
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApCentrak represents a ApCentrak struct.
func (ApCentrak) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for ApCentrak. It customizes the JSON marshaling process for ApCentrak objects.
func (ApCentrak) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for ApCentrak, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApCentrak) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for ApCentrak. It customizes the JSON unmarshaling process for ApCentrak objects.
type ApClientBridge ¶
type ApClientBridge struct {
Auth *ApClientBridgeAuth `json:"auth,omitempty"`
// When acted as client bridge:
// * only 5G radio can be used
// * will not serve as AP on any radios
Enabled *bool `json:"enabled,omitempty"`
Ssid *string `json:"ssid,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApClientBridge represents a ApClientBridge struct.
func (ApClientBridge) MarshalJSON ¶
func (a ApClientBridge) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApClientBridge. It customizes the JSON marshaling process for ApClientBridge objects.
func (ApClientBridge) String ¶ added in v0.4.23
func (a ApClientBridge) String() string
String implements the fmt.Stringer interface for ApClientBridge, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApClientBridge) UnmarshalJSON ¶
func (a *ApClientBridge) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApClientBridge. It customizes the JSON unmarshaling process for ApClientBridge objects.
type ApClientBridgeAuth ¶
type ApClientBridgeAuth struct {
Psk *string `json:"psk,omitempty"`
// wpa2-AES/CCMPp is assumed when `type`==`psk`. enum: `open`, `psk`
Type *ApClientBridgeAuthTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApClientBridgeAuth represents a ApClientBridgeAuth struct.
func (ApClientBridgeAuth) MarshalJSON ¶
func (a ApClientBridgeAuth) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApClientBridgeAuth. It customizes the JSON marshaling process for ApClientBridgeAuth objects.
func (ApClientBridgeAuth) String ¶ added in v0.4.23
func (a ApClientBridgeAuth) String() string
String implements the fmt.Stringer interface for ApClientBridgeAuth, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApClientBridgeAuth) UnmarshalJSON ¶
func (a *ApClientBridgeAuth) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApClientBridgeAuth. It customizes the JSON unmarshaling process for ApClientBridgeAuth objects.
type ApClientBridgeAuthTypeEnum ¶
type ApClientBridgeAuthTypeEnum string
ApClientBridgeAuthTypeEnum is a string enum. wpa2-AES/CCMPp is assumed when `type`==`psk`. enum: `open`, `psk`
const ( ApClientBridgeAuthTypeEnum_OPEN ApClientBridgeAuthTypeEnum = "open" ApClientBridgeAuthTypeEnum_PSK ApClientBridgeAuthTypeEnum = "psk" )
type ApEslConfig ¶
type ApEslConfig struct {
// Only if `type`==`imagotag` or `type`==`native`
Cacert *string `json:"cacert,omitempty"`
// Only if `type`==`imagotag` or `type`==`native`
Channel *int `json:"channel,omitempty"`
// usb_config is ignored if esl_config enabled
Enabled *bool `json:"enabled,omitempty"`
// Only if `type`==`imagotag` or `type`==`native`
Host *string `json:"host,omitempty"`
// Only if `type`==`imagotag` or `type`==`native`
Port *int `json:"port,omitempty"`
// note: ble_config will be ignored if esl_config is enabled and with native mode. enum: `hanshow`, `imagotag`, `native`, `solum`
Type *ApEslTypeEnum `json:"type,omitempty"`
// Only if `type`==`imagotag` or `type`==`native`
VerifyCert *bool `json:"verify_cert,omitempty"`
// Only if `type`==`solum` or `type`==`hanshow`
VlanId *int `json:"vlan_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApEslConfig represents a ApEslConfig struct.
func (ApEslConfig) MarshalJSON ¶
func (a ApEslConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApEslConfig. It customizes the JSON marshaling process for ApEslConfig objects.
func (ApEslConfig) String ¶ added in v0.4.23
func (a ApEslConfig) String() string
String implements the fmt.Stringer interface for ApEslConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApEslConfig) UnmarshalJSON ¶
func (a *ApEslConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApEslConfig. It customizes the JSON unmarshaling process for ApEslConfig objects.
type ApEslTypeEnum ¶
type ApEslTypeEnum string
ApEslTypeEnum is a string enum. note: ble_config will be ignored if esl_config is enabled and with native mode. enum: `hanshow`, `imagotag`, `native`, `solum`
const ( ApEslTypeEnum_HANSHOW ApEslTypeEnum = "hanshow" ApEslTypeEnum_IMAGOTAG ApEslTypeEnum = "imagotag" ApEslTypeEnum_NATIVE ApEslTypeEnum = "native" ApEslTypeEnum_SOLUM ApEslTypeEnum = "solum" )
type ApIot ¶
type ApIot struct {
// IoT output AP settings
A1 *ApIotOutput `json:"A1,omitempty"`
// IoT output AP settings
A2 *ApIotOutput `json:"A2,omitempty"`
// IoT output AP settings
A3 *ApIotOutput `json:"A3,omitempty"`
// IoT output AP settings
A4 *ApIotOutput `json:"A4,omitempty"`
// IoT Input AP settings
DI1 *ApIotInput `json:"DI1,omitempty"`
// IoT Input AP settings
DI2 *ApIotInput `json:"DI2,omitempty"`
// IoT output AP settings
DO *ApIotOutput `json:"DO,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApIot represents a ApIot struct. IoT AP settings
func (ApIot) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for ApIot. It customizes the JSON marshaling process for ApIot objects.
func (ApIot) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for ApIot, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApIot) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for ApIot. It customizes the JSON unmarshaling process for ApIot objects.
type ApIotInput ¶
type ApIotInput struct {
// Whether to enable a pin
Enabled *bool `json:"enabled,omitempty"`
// Optional; descriptive pin name
Name *string `json:"name,omitempty"`
// the type of pull-up the pin uses. enum: `external`, `internal`, `none`
Pullup *ApIotPullupEnum `json:"pullup,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApIotInput represents a ApIotInput struct. IoT Input AP settings
func (ApIotInput) MarshalJSON ¶
func (a ApIotInput) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApIotInput. It customizes the JSON marshaling process for ApIotInput objects.
func (ApIotInput) String ¶ added in v0.4.23
func (a ApIotInput) String() string
String implements the fmt.Stringer interface for ApIotInput, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApIotInput) UnmarshalJSON ¶
func (a *ApIotInput) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApIotInput. It customizes the JSON unmarshaling process for ApIotInput objects.
type ApIotOutput ¶
type ApIotOutput struct {
// Whether to enable a pin
Enabled *bool `json:"enabled,omitempty"`
// Optional; descriptive pin name
Name *string `json:"name,omitempty"`
// Whether the pin is configured as an output. DO and A1-A4 can be repurposed by changing
Output *bool `json:"output,omitempty"`
// the type of pull-up the pin uses. enum: `external`, `internal`, `none`
Pullup *ApIotPullupEnum `json:"pullup,omitempty"`
// Output pin signal level, default 0
Value *int `json:"value,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApIotOutput represents a ApIotOutput struct. IoT output AP settings
func (ApIotOutput) MarshalJSON ¶
func (a ApIotOutput) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApIotOutput. It customizes the JSON marshaling process for ApIotOutput objects.
func (ApIotOutput) String ¶ added in v0.4.23
func (a ApIotOutput) String() string
String implements the fmt.Stringer interface for ApIotOutput, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApIotOutput) UnmarshalJSON ¶
func (a *ApIotOutput) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApIotOutput. It customizes the JSON unmarshaling process for ApIotOutput objects.
type ApIotPullupEnum ¶ added in v0.2.35
type ApIotPullupEnum string
ApIotPullupEnum is a string enum. the type of pull-up the pin uses. enum: `external`, `internal`, `none`
const ( ApIotPullupEnum_EXTERNAL ApIotPullupEnum = "external" ApIotPullupEnum_INTERNAL ApIotPullupEnum = "internal" ApIotPullupEnum_NONE ApIotPullupEnum = "none" )
type ApIpConfig ¶
type ApIpConfig struct {
// If `type`==`static`
Dns []string `json:"dns,omitempty"`
// Required if `type`==`static`
DnsSuffix []string `json:"dns_suffix,omitempty"`
// Required if `type`==`static`
Gateway *string `json:"gateway,omitempty"`
Gateway6 *string `json:"gateway6,omitempty"`
// Required if `type`==`static`
Ip *string `json:"ip,omitempty"`
Ip6 *string `json:"ip6,omitempty"`
Mtu *int `json:"mtu,omitempty"`
// Required if `type`==`static`
Netmask *string `json:"netmask,omitempty"`
Netmask6 *string `json:"netmask6,omitempty"`
// enum: `dhcp`, `static`
Type *IpTypeEnum `json:"type,omitempty"`
// enum: `autoconf`, `dhcp`, `disabled`, `static`
Type6 *IpType6Enum `json:"type6,omitempty"`
// Management VLAN id, default is 1 (untagged)
VlanId *int `json:"vlan_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApIpConfig represents a ApIpConfig struct. IP AP settings
func (ApIpConfig) MarshalJSON ¶
func (a ApIpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApIpConfig. It customizes the JSON marshaling process for ApIpConfig objects.
func (ApIpConfig) String ¶ added in v0.4.23
func (a ApIpConfig) String() string
String implements the fmt.Stringer interface for ApIpConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApIpConfig) UnmarshalJSON ¶
func (a *ApIpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApIpConfig. It customizes the JSON unmarshaling process for ApIpConfig objects.
type ApLed ¶
type ApLed struct {
Brightness *int `json:"brightness,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApLed represents a ApLed struct. LED AP settings
func (ApLed) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for ApLed. It customizes the JSON marshaling process for ApLed objects.
func (ApLed) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for ApLed, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApLed) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for ApLed. It customizes the JSON unmarshaling process for ApLed objects.
type ApMesh ¶
type ApMesh struct {
// List of bands that the mesh should apply to. For relay, the first viable one will be picked. For relay, the first viable one will be picked. enum: `24`, `5`, `6`
Bands []Dot11BandEnum `json:"bands,omitempty"`
// Whether mesh is enabled on this AP
Enabled *bool `json:"enabled,omitempty"`
// Mesh group, base AP(s) will only allow remote AP(s) in the same mesh group to join, 1-9, optional
Group Optional[int] `json:"group"`
// enum: `base`, `remote`
Role *ApMeshRoleEnum `json:"role,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApMesh represents a ApMesh struct. Mesh AP settings
func (ApMesh) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for ApMesh. It customizes the JSON marshaling process for ApMesh objects.
func (ApMesh) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for ApMesh, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApMesh) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for ApMesh. It customizes the JSON unmarshaling process for ApMesh objects.
type ApMeshRoleEnum ¶
type ApMeshRoleEnum string
ApMeshRoleEnum is a string enum. enum: `base`, `remote`
const ( ApMeshRoleEnum_BASE ApMeshRoleEnum = "base" ApMeshRoleEnum_REMOTE ApMeshRoleEnum = "remote" )
type ApPortConfig ¶
type ApPortConfig struct {
Disabled *bool `json:"disabled,omitempty"`
// Optional dynamic vlan
DynamicVlan *ApPortConfigDynamicVlan `json:"dynamic_vlan,omitempty"`
EnableMacAuth *bool `json:"enable_mac_auth,omitempty"`
// enum:
// * `all`: local breakout, All VLANs
// * `limited`: local breakout, only the VLANs configured in `port_vlan_id` and `vlan_ids`
// * `mxtunnel`: central breakout to an Org Mist Edge (requires `mxtunnel_id`)
// * `site_mxedge`: central breakout to a Site Mist Edge (requires `mxtunnel_name`)
// * `wxtunnel`': central breakout to an Org WxTunnel (requires `wxtunnel_id`)
Forwarding *ApPortConfigForwardingEnum `json:"forwarding,omitempty"`
// When `true`, we'll do dot1x then mac_auth. enable this to prefer mac_auth
MacAuthPreferred *bool `json:"mac_auth_preferred,omitempty"`
// if `enable_mac_auth`==`true`, allows user to select an authentication protocol. enum: `eap-md5`, `eap-peap`, `pap`
MacAuthProtocol *ApPortConfigMacAuthProtocolEnum `json:"mac_auth_protocol,omitempty"`
MistNac *WlanMistNac `json:"mist_nac,omitempty"`
// If `forwarding`==`mxtunnel`, vlan_ids comes from mxtunnel
MxTunnelId *uuid.UUID `json:"mx_tunnel_id,omitempty"`
// If `forwarding`==`site_mxedge`, vlan_ids comes from site_mxedge (`mxtunnels` under site setting)
MxtunnelName *string `json:"mxtunnel_name,omitempty"`
// When doing port auth. enum: `dot1x`, `none`
PortAuth *ApPortConfigPortAuthEnum `json:"port_auth,omitempty"`
// If `forwarding`==`limited`
PortVlanId *int `json:"port_vlan_id,omitempty"`
// Junos Radius config
RadiusConfig *RadiusConfig `json:"radius_config,omitempty"`
// RadSec settings
Radsec *Radsec `json:"radsec,omitempty"`
// Optional to specify the vlan id for a tunnel if forwarding is for `wxtunnel`, `mxtunnel` or `site_mxedge`.
// * if vlan_id is not specified then it will use first one in vlan_ids[] of the mxtunnel.
// * if forwarding == site_mxedge, vlan_ids comes from site_mxedge (`mxtunnels` under site setting)
VlanId *int `json:"vlan_id,omitempty"`
// If `forwarding`==`limited`, comma separated list of additional vlan ids allowed on this port
VlanIds *string `json:"vlan_ids,omitempty"`
// If `forwarding`==`wxtunnel`, the port is bridged to the vlan of the session
WxtunnelId *uuid.UUID `json:"wxtunnel_id,omitempty"`
// If `forwarding`==`wxtunnel`, the port is bridged to the vlan of the session
WxtunnelRemoteId *string `json:"wxtunnel_remote_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApPortConfig represents a ApPortConfig struct.
func (ApPortConfig) MarshalJSON ¶
func (a ApPortConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApPortConfig. It customizes the JSON marshaling process for ApPortConfig objects.
func (ApPortConfig) String ¶ added in v0.4.23
func (a ApPortConfig) String() string
String implements the fmt.Stringer interface for ApPortConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApPortConfig) UnmarshalJSON ¶
func (a *ApPortConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApPortConfig. It customizes the JSON unmarshaling process for ApPortConfig objects.
type ApPortConfigDynamicVlan ¶
type ApPortConfigDynamicVlan struct {
DefaultVlanId *int `json:"default_vlan_id,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
Type *string `json:"type,omitempty"`
Vlans map[string]string `json:"vlans,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApPortConfigDynamicVlan represents a ApPortConfigDynamicVlan struct. Optional dynamic vlan
func (ApPortConfigDynamicVlan) MarshalJSON ¶
func (a ApPortConfigDynamicVlan) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApPortConfigDynamicVlan. It customizes the JSON marshaling process for ApPortConfigDynamicVlan objects.
func (ApPortConfigDynamicVlan) String ¶ added in v0.4.23
func (a ApPortConfigDynamicVlan) String() string
String implements the fmt.Stringer interface for ApPortConfigDynamicVlan, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApPortConfigDynamicVlan) UnmarshalJSON ¶
func (a *ApPortConfigDynamicVlan) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApPortConfigDynamicVlan. It customizes the JSON unmarshaling process for ApPortConfigDynamicVlan objects.
type ApPortConfigForwardingEnum ¶
type ApPortConfigForwardingEnum string
ApPortConfigForwardingEnum is a string enum. enum: * `all`: local breakout, All VLANs * `limited`: local breakout, only the VLANs configured in `port_vlan_id` and `vlan_ids` * `mxtunnel`: central breakout to an Org Mist Edge (requires `mxtunnel_id`) * `site_mxedge`: central breakout to a Site Mist Edge (requires `mxtunnel_name`) * `wxtunnel`': central breakout to an Org WxTunnel (requires `wxtunnel_id`)
const ( ApPortConfigForwardingEnum_ALL ApPortConfigForwardingEnum = "all" ApPortConfigForwardingEnum_LIMITED ApPortConfigForwardingEnum = "limited" ApPortConfigForwardingEnum_MXTUNNEL ApPortConfigForwardingEnum = "mxtunnel" ApPortConfigForwardingEnum_SITEMXEDGE ApPortConfigForwardingEnum = "site_mxedge" ApPortConfigForwardingEnum_WXTUNNEL ApPortConfigForwardingEnum = "wxtunnel" )
type ApPortConfigMacAuthProtocolEnum ¶
type ApPortConfigMacAuthProtocolEnum string
ApPortConfigMacAuthProtocolEnum is a string enum. if `enable_mac_auth`==`true`, allows user to select an authentication protocol. enum: `eap-md5`, `eap-peap`, `pap`
const ( ApPortConfigMacAuthProtocolEnum_EAPMD5 ApPortConfigMacAuthProtocolEnum = "eap-md5" ApPortConfigMacAuthProtocolEnum_EAPPEAP ApPortConfigMacAuthProtocolEnum = "eap-peap" ApPortConfigMacAuthProtocolEnum_PAP ApPortConfigMacAuthProtocolEnum = "pap" )
type ApPortConfigPortAuthEnum ¶
type ApPortConfigPortAuthEnum string
ApPortConfigPortAuthEnum is a string enum. When doing port auth. enum: `dot1x`, `none`
const ( ApPortConfigPortAuthEnum_DOT1X ApPortConfigPortAuthEnum = "dot1x" ApPortConfigPortAuthEnum_NONE ApPortConfigPortAuthEnum = "none" )
type ApPwrConfig ¶
type ApPwrConfig struct {
// Additional power to request during negotiating with PSE over PoE, in mW
Base *int `json:"base,omitempty"`
// Whether to enable power out to peripheral, meanwhile will reduce power to Wi-Fi (only for AP45 at power mode)
PreferUsbOverWifi *bool `json:"prefer_usb_over_wifi,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApPwrConfig represents a ApPwrConfig struct. Power related configs
func (ApPwrConfig) MarshalJSON ¶
func (a ApPwrConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApPwrConfig. It customizes the JSON marshaling process for ApPwrConfig objects.
func (ApPwrConfig) String ¶ added in v0.4.23
func (a ApPwrConfig) String() string
String implements the fmt.Stringer interface for ApPwrConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApPwrConfig) UnmarshalJSON ¶
func (a *ApPwrConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApPwrConfig. It customizes the JSON unmarshaling process for ApPwrConfig objects.
type ApRadio ¶
type ApRadio struct {
AllowRrmDisable *bool `json:"allow_rrm_disable,omitempty"`
// Antenna gain for 2.4G - for models with external antenna only
AntGain24 *int `json:"ant_gain_24,omitempty"`
// Antenna gain for 5G - for models with external antenna only
AntGain5 *int `json:"ant_gain_5,omitempty"`
// Antenna gain for 6G - for models with external antenna only
AntGain6 *int `json:"ant_gain_6,omitempty"`
// enum: `1x1`, `2x2`, `3x3`, `4x4`, `default`
AntennaMode *ApRadioAntennaModeEnum `json:"antenna_mode,omitempty"`
// Antenna Mode for AP which supports selectable antennas. enum: `""` (default), `external`, `internal`
AntennaSelect *AntennaSelectEnum `json:"antenna_select,omitempty"`
// Radio Band AP settings
Band24 *ApRadioBand24 `json:"band_24,omitempty"`
// enum: `24`, `5`, `6`, `auto`
Band24Usage *RadioBand24UsageEnum `json:"band_24_usage,omitempty"`
// Radio Band AP settings
Band5 *ApRadioBand5 `json:"band_5,omitempty"`
// Radio Band AP settings
Band5On24Radio *ApRadioBand5 `json:"band_5_on_24_radio,omitempty"`
// Radio Band AP settings
Band6 *ApRadioBand6 `json:"band_6,omitempty"`
// Let RRM control everything, only the `channels` and `ant_gain` will be honored (i.e. disabled/bandwidth/power/band_24_usage are all controlled by RRM)
FullAutomaticRrm *bool `json:"full_automatic_rrm,omitempty"`
// To make an outdoor operate indoor. For an outdoor-ap, some channels are disallowed by default, this allows the user to use it as an indoor-ap
IndoorUse *bool `json:"indoor_use,omitempty"`
// Enable RRM to manage all radio settings (ignores all band_xxx configs)
RrmManaged *bool `json:"rrm_managed,omitempty"`
// Whether scanning radio is enabled
ScanningEnabled *bool `json:"scanning_enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApRadio represents a ApRadio struct. Radio AP settings
func (ApRadio) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for ApRadio. It customizes the JSON marshaling process for ApRadio objects.
func (ApRadio) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for ApRadio, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApRadio) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for ApRadio. It customizes the JSON unmarshaling process for ApRadio objects.
type ApRadioAntennaModeEnum ¶
type ApRadioAntennaModeEnum string
ApRadioAntennaModeEnum is a string enum. enum: `1x1`, `2x2`, `3x3`, `4x4`, `default`
const ( ApRadioAntennaModeEnum_ENUM1X1 ApRadioAntennaModeEnum = "1x1" ApRadioAntennaModeEnum_ENUM2X2 ApRadioAntennaModeEnum = "2x2" ApRadioAntennaModeEnum_ENUM3X3 ApRadioAntennaModeEnum = "3x3" ApRadioAntennaModeEnum_ENUM4X4 ApRadioAntennaModeEnum = "4x4" ApRadioAntennaModeEnum_ENUMDEFAULT ApRadioAntennaModeEnum = "default" )
type ApRadioBand24 ¶
type ApRadioBand24 struct {
AllowRrmDisable *bool `json:"allow_rrm_disable,omitempty"`
AntGain Optional[int] `json:"ant_gain"`
// enum: `1x1`, `2x2`, `3x3`, `4x4`, `default`
AntennaMode *RadioBandAntennaModeEnum `json:"antenna_mode,omitempty"`
// channel width for the 2.4GHz band. enum: `0`(disabled, response only), `20`, `40`
Bandwidth *Dot11Bandwidth24Enum `json:"bandwidth,omitempty"`
// For Device. (primary) channel for the band, 0 means using the Site Setting
Channel Optional[int] `json:"channel"`
// For RFTemplates. List of channels, null or empty array means auto
Channels Optional[[]int] `json:"channels"`
// Whether to disable the radio
Disabled *bool `json:"disabled,omitempty"`
// TX power of the radio. For Devices, 0 means auto. -1 / -2 / -3 / …: treated as 0 / -1 / -2 / …
Power Optional[int] `json:"power"`
// When power=0, max tx power to use, HW-specific values will be used if not set
PowerMax Optional[int] `json:"power_max"`
// When power=0, min tx power to use, HW-specific values will be used if not set
PowerMin Optional[int] `json:"power_min"`
// enum: `auto`, `long`, `short`
Preamble *RadioBandPreambleEnum `json:"preamble,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApRadioBand24 represents a ApRadioBand24 struct. Radio Band AP settings
func (ApRadioBand24) MarshalJSON ¶
func (a ApRadioBand24) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApRadioBand24. It customizes the JSON marshaling process for ApRadioBand24 objects.
func (ApRadioBand24) String ¶ added in v0.4.23
func (a ApRadioBand24) String() string
String implements the fmt.Stringer interface for ApRadioBand24, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApRadioBand24) UnmarshalJSON ¶
func (a *ApRadioBand24) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApRadioBand24. It customizes the JSON unmarshaling process for ApRadioBand24 objects.
type ApRadioBand5 ¶
type ApRadioBand5 struct {
AllowRrmDisable *bool `json:"allow_rrm_disable,omitempty"`
AntGain Optional[int] `json:"ant_gain"`
// enum: `narrow`, `medium`, `wide`
AntennaBeamPattern *RadioBandAntennaBeamPatternEnum `json:"antenna_beam_pattern,omitempty"`
// enum: `1x1`, `2x2`, `3x3`, `4x4`, `default`
AntennaMode *RadioBandAntennaModeEnum `json:"antenna_mode,omitempty"`
// channel width for the 5GHz band. enum: `0`(disabled, response only), `20`, `40`, `80`
Bandwidth *Dot11Bandwidth5Enum `json:"bandwidth,omitempty"`
// For Device. (primary) channel for the band, 0 means using the Site Setting
Channel Optional[int] `json:"channel"`
// For RFTemplates. List of channels, null or empty array means auto
Channels Optional[[]int] `json:"channels"`
// Whether to disable the radio
Disabled *bool `json:"disabled,omitempty"`
// TX power of the radio. For Devices, 0 means auto. -1 / -2 / -3 / …: treated as 0 / -1 / -2 / …
Power Optional[int] `json:"power"`
// When power=0, max tx power to use, HW-specific values will be used if not set
PowerMax Optional[int] `json:"power_max"`
// When power=0, min tx power to use, HW-specific values will be used if not set
PowerMin Optional[int] `json:"power_min"`
// enum: `auto`, `long`, `short`
Preamble *RadioBandPreambleEnum `json:"preamble,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApRadioBand5 represents a ApRadioBand5 struct. Radio Band AP settings
func (ApRadioBand5) MarshalJSON ¶
func (a ApRadioBand5) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApRadioBand5. It customizes the JSON marshaling process for ApRadioBand5 objects.
func (ApRadioBand5) String ¶ added in v0.4.23
func (a ApRadioBand5) String() string
String implements the fmt.Stringer interface for ApRadioBand5, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApRadioBand5) UnmarshalJSON ¶
func (a *ApRadioBand5) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApRadioBand5. It customizes the JSON unmarshaling process for ApRadioBand5 objects.
type ApRadioBand6 ¶
type ApRadioBand6 struct {
AllowRrmDisable *bool `json:"allow_rrm_disable,omitempty"`
AntGain Optional[int] `json:"ant_gain"`
// enum: `narrow`, `medium`, `wide`
AntennaBeamPattern *RadioBandAntennaBeamPatternEnum `json:"antenna_beam_pattern,omitempty"`
// enum: `1x1`, `2x2`, `3x3`, `4x4`, `default`
AntennaMode *RadioBandAntennaModeEnum `json:"antenna_mode,omitempty"`
// channel width for the 6GHz band. enum: `0`(disabled, response only), `20`, `40`, `80`, `160`
Bandwidth *Dot11Bandwidth6Enum `json:"bandwidth,omitempty"`
// For Device. (primary) channel for the band, 0 means using the Site Setting
Channel Optional[int] `json:"channel"`
// For RFTemplates. List of channels, null or empty array means auto
Channels Optional[[]int] `json:"channels"`
// Whether to disable the radio
Disabled *bool `json:"disabled,omitempty"`
// TX power of the radio. For Devices, 0 means auto. -1 / -2 / -3 / …: treated as 0 / -1 / -2 / …
Power Optional[int] `json:"power"`
// When power=0, max tx power to use, HW-specific values will be used if not set
PowerMax Optional[int] `json:"power_max"`
// When power=0, min tx power to use, HW-specific values will be used if not set
PowerMin Optional[int] `json:"power_min"`
// enum: `auto`, `long`, `short`
Preamble *RadioBandPreambleEnum `json:"preamble,omitempty"`
// For 6GHz Only, standard-power operation, AFC (Automatic Frequency Coordination) will be performed, and we'll fall back to Low Power Indoor if AFC failed
StandardPower *bool `json:"standard_power,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApRadioBand6 represents a ApRadioBand6 struct. Radio Band AP settings
func (ApRadioBand6) MarshalJSON ¶
func (a ApRadioBand6) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApRadioBand6. It customizes the JSON marshaling process for ApRadioBand6 objects.
func (ApRadioBand6) String ¶ added in v0.4.23
func (a ApRadioBand6) String() string
String implements the fmt.Stringer interface for ApRadioBand6, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApRadioBand6) UnmarshalJSON ¶
func (a *ApRadioBand6) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApRadioBand6. It customizes the JSON unmarshaling process for ApRadioBand6 objects.
type ApRadioMac ¶
type ApRadioMac struct {
Mac string `json:"mac"`
RadioMacs []string `json:"radio_macs"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApRadioMac represents a ApRadioMac struct.
func (ApRadioMac) MarshalJSON ¶
func (a ApRadioMac) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApRadioMac. It customizes the JSON marshaling process for ApRadioMac objects.
func (ApRadioMac) String ¶ added in v0.4.23
func (a ApRadioMac) String() string
String implements the fmt.Stringer interface for ApRadioMac, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApRadioMac) UnmarshalJSON ¶
func (a *ApRadioMac) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApRadioMac. It customizes the JSON unmarshaling process for ApRadioMac objects.
type ApRadioStat ¶ added in v0.3.0
type ApRadioStat struct {
// channel width for the band.enum: `0`(disabled, response only), `20`, `40`, `80` (only applicable for band_5 and band_6), `160` (only for band_6)
Bandwidth *Dot11BandwidthEnum `json:"bandwidth,omitempty"`
// Current channel the radio is running on
Channel Optional[int] `json:"channel"`
// Use dynamic chaining for downlink
DynamicChainingEnabled Optional[bool] `json:"dynamic_chaining_enabled"`
// Radio (base) mac, it can have 16 bssids (e.g. 5c5b350001a0-5c5b350001af)
Mac Optional[string] `json:"mac"`
NoiseFloor Optional[int] `json:"noise_floor"`
NumClients Optional[int] `json:"num_clients"`
// How many WLANs are applied to the radio
NumWlans *int `json:"num_wlans,omitempty"`
// Transmit power (in dBm)
Power Optional[int] `json:"power"`
// Amount of traffic received since connection
RxBytes Optional[int64] `json:"rx_bytes"`
// Amount of packets received since connection
RxPkts Optional[int64] `json:"rx_pkts"`
// Amount of traffic sent since connection
TxBytes Optional[int64] `json:"tx_bytes"`
// Amount of packets sent since connection
TxPkts Optional[int64] `json:"tx_pkts"`
Usage Optional[string] `json:"usage"`
// All utilization in percentage
UtilAll Optional[int] `json:"util_all"`
// Reception of "No Packets" utilization in percentage, received frames with invalid PLCPs and CRS glitches as noise
UtilNonWifi Optional[int] `json:"util_non_wifi"`
// Reception of "In BSS" utilization in percentage, only frames that are received from AP/STAs within the BSS
UtilRxInBss Optional[int] `json:"util_rx_in_bss"`
// Reception of "Other BSS" utilization in percentage, all frames received from AP/STAs that are outside the BSS
UtilRxOtherBss Optional[int] `json:"util_rx_other_bss"`
// Transmission utilization in percentage
UtilTx Optional[int] `json:"util_tx"`
// Reception of "UnDecodable Wifi" utilization in percentage, only Preamble, PLCP header is decoded, Rest is undecodable in this radio
UtilUndecodableWifi Optional[int] `json:"util_undecodable_wifi"`
// Reception of "No Category" utilization in percentage, all 802.11 frames that are corrupted at the receiver
UtilUnknownWifi Optional[int] `json:"util_unknown_wifi"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApRadioStat represents a ApRadioStat struct. Radio stat
func (ApRadioStat) MarshalJSON ¶ added in v0.3.0
func (a ApRadioStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApRadioStat. It customizes the JSON marshaling process for ApRadioStat objects.
func (ApRadioStat) String ¶ added in v0.4.23
func (a ApRadioStat) String() string
String implements the fmt.Stringer interface for ApRadioStat, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApRadioStat) UnmarshalJSON ¶ added in v0.3.0
func (a *ApRadioStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApRadioStat. It customizes the JSON unmarshaling process for ApRadioStat objects.
type ApRedundancy ¶
type ApRedundancy struct {
// Property key is the node id
Modules map[string]ApRedundancyModule `json:"modules,omitempty"`
NumAps *int `json:"num_aps,omitempty"`
NumApsWithSwitchRedundancy *int `json:"num_aps_with_switch_redundancy,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApRedundancy represents a ApRedundancy struct.
func (ApRedundancy) MarshalJSON ¶
func (a ApRedundancy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApRedundancy. It customizes the JSON marshaling process for ApRedundancy objects.
func (ApRedundancy) String ¶ added in v0.4.23
func (a ApRedundancy) String() string
String implements the fmt.Stringer interface for ApRedundancy, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApRedundancy) UnmarshalJSON ¶
func (a *ApRedundancy) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApRedundancy. It customizes the JSON unmarshaling process for ApRedundancy objects.
type ApRedundancyModule ¶
type ApRedundancyModule struct {
NumAps *int `json:"num_aps,omitempty"`
NumApsWithSwitchRedundancy *int `json:"num_aps_with_switch_redundancy,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApRedundancyModule represents a ApRedundancyModule struct.
func (ApRedundancyModule) MarshalJSON ¶
func (a ApRedundancyModule) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApRedundancyModule. It customizes the JSON marshaling process for ApRedundancyModule objects.
func (ApRedundancyModule) String ¶ added in v0.4.23
func (a ApRedundancyModule) String() string
String implements the fmt.Stringer interface for ApRedundancyModule, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApRedundancyModule) UnmarshalJSON ¶
func (a *ApRedundancyModule) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApRedundancyModule. It customizes the JSON unmarshaling process for ApRedundancyModule objects.
type ApSearch ¶
type ApSearch struct {
// Bandwidth of band_24
Band24Bandwidth *string `json:"band_24_bandwidth,omitempty"`
// Channel of band_24
Band24Channel *int `json:"band_24_channel,omitempty"`
Band24Power *int `json:"band_24_power,omitempty"`
// Bandwidth of band_5
Band5Bandwidth *string `json:"band_5_bandwidth,omitempty"`
// Channel of band_5
Band5Channel *int `json:"band_5_channel,omitempty"`
Band5Power *int `json:"band_5_power,omitempty"`
Band6Bandwidth *string `json:"band_6_bandwidth,omitempty"`
// Channel of band_6
Band6Channel *int `json:"band_6_channel,omitempty"`
Band6Power *int `json:"band_6_power,omitempty"`
// Port speed of eth0
Eth0PortSpeed *int `json:"eth0_port_speed,omitempty"`
ExtIp *string `json:"ext_ip,omitempty"`
// Partial / full hostname
Hostname []string `json:"hostname,omitempty"`
InactiveWiredVlans []int `json:"inactive_wired_vlans,omitempty"`
// IP Address
Ip *string `json:"ip,omitempty"`
LastHostname *string `json:"last_hostname,omitempty"`
// LLDP management ip address
LldpMgmtAddr *string `json:"lldp_mgmt_addr,omitempty"`
LldpPortDesc *string `json:"lldp_port_desc,omitempty"`
// LLDP port id
LldpPortId *string `json:"lldp_port_id,omitempty"`
LldpPowerAllocated *int `json:"lldp_power_allocated,omitempty"`
LldpPowerDraw *int `json:"lldp_power_draw,omitempty"`
// LLDP system description
LldpSystemDesc *string `json:"lldp_system_desc,omitempty"`
// LLDP system name
LldpSystemName *string `json:"lldp_system_name,omitempty"`
// Device model
Mac *string `json:"mac,omitempty"`
Model *string `json:"model,omitempty"`
// Mist Edge id, if AP is connecting to a Mist Edge
MxedgeId *string `json:"mxedge_id,omitempty"`
// Comma separated list of Mist Edge ids, if AP is connecting to a Mist Edge
MxedgeIds *string `json:"mxedge_ids,omitempty"`
// MxTunnel status
MxtunnelStatus string `json:"mxtunnel_status"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
PowerConstrained bool `json:"power_constrained"`
PowerOpmode string `json:"power_opmode"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Sku *string `json:"sku,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
Uptime *int `json:"uptime,omitempty"`
// Version
Version *string `json:"version,omitempty"`
Wlans []ApSearchWlan `json:"wlans"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApSearch represents a ApSearch struct.
func (ApSearch) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for ApSearch. It customizes the JSON marshaling process for ApSearch objects.
func (ApSearch) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for ApSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApSearch) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for ApSearch. It customizes the JSON unmarshaling process for ApSearch objects.
type ApSearchWlan ¶ added in v0.4.18
type ApSearchWlan struct {
Id *uuid.UUID `json:"id,omitempty"`
Ssid *string `json:"ssid,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApSearchWlan represents a ApSearchWlan struct.
func (ApSearchWlan) MarshalJSON ¶ added in v0.4.18
func (a ApSearchWlan) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApSearchWlan. It customizes the JSON marshaling process for ApSearchWlan objects.
func (ApSearchWlan) String ¶ added in v0.4.23
func (a ApSearchWlan) String() string
String implements the fmt.Stringer interface for ApSearchWlan, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApSearchWlan) UnmarshalJSON ¶ added in v0.4.18
func (a *ApSearchWlan) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApSearchWlan. It customizes the JSON unmarshaling process for ApSearchWlan objects.
type ApStatMeshDownlink ¶
type ApStatMeshDownlink struct {
Band *string `json:"band,omitempty"`
Channel *int `json:"channel,omitempty"`
IdleTime *int `json:"idle_time,omitempty"`
// Last seen timestamp
LastSeen Optional[float64] `json:"last_seen"`
Proto *string `json:"proto,omitempty"`
Rssi *int `json:"rssi,omitempty"`
// Rate of receiving traffic, bits/seconds, last known
RxBps Optional[int64] `json:"rx_bps"`
// Amount of traffic received since connection
RxBytes Optional[int64] `json:"rx_bytes"`
// Amount of packets received since connection
RxPackets Optional[int64] `json:"rx_packets"`
// RX Rate, Mbps
RxRate Optional[float64] `json:"rx_rate"`
// Amount of rx retries
RxRetries Optional[int] `json:"rx_retries"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Snr *int `json:"snr,omitempty"`
// Rate of transmitting traffic, bits/seconds, last known
TxBps Optional[int64] `json:"tx_bps"`
// Amount of traffic sent since connection
TxBytes Optional[int64] `json:"tx_bytes"`
// Amount of packets sent since connection
TxPackets Optional[int64] `json:"tx_packets"`
// TX Rate, Mbps
TxRate Optional[float64] `json:"tx_rate"`
// Amount of tx retries
TxRetries Optional[int] `json:"tx_retries"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApStatMeshDownlink represents a ApStatMeshDownlink struct.
func (ApStatMeshDownlink) MarshalJSON ¶
func (a ApStatMeshDownlink) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApStatMeshDownlink. It customizes the JSON marshaling process for ApStatMeshDownlink objects.
func (ApStatMeshDownlink) String ¶ added in v0.4.23
func (a ApStatMeshDownlink) String() string
String implements the fmt.Stringer interface for ApStatMeshDownlink, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApStatMeshDownlink) UnmarshalJSON ¶
func (a *ApStatMeshDownlink) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApStatMeshDownlink. It customizes the JSON unmarshaling process for ApStatMeshDownlink objects.
type ApStatMeshUplink ¶
type ApStatMeshUplink struct {
Band *string `json:"band,omitempty"`
Channel *int `json:"channel,omitempty"`
IdleTime *int `json:"idle_time,omitempty"`
// Last seen timestamp
LastSeen Optional[float64] `json:"last_seen"`
Proto *string `json:"proto,omitempty"`
Rssi *int `json:"rssi,omitempty"`
// Rate of receiving traffic, bits/seconds, last known
RxBps Optional[int64] `json:"rx_bps"`
// Amount of traffic received since connection
RxBytes Optional[int64] `json:"rx_bytes"`
// Amount of packets received since connection
RxPackets Optional[int64] `json:"rx_packets"`
// RX Rate, Mbps
RxRate Optional[float64] `json:"rx_rate"`
// Amount of rx retries
RxRetries Optional[int] `json:"rx_retries"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Snr *int `json:"snr,omitempty"`
// Rate of transmitting traffic, bits/seconds, last known
TxBps Optional[int64] `json:"tx_bps"`
// Amount of traffic sent since connection
TxBytes Optional[int64] `json:"tx_bytes"`
// Amount of packets sent since connection
TxPackets Optional[int64] `json:"tx_packets"`
// TX Rate, Mbps
TxRate Optional[float64] `json:"tx_rate"`
// Amount of tx retries
TxRetries Optional[int] `json:"tx_retries"`
UplinkApId *uuid.UUID `json:"uplink_ap_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApStatMeshUplink represents a ApStatMeshUplink struct.
func (ApStatMeshUplink) MarshalJSON ¶
func (a ApStatMeshUplink) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApStatMeshUplink. It customizes the JSON marshaling process for ApStatMeshUplink objects.
func (ApStatMeshUplink) String ¶ added in v0.4.23
func (a ApStatMeshUplink) String() string
String implements the fmt.Stringer interface for ApStatMeshUplink, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApStatMeshUplink) UnmarshalJSON ¶
func (a *ApStatMeshUplink) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApStatMeshUplink. It customizes the JSON unmarshaling process for ApStatMeshUplink objects.
type ApSwitch ¶
type ApSwitch struct {
Enabled *bool `json:"enabled,omitempty"`
Eth0 *ApSwitchSetting `json:"eth0,omitempty"`
Eth1 *ApSwitchSetting `json:"eth1,omitempty"`
Eth2 *ApSwitchSetting `json:"eth2,omitempty"`
Eth3 *ApSwitchSetting `json:"eth3,omitempty"`
Module *ApSwitchSetting `json:"module,omitempty"`
Wds *ApSwitchSetting `json:"wds,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApSwitch represents a ApSwitch struct. For people who want to fully control the vlans (advanced)
func (ApSwitch) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for ApSwitch. It customizes the JSON marshaling process for ApSwitch objects.
func (ApSwitch) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for ApSwitch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApSwitch) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for ApSwitch. It customizes the JSON unmarshaling process for ApSwitch objects.
type ApSwitchSetting ¶
type ApSwitchSetting struct {
EnableVlan *bool `json:"enable_vlan,omitempty"`
// Native VLAN id, optional
PortVlanId *ApSwitchSettingPortVlanId `json:"port_vlan_id,omitempty"`
// List of VLAN ids
VlanIds []int `json:"vlan_ids,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApSwitchSetting represents a ApSwitchSetting struct.
func (ApSwitchSetting) MarshalJSON ¶
func (a ApSwitchSetting) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApSwitchSetting. It customizes the JSON marshaling process for ApSwitchSetting objects.
func (ApSwitchSetting) String ¶ added in v0.4.23
func (a ApSwitchSetting) String() string
String implements the fmt.Stringer interface for ApSwitchSetting, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApSwitchSetting) UnmarshalJSON ¶
func (a *ApSwitchSetting) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApSwitchSetting. It customizes the JSON unmarshaling process for ApSwitchSetting objects.
type ApSwitchSettingPortVlanId ¶
type ApSwitchSettingPortVlanId struct {
// contains filtered or unexported fields
}
ApSwitchSettingPortVlanId represents a ApSwitchSettingPortVlanId struct. Native VLAN id, optional
func (*ApSwitchSettingPortVlanId) AsNumber ¶
func (a *ApSwitchSettingPortVlanId) AsNumber() ( *int, bool)
func (*ApSwitchSettingPortVlanId) AsString ¶
func (a *ApSwitchSettingPortVlanId) AsString() ( *string, bool)
func (ApSwitchSettingPortVlanId) MarshalJSON ¶
func (a ApSwitchSettingPortVlanId) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApSwitchSettingPortVlanId. It customizes the JSON marshaling process for ApSwitchSettingPortVlanId objects.
func (ApSwitchSettingPortVlanId) String ¶
func (a ApSwitchSettingPortVlanId) String() string
String implements the fmt.Stringer interface for ApSwitchSettingPortVlanId, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApSwitchSettingPortVlanId) UnmarshalJSON ¶
func (a *ApSwitchSettingPortVlanId) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApSwitchSettingPortVlanId. It customizes the JSON unmarshaling process for ApSwitchSettingPortVlanId objects.
type ApTemplate ¶
type ApTemplate struct {
ApMatching ApTemplateMatching `json:"ap_matching"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Wifi *ApTemplateWifi `json:"wifi,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApTemplate represents a ApTemplate struct.
func (ApTemplate) MarshalJSON ¶
func (a ApTemplate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApTemplate. It customizes the JSON marshaling process for ApTemplate objects.
func (ApTemplate) String ¶ added in v0.4.23
func (a ApTemplate) String() string
String implements the fmt.Stringer interface for ApTemplate, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApTemplate) UnmarshalJSON ¶
func (a *ApTemplate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApTemplate. It customizes the JSON unmarshaling process for ApTemplate objects.
type ApTemplateMatching ¶
type ApTemplateMatching struct {
Enabled *bool `json:"enabled,omitempty"`
Rules []ApTemplateMatchingRule `json:"rules,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApTemplateMatching represents a ApTemplateMatching struct.
func (ApTemplateMatching) MarshalJSON ¶
func (a ApTemplateMatching) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApTemplateMatching. It customizes the JSON marshaling process for ApTemplateMatching objects.
func (ApTemplateMatching) String ¶ added in v0.4.23
func (a ApTemplateMatching) String() string
String implements the fmt.Stringer interface for ApTemplateMatching, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApTemplateMatching) UnmarshalJSON ¶
func (a *ApTemplateMatching) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApTemplateMatching. It customizes the JSON unmarshaling process for ApTemplateMatching objects.
type ApTemplateMatchingRule ¶
type ApTemplateMatchingRule struct {
MatchModel *string `json:"match_model,omitempty"`
Name *string `json:"name,omitempty"`
// Property key is the interface(s) name (e.g. "eth1,eth2")
PortConfig map[string]ApPortConfig `json:"port_config,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApTemplateMatchingRule represents a ApTemplateMatchingRule struct.
func (ApTemplateMatchingRule) MarshalJSON ¶
func (a ApTemplateMatchingRule) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApTemplateMatchingRule. It customizes the JSON marshaling process for ApTemplateMatchingRule objects.
func (ApTemplateMatchingRule) String ¶ added in v0.4.23
func (a ApTemplateMatchingRule) String() string
String implements the fmt.Stringer interface for ApTemplateMatchingRule, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApTemplateMatchingRule) UnmarshalJSON ¶
func (a *ApTemplateMatchingRule) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApTemplateMatchingRule. It customizes the JSON unmarshaling process for ApTemplateMatchingRule objects.
type ApTemplateWifi ¶
type ApTemplateWifi struct {
CiscoEnabled *bool `json:"cisco_enabled,omitempty"`
Disable11k *bool `json:"disable_11k,omitempty"`
DisableRadiosWhenPowerConstrained *bool `json:"disable_radios_when_power_constrained,omitempty"`
EnableArpSpoof *bool `json:"enable_arp_spoof,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
LocateConnected *bool `json:"locate_connected,omitempty"`
LocateUnconnected *bool `json:"locate_unconnected,omitempty"`
MeshAllowDfs *bool `json:"mesh_allow_dfs,omitempty"`
MeshEnableCrm *bool `json:"mesh_enable_crm,omitempty"`
MeshEnabled *bool `json:"mesh_enabled,omitempty"`
ProxyArp *bool `json:"proxy_arp,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApTemplateWifi represents a ApTemplateWifi struct.
func (ApTemplateWifi) MarshalJSON ¶
func (a ApTemplateWifi) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApTemplateWifi. It customizes the JSON marshaling process for ApTemplateWifi objects.
func (ApTemplateWifi) String ¶ added in v0.4.23
func (a ApTemplateWifi) String() string
String implements the fmt.Stringer interface for ApTemplateWifi, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApTemplateWifi) UnmarshalJSON ¶
func (a *ApTemplateWifi) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApTemplateWifi. It customizes the JSON unmarshaling process for ApTemplateWifi objects.
type ApUplinkPortConfig ¶
type ApUplinkPortConfig struct {
// Whether to do 802.1x against uplink switch. When enabled, AP cert will be used to do EAP-TLS and the Org's CA Cert has to be provisioned at the switch
Dot1x *bool `json:"dot1x,omitempty"`
// By default, WLANs are disabled when uplink is down. In some scenario, like SiteSurvey, one would want the AP to keep sending beacons.
KeepWlansUpIfDown *bool `json:"keep_wlans_up_if_down,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApUplinkPortConfig represents a ApUplinkPortConfig struct. AP Uplink port configuration
func (ApUplinkPortConfig) MarshalJSON ¶
func (a ApUplinkPortConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApUplinkPortConfig. It customizes the JSON marshaling process for ApUplinkPortConfig objects.
func (ApUplinkPortConfig) String ¶ added in v0.4.23
func (a ApUplinkPortConfig) String() string
String implements the fmt.Stringer interface for ApUplinkPortConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApUplinkPortConfig) UnmarshalJSON ¶
func (a *ApUplinkPortConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApUplinkPortConfig. It customizes the JSON unmarshaling process for ApUplinkPortConfig objects.
type ApUsb ¶
type ApUsb struct {
// Only if `type`==`imagotag`
Cacert Optional[string] `json:"cacert"`
// Only if `type`==`imagotag`, channel selection, not needed by default, required for manual channel override only
Channel *int `json:"channel,omitempty"`
// Whether to enable any usb config
Enabled *bool `json:"enabled,omitempty"`
// Only if `type`==`imagotag`
Host *string `json:"host,omitempty"`
// Only if `type`==`imagotag`
Port *int `json:"port,omitempty"`
// usb config type. enum: `hanshow`, `imagotag`, `solum`
Type *ApUsbTypeEnum `json:"type,omitempty"`
// Only if `type`==`imagotag`, whether to turn on SSL verification
VerifyCert *bool `json:"verify_cert,omitempty"`
// Only if `type`==`solum` or `type`==`hanshow`
VlanId *int `json:"vlan_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApUsb represents a ApUsb struct. USB AP settings - Note: if native imagotag is enabled, BLE will be disabled automatically - Note: legacy, new config moved to ESL Config.
func (ApUsb) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for ApUsb. It customizes the JSON marshaling process for ApUsb objects.
func (ApUsb) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for ApUsb, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApUsb) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for ApUsb. It customizes the JSON unmarshaling process for ApUsb objects.
type ApUsbTypeEnum ¶
type ApUsbTypeEnum string
ApUsbTypeEnum is a string enum. usb config type. enum: `hanshow`, `imagotag`, `solum`
const ( ApUsbTypeEnum_HANSHOW ApUsbTypeEnum = "hanshow" ApUsbTypeEnum_IMAGOTAG ApUsbTypeEnum = "imagotag" ApUsbTypeEnum_SOLUM ApUsbTypeEnum = "solum" )
type ApiResponse ¶
type ApiResponse[T any] struct { https.ApiResponse[T] }
ApiResponse is a generic struct that represents an API response containing data and the HTTP response. The `Data` field holds the data of any type `T` returned by the API. The `Response` field contains the underlying HTTP response associated with the API call.
func NewApiResponse ¶
func NewApiResponse[T any]( data T, response *http.Response) ApiResponse[T]
NewApiResponse creates a new instance of ApiResponse. It takes the `data` of type `T` and the `response` as parameters, and returns an ApiResponse[T] struct.
type ApiUsage ¶ added in v0.4.54
type ApiUsage struct {
// max number of request permitted
RequestLimit int `json:"request_limit"`
// num of request made in the current hour
Requests int `json:"requests"`
Seconds *float64 `json:"seconds,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApiUsage represents a ApiUsage struct.
func (ApiUsage) MarshalJSON ¶ added in v0.4.54
MarshalJSON implements the json.Marshaler interface for ApiUsage. It customizes the JSON marshaling process for ApiUsage objects.
func (ApiUsage) String ¶ added in v0.4.54
String implements the fmt.Stringer interface for ApiUsage, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApiUsage) UnmarshalJSON ¶ added in v0.4.54
UnmarshalJSON implements the json.Unmarshaler interface for ApiUsage. It customizes the JSON unmarshaling process for ApiUsage objects.
type AppProbing ¶
type AppProbing struct {
// APp-keys from [List Applications]($e/Constants%20Definitions/listApplications)
Apps []string `json:"apps,omitempty"`
CustomApps []AppProbingCustomApp `json:"custom_apps,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AppProbing represents a AppProbing struct.
func (AppProbing) MarshalJSON ¶
func (a AppProbing) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AppProbing. It customizes the JSON marshaling process for AppProbing objects.
func (AppProbing) String ¶ added in v0.4.23
func (a AppProbing) String() string
String implements the fmt.Stringer interface for AppProbing, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AppProbing) UnmarshalJSON ¶
func (a *AppProbing) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AppProbing. It customizes the JSON unmarshaling process for AppProbing objects.
type AppProbingCustomApp ¶
type AppProbingCustomApp struct {
// Required if `protocol`==`icmp`
Address *string `json:"address,omitempty"`
AppType *string `json:"app_type,omitempty"`
// If `protocol`==`http`
Hostnames []string `json:"hostnames,omitempty"`
Key *string `json:"key,omitempty"`
Name *string `json:"name,omitempty"`
Network *string `json:"network,omitempty"`
// If `protocol`==`icmp`
PacketSize *int `json:"packetSize,omitempty"`
// enum: `http`, `icmp`
Protocol *AppProbingCustomAppProtocolEnum `json:"protocol,omitempty"`
// If `protocol`==`http`
Url *string `json:"url,omitempty"`
Vrf *string `json:"vrf,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AppProbingCustomApp represents a AppProbingCustomApp struct.
func (AppProbingCustomApp) MarshalJSON ¶
func (a AppProbingCustomApp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AppProbingCustomApp. It customizes the JSON marshaling process for AppProbingCustomApp objects.
func (AppProbingCustomApp) String ¶ added in v0.4.23
func (a AppProbingCustomApp) String() string
String implements the fmt.Stringer interface for AppProbingCustomApp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AppProbingCustomApp) UnmarshalJSON ¶
func (a *AppProbingCustomApp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AppProbingCustomApp. It customizes the JSON unmarshaling process for AppProbingCustomApp objects.
type AppProbingCustomAppProtocolEnum ¶
type AppProbingCustomAppProtocolEnum string
AppProbingCustomAppProtocolEnum is a string enum. enum: `http`, `icmp`
const ( AppProbingCustomAppProtocolEnum_HTTP AppProbingCustomAppProtocolEnum = "http" AppProbingCustomAppProtocolEnum_ICMP AppProbingCustomAppProtocolEnum = "icmp" )
type ArpTableStats ¶
type ArpTableStats struct {
ArpTableCount *int `json:"arp_table_count,omitempty"`
MaxEntriesSupported *int `json:"max_entries_supported,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ArpTableStats represents a ArpTableStats struct.
func (ArpTableStats) MarshalJSON ¶
func (a ArpTableStats) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ArpTableStats. It customizes the JSON marshaling process for ArpTableStats objects.
func (ArpTableStats) String ¶ added in v0.4.23
func (a ArpTableStats) String() string
String implements the fmt.Stringer interface for ArpTableStats, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ArpTableStats) UnmarshalJSON ¶
func (a *ArpTableStats) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ArpTableStats. It customizes the JSON unmarshaling process for ArpTableStats objects.
type Asset ¶
type Asset struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// Bluetooth MAC
Mac string `json:"mac"`
MapId *uuid.UUID `json:"map_id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
// Name / label of the device
Name string `json:"name"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
TagId *uuid.UUID `json:"tag_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Asset represents a Asset struct. Asset
func (Asset) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Asset. It customizes the JSON marshaling process for Asset objects.
func (Asset) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Asset, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Asset) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Asset. It customizes the JSON unmarshaling process for Asset objects.
type AssetFilter ¶
type AssetFilter struct {
ApMac *string `json:"ap_mac,omitempty"`
Beam *int `json:"beam,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// Whether the asset filter is disabled
Disabled *bool `json:"disabled,omitempty"`
// Eddystone uid namespace used to filter assets
EddystoneUidNamespace *string `json:"eddystone_uid_namespace,omitempty"`
// Eddystone url used to filter assets
EddystoneUrl *string `json:"eddystone_url,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// Major number for iBeacon
IbeaconMajor Optional[int] `json:"ibeacon_major"`
IbeaconUuid Optional[uuid.UUID] `json:"ibeacon_uuid"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// BLE manufacturing-specific company-id used to filter assets
MfgCompanyId *int `json:"mfg_company_id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name string `json:"name"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
Rssi *int `json:"rssi,omitempty"`
// BLE service data uuid used to filter assets
ServiceUuid *uuid.UUID `json:"service_uuid,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AssetFilter represents a AssetFilter struct. Asset Filter
func (AssetFilter) MarshalJSON ¶
func (a AssetFilter) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AssetFilter. It customizes the JSON marshaling process for AssetFilter objects.
func (AssetFilter) String ¶ added in v0.4.23
func (a AssetFilter) String() string
String implements the fmt.Stringer interface for AssetFilter, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AssetFilter) UnmarshalJSON ¶
func (a *AssetFilter) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AssetFilter. It customizes the JSON unmarshaling process for AssetFilter objects.
type AssetImport ¶
type AssetImport struct {
Mac string `json:"mac"`
Name string `json:"name"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AssetImport represents a AssetImport struct.
func (AssetImport) MarshalJSON ¶
func (a AssetImport) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AssetImport. It customizes the JSON marshaling process for AssetImport objects.
func (AssetImport) String ¶ added in v0.4.23
func (a AssetImport) String() string
String implements the fmt.Stringer interface for AssetImport, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AssetImport) UnmarshalJSON ¶
func (a *AssetImport) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AssetImport. It customizes the JSON unmarshaling process for AssetImport objects.
type AssetOfInterest ¶
type AssetOfInterest struct {
ApMac *string `json:"ap_mac,omitempty"`
Beam *float64 `json:"beam,omitempty"`
By *string `json:"by,omitempty"`
CurrSite *string `json:"curr_site,omitempty"`
DeviceName *string `json:"device_name,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// Last seen timestamp
LastSeen Optional[float64] `json:"last_seen"`
Mac *string `json:"mac,omitempty"`
Manufacture *string `json:"manufacture,omitempty"`
MapId *string `json:"map_id,omitempty"`
Name *string `json:"name,omitempty"`
Rssi *float64 `json:"rssi,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AssetOfInterest represents a AssetOfInterest struct.
func (AssetOfInterest) MarshalJSON ¶
func (a AssetOfInterest) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AssetOfInterest. It customizes the JSON marshaling process for AssetOfInterest objects.
func (AssetOfInterest) String ¶ added in v0.4.23
func (a AssetOfInterest) String() string
String implements the fmt.Stringer interface for AssetOfInterest, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AssetOfInterest) UnmarshalJSON ¶
func (a *AssetOfInterest) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AssetOfInterest. It customizes the JSON unmarshaling process for AssetOfInterest objects.
type AssetRssiZone ¶
type AssetRssiZone struct {
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Since *float64 `json:"since,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AssetRssiZone represents a AssetRssiZone struct.
func (AssetRssiZone) MarshalJSON ¶
func (a AssetRssiZone) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AssetRssiZone. It customizes the JSON marshaling process for AssetRssiZone objects.
func (AssetRssiZone) String ¶ added in v0.4.23
func (a AssetRssiZone) String() string
String implements the fmt.Stringer interface for AssetRssiZone, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AssetRssiZone) UnmarshalJSON ¶
func (a *AssetRssiZone) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AssetRssiZone. It customizes the JSON unmarshaling process for AssetRssiZone objects.
type AssetZone ¶
type AssetZone struct {
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Since *float64 `json:"since,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AssetZone represents a AssetZone struct.
func (AssetZone) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for AssetZone. It customizes the JSON marshaling process for AssetZone objects.
func (AssetZone) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for AssetZone, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AssetZone) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for AssetZone. It customizes the JSON unmarshaling process for AssetZone objects.
type AssetsImportFile ¶
type AssetsImportFile struct {
// CSV file
File *[]byte `json:"file,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AssetsImportFile represents a AssetsImportFile struct.
func (AssetsImportFile) MarshalJSON ¶
func (a AssetsImportFile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AssetsImportFile. It customizes the JSON marshaling process for AssetsImportFile objects.
func (AssetsImportFile) String ¶ added in v0.4.23
func (a AssetsImportFile) String() string
String implements the fmt.Stringer interface for AssetsImportFile, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AssetsImportFile) UnmarshalJSON ¶
func (a *AssetsImportFile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AssetsImportFile. It customizes the JSON unmarshaling process for AssetsImportFile objects.
type AuditLog ¶
type AuditLog struct {
// ID of the administrator
AdminId uuid.UUID `json:"admin_id"`
AdminName string `json:"admin_name"`
// Field values after the change
After *interface{} `json:"after,omitempty"`
// Field values prior to the change
Before *interface{} `json:"before,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
Message string `json:"message"`
OrgId uuid.UUID `json:"org_id"`
SiteId uuid.UUID `json:"site_id"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AuditLog represents a AuditLog struct.
func (AuditLog) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for AuditLog. It customizes the JSON marshaling process for AuditLog objects.
func (AuditLog) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for AuditLog, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AuditLog) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for AuditLog. It customizes the JSON unmarshaling process for AuditLog objects.
type AutoOrient ¶
type AutoOrient struct {
// Set to `true` to perform an invalid AP check and provide an estimated run time without enqueuing the run into the auto orient service.
Dryrun *bool `json:"dryrun,omitempty"`
// If `force_collection`==`false`, the API attempts to start auto orientation with existing BLE data.
// If `force_collection`==`true`, the API attempts to start BLE orchestration.
ForceCollection *bool `json:"force_collection,omitempty"`
// List of device macs
Macs []string `json:"macs,omitempty"`
// Set to `true` to run auto orient even if there are invalid APs in the selected APs.
Override *bool `json:"override,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AutoOrient represents a AutoOrient struct.
func (AutoOrient) MarshalJSON ¶
func (a AutoOrient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AutoOrient. It customizes the JSON marshaling process for AutoOrient objects.
func (AutoOrient) String ¶ added in v0.4.23
func (a AutoOrient) String() string
String implements the fmt.Stringer interface for AutoOrient, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AutoOrient) UnmarshalJSON ¶
func (a *AutoOrient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AutoOrient. It customizes the JSON unmarshaling process for AutoOrient objects.
type AutoPlacement ¶
type AutoPlacement struct {
// Set to `true` to perform an invalid AP check and provide an estimated run time without enqueuing the run into the auto placement service.
Dryrun *bool `json:"dryrun,omitempty"`
// * If `force_collection`==`false`: the API attempts to start localization with existing data.
// * If `force_collection`==`true`: maintenance the API attempts to start orchestration.
ForceCollection *bool `json:"force_collection,omitempty"`
// List of device macs
Macs []string `json:"macs,omitempty"`
// Set to `true` to run auto placement even if there are invalid APs in the selected APs.
Override *bool `json:"override,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AutoPlacement represents a AutoPlacement struct.
func (AutoPlacement) MarshalJSON ¶
func (a AutoPlacement) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AutoPlacement. It customizes the JSON marshaling process for AutoPlacement objects.
func (AutoPlacement) String ¶ added in v0.4.23
func (a AutoPlacement) String() string
String implements the fmt.Stringer interface for AutoPlacement, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AutoPlacement) UnmarshalJSON ¶
func (a *AutoPlacement) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AutoPlacement. It customizes the JSON unmarshaling process for AutoPlacement objects.
type AutoPlacementInfoStatusEnum ¶
type AutoPlacementInfoStatusEnum string
AutoPlacementInfoStatusEnum is a string enum. the status of autoplacement for a given map. enum: `done`, `error`, `inprogress`, `pending`
const ( AutoPlacementInfoStatusEnum_DONE AutoPlacementInfoStatusEnum = "done" AutoPlacementInfoStatusEnum_ENUMERROR AutoPlacementInfoStatusEnum = "error" AutoPlacementInfoStatusEnum_INPROGRESS AutoPlacementInfoStatusEnum = "inprogress" AutoPlacementInfoStatusEnum_PENDING AutoPlacementInfoStatusEnum = "pending" )
type AutoPreemption ¶
type AutoPreemption struct {
// enum: `any`, `fri`, `mon`, `sat`, `sun`, `thu`, `tue`, `wed`
DayOfWeek *DayOfWeekEnum `json:"day_of_week,omitempty"`
// Whether auto preemption should happen
Enabled *bool `json:"enabled,omitempty"`
// `any` / HH:MM (24-hour format)
TimeOfDay *string `json:"time_of_day,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AutoPreemption represents a AutoPreemption struct. Schedule to preempt ap’s which are not connected to preferred peer
func (AutoPreemption) MarshalJSON ¶
func (a AutoPreemption) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AutoPreemption. It customizes the JSON marshaling process for AutoPreemption objects.
func (AutoPreemption) String ¶ added in v0.4.23
func (a AutoPreemption) String() string
String implements the fmt.Stringer interface for AutoPreemption, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AutoPreemption) UnmarshalJSON ¶
func (a *AutoPreemption) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AutoPreemption. It customizes the JSON unmarshaling process for AutoPreemption objects.
type Avprofile ¶ added in v0.2.38
type Avprofile struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// enum: `block`, `log-and-permit`, `permit`
FallbackAction *AvprofileFallbackActionEnum `json:"fallback_action,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// In KB
MaxFilesize *int `json:"max_filesize,omitempty"`
MimeWhitelist []string `json:"mime_whitelist,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name string `json:"name"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// List of protocols to monitor. enum: `ftp`, `http`, `imap`, `pop3`, `smtp`
Protocols []AvprofileProtocolEnum `json:"protocols,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
UrlWhitelist []string `json:"url_whitelist,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Avprofile represents a Avprofile struct.
func (Avprofile) MarshalJSON ¶ added in v0.2.38
MarshalJSON implements the json.Marshaler interface for Avprofile. It customizes the JSON marshaling process for Avprofile objects.
func (Avprofile) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Avprofile, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Avprofile) UnmarshalJSON ¶ added in v0.2.38
UnmarshalJSON implements the json.Unmarshaler interface for Avprofile. It customizes the JSON unmarshaling process for Avprofile objects.
type AvprofileFallbackActionEnum ¶ added in v0.2.38
type AvprofileFallbackActionEnum string
AvprofileFallbackActionEnum is a string enum. enum: `block`, `log-and-permit`, `permit`
const ( AvprofileFallbackActionEnum_BLOCK AvprofileFallbackActionEnum = "block" AvprofileFallbackActionEnum_LOGANDPERMIT AvprofileFallbackActionEnum = "log-and-permit" AvprofileFallbackActionEnum_PERMIT AvprofileFallbackActionEnum = "permit" )
type AvprofileProtocolEnum ¶ added in v0.4.70
type AvprofileProtocolEnum string
AvprofileProtocolEnum is a string enum.
const ( AvprofileProtocolEnum_FTP AvprofileProtocolEnum = "ftp" AvprofileProtocolEnum_HTTP AvprofileProtocolEnum = "http" AvprofileProtocolEnum_IMAP AvprofileProtocolEnum = "imap" AvprofileProtocolEnum_POP3 AvprofileProtocolEnum = "pop3" AvprofileProtocolEnum_SMTP AvprofileProtocolEnum = "smtp" )
type Beacon ¶
type Beacon struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// Eddystone-UID instance (6 bytes) in hexstring format
EddystoneInstance *string `json:"eddystone_instance,omitempty"`
// Eddystone-UID namespace (10 bytes) in hexstring format
EddystoneNamespace *string `json:"eddystone_namespace,omitempty"`
// Eddystone-URL url
EddystoneUrl *string `json:"eddystone_url,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// Major number for iBeacon
IbeaconMajor Optional[int] `json:"ibeacon_major"`
// Minor number for iBeacon
IbeaconMinor Optional[int] `json:"ibeacon_minor"`
IbeaconUuid Optional[uuid.UUID] `json:"ibeacon_uuid"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// Optional, MAC of the beacon, currently used only to identify battery voltage
Mac *string `json:"mac,omitempty"`
// Map where the device belongs to
MapId *uuid.UUID `json:"map_id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
// Name / label of the device
Name *string `json:"name,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// In dBm
Power *int `json:"power,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// enum: `eddystone-uid`, `eddystone-url`, `ibeacon`
Type *BeaconTypeEnum `json:"type,omitempty"`
// X in pixel
X *float64 `json:"x,omitempty"`
// Y in pixel
Y *float64 `json:"y,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Beacon represents a Beacon struct. Beacon
func (Beacon) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Beacon. It customizes the JSON marshaling process for Beacon objects.
func (Beacon) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Beacon, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Beacon) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Beacon. It customizes the JSON unmarshaling process for Beacon objects.
type BeaconTypeEnum ¶
type BeaconTypeEnum string
BeaconTypeEnum is a string enum. enum: `eddystone-uid`, `eddystone-url`, `ibeacon`
const ( BeaconTypeEnum_EDDYSTONEUID BeaconTypeEnum = "eddystone-uid" BeaconTypeEnum_EDDYSTONEURL BeaconTypeEnum = "eddystone-url" BeaconTypeEnum_IBEACON BeaconTypeEnum = "ibeacon" )
type BgpAs ¶ added in v0.4.67
type BgpAs struct {
// contains filtered or unexported fields
}
BgpAs represents a BgpAs struct. BGP AS, value in range 1-4294967294. Can be a Variable (e.g. `{{bgp_as}}` )
func (BgpAs) MarshalJSON ¶ added in v0.4.67
MarshalJSON implements the json.Marshaler interface for BgpAs. It customizes the JSON marshaling process for BgpAs objects.
func (BgpAs) String ¶ added in v0.4.67
String implements the fmt.Stringer interface for BgpAs, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*BgpAs) UnmarshalJSON ¶ added in v0.4.67
UnmarshalJSON implements the json.Unmarshaler interface for BgpAs. It customizes the JSON unmarshaling process for BgpAs objects.
type BgpConfig ¶
type BgpConfig struct {
// Optional if `via`==`lan`, `via`==`tunnel` or `via`==`wan`
AuthKey *string `json:"auth_key,omitempty"`
// Optional if `via`==`lan`, `via`==`tunnel` or `via`==`wan`, when bfd_multiplier is configured alone. Default:
// * 1000 if `type`==`external`
// * 350 `type`==`internal`
BfdMinimumInterval Optional[int] `json:"bfd_minimum_interval"`
// Optional if `via`==`lan`, `via`==`tunnel` or `via`==`wan`, when bfd_minimum_interval_is_configured alone
BfdMultiplier Optional[int] `json:"bfd_multiplier"`
// Optional if `via`==`lan`, `via`==`tunnel` or `via`==`wan`. BFD provides faster path failure detection and is enabled by default
DisableBfd *bool `json:"disable_bfd,omitempty"`
Export *string `json:"export,omitempty"`
// Default export policies if no per-neighbor policies defined
ExportPolicy *string `json:"export_policy,omitempty"`
// Optional if `via`==`lan`, `via`==`tunnel` or `via`==`wan`. By default, either inet/net6 unicast depending on neighbor IP family (v4 or v6). For v6 neighbors, to exchange v4 nexthop, which allows dual-stack support, enable this
ExtendedV4Nexthop *bool `json:"extended_v4_nexthop,omitempty"`
// Optional if `via`==`lan`, `via`==`tunnel` or `via`==`wan`. `0` means disable
GracefulRestartTime *int `json:"graceful_restart_time,omitempty"`
// Optional if `via`==`lan`, `via`==`tunnel` or `via`==`wan`. Default is 90.
HoldTime *int `json:"hold_time,omitempty"`
Import *string `json:"import,omitempty"`
// Optional if `via`==`lan`, `via`==`tunnel` or `via`==`wan`. Default import policies if no per-neighbor policies defined
ImportPolicy *string `json:"import_policy,omitempty"`
// Required if `via`==`lan`, `via`==`tunnel` or `via`==`wan`. BGP AS, value in range 1-4294967295
LocalAs *BgpLocalAs `json:"local_as,omitempty"`
// BGP AS, value in range 1-4294967294. Can be a Variable (e.g. `{{bgp_as}}` )
NeighborAs *BgpAs `json:"neighbor_as,omitempty"`
// Required if `via`==`lan`, `via`==`tunnel` or `via`==`wan`. If per-neighbor as is desired. Property key is the neighbor address
Neighbors map[string]BgpConfigNeighbors `json:"neighbors,omitempty"`
// Optional if `via`==`lan`. List of networks where we expect BGP neighbor to connect to/from
Networks []string `json:"networks,omitempty"`
// Optional if `via`==`lan`, `via`==`tunnel` or `via`==`wan`. If true, we will not advertise private ASNs (AS 64512-65534) to this neighbor
NoPrivateAs *bool `json:"no_private_as,omitempty"`
// Optional if `via`==`lan`, `via`==`tunnel` or `via`==`wan`. By default, we'll re-advertise all learned BGP routers toward overlay
NoReadvertiseToOverlay *bool `json:"no_readvertise_to_overlay,omitempty"`
// Optional if `via`==`tunnel`
TunnelName *string `json:"tunnel_name,omitempty"`
// Required if `via`==`lan`, `via`==`tunnel` or `via`==`wan`. enum: `external`, `internal`
Type *BgpConfigTypeEnum `json:"type,omitempty"`
// enum: `lan`, `tunnel`, `vpn`, `wan`
Via BgpConfigViaEnum `json:"via"`
// Optional if `via`==`vpn`
VpnName *string `json:"vpn_name,omitempty"`
// Optional if `via`==`wan`
WanName *string `json:"wan_name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
BgpConfig represents a BgpConfig struct. BFD is enabled when either bfd_minimum_interval or bfd_multiplier is configured
func (BgpConfig) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for BgpConfig. It customizes the JSON marshaling process for BgpConfig objects.
func (BgpConfig) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for BgpConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*BgpConfig) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for BgpConfig. It customizes the JSON unmarshaling process for BgpConfig objects.
type BgpConfigNeighbors ¶
type BgpConfigNeighbors struct {
// If true, the BGP session to this neighbor will be administratively disabled/shutdown
Disabled *bool `json:"disabled,omitempty"`
ExportPolicy *string `json:"export_policy,omitempty"`
HoldTime *int `json:"hold_time,omitempty"`
ImportPolicy *string `json:"import_policy,omitempty"`
// Assuming BGP neighbor is directly connected
MultihopTtl *int `json:"multihop_ttl,omitempty"`
// BGP AS, value in range 1-4294967294. Can be a Variable (e.g. `{{bgp_as}}` )
NeighborAs BgpAs `json:"neighbor_as"`
AdditionalProperties map[string]interface{} `json:"_"`
}
BgpConfigNeighbors represents a BgpConfigNeighbors struct.
func (BgpConfigNeighbors) MarshalJSON ¶
func (b BgpConfigNeighbors) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for BgpConfigNeighbors. It customizes the JSON marshaling process for BgpConfigNeighbors objects.
func (BgpConfigNeighbors) String ¶ added in v0.4.23
func (b BgpConfigNeighbors) String() string
String implements the fmt.Stringer interface for BgpConfigNeighbors, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*BgpConfigNeighbors) UnmarshalJSON ¶
func (b *BgpConfigNeighbors) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for BgpConfigNeighbors. It customizes the JSON unmarshaling process for BgpConfigNeighbors objects.
type BgpConfigTypeEnum ¶
type BgpConfigTypeEnum string
BgpConfigTypeEnum is a string enum. Required if `via`==`lan`, `via`==`tunnel` or `via`==`wan`. enum: `external`, `internal`
const ( BgpConfigTypeEnum_EXTERNAL BgpConfigTypeEnum = "external" BgpConfigTypeEnum_INTERNAL BgpConfigTypeEnum = "internal" )
type BgpConfigViaEnum ¶
type BgpConfigViaEnum string
BgpConfigViaEnum is a string enum. enum: `lan`, `tunnel`, `vpn`, `wan`
const ( BgpConfigViaEnum_LAN BgpConfigViaEnum = "lan" BgpConfigViaEnum_TUNNEL BgpConfigViaEnum = "tunnel" BgpConfigViaEnum_VPN BgpConfigViaEnum = "vpn" BgpConfigViaEnum_WAN BgpConfigViaEnum = "wan" )
type BgpLocalAs ¶ added in v0.4.79
type BgpLocalAs struct {
// contains filtered or unexported fields
}
BgpLocalAs represents a BgpLocalAs struct. Required if `via`==`lan`, `via`==`tunnel` or `via`==`wan`. BGP AS, value in range 1-4294967295
func (*BgpLocalAs) AsNumber ¶ added in v0.4.79
func (b *BgpLocalAs) AsNumber() ( *int, bool)
func (*BgpLocalAs) AsString ¶ added in v0.4.79
func (b *BgpLocalAs) AsString() ( *string, bool)
func (BgpLocalAs) MarshalJSON ¶ added in v0.4.79
func (b BgpLocalAs) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for BgpLocalAs. It customizes the JSON marshaling process for BgpLocalAs objects.
func (BgpLocalAs) String ¶ added in v0.4.79
func (b BgpLocalAs) String() string
String implements the fmt.Stringer interface for BgpLocalAs, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*BgpLocalAs) UnmarshalJSON ¶ added in v0.4.79
func (b *BgpLocalAs) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for BgpLocalAs. It customizes the JSON unmarshaling process for BgpLocalAs objects.
type BgpPeer ¶ added in v0.4.62
type BgpPeer struct {
// If this is created for evpn overlay
EvpnOverlay *bool `json:"evpn_overlay,omitempty"`
// If this is created for overlay
ForOverlay *bool `json:"for_overlay,omitempty"`
// BGP AS, value in range 1-4294967294. Can be a Variable (e.g. `{{bgp_as}}` )
LocalAs *BgpAs `json:"local_as,omitempty"`
Neighbor *string `json:"neighbor,omitempty"`
// BGP AS, value in range 1-4294967294. Can be a Variable (e.g. `{{bgp_as}}` )
NeighborAs *BgpAs `json:"neighbor_as,omitempty"`
// If it's another device in the same org
NeighborMac *string `json:"neighbor_mac,omitempty"`
// Node0/node1
Node *string `json:"node,omitempty"`
// Amount of packets received since connection
RxPkts Optional[int64] `json:"rx_pkts"`
// Number of received routes
RxRoutes *int `json:"rx_routes,omitempty"`
// enum: `active`, `connect`, `established`, `idle`, `open_config`, `open_sent`
State *BgpStatsStateEnum `json:"state,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
// Amount of packets sent since connection
TxPkts Optional[int64] `json:"tx_pkts"`
TxRoutes *int `json:"tx_routes,omitempty"`
Up *bool `json:"up,omitempty"`
Uptime *int `json:"uptime,omitempty"`
VrfName *string `json:"vrf_name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
BgpPeer represents a BgpPeer struct. Only present when `bgp_peers` in `fields` query parameter
func (BgpPeer) MarshalJSON ¶ added in v0.4.62
MarshalJSON implements the json.Marshaler interface for BgpPeer. It customizes the JSON marshaling process for BgpPeer objects.
func (BgpPeer) String ¶ added in v0.4.62
String implements the fmt.Stringer interface for BgpPeer, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*BgpPeer) UnmarshalJSON ¶ added in v0.4.62
UnmarshalJSON implements the json.Unmarshaler interface for BgpPeer. It customizes the JSON unmarshaling process for BgpPeer objects.
type BgpStats ¶
type BgpStats struct {
// If this is created for evpn overlay
EvpnOverlay *bool `json:"evpn_overlay,omitempty"`
// If this is created for overlay
ForOverlay *bool `json:"for_overlay,omitempty"`
// BGP AS, value in range 1-4294967294. Can be a Variable (e.g. `{{bgp_as}}` )
LocalAs *BgpAs `json:"local_as,omitempty"`
// Router mac address
Mac *string `json:"mac,omitempty"`
Model *string `json:"model,omitempty"`
Neighbor *string `json:"neighbor,omitempty"`
// BGP AS, value in range 1-4294967294. Can be a Variable (e.g. `{{bgp_as}}` )
NeighborAs *BgpAs `json:"neighbor_as,omitempty"`
// If it's another device in the same org
NeighborMac *string `json:"neighbor_mac,omitempty"`
// Node0/node1
Node *string `json:"node,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Amount of packets received since connection
RxPkts Optional[int64] `json:"rx_pkts"`
// Number of received routes
RxRoutes *int `json:"rx_routes,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// enum: `active`, `connect`, `established`, `idle`, `open_config`, `open_sent`
State *BgpStatsStateEnum `json:"state,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
// Amount of packets sent since connection
TxPkts Optional[int64] `json:"tx_pkts"`
TxRoutes *int `json:"tx_routes,omitempty"`
Up *bool `json:"up,omitempty"`
Uptime *int `json:"uptime,omitempty"`
VrfName *string `json:"vrf_name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
BgpStats represents a BgpStats struct.
func (BgpStats) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for BgpStats. It customizes the JSON marshaling process for BgpStats objects.
func (BgpStats) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for BgpStats, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*BgpStats) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for BgpStats. It customizes the JSON unmarshaling process for BgpStats objects.
type BgpStatsStateEnum ¶
type BgpStatsStateEnum string
BgpStatsStateEnum is a string enum. enum: `active`, `connect`, `established`, `idle`, `open_config`, `open_sent`
const ( BgpStatsStateEnum_ACTIVE BgpStatsStateEnum = "active" BgpStatsStateEnum_CONNECT BgpStatsStateEnum = "connect" BgpStatsStateEnum_ESTABLISHED BgpStatsStateEnum = "established" BgpStatsStateEnum_IDLE BgpStatsStateEnum = "idle" BgpStatsStateEnum_OPENCONFIG BgpStatsStateEnum = "open_config" BgpStatsStateEnum_OPENSENT BgpStatsStateEnum = "open_sent" )
type BinaryStream ¶ added in v0.3.2
type BinaryStream struct {
// File to upload
File []byte `json:"file"`
AdditionalProperties map[string]interface{} `json:"_"`
}
BinaryStream represents a BinaryStream struct.
func (BinaryStream) MarshalJSON ¶ added in v0.3.2
func (b BinaryStream) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for BinaryStream. It customizes the JSON marshaling process for BinaryStream objects.
func (BinaryStream) String ¶ added in v0.4.23
func (b BinaryStream) String() string
String implements the fmt.Stringer interface for BinaryStream, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*BinaryStream) UnmarshalJSON ¶ added in v0.3.2
func (b *BinaryStream) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for BinaryStream. It customizes the JSON unmarshaling process for BinaryStream objects.
type BleConfig ¶
type BleConfig struct {
// Whether Mist beacons is enabled
BeaconEnabled *bool `json:"beacon_enabled,omitempty"`
// Required if `beacon_rate_mode`==`custom`, 1-10, in number-beacons-per-second
BeaconRate *int `json:"beacon_rate,omitempty"`
// enum: `custom`, `default`
BeaconRateMode *BleConfigBeaconRateModeEnum `json:"beacon_rate_mode,omitempty"`
// List of AP BLE location beam numbers (1-8) which should be disabled at the AP and not transmit location information (where beam 1 is oriented at the top the AP, growing counter-clock-wise, with 9 being the omni BLE beam)
BeamDisabled []int `json:"beam_disabled,omitempty"`
// Can be enabled if `beacon_enabled`==`true`, whether to send custom packet
CustomBlePacketEnabled *bool `json:"custom_ble_packet_enabled,omitempty"`
// The custom frame to be sent out in this beacon. The frame must be a hexstring
CustomBlePacketFrame *string `json:"custom_ble_packet_frame,omitempty"`
// Frequency (msec) of data emitted by custom ble beacon
CustomBlePacketFreqMsec *int `json:"custom_ble_packet_freq_msec,omitempty"`
// Advertised TX Power, -100 to 20 (dBm), omit this attribute to use default
EddystoneUidAdvPower *int `json:"eddystone_uid_adv_power,omitempty"`
EddystoneUidBeams *string `json:"eddystone_uid_beams,omitempty"`
// Only if `beacon_enabled`==`false`, Whether Eddystone-UID beacon is enabled
EddystoneUidEnabled *bool `json:"eddystone_uid_enabled,omitempty"`
// Frequency (msec) of data emit by Eddystone-UID beacon
EddystoneUidFreqMsec *int `json:"eddystone_uid_freq_msec,omitempty"`
// Eddystone-UID instance for the device
EddystoneUidInstance *string `json:"eddystone_uid_instance,omitempty"`
// Eddystone-UID namespace
EddystoneUidNamespace *string `json:"eddystone_uid_namespace,omitempty"`
// Advertised TX Power, -100 to 20 (dBm), omit this attribute to use default
EddystoneUrlAdvPower *int `json:"eddystone_url_adv_power,omitempty"`
EddystoneUrlBeams *string `json:"eddystone_url_beams,omitempty"`
// Only if `beacon_enabled`==`false`, Whether Eddystone-URL beacon is enabled
EddystoneUrlEnabled *bool `json:"eddystone_url_enabled,omitempty"`
// Frequency (msec) of data emit by Eddystone-UID beacon
EddystoneUrlFreqMsec *int `json:"eddystone_url_freq_msec,omitempty"`
// URL pointed by Eddystone-URL beacon
EddystoneUrlUrl *string `json:"eddystone_url_url,omitempty"`
// Advertised TX Power, -100 to 20 (dBm), omit this attribute to use default
IbeaconAdvPower *int `json:"ibeacon_adv_power,omitempty"`
IbeaconBeams *string `json:"ibeacon_beams,omitempty"`
// Can be enabled if `beacon_enabled`==`true`, whether to send iBeacon
IbeaconEnabled *bool `json:"ibeacon_enabled,omitempty"`
// Frequency (msec) of data emit for iBeacon
IbeaconFreqMsec *int `json:"ibeacon_freq_msec,omitempty"`
// Major number for iBeacon
IbeaconMajor Optional[int] `json:"ibeacon_major"`
// Minor number for iBeacon
IbeaconMinor Optional[int] `json:"ibeacon_minor"`
// Optional, if not specified, the same UUID as the beacon will be used
IbeaconUuid *uuid.UUID `json:"ibeacon_uuid,omitempty"`
// Required if `power_mode`==`custom`; else use `power_mode` as default
Power *int `json:"power,omitempty"`
// enum: `custom`, `default`
PowerMode *BleConfigPowerModeEnum `json:"power_mode,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
BleConfig represents a BleConfig struct. BLE AP settings
func (BleConfig) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for BleConfig. It customizes the JSON marshaling process for BleConfig objects.
func (BleConfig) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for BleConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*BleConfig) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for BleConfig. It customizes the JSON unmarshaling process for BleConfig objects.
type BleConfigBeaconRateModeEnum ¶
type BleConfigBeaconRateModeEnum string
BleConfigBeaconRateModeEnum is a string enum. enum: `custom`, `default`
const ( BleConfigBeaconRateModeEnum_CUSTOM BleConfigBeaconRateModeEnum = "custom" BleConfigBeaconRateModeEnum_ENUMDEFAULT BleConfigBeaconRateModeEnum = "default" )
type BleConfigPowerModeEnum ¶
type BleConfigPowerModeEnum string
BleConfigPowerModeEnum is a string enum. enum: `custom`, `default`
const ( BleConfigPowerModeEnum_CUSTOM BleConfigPowerModeEnum = "custom" BleConfigPowerModeEnum_ENUMDEFAULT BleConfigPowerModeEnum = "default" )
type CallTroubleshoot ¶
type CallTroubleshoot struct {
Mac *string `json:"mac,omitempty"`
MeetingId *uuid.UUID `json:"meeting_id,omitempty"`
Results []TroubleshootCallItem `json:"results,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CallTroubleshoot represents a CallTroubleshoot struct.
func (CallTroubleshoot) MarshalJSON ¶
func (c CallTroubleshoot) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CallTroubleshoot. It customizes the JSON marshaling process for CallTroubleshoot objects.
func (CallTroubleshoot) String ¶ added in v0.4.23
func (c CallTroubleshoot) String() string
String implements the fmt.Stringer interface for CallTroubleshoot, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CallTroubleshoot) UnmarshalJSON ¶
func (c *CallTroubleshoot) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CallTroubleshoot. It customizes the JSON unmarshaling process for CallTroubleshoot objects.
type CallTroubleshootData ¶
type CallTroubleshootData struct {
ApNumClients *float64 `json:"ap_num_clients,omitempty"`
ApRtt *float64 `json:"ap_rtt,omitempty"`
ClientCpu *float64 `json:"client_cpu,omitempty"`
ClientNStreams *float64 `json:"client_n_streams,omitempty"`
ClientRadioBand *float64 `json:"client_radio_band,omitempty"`
ClientRssi *float64 `json:"client_rssi,omitempty"`
ClientRxBytes *float64 `json:"client_rx_bytes,omitempty"`
ClientRxRates *float64 `json:"client_rx_rates,omitempty"`
ClientRxRetries *float64 `json:"client_rx_retries,omitempty"`
ClientTxBytes *float64 `json:"client_tx_bytes,omitempty"`
ClientTxRates *float64 `json:"client_tx_rates,omitempty"`
ClientTxRetries *float64 `json:"client_tx_retries,omitempty"`
ClientVpnDistance *float64 `json:"client_vpn_distance,omitempty"`
ClientWifiVersion *float64 `json:"client_wifi_version,omitempty"`
Expected *float64 `json:"expected,omitempty"`
RadioBandwidth *float64 `json:"radio_bandwidth,omitempty"`
RadioChannel *float64 `json:"radio_channel,omitempty"`
RadioTxPower *float64 `json:"radio_tx_power,omitempty"`
RadioUtil *float64 `json:"radio_util,omitempty"`
RadioUtilInterference *float64 `json:"radio_util_interference,omitempty"`
SiteNumClients *float64 `json:"site_num_clients,omitempty"`
WanAvgDownloadMbps *float64 `json:"wan_avg_download_mbps,omitempty"`
WanAvgUploadMbps *float64 `json:"wan_avg_upload_mbps,omitempty"`
WanJitter *float64 `json:"wan_jitter,omitempty"`
WanMaxDownloadMbps *float64 `json:"wan_max_download_mbps,omitempty"`
WanMaxUploadMbps *float64 `json:"wan_max_upload_mbps,omitempty"`
WanRtt *float64 `json:"wan_rtt,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CallTroubleshootData represents a CallTroubleshootData struct.
func (CallTroubleshootData) MarshalJSON ¶
func (c CallTroubleshootData) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CallTroubleshootData. It customizes the JSON marshaling process for CallTroubleshootData objects.
func (CallTroubleshootData) String ¶ added in v0.4.23
func (c CallTroubleshootData) String() string
String implements the fmt.Stringer interface for CallTroubleshootData, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CallTroubleshootData) UnmarshalJSON ¶
func (c *CallTroubleshootData) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CallTroubleshootData. It customizes the JSON unmarshaling process for CallTroubleshootData objects.
type CallTroubleshootSummary ¶
type CallTroubleshootSummary struct {
ApNumClients *float64 `json:"ap_num_clients,omitempty"`
ApRtt *float64 `json:"ap_rtt,omitempty"`
AudioIn *CallTroubleshootSummaryData `json:"audio_in,omitempty"`
AudioOut *CallTroubleshootSummaryData `json:"audio_out,omitempty"`
ClientCpu *float64 `json:"client_cpu,omitempty"`
ClientNStreams *float64 `json:"client_n_streams,omitempty"`
ClientRadioBand *float64 `json:"client_radio_band,omitempty"`
ClientRssi *float64 `json:"client_rssi,omitempty"`
ClientRxBytes *float64 `json:"client_rx_bytes,omitempty"`
ClientRxRates *float64 `json:"client_rx_rates,omitempty"`
ClientRxRetries *float64 `json:"client_rx_retries,omitempty"`
ClientTxBytes *float64 `json:"client_tx_bytes,omitempty"`
ClientTxRates *float64 `json:"client_tx_rates,omitempty"`
ClientTxRetries *float64 `json:"client_tx_retries,omitempty"`
ClientVpnDistance *float64 `json:"client_vpn_distance,omitempty"`
ClientWifiVersion *float64 `json:"client_wifi_version,omitempty"`
Expected *float64 `json:"expected,omitempty"`
RadioApChange *float64 `json:"radio_ap_change,omitempty"`
RadioBandwidth *float64 `json:"radio_bandwidth,omitempty"`
RadioChannel *float64 `json:"radio_channel,omitempty"`
RadioRxFailed *float64 `json:"radio_rx_failed,omitempty"`
RadioTxPower *float64 `json:"radio_tx_power,omitempty"`
RadioUtil *float64 `json:"radio_util,omitempty"`
RadioUtilInterference *float64 `json:"radio_util_interference,omitempty"`
SiteNumClients *float64 `json:"site_num_clients,omitempty"`
SiteWanAvgDownloadMbps *float64 `json:"site_wan_avg_download_mbps,omitempty"`
SiteWanAvgUploadMbps *float64 `json:"site_wan_avg_upload_mbps,omitempty"`
SiteWanDownloadMbps *float64 `json:"site_wan_download_mbps,omitempty"`
SiteWanJitter *float64 `json:"site_wan_jitter,omitempty"`
SiteWanRtt *float64 `json:"site_wan_rtt,omitempty"`
SiteWanUploadMbps *float64 `json:"site_wan_upload_mbps,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
VideoIn *CallTroubleshootSummaryData `json:"video_in,omitempty"`
VideoOut *CallTroubleshootSummaryData `json:"video_out,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CallTroubleshootSummary represents a CallTroubleshootSummary struct.
func (CallTroubleshootSummary) MarshalJSON ¶
func (c CallTroubleshootSummary) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CallTroubleshootSummary. It customizes the JSON marshaling process for CallTroubleshootSummary objects.
func (CallTroubleshootSummary) String ¶ added in v0.4.23
func (c CallTroubleshootSummary) String() string
String implements the fmt.Stringer interface for CallTroubleshootSummary, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CallTroubleshootSummary) UnmarshalJSON ¶
func (c *CallTroubleshootSummary) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CallTroubleshootSummary. It customizes the JSON unmarshaling process for CallTroubleshootSummary objects.
type CallTroubleshootSummaryData ¶
type CallTroubleshootSummaryData struct {
ApNumClients *float64 `json:"ap_num_clients,omitempty"`
ApRtt *float64 `json:"ap_rtt,omitempty"`
ClientCpu *float64 `json:"client_cpu,omitempty"`
ClientNStreams *float64 `json:"client_n_streams,omitempty"`
ClientRadioBand *float64 `json:"client_radio_band,omitempty"`
ClientRssi *float64 `json:"client_rssi,omitempty"`
ClientRxBytes *float64 `json:"client_rx_bytes,omitempty"`
ClientRxRates *float64 `json:"client_rx_rates,omitempty"`
ClientTxBytes *float64 `json:"client_tx_bytes,omitempty"`
ClientTxRates *float64 `json:"client_tx_rates,omitempty"`
ClientTxRetries *float64 `json:"client_tx_retries,omitempty"`
ClientVpnDistance *float64 `json:"client_vpn_distance,omitempty"`
ClientWifiVersion *float64 `json:"client_wifi_version,omitempty"`
Expected *float64 `json:"expected,omitempty"`
RadioBandwidth *float64 `json:"radio_bandwidth,omitempty"`
RadioChannel *float64 `json:"radio_channel,omitempty"`
RadioTxPower *float64 `json:"radio_tx_power,omitempty"`
RadioUtil *float64 `json:"radio_util,omitempty"`
RadioUtilInterference *float64 `json:"radio_util_interference,omitempty"`
SiteNumClients *float64 `json:"site_num_clients,omitempty"`
SiteWanAvgDownloadMbps *float64 `json:"site_wan_avg_download_mbps,omitempty"`
SiteWanAvgUploadMbps *float64 `json:"site_wan_avg_upload_mbps,omitempty"`
SiteWanDownloadMbps *float64 `json:"site_wan_download_mbps,omitempty"`
SiteWanJitter *float64 `json:"site_wan_jitter,omitempty"`
SiteWanRtt *float64 `json:"site_wan_rtt,omitempty"`
SiteWanUploadMbps *float64 `json:"site_wan_upload_mbps,omitempty"`
WanAvgDownloadMbps *float64 `json:"wan_avg_download_mbps,omitempty"`
WanAvgUploadMbps *float64 `json:"wan_avg_upload_mbps,omitempty"`
WanJitter *float64 `json:"wan_jitter,omitempty"`
WanMaxDownloadMbps *float64 `json:"wan_max_download_mbps,omitempty"`
WanMaxUploadMbps *float64 `json:"wan_max_upload_mbps,omitempty"`
WanRtt *float64 `json:"wan_rtt,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CallTroubleshootSummaryData represents a CallTroubleshootSummaryData struct.
func (CallTroubleshootSummaryData) MarshalJSON ¶
func (c CallTroubleshootSummaryData) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CallTroubleshootSummaryData. It customizes the JSON marshaling process for CallTroubleshootSummaryData objects.
func (CallTroubleshootSummaryData) String ¶ added in v0.4.23
func (c CallTroubleshootSummaryData) String() string
String implements the fmt.Stringer interface for CallTroubleshootSummaryData, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CallTroubleshootSummaryData) UnmarshalJSON ¶
func (c *CallTroubleshootSummaryData) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CallTroubleshootSummaryData. It customizes the JSON unmarshaling process for CallTroubleshootSummaryData objects.
type CaptureClient ¶
type CaptureClient struct {
ApMac Optional[string] `json:"ap_mac"`
// Client mac, required if `type`==`client`; optional otherwise
ClientMac Optional[string] `json:"client_mac"`
// Duration of the capture, in seconds
Duration Optional[int] `json:"duration"`
IncludesMcast *bool `json:"includes_mcast,omitempty"`
MaxPktLen Optional[int] `json:"max_pkt_len"`
// number of packets to capture, 0 for unlimited, default is 1024, maximum is 10000
NumPackets Optional[int] `json:"num_packets"`
// Optional filter by ssid
Ssid Optional[string] `json:"ssid"`
// enum: `client`
Type string `json:"type"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CaptureClient represents a CaptureClient struct. Initiate a Client Packet Capture
func (CaptureClient) MarshalJSON ¶
func (c CaptureClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureClient. It customizes the JSON marshaling process for CaptureClient objects.
func (CaptureClient) String ¶ added in v0.4.23
func (c CaptureClient) String() string
String implements the fmt.Stringer interface for CaptureClient, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CaptureClient) UnmarshalJSON ¶
func (c *CaptureClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureClient. It customizes the JSON unmarshaling process for CaptureClient objects.
type CaptureClientTypeEnum ¶ added in v0.2.38
type CaptureClientTypeEnum string
CaptureClientTypeEnum is a string enum. enum: `client`
const (
CaptureClientTypeEnum_CLIENT CaptureClientTypeEnum = "client"
)
type CaptureGateway ¶
type CaptureGateway struct {
// Duration of the capture, in seconds
Duration Optional[int] `json:"duration"`
// enum: `stream`
Format *CaptureGatewayFormatEnum `json:"format,omitempty"`
// List of SSRs. Property key is the SSR MAC
Gateways map[string]CaptureGatewayGateways `json:"gateways"`
// minimum is 64 (SSR) / 68 (SRX) maximum is 10240 (SSR) / 1520 (SRX)
MaxPktLen Optional[int] `json:"max_pkt_len"`
// number of packets to capture, 0 for unlimited, default is 1024, maximum is 10000
NumPackets Optional[int] `json:"num_packets"`
// Property key is the port ID
Ports map[string]CaptureGatewayGatewaysPort `json:"ports,omitempty"`
// enum: `gateway`
Type string `json:"type"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CaptureGateway represents a CaptureGateway struct. Initiate a Gateway (SSR/SRX) Packet Capture
func (CaptureGateway) MarshalJSON ¶
func (c CaptureGateway) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureGateway. It customizes the JSON marshaling process for CaptureGateway objects.
func (CaptureGateway) String ¶ added in v0.4.23
func (c CaptureGateway) String() string
String implements the fmt.Stringer interface for CaptureGateway, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CaptureGateway) UnmarshalJSON ¶
func (c *CaptureGateway) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureGateway. It customizes the JSON unmarshaling process for CaptureGateway objects.
type CaptureGatewayFormatEnum ¶
type CaptureGatewayFormatEnum string
CaptureGatewayFormatEnum is a string enum. enum: `stream`
const (
CaptureGatewayFormatEnum_STREAM CaptureGatewayFormatEnum = "stream"
)
type CaptureGatewayGateways ¶
type CaptureGatewayGateways struct {
// Property key is the port ID
Ports map[string]CaptureGatewayGatewaysPort `json:"ports,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CaptureGatewayGateways represents a CaptureGatewayGateways struct.
func (CaptureGatewayGateways) MarshalJSON ¶
func (c CaptureGatewayGateways) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureGatewayGateways. It customizes the JSON marshaling process for CaptureGatewayGateways objects.
func (CaptureGatewayGateways) String ¶ added in v0.4.23
func (c CaptureGatewayGateways) String() string
String implements the fmt.Stringer interface for CaptureGatewayGateways, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CaptureGatewayGateways) UnmarshalJSON ¶
func (c *CaptureGatewayGateways) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureGatewayGateways. It customizes the JSON unmarshaling process for CaptureGatewayGateways objects.
type CaptureGatewayGatewaysPort ¶
type CaptureGatewayGatewaysPort struct {
// tcpdump expression per port
TcpdumpExpression *string `json:"tcpdump_expression,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CaptureGatewayGatewaysPort represents a CaptureGatewayGatewaysPort struct.
func (CaptureGatewayGatewaysPort) MarshalJSON ¶
func (c CaptureGatewayGatewaysPort) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureGatewayGatewaysPort. It customizes the JSON marshaling process for CaptureGatewayGatewaysPort objects.
func (CaptureGatewayGatewaysPort) String ¶ added in v0.4.23
func (c CaptureGatewayGatewaysPort) String() string
String implements the fmt.Stringer interface for CaptureGatewayGatewaysPort, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CaptureGatewayGatewaysPort) UnmarshalJSON ¶
func (c *CaptureGatewayGatewaysPort) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureGatewayGatewaysPort. It customizes the JSON unmarshaling process for CaptureGatewayGatewaysPort objects.
type CaptureGatewayTypeEnum ¶ added in v0.2.38
type CaptureGatewayTypeEnum string
CaptureGatewayTypeEnum is a string enum. enum: `gateway`
const (
CaptureGatewayTypeEnum_GATEWAY CaptureGatewayTypeEnum = "gateway"
)
type CaptureMxedge ¶
type CaptureMxedge struct {
// Duration of the capture, in seconds
Duration *int `json:"duration,omitempty"`
// PCAP format. enum:
// * `stream`: to Mist cloud
// * `tzsp`: stream packets (over UDP as TZSP packets) to a remote host (typically running Wireshark)
Format *CaptureMxedgeFormatEnum `json:"format,omitempty"`
// Max_len of each packet to capture
MaxPktLen *int `json:"max_pkt_len,omitempty"`
Mxedges map[string]CaptureMxedgeMxedges `json:"mxedges,omitempty"`
// Number of packets to capture, 0 for unlimited
NumPackets *int `json:"num_packets,omitempty"`
// enum: `mxedge`
Type string `json:"type"`
// Required if `format`==`tzsp`. Remote host accessible to mxedges over the network for receiving the captured packets.
TzspHost *string `json:"tzsp_host,omitempty"`
// If `format`==`tzsp`. Port on remote host for receiving the captured packets
TzspPort *int `json:"tzsp_port,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CaptureMxedge represents a CaptureMxedge struct. Initiate a Wireless Packet Capture
func (CaptureMxedge) MarshalJSON ¶
func (c CaptureMxedge) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureMxedge. It customizes the JSON marshaling process for CaptureMxedge objects.
func (CaptureMxedge) String ¶ added in v0.4.23
func (c CaptureMxedge) String() string
String implements the fmt.Stringer interface for CaptureMxedge, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CaptureMxedge) UnmarshalJSON ¶
func (c *CaptureMxedge) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureMxedge. It customizes the JSON unmarshaling process for CaptureMxedge objects.
type CaptureMxedgeFormatEnum ¶
type CaptureMxedgeFormatEnum string
CaptureMxedgeFormatEnum is a string enum. PCAP format. enum: * `stream`: to Mist cloud * `tzsp`: stream packets (over UDP as TZSP packets) to a remote host (typically running Wireshark)
const ( CaptureMxedgeFormatEnum_STREAM CaptureMxedgeFormatEnum = "stream" CaptureMxedgeFormatEnum_TZSP CaptureMxedgeFormatEnum = "tzsp" )
type CaptureMxedgeMxedges ¶
type CaptureMxedgeMxedges struct {
Interfaces map[string]CaptureMxedgeMxedgesInterfaces `json:"interfaces,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CaptureMxedgeMxedges represents a CaptureMxedgeMxedges struct. Property key is the Mx Edge ID, currently limited to one mxedge per org capture session
func (CaptureMxedgeMxedges) MarshalJSON ¶
func (c CaptureMxedgeMxedges) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureMxedgeMxedges. It customizes the JSON marshaling process for CaptureMxedgeMxedges objects.
func (CaptureMxedgeMxedges) String ¶ added in v0.4.23
func (c CaptureMxedgeMxedges) String() string
String implements the fmt.Stringer interface for CaptureMxedgeMxedges, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CaptureMxedgeMxedges) UnmarshalJSON ¶
func (c *CaptureMxedgeMxedges) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureMxedgeMxedges. It customizes the JSON unmarshaling process for CaptureMxedgeMxedges objects.
type CaptureMxedgeMxedgesInterfaces ¶
type CaptureMxedgeMxedgesInterfaces struct {
// tcpdump expression common for wired,radiotap
TcpdumpExpression *string `json:"tcpdump_expression,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CaptureMxedgeMxedgesInterfaces represents a CaptureMxedgeMxedgesInterfaces struct. Property key is the Port name (e.g. "port1", "kni0", "lacp0", "ipsec", "drop", "oobm"), currently limited to specifying one interface per mxedge
func (CaptureMxedgeMxedgesInterfaces) MarshalJSON ¶
func (c CaptureMxedgeMxedgesInterfaces) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureMxedgeMxedgesInterfaces. It customizes the JSON marshaling process for CaptureMxedgeMxedgesInterfaces objects.
func (CaptureMxedgeMxedgesInterfaces) String ¶ added in v0.4.23
func (c CaptureMxedgeMxedgesInterfaces) String() string
String implements the fmt.Stringer interface for CaptureMxedgeMxedgesInterfaces, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CaptureMxedgeMxedgesInterfaces) UnmarshalJSON ¶
func (c *CaptureMxedgeMxedgesInterfaces) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureMxedgeMxedgesInterfaces. It customizes the JSON unmarshaling process for CaptureMxedgeMxedgesInterfaces objects.
type CaptureMxedgeTypeEnum ¶ added in v0.2.38
type CaptureMxedgeTypeEnum string
CaptureMxedgeTypeEnum is a string enum. enum: `mxedge`
const (
CaptureMxedgeTypeEnum_MXEDGE CaptureMxedgeTypeEnum = "mxedge"
)
type CaptureNewAssoc ¶
type CaptureNewAssoc struct {
ApMac *string `json:"ap_mac,omitempty"`
// Client mac, required if `type`==`client`; optional otherwise
ClientMac *string `json:"client_mac,omitempty"`
// Duration of the capture, in seconds
Duration Optional[int] `json:"duration"`
IncludesMcast *bool `json:"includes_mcast,omitempty"`
MaxPktLen Optional[int] `json:"max_pkt_len"`
// number of packets to capture, 0 for unlimited, default is 1024, maximum is 10000
NumPackets Optional[int] `json:"num_packets"`
// Optional filter by ssid
Ssid *string `json:"ssid,omitempty"`
// enum: `new_assoc`
Type string `json:"type"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CaptureNewAssoc represents a CaptureNewAssoc struct. Initiate a packet Capture for New Wireless Client Associations
func (CaptureNewAssoc) MarshalJSON ¶
func (c CaptureNewAssoc) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureNewAssoc. It customizes the JSON marshaling process for CaptureNewAssoc objects.
func (CaptureNewAssoc) String ¶ added in v0.4.23
func (c CaptureNewAssoc) String() string
String implements the fmt.Stringer interface for CaptureNewAssoc, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CaptureNewAssoc) UnmarshalJSON ¶
func (c *CaptureNewAssoc) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureNewAssoc. It customizes the JSON unmarshaling process for CaptureNewAssoc objects.
type CaptureNewAssocTypeEnum ¶ added in v0.2.38
type CaptureNewAssocTypeEnum string
CaptureNewAssocTypeEnum is a string enum. enum: `new_assoc`
const (
CaptureNewAssocTypeEnum_NEWASSOC CaptureNewAssocTypeEnum = "new_assoc"
)
type CaptureOrg ¶
type CaptureOrg struct {
// contains filtered or unexported fields
}
CaptureOrg represents a CaptureOrg struct.
func (*CaptureOrg) AsCaptureMxedge ¶
func (c *CaptureOrg) AsCaptureMxedge() ( *CaptureMxedge, bool)
func (CaptureOrg) MarshalJSON ¶
func (c CaptureOrg) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureOrg. It customizes the JSON marshaling process for CaptureOrg objects.
func (CaptureOrg) String ¶
func (c CaptureOrg) String() string
String implements the fmt.Stringer interface for CaptureOrg, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CaptureOrg) UnmarshalJSON ¶
func (c *CaptureOrg) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureOrg. It customizes the JSON unmarshaling process for CaptureOrg objects.
type CaptureRadiotap ¶
type CaptureRadiotap struct {
ApMac *string `json:"ap_mac,omitempty"`
// enum: `24`, `24,5,6`, `5`, `6`
Band *CaptureRadiotapBandEnum `json:"band,omitempty"`
ClientMac *string `json:"client_mac,omitempty"`
// Duration of the capture, in seconds
Duration Optional[int] `json:"duration"`
// enum: `pcap`, `stream`
Format *CaptureRadiotapFormatEnum `json:"format,omitempty"`
MaxPktLen Optional[int] `json:"max_pkt_len"`
// number of packets to capture, 0 for unlimited, default is 1024, maximum is 10000
NumPackets Optional[int] `json:"num_packets"`
Ssid *string `json:"ssid,omitempty"`
// tcpdump expression
TcpdumpExpression Optional[string] `json:"tcpdump_expression"`
// enum: `radiotap`
Type string `json:"type"`
// WLAN id associated with the respective ssid.
WlanId *uuid.UUID `json:"wlan_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CaptureRadiotap represents a CaptureRadiotap struct. Initiate a Radiotap Packet Capture
func (CaptureRadiotap) MarshalJSON ¶
func (c CaptureRadiotap) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureRadiotap. It customizes the JSON marshaling process for CaptureRadiotap objects.
func (CaptureRadiotap) String ¶ added in v0.4.23
func (c CaptureRadiotap) String() string
String implements the fmt.Stringer interface for CaptureRadiotap, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CaptureRadiotap) UnmarshalJSON ¶
func (c *CaptureRadiotap) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureRadiotap. It customizes the JSON unmarshaling process for CaptureRadiotap objects.
type CaptureRadiotapBandEnum ¶
type CaptureRadiotapBandEnum string
CaptureRadiotapBandEnum is a string enum. enum: `24`, `24,5,6`, `5`, `6`
const ( CaptureRadiotapBandEnum_ENUM24 CaptureRadiotapBandEnum = "24" CaptureRadiotapBandEnum_ENUM2456 CaptureRadiotapBandEnum = "24,5,6" CaptureRadiotapBandEnum_ENUM5 CaptureRadiotapBandEnum = "5" CaptureRadiotapBandEnum_ENUM6 CaptureRadiotapBandEnum = "6" )
type CaptureRadiotapFormatEnum ¶
type CaptureRadiotapFormatEnum string
CaptureRadiotapFormatEnum is a string enum. enum: `pcap`, `stream`
const ( CaptureRadiotapFormatEnum_PCAP CaptureRadiotapFormatEnum = "pcap" CaptureRadiotapFormatEnum_STREAM CaptureRadiotapFormatEnum = "stream" )
type CaptureRadiotapTypeEnum ¶ added in v0.2.38
type CaptureRadiotapTypeEnum string
CaptureRadiotapTypeEnum is a string enum. enum: `radiotap`
const (
CaptureRadiotapTypeEnum_RADIOTAP CaptureRadiotapTypeEnum = "radiotap"
)
type CaptureRadiotapwired ¶
type CaptureRadiotapwired struct {
ApMac Optional[string] `json:"ap_mac"`
// only used for radiotap. enum: `24`, `24,5,6`, `5`, `6`
Band *CaptureRadiotapwiredBandEnum `json:"band,omitempty"`
ClientMac Optional[string] `json:"client_mac"`
// Duration of the capture, in seconds
Duration Optional[int] `json:"duration"`
// enum: `pcap`, `stream`
Format *CaptureRadiotapwiredFormatEnum `json:"format,omitempty"`
MaxPktLen Optional[int] `json:"max_pkt_len"`
// number of packets to capture, 0 for unlimited, default is 1024, maximum is 10000
NumPackets Optional[int] `json:"num_packets"`
// tcpdump expression for radiotap interface (802.11 + radio headers)
RadiotapTcpdumpExpression *string `json:"radiotap_tcpdump_expression,omitempty"`
Ssid Optional[string] `json:"ssid"`
// tcpdump expression
TcpdumpExpression Optional[string] `json:"tcpdump_expression"`
// enum: `radiotap,wired`
Type string `json:"type"`
// tcpdump expression
WiredTcpdumpExpression Optional[string] `json:"wired_tcpdump_expression"`
// tcpdump expression for radiotap interface (802.11)
WirelessTcpdumpExpression *string `json:"wireless_tcpdump_expression,omitempty"`
// WLAN id associated with the respective ssid.
WlanId Optional[string] `json:"wlan_id"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CaptureRadiotapwired represents a CaptureRadiotapwired struct. Initiate a Radiotap Packet Capture and Wired Packet Capture
func (CaptureRadiotapwired) MarshalJSON ¶
func (c CaptureRadiotapwired) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureRadiotapwired. It customizes the JSON marshaling process for CaptureRadiotapwired objects.
func (CaptureRadiotapwired) String ¶ added in v0.4.23
func (c CaptureRadiotapwired) String() string
String implements the fmt.Stringer interface for CaptureRadiotapwired, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CaptureRadiotapwired) UnmarshalJSON ¶
func (c *CaptureRadiotapwired) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureRadiotapwired. It customizes the JSON unmarshaling process for CaptureRadiotapwired objects.
type CaptureRadiotapwiredBandEnum ¶
type CaptureRadiotapwiredBandEnum string
CaptureRadiotapwiredBandEnum is a string enum. only used for radiotap. enum: `24`, `24,5,6`, `5`, `6`
const ( CaptureRadiotapwiredBandEnum_ENUM24 CaptureRadiotapwiredBandEnum = "24" CaptureRadiotapwiredBandEnum_ENUM2456 CaptureRadiotapwiredBandEnum = "24,5,6" CaptureRadiotapwiredBandEnum_ENUM5 CaptureRadiotapwiredBandEnum = "5" CaptureRadiotapwiredBandEnum_ENUM6 CaptureRadiotapwiredBandEnum = "6" )
type CaptureRadiotapwiredFormatEnum ¶
type CaptureRadiotapwiredFormatEnum string
CaptureRadiotapwiredFormatEnum is a string enum. enum: `pcap`, `stream`
const ( CaptureRadiotapwiredFormatEnum_PCAP CaptureRadiotapwiredFormatEnum = "pcap" CaptureRadiotapwiredFormatEnum_STREAM CaptureRadiotapwiredFormatEnum = "stream" )
type CaptureRadiotapwiredTypeEnum ¶ added in v0.2.38
type CaptureRadiotapwiredTypeEnum string
CaptureRadiotapwiredTypeEnum is a string enum. enum: `radiotap,wired`
const (
CaptureRadiotapwiredTypeEnum_ENUMRADIOTAPWIRED CaptureRadiotapwiredTypeEnum = "radiotap,wired"
)
type CaptureScan ¶
type CaptureScan struct {
// Filter by ap_mac
ApMac Optional[string] `json:"ap_mac"`
// Dictionary key is AP mac and value is a dictionary which contains key "band", "bandwidth", "channel" and "tcpdump_expression". In case keys are missed we will take parent value if parent values are not set we will use default value
Aps map[string]CaptureScanAps `json:"aps,omitempty"`
// Only Single value allowed, default value gets applied when user provides wrong values. enum: `24`, `5`, `6`
Band Optional[CaptureScanBandEnum] `json:"band"`
// channel width for the band.enum: `0`(disabled, response only), `20`, `40`, `80` (only applicable for band_5 and band_6), `160` (only for band_6)
Bandwidth *Dot11BandwidthEnum `json:"bandwidth,omitempty"`
// Specify the channel value where scan PCAP has to be started, default value gets applied when user provides wrong values
Channel *int `json:"channel,omitempty"`
// Filter by client mac
ClientMac Optional[string] `json:"client_mac"`
// Duration of the capture, in seconds
Duration Optional[int] `json:"duration"`
// enum: `pcap`, `stream`
Format *CaptureScanFormatEnum `json:"format,omitempty"`
MaxPktLen Optional[int] `json:"max_pkt_len"`
// number of packets to capture, 0 for unlimited, default is 1024, maximum is 10000
NumPackets Optional[int] `json:"num_packets"`
// tcpdump expression, port specific if specified under ports dict, otherwise applicable across ports if specified at top level of payload. Port specific value overrides top level value when both exist.
TcpdumpExpression *string `json:"tcpdump_expression,omitempty"`
// enum: `scan`
Type string `json:"type"`
// Specify the bandwidth value with respect to the channel.
Width *string `json:"width,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CaptureScan represents a CaptureScan struct. Initiate a Scan Radio Packet Capture
func (CaptureScan) MarshalJSON ¶
func (c CaptureScan) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureScan. It customizes the JSON marshaling process for CaptureScan objects.
func (CaptureScan) String ¶ added in v0.4.23
func (c CaptureScan) String() string
String implements the fmt.Stringer interface for CaptureScan, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CaptureScan) UnmarshalJSON ¶
func (c *CaptureScan) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureScan. It customizes the JSON unmarshaling process for CaptureScan objects.
type CaptureScanAps ¶
type CaptureScanAps struct {
// Only Single value allowed. enum: `24`, `5`, `6`
Band *CaptureScanApsBandEnum `json:"band,omitempty"`
// Specify the channel value where scan PCAP has to be started
Channel *string `json:"channel,omitempty"`
// tcpdump expression, port specific if specified under ports dict, otherwise applicable across ports if specified at top level of payload. Port specific value overrides top level value when both exist.
TcpdumpExpression *string `json:"tcpdump_expression,omitempty"`
// Specify the bandwidth value with respect to the channel.
Width *string `json:"width,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CaptureScanAps represents a CaptureScanAps struct. Property key is the AP MAC address (e.g. "5c5b35000001"). All optionals, parent parameters will be used if not defined
func (CaptureScanAps) MarshalJSON ¶
func (c CaptureScanAps) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureScanAps. It customizes the JSON marshaling process for CaptureScanAps objects.
func (CaptureScanAps) String ¶ added in v0.4.23
func (c CaptureScanAps) String() string
String implements the fmt.Stringer interface for CaptureScanAps, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CaptureScanAps) UnmarshalJSON ¶
func (c *CaptureScanAps) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureScanAps. It customizes the JSON unmarshaling process for CaptureScanAps objects.
type CaptureScanApsBandEnum ¶
type CaptureScanApsBandEnum string
CaptureScanApsBandEnum is a string enum. Only Single value allowed. enum: `24`, `5`, `6`
const ( CaptureScanApsBandEnum_ENUM24 CaptureScanApsBandEnum = "24" CaptureScanApsBandEnum_ENUM5 CaptureScanApsBandEnum = "5" CaptureScanApsBandEnum_ENUM6 CaptureScanApsBandEnum = "6" )
type CaptureScanBandEnum ¶
type CaptureScanBandEnum string
CaptureScanBandEnum is a string enum. Only Single value allowed, default value gets applied when user provides wrong values. enum: `24`, `5`, `6`
const ( CaptureScanBandEnum_ENUM24 CaptureScanBandEnum = "24" CaptureScanBandEnum_ENUM5 CaptureScanBandEnum = "5" CaptureScanBandEnum_ENUM6 CaptureScanBandEnum = "6" )
type CaptureScanFormatEnum ¶
type CaptureScanFormatEnum string
CaptureScanFormatEnum is a string enum. enum: `pcap`, `stream`
const ( CaptureScanFormatEnum_PCAP CaptureScanFormatEnum = "pcap" CaptureScanFormatEnum_STREAM CaptureScanFormatEnum = "stream" )
type CaptureScanTypeEnum ¶ added in v0.2.38
type CaptureScanTypeEnum string
CaptureScanTypeEnum is a string enum. enum: `scan`
const (
CaptureScanTypeEnum_SCAN CaptureScanTypeEnum = "scan"
)
type CaptureSite ¶
type CaptureSite struct {
// contains filtered or unexported fields
}
CaptureSite represents a CaptureSite struct.
func (*CaptureSite) AsCaptureClient ¶
func (c *CaptureSite) AsCaptureClient() ( *CaptureClient, bool)
func (*CaptureSite) AsCaptureGateway ¶
func (c *CaptureSite) AsCaptureGateway() ( *CaptureGateway, bool)
func (*CaptureSite) AsCaptureNewAssoc ¶
func (c *CaptureSite) AsCaptureNewAssoc() ( *CaptureNewAssoc, bool)
func (*CaptureSite) AsCaptureRadiotap ¶
func (c *CaptureSite) AsCaptureRadiotap() ( *CaptureRadiotap, bool)
func (*CaptureSite) AsCaptureRadiotapwired ¶
func (c *CaptureSite) AsCaptureRadiotapwired() ( *CaptureRadiotapwired, bool)
func (*CaptureSite) AsCaptureScan ¶
func (c *CaptureSite) AsCaptureScan() ( *CaptureScan, bool)
func (*CaptureSite) AsCaptureSwitch ¶
func (c *CaptureSite) AsCaptureSwitch() ( *CaptureSwitch, bool)
func (*CaptureSite) AsCaptureWired ¶
func (c *CaptureSite) AsCaptureWired() ( *CaptureWired, bool)
func (*CaptureSite) AsCaptureWireless ¶
func (c *CaptureSite) AsCaptureWireless() ( *CaptureWireless, bool)
func (CaptureSite) MarshalJSON ¶
func (c CaptureSite) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureSite. It customizes the JSON marshaling process for CaptureSite objects.
func (CaptureSite) String ¶
func (c CaptureSite) String() string
String implements the fmt.Stringer interface for CaptureSite, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CaptureSite) UnmarshalJSON ¶
func (c *CaptureSite) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureSite. It customizes the JSON unmarshaling process for CaptureSite objects.
type CaptureSwitch ¶
type CaptureSwitch struct {
// Duration of the capture, in seconds
Duration Optional[int] `json:"duration"`
// enum: `stream`
Format *CaptureSwitchFormatEnum `json:"format,omitempty"`
MaxPktLen Optional[int] `json:"max_pkt_len"`
// number of packets to capture, 0 for unlimited, default is 1024, maximum is 10000
NumPackets Optional[int] `json:"num_packets"`
// Property key is the port name. 6 ports max per switch supported, or 5 max with irb port auto-included into capture request
Ports map[string]CaptureSwitchPortsTcpdumpExpression `json:"ports,omitempty"`
// Property key is the switch mac
Switches map[string]CaptureSwitchSwitches `json:"switches"`
// tcpdump expression, port specific if specified under ports dict, otherwise applicable across ports if specified at top level of payload. Port specific value overrides top level value when both exist.
TcpdumpExpression *string `json:"tcpdump_expression,omitempty"`
// enum: `switch`
Type string `json:"type"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CaptureSwitch represents a CaptureSwitch struct. Initiate a Switch (Junos) Packet Capture
func (CaptureSwitch) MarshalJSON ¶
func (c CaptureSwitch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureSwitch. It customizes the JSON marshaling process for CaptureSwitch objects.
func (CaptureSwitch) String ¶ added in v0.4.23
func (c CaptureSwitch) String() string
String implements the fmt.Stringer interface for CaptureSwitch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CaptureSwitch) UnmarshalJSON ¶
func (c *CaptureSwitch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureSwitch. It customizes the JSON unmarshaling process for CaptureSwitch objects.
type CaptureSwitchFormatEnum ¶
type CaptureSwitchFormatEnum string
CaptureSwitchFormatEnum is a string enum. enum: `stream`
const (
CaptureSwitchFormatEnum_STREAM CaptureSwitchFormatEnum = "stream"
)
type CaptureSwitchPortsTcpdumpExpression ¶ added in v0.2.38
type CaptureSwitchPortsTcpdumpExpression struct {
// tcpdump expression, port specific if specified under ports dict, otherwise applicable across ports if specified at top level of payload. Port specific value overrides top level value when both exist.
TcpdumpExpression *string `json:"tcpdump_expression,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CaptureSwitchPortsTcpdumpExpression represents a CaptureSwitchPortsTcpdumpExpression struct.
func (CaptureSwitchPortsTcpdumpExpression) MarshalJSON ¶ added in v0.2.38
func (c CaptureSwitchPortsTcpdumpExpression) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureSwitchPortsTcpdumpExpression. It customizes the JSON marshaling process for CaptureSwitchPortsTcpdumpExpression objects.
func (CaptureSwitchPortsTcpdumpExpression) String ¶ added in v0.4.23
func (c CaptureSwitchPortsTcpdumpExpression) String() string
String implements the fmt.Stringer interface for CaptureSwitchPortsTcpdumpExpression, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CaptureSwitchPortsTcpdumpExpression) UnmarshalJSON ¶ added in v0.2.38
func (c *CaptureSwitchPortsTcpdumpExpression) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureSwitchPortsTcpdumpExpression. It customizes the JSON unmarshaling process for CaptureSwitchPortsTcpdumpExpression objects.
type CaptureSwitchSwitches ¶
type CaptureSwitchSwitches struct {
// Property key is the port name. 6 ports max per switch supported, or 5 max with irb port auto-included into capture request
Ports map[string]CaptureSwitchPortsTcpdumpExpression `json:"ports,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CaptureSwitchSwitches represents a CaptureSwitchSwitches struct.
func (CaptureSwitchSwitches) MarshalJSON ¶
func (c CaptureSwitchSwitches) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureSwitchSwitches. It customizes the JSON marshaling process for CaptureSwitchSwitches objects.
func (CaptureSwitchSwitches) String ¶ added in v0.4.23
func (c CaptureSwitchSwitches) String() string
String implements the fmt.Stringer interface for CaptureSwitchSwitches, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CaptureSwitchSwitches) UnmarshalJSON ¶
func (c *CaptureSwitchSwitches) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureSwitchSwitches. It customizes the JSON unmarshaling process for CaptureSwitchSwitches objects.
type CaptureSwitchTypeEnum ¶ added in v0.2.38
type CaptureSwitchTypeEnum string
CaptureSwitchTypeEnum is a string enum. enum: `switch`
const (
CaptureSwitchTypeEnum_ENUMSWITCH CaptureSwitchTypeEnum = "switch"
)
type CaptureWired ¶
type CaptureWired struct {
ApMac Optional[string] `json:"ap_mac"`
// Duration of the capture, in seconds
Duration Optional[int] `json:"duration"`
// pcap format. enum: `pcap`, `stream`
Format *CaptureWiredFormatEnum `json:"format,omitempty"`
MaxPktLen Optional[int] `json:"max_pkt_len"`
// number of packets to capture, 0 for unlimited, default is 1024, maximum is 10000
NumPackets Optional[int] `json:"num_packets"`
// tcpdump expression
TcpdumpExpression Optional[string] `json:"tcpdump_expression"`
// enum: `wired`
Type string `json:"type"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CaptureWired represents a CaptureWired struct. Initiate a Wired Packet Capture
func (CaptureWired) MarshalJSON ¶
func (c CaptureWired) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureWired. It customizes the JSON marshaling process for CaptureWired objects.
func (CaptureWired) String ¶ added in v0.4.23
func (c CaptureWired) String() string
String implements the fmt.Stringer interface for CaptureWired, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CaptureWired) UnmarshalJSON ¶
func (c *CaptureWired) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureWired. It customizes the JSON unmarshaling process for CaptureWired objects.
type CaptureWiredFormatEnum ¶
type CaptureWiredFormatEnum string
CaptureWiredFormatEnum is a string enum. pcap format. enum: `pcap`, `stream`
const ( CaptureWiredFormatEnum_PCAP CaptureWiredFormatEnum = "pcap" CaptureWiredFormatEnum_STREAM CaptureWiredFormatEnum = "stream" )
type CaptureWiredTypeEnum ¶ added in v0.2.38
type CaptureWiredTypeEnum string
CaptureWiredTypeEnum is a string enum. enum: `wired`
const (
CaptureWiredTypeEnum_WIRED CaptureWiredTypeEnum = "wired"
)
type CaptureWireless ¶
type CaptureWireless struct {
ApMac Optional[string] `json:"ap_mac"`
// enum: `24`, `5`, `6`
Band *CaptureWirelessBandEnum `json:"band,omitempty"`
// Duration of the capture, in seconds
Duration Optional[int] `json:"duration"`
// pcap format. enum: `pcap`, `stream`
Format *CaptureWirelessFormatEnum `json:"format,omitempty"`
MaxPktLen Optional[int] `json:"max_pkt_len"`
// number of packets to capture, 0 for unlimited, default is 1024, maximum is 10000
NumPackets Optional[int] `json:"num_packets"`
Ssid *string `json:"ssid,omitempty"`
// enum: `wireless`
Type string `json:"type"`
// WLAN ID
WlanId *uuid.UUID `json:"wlan_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CaptureWireless represents a CaptureWireless struct. Initiate a Wireless Packet Capture
func (CaptureWireless) MarshalJSON ¶
func (c CaptureWireless) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureWireless. It customizes the JSON marshaling process for CaptureWireless objects.
func (CaptureWireless) String ¶ added in v0.4.23
func (c CaptureWireless) String() string
String implements the fmt.Stringer interface for CaptureWireless, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CaptureWireless) UnmarshalJSON ¶
func (c *CaptureWireless) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureWireless. It customizes the JSON unmarshaling process for CaptureWireless objects.
type CaptureWirelessBandEnum ¶
type CaptureWirelessBandEnum string
CaptureWirelessBandEnum is a string enum. enum: `24`, `5`, `6`
const ( CaptureWirelessBandEnum_ENUM24 CaptureWirelessBandEnum = "24" CaptureWirelessBandEnum_ENUM5 CaptureWirelessBandEnum = "5" CaptureWirelessBandEnum_ENUM6 CaptureWirelessBandEnum = "6" )
type CaptureWirelessFormatEnum ¶
type CaptureWirelessFormatEnum string
CaptureWirelessFormatEnum is a string enum. pcap format. enum: `pcap`, `stream`
const ( CaptureWirelessFormatEnum_PCAP CaptureWirelessFormatEnum = "pcap" CaptureWirelessFormatEnum_STREAM CaptureWirelessFormatEnum = "stream" )
type CaptureWirelessTypeEnum ¶ added in v0.2.38
type CaptureWirelessTypeEnum string
CaptureWirelessTypeEnum is a string enum. enum: `wireless`
const (
CaptureWirelessTypeEnum_WIRELESS CaptureWirelessTypeEnum = "wireless"
)
type ClaimActivation ¶
type ClaimActivation struct {
// Whether to do a async claim process
Async *bool `json:"async,omitempty"`
// Activation code
Code string `json:"code"`
// enum: `ap`, `gateway`, `switch`
DeviceType *DeviceTypeDefaultApEnum `json:"device_type,omitempty"`
// what to claim. enum: `all`, `inventory`, `license`
Type ClaimTypeEnum `json:"type"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ClaimActivation represents a ClaimActivation struct.
func (ClaimActivation) MarshalJSON ¶
func (c ClaimActivation) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ClaimActivation. It customizes the JSON marshaling process for ClaimActivation objects.
func (ClaimActivation) String ¶ added in v0.4.23
func (c ClaimActivation) String() string
String implements the fmt.Stringer interface for ClaimActivation, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ClaimActivation) UnmarshalJSON ¶
func (c *ClaimActivation) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ClaimActivation. It customizes the JSON unmarshaling process for ClaimActivation objects.
type ClaimTypeEnum ¶
type ClaimTypeEnum string
ClaimTypeEnum is a string enum. what to claim. enum: `all`, `inventory`, `license`
const ( ClaimTypeEnum_ALL ClaimTypeEnum = "all" ClaimTypeEnum_INVENTORY ClaimTypeEnum = "inventory" ClaimTypeEnum_LICENSE ClaimTypeEnum = "license" )
type ClearDot1xSession ¶ added in v0.4.87
type ClearDot1xSession struct {
// ID of the port where the dot1x session must be cleared. If not provided, the sessions on all the port will be cleared.
PortId *string `json:"port_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ClearDot1xSession represents a ClearDot1xSession struct.
func (ClearDot1xSession) MarshalJSON ¶ added in v0.4.87
func (c ClearDot1xSession) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ClearDot1xSession. It customizes the JSON marshaling process for ClearDot1xSession objects.
func (ClearDot1xSession) String ¶ added in v0.4.87
func (c ClearDot1xSession) String() string
String implements the fmt.Stringer interface for ClearDot1xSession, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ClearDot1xSession) UnmarshalJSON ¶ added in v0.4.87
func (c *ClearDot1xSession) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ClearDot1xSession. It customizes the JSON unmarshaling process for ClearDot1xSession objects.
type ClientCertSerialNumbers ¶ added in v0.2.38
type ClientCertSerialNumbers struct {
SerialNumbers []string `json:"serial_numbers,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ClientCertSerialNumbers represents a ClientCertSerialNumbers struct.
func (ClientCertSerialNumbers) MarshalJSON ¶ added in v0.2.38
func (c ClientCertSerialNumbers) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ClientCertSerialNumbers. It customizes the JSON marshaling process for ClientCertSerialNumbers objects.
func (ClientCertSerialNumbers) String ¶ added in v0.4.23
func (c ClientCertSerialNumbers) String() string
String implements the fmt.Stringer interface for ClientCertSerialNumbers, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ClientCertSerialNumbers) UnmarshalJSON ¶ added in v0.2.38
func (c *ClientCertSerialNumbers) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ClientCertSerialNumbers. It customizes the JSON unmarshaling process for ClientCertSerialNumbers objects.
type ClientInfoSourceEnum ¶ added in v0.4.75
type ClientInfoSourceEnum string
ClientInfoSourceEnum is a string enum. source from where the client was learned (lldp, mac). enum: `lldp`, `mac`
const ( ClientInfoSourceEnum_LLDP ClientInfoSourceEnum = "lldp" ClientInfoSourceEnum_MAC ClientInfoSourceEnum = "mac" )
type ClientKeyMgmtEnum ¶ added in v0.4.80
type ClientKeyMgmtEnum string
ClientKeyMgmtEnum is a string enum. Key management protocol used for the latest authentication. enum: `WPA2-PSK`, `WPA2-PSK-FT`, `WPA2-PSK-SHA256`, `WPA3-EAP-SHA256`, `WPA3-SAE-FT`, `WPA3-SAE-PSK`
const ( ClientKeyMgmtEnum_WPA2PSK ClientKeyMgmtEnum = "WPA2-PSK" ClientKeyMgmtEnum_ENUMWPA2PSKCCMP ClientKeyMgmtEnum = "WPA2-PSK/CCMP" ClientKeyMgmtEnum_WPA2PSKFT ClientKeyMgmtEnum = "WPA2-PSK-FT" ClientKeyMgmtEnum_WPA2PSKSHA256 ClientKeyMgmtEnum = "WPA2-PSK-SHA256" ClientKeyMgmtEnum_WPA3EAPSHA256 ClientKeyMgmtEnum = "WPA3-EAP-SHA256" ClientKeyMgmtEnum_ENUMWPA3EAPSHA256CCMP ClientKeyMgmtEnum = "WPA3-EAP-SHA256/CCMP" ClientKeyMgmtEnum_ENUMWPA3EAPFTGCMP256 ClientKeyMgmtEnum = "WPA3-EAP-FT/GCMP256" ClientKeyMgmtEnum_WPA3SAEFT ClientKeyMgmtEnum = "WPA3-SAE-FT" ClientKeyMgmtEnum_WPA3SAEPSK ClientKeyMgmtEnum = "WPA3-SAE-PSK" )
type ClientNac ¶
type ClientNac struct {
Ap []string `json:"ap,omitempty"`
// enum: `cert`, `device-auth`, `eap-teap`, `eap-tls`, `eap-ttls`, `idp`, `mab`, `eap-peap`
AuthType *NacAuthTypeEnum `json:"auth_type,omitempty"`
// When certificate based authentication is used, the CN from the certificates used for the specified duration
CertCn []string `json:"cert_cn,omitempty"`
// When certificate based authentication is used, the Issuer from the certificates used for the specified duration
CertIssuer []string `json:"cert_issuer,omitempty"`
// When certificate based authentication is used, the Serial from the certificates used for the specified duration
CertSerial []string `json:"cert_serial,omitempty"`
// When certificate based authentication is used, the Subject from the certificates used for the specified duration
CertSubject []string `json:"cert_subject,omitempty"`
// The known IP Addresses used by the client for the specified duration
ClientIp []string `json:"client_ip,omitempty"`
// MAC Address of the device (AP, Switch) the client is connected to
DeviceMac *string `json:"device_mac,omitempty"`
EdrManaged *bool `json:"edr_managed,omitempty"`
// `enum: `sentinelone`, `crowdstrike`
EdrProvider *EdrProviderEnum `json:"edr_provider,omitempty"`
// EDR Status of the NAC client. enum: `sentinelone_healthy`, `sentinelone_infected`, `crowdstrike_low`, `crowdstrike_medium`, `crowdstrike_high`, `crowdstrike_critical`, `crowdstrike_informational`
EdrStatus *EdrStatusEnum `json:"edr_status,omitempty"`
Group *string `json:"group,omitempty"`
IdpId *string `json:"idp_id,omitempty"`
IdpRole []string `json:"idp_role,omitempty"`
// Latest AP where the client is/was connected to
LastAp *string `json:"last_ap,omitempty"`
// When certificate based authentication is used, the CN from the latest certificate used
LastCertCn *string `json:"last_cert_cn,omitempty"`
// When certificate based authentication is used, the expiration date from the latest certificate used
LastCertExpiry *float64 `json:"last_cert_expiry,omitempty"`
// When certificate based authentication is used, the Issuer from the latest certificate used
LastCertIssuer *string `json:"last_cert_issuer,omitempty"`
// When certificate based authentication is used, the Serial from the latest certificate used
LastCertSerial *string `json:"last_cert_serial,omitempty"`
// When certificate based authentication is used, the Subject from the latest certificate used
LastCertSubject *string `json:"last_cert_subject,omitempty"`
// The last known IP Address for the client
LastClientIp *string `json:"last_client_ip,omitempty"`
// ID of the latest NAC Rule used to authenticate the client
LastNacruleId *string `json:"last_nacrule_id,omitempty"`
// Name of the latest NAC Rule used to authenticate the client
LastNacruleName *string `json:"last_nacrule_name,omitempty"`
// Vendor name of the NAS for the latest authentication
LastNasVendor *string `json:"last_nas_vendor,omitempty"`
// If Wired authentication, the latest Port-id the client was connected to
LastPortId *string `json:"last_port_id,omitempty"`
// If Wireless authentication, the latest SSID the client was connected to
LastSsid *string `json:"last_ssid,omitempty"`
// Latest Authentication status of the client. enum: `denied`, `permitted`, `session_started`, `session_stopped`
LastStatus *NacClientLastStatusEnum `json:"last_status,omitempty"`
// If dot1x authentication, the username used during the latest authentication. Otherwise, the MAC address of the client
LastUsername *string `json:"last_username,omitempty"`
// Latest VLAN ID assigned to the client
LastVlan *int `json:"last_vlan,omitempty"`
// Client MAC address
Mac *string `json:"mac,omitempty"`
// IDs of the NAC Rules used to authenticate the client for the specified duration
NacruleId []string `json:"nacrule_id,omitempty"`
NacruleMatched *bool `json:"nacrule_matched,omitempty"`
// Name of the NAC Rules used to authenticate the client for the specified duration
NacruleName []string `json:"nacrule_name,omitempty"`
NasIp *string `json:"nas_ip,omitempty"`
// Vendor name of the NAS for the specified duration
NasVendor []string `json:"nas_vendor,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Port-ids the client was connected to for the specified duration
PortId []string `json:"port_id,omitempty"`
// Whether the client is using randomized MAC Address or not
RandomMac *RandomMacEnum `json:"random_mac,omitempty"`
// List of Radius AVP returned by the Authentication Server
RespAttrs []string `json:"resp_attrs,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// SSIDs the client was connected to for the specified duration
Ssid []string `json:"ssid,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
// Type of network access. enum: `wireless`, `wired`, `vty`
Type *NacAccessTypeEnum `json:"type,omitempty"`
UsermacLabel []string `json:"usermac_label,omitempty"`
// List of usernames that have been assigned to the client
Username []string `json:"username,omitempty"`
// List of vlans that have been assigned to the client
Vlan []string `json:"vlan,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ClientNac represents a ClientNac struct.
func (ClientNac) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for ClientNac. It customizes the JSON marshaling process for ClientNac objects.
func (ClientNac) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for ClientNac, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ClientNac) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for ClientNac. It customizes the JSON unmarshaling process for ClientNac objects.
type ClientWireless ¶
type ClientWireless struct {
// List of AP MAC Addresses the client was connected to
Ap []string `json:"ap,omitempty"`
// Only when client has the Marvis Client app running. List of the versions of the Marvis Client
AppVersion []string `json:"app_version,omitempty"`
// Wi-Fi Radio band
Band *string `json:"band,omitempty"`
// Only when client has the Marvis Client app running. List of the type of device type detected
Device []string `json:"device,omitempty"`
Ftc *bool `json:"ftc,omitempty"`
// Only when client has the Marvis Client app running. Type of Wi-Fi adapter
Hardware *string `json:"hardware,omitempty"`
// List of hostname detected for this client
Hostname []string `json:"hostname,omitempty"`
// List if the ip addresses detected for this client
Ip []string `json:"ip,omitempty"`
// Latest AP where the client is/was connected to
LastAp *string `json:"last_ap,omitempty"`
// Latest type of device we identified (e.g. iPhone, Mac, ...)
LastDevice *string `json:"last_device,omitempty"`
// Only when client has the Marvis Client app running. Same as "firmware"
LastFirmware *string `json:"last_firmware,omitempty"`
// Latest hostname we detected for the client
LastHostname *string `json:"last_hostname,omitempty"`
// The last known IP Address for the client
LastIp *string `json:"last_ip,omitempty"`
// Only when client has the Marvis Client app running. latest client hardware model we detected for the client
LastModel *string `json:"last_model,omitempty"`
// Only when client has the Marvis Client app running. Latest version of OS Type we detected for the client
LastOs *string `json:"last_os,omitempty"`
// Only when client has the Marvis Client app running. Latest version of OS Version we detected for the client
LastOsVersion *string `json:"last_os_version,omitempty"`
// Only for PPSK authentication. Latest PPSK ID used by the client
LastPskId *uuid.UUID `json:"last_psk_id,omitempty"`
// Only for PPSK authentication. Latest PPSK Name used by the client
LastPskName *string `json:"last_psk_name,omitempty"`
// If dot1x authentication, the username used during the latest authentication. Otherwise, the MAC address of the client
LastSsid *string `json:"last_ssid,omitempty"`
LastUsername *string `json:"last_username,omitempty"`
// Latest VLAN ID assigned to the client
LastVlan *int `json:"last_vlan,omitempty"`
// ID of the latest SSID (WLAN) the client is/was connected to
LastWlanId *uuid.UUID `json:"last_wlan_id,omitempty"`
// Client MAC Address
Mac *string `json:"mac,omitempty"`
// Manufacturer of the client hardware (MAC OUI based)
Mfg *string `json:"mfg,omitempty"`
// Only when client has the Marvis Client app running. Client hardware model
Model *string `json:"model,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Only when client is having the Marvis Client app running. List of OS detected for the client
Os []string `json:"os,omitempty"`
// Only when client is having the Marvis Client app running. List of OS version detected for the client
OsVersion []string `json:"os_version,omitempty"`
// 802.11 amendment
Protocol *string `json:"protocol,omitempty"`
// List of IDs of the PPSK used by the client
PskId []uuid.UUID `json:"psk_id,omitempty"`
// List of names of the PPSK used by the client
PskName []string `json:"psk_name,omitempty"`
// Whether the client is using randomized MAC Address or not
RandomMac *bool `json:"random_mac,omitempty"`
// Only when client has the Marvis Client app running. List of Marvis Client SDK version detected for the client
SdkVersion []string `json:"sdk_version,omitempty"`
// Mist Site ID where the client is connected
SiteId *uuid.UUID `json:"site_id,omitempty"`
// List of Mist Site IDs where the client was connected
SiteIds []uuid.UUID `json:"site_ids,omitempty"`
// List of the WLAN names the client was connected to
Ssid []string `json:"ssid,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
// Only for 802.1X authentication. List of usernames used by the client
Username []string `json:"username,omitempty"`
// List of vlans that have been assigned to the client
Vlan []int `json:"vlan,omitempty"`
// List of IDs of WLANs the client was connected to
WlanId []uuid.UUID `json:"wlan_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ClientWireless represents a ClientWireless struct.
func (ClientWireless) MarshalJSON ¶
func (c ClientWireless) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ClientWireless. It customizes the JSON marshaling process for ClientWireless objects.
func (ClientWireless) String ¶ added in v0.4.23
func (c ClientWireless) String() string
String implements the fmt.Stringer interface for ClientWireless, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ClientWireless) UnmarshalJSON ¶
func (c *ClientWireless) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ClientWireless. It customizes the JSON unmarshaling process for ClientWireless objects.
type CoaServer ¶
type CoaServer struct {
// Whether to disable Event-Timestamp Check
DisableEventTimestampCheck *bool `json:"disable_event_timestamp_check,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
Ip string `json:"ip"`
// Radius CoA Port, value from 1 to 65535, default is 3799
Port *RadiusCoaPort `json:"port,omitempty"`
Secret string `json:"secret"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CoaServer represents a CoaServer struct. CoA Server
func (CoaServer) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for CoaServer. It customizes the JSON marshaling process for CoaServer objects.
func (CoaServer) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for CoaServer, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CoaServer) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for CoaServer. It customizes the JSON unmarshaling process for CoaServer objects.
type CodeString ¶
type CodeString struct {
Code string `json:"code"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CodeString represents a CodeString struct.
func (CodeString) MarshalJSON ¶
func (c CodeString) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CodeString. It customizes the JSON marshaling process for CodeString objects.
func (CodeString) String ¶ added in v0.4.23
func (c CodeString) String() string
String implements the fmt.Stringer interface for CodeString, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CodeString) UnmarshalJSON ¶
func (c *CodeString) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CodeString. It customizes the JSON unmarshaling process for CodeString objects.
type ConfigDevice ¶
type ConfigDevice struct {
// contains filtered or unexported fields
}
ConfigDevice represents a ConfigDevice struct.
func (*ConfigDevice) AsDeviceAp ¶ added in v0.3.0
func (c *ConfigDevice) AsDeviceAp() ( *DeviceAp, bool)
func (*ConfigDevice) AsDeviceGateway ¶ added in v0.3.0
func (c *ConfigDevice) AsDeviceGateway() ( *DeviceGateway, bool)
func (*ConfigDevice) AsDeviceSwitch ¶ added in v0.3.0
func (c *ConfigDevice) AsDeviceSwitch() ( *DeviceSwitch, bool)
func (ConfigDevice) MarshalJSON ¶
func (c ConfigDevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConfigDevice. It customizes the JSON marshaling process for ConfigDevice objects.
func (ConfigDevice) String ¶ added in v0.3.0
func (c ConfigDevice) String() string
String implements the fmt.Stringer interface for ConfigDevice, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConfigDevice) UnmarshalJSON ¶
func (c *ConfigDevice) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConfigDevice. It customizes the JSON unmarshaling process for ConfigDevice objects.
type ConfigSwitchLocalAccountsUser ¶
type ConfigSwitchLocalAccountsUser struct {
Password *string `json:"password,omitempty"`
// enum: `admin`, `helpdesk`, `none`, `read`
Role *ConfigSwitchLocalAccountsUserRoleEnum `json:"role,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConfigSwitchLocalAccountsUser represents a ConfigSwitchLocalAccountsUser struct.
func (ConfigSwitchLocalAccountsUser) MarshalJSON ¶
func (c ConfigSwitchLocalAccountsUser) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConfigSwitchLocalAccountsUser. It customizes the JSON marshaling process for ConfigSwitchLocalAccountsUser objects.
func (ConfigSwitchLocalAccountsUser) String ¶ added in v0.4.23
func (c ConfigSwitchLocalAccountsUser) String() string
String implements the fmt.Stringer interface for ConfigSwitchLocalAccountsUser, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConfigSwitchLocalAccountsUser) UnmarshalJSON ¶
func (c *ConfigSwitchLocalAccountsUser) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConfigSwitchLocalAccountsUser. It customizes the JSON unmarshaling process for ConfigSwitchLocalAccountsUser objects.
type ConfigSwitchLocalAccountsUserRoleEnum ¶
type ConfigSwitchLocalAccountsUserRoleEnum string
ConfigSwitchLocalAccountsUserRoleEnum is a string enum. enum: `admin`, `helpdesk`, `none`, `read`
const ( ConfigSwitchLocalAccountsUserRoleEnum_ADMIN ConfigSwitchLocalAccountsUserRoleEnum = "admin" ConfigSwitchLocalAccountsUserRoleEnum_HELPDESK ConfigSwitchLocalAccountsUserRoleEnum = "helpdesk" ConfigSwitchLocalAccountsUserRoleEnum_NONE ConfigSwitchLocalAccountsUserRoleEnum = "none" ConfigSwitchLocalAccountsUserRoleEnum_READ ConfigSwitchLocalAccountsUserRoleEnum = "read" )
type ConfigVcPortMember ¶
type ConfigVcPortMember struct {
Member float64 `json:"member"`
VcPorts []string `json:"vc_ports,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConfigVcPortMember represents a ConfigVcPortMember struct.
func (ConfigVcPortMember) MarshalJSON ¶
func (c ConfigVcPortMember) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConfigVcPortMember. It customizes the JSON marshaling process for ConfigVcPortMember objects.
func (ConfigVcPortMember) String ¶ added in v0.4.23
func (c ConfigVcPortMember) String() string
String implements the fmt.Stringer interface for ConfigVcPortMember, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConfigVcPortMember) UnmarshalJSON ¶
func (c *ConfigVcPortMember) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConfigVcPortMember. It customizes the JSON unmarshaling process for ConfigVcPortMember objects.
type ConstAlarmDefinition ¶
type ConstAlarmDefinition struct {
// Description of the alarm type
Display string `json:"display"`
Example *interface{} `json:"example,omitempty"`
// List of fields available in an alarm details payload (in REST APIs & Webhooks); e.g. `aps`, `switches`, `gateways`, `hostnames`, `ssids`, `bssids`
Fields []string `json:"fields"`
// Group to which the alarm belongs
Group string `json:"group"`
// Key name of the alarm type
Key string `json:"key"`
// Marvis defined category to which the alarm belongs
MarvisSuggestionCategory *string `json:"marvis_suggestion_category,omitempty"`
// Severity of the alarm
Severity string `json:"severity"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstAlarmDefinition represents a ConstAlarmDefinition struct.
func (ConstAlarmDefinition) MarshalJSON ¶
func (c ConstAlarmDefinition) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstAlarmDefinition. It customizes the JSON marshaling process for ConstAlarmDefinition objects.
func (ConstAlarmDefinition) String ¶ added in v0.4.23
func (c ConstAlarmDefinition) String() string
String implements the fmt.Stringer interface for ConstAlarmDefinition, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstAlarmDefinition) UnmarshalJSON ¶
func (c *ConstAlarmDefinition) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstAlarmDefinition. It customizes the JSON unmarshaling process for ConstAlarmDefinition objects.
type ConstApChannel ¶
type ConstApChannel struct {
Band2440mhzAllowed *bool `json:"band24_40mhz_allowed,omitempty"`
// Property key is the channel width
Band24Channels map[string][]int `json:"band24_channels,omitempty"`
Band24Enabled *bool `json:"band24_enabled,omitempty"`
// Property key is the channel width
Band5Channels map[string][]int `json:"band5_channels,omitempty"`
Band5Enabled *bool `json:"band5_enabled,omitempty"`
// Property key is the channel width
Band6Channels map[string][]int `json:"band6_channels,omitempty"`
Band6Enabled *bool `json:"band6_enabled,omitempty"`
Certified *bool `json:"certified,omitempty"`
// Country code, ISO 3166-1 numeric
Code *int `json:"code,omitempty"`
DfsOk *bool `json:"dfs_ok,omitempty"`
// Country code, in two-character
Key *string `json:"key,omitempty"`
Name *string `json:"name,omitempty"`
Uses *string `json:"uses,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstApChannel represents a ConstApChannel struct.
func (ConstApChannel) MarshalJSON ¶
func (c ConstApChannel) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstApChannel. It customizes the JSON marshaling process for ConstApChannel objects.
func (ConstApChannel) String ¶ added in v0.4.23
func (c ConstApChannel) String() string
String implements the fmt.Stringer interface for ConstApChannel, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstApChannel) UnmarshalJSON ¶
func (c *ConstApChannel) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstApChannel. It customizes the JSON unmarshaling process for ConstApChannel objects.
type ConstApEslVersion ¶ added in v0.4.74
type ConstApEslVersion struct {
EslVersion *string `json:"esl_version,omitempty"`
Model *string `json:"model,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstApEslVersion represents a ConstApEslVersion struct.
func (ConstApEslVersion) MarshalJSON ¶ added in v0.4.74
func (c ConstApEslVersion) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstApEslVersion. It customizes the JSON marshaling process for ConstApEslVersion objects.
func (ConstApEslVersion) String ¶ added in v0.4.74
func (c ConstApEslVersion) String() string
String implements the fmt.Stringer interface for ConstApEslVersion, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstApEslVersion) UnmarshalJSON ¶ added in v0.4.74
func (c *ConstApEslVersion) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstApEslVersion. It customizes the JSON unmarshaling process for ConstApEslVersion objects.
type ConstApLed ¶
type ConstApLed struct {
Code string `json:"code"`
Description string `json:"description"`
Key string `json:"key"`
Name string `json:"name"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstApLed represents a ConstApLed struct.
func (ConstApLed) MarshalJSON ¶
func (c ConstApLed) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstApLed. It customizes the JSON marshaling process for ConstApLed objects.
func (ConstApLed) String ¶ added in v0.4.23
func (c ConstApLed) String() string
String implements the fmt.Stringer interface for ConstApLed, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstApLed) UnmarshalJSON ¶
func (c *ConstApLed) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstApLed. It customizes the JSON unmarshaling process for ConstApLed objects.
type ConstAppCategoryDefinition ¶
type ConstAppCategoryDefinition struct {
// Description of the app category
Display string `json:"display"`
Filters *ConstAppCategoryDefinitionFilters `json:"filters,omitempty"`
// List of other App Categories contained by this one
Includes []string `json:"includes,omitempty"`
// Key name of the app category
Key string `json:"key"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstAppCategoryDefinition represents a ConstAppCategoryDefinition struct.
func (ConstAppCategoryDefinition) MarshalJSON ¶
func (c ConstAppCategoryDefinition) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstAppCategoryDefinition. It customizes the JSON marshaling process for ConstAppCategoryDefinition objects.
func (ConstAppCategoryDefinition) String ¶ added in v0.4.23
func (c ConstAppCategoryDefinition) String() string
String implements the fmt.Stringer interface for ConstAppCategoryDefinition, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstAppCategoryDefinition) UnmarshalJSON ¶
func (c *ConstAppCategoryDefinition) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstAppCategoryDefinition. It customizes the JSON unmarshaling process for ConstAppCategoryDefinition objects.
type ConstAppCategoryDefinitionFilters ¶
type ConstAppCategoryDefinitionFilters struct {
Srx []string `json:"srx,omitempty"`
Ssr []string `json:"ssr,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstAppCategoryDefinitionFilters represents a ConstAppCategoryDefinitionFilters struct.
func (ConstAppCategoryDefinitionFilters) MarshalJSON ¶
func (c ConstAppCategoryDefinitionFilters) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstAppCategoryDefinitionFilters. It customizes the JSON marshaling process for ConstAppCategoryDefinitionFilters objects.
func (ConstAppCategoryDefinitionFilters) String ¶ added in v0.4.23
func (c ConstAppCategoryDefinitionFilters) String() string
String implements the fmt.Stringer interface for ConstAppCategoryDefinitionFilters, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstAppCategoryDefinitionFilters) UnmarshalJSON ¶
func (c *ConstAppCategoryDefinitionFilters) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstAppCategoryDefinitionFilters. It customizes the JSON unmarshaling process for ConstAppCategoryDefinitionFilters objects.
type ConstAppSubcategoryDefinition ¶
type ConstAppSubcategoryDefinition struct {
// Description of the app subcategory
Display string `json:"display"`
// Key name of the app subcategory
Key string `json:"key"`
// Type of traffic (QoS) of the app subcategory
TrafficType string `json:"traffic_type"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstAppSubcategoryDefinition represents a ConstAppSubcategoryDefinition struct.
func (ConstAppSubcategoryDefinition) MarshalJSON ¶
func (c ConstAppSubcategoryDefinition) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstAppSubcategoryDefinition. It customizes the JSON marshaling process for ConstAppSubcategoryDefinition objects.
func (ConstAppSubcategoryDefinition) String ¶ added in v0.4.23
func (c ConstAppSubcategoryDefinition) String() string
String implements the fmt.Stringer interface for ConstAppSubcategoryDefinition, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstAppSubcategoryDefinition) UnmarshalJSON ¶
func (c *ConstAppSubcategoryDefinition) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstAppSubcategoryDefinition. It customizes the JSON unmarshaling process for ConstAppSubcategoryDefinition objects.
type ConstApplicationDefinition ¶
type ConstApplicationDefinition struct {
AppId *bool `json:"app_id,omitempty"`
AppImageUrl *string `json:"app_image_url,omitempty"`
AppProbe *bool `json:"app_probe,omitempty"`
Category *string `json:"category,omitempty"`
Group *string `json:"group,omitempty"`
Key *string `json:"key,omitempty"`
Name *string `json:"name,omitempty"`
SignatureBased *bool `json:"signature_based,omitempty"`
SsrAppId *bool `json:"ssr_app_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstApplicationDefinition represents a ConstApplicationDefinition struct.
func (ConstApplicationDefinition) MarshalJSON ¶
func (c ConstApplicationDefinition) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstApplicationDefinition. It customizes the JSON marshaling process for ConstApplicationDefinition objects.
func (ConstApplicationDefinition) String ¶ added in v0.4.23
func (c ConstApplicationDefinition) String() string
String implements the fmt.Stringer interface for ConstApplicationDefinition, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstApplicationDefinition) UnmarshalJSON ¶
func (c *ConstApplicationDefinition) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstApplicationDefinition. It customizes the JSON unmarshaling process for ConstApplicationDefinition objects.
type ConstCountry ¶
type ConstCountry struct {
// Country code, in two-character
Alpha2 string `json:"alpha2"`
Certified bool `json:"certified"`
Name string `json:"name"`
// Country code, ISO 3166-1 numeric
Numeric float64 `json:"numeric"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstCountry represents a ConstCountry struct.
func (ConstCountry) MarshalJSON ¶
func (c ConstCountry) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstCountry. It customizes the JSON marshaling process for ConstCountry objects.
func (ConstCountry) String ¶ added in v0.4.23
func (c ConstCountry) String() string
String implements the fmt.Stringer interface for ConstCountry, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstCountry) UnmarshalJSON ¶
func (c *ConstCountry) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstCountry. It customizes the JSON unmarshaling process for ConstCountry objects.
type ConstDeviceAp ¶
type ConstDeviceAp struct {
ApType string `json:"ap_type"`
Band24 *ConstDeviceApBand24 `json:"band24,omitempty"`
Band5 *ConstDeviceApBand5 `json:"band5,omitempty"`
Band6 *ConstDeviceApBand5 `json:"band6,omitempty"`
Band24Usages []ConstDeviceApBand24UsageEnum `json:"band_24_usages,omitempty"`
CeDfsOk *bool `json:"ce_dfs_ok,omitempty"`
CiscoPace *bool `json:"cisco_pace,omitempty"`
Description *string `json:"description,omitempty"`
// Property key is a list of country codes (e.g. "GB, DE")
DisallowedChannels map[string][]int `json:"disallowed_channels,omitempty"`
Display *string `json:"display,omitempty"`
// Property key is the GPIO port name (e.g. "D0", "A1")
Extio map[string]ConstDeviceApExtios `json:"extio,omitempty"`
FccDfsOk *bool `json:"fcc_dfs_ok,omitempty"`
Has11ax *bool `json:"has_11ax,omitempty"`
HasCompass *bool `json:"has_compass,omitempty"`
HasExtAnt *bool `json:"has_ext_ant,omitempty"`
HasExtio *bool `json:"has_extio,omitempty"`
HasHeight *bool `json:"has_height,omitempty"`
HasModulePort *bool `json:"has_module_port,omitempty"`
HasPoeOut *bool `json:"has_poe_out,omitempty"`
HasScanningRadio *bool `json:"has_scanning_radio,omitempty"`
HasSelectableRadio *bool `json:"has_selectable_radio,omitempty"`
HasUsb *bool `json:"has_usb,omitempty"`
HasVble *bool `json:"has_vble,omitempty"`
HasWifiBand24 *bool `json:"has_wifi_band24,omitempty"`
HasWifiBand5 *bool `json:"has_wifi_band5,omitempty"`
HasWifiBand6 *bool `json:"has_wifi_band6,omitempty"`
MaxPoeOut *int `json:"max_poe_out,omitempty"`
MaxWlans *int `json:"max_wlans,omitempty"`
Model *string `json:"model,omitempty"`
OtherDfsOk *bool `json:"other_dfs_ok,omitempty"`
Outdoor *bool `json:"outdoor,omitempty"`
// Property key is the radio number (e.g. r0, r1, ...). Property value is the RF band (e.g. "24", "5", ...)
Radios map[string]string `json:"radios,omitempty"`
// Device Type. enum: `ap`
Type string `json:"type"`
Unmanaged *bool `json:"unmanaged,omitempty"`
Vble *ConstDeviceApVble `json:"vble,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstDeviceAp represents a ConstDeviceAp struct.
func (ConstDeviceAp) MarshalJSON ¶
func (c ConstDeviceAp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstDeviceAp. It customizes the JSON marshaling process for ConstDeviceAp objects.
func (ConstDeviceAp) String ¶ added in v0.4.23
func (c ConstDeviceAp) String() string
String implements the fmt.Stringer interface for ConstDeviceAp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstDeviceAp) UnmarshalJSON ¶
func (c *ConstDeviceAp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstDeviceAp. It customizes the JSON unmarshaling process for ConstDeviceAp objects.
type ConstDeviceApBand24 ¶
type ConstDeviceApBand24 struct {
Band5ChannelsOp *string `json:"band5_channels_op,omitempty"`
MaxClients *int `json:"max_clients,omitempty"`
MaxPower *int `json:"max_power,omitempty"`
MinPower *int `json:"min_power,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstDeviceApBand24 represents a ConstDeviceApBand24 struct.
func (ConstDeviceApBand24) MarshalJSON ¶
func (c ConstDeviceApBand24) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstDeviceApBand24. It customizes the JSON marshaling process for ConstDeviceApBand24 objects.
func (ConstDeviceApBand24) String ¶ added in v0.4.23
func (c ConstDeviceApBand24) String() string
String implements the fmt.Stringer interface for ConstDeviceApBand24, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstDeviceApBand24) UnmarshalJSON ¶
func (c *ConstDeviceApBand24) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstDeviceApBand24. It customizes the JSON unmarshaling process for ConstDeviceApBand24 objects.
type ConstDeviceApBand24UsageEnum ¶ added in v0.4.18
type ConstDeviceApBand24UsageEnum string
ConstDeviceApBand24UsageEnum is a string enum. enum: `24`, `5`, `6`
const ( ConstDeviceApBand24UsageEnum_ENUM24 ConstDeviceApBand24UsageEnum = "24" ConstDeviceApBand24UsageEnum_ENUM5 ConstDeviceApBand24UsageEnum = "5" ConstDeviceApBand24UsageEnum_ENUM6 ConstDeviceApBand24UsageEnum = "6" )
type ConstDeviceApBand5 ¶
type ConstDeviceApBand5 struct {
MaxClients *int `json:"max_clients,omitempty"`
MaxPower *int `json:"max_power,omitempty"`
MinPower *int `json:"min_power,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstDeviceApBand5 represents a ConstDeviceApBand5 struct.
func (ConstDeviceApBand5) MarshalJSON ¶
func (c ConstDeviceApBand5) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstDeviceApBand5. It customizes the JSON marshaling process for ConstDeviceApBand5 objects.
func (ConstDeviceApBand5) String ¶ added in v0.4.23
func (c ConstDeviceApBand5) String() string
String implements the fmt.Stringer interface for ConstDeviceApBand5, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstDeviceApBand5) UnmarshalJSON ¶
func (c *ConstDeviceApBand5) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstDeviceApBand5. It customizes the JSON unmarshaling process for ConstDeviceApBand5 objects.
type ConstDeviceApExtios ¶
type ConstDeviceApExtios struct {
// enum: `IN`, `OUT`
DefaultDir *ConstDeviceApExtiosDefaultDirEnum `json:"default_dir,omitempty"`
Input *bool `json:"input,omitempty"`
Output *bool `json:"output,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstDeviceApExtios represents a ConstDeviceApExtios struct.
func (ConstDeviceApExtios) MarshalJSON ¶
func (c ConstDeviceApExtios) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstDeviceApExtios. It customizes the JSON marshaling process for ConstDeviceApExtios objects.
func (ConstDeviceApExtios) String ¶ added in v0.4.23
func (c ConstDeviceApExtios) String() string
String implements the fmt.Stringer interface for ConstDeviceApExtios, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstDeviceApExtios) UnmarshalJSON ¶
func (c *ConstDeviceApExtios) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstDeviceApExtios. It customizes the JSON unmarshaling process for ConstDeviceApExtios objects.
type ConstDeviceApExtiosDefaultDirEnum ¶
type ConstDeviceApExtiosDefaultDirEnum string
ConstDeviceApExtiosDefaultDirEnum is a string enum. enum: `IN`, `OUT`
const ( ConstDeviceApExtiosDefaultDirEnum_IN ConstDeviceApExtiosDefaultDirEnum = "IN" ConstDeviceApExtiosDefaultDirEnum_OUT ConstDeviceApExtiosDefaultDirEnum = "OUT" )
type ConstDeviceApVble ¶
type ConstDeviceApVble struct {
BeaconRate *int `json:"beacon_rate,omitempty"`
Beams *int `json:"beams,omitempty"`
Power *int `json:"power,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstDeviceApVble represents a ConstDeviceApVble struct.
func (ConstDeviceApVble) MarshalJSON ¶
func (c ConstDeviceApVble) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstDeviceApVble. It customizes the JSON marshaling process for ConstDeviceApVble objects.
func (ConstDeviceApVble) String ¶ added in v0.4.23
func (c ConstDeviceApVble) String() string
String implements the fmt.Stringer interface for ConstDeviceApVble, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstDeviceApVble) UnmarshalJSON ¶
func (c *ConstDeviceApVble) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstDeviceApVble. It customizes the JSON unmarshaling process for ConstDeviceApVble objects.
type ConstDeviceGateway ¶
type ConstDeviceGateway struct {
// Object Key is the interface type name (e.g. "lan_ports", "wan_ports", ...)
Defaults map[string]string `json:"defaults,omitempty"`
Description *string `json:"description,omitempty"`
Experimental *bool `json:"experimental,omitempty"`
FansPluggable *bool `json:"fans_pluggable,omitempty"`
HaNode0Fpc *int `json:"ha_node0_fpc,omitempty"`
HaNode1Fpc *int `json:"ha_node1_fpc,omitempty"`
HasBgp *bool `json:"has_bgp,omitempty"`
HasFxp0 *bool `json:"has_fxp0,omitempty"`
HasHaControl *bool `json:"has_ha_control,omitempty"`
HasHaData *bool `json:"has_ha_data,omitempty"`
HasIrb *bool `json:"has_irb,omitempty"`
HasPoeOut *bool `json:"has_poe_out,omitempty"`
HasSnapshot *bool `json:"has_snapshot,omitempty"`
IrbDisabledByDefault *bool `json:"irb_disabled_by_default,omitempty"`
Model *string `json:"model,omitempty"`
NumberFans *int `json:"number_fans,omitempty"`
OcDevice *bool `json:"oc_device,omitempty"`
// Object Key is the PIC number
Pic map[string]string `json:"pic,omitempty"`
// Object Key is the interface name (e.g. "ge-0/0/1", ...)
Ports *ConstDeviceGatewayPorts `json:"ports,omitempty"`
SubRequired *string `json:"sub_required,omitempty"`
T128Device *bool `json:"t128_device,omitempty"`
// Device Type. enum: `gateway`
Type string `json:"type"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstDeviceGateway represents a ConstDeviceGateway struct.
func (ConstDeviceGateway) MarshalJSON ¶
func (c ConstDeviceGateway) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstDeviceGateway. It customizes the JSON marshaling process for ConstDeviceGateway objects.
func (ConstDeviceGateway) String ¶ added in v0.4.23
func (c ConstDeviceGateway) String() string
String implements the fmt.Stringer interface for ConstDeviceGateway, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstDeviceGateway) UnmarshalJSON ¶
func (c *ConstDeviceGateway) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstDeviceGateway. It customizes the JSON unmarshaling process for ConstDeviceGateway objects.
type ConstDeviceGatewayPorts ¶
type ConstDeviceGatewayPorts struct {
Display *string `json:"display,omitempty"`
PciAddress *string `json:"pci_address,omitempty"`
Speed *int `json:"speed,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstDeviceGatewayPorts represents a ConstDeviceGatewayPorts struct. Object Key is the interface name (e.g. "ge-0/0/1", ...)
func (ConstDeviceGatewayPorts) MarshalJSON ¶
func (c ConstDeviceGatewayPorts) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstDeviceGatewayPorts. It customizes the JSON marshaling process for ConstDeviceGatewayPorts objects.
func (ConstDeviceGatewayPorts) String ¶ added in v0.4.23
func (c ConstDeviceGatewayPorts) String() string
String implements the fmt.Stringer interface for ConstDeviceGatewayPorts, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstDeviceGatewayPorts) UnmarshalJSON ¶
func (c *ConstDeviceGatewayPorts) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstDeviceGatewayPorts. It customizes the JSON unmarshaling process for ConstDeviceGatewayPorts objects.
type ConstDeviceModel ¶
type ConstDeviceModel struct {
// contains filtered or unexported fields
}
ConstDeviceModel represents a ConstDeviceModel struct.
func (*ConstDeviceModel) AsConstDeviceAp ¶ added in v0.3.0
func (c *ConstDeviceModel) AsConstDeviceAp() ( *ConstDeviceAp, bool)
func (*ConstDeviceModel) AsConstDeviceGateway ¶ added in v0.3.0
func (c *ConstDeviceModel) AsConstDeviceGateway() ( *ConstDeviceGateway, bool)
func (*ConstDeviceModel) AsConstDeviceSwitch ¶ added in v0.3.0
func (c *ConstDeviceModel) AsConstDeviceSwitch() ( *ConstDeviceSwitch, bool)
func (ConstDeviceModel) MarshalJSON ¶
func (c ConstDeviceModel) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstDeviceModel. It customizes the JSON marshaling process for ConstDeviceModel objects.
func (ConstDeviceModel) String ¶ added in v0.3.0
func (c ConstDeviceModel) String() string
String implements the fmt.Stringer interface for ConstDeviceModel, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstDeviceModel) UnmarshalJSON ¶
func (c *ConstDeviceModel) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstDeviceModel. It customizes the JSON unmarshaling process for ConstDeviceModel objects.
type ConstDeviceSwitch ¶
type ConstDeviceSwitch struct {
Alias *string `json:"alias,omitempty"`
Defaults *ConstDeviceSwitchDefault `json:"defaults,omitempty"`
Description *string `json:"description,omitempty"`
Display *string `json:"display,omitempty"`
EvolvedOs *bool `json:"evolved_os,omitempty"`
EvpnRiType *string `json:"evpn_ri_type,omitempty"`
Experimental *bool `json:"experimental,omitempty"`
FansPluggable *bool `json:"fans_pluggable,omitempty"`
HasBgp *bool `json:"has_bgp,omitempty"`
HasEts *bool `json:"has_ets,omitempty"`
HasEvpn *bool `json:"has_evpn,omitempty"`
HasIrb *bool `json:"has_irb,omitempty"`
HasPoeOut *bool `json:"has_poe_out,omitempty"`
HasSnapshot *bool `json:"has_snapshot,omitempty"`
HasVc *bool `json:"has_vc,omitempty"`
Model *string `json:"model,omitempty"`
Modular *bool `json:"modular,omitempty"`
NoShapingRate *bool `json:"no_shaping_rate,omitempty"`
NumberFans *int `json:"number_fans,omitempty"`
OcDevice *bool `json:"oc_device,omitempty"`
OobInterface *string `json:"oob_interface,omitempty"`
PacketActionDropOnly *bool `json:"packet_action_drop_only,omitempty"`
// Object Key is the PIC number
Pic map[string]string `json:"pic,omitempty"`
SubRequired *string `json:"sub_required,omitempty"`
// Device Type. enum: `switch`
Type string `json:"type"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstDeviceSwitch represents a ConstDeviceSwitch struct.
func (ConstDeviceSwitch) MarshalJSON ¶
func (c ConstDeviceSwitch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstDeviceSwitch. It customizes the JSON marshaling process for ConstDeviceSwitch objects.
func (ConstDeviceSwitch) String ¶ added in v0.4.23
func (c ConstDeviceSwitch) String() string
String implements the fmt.Stringer interface for ConstDeviceSwitch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstDeviceSwitch) UnmarshalJSON ¶
func (c *ConstDeviceSwitch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstDeviceSwitch. It customizes the JSON unmarshaling process for ConstDeviceSwitch objects.
type ConstDeviceSwitchDefault ¶
type ConstDeviceSwitchDefault struct {
Ports *string `json:"_ports,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstDeviceSwitchDefault represents a ConstDeviceSwitchDefault struct.
func (ConstDeviceSwitchDefault) MarshalJSON ¶
func (c ConstDeviceSwitchDefault) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstDeviceSwitchDefault. It customizes the JSON marshaling process for ConstDeviceSwitchDefault objects.
func (ConstDeviceSwitchDefault) String ¶ added in v0.4.23
func (c ConstDeviceSwitchDefault) String() string
String implements the fmt.Stringer interface for ConstDeviceSwitchDefault, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstDeviceSwitchDefault) UnmarshalJSON ¶
func (c *ConstDeviceSwitchDefault) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstDeviceSwitchDefault. It customizes the JSON unmarshaling process for ConstDeviceSwitchDefault objects.
type ConstDeviceTypeApEnum ¶ added in v0.3.15
type ConstDeviceTypeApEnum string
ConstDeviceTypeApEnum is a string enum. Device Type. enum: `ap`
const (
ConstDeviceTypeApEnum_AP ConstDeviceTypeApEnum = "ap"
)
type ConstDeviceTypeGatewayEnum ¶ added in v0.3.15
type ConstDeviceTypeGatewayEnum string
ConstDeviceTypeGatewayEnum is a string enum. Device Type. enum: `gateway`
const (
ConstDeviceTypeGatewayEnum_GATEWAY ConstDeviceTypeGatewayEnum = "gateway"
)
type ConstDeviceTypeSwitchEnum ¶ added in v0.3.15
type ConstDeviceTypeSwitchEnum string
ConstDeviceTypeSwitchEnum is a string enum. Device Type. enum: `switch`
const (
ConstDeviceTypeSwitchEnum_ENUMSWITCH ConstDeviceTypeSwitchEnum = "switch"
)
type ConstEvent ¶
type ConstEvent struct {
Description *string `json:"description,omitempty"`
Display string `json:"display"`
Example *interface{} `json:"example,omitempty"`
Group *string `json:"group,omitempty"`
Key string `json:"key"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstEvent represents a ConstEvent struct.
func (ConstEvent) MarshalJSON ¶
func (c ConstEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstEvent. It customizes the JSON marshaling process for ConstEvent objects.
func (ConstEvent) String ¶ added in v0.4.23
func (c ConstEvent) String() string
String implements the fmt.Stringer interface for ConstEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstEvent) UnmarshalJSON ¶
func (c *ConstEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstEvent. It customizes the JSON unmarshaling process for ConstEvent objects.
type ConstFingerprintTypes ¶ added in v0.4.54
type ConstFingerprintTypes struct {
Family []string `json:"family,omitempty"`
Mfg []string `json:"mfg,omitempty"`
Model []string `json:"model,omitempty"`
Os []string `json:"os,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstFingerprintTypes represents a ConstFingerprintTypes struct.
func (ConstFingerprintTypes) MarshalJSON ¶ added in v0.4.54
func (c ConstFingerprintTypes) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstFingerprintTypes. It customizes the JSON marshaling process for ConstFingerprintTypes objects.
func (ConstFingerprintTypes) String ¶ added in v0.4.54
func (c ConstFingerprintTypes) String() string
String implements the fmt.Stringer interface for ConstFingerprintTypes, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstFingerprintTypes) UnmarshalJSON ¶ added in v0.4.54
func (c *ConstFingerprintTypes) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstFingerprintTypes. It customizes the JSON unmarshaling process for ConstFingerprintTypes objects.
type ConstGatewayApplicationsDefinition ¶
type ConstGatewayApplicationsDefinition struct {
AppId *bool `json:"app_id,omitempty"`
Key *string `json:"key,omitempty"`
Name *string `json:"name,omitempty"`
SsrAppId *bool `json:"ssr_app_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstGatewayApplicationsDefinition represents a ConstGatewayApplicationsDefinition struct.
func (ConstGatewayApplicationsDefinition) MarshalJSON ¶
func (c ConstGatewayApplicationsDefinition) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstGatewayApplicationsDefinition. It customizes the JSON marshaling process for ConstGatewayApplicationsDefinition objects.
func (ConstGatewayApplicationsDefinition) String ¶ added in v0.4.23
func (c ConstGatewayApplicationsDefinition) String() string
String implements the fmt.Stringer interface for ConstGatewayApplicationsDefinition, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstGatewayApplicationsDefinition) UnmarshalJSON ¶
func (c *ConstGatewayApplicationsDefinition) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstGatewayApplicationsDefinition. It customizes the JSON unmarshaling process for ConstGatewayApplicationsDefinition objects.
type ConstInsightMetricsProperty ¶
type ConstInsightMetricsProperty struct {
Ctype []string `json:"ctype,omitempty"`
Description *string `json:"description,omitempty"`
Example *ConstInsightMetricsPropertyExampleAnyOf2 `json:"example,omitempty"`
// Property key is the interval (e.g. 10m, 1h, ...)
Intervals map[string]ConstInsightMetricsPropertyInterval `json:"intervals,omitempty"`
Keys *interface{} `json:"keys,omitempty"`
// Property key is the parameter name
Params map[string]ConstInsightMetricsPropertyParam `json:"params,omitempty"`
// Property key is the duration (e.g. 1d, 1w, ...)
ReportDurations map[string]ConstInsightMetricsPropertyReportDuration `json:"report_durations,omitempty"`
ReportScopes []string `json:"report_scopes,omitempty"`
Scopes []ConstInsightMetricsPropertyScopeEnum `json:"scopes,omitempty"`
SleBaselined *bool `json:"sle_baselined,omitempty"`
SleClassifiers []string `json:"sle_classifiers,omitempty"`
Type *string `json:"type,omitempty"`
Unit *string `json:"unit,omitempty"`
Values *interface{} `json:"values,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstInsightMetricsProperty represents a ConstInsightMetricsProperty struct.
func (ConstInsightMetricsProperty) MarshalJSON ¶
func (c ConstInsightMetricsProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstInsightMetricsProperty. It customizes the JSON marshaling process for ConstInsightMetricsProperty objects.
func (ConstInsightMetricsProperty) String ¶ added in v0.4.23
func (c ConstInsightMetricsProperty) String() string
String implements the fmt.Stringer interface for ConstInsightMetricsProperty, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstInsightMetricsProperty) UnmarshalJSON ¶
func (c *ConstInsightMetricsProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstInsightMetricsProperty. It customizes the JSON unmarshaling process for ConstInsightMetricsProperty objects.
type ConstInsightMetricsPropertyExample ¶
type ConstInsightMetricsPropertyExample struct {
// contains filtered or unexported fields
}
ConstInsightMetricsPropertyExample represents a ConstInsightMetricsPropertyExample struct.
func (*ConstInsightMetricsPropertyExample) AsBoolean ¶
func (c *ConstInsightMetricsPropertyExample) AsBoolean() ( *bool, bool)
func (*ConstInsightMetricsPropertyExample) AsNumber ¶
func (c *ConstInsightMetricsPropertyExample) AsNumber() ( *int, bool)
func (*ConstInsightMetricsPropertyExample) AsObject ¶ added in v0.4.94
func (c *ConstInsightMetricsPropertyExample) AsObject() ( *interface{}, bool)
func (*ConstInsightMetricsPropertyExample) AsPrecision ¶
func (c *ConstInsightMetricsPropertyExample) AsPrecision() ( *float64, bool)
func (*ConstInsightMetricsPropertyExample) AsString ¶
func (c *ConstInsightMetricsPropertyExample) AsString() ( *string, bool)
func (ConstInsightMetricsPropertyExample) MarshalJSON ¶
func (c ConstInsightMetricsPropertyExample) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstInsightMetricsPropertyExample. It customizes the JSON marshaling process for ConstInsightMetricsPropertyExample objects.
func (ConstInsightMetricsPropertyExample) String ¶
func (c ConstInsightMetricsPropertyExample) String() string
String implements the fmt.Stringer interface for ConstInsightMetricsPropertyExample, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstInsightMetricsPropertyExample) UnmarshalJSON ¶
func (c *ConstInsightMetricsPropertyExample) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstInsightMetricsPropertyExample. It customizes the JSON unmarshaling process for ConstInsightMetricsPropertyExample objects.
type ConstInsightMetricsPropertyExampleAnyOf ¶ added in v0.4.94
type ConstInsightMetricsPropertyExampleAnyOf struct {
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstInsightMetricsPropertyExampleAnyOf represents a ConstInsightMetricsPropertyExampleAnyOf struct.
func (ConstInsightMetricsPropertyExampleAnyOf) MarshalJSON ¶ added in v0.4.94
func (c ConstInsightMetricsPropertyExampleAnyOf) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstInsightMetricsPropertyExampleAnyOf. It customizes the JSON marshaling process for ConstInsightMetricsPropertyExampleAnyOf objects.
func (ConstInsightMetricsPropertyExampleAnyOf) String ¶ added in v0.4.94
func (c ConstInsightMetricsPropertyExampleAnyOf) String() string
String implements the fmt.Stringer interface for ConstInsightMetricsPropertyExampleAnyOf, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstInsightMetricsPropertyExampleAnyOf) UnmarshalJSON ¶ added in v0.4.94
func (c *ConstInsightMetricsPropertyExampleAnyOf) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstInsightMetricsPropertyExampleAnyOf. It customizes the JSON unmarshaling process for ConstInsightMetricsPropertyExampleAnyOf objects.
type ConstInsightMetricsPropertyExampleAnyOf2 ¶ added in v0.4.94
type ConstInsightMetricsPropertyExampleAnyOf2 struct {
// contains filtered or unexported fields
}
ConstInsightMetricsPropertyExampleAnyOf2 represents a ConstInsightMetricsPropertyExampleAnyOf2 struct.
func (*ConstInsightMetricsPropertyExampleAnyOf2) AsArrayOfConstInsightMetricsPropertyExample ¶ added in v0.4.94
func (c *ConstInsightMetricsPropertyExampleAnyOf2) AsArrayOfConstInsightMetricsPropertyExample() ( *[]ConstInsightMetricsPropertyExample, bool)
func (*ConstInsightMetricsPropertyExampleAnyOf2) AsMapOfArrayOfConstInsightMetricsPropertyExamplesObject ¶ added in v0.4.94
func (c *ConstInsightMetricsPropertyExampleAnyOf2) AsMapOfArrayOfConstInsightMetricsPropertyExamplesObject() ( *map[string][]ConstInsightMetricsPropertyExamplesObject, bool)
func (ConstInsightMetricsPropertyExampleAnyOf2) MarshalJSON ¶ added in v0.4.94
func (c ConstInsightMetricsPropertyExampleAnyOf2) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstInsightMetricsPropertyExampleAnyOf2. It customizes the JSON marshaling process for ConstInsightMetricsPropertyExampleAnyOf2 objects.
func (ConstInsightMetricsPropertyExampleAnyOf2) String ¶ added in v0.4.94
func (c ConstInsightMetricsPropertyExampleAnyOf2) String() string
String implements the fmt.Stringer interface for ConstInsightMetricsPropertyExampleAnyOf2, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstInsightMetricsPropertyExampleAnyOf2) UnmarshalJSON ¶ added in v0.4.94
func (c *ConstInsightMetricsPropertyExampleAnyOf2) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstInsightMetricsPropertyExampleAnyOf2. It customizes the JSON unmarshaling process for ConstInsightMetricsPropertyExampleAnyOf2 objects.
type ConstInsightMetricsPropertyExamplesObject ¶ added in v0.4.94
type ConstInsightMetricsPropertyExamplesObject struct {
// contains filtered or unexported fields
}
ConstInsightMetricsPropertyExamplesObject represents a ConstInsightMetricsPropertyExamplesObject struct. Object containing named fields, each with array of example values
func (*ConstInsightMetricsPropertyExamplesObject) AsBoolean ¶ added in v0.4.94
func (c *ConstInsightMetricsPropertyExamplesObject) AsBoolean() ( *bool, bool)
func (*ConstInsightMetricsPropertyExamplesObject) AsNumber ¶ added in v0.4.94
func (c *ConstInsightMetricsPropertyExamplesObject) AsNumber() ( *int, bool)
func (*ConstInsightMetricsPropertyExamplesObject) AsObject ¶ added in v0.4.94
func (c *ConstInsightMetricsPropertyExamplesObject) AsObject() ( *interface{}, bool)
func (*ConstInsightMetricsPropertyExamplesObject) AsPrecision ¶ added in v0.4.94
func (c *ConstInsightMetricsPropertyExamplesObject) AsPrecision() ( *float64, bool)
func (*ConstInsightMetricsPropertyExamplesObject) AsString ¶ added in v0.4.94
func (c *ConstInsightMetricsPropertyExamplesObject) AsString() ( *string, bool)
func (ConstInsightMetricsPropertyExamplesObject) MarshalJSON ¶ added in v0.4.94
func (c ConstInsightMetricsPropertyExamplesObject) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstInsightMetricsPropertyExamplesObject. It customizes the JSON marshaling process for ConstInsightMetricsPropertyExamplesObject objects.
func (ConstInsightMetricsPropertyExamplesObject) String ¶ added in v0.4.94
func (c ConstInsightMetricsPropertyExamplesObject) String() string
String implements the fmt.Stringer interface for ConstInsightMetricsPropertyExamplesObject, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstInsightMetricsPropertyExamplesObject) UnmarshalJSON ¶ added in v0.4.94
func (c *ConstInsightMetricsPropertyExamplesObject) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstInsightMetricsPropertyExamplesObject. It customizes the JSON unmarshaling process for ConstInsightMetricsPropertyExamplesObject objects.
type ConstInsightMetricsPropertyInterval ¶
type ConstInsightMetricsPropertyInterval struct {
Interval *int `json:"interval,omitempty"`
MaxAge *int `json:"max_age,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstInsightMetricsPropertyInterval represents a ConstInsightMetricsPropertyInterval struct.
func (ConstInsightMetricsPropertyInterval) MarshalJSON ¶
func (c ConstInsightMetricsPropertyInterval) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstInsightMetricsPropertyInterval. It customizes the JSON marshaling process for ConstInsightMetricsPropertyInterval objects.
func (ConstInsightMetricsPropertyInterval) String ¶ added in v0.4.23
func (c ConstInsightMetricsPropertyInterval) String() string
String implements the fmt.Stringer interface for ConstInsightMetricsPropertyInterval, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstInsightMetricsPropertyInterval) UnmarshalJSON ¶
func (c *ConstInsightMetricsPropertyInterval) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstInsightMetricsPropertyInterval. It customizes the JSON unmarshaling process for ConstInsightMetricsPropertyInterval objects.
type ConstInsightMetricsPropertyParam ¶
type ConstInsightMetricsPropertyParam struct {
Required *bool `json:"required,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstInsightMetricsPropertyParam represents a ConstInsightMetricsPropertyParam struct.
func (ConstInsightMetricsPropertyParam) MarshalJSON ¶
func (c ConstInsightMetricsPropertyParam) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstInsightMetricsPropertyParam. It customizes the JSON marshaling process for ConstInsightMetricsPropertyParam objects.
func (ConstInsightMetricsPropertyParam) String ¶ added in v0.4.23
func (c ConstInsightMetricsPropertyParam) String() string
String implements the fmt.Stringer interface for ConstInsightMetricsPropertyParam, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstInsightMetricsPropertyParam) UnmarshalJSON ¶
func (c *ConstInsightMetricsPropertyParam) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstInsightMetricsPropertyParam. It customizes the JSON unmarshaling process for ConstInsightMetricsPropertyParam objects.
type ConstInsightMetricsPropertyReportDuration ¶
type ConstInsightMetricsPropertyReportDuration struct {
Duration *int `json:"duration,omitempty"`
Interval *int `json:"interval,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstInsightMetricsPropertyReportDuration represents a ConstInsightMetricsPropertyReportDuration struct.
func (ConstInsightMetricsPropertyReportDuration) MarshalJSON ¶
func (c ConstInsightMetricsPropertyReportDuration) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstInsightMetricsPropertyReportDuration. It customizes the JSON marshaling process for ConstInsightMetricsPropertyReportDuration objects.
func (ConstInsightMetricsPropertyReportDuration) String ¶ added in v0.4.23
func (c ConstInsightMetricsPropertyReportDuration) String() string
String implements the fmt.Stringer interface for ConstInsightMetricsPropertyReportDuration, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstInsightMetricsPropertyReportDuration) UnmarshalJSON ¶
func (c *ConstInsightMetricsPropertyReportDuration) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstInsightMetricsPropertyReportDuration. It customizes the JSON unmarshaling process for ConstInsightMetricsPropertyReportDuration objects.
type ConstInsightMetricsPropertyScopeEnum ¶
type ConstInsightMetricsPropertyScopeEnum string
ConstInsightMetricsPropertyScopeEnum is a string enum. enum: `ap`, `client`, `device`, `gateway`, `map`, `msp`, `mxcluster`, `mxedge`, `org`, `otherdevice`, `rssizone`, `sdkclient`, `site`, `switch`, `wlan`, `zone`
const ( ConstInsightMetricsPropertyScopeEnum_AP ConstInsightMetricsPropertyScopeEnum = "ap" ConstInsightMetricsPropertyScopeEnum_CLIENT ConstInsightMetricsPropertyScopeEnum = "client" ConstInsightMetricsPropertyScopeEnum_DEVICE ConstInsightMetricsPropertyScopeEnum = "device" ConstInsightMetricsPropertyScopeEnum_GATEWAY ConstInsightMetricsPropertyScopeEnum = "gateway" ConstInsightMetricsPropertyScopeEnum_ENUMMAP ConstInsightMetricsPropertyScopeEnum = "map" ConstInsightMetricsPropertyScopeEnum_MSP ConstInsightMetricsPropertyScopeEnum = "msp" ConstInsightMetricsPropertyScopeEnum_MXCLUSTER ConstInsightMetricsPropertyScopeEnum = "mxcluster" ConstInsightMetricsPropertyScopeEnum_MXEDGE ConstInsightMetricsPropertyScopeEnum = "mxedge" ConstInsightMetricsPropertyScopeEnum_ORG ConstInsightMetricsPropertyScopeEnum = "org" ConstInsightMetricsPropertyScopeEnum_OTHERDEVICE ConstInsightMetricsPropertyScopeEnum = "otherdevice" ConstInsightMetricsPropertyScopeEnum_RSSIZONE ConstInsightMetricsPropertyScopeEnum = "rssizone" ConstInsightMetricsPropertyScopeEnum_SDKCLIENT ConstInsightMetricsPropertyScopeEnum = "sdkclient" ConstInsightMetricsPropertyScopeEnum_SITE ConstInsightMetricsPropertyScopeEnum = "site" ConstInsightMetricsPropertyScopeEnum_ENUMSWITCH ConstInsightMetricsPropertyScopeEnum = "switch" ConstInsightMetricsPropertyScopeEnum_WLAN ConstInsightMetricsPropertyScopeEnum = "wlan" ConstInsightMetricsPropertyScopeEnum_ZONE ConstInsightMetricsPropertyScopeEnum = "zone" )
type ConstLanguage ¶
type ConstLanguage struct {
Display string `json:"display"`
DisplayNative string `json:"display_native"`
Key string `json:"key"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstLanguage represents a ConstLanguage struct.
func (ConstLanguage) MarshalJSON ¶
func (c ConstLanguage) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstLanguage. It customizes the JSON marshaling process for ConstLanguage objects.
func (ConstLanguage) String ¶ added in v0.4.23
func (c ConstLanguage) String() string
String implements the fmt.Stringer interface for ConstLanguage, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstLanguage) UnmarshalJSON ¶
func (c *ConstLanguage) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstLanguage. It customizes the JSON unmarshaling process for ConstLanguage objects.
type ConstLicenseType ¶
type ConstLicenseType struct {
Description *string `json:"description,omitempty"`
Includes []string `json:"includes,omitempty"`
Key *string `json:"key,omitempty"`
Name *string `json:"name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstLicenseType represents a ConstLicenseType struct.
func (ConstLicenseType) MarshalJSON ¶
func (c ConstLicenseType) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstLicenseType. It customizes the JSON marshaling process for ConstLicenseType objects.
func (ConstLicenseType) String ¶ added in v0.4.23
func (c ConstLicenseType) String() string
String implements the fmt.Stringer interface for ConstLicenseType, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstLicenseType) UnmarshalJSON ¶
func (c *ConstLicenseType) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstLicenseType. It customizes the JSON unmarshaling process for ConstLicenseType objects.
type ConstMarvisClientVersion ¶ added in v0.4.0
type ConstMarvisClientVersion struct {
Label *string `json:"label,omitempty"`
Notes *string `json:"notes,omitempty"`
// Client OS
Os *string `json:"os,omitempty"`
// Client download url
Url *string `json:"url,omitempty"`
// Client version
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstMarvisClientVersion represents a ConstMarvisClientVersion struct.
func (ConstMarvisClientVersion) MarshalJSON ¶ added in v0.4.0
func (c ConstMarvisClientVersion) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstMarvisClientVersion. It customizes the JSON marshaling process for ConstMarvisClientVersion objects.
func (ConstMarvisClientVersion) String ¶ added in v0.4.23
func (c ConstMarvisClientVersion) String() string
String implements the fmt.Stringer interface for ConstMarvisClientVersion, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstMarvisClientVersion) UnmarshalJSON ¶ added in v0.4.0
func (c *ConstMarvisClientVersion) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstMarvisClientVersion. It customizes the JSON unmarshaling process for ConstMarvisClientVersion objects.
type ConstMxedgeModel ¶
type ConstMxedgeModel struct {
CustomPorts *bool `json:"custom_ports,omitempty"`
Display *string `json:"display,omitempty"`
Model *string `json:"model,omitempty"`
Ports map[string]ConstMxedgeModelPort `json:"ports,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstMxedgeModel represents a ConstMxedgeModel struct.
func (ConstMxedgeModel) MarshalJSON ¶
func (c ConstMxedgeModel) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstMxedgeModel. It customizes the JSON marshaling process for ConstMxedgeModel objects.
func (ConstMxedgeModel) String ¶ added in v0.4.23
func (c ConstMxedgeModel) String() string
String implements the fmt.Stringer interface for ConstMxedgeModel, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstMxedgeModel) UnmarshalJSON ¶
func (c *ConstMxedgeModel) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstMxedgeModel. It customizes the JSON unmarshaling process for ConstMxedgeModel objects.
type ConstMxedgeModelPort ¶
type ConstMxedgeModelPort struct {
Display *string `json:"display,omitempty"`
Speed *int `json:"speed,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstMxedgeModelPort represents a ConstMxedgeModelPort struct.
func (ConstMxedgeModelPort) MarshalJSON ¶
func (c ConstMxedgeModelPort) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstMxedgeModelPort. It customizes the JSON marshaling process for ConstMxedgeModelPort objects.
func (ConstMxedgeModelPort) String ¶ added in v0.4.23
func (c ConstMxedgeModelPort) String() string
String implements the fmt.Stringer interface for ConstMxedgeModelPort, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstMxedgeModelPort) UnmarshalJSON ¶
func (c *ConstMxedgeModelPort) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstMxedgeModelPort. It customizes the JSON unmarshaling process for ConstMxedgeModelPort objects.
type ConstNacEvent ¶
type ConstNacEvent struct {
Ap *string `json:"ap,omitempty"`
Bssid *string `json:"bssid,omitempty"`
CertCn *string `json:"cert_cn,omitempty"`
CertExpiry *int `json:"cert_expiry,omitempty"`
CertIssuer *string `json:"cert_issuer,omitempty"`
CertSanUpn []string `json:"cert_san_upn,omitempty"`
CertSerial *string `json:"cert_serial,omitempty"`
CertSubject *string `json:"cert_subject,omitempty"`
EapType *string `json:"eap_type,omitempty"`
NasVendor *string `json:"nas_vendor,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
RandomMac *bool `json:"random_mac,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Ssid *string `json:"ssid,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
Type *string `json:"type,omitempty"`
Username *string `json:"username,omitempty"`
Wcid *uuid.UUID `json:"wcid,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstNacEvent represents a ConstNacEvent struct.
func (ConstNacEvent) MarshalJSON ¶
func (c ConstNacEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstNacEvent. It customizes the JSON marshaling process for ConstNacEvent objects.
func (ConstNacEvent) String ¶ added in v0.4.23
func (c ConstNacEvent) String() string
String implements the fmt.Stringer interface for ConstNacEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstNacEvent) UnmarshalJSON ¶
func (c *ConstNacEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstNacEvent. It customizes the JSON unmarshaling process for ConstNacEvent objects.
type ConstOtherDeviceModel ¶
type ConstOtherDeviceModel struct {
VendorModelId *string `json:"_vendor_model_id,omitempty"`
Display *string `json:"display,omitempty"`
Model *string `json:"model,omitempty"`
Type *string `json:"type,omitempty"`
Vendor *string `json:"vendor,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstOtherDeviceModel represents a ConstOtherDeviceModel struct.
func (ConstOtherDeviceModel) MarshalJSON ¶
func (c ConstOtherDeviceModel) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstOtherDeviceModel. It customizes the JSON marshaling process for ConstOtherDeviceModel objects.
func (ConstOtherDeviceModel) String ¶ added in v0.4.23
func (c ConstOtherDeviceModel) String() string
String implements the fmt.Stringer interface for ConstOtherDeviceModel, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstOtherDeviceModel) UnmarshalJSON ¶
func (c *ConstOtherDeviceModel) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstOtherDeviceModel. It customizes the JSON unmarshaling process for ConstOtherDeviceModel objects.
type ConstState ¶ added in v0.3.17
type ConstState struct {
IsoCode *string `json:"iso_code,omitempty"`
Name *string `json:"name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstState represents a ConstState struct.
func (ConstState) MarshalJSON ¶ added in v0.3.17
func (c ConstState) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstState. It customizes the JSON marshaling process for ConstState objects.
func (ConstState) String ¶ added in v0.4.23
func (c ConstState) String() string
String implements the fmt.Stringer interface for ConstState, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstState) UnmarshalJSON ¶ added in v0.3.17
func (c *ConstState) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstState. It customizes the JSON unmarshaling process for ConstState objects.
type ConstTrafficType ¶
type ConstTrafficType struct {
Display *string `json:"display,omitempty"`
Dscp *int `json:"dscp,omitempty"`
FailoverPolicy *string `json:"failover_policy,omitempty"`
MaxJitter *int `json:"max_jitter,omitempty"`
MaxLatency *int `json:"max_latency,omitempty"`
MaxLoss *int `json:"max_loss,omitempty"`
Name *string `json:"name,omitempty"`
TrafficClass *string `json:"traffic_class,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstTrafficType represents a ConstTrafficType struct.
func (ConstTrafficType) MarshalJSON ¶
func (c ConstTrafficType) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstTrafficType. It customizes the JSON marshaling process for ConstTrafficType objects.
func (ConstTrafficType) String ¶ added in v0.4.23
func (c ConstTrafficType) String() string
String implements the fmt.Stringer interface for ConstTrafficType, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstTrafficType) UnmarshalJSON ¶
func (c *ConstTrafficType) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstTrafficType. It customizes the JSON unmarshaling process for ConstTrafficType objects.
type ConstWebhookTopic ¶ added in v0.4.0
type ConstWebhookTopic struct {
// supports single event per message results
AllowsSingleEventPerMessage *bool `json:"allows_single_event_per_message,omitempty"`
// Can be used in org webhooks, optional
ForOrg *bool `json:"for_org,omitempty"`
// Supports webhook delivery results /api/v1/:scope/:scope_id/webhooks/:webhook_id/events/search
HasDeliveryResults *bool `json:"has_delivery_results,omitempty"`
// Internal topic (not selectable in site/org webhooks)
Internal *bool `json:"internal,omitempty"`
// Webhook topic name
Key *string `json:"key,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ConstWebhookTopic represents a ConstWebhookTopic struct.
func (ConstWebhookTopic) MarshalJSON ¶ added in v0.4.0
func (c ConstWebhookTopic) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstWebhookTopic. It customizes the JSON marshaling process for ConstWebhookTopic objects.
func (ConstWebhookTopic) String ¶ added in v0.4.23
func (c ConstWebhookTopic) String() string
String implements the fmt.Stringer interface for ConstWebhookTopic, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ConstWebhookTopic) UnmarshalJSON ¶ added in v0.4.0
func (c *ConstWebhookTopic) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstWebhookTopic. It customizes the JSON unmarshaling process for ConstWebhookTopic objects.
type CountOrgDevicesMxtunnelStatusEnum ¶
type CountOrgDevicesMxtunnelStatusEnum string
CountOrgDevicesMxtunnelStatusEnum is a string enum. enum: `down`, `up`
const ( CountOrgDevicesMxtunnelStatusEnum_DOWN CountOrgDevicesMxtunnelStatusEnum = "down" CountOrgDevicesMxtunnelStatusEnum_UP CountOrgDevicesMxtunnelStatusEnum = "up" )
type CountPortsAuthStateEnum ¶ added in v0.2.35
type CountPortsAuthStateEnum string
CountPortsAuthStateEnum is a string enum. enum: `authenticated`, `authenticating`, `held`, `init`
const ( CountPortsAuthStateEnum_AUTHENTICATED CountPortsAuthStateEnum = "authenticated" CountPortsAuthStateEnum_AUTHENTICATING CountPortsAuthStateEnum = "authenticating" CountPortsAuthStateEnum_HELD CountPortsAuthStateEnum = "held" CountPortsAuthStateEnum_INIT CountPortsAuthStateEnum = "init" )
type CountPortsStpRoleEnum ¶ added in v0.2.35
type CountPortsStpRoleEnum string
CountPortsStpRoleEnum is a string enum. enum: `alternate`, `backup`, `designated`, `root`, `root-prevented`
const ( CountPortsStpRoleEnum_ALTERNATE CountPortsStpRoleEnum = "alternate" CountPortsStpRoleEnum_BACKUP CountPortsStpRoleEnum = "backup" CountPortsStpRoleEnum_DESIGNATED CountPortsStpRoleEnum = "designated" CountPortsStpRoleEnum_ROOT CountPortsStpRoleEnum = "root" CountPortsStpRoleEnum_ROOTPREVENTED CountPortsStpRoleEnum = "root-prevented" )
type CountPortsStpStateEnum ¶ added in v0.2.35
type CountPortsStpStateEnum string
CountPortsStpStateEnum is a string enum. enum: `blocking`, `disabled`, `forwarding`, `learning`, `listening`
const ( CountPortsStpStateEnum_BLOCKING CountPortsStpStateEnum = "blocking" CountPortsStpStateEnum_DISABLED CountPortsStpStateEnum = "disabled" CountPortsStpStateEnum_FORWARDING CountPortsStpStateEnum = "forwarding" CountPortsStpStateEnum_LEARNING CountPortsStpStateEnum = "learning" CountPortsStpStateEnum_LISTENING CountPortsStpStateEnum = "listening" )
type CountResult ¶
type CountResult struct {
Count int `json:"count"`
AdditionalProperties map[string]string `json:"_"`
}
CountResult represents a CountResult struct.
func (CountResult) MarshalJSON ¶
func (c CountResult) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CountResult. It customizes the JSON marshaling process for CountResult objects.
func (CountResult) String ¶ added in v0.4.23
func (c CountResult) String() string
String implements the fmt.Stringer interface for CountResult, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CountResult) UnmarshalJSON ¶
func (c *CountResult) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CountResult. It customizes the JSON unmarshaling process for CountResult objects.
type CountSiteCallsDistinctEnum ¶ added in v0.4.54
type CountSiteCallsDistinctEnum string
CountSiteCallsDistinctEnum is a string enum. enum: `mac`
const (
CountSiteCallsDistinctEnum_MAC CountSiteCallsDistinctEnum = "mac"
)
type CpuStat ¶
type CpuStat struct {
// Percentage of CPU time that is idle
Idle Optional[float64] `json:"idle"`
// Percentage of CPU time being used by interrupts
Interrupt Optional[float64] `json:"interrupt"`
// Load averages for the last 1, 5, and 15 minutes
LoadAvg []float64 `json:"load_avg,omitempty"`
// Percentage of CPU time being used by system processes
System Optional[float64] `json:"system"`
// CPU usage
Usage Optional[float64] `json:"usage"`
// Percentage of CPU time being used by user processes
User Optional[float64] `json:"user"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CpuStat represents a CpuStat struct.
func (CpuStat) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for CpuStat. It customizes the JSON marshaling process for CpuStat objects.
func (CpuStat) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for CpuStat, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CpuStat) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for CpuStat. It customizes the JSON unmarshaling process for CpuStat objects.
type DayOfWeekEnum ¶
type DayOfWeekEnum string
DayOfWeekEnum is a string enum. enum: `any`, `fri`, `mon`, `sat`, `sun`, `thu`, `tue`, `wed`
const ( DayOfWeekEnum_ANY DayOfWeekEnum = "any" DayOfWeekEnum_FRI DayOfWeekEnum = "fri" DayOfWeekEnum_MON DayOfWeekEnum = "mon" DayOfWeekEnum_SAT DayOfWeekEnum = "sat" DayOfWeekEnum_SUN DayOfWeekEnum = "sun" DayOfWeekEnum_THU DayOfWeekEnum = "thu" DayOfWeekEnum_TUE DayOfWeekEnum = "tue" DayOfWeekEnum_WED DayOfWeekEnum = "wed" )
type DaysNumber ¶
type DaysNumber struct {
Days *int `json:"days,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DaysNumber represents a DaysNumber struct.
func (DaysNumber) MarshalJSON ¶
func (d DaysNumber) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DaysNumber. It customizes the JSON marshaling process for DaysNumber objects.
func (DaysNumber) String ¶ added in v0.4.23
func (d DaysNumber) String() string
String implements the fmt.Stringer interface for DaysNumber, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DaysNumber) UnmarshalJSON ¶
func (d *DaysNumber) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DaysNumber. It customizes the JSON unmarshaling process for DaysNumber objects.
type Delivery ¶
type Delivery struct {
// List of additional email string to deliver the alarms via emails
AdditionalEmails []string `json:"additional_emails,omitempty"`
// Whether to enable the alarm delivery via emails or not
Enabled bool `json:"enabled"`
// Whether to deliver the alarms via emails to Org admins or not
ToOrgAdmins *bool `json:"to_org_admins,omitempty"`
// Whether to deliver the alarms via emails to Site admins or not
ToSiteAdmins *bool `json:"to_site_admins,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Delivery represents a Delivery struct. Delivery object to configure the alarm delivery
func (Delivery) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Delivery. It customizes the JSON marshaling process for Delivery objects.
func (Delivery) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Delivery, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Delivery) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Delivery. It customizes the JSON unmarshaling process for Delivery objects.
type DeviceAp ¶
type DeviceAp struct {
// Aeroscout AP settings
Aeroscout *ApAeroscout `json:"aeroscout,omitempty"`
Airista *ApAirista `json:"airista,omitempty"`
// BLE AP settings
BleConfig *BleConfig `json:"ble_config,omitempty"`
Centrak *ApCentrak `json:"centrak,omitempty"`
ClientBridge *ApClientBridge `json:"client_bridge,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
DeviceprofileId Optional[uuid.UUID] `json:"deviceprofile_id"`
// Whether to disable eth1 port
DisableEth1 *bool `json:"disable_eth1,omitempty"`
// Whether to disable eth2 port
DisableEth2 *bool `json:"disable_eth2,omitempty"`
// Whether to disable eth3 port
DisableEth3 *bool `json:"disable_eth3,omitempty"`
// Whether to disable module port
DisableModule *bool `json:"disable_module,omitempty"`
EslConfig *ApEslConfig `json:"esl_config,omitempty"`
// For some AP models, flow_control can be enabled to address some switch compatibility issue
FlowControl *bool `json:"flow_control,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// Height, in meters, optional
Height *float64 `json:"height,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Image1Url Optional[string] `json:"image1_url"`
Image2Url Optional[string] `json:"image2_url"`
Image3Url Optional[string] `json:"image3_url"`
// IoT AP settings
IotConfig *ApIot `json:"iot_config,omitempty"`
// IP AP settings
IpConfig *ApIpConfig `json:"ip_config,omitempty"`
LacpConfig *DeviceApLacpConfig `json:"lacp_config,omitempty"`
// LED AP settings
Led *ApLed `json:"led,omitempty"`
// Whether this map is considered locked down
Locked *bool `json:"locked,omitempty"`
// Device MAC address
Mac *string `json:"mac,omitempty"`
// Map where the device belongs to
MapId *uuid.UUID `json:"map_id,omitempty"`
// Mesh AP settings
Mesh *ApMesh `json:"mesh,omitempty"`
// Device Model
Model *string `json:"model,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name *string `json:"name,omitempty"`
// Any notes about this AP
Notes *string `json:"notes,omitempty"`
NtpServers []string `json:"ntp_servers,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Orientation, 0-359, in degrees, up is 0, right is 90.
Orientation *int `json:"orientation,omitempty"`
// Whether to enable power out through module port (for APH) or eth1 (for APL/BT11)
PoePassthrough *bool `json:"poe_passthrough,omitempty"`
// eth0 is not allowed here. Property key is the interface(s) name (e.g. `eth1` or `eth1,eth2`). If spcified, this takes predecence over switch_config (switch_config requires user to configure all vlans manually, which is error-prone. thus deprecated)
PortConfig map[string]ApPortConfig `json:"port_config,omitempty"`
// Power related configs
PwrConfig *ApPwrConfig `json:"pwr_config,omitempty"`
// Radio AP settings
RadioConfig *ApRadio `json:"radio_config,omitempty"`
// Device Serial
Serial *string `json:"serial,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Device Type. enum: `ap`
Type string `json:"type"`
// AP Uplink port configuration
UplinkPortConfig *ApUplinkPortConfig `json:"uplink_port_config,omitempty"`
// USB AP settings
// - Note: if native imagotag is enabled, BLE will be disabled automatically
// - Note: legacy, new config moved to ESL Config.
UsbConfig *ApUsb `json:"usb_config,omitempty"`
// Dictionary of name->value, the vars can then be used in Wlans. This can overwrite those from Site Vars
Vars map[string]string `json:"vars,omitempty"`
// X in pixel
X *float64 `json:"x,omitempty"`
// Y in pixel
Y *float64 `json:"y,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DeviceAp represents a DeviceAp struct. AP
func (DeviceAp) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for DeviceAp. It customizes the JSON marshaling process for DeviceAp objects.
func (DeviceAp) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for DeviceAp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DeviceAp) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for DeviceAp. It customizes the JSON unmarshaling process for DeviceAp objects.
type DeviceApLacpConfig ¶ added in v0.4.54
type DeviceApLacpConfig struct {
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DeviceApLacpConfig represents a DeviceApLacpConfig struct.
func (DeviceApLacpConfig) MarshalJSON ¶ added in v0.4.54
func (d DeviceApLacpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DeviceApLacpConfig. It customizes the JSON marshaling process for DeviceApLacpConfig objects.
func (DeviceApLacpConfig) String ¶ added in v0.4.54
func (d DeviceApLacpConfig) String() string
String implements the fmt.Stringer interface for DeviceApLacpConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DeviceApLacpConfig) UnmarshalJSON ¶ added in v0.4.54
func (d *DeviceApLacpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DeviceApLacpConfig. It customizes the JSON unmarshaling process for DeviceApLacpConfig objects.
type DeviceEvent ¶ added in v0.4.94
type DeviceEvent struct {
// (will be deprecated soon; please use mac instead) ap mac
Ap *string `json:"ap,omitempty"`
// (will be deprecated soon; please use device_name instead) ap name
ApName *string `json:"ap_name,omitempty"`
Apfw *string `json:"apfw,omitempty"`
// Unique ID of the object instance in the Mist Organization
AuditId *uuid.UUID `json:"audit_id,omitempty"`
Bandwidth *int `json:"bandwidth,omitempty"`
Channel *int `json:"channel,omitempty"`
ChassisMac *string `json:"chassis_mac,omitempty"`
Count *int `json:"count,omitempty"`
// Device name
DeviceName *string `json:"device_name,omitempty"`
// enum: `ap`, `gateway`, `switch`
DeviceType *DeviceTypeEnum `json:"device_type,omitempty"`
// (optional) event advisory. enum: `notice`, `warn`
EvType *WebhookDeviceEventsEventEvTypeEnum `json:"ev_type,omitempty"`
ExtIp *string `json:"ext_ip,omitempty"`
// Device mac
Mac *string `json:"mac,omitempty"`
Model *string `json:"model,omitempty"`
Node *string `json:"node,omitempty"`
OrgId uuid.UUID `json:"org_id"`
PortId *string `json:"port_id,omitempty"`
Power *int `json:"power,omitempty"`
PreBandwidth *int `json:"pre_bandwidth,omitempty"`
PreChannel *int `json:"pre_channel,omitempty"`
PrePower *int `json:"pre_power,omitempty"`
PreUsage *int `json:"pre_usage,omitempty"`
// (optional) event reason
Reason *string `json:"reason,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Site name
SiteName *string `json:"site_name,omitempty"`
// (optional) event description
Text *string `json:"text,omitempty"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
// Event type
Type string `json:"type"`
Usage *int `json:"usage,omitempty"`
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DeviceEvent represents a DeviceEvent struct.
func (DeviceEvent) MarshalJSON ¶ added in v0.4.94
func (d DeviceEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DeviceEvent. It customizes the JSON marshaling process for DeviceEvent objects.
func (DeviceEvent) String ¶ added in v0.4.94
func (d DeviceEvent) String() string
String implements the fmt.Stringer interface for DeviceEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DeviceEvent) UnmarshalJSON ¶ added in v0.4.94
func (d *DeviceEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DeviceEvent. It customizes the JSON unmarshaling process for DeviceEvent objects.
type DeviceGateway ¶
type DeviceGateway struct {
// additional CLI commands to append to the generated Junos config. **Note**: no check is done
AdditionalConfigCmds []string `json:"additional_config_cmds,omitempty"`
BgpConfig map[string]BgpConfig `json:"bgp_config,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
DeviceprofileId *uuid.UUID `json:"deviceprofile_id,omitempty"`
DhcpdConfig *DhcpdConfig `json:"dhcpd_config,omitempty"`
// Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting
DnsServers []string `json:"dns_servers,omitempty"`
// Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting
DnsSuffix []string `json:"dns_suffix,omitempty"`
// Property key is the destination CIDR (e.g. "10.0.0.0/8"), the destination Network name or a variable (e.g. "{{myvar}}")
ExtraRoutes map[string]GatewayExtraRoute `json:"extra_routes,omitempty"`
// Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64"), the destination Network name or a variable (e.g. "{{myvar}}")
ExtraRoutes6 map[string]GatewayExtraRoute `json:"extra_routes6,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// Gateway settings
GatewayMgmt *GatewayMgmt `json:"gateway_mgmt,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// Property key is the profile name
IdpProfiles map[string]IdpProfile `json:"idp_profiles,omitempty"`
Image1Url Optional[string] `json:"image1_url"`
Image2Url Optional[string] `json:"image2_url"`
Image3Url Optional[string] `json:"image3_url"`
// Property key is the network name
IpConfigs map[string]GatewayIpConfigProperty `json:"ip_configs,omitempty"`
// Device MAC address
Mac *string `json:"mac,omitempty"`
Managed *bool `json:"managed,omitempty"`
// Map where the device belongs to
MapId *uuid.UUID `json:"map_id,omitempty"`
// Device Model
Model *string `json:"model,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
MspId *uuid.UUID `json:"msp_id,omitempty"`
Name *string `json:"name,omitempty"`
Networks []Network `json:"networks,omitempty"`
Notes *string `json:"notes,omitempty"`
NtpServers []string `json:"ntp_servers,omitempty"`
// Out-of-band (vme/em0/fxp0) IP config
OobIpConfig *GatewayOobIpConfig `json:"oob_ip_config,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Property key is the path name
PathPreferences map[string]GatewayPathPreferences `json:"path_preferences,omitempty"`
// Property key is the port name or range (e.g. "ge-0/0/0-10")
PortConfig map[string]GatewayPortConfig `json:"port_config,omitempty"`
PortMirroring *GatewayPortMirroring `json:"port_mirroring,omitempty"`
// Auto assigned if not set
RouterId *string `json:"router_id,omitempty"`
// Property key is the routing policy name
RoutingPolicies map[string]GwRoutingPolicy `json:"routing_policies,omitempty"`
// Device Serial
Serial *string `json:"serial,omitempty"`
ServicePolicies []ServicePolicy `json:"service_policies,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Property key is the tunnel name
TunnelConfigs map[string]TunnelConfig `json:"tunnel_configs,omitempty"`
TunnelProviderOptions *TunnelProviderOptions `json:"tunnel_provider_options,omitempty"`
// Device Type. enum: `gateway`
Type string `json:"type"`
// When a service policy denies a app_category, what message to show in user's browser
UrlFilteringDenyMsg *string `json:"url_filtering_deny_msg,omitempty"`
// Dictionary of name->value, the vars can then be used in Wlans. This can overwrite those from Site Vars
Vars map[string]string `json:"vars,omitempty"`
VrfConfig *VrfConfig `json:"vrf_config,omitempty"`
// Property key is the network name
VrfInstances map[string]GatewayVrfInstance `json:"vrf_instances,omitempty"`
// X in pixel
X *float64 `json:"x,omitempty"`
// Y in pixel
Y *float64 `json:"y,omitempty"`
// additional CLI commands to append to the generated SSR config. **Note**: no check is done
SsrAdditionalConfigCmds []string `json:"ssr_additional_config_cmds,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DeviceGateway represents a DeviceGateway struct. Device gateway
func (DeviceGateway) MarshalJSON ¶
func (d DeviceGateway) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DeviceGateway. It customizes the JSON marshaling process for DeviceGateway objects.
func (DeviceGateway) String ¶ added in v0.4.23
func (d DeviceGateway) String() string
String implements the fmt.Stringer interface for DeviceGateway, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DeviceGateway) UnmarshalJSON ¶
func (d *DeviceGateway) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DeviceGateway. It customizes the JSON unmarshaling process for DeviceGateway objects.
type DeviceIdString ¶
type DeviceIdString struct {
DeviceId uuid.UUID `json:"device_id"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DeviceIdString represents a DeviceIdString struct.
func (DeviceIdString) MarshalJSON ¶
func (d DeviceIdString) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DeviceIdString. It customizes the JSON marshaling process for DeviceIdString objects.
func (DeviceIdString) String ¶ added in v0.4.23
func (d DeviceIdString) String() string
String implements the fmt.Stringer interface for DeviceIdString, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DeviceIdString) UnmarshalJSON ¶
func (d *DeviceIdString) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DeviceIdString. It customizes the JSON unmarshaling process for DeviceIdString objects.
type DeviceOther ¶
type DeviceOther struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
DeviceMac *string `json:"device_mac,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Mac *string `json:"mac,omitempty"`
Model *string `json:"model,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name *string `json:"name,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
Serial *string `json:"serial,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
State *string `json:"state,omitempty"`
Vendor *string `json:"vendor,omitempty"`
VendorApiId *string `json:"vendor_api_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DeviceOther represents a DeviceOther struct.
func (DeviceOther) MarshalJSON ¶
func (d DeviceOther) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DeviceOther. It customizes the JSON marshaling process for DeviceOther objects.
func (DeviceOther) String ¶ added in v0.4.23
func (d DeviceOther) String() string
String implements the fmt.Stringer interface for DeviceOther, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DeviceOther) UnmarshalJSON ¶
func (d *DeviceOther) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DeviceOther. It customizes the JSON unmarshaling process for DeviceOther objects.
type DeviceSearchRadiusFilterStatusEnum ¶ added in v0.4.80
type DeviceSearchRadiusFilterStatusEnum string
DeviceSearchRadiusFilterStatusEnum is a string enum. Status of the device search radius filter. enum: `up`, `down`, `unreachable`
const ( DeviceSearchRadiusFilterStatusEnum_UP DeviceSearchRadiusFilterStatusEnum = "up" DeviceSearchRadiusFilterStatusEnum_DOWN DeviceSearchRadiusFilterStatusEnum = "down" DeviceSearchRadiusFilterStatusEnum_UNREACHABLE DeviceSearchRadiusFilterStatusEnum = "unreachable" )
type DeviceSearchRadiusStat ¶ added in v0.4.80
type DeviceSearchRadiusStat struct {
// Number of accepted authentication requests
AuthAccepts *int `json:"auth_accepts,omitempty"`
// Number of rejected authentication requests
AuthRejects *int `json:"auth_rejects,omitempty"`
// Status of the device search radius filter. enum: `up`, `down`, `unreachable`
AuthServerStatus *DeviceSearchRadiusFilterStatusEnum `json:"auth_server_status,omitempty"`
// Number of authentication timeouts
AuthTimeouts *int `json:"auth_timeouts,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DeviceSearchRadiusStat represents a DeviceSearchRadiusStat struct.
func (DeviceSearchRadiusStat) MarshalJSON ¶ added in v0.4.80
func (d DeviceSearchRadiusStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DeviceSearchRadiusStat. It customizes the JSON marshaling process for DeviceSearchRadiusStat objects.
func (DeviceSearchRadiusStat) String ¶ added in v0.4.80
func (d DeviceSearchRadiusStat) String() string
String implements the fmt.Stringer interface for DeviceSearchRadiusStat, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DeviceSearchRadiusStat) UnmarshalJSON ¶ added in v0.4.80
func (d *DeviceSearchRadiusStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DeviceSearchRadiusStat. It customizes the JSON unmarshaling process for DeviceSearchRadiusStat objects.
type DeviceStatusEnum ¶
type DeviceStatusEnum string
DeviceStatusEnum is a string enum. enum: `all`, `connected`, `disconnected`
const ( DeviceStatusEnum_ALL DeviceStatusEnum = "all" DeviceStatusEnum_CONNECTED DeviceStatusEnum = "connected" DeviceStatusEnum_DISCONNECTED DeviceStatusEnum = "disconnected" )
type DeviceSwitch ¶
type DeviceSwitch struct {
AclPolicies []AclPolicy `json:"acl_policies,omitempty"`
// ACL Tags to identify traffic source or destination. Key name is the tag name
AclTags map[string]AclTag `json:"acl_tags,omitempty"`
// additional CLI commands to append to the generated Junos config. **Note**: no check is done
AdditionalConfigCmds []string `json:"additional_config_cmds,omitempty"`
// Property key is the destination subnet (e.g. "172.16.3.0/24")
AggregateRoutes map[string]AggregateRoute `json:"aggregate_routes,omitempty"`
// Property key is the destination subnet (e.g. "2a02:1234:420a:10c9::/64")
AggregateRoutes6 map[string]AggregateRoute `json:"aggregate_routes6,omitempty"`
BgpConfig map[string]SwitchBgpConfig `json:"bgp_config,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
DeviceprofileId *uuid.UUID `json:"deviceprofile_id,omitempty"`
DhcpSnooping *DhcpSnooping `json:"dhcp_snooping,omitempty"`
DhcpdConfig *SwitchDhcpdConfig `json:"dhcpd_config,omitempty"`
// This disables the default behavior of a cloud-ready switch/gateway being managed/configured by Mist. Setting this to `true` means you want to disable the default behavior and do not want the device to be Mist-managed.
DisableAutoConfig *bool `json:"disable_auto_config,omitempty"`
// Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting
DnsServers []string `json:"dns_servers,omitempty"`
// Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting
DnsSuffix []string `json:"dns_suffix,omitempty"`
// EVPN Junos settings
EvpnConfig *EvpnConfig `json:"evpn_config,omitempty"`
// Property key is the destination CIDR (e.g. "10.0.0.0/8")
ExtraRoutes map[string]ExtraRoute `json:"extra_routes,omitempty"`
// Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64")
ExtraRoutes6 map[string]ExtraRoute6 `json:"extra_routes6,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Image1Url Optional[string] `json:"image1_url"`
Image2Url Optional[string] `json:"image2_url"`
Image3Url Optional[string] `json:"image3_url"`
// Property Key is the IOT port name, e.g.:
// * `IN0` or `IN1` for the FPC0 input port with 5V triggered inputs
// * `OUT1` for the FPC0 output port (can only be triggered by either IN0 or IN1)
// * "X/IN0`, `X/IN1` and `X/OUT` are used to define IOT ports on VC members
IotConfig map[string]SwitchIotPort `json:"iot_config,omitempty"`
// Junos IP Config
IpConfig *JunosIpConfig `json:"ip_config,omitempty"`
// Local port override, overriding the port configuration from `port_config`. Property key is the port name or range (e.g. "ge-0/0/0-10")
LocalPortConfig map[string]JunosLocalPortConfig `json:"local_port_config,omitempty"`
// Device MAC address
Mac *string `json:"mac,omitempty"`
// An adopted switch/gateway will not be managed/configured by Mist by default. Setting this parameter to `true` enables the adopted switch/gateway to be managed/configured by Mist.
Managed *bool `json:"managed,omitempty"`
// Map where the device belongs to
MapId *uuid.UUID `json:"map_id,omitempty"`
// Enable mist_nac to use RadSec
MistNac *SwitchMistNac `json:"mist_nac,omitempty"`
// Device Model
Model *string `json:"model,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name *string `json:"name,omitempty"`
// Property key is network name
Networks map[string]SwitchNetwork `json:"networks,omitempty"`
Notes *string `json:"notes,omitempty"`
// List of NTP servers specific to this device. By default, those in Site Settings will be used
NtpServers []string `json:"ntp_servers,omitempty"`
// Switch OOB IP Config:
// - If HA configuration: key parameter will be nodeX (eg: node1)
// - If there are 2 routing engines, re1 mgmt IP has to be set separately (if desired): key parameter = `re1`
OobIpConfig *SwitchOobIpConfig `json:"oob_ip_config,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Junos OSPF areas. Property key is the OSPF Area (Area should be a number (0-255) / IP address)
OspfAreas map[string]OspfArea `json:"ospf_areas,omitempty"`
OspfConfig *SwitchOspfConfig `json:"ospf_config,omitempty"`
// Property key is the network name. Defines the additional IP Addresses configured on the device.
OtherIpConfigs map[string]JunosOtherIpConfig `json:"other_ip_configs,omitempty"`
// Property key is the port name or range (e.g. "ge-0/0/0-10")
PortConfig map[string]JunosPortConfig `json:"port_config,omitempty"`
// Property key is the port name or range (e.g. "ge-0/0/0-10"). This can be used to override some attributes of the port_usage without having to create a new port_usage.
PortConfigOverwrite map[string]SwitchPortConfigOverwrite `json:"port_config_overwrite,omitempty"`
// Property key is the port mirroring instance name. `port_mirroring` can be added under device/site settings. It takes interface and ports as input for ingress, interface as input for egress and can take interface and port as output. A maximum 4 mirroring ports is allowed
PortMirroring map[string]SwitchPortMirroringProperty `json:"port_mirroring,omitempty"`
// Property key is the port usage name. Defines the profiles of port configuration configured on the switch
PortUsages map[string]SwitchPortUsage `json:"port_usages,omitempty"`
// Junos Radius config
RadiusConfig *SwitchRadiusConfig `json:"radius_config,omitempty"`
RemoteSyslog *RemoteSyslog `json:"remote_syslog,omitempty"`
Role *string `json:"role,omitempty"`
// Used for OSPF / BGP / EVPN
RouterId *string `json:"router_id,omitempty"`
// Property key is the routing policy name
RoutingPolicies map[string]SwRoutingPolicy `json:"routing_policies,omitempty"`
// Device Serial
Serial *string `json:"serial,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
SnmpConfig *SnmpConfig `json:"snmp_config,omitempty"`
StpConfig *SwitchStpConfig `json:"stp_config,omitempty"`
// Switch settings
SwitchMgmt *SwitchMgmt `json:"switch_mgmt,omitempty"`
// Device Type. enum: `switch`
Type string `json:"type"`
// Whether to use it for snmp / syslog / tacplus / radius
UseRouterIdAsSourceIp *bool `json:"use_router_id_as_source_ip,omitempty"`
// Dictionary of name->value, the vars can then be used in Wlans. This can overwrite those from Site Vars
Vars map[string]string `json:"vars,omitempty"`
// Required for preprovisioned Virtual Chassis
VirtualChassis *SwitchVirtualChassis `json:"virtual_chassis,omitempty"`
VrfConfig *VrfConfig `json:"vrf_config,omitempty"`
// Property key is the network name
VrfInstances map[string]SwitchVrfInstance `json:"vrf_instances,omitempty"`
// Junos VRRP config
VrrpConfig *VrrpConfig `json:"vrrp_config,omitempty"`
// X in pixel
X *float64 `json:"x,omitempty"`
// Y in pixel
Y *float64 `json:"y,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DeviceSwitch represents a DeviceSwitch struct. You can configure `port_usages` and `networks` settings at the device level, but most of the time it's better use the Site Setting to achieve better consistency and be able to re-use the same settings across switches entries defined here will "replace" those defined in Site Setting/Network Template In addition it is possible to use the `port_config_overwrite` to overwrite some attributes of the port_usage without having to create a new port_usage.
func (DeviceSwitch) MarshalJSON ¶
func (d DeviceSwitch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DeviceSwitch. It customizes the JSON marshaling process for DeviceSwitch objects.
func (DeviceSwitch) String ¶ added in v0.4.23
func (d DeviceSwitch) String() string
String implements the fmt.Stringer interface for DeviceSwitch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DeviceSwitch) UnmarshalJSON ¶
func (d *DeviceSwitch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DeviceSwitch. It customizes the JSON unmarshaling process for DeviceSwitch objects.
type DeviceTypeApEnum ¶
type DeviceTypeApEnum string
DeviceTypeApEnum is a string enum. Device Type. enum: `ap`
const (
DeviceTypeApEnum_AP DeviceTypeApEnum = "ap"
)
type DeviceTypeDefaultApEnum ¶ added in v0.4.54
type DeviceTypeDefaultApEnum string
DeviceTypeDefaultApEnum is a string enum. enum: `ap`, `gateway`, `switch`
const ( DeviceTypeDefaultApEnum_AP DeviceTypeDefaultApEnum = "ap" DeviceTypeDefaultApEnum_GATEWAY DeviceTypeDefaultApEnum = "gateway" DeviceTypeDefaultApEnum_ENUMSWITCH DeviceTypeDefaultApEnum = "switch" )
type DeviceTypeEnum ¶
type DeviceTypeEnum string
DeviceTypeEnum is a string enum. enum: `ap`, `gateway`, `switch`
const ( DeviceTypeEnum_AP DeviceTypeEnum = "ap" DeviceTypeEnum_GATEWAY DeviceTypeEnum = "gateway" DeviceTypeEnum_ENUMSWITCH DeviceTypeEnum = "switch" )
type DeviceTypeGatewayEnum ¶
type DeviceTypeGatewayEnum string
DeviceTypeGatewayEnum is a string enum. Device Type. enum: `gateway`
const (
DeviceTypeGatewayEnum_GATEWAY DeviceTypeGatewayEnum = "gateway"
)
type DeviceTypeSwitchEnum ¶
type DeviceTypeSwitchEnum string
DeviceTypeSwitchEnum is a string enum. Device Type. enum: `switch`
const (
DeviceTypeSwitchEnum_ENUMSWITCH DeviceTypeSwitchEnum = "switch"
)
type DeviceTypeWithAllEnum ¶
type DeviceTypeWithAllEnum string
DeviceTypeWithAllEnum is a string enum. enum: `all`, `ap`, `gateway`, `switch`
const ( DeviceTypeWithAllEnum_ALL DeviceTypeWithAllEnum = "all" DeviceTypeWithAllEnum_AP DeviceTypeWithAllEnum = "ap" DeviceTypeWithAllEnum_GATEWAY DeviceTypeWithAllEnum = "gateway" DeviceTypeWithAllEnum_ENUMSWITCH DeviceTypeWithAllEnum = "switch" )
type DeviceUpgrade ¶
type DeviceUpgrade struct {
// For Switches and Gateways only (APs are automatically rebooted). Reboot device immediately after upgrade is completed
Reboot *bool `json:"reboot,omitempty"`
// For Switches and Gateways only and if `reboot`==`true`. Reboot start time in epoch seconds, default is `start_time`
RebootAt *int `json:"reboot_at,omitempty"`
// For Junos devices only. Perform recovery snapshot after device is rebooted
Snapshot *bool `json:"snapshot,omitempty"`
// Firmware download start time in epoch
StartTime *int `json:"start_time,omitempty"`
// Specific version / `stable`, default is to use the latest
Version string `json:"version"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DeviceUpgrade represents a DeviceUpgrade struct.
func (DeviceUpgrade) MarshalJSON ¶
func (d DeviceUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DeviceUpgrade. It customizes the JSON marshaling process for DeviceUpgrade objects.
func (DeviceUpgrade) String ¶ added in v0.4.23
func (d DeviceUpgrade) String() string
String implements the fmt.Stringer interface for DeviceUpgrade, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DeviceUpgrade) UnmarshalJSON ¶
func (d *DeviceUpgrade) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DeviceUpgrade. It customizes the JSON unmarshaling process for DeviceUpgrade objects.
type DeviceVersionItem ¶
type DeviceVersionItem struct {
// Device model (as seen in the device stats)
Model string `json:"model"`
// Annotation, stable / beta / alpha. Or it can be empty or nothing which is likely a dev build
Tag *string `json:"tag,omitempty"`
// Firmware version
Version string `json:"version"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DeviceVersionItem represents a DeviceVersionItem struct.
func (DeviceVersionItem) MarshalJSON ¶
func (d DeviceVersionItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DeviceVersionItem. It customizes the JSON marshaling process for DeviceVersionItem objects.
func (DeviceVersionItem) String ¶ added in v0.4.23
func (d DeviceVersionItem) String() string
String implements the fmt.Stringer interface for DeviceVersionItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DeviceVersionItem) UnmarshalJSON ¶
func (d *DeviceVersionItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DeviceVersionItem. It customizes the JSON unmarshaling process for DeviceVersionItem objects.
type Deviceprofile ¶
type Deviceprofile struct {
// contains filtered or unexported fields
}
Deviceprofile represents a Deviceprofile struct.
func (*Deviceprofile) AsDeviceprofileAp ¶ added in v0.3.0
func (d *Deviceprofile) AsDeviceprofileAp() ( *DeviceprofileAp, bool)
func (*Deviceprofile) AsDeviceprofileGateway ¶ added in v0.3.0
func (d *Deviceprofile) AsDeviceprofileGateway() ( *DeviceprofileGateway, bool)
func (*Deviceprofile) AsDeviceprofileSwitch ¶ added in v0.4.54
func (d *Deviceprofile) AsDeviceprofileSwitch() ( *DeviceprofileSwitch, bool)
func (Deviceprofile) MarshalJSON ¶
func (d Deviceprofile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for Deviceprofile. It customizes the JSON marshaling process for Deviceprofile objects.
func (Deviceprofile) String ¶ added in v0.3.0
func (d Deviceprofile) String() string
String implements the fmt.Stringer interface for Deviceprofile, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Deviceprofile) UnmarshalJSON ¶
func (d *Deviceprofile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for Deviceprofile. It customizes the JSON unmarshaling process for Deviceprofile objects.
type DeviceprofileAp ¶
type DeviceprofileAp struct {
// Aeroscout AP settings
Aeroscout *ApAeroscout `json:"aeroscout,omitempty"`
Airista *ApAirista `json:"airista,omitempty"`
// BLE AP settings
BleConfig *BleConfig `json:"ble_config,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// Whether to disable eth1 port
DisableEth1 *bool `json:"disable_eth1,omitempty"`
// Whether to disable eth2 port
DisableEth2 *bool `json:"disable_eth2,omitempty"`
// Whether to disable eth3 port
DisableEth3 *bool `json:"disable_eth3,omitempty"`
// Whether to disable module port
DisableModule *bool `json:"disable_module,omitempty"`
EslConfig *ApEslConfig `json:"esl_config,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// IoT AP settings
IotConfig *ApIot `json:"iot_config,omitempty"`
// IP AP settings
IpConfig *ApIpConfig `json:"ip_config,omitempty"`
LacpConfig *DeviceApLacpConfig `json:"lacp_config,omitempty"`
// LED AP settings
Led *ApLed `json:"led,omitempty"`
// Mesh AP settings
Mesh *ApMesh `json:"mesh,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name Optional[string] `json:"name"`
NtpServers []string `json:"ntp_servers,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Whether to enable power out through module port (for APH) or eth1 (for APL/BT11)
PoePassthrough *bool `json:"poe_passthrough,omitempty"`
// eth0 is not allowed here. Property key is the interface(s) name (e.g. `eth1` or `eth1,eth2`). If specified, this takes precedence over switch_config (deprecated)
PortConfig map[string]ApPortConfig `json:"port_config,omitempty"`
// Power related configs
PwrConfig *ApPwrConfig `json:"pwr_config,omitempty"`
// Radio AP settings
RadioConfig *ApRadio `json:"radio_config,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// For people who want to fully control the vlans (advanced)
SwitchConfig *ApSwitch `json:"switch_config,omitempty"` // Deprecated
// Device Type. enum: `ap`
Type string `json:"type"`
// AP Uplink port configuration
UplinkPortConfig *ApUplinkPortConfig `json:"uplink_port_config,omitempty"`
// USB AP settings
// - Note: if native imagotag is enabled, BLE will be disabled automatically
// - Note: legacy, new config moved to ESL Config.
UsbConfig *ApUsb `json:"usb_config,omitempty"`
// Dictionary of name->value, the vars can then be used in Wlans. This can overwrite those from Site Vars
Vars map[string]string `json:"vars,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DeviceprofileAp represents a DeviceprofileAp struct. Device Profile
func (DeviceprofileAp) MarshalJSON ¶
func (d DeviceprofileAp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DeviceprofileAp. It customizes the JSON marshaling process for DeviceprofileAp objects.
func (DeviceprofileAp) String ¶ added in v0.4.23
func (d DeviceprofileAp) String() string
String implements the fmt.Stringer interface for DeviceprofileAp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DeviceprofileAp) UnmarshalJSON ¶
func (d *DeviceprofileAp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DeviceprofileAp. It customizes the JSON unmarshaling process for DeviceprofileAp objects.
type DeviceprofileGateway ¶ added in v0.2.8
type DeviceprofileGateway struct {
// additional CLI commands to append to the generated Junos config. **Note**: no check is done
AdditionalConfigCmds []string `json:"additional_config_cmds,omitempty"`
BgpConfig map[string]BgpConfig `json:"bgp_config,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
DhcpdConfig *DhcpdConfig `json:"dhcpd_config,omitempty"`
DnsOverride *bool `json:"dnsOverride,omitempty"`
// Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting
DnsServers []string `json:"dns_servers,omitempty"`
// Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting
DnsSuffix []string `json:"dns_suffix,omitempty"`
// Property key is the destination CIDR (e.g. "10.0.0.0/8"), the destination Network name or a variable (e.g. "{{myvar}}")
ExtraRoutes map[string]GatewayExtraRoute `json:"extra_routes,omitempty"`
// Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64"), the destination Network name or a variable (e.g. "{{myvar}}")
ExtraRoutes6 map[string]GatewayExtraRoute `json:"extra_routes6,omitempty"`
// Gateway matching
GatewayMatching *GatewayMatching `json:"gateway_matching,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// Property key is the profile name
IdpProfiles map[string]IdpProfile `json:"idp_profiles,omitempty"`
// Property key is the network name
IpConfigs map[string]GatewayIpConfigProperty `json:"ip_configs,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name string `json:"name"`
Networks []Network `json:"networks,omitempty"`
NtpOverride *bool `json:"ntpOverride,omitempty"`
// List of NTP servers specific to this device. By default, those in Site Settings will be used
NtpServers []string `json:"ntp_servers,omitempty"`
// Out-of-band (vme/em0/fxp0) IP config
OobIpConfig *GatewayOobIpConfig `json:"oob_ip_config,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Property key is the path name
PathPreferences map[string]GatewayPathPreferences `json:"path_preferences,omitempty"`
// Property key is the port(s) name or range (e.g. "ge-0/0/0-10")
PortConfig map[string]GatewayPortConfig `json:"port_config,omitempty"`
// Auto assigned if not set
RouterId *string `json:"router_id,omitempty"`
// Property key is the routing policy name
RoutingPolicies map[string]GwRoutingPolicy `json:"routing_policies,omitempty"`
ServicePolicies []ServicePolicy `json:"service_policies,omitempty"`
// Property key is the tunnel name
TunnelConfigs map[string]TunnelConfig `json:"tunnel_configs,omitempty"`
TunnelProviderOptions *TunnelProviderOptions `json:"tunnel_provider_options,omitempty"`
// Device Type. enum: `gateway`
Type string `json:"type"`
// When a service policy denies a app_category, what message to show in user's browser
UrlFilteringDenyMsg *string `json:"url_filtering_deny_msg,omitempty"`
VrfConfig *VrfConfig `json:"vrf_config,omitempty"`
// Property key is the network name
VrfInstances map[string]GatewayVrfInstance `json:"vrf_instances,omitempty"`
// additional CLI commands to append to the generated SSR config. **Note**: no check is done
SsrAdditionalConfigCmds []string `json:"ssr_additional_config_cmds,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DeviceprofileGateway represents a DeviceprofileGateway struct. Gateway Template is applied to a site for gateway(s) in a site.
func (DeviceprofileGateway) MarshalJSON ¶ added in v0.2.8
func (d DeviceprofileGateway) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DeviceprofileGateway. It customizes the JSON marshaling process for DeviceprofileGateway objects.
func (DeviceprofileGateway) String ¶ added in v0.4.23
func (d DeviceprofileGateway) String() string
String implements the fmt.Stringer interface for DeviceprofileGateway, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DeviceprofileGateway) UnmarshalJSON ¶ added in v0.2.8
func (d *DeviceprofileGateway) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DeviceprofileGateway. It customizes the JSON unmarshaling process for DeviceprofileGateway objects.
type DeviceprofileSwitch ¶ added in v0.4.54
type DeviceprofileSwitch struct {
AclPolicies []AclPolicy `json:"acl_policies,omitempty"`
// ACL Tags to identify traffic source or destination. Key name is the tag name
AclTags map[string]AclTag `json:"acl_tags,omitempty"`
// additional CLI commands to append to the generated Junos config. **Note**: no check is done
AdditionalConfigCmds []string `json:"additional_config_cmds,omitempty"`
// Property key is the destination subnet (e.g. "172.16.3.0/24")
AggregateRoutes map[string]AggregateRoute `json:"aggregate_routes,omitempty"`
// Property key is the destination subnet (e.g. "2a02:1234:420a:10c9::/64")
AggregateRoutes6 map[string]AggregateRoute `json:"aggregate_routes6,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
DhcpSnooping *DhcpSnooping `json:"dhcp_snooping,omitempty"`
DhcpdConfig *SwitchDhcpdConfig `json:"dhcpd_config,omitempty"`
// Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting
DnsServers []string `json:"dns_servers,omitempty"`
// Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting
DnsSuffix []string `json:"dns_suffix,omitempty"`
// EVPN Junos settings
EvpnConfig *EvpnConfig `json:"evpn_config,omitempty"`
// Property key is the destination CIDR (e.g. "10.0.0.0/8")
ExtraRoutes map[string]ExtraRoute `json:"extra_routes,omitempty"`
// Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64")
ExtraRoutes6 map[string]ExtraRoute6 `json:"extra_routes6,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// Property Key is the IOT port name, e.g.:
// * `IN0` or `IN1` for the FPC0 input port with 5V triggered inputs
// * `OUT1` for the FPC0 output port (can only be triggered by either IN0 or IN1)
// * "X/IN0`, `X/IN1` and `X/OUT` are used to define IOT ports on VC members
IotConfig map[string]SwitchIotPort `json:"iot_config,omitempty"`
// Junos IP Config
IpConfig *JunosIpConfig `json:"ip_config,omitempty"`
// Enable mist_nac to use RadSec
MistNac *SwitchMistNac `json:"mist_nac,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name string `json:"name"`
// Property key is network name
Networks map[string]SwitchNetwork `json:"networks,omitempty"`
// List of NTP servers specific to this device. By default, those in Site Settings will be used
NtpServers []string `json:"ntp_servers,omitempty"`
// Switch OOB IP Config:
// - If HA configuration: key parameter will be nodeX (eg: node1)
// - If there are 2 routing engines, re1 mgmt IP has to be set separately (if desired): key parameter = `re1`
OobIpConfig *SwitchOobIpConfig `json:"oob_ip_config,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Junos OSPF areas. Property key is the OSPF Area (Area should be a number (0-255) / IP address)
OspfAreas map[string]OspfArea `json:"ospf_areas,omitempty"`
// Property key is the network name. Defines the additional IP Addresses configured on the device.
OtherIpConfigs map[string]JunosOtherIpConfig `json:"other_ip_configs,omitempty"`
// Property key is the port name or range (e.g. "ge-0/0/0-10")
PortConfig map[string]JunosPortConfig `json:"port_config,omitempty"`
// Property key is the port mirroring instance name. `port_mirroring` can be added under device/site settings. It takes interface and ports as input for ingress, interface as input for egress and can take interface and port as output. A maximum 4 mirroring ports is allowed
PortMirroring map[string]SwitchPortMirroringProperty `json:"port_mirroring,omitempty"`
// Property key is the port usage name. Defines the profiles of port configuration configured on the switch
PortUsages map[string]SwitchPortUsage `json:"port_usages,omitempty"`
// Junos Radius config
RadiusConfig *SwitchRadiusConfig `json:"radius_config,omitempty"`
RemoteSyslog *RemoteSyslog `json:"remote_syslog,omitempty"`
// Property key is the routing policy name
RoutingPolicies map[string]SwRoutingPolicy `json:"routing_policies,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
SnmpConfig *SnmpConfig `json:"snmp_config,omitempty"`
StpConfig *SwitchStpConfig `json:"stp_config,omitempty"`
// Switch settings
SwitchMgmt *SwitchMgmt `json:"switch_mgmt,omitempty"`
// Device Type. enum: `switch`
Type string `json:"type"`
// Whether to use it for snmp / syslog / tacplus / radius
UseRouterIdAsSourceIp *bool `json:"use_router_id_as_source_ip,omitempty"`
VrfConfig *VrfConfig `json:"vrf_config,omitempty"`
// Property key is the network name
VrfInstances map[string]SwitchVrfInstance `json:"vrf_instances,omitempty"`
// Junos VRRP config
VrrpConfig *VrrpConfig `json:"vrrp_config,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DeviceprofileSwitch represents a DeviceprofileSwitch struct. Switch Device Profiles can be applied to one or multiple switches. The settings from the Device Profile will override the settings from the Switch Template and the Site Settings.
func (DeviceprofileSwitch) MarshalJSON ¶ added in v0.4.54
func (d DeviceprofileSwitch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DeviceprofileSwitch. It customizes the JSON marshaling process for DeviceprofileSwitch objects.
func (DeviceprofileSwitch) String ¶ added in v0.4.54
func (d DeviceprofileSwitch) String() string
String implements the fmt.Stringer interface for DeviceprofileSwitch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DeviceprofileSwitch) UnmarshalJSON ¶ added in v0.4.54
func (d *DeviceprofileSwitch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DeviceprofileSwitch. It customizes the JSON unmarshaling process for DeviceprofileSwitch objects.
type DevicesGbpTag ¶ added in v0.4.92
type DevicesGbpTag struct {
GbpTag int `json:"gbp_tag"`
Macs []string `json:"macs"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DevicesGbpTag represents a DevicesGbpTag struct.
func (DevicesGbpTag) MarshalJSON ¶ added in v0.4.92
func (d DevicesGbpTag) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DevicesGbpTag. It customizes the JSON marshaling process for DevicesGbpTag objects.
func (DevicesGbpTag) String ¶ added in v0.4.92
func (d DevicesGbpTag) String() string
String implements the fmt.Stringer interface for DevicesGbpTag, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DevicesGbpTag) UnmarshalJSON ¶ added in v0.4.92
func (d *DevicesGbpTag) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DevicesGbpTag. It customizes the JSON unmarshaling process for DevicesGbpTag objects.
type DevicesIds ¶ added in v0.4.92
type DevicesIds struct {
DeviceIds []uuid.UUID `json:"device_ids"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DevicesIds represents a DevicesIds struct.
func (DevicesIds) MarshalJSON ¶ added in v0.4.92
func (d DevicesIds) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DevicesIds. It customizes the JSON marshaling process for DevicesIds objects.
func (DevicesIds) String ¶ added in v0.4.92
func (d DevicesIds) String() string
String implements the fmt.Stringer interface for DevicesIds, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DevicesIds) UnmarshalJSON ¶ added in v0.4.92
func (d *DevicesIds) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DevicesIds. It customizes the JSON unmarshaling process for DevicesIds objects.
type DhcpClientOption ¶ added in v0.3.17
type DhcpClientOption struct {
Code *string `json:"code,omitempty"`
Data *string `json:"data,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DhcpClientOption represents a DhcpClientOption struct.
func (DhcpClientOption) MarshalJSON ¶ added in v0.3.17
func (d DhcpClientOption) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DhcpClientOption. It customizes the JSON marshaling process for DhcpClientOption objects.
func (DhcpClientOption) String ¶ added in v0.4.23
func (d DhcpClientOption) String() string
String implements the fmt.Stringer interface for DhcpClientOption, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DhcpClientOption) UnmarshalJSON ¶ added in v0.3.17
func (d *DhcpClientOption) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DhcpClientOption. It customizes the JSON unmarshaling process for DhcpClientOption objects.
type DhcpSnooping ¶
type DhcpSnooping struct {
AllNetworks *bool `json:"all_networks,omitempty"`
// Enable for dynamic ARP inspection check
EnableArpSpoofCheck *bool `json:"enable_arp_spoof_check,omitempty"`
// Enable for check for forging source IP address
EnableIpSourceGuard *bool `json:"enable_ip_source_guard,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// If `all_networks`==`false`, list of network with DHCP snooping enabled
Networks []string `json:"networks,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DhcpSnooping represents a DhcpSnooping struct.
func (DhcpSnooping) MarshalJSON ¶
func (d DhcpSnooping) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DhcpSnooping. It customizes the JSON marshaling process for DhcpSnooping objects.
func (DhcpSnooping) String ¶ added in v0.4.23
func (d DhcpSnooping) String() string
String implements the fmt.Stringer interface for DhcpSnooping, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DhcpSnooping) UnmarshalJSON ¶
func (d *DhcpSnooping) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DhcpSnooping. It customizes the JSON unmarshaling process for DhcpSnooping objects.
type DhcpdConfig ¶
type DhcpdConfig struct {
// If set to `false`, disable the DHCP server
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]DhcpdConfigProperty `json:"_"`
}
DhcpdConfig represents a DhcpdConfig struct.
func (DhcpdConfig) MarshalJSON ¶
func (d DhcpdConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DhcpdConfig. It customizes the JSON marshaling process for DhcpdConfig objects.
func (DhcpdConfig) String ¶ added in v0.4.23
func (d DhcpdConfig) String() string
String implements the fmt.Stringer interface for DhcpdConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DhcpdConfig) UnmarshalJSON ¶
func (d *DhcpdConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DhcpdConfig. It customizes the JSON unmarshaling process for DhcpdConfig objects.
type DhcpdConfigFixedBinding ¶
type DhcpdConfigFixedBinding struct {
Ip *string `json:"ip,omitempty"`
Ip6 *string `json:"ip6,omitempty"`
Name *string `json:"name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DhcpdConfigFixedBinding represents a DhcpdConfigFixedBinding struct.
func (DhcpdConfigFixedBinding) MarshalJSON ¶
func (d DhcpdConfigFixedBinding) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DhcpdConfigFixedBinding. It customizes the JSON marshaling process for DhcpdConfigFixedBinding objects.
func (DhcpdConfigFixedBinding) String ¶ added in v0.4.23
func (d DhcpdConfigFixedBinding) String() string
String implements the fmt.Stringer interface for DhcpdConfigFixedBinding, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DhcpdConfigFixedBinding) UnmarshalJSON ¶
func (d *DhcpdConfigFixedBinding) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DhcpdConfigFixedBinding. It customizes the JSON unmarshaling process for DhcpdConfigFixedBinding objects.
type DhcpdConfigOption ¶
type DhcpdConfigOption struct {
// enum: `boolean`, `hex`, `int16`, `int32`, `ip`, `string`, `uint16`, `uint32`
Type *DhcpdConfigOptionTypeEnum `json:"type,omitempty"`
Value *string `json:"value,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DhcpdConfigOption represents a DhcpdConfigOption struct.
func (DhcpdConfigOption) MarshalJSON ¶
func (d DhcpdConfigOption) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DhcpdConfigOption. It customizes the JSON marshaling process for DhcpdConfigOption objects.
func (DhcpdConfigOption) String ¶ added in v0.4.23
func (d DhcpdConfigOption) String() string
String implements the fmt.Stringer interface for DhcpdConfigOption, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DhcpdConfigOption) UnmarshalJSON ¶
func (d *DhcpdConfigOption) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DhcpdConfigOption. It customizes the JSON unmarshaling process for DhcpdConfigOption objects.
type DhcpdConfigOptionTypeEnum ¶
type DhcpdConfigOptionTypeEnum string
DhcpdConfigOptionTypeEnum is a string enum. enum: `boolean`, `hex`, `int16`, `int32`, `ip`, `string`, `uint16`, `uint32`
const ( DhcpdConfigOptionTypeEnum_BOOLEAN DhcpdConfigOptionTypeEnum = "boolean" DhcpdConfigOptionTypeEnum_HEX DhcpdConfigOptionTypeEnum = "hex" DhcpdConfigOptionTypeEnum_ENUMINT16 DhcpdConfigOptionTypeEnum = "int16" DhcpdConfigOptionTypeEnum_ENUMINT32 DhcpdConfigOptionTypeEnum = "int32" DhcpdConfigOptionTypeEnum_IP DhcpdConfigOptionTypeEnum = "ip" DhcpdConfigOptionTypeEnum_ENUMSTRING DhcpdConfigOptionTypeEnum = "string" DhcpdConfigOptionTypeEnum_ENUMUINT16 DhcpdConfigOptionTypeEnum = "uint16" DhcpdConfigOptionTypeEnum_ENUMUINT32 DhcpdConfigOptionTypeEnum = "uint32" )
type DhcpdConfigProperty ¶
type DhcpdConfigProperty struct {
// If `type`==`local` or `type6`==`local` - optional, if not defined, system one will be used
DnsServers []string `json:"dns_servers,omitempty"`
// If `type`==`local` or `type6`==`local` - optional, if not defined, system one will be used
DnsSuffix []string `json:"dns_suffix,omitempty"`
// If `type`==`local` or `type6`==`local`. Property key is the MAC Address. Format is `[0-9a-f]{12}` (e.g. "5684dae9ac8b")
FixedBindings map[string]DhcpdConfigFixedBinding `json:"fixed_bindings,omitempty"`
// If `type`==`local` - optional, `ip` will be used if not provided
Gateway *string `json:"gateway,omitempty"`
// If `type6`==`local`
Ip6End *string `json:"ip6_end,omitempty"`
// If `type6`==`local`
Ip6Start *string `json:"ip6_start,omitempty"`
// If `type`==`local`
IpEnd *string `json:"ip_end,omitempty"`
// If `type`==`local`
IpStart *string `json:"ip_start,omitempty"`
// In seconds, lease time has to be between 3600 [1hr] - 604800 [1 week], default is 86400 [1 day]
LeaseTime *int `json:"lease_time,omitempty"`
// If `type`==`local` or `type6`==`local`. Property key is the DHCP option number
Options map[string]DhcpdConfigOption `json:"options,omitempty"`
// `server_id_override`==`true` means the device, when acts as DHCP relay and forwards DHCP responses from DHCP server to clients,
// should overwrite the Sever Identifier option (i.e. DHCP option 54) in DHCP responses with its own IP address.
ServerIdOverride *bool `json:"server_id_override,omitempty"`
// If `type`==`relay`
Servers []string `json:"servers,omitempty"`
// If `type6`==`relay`
Serversv6 []string `json:"serversv6,omitempty"`
// enum: `local` (DHCP Server), `none`, `relay` (DHCP Relay)
Type *DhcpdConfigTypeEnum `json:"type,omitempty"`
// enum: `local` (DHCP Server), `none`, `relay` (DHCP Relay)
Type6 *DhcpdConfigTypeEnum `json:"type6,omitempty"`
// If `type`==`local` or `type6`==`local`. Property key is <enterprise number>:<sub option code>, with
// * enterprise number: 1-65535 (https://www.iana.org/assignments/enterprise-numbers/enterprise-numbers)
// * sub option code: 1-255, sub-option code
VendorEncapsulated map[string]DhcpdConfigVendorOption `json:"vendor_encapsulated,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DhcpdConfigProperty represents a DhcpdConfigProperty struct.
func (DhcpdConfigProperty) MarshalJSON ¶
func (d DhcpdConfigProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DhcpdConfigProperty. It customizes the JSON marshaling process for DhcpdConfigProperty objects.
func (DhcpdConfigProperty) String ¶ added in v0.4.23
func (d DhcpdConfigProperty) String() string
String implements the fmt.Stringer interface for DhcpdConfigProperty, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DhcpdConfigProperty) UnmarshalJSON ¶
func (d *DhcpdConfigProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DhcpdConfigProperty. It customizes the JSON unmarshaling process for DhcpdConfigProperty objects.
type DhcpdConfigTypeEnum ¶
type DhcpdConfigTypeEnum string
DhcpdConfigTypeEnum is a string enum. enum: `local` (DHCP Server), `none`, `relay` (DHCP Relay)
const ( DhcpdConfigTypeEnum_LOCAL DhcpdConfigTypeEnum = "local" DhcpdConfigTypeEnum_NONE DhcpdConfigTypeEnum = "none" DhcpdConfigTypeEnum_RELAY DhcpdConfigTypeEnum = "relay" )
type DhcpdConfigVendorOption ¶
type DhcpdConfigVendorOption struct {
// enum: `boolean`, `hex`, `int16`, `int32`, `ip`, `string`, `uint16`, `uint32`
Type *DhcpdConfigVendorOptionTypeEnum `json:"type,omitempty"`
Value *string `json:"value,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DhcpdConfigVendorOption represents a DhcpdConfigVendorOption struct.
func (DhcpdConfigVendorOption) MarshalJSON ¶
func (d DhcpdConfigVendorOption) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DhcpdConfigVendorOption. It customizes the JSON marshaling process for DhcpdConfigVendorOption objects.
func (DhcpdConfigVendorOption) String ¶ added in v0.4.23
func (d DhcpdConfigVendorOption) String() string
String implements the fmt.Stringer interface for DhcpdConfigVendorOption, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DhcpdConfigVendorOption) UnmarshalJSON ¶
func (d *DhcpdConfigVendorOption) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DhcpdConfigVendorOption. It customizes the JSON unmarshaling process for DhcpdConfigVendorOption objects.
type DhcpdConfigVendorOptionTypeEnum ¶
type DhcpdConfigVendorOptionTypeEnum string
DhcpdConfigVendorOptionTypeEnum is a string enum. enum: `boolean`, `hex`, `int16`, `int32`, `ip`, `string`, `uint16`, `uint32`
const ( DhcpdConfigVendorOptionTypeEnum_BOOLEAN DhcpdConfigVendorOptionTypeEnum = "boolean" DhcpdConfigVendorOptionTypeEnum_HEX DhcpdConfigVendorOptionTypeEnum = "hex" DhcpdConfigVendorOptionTypeEnum_ENUMINT16 DhcpdConfigVendorOptionTypeEnum = "int16" DhcpdConfigVendorOptionTypeEnum_ENUMINT32 DhcpdConfigVendorOptionTypeEnum = "int32" DhcpdConfigVendorOptionTypeEnum_IP DhcpdConfigVendorOptionTypeEnum = "ip" DhcpdConfigVendorOptionTypeEnum_ENUMSTRING DhcpdConfigVendorOptionTypeEnum = "string" DhcpdConfigVendorOptionTypeEnum_ENUMUINT16 DhcpdConfigVendorOptionTypeEnum = "uint16" DhcpdConfigVendorOptionTypeEnum_ENUMUINT32 DhcpdConfigVendorOptionTypeEnum = "uint32" )
type DhcpdStatLan ¶
type DhcpdStatLan struct {
NumIps *int `json:"num_ips,omitempty"`
NumLeased *int `json:"num_leased,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DhcpdStatLan represents a DhcpdStatLan struct.
func (DhcpdStatLan) MarshalJSON ¶
func (d DhcpdStatLan) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DhcpdStatLan. It customizes the JSON marshaling process for DhcpdStatLan objects.
func (DhcpdStatLan) String ¶ added in v0.4.23
func (d DhcpdStatLan) String() string
String implements the fmt.Stringer interface for DhcpdStatLan, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DhcpdStatLan) UnmarshalJSON ¶
func (d *DhcpdStatLan) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DhcpdStatLan. It customizes the JSON unmarshaling process for DhcpdStatLan objects.
type DiscoveredSwitch ¶
type DiscoveredSwitch struct {
Adopted *bool `json:"adopted,omitempty"`
ApRedundancy *ApRedundancy `json:"ap_redundancy,omitempty"`
Aps []DiscoveredSwitchAp `json:"aps,omitempty"`
ChassisId []string `json:"chassis_id,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
MgmtAddr *string `json:"mgmt_addr,omitempty"`
Model *string `json:"model,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
SystemDesc *string `json:"system_desc,omitempty"`
SystemName *string `json:"system_name,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
Vendor *string `json:"vendor,omitempty"`
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DiscoveredSwitch represents a DiscoveredSwitch struct.
func (DiscoveredSwitch) MarshalJSON ¶
func (d DiscoveredSwitch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DiscoveredSwitch. It customizes the JSON marshaling process for DiscoveredSwitch objects.
func (DiscoveredSwitch) String ¶ added in v0.4.23
func (d DiscoveredSwitch) String() string
String implements the fmt.Stringer interface for DiscoveredSwitch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DiscoveredSwitch) UnmarshalJSON ¶
func (d *DiscoveredSwitch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DiscoveredSwitch. It customizes the JSON unmarshaling process for DiscoveredSwitch objects.
type DiscoveredSwitchAp ¶
type DiscoveredSwitchAp struct {
Hostname *string `json:"hostname,omitempty"`
InactiveWiredVlans []int `json:"inactive_wired_vlans,omitempty"`
Mac *string `json:"mac,omitempty"`
PoeStatus *bool `json:"poe_status,omitempty"`
Port *string `json:"port,omitempty"`
PortId *string `json:"port_id,omitempty"`
PowerDraw *float64 `json:"power_draw,omitempty"`
When *string `json:"when,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DiscoveredSwitchAp represents a DiscoveredSwitchAp struct.
func (DiscoveredSwitchAp) MarshalJSON ¶
func (d DiscoveredSwitchAp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DiscoveredSwitchAp. It customizes the JSON marshaling process for DiscoveredSwitchAp objects.
func (DiscoveredSwitchAp) String ¶ added in v0.4.23
func (d DiscoveredSwitchAp) String() string
String implements the fmt.Stringer interface for DiscoveredSwitchAp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DiscoveredSwitchAp) UnmarshalJSON ¶
func (d *DiscoveredSwitchAp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DiscoveredSwitchAp. It customizes the JSON unmarshaling process for DiscoveredSwitchAp objects.
type DiscoveredSwitchMetric ¶
type DiscoveredSwitchMetric struct {
Adopted *bool `json:"adopted,omitempty"`
Aps []DiscoveredSwitchMetricAp `json:"aps,omitempty"`
ChassisId []string `json:"chassis_id,omitempty"`
Hostname *string `json:"hostname,omitempty"`
MgmtAddr *string `json:"mgmt_addr,omitempty"`
Model *string `json:"model,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
Scope *string `json:"scope,omitempty"`
Score *int `json:"score,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
SystemDesc *string `json:"system_desc,omitempty"`
SystemName *string `json:"system_name,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
Type *string `json:"type,omitempty"`
Vendor *string `json:"vendor,omitempty"`
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DiscoveredSwitchMetric represents a DiscoveredSwitchMetric struct.
func (DiscoveredSwitchMetric) MarshalJSON ¶
func (d DiscoveredSwitchMetric) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DiscoveredSwitchMetric. It customizes the JSON marshaling process for DiscoveredSwitchMetric objects.
func (DiscoveredSwitchMetric) String ¶ added in v0.4.23
func (d DiscoveredSwitchMetric) String() string
String implements the fmt.Stringer interface for DiscoveredSwitchMetric, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DiscoveredSwitchMetric) UnmarshalJSON ¶
func (d *DiscoveredSwitchMetric) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DiscoveredSwitchMetric. It customizes the JSON unmarshaling process for DiscoveredSwitchMetric objects.
type DiscoveredSwitchMetricAp ¶
type DiscoveredSwitchMetricAp struct {
Hostname *string `json:"hostname,omitempty"`
Mac *string `json:"mac,omitempty"`
PoeStatus *bool `json:"poe_status,omitempty"`
Port *string `json:"port,omitempty"`
PortId *string `json:"port_id,omitempty"`
PowerDraw *int `json:"power_draw,omitempty"`
When *string `json:"when,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DiscoveredSwitchMetricAp represents a DiscoveredSwitchMetricAp struct.
func (DiscoveredSwitchMetricAp) MarshalJSON ¶
func (d DiscoveredSwitchMetricAp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DiscoveredSwitchMetricAp. It customizes the JSON marshaling process for DiscoveredSwitchMetricAp objects.
func (DiscoveredSwitchMetricAp) String ¶ added in v0.4.23
func (d DiscoveredSwitchMetricAp) String() string
String implements the fmt.Stringer interface for DiscoveredSwitchMetricAp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DiscoveredSwitchMetricAp) UnmarshalJSON ¶
func (d *DiscoveredSwitchMetricAp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DiscoveredSwitchMetricAp. It customizes the JSON unmarshaling process for DiscoveredSwitchMetricAp objects.
type DiscoveredSwitchMetricTypeEnum ¶
type DiscoveredSwitchMetricTypeEnum string
DiscoveredSwitchMetricTypeEnum is a string enum. enum: `inactive_wired_vlans`, `poe_compliance`, `switch_ap_affinity`, `version_compliance`
const ( DiscoveredSwitchMetricTypeEnum_INACTIVEWIREDVLANS DiscoveredSwitchMetricTypeEnum = "inactive_wired_vlans" DiscoveredSwitchMetricTypeEnum_POECOMPLIANCE DiscoveredSwitchMetricTypeEnum = "poe_compliance" DiscoveredSwitchMetricTypeEnum_SWITCHAPAFFINITY DiscoveredSwitchMetricTypeEnum = "switch_ap_affinity" DiscoveredSwitchMetricTypeEnum_VERSIONCOMPLIANCE DiscoveredSwitchMetricTypeEnum = "version_compliance" )
type DiscoveredSwitchesMetricScopeEnum ¶
type DiscoveredSwitchesMetricScopeEnum string
DiscoveredSwitchesMetricScopeEnum is a string enum. enum: `site`, `switch`
const ( DiscoveredSwitchesMetricScopeEnum_SITE DiscoveredSwitchesMetricScopeEnum = "site" DiscoveredSwitchesMetricScopeEnum_ENUMSWITCH DiscoveredSwitchesMetricScopeEnum = "switch" )
type Dot11BandEnum ¶
type Dot11BandEnum string
Dot11BandEnum is a string enum. enum: `24`, `5`, `6`
const ( Dot11BandEnum_ENUM24 Dot11BandEnum = "24" Dot11BandEnum_ENUM5 Dot11BandEnum = "5" Dot11BandEnum_ENUM6 Dot11BandEnum = "6" )
type Dot11Bandwidth24Enum ¶
type Dot11Bandwidth24Enum int
Dot11Bandwidth24Enum is a int enum. channel width for the 2.4GHz band. enum: `0`(disabled, response only), `20`, `40`
const ( Dot11Bandwidth24Enum_ENUM0 Dot11Bandwidth24Enum = 0 Dot11Bandwidth24Enum_ENUM20 Dot11Bandwidth24Enum = 20 Dot11Bandwidth24Enum_ENUM40 Dot11Bandwidth24Enum = 40 )
type Dot11Bandwidth5Enum ¶
type Dot11Bandwidth5Enum int
Dot11Bandwidth5Enum is a int enum. channel width for the 5GHz band. enum: `0`(disabled, response only), `20`, `40`, `80`
const ( Dot11Bandwidth5Enum_ENUM0 Dot11Bandwidth5Enum = 0 Dot11Bandwidth5Enum_ENUM20 Dot11Bandwidth5Enum = 20 Dot11Bandwidth5Enum_ENUM40 Dot11Bandwidth5Enum = 40 Dot11Bandwidth5Enum_ENUM80 Dot11Bandwidth5Enum = 80 )
type Dot11Bandwidth6Enum ¶
type Dot11Bandwidth6Enum int
Dot11Bandwidth6Enum is a int enum. channel width for the 6GHz band. enum: `0`(disabled, response only), `20`, `40`, `80`, `160`
const ( Dot11Bandwidth6Enum_ENUM0 Dot11Bandwidth6Enum = 0 Dot11Bandwidth6Enum_ENUM20 Dot11Bandwidth6Enum = 20 Dot11Bandwidth6Enum_ENUM40 Dot11Bandwidth6Enum = 40 Dot11Bandwidth6Enum_ENUM80 Dot11Bandwidth6Enum = 80 Dot11Bandwidth6Enum_ENUM160 Dot11Bandwidth6Enum = 160 )
type Dot11BandwidthEnum ¶
type Dot11BandwidthEnum int
Dot11BandwidthEnum is a int enum. channel width for the band.enum: `0`(disabled, response only), `20`, `40`, `80` (only applicable for band_5 and band_6), `160` (only for band_6)
const ( Dot11BandwidthEnum_ENUM0 Dot11BandwidthEnum = 0 Dot11BandwidthEnum_ENUM20 Dot11BandwidthEnum = 20 Dot11BandwidthEnum_ENUM40 Dot11BandwidthEnum = 40 Dot11BandwidthEnum_ENUM80 Dot11BandwidthEnum = 80 Dot11BandwidthEnum_ENUM160 Dot11BandwidthEnum = 160 )
type Dot11ProtoEnum ¶
type Dot11ProtoEnum string
Dot11ProtoEnum is a string enum. enum: `a`, `ac`, `ax`, `b`, `be`, `g`, `n`
const ( Dot11ProtoEnum_A Dot11ProtoEnum = "a" Dot11ProtoEnum_AC Dot11ProtoEnum = "ac" Dot11ProtoEnum_AX Dot11ProtoEnum = "ax" Dot11ProtoEnum_B Dot11ProtoEnum = "b" Dot11ProtoEnum_BE Dot11ProtoEnum = "be" Dot11ProtoEnum_G Dot11ProtoEnum = "g" Dot11ProtoEnum_N Dot11ProtoEnum = "n" )
type Dscp ¶ added in v0.4.66
type Dscp struct {
// contains filtered or unexported fields
}
Dscp represents a Dscp struct. DSCP value range between 0 and 63
func (Dscp) MarshalJSON ¶ added in v0.4.66
MarshalJSON implements the json.Marshaler interface for Dscp. It customizes the JSON marshaling process for Dscp objects.
func (Dscp) String ¶ added in v0.4.66
String implements the fmt.Stringer interface for Dscp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Dscp) UnmarshalJSON ¶ added in v0.4.66
UnmarshalJSON implements the json.Unmarshaler interface for Dscp. It customizes the JSON unmarshaling process for Dscp objects.
type DswitchesComplianceMajorVersion ¶
type DswitchesComplianceMajorVersion struct {
MajorCount float64 `json:"major_count"`
Model string `json:"model"`
SystemNames []string `json:"system_names,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DswitchesComplianceMajorVersion represents a DswitchesComplianceMajorVersion struct.
func (DswitchesComplianceMajorVersion) MarshalJSON ¶
func (d DswitchesComplianceMajorVersion) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DswitchesComplianceMajorVersion. It customizes the JSON marshaling process for DswitchesComplianceMajorVersion objects.
func (DswitchesComplianceMajorVersion) String ¶ added in v0.4.23
func (d DswitchesComplianceMajorVersion) String() string
String implements the fmt.Stringer interface for DswitchesComplianceMajorVersion, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DswitchesComplianceMajorVersion) UnmarshalJSON ¶
func (d *DswitchesComplianceMajorVersion) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DswitchesComplianceMajorVersion. It customizes the JSON unmarshaling process for DswitchesComplianceMajorVersion objects.
type DswitchesMetricsInactiveWiredVlans ¶
type DswitchesMetricsInactiveWiredVlans struct {
Details interface{} `json:"details"`
Score float64 `json:"score"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DswitchesMetricsInactiveWiredVlans represents a DswitchesMetricsInactiveWiredVlans struct.
func (DswitchesMetricsInactiveWiredVlans) MarshalJSON ¶
func (d DswitchesMetricsInactiveWiredVlans) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DswitchesMetricsInactiveWiredVlans. It customizes the JSON marshaling process for DswitchesMetricsInactiveWiredVlans objects.
func (DswitchesMetricsInactiveWiredVlans) String ¶ added in v0.4.23
func (d DswitchesMetricsInactiveWiredVlans) String() string
String implements the fmt.Stringer interface for DswitchesMetricsInactiveWiredVlans, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DswitchesMetricsInactiveWiredVlans) UnmarshalJSON ¶
func (d *DswitchesMetricsInactiveWiredVlans) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DswitchesMetricsInactiveWiredVlans. It customizes the JSON unmarshaling process for DswitchesMetricsInactiveWiredVlans objects.
type DswitchesMetricsPoeCompliance ¶
type DswitchesMetricsPoeCompliance struct {
Details DswitchesMetricsPoeComplianceDetails `json:"details"`
Score float64 `json:"score"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DswitchesMetricsPoeCompliance represents a DswitchesMetricsPoeCompliance struct.
func (DswitchesMetricsPoeCompliance) MarshalJSON ¶
func (d DswitchesMetricsPoeCompliance) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DswitchesMetricsPoeCompliance. It customizes the JSON marshaling process for DswitchesMetricsPoeCompliance objects.
func (DswitchesMetricsPoeCompliance) String ¶ added in v0.4.23
func (d DswitchesMetricsPoeCompliance) String() string
String implements the fmt.Stringer interface for DswitchesMetricsPoeCompliance, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DswitchesMetricsPoeCompliance) UnmarshalJSON ¶
func (d *DswitchesMetricsPoeCompliance) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DswitchesMetricsPoeCompliance. It customizes the JSON unmarshaling process for DswitchesMetricsPoeCompliance objects.
type DswitchesMetricsPoeComplianceDetails ¶
type DswitchesMetricsPoeComplianceDetails struct {
TotalAps int `json:"total_aps"`
TotalPower float64 `json:"total_power"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DswitchesMetricsPoeComplianceDetails represents a DswitchesMetricsPoeComplianceDetails struct.
func (DswitchesMetricsPoeComplianceDetails) MarshalJSON ¶
func (d DswitchesMetricsPoeComplianceDetails) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DswitchesMetricsPoeComplianceDetails. It customizes the JSON marshaling process for DswitchesMetricsPoeComplianceDetails objects.
func (DswitchesMetricsPoeComplianceDetails) String ¶ added in v0.4.23
func (d DswitchesMetricsPoeComplianceDetails) String() string
String implements the fmt.Stringer interface for DswitchesMetricsPoeComplianceDetails, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DswitchesMetricsPoeComplianceDetails) UnmarshalJSON ¶
func (d *DswitchesMetricsPoeComplianceDetails) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DswitchesMetricsPoeComplianceDetails. It customizes the JSON unmarshaling process for DswitchesMetricsPoeComplianceDetails objects.
type DswitchesMetricsSwitchApAffinity ¶
type DswitchesMetricsSwitchApAffinity struct {
Details DswitchesMetricsSwitchApAffinityDetails `json:"details"`
Score float64 `json:"score"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DswitchesMetricsSwitchApAffinity represents a DswitchesMetricsSwitchApAffinity struct.
func (DswitchesMetricsSwitchApAffinity) MarshalJSON ¶
func (d DswitchesMetricsSwitchApAffinity) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DswitchesMetricsSwitchApAffinity. It customizes the JSON marshaling process for DswitchesMetricsSwitchApAffinity objects.
func (DswitchesMetricsSwitchApAffinity) String ¶ added in v0.4.23
func (d DswitchesMetricsSwitchApAffinity) String() string
String implements the fmt.Stringer interface for DswitchesMetricsSwitchApAffinity, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DswitchesMetricsSwitchApAffinity) UnmarshalJSON ¶
func (d *DswitchesMetricsSwitchApAffinity) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DswitchesMetricsSwitchApAffinity. It customizes the JSON unmarshaling process for DswitchesMetricsSwitchApAffinity objects.
type DswitchesMetricsSwitchApAffinityDetails ¶
type DswitchesMetricsSwitchApAffinityDetails struct {
SystemName []string `json:"system_name"`
Threshold float64 `json:"threshold"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DswitchesMetricsSwitchApAffinityDetails represents a DswitchesMetricsSwitchApAffinityDetails struct.
func (DswitchesMetricsSwitchApAffinityDetails) MarshalJSON ¶
func (d DswitchesMetricsSwitchApAffinityDetails) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DswitchesMetricsSwitchApAffinityDetails. It customizes the JSON marshaling process for DswitchesMetricsSwitchApAffinityDetails objects.
func (DswitchesMetricsSwitchApAffinityDetails) String ¶ added in v0.4.23
func (d DswitchesMetricsSwitchApAffinityDetails) String() string
String implements the fmt.Stringer interface for DswitchesMetricsSwitchApAffinityDetails, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DswitchesMetricsSwitchApAffinityDetails) UnmarshalJSON ¶
func (d *DswitchesMetricsSwitchApAffinityDetails) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DswitchesMetricsSwitchApAffinityDetails. It customizes the JSON unmarshaling process for DswitchesMetricsSwitchApAffinityDetails objects.
type DswitchesMetricsVersionCompliance ¶
type DswitchesMetricsVersionCompliance struct {
Details DswitchesMetricsVersionComplianceDetails `json:"details"`
Score float64 `json:"score"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DswitchesMetricsVersionCompliance represents a DswitchesMetricsVersionCompliance struct.
func (DswitchesMetricsVersionCompliance) MarshalJSON ¶
func (d DswitchesMetricsVersionCompliance) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DswitchesMetricsVersionCompliance. It customizes the JSON marshaling process for DswitchesMetricsVersionCompliance objects.
func (DswitchesMetricsVersionCompliance) String ¶ added in v0.4.23
func (d DswitchesMetricsVersionCompliance) String() string
String implements the fmt.Stringer interface for DswitchesMetricsVersionCompliance, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DswitchesMetricsVersionCompliance) UnmarshalJSON ¶
func (d *DswitchesMetricsVersionCompliance) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DswitchesMetricsVersionCompliance. It customizes the JSON unmarshaling process for DswitchesMetricsVersionCompliance objects.
type DswitchesMetricsVersionComplianceDetails ¶
type DswitchesMetricsVersionComplianceDetails struct {
MajorVersions []DswitchesComplianceMajorVersion `json:"major_versions"`
TotalSwitchCount int `json:"total_switch_count"`
AdditionalProperties map[string]interface{} `json:"_"`
}
DswitchesMetricsVersionComplianceDetails represents a DswitchesMetricsVersionComplianceDetails struct.
func (DswitchesMetricsVersionComplianceDetails) MarshalJSON ¶
func (d DswitchesMetricsVersionComplianceDetails) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DswitchesMetricsVersionComplianceDetails. It customizes the JSON marshaling process for DswitchesMetricsVersionComplianceDetails objects.
func (DswitchesMetricsVersionComplianceDetails) String ¶ added in v0.4.23
func (d DswitchesMetricsVersionComplianceDetails) String() string
String implements the fmt.Stringer interface for DswitchesMetricsVersionComplianceDetails, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*DswitchesMetricsVersionComplianceDetails) UnmarshalJSON ¶
func (d *DswitchesMetricsVersionComplianceDetails) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DswitchesMetricsVersionComplianceDetails. It customizes the JSON unmarshaling process for DswitchesMetricsVersionComplianceDetails objects.
type DynamicPskSourceEnum ¶
type DynamicPskSourceEnum string
DynamicPskSourceEnum is a string enum. enum: `cloud_psks`, `radius`
const ( DynamicPskSourceEnum_CLOUDPSKS DynamicPskSourceEnum = "cloud_psks" DynamicPskSourceEnum_RADIUS DynamicPskSourceEnum = "radius" )
type EdrProviderEnum ¶ added in v0.4.87
type EdrProviderEnum string
EdrProviderEnum is a string enum. `enum: `sentinelone`, `crowdstrike`
const ( EdrProviderEnum_CROWDSTRIKE EdrProviderEnum = "crowdstrike" EdrProviderEnum_SENTINELONE EdrProviderEnum = "sentinelone" )
type EdrStatusEnum ¶ added in v0.4.87
type EdrStatusEnum string
EdrStatusEnum is a string enum. EDR Status of the NAC client. enum: `sentinelone_healthy`, `sentinelone_infected`, `crowdstrike_low`, `crowdstrike_medium`, `crowdstrike_high`, `crowdstrike_critical`, `crowdstrike_informational`
const ( EdrStatusEnum_SENTINELONEHEALTHY EdrStatusEnum = "sentinelone_healthy" EdrStatusEnum_SENTINELONEINFECTED EdrStatusEnum = "sentinelone_infected" EdrStatusEnum_CROWDSTRIKELOW EdrStatusEnum = "crowdstrike_low" EdrStatusEnum_CROWDSTRIKEMEDIUM EdrStatusEnum = "crowdstrike_medium" EdrStatusEnum_CROWDSTRIKEHIGH EdrStatusEnum = "crowdstrike_high" EdrStatusEnum_CROWDSTRIKECRITICAL EdrStatusEnum = "crowdstrike_critical" EdrStatusEnum_CROWDSTRIKEINFORMATIONAL EdrStatusEnum = "crowdstrike_informational" )
type EmailString ¶
type EmailString struct {
Email string `json:"email"`
AdditionalProperties map[string]interface{} `json:"_"`
}
EmailString represents a EmailString struct.
func (EmailString) MarshalJSON ¶
func (e EmailString) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EmailString. It customizes the JSON marshaling process for EmailString objects.
func (EmailString) String ¶ added in v0.4.23
func (e EmailString) String() string
String implements the fmt.Stringer interface for EmailString, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*EmailString) UnmarshalJSON ¶
func (e *EmailString) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EmailString. It customizes the JSON unmarshaling process for EmailString objects.
type EventFastroam ¶
type EventFastroam struct {
ApMac string `json:"ap_mac"`
ClientMac string `json:"client_mac"`
Fromap string `json:"fromap"`
Latency float64 `json:"latency"`
Ssid string `json:"ssid"`
Subtype *string `json:"subtype,omitempty"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
// enum: `fail`, `none`, `pingpong`, `poor`, `slow`, `success`
Type *EventFastroamTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
EventFastroam represents a EventFastroam struct.
func (EventFastroam) MarshalJSON ¶
func (e EventFastroam) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EventFastroam. It customizes the JSON marshaling process for EventFastroam objects.
func (EventFastroam) String ¶ added in v0.4.23
func (e EventFastroam) String() string
String implements the fmt.Stringer interface for EventFastroam, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*EventFastroam) UnmarshalJSON ¶
func (e *EventFastroam) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EventFastroam. It customizes the JSON unmarshaling process for EventFastroam objects.
type EventFastroamTypeEnum ¶
type EventFastroamTypeEnum string
EventFastroamTypeEnum is a string enum. enum: `fail`, `none`, `pingpong`, `poor`, `slow`, `success`
const ( EventFastroamTypeEnum_FAIL EventFastroamTypeEnum = "fail" EventFastroamTypeEnum_NONE EventFastroamTypeEnum = "none" EventFastroamTypeEnum_PINGPONG EventFastroamTypeEnum = "pingpong" EventFastroamTypeEnum_POOR EventFastroamTypeEnum = "poor" EventFastroamTypeEnum_SLOW EventFastroamTypeEnum = "slow" EventFastroamTypeEnum_SUCCESS EventFastroamTypeEnum = "success" )
type EventOtherdevice ¶
type EventOtherdevice struct {
DeviceMac *string `json:"device_mac,omitempty"`
Mac *string `json:"mac,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Text *string `json:"text,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
Type *string `json:"type,omitempty"`
Vendor *string `json:"vendor,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
EventOtherdevice represents a EventOtherdevice struct.
func (EventOtherdevice) MarshalJSON ¶
func (e EventOtherdevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EventOtherdevice. It customizes the JSON marshaling process for EventOtherdevice objects.
func (EventOtherdevice) String ¶ added in v0.4.23
func (e EventOtherdevice) String() string
String implements the fmt.Stringer interface for EventOtherdevice, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*EventOtherdevice) UnmarshalJSON ¶
func (e *EventOtherdevice) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EventOtherdevice. It customizes the JSON unmarshaling process for EventOtherdevice objects.
type EventSeverityEnum ¶ added in v0.4.94
type EventSeverityEnum string
EventSeverityEnum is a string enum.
const ( EventSeverityEnum_NORMAL EventSeverityEnum = "normal" EventSeverityEnum_CRITICAL EventSeverityEnum = "critical" EventSeverityEnum_HIGH EventSeverityEnum = "high" EventSeverityEnum_WARNING EventSeverityEnum = "warning" )
type EventsClient ¶
type EventsClient struct {
Ap *string `json:"ap,omitempty"`
// enum: `24`, `5`, `6`
Band Dot11BandEnum `json:"band"`
Bssid *string `json:"bssid,omitempty"`
Channel *int `json:"channel,omitempty"`
// Key management protocol used for the latest authentication. enum: `WPA2-PSK`, `WPA2-PSK-FT`, `WPA2-PSK-SHA256`, `WPA3-EAP-SHA256`, `WPA3-SAE-FT`, `WPA3-SAE-PSK`
KeyMgmt *ClientKeyMgmtEnum `json:"key_mgmt,omitempty"`
// enum: `a`, `ac`, `ax`, `b`, `be`, `g`, `n`
Proto *Dot11ProtoEnum `json:"proto,omitempty"`
Ssid *string `json:"ssid,omitempty"`
Text *string `json:"text,omitempty"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
// Event type, e.g. MARVIS_EVENT_CLIENT_FBT_FAILURE
Type *string `json:"type,omitempty"`
// For assoc/disassoc events
TypeCode *int `json:"type_code,omitempty"`
WlanId *uuid.UUID `json:"wlan_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
EventsClient represents a EventsClient struct. Client events
func (EventsClient) MarshalJSON ¶
func (e EventsClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EventsClient. It customizes the JSON marshaling process for EventsClient objects.
func (EventsClient) String ¶ added in v0.4.23
func (e EventsClient) String() string
String implements the fmt.Stringer interface for EventsClient, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*EventsClient) UnmarshalJSON ¶
func (e *EventsClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EventsClient. It customizes the JSON unmarshaling process for EventsClient objects.
type EventsClientWan ¶
type EventsClientWan struct {
When *string `json:"When,omitempty"`
EvType *string `json:"ev_type,omitempty"`
Metadata *interface{} `json:"metadata,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
RandomMac *bool `json:"random_mac,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Text *string `json:"text,omitempty"`
Wcid *uuid.UUID `json:"wcid,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
EventsClientWan represents a EventsClientWan struct.
func (EventsClientWan) MarshalJSON ¶
func (e EventsClientWan) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EventsClientWan. It customizes the JSON marshaling process for EventsClientWan objects.
func (EventsClientWan) String ¶ added in v0.4.23
func (e EventsClientWan) String() string
String implements the fmt.Stringer interface for EventsClientWan, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*EventsClientWan) UnmarshalJSON ¶
func (e *EventsClientWan) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EventsClientWan. It customizes the JSON unmarshaling process for EventsClientWan objects.
type EventsRogue ¶
type EventsRogue struct {
Ap string `json:"ap"`
Bssid string `json:"bssid"`
Channel int `json:"channel"`
Rssi int `json:"rssi"`
Ssid string `json:"ssid"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
AdditionalProperties map[string]interface{} `json:"_"`
}
EventsRogue represents a EventsRogue struct. Rogue events
func (EventsRogue) MarshalJSON ¶
func (e EventsRogue) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EventsRogue. It customizes the JSON marshaling process for EventsRogue objects.
func (EventsRogue) String ¶ added in v0.4.23
func (e EventsRogue) String() string
String implements the fmt.Stringer interface for EventsRogue, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*EventsRogue) UnmarshalJSON ¶
func (e *EventsRogue) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EventsRogue. It customizes the JSON unmarshaling process for EventsRogue objects.
type EventsSkyatp ¶
type EventsSkyatp struct {
DeviceMac string `json:"device_mac"`
ForSite *bool `json:"for_site,omitempty"`
Ip string `json:"ip"`
Mac string `json:"mac"`
OrgId uuid.UUID `json:"org_id"`
SiteId uuid.UUID `json:"site_id"`
ThreatLevel int `json:"threat_level"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
Type string `json:"type"`
AdditionalProperties map[string]interface{} `json:"_"`
}
EventsSkyatp represents a EventsSkyatp struct. SkyATP events
func (EventsSkyatp) MarshalJSON ¶
func (e EventsSkyatp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EventsSkyatp. It customizes the JSON marshaling process for EventsSkyatp objects.
func (EventsSkyatp) String ¶ added in v0.4.23
func (e EventsSkyatp) String() string
String implements the fmt.Stringer interface for EventsSkyatp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*EventsSkyatp) UnmarshalJSON ¶
func (e *EventsSkyatp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EventsSkyatp. It customizes the JSON unmarshaling process for EventsSkyatp objects.
type EvpnConfig ¶
type EvpnConfig struct {
Enabled *bool `json:"enabled,omitempty"`
// enum: `access`, `collapsed-core`, `core`, `distribution`, `esilag-access`, `none`
Role *EvpnConfigRoleEnum `json:"role,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
EvpnConfig represents a EvpnConfig struct. EVPN Junos settings
func (EvpnConfig) MarshalJSON ¶
func (e EvpnConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EvpnConfig. It customizes the JSON marshaling process for EvpnConfig objects.
func (EvpnConfig) String ¶ added in v0.4.23
func (e EvpnConfig) String() string
String implements the fmt.Stringer interface for EvpnConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*EvpnConfig) UnmarshalJSON ¶
func (e *EvpnConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EvpnConfig. It customizes the JSON unmarshaling process for EvpnConfig objects.
type EvpnConfigRoleEnum ¶
type EvpnConfigRoleEnum string
EvpnConfigRoleEnum is a string enum. enum: `access`, `collapsed-core`, `core`, `distribution`, `esilag-access`, `none`
const ( EvpnConfigRoleEnum_ACCESS EvpnConfigRoleEnum = "access" EvpnConfigRoleEnum_COLLAPSEDCORE EvpnConfigRoleEnum = "collapsed-core" EvpnConfigRoleEnum_CORE EvpnConfigRoleEnum = "core" EvpnConfigRoleEnum_DISTRIBUTION EvpnConfigRoleEnum = "distribution" EvpnConfigRoleEnum_ESILAGACCESS EvpnConfigRoleEnum = "esilag-access" EvpnConfigRoleEnum_NONE EvpnConfigRoleEnum = "none" )
type EvpnOptions ¶
type EvpnOptions struct {
// Optional, for dhcp_relay, unique loopback IPs are required for ERB or IPClos where we can set option-82 server_id-overrides
AutoLoopbackSubnet *string `json:"auto_loopback_subnet,omitempty"`
// Optional, for dhcp_relay, unique loopback IPs are required for ERB or IPClos where we can set option-82 server_id-overrides
AutoLoopbackSubnet6 *string `json:"auto_loopback_subnet6,omitempty"`
// Optional, this generates router_id automatically, if specified, `router_id_prefix` is ignored
AutoRouterIdSubnet *string `json:"auto_router_id_subnet,omitempty"`
// Optional, this generates router_id automatically, if specified, `router_id_prefix` is ignored
AutoRouterIdSubnet6 *string `json:"auto_router_id_subnet6,omitempty"`
// Optional, for ERB or CLOS, you can either use esilag to upstream routers or to also be the virtual-gateway. When `routed_at` != `core`, whether to do virtual-gateway at core as well
CoreAsBorder *bool `json:"core_as_border,omitempty"`
// if the mangement traffic goes inbnd, during installation, only the border/core switches are connected to the Internet to allow initial configuration to be pushed down and leave the downstream access switches stay in the Factory Default state enabling inband-ztp allows upstream switches to use LLDP to assign IP and gives Internet to downstream switches in that state
EnableInbandZtp *bool `json:"enable_inband_ztp,omitempty"`
Overlay *EvpnOptionsOverlay `json:"overlay,omitempty"`
// Only for by Core-Distribution architecture when `evpn_options.routed_at`==`core`. By default, JUNOS uses 00-00-5e-00-01-01 as the virtual-gateway-address's v4_mac. If enabled, 00-00-5e-00-0X-YY will be used (where XX=vlan_id/256, YY=vlan_id%256)
PerVlanVgaV4Mac *bool `json:"per_vlan_vga_v4_mac,omitempty"`
// Only for by Core-Distribution architecture when `evpn_options.routed_at`==`core`. By default, JUNOS uses 00-00-5e-00-02-01 as the virtual-gateway-address's v6_mac. If enabled, 00-00-5e-00-1X-YY will be used (where XX=vlan_id/256, YY=vlan_id%256)
PerVlanVgaV6Mac *bool `json:"per_vlan_vga_v6_mac,omitempty"`
// optional, where virtual-gateway should reside. enum: `core`, `distribution`, `edge`
RoutedAt *EvpnOptionsRoutedAtEnum `json:"routed_at,omitempty"`
Underlay *EvpnOptionsUnderlay `json:"underlay,omitempty"`
// Optional, for EX9200 only to segregate virtual-switches
VsInstances map[string]EvpnOptionsVsInstance `json:"vs_instances,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
EvpnOptions represents a EvpnOptions struct. EVPN Options
func (EvpnOptions) MarshalJSON ¶
func (e EvpnOptions) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EvpnOptions. It customizes the JSON marshaling process for EvpnOptions objects.
func (EvpnOptions) String ¶ added in v0.4.23
func (e EvpnOptions) String() string
String implements the fmt.Stringer interface for EvpnOptions, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*EvpnOptions) UnmarshalJSON ¶
func (e *EvpnOptions) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EvpnOptions. It customizes the JSON unmarshaling process for EvpnOptions objects.
type EvpnOptionsOverlay ¶
type EvpnOptionsOverlay struct {
// Overlay BGP Local AS Number
As *int `json:"as,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
EvpnOptionsOverlay represents a EvpnOptionsOverlay struct.
func (EvpnOptionsOverlay) MarshalJSON ¶
func (e EvpnOptionsOverlay) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EvpnOptionsOverlay. It customizes the JSON marshaling process for EvpnOptionsOverlay objects.
func (EvpnOptionsOverlay) String ¶ added in v0.4.23
func (e EvpnOptionsOverlay) String() string
String implements the fmt.Stringer interface for EvpnOptionsOverlay, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*EvpnOptionsOverlay) UnmarshalJSON ¶
func (e *EvpnOptionsOverlay) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EvpnOptionsOverlay. It customizes the JSON unmarshaling process for EvpnOptionsOverlay objects.
type EvpnOptionsRoutedAtEnum ¶
type EvpnOptionsRoutedAtEnum string
EvpnOptionsRoutedAtEnum is a string enum. optional, where virtual-gateway should reside. enum: `core`, `distribution`, `edge`
const ( EvpnOptionsRoutedAtEnum_CORE EvpnOptionsRoutedAtEnum = "core" EvpnOptionsRoutedAtEnum_DISTRIBUTION EvpnOptionsRoutedAtEnum = "distribution" EvpnOptionsRoutedAtEnum_EDGE EvpnOptionsRoutedAtEnum = "edge" )
type EvpnOptionsUnderlay ¶
type EvpnOptionsUnderlay struct {
// Underlay BGP Base AS Number
AsBase *int `json:"as_base,omitempty"`
RoutedIdPrefix *string `json:"routed_id_prefix,omitempty"`
// Underlay subnet, by default, `10.255.240.0/20`, or `fd31:5700::/64` for ipv6
Subnet *string `json:"subnet,omitempty"`
// If v6 is desired for underlay
UseIpv6 *bool `json:"use_ipv6,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
EvpnOptionsUnderlay represents a EvpnOptionsUnderlay struct.
func (EvpnOptionsUnderlay) MarshalJSON ¶
func (e EvpnOptionsUnderlay) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EvpnOptionsUnderlay. It customizes the JSON marshaling process for EvpnOptionsUnderlay objects.
func (EvpnOptionsUnderlay) String ¶ added in v0.4.23
func (e EvpnOptionsUnderlay) String() string
String implements the fmt.Stringer interface for EvpnOptionsUnderlay, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*EvpnOptionsUnderlay) UnmarshalJSON ¶
func (e *EvpnOptionsUnderlay) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EvpnOptionsUnderlay. It customizes the JSON unmarshaling process for EvpnOptionsUnderlay objects.
type EvpnOptionsVsInstance ¶
type EvpnOptionsVsInstance struct {
Networks []string `json:"networks,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
EvpnOptionsVsInstance represents a EvpnOptionsVsInstance struct.
func (EvpnOptionsVsInstance) MarshalJSON ¶
func (e EvpnOptionsVsInstance) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EvpnOptionsVsInstance. It customizes the JSON marshaling process for EvpnOptionsVsInstance objects.
func (EvpnOptionsVsInstance) String ¶ added in v0.4.23
func (e EvpnOptionsVsInstance) String() string
String implements the fmt.Stringer interface for EvpnOptionsVsInstance, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*EvpnOptionsVsInstance) UnmarshalJSON ¶
func (e *EvpnOptionsVsInstance) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EvpnOptionsVsInstance. It customizes the JSON unmarshaling process for EvpnOptionsVsInstance objects.
type EvpnTopology ¶
type EvpnTopology struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// EVPN Options
EvpnOptions *EvpnOptions `json:"evpn_options,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name *string `json:"name,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
Overwrite *bool `json:"overwrite,omitempty"`
// Property key is the pod number
PodNames map[string]string `json:"pod_names,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Property key is the switch mac
SwitchConfigs map[string]EvpnTopologySwitchConfig `json:"switch_configs,omitempty"`
Switches []EvpnTopologySwitch `json:"switches"`
AdditionalProperties map[string]interface{} `json:"_"`
}
EvpnTopology represents a EvpnTopology struct.
func (EvpnTopology) MarshalJSON ¶
func (e EvpnTopology) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EvpnTopology. It customizes the JSON marshaling process for EvpnTopology objects.
func (EvpnTopology) String ¶ added in v0.4.23
func (e EvpnTopology) String() string
String implements the fmt.Stringer interface for EvpnTopology, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*EvpnTopology) UnmarshalJSON ¶
func (e *EvpnTopology) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EvpnTopology. It customizes the JSON unmarshaling process for EvpnTopology objects.
type EvpnTopologyResponse ¶ added in v0.4.31
type EvpnTopologyResponse struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// EVPN Options
EvpnOptions *EvpnOptions `json:"evpn_options,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name *string `json:"name,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
Overwrite *bool `json:"overwrite,omitempty"`
// Property key is the pod number
PodNames map[string]string `json:"pod_names,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
EvpnTopologyResponse represents a EvpnTopologyResponse struct.
func (EvpnTopologyResponse) MarshalJSON ¶ added in v0.4.31
func (e EvpnTopologyResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EvpnTopologyResponse. It customizes the JSON marshaling process for EvpnTopologyResponse objects.
func (EvpnTopologyResponse) String ¶ added in v0.4.31
func (e EvpnTopologyResponse) String() string
String implements the fmt.Stringer interface for EvpnTopologyResponse, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*EvpnTopologyResponse) UnmarshalJSON ¶ added in v0.4.31
func (e *EvpnTopologyResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EvpnTopologyResponse. It customizes the JSON unmarshaling process for EvpnTopologyResponse objects.
type EvpnTopologySwitch ¶
type EvpnTopologySwitch struct {
Config *EvpnTopologySwitchConfig `json:"config,omitempty"`
DeviceprofileId *uuid.UUID `json:"deviceprofile_id,omitempty"`
DownlinkIps []string `json:"downlink_ips,omitempty"`
Downlinks []string `json:"downlinks,omitempty"`
Esilaglinks []string `json:"esilaglinks,omitempty"`
EvpnId *int `json:"evpn_id,omitempty"`
Mac string `json:"mac"`
Model *string `json:"model,omitempty"`
// Optionally, for distribution / access / esilag-access, they can be placed into different pods. e.g.
// * for CLOS, to group dist / access switches into pods
// * for ERB/CRB, to group dist / esilag-access into pods
Pod *int `json:"pod,omitempty"`
// By default, core switches are assumed to be connecting all pods.
// if you want to limit the pods, you can specify pods.
Pods []int `json:"pods,omitempty"`
// use `role`==`none` to remove a switch from the topology. enum: `access`, `collapsed-core`, `core`, `distribution`, `esilag-access`, `none`
Role EvpnTopologySwitchRoleEnum `json:"role"`
RouterId *string `json:"router_id,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
SuggestedDownlinks []string `json:"suggested_downlinks,omitempty"`
SuggestedEsilaglinks []string `json:"suggested_esilaglinks,omitempty"`
SuggestedUplinks []string `json:"suggested_uplinks,omitempty"`
Uplinks []string `json:"uplinks,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
EvpnTopologySwitch represents a EvpnTopologySwitch struct.
func (EvpnTopologySwitch) MarshalJSON ¶
func (e EvpnTopologySwitch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EvpnTopologySwitch. It customizes the JSON marshaling process for EvpnTopologySwitch objects.
func (EvpnTopologySwitch) String ¶ added in v0.4.23
func (e EvpnTopologySwitch) String() string
String implements the fmt.Stringer interface for EvpnTopologySwitch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*EvpnTopologySwitch) UnmarshalJSON ¶
func (e *EvpnTopologySwitch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EvpnTopologySwitch. It customizes the JSON unmarshaling process for EvpnTopologySwitch objects.
type EvpnTopologySwitchConfig ¶ added in v0.4.4
type EvpnTopologySwitchConfig struct {
DhcpdConfig *EvpnTopologySwitchConfigDhcpdConfig `json:"dhcpd_config,omitempty"`
// Property key is network name
Networks map[string]SwitchNetwork `json:"networks,omitempty"`
// Additional IP Addresses configured on the switch. Property key is the port network name
OtherIpConfigs map[string]JunosOtherIpConfig `json:"other_ip_configs,omitempty"`
// Property key is the port name or range (e.g. "ge-0/0/0-10")
PortConfig map[string]JunosPortConfig `json:"port_config,omitempty"`
// Property key is the port usage name. Defines the profiles of port configuration configured on the switch
PortUsages map[string]SwitchPortUsage `json:"port_usages,omitempty"`
// Used for OSPF / BGP / EVPN
RouterId *string `json:"router_id,omitempty"`
VrfConfig *EvpnTopologySwitchConfigVrfConfig `json:"vrf_config,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
EvpnTopologySwitchConfig represents a EvpnTopologySwitchConfig struct.
func (EvpnTopologySwitchConfig) MarshalJSON ¶ added in v0.4.4
func (e EvpnTopologySwitchConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EvpnTopologySwitchConfig. It customizes the JSON marshaling process for EvpnTopologySwitchConfig objects.
func (EvpnTopologySwitchConfig) String ¶ added in v0.4.23
func (e EvpnTopologySwitchConfig) String() string
String implements the fmt.Stringer interface for EvpnTopologySwitchConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*EvpnTopologySwitchConfig) UnmarshalJSON ¶ added in v0.4.4
func (e *EvpnTopologySwitchConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EvpnTopologySwitchConfig. It customizes the JSON unmarshaling process for EvpnTopologySwitchConfig objects.
type EvpnTopologySwitchConfigDhcpdConfig ¶ added in v0.4.6
type EvpnTopologySwitchConfigDhcpdConfig struct {
// If DHCPD is enabled on the switch
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
EvpnTopologySwitchConfigDhcpdConfig represents a EvpnTopologySwitchConfigDhcpdConfig struct.
func (EvpnTopologySwitchConfigDhcpdConfig) MarshalJSON ¶ added in v0.4.6
func (e EvpnTopologySwitchConfigDhcpdConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EvpnTopologySwitchConfigDhcpdConfig. It customizes the JSON marshaling process for EvpnTopologySwitchConfigDhcpdConfig objects.
func (EvpnTopologySwitchConfigDhcpdConfig) String ¶ added in v0.4.23
func (e EvpnTopologySwitchConfigDhcpdConfig) String() string
String implements the fmt.Stringer interface for EvpnTopologySwitchConfigDhcpdConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*EvpnTopologySwitchConfigDhcpdConfig) UnmarshalJSON ¶ added in v0.4.6
func (e *EvpnTopologySwitchConfigDhcpdConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EvpnTopologySwitchConfigDhcpdConfig. It customizes the JSON unmarshaling process for EvpnTopologySwitchConfigDhcpdConfig objects.
type EvpnTopologySwitchConfigVrfConfig ¶ added in v0.4.6
type EvpnTopologySwitchConfigVrfConfig struct {
// Whether to enable VRF (when supported on the device)
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
EvpnTopologySwitchConfigVrfConfig represents a EvpnTopologySwitchConfigVrfConfig struct.
func (EvpnTopologySwitchConfigVrfConfig) MarshalJSON ¶ added in v0.4.6
func (e EvpnTopologySwitchConfigVrfConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EvpnTopologySwitchConfigVrfConfig. It customizes the JSON marshaling process for EvpnTopologySwitchConfigVrfConfig objects.
func (EvpnTopologySwitchConfigVrfConfig) String ¶ added in v0.4.23
func (e EvpnTopologySwitchConfigVrfConfig) String() string
String implements the fmt.Stringer interface for EvpnTopologySwitchConfigVrfConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*EvpnTopologySwitchConfigVrfConfig) UnmarshalJSON ¶ added in v0.4.6
func (e *EvpnTopologySwitchConfigVrfConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EvpnTopologySwitchConfigVrfConfig. It customizes the JSON unmarshaling process for EvpnTopologySwitchConfigVrfConfig objects.
type EvpnTopologySwitchRoleEnum ¶
type EvpnTopologySwitchRoleEnum string
EvpnTopologySwitchRoleEnum is a string enum. use `role`==`none` to remove a switch from the topology. enum: `access`, `collapsed-core`, `core`, `distribution`, `esilag-access`, `none`
const ( EvpnTopologySwitchRoleEnum_ACCESS EvpnTopologySwitchRoleEnum = "access" EvpnTopologySwitchRoleEnum_COLLAPSEDCORE EvpnTopologySwitchRoleEnum = "collapsed-core" EvpnTopologySwitchRoleEnum_CORE EvpnTopologySwitchRoleEnum = "core" EvpnTopologySwitchRoleEnum_DISTRIBUTION EvpnTopologySwitchRoleEnum = "distribution" EvpnTopologySwitchRoleEnum_ESILAGACCESS EvpnTopologySwitchRoleEnum = "esilag-access" EvpnTopologySwitchRoleEnum_NONE EvpnTopologySwitchRoleEnum = "none" )
type ExtraRoute ¶ added in v0.2.25
type ExtraRoute struct {
// This takes precedence
Discard *bool `json:"discard,omitempty"`
Metric Optional[int] `json:"metric"`
NextQualified map[string]ExtraRouteNextQualifiedProperties `json:"next_qualified,omitempty"`
NoResolve *bool `json:"no_resolve,omitempty"`
Preference Optional[int] `json:"preference"`
// Next-hop IP Address
Via *string `json:"via,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ExtraRoute represents a ExtraRoute struct.
func (ExtraRoute) MarshalJSON ¶ added in v0.2.25
func (e ExtraRoute) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ExtraRoute. It customizes the JSON marshaling process for ExtraRoute objects.
func (ExtraRoute) String ¶ added in v0.4.23
func (e ExtraRoute) String() string
String implements the fmt.Stringer interface for ExtraRoute, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ExtraRoute) UnmarshalJSON ¶ added in v0.2.25
func (e *ExtraRoute) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ExtraRoute. It customizes the JSON unmarshaling process for ExtraRoute objects.
type ExtraRoute6 ¶ added in v0.2.25
type ExtraRoute6 struct {
// This takes precedence
Discard *bool `json:"discard,omitempty"`
Metric Optional[int] `json:"metric"`
NextQualified map[string]ExtraRoute6NextQualifiedProperties `json:"next_qualified,omitempty"`
NoResolve *bool `json:"no_resolve,omitempty"`
Preference Optional[int] `json:"preference"`
// Next-hop IP Address
Via *string `json:"via,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ExtraRoute6 represents a ExtraRoute6 struct.
func (ExtraRoute6) MarshalJSON ¶ added in v0.2.25
func (e ExtraRoute6) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ExtraRoute6. It customizes the JSON marshaling process for ExtraRoute6 objects.
func (ExtraRoute6) String ¶ added in v0.4.23
func (e ExtraRoute6) String() string
String implements the fmt.Stringer interface for ExtraRoute6, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ExtraRoute6) UnmarshalJSON ¶ added in v0.2.25
func (e *ExtraRoute6) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ExtraRoute6. It customizes the JSON unmarshaling process for ExtraRoute6 objects.
type ExtraRoute6NextQualifiedProperties ¶ added in v0.2.25
type ExtraRoute6NextQualifiedProperties struct {
Metric Optional[int] `json:"metric"`
Preference Optional[int] `json:"preference"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ExtraRoute6NextQualifiedProperties represents a ExtraRoute6NextQualifiedProperties struct.
func (ExtraRoute6NextQualifiedProperties) MarshalJSON ¶ added in v0.2.25
func (e ExtraRoute6NextQualifiedProperties) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ExtraRoute6NextQualifiedProperties. It customizes the JSON marshaling process for ExtraRoute6NextQualifiedProperties objects.
func (ExtraRoute6NextQualifiedProperties) String ¶ added in v0.4.23
func (e ExtraRoute6NextQualifiedProperties) String() string
String implements the fmt.Stringer interface for ExtraRoute6NextQualifiedProperties, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ExtraRoute6NextQualifiedProperties) UnmarshalJSON ¶ added in v0.2.25
func (e *ExtraRoute6NextQualifiedProperties) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ExtraRoute6NextQualifiedProperties. It customizes the JSON unmarshaling process for ExtraRoute6NextQualifiedProperties objects.
type ExtraRouteNextQualifiedProperties ¶ added in v0.2.25
type ExtraRouteNextQualifiedProperties struct {
Metric Optional[int] `json:"metric"`
Preference Optional[int] `json:"preference"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ExtraRouteNextQualifiedProperties represents a ExtraRouteNextQualifiedProperties struct.
func (ExtraRouteNextQualifiedProperties) MarshalJSON ¶ added in v0.2.25
func (e ExtraRouteNextQualifiedProperties) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ExtraRouteNextQualifiedProperties. It customizes the JSON marshaling process for ExtraRouteNextQualifiedProperties objects.
func (ExtraRouteNextQualifiedProperties) String ¶ added in v0.4.23
func (e ExtraRouteNextQualifiedProperties) String() string
String implements the fmt.Stringer interface for ExtraRouteNextQualifiedProperties, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ExtraRouteNextQualifiedProperties) UnmarshalJSON ¶ added in v0.2.25
func (e *ExtraRouteNextQualifiedProperties) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ExtraRouteNextQualifiedProperties. It customizes the JSON unmarshaling process for ExtraRouteNextQualifiedProperties objects.
type FastRoamResultEnum ¶
type FastRoamResultEnum string
FastRoamResultEnum is a string enum. enum: `fail`, `none`, `success`
const ( FastRoamResultEnum_FAIL FastRoamResultEnum = "fail" FastRoamResultEnum_NONE FastRoamResultEnum = "none" FastRoamResultEnum_SUCCESS FastRoamResultEnum = "success" )
type FileWrapper ¶
type FileWrapper = https.FileWrapper
FileWrapper is a struct that represents a file along with its metadata such as the file content, file name, and file headers.
type Fingerprint ¶ added in v0.4.54
type Fingerprint struct {
Family *string `json:"family,omitempty"`
Mac *string `json:"mac,omitempty"`
Mfg *string `json:"mfg,omitempty"`
Model *string `json:"model,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
Os *string `json:"os,omitempty"`
OsType *string `json:"os_type,omitempty"`
RandomMac *bool `json:"random_mac,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Fingerprint represents a Fingerprint struct.
func (Fingerprint) MarshalJSON ¶ added in v0.4.54
func (f Fingerprint) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for Fingerprint. It customizes the JSON marshaling process for Fingerprint objects.
func (Fingerprint) String ¶ added in v0.4.54
func (f Fingerprint) String() string
String implements the fmt.Stringer interface for Fingerprint, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Fingerprint) UnmarshalJSON ¶ added in v0.4.54
func (f *Fingerprint) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for Fingerprint. It customizes the JSON unmarshaling process for Fingerprint objects.
type FingerprintSearchResult ¶ added in v0.4.54
type FingerprintSearchResult struct {
End int `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []Fingerprint `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
FingerprintSearchResult represents a FingerprintSearchResult struct.
func (FingerprintSearchResult) MarshalJSON ¶ added in v0.4.54
func (f FingerprintSearchResult) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for FingerprintSearchResult. It customizes the JSON marshaling process for FingerprintSearchResult objects.
func (FingerprintSearchResult) String ¶ added in v0.4.54
func (f FingerprintSearchResult) String() string
String implements the fmt.Stringer interface for FingerprintSearchResult, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*FingerprintSearchResult) UnmarshalJSON ¶ added in v0.4.54
func (f *FingerprintSearchResult) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for FingerprintSearchResult. It customizes the JSON unmarshaling process for FingerprintSearchResult objects.
type FingerprintsCountDistinctEnum ¶ added in v0.4.54
type FingerprintsCountDistinctEnum string
FingerprintsCountDistinctEnum is a string enum. enum: `family`, `model`, `os`, `os_type`
const ( FingerprintsCountDistinctEnum_FAMILY FingerprintsCountDistinctEnum = "family" FingerprintsCountDistinctEnum_MODEL FingerprintsCountDistinctEnum = "model" FingerprintsCountDistinctEnum_OS FingerprintsCountDistinctEnum = "os" FingerprintsCountDistinctEnum_OSTYPE FingerprintsCountDistinctEnum = "os_type" )
type ForSiteEnum ¶ added in v0.4.74
type ForSiteEnum string
ForSiteEnum is a string enum. enum: `any`, `true`, `false`
const ( ForSiteEnum_ANY ForSiteEnum = "any" ForSiteEnum_TRUE ForSiteEnum = "true" ForSiteEnum_FALSE ForSiteEnum = "false" )
type FwupdateStat ¶
type FwupdateStat struct {
Progress Optional[int] `json:"progress"`
// enum: `inprogress`, `failed`, `upgraded`, `success`, `scheduled`, `error`
Status Optional[FwupdateStatStatusEnum] `json:"status"`
StatusId Optional[int] `json:"status_id"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
WillRetry Optional[bool] `json:"will_retry"`
AdditionalProperties map[string]interface{} `json:"_"`
}
FwupdateStat represents a FwupdateStat struct.
func (FwupdateStat) MarshalJSON ¶
func (f FwupdateStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for FwupdateStat. It customizes the JSON marshaling process for FwupdateStat objects.
func (FwupdateStat) String ¶ added in v0.4.23
func (f FwupdateStat) String() string
String implements the fmt.Stringer interface for FwupdateStat, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*FwupdateStat) UnmarshalJSON ¶
func (f *FwupdateStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for FwupdateStat. It customizes the JSON unmarshaling process for FwupdateStat objects.
type FwupdateStatStatusEnum ¶ added in v0.4.17
type FwupdateStatStatusEnum string
FwupdateStatStatusEnum is a string enum. enum: `inprogress`, `failed`, `upgraded`, `success`, `scheduled`, `error`
const ( FwupdateStatStatusEnum_INPROGRESS FwupdateStatStatusEnum = "inprogress" FwupdateStatStatusEnum_FAILED FwupdateStatStatusEnum = "failed" FwupdateStatStatusEnum_UPGRADED FwupdateStatStatusEnum = "upgraded" FwupdateStatStatusEnum_SUCCESS FwupdateStatStatusEnum = "success" FwupdateStatStatusEnum_SCHEDULED FwupdateStatStatusEnum = "scheduled" FwupdateStatStatusEnum_ENUMERROR FwupdateStatStatusEnum = "error" )
type GatewayCluster ¶
type GatewayCluster struct {
// When replacing a node, either mac has to remain the same as existing cluster
Nodes []GatewayClusterNode `json:"nodes"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewayCluster represents a GatewayCluster struct.
func (GatewayCluster) MarshalJSON ¶
func (g GatewayCluster) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayCluster. It customizes the JSON marshaling process for GatewayCluster objects.
func (GatewayCluster) String ¶ added in v0.4.23
func (g GatewayCluster) String() string
String implements the fmt.Stringer interface for GatewayCluster, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayCluster) UnmarshalJSON ¶
func (g *GatewayCluster) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayCluster. It customizes the JSON unmarshaling process for GatewayCluster objects.
type GatewayClusterNode ¶
type GatewayClusterNode struct {
// Gateway MAC Address. Format is `[0-9a-f]{12}` (e.g. "5684dae9ac8b")
Mac string `json:"mac"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewayClusterNode represents a GatewayClusterNode struct.
func (GatewayClusterNode) MarshalJSON ¶
func (g GatewayClusterNode) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayClusterNode. It customizes the JSON marshaling process for GatewayClusterNode objects.
func (GatewayClusterNode) String ¶ added in v0.4.23
func (g GatewayClusterNode) String() string
String implements the fmt.Stringer interface for GatewayClusterNode, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayClusterNode) UnmarshalJSON ¶
func (g *GatewayClusterNode) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayClusterNode. It customizes the JSON unmarshaling process for GatewayClusterNode objects.
type GatewayComplianceMajorVersionProperties ¶
type GatewayComplianceMajorVersionProperties struct {
MajorCount *int `json:"major_count,omitempty"`
MajorVersion *string `json:"major_version,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewayComplianceMajorVersionProperties represents a GatewayComplianceMajorVersionProperties struct.
func (GatewayComplianceMajorVersionProperties) MarshalJSON ¶
func (g GatewayComplianceMajorVersionProperties) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayComplianceMajorVersionProperties. It customizes the JSON marshaling process for GatewayComplianceMajorVersionProperties objects.
func (GatewayComplianceMajorVersionProperties) String ¶ added in v0.4.23
func (g GatewayComplianceMajorVersionProperties) String() string
String implements the fmt.Stringer interface for GatewayComplianceMajorVersionProperties, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayComplianceMajorVersionProperties) UnmarshalJSON ¶
func (g *GatewayComplianceMajorVersionProperties) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayComplianceMajorVersionProperties. It customizes the JSON unmarshaling process for GatewayComplianceMajorVersionProperties objects.
type GatewayComplianceVersion ¶
type GatewayComplianceVersion struct {
MajorVersion map[string]GatewayComplianceMajorVersionProperties `json:"major_version,omitempty"`
Score *float64 `json:"score,omitempty"`
Type *string `json:"type,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewayComplianceVersion represents a GatewayComplianceVersion struct. Version compliance score, major version for gateway, type
func (GatewayComplianceVersion) MarshalJSON ¶
func (g GatewayComplianceVersion) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayComplianceVersion. It customizes the JSON marshaling process for GatewayComplianceVersion objects.
func (GatewayComplianceVersion) String ¶ added in v0.4.23
func (g GatewayComplianceVersion) String() string
String implements the fmt.Stringer interface for GatewayComplianceVersion, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayComplianceVersion) UnmarshalJSON ¶
func (g *GatewayComplianceVersion) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayComplianceVersion. It customizes the JSON unmarshaling process for GatewayComplianceVersion objects.
type GatewayExtraRoute ¶
type GatewayExtraRoute struct {
Via *string `json:"via,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewayExtraRoute represents a GatewayExtraRoute struct.
func (GatewayExtraRoute) MarshalJSON ¶
func (g GatewayExtraRoute) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayExtraRoute. It customizes the JSON marshaling process for GatewayExtraRoute objects.
func (GatewayExtraRoute) String ¶ added in v0.4.23
func (g GatewayExtraRoute) String() string
String implements the fmt.Stringer interface for GatewayExtraRoute, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayExtraRoute) UnmarshalJSON ¶
func (g *GatewayExtraRoute) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayExtraRoute. It customizes the JSON unmarshaling process for GatewayExtraRoute objects.
type GatewayIpConfigProperty ¶
type GatewayIpConfigProperty struct {
Ip *string `json:"ip,omitempty"`
Ip6 *string `json:"ip6,omitempty"`
Netmask *string `json:"netmask,omitempty"`
Netmask6 *string `json:"netmask6,omitempty"`
// Optional list of secondary IPs in CIDR format
SecondaryIps []string `json:"secondary_ips,omitempty"`
// enum: `dhcp`, `static`
Type *IpTypeEnum `json:"type,omitempty"`
// enum: `autoconf`, `dhcp`, `disabled`, `static`
Type6 *IpType6Enum `json:"type6,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewayIpConfigProperty represents a GatewayIpConfigProperty struct.
func (GatewayIpConfigProperty) MarshalJSON ¶
func (g GatewayIpConfigProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayIpConfigProperty. It customizes the JSON marshaling process for GatewayIpConfigProperty objects.
func (GatewayIpConfigProperty) String ¶ added in v0.4.23
func (g GatewayIpConfigProperty) String() string
String implements the fmt.Stringer interface for GatewayIpConfigProperty, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayIpConfigProperty) UnmarshalJSON ¶
func (g *GatewayIpConfigProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayIpConfigProperty. It customizes the JSON unmarshaling process for GatewayIpConfigProperty objects.
type GatewayMatching ¶
type GatewayMatching struct {
Enable *bool `json:"enable,omitempty"`
Rules []GatewayMatchingRule `json:"rules,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewayMatching represents a GatewayMatching struct. Gateway matching
func (GatewayMatching) MarshalJSON ¶
func (g GatewayMatching) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayMatching. It customizes the JSON marshaling process for GatewayMatching objects.
func (GatewayMatching) String ¶ added in v0.4.23
func (g GatewayMatching) String() string
String implements the fmt.Stringer interface for GatewayMatching, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayMatching) UnmarshalJSON ¶
func (g *GatewayMatching) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayMatching. It customizes the JSON unmarshaling process for GatewayMatching objects.
type GatewayMatchingRule ¶
type GatewayMatchingRule struct {
// additional CLI commands to append to the generated Junos config. **Note**: no check is done
AdditionalConfigCmds []string `json:"additional_config_cmds,omitempty"`
Name *string `json:"name,omitempty"`
// Property key is the port(s) name or range (e.g. "ge-0/0/0-10").
PortConfig map[string]GatewayPortConfig `json:"port_config,omitempty"`
AdditionalProperties map[string]string `json:"_"`
}
GatewayMatchingRule represents a GatewayMatchingRule struct.
func (GatewayMatchingRule) MarshalJSON ¶
func (g GatewayMatchingRule) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayMatchingRule. It customizes the JSON marshaling process for GatewayMatchingRule objects.
func (GatewayMatchingRule) String ¶ added in v0.4.23
func (g GatewayMatchingRule) String() string
String implements the fmt.Stringer interface for GatewayMatchingRule, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayMatchingRule) UnmarshalJSON ¶
func (g *GatewayMatchingRule) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayMatchingRule. It customizes the JSON unmarshaling process for GatewayMatchingRule objects.
type GatewayMetrics ¶
type GatewayMetrics struct {
// Config success score
ConfigSuccess *float64 `json:"config_success,omitempty"`
// Version compliance score, major version for gateway, type
VersionCompliance *GatewayComplianceVersion `json:"version_compliance,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewayMetrics represents a GatewayMetrics struct.
func (GatewayMetrics) MarshalJSON ¶
func (g GatewayMetrics) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayMetrics. It customizes the JSON marshaling process for GatewayMetrics objects.
func (GatewayMetrics) String ¶ added in v0.4.23
func (g GatewayMetrics) String() string
String implements the fmt.Stringer interface for GatewayMetrics, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayMetrics) UnmarshalJSON ¶
func (g *GatewayMetrics) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayMetrics. It customizes the JSON unmarshaling process for GatewayMetrics objects.
type GatewayMgmt ¶ added in v0.4.91
type GatewayMgmt struct {
// Rollback timer for commit confirmed
ConfigRevertTimer *int `json:"config_revert_timer,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewayMgmt represents a GatewayMgmt struct. Gateway settings
func (GatewayMgmt) MarshalJSON ¶ added in v0.4.91
func (g GatewayMgmt) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayMgmt. It customizes the JSON marshaling process for GatewayMgmt objects.
func (GatewayMgmt) String ¶ added in v0.4.91
func (g GatewayMgmt) String() string
String implements the fmt.Stringer interface for GatewayMgmt, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayMgmt) UnmarshalJSON ¶ added in v0.4.91
func (g *GatewayMgmt) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayMgmt. It customizes the JSON unmarshaling process for GatewayMgmt objects.
type GatewayMgmtHostOutPolicy ¶ added in v0.4.74
type GatewayMgmtHostOutPolicy struct {
PathPreference *string `json:"path_preference,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewayMgmtHostOutPolicy represents a GatewayMgmtHostOutPolicy struct.
func (GatewayMgmtHostOutPolicy) MarshalJSON ¶ added in v0.4.74
func (g GatewayMgmtHostOutPolicy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayMgmtHostOutPolicy. It customizes the JSON marshaling process for GatewayMgmtHostOutPolicy objects.
func (GatewayMgmtHostOutPolicy) String ¶ added in v0.4.74
func (g GatewayMgmtHostOutPolicy) String() string
String implements the fmt.Stringer interface for GatewayMgmtHostOutPolicy, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayMgmtHostOutPolicy) UnmarshalJSON ¶ added in v0.4.74
func (g *GatewayMgmtHostOutPolicy) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayMgmtHostOutPolicy. It customizes the JSON unmarshaling process for GatewayMgmtHostOutPolicy objects.
type GatewayMgmtHostOutPolicySyslog ¶ added in v0.4.74
type GatewayMgmtHostOutPolicySyslog struct {
PathPreference *string `json:"path_preference,omitempty"`
Servers []GatewayMgmtHostOutPolicySyslogServer `json:"servers,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewayMgmtHostOutPolicySyslog represents a GatewayMgmtHostOutPolicySyslog struct.
func (GatewayMgmtHostOutPolicySyslog) MarshalJSON ¶ added in v0.4.74
func (g GatewayMgmtHostOutPolicySyslog) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayMgmtHostOutPolicySyslog. It customizes the JSON marshaling process for GatewayMgmtHostOutPolicySyslog objects.
func (GatewayMgmtHostOutPolicySyslog) String ¶ added in v0.4.74
func (g GatewayMgmtHostOutPolicySyslog) String() string
String implements the fmt.Stringer interface for GatewayMgmtHostOutPolicySyslog, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayMgmtHostOutPolicySyslog) UnmarshalJSON ¶ added in v0.4.74
func (g *GatewayMgmtHostOutPolicySyslog) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayMgmtHostOutPolicySyslog. It customizes the JSON unmarshaling process for GatewayMgmtHostOutPolicySyslog objects.
type GatewayMgmtHostOutPolicySyslogServer ¶ added in v0.4.74
type GatewayMgmtHostOutPolicySyslogServer struct {
Host *string `json:"host,omitempty"`
PathPreference *string `json:"path_preference,omitempty"`
ServerName *string `json:"server_name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewayMgmtHostOutPolicySyslogServer represents a GatewayMgmtHostOutPolicySyslogServer struct. Allows to define the host_out_policy per Syslog Server. The Property key is the Syslog name
func (GatewayMgmtHostOutPolicySyslogServer) MarshalJSON ¶ added in v0.4.74
func (g GatewayMgmtHostOutPolicySyslogServer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayMgmtHostOutPolicySyslogServer. It customizes the JSON marshaling process for GatewayMgmtHostOutPolicySyslogServer objects.
func (GatewayMgmtHostOutPolicySyslogServer) String ¶ added in v0.4.74
func (g GatewayMgmtHostOutPolicySyslogServer) String() string
String implements the fmt.Stringer interface for GatewayMgmtHostOutPolicySyslogServer, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayMgmtHostOutPolicySyslogServer) UnmarshalJSON ¶ added in v0.4.74
func (g *GatewayMgmtHostOutPolicySyslogServer) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayMgmtHostOutPolicySyslogServer. It customizes the JSON unmarshaling process for GatewayMgmtHostOutPolicySyslogServer objects.
type GatewayOobIpConfig ¶
type GatewayOobIpConfig struct {
// If `type`==`static`
Gateway *string `json:"gateway,omitempty"`
// If `type`==`static`
Ip *string `json:"ip,omitempty"`
// If `type`==`static`
Netmask *string `json:"netmask,omitempty"`
// For HA Cluster, node1 can have different IP Config
Node1 *GatewayOobIpConfigNode1 `json:"node1,omitempty"`
// enum: `dhcp`, `static`
Type *IpTypeEnum `json:"type,omitempty"`
// If supported on the platform. If enabled, DNS will be using this routing-instance, too
UseMgmtVrf *bool `json:"use_mgmt_vrf,omitempty"`
// For host-out traffic (NTP/TACPLUS/RADIUS/SYSLOG/SNMP), if alternative source network/ip is desired
UseMgmtVrfForHostOut *bool `json:"use_mgmt_vrf_for_host_out,omitempty"`
VlanId *string `json:"vlan_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewayOobIpConfig represents a GatewayOobIpConfig struct. Out-of-band (vme/em0/fxp0) IP config
func (GatewayOobIpConfig) MarshalJSON ¶
func (g GatewayOobIpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayOobIpConfig. It customizes the JSON marshaling process for GatewayOobIpConfig objects.
func (GatewayOobIpConfig) String ¶ added in v0.4.23
func (g GatewayOobIpConfig) String() string
String implements the fmt.Stringer interface for GatewayOobIpConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayOobIpConfig) UnmarshalJSON ¶
func (g *GatewayOobIpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayOobIpConfig. It customizes the JSON unmarshaling process for GatewayOobIpConfig objects.
type GatewayOobIpConfigNode1 ¶
type GatewayOobIpConfigNode1 struct {
// If `type`==`static`
Gateway *string `json:"gateway,omitempty"`
Ip *string `json:"ip,omitempty"`
// Used only if `subnet` is not specified in `networks`
Netmask *string `json:"netmask,omitempty"`
// enum: `dhcp`, `static`
Type *IpTypeEnum `json:"type,omitempty"`
// If supported on the platform. If enabled, DNS will be using this routing-instance, too
UseMgmtVrf *bool `json:"use_mgmt_vrf,omitempty"`
// Whether to use `mgmt_junos` for host-out traffic (NTP/TACPLUS/RADIUS/SYSLOG/SNMP), if alternative source network/ip is desired
UseMgmtVrfForHostOut *bool `json:"use_mgmt_vrf_for_host_out,omitempty"`
VlanId *string `json:"vlan_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewayOobIpConfigNode1 represents a GatewayOobIpConfigNode1 struct. For HA Cluster, node1 can have different IP Config
func (GatewayOobIpConfigNode1) MarshalJSON ¶
func (g GatewayOobIpConfigNode1) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayOobIpConfigNode1. It customizes the JSON marshaling process for GatewayOobIpConfigNode1 objects.
func (GatewayOobIpConfigNode1) String ¶ added in v0.4.23
func (g GatewayOobIpConfigNode1) String() string
String implements the fmt.Stringer interface for GatewayOobIpConfigNode1, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayOobIpConfigNode1) UnmarshalJSON ¶
func (g *GatewayOobIpConfigNode1) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayOobIpConfigNode1. It customizes the JSON unmarshaling process for GatewayOobIpConfigNode1 objects.
type GatewayPathPreferences ¶
type GatewayPathPreferences struct {
Paths []GatewayPathPreferencesPath `json:"paths,omitempty"`
// enum: `ecmp`, `ordered`, `weighted`
Strategy *GatewayPathStrategyEnum `json:"strategy,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewayPathPreferences represents a GatewayPathPreferences struct.
func (GatewayPathPreferences) MarshalJSON ¶
func (g GatewayPathPreferences) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayPathPreferences. It customizes the JSON marshaling process for GatewayPathPreferences objects.
func (GatewayPathPreferences) String ¶ added in v0.4.23
func (g GatewayPathPreferences) String() string
String implements the fmt.Stringer interface for GatewayPathPreferences, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayPathPreferences) UnmarshalJSON ¶
func (g *GatewayPathPreferences) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayPathPreferences. It customizes the JSON unmarshaling process for GatewayPathPreferences objects.
type GatewayPathPreferencesPath ¶
type GatewayPathPreferencesPath struct {
Cost *int `json:"cost,omitempty"`
// For SSR Only. `true`, if this specific path is undesired
Disabled *bool `json:"disabled,omitempty"`
// Only if `type`==`local`, if a different gateway is desired
GatewayIp *string `json:"gateway_ip,omitempty"`
// Only if `type`==`vpn`, if this vpn path can be used for internet
InternetAccess *bool `json:"internet_access,omitempty"`
// Required when
// * `type`==`vpn`: the name of the VPN Path to use
// * `type`==`wan`: the name of the WAN interface to use
Name *string `json:"name,omitempty"`
// Required when `type`==`local`
Networks []string `json:"networks,omitempty"`
// If `type`==`local`, if destination IP is to be replaced
TargetIps []string `json:"target_ips,omitempty"`
// enum: `local`, `tunnel`, `vpn`, `wan`
Type GatewayPathTypeEnum `json:"type"`
// Optional if `type`==`vpn`
WanName *string `json:"wan_name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewayPathPreferencesPath represents a GatewayPathPreferencesPath struct.
func (GatewayPathPreferencesPath) MarshalJSON ¶
func (g GatewayPathPreferencesPath) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayPathPreferencesPath. It customizes the JSON marshaling process for GatewayPathPreferencesPath objects.
func (GatewayPathPreferencesPath) String ¶ added in v0.4.23
func (g GatewayPathPreferencesPath) String() string
String implements the fmt.Stringer interface for GatewayPathPreferencesPath, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayPathPreferencesPath) UnmarshalJSON ¶
func (g *GatewayPathPreferencesPath) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayPathPreferencesPath. It customizes the JSON unmarshaling process for GatewayPathPreferencesPath objects.
type GatewayPathStrategyEnum ¶
type GatewayPathStrategyEnum string
GatewayPathStrategyEnum is a string enum. enum: `ecmp`, `ordered`, `weighted`
const ( GatewayPathStrategyEnum_ECMP GatewayPathStrategyEnum = "ecmp" GatewayPathStrategyEnum_ORDERED GatewayPathStrategyEnum = "ordered" GatewayPathStrategyEnum_WEIGHTED GatewayPathStrategyEnum = "weighted" )
type GatewayPathTypeEnum ¶
type GatewayPathTypeEnum string
GatewayPathTypeEnum is a string enum. enum: `local`, `tunnel`, `vpn`, `wan`
const ( GatewayPathTypeEnum_LOCAL GatewayPathTypeEnum = "local" GatewayPathTypeEnum_TUNNEL GatewayPathTypeEnum = "tunnel" GatewayPathTypeEnum_VPN GatewayPathTypeEnum = "vpn" GatewayPathTypeEnum_WAN GatewayPathTypeEnum = "wan" )
type GatewayPortConfig ¶
type GatewayPortConfig struct {
// If `aggregated`==`true`. To disable LCP support for the AE interface
AeDisableLacp *bool `json:"ae_disable_lacp,omitempty"`
// If `aggregated`==`true`. Users could force to use the designated AE name (must be an integer between 0 and 127)
AeIdx Optional[string] `json:"ae_idx"`
// For SRX only, if `aggregated`==`true`.Sets the state of the interface as UP when the peer has limited LACP capability. Use case: When a device connected to this AE port is ZTPing for the first time, it will not have LACP configured on the other end. **Note:** Turning this on will enable force-up on one of the interfaces in the bundle only
AeLacpForceUp *bool `json:"ae_lacp_force_up,omitempty"`
Aggregated *bool `json:"aggregated,omitempty"`
// To generate port up/down alarm, set it to true
Critical *bool `json:"critical,omitempty"`
// Interface Description. Can be a variable (i.e. "{{myvar}}")
Description *string `json:"description,omitempty"`
DisableAutoneg *bool `json:"disable_autoneg,omitempty"`
// Port admin up (true) / down (false)
Disabled *bool `json:"disabled,omitempty"`
// if `wan_type`==`dsl`. enum: `adsl`, `vdsl`
DslType *GatewayPortDslTypeEnum `json:"dsl_type,omitempty"`
// If `wan_type`==`dsl`, 16 bit int
DslVci *int `json:"dsl_vci,omitempty"`
// If `wan_type`==`dsl`, 8 bit int
DslVpi *int `json:"dsl_vpi,omitempty"`
// enum: `auto`, `full`, `half`
Duplex *GatewayPortDuplexEnum `json:"duplex,omitempty"`
// Junos IP Config
IpConfig *GatewayPortConfigIpConfig `json:"ip_config,omitempty"`
// If `wan_type`==`lte`
LteApn *string `json:"lte_apn,omitempty"`
// if `wan_type`==`lte`. enum: `chap`, `none`, `pap`
LteAuth *GatewayPortLteAuthEnum `json:"lte_auth,omitempty"`
LteBackup *bool `json:"lte_backup,omitempty"`
// If `wan_type`==`lte`
LtePassword *string `json:"lte_password,omitempty"`
// If `wan_type`==`lte`
LteUsername *string `json:"lte_username,omitempty"`
Mtu *int `json:"mtu,omitempty"`
// Name that we'll use to derive config
Name *string `json:"name,omitempty"`
// If `usage`==`lan`, name of the [networks]($h/Orgs%20Networks/_overview) to attach to the interface
Networks []string `json:"networks,omitempty"`
// For Q-in-Q
OuterVlanId *int `json:"outer_vlan_id,omitempty"`
PoeDisabled *bool `json:"poe_disabled,omitempty"`
// Only for SRX and if `usage`==`lan`, the name of the Network to be used as the Untagged VLAN
PortNetwork *string `json:"port_network,omitempty"`
// Whether to preserve dscp when sending traffic over VPN (SSR-only)
PreserveDscp *bool `json:"preserve_dscp,omitempty"`
// If HA mode
Redundant *bool `json:"redundant,omitempty"`
// If HA mode, SRX Only - support redundancy-group. 1-128 for physical SRX, 1-64 for virtual SRX
RedundantGroup *int `json:"redundant_group,omitempty"`
// For SRX only and if HA Mode
RethIdx *GatewayPortConfigRethIdx `json:"reth_idx,omitempty"`
// If HA mode
RethNode *string `json:"reth_node,omitempty"`
// SSR only - supporting vlan-based redundancy (matching the size of `networks`)
RethNodes []string `json:"reth_nodes,omitempty"`
Speed *string `json:"speed,omitempty"`
// When SSR is running as VM, this is required on certain hosting platforms
SsrNoVirtualMac *bool `json:"ssr_no_virtual_mac,omitempty"`
// For SSR only
SvrPortRange *string `json:"svr_port_range,omitempty"`
TrafficShaping *GatewayTrafficShaping `json:"traffic_shaping,omitempty"`
// port usage name. enum: `ha_control`, `ha_data`, `lan`, `wan`
Usage GatewayPortUsageEnum `json:"usage"`
// If WAN interface is on a VLAN. Can be the VLAN ID (i.e. "10") or a Variable (i.e. "{{myvar}}")
VlanId *GatewayPortVlanIdWithVariable `json:"vlan_id,omitempty"`
// Property key is the VPN name
VpnPaths map[string]GatewayPortVpnPath `json:"vpn_paths,omitempty"`
// Only when `wan_type`==`broadband`. enum: `default`, `max`, `recommended`
WanArpPolicer *GatewayPortWanArpPolicerEnum `json:"wan_arp_policer,omitempty"`
// If `wan_type`==`wan`, disable speedtest
WanDisableSpeedtest *bool `json:"wan_disable_speedtest,omitempty"`
// Only if `usage`==`wan`, optional. If spoke should reach this port by a different IP
WanExtIp *string `json:"wan_ext_ip,omitempty"`
// Only if `usage`==`wan`, optional. If spoke should reach this port by a different IPv6
WanExtIp6 *string `json:"wan_ext_ip6,omitempty"`
// Only if `usage`==`wan`. Property Key is the destination CIDR (e.g. "100.100.100.0/24")
WanExtraRoutes map[string]WanExtraRoutes `json:"wan_extra_routes,omitempty"`
// Only if `usage`==`wan`. Property Key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64")
WanExtraRoutes6 map[string]WanExtraRoutes `json:"wan_extra_routes6,omitempty"`
// Only if `usage`==`wan`. If some networks are connected to this WAN port, it can be added here so policies can be defined
WanNetworks []string `json:"wan_networks,omitempty"`
// Only if `usage`==`wan`
WanProbeOverride *GatewayWanProbeOverride `json:"wan_probe_override,omitempty"`
// Only if `usage`==`wan`, optional. By default, source-NAT is performed on all WAN Ports using the interface-ip
WanSourceNat *GatewayPortWanSourceNat `json:"wan_source_nat,omitempty"`
// Only if `usage`==`wan`. enum: `broadband`, `dsl`, `lte`
WanType *GatewayPortWanTypeEnum `json:"wan_type,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewayPortConfig represents a GatewayPortConfig struct. Gateway port config
func (GatewayPortConfig) MarshalJSON ¶
func (g GatewayPortConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayPortConfig. It customizes the JSON marshaling process for GatewayPortConfig objects.
func (GatewayPortConfig) String ¶ added in v0.4.23
func (g GatewayPortConfig) String() string
String implements the fmt.Stringer interface for GatewayPortConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayPortConfig) UnmarshalJSON ¶
func (g *GatewayPortConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayPortConfig. It customizes the JSON unmarshaling process for GatewayPortConfig objects.
type GatewayPortConfigIpConfig ¶
type GatewayPortConfigIpConfig struct {
// Except for out-of_band interface (vme/em0/fxp0)
Dns []string `json:"dns,omitempty"`
// Except for out-of_band interface (vme/em0/fxp0)
DnsSuffix []string `json:"dns_suffix,omitempty"`
// Except for out-of_band interface (vme/em0/fxp0). Interface Default Gateway IP Address (i.e. "192.168.1.1") or a Variable (i.e. "{{myvar}}")
Gateway *string `json:"gateway,omitempty"`
// Except for out-of_band interface (vme/em0/fxp0). Interface Default Gateway IPv6 Address (i.e. "2001:db8::1") or a Variable (i.e. "{{myvar}}")
Gateway6 *string `json:"gateway6,omitempty"`
// Interface IP Address (i.e. "192.168.1.8") or a Variable (i.e. "{{myvar}}")
Ip *string `json:"ip,omitempty"`
// Interface IPv6 Address (i.e. "2001:db8::123") or a Variable (i.e. "{{myvar}}")
Ip6 *string `json:"ip6,omitempty"`
// Used only if `subnet` is not specified in `networks`. Interface Netmask (i.e. "/24") or a Variable (i.e. "{{myvar}}")
Netmask *string `json:"netmask,omitempty"`
// Used only if `subnet` is not specified in `networks`. Interface IPv6 Netmask (i.e. "/64") or a Variable (i.e. "{{myvar}}")
Netmask6 *string `json:"netmask6,omitempty"`
// Optional, the network to be used for mgmt
Network *string `json:"network,omitempty"`
// If `type`==`pppoe`
PoserPassword *string `json:"poser_password,omitempty"`
// if `type`==`pppoe`. enum: `chap`, `none`, `pap`
PppoeAuth *GatewayWanPpoeAuthEnum `json:"pppoe_auth,omitempty"`
// If `type`==`pppoe`
PppoeUsername *string `json:"pppoe_username,omitempty"`
// enum: `dhcp`, `pppoe`, `static`
Type *GatewayWanTypeEnum `json:"type,omitempty"`
// enum: `autoconf`, `dhcp`, `static`
Type6 *GatewayWanType6Enum `json:"type6,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewayPortConfigIpConfig represents a GatewayPortConfigIpConfig struct. Junos IP Config
func (GatewayPortConfigIpConfig) MarshalJSON ¶
func (g GatewayPortConfigIpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayPortConfigIpConfig. It customizes the JSON marshaling process for GatewayPortConfigIpConfig objects.
func (GatewayPortConfigIpConfig) String ¶ added in v0.4.23
func (g GatewayPortConfigIpConfig) String() string
String implements the fmt.Stringer interface for GatewayPortConfigIpConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayPortConfigIpConfig) UnmarshalJSON ¶
func (g *GatewayPortConfigIpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayPortConfigIpConfig. It customizes the JSON unmarshaling process for GatewayPortConfigIpConfig objects.
type GatewayPortConfigRethIdx ¶ added in v0.4.70
type GatewayPortConfigRethIdx struct {
// contains filtered or unexported fields
}
GatewayPortConfigRethIdx represents a GatewayPortConfigRethIdx struct. For SRX only and if HA Mode
func (*GatewayPortConfigRethIdx) AsNumber ¶ added in v0.4.70
func (g *GatewayPortConfigRethIdx) AsNumber() ( *int, bool)
func (*GatewayPortConfigRethIdx) AsString ¶ added in v0.4.70
func (g *GatewayPortConfigRethIdx) AsString() ( *string, bool)
func (GatewayPortConfigRethIdx) MarshalJSON ¶ added in v0.4.70
func (g GatewayPortConfigRethIdx) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayPortConfigRethIdx. It customizes the JSON marshaling process for GatewayPortConfigRethIdx objects.
func (GatewayPortConfigRethIdx) String ¶ added in v0.4.70
func (g GatewayPortConfigRethIdx) String() string
String implements the fmt.Stringer interface for GatewayPortConfigRethIdx, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayPortConfigRethIdx) UnmarshalJSON ¶ added in v0.4.70
func (g *GatewayPortConfigRethIdx) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayPortConfigRethIdx. It customizes the JSON unmarshaling process for GatewayPortConfigRethIdx objects.
type GatewayPortDslTypeEnum ¶
type GatewayPortDslTypeEnum string
GatewayPortDslTypeEnum is a string enum. if `wan_type`==`dsl`. enum: `adsl`, `vdsl`
const ( GatewayPortDslTypeEnum_ADSL GatewayPortDslTypeEnum = "adsl" GatewayPortDslTypeEnum_VDSL GatewayPortDslTypeEnum = "vdsl" )
type GatewayPortDuplexEnum ¶
type GatewayPortDuplexEnum string
GatewayPortDuplexEnum is a string enum. enum: `auto`, `full`, `half`
const ( GatewayPortDuplexEnum_AUTO GatewayPortDuplexEnum = "auto" GatewayPortDuplexEnum_FULL GatewayPortDuplexEnum = "full" GatewayPortDuplexEnum_HALF GatewayPortDuplexEnum = "half" )
type GatewayPortLteAuthEnum ¶
type GatewayPortLteAuthEnum string
GatewayPortLteAuthEnum is a string enum. if `wan_type`==`lte`. enum: `chap`, `none`, `pap`
const ( GatewayPortLteAuthEnum_CHAP GatewayPortLteAuthEnum = "chap" GatewayPortLteAuthEnum_NONE GatewayPortLteAuthEnum = "none" GatewayPortLteAuthEnum_PAP GatewayPortLteAuthEnum = "pap" )
type GatewayPortMirroring ¶
type GatewayPortMirroring struct {
PortMirror *GatewayPortMirroringPortMirror `json:"port_mirror,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewayPortMirroring represents a GatewayPortMirroring struct.
func (GatewayPortMirroring) MarshalJSON ¶
func (g GatewayPortMirroring) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayPortMirroring. It customizes the JSON marshaling process for GatewayPortMirroring objects.
func (GatewayPortMirroring) String ¶ added in v0.4.23
func (g GatewayPortMirroring) String() string
String implements the fmt.Stringer interface for GatewayPortMirroring, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayPortMirroring) UnmarshalJSON ¶
func (g *GatewayPortMirroring) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayPortMirroring. It customizes the JSON unmarshaling process for GatewayPortMirroring objects.
type GatewayPortMirroringPortMirror ¶
type GatewayPortMirroringPortMirror struct {
FamilyType *string `json:"family_type,omitempty"`
IngressPortIds []string `json:"ingress_port_ids,omitempty"`
OutputPortId *string `json:"output_port_id,omitempty"`
Rate *int `json:"rate,omitempty"`
RunLength *int `json:"run_length,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewayPortMirroringPortMirror represents a GatewayPortMirroringPortMirror struct.
func (GatewayPortMirroringPortMirror) MarshalJSON ¶
func (g GatewayPortMirroringPortMirror) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayPortMirroringPortMirror. It customizes the JSON marshaling process for GatewayPortMirroringPortMirror objects.
func (GatewayPortMirroringPortMirror) String ¶ added in v0.4.23
func (g GatewayPortMirroringPortMirror) String() string
String implements the fmt.Stringer interface for GatewayPortMirroringPortMirror, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayPortMirroringPortMirror) UnmarshalJSON ¶
func (g *GatewayPortMirroringPortMirror) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayPortMirroringPortMirror. It customizes the JSON unmarshaling process for GatewayPortMirroringPortMirror objects.
type GatewayPortUsageEnum ¶
type GatewayPortUsageEnum string
GatewayPortUsageEnum is a string enum. port usage name. enum: `ha_control`, `ha_data`, `lan`, `wan`
const ( GatewayPortUsageEnum_HACONTROL GatewayPortUsageEnum = "ha_control" GatewayPortUsageEnum_HADATA GatewayPortUsageEnum = "ha_data" GatewayPortUsageEnum_LAN GatewayPortUsageEnum = "lan" GatewayPortUsageEnum_WAN GatewayPortUsageEnum = "wan" )
type GatewayPortVlanIdWithVariable ¶ added in v0.4.26
type GatewayPortVlanIdWithVariable struct {
// contains filtered or unexported fields
}
GatewayPortVlanIdWithVariable represents a GatewayPortVlanIdWithVariable struct. If WAN interface is on a VLAN. Can be the VLAN ID (i.e. "10") or a Variable (i.e. "{{myvar}}")
func (*GatewayPortVlanIdWithVariable) AsNumber ¶ added in v0.4.26
func (g *GatewayPortVlanIdWithVariable) AsNumber() ( *int, bool)
func (*GatewayPortVlanIdWithVariable) AsString ¶ added in v0.4.26
func (g *GatewayPortVlanIdWithVariable) AsString() ( *string, bool)
func (GatewayPortVlanIdWithVariable) MarshalJSON ¶ added in v0.4.26
func (g GatewayPortVlanIdWithVariable) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayPortVlanIdWithVariable. It customizes the JSON marshaling process for GatewayPortVlanIdWithVariable objects.
func (GatewayPortVlanIdWithVariable) String ¶ added in v0.4.26
func (g GatewayPortVlanIdWithVariable) String() string
String implements the fmt.Stringer interface for GatewayPortVlanIdWithVariable, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayPortVlanIdWithVariable) UnmarshalJSON ¶ added in v0.4.26
func (g *GatewayPortVlanIdWithVariable) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayPortVlanIdWithVariable. It customizes the JSON unmarshaling process for GatewayPortVlanIdWithVariable objects.
type GatewayPortVpnPath ¶
type GatewayPortVpnPath struct {
// Only if the VPN `type`==`hub_spoke`. enum: `broadband`, `lte`
BfdProfile *GatewayPortVpnPathBfdProfileEnum `json:"bfd_profile,omitempty"`
// Only if the VPN `type`==`hub_spoke`. Whether to use tunnel mode. SSR only
BfdUseTunnelMode *bool `json:"bfd_use_tunnel_mode,omitempty"`
// Only if the VPN `type`==`hub_spoke`. For a given VPN, when `path_selection.strategy`==`simple`, the preference for a path (lower is preferred)
Preference *int `json:"preference,omitempty"`
// If the VPN `type`==`hub_spoke`, enum: `hub`, `spoke`. If the VPN `type`==`mesh`, enum: `mesh`
Role *GatewayPortVpnPathRoleEnum `json:"role,omitempty"`
TrafficShaping *GatewayTrafficShaping `json:"traffic_shaping,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewayPortVpnPath represents a GatewayPortVpnPath struct.
func (GatewayPortVpnPath) MarshalJSON ¶
func (g GatewayPortVpnPath) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayPortVpnPath. It customizes the JSON marshaling process for GatewayPortVpnPath objects.
func (GatewayPortVpnPath) String ¶ added in v0.4.23
func (g GatewayPortVpnPath) String() string
String implements the fmt.Stringer interface for GatewayPortVpnPath, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayPortVpnPath) UnmarshalJSON ¶
func (g *GatewayPortVpnPath) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayPortVpnPath. It customizes the JSON unmarshaling process for GatewayPortVpnPath objects.
type GatewayPortVpnPathBfdProfileEnum ¶
type GatewayPortVpnPathBfdProfileEnum string
GatewayPortVpnPathBfdProfileEnum is a string enum. Only if the VPN `type`==`hub_spoke`. enum: `broadband`, `lte`
const ( GatewayPortVpnPathBfdProfileEnum_BROADBAND GatewayPortVpnPathBfdProfileEnum = "broadband" GatewayPortVpnPathBfdProfileEnum_LTE GatewayPortVpnPathBfdProfileEnum = "lte" )
type GatewayPortVpnPathRoleEnum ¶
type GatewayPortVpnPathRoleEnum string
GatewayPortVpnPathRoleEnum is a string enum. If the VPN `type`==`hub_spoke`, enum: `hub`, `spoke`. If the VPN `type`==`mesh`, enum: `mesh`
const ( GatewayPortVpnPathRoleEnum_HUB GatewayPortVpnPathRoleEnum = "hub" GatewayPortVpnPathRoleEnum_MESH GatewayPortVpnPathRoleEnum = "mesh" GatewayPortVpnPathRoleEnum_SPOKE GatewayPortVpnPathRoleEnum = "spoke" )
type GatewayPortWanArpPolicerEnum ¶
type GatewayPortWanArpPolicerEnum string
GatewayPortWanArpPolicerEnum is a string enum. Only when `wan_type`==`broadband`. enum: `default`, `max`, `recommended`
const ( GatewayPortWanArpPolicerEnum_ENUMDEFAULT GatewayPortWanArpPolicerEnum = "default" GatewayPortWanArpPolicerEnum_MAX GatewayPortWanArpPolicerEnum = "max" GatewayPortWanArpPolicerEnum_RECOMMENDED GatewayPortWanArpPolicerEnum = "recommended" )
type GatewayPortWanSourceNat ¶
type GatewayPortWanSourceNat struct {
// Or to disable the source-nat
Disabled *bool `json:"disabled,omitempty"`
// If alternative nat_pool is desired
Nat6Pool *string `json:"nat6_pool,omitempty"`
// If alternative nat_pool is desired
NatPool *string `json:"nat_pool,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewayPortWanSourceNat represents a GatewayPortWanSourceNat struct. Only if `usage`==`wan`, optional. By default, source-NAT is performed on all WAN Ports using the interface-ip
func (GatewayPortWanSourceNat) MarshalJSON ¶
func (g GatewayPortWanSourceNat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayPortWanSourceNat. It customizes the JSON marshaling process for GatewayPortWanSourceNat objects.
func (GatewayPortWanSourceNat) String ¶ added in v0.4.23
func (g GatewayPortWanSourceNat) String() string
String implements the fmt.Stringer interface for GatewayPortWanSourceNat, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayPortWanSourceNat) UnmarshalJSON ¶
func (g *GatewayPortWanSourceNat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayPortWanSourceNat. It customizes the JSON unmarshaling process for GatewayPortWanSourceNat objects.
type GatewayPortWanTypeEnum ¶
type GatewayPortWanTypeEnum string
GatewayPortWanTypeEnum is a string enum. Only if `usage`==`wan`. enum: `broadband`, `dsl`, `lte`
const ( GatewayPortWanTypeEnum_BROADBAND GatewayPortWanTypeEnum = "broadband" GatewayPortWanTypeEnum_DSL GatewayPortWanTypeEnum = "dsl" GatewayPortWanTypeEnum_LTE GatewayPortWanTypeEnum = "lte" )
type GatewaySearch ¶
type GatewaySearch struct {
Clustered *bool `json:"clustered,omitempty"`
EvpnMissingLinks *bool `json:"evpn_missing_links,omitempty"`
EvpntopoId *string `json:"evpntopo_id,omitempty"`
ExtIp *string `json:"ext_ip,omitempty"`
Hostname []string `json:"hostname,omitempty"`
Ip *string `json:"ip,omitempty"`
LastConfigStatus *string `json:"last_config_status,omitempty"`
LastHostname *string `json:"last_hostname,omitempty"`
LastTroubleCode *string `json:"last_trouble_code,omitempty"`
LastTroubleTimestamp *int `json:"last_trouble_timestamp,omitempty"`
Mac *string `json:"mac,omitempty"`
Managed *bool `json:"managed,omitempty"`
Model *string `json:"model,omitempty"`
Node *string `json:"node,omitempty"`
Node0Mac *string `json:"node0_mac,omitempty"`
Node1Mac *string `json:"node1_mac,omitempty"`
NumMembers *int `json:"num_members,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
Role *string `json:"role,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
T128agentVersion *string `json:"t128agent_version,omitempty"`
TimeDrifted *bool `json:"time_drifted,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
// Device Type. enum: `gateway`
Type string `json:"type"`
Uptime *int `json:"uptime,omitempty"`
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewaySearch represents a GatewaySearch struct.
func (GatewaySearch) MarshalJSON ¶
func (g GatewaySearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewaySearch. It customizes the JSON marshaling process for GatewaySearch objects.
func (GatewaySearch) String ¶ added in v0.4.23
func (g GatewaySearch) String() string
String implements the fmt.Stringer interface for GatewaySearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewaySearch) UnmarshalJSON ¶
func (g *GatewaySearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewaySearch. It customizes the JSON unmarshaling process for GatewaySearch objects.
type GatewayTemplate ¶
type GatewayTemplate struct {
// additional CLI commands to append to the generated Junos config. **Note**: no check is done
AdditionalConfigCmds []string `json:"additional_config_cmds,omitempty"`
BgpConfig map[string]BgpConfig `json:"bgp_config,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
DhcpdConfig *DhcpdConfig `json:"dhcpd_config,omitempty"`
DnsOverride *bool `json:"dnsOverride,omitempty"`
// Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting
DnsServers []string `json:"dns_servers,omitempty"`
// Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting
DnsSuffix []string `json:"dns_suffix,omitempty"`
// Property key is the destination CIDR (e.g. "10.0.0.0/8"), the destination Network name or a variable (e.g. "{{myvar}}")
ExtraRoutes map[string]GatewayExtraRoute `json:"extra_routes,omitempty"`
// Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64"), the destination Network name or a variable (e.g. "{{myvar}}")
ExtraRoutes6 map[string]GatewayExtraRoute `json:"extra_routes6,omitempty"`
// Gateway matching
GatewayMatching *GatewayMatching `json:"gateway_matching,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// Property key is the profile name
IdpProfiles map[string]IdpProfile `json:"idp_profiles,omitempty"`
// Property key is the network name
IpConfigs map[string]GatewayIpConfigProperty `json:"ip_configs,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name string `json:"name"`
Networks []Network `json:"networks,omitempty"`
NtpOverride *bool `json:"ntpOverride,omitempty"`
// List of NTP servers specific to this device. By default, those in Site Settings will be used
NtpServers []string `json:"ntp_servers,omitempty"`
// Out-of-band (vme/em0/fxp0) IP config
OobIpConfig *GatewayOobIpConfig `json:"oob_ip_config,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Property key is the path name
PathPreferences map[string]GatewayPathPreferences `json:"path_preferences,omitempty"`
// Property key is the Port Name (i.e. "ge-0/0/0"), the Ports Range (i.e. "ge-0/0/0-10"), the List of Ports (i.e. "ge-0/0/0,ge-1/0/0", only allowed for Aggregated or Redundant interfaces) or a Variable (i.e. "{{myvar}}").
PortConfig map[string]GatewayPortConfig `json:"port_config,omitempty"`
// Auto assigned if not set
RouterId *string `json:"router_id,omitempty"`
// Property key is the routing policy name
RoutingPolicies map[string]GwRoutingPolicy `json:"routing_policies,omitempty"`
ServicePolicies []ServicePolicy `json:"service_policies,omitempty"`
// Property key is the tunnel name
TunnelConfigs map[string]TunnelConfig `json:"tunnel_configs,omitempty"`
TunnelProviderOptions *TunnelProviderOptions `json:"tunnel_provider_options,omitempty"`
// enum: `spoke`, `standalone`
Type *GatewayTemplateTypeEnum `json:"type,omitempty"`
// When a service policy denies a app_category, what message to show in user's browser
UrlFilteringDenyMsg *string `json:"url_filtering_deny_msg,omitempty"`
VrfConfig *VrfConfig `json:"vrf_config,omitempty"`
// Property key is the network name
VrfInstances map[string]GatewayVrfInstance `json:"vrf_instances,omitempty"`
// additional CLI commands to append to the generated SSR config. **Note**: no check is done
SsrAdditionalConfigCmds []string `json:"ssr_additional_config_cmds,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewayTemplate represents a GatewayTemplate struct. Gateway Template is applied to a site for gateway(s) in a site.
func (GatewayTemplate) MarshalJSON ¶
func (g GatewayTemplate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayTemplate. It customizes the JSON marshaling process for GatewayTemplate objects.
func (GatewayTemplate) String ¶ added in v0.4.23
func (g GatewayTemplate) String() string
String implements the fmt.Stringer interface for GatewayTemplate, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayTemplate) UnmarshalJSON ¶
func (g *GatewayTemplate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayTemplate. It customizes the JSON unmarshaling process for GatewayTemplate objects.
type GatewayTemplateTypeEnum ¶
type GatewayTemplateTypeEnum string
GatewayTemplateTypeEnum is a string enum. enum: `spoke`, `standalone`
const ( GatewayTemplateTypeEnum_SPOKE GatewayTemplateTypeEnum = "spoke" GatewayTemplateTypeEnum_STANDALONE GatewayTemplateTypeEnum = "standalone" )
type GatewayTrafficShaping ¶
type GatewayTrafficShaping struct {
// percentages for different class of traffic: high / medium / low / best-effort. Sum must be equal to 100
ClassPercentages []int `json:"class_percentages,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// Interface Transmit Cap in kbps
MaxTxKbps *int `json:"max_tx_kbps,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewayTrafficShaping represents a GatewayTrafficShaping struct.
func (GatewayTrafficShaping) MarshalJSON ¶
func (g GatewayTrafficShaping) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayTrafficShaping. It customizes the JSON marshaling process for GatewayTrafficShaping objects.
func (GatewayTrafficShaping) String ¶ added in v0.4.23
func (g GatewayTrafficShaping) String() string
String implements the fmt.Stringer interface for GatewayTrafficShaping, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayTrafficShaping) UnmarshalJSON ¶
func (g *GatewayTrafficShaping) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayTrafficShaping. It customizes the JSON unmarshaling process for GatewayTrafficShaping objects.
type GatewayVrfInstance ¶ added in v0.2.31
type GatewayVrfInstance struct {
Networks []string `json:"networks,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewayVrfInstance represents a GatewayVrfInstance struct.
func (GatewayVrfInstance) MarshalJSON ¶ added in v0.2.31
func (g GatewayVrfInstance) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayVrfInstance. It customizes the JSON marshaling process for GatewayVrfInstance objects.
func (GatewayVrfInstance) String ¶ added in v0.4.23
func (g GatewayVrfInstance) String() string
String implements the fmt.Stringer interface for GatewayVrfInstance, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayVrfInstance) UnmarshalJSON ¶ added in v0.2.31
func (g *GatewayVrfInstance) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayVrfInstance. It customizes the JSON unmarshaling process for GatewayVrfInstance objects.
type GatewayWanPpoeAuthEnum ¶
type GatewayWanPpoeAuthEnum string
GatewayWanPpoeAuthEnum is a string enum. if `type`==`pppoe`. enum: `chap`, `none`, `pap`
const ( GatewayWanPpoeAuthEnum_CHAP GatewayWanPpoeAuthEnum = "chap" GatewayWanPpoeAuthEnum_NONE GatewayWanPpoeAuthEnum = "none" GatewayWanPpoeAuthEnum_PAP GatewayWanPpoeAuthEnum = "pap" )
type GatewayWanProbeOverride ¶ added in v0.4.0
type GatewayWanProbeOverride struct {
Ip6s []string `json:"ip6s,omitempty"`
Ips []string `json:"ips,omitempty"`
// enum: `broadband`, `lte`
ProbeProfile *GatewayWanProbeOverrideProbeProfileEnum `json:"probe_profile,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GatewayWanProbeOverride represents a GatewayWanProbeOverride struct. Only if `usage`==`wan`
func (GatewayWanProbeOverride) MarshalJSON ¶ added in v0.4.0
func (g GatewayWanProbeOverride) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayWanProbeOverride. It customizes the JSON marshaling process for GatewayWanProbeOverride objects.
func (GatewayWanProbeOverride) String ¶ added in v0.4.23
func (g GatewayWanProbeOverride) String() string
String implements the fmt.Stringer interface for GatewayWanProbeOverride, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GatewayWanProbeOverride) UnmarshalJSON ¶ added in v0.4.0
func (g *GatewayWanProbeOverride) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayWanProbeOverride. It customizes the JSON unmarshaling process for GatewayWanProbeOverride objects.
type GatewayWanProbeOverrideProbeProfileEnum ¶ added in v0.4.0
type GatewayWanProbeOverrideProbeProfileEnum string
GatewayWanProbeOverrideProbeProfileEnum is a string enum. enum: `broadband`, `lte`
const ( GatewayWanProbeOverrideProbeProfileEnum_BROADBAND GatewayWanProbeOverrideProbeProfileEnum = "broadband" GatewayWanProbeOverrideProbeProfileEnum_LTE GatewayWanProbeOverrideProbeProfileEnum = "lte" )
type GatewayWanType6Enum ¶ added in v0.4.80
type GatewayWanType6Enum string
GatewayWanType6Enum is a string enum. enum: `autoconf`, `dhcp`, `static`
const ( GatewayWanType6Enum_AUTOCONF GatewayWanType6Enum = "autoconf" GatewayWanType6Enum_DHCP GatewayWanType6Enum = "dhcp" GatewayWanType6Enum_STATIC GatewayWanType6Enum = "static" )
type GatewayWanTypeEnum ¶
type GatewayWanTypeEnum string
GatewayWanTypeEnum is a string enum. enum: `dhcp`, `pppoe`, `static`
const ( GatewayWanTypeEnum_DHCP GatewayWanTypeEnum = "dhcp" GatewayWanTypeEnum_PPPOE GatewayWanTypeEnum = "pppoe" GatewayWanTypeEnum_STATIC GatewayWanTypeEnum = "static" )
type GetOrgMxedgeUpgradeInfoChannelEnum ¶
type GetOrgMxedgeUpgradeInfoChannelEnum string
GetOrgMxedgeUpgradeInfoChannelEnum is a string enum. enum: `alpha`, `beta`, `stable`
const ( GetOrgMxedgeUpgradeInfoChannelEnum_ALPHA GetOrgMxedgeUpgradeInfoChannelEnum = "alpha" GetOrgMxedgeUpgradeInfoChannelEnum_BETA GetOrgMxedgeUpgradeInfoChannelEnum = "beta" GetOrgMxedgeUpgradeInfoChannelEnum_STABLE GetOrgMxedgeUpgradeInfoChannelEnum = "stable" )
type Guest ¶
type Guest struct {
// If `auth_method`==`email`, the email address where the authorization code has been sent to
AccessCodeEmail *string `json:"access_code_email,omitempty"`
// MAC Address of the AP the guest was connected to during the registration process
ApMac *string `json:"ap_mac,omitempty"`
// Type of guest authorization
AuthMethod *string `json:"auth_method,omitempty"`
// Whether the guest is current authorized
Authorized *bool `json:"authorized,omitempty"`
// When the authorization would expire
AuthorizedExpiringTime *float64 `json:"authorized_expiring_time,omitempty"`
// When the guest was authorized
AuthorizedTime *float64 `json:"authorized_time,omitempty"`
// Optional, the info provided by user
Company *string `json:"company,omitempty"`
// Optional, the info provided by user
Email *string `json:"email,omitempty"`
// Optional, the info provided by user
Field1 *string `json:"field1,omitempty"`
Field2 *string `json:"field2,omitempty"`
Field3 *string `json:"field3,omitempty"`
Field4 *string `json:"field4,omitempty"`
// MAC Address
Mac *string `json:"mac,omitempty"`
// Authorization duration, in minutes. Default is 1440 minutes (1 day), maximum is 259200 (180 days)
Minutes *int `json:"minutes,omitempty"`
// Optional, the info provided by user
Name *string `json:"name,omitempty"`
// If the client is using a randomized MAC Address to connect the SSID
RandomMac *bool `json:"random_mac,omitempty"`
// Name of the SSID
Ssid *string `json:"ssid,omitempty"`
// ID of the SSID
WlanId *uuid.UUID `json:"wlan_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Guest represents a Guest struct. Guest
func (Guest) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Guest. It customizes the JSON marshaling process for Guest objects.
func (Guest) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Guest, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Guest) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Guest. It customizes the JSON unmarshaling process for Guest objects.
type GuestOrg ¶ added in v0.3.41
type GuestOrg struct {
// If `auth_method`==`email`, the email address where the authorization code has been sent to
AccessCodeEmail *string `json:"access_code_email,omitempty"`
// Based on the WLAN portal configuration (field `allow_wlan_id_roam`), if the user is also authorized on other Guest WLANs of the same Org without reauthentication
AllowWlanIdRoam *bool `json:"allow_wlan_id_roam,omitempty"`
// MAC Address of the AP the guest was connected to during the registration process
ApMac *string `json:"ap_mac,omitempty"`
// Type of guest authorization
AuthMethod *string `json:"auth_method,omitempty"`
// Whether the guest is current authorized
Authorized *bool `json:"authorized,omitempty"`
// When the authorization would expire
AuthorizedExpiringTime *float64 `json:"authorized_expiring_time,omitempty"`
// When the guest was authorized
AuthorizedTime *float64 `json:"authorized_time,omitempty"`
// Optional, the info provided by user
Company *string `json:"company,omitempty"`
// Based on the WLAN portal configuration (field `cross_site`), if the user is also authorized on other sites (same `wlan.ssid`) of the same Org without reauthentication
CrossSite *bool `json:"cross_site,omitempty"`
// Optional, the info provided by user
Email *string `json:"email,omitempty"`
// Optional, the info provided by user
Field1 *string `json:"field1,omitempty"`
Field2 *string `json:"field2,omitempty"`
Field3 *string `json:"field3,omitempty"`
Field4 *string `json:"field4,omitempty"`
// MAC
Mac *string `json:"mac,omitempty"`
// Authorization duration, in minutes. Default is 1440 minutes (1 day), maximum is 259200 (180 days)
Minutes *int `json:"minutes,omitempty"`
// Optional, the info provided by user
Name *string `json:"name,omitempty"`
// If the client is using a randomized MAC Address to connect the SSID
RandomMac *bool `json:"random_mac,omitempty"`
// Name of the SSID
Ssid *string `json:"ssid,omitempty"`
// ID of the WLAN
WlanId uuid.UUID `json:"wlan_id"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GuestOrg represents a GuestOrg struct. Guest
func (GuestOrg) MarshalJSON ¶ added in v0.3.41
MarshalJSON implements the json.Marshaler interface for GuestOrg. It customizes the JSON marshaling process for GuestOrg objects.
func (GuestOrg) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for GuestOrg, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GuestOrg) UnmarshalJSON ¶ added in v0.3.41
UnmarshalJSON implements the json.Unmarshaler interface for GuestOrg. It customizes the JSON unmarshaling process for GuestOrg objects.
type GwRoutingPolicy ¶ added in v0.4.98
type GwRoutingPolicy struct {
// zero or more criteria/filter can be specified to match the term, all criteria have to be met
Terms []GwRoutingPolicyTerm `json:"terms,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GwRoutingPolicy represents a GwRoutingPolicy struct.
func (GwRoutingPolicy) MarshalJSON ¶ added in v0.4.98
func (g GwRoutingPolicy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GwRoutingPolicy. It customizes the JSON marshaling process for GwRoutingPolicy objects.
func (GwRoutingPolicy) String ¶ added in v0.4.98
func (g GwRoutingPolicy) String() string
String implements the fmt.Stringer interface for GwRoutingPolicy, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GwRoutingPolicy) UnmarshalJSON ¶ added in v0.4.98
func (g *GwRoutingPolicy) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GwRoutingPolicy. It customizes the JSON unmarshaling process for GwRoutingPolicy objects.
type GwRoutingPolicyTerm ¶ added in v0.4.98
type GwRoutingPolicyTerm struct {
// When used as import policy
Actions *GwRoutingPolicyTermAction `json:"actions,omitempty"`
// zero or more criteria/filter can be specified to match the term, all criteria have to be met
Matching *GwRoutingPolicyTermMatching `json:"matching,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GwRoutingPolicyTerm represents a GwRoutingPolicyTerm struct.
func (GwRoutingPolicyTerm) MarshalJSON ¶ added in v0.4.98
func (g GwRoutingPolicyTerm) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GwRoutingPolicyTerm. It customizes the JSON marshaling process for GwRoutingPolicyTerm objects.
func (GwRoutingPolicyTerm) String ¶ added in v0.4.98
func (g GwRoutingPolicyTerm) String() string
String implements the fmt.Stringer interface for GwRoutingPolicyTerm, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GwRoutingPolicyTerm) UnmarshalJSON ¶ added in v0.4.98
func (g *GwRoutingPolicyTerm) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GwRoutingPolicyTerm. It customizes the JSON unmarshaling process for GwRoutingPolicyTerm objects.
type GwRoutingPolicyTermAction ¶ added in v0.4.98
type GwRoutingPolicyTermAction struct {
Accept *bool `json:"accept,omitempty"`
AddCommunity []string `json:"add_community,omitempty"`
// For SSR, hub decides how VRF routes are leaked on spoke
AddTargetVrfs []string `json:"add_target_vrfs,omitempty"`
// When used as export policy, optional
Community []string `json:"community,omitempty"`
// When used as export policy, optional. To exclude certain AS
ExcludeAsPath []string `json:"exclude_as_path,omitempty"`
ExcludeCommunity []string `json:"exclude_community,omitempty"`
// When used as export policy, optional
ExportCommunities []string `json:"export_communities,omitempty"`
// Optional, for an import policy, local_preference can be changed, value in range 1-4294967294. Can be a Variable (e.g. `{{bgp_as}}`)
LocalPreference *RoutingPolicyLocalPreference `json:"local_preference,omitempty"`
// When used as export policy, optional. By default, the local AS will be prepended, to change it. Can be a Variable (e.g. `{{as_path}}`)
PrependAsPath []string `json:"prepend_as_path,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GwRoutingPolicyTermAction represents a GwRoutingPolicyTermAction struct. When used as import policy
func (GwRoutingPolicyTermAction) MarshalJSON ¶ added in v0.4.98
func (g GwRoutingPolicyTermAction) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GwRoutingPolicyTermAction. It customizes the JSON marshaling process for GwRoutingPolicyTermAction objects.
func (GwRoutingPolicyTermAction) String ¶ added in v0.4.98
func (g GwRoutingPolicyTermAction) String() string
String implements the fmt.Stringer interface for GwRoutingPolicyTermAction, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GwRoutingPolicyTermAction) UnmarshalJSON ¶ added in v0.4.98
func (g *GwRoutingPolicyTermAction) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GwRoutingPolicyTermAction. It customizes the JSON unmarshaling process for GwRoutingPolicyTermAction objects.
type GwRoutingPolicyTermMatching ¶ added in v0.4.98
type GwRoutingPolicyTermMatching struct {
AsPath []BgpAs `json:"as_path,omitempty"`
Community []string `json:"community,omitempty"`
Network []string `json:"network,omitempty"`
// zero or more criteria/filter can be specified to match the term, all criteria have to be met
Prefix []string `json:"prefix,omitempty"`
Protocol []GwRoutingPolicyTermMatchingProtocolEnum `json:"protocol,omitempty"`
RouteExists *GwRoutingPolicyTermMatchingRouteExists `json:"route_exists,omitempty"`
// overlay-facing criteria (used for bgp_config where via=vpn)
VpnNeighborMac []string `json:"vpn_neighbor_mac,omitempty"`
// overlay-facing criteria (used for bgp_config where via=vpn). ordered-
VpnPath []string `json:"vpn_path,omitempty"`
VpnPathSla *GwRoutingPolicyTermMatchingVpnPathSla `json:"vpn_path_sla,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GwRoutingPolicyTermMatching represents a GwRoutingPolicyTermMatching struct. zero or more criteria/filter can be specified to match the term, all criteria have to be met
func (GwRoutingPolicyTermMatching) MarshalJSON ¶ added in v0.4.98
func (g GwRoutingPolicyTermMatching) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GwRoutingPolicyTermMatching. It customizes the JSON marshaling process for GwRoutingPolicyTermMatching objects.
func (GwRoutingPolicyTermMatching) String ¶ added in v0.4.98
func (g GwRoutingPolicyTermMatching) String() string
String implements the fmt.Stringer interface for GwRoutingPolicyTermMatching, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GwRoutingPolicyTermMatching) UnmarshalJSON ¶ added in v0.4.98
func (g *GwRoutingPolicyTermMatching) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GwRoutingPolicyTermMatching. It customizes the JSON unmarshaling process for GwRoutingPolicyTermMatching objects.
type GwRoutingPolicyTermMatchingProtocolEnum ¶ added in v0.4.98
type GwRoutingPolicyTermMatchingProtocolEnum string
GwRoutingPolicyTermMatchingProtocolEnum is a string enum. enum: `aggregate`, `bgp`, `direct`, `ospf`, `static` (SRX Only)
const ( GwRoutingPolicyTermMatchingProtocolEnum_AGGREGATE GwRoutingPolicyTermMatchingProtocolEnum = "aggregate" GwRoutingPolicyTermMatchingProtocolEnum_BGP GwRoutingPolicyTermMatchingProtocolEnum = "bgp" GwRoutingPolicyTermMatchingProtocolEnum_DIRECT GwRoutingPolicyTermMatchingProtocolEnum = "direct" GwRoutingPolicyTermMatchingProtocolEnum_OSPF GwRoutingPolicyTermMatchingProtocolEnum = "ospf" GwRoutingPolicyTermMatchingProtocolEnum_STATIC GwRoutingPolicyTermMatchingProtocolEnum = "static" )
type GwRoutingPolicyTermMatchingRouteExists ¶ added in v0.4.98
type GwRoutingPolicyTermMatchingRouteExists struct {
Route *string `json:"route,omitempty"`
// Name of the vrf instance, it can also be the name of the VPN or wan if they
VrfName *string `json:"vrf_name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GwRoutingPolicyTermMatchingRouteExists represents a GwRoutingPolicyTermMatchingRouteExists struct.
func (GwRoutingPolicyTermMatchingRouteExists) MarshalJSON ¶ added in v0.4.98
func (g GwRoutingPolicyTermMatchingRouteExists) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GwRoutingPolicyTermMatchingRouteExists. It customizes the JSON marshaling process for GwRoutingPolicyTermMatchingRouteExists objects.
func (GwRoutingPolicyTermMatchingRouteExists) String ¶ added in v0.4.98
func (g GwRoutingPolicyTermMatchingRouteExists) String() string
String implements the fmt.Stringer interface for GwRoutingPolicyTermMatchingRouteExists, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GwRoutingPolicyTermMatchingRouteExists) UnmarshalJSON ¶ added in v0.4.98
func (g *GwRoutingPolicyTermMatchingRouteExists) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GwRoutingPolicyTermMatchingRouteExists. It customizes the JSON unmarshaling process for GwRoutingPolicyTermMatchingRouteExists objects.
type GwRoutingPolicyTermMatchingVpnPathSla ¶ added in v0.4.98
type GwRoutingPolicyTermMatchingVpnPathSla struct {
MaxJitter Optional[int] `json:"max_jitter"`
MaxLatency Optional[int] `json:"max_latency"`
MaxLoss Optional[int] `json:"max_loss"`
AdditionalProperties map[string]interface{} `json:"_"`
}
GwRoutingPolicyTermMatchingVpnPathSla represents a GwRoutingPolicyTermMatchingVpnPathSla struct.
func (GwRoutingPolicyTermMatchingVpnPathSla) MarshalJSON ¶ added in v0.4.98
func (g GwRoutingPolicyTermMatchingVpnPathSla) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GwRoutingPolicyTermMatchingVpnPathSla. It customizes the JSON marshaling process for GwRoutingPolicyTermMatchingVpnPathSla objects.
func (GwRoutingPolicyTermMatchingVpnPathSla) String ¶ added in v0.4.98
func (g GwRoutingPolicyTermMatchingVpnPathSla) String() string
String implements the fmt.Stringer interface for GwRoutingPolicyTermMatchingVpnPathSla, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*GwRoutingPolicyTermMatchingVpnPathSla) UnmarshalJSON ¶ added in v0.4.98
func (g *GwRoutingPolicyTermMatchingVpnPathSla) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GwRoutingPolicyTermMatchingVpnPathSla. It customizes the JSON unmarshaling process for GwRoutingPolicyTermMatchingVpnPathSla objects.
type HaClusterConfig ¶
type HaClusterConfig struct {
// This disables the default behavior of a cloud-ready switch/gateway being managed/configured by Mist. Setting this to `true` means you want to disable the default behavior and do not want the device to be Mist-managed.
DisableAutoConfig *bool `json:"disable_auto_config,omitempty"`
// An adopted switch/gateway will not be managed/configured by Mist by default. Setting this parameter to `true` enables the adopted switch/gateway to be managed/configured by Mist.
Managed *bool `json:"managed,omitempty"`
Nodes []HaClusterConfigNode `json:"nodes,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
HaClusterConfig represents a HaClusterConfig struct.
func (HaClusterConfig) MarshalJSON ¶
func (h HaClusterConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for HaClusterConfig. It customizes the JSON marshaling process for HaClusterConfig objects.
func (HaClusterConfig) String ¶ added in v0.4.23
func (h HaClusterConfig) String() string
String implements the fmt.Stringer interface for HaClusterConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*HaClusterConfig) UnmarshalJSON ¶
func (h *HaClusterConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for HaClusterConfig. It customizes the JSON unmarshaling process for HaClusterConfig objects.
type HaClusterConfigNode ¶
type HaClusterConfigNode struct {
// Node mac, should be unassigned
Mac *string `json:"mac,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
HaClusterConfigNode represents a HaClusterConfigNode struct.
func (HaClusterConfigNode) MarshalJSON ¶
func (h HaClusterConfigNode) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for HaClusterConfigNode. It customizes the JSON marshaling process for HaClusterConfigNode objects.
func (HaClusterConfigNode) String ¶ added in v0.4.23
func (h HaClusterConfigNode) String() string
String implements the fmt.Stringer interface for HaClusterConfigNode, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*HaClusterConfigNode) UnmarshalJSON ¶
func (h *HaClusterConfigNode) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for HaClusterConfigNode. It customizes the JSON unmarshaling process for HaClusterConfigNode objects.
type HaClusterDelete ¶
type HaClusterDelete struct {
// Node0 mac address
Mac *string `json:"mac,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
HaClusterDelete represents a HaClusterDelete struct.
func (HaClusterDelete) MarshalJSON ¶
func (h HaClusterDelete) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for HaClusterDelete. It customizes the JSON marshaling process for HaClusterDelete objects.
func (HaClusterDelete) String ¶ added in v0.4.23
func (h HaClusterDelete) String() string
String implements the fmt.Stringer interface for HaClusterDelete, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*HaClusterDelete) UnmarshalJSON ¶
func (h *HaClusterDelete) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for HaClusterDelete. It customizes the JSON unmarshaling process for HaClusterDelete objects.
type HaClusterNode ¶
type HaClusterNode struct {
// only for HA. enum: `node0`, `node1`
Node *HaClusterNodeEnum `json:"node,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
HaClusterNode represents a HaClusterNode struct.
func (HaClusterNode) MarshalJSON ¶
func (h HaClusterNode) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for HaClusterNode. It customizes the JSON marshaling process for HaClusterNode objects.
func (HaClusterNode) String ¶ added in v0.4.23
func (h HaClusterNode) String() string
String implements the fmt.Stringer interface for HaClusterNode, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*HaClusterNode) UnmarshalJSON ¶
func (h *HaClusterNode) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for HaClusterNode. It customizes the JSON unmarshaling process for HaClusterNode objects.
type HaClusterNodeEnum ¶
type HaClusterNodeEnum string
HaClusterNodeEnum is a string enum. only for HA. enum: `node0`, `node1`
const ( HaClusterNodeEnum_NODE0 HaClusterNodeEnum = "node0" HaClusterNodeEnum_NODE1 HaClusterNodeEnum = "node1" )
type Hours ¶
type Hours struct {
// Hour range of the day (e.g. `09:00-17:00`). If the hour is not defined then it's treated as 00:00-23:59.
Fri *string `json:"fri,omitempty"`
// Hour range of the day (e.g. `09:00-17:00`). If the hour is not defined then it's treated as 00:00-23:59.
Mon *string `json:"mon,omitempty"`
// Hour range of the day (e.g. `09:00-17:00`). If the hour is not defined then it's treated as 00:00-23:59.
Sat *string `json:"sat,omitempty"`
// Hour range of the day (e.g. `09:00-17:00`). If the hour is not defined then it's treated as 00:00-23:59.
Sun *string `json:"sun,omitempty"`
// Hour range of the day (e.g. `09:00-17:00`). If the hour is not defined then it's treated as 00:00-23:59.
Thu *string `json:"thu,omitempty"`
// Hour range of the day (e.g. `09:00-17:00`). If the hour is not defined then it's treated as 00:00-23:59.
Tue *string `json:"tue,omitempty"`
// Hour range of the day (e.g. `09:00-17:00`). If the hour is not defined then it's treated as 00:00-23:59.
Wed *string `json:"wed,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Hours represents a Hours struct. Days/Hours of operation filter, the available days (mon, tue, wed, thu, fri, sat, sun)
func (Hours) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Hours. It customizes the JSON marshaling process for Hours objects.
func (Hours) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Hours, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Hours) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Hours. It customizes the JSON unmarshaling process for Hours objects.
type IdpConfig ¶
type IdpConfig struct {
AlertOnly *bool `json:"alert_only,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// org_level IDP Profile can be used, this takes precedence over `profile`
IdpprofileId *uuid.UUID `json:"idpprofile_id,omitempty"`
// enum: `Custom`, `strict` (default), `standard` or keys from idp_profiles
Profile *string `json:"profile,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
IdpConfig represents a IdpConfig struct.
func (IdpConfig) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for IdpConfig. It customizes the JSON marshaling process for IdpConfig objects.
func (IdpConfig) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for IdpConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*IdpConfig) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for IdpConfig. It customizes the JSON unmarshaling process for IdpConfig objects.
type IdpMachineCertLookupFieldEnum ¶ added in v0.2.38
type IdpMachineCertLookupFieldEnum string
IdpMachineCertLookupFieldEnum is a string enum. allow customer to choose the EAP-TLS client certificate's field to use for IDP Machine Groups lookup. enum: `automatic`, `cn`, `dns`
const ( IdpMachineCertLookupFieldEnum_AUTOMATIC IdpMachineCertLookupFieldEnum = "automatic" IdpMachineCertLookupFieldEnum_CN IdpMachineCertLookupFieldEnum = "cn" IdpMachineCertLookupFieldEnum_DNS IdpMachineCertLookupFieldEnum = "dns" )
type IdpProfile ¶
type IdpProfile struct {
// enum: `critical`, `standard`, `strict`
BaseProfile *IdpProfileBaseProfileEnum `json:"base_profile,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name *string `json:"name,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
Overwrites []IdpProfileOverwrite `json:"overwrites,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
IdpProfile represents a IdpProfile struct.
func (IdpProfile) MarshalJSON ¶
func (i IdpProfile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for IdpProfile. It customizes the JSON marshaling process for IdpProfile objects.
func (IdpProfile) String ¶ added in v0.4.23
func (i IdpProfile) String() string
String implements the fmt.Stringer interface for IdpProfile, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*IdpProfile) UnmarshalJSON ¶
func (i *IdpProfile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for IdpProfile. It customizes the JSON unmarshaling process for IdpProfile objects.
type IdpProfileActionEnum ¶
type IdpProfileActionEnum string
IdpProfileActionEnum is a string enum. enum: * alert (default) * drop: silently dropping packets * close: notify client/server to close connection
const ( IdpProfileActionEnum_ALERT IdpProfileActionEnum = "alert" IdpProfileActionEnum_CLOSE IdpProfileActionEnum = "close" IdpProfileActionEnum_DROP IdpProfileActionEnum = "drop" )
type IdpProfileBaseProfileEnum ¶
type IdpProfileBaseProfileEnum string
IdpProfileBaseProfileEnum is a string enum. enum: `critical`, `standard`, `strict`
const ( IdpProfileBaseProfileEnum_CRITICAL IdpProfileBaseProfileEnum = "critical" IdpProfileBaseProfileEnum_STANDARD IdpProfileBaseProfileEnum = "standard" IdpProfileBaseProfileEnum_STRICT IdpProfileBaseProfileEnum = "strict" )
type IdpProfileMatching ¶
type IdpProfileMatching struct {
AttackName []string `json:"attack_name,omitempty"`
DstSubnet []string `json:"dst_subnet,omitempty"`
Severity []IdpProfileMatchingSeverityValueEnum `json:"severity,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
IdpProfileMatching represents a IdpProfileMatching struct.
func (IdpProfileMatching) MarshalJSON ¶
func (i IdpProfileMatching) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for IdpProfileMatching. It customizes the JSON marshaling process for IdpProfileMatching objects.
func (IdpProfileMatching) String ¶ added in v0.4.23
func (i IdpProfileMatching) String() string
String implements the fmt.Stringer interface for IdpProfileMatching, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*IdpProfileMatching) UnmarshalJSON ¶
func (i *IdpProfileMatching) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for IdpProfileMatching. It customizes the JSON unmarshaling process for IdpProfileMatching objects.
type IdpProfileMatchingSeverityValueEnum ¶
type IdpProfileMatchingSeverityValueEnum string
IdpProfileMatchingSeverityValueEnum is a string enum. enum: `critical`, `info`, `major`, `minor`
const ( IdpProfileMatchingSeverityValueEnum_CRITICAL IdpProfileMatchingSeverityValueEnum = "critical" IdpProfileMatchingSeverityValueEnum_INFO IdpProfileMatchingSeverityValueEnum = "info" IdpProfileMatchingSeverityValueEnum_MAJOR IdpProfileMatchingSeverityValueEnum = "major" IdpProfileMatchingSeverityValueEnum_MINOR IdpProfileMatchingSeverityValueEnum = "minor" )
type IdpProfileOverwrite ¶
type IdpProfileOverwrite struct {
// enum:
// * alert (default)
// * drop: silently dropping packets
// * close: notify client/server to close connection
Action *IdpProfileActionEnum `json:"action,omitempty"`
Matching *IdpProfileMatching `json:"matching,omitempty"`
Name *string `json:"name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
IdpProfileOverwrite represents a IdpProfileOverwrite struct.
func (IdpProfileOverwrite) MarshalJSON ¶
func (i IdpProfileOverwrite) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for IdpProfileOverwrite. It customizes the JSON marshaling process for IdpProfileOverwrite objects.
func (IdpProfileOverwrite) String ¶ added in v0.4.23
func (i IdpProfileOverwrite) String() string
String implements the fmt.Stringer interface for IdpProfileOverwrite, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*IdpProfileOverwrite) UnmarshalJSON ¶
func (i *IdpProfileOverwrite) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for IdpProfileOverwrite. It customizes the JSON unmarshaling process for IdpProfileOverwrite objects.
type IdpUserCertLookupFieldEnum ¶ added in v0.2.38
type IdpUserCertLookupFieldEnum string
IdpUserCertLookupFieldEnum is a string enum. allow customer to choose the EAP-TLS client certificate's field. To use for IDP User Groups lookup. enum: `automatic`, `cn`, `email`, `upn`
const ( IdpUserCertLookupFieldEnum_AUTOMATIC IdpUserCertLookupFieldEnum = "automatic" IdpUserCertLookupFieldEnum_CN IdpUserCertLookupFieldEnum = "cn" IdpUserCertLookupFieldEnum_EMAIL IdpUserCertLookupFieldEnum = "email" IdpUserCertLookupFieldEnum_UPN IdpUserCertLookupFieldEnum = "upn" )
type IfStatProperty ¶
type IfStatProperty struct {
AddressMode *string `json:"address_mode,omitempty"`
Ips []string `json:"ips,omitempty"`
NatAddresses []string `json:"nat_addresses,omitempty"`
NetworkName *string `json:"network_name,omitempty"`
PortId *string `json:"port_id,omitempty"`
PortUsage *string `json:"port_usage,omitempty"`
RedundancyState *string `json:"redundancy_state,omitempty"`
// Amount of traffic received since connection
RxBytes Optional[int64] `json:"rx_bytes"`
// Amount of packets received since connection
RxPkts Optional[int64] `json:"rx_pkts"`
ServpInfo *IfStatPropertyServpInfo `json:"servp_info,omitempty"`
// Amount of traffic sent since connection
TxBytes Optional[int64] `json:"tx_bytes"`
// Amount of packets sent since connection
TxPkts Optional[int64] `json:"tx_pkts"`
Up *bool `json:"up,omitempty"`
Vlan *int `json:"vlan,omitempty"`
WanName *string `json:"wan_name,omitempty"`
WanType *string `json:"wan_type,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
IfStatProperty represents a IfStatProperty struct.
func (IfStatProperty) MarshalJSON ¶
func (i IfStatProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for IfStatProperty. It customizes the JSON marshaling process for IfStatProperty objects.
func (IfStatProperty) String ¶ added in v0.4.23
func (i IfStatProperty) String() string
String implements the fmt.Stringer interface for IfStatProperty, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*IfStatProperty) UnmarshalJSON ¶
func (i *IfStatProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for IfStatProperty. It customizes the JSON unmarshaling process for IfStatProperty objects.
type IfStatPropertyServpInfo ¶
type IfStatPropertyServpInfo struct {
Asn *string `json:"asn,omitempty"`
City *string `json:"city,omitempty"`
CountryCode *string `json:"country_code,omitempty"`
Latitude *float64 `json:"latitude,omitempty"`
Longitude *float64 `json:"longitude,omitempty"`
Org *string `json:"org,omitempty"`
RegionCode *string `json:"region_code,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
IfStatPropertyServpInfo represents a IfStatPropertyServpInfo struct.
func (IfStatPropertyServpInfo) MarshalJSON ¶
func (i IfStatPropertyServpInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for IfStatPropertyServpInfo. It customizes the JSON marshaling process for IfStatPropertyServpInfo objects.
func (IfStatPropertyServpInfo) String ¶ added in v0.4.23
func (i IfStatPropertyServpInfo) String() string
String implements the fmt.Stringer interface for IfStatPropertyServpInfo, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*IfStatPropertyServpInfo) UnmarshalJSON ¶
func (i *IfStatPropertyServpInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for IfStatPropertyServpInfo. It customizes the JSON unmarshaling process for IfStatPropertyServpInfo objects.
type ImageImport ¶
type ImageImport struct {
// Binary file
File []byte `json:"file"`
Json *string `json:"json,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ImageImport represents a ImageImport struct.
func (ImageImport) MarshalJSON ¶
func (i ImageImport) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ImageImport. It customizes the JSON marshaling process for ImageImport objects.
func (ImageImport) String ¶ added in v0.4.23
func (i ImageImport) String() string
String implements the fmt.Stringer interface for ImageImport, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ImageImport) UnmarshalJSON ¶
func (i *ImageImport) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ImageImport. It customizes the JSON unmarshaling process for ImageImport objects.
type ImportSiteAssetsUpsertEnum ¶
type ImportSiteAssetsUpsertEnum string
ImportSiteAssetsUpsertEnum is a string enum. enum: `False`, `True`
const ( ImportSiteAssetsUpsertEnum_FALSE ImportSiteAssetsUpsertEnum = "False" ImportSiteAssetsUpsertEnum_TRUE ImportSiteAssetsUpsertEnum = "True" )
type InsightMetrics ¶
type InsightMetrics struct {
End int `json:"end"`
Interval int `json:"interval"`
Limit *int `json:"limit,omitempty"`
// Results depends on the `metric` - some return numbers (e.g. bytes, ap-count), others return objects
Results []InsightMetricsResultsItem `json:"results"`
Start int `json:"start"`
AdditionalProperties map[string]interface{} `json:"_"`
}
InsightMetrics represents a InsightMetrics struct.
func (InsightMetrics) MarshalJSON ¶
func (i InsightMetrics) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InsightMetrics. It customizes the JSON marshaling process for InsightMetrics objects.
func (InsightMetrics) String ¶ added in v0.4.23
func (i InsightMetrics) String() string
String implements the fmt.Stringer interface for InsightMetrics, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*InsightMetrics) UnmarshalJSON ¶
func (i *InsightMetrics) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InsightMetrics. It customizes the JSON unmarshaling process for InsightMetrics objects.
type InsightMetricsResultsItem ¶ added in v0.4.94
type InsightMetricsResultsItem struct {
// contains filtered or unexported fields
}
InsightMetricsResultsItem represents a InsightMetricsResultsItem struct.
func (*InsightMetricsResultsItem) AsObject ¶ added in v0.4.94
func (i *InsightMetricsResultsItem) AsObject() ( *interface{}, bool)
func (*InsightMetricsResultsItem) AsPrecision ¶ added in v0.4.94
func (i *InsightMetricsResultsItem) AsPrecision() ( *float64, bool)
func (InsightMetricsResultsItem) MarshalJSON ¶ added in v0.4.94
func (i InsightMetricsResultsItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InsightMetricsResultsItem. It customizes the JSON marshaling process for InsightMetricsResultsItem objects.
func (InsightMetricsResultsItem) String ¶ added in v0.4.94
func (i InsightMetricsResultsItem) String() string
String implements the fmt.Stringer interface for InsightMetricsResultsItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*InsightMetricsResultsItem) UnmarshalJSON ¶ added in v0.4.94
func (i *InsightMetricsResultsItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InsightMetricsResultsItem. It customizes the JSON unmarshaling process for InsightMetricsResultsItem objects.
type InsightRogueAp ¶
type InsightRogueAp struct {
// MAC of the device that had strongest signal strength for ssid/bssid pair
ApMac string `json:"ap_mac"`
// Average signal strength of ap_mac for ssid/bssid pair
AvgRssi float64 `json:"avg_rssi"`
// BSSID of the network detected as threat
Bssid string `json:"bssid"`
// Channel over which ap_mac heard ssid/bssid pair
Channel string `json:"channel"`
// X position relative to the reporting AP (`ap_mac`)
DeltaX *float64 `json:"delta_x,omitempty"`
// Y position relative to the reporting AP (`ap_mac`)
DeltaY *float64 `json:"delta_y,omitempty"`
// Num of aps that heard the ssid/bssid pair
NumAps int `json:"num_aps"`
// Whether the reporting AP see a wireless client (on LAN) connecting to it
SeenOnLan *bool `json:"seen_on_lan,omitempty"`
// SSID of the network detected as threat
Ssid *string `json:"ssid,omitempty"`
// Represents number of times the pair was heard in the interval. Each count roughly corresponds to a minute.
TimesHeard *int `json:"times_heard,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
InsightRogueAp represents a InsightRogueAp struct.
func (InsightRogueAp) MarshalJSON ¶
func (i InsightRogueAp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InsightRogueAp. It customizes the JSON marshaling process for InsightRogueAp objects.
func (InsightRogueAp) String ¶ added in v0.4.23
func (i InsightRogueAp) String() string
String implements the fmt.Stringer interface for InsightRogueAp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*InsightRogueAp) UnmarshalJSON ¶
func (i *InsightRogueAp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InsightRogueAp. It customizes the JSON unmarshaling process for InsightRogueAp objects.
type InsightRogueClient ¶
type InsightRogueClient struct {
Annotation string `json:"annotation"`
ApMac string `json:"ap_mac"`
AvgRssi float64 `json:"avg_rssi"`
Band string `json:"band"`
Bssid string `json:"bssid"`
ClientMac string `json:"client_mac"`
NumAps int `json:"num_aps"`
AdditionalProperties map[string]interface{} `json:"_"`
}
InsightRogueClient represents a InsightRogueClient struct.
func (InsightRogueClient) MarshalJSON ¶
func (i InsightRogueClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InsightRogueClient. It customizes the JSON marshaling process for InsightRogueClient objects.
func (InsightRogueClient) String ¶ added in v0.4.23
func (i InsightRogueClient) String() string
String implements the fmt.Stringer interface for InsightRogueClient, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*InsightRogueClient) UnmarshalJSON ¶
func (i *InsightRogueClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InsightRogueClient. It customizes the JSON unmarshaling process for InsightRogueClient objects.
type InstallerDevice ¶
type InstallerDevice struct {
Connected *bool `json:"connected,omitempty"`
DeviceprofileName *string `json:"deviceprofile_name,omitempty"`
ExtIp *string `json:"ext_ip,omitempty"`
Height *float64 `json:"height,omitempty"`
Ip *string `json:"ip,omitempty"`
// Last seen timestamp
LastSeen Optional[float64] `json:"last_seen"`
Mac *string `json:"mac,omitempty"`
MapId *uuid.UUID `json:"map_id,omitempty"`
Model *string `json:"model,omitempty"`
Name *string `json:"name,omitempty"`
Orientation *int `json:"orientation,omitempty"`
Serial *string `json:"serial,omitempty"`
SiteName *string `json:"site_name,omitempty"`
Uptime *int `json:"uptime,omitempty"`
VcMac Optional[string] `json:"vc_mac"`
Version *string `json:"version,omitempty"`
X *float64 `json:"x,omitempty"`
Y *float64 `json:"y,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
InstallerDevice represents a InstallerDevice struct.
func (InstallerDevice) MarshalJSON ¶
func (i InstallerDevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InstallerDevice. It customizes the JSON marshaling process for InstallerDevice objects.
func (InstallerDevice) String ¶ added in v0.4.23
func (i InstallerDevice) String() string
String implements the fmt.Stringer interface for InstallerDevice, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*InstallerDevice) UnmarshalJSON ¶
func (i *InstallerDevice) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InstallerDevice. It customizes the JSON unmarshaling process for InstallerDevice objects.
type InstallerProvisionDevice ¶
type InstallerProvisionDevice struct {
DeviceprofileName *string `json:"deviceprofile_name,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
Height *float64 `json:"height,omitempty"`
MapId *uuid.UUID `json:"map_id,omitempty"`
Name string `json:"name"`
Orientation *int `json:"orientation,omitempty"`
// Onlif this is to replace an existing device
ReplacingMac *string `json:"replacing_mac,omitempty"`
// Optional role for switch / gateway
Role *string `json:"role,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
SiteName *string `json:"site_name,omitempty"`
X *float64 `json:"x,omitempty"`
Y *float64 `json:"y,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
InstallerProvisionDevice represents a InstallerProvisionDevice struct. Provision Device
func (InstallerProvisionDevice) MarshalJSON ¶
func (i InstallerProvisionDevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InstallerProvisionDevice. It customizes the JSON marshaling process for InstallerProvisionDevice objects.
func (InstallerProvisionDevice) String ¶ added in v0.4.23
func (i InstallerProvisionDevice) String() string
String implements the fmt.Stringer interface for InstallerProvisionDevice, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*InstallerProvisionDevice) UnmarshalJSON ¶
func (i *InstallerProvisionDevice) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InstallerProvisionDevice. It customizes the JSON unmarshaling process for InstallerProvisionDevice objects.
type InstallerSite ¶
type InstallerSite struct {
Address string `json:"address"`
CountryCode string `json:"country_code"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Latlng LatLng `json:"latlng"`
Name string `json:"name"`
RftemplateName *string `json:"rftemplate_name,omitempty"`
SitegroupNames []string `json:"sitegroup_names,omitempty"`
Timezone *string `json:"timezone,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
InstallerSite represents a InstallerSite struct.
func (InstallerSite) MarshalJSON ¶
func (i InstallerSite) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InstallerSite. It customizes the JSON marshaling process for InstallerSite objects.
func (InstallerSite) String ¶ added in v0.4.23
func (i InstallerSite) String() string
String implements the fmt.Stringer interface for InstallerSite, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*InstallerSite) UnmarshalJSON ¶
func (i *InstallerSite) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InstallerSite. It customizes the JSON unmarshaling process for InstallerSite objects.
type InstallersItem ¶
type InstallersItem struct {
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
InstallersItem represents a InstallersItem struct.
func (InstallersItem) MarshalJSON ¶
func (i InstallersItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InstallersItem. It customizes the JSON marshaling process for InstallersItem objects.
func (InstallersItem) String ¶ added in v0.4.23
func (i InstallersItem) String() string
String implements the fmt.Stringer interface for InstallersItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*InstallersItem) UnmarshalJSON ¶
func (i *InstallersItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InstallersItem. It customizes the JSON unmarshaling process for InstallersItem objects.
type Inventory ¶
type Inventory struct {
// Only if `type`==`switch` or `type`==`gateway`, whether the switch/gateway is adopted
Adopted *bool `json:"adopted,omitempty"`
// For Virtual Chassis only, the MAC Address of the FPC0
ChassisMac *string `json:"chassis_mac,omitempty"`
// For Virtual Chassis only, the Serial Number of the FPC0
ChassisSerial *string `json:"chassis_serial,omitempty"`
// Whether the device is connected
Connected *bool `json:"connected,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// Deviceprofile id if assigned, null if not assigned
DeviceprofileId Optional[string] `json:"deviceprofile_id"`
// Hostname reported by the device
Hostname *string `json:"hostname,omitempty"`
// Device hardware revision number
HwRev *string `json:"hw_rev,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Jsi *bool `json:"jsi,omitempty"`
// Device MAC address
Mac *string `json:"mac,omitempty"`
// Device claim code
Magic *string `json:"magic,omitempty"`
// Device model
Model *string `json:"model,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
// Device name if configured
Name *string `json:"name,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Device serial
Serial *string `json:"serial,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Device stock keeping unit
Sku *string `json:"sku,omitempty"`
// enum: `ap`, `gateway`, `switch`
Type *DeviceTypeDefaultApEnum `json:"type,omitempty"`
// If `type`==`switch` and device part of a Virtual Chassis, MAC Address of the Virtual Chassis. if `type`==`gateway` and device part of a Cluster, MAC Address of the Cluster
VcMac *string `json:"vc_mac,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Inventory represents a Inventory struct.
func (Inventory) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Inventory. It customizes the JSON marshaling process for Inventory objects.
func (Inventory) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Inventory, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Inventory) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Inventory. It customizes the JSON unmarshaling process for Inventory objects.
type InventoryCountDistinctEnum ¶ added in v0.4.0
type InventoryCountDistinctEnum string
InventoryCountDistinctEnum is a string enum. enum: `model`, `status`, `site_id`, `sku`, `version`
const ( InventoryCountDistinctEnum_MODEL InventoryCountDistinctEnum = "model" InventoryCountDistinctEnum_STATUS InventoryCountDistinctEnum = "status" InventoryCountDistinctEnum_SITEID InventoryCountDistinctEnum = "site_id" InventoryCountDistinctEnum_SKU InventoryCountDistinctEnum = "sku" InventoryCountDistinctEnum_VERSION InventoryCountDistinctEnum = "version" )
type InventorySearch ¶ added in v0.4.0
type InventorySearch struct {
End *int `json:"end,omitempty"`
Limit *int `json:"limit,omitempty"`
Next *string `json:"next,omitempty"`
Results []InventorySearchResult `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
InventorySearch represents a InventorySearch struct.
func (InventorySearch) MarshalJSON ¶ added in v0.4.0
func (i InventorySearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InventorySearch. It customizes the JSON marshaling process for InventorySearch objects.
func (InventorySearch) String ¶ added in v0.4.23
func (i InventorySearch) String() string
String implements the fmt.Stringer interface for InventorySearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*InventorySearch) UnmarshalJSON ¶ added in v0.4.0
func (i *InventorySearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InventorySearch. It customizes the JSON unmarshaling process for InventorySearch objects.
type InventorySearchResult ¶ added in v0.4.0
type InventorySearchResult struct {
Mac *string `json:"mac,omitempty"`
Master *bool `json:"master,omitempty"`
Members []InventorySearchResultMember `json:"members,omitempty"`
Model *string `json:"model,omitempty"`
Name *string `json:"name,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
Serial *string `json:"serial,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Sku *string `json:"sku,omitempty"`
Status *string `json:"status,omitempty"`
// enum: `ap`, `gateway`, `switch`
Type *DeviceTypeDefaultApEnum `json:"type,omitempty"`
VcMac *string `json:"vc_mac,omitempty"`
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
InventorySearchResult represents a InventorySearchResult struct.
func (InventorySearchResult) MarshalJSON ¶ added in v0.4.0
func (i InventorySearchResult) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InventorySearchResult. It customizes the JSON marshaling process for InventorySearchResult objects.
func (InventorySearchResult) String ¶ added in v0.4.23
func (i InventorySearchResult) String() string
String implements the fmt.Stringer interface for InventorySearchResult, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*InventorySearchResult) UnmarshalJSON ¶ added in v0.4.0
func (i *InventorySearchResult) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InventorySearchResult. It customizes the JSON unmarshaling process for InventorySearchResult objects.
type InventorySearchResultMember ¶ added in v0.4.0
type InventorySearchResultMember struct {
Mac *string `json:"mac,omitempty"`
Model *string `json:"model,omitempty"`
Serial *string `json:"serial,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
InventorySearchResultMember represents a InventorySearchResultMember struct.
func (InventorySearchResultMember) MarshalJSON ¶ added in v0.4.0
func (i InventorySearchResultMember) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InventorySearchResultMember. It customizes the JSON marshaling process for InventorySearchResultMember objects.
func (InventorySearchResultMember) String ¶ added in v0.4.23
func (i InventorySearchResultMember) String() string
String implements the fmt.Stringer interface for InventorySearchResultMember, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*InventorySearchResultMember) UnmarshalJSON ¶ added in v0.4.0
func (i *InventorySearchResultMember) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InventorySearchResultMember. It customizes the JSON unmarshaling process for InventorySearchResultMember objects.
type InventoryUpdate ¶
type InventoryUpdate struct {
// If `op`==`assign`, this disables the default behavior of a cloud-ready switch/gateway being managed/configured by Mist. Setting this to `true` means you want to disable the default behavior and do not want the device to be Mist-managed.
DisableAutoConfig *bool `json:"disable_auto_config,omitempty"`
// If `op`==`assign`, `op`==`unassign`, `op`==`upgrade_to_mist`or `op`==`downgrade_to_jsi` , list of MAC, e.g. ["5c5b350e0001"]
Macs []string `json:"macs,omitempty"`
// If `op`==`assign`. An adopted switch/gateway will not be managed/configured by Mist by default. Setting this parameter to `true` enables the adopted switch/gateway to be managed/configured by Mist.
Managed *bool `json:"managed,omitempty"`
// If `op`==`assign`, if true, treat site assignment against an already assigned AP as error
NoReassign *bool `json:"no_reassign,omitempty"`
// enum:
// * `upgrade_to_mist`: Upgrade to mist-managed
// * `downgrade_to_jsi`: Downgrade to basic monitoring. When downgrading a VC member to jsi, we will move the cloud connection of the VC to jsi-terminator and keep all VC device/inventories intact for pain-free upgrading back to mist.
// * `assign`: Assign inventory to a site
// * `unassign`: Unassign inventory from a site
// * `delete`: Delete multiple inventory from org. If the device is already assigned to a site, it will be unassigned
Op InventoryUpdateOperationEnum `json:"op"`
// If `op`==`delete`, list of serial numbers, e.g. ["FXLH2015150025"]
Serials []string `json:"serials,omitempty"`
// If `op`==`assign`, target site id
SiteId *uuid.UUID `json:"site_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
InventoryUpdate represents a InventoryUpdate struct.
func (InventoryUpdate) MarshalJSON ¶
func (i InventoryUpdate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InventoryUpdate. It customizes the JSON marshaling process for InventoryUpdate objects.
func (InventoryUpdate) String ¶ added in v0.4.23
func (i InventoryUpdate) String() string
String implements the fmt.Stringer interface for InventoryUpdate, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*InventoryUpdate) UnmarshalJSON ¶
func (i *InventoryUpdate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InventoryUpdate. It customizes the JSON unmarshaling process for InventoryUpdate objects.
type InventoryUpdateOperationEnum ¶
type InventoryUpdateOperationEnum string
InventoryUpdateOperationEnum is a string enum. enum: * `upgrade_to_mist`: Upgrade to mist-managed * `downgrade_to_jsi`: Downgrade to basic monitoring. When downgrading a VC member to jsi, we will move the cloud connection of the VC to jsi-terminator and keep all VC device/inventories intact for pain-free upgrading back to mist. * `assign`: Assign inventory to a site * `unassign`: Unassign inventory from a site * `delete`: Delete multiple inventory from org. If the device is already assigned to a site, it will be unassigned
const ( InventoryUpdateOperationEnum_ASSIGN InventoryUpdateOperationEnum = "assign" InventoryUpdateOperationEnum_DELETE InventoryUpdateOperationEnum = "delete" InventoryUpdateOperationEnum_DOWNGRADETOJSI InventoryUpdateOperationEnum = "downgrade_to_jsi" InventoryUpdateOperationEnum_UNASSIGN InventoryUpdateOperationEnum = "unassign" InventoryUpdateOperationEnum_UPGRADETOMIST InventoryUpdateOperationEnum = "upgrade_to_mist" )
type IpStat ¶
type IpStat struct {
DhcpServer Optional[string] `json:"dhcp_server"`
Dns []string `json:"dns,omitempty"`
DnsSuffix []string `json:"dns_suffix,omitempty"`
Gateway Optional[string] `json:"gateway"`
Gateway6 Optional[string] `json:"gateway6"`
Ip Optional[string] `json:"ip"`
Ip6 Optional[string] `json:"ip6"`
Ips map[string]string `json:"ips,omitempty"`
Netmask Optional[string] `json:"netmask"`
Netmask6 Optional[string] `json:"netmask6"`
AdditionalProperties map[string]interface{} `json:"_"`
}
IpStat represents a IpStat struct.
func (IpStat) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for IpStat. It customizes the JSON marshaling process for IpStat objects.
func (IpStat) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for IpStat, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*IpStat) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for IpStat. It customizes the JSON unmarshaling process for IpStat objects.
type IpType6Enum ¶
type IpType6Enum string
IpType6Enum is a string enum. enum: `autoconf`, `dhcp`, `disabled`, `static`
const ( IpType6Enum_AUTOCONF IpType6Enum = "autoconf" IpType6Enum_DHCP IpType6Enum = "dhcp" IpType6Enum_DISABLED IpType6Enum = "disabled" IpType6Enum_STATIC IpType6Enum = "static" )
type IpTypeEnum ¶
type IpTypeEnum string
IpTypeEnum is a string enum. enum: `dhcp`, `static`
const ( IpTypeEnum_DHCP IpTypeEnum = "dhcp" IpTypeEnum_STATIC IpTypeEnum = "static" )
type IssuedClientCertificate ¶ added in v0.2.38
type IssuedClientCertificate struct {
CertProvider *string `json:"cert_provider,omitempty"`
CommonName *string `json:"common_name,omitempty"`
// When the certificate has been created
CreatedTime *string `json:"created_time,omitempty"`
DeviceId *uuid.UUID `json:"device_id,omitempty"`
// When the certificate will expire
ExpireTime *string `json:"expire_time,omitempty"`
SerialNumber *string `json:"serial_number,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
IssuedClientCertificate represents a IssuedClientCertificate struct.
func (IssuedClientCertificate) MarshalJSON ¶ added in v0.2.38
func (i IssuedClientCertificate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for IssuedClientCertificate. It customizes the JSON marshaling process for IssuedClientCertificate objects.
func (IssuedClientCertificate) String ¶ added in v0.4.23
func (i IssuedClientCertificate) String() string
String implements the fmt.Stringer interface for IssuedClientCertificate, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*IssuedClientCertificate) UnmarshalJSON ¶ added in v0.2.38
func (i *IssuedClientCertificate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for IssuedClientCertificate. It customizes the JSON unmarshaling process for IssuedClientCertificate objects.
type IssuedClientCertificatesResults ¶ added in v0.2.38
type IssuedClientCertificatesResults struct {
Results []IssuedClientCertificate `json:"results,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
IssuedClientCertificatesResults represents a IssuedClientCertificatesResults struct.
func (IssuedClientCertificatesResults) MarshalJSON ¶ added in v0.2.38
func (i IssuedClientCertificatesResults) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for IssuedClientCertificatesResults. It customizes the JSON marshaling process for IssuedClientCertificatesResults objects.
func (IssuedClientCertificatesResults) String ¶ added in v0.4.23
func (i IssuedClientCertificatesResults) String() string
String implements the fmt.Stringer interface for IssuedClientCertificatesResults, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*IssuedClientCertificatesResults) UnmarshalJSON ¶ added in v0.2.38
func (i *IssuedClientCertificatesResults) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for IssuedClientCertificatesResults. It customizes the JSON unmarshaling process for IssuedClientCertificatesResults objects.
type JsInventoryItem ¶ added in v0.4.54
type JsInventoryItem struct {
// Indicates if the device is claimed by any org
Claimed *bool `json:"claimed,omitempty"`
// Name of the device
DeviceName *string `json:"device_name,omitempty"`
// End of life time
EolTime *int `json:"eol_time,omitempty"`
// End of support time
EosTime *int `json:"eos_time,omitempty"`
// Indicates if the device is covered under active support contract
HasSupport *bool `json:"has_support,omitempty"`
// Indicates whether it is Master
Master *bool `json:"master,omitempty"`
// Model of the install base inventory
Model *string `json:"model,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Serial Number of the inventory
Serial *string `json:"serial,omitempty"`
// Serviceable device stock
Sku *string `json:"sku,omitempty"`
// Status of the connected device
Status *string `json:"status,omitempty"`
// Suggested SW version
SuggestedVersion *string `json:"suggested_version,omitempty"`
// enum: `ap`, `gateway`, `switch`
Type *DeviceTypeEnum `json:"type,omitempty"`
// SW version running
Version *string `json:"version,omitempty"`
// End of Service of version
VersionEosTime *int `json:"version_eos_time,omitempty"`
// FRS date of the version
VersionTime *int `json:"version_time,omitempty"`
// warranty description
Warranty *string `json:"warranty,omitempty"`
// Time when warranty needs to be renewed
WarrantyTime *int `json:"warranty_time,omitempty"`
// Warranty type for Juniper Support Insight (JSI) devices. The warranty type
// is used to determine the support level and duration of the warranty for the
// device. enum:
// * WTY00001: Standard Hardware Warranty
// * WTY00002: Enhanced Hardware Warranty
// * WTY00003: Dead On Arrival Warranty
// * WTY00004: Limited Lifetime Warranty
// * WTY00005: Software Warranty
// * WTY00006: Limited Lifetime Warranty for WLA
// * WTY00007: Warranty-JCPO EOL (DOA Not Included)
// * WTY00008: MIST Enhanced Hardware Warranty
// * WTY00009: MIST Standard Warranty
// * WTY00099: Determine Lifetime warranty
WarrantyType *JsiWarrantyTypeEnum `json:"warranty_type,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
JsInventoryItem represents a JsInventoryItem struct.
func (JsInventoryItem) MarshalJSON ¶ added in v0.4.54
func (j JsInventoryItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for JsInventoryItem. It customizes the JSON marshaling process for JsInventoryItem objects.
func (JsInventoryItem) String ¶ added in v0.4.54
func (j JsInventoryItem) String() string
String implements the fmt.Stringer interface for JsInventoryItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*JsInventoryItem) UnmarshalJSON ¶ added in v0.4.54
func (j *JsInventoryItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for JsInventoryItem. It customizes the JSON unmarshaling process for JsInventoryItem objects.
type JsInventorySearch ¶ added in v0.4.80
type JsInventorySearch struct {
// Offset to end at
End *int `json:"end,omitempty"`
// Number of results to return
Limit *int `json:"limit,omitempty"`
Next *string `json:"next,omitempty"`
Results []JsInventoryItem `json:"results,omitempty"`
// Offset to start from
Start *int `json:"start,omitempty"`
// Total number of results
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
JsInventorySearch represents a JsInventorySearch struct.
func (JsInventorySearch) MarshalJSON ¶ added in v0.4.80
func (j JsInventorySearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for JsInventorySearch. It customizes the JSON marshaling process for JsInventorySearch objects.
func (JsInventorySearch) String ¶ added in v0.4.80
func (j JsInventorySearch) String() string
String implements the fmt.Stringer interface for JsInventorySearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*JsInventorySearch) UnmarshalJSON ¶ added in v0.4.80
func (j *JsInventorySearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for JsInventorySearch. It customizes the JSON unmarshaling process for JsInventorySearch objects.
type JseDevice ¶
type JseDevice struct {
// When available
ExtIp *string `json:"ext_ip,omitempty"`
// Last seen timestamp
LastSeen Optional[float64] `json:"last_seen"`
Mac *string `json:"mac,omitempty"`
Model *string `json:"model,omitempty"`
Serial *string `json:"serial,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
JseDevice represents a JseDevice struct.
func (JseDevice) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for JseDevice. It customizes the JSON marshaling process for JseDevice objects.
func (JseDevice) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for JseDevice, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*JseDevice) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for JseDevice. It customizes the JSON unmarshaling process for JseDevice objects.
type JsiInventoryCountDistinctEnum ¶ added in v0.4.80
type JsiInventoryCountDistinctEnum string
JsiInventoryCountDistinctEnum is a string enum. enum: `account_id`, `claimed`, `eol_time`, `eos_time`, `has_support`, `version_time`, `model`, `sku`, `status`, `type`, `version`, `warranty_type
const ( JsiInventoryCountDistinctEnum_ACCOUNTID JsiInventoryCountDistinctEnum = "account_id" JsiInventoryCountDistinctEnum_CLAIMED JsiInventoryCountDistinctEnum = "claimed" JsiInventoryCountDistinctEnum_HASSUPPORT JsiInventoryCountDistinctEnum = "has_support" JsiInventoryCountDistinctEnum_EOLTIME JsiInventoryCountDistinctEnum = "eol_time" JsiInventoryCountDistinctEnum_EOSTIME JsiInventoryCountDistinctEnum = "eos_time" JsiInventoryCountDistinctEnum_VERSIONTIME JsiInventoryCountDistinctEnum = "version_time" JsiInventoryCountDistinctEnum_MODEL JsiInventoryCountDistinctEnum = "model" JsiInventoryCountDistinctEnum_SKU JsiInventoryCountDistinctEnum = "sku" JsiInventoryCountDistinctEnum_STATUS JsiInventoryCountDistinctEnum = "status" JsiInventoryCountDistinctEnum_ENUMTYPE JsiInventoryCountDistinctEnum = "type" JsiInventoryCountDistinctEnum_VERSION JsiInventoryCountDistinctEnum = "version" JsiInventoryCountDistinctEnum_WARRANTYTYPE JsiInventoryCountDistinctEnum = "warranty_type" )
type JsiWarrantyTypeEnum ¶ added in v0.4.80
type JsiWarrantyTypeEnum string
JsiWarrantyTypeEnum is a string enum. Warranty type for Juniper Support Insight (JSI) devices. The warranty type is used to determine the support level and duration of the warranty for the device. enum: * WTY00001: Standard Hardware Warranty * WTY00002: Enhanced Hardware Warranty * WTY00003: Dead On Arrival Warranty * WTY00004: Limited Lifetime Warranty * WTY00005: Software Warranty * WTY00006: Limited Lifetime Warranty for WLA * WTY00007: Warranty-JCPO EOL (DOA Not Included) * WTY00008: MIST Enhanced Hardware Warranty * WTY00009: MIST Standard Warranty * WTY00099: Determine Lifetime warranty
const ( JsiWarrantyTypeEnum_ENUMSTANDARDHARDWAREWARRANTY JsiWarrantyTypeEnum = "Standard Hardware Warranty" JsiWarrantyTypeEnum_ENUMENHANCEDHARDWAREWARRANTY JsiWarrantyTypeEnum = "Enhanced Hardware Warranty" JsiWarrantyTypeEnum_ENUMDEADONARRIVALWARRANTY JsiWarrantyTypeEnum = "Dead On Arrival Warranty" JsiWarrantyTypeEnum_ENUMLIMITEDLIFETIMEWARRANTY JsiWarrantyTypeEnum = "Limited Lifetime Warranty" JsiWarrantyTypeEnum_ENUMSOFTWAREWARRANTY JsiWarrantyTypeEnum = "Software Warranty" JsiWarrantyTypeEnum_ENUMLIMITEDLIFETIMEWARRANTYFORWLA JsiWarrantyTypeEnum = "Limited Lifetime Warranty for WLA" JsiWarrantyTypeEnum_ENUMWARRANTYJCPOEOLDOANOTINCLUDED JsiWarrantyTypeEnum = "Warranty-JCPO EOL (DOA Not Included)" JsiWarrantyTypeEnum_ENUMMISTENHANCEDHARDWAREWARRANTY JsiWarrantyTypeEnum = "MIST Enhanced Hardware Warranty" JsiWarrantyTypeEnum_ENUMMISTSTANDARDWARRANTY JsiWarrantyTypeEnum = "MIST Standard Warranty" JsiWarrantyTypeEnum_ENUMDETERMINELIFETIMEWARRANTY JsiWarrantyTypeEnum = "Determine Lifetime warranty" )
type JuniperAccount ¶
type JuniperAccount struct {
LinkedBy *string `json:"linked_by,omitempty"`
Name *string `json:"name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
JuniperAccount represents a JuniperAccount struct.
func (JuniperAccount) MarshalJSON ¶
func (j JuniperAccount) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for JuniperAccount. It customizes the JSON marshaling process for JuniperAccount objects.
func (JuniperAccount) String ¶ added in v0.4.23
func (j JuniperAccount) String() string
String implements the fmt.Stringer interface for JuniperAccount, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*JuniperAccount) UnmarshalJSON ¶
func (j *JuniperAccount) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for JuniperAccount. It customizes the JSON unmarshaling process for JuniperAccount objects.
type JuniperSrxAutoUpgrade ¶ added in v0.4.87
type JuniperSrxAutoUpgrade struct {
// Property key is the SRX Hardware model (e.g. "SRX4600")
CustomVersions map[string]string `json:"custom_versions,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
Snapshot *bool `json:"snapshot,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
JuniperSrxAutoUpgrade represents a JuniperSrxAutoUpgrade struct. auto_upgrade device first time it is onboarded
func (JuniperSrxAutoUpgrade) MarshalJSON ¶ added in v0.4.87
func (j JuniperSrxAutoUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for JuniperSrxAutoUpgrade. It customizes the JSON marshaling process for JuniperSrxAutoUpgrade objects.
func (JuniperSrxAutoUpgrade) String ¶ added in v0.4.87
func (j JuniperSrxAutoUpgrade) String() string
String implements the fmt.Stringer interface for JuniperSrxAutoUpgrade, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*JuniperSrxAutoUpgrade) UnmarshalJSON ¶ added in v0.4.87
func (j *JuniperSrxAutoUpgrade) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for JuniperSrxAutoUpgrade. It customizes the JSON unmarshaling process for JuniperSrxAutoUpgrade objects.
type JunosIpConfig ¶
type JunosIpConfig struct {
Dns []string `json:"dns,omitempty"`
DnsSuffix []string `json:"dns_suffix,omitempty"`
Gateway *string `json:"gateway,omitempty"`
Ip *string `json:"ip,omitempty"`
// Used only if `subnet` is not specified in `networks`
Netmask *string `json:"netmask,omitempty"`
// Network where this mgmt IP reside, this will be used as default network for outbound-ssh, dns, ntp, dns, tacplus, radius, syslog, snmp
Network *string `json:"network,omitempty"`
// enum: `dhcp`, `static`
Type *IpTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
JunosIpConfig represents a JunosIpConfig struct. Junos IP Config
func (JunosIpConfig) MarshalJSON ¶
func (j JunosIpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for JunosIpConfig. It customizes the JSON marshaling process for JunosIpConfig objects.
func (JunosIpConfig) String ¶ added in v0.4.23
func (j JunosIpConfig) String() string
String implements the fmt.Stringer interface for JunosIpConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*JunosIpConfig) UnmarshalJSON ¶
func (j *JunosIpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for JunosIpConfig. It customizes the JSON unmarshaling process for JunosIpConfig objects.
type JunosLocalPortConfig ¶ added in v0.4.0
type JunosLocalPortConfig struct {
// Only if `mode`==`trunk` whether to trunk all network/vlans
AllNetworks *bool `json:"all_networks,omitempty"`
// Controls whether DHCP server traffic is allowed on ports using this configuration if DHCP snooping is enabled. This is a tri-state setting; `true`: ports become trusted ports allowing DHCP server traffic, `false`: ports become untrusted blocking DHCP server traffic, undefined: use system defaults (access ports default to untrusted, trunk ports default to trusted).
AllowDhcpd *bool `json:"allow_dhcpd,omitempty"`
AllowMultipleSupplicants *bool `json:"allow_multiple_supplicants,omitempty"`
// Only if `port_auth`==`dot1x` bypass auth for known clients if set to true when RADIUS server is down
BypassAuthWhenServerDown *bool `json:"bypass_auth_when_server_down,omitempty"`
// Only if `port_auth`=`dot1x` bypass auth for all (including unknown clients) if set to true when RADIUS server is down
BypassAuthWhenServerDownForUnknownClient *bool `json:"bypass_auth_when_server_down_for_unknown_client,omitempty"`
Description *string `json:"description,omitempty"`
// Only if `mode`!=`dynamic` if speed and duplex are specified, whether to disable autonegotiation
DisableAutoneg *bool `json:"disable_autoneg,omitempty"`
// Whether the port is disabled
Disabled *bool `json:"disabled,omitempty"`
// link connection mode. enum: `auto`, `full`, `half`
Duplex *SwitchPortLocalUsageDuplexEnum `json:"duplex,omitempty"`
// Only if `port_auth`==`dot1x`, if dynamic vlan is used, specify the possible networks/vlans RADIUS can return
DynamicVlanNetworks []string `json:"dynamic_vlan_networks,omitempty"`
// Only if `port_auth`==`dot1x` whether to enable MAC Auth
EnableMacAuth *bool `json:"enable_mac_auth,omitempty"`
EnableQos *bool `json:"enable_qos,omitempty"`
// Only if `port_auth`==`dot1x` which network to put the device into if the device cannot do dot1x. default is null (i.e. not allowed)
GuestNetwork Optional[string] `json:"guest_network"`
// inter_switch_link is used together with "isolation" under networks. NOTE: inter_switch_link works only between Juniper devices. This has to be applied to both ports connected together
InterSwitchLink *bool `json:"inter_switch_link,omitempty"`
// Only if `enable_mac_auth`==`true`
MacAuthOnly *bool `json:"mac_auth_only,omitempty"`
// Only if `enable_mac_auth`==`true` + `mac_auth_only`==`false`, dot1x will be given priority then mac_auth. Enable this to prefer mac_auth over dot1x.
MacAuthPreferred *bool `json:"mac_auth_preferred,omitempty"`
// Only if `enable_mac_auth` ==`true`. This type is ignored if mist_nac is enabled. enum: `eap-md5`, `eap-peap`, `pap`
MacAuthProtocol *SwitchPortLocalUsageMacAuthProtocolEnum `json:"mac_auth_protocol,omitempty"`
// Max number of mac addresses, default is 0 for unlimited, otherwise range is 1 or higher, with upper bound constrained by platform
MacLimit *int `json:"mac_limit,omitempty"`
// enum: `access`, `inet`, `trunk`
Mode *SwitchPortLocalUsageModeEnum `json:"mode,omitempty"`
// Media maximum transmission unit (MTU) is the largest data unit that can be forwarded without fragmentation. The default value is 1514.
Mtu *int `json:"mtu,omitempty"`
// Only if `mode`==`trunk`, the list of network/vlans
Networks []string `json:"networks,omitempty"`
// Additional note for the port config override
Note *string `json:"note,omitempty"`
// Only if `mode`==`access` and `port_auth`!=`dot1x` whether the port should retain dynamically learned MAC addresses
PersistMac *bool `json:"persist_mac,omitempty"`
// Whether PoE capabilities are disabled for a port
PoeDisabled *bool `json:"poe_disabled,omitempty"`
// if dot1x is desired, set to dot1x. enum: `dot1x`
PortAuth Optional[SwitchPortLocalUsageDot1xEnum] `json:"port_auth"`
// Native network/vlan for untagged traffic
PortNetwork *string `json:"port_network,omitempty"`
// Only if `mode`!=`dynamic` and `port_auth`=`dot1x` reauthentication interval range (min: 10, max: 65535, default: 3600)
ReauthInterval *SwitchPortUsageReauthInterval `json:"reauth_interval,omitempty"`
// Only if `port_auth`==`dot1x` sets server fail fallback vlan
ServerFailNetwork Optional[string] `json:"server_fail_network"`
// Only if `port_auth`==`dot1x` when radius server reject / fails
ServerRejectNetwork Optional[string] `json:"server_reject_network"`
// enum: `100m`, `10m`, `1g`, `2.5g`, `5g`, `10g`, `25g`, `40g`, `100g`,`auto`
Speed *JunosPortConfigSpeedEnum `json:"speed,omitempty"`
// Switch storm control
StormControl *SwitchPortLocalUsageStormControl `json:"storm_control,omitempty"`
// When enabled, the port is not expected to receive BPDU frames
StpEdge *bool `json:"stp_edge,omitempty"`
StpNoRootPort *bool `json:"stp_no_root_port,omitempty"`
StpP2p *bool `json:"stp_p2p,omitempty"`
// Port usage name.
Usage string `json:"usage"`
// If this is connected to a vstp network
UseVstp *bool `json:"use_vstp,omitempty"`
// Network/vlan for voip traffic, must also set port_network. to authenticate device, set port_auth
VoipNetwork *string `json:"voip_network,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
JunosLocalPortConfig represents a JunosLocalPortConfig struct. Switch port config
func (JunosLocalPortConfig) MarshalJSON ¶ added in v0.4.0
func (j JunosLocalPortConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for JunosLocalPortConfig. It customizes the JSON marshaling process for JunosLocalPortConfig objects.
func (JunosLocalPortConfig) String ¶ added in v0.4.23
func (j JunosLocalPortConfig) String() string
String implements the fmt.Stringer interface for JunosLocalPortConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*JunosLocalPortConfig) UnmarshalJSON ¶ added in v0.4.0
func (j *JunosLocalPortConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for JunosLocalPortConfig. It customizes the JSON unmarshaling process for JunosLocalPortConfig objects.
type JunosOtherIpConfig ¶
type JunosOtherIpConfig struct {
// For EVPN, if anycast is desired
EvpnAnycast *bool `json:"evpn_anycast,omitempty"`
// Required if `type`==`static`
Ip *string `json:"ip,omitempty"`
// Required if `type6`==`static`
Ip6 *string `json:"ip6,omitempty"`
// Optional, `subnet` from `network` definition will be used if defined
Netmask *string `json:"netmask,omitempty"`
// Optional, `subnet` from `network` definition will be used if defined
Netmask6 *string `json:"netmask6,omitempty"`
// enum: `dhcp`, `static`
Type *IpTypeEnum `json:"type,omitempty"`
// enum: `autoconf`, `dhcp`, `disabled`, `static`
Type6 *IpType6Enum `json:"type6,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
JunosOtherIpConfig represents a JunosOtherIpConfig struct. Optional, if it's required to have switch's L3 presence on a network/vlan
func (JunosOtherIpConfig) MarshalJSON ¶
func (j JunosOtherIpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for JunosOtherIpConfig. It customizes the JSON marshaling process for JunosOtherIpConfig objects.
func (JunosOtherIpConfig) String ¶ added in v0.4.23
func (j JunosOtherIpConfig) String() string
String implements the fmt.Stringer interface for JunosOtherIpConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*JunosOtherIpConfig) UnmarshalJSON ¶
func (j *JunosOtherIpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for JunosOtherIpConfig. It customizes the JSON unmarshaling process for JunosOtherIpConfig objects.
type JunosPortConfig ¶
type JunosPortConfig struct {
// To disable LACP support for the AE interface
AeDisableLacp *bool `json:"ae_disable_lacp,omitempty"`
// Users could force to use the designated AE name
AeIdx *int `json:"ae_idx,omitempty"`
// To use fast timeout
AeLacpSlow *bool `json:"ae_lacp_slow,omitempty"`
Aggregated *bool `json:"aggregated,omitempty"`
// To generate port up/down alarm
Critical *bool `json:"critical,omitempty"`
Description *string `json:"description,omitempty"`
// If `speed` and `duplex` are specified, whether to disable autonegotiation
DisableAutoneg *bool `json:"disable_autoneg,omitempty"`
// enum: `auto`, `full`, `half`
Duplex *JunosPortConfigDuplexEnum `json:"duplex,omitempty"`
// Enable dynamic usage for this port. Set to `dynamic` to enable.
DynamicUsage Optional[string] `json:"dynamic_usage"`
Esilag *bool `json:"esilag,omitempty"`
// Media maximum transmission unit (MTU) is the largest data unit that can be forwarded without fragmentation
Mtu *int `json:"mtu,omitempty"`
// List of network names. Required if `usage`==`inet`
Networks []string `json:"networks,omitempty"`
// Prevent helpdesk to override the port config
NoLocalOverwrite *bool `json:"no_local_overwrite,omitempty"`
PoeDisabled *bool `json:"poe_disabled,omitempty"`
// Required if `usage`==`vlan_tunnel`. Q-in-Q tunneling using All-in-one bundling. This also enables standard L2PT for interfaces that are not encapsulation tunnel interfaces and uses MAC rewrite operation. [View more information](https://www.juniper.net/documentation/us/en/software/junos/multicast-l2/topics/topic-map/q-in-q.html#id-understanding-qinq-tunneling-and-vlan-translation)
PortNetwork *string `json:"port_network,omitempty"`
// enum: `100m`, `10m`, `1g`, `2.5g`, `5g`, `10g`, `25g`, `40g`, `100g`,`auto`
Speed *JunosPortConfigSpeedEnum `json:"speed,omitempty"`
// Port usage name. For Q-in-Q, use `vlan_tunnel`. If EVPN is used, use `evpn_uplink`or `evpn_downlink`
Usage string `json:"usage"`
AdditionalProperties map[string]interface{} `json:"_"`
}
JunosPortConfig represents a JunosPortConfig struct. Switch port config
func (JunosPortConfig) MarshalJSON ¶
func (j JunosPortConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for JunosPortConfig. It customizes the JSON marshaling process for JunosPortConfig objects.
func (JunosPortConfig) String ¶ added in v0.4.23
func (j JunosPortConfig) String() string
String implements the fmt.Stringer interface for JunosPortConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*JunosPortConfig) UnmarshalJSON ¶
func (j *JunosPortConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for JunosPortConfig. It customizes the JSON unmarshaling process for JunosPortConfig objects.
type JunosPortConfigDuplexEnum ¶
type JunosPortConfigDuplexEnum string
JunosPortConfigDuplexEnum is a string enum. enum: `auto`, `full`, `half`
const ( JunosPortConfigDuplexEnum_AUTO JunosPortConfigDuplexEnum = "auto" JunosPortConfigDuplexEnum_FULL JunosPortConfigDuplexEnum = "full" JunosPortConfigDuplexEnum_HALF JunosPortConfigDuplexEnum = "half" )
type JunosPortConfigSpeedEnum ¶
type JunosPortConfigSpeedEnum string
JunosPortConfigSpeedEnum is a string enum. enum: `100m`, `10m`, `1g`, `2.5g`, `5g`, `10g`, `25g`, `40g`, `100g`,`auto`
const ( JunosPortConfigSpeedEnum_ENUM10M JunosPortConfigSpeedEnum = "10m" JunosPortConfigSpeedEnum_ENUM100M JunosPortConfigSpeedEnum = "100m" JunosPortConfigSpeedEnum_ENUM1G JunosPortConfigSpeedEnum = "1g" JunosPortConfigSpeedEnum_ENUM25G JunosPortConfigSpeedEnum = "2.5g" JunosPortConfigSpeedEnum_ENUM5G JunosPortConfigSpeedEnum = "5g" JunosPortConfigSpeedEnum_ENUM10G JunosPortConfigSpeedEnum = "10g" JunosPortConfigSpeedEnum_ENUM25G1 JunosPortConfigSpeedEnum = "25g" JunosPortConfigSpeedEnum_ENUM40G JunosPortConfigSpeedEnum = "40g" JunosPortConfigSpeedEnum_ENUM100G JunosPortConfigSpeedEnum = "100g" JunosPortConfigSpeedEnum_AUTO JunosPortConfigSpeedEnum = "auto" )
type L2tpStateEnum ¶ added in v0.2.38
type L2tpStateEnum string
L2tpStateEnum is a string enum. enum: `established`, `established_with_session`, `idle`, `wait-ctrl-conn`, `wait-ctrl-reply`
const ( L2tpStateEnum_ESTABLISHED L2tpStateEnum = "established" L2tpStateEnum_ESTABLISHEDWITHSESSION L2tpStateEnum = "established_with_session" L2tpStateEnum_IDLE L2tpStateEnum = "idle" L2tpStateEnum_WAITCTRLCONN L2tpStateEnum = "wait-ctrl-conn" L2tpStateEnum_WAITCTRLREPLY L2tpStateEnum = "wait-ctrl-reply" )
type LastConfigDeviceTypeEnum ¶ added in v0.4.87
type LastConfigDeviceTypeEnum string
LastConfigDeviceTypeEnum is a string enum. enum: `ap`, `gateway`, `mxedge`, `switch`
const ( LastConfigDeviceTypeEnum_AP LastConfigDeviceTypeEnum = "ap" LastConfigDeviceTypeEnum_GATEWAY LastConfigDeviceTypeEnum = "gateway" LastConfigDeviceTypeEnum_ENUMSWITCH LastConfigDeviceTypeEnum = "switch" LastConfigDeviceTypeEnum_MXEDGE LastConfigDeviceTypeEnum = "mxedge" )
type LastTrouble ¶
type LastTrouble struct {
// Code definitions list at [List Ap Led Definition]($e/Constants%20Definitions/listApLedDefinition)
Code *string `json:"code,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
LastTrouble represents a LastTrouble struct. Last trouble code of switch
func (LastTrouble) MarshalJSON ¶
func (l LastTrouble) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for LastTrouble. It customizes the JSON marshaling process for LastTrouble objects.
func (LastTrouble) String ¶ added in v0.4.23
func (l LastTrouble) String() string
String implements the fmt.Stringer interface for LastTrouble, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*LastTrouble) UnmarshalJSON ¶
func (l *LastTrouble) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for LastTrouble. It customizes the JSON unmarshaling process for LastTrouble objects.
type LatLng ¶
type LatLng struct {
Lat float64 `json:"lat"`
Lng float64 `json:"lng"`
AdditionalProperties map[string]interface{} `json:"_"`
}
LatLng represents a LatLng struct.
func (LatLng) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for LatLng. It customizes the JSON marshaling process for LatLng objects.
func (LatLng) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for LatLng, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*LatLng) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for LatLng. It customizes the JSON unmarshaling process for LatLng objects.
type LatlngBr ¶
type LatlngBr struct {
Lat *string `json:"lat,omitempty"`
Lng *string `json:"lng,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
LatlngBr represents a LatlngBr struct. When type=google, latitude / longitude of the bottom-right corner
func (LatlngBr) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for LatlngBr. It customizes the JSON marshaling process for LatlngBr objects.
func (LatlngBr) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for LatlngBr, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*LatlngBr) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for LatlngBr. It customizes the JSON unmarshaling process for LatlngBr objects.
type LatlngTl ¶
type LatlngTl struct {
Lat *string `json:"lat,omitempty"`
Lng *string `json:"lng,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
LatlngTl represents a LatlngTl struct. When type=google, latitude / longitude of the top-left corner
func (LatlngTl) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for LatlngTl. It customizes the JSON marshaling process for LatlngTl objects.
func (LatlngTl) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for LatlngTl, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*LatlngTl) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for LatlngTl. It customizes the JSON unmarshaling process for LatlngTl objects.
type License ¶
type License struct {
Amendments []LicenseAmendment `json:"amendments,omitempty"`
// Property key is license type (e.g. SUB-MAN) and Property value is the number of licenses entitled.
Entitled map[string]int `json:"entitled,omitempty"`
// Maximum number of licenses that may be required if the service is enabled on all the Organization Devices. Property key is the service name (e.g. "SUB-MAN").
FullyLoaded map[string]int `json:"fully_loaded,omitempty"`
Licenses []LicenseSub `json:"licenses,omitempty"`
// Number of licenses currently consumed. Property key is license type (e.g. SUB-MAN).
Summary map[string]int `json:"summary,omitempty"`
// Number of available licenes. Property key is the service name (e.g. "SUB-MAN"). name (e.g. "SUB-MAN")
Usages map[string]int `json:"usages,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
License represents a License struct. License
func (License) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for License. It customizes the JSON marshaling process for License objects.
func (License) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for License, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*License) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for License. It customizes the JSON unmarshaling process for License objects.
type LicenseAmendment ¶
type LicenseAmendment struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
EndTime *int `json:"end_time,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Quantity *int `json:"quantity,omitempty"`
StartTime *int `json:"start_time,omitempty"`
SubscriptionId *string `json:"subscription_id,omitempty"`
// Type of license. The list of supported license type can be retrieve with the [List License Type]($e/Constants%20Definitions/listLicenseTypes) API request.
Type *string `json:"type,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
LicenseAmendment represents a LicenseAmendment struct.
func (LicenseAmendment) MarshalJSON ¶
func (l LicenseAmendment) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for LicenseAmendment. It customizes the JSON marshaling process for LicenseAmendment objects.
func (LicenseAmendment) String ¶ added in v0.4.23
func (l LicenseAmendment) String() string
String implements the fmt.Stringer interface for LicenseAmendment, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*LicenseAmendment) UnmarshalJSON ¶
func (l *LicenseAmendment) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for LicenseAmendment. It customizes the JSON unmarshaling process for LicenseAmendment objects.
type LicenseSub ¶
type LicenseSub struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// End date of the license term
EndTime *int `json:"end_time,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
OrderId *string `json:"order_id,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Number of devices entitled for this license
Quantity *int `json:"quantity,omitempty"`
// Number of licenses left in this subscription
RemainingQuantity *int `json:"remaining_quantity,omitempty"`
// Start date of the license term
StartTime *int `json:"start_time,omitempty"`
SubscriptionId *string `json:"subscription_id,omitempty"`
// Type of license. The list of supported license type can be retrieve with the [List License Type]($e/Constants%20Definitions/listLicenseTypes) API request.
Type *string `json:"type,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
LicenseSub represents a LicenseSub struct.
func (LicenseSub) MarshalJSON ¶
func (l LicenseSub) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for LicenseSub. It customizes the JSON marshaling process for LicenseSub objects.
func (LicenseSub) String ¶ added in v0.4.23
func (l LicenseSub) String() string
String implements the fmt.Stringer interface for LicenseSub, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*LicenseSub) UnmarshalJSON ¶
func (l *LicenseSub) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for LicenseSub. It customizes the JSON unmarshaling process for LicenseSub objects.
type LicenseUsageOrg ¶
type LicenseUsageOrg struct {
ForSite *bool `json:"for_site,omitempty"`
// Maximum number of licenses that may be required if the service is enabled on all the Organization Devices. Property key is the service name (e.g. "SUB-MAN").
FullyLoaded map[string]int `json:"fully_loaded,omitempty"`
NumDevices int `json:"num_devices"`
SiteId uuid.UUID `json:"site_id"`
// Number of licenses currently consumed. Property key is license type (e.g. SUB-MAN).
Summary map[string]int `json:"summary,omitempty"`
// Number of available licenes. Property key is the service name (e.g. "SUB-MAN"). name (e.g. "SUB-MAN")
Usages map[string]int `json:"usages"`
AdditionalProperties map[string]interface{} `json:"_"`
}
LicenseUsageOrg represents a LicenseUsageOrg struct.
func (LicenseUsageOrg) MarshalJSON ¶
func (l LicenseUsageOrg) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for LicenseUsageOrg. It customizes the JSON marshaling process for LicenseUsageOrg objects.
func (LicenseUsageOrg) String ¶ added in v0.4.23
func (l LicenseUsageOrg) String() string
String implements the fmt.Stringer interface for LicenseUsageOrg, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*LicenseUsageOrg) UnmarshalJSON ¶
func (l *LicenseUsageOrg) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for LicenseUsageOrg. It customizes the JSON unmarshaling process for LicenseUsageOrg objects.
type LicenseUsageSite ¶
type LicenseUsageSite struct {
// License entitlement for the entire org
OrgEntitled map[string]int `json:"org_entitled"`
// Eligibility for the Switch SLE
SvnaEnabled bool `json:"svna_enabled"`
TrialEnabled bool `json:"trial_enabled"`
// Subscriptions and their quantities
Usages map[string]int `json:"usages"`
// Eligibility for the AP/Client SLE
VnaEligible bool `json:"vna_eligible"`
// If True, Conversational Assistant and Marvis Action available
VnaUi bool `json:"vna_ui"`
// Eligibility for the WAN SLE
WvnaEligible bool `json:"wvna_eligible"`
AdditionalProperties map[string]interface{} `json:"_"`
}
LicenseUsageSite represents a LicenseUsageSite struct.
func (LicenseUsageSite) MarshalJSON ¶
func (l LicenseUsageSite) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for LicenseUsageSite. It customizes the JSON marshaling process for LicenseUsageSite objects.
func (LicenseUsageSite) String ¶ added in v0.4.23
func (l LicenseUsageSite) String() string
String implements the fmt.Stringer interface for LicenseUsageSite, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*LicenseUsageSite) UnmarshalJSON ¶
func (l *LicenseUsageSite) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for LicenseUsageSite. It customizes the JSON unmarshaling process for LicenseUsageSite objects.
type ListMspLogsSortEnum ¶
type ListMspLogsSortEnum string
ListMspLogsSortEnum is a string enum. enum: `-timestamp`, `admin_id`, `site_id`, `timestamp`
const ( ListMspLogsSortEnum_ENUMTIMESTAMP ListMspLogsSortEnum = "-timestamp" ListMspLogsSortEnum_ADMINID ListMspLogsSortEnum = "admin_id" ListMspLogsSortEnum_SITEID ListMspLogsSortEnum = "site_id" ListMspLogsSortEnum_TIMESTAMP ListMspLogsSortEnum = "timestamp" )
type ListOrgLogsSortEnum ¶
type ListOrgLogsSortEnum string
ListOrgLogsSortEnum is a string enum. enum: `-timestamp`, `admin_id`, `site_id`, `timestamp`
const ( ListOrgLogsSortEnum_ENUMTIMESTAMP ListOrgLogsSortEnum = "-timestamp" ListOrgLogsSortEnum_ADMINID ListOrgLogsSortEnum = "admin_id" ListOrgLogsSortEnum_SITEID ListOrgLogsSortEnum = "site_id" ListOrgLogsSortEnum_TIMESTAMP ListOrgLogsSortEnum = "timestamp" )
type LocateSwitch ¶
type LocateSwitch struct {
// Minutes the leds should keep flashing
Duration *int `json:"duration,omitempty"`
// For virtual chassis, the MAC of the member
Mac *string `json:"mac,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
LocateSwitch represents a LocateSwitch struct.
func (LocateSwitch) MarshalJSON ¶
func (l LocateSwitch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for LocateSwitch. It customizes the JSON marshaling process for LocateSwitch objects.
func (LocateSwitch) String ¶ added in v0.4.23
func (l LocateSwitch) String() string
String implements the fmt.Stringer interface for LocateSwitch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*LocateSwitch) UnmarshalJSON ¶
func (l *LocateSwitch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for LocateSwitch. It customizes the JSON unmarshaling process for LocateSwitch objects.
type LogEvent ¶ added in v0.4.94
type LogEvent struct {
// admin id
AdminId Optional[uuid.UUID] `json:"admin_id"`
// Name of the admin that performs the action
AdminName Optional[string] `json:"admin_name"`
// field values after the change
After *interface{} `json:"after,omitempty"`
// field values prior to the change
Before *interface{} `json:"before,omitempty"`
// Device id
DeviceId Optional[uuid.UUID] `json:"device_id"`
ForSite *bool `json:"for_site,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// log message
Message string `json:"message"`
OrgId uuid.UUID `json:"org_id"`
SiteId Optional[uuid.UUID] `json:"site_id"`
// sender source ip address
SrcIp *string `json:"src_ip,omitempty"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
AdditionalProperties map[string]interface{} `json:"_"`
}
LogEvent represents a LogEvent struct.
func (LogEvent) MarshalJSON ¶ added in v0.4.94
MarshalJSON implements the json.Marshaler interface for LogEvent. It customizes the JSON marshaling process for LogEvent objects.
func (LogEvent) String ¶ added in v0.4.94
String implements the fmt.Stringer interface for LogEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*LogEvent) UnmarshalJSON ¶ added in v0.4.94
UnmarshalJSON implements the json.Unmarshaler interface for LogEvent. It customizes the JSON unmarshaling process for LogEvent objects.
type Login ¶
type Login struct {
Email string `json:"email"`
Password string `json:"password"`
TwoFactor *string `json:"two_factor,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Login represents a Login struct.
func (Login) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Login. It customizes the JSON marshaling process for Login objects.
func (Login) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Login, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Login) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Login. It customizes the JSON unmarshaling process for Login objects.
type LoginFailures ¶ added in v0.4.74
type LoginFailures struct {
// Email address of the user
Email *string `json:"email,omitempty"`
// Last failure time
LastFailureAt *int `json:"last_failure_at,omitempty"`
// Number of failed login attempts
NumAttempts *int `json:"num_attempts,omitempty"`
// List of up to 32 unique source IP addresses, ordered with the most recent first
SrcIps []string `json:"src_ips,omitempty"`
// List of up to 32 unique User-Agent strings, ordered with the most recent first
UserAgents []string `json:"user_agents,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
LoginFailures represents a LoginFailures struct. Failed login attempts
func (LoginFailures) MarshalJSON ¶ added in v0.4.74
func (l LoginFailures) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for LoginFailures. It customizes the JSON marshaling process for LoginFailures objects.
func (LoginFailures) String ¶ added in v0.4.74
func (l LoginFailures) String() string
String implements the fmt.Stringer interface for LoginFailures, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*LoginFailures) UnmarshalJSON ¶ added in v0.4.74
func (l *LoginFailures) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for LoginFailures. It customizes the JSON unmarshaling process for LoginFailures objects.
type MacAddresses ¶
type MacAddresses struct {
Macs []string `json:"macs"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MacAddresses represents a MacAddresses struct.
func (MacAddresses) MarshalJSON ¶
func (m MacAddresses) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MacAddresses. It customizes the JSON marshaling process for MacAddresses objects.
func (MacAddresses) String ¶ added in v0.4.23
func (m MacAddresses) String() string
String implements the fmt.Stringer interface for MacAddresses, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MacAddresses) UnmarshalJSON ¶
func (m *MacAddresses) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MacAddresses. It customizes the JSON unmarshaling process for MacAddresses objects.
type MacTableStats ¶
type MacTableStats struct {
MacTableCount *int `json:"mac_table_count,omitempty"`
MaxMacEntriesSupported *int `json:"max_mac_entries_supported,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MacTableStats represents a MacTableStats struct.
func (MacTableStats) MarshalJSON ¶
func (m MacTableStats) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MacTableStats. It customizes the JSON marshaling process for MacTableStats objects.
func (MacTableStats) String ¶ added in v0.4.23
func (m MacTableStats) String() string
String implements the fmt.Stringer interface for MacTableStats, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MacTableStats) UnmarshalJSON ¶
func (m *MacTableStats) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MacTableStats. It customizes the JSON unmarshaling process for MacTableStats objects.
type Map ¶
type Map struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// Name/val pair objects for location engine to use
Flags map[string]int `json:"flags,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// The group index of the map, typically used for floor
GroupIdx *int `json:"group_idx,omitempty"`
// The group name of the map
GroupName *string `json:"group_name,omitempty"`
// When type=image, height of the image map
Height *int `json:"height,omitempty"`
HeightM *float64 `json:"height_m,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// When type=google, latitude / longitude of the bottom-right corner
LatlngBr *LatlngBr `json:"latlng_br,omitempty"`
// When type=google, latitude / longitude of the top-left corner
LatlngTl *LatlngTl `json:"latlng_tl,omitempty"`
// Whether this map is considered locked down
Locked *bool `json:"locked,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
// The name of the map
Name *string `json:"name,omitempty"`
OccupancyLimit *int `json:"occupancy_limit,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Orientation of the map, 0 means up is north, 90 means up is west
Orientation *int `json:"orientation,omitempty"`
// User-annotated X origin, pixels
OriginX *int `json:"origin_x,omitempty"`
// User-annotated Y origin, pixels
OriginY *int `json:"origin_y,omitempty"`
// When type=image, pixels per meter
Ppm *float64 `json:"ppm,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Sitesurvey_path
SitesurveyPath []MapSitesurveyPathItems `json:"sitesurvey_path,omitempty"`
// When type=image, the url for the thumbnail image / preview
ThumbnailUrl *string `json:"thumbnail_url,omitempty"`
// enum: `google`, `image`
Type *MapTypeEnum `json:"type,omitempty"`
// When type=image, the url
Url *string `json:"url,omitempty"`
// if `type`==`google`. enum: `hybrid`, `roadmap`, `satellite`, `terrain`
View Optional[MapViewEnum] `json:"view"`
// JSON blob for wall definition (same format as wayfinding_path)
WallPath *MapWallPath `json:"wall_path,omitempty"`
// Properties related to wayfinding
Wayfinding *MapWayfinding `json:"wayfinding,omitempty"`
// JSON blob for wayfinding (using Dijkstra’s algorithm)
WayfindingPath *MapWayfindingPath `json:"wayfinding_path,omitempty"`
// When type=image, width of the image map
Width *int `json:"width,omitempty"`
WidthM *float64 `json:"width_m,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Map represents a Map struct. Map
func (Map) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Map. It customizes the JSON marshaling process for Map objects.
func (Map) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Map, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Map) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Map. It customizes the JSON unmarshaling process for Map objects.
type MapImportJson ¶
type MapImportJson struct {
ImportAllFloorplans *bool `json:"import_all_floorplans,omitempty"`
ImportHeight *bool `json:"import_height,omitempty"`
ImportOrientation *bool `json:"import_orientation,omitempty"`
// enum: `ekahau`, `ibwave`
VendorName MapImportJsonVendorNameEnum `json:"vendor_name"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MapImportJson represents a MapImportJson struct.
func (MapImportJson) MarshalJSON ¶
func (m MapImportJson) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapImportJson. It customizes the JSON marshaling process for MapImportJson objects.
func (MapImportJson) String ¶ added in v0.4.23
func (m MapImportJson) String() string
String implements the fmt.Stringer interface for MapImportJson, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MapImportJson) UnmarshalJSON ¶
func (m *MapImportJson) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapImportJson. It customizes the JSON unmarshaling process for MapImportJson objects.
type MapImportJsonVendorNameEnum ¶
type MapImportJsonVendorNameEnum string
MapImportJsonVendorNameEnum is a string enum. enum: `ekahau`, `ibwave`
const ( MapImportJsonVendorNameEnum_EKAHAU MapImportJsonVendorNameEnum = "ekahau" MapImportJsonVendorNameEnum_IBWAVE MapImportJsonVendorNameEnum = "ibwave" )
type MapJibestream ¶
type MapJibestream struct {
// Client id
ClientId uuid.UUID `json:"client_id"`
// Client secret
ClientSecret string `json:"client_secret"`
// Jibestream customer record id
CustomerId int `json:"customer_id"`
// Map contents endpoint host
EndpointUrl string `json:"endpoint_url"`
// Jibestream map id
MapId uuid.UUID `json:"map_id"`
// Millimeter per pixel
Mmpp int `json:"mmpp"`
// Pixel per meter, same as the map JSON value.
Ppm float64 `json:"ppm"`
// The vendor ‘jibestream’. enum: `jibestream`
VendorName string `json:"vendor_name"`
// Venue or organization id
VenueId int `json:"venue_id"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MapJibestream represents a MapJibestream struct.
func (MapJibestream) MarshalJSON ¶
func (m MapJibestream) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapJibestream. It customizes the JSON marshaling process for MapJibestream objects.
func (MapJibestream) String ¶ added in v0.4.23
func (m MapJibestream) String() string
String implements the fmt.Stringer interface for MapJibestream, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MapJibestream) UnmarshalJSON ¶
func (m *MapJibestream) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapJibestream. It customizes the JSON unmarshaling process for MapJibestream objects.
type MapJibestreamVendorNameEnum ¶ added in v0.2.38
type MapJibestreamVendorNameEnum string
MapJibestreamVendorNameEnum is a string enum. The vendor ‘jibestream’. enum: `jibestream`
const (
MapJibestreamVendorNameEnum_JIBESTREAM MapJibestreamVendorNameEnum = "jibestream"
)
type MapMicello ¶
type MapMicello struct {
// Account key that has access to the map
AccountKey string `json:"account_key"`
// Micello floor/level id
DefaultLevelId int `json:"default_level_id"`
// Micello map id
MapId uuid.UUID `json:"map_id"`
// The vendor ‘micello’. enum: `micello`
VendorName string `json:"vendor_name"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MapMicello represents a MapMicello struct.
func (MapMicello) MarshalJSON ¶
func (m MapMicello) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapMicello. It customizes the JSON marshaling process for MapMicello objects.
func (MapMicello) String ¶ added in v0.4.23
func (m MapMicello) String() string
String implements the fmt.Stringer interface for MapMicello, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MapMicello) UnmarshalJSON ¶
func (m *MapMicello) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapMicello. It customizes the JSON unmarshaling process for MapMicello objects.
type MapMicelloVendorNameEnum ¶ added in v0.2.38
type MapMicelloVendorNameEnum string
MapMicelloVendorNameEnum is a string enum. The vendor ‘micello’. enum: `micello`
const (
MapMicelloVendorNameEnum_MICELLO MapMicelloVendorNameEnum = "micello"
)
type MapNode ¶
type MapNode struct {
Edges map[string]string `json:"edges,omitempty"`
Name string `json:"name"`
Position *MapNodePosition `json:"position,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MapNode represents a MapNode struct. Nodes on maps
func (MapNode) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for MapNode. It customizes the JSON marshaling process for MapNode objects.
func (MapNode) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for MapNode, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MapNode) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for MapNode. It customizes the JSON unmarshaling process for MapNode objects.
type MapNodePosition ¶
type MapNodePosition struct {
X float64 `json:"x"`
Y float64 `json:"y"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MapNodePosition represents a MapNodePosition struct.
func (MapNodePosition) MarshalJSON ¶
func (m MapNodePosition) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapNodePosition. It customizes the JSON marshaling process for MapNodePosition objects.
func (MapNodePosition) String ¶ added in v0.4.23
func (m MapNodePosition) String() string
String implements the fmt.Stringer interface for MapNodePosition, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MapNodePosition) UnmarshalJSON ¶
func (m *MapNodePosition) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapNodePosition. It customizes the JSON unmarshaling process for MapNodePosition objects.
type MapOrgImportFile ¶
type MapOrgImportFile struct {
// Whether to auto assign device to deviceprofile by name
AutoDeviceprofileAssignment *bool `json:"auto_deviceprofile_assignment,omitempty"`
// CSV file for ap name mapping, optional
Csv *[]byte `json:"csv,omitempty"`
// Ekahau or ibwave file
File *[]byte `json:"file,omitempty"`
Json *MapOrgImportFileJson `json:"json,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MapOrgImportFile represents a MapOrgImportFile struct.
func (MapOrgImportFile) MarshalJSON ¶
func (m MapOrgImportFile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapOrgImportFile. It customizes the JSON marshaling process for MapOrgImportFile objects.
func (MapOrgImportFile) String ¶ added in v0.4.23
func (m MapOrgImportFile) String() string
String implements the fmt.Stringer interface for MapOrgImportFile, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MapOrgImportFile) UnmarshalJSON ¶
func (m *MapOrgImportFile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapOrgImportFile. It customizes the JSON unmarshaling process for MapOrgImportFile objects.
type MapOrgImportFileJson ¶
type MapOrgImportFileJson struct {
ImportAllFloorplans *bool `json:"import_all_floorplans,omitempty"`
ImportHeight *bool `json:"import_height,omitempty"`
ImportOrientation *bool `json:"import_orientation,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// enum: `ekahau`, `ibwave`
VendorName MapOrgImportFileJsonVendorNameEnum `json:"vendor_name"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MapOrgImportFileJson represents a MapOrgImportFileJson struct.
func (MapOrgImportFileJson) MarshalJSON ¶
func (m MapOrgImportFileJson) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapOrgImportFileJson. It customizes the JSON marshaling process for MapOrgImportFileJson objects.
func (MapOrgImportFileJson) String ¶ added in v0.4.23
func (m MapOrgImportFileJson) String() string
String implements the fmt.Stringer interface for MapOrgImportFileJson, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MapOrgImportFileJson) UnmarshalJSON ¶
func (m *MapOrgImportFileJson) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapOrgImportFileJson. It customizes the JSON unmarshaling process for MapOrgImportFileJson objects.
type MapOrgImportFileJsonVendorNameEnum ¶
type MapOrgImportFileJsonVendorNameEnum string
MapOrgImportFileJsonVendorNameEnum is a string enum. enum: `ekahau`, `ibwave`
const ( MapOrgImportFileJsonVendorNameEnum_EKAHAU MapOrgImportFileJsonVendorNameEnum = "ekahau" MapOrgImportFileJsonVendorNameEnum_IBWAVE MapOrgImportFileJsonVendorNameEnum = "ibwave" )
type MapSiteImportFile ¶
type MapSiteImportFile struct {
// Whether to auto assign device to deviceprofile by name
AutoDeviceprofileAssignment *bool `json:"auto_deviceprofile_assignment,omitempty"`
// CSV file for ap name mapping, optional
Csv *[]byte `json:"csv,omitempty"`
// Ekahau or ibwave file
File *[]byte `json:"file,omitempty"`
Json *MapImportJson `json:"json,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MapSiteImportFile represents a MapSiteImportFile struct.
func (MapSiteImportFile) MarshalJSON ¶
func (m MapSiteImportFile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapSiteImportFile. It customizes the JSON marshaling process for MapSiteImportFile objects.
func (MapSiteImportFile) String ¶ added in v0.4.23
func (m MapSiteImportFile) String() string
String implements the fmt.Stringer interface for MapSiteImportFile, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MapSiteImportFile) UnmarshalJSON ¶
func (m *MapSiteImportFile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapSiteImportFile. It customizes the JSON unmarshaling process for MapSiteImportFile objects.
type MapSiteReplaceFile ¶
type MapSiteReplaceFile struct {
File []byte `json:"file"`
Json *MapSiteReplaceFileJson `json:"json,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MapSiteReplaceFile represents a MapSiteReplaceFile struct.
func (MapSiteReplaceFile) MarshalJSON ¶
func (m MapSiteReplaceFile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapSiteReplaceFile. It customizes the JSON marshaling process for MapSiteReplaceFile objects.
func (MapSiteReplaceFile) String ¶ added in v0.4.23
func (m MapSiteReplaceFile) String() string
String implements the fmt.Stringer interface for MapSiteReplaceFile, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MapSiteReplaceFile) UnmarshalJSON ¶
func (m *MapSiteReplaceFile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapSiteReplaceFile. It customizes the JSON unmarshaling process for MapSiteReplaceFile objects.
type MapSiteReplaceFileJson ¶
type MapSiteReplaceFileJson struct {
// If `transform` is provided, all the locations of the objects on the map (AP, Zone, Vbeacon, Beacon) will be transformed as well (relative to the new Map)
Transform *MapSiteReplaceFileJsonTransform `json:"transform,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MapSiteReplaceFileJson represents a MapSiteReplaceFileJson struct.
func (MapSiteReplaceFileJson) MarshalJSON ¶
func (m MapSiteReplaceFileJson) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapSiteReplaceFileJson. It customizes the JSON marshaling process for MapSiteReplaceFileJson objects.
func (MapSiteReplaceFileJson) String ¶ added in v0.4.23
func (m MapSiteReplaceFileJson) String() string
String implements the fmt.Stringer interface for MapSiteReplaceFileJson, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MapSiteReplaceFileJson) UnmarshalJSON ¶
func (m *MapSiteReplaceFileJson) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapSiteReplaceFileJson. It customizes the JSON unmarshaling process for MapSiteReplaceFileJson objects.
type MapSiteReplaceFileJsonTransform ¶
type MapSiteReplaceFileJsonTransform struct {
// Whether to rotate the replacing image, in degrees
Rotation *float64 `json:"rotation,omitempty"`
// Whether to scale the replacing image
Scale *float64 `json:"scale,omitempty"`
// Where the (0, 0) of the new image is relative to the original map
X *float64 `json:"x,omitempty"`
// Where the (0, 0) of the new image is relative to the original map
Y *float64 `json:"y,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MapSiteReplaceFileJsonTransform represents a MapSiteReplaceFileJsonTransform struct. If `transform` is provided, all the locations of the objects on the map (AP, Zone, Vbeacon, Beacon) will be transformed as well (relative to the new Map)
func (MapSiteReplaceFileJsonTransform) MarshalJSON ¶
func (m MapSiteReplaceFileJsonTransform) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapSiteReplaceFileJsonTransform. It customizes the JSON marshaling process for MapSiteReplaceFileJsonTransform objects.
func (MapSiteReplaceFileJsonTransform) String ¶ added in v0.4.23
func (m MapSiteReplaceFileJsonTransform) String() string
String implements the fmt.Stringer interface for MapSiteReplaceFileJsonTransform, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MapSiteReplaceFileJsonTransform) UnmarshalJSON ¶
func (m *MapSiteReplaceFileJsonTransform) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapSiteReplaceFileJsonTransform. It customizes the JSON unmarshaling process for MapSiteReplaceFileJsonTransform objects.
type MapSitesurveyPathItems ¶
type MapSitesurveyPathItems struct {
Coordinate *string `json:"coordinate,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Nodes []MapNode `json:"nodes,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MapSitesurveyPathItems represents a MapSitesurveyPathItems struct.
func (MapSitesurveyPathItems) MarshalJSON ¶
func (m MapSitesurveyPathItems) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapSitesurveyPathItems. It customizes the JSON marshaling process for MapSitesurveyPathItems objects.
func (MapSitesurveyPathItems) String ¶ added in v0.4.23
func (m MapSitesurveyPathItems) String() string
String implements the fmt.Stringer interface for MapSitesurveyPathItems, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MapSitesurveyPathItems) UnmarshalJSON ¶
func (m *MapSitesurveyPathItems) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapSitesurveyPathItems. It customizes the JSON unmarshaling process for MapSitesurveyPathItems objects.
type MapTypeEnum ¶
type MapTypeEnum string
MapTypeEnum is a string enum. enum: `google`, `image`
const ( MapTypeEnum_GOOGLE MapTypeEnum = "google" MapTypeEnum_IMAGE MapTypeEnum = "image" )
type MapViewEnum ¶
type MapViewEnum string
MapViewEnum is a string enum. if `type`==`google`. enum: `hybrid`, `roadmap`, `satellite`, `terrain`
const ( MapViewEnum_HYBRID MapViewEnum = "hybrid" MapViewEnum_ROADMAP MapViewEnum = "roadmap" MapViewEnum_SATELLITE MapViewEnum = "satellite" MapViewEnum_TERRAIN MapViewEnum = "terrain" )
type MapWallPath ¶
type MapWallPath struct {
Coordinate *string `json:"coordinate,omitempty"`
Nodes []MapNode `json:"nodes,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MapWallPath represents a MapWallPath struct. JSON blob for wall definition (same format as wayfinding_path)
func (MapWallPath) MarshalJSON ¶
func (m MapWallPath) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapWallPath. It customizes the JSON marshaling process for MapWallPath objects.
func (MapWallPath) String ¶ added in v0.4.23
func (m MapWallPath) String() string
String implements the fmt.Stringer interface for MapWallPath, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MapWallPath) UnmarshalJSON ¶
func (m *MapWallPath) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapWallPath. It customizes the JSON unmarshaling process for MapWallPath objects.
type MapWayfinding ¶
type MapWayfinding struct {
Micello *MapWayfindingMicello `json:"micello,omitempty"`
SnapToPath *bool `json:"snap_to_path,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MapWayfinding represents a MapWayfinding struct. Properties related to wayfinding
func (MapWayfinding) MarshalJSON ¶
func (m MapWayfinding) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapWayfinding. It customizes the JSON marshaling process for MapWayfinding objects.
func (MapWayfinding) String ¶ added in v0.4.23
func (m MapWayfinding) String() string
String implements the fmt.Stringer interface for MapWayfinding, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MapWayfinding) UnmarshalJSON ¶
func (m *MapWayfinding) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapWayfinding. It customizes the JSON unmarshaling process for MapWayfinding objects.
type MapWayfindingMicello ¶
type MapWayfindingMicello struct {
AccountKey *string `json:"account_key,omitempty"`
DefaultLevelId *int `json:"default_level_id,omitempty"`
MapId *string `json:"map_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MapWayfindingMicello represents a MapWayfindingMicello struct.
func (MapWayfindingMicello) MarshalJSON ¶
func (m MapWayfindingMicello) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapWayfindingMicello. It customizes the JSON marshaling process for MapWayfindingMicello objects.
func (MapWayfindingMicello) String ¶ added in v0.4.23
func (m MapWayfindingMicello) String() string
String implements the fmt.Stringer interface for MapWayfindingMicello, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MapWayfindingMicello) UnmarshalJSON ¶
func (m *MapWayfindingMicello) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapWayfindingMicello. It customizes the JSON unmarshaling process for MapWayfindingMicello objects.
type MapWayfindingPath ¶
type MapWayfindingPath struct {
Coordinate *string `json:"coordinate,omitempty"`
Nodes []MapNode `json:"nodes,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MapWayfindingPath represents a MapWayfindingPath struct. JSON blob for wayfinding (using Dijkstra’s algorithm)
func (MapWayfindingPath) MarshalJSON ¶
func (m MapWayfindingPath) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapWayfindingPath. It customizes the JSON marshaling process for MapWayfindingPath objects.
func (MapWayfindingPath) String ¶ added in v0.4.23
func (m MapWayfindingPath) String() string
String implements the fmt.Stringer interface for MapWayfindingPath, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MapWayfindingPath) UnmarshalJSON ¶
func (m *MapWayfindingPath) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapWayfindingPath. It customizes the JSON unmarshaling process for MapWayfindingPath objects.
type Marvis ¶ added in v0.4.74
type Marvis struct {
AutoOperations *MarvisAutoOperations `json:"auto_operations,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Marvis represents a Marvis struct.
func (Marvis) MarshalJSON ¶ added in v0.4.74
MarshalJSON implements the json.Marshaler interface for Marvis. It customizes the JSON marshaling process for Marvis objects.
func (Marvis) String ¶ added in v0.4.74
String implements the fmt.Stringer interface for Marvis, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Marvis) UnmarshalJSON ¶ added in v0.4.74
UnmarshalJSON implements the json.Unmarshaler interface for Marvis. It customizes the JSON unmarshaling process for Marvis objects.
type MarvisAutoOperations ¶ added in v0.4.74
type MarvisAutoOperations struct {
ApInsufficientCapacity *bool `json:"ap_insufficient_capacity,omitempty"`
ApLoop *bool `json:"ap_loop,omitempty"`
ApNonCompliant *bool `json:"ap_non_compliant,omitempty"`
BouncePortForAbnormalPoeClient *bool `json:"bounce_port_for_abnormal_poe_client,omitempty"`
DisablePortWhenDdosProtocolViolation *bool `json:"disable_port_when_ddos_protocol_violation,omitempty"`
DisablePortWhenRogueDhcpServerDetected *bool `json:"disable_port_when_rogue_dhcp_server_detected,omitempty"`
GatewayNonCompliant *bool `json:"gateway_non_compliant,omitempty"`
SwitchMisconfiguredPort *bool `json:"switch_misconfigured_port,omitempty"`
SwitchPortStuck *bool `json:"switch_port_stuck,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MarvisAutoOperations represents a MarvisAutoOperations struct.
func (MarvisAutoOperations) MarshalJSON ¶ added in v0.4.74
func (m MarvisAutoOperations) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MarvisAutoOperations. It customizes the JSON marshaling process for MarvisAutoOperations objects.
func (MarvisAutoOperations) String ¶ added in v0.4.74
func (m MarvisAutoOperations) String() string
String implements the fmt.Stringer interface for MarvisAutoOperations, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MarvisAutoOperations) UnmarshalJSON ¶ added in v0.4.74
func (m *MarvisAutoOperations) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MarvisAutoOperations. It customizes the JSON unmarshaling process for MarvisAutoOperations objects.
type MarvisClient ¶
type MarvisClient struct {
Disabled *bool `json:"disabled,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
// In MDM, add `--provision_url <provision_url>` to the install command
ProvisionUrl *string `json:"provision_url,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MarvisClient represents a MarvisClient struct.
func (MarvisClient) MarshalJSON ¶
func (m MarvisClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MarvisClient. It customizes the JSON marshaling process for MarvisClient objects.
func (MarvisClient) String ¶ added in v0.4.23
func (m MarvisClient) String() string
String implements the fmt.Stringer interface for MarvisClient, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MarvisClient) UnmarshalJSON ¶
func (m *MarvisClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MarvisClient. It customizes the JSON unmarshaling process for MarvisClient objects.
type MemoryStat ¶
type MemoryStat struct {
Usage float64 `json:"usage"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MemoryStat represents a MemoryStat struct. Memory usage stat (for virtual chassis, memory usage of master RE)
func (MemoryStat) MarshalJSON ¶
func (m MemoryStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MemoryStat. It customizes the JSON marshaling process for MemoryStat objects.
func (MemoryStat) String ¶ added in v0.4.23
func (m MemoryStat) String() string
String implements the fmt.Stringer interface for MemoryStat, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MemoryStat) UnmarshalJSON ¶
func (m *MemoryStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MemoryStat. It customizes the JSON unmarshaling process for MemoryStat objects.
type MfaSecretTypeEnum ¶
type MfaSecretTypeEnum string
MfaSecretTypeEnum is a string enum. enum: `qrcode`
const (
MfaSecretTypeEnum_QRCODE MfaSecretTypeEnum = "qrcode"
)
type MistDevice ¶
type MistDevice struct {
// contains filtered or unexported fields
}
MistDevice represents a MistDevice struct.
func (*MistDevice) AsDeviceAp ¶
func (m *MistDevice) AsDeviceAp() ( *DeviceAp, bool)
func (*MistDevice) AsDeviceGateway ¶
func (m *MistDevice) AsDeviceGateway() ( *DeviceGateway, bool)
func (*MistDevice) AsDeviceSwitch ¶
func (m *MistDevice) AsDeviceSwitch() ( *DeviceSwitch, bool)
func (MistDevice) MarshalJSON ¶
func (m MistDevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MistDevice. It customizes the JSON marshaling process for MistDevice objects.
func (MistDevice) String ¶
func (m MistDevice) String() string
String implements the fmt.Stringer interface for MistDevice, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MistDevice) UnmarshalJSON ¶
func (m *MistDevice) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MistDevice. It customizes the JSON unmarshaling process for MistDevice objects.
type MistNacedge ¶ added in v0.3.17
type MistNacedge struct {
// Cache of last auth result; in seconds
AuthTtl *int `json:"auth_ttl,omitempty"`
// Default vlan for all dot1x devices, if different from default_vlan
DefaultDot1xVlan *string `json:"default_dot1x_vlan,omitempty"`
// Default vlan to assign for devices not in the cache
DefaultVlan *string `json:"default_vlan,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// List of NAC Edges in this site
MxedgeHosts []string `json:"mxedge_hosts,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MistNacedge represents a MistNacedge struct.
func (MistNacedge) MarshalJSON ¶ added in v0.3.17
func (m MistNacedge) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MistNacedge. It customizes the JSON marshaling process for MistNacedge objects.
func (MistNacedge) String ¶ added in v0.4.23
func (m MistNacedge) String() string
String implements the fmt.Stringer interface for MistNacedge, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MistNacedge) UnmarshalJSON ¶ added in v0.3.17
func (m *MistNacedge) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MistNacedge. It customizes the JSON unmarshaling process for MistNacedge objects.
type MlOverwriteAdditionalProperties ¶
type MlOverwriteAdditionalProperties struct {
Int *int `json:"int,omitempty"`
Ple *int `json:"ple,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MlOverwriteAdditionalProperties represents a MlOverwriteAdditionalProperties struct.
func (MlOverwriteAdditionalProperties) MarshalJSON ¶
func (m MlOverwriteAdditionalProperties) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MlOverwriteAdditionalProperties. It customizes the JSON marshaling process for MlOverwriteAdditionalProperties objects.
func (MlOverwriteAdditionalProperties) String ¶ added in v0.4.23
func (m MlOverwriteAdditionalProperties) String() string
String implements the fmt.Stringer interface for MlOverwriteAdditionalProperties, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MlOverwriteAdditionalProperties) UnmarshalJSON ¶
func (m *MlOverwriteAdditionalProperties) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MlOverwriteAdditionalProperties. It customizes the JSON unmarshaling process for MlOverwriteAdditionalProperties objects.
type ModuleStatItemErrorsItems ¶
type ModuleStatItemErrorsItems struct {
Feature *string `json:"feature,omitempty"`
MinimumVersion *string `json:"minimum_version,omitempty"`
Reason *string `json:"reason,omitempty"`
Since int `json:"since"`
Type string `json:"type"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ModuleStatItemErrorsItems represents a ModuleStatItemErrorsItems struct.
func (ModuleStatItemErrorsItems) MarshalJSON ¶
func (m ModuleStatItemErrorsItems) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ModuleStatItemErrorsItems. It customizes the JSON marshaling process for ModuleStatItemErrorsItems objects.
func (ModuleStatItemErrorsItems) String ¶ added in v0.4.23
func (m ModuleStatItemErrorsItems) String() string
String implements the fmt.Stringer interface for ModuleStatItemErrorsItems, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ModuleStatItemErrorsItems) UnmarshalJSON ¶
func (m *ModuleStatItemErrorsItems) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ModuleStatItemErrorsItems. It customizes the JSON unmarshaling process for ModuleStatItemErrorsItems objects.
type ModuleStatItemFansItems ¶
type ModuleStatItemFansItems struct {
Airflow *string `json:"airflow,omitempty"`
Name *string `json:"name,omitempty"`
Rpm *int `json:"rpm,omitempty"`
Status *string `json:"status,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ModuleStatItemFansItems represents a ModuleStatItemFansItems struct.
func (ModuleStatItemFansItems) MarshalJSON ¶
func (m ModuleStatItemFansItems) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ModuleStatItemFansItems. It customizes the JSON marshaling process for ModuleStatItemFansItems objects.
func (ModuleStatItemFansItems) String ¶ added in v0.4.23
func (m ModuleStatItemFansItems) String() string
String implements the fmt.Stringer interface for ModuleStatItemFansItems, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ModuleStatItemFansItems) UnmarshalJSON ¶
func (m *ModuleStatItemFansItems) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ModuleStatItemFansItems. It customizes the JSON unmarshaling process for ModuleStatItemFansItems objects.
type ModuleStatItemNetworkResource ¶ added in v0.4.85
type ModuleStatItemNetworkResource struct {
// current usage of the network resource
Count *int `json:"count,omitempty"`
// maximum usage of the network resource
Limit *int `json:"limit,omitempty"`
// type of the network resource (e.g. FIB, FLOW, ...)
Type *string `json:"type,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ModuleStatItemNetworkResource represents a ModuleStatItemNetworkResource struct.
func (ModuleStatItemNetworkResource) MarshalJSON ¶ added in v0.4.85
func (m ModuleStatItemNetworkResource) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ModuleStatItemNetworkResource. It customizes the JSON marshaling process for ModuleStatItemNetworkResource objects.
func (ModuleStatItemNetworkResource) String ¶ added in v0.4.85
func (m ModuleStatItemNetworkResource) String() string
String implements the fmt.Stringer interface for ModuleStatItemNetworkResource, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ModuleStatItemNetworkResource) UnmarshalJSON ¶ added in v0.4.85
func (m *ModuleStatItemNetworkResource) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ModuleStatItemNetworkResource. It customizes the JSON unmarshaling process for ModuleStatItemNetworkResource objects.
type ModuleStatItemPicsItem ¶
type ModuleStatItemPicsItem struct {
Index *int `json:"index,omitempty"`
ModelNumber *string `json:"model_number,omitempty"`
PortGroups []ModuleStatItemPicsItemPortGroupsItem `json:"port_groups,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ModuleStatItemPicsItem represents a ModuleStatItemPicsItem struct.
func (ModuleStatItemPicsItem) MarshalJSON ¶
func (m ModuleStatItemPicsItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ModuleStatItemPicsItem. It customizes the JSON marshaling process for ModuleStatItemPicsItem objects.
func (ModuleStatItemPicsItem) String ¶ added in v0.4.23
func (m ModuleStatItemPicsItem) String() string
String implements the fmt.Stringer interface for ModuleStatItemPicsItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ModuleStatItemPicsItem) UnmarshalJSON ¶
func (m *ModuleStatItemPicsItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ModuleStatItemPicsItem. It customizes the JSON unmarshaling process for ModuleStatItemPicsItem objects.
type ModuleStatItemPicsItemPortGroupsItem ¶
type ModuleStatItemPicsItemPortGroupsItem struct {
Count *int `json:"count,omitempty"`
Type *string `json:"type,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ModuleStatItemPicsItemPortGroupsItem represents a ModuleStatItemPicsItemPortGroupsItem struct.
func (ModuleStatItemPicsItemPortGroupsItem) MarshalJSON ¶
func (m ModuleStatItemPicsItemPortGroupsItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ModuleStatItemPicsItemPortGroupsItem. It customizes the JSON marshaling process for ModuleStatItemPicsItemPortGroupsItem objects.
func (ModuleStatItemPicsItemPortGroupsItem) String ¶ added in v0.4.23
func (m ModuleStatItemPicsItemPortGroupsItem) String() string
String implements the fmt.Stringer interface for ModuleStatItemPicsItemPortGroupsItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ModuleStatItemPicsItemPortGroupsItem) UnmarshalJSON ¶
func (m *ModuleStatItemPicsItemPortGroupsItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ModuleStatItemPicsItemPortGroupsItem. It customizes the JSON unmarshaling process for ModuleStatItemPicsItemPortGroupsItem objects.
type ModuleStatItemPoe ¶
type ModuleStatItemPoe struct {
MaxPower *float64 `json:"max_power,omitempty"`
PowerDraw *float64 `json:"power_draw,omitempty"`
Status *string `json:"status,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ModuleStatItemPoe represents a ModuleStatItemPoe struct.
func (ModuleStatItemPoe) MarshalJSON ¶
func (m ModuleStatItemPoe) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ModuleStatItemPoe. It customizes the JSON marshaling process for ModuleStatItemPoe objects.
func (ModuleStatItemPoe) String ¶ added in v0.4.23
func (m ModuleStatItemPoe) String() string
String implements the fmt.Stringer interface for ModuleStatItemPoe, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ModuleStatItemPoe) UnmarshalJSON ¶
func (m *ModuleStatItemPoe) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ModuleStatItemPoe. It customizes the JSON unmarshaling process for ModuleStatItemPoe objects.
type ModuleStatItemPsusItem ¶
type ModuleStatItemPsusItem struct {
Name *string `json:"name,omitempty"`
Status *string `json:"status,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ModuleStatItemPsusItem represents a ModuleStatItemPsusItem struct.
func (ModuleStatItemPsusItem) MarshalJSON ¶
func (m ModuleStatItemPsusItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ModuleStatItemPsusItem. It customizes the JSON marshaling process for ModuleStatItemPsusItem objects.
func (ModuleStatItemPsusItem) String ¶ added in v0.4.23
func (m ModuleStatItemPsusItem) String() string
String implements the fmt.Stringer interface for ModuleStatItemPsusItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ModuleStatItemPsusItem) UnmarshalJSON ¶
func (m *ModuleStatItemPsusItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ModuleStatItemPsusItem. It customizes the JSON unmarshaling process for ModuleStatItemPsusItem objects.
type ModuleStatItemTemperaturesItem ¶
type ModuleStatItemTemperaturesItem struct {
Celsius *float64 `json:"celsius,omitempty"`
Name *string `json:"name,omitempty"`
Status *string `json:"status,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ModuleStatItemTemperaturesItem represents a ModuleStatItemTemperaturesItem struct.
func (ModuleStatItemTemperaturesItem) MarshalJSON ¶
func (m ModuleStatItemTemperaturesItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ModuleStatItemTemperaturesItem. It customizes the JSON marshaling process for ModuleStatItemTemperaturesItem objects.
func (ModuleStatItemTemperaturesItem) String ¶ added in v0.4.23
func (m ModuleStatItemTemperaturesItem) String() string
String implements the fmt.Stringer interface for ModuleStatItemTemperaturesItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ModuleStatItemTemperaturesItem) UnmarshalJSON ¶
func (m *ModuleStatItemTemperaturesItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ModuleStatItemTemperaturesItem. It customizes the JSON unmarshaling process for ModuleStatItemTemperaturesItem objects.
type ModuleStatItemVcLinksItem ¶
type ModuleStatItemVcLinksItem struct {
NeighborModuleIdx *int `json:"neighbor_module_idx,omitempty"`
NeighborPortId *string `json:"neighbor_port_id,omitempty"`
PortId *string `json:"port_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ModuleStatItemVcLinksItem represents a ModuleStatItemVcLinksItem struct.
func (ModuleStatItemVcLinksItem) MarshalJSON ¶
func (m ModuleStatItemVcLinksItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ModuleStatItemVcLinksItem. It customizes the JSON marshaling process for ModuleStatItemVcLinksItem objects.
func (ModuleStatItemVcLinksItem) String ¶ added in v0.4.23
func (m ModuleStatItemVcLinksItem) String() string
String implements the fmt.Stringer interface for ModuleStatItemVcLinksItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ModuleStatItemVcLinksItem) UnmarshalJSON ¶
func (m *ModuleStatItemVcLinksItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ModuleStatItemVcLinksItem. It customizes the JSON unmarshaling process for ModuleStatItemVcLinksItem objects.
type Msp ¶
type Msp struct {
AllowMist *bool `json:"allow_mist,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// For advanced tier (uMSPs) only
LogoUrl *string `json:"logo_url,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name *string `json:"name,omitempty"`
// enum: `advanced`, `base`
Tier *MspTierEnum `json:"tier,omitempty"`
// For advanced tier (uMSPs) only
Url *string `json:"url,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Msp represents a Msp struct.
func (Msp) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Msp. It customizes the JSON marshaling process for Msp objects.
func (Msp) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Msp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Msp) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Msp. It customizes the JSON unmarshaling process for Msp objects.
type MspLicenseAction ¶
type MspLicenseAction struct {
// Required if `op`==`unamend`
AmendmentId *string `json:"amendment_id,omitempty"`
// Required if `op`==`amend`, destination org id
DstOrgId *uuid.UUID `json:"dst_org_id,omitempty"`
// Required if `op`==`annotate`
Notes *string `json:"notes,omitempty"`
// enum: `amend`, `annotate`, `delete`, `unamend`
Op MspLicenseActionOperationEnum `json:"op"`
// Required if `op`==`amend`
Quantity *float64 `json:"quantity,omitempty"`
// Required if `op`==`annotate`
SubscriptionId *string `json:"subscription_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MspLicenseAction represents a MspLicenseAction struct.
func (MspLicenseAction) MarshalJSON ¶
func (m MspLicenseAction) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MspLicenseAction. It customizes the JSON marshaling process for MspLicenseAction objects.
func (MspLicenseAction) String ¶ added in v0.4.23
func (m MspLicenseAction) String() string
String implements the fmt.Stringer interface for MspLicenseAction, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MspLicenseAction) UnmarshalJSON ¶
func (m *MspLicenseAction) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MspLicenseAction. It customizes the JSON unmarshaling process for MspLicenseAction objects.
type MspLicenseActionOperationEnum ¶
type MspLicenseActionOperationEnum string
MspLicenseActionOperationEnum is a string enum. enum: `amend`, `annotate`, `delete`, `unamend`
const ( MspLicenseActionOperationEnum_AMEND MspLicenseActionOperationEnum = "amend" MspLicenseActionOperationEnum_ANNOTATE MspLicenseActionOperationEnum = "annotate" MspLicenseActionOperationEnum_DELETE MspLicenseActionOperationEnum = "delete" MspLicenseActionOperationEnum_UNAMEND MspLicenseActionOperationEnum = "unamend" )
type MspLogo ¶
type MspLogo struct {
LogoUrl *string `json:"logo_url,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MspLogo represents a MspLogo struct.
func (MspLogo) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for MspLogo. It customizes the JSON marshaling process for MspLogo objects.
func (MspLogo) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for MspLogo, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MspLogo) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for MspLogo. It customizes the JSON unmarshaling process for MspLogo objects.
type MspLogsCountDistinctEnum ¶
type MspLogsCountDistinctEnum string
MspLogsCountDistinctEnum is a string enum. enum: `admin_id`, `admin_name`, `message`, `org_id`
const ( MspLogsCountDistinctEnum_ADMINID MspLogsCountDistinctEnum = "admin_id" MspLogsCountDistinctEnum_ADMINNAME MspLogsCountDistinctEnum = "admin_name" MspLogsCountDistinctEnum_MESSAGE MspLogsCountDistinctEnum = "message" MspLogsCountDistinctEnum_ORGID MspLogsCountDistinctEnum = "org_id" )
type MspMarvisSuggestionsCountDistinctEnum ¶
type MspMarvisSuggestionsCountDistinctEnum string
MspMarvisSuggestionsCountDistinctEnum is a string enum. enum: `org_id`, `status`
const ( MspMarvisSuggestionsCountDistinctEnum_ORGID MspMarvisSuggestionsCountDistinctEnum = "org_id" MspMarvisSuggestionsCountDistinctEnum_STATUS MspMarvisSuggestionsCountDistinctEnum = "status" )
type MspOrgChange ¶
type MspOrgChange struct {
// enum: `assign`, `unassign`
Op MspOrgChangeOperationEnum `json:"op"`
// List of org_id
OrgIds []string `json:"org_ids"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MspOrgChange represents a MspOrgChange struct.
func (MspOrgChange) MarshalJSON ¶
func (m MspOrgChange) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MspOrgChange. It customizes the JSON marshaling process for MspOrgChange objects.
func (MspOrgChange) String ¶ added in v0.4.23
func (m MspOrgChange) String() string
String implements the fmt.Stringer interface for MspOrgChange, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MspOrgChange) UnmarshalJSON ¶
func (m *MspOrgChange) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MspOrgChange. It customizes the JSON unmarshaling process for MspOrgChange objects.
type MspOrgChangeOperationEnum ¶
type MspOrgChangeOperationEnum string
MspOrgChangeOperationEnum is a string enum. enum: `assign`, `unassign`
const ( MspOrgChangeOperationEnum_ASSIGN MspOrgChangeOperationEnum = "assign" MspOrgChangeOperationEnum_UNASSIGN MspOrgChangeOperationEnum = "unassign" )
type MspSearchTypeEnum ¶
type MspSearchTypeEnum string
MspSearchTypeEnum is a string enum. enum: `orgs`
const (
MspSearchTypeEnum_ORGS MspSearchTypeEnum = "orgs"
)
type MspTicketsCountDistinctEnum ¶
type MspTicketsCountDistinctEnum string
MspTicketsCountDistinctEnum is a string enum. enum: `org_id`, `status`, `type`
const ( MspTicketsCountDistinctEnum_ORGID MspTicketsCountDistinctEnum = "org_id" MspTicketsCountDistinctEnum_STATUS MspTicketsCountDistinctEnum = "status" MspTicketsCountDistinctEnum_ENUMTYPE MspTicketsCountDistinctEnum = "type" )
type MspTierEnum ¶
type MspTierEnum string
MspTierEnum is a string enum. enum: `advanced`, `base`
const ( MspTierEnum_ADVANCED MspTierEnum = "advanced" MspTierEnum_BASE MspTierEnum = "base" )
type Mxcluster ¶
type Mxcluster struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// Configure cloud-assisted dynamic authorization service on this cluster of mist edges
MistDas *MxedgeDas `json:"mist_das,omitempty"`
MistNac *MxclusterNac `json:"mist_nac,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
MxedgeMgmt *MxedgeMgmt `json:"mxedge_mgmt,omitempty"`
Name *string `json:"name,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Proxy Configuration to talk to Mist
Proxy *Proxy `json:"proxy,omitempty"`
// MxEdge RadSec Configuration
Radsec *MxclusterRadsec `json:"radsec,omitempty"`
RadsecTls *MxclusterRadsecTls `json:"radsec_tls,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// List of subnets where we allow AP to establish Mist Tunnels from
TuntermApSubnets []string `json:"tunterm_ap_subnets,omitempty"`
// DHCP server/relay configuration of Mist Tunneled VLANs. Property key is the VLAN ID
TuntermDhcpdConfig *TuntermDhcpdConfig `json:"tunterm_dhcpd_config,omitempty"`
// Extra routes for Mist Tunneled VLANs. Property key is a CIDR
TuntermExtraRoutes map[string]MxclusterTuntermExtraRoute `json:"tunterm_extra_routes,omitempty"`
// Hostnames or IPs where a Mist Tunnel will use as the Peer (i.e. they are reachable from AP)
TuntermHosts []string `json:"tunterm_hosts,omitempty"`
// List of index of tunterm_hosts
TuntermHostsOrder []int `json:"tunterm_hosts_order,omitempty"`
// Ordering of tunterm_hosts for mxedge within the same mxcluster. enum:
// * `shuffle`: the ordering of tunterm_hosts is randomized by the device”s MAC
// * `shuffle-by-site`: shuffle by site_id+tunnel_id (so when client connects to a specific Tunnel, it will go to the same (order of) mxedge, and we load-balancing between tunnels)
// * `ordered`: order decided by tunterm_hosts_order
TuntermHostsSelection *MxclusterTuntermHostsSelectionEnum `json:"tunterm_hosts_selection,omitempty"`
TuntermMonitoring [][]TuntermMonitoringItem `json:"tunterm_monitoring,omitempty"`
TuntermMonitoringDisabled *bool `json:"tunterm_monitoring_disabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Mxcluster represents a Mxcluster struct. MxCluster
func (Mxcluster) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Mxcluster. It customizes the JSON marshaling process for Mxcluster objects.
func (Mxcluster) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Mxcluster, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Mxcluster) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Mxcluster. It customizes the JSON unmarshaling process for Mxcluster objects.
type MxclusterNac ¶
type MxclusterNac struct {
AcctServerPort *int `json:"acct_server_port,omitempty"`
AuthServerPort *int `json:"auth_server_port,omitempty"`
// Property key is the RADIUS Client IP/Subnet.
ClientIps map[string]MxclusterNacClientIp `json:"client_ips,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
Secret *string `json:"secret,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxclusterNac represents a MxclusterNac struct.
func (MxclusterNac) MarshalJSON ¶
func (m MxclusterNac) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxclusterNac. It customizes the JSON marshaling process for MxclusterNac objects.
func (MxclusterNac) String ¶ added in v0.4.23
func (m MxclusterNac) String() string
String implements the fmt.Stringer interface for MxclusterNac, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxclusterNac) UnmarshalJSON ¶
func (m *MxclusterNac) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxclusterNac. It customizes the JSON unmarshaling process for MxclusterNac objects.
type MxclusterNacClientIp ¶
type MxclusterNacClientIp struct {
// Whether to require Message-Authenticator in requests
RequireMessageAuthenticator *bool `json:"require_message_authenticator,omitempty"`
// If different from above
Secret *string `json:"secret,omitempty"`
// Present only for 3rd party clients
SiteId *uuid.UUID `json:"site_id,omitempty"`
// convention to be followed is : "<vendor>-<variant>", <variant> could be an os/platform/model/company. For ex: for cisco vendor, there could variants wrt os (such as ios, nxos etc), platforms (asa etc), or acquired companies (such as meraki, aironet) etc. enum: `aruba`, `cisco-aironet`, `cisco-dnac`, `cisco-ios`, `cisco-meraki`, `brocade`, `generic`, `juniper`, `paloalto`
Vendor *MxclusterNacClientVendorEnum `json:"vendor,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxclusterNacClientIp represents a MxclusterNacClientIp struct.
func (MxclusterNacClientIp) MarshalJSON ¶
func (m MxclusterNacClientIp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxclusterNacClientIp. It customizes the JSON marshaling process for MxclusterNacClientIp objects.
func (MxclusterNacClientIp) String ¶ added in v0.4.23
func (m MxclusterNacClientIp) String() string
String implements the fmt.Stringer interface for MxclusterNacClientIp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxclusterNacClientIp) UnmarshalJSON ¶
func (m *MxclusterNacClientIp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxclusterNacClientIp. It customizes the JSON unmarshaling process for MxclusterNacClientIp objects.
type MxclusterNacClientVendorEnum ¶
type MxclusterNacClientVendorEnum string
MxclusterNacClientVendorEnum is a string enum. convention to be followed is : "<vendor>-<variant>", <variant> could be an os/platform/model/company. For ex: for cisco vendor, there could variants wrt os (such as ios, nxos etc), platforms (asa etc), or acquired companies (such as meraki, aironet) etc. enum: `aruba`, `cisco-aironet`, `cisco-dnac`, `cisco-ios`, `cisco-meraki`, `brocade`, `generic`, `juniper`, `paloalto`
const ( MxclusterNacClientVendorEnum_ARUBA MxclusterNacClientVendorEnum = "aruba" MxclusterNacClientVendorEnum_CISCOAIRONET MxclusterNacClientVendorEnum = "cisco-aironet" MxclusterNacClientVendorEnum_CISCODNAC MxclusterNacClientVendorEnum = "cisco-dnac" MxclusterNacClientVendorEnum_CISCOIOS MxclusterNacClientVendorEnum = "cisco-ios" MxclusterNacClientVendorEnum_CISCOMERAKI MxclusterNacClientVendorEnum = "cisco-meraki" MxclusterNacClientVendorEnum_BROCADE MxclusterNacClientVendorEnum = "brocade" MxclusterNacClientVendorEnum_GENERIC MxclusterNacClientVendorEnum = "generic" MxclusterNacClientVendorEnum_JUNIPER MxclusterNacClientVendorEnum = "juniper" MxclusterNacClientVendorEnum_PALOALTO MxclusterNacClientVendorEnum = "paloalto" )
type MxclusterRadAuthServerKeywrapFormatEnum ¶
type MxclusterRadAuthServerKeywrapFormatEnum string
MxclusterRadAuthServerKeywrapFormatEnum is a string enum. if used for Mist APs. enum: `ascii`, `hex`
const ( MxclusterRadAuthServerKeywrapFormatEnum_ASCII MxclusterRadAuthServerKeywrapFormatEnum = "ascii" MxclusterRadAuthServerKeywrapFormatEnum_HEX MxclusterRadAuthServerKeywrapFormatEnum = "hex" )
type MxclusterRadsec ¶
type MxclusterRadsec struct {
// List of RADIUS accounting servers, optional, order matters where the first one is treated as primary
AcctServers []MxclusterRadsecAcctServer `json:"acct_servers,omitempty"`
// List of RADIUS authentication servers, order matters where the first one is treated as primary
AuthServers []MxclusterRadsecAuthServer `json:"auth_servers,omitempty"`
// Whether to enable service on Mist Edge i.e. RADIUS proxy over TLS
Enabled *bool `json:"enabled,omitempty"`
// Whether to match ssid in request message to select from a subset of RADIUS servers
MatchSsid *bool `json:"match_ssid,omitempty"`
// SSpecify NAS-IP-ADDRESS, NAS-IPv6-ADDRESS to use with auth_servers. enum: `any`, `oob`, `oob6`, `tunnel`, `tunnel6`
NasIpSource *MxclusterRadsecNasIpSourceEnum `json:"nas_ip_source,omitempty"`
// Hostnames or IPs for Mist AP to use as the TLS Server (i.e. they are reachable from AP) in addition to `tunterm_hosts`
ProxyHosts []string `json:"proxy_hosts,omitempty"`
// When ordered, Mist Edge will prefer and go back to the first radius server if possible. enum: `ordered`, `unordered`
ServerSelection *MxclusterRadsecServerSelectionEnum `json:"server_selection,omitempty"`
// Specify IP address to connect to auth_servers and acct_servers. enum: `any`, `oob`, `oob6`, `tunnel`, `tunnel6`
SrcIpSource *MxclusterRadsecSrcIpSourceEnum `json:"src_ip_source,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxclusterRadsec represents a MxclusterRadsec struct. MxEdge RadSec Configuration
func (MxclusterRadsec) MarshalJSON ¶
func (m MxclusterRadsec) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxclusterRadsec. It customizes the JSON marshaling process for MxclusterRadsec objects.
func (MxclusterRadsec) String ¶ added in v0.4.23
func (m MxclusterRadsec) String() string
String implements the fmt.Stringer interface for MxclusterRadsec, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxclusterRadsec) UnmarshalJSON ¶
func (m *MxclusterRadsec) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxclusterRadsec. It customizes the JSON unmarshaling process for MxclusterRadsec objects.
type MxclusterRadsecAcctServer ¶
type MxclusterRadsecAcctServer struct {
// IP / hostname of RADIUS server
Host *string `json:"host,omitempty"`
// Acct port of RADIUS server
Port *int `json:"port,omitempty"`
// Secret of RADIUS server
Secret *string `json:"secret,omitempty"`
// List of ssids that will use this server if match_ssid is true and match is found
Ssids []string `json:"ssids,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxclusterRadsecAcctServer represents a MxclusterRadsecAcctServer struct.
func (MxclusterRadsecAcctServer) MarshalJSON ¶
func (m MxclusterRadsecAcctServer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxclusterRadsecAcctServer. It customizes the JSON marshaling process for MxclusterRadsecAcctServer objects.
func (MxclusterRadsecAcctServer) String ¶ added in v0.4.23
func (m MxclusterRadsecAcctServer) String() string
String implements the fmt.Stringer interface for MxclusterRadsecAcctServer, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxclusterRadsecAcctServer) UnmarshalJSON ¶
func (m *MxclusterRadsecAcctServer) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxclusterRadsecAcctServer. It customizes the JSON unmarshaling process for MxclusterRadsecAcctServer objects.
type MxclusterRadsecAuthServer ¶
type MxclusterRadsecAuthServer struct {
// IP / hostname of RADIUS server
Host *string `json:"host,omitempty"`
// Whether to enable inband status check
InbandStatusCheck *bool `json:"inband_status_check,omitempty"`
// Inband status interval, in seconds
InbandStatusInterval *int `json:"inband_status_interval,omitempty"`
// If used for Mist APs, enable keywrap algorithm. Default is false
KeywrapEnabled *bool `json:"keywrap_enabled,omitempty"`
// if used for Mist APs. enum: `ascii`, `hex`
KeywrapFormat Optional[MxclusterRadAuthServerKeywrapFormatEnum] `json:"keywrap_format"`
// If used for Mist APs, encryption key
KeywrapKek *string `json:"keywrap_kek,omitempty"`
// If used for Mist APs, Message Authentication Code Key
KeywrapMack *string `json:"keywrap_mack,omitempty"`
// Auth port of RADIUS server
Port *int `json:"port,omitempty"`
// Authentication request retry
Retry *int `json:"retry,omitempty"`
// Secret of RADIUS server
Secret *string `json:"secret,omitempty"`
// List of ssids that will use this server if match_ssid is true and match is found
Ssids []string `json:"ssids,omitempty"`
// Authentication request timeout, in seconds
Timeout *int `json:"timeout,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxclusterRadsecAuthServer represents a MxclusterRadsecAuthServer struct.
func (MxclusterRadsecAuthServer) MarshalJSON ¶
func (m MxclusterRadsecAuthServer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxclusterRadsecAuthServer. It customizes the JSON marshaling process for MxclusterRadsecAuthServer objects.
func (MxclusterRadsecAuthServer) String ¶ added in v0.4.23
func (m MxclusterRadsecAuthServer) String() string
String implements the fmt.Stringer interface for MxclusterRadsecAuthServer, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxclusterRadsecAuthServer) UnmarshalJSON ¶
func (m *MxclusterRadsecAuthServer) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxclusterRadsecAuthServer. It customizes the JSON unmarshaling process for MxclusterRadsecAuthServer objects.
type MxclusterRadsecNasIpSourceEnum ¶ added in v0.3.17
type MxclusterRadsecNasIpSourceEnum string
MxclusterRadsecNasIpSourceEnum is a string enum. SSpecify NAS-IP-ADDRESS, NAS-IPv6-ADDRESS to use with auth_servers. enum: `any`, `oob`, `oob6`, `tunnel`, `tunnel6`
const ( MxclusterRadsecNasIpSourceEnum_ANY MxclusterRadsecNasIpSourceEnum = "any" MxclusterRadsecNasIpSourceEnum_OOB MxclusterRadsecNasIpSourceEnum = "oob" MxclusterRadsecNasIpSourceEnum_OOB6 MxclusterRadsecNasIpSourceEnum = "oob6" MxclusterRadsecNasIpSourceEnum_TUNNEL MxclusterRadsecNasIpSourceEnum = "tunnel" MxclusterRadsecNasIpSourceEnum_TUNNEL6 MxclusterRadsecNasIpSourceEnum = "tunnel6" )
type MxclusterRadsecServerSelectionEnum ¶
type MxclusterRadsecServerSelectionEnum string
MxclusterRadsecServerSelectionEnum is a string enum. When ordered, Mist Edge will prefer and go back to the first radius server if possible. enum: `ordered`, `unordered`
const ( MxclusterRadsecServerSelectionEnum_ORDERED MxclusterRadsecServerSelectionEnum = "ordered" MxclusterRadsecServerSelectionEnum_UNORDERED MxclusterRadsecServerSelectionEnum = "unordered" )
type MxclusterRadsecSrcIpSourceEnum ¶ added in v0.3.17
type MxclusterRadsecSrcIpSourceEnum string
MxclusterRadsecSrcIpSourceEnum is a string enum. Specify IP address to connect to auth_servers and acct_servers. enum: `any`, `oob`, `oob6`, `tunnel`, `tunnel6`
const ( MxclusterRadsecSrcIpSourceEnum_ANY MxclusterRadsecSrcIpSourceEnum = "any" MxclusterRadsecSrcIpSourceEnum_OOB MxclusterRadsecSrcIpSourceEnum = "oob" MxclusterRadsecSrcIpSourceEnum_OOB6 MxclusterRadsecSrcIpSourceEnum = "oob6" MxclusterRadsecSrcIpSourceEnum_TUNNEL MxclusterRadsecSrcIpSourceEnum = "tunnel" MxclusterRadsecSrcIpSourceEnum_TUNNEL6 MxclusterRadsecSrcIpSourceEnum = "tunnel6" )
type MxclusterRadsecTls ¶
type MxclusterRadsecTls struct {
Keypair *string `json:"keypair,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxclusterRadsecTls represents a MxclusterRadsecTls struct.
func (MxclusterRadsecTls) MarshalJSON ¶
func (m MxclusterRadsecTls) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxclusterRadsecTls. It customizes the JSON marshaling process for MxclusterRadsecTls objects.
func (MxclusterRadsecTls) String ¶ added in v0.4.23
func (m MxclusterRadsecTls) String() string
String implements the fmt.Stringer interface for MxclusterRadsecTls, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxclusterRadsecTls) UnmarshalJSON ¶
func (m *MxclusterRadsecTls) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxclusterRadsecTls. It customizes the JSON unmarshaling process for MxclusterRadsecTls objects.
type MxclusterTuntermExtraRoute ¶
type MxclusterTuntermExtraRoute struct {
Via *string `json:"via,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxclusterTuntermExtraRoute represents a MxclusterTuntermExtraRoute struct.
func (MxclusterTuntermExtraRoute) MarshalJSON ¶
func (m MxclusterTuntermExtraRoute) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxclusterTuntermExtraRoute. It customizes the JSON marshaling process for MxclusterTuntermExtraRoute objects.
func (MxclusterTuntermExtraRoute) String ¶ added in v0.4.23
func (m MxclusterTuntermExtraRoute) String() string
String implements the fmt.Stringer interface for MxclusterTuntermExtraRoute, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxclusterTuntermExtraRoute) UnmarshalJSON ¶
func (m *MxclusterTuntermExtraRoute) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxclusterTuntermExtraRoute. It customizes the JSON unmarshaling process for MxclusterTuntermExtraRoute objects.
type MxclusterTuntermHostsSelectionEnum ¶
type MxclusterTuntermHostsSelectionEnum string
MxclusterTuntermHostsSelectionEnum is a string enum. Ordering of tunterm_hosts for mxedge within the same mxcluster. enum: * `shuffle`: the ordering of tunterm_hosts is randomized by the device”s MAC * `shuffle-by-site`: shuffle by site_id+tunnel_id (so when client connects to a specific Tunnel, it will go to the same (order of) mxedge, and we load-balancing between tunnels) * `ordered`: order decided by tunterm_hosts_order
const ( MxclusterTuntermHostsSelectionEnum_ORDERED MxclusterTuntermHostsSelectionEnum = "ordered" MxclusterTuntermHostsSelectionEnum_SHUFFLE MxclusterTuntermHostsSelectionEnum = "shuffle" MxclusterTuntermHostsSelectionEnum_SHUFFLEBYSITE MxclusterTuntermHostsSelectionEnum = "shuffle-by-site" )
type Mxedge ¶
type Mxedge struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Mac *string `json:"mac,omitempty"`
Magic *string `json:"magic,omitempty"`
Model string `json:"model"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
MxagentRegistered *bool `json:"mxagent_registered,omitempty"`
// MxCluster this MxEdge belongs to
MxclusterId *uuid.UUID `json:"mxcluster_id,omitempty"`
MxedgeMgmt *MxedgeMgmt `json:"mxedge_mgmt,omitempty"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
NtpServers []string `json:"ntp_servers,omitempty"`
// IPconfiguration of the Mist Edge out-of_band management interface
OobIpConfig *MxedgeOobIpConfig `json:"oob_ip_config,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Proxy Configuration to talk to Mist
Proxy *Proxy `json:"proxy,omitempty"`
// List of services to run, tunterm only for now
Services []string `json:"services,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Global and per-VLAN. Property key is the VLAN ID
TuntermDhcpdConfig *MxedgeTuntermDhcpdConfig `json:"tunterm_dhcpd_config,omitempty"`
// Property key is a CIDR
TuntermExtraRoutes map[string]MxedgeTuntermExtraRoute `json:"tunterm_extra_routes,omitempty"`
TuntermIgmpSnoopingConfig *MxedgeTuntermIgmpSnoopingConfig `json:"tunterm_igmp_snooping_config,omitempty"`
// IPconfiguration of the Mist Tunnel interface
TuntermIpConfig *MxedgeTuntermIpConfig `json:"tunterm_ip_config,omitempty"`
TuntermMonitoring [][]TuntermMonitoringItem `json:"tunterm_monitoring,omitempty"`
TuntermMulticastConfig *MxedgeTuntermMulticastConfig `json:"tunterm_multicast_config,omitempty"`
// IPconfigs by VLAN ID. Property key is the VLAN ID
TuntermOtherIpConfigs map[string]MxedgeTuntermOtherIpConfig `json:"tunterm_other_ip_configs,omitempty"`
// Ethernet port configurations
TuntermPortConfig *TuntermPortConfig `json:"tunterm_port_config,omitempty"`
TuntermRegistered *bool `json:"tunterm_registered,omitempty"`
// If custom vlan settings are desired
TuntermSwitchConfig *MxedgeTuntermSwitchConfigs `json:"tunterm_switch_config,omitempty"`
Versions *MxedgeVersions `json:"versions,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Mxedge represents a Mxedge struct. MxEdge
func (Mxedge) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Mxedge. It customizes the JSON marshaling process for Mxedge objects.
func (Mxedge) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Mxedge, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Mxedge) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Mxedge. It customizes the JSON unmarshaling process for Mxedge objects.
type MxedgeDas ¶
type MxedgeDas struct {
// Dynamic authorization clients configured to send CoA|DM to mist edges on port 3799
CoaServers []MxedgeDasCoaServer `json:"coa_servers,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxedgeDas represents a MxedgeDas struct. Configure cloud-assisted dynamic authorization service on this cluster of mist edges
func (MxedgeDas) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for MxedgeDas. It customizes the JSON marshaling process for MxedgeDas objects.
func (MxedgeDas) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for MxedgeDas, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxedgeDas) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeDas. It customizes the JSON unmarshaling process for MxedgeDas objects.
type MxedgeDasCoaServer ¶
type MxedgeDasCoaServer struct {
// Whether to disable Event-Timestamp Check
DisableEventTimestampCheck *bool `json:"disable_event_timestamp_check,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// This server configured to send CoA|DM to mist edges
Host *string `json:"host,omitempty"`
// Mist edges will allow this host on this port
Port *int `json:"port,omitempty"`
// Whether to require Message-Authenticator in requests
RequireMessageAuthenticator *bool `json:"require_message_authenticator,omitempty"`
Secret *string `json:"secret,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxedgeDasCoaServer represents a MxedgeDasCoaServer struct.
func (MxedgeDasCoaServer) MarshalJSON ¶
func (m MxedgeDasCoaServer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeDasCoaServer. It customizes the JSON marshaling process for MxedgeDasCoaServer objects.
func (MxedgeDasCoaServer) String ¶ added in v0.4.23
func (m MxedgeDasCoaServer) String() string
String implements the fmt.Stringer interface for MxedgeDasCoaServer, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxedgeDasCoaServer) UnmarshalJSON ¶
func (m *MxedgeDasCoaServer) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeDasCoaServer. It customizes the JSON unmarshaling process for MxedgeDasCoaServer objects.
type MxedgeEvent ¶
type MxedgeEvent struct {
// Unique ID of the object instance in the Mist Organization
AuditId *uuid.UUID `json:"audit_id,omitempty"`
Component Optional[string] `json:"component"`
// Device id
DeviceId Optional[uuid.UUID] `json:"device_id"`
DeviceType *string `json:"device_type,omitempty"`
FromVersion *string `json:"from_version,omitempty"`
Mac *string `json:"mac,omitempty"`
MxclusterId *string `json:"mxcluster_id,omitempty"`
MxedgeId *string `json:"mxedge_id,omitempty"`
MxedgeName *string `json:"mxedge_name,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
Package *string `json:"package,omitempty"`
Service *string `json:"service,omitempty"`
Severity *EventSeverityEnum `json:"severity,omitempty"`
SysInfoUsage *MxedgeEventSysInfo `json:"sys_info.usage,omitempty"`
Text *string `json:"text,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
ToVersion *string `json:"to_version,omitempty"`
Type *string `json:"type,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxedgeEvent represents a MxedgeEvent struct.
func (MxedgeEvent) MarshalJSON ¶
func (m MxedgeEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeEvent. It customizes the JSON marshaling process for MxedgeEvent objects.
func (MxedgeEvent) String ¶ added in v0.4.23
func (m MxedgeEvent) String() string
String implements the fmt.Stringer interface for MxedgeEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxedgeEvent) UnmarshalJSON ¶
func (m *MxedgeEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeEvent. It customizes the JSON unmarshaling process for MxedgeEvent objects.
type MxedgeEventSysInfo ¶ added in v0.4.94
type MxedgeEventSysInfo struct {
Resource *string `json:"resource,omitempty"`
Severity *EventSeverityEnum `json:"severity,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxedgeEventSysInfo represents a MxedgeEventSysInfo struct.
func (MxedgeEventSysInfo) MarshalJSON ¶ added in v0.4.94
func (m MxedgeEventSysInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeEventSysInfo. It customizes the JSON marshaling process for MxedgeEventSysInfo objects.
func (MxedgeEventSysInfo) String ¶ added in v0.4.94
func (m MxedgeEventSysInfo) String() string
String implements the fmt.Stringer interface for MxedgeEventSysInfo, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxedgeEventSysInfo) UnmarshalJSON ¶ added in v0.4.94
func (m *MxedgeEventSysInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeEventSysInfo. It customizes the JSON unmarshaling process for MxedgeEventSysInfo objects.
type MxedgeForSiteEnum ¶
type MxedgeForSiteEnum string
MxedgeForSiteEnum is a string enum. enum: `any`, `false`, `true`
const ( MxedgeForSiteEnum_ANY MxedgeForSiteEnum = "any" MxedgeForSiteEnum_FALSE MxedgeForSiteEnum = "false" MxedgeForSiteEnum_TRUE MxedgeForSiteEnum = "true" )
type MxedgeMgmt ¶
type MxedgeMgmt struct {
ConfigAutoRevert *bool `json:"config_auto_revert,omitempty"`
FipsEnabled *bool `json:"fips_enabled,omitempty"`
MistPassword *string `json:"mist_password,omitempty"`
// enum: `dhcp`, `disabled`, `static`
OobIpType *MxedgeMgmtOobIpTypeEnum `json:"oob_ip_type,omitempty"`
// enum: `autoconf`, `dhcp`, `disabled`, `static`
OobIpType6 *MxedgeMgmtOobIpType6Enum `json:"oob_ip_type6,omitempty"`
RootPassword *string `json:"root_password,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxedgeMgmt represents a MxedgeMgmt struct.
func (MxedgeMgmt) MarshalJSON ¶
func (m MxedgeMgmt) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeMgmt. It customizes the JSON marshaling process for MxedgeMgmt objects.
func (MxedgeMgmt) String ¶ added in v0.4.23
func (m MxedgeMgmt) String() string
String implements the fmt.Stringer interface for MxedgeMgmt, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxedgeMgmt) UnmarshalJSON ¶
func (m *MxedgeMgmt) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeMgmt. It customizes the JSON unmarshaling process for MxedgeMgmt objects.
type MxedgeMgmtOobIpType6Enum ¶
type MxedgeMgmtOobIpType6Enum string
MxedgeMgmtOobIpType6Enum is a string enum. enum: `autoconf`, `dhcp`, `disabled`, `static`
const ( MxedgeMgmtOobIpType6Enum_AUTOCONF MxedgeMgmtOobIpType6Enum = "autoconf" MxedgeMgmtOobIpType6Enum_DHCP MxedgeMgmtOobIpType6Enum = "dhcp" MxedgeMgmtOobIpType6Enum_DISABLED MxedgeMgmtOobIpType6Enum = "disabled" MxedgeMgmtOobIpType6Enum_STATIC MxedgeMgmtOobIpType6Enum = "static" )
type MxedgeMgmtOobIpTypeEnum ¶
type MxedgeMgmtOobIpTypeEnum string
MxedgeMgmtOobIpTypeEnum is a string enum. enum: `dhcp`, `disabled`, `static`
const ( MxedgeMgmtOobIpTypeEnum_DHCP MxedgeMgmtOobIpTypeEnum = "dhcp" MxedgeMgmtOobIpTypeEnum_DISABLED MxedgeMgmtOobIpTypeEnum = "disabled" MxedgeMgmtOobIpTypeEnum_STATIC MxedgeMgmtOobIpTypeEnum = "static" )
type MxedgeOobIpConfig ¶
type MxedgeOobIpConfig struct {
Autoconf6 *bool `json:"autoconf6,omitempty"`
Dhcp6 *bool `json:"dhcp6,omitempty"`
// IPv4 ignored if `type`!=`static`, IPv6 ignored if `type6`!=`static`
Dns []string `json:"dns,omitempty"`
// If `type`=`static`
Gateway *string `json:"gateway,omitempty"`
Gateway6 *string `json:"gateway6,omitempty"`
// If `type`=`static`
Ip *string `json:"ip,omitempty"`
Ip6 *string `json:"ip6,omitempty"`
// If `type`=`static`
Netmask *string `json:"netmask,omitempty"`
Netmask6 *string `json:"netmask6,omitempty"`
// enum: `dhcp`, `static`
Type *IpTypeEnum `json:"type,omitempty"`
// enum: `dhcp`, `static`
Type6 *IpTypeEnum `json:"type6,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxedgeOobIpConfig represents a MxedgeOobIpConfig struct. IPconfiguration of the Mist Edge out-of_band management interface
func (MxedgeOobIpConfig) MarshalJSON ¶
func (m MxedgeOobIpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeOobIpConfig. It customizes the JSON marshaling process for MxedgeOobIpConfig objects.
func (MxedgeOobIpConfig) String ¶ added in v0.4.23
func (m MxedgeOobIpConfig) String() string
String implements the fmt.Stringer interface for MxedgeOobIpConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxedgeOobIpConfig) UnmarshalJSON ¶
func (m *MxedgeOobIpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeOobIpConfig. It customizes the JSON unmarshaling process for MxedgeOobIpConfig objects.
type MxedgeServiceActionEnum ¶
type MxedgeServiceActionEnum string
MxedgeServiceActionEnum is a string enum. enum: `restart`, `start`, `stop`
const ( MxedgeServiceActionEnum_RESTART MxedgeServiceActionEnum = "restart" MxedgeServiceActionEnum_START MxedgeServiceActionEnum = "start" MxedgeServiceActionEnum_STOP MxedgeServiceActionEnum = "stop" )
type MxedgeServiceNameEnum ¶
type MxedgeServiceNameEnum string
MxedgeServiceNameEnum is a string enum. enum: `mxagent`, `mxdas`, `mxocproxy`, `radsecproxy`, `tunterm`
const ( MxedgeServiceNameEnum_MXAGENT MxedgeServiceNameEnum = "mxagent" MxedgeServiceNameEnum_MXDAS MxedgeServiceNameEnum = "mxdas" MxedgeServiceNameEnum_MXNACEDGE MxedgeServiceNameEnum = "mxnacedge" MxedgeServiceNameEnum_MXOCPROXY MxedgeServiceNameEnum = "mxocproxy" MxedgeServiceNameEnum_RADSECPROXY MxedgeServiceNameEnum = "radsecproxy" MxedgeServiceNameEnum_TUNTERM MxedgeServiceNameEnum = "tunterm" )
type MxedgeTuntermDhcpdConfig ¶
type MxedgeTuntermDhcpdConfig struct {
Enabled *bool `json:"enabled,omitempty"`
// List of DHCP servers; required if `type`==`relay`
Servers []string `json:"servers,omitempty"`
// enum: `relay`
Type *MxedgeTuntermDhcpdTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]MxedgeTuntermDhcpdConfigProperty `json:"_"`
}
MxedgeTuntermDhcpdConfig represents a MxedgeTuntermDhcpdConfig struct. Global and per-VLAN. Property key is the VLAN ID
func (MxedgeTuntermDhcpdConfig) MarshalJSON ¶
func (m MxedgeTuntermDhcpdConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeTuntermDhcpdConfig. It customizes the JSON marshaling process for MxedgeTuntermDhcpdConfig objects.
func (MxedgeTuntermDhcpdConfig) String ¶ added in v0.4.23
func (m MxedgeTuntermDhcpdConfig) String() string
String implements the fmt.Stringer interface for MxedgeTuntermDhcpdConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxedgeTuntermDhcpdConfig) UnmarshalJSON ¶
func (m *MxedgeTuntermDhcpdConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeTuntermDhcpdConfig. It customizes the JSON unmarshaling process for MxedgeTuntermDhcpdConfig objects.
type MxedgeTuntermDhcpdConfigProperty ¶
type MxedgeTuntermDhcpdConfigProperty struct {
Enabled *bool `json:"enabled,omitempty"`
// List of DHCP servers; required if `type`==`relay`
Servers []string `json:"servers,omitempty"`
// enum: `relay`
Type *MxedgeTuntermDhcpdConfigTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxedgeTuntermDhcpdConfigProperty represents a MxedgeTuntermDhcpdConfigProperty struct.
func (MxedgeTuntermDhcpdConfigProperty) MarshalJSON ¶
func (m MxedgeTuntermDhcpdConfigProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeTuntermDhcpdConfigProperty. It customizes the JSON marshaling process for MxedgeTuntermDhcpdConfigProperty objects.
func (MxedgeTuntermDhcpdConfigProperty) String ¶ added in v0.4.23
func (m MxedgeTuntermDhcpdConfigProperty) String() string
String implements the fmt.Stringer interface for MxedgeTuntermDhcpdConfigProperty, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxedgeTuntermDhcpdConfigProperty) UnmarshalJSON ¶
func (m *MxedgeTuntermDhcpdConfigProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeTuntermDhcpdConfigProperty. It customizes the JSON unmarshaling process for MxedgeTuntermDhcpdConfigProperty objects.
type MxedgeTuntermDhcpdConfigTypeEnum ¶
type MxedgeTuntermDhcpdConfigTypeEnum string
MxedgeTuntermDhcpdConfigTypeEnum is a string enum. enum: `relay`
const (
MxedgeTuntermDhcpdConfigTypeEnum_RELAY MxedgeTuntermDhcpdConfigTypeEnum = "relay"
)
type MxedgeTuntermDhcpdTypeEnum ¶
type MxedgeTuntermDhcpdTypeEnum string
MxedgeTuntermDhcpdTypeEnum is a string enum. enum: `relay`
const (
MxedgeTuntermDhcpdTypeEnum_RELAY MxedgeTuntermDhcpdTypeEnum = "relay"
)
type MxedgeTuntermExtraRoute ¶
type MxedgeTuntermExtraRoute struct {
Via *string `json:"via,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxedgeTuntermExtraRoute represents a MxedgeTuntermExtraRoute struct.
func (MxedgeTuntermExtraRoute) MarshalJSON ¶
func (m MxedgeTuntermExtraRoute) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeTuntermExtraRoute. It customizes the JSON marshaling process for MxedgeTuntermExtraRoute objects.
func (MxedgeTuntermExtraRoute) String ¶ added in v0.4.23
func (m MxedgeTuntermExtraRoute) String() string
String implements the fmt.Stringer interface for MxedgeTuntermExtraRoute, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxedgeTuntermExtraRoute) UnmarshalJSON ¶
func (m *MxedgeTuntermExtraRoute) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeTuntermExtraRoute. It customizes the JSON unmarshaling process for MxedgeTuntermExtraRoute objects.
type MxedgeTuntermIgmpSnoopingConfig ¶
type MxedgeTuntermIgmpSnoopingConfig struct {
Enabled *bool `json:"enabled,omitempty"`
Querier *MxedgeTuntermIgmpSnoopingQuerier `json:"querier,omitempty"`
// List of vlans on which tunterm performs IGMP snooping
VlanIds []int `json:"vlan_ids,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxedgeTuntermIgmpSnoopingConfig represents a MxedgeTuntermIgmpSnoopingConfig struct.
func (MxedgeTuntermIgmpSnoopingConfig) MarshalJSON ¶
func (m MxedgeTuntermIgmpSnoopingConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeTuntermIgmpSnoopingConfig. It customizes the JSON marshaling process for MxedgeTuntermIgmpSnoopingConfig objects.
func (MxedgeTuntermIgmpSnoopingConfig) String ¶ added in v0.4.23
func (m MxedgeTuntermIgmpSnoopingConfig) String() string
String implements the fmt.Stringer interface for MxedgeTuntermIgmpSnoopingConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxedgeTuntermIgmpSnoopingConfig) UnmarshalJSON ¶
func (m *MxedgeTuntermIgmpSnoopingConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeTuntermIgmpSnoopingConfig. It customizes the JSON unmarshaling process for MxedgeTuntermIgmpSnoopingConfig objects.
type MxedgeTuntermIgmpSnoopingQuerier ¶
type MxedgeTuntermIgmpSnoopingQuerier struct {
// Querier's query response interval, in tenths-of-seconds
MaxResponseTime *int `json:"max_response_time,omitempty"`
// The MTU we use (needed when forming large IGMPv3 Reports)
Mtu *int `json:"mtu,omitempty"`
// Querier's query interval, in seconds
QueryInterval *int `json:"query_interval,omitempty"`
// Querier's robustness
Robustness *int `json:"robustness,omitempty"`
// Querier's maximum protocol version
Version *int `json:"version,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxedgeTuntermIgmpSnoopingQuerier represents a MxedgeTuntermIgmpSnoopingQuerier struct.
func (MxedgeTuntermIgmpSnoopingQuerier) MarshalJSON ¶
func (m MxedgeTuntermIgmpSnoopingQuerier) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeTuntermIgmpSnoopingQuerier. It customizes the JSON marshaling process for MxedgeTuntermIgmpSnoopingQuerier objects.
func (MxedgeTuntermIgmpSnoopingQuerier) String ¶ added in v0.4.23
func (m MxedgeTuntermIgmpSnoopingQuerier) String() string
String implements the fmt.Stringer interface for MxedgeTuntermIgmpSnoopingQuerier, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxedgeTuntermIgmpSnoopingQuerier) UnmarshalJSON ¶
func (m *MxedgeTuntermIgmpSnoopingQuerier) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeTuntermIgmpSnoopingQuerier. It customizes the JSON unmarshaling process for MxedgeTuntermIgmpSnoopingQuerier objects.
type MxedgeTuntermIpConfig ¶
type MxedgeTuntermIpConfig struct {
Gateway string `json:"gateway"`
Gateway6 *string `json:"gateway6,omitempty"`
// Untagged VLAN
Ip string `json:"ip"`
Ip6 *string `json:"ip6,omitempty"`
Netmask string `json:"netmask"`
Netmask6 *string `json:"netmask6,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxedgeTuntermIpConfig represents a MxedgeTuntermIpConfig struct. IPconfiguration of the Mist Tunnel interface
func (MxedgeTuntermIpConfig) MarshalJSON ¶
func (m MxedgeTuntermIpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeTuntermIpConfig. It customizes the JSON marshaling process for MxedgeTuntermIpConfig objects.
func (MxedgeTuntermIpConfig) String ¶ added in v0.4.23
func (m MxedgeTuntermIpConfig) String() string
String implements the fmt.Stringer interface for MxedgeTuntermIpConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxedgeTuntermIpConfig) UnmarshalJSON ¶
func (m *MxedgeTuntermIpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeTuntermIpConfig. It customizes the JSON unmarshaling process for MxedgeTuntermIpConfig objects.
type MxedgeTuntermMulticastConfig ¶
type MxedgeTuntermMulticastConfig struct {
Mdns *MxedgeTuntermMulticastMdns `json:"mdns,omitempty"`
Ssdp *MxedgeTuntermMulticastSsdp `json:"ssdp,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxedgeTuntermMulticastConfig represents a MxedgeTuntermMulticastConfig struct.
func (MxedgeTuntermMulticastConfig) MarshalJSON ¶
func (m MxedgeTuntermMulticastConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeTuntermMulticastConfig. It customizes the JSON marshaling process for MxedgeTuntermMulticastConfig objects.
func (MxedgeTuntermMulticastConfig) String ¶ added in v0.4.23
func (m MxedgeTuntermMulticastConfig) String() string
String implements the fmt.Stringer interface for MxedgeTuntermMulticastConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxedgeTuntermMulticastConfig) UnmarshalJSON ¶
func (m *MxedgeTuntermMulticastConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeTuntermMulticastConfig. It customizes the JSON unmarshaling process for MxedgeTuntermMulticastConfig objects.
type MxedgeTuntermMulticastMdns ¶
type MxedgeTuntermMulticastMdns struct {
Enabled *bool `json:"enabled,omitempty"`
VlanIds []string `json:"vlan_ids,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxedgeTuntermMulticastMdns represents a MxedgeTuntermMulticastMdns struct.
func (MxedgeTuntermMulticastMdns) MarshalJSON ¶
func (m MxedgeTuntermMulticastMdns) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeTuntermMulticastMdns. It customizes the JSON marshaling process for MxedgeTuntermMulticastMdns objects.
func (MxedgeTuntermMulticastMdns) String ¶ added in v0.4.23
func (m MxedgeTuntermMulticastMdns) String() string
String implements the fmt.Stringer interface for MxedgeTuntermMulticastMdns, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxedgeTuntermMulticastMdns) UnmarshalJSON ¶
func (m *MxedgeTuntermMulticastMdns) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeTuntermMulticastMdns. It customizes the JSON unmarshaling process for MxedgeTuntermMulticastMdns objects.
type MxedgeTuntermMulticastSsdp ¶
type MxedgeTuntermMulticastSsdp struct {
Enabled *bool `json:"enabled,omitempty"`
VlanIds []string `json:"vlan_ids,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxedgeTuntermMulticastSsdp represents a MxedgeTuntermMulticastSsdp struct.
func (MxedgeTuntermMulticastSsdp) MarshalJSON ¶
func (m MxedgeTuntermMulticastSsdp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeTuntermMulticastSsdp. It customizes the JSON marshaling process for MxedgeTuntermMulticastSsdp objects.
func (MxedgeTuntermMulticastSsdp) String ¶ added in v0.4.23
func (m MxedgeTuntermMulticastSsdp) String() string
String implements the fmt.Stringer interface for MxedgeTuntermMulticastSsdp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxedgeTuntermMulticastSsdp) UnmarshalJSON ¶
func (m *MxedgeTuntermMulticastSsdp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeTuntermMulticastSsdp. It customizes the JSON unmarshaling process for MxedgeTuntermMulticastSsdp objects.
type MxedgeTuntermOtherIpConfig ¶
type MxedgeTuntermOtherIpConfig struct {
Ip string `json:"ip"`
Netmask string `json:"netmask"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxedgeTuntermOtherIpConfig represents a MxedgeTuntermOtherIpConfig struct.
func (MxedgeTuntermOtherIpConfig) MarshalJSON ¶
func (m MxedgeTuntermOtherIpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeTuntermOtherIpConfig. It customizes the JSON marshaling process for MxedgeTuntermOtherIpConfig objects.
func (MxedgeTuntermOtherIpConfig) String ¶ added in v0.4.23
func (m MxedgeTuntermOtherIpConfig) String() string
String implements the fmt.Stringer interface for MxedgeTuntermOtherIpConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxedgeTuntermOtherIpConfig) UnmarshalJSON ¶
func (m *MxedgeTuntermOtherIpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeTuntermOtherIpConfig. It customizes the JSON unmarshaling process for MxedgeTuntermOtherIpConfig objects.
type MxedgeTuntermSwitchConfig ¶
type MxedgeTuntermSwitchConfig struct {
PortVlanId *int `json:"port_vlan_id,omitempty"`
VlanIds []VlanIdWithVariable `json:"vlan_ids,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxedgeTuntermSwitchConfig represents a MxedgeTuntermSwitchConfig struct.
func (MxedgeTuntermSwitchConfig) MarshalJSON ¶
func (m MxedgeTuntermSwitchConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeTuntermSwitchConfig. It customizes the JSON marshaling process for MxedgeTuntermSwitchConfig objects.
func (MxedgeTuntermSwitchConfig) String ¶ added in v0.4.23
func (m MxedgeTuntermSwitchConfig) String() string
String implements the fmt.Stringer interface for MxedgeTuntermSwitchConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxedgeTuntermSwitchConfig) UnmarshalJSON ¶
func (m *MxedgeTuntermSwitchConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeTuntermSwitchConfig. It customizes the JSON unmarshaling process for MxedgeTuntermSwitchConfig objects.
type MxedgeTuntermSwitchConfigs ¶
type MxedgeTuntermSwitchConfigs struct {
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]MxedgeTuntermSwitchConfig `json:"_"`
}
MxedgeTuntermSwitchConfigs represents a MxedgeTuntermSwitchConfigs struct. If custom vlan settings are desired
func (MxedgeTuntermSwitchConfigs) MarshalJSON ¶
func (m MxedgeTuntermSwitchConfigs) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeTuntermSwitchConfigs. It customizes the JSON marshaling process for MxedgeTuntermSwitchConfigs objects.
func (MxedgeTuntermSwitchConfigs) String ¶ added in v0.4.23
func (m MxedgeTuntermSwitchConfigs) String() string
String implements the fmt.Stringer interface for MxedgeTuntermSwitchConfigs, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxedgeTuntermSwitchConfigs) UnmarshalJSON ¶
func (m *MxedgeTuntermSwitchConfigs) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeTuntermSwitchConfigs. It customizes the JSON unmarshaling process for MxedgeTuntermSwitchConfigs objects.
type MxedgeUpgradeChannelEnum ¶
type MxedgeUpgradeChannelEnum string
MxedgeUpgradeChannelEnum is a string enum. upgrade channel to follow. enum: `alpha`, `beta`, `stable`
const ( MxedgeUpgradeChannelEnum_ALPHA MxedgeUpgradeChannelEnum = "alpha" MxedgeUpgradeChannelEnum_BETA MxedgeUpgradeChannelEnum = "beta" MxedgeUpgradeChannelEnum_STABLE MxedgeUpgradeChannelEnum = "stable" )
type MxedgeUpgradeInfoItems ¶
type MxedgeUpgradeInfoItems struct {
Default *bool `json:"default,omitempty"`
Distro *string `json:"distro,omitempty"`
Package string `json:"package"`
Version string `json:"version"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxedgeUpgradeInfoItems represents a MxedgeUpgradeInfoItems struct.
func (MxedgeUpgradeInfoItems) MarshalJSON ¶
func (m MxedgeUpgradeInfoItems) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeUpgradeInfoItems. It customizes the JSON marshaling process for MxedgeUpgradeInfoItems objects.
func (MxedgeUpgradeInfoItems) String ¶ added in v0.4.23
func (m MxedgeUpgradeInfoItems) String() string
String implements the fmt.Stringer interface for MxedgeUpgradeInfoItems, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxedgeUpgradeInfoItems) UnmarshalJSON ¶
func (m *MxedgeUpgradeInfoItems) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeUpgradeInfoItems. It customizes the JSON unmarshaling process for MxedgeUpgradeInfoItems objects.
type MxedgeUpgradeMulti ¶
type MxedgeUpgradeMulti struct {
// Whether downgrade is allowed when running version is higher than expected version for each service
AllowDowngrades *MxedgeUpgradeMultiAllowDowngrades `json:"allow_downgrades,omitempty"`
// Only if `strategy`==`canary`. Phases for canary deployment. Each phase represents percentage of devices that need to be upgraded in that phase. default is [1, 10, 50, 100]
CanaryPhases []int `json:"canary_phases,omitempty"`
// upgrade channel to follow. enum: `alpha`, `beta`, `stable`
Channel *MxedgeUpgradeChannelEnum `json:"channel,omitempty"`
// Distro upgrade, optional, to specific codename (e.g. bullseye) with highest qualified versions
Distro *string `json:"distro,omitempty"`
// Failure threshold before we stop the upgrade and mark it as failed
MaxFailurePercentage *int `json:"max_failure_percentage,omitempty"`
// List of mxedge IDs to upgrade. If not specified, it means all the org mxedges.
MxedgeIds []uuid.UUID `json:"mxedge_ids"`
// Upgrade start time in epoch seconds, default is now
StartTime *int `json:"start_time,omitempty"`
// enum:
// * `big_bang`: upgrade all at once, no orchestration
// * `serial`: one at a time'
// * `canary`: upgrade in phases
Strategy *MxedgeUpgradeStrategyEnum `json:"strategy,omitempty"`
// Version to upgrade for each service, `current` / `latest` / `default` / specific version (e.g. `2.5.100`).\nIgnored if distro upgrade, `tunterm`, `radsecproxy`, `mxagent`, `mxocproxy`, `mxdas` or `mxnacedge`
Versions *MxedgeUpgradeVersion `json:"versions,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxedgeUpgradeMulti represents a MxedgeUpgradeMulti struct.
func (MxedgeUpgradeMulti) MarshalJSON ¶
func (m MxedgeUpgradeMulti) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeUpgradeMulti. It customizes the JSON marshaling process for MxedgeUpgradeMulti objects.
func (MxedgeUpgradeMulti) String ¶ added in v0.4.23
func (m MxedgeUpgradeMulti) String() string
String implements the fmt.Stringer interface for MxedgeUpgradeMulti, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxedgeUpgradeMulti) UnmarshalJSON ¶
func (m *MxedgeUpgradeMulti) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeUpgradeMulti. It customizes the JSON unmarshaling process for MxedgeUpgradeMulti objects.
type MxedgeUpgradeMultiAllowDowngrades ¶
type MxedgeUpgradeMultiAllowDowngrades struct {
Mxagent *bool `json:"mxagent,omitempty"`
Mxdas *bool `json:"mxdas,omitempty"`
Mxocproxy *bool `json:"mxocproxy,omitempty"`
Radsecproxy *bool `json:"radsecproxy,omitempty"`
Tunterm *bool `json:"tunterm,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxedgeUpgradeMultiAllowDowngrades represents a MxedgeUpgradeMultiAllowDowngrades struct. Whether downgrade is allowed when running version is higher than expected version for each service
func (MxedgeUpgradeMultiAllowDowngrades) MarshalJSON ¶
func (m MxedgeUpgradeMultiAllowDowngrades) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeUpgradeMultiAllowDowngrades. It customizes the JSON marshaling process for MxedgeUpgradeMultiAllowDowngrades objects.
func (MxedgeUpgradeMultiAllowDowngrades) String ¶ added in v0.4.23
func (m MxedgeUpgradeMultiAllowDowngrades) String() string
String implements the fmt.Stringer interface for MxedgeUpgradeMultiAllowDowngrades, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxedgeUpgradeMultiAllowDowngrades) UnmarshalJSON ¶
func (m *MxedgeUpgradeMultiAllowDowngrades) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeUpgradeMultiAllowDowngrades. It customizes the JSON unmarshaling process for MxedgeUpgradeMultiAllowDowngrades objects.
type MxedgeUpgradeResponseCounts ¶
type MxedgeUpgradeResponseCounts struct {
Failed int `json:"failed"`
Queued int `json:"queued"`
Success int `json:"success"`
Upgrading int `json:"upgrading"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxedgeUpgradeResponseCounts represents a MxedgeUpgradeResponseCounts struct.
func (MxedgeUpgradeResponseCounts) MarshalJSON ¶
func (m MxedgeUpgradeResponseCounts) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeUpgradeResponseCounts. It customizes the JSON marshaling process for MxedgeUpgradeResponseCounts objects.
func (MxedgeUpgradeResponseCounts) String ¶ added in v0.4.23
func (m MxedgeUpgradeResponseCounts) String() string
String implements the fmt.Stringer interface for MxedgeUpgradeResponseCounts, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxedgeUpgradeResponseCounts) UnmarshalJSON ¶
func (m *MxedgeUpgradeResponseCounts) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeUpgradeResponseCounts. It customizes the JSON unmarshaling process for MxedgeUpgradeResponseCounts objects.
type MxedgeUpgradeStrategyEnum ¶
type MxedgeUpgradeStrategyEnum string
MxedgeUpgradeStrategyEnum is a string enum. enum: * `big_bang`: upgrade all at once, no orchestration * `serial`: one at a time' * `canary`: upgrade in phases
const ( MxedgeUpgradeStrategyEnum_CANARY MxedgeUpgradeStrategyEnum = "canary" MxedgeUpgradeStrategyEnum_BIGBANG MxedgeUpgradeStrategyEnum = "big_bang" MxedgeUpgradeStrategyEnum_SERIAL MxedgeUpgradeStrategyEnum = "serial" )
type MxedgeUpgradeVersion ¶
type MxedgeUpgradeVersion struct {
Mxagent string `json:"mxagent"`
Mxdas *string `json:"mxdas,omitempty"`
Mxocproxy *string `json:"mxocproxy,omitempty"`
Radsecproxy *string `json:"radsecproxy,omitempty"`
Tunterm string `json:"tunterm"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxedgeUpgradeVersion represents a MxedgeUpgradeVersion struct. Version to upgrade for each service, `current` / `latest` / `default` / specific version (e.g. `2.5.100`).\nIgnored if distro upgrade, `tunterm`, `radsecproxy`, `mxagent`, `mxocproxy`, `mxdas` or `mxnacedge`
func (MxedgeUpgradeVersion) MarshalJSON ¶
func (m MxedgeUpgradeVersion) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeUpgradeVersion. It customizes the JSON marshaling process for MxedgeUpgradeVersion objects.
func (MxedgeUpgradeVersion) String ¶ added in v0.4.23
func (m MxedgeUpgradeVersion) String() string
String implements the fmt.Stringer interface for MxedgeUpgradeVersion, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxedgeUpgradeVersion) UnmarshalJSON ¶
func (m *MxedgeUpgradeVersion) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeUpgradeVersion. It customizes the JSON unmarshaling process for MxedgeUpgradeVersion objects.
type MxedgeVersions ¶
type MxedgeVersions struct {
Mxagent *string `json:"mxagent,omitempty"`
Tunterm *string `json:"tunterm,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxedgeVersions represents a MxedgeVersions struct.
func (MxedgeVersions) MarshalJSON ¶
func (m MxedgeVersions) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeVersions. It customizes the JSON marshaling process for MxedgeVersions objects.
func (MxedgeVersions) String ¶ added in v0.4.23
func (m MxedgeVersions) String() string
String implements the fmt.Stringer interface for MxedgeVersions, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxedgeVersions) UnmarshalJSON ¶
func (m *MxedgeVersions) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeVersions. It customizes the JSON unmarshaling process for MxedgeVersions objects.
type MxedgesAssign ¶
type MxedgesAssign struct {
MxedgeIds []uuid.UUID `json:"mxedge_ids"`
SiteId uuid.UUID `json:"site_id"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxedgesAssign represents a MxedgesAssign struct.
func (MxedgesAssign) MarshalJSON ¶
func (m MxedgesAssign) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgesAssign. It customizes the JSON marshaling process for MxedgesAssign objects.
func (MxedgesAssign) String ¶ added in v0.4.23
func (m MxedgesAssign) String() string
String implements the fmt.Stringer interface for MxedgesAssign, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxedgesAssign) UnmarshalJSON ¶
func (m *MxedgesAssign) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgesAssign. It customizes the JSON unmarshaling process for MxedgesAssign objects.
type MxedgesUnassign ¶
type MxedgesUnassign struct {
MxedgeIds []uuid.UUID `json:"mxedge_ids"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxedgesUnassign represents a MxedgesUnassign struct.
func (MxedgesUnassign) MarshalJSON ¶
func (m MxedgesUnassign) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgesUnassign. It customizes the JSON marshaling process for MxedgesUnassign objects.
func (MxedgesUnassign) String ¶ added in v0.4.23
func (m MxedgesUnassign) String() string
String implements the fmt.Stringer interface for MxedgesUnassign, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxedgesUnassign) UnmarshalJSON ¶
func (m *MxedgesUnassign) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgesUnassign. It customizes the JSON unmarshaling process for MxedgesUnassign objects.
type Mxtunnel ¶
type Mxtunnel struct {
// List of anchor mxtunnels used for forming edge to edge tunnels
AnchorMxtunnelIds []uuid.UUID `json:"anchor_mxtunnel_ids,omitempty"`
// Schedule to preempt ap’s which are not connected to preferred peer
AutoPreemption *AutoPreemption `json:"auto_preemption,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// In seconds, used as heartbeat to detect if a tunnel is alive. AP will try another peer after missing N hellos specified by `hello_retries`.
HelloInterval Optional[int] `json:"hello_interval"`
HelloRetries Optional[int] `json:"hello_retries"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Ipsec *MxtunnelIpsec `json:"ipsec,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
// 0 to enable PMTU, 552-1500 to start PMTU with a lower MTU
Mtu *int `json:"mtu,omitempty"`
// List of mxclusters to deploy this tunnel to
MxclusterIds []uuid.UUID `json:"mxcluster_ids,omitempty"`
Name Optional[string] `json:"name"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// enum: `ip`, `udp`
Protocol *MxtunnelProtocolEnum `json:"protocol,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// List of vlan_ids that will be used
VlanIds []int `json:"vlan_ids,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Mxtunnel represents a Mxtunnel struct. MxTunnel
func (Mxtunnel) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Mxtunnel. It customizes the JSON marshaling process for Mxtunnel objects.
func (Mxtunnel) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Mxtunnel, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Mxtunnel) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Mxtunnel. It customizes the JSON unmarshaling process for Mxtunnel objects.
type MxtunnelIpsec ¶
type MxtunnelIpsec struct {
DnsServers Optional[[]string] `json:"dns_servers"`
DnsSuffix []string `json:"dns_suffix,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
ExtraRoutes []MxtunnelIpsecExtraRoute `json:"extra_routes,omitempty"`
SplitTunnel *bool `json:"split_tunnel,omitempty"`
UseMxedge *bool `json:"use_mxedge,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxtunnelIpsec represents a MxtunnelIpsec struct.
func (MxtunnelIpsec) MarshalJSON ¶
func (m MxtunnelIpsec) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxtunnelIpsec. It customizes the JSON marshaling process for MxtunnelIpsec objects.
func (MxtunnelIpsec) String ¶ added in v0.4.23
func (m MxtunnelIpsec) String() string
String implements the fmt.Stringer interface for MxtunnelIpsec, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxtunnelIpsec) UnmarshalJSON ¶
func (m *MxtunnelIpsec) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxtunnelIpsec. It customizes the JSON unmarshaling process for MxtunnelIpsec objects.
type MxtunnelIpsecExtraRoute ¶
type MxtunnelIpsecExtraRoute struct {
Dest *string `json:"dest,omitempty"`
NextHop *string `json:"next_hop,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MxtunnelIpsecExtraRoute represents a MxtunnelIpsecExtraRoute struct.
func (MxtunnelIpsecExtraRoute) MarshalJSON ¶
func (m MxtunnelIpsecExtraRoute) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxtunnelIpsecExtraRoute. It customizes the JSON marshaling process for MxtunnelIpsecExtraRoute objects.
func (MxtunnelIpsecExtraRoute) String ¶ added in v0.4.23
func (m MxtunnelIpsecExtraRoute) String() string
String implements the fmt.Stringer interface for MxtunnelIpsecExtraRoute, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MxtunnelIpsecExtraRoute) UnmarshalJSON ¶
func (m *MxtunnelIpsecExtraRoute) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxtunnelIpsecExtraRoute. It customizes the JSON unmarshaling process for MxtunnelIpsecExtraRoute objects.
type MxtunnelProtocolEnum ¶
type MxtunnelProtocolEnum string
MxtunnelProtocolEnum is a string enum. enum: `ip`, `udp`
const ( MxtunnelProtocolEnum_IP MxtunnelProtocolEnum = "ip" MxtunnelProtocolEnum_UDP MxtunnelProtocolEnum = "udp" )
type NacAccessTypeEnum ¶ added in v0.4.46
type NacAccessTypeEnum string
NacAccessTypeEnum is a string enum. Type of network access. enum: `wireless`, `wired`, `vty`
const ( NacAccessTypeEnum_WIRELESS NacAccessTypeEnum = "wireless" NacAccessTypeEnum_WIRED NacAccessTypeEnum = "wired" NacAccessTypeEnum_VTY NacAccessTypeEnum = "vty" )
type NacAuthTypeEnum ¶ added in v0.4.46
type NacAuthTypeEnum string
NacAuthTypeEnum is a string enum. enum: `cert`, `device-auth`, `eap-teap`, `eap-tls`, `eap-ttls`, `idp`, `mab`, `eap-peap`
const ( NacAuthTypeEnum_CERT NacAuthTypeEnum = "cert" NacAuthTypeEnum_DEVICEAUTH NacAuthTypeEnum = "device-auth" NacAuthTypeEnum_EAPTEAP NacAuthTypeEnum = "eap-teap" NacAuthTypeEnum_EAPTLS NacAuthTypeEnum = "eap-tls" NacAuthTypeEnum_EAPTTLS NacAuthTypeEnum = "eap-ttls" NacAuthTypeEnum_IDP NacAuthTypeEnum = "idp" NacAuthTypeEnum_MAB NacAuthTypeEnum = "mab" NacAuthTypeEnum_EAPPEAP NacAuthTypeEnum = "eap-peap" )
type NacClientEvent ¶ added in v0.4.94
type NacClientEvent struct {
// AP mac
Ap *string `json:"ap,omitempty"`
// enum: `cert`, `device-auth`, `eap-teap`, `eap-tls`, `eap-ttls`, `idp`, `mab`, `eap-peap`
AuthType *NacAuthTypeEnum `json:"auth_type,omitempty"`
// BSSID
Bssid *string `json:"bssid,omitempty"`
// Type of network access. enum: `wireless`, `wired`, `vty`
ClientType *NacAccessTypeEnum `json:"client_type,omitempty"`
// MAC Address of the device (AP, Switch) the client is connected to
DeviceMac *string `json:"device_mac,omitempty"`
// NAC Policy Dry Run Rule ID, if present and matched
DryrunNacruleId *uuid.UUID `json:"dryrun_nacrule_id,omitempty"`
// `true` if dryrun rule present and matched with priority, `false` if not matched or not present
DryrunNacruleMatched *bool `json:"dryrun_nacrule_matched,omitempty"`
// If IDP is used, the id of the IDP configuration used
IdpId *uuid.UUID `json:"idp_id,omitempty"`
IdpRole []string `json:"idp_role,omitempty"`
// If IDP is used, the username presented to the Identity Provider
IdpUsername *string `json:"idp_username,omitempty"`
// Client MAC address
Mac *string `json:"mac,omitempty"`
// Mist Edge ID used to connect to cloud
MxedgeId *string `json:"mxedge_id,omitempty"`
// NAC Policy Rule ID, if matched
NacruleId *uuid.UUID `json:"nacrule_id,omitempty"`
// NAC Policy Rule Matched
NacruleMatched *bool `json:"nacrule_matched,omitempty"`
// Vendor name of the NAS
NasVendor *string `json:"nas_vendor,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Port ID where the NAC client event occurred
PortId *string `json:"port_id,omitempty"`
// Type of network access. enum: `wireless`, `wired`, `vty`
PortType *NacAccessTypeEnum `json:"port_type,omitempty"`
// Whether the client is using randomized MAC Address or not
RandomMac *RandomMacEnum `json:"random_mac,omitempty"`
// List of Radius AVP returned by the Authentication Server
RespAttrs []string `json:"resp_attrs,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// SSIDs the client was connecting to
Ssid *string `json:"ssid,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
// Event type, e.g. NAC_CLIENT_PERMIT. Use the [List NAC Events Definitions]($e/Constants%20Events/listNacEventsDefinitions) endpoint to get the full list of available values.
Type *string `json:"type,omitempty"`
// Labels derived from usermac entry
UsermacLabel []string `json:"usermac_label,omitempty"`
// username assigned to the client
Username *string `json:"username,omitempty"`
// vlan that assigned to the client
Vlan *string `json:"vlan,omitempty"`
// Vlan source, e.g. "nactag", "usermac"
VlanSource *string `json:"vlan_source,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
NacClientEvent represents a NacClientEvent struct.
func (NacClientEvent) MarshalJSON ¶ added in v0.4.94
func (n NacClientEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NacClientEvent. It customizes the JSON marshaling process for NacClientEvent objects.
func (NacClientEvent) String ¶ added in v0.4.94
func (n NacClientEvent) String() string
String implements the fmt.Stringer interface for NacClientEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NacClientEvent) UnmarshalJSON ¶ added in v0.4.94
func (n *NacClientEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NacClientEvent. It customizes the JSON unmarshaling process for NacClientEvent objects.
type NacClientLastStatusEnum ¶ added in v0.4.75
type NacClientLastStatusEnum string
NacClientLastStatusEnum is a string enum. Latest Authentication status of the client. enum: `denied`, `permitted`, `session_started`, `session_stopped`
const ( NacClientLastStatusEnum_PERMITTED NacClientLastStatusEnum = "permitted" NacClientLastStatusEnum_SESSIONSTARTED NacClientLastStatusEnum = "session_started" NacClientLastStatusEnum_SESSIONENDED NacClientLastStatusEnum = "session_ended" NacClientLastStatusEnum_DENIED NacClientLastStatusEnum = "denied" )
type NacCrlFile ¶
type NacCrlFile struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// Unique ID for the uploaded CRL file, used to reference the file
Id *string `json:"id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
// Issuer name for the CRL file
Name *string `json:"name,omitempty"`
// URL to download the uploaded CRL file
Url *string `json:"url,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
NacCrlFile represents a NacCrlFile struct.
func (NacCrlFile) MarshalJSON ¶
func (n NacCrlFile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NacCrlFile. It customizes the JSON marshaling process for NacCrlFile objects.
func (NacCrlFile) String ¶ added in v0.4.23
func (n NacCrlFile) String() string
String implements the fmt.Stringer interface for NacCrlFile, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NacCrlFile) UnmarshalJSON ¶
func (n *NacCrlFile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NacCrlFile. It customizes the JSON unmarshaling process for NacCrlFile objects.
type NacPortal ¶
type NacPortal struct {
// if `type`==`marvis_client`. enum: `wireless`, `wireless+wired`
AccessType *NacPortalAccessTypeEnum `json:"access_type,omitempty"`
// Optional list of additional CA certificates to be used
AdditionalCacerts []string `json:"additional_cacerts,omitempty"`
// Background image
BgImageUrl *string `json:"bg_image_url,omitempty"`
// In days
CertExpireTime *int `json:"cert_expire_time,omitempty"`
// enum: `wpa2`, `wpa3`
EapType *NacPortalEapTypeEnum `json:"eap_type,omitempty"`
// Model, version, fingering, events (connecting, disconnect, roaming), which ap
EnableTelemetry *bool `json:"enable_telemetry,omitempty"`
// In days
ExpiryNotificationTime *int `json:"expiry_notification_time,omitempty"`
Name *string `json:"name,omitempty"`
// phase 2
NotifyExpiry *bool `json:"notify_expiry,omitempty"`
// Guest portal configuration when `type`==`guest_portal`. If
// * `auth`==`none`, the user is presented with a terms of service and can click and continue.
// * `auth`==`external`, the user is redirected to an external URL for authentication.
// * `auth`==`multi`, the user is presented with a choice of authentication methods:
// - social logins: facebook / google / amazon / microsoft / azure
// - sponsor
// - sms: supported provider: twillio
// - email
// - sso
// - userpass: pre created guest list
Portal *NacPortalGuestPortal `json:"portal,omitempty"`
// If `type`==`guest_portal` and `auth`==`external`, the `portal_authorize_jwt_secret` will be generated
PortalAuthorizeJwtSecret *string `json:"portal_authorize_jwt_secret,omitempty"`
// If `type`==`guest_portal` and `auth`==`external`, the `portal_authorize_url` will be generated
PortalAuthorizeUrl *string `json:"portal_authorize_url,omitempty"`
// If `type`==`guest_portal` or `type`==`guest_admin` and ans SSO is enabled, the `portal_sso_url` will be generated (which needs to be configured in your IDP
PortalSsoUrl *string `json:"portal_sso_url,omitempty"`
Ssid *string `json:"ssid,omitempty"`
Sso *NacPortalSso `json:"sso,omitempty"`
TemplateUrl *string `json:"template_url,omitempty"`
ThumbnailUrl *string `json:"thumbnail_url,omitempty"`
Tos *string `json:"tos,omitempty"`
// enum:
// * `guest_admin`: NAC-Based Portal Admin for Pre Created Guest Authentication
// * `guest_portal`: NAC-Based Guest Portal
// * `marvis_client`
Type *NacPortalTypeEnum `json:"type,omitempty"`
// If `auth`==`guest_admin`, the URL to the guest admin portal
UiUrl *string `json:"ui_url,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
NacPortal represents a NacPortal struct.
func (NacPortal) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for NacPortal. It customizes the JSON marshaling process for NacPortal objects.
func (NacPortal) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for NacPortal, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NacPortal) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for NacPortal. It customizes the JSON unmarshaling process for NacPortal objects.
type NacPortalAccessTypeEnum ¶
type NacPortalAccessTypeEnum string
NacPortalAccessTypeEnum is a string enum. if `type`==`marvis_client`. enum: `wireless`, `wireless+wired`
const ( NacPortalAccessTypeEnum_WIRELESS NacPortalAccessTypeEnum = "wireless" NacPortalAccessTypeEnum_ENUMWIRELESSWIRED NacPortalAccessTypeEnum = "wireless+wired" )
type NacPortalEapTypeEnum ¶ added in v0.3.17
type NacPortalEapTypeEnum string
NacPortalEapTypeEnum is a string enum. enum: `wpa2`, `wpa3`
const ( NacPortalEapTypeEnum_WPA2 NacPortalEapTypeEnum = "wpa2" NacPortalEapTypeEnum_WPA3 NacPortalEapTypeEnum = "wpa3" )
type NacPortalGuestPortal ¶ added in v0.4.80
type NacPortalGuestPortal struct {
// Guest portal authentication type. enum: `external`, `multi`, `none`
Auth *NacPortalGuestPortalAuthEnum `json:"auth,omitempty"`
// If `auth`==`none` or `auth`==`multi`, whether to expire the guest after a certain time
Expire *int `json:"expire,omitempty"`
// If `auth`==`external`, the URL to redirect the user to for authentication
ExternalPortalUrl *string `json:"external_portal_url,omitempty"`
// Disconnect client (workaround for reauth issues)
ForceReconnect *bool `json:"force_reconnect,omitempty"`
// If `auth`==`none` or `auth`==`multi`, whether to forward the user to the guest portal after authentication
Forward *bool `json:"forward,omitempty"`
// If `auth`==`none` or `auth`==`multi`, URL to forward the user to after authentication
ForwardUrl *string `json:"forward_url,omitempty"`
// List of hostnames without http(s):// (matched by substring)
PortalAllowedHostnames []string `json:"portal_allowed_hostnames,omitempty"`
// List of CIDRs
PortalAllowedSubnets []string `json:"portal_allowed_subnets,omitempty"`
// List of hostnames without http(s):// (matched by substring), this takes precedence over portal_allowed_hostnames
PortalDeniedHostnames []string `json:"portal_denied_hostnames,omitempty"`
// If `auth`==`none` or `auth`==`multi`, whether to show the privacy policy
Privacy *bool `json:"privacy,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
NacPortalGuestPortal represents a NacPortalGuestPortal struct. Guest portal configuration when `type`==`guest_portal`. If * `auth`==`none`, the user is presented with a terms of service and can click and continue. * `auth`==`external`, the user is redirected to an external URL for authentication. * `auth`==`multi`, the user is presented with a choice of authentication methods: - social logins: facebook / google / amazon / microsoft / azure - sponsor - sms: supported provider: twillio - email - sso - userpass: pre created guest list
func (NacPortalGuestPortal) MarshalJSON ¶ added in v0.4.80
func (n NacPortalGuestPortal) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NacPortalGuestPortal. It customizes the JSON marshaling process for NacPortalGuestPortal objects.
func (NacPortalGuestPortal) String ¶ added in v0.4.80
func (n NacPortalGuestPortal) String() string
String implements the fmt.Stringer interface for NacPortalGuestPortal, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NacPortalGuestPortal) UnmarshalJSON ¶ added in v0.4.80
func (n *NacPortalGuestPortal) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NacPortalGuestPortal. It customizes the JSON unmarshaling process for NacPortalGuestPortal objects.
type NacPortalGuestPortalAuthEnum ¶ added in v0.4.80
type NacPortalGuestPortalAuthEnum string
NacPortalGuestPortalAuthEnum is a string enum. Guest portal authentication type. enum: `external`, `multi`, `none`
const ( NacPortalGuestPortalAuthEnum_EXTERNAL NacPortalGuestPortalAuthEnum = "external" NacPortalGuestPortalAuthEnum_MULTI NacPortalGuestPortalAuthEnum = "multi" NacPortalGuestPortalAuthEnum_NONE NacPortalGuestPortalAuthEnum = "none" )
type NacPortalSso ¶
type NacPortalSso struct {
IdpCert *string `json:"idp_cert,omitempty"`
// Signing algorithm for SAML Assertion. enum: `sha1`, `sha256`, `sha384`, `sha512`.
IdpSignAlgo *NacPortalSsoIdpSignAlgoEnum `json:"idp_sign_algo,omitempty"`
IdpSsoUrl *string `json:"idp_sso_url,omitempty"`
Issuer *string `json:"issuer,omitempty"`
NameidFormat *string `json:"nameid_format,omitempty"`
SsoRoleMatching []NacPortalSsoRoleMatching `json:"sso_role_matching,omitempty"`
// If it's desired to inject a role into Cert's Subject (so it can be used later on in policy)
UseSsoRoleForCert *bool `json:"use_sso_role_for_cert,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
NacPortalSso represents a NacPortalSso struct.
func (NacPortalSso) MarshalJSON ¶
func (n NacPortalSso) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NacPortalSso. It customizes the JSON marshaling process for NacPortalSso objects.
func (NacPortalSso) String ¶ added in v0.4.23
func (n NacPortalSso) String() string
String implements the fmt.Stringer interface for NacPortalSso, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NacPortalSso) UnmarshalJSON ¶
func (n *NacPortalSso) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NacPortalSso. It customizes the JSON unmarshaling process for NacPortalSso objects.
type NacPortalSsoIdpSignAlgoEnum ¶ added in v0.3.33
type NacPortalSsoIdpSignAlgoEnum string
NacPortalSsoIdpSignAlgoEnum is a string enum. Signing algorithm for SAML Assertion. enum: `sha1`, `sha256`, `sha384`, `sha512`.
const ( NacPortalSsoIdpSignAlgoEnum_SHA1 NacPortalSsoIdpSignAlgoEnum = "sha1" NacPortalSsoIdpSignAlgoEnum_SHA256 NacPortalSsoIdpSignAlgoEnum = "sha256" NacPortalSsoIdpSignAlgoEnum_SHA384 NacPortalSsoIdpSignAlgoEnum = "sha384" NacPortalSsoIdpSignAlgoEnum_SHA512 NacPortalSsoIdpSignAlgoEnum = "sha512" )
type NacPortalSsoRoleMatching ¶
type NacPortalSsoRoleMatching struct {
Assigned *string `json:"assigned,omitempty"`
Match *string `json:"match,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
NacPortalSsoRoleMatching represents a NacPortalSsoRoleMatching struct.
func (NacPortalSsoRoleMatching) MarshalJSON ¶
func (n NacPortalSsoRoleMatching) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NacPortalSsoRoleMatching. It customizes the JSON marshaling process for NacPortalSsoRoleMatching objects.
func (NacPortalSsoRoleMatching) String ¶ added in v0.4.23
func (n NacPortalSsoRoleMatching) String() string
String implements the fmt.Stringer interface for NacPortalSsoRoleMatching, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NacPortalSsoRoleMatching) UnmarshalJSON ¶
func (n *NacPortalSsoRoleMatching) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NacPortalSsoRoleMatching. It customizes the JSON unmarshaling process for NacPortalSsoRoleMatching objects.
type NacPortalTemplate ¶ added in v0.2.38
type NacPortalTemplate struct {
// defines alignment on portal. enum: `center`, `left`, `right`
Alignment *PortalTemplateAlignmentEnum `json:"alignment,omitempty"`
Color *string `json:"color,omitempty"`
// Custom logo custom logo with "data:image/png;base64," format. default null, uses Juniper Mist Logo.
Logo *string `json:"logo,omitempty"`
// Whether to hide "Powered by Juniper Mist" and email footers
PoweredBy *bool `json:"poweredBy,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
NacPortalTemplate represents a NacPortalTemplate struct.
func (NacPortalTemplate) MarshalJSON ¶ added in v0.2.38
func (n NacPortalTemplate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NacPortalTemplate. It customizes the JSON marshaling process for NacPortalTemplate objects.
func (NacPortalTemplate) String ¶ added in v0.4.23
func (n NacPortalTemplate) String() string
String implements the fmt.Stringer interface for NacPortalTemplate, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NacPortalTemplate) UnmarshalJSON ¶ added in v0.2.38
func (n *NacPortalTemplate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NacPortalTemplate. It customizes the JSON unmarshaling process for NacPortalTemplate objects.
type NacPortalTypeEnum ¶ added in v0.2.38
type NacPortalTypeEnum string
NacPortalTypeEnum is a string enum. enum: * `guest_admin`: NAC-Based Portal Admin for Pre Created Guest Authentication * `guest_portal`: NAC-Based Guest Portal * `marvis_client`
const ( NacPortalTypeEnum_GUESTADMIN NacPortalTypeEnum = "guest_admin" NacPortalTypeEnum_GUESTPORTAL NacPortalTypeEnum = "guest_portal" NacPortalTypeEnum_MARVISCLIENT NacPortalTypeEnum = "marvis_client" )
type NacRule ¶
type NacRule struct {
// enum: `allow`, `block`
Action NacRuleActionEnum `json:"action"`
// All optional, this goes into Access-Accept
ApplyTags []string `json:"apply_tags,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// Enabled or not
Enabled *bool `json:"enabled,omitempty"`
// Guest portal authorization state. enum: `authorized`, `unknown`
GuestAuthState *NacRuleGuestAuthStateEnum `json:"guest_auth_state,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Matching *NacRuleMatching `json:"matching,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name string `json:"name"`
NotMatching *NacRuleMatching `json:"not_matching,omitempty"`
// Order of the rule, lower value implies higher priority
Order *int `json:"order,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
NacRule represents a NacRule struct.
func (NacRule) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for NacRule. It customizes the JSON marshaling process for NacRule objects.
func (NacRule) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for NacRule, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NacRule) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for NacRule. It customizes the JSON unmarshaling process for NacRule objects.
type NacRuleActionEnum ¶
type NacRuleActionEnum string
NacRuleActionEnum is a string enum. enum: `allow`, `block`
const ( NacRuleActionEnum_ALLOW NacRuleActionEnum = "allow" NacRuleActionEnum_BLOCK NacRuleActionEnum = "block" )
type NacRuleGuestAuthStateEnum ¶ added in v0.4.80
type NacRuleGuestAuthStateEnum string
NacRuleGuestAuthStateEnum is a string enum. Guest portal authorization state. enum: `authorized`, `unknown`
const ( NacRuleGuestAuthStateEnum_AUTHORIZED NacRuleGuestAuthStateEnum = "authorized" NacRuleGuestAuthStateEnum_UNKNOWN NacRuleGuestAuthStateEnum = "unknown" )
type NacRuleMatching ¶
type NacRuleMatching struct {
// enum: `cert`, `device-auth`, `eap-teap`, `eap-tls`, `eap-ttls`, `idp`, `mab`, `eap-peap`
AuthType *NacAuthTypeEnum `json:"auth_type,omitempty"`
// List of client device families to match. Refer to [List Fingerprint Types]]($e/Constants%20Definitions/listFingerprintTypes) for allowed family values
Family []string `json:"family,omitempty"`
// List of client device models to match. Refer to [List Fingerprint Types]]($e/Constants%20Definitions/listFingerprintTypes) for allowed model values
Mfg []string `json:"mfg,omitempty"`
// List of client device manufacturers to match. Refer to [List Fingerprint Types]]($e/Constants%20Definitions/listFingerprintTypes) for allowed mfg values
Model []string `json:"model,omitempty"`
// List of client device os types to match. Refer to [List Fingerprint Types]]($e/Constants%20Definitions/listFingerprintTypes) for allowed os_type values
OsType []string `json:"os_type,omitempty"`
PortTypes []NacRuleMatchingPortTypeEnum `json:"port_types,omitempty"`
// List of site ids to match
SiteIds []uuid.UUID `json:"site_ids,omitempty"`
// List of sitegroup ids to match
SitegroupIds []uuid.UUID `json:"sitegroup_ids,omitempty"`
// List of vendors to match
Vendor []string `json:"vendor,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
NacRuleMatching represents a NacRuleMatching struct.
func (NacRuleMatching) MarshalJSON ¶
func (n NacRuleMatching) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NacRuleMatching. It customizes the JSON marshaling process for NacRuleMatching objects.
func (NacRuleMatching) String ¶ added in v0.4.23
func (n NacRuleMatching) String() string
String implements the fmt.Stringer interface for NacRuleMatching, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NacRuleMatching) UnmarshalJSON ¶
func (n *NacRuleMatching) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NacRuleMatching. It customizes the JSON unmarshaling process for NacRuleMatching objects.
type NacRuleMatchingPortTypeEnum ¶
type NacRuleMatchingPortTypeEnum string
NacRuleMatchingPortTypeEnum is a string enum. enum: `wired`, `wireless`
const ( NacRuleMatchingPortTypeEnum_WIRED NacRuleMatchingPortTypeEnum = "wired" NacRuleMatchingPortTypeEnum_WIRELESS NacRuleMatchingPortTypeEnum = "wireless" )
type NacTag ¶
type NacTag struct {
// Can be set to true to allow the override by usermac result
AllowUsermacOverride *bool `json:"allow_usermac_override,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// If `type`==`egress_vlan_names`, list of egress vlans to return
EgressVlanNames []string `json:"egress_vlan_names,omitempty"`
// If `type`==`gbp_tag`
GbpTag *NacTagGbpTag `json:"gbp_tag,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// if `type`==`match`. enum: `cert_cn`, `cert_eku`, `cert_issuer`, `cert_san`, `cert_serial`, `cert_sub`, `cert_template`, `client_mac`, `edr_status`, `gbp_tag`, `hostname`, `idp_role`, `ingress_vlan`, `mdm_status`, `nas_ip`, `radius_group`, `realm`, `ssid`, `user_name`, `usermac_label`
Match *NacTagMatchEnum `json:"match,omitempty"`
// This field is applicable only when `type`==`match`
// * `false`: means it is sufficient to match any of the values (i.e., match-any behavior)
// * `true`: means all values should be matched (i.e., match-all behavior)
// Currently it makes sense to set this field to `true` only if the `match`==`idp_role`, `match`==`usermac_label` and `edr_status`
MatchAll *bool `json:"match_all,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
// If `type`==`redirect_nacportal_id`, the ID of the NAC portal to redirect to
NacportalId *uuid.UUID `json:"nacportal_id,omitempty"`
Name string `json:"name"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// If `type`==`radius_attrs`, user can specify a list of one or more standard attributes in the field "radius_attrs".
// It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected.
// Note that it is allowed to have more than one radius_attrs in the result of a given rule.
RadiusAttrs []string `json:"radius_attrs,omitempty"`
// If `type`==`radius_group`
RadiusGroup *string `json:"radius_group,omitempty"`
// If `type`==`radius_vendor_attrs`, user can specify a list of one or more vendor-specific attributes in the field "radius_vendor_attrs".
// It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected.
// Note that it is allowed to have more than one radius_vendor_attrs in the result of a given rule.
RadiusVendorAttrs []string `json:"radius_vendor_attrs,omitempty"`
// If `type`==`session_timeout, in seconds
SessionTimeout *int `json:"session_timeout,omitempty"`
// enum: `egress_vlan_names`, `gbp_tag`, `match`, `radius_attrs`, `radius_group`, `radius_vendor_attrs`, `redirect_nacportal_id`, `session_timeout`, `username_attr`, `vlan`
Type NacTagTypeEnum `json:"type"`
// enum: `automatic`, `cn`, `dns`, `email`, `upn`
UsernameAttr *NacTagUsernameAttrEnum `json:"username_attr,omitempty"`
// If `type`==`match`
Values []string `json:"values,omitempty"`
// If `type`==`vlan`
Vlan *string `json:"vlan,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
NacTag represents a NacTag struct.
func (NacTag) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for NacTag. It customizes the JSON marshaling process for NacTag objects.
func (NacTag) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for NacTag, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NacTag) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for NacTag. It customizes the JSON unmarshaling process for NacTag objects.
type NacTagGbpTag ¶ added in v0.4.66
type NacTagGbpTag struct {
// contains filtered or unexported fields
}
NacTagGbpTag represents a NacTagGbpTag struct. If `type`==`gbp_tag`
func (*NacTagGbpTag) AsNumber ¶ added in v0.4.66
func (n *NacTagGbpTag) AsNumber() ( *int, bool)
func (*NacTagGbpTag) AsString ¶ added in v0.4.66
func (n *NacTagGbpTag) AsString() ( *string, bool)
func (NacTagGbpTag) MarshalJSON ¶ added in v0.4.66
func (n NacTagGbpTag) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NacTagGbpTag. It customizes the JSON marshaling process for NacTagGbpTag objects.
func (NacTagGbpTag) String ¶ added in v0.4.66
func (n NacTagGbpTag) String() string
String implements the fmt.Stringer interface for NacTagGbpTag, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NacTagGbpTag) UnmarshalJSON ¶ added in v0.4.66
func (n *NacTagGbpTag) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NacTagGbpTag. It customizes the JSON unmarshaling process for NacTagGbpTag objects.
type NacTagMatchEnum ¶
type NacTagMatchEnum string
NacTagMatchEnum is a string enum. if `type`==`match`. enum: `cert_cn`, `cert_eku`, `cert_issuer`, `cert_san`, `cert_serial`, `cert_sub`, `cert_template`, `client_mac`, `edr_status`, `gbp_tag`, `hostname`, `idp_role`, `ingress_vlan`, `mdm_status`, `nas_ip`, `radius_group`, `realm`, `ssid`, `user_name`, `usermac_label`
const ( NacTagMatchEnum_CERTCN NacTagMatchEnum = "cert_cn" NacTagMatchEnum_CERTEKU NacTagMatchEnum = "cert_eku" NacTagMatchEnum_CERTISSUER NacTagMatchEnum = "cert_issuer" NacTagMatchEnum_CERTSAN NacTagMatchEnum = "cert_san" NacTagMatchEnum_CERTSERIAL NacTagMatchEnum = "cert_serial" NacTagMatchEnum_CERTSUB NacTagMatchEnum = "cert_sub" NacTagMatchEnum_CERTTEMPLATE NacTagMatchEnum = "cert_template" NacTagMatchEnum_CLIENTMAC NacTagMatchEnum = "client_mac" NacTagMatchEnum_EDRSTATUS NacTagMatchEnum = "edr_status" NacTagMatchEnum_GBPTAG NacTagMatchEnum = "gbp_tag" NacTagMatchEnum_HOSTNAME NacTagMatchEnum = "hostname" NacTagMatchEnum_IDPROLE NacTagMatchEnum = "idp_role" NacTagMatchEnum_INGRESSVLAN NacTagMatchEnum = "ingress_vlan" NacTagMatchEnum_MDMSTATUS NacTagMatchEnum = "mdm_status" NacTagMatchEnum_NASIP NacTagMatchEnum = "nas_ip" NacTagMatchEnum_RADIUSGROUP NacTagMatchEnum = "radius_group" NacTagMatchEnum_REALM NacTagMatchEnum = "realm" NacTagMatchEnum_SSID NacTagMatchEnum = "ssid" NacTagMatchEnum_USERNAME NacTagMatchEnum = "user_name" NacTagMatchEnum_USERMACLABEL NacTagMatchEnum = "usermac_label" )
type NacTagTypeEnum ¶
type NacTagTypeEnum string
NacTagTypeEnum is a string enum. enum: `egress_vlan_names`, `gbp_tag`, `match`, `radius_attrs`, `radius_group`, `radius_vendor_attrs`, `redirect_nacportal_id`, `session_timeout`, `username_attr`, `vlan`
const ( NacTagTypeEnum_EGRESSVLANNAMES NacTagTypeEnum = "egress_vlan_names" NacTagTypeEnum_GBPTAG NacTagTypeEnum = "gbp_tag" NacTagTypeEnum_MATCH NacTagTypeEnum = "match" NacTagTypeEnum_RADIUSATTRS NacTagTypeEnum = "radius_attrs" NacTagTypeEnum_RADIUSGROUP NacTagTypeEnum = "radius_group" NacTagTypeEnum_RADIUSVENDORATTRS NacTagTypeEnum = "radius_vendor_attrs" NacTagTypeEnum_REDIRECTNACPORTALID NacTagTypeEnum = "redirect_nacportal_id" NacTagTypeEnum_SESSIONTIMEOUT NacTagTypeEnum = "session_timeout" NacTagTypeEnum_USERNAMEATTR NacTagTypeEnum = "username_attr" NacTagTypeEnum_VLAN NacTagTypeEnum = "vlan" )
type NacTagUsernameAttrEnum ¶ added in v0.2.38
type NacTagUsernameAttrEnum string
NacTagUsernameAttrEnum is a string enum. enum: `automatic`, `cn`, `dns`, `email`, `upn`
const ( NacTagUsernameAttrEnum_AUTOMATIC NacTagUsernameAttrEnum = "automatic" NacTagUsernameAttrEnum_CN NacTagUsernameAttrEnum = "cn" NacTagUsernameAttrEnum_DNS NacTagUsernameAttrEnum = "dns" NacTagUsernameAttrEnum_EMAIL NacTagUsernameAttrEnum = "email" NacTagUsernameAttrEnum_UPN NacTagUsernameAttrEnum = "upn" )
type NameString ¶
type NameString struct {
Name *string `json:"name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
NameString represents a NameString struct.
func (NameString) MarshalJSON ¶
func (n NameString) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NameString. It customizes the JSON marshaling process for NameString objects.
func (NameString) String ¶ added in v0.4.23
func (n NameString) String() string
String implements the fmt.Stringer interface for NameString, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NameString) UnmarshalJSON ¶
func (n *NameString) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NameString. It customizes the JSON unmarshaling process for NameString objects.
type Network ¶
type Network struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// Whether to disallow Mist Devices in the network
DisallowMistServices *bool `json:"disallow_mist_services,omitempty"`
Gateway *string `json:"gateway,omitempty"`
Gateway6 *string `json:"gateway6,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
InternalAccess *NetworkInternalAccess `json:"internal_access,omitempty"`
// Whether this network has direct internet access
InternetAccess *NetworkInternetAccess `json:"internet_access,omitempty"`
// Whether to allow clients in the network to talk to each other
Isolation *bool `json:"isolation,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
// Whether to enable multicast support (only PIM-sparse mode is supported)
Multicast *NetworkMulticast `json:"multicast,omitempty"`
Name string `json:"name"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// For a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
RoutedForNetworks []string `json:"routed_for_networks,omitempty"`
Subnet *string `json:"subnet,omitempty"`
Subnet6 *string `json:"subnet6,omitempty"`
// Property key must be the user/tenant name (i.e. "printer-1") or a Variable (i.e. "{{myvar}}")
Tenants map[string]NetworkTenant `json:"tenants,omitempty"`
VlanId *VlanIdWithVariable `json:"vlan_id,omitempty"`
// Property key is the VPN name. Whether this network can be accessed from vpn
VpnAccess map[string]NetworkVpnAccessConfig `json:"vpn_access,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Network represents a Network struct. Networks are usually subnets that have cross-site significance. `networks`in Org Settings will got merged into `networks`in Site Setting. For gateways, they can be used to define Service Routes.
func (Network) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Network. It customizes the JSON marshaling process for Network objects.
func (Network) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Network, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Network) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Network. It customizes the JSON unmarshaling process for Network objects.
type NetworkInternalAccess ¶
type NetworkInternalAccess struct {
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
NetworkInternalAccess represents a NetworkInternalAccess struct.
func (NetworkInternalAccess) MarshalJSON ¶
func (n NetworkInternalAccess) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NetworkInternalAccess. It customizes the JSON marshaling process for NetworkInternalAccess objects.
func (NetworkInternalAccess) String ¶ added in v0.4.23
func (n NetworkInternalAccess) String() string
String implements the fmt.Stringer interface for NetworkInternalAccess, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NetworkInternalAccess) UnmarshalJSON ¶
func (n *NetworkInternalAccess) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NetworkInternalAccess. It customizes the JSON unmarshaling process for NetworkInternalAccess objects.
type NetworkInternetAccess ¶
type NetworkInternetAccess struct {
CreateSimpleServicePolicy *bool `json:"create_simple_service_policy,omitempty"`
// Property key can be an External IP (i.e. "63.16.0.3"), an External IP:Port (i.e. "63.16.0.3:443"), an External Port (i.e. ":443"), an External CIDR (i.e. "63.16.0.0/30"), an External CIDR:Port (i.e. "63.16.0.0/30:443") or a Variable (i.e. "{{myvar}}"). At least one of the `internal_ip` or `port` must be defined
DestinationNat map[string]NetworkInternetAccessDestinationNatProperty `json:"destination_nat,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// By default, all access is allowed, to only allow certain traffic, make `restricted`=`true` and define service_policies
Restricted *bool `json:"restricted,omitempty"`
// Property key may be an External IP Address (i.e. "63.16.0.3"), a CIDR (i.e. "63.16.0.12/20") or a Variable (i.e. "{{myvar}}")
StaticNat map[string]NetworkInternetAccessStaticNatProperty `json:"static_nat,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
NetworkInternetAccess represents a NetworkInternetAccess struct. Whether this network has direct internet access
func (NetworkInternetAccess) MarshalJSON ¶
func (n NetworkInternetAccess) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NetworkInternetAccess. It customizes the JSON marshaling process for NetworkInternetAccess objects.
func (NetworkInternetAccess) String ¶ added in v0.4.23
func (n NetworkInternetAccess) String() string
String implements the fmt.Stringer interface for NetworkInternetAccess, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NetworkInternetAccess) UnmarshalJSON ¶
func (n *NetworkInternetAccess) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NetworkInternetAccess. It customizes the JSON unmarshaling process for NetworkInternetAccess objects.
type NetworkInternetAccessDestinationNatProperty ¶ added in v0.4.25
type NetworkInternetAccessDestinationNatProperty struct {
// The Destination NAT destination IP Address. Must be an IP (i.e. "192.168.70.30") or a Variable (i.e. "{{myvar}}")
InternalIp *string `json:"internal_ip,omitempty"`
Name *string `json:"name,omitempty"`
// The Destination NAT destination IP Address. Must be a Port (i.e. "443") or a Variable (i.e. "{{myvar}}")
Port *string `json:"port,omitempty"`
// SRX Only. If not set, we configure the nat policies against all WAN ports for simplicity
WanName *string `json:"wan_name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
NetworkInternetAccessDestinationNatProperty represents a NetworkInternetAccessDestinationNatProperty struct.
func (NetworkInternetAccessDestinationNatProperty) MarshalJSON ¶ added in v0.4.25
func (n NetworkInternetAccessDestinationNatProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NetworkInternetAccessDestinationNatProperty. It customizes the JSON marshaling process for NetworkInternetAccessDestinationNatProperty objects.
func (NetworkInternetAccessDestinationNatProperty) String ¶ added in v0.4.25
func (n NetworkInternetAccessDestinationNatProperty) String() string
String implements the fmt.Stringer interface for NetworkInternetAccessDestinationNatProperty, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NetworkInternetAccessDestinationNatProperty) UnmarshalJSON ¶ added in v0.4.25
func (n *NetworkInternetAccessDestinationNatProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NetworkInternetAccessDestinationNatProperty. It customizes the JSON unmarshaling process for NetworkInternetAccessDestinationNatProperty objects.
type NetworkInternetAccessStaticNatProperty ¶ added in v0.4.25
type NetworkInternetAccessStaticNatProperty struct {
// The Static NAT destination IP Address. Must be an IP Address (i.e. "192.168.70.3") or a Variable (i.e. "{{myvar}}")
InternalIp *string `json:"internal_ip,omitempty"`
Name *string `json:"name,omitempty"`
// SRX Only. If not set, we configure the nat policies against all WAN ports for simplicity. Can be a Variable (i.e. "{{myvar}}")
WanName *string `json:"wan_name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
NetworkInternetAccessStaticNatProperty represents a NetworkInternetAccessStaticNatProperty struct.
func (NetworkInternetAccessStaticNatProperty) MarshalJSON ¶ added in v0.4.25
func (n NetworkInternetAccessStaticNatProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NetworkInternetAccessStaticNatProperty. It customizes the JSON marshaling process for NetworkInternetAccessStaticNatProperty objects.
func (NetworkInternetAccessStaticNatProperty) String ¶ added in v0.4.25
func (n NetworkInternetAccessStaticNatProperty) String() string
String implements the fmt.Stringer interface for NetworkInternetAccessStaticNatProperty, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NetworkInternetAccessStaticNatProperty) UnmarshalJSON ¶ added in v0.4.25
func (n *NetworkInternetAccessStaticNatProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NetworkInternetAccessStaticNatProperty. It customizes the JSON unmarshaling process for NetworkInternetAccessStaticNatProperty objects.
type NetworkMulticast ¶ added in v0.4.0
type NetworkMulticast struct {
// If the network will only be the source of the multicast traffic, IGMP can be disabled
DisableIgmp *bool `json:"disable_igmp,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// Group address to RP (rendezvous point) mapping. Property Key is the CIDR (example "225.1.0.3/32")
Groups map[string]NetworkMulticastGroup `json:"groups,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
NetworkMulticast represents a NetworkMulticast struct. Whether to enable multicast support (only PIM-sparse mode is supported)
func (NetworkMulticast) MarshalJSON ¶ added in v0.4.0
func (n NetworkMulticast) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NetworkMulticast. It customizes the JSON marshaling process for NetworkMulticast objects.
func (NetworkMulticast) String ¶ added in v0.4.23
func (n NetworkMulticast) String() string
String implements the fmt.Stringer interface for NetworkMulticast, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NetworkMulticast) UnmarshalJSON ¶ added in v0.4.0
func (n *NetworkMulticast) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NetworkMulticast. It customizes the JSON unmarshaling process for NetworkMulticast objects.
type NetworkMulticastGroup ¶ added in v0.4.0
type NetworkMulticastGroup struct {
// RP (rendezvous point) IP Address
RpIp *string `json:"rp_ip,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
NetworkMulticastGroup represents a NetworkMulticastGroup struct.
func (NetworkMulticastGroup) MarshalJSON ¶ added in v0.4.0
func (n NetworkMulticastGroup) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NetworkMulticastGroup. It customizes the JSON marshaling process for NetworkMulticastGroup objects.
func (NetworkMulticastGroup) String ¶ added in v0.4.23
func (n NetworkMulticastGroup) String() string
String implements the fmt.Stringer interface for NetworkMulticastGroup, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NetworkMulticastGroup) UnmarshalJSON ¶ added in v0.4.0
func (n *NetworkMulticastGroup) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NetworkMulticastGroup. It customizes the JSON unmarshaling process for NetworkMulticastGroup objects.
type NetworkSourceNat ¶
type NetworkSourceNat struct {
ExternalIp *string `json:"external_ip,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
NetworkSourceNat represents a NetworkSourceNat struct. If `routed`==`false` (usually at Spoke), but some hosts needs to be reachable from Hub
func (NetworkSourceNat) MarshalJSON ¶
func (n NetworkSourceNat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NetworkSourceNat. It customizes the JSON marshaling process for NetworkSourceNat objects.
func (NetworkSourceNat) String ¶ added in v0.4.23
func (n NetworkSourceNat) String() string
String implements the fmt.Stringer interface for NetworkSourceNat, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NetworkSourceNat) UnmarshalJSON ¶
func (n *NetworkSourceNat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NetworkSourceNat. It customizes the JSON unmarshaling process for NetworkSourceNat objects.
type NetworkTemplate ¶
type NetworkTemplate struct {
AclPolicies []AclPolicy `json:"acl_policies,omitempty"`
// ACL Tags to identify traffic source or destination. Key name is the tag name
AclTags map[string]AclTag `json:"acl_tags,omitempty"`
// additional CLI commands to append to the generated Junos config. **Note**: no check is done
AdditionalConfigCmds []string `json:"additional_config_cmds,omitempty"`
BgpConfig map[string]SwitchBgpConfig `json:"bgp_config,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
DhcpSnooping *DhcpSnooping `json:"dhcp_snooping,omitempty"`
// Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting
DnsServers []string `json:"dns_servers,omitempty"`
// Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting
DnsSuffix []string `json:"dns_suffix,omitempty"`
// Property key is the destination CIDR (e.g. "10.0.0.0/8")
ExtraRoutes map[string]ExtraRoute `json:"extra_routes,omitempty"`
// Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64")
ExtraRoutes6 map[string]ExtraRoute6 `json:"extra_routes6,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// Org Networks that we'd like to import
ImportOrgNetworks []string `json:"import_org_networks,omitempty"`
// Enable mist_nac to use RadSec
MistNac *SwitchMistNac `json:"mist_nac,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name *string `json:"name,omitempty"`
// Property key is network name
Networks map[string]SwitchNetwork `json:"networks,omitempty"`
// List of NTP servers specific to this device. By default, those in Site Settings will be used
NtpServers []string `json:"ntp_servers,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Junos OSPF areas. Property key is the OSPF Area (Area should be a number (0-255) / IP address)
OspfAreas map[string]OspfArea `json:"ospf_areas,omitempty"`
// Property key is the port mirroring instance name. `port_mirroring` can be added under device/site settings. It takes interface and ports as input for ingress, interface as input for egress and can take interface and port as output. A maximum 4 mirroring ports is allowed
PortMirroring map[string]SwitchPortMirroringProperty `json:"port_mirroring,omitempty"`
// Property key is the port usage name. Defines the profiles of port configuration configured on the switch
PortUsages map[string]SwitchPortUsage `json:"port_usages,omitempty"`
// Junos Radius config
RadiusConfig *SwitchRadiusConfig `json:"radius_config,omitempty"`
RemoteSyslog *RemoteSyslog `json:"remote_syslog,omitempty"`
// By default, only the configuration generated by Mist is cleaned up during the configuration process. If `true`, all the existing configuration will be removed.
RemoveExistingConfigs *bool `json:"remove_existing_configs,omitempty"`
// Property key is the routing policy name
RoutingPolicies map[string]SwRoutingPolicy `json:"routing_policies,omitempty"`
SnmpConfig *SnmpConfig `json:"snmp_config,omitempty"`
// Defines custom switch configuration based on different criteria
SwitchMatching *SwitchMatching `json:"switch_matching,omitempty"`
// Switch settings
SwitchMgmt *SwitchMgmt `json:"switch_mgmt,omitempty"`
VrfConfig *VrfConfig `json:"vrf_config,omitempty"`
// Property key is the network name
VrfInstances map[string]SwitchVrfInstance `json:"vrf_instances,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
NetworkTemplate represents a NetworkTemplate struct. Network Template
func (NetworkTemplate) MarshalJSON ¶
func (n NetworkTemplate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NetworkTemplate. It customizes the JSON marshaling process for NetworkTemplate objects.
func (NetworkTemplate) String ¶ added in v0.4.23
func (n NetworkTemplate) String() string
String implements the fmt.Stringer interface for NetworkTemplate, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NetworkTemplate) UnmarshalJSON ¶
func (n *NetworkTemplate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NetworkTemplate. It customizes the JSON unmarshaling process for NetworkTemplate objects.
type NetworkTenant ¶
type NetworkTenant struct {
Addresses []string `json:"addresses,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
NetworkTenant represents a NetworkTenant struct.
func (NetworkTenant) MarshalJSON ¶
func (n NetworkTenant) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NetworkTenant. It customizes the JSON marshaling process for NetworkTenant objects.
func (NetworkTenant) String ¶ added in v0.4.23
func (n NetworkTenant) String() string
String implements the fmt.Stringer interface for NetworkTenant, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NetworkTenant) UnmarshalJSON ¶
func (n *NetworkTenant) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NetworkTenant. It customizes the JSON unmarshaling process for NetworkTenant objects.
type NetworkVpnAccessConfig ¶
type NetworkVpnAccessConfig struct {
// If `routed`==`true`, whether to advertise an aggregated subnet toward HUB this is useful when there are multiple networks on SPOKE's side
AdvertisedSubnet *string `json:"advertised_subnet,omitempty"`
// Whether to allow ping from vpn into this routed network
AllowPing *bool `json:"allow_ping,omitempty"`
// Property key can be an External IP (i.e. "63.16.0.3"), an External IP:Port (i.e. "63.16.0.3:443"), an External Port (i.e. ":443"), an External CIDR (i.e. "63.16.0.0/30"), an External CIDR:Port (i.e. "63.16.0.0/30:443") or a Variable (i.e. "{{myvar}}"). At least one of the `internal_ip` or `port` must be defined
DestinationNat map[string]NetworkVpnAccessDestinationNatProperty `json:"destination_nat,omitempty"`
// If `routed`==`false` (usually at Spoke), but some hosts needs to be reachable from Hub, a subnet is required to create and advertise the route to Hub
NatPool *string `json:"nat_pool,omitempty"`
// toward LAN-side BGP peers
NoReadvertiseToLanBgp *bool `json:"no_readvertise_to_lan_bgp,omitempty"`
// toward LAN-side OSPF peers
NoReadvertiseToLanOspf *bool `json:"no_readvertise_to_lan_ospf,omitempty"`
// toward overlay, how HUB should deal with routes it received from Spokes
NoReadvertiseToOverlay *bool `json:"no_readvertise_to_overlay,omitempty"`
// By default, the routes are only readvertised toward the same vrf on spoke. To allow it to be leaked to other vrfs
OtherVrfs []string `json:"other_vrfs,omitempty"`
// Whether this network is routable
Routed *bool `json:"routed,omitempty"`
// If `routed`==`false` (usually at Spoke), but some hosts needs to be reachable from Hub
SourceNat *NetworkSourceNat `json:"source_nat,omitempty"`
// Property key may be an External IP Address (i.e. "63.16.0.3"), a CIDR (i.e. "63.16.0.12/20") or a Variable (i.e. "{{myvar}}")
StaticNat map[string]NetworkVpnAccessStaticNatProperty `json:"static_nat,omitempty"`
// toward overlay, how HUB should deal with routes it received from Spokes
SummarizedSubnet *string `json:"summarized_subnet,omitempty"`
// toward LAN-side BGP peers
SummarizedSubnetToLanBgp *string `json:"summarized_subnet_to_lan_bgp,omitempty"`
// toward LAN-side OSPF peers
SummarizedSubnetToLanOspf *string `json:"summarized_subnet_to_lan_ospf,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
NetworkVpnAccessConfig represents a NetworkVpnAccessConfig struct.
func (NetworkVpnAccessConfig) MarshalJSON ¶
func (n NetworkVpnAccessConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NetworkVpnAccessConfig. It customizes the JSON marshaling process for NetworkVpnAccessConfig objects.
func (NetworkVpnAccessConfig) String ¶ added in v0.4.23
func (n NetworkVpnAccessConfig) String() string
String implements the fmt.Stringer interface for NetworkVpnAccessConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NetworkVpnAccessConfig) UnmarshalJSON ¶
func (n *NetworkVpnAccessConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NetworkVpnAccessConfig. It customizes the JSON unmarshaling process for NetworkVpnAccessConfig objects.
type NetworkVpnAccessDestinationNatProperty ¶ added in v0.4.25
type NetworkVpnAccessDestinationNatProperty struct {
// The Destination NAT destination IP Address. Must be an IP (i.e. "192.168.70.30") or a Variable (i.e. "{{myvar}}")
InternalIp *string `json:"internal_ip,omitempty"`
Name *string `json:"name,omitempty"`
Port *string `json:"port,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
NetworkVpnAccessDestinationNatProperty represents a NetworkVpnAccessDestinationNatProperty struct.
func (NetworkVpnAccessDestinationNatProperty) MarshalJSON ¶ added in v0.4.25
func (n NetworkVpnAccessDestinationNatProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NetworkVpnAccessDestinationNatProperty. It customizes the JSON marshaling process for NetworkVpnAccessDestinationNatProperty objects.
func (NetworkVpnAccessDestinationNatProperty) String ¶ added in v0.4.25
func (n NetworkVpnAccessDestinationNatProperty) String() string
String implements the fmt.Stringer interface for NetworkVpnAccessDestinationNatProperty, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NetworkVpnAccessDestinationNatProperty) UnmarshalJSON ¶ added in v0.4.25
func (n *NetworkVpnAccessDestinationNatProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NetworkVpnAccessDestinationNatProperty. It customizes the JSON unmarshaling process for NetworkVpnAccessDestinationNatProperty objects.
type NetworkVpnAccessStaticNatProperty ¶ added in v0.4.25
type NetworkVpnAccessStaticNatProperty struct {
// The Static NAT destination IP Address. Must be an IP Address (i.e. "192.168.70.3") or a Variable (i.e. "{{myvar}}")
InternalIp *string `json:"internal_ip,omitempty"`
Name *string `json:"name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
NetworkVpnAccessStaticNatProperty represents a NetworkVpnAccessStaticNatProperty struct.
func (NetworkVpnAccessStaticNatProperty) MarshalJSON ¶ added in v0.4.25
func (n NetworkVpnAccessStaticNatProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NetworkVpnAccessStaticNatProperty. It customizes the JSON marshaling process for NetworkVpnAccessStaticNatProperty objects.
func (NetworkVpnAccessStaticNatProperty) String ¶ added in v0.4.25
func (n NetworkVpnAccessStaticNatProperty) String() string
String implements the fmt.Stringer interface for NetworkVpnAccessStaticNatProperty, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NetworkVpnAccessStaticNatProperty) UnmarshalJSON ¶ added in v0.4.25
func (n *NetworkVpnAccessStaticNatProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NetworkVpnAccessStaticNatProperty. It customizes the JSON unmarshaling process for NetworkVpnAccessStaticNatProperty objects.
type NoteString ¶
type NoteString struct {
// Some text note describing the intent
Note *string `json:"note,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
NoteString represents a NoteString struct.
func (NoteString) MarshalJSON ¶
func (n NoteString) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NoteString. It customizes the JSON marshaling process for NoteString objects.
func (NoteString) String ¶ added in v0.4.23
func (n NoteString) String() string
String implements the fmt.Stringer interface for NoteString, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NoteString) UnmarshalJSON ¶
func (n *NoteString) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NoteString. It customizes the JSON unmarshaling process for NoteString objects.
type NotesString ¶
type NotesString struct {
Notes *string `json:"notes,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
NotesString represents a NotesString struct.
func (NotesString) MarshalJSON ¶
func (n NotesString) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NotesString. It customizes the JSON marshaling process for NotesString objects.
func (NotesString) String ¶ added in v0.4.23
func (n NotesString) String() string
String implements the fmt.Stringer interface for NotesString, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NotesString) UnmarshalJSON ¶
func (n *NotesString) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NotesString. It customizes the JSON unmarshaling process for NotesString objects.
type NumberOrNull ¶ added in v0.4.87
type NumberOrNull struct {
// contains filtered or unexported fields
}
NumberOrNull represents a NumberOrNull struct.
func (*NumberOrNull) AsPrecision ¶ added in v0.4.87
func (n *NumberOrNull) AsPrecision() ( *float64, bool)
func (NumberOrNull) MarshalJSON ¶ added in v0.4.87
func (n NumberOrNull) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NumberOrNull. It customizes the JSON marshaling process for NumberOrNull objects.
func (NumberOrNull) String ¶ added in v0.4.87
func (n NumberOrNull) String() string
String implements the fmt.Stringer interface for NumberOrNull, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*NumberOrNull) UnmarshalJSON ¶ added in v0.4.87
func (n *NumberOrNull) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NumberOrNull. It customizes the JSON unmarshaling process for NumberOrNull objects.
type OauthAppNameEnum ¶
type OauthAppNameEnum string
OauthAppNameEnum is a string enum. enum: `crowdstrike`, `intune`, `jamf`, `mobicontrol`, `prisma`, `sentinelone`, `teams`, `vmware`, `zdx`, `zoom`
const ( OauthAppNameEnum_CROWDSTRIKE OauthAppNameEnum = "crowdstrike" OauthAppNameEnum_INTUNE OauthAppNameEnum = "intune" OauthAppNameEnum_JAMF OauthAppNameEnum = "jamf" OauthAppNameEnum_MOBICONTROL OauthAppNameEnum = "mobicontrol" OauthAppNameEnum_PRISMA OauthAppNameEnum = "prisma" OauthAppNameEnum_SENTINELONE OauthAppNameEnum = "sentinelone" OauthAppNameEnum_TEAMS OauthAppNameEnum = "teams" OauthAppNameEnum_VMWARE OauthAppNameEnum = "vmware" OauthAppNameEnum_ZDX OauthAppNameEnum = "zdx" OauthAppNameEnum_ZOOM OauthAppNameEnum = "zoom" )
type OauthPingIdentityRegionEnum ¶ added in v0.4.0
type OauthPingIdentityRegionEnum string
OauthPingIdentityRegionEnum is a string enum. enum: `us` (United States, default), `ca` (Canada), `eu` (Europe), `asia` (Asia), `au` (Australia)
const ( OauthPingIdentityRegionEnum_ASIA OauthPingIdentityRegionEnum = "asia" OauthPingIdentityRegionEnum_AU OauthPingIdentityRegionEnum = "au" OauthPingIdentityRegionEnum_CA OauthPingIdentityRegionEnum = "ca" OauthPingIdentityRegionEnum_EU OauthPingIdentityRegionEnum = "eu" OauthPingIdentityRegionEnum_US OauthPingIdentityRegionEnum = "us" )
type OpticPortConfigPort ¶ added in v0.4.0
type OpticPortConfigPort struct {
// Enable channelization
Channelized *bool `json:"channelized,omitempty"`
// Interface speed (e.g. `25g`, `50g`), use the chassis speed by default
Speed *string `json:"speed,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OpticPortConfigPort represents a OpticPortConfigPort struct.
func (OpticPortConfigPort) MarshalJSON ¶ added in v0.4.0
func (o OpticPortConfigPort) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OpticPortConfigPort. It customizes the JSON marshaling process for OpticPortConfigPort objects.
func (OpticPortConfigPort) String ¶ added in v0.4.23
func (o OpticPortConfigPort) String() string
String implements the fmt.Stringer interface for OpticPortConfigPort, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OpticPortConfigPort) UnmarshalJSON ¶ added in v0.4.0
func (o *OpticPortConfigPort) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OpticPortConfigPort. It customizes the JSON unmarshaling process for OpticPortConfigPort objects.
type Optional ¶
Optional is a generic struct that allows any type to be used as optional and nullable. Optional.set is true when Optional.value is to be used.
func EmptyOptional ¶
EmptyOptional creates and returns an Optional instance with empty value.
func NewOptional ¶
NewOptional creates and returns an Optional instance with the given value set.
func (*Optional[T]) IsValueSet ¶
IsValueSet returns true if a value is set in the Optional, false otherwise.
func (*Optional[T]) SetValue ¶
func (o *Optional[T]) SetValue(value *T)
SetValue sets the value of the Optional.
func (*Optional[T]) ShouldSetValue ¶
ShouldSetValue sets whether the value should be used or not.
type Org ¶
type Org struct {
AlarmtemplateId Optional[uuid.UUID] `json:"alarmtemplate_id"`
AllowMist *bool `json:"allow_mist,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
MspId *uuid.UUID `json:"msp_id,omitempty"`
// logo uploaded by the MSP with advanced tier, only present if provided
MspLogoUrl *string `json:"msp_logo_url,omitempty"`
// Name of the msp the org belongs to
MspName *string `json:"msp_name,omitempty"`
Name string `json:"name"`
OrggroupIds []uuid.UUID `json:"orggroup_ids,omitempty"`
SessionExpiry *int `json:"session_expiry,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Org represents a Org struct.
func (Org) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Org. It customizes the JSON marshaling process for Org objects.
func (Org) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Org, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Org) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Org. It customizes the JSON unmarshaling process for Org objects.
type OrgApitoken ¶
type OrgApitoken struct {
// email of the token creator / null if creator is deleted
CreatedBy Optional[string] `json:"created_by"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Key *string `json:"key,omitempty"`
LastUsed Optional[float64] `json:"last_used"`
// Name of the token
Name string `json:"name"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// List of privileges the token has on the orgs/sites
Privileges []PrivilegeOrg `json:"privileges,omitempty"`
// List of allowed IP addresses from where the token can be used from. At most 10 IP addresses can be specified, cannot be changed once the API Token is created.
SrcIps []string `json:"src_ips,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgApitoken represents a OrgApitoken struct. Org API Token **Note:** `privilege` field is required to create the object, but may not be returned in the POST API Response (only in the afterward GET)
func (OrgApitoken) MarshalJSON ¶
func (o OrgApitoken) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgApitoken. It customizes the JSON marshaling process for OrgApitoken objects.
func (OrgApitoken) String ¶ added in v0.4.23
func (o OrgApitoken) String() string
String implements the fmt.Stringer interface for OrgApitoken, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgApitoken) UnmarshalJSON ¶
func (o *OrgApitoken) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgApitoken. It customizes the JSON unmarshaling process for OrgApitoken objects.
type OrgAssetCountDistinctEnum ¶
type OrgAssetCountDistinctEnum string
OrgAssetCountDistinctEnum is a string enum. enum: `ibeacon_major`, `ibeacon_minor`, `ibeacon_uuid`, `mac`, `map_id`, `site_id`
const ( OrgAssetCountDistinctEnum_IBEACONMAJOR OrgAssetCountDistinctEnum = "ibeacon_major" OrgAssetCountDistinctEnum_IBEACONMINOR OrgAssetCountDistinctEnum = "ibeacon_minor" OrgAssetCountDistinctEnum_IBEACONUUID OrgAssetCountDistinctEnum = "ibeacon_uuid" OrgAssetCountDistinctEnum_MAC OrgAssetCountDistinctEnum = "mac" OrgAssetCountDistinctEnum_MAPID OrgAssetCountDistinctEnum = "map_id" OrgAssetCountDistinctEnum_SITEID OrgAssetCountDistinctEnum = "site_id" )
type OrgClientSessionsCountDistinctEnum ¶
type OrgClientSessionsCountDistinctEnum string
OrgClientSessionsCountDistinctEnum is a string enum. enum: `ap`, `device`, `hostname`, `ip`, `model`, `os`, `ssid`, `vlan`
const ( OrgClientSessionsCountDistinctEnum_AP OrgClientSessionsCountDistinctEnum = "ap" OrgClientSessionsCountDistinctEnum_DEVICE OrgClientSessionsCountDistinctEnum = "device" OrgClientSessionsCountDistinctEnum_HOSTNAME OrgClientSessionsCountDistinctEnum = "hostname" OrgClientSessionsCountDistinctEnum_IP OrgClientSessionsCountDistinctEnum = "ip" OrgClientSessionsCountDistinctEnum_MODEL OrgClientSessionsCountDistinctEnum = "model" OrgClientSessionsCountDistinctEnum_OS OrgClientSessionsCountDistinctEnum = "os" OrgClientSessionsCountDistinctEnum_SSID OrgClientSessionsCountDistinctEnum = "ssid" OrgClientSessionsCountDistinctEnum_VLAN OrgClientSessionsCountDistinctEnum = "vlan" )
type OrgClientsCountDistinctEnum ¶
type OrgClientsCountDistinctEnum string
OrgClientsCountDistinctEnum is a string enum. enum: `ap`, `device`, `hostname`, `ip`, `mac`, `model`, `os`, `ssid`, `vlan`
const ( OrgClientsCountDistinctEnum_AP OrgClientsCountDistinctEnum = "ap" OrgClientsCountDistinctEnum_DEVICE OrgClientsCountDistinctEnum = "device" OrgClientsCountDistinctEnum_HOSTNAME OrgClientsCountDistinctEnum = "hostname" OrgClientsCountDistinctEnum_IP OrgClientsCountDistinctEnum = "ip" OrgClientsCountDistinctEnum_MAC OrgClientsCountDistinctEnum = "mac" OrgClientsCountDistinctEnum_MODEL OrgClientsCountDistinctEnum = "model" OrgClientsCountDistinctEnum_OS OrgClientsCountDistinctEnum = "os" OrgClientsCountDistinctEnum_SSID OrgClientsCountDistinctEnum = "ssid" OrgClientsCountDistinctEnum_VLAN OrgClientsCountDistinctEnum = "vlan" )
type OrgCrlImportFile ¶
type OrgCrlImportFile struct {
// a PEM or DER formatted CRL file
File *[]byte `json:"file,omitempty"`
// a JSON string with "name" field for CRL file issuer (optional)
Json *string `json:"json,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgCrlImportFile represents a OrgCrlImportFile struct.
func (OrgCrlImportFile) MarshalJSON ¶
func (o OrgCrlImportFile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgCrlImportFile. It customizes the JSON marshaling process for OrgCrlImportFile objects.
func (OrgCrlImportFile) String ¶ added in v0.4.23
func (o OrgCrlImportFile) String() string
String implements the fmt.Stringer interface for OrgCrlImportFile, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgCrlImportFile) UnmarshalJSON ¶
func (o *OrgCrlImportFile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgCrlImportFile. It customizes the JSON unmarshaling process for OrgCrlImportFile objects.
type OrgDevice ¶
type OrgDevice struct {
Mac string `json:"mac"`
Name string `json:"name"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgDevice represents a OrgDevice struct.
func (OrgDevice) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for OrgDevice. It customizes the JSON marshaling process for OrgDevice objects.
func (OrgDevice) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for OrgDevice, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgDevice) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for OrgDevice. It customizes the JSON unmarshaling process for OrgDevice objects.
type OrgDevicesCountDistinctEnum ¶
type OrgDevicesCountDistinctEnum string
OrgDevicesCountDistinctEnum is a string enum. enum: `hostname`, `ip`, `lldp_mgmt_addr`, `lldp_port_id`, `lldp_system_desc`, `lldp_system_name`, `mac`, `model`, `mxedge_id`, `mxtunnel_status`, `site_id`, `version`
const ( OrgDevicesCountDistinctEnum_HOSTNAME OrgDevicesCountDistinctEnum = "hostname" OrgDevicesCountDistinctEnum_IP OrgDevicesCountDistinctEnum = "ip" OrgDevicesCountDistinctEnum_LLDPMGMTADDR OrgDevicesCountDistinctEnum = "lldp_mgmt_addr" OrgDevicesCountDistinctEnum_LLDPPORTID OrgDevicesCountDistinctEnum = "lldp_port_id" OrgDevicesCountDistinctEnum_LLDPSYSTEMDESC OrgDevicesCountDistinctEnum = "lldp_system_desc" OrgDevicesCountDistinctEnum_LLDPSYSTEMNAME OrgDevicesCountDistinctEnum = "lldp_system_name" OrgDevicesCountDistinctEnum_MAC OrgDevicesCountDistinctEnum = "mac" OrgDevicesCountDistinctEnum_MODEL OrgDevicesCountDistinctEnum = "model" OrgDevicesCountDistinctEnum_MXEDGEID OrgDevicesCountDistinctEnum = "mxedge_id" OrgDevicesCountDistinctEnum_MXTUNNELSTATUS OrgDevicesCountDistinctEnum = "mxtunnel_status" OrgDevicesCountDistinctEnum_SITEID OrgDevicesCountDistinctEnum = "site_id" OrgDevicesCountDistinctEnum_VERSION OrgDevicesCountDistinctEnum = "version" )
type OrgDevicesEventsCountDistinctEnum ¶
type OrgDevicesEventsCountDistinctEnum string
OrgDevicesEventsCountDistinctEnum is a string enum. enum: `ap`, `apfw`, `model`, `org_id`, `site_id`, `text`, `timestamp`, `type`
const ( OrgDevicesEventsCountDistinctEnum_AP OrgDevicesEventsCountDistinctEnum = "ap" OrgDevicesEventsCountDistinctEnum_APFW OrgDevicesEventsCountDistinctEnum = "apfw" OrgDevicesEventsCountDistinctEnum_MODEL OrgDevicesEventsCountDistinctEnum = "model" OrgDevicesEventsCountDistinctEnum_ORGID OrgDevicesEventsCountDistinctEnum = "org_id" OrgDevicesEventsCountDistinctEnum_SITEID OrgDevicesEventsCountDistinctEnum = "site_id" OrgDevicesEventsCountDistinctEnum_TEXT OrgDevicesEventsCountDistinctEnum = "text" OrgDevicesEventsCountDistinctEnum_TIMESTAMP OrgDevicesEventsCountDistinctEnum = "timestamp" OrgDevicesEventsCountDistinctEnum_ENUMTYPE OrgDevicesEventsCountDistinctEnum = "type" )
type OrgDevicesLastConfigsCountDistinctEnum ¶
type OrgDevicesLastConfigsCountDistinctEnum string
OrgDevicesLastConfigsCountDistinctEnum is a string enum. enum: `mac`, `name`, `site_id`, `version`
const ( OrgDevicesLastConfigsCountDistinctEnum_MAC OrgDevicesLastConfigsCountDistinctEnum = "mac" OrgDevicesLastConfigsCountDistinctEnum_NAME OrgDevicesLastConfigsCountDistinctEnum = "name" OrgDevicesLastConfigsCountDistinctEnum_SITEID OrgDevicesLastConfigsCountDistinctEnum = "site_id" OrgDevicesLastConfigsCountDistinctEnum_VERSION OrgDevicesLastConfigsCountDistinctEnum = "version" )
type OrgEvent ¶
type OrgEvent struct {
OrgId *uuid.UUID `json:"org_id,omitempty"`
Text *string `json:"text,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
Type *string `json:"type,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgEvent represents a OrgEvent struct.
func (OrgEvent) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for OrgEvent. It customizes the JSON marshaling process for OrgEvent objects.
func (OrgEvent) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for OrgEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgEvent) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for OrgEvent. It customizes the JSON unmarshaling process for OrgEvent objects.
type OrgGuestsCountDistinctEnum ¶
type OrgGuestsCountDistinctEnum string
OrgGuestsCountDistinctEnum is a string enum. enum: `auth_method`, `company`, `ssid`
const ( OrgGuestsCountDistinctEnum_AUTHMETHOD OrgGuestsCountDistinctEnum = "auth_method" OrgGuestsCountDistinctEnum_COMPANY OrgGuestsCountDistinctEnum = "company" OrgGuestsCountDistinctEnum_SSID OrgGuestsCountDistinctEnum = "ssid" )
type OrgLicenseAction ¶
type OrgLicenseAction struct {
// If `op`==`unamend`, the ID of the operation to cancel
AmendmentId *uuid.UUID `json:"amendment_id,omitempty"`
// If `op`==`amend`, the id of the org where the license is moved
DstOrgId *uuid.UUID `json:"dst_org_id,omitempty"`
// If `op`==`annotate`
Notes *string `json:"notes,omitempty"`
// to move a license, use the `amend` operation. enum: `amend`, `annotate`, `delete`, `unamend`
Op OrgLicenseActionOperationEnum `json:"op"`
// If `op`==`amend`, the number of licenses to move
Quantity *int `json:"quantity,omitempty"`
// If `op`==`amend` or `op`==`delete`, the ID of the subscription to use
SubscriptionId *string `json:"subscription_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgLicenseAction represents a OrgLicenseAction struct.
func (OrgLicenseAction) MarshalJSON ¶
func (o OrgLicenseAction) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgLicenseAction. It customizes the JSON marshaling process for OrgLicenseAction objects.
func (OrgLicenseAction) String ¶ added in v0.4.23
func (o OrgLicenseAction) String() string
String implements the fmt.Stringer interface for OrgLicenseAction, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgLicenseAction) UnmarshalJSON ¶
func (o *OrgLicenseAction) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgLicenseAction. It customizes the JSON unmarshaling process for OrgLicenseAction objects.
type OrgLicenseActionOperationEnum ¶
type OrgLicenseActionOperationEnum string
OrgLicenseActionOperationEnum is a string enum. to move a license, use the `amend` operation. enum: `amend`, `annotate`, `delete`, `unamend`
const ( OrgLicenseActionOperationEnum_AMEND OrgLicenseActionOperationEnum = "amend" OrgLicenseActionOperationEnum_ANNOTATE OrgLicenseActionOperationEnum = "annotate" OrgLicenseActionOperationEnum_DELETE OrgLicenseActionOperationEnum = "delete" OrgLicenseActionOperationEnum_UNAMEND OrgLicenseActionOperationEnum = "unamend" )
type OrgLogsCountDistinctEnum ¶
type OrgLogsCountDistinctEnum string
OrgLogsCountDistinctEnum is a string enum. enum: `admin_id`, `admin_name`, `message`, `site_id`
const ( OrgLogsCountDistinctEnum_ADMINID OrgLogsCountDistinctEnum = "admin_id" OrgLogsCountDistinctEnum_ADMINNAME OrgLogsCountDistinctEnum = "admin_name" OrgLogsCountDistinctEnum_MESSAGE OrgLogsCountDistinctEnum = "message" OrgLogsCountDistinctEnum_SITEID OrgLogsCountDistinctEnum = "site_id" )
type OrgMxedgeCountDistinctEnum ¶
type OrgMxedgeCountDistinctEnum string
OrgMxedgeCountDistinctEnum is a string enum. enum: `distro`, `model`, `mxcluster_id`, `site_id`, `tunterm_version`
const ( OrgMxedgeCountDistinctEnum_DISTRO OrgMxedgeCountDistinctEnum = "distro" OrgMxedgeCountDistinctEnum_MODEL OrgMxedgeCountDistinctEnum = "model" OrgMxedgeCountDistinctEnum_MXCLUSTERID OrgMxedgeCountDistinctEnum = "mxcluster_id" OrgMxedgeCountDistinctEnum_SITEID OrgMxedgeCountDistinctEnum = "site_id" OrgMxedgeCountDistinctEnum_TUNTERMVERSION OrgMxedgeCountDistinctEnum = "tunterm_version" )
type OrgMxedgeEventsCountDistinctEnum ¶
type OrgMxedgeEventsCountDistinctEnum string
OrgMxedgeEventsCountDistinctEnum is a string enum. enum: `mxcluster_id`, `mxedge_id`, `package`, `type`
const ( OrgMxedgeEventsCountDistinctEnum_MXCLUSTERID OrgMxedgeEventsCountDistinctEnum = "mxcluster_id" OrgMxedgeEventsCountDistinctEnum_MXEDGEID OrgMxedgeEventsCountDistinctEnum = "mxedge_id" OrgMxedgeEventsCountDistinctEnum_ENUMPACKAGE OrgMxedgeEventsCountDistinctEnum = "package" OrgMxedgeEventsCountDistinctEnum_ENUMTYPE OrgMxedgeEventsCountDistinctEnum = "type" )
type OrgNacClientEventsCountDistinctEnum ¶
type OrgNacClientEventsCountDistinctEnum string
OrgNacClientEventsCountDistinctEnum is a string enum. enum: `ap`, `auth_type`, `dryrun_nacrule_id`, `mac`, `nacrule_id`, `nas_vendor`, `ssid`, `type`, `username`, `vlan`
const ( OrgNacClientEventsCountDistinctEnum_AP OrgNacClientEventsCountDistinctEnum = "ap" OrgNacClientEventsCountDistinctEnum_AUTHTYPE OrgNacClientEventsCountDistinctEnum = "auth_type" OrgNacClientEventsCountDistinctEnum_DRYRUNNACRULEID OrgNacClientEventsCountDistinctEnum = "dryrun_nacrule_id" OrgNacClientEventsCountDistinctEnum_MAC OrgNacClientEventsCountDistinctEnum = "mac" OrgNacClientEventsCountDistinctEnum_NACRULEID OrgNacClientEventsCountDistinctEnum = "nacrule_id" OrgNacClientEventsCountDistinctEnum_NASVENDOR OrgNacClientEventsCountDistinctEnum = "nas_vendor" OrgNacClientEventsCountDistinctEnum_SSID OrgNacClientEventsCountDistinctEnum = "ssid" OrgNacClientEventsCountDistinctEnum_ENUMTYPE OrgNacClientEventsCountDistinctEnum = "type" OrgNacClientEventsCountDistinctEnum_USERNAME OrgNacClientEventsCountDistinctEnum = "username" OrgNacClientEventsCountDistinctEnum_VLAN OrgNacClientEventsCountDistinctEnum = "vlan" )
type OrgNacClientsCountDistinctEnum ¶
type OrgNacClientsCountDistinctEnum string
OrgNacClientsCountDistinctEnum is a string enum. enum: `ap`, `auth_type`, `device_mac`, `edr_managed`, `edr_provider`, `edr_status`, `family`, `hostname`, `idp_id`, `mfg`, `mdm_compliance`, `mdm_managed`, `mdm_provider`, `model`, `mxedge_id`, `nacrule_matched`, `nacrule_name`, `nacrule_id`, `nas_ip`, `nas_vendor`, `os`, `site_id`, `ssid`, `status`, `type`, `usermac_label`, `username`, `vlan`
const ( OrgNacClientsCountDistinctEnum_AP OrgNacClientsCountDistinctEnum = "ap" OrgNacClientsCountDistinctEnum_AUTHTYPE OrgNacClientsCountDistinctEnum = "auth_type" OrgNacClientsCountDistinctEnum_DEVICEMAC OrgNacClientsCountDistinctEnum = "device_mac" OrgNacClientsCountDistinctEnum_EDRMANAGED OrgNacClientsCountDistinctEnum = "edr_managed" OrgNacClientsCountDistinctEnum_EDRPROVIDER OrgNacClientsCountDistinctEnum = "edr_provider" OrgNacClientsCountDistinctEnum_EDRSTATUS OrgNacClientsCountDistinctEnum = "edr_status" OrgNacClientsCountDistinctEnum_FAMILY OrgNacClientsCountDistinctEnum = "family" OrgNacClientsCountDistinctEnum_HOSTNAME OrgNacClientsCountDistinctEnum = "hostname" OrgNacClientsCountDistinctEnum_IDPID OrgNacClientsCountDistinctEnum = "idp_id" OrgNacClientsCountDistinctEnum_MFG OrgNacClientsCountDistinctEnum = "mfg" OrgNacClientsCountDistinctEnum_MDMCOMPLIANCE OrgNacClientsCountDistinctEnum = "mdm_compliance" OrgNacClientsCountDistinctEnum_MDMMANAGED OrgNacClientsCountDistinctEnum = "mdm_managed" OrgNacClientsCountDistinctEnum_MDMPROVIDER OrgNacClientsCountDistinctEnum = "mdm_provider" OrgNacClientsCountDistinctEnum_MODEL OrgNacClientsCountDistinctEnum = "model" OrgNacClientsCountDistinctEnum_MXEDGEID OrgNacClientsCountDistinctEnum = "mxedge_id" OrgNacClientsCountDistinctEnum_NACRULEMATCHED OrgNacClientsCountDistinctEnum = "nacrule_matched" OrgNacClientsCountDistinctEnum_NACRULENAME OrgNacClientsCountDistinctEnum = "nacrule_name" OrgNacClientsCountDistinctEnum_NACRULEID OrgNacClientsCountDistinctEnum = "nacrule_id" OrgNacClientsCountDistinctEnum_NASIP OrgNacClientsCountDistinctEnum = "nas_ip" OrgNacClientsCountDistinctEnum_NASVENDOR OrgNacClientsCountDistinctEnum = "nas_vendor" OrgNacClientsCountDistinctEnum_OS OrgNacClientsCountDistinctEnum = "os" OrgNacClientsCountDistinctEnum_SITEID OrgNacClientsCountDistinctEnum = "site_id" OrgNacClientsCountDistinctEnum_SSID OrgNacClientsCountDistinctEnum = "ssid" OrgNacClientsCountDistinctEnum_STATUS OrgNacClientsCountDistinctEnum = "status" OrgNacClientsCountDistinctEnum_ENUMTYPE OrgNacClientsCountDistinctEnum = "type" OrgNacClientsCountDistinctEnum_USERMACLABEL OrgNacClientsCountDistinctEnum = "usermac_label" OrgNacClientsCountDistinctEnum_USERNAME OrgNacClientsCountDistinctEnum = "username" OrgNacClientsCountDistinctEnum_VLAN OrgNacClientsCountDistinctEnum = "vlan" )
type OrgOtherdevicesEventsCountDistinctEnum ¶
type OrgOtherdevicesEventsCountDistinctEnum string
OrgOtherdevicesEventsCountDistinctEnum is a string enum. enum: `mac`, `site_id`, `type`, `vendor`
const ( OrgOtherdevicesEventsCountDistinctEnum_MAC OrgOtherdevicesEventsCountDistinctEnum = "mac" OrgOtherdevicesEventsCountDistinctEnum_SITEID OrgOtherdevicesEventsCountDistinctEnum = "site_id" OrgOtherdevicesEventsCountDistinctEnum_ENUMTYPE OrgOtherdevicesEventsCountDistinctEnum = "type" OrgOtherdevicesEventsCountDistinctEnum_VENDOR OrgOtherdevicesEventsCountDistinctEnum = "vendor" )
type OrgPskPortalLogsCountDistinctEnum ¶
type OrgPskPortalLogsCountDistinctEnum string
OrgPskPortalLogsCountDistinctEnum is a string enum. enum: `admin_id`, `admin_name`, `psk_id`, `psk_name`, `pskportal_id`, `user_id`
const ( OrgPskPortalLogsCountDistinctEnum_ADMINID OrgPskPortalLogsCountDistinctEnum = "admin_id" OrgPskPortalLogsCountDistinctEnum_ADMINNAME OrgPskPortalLogsCountDistinctEnum = "admin_name" OrgPskPortalLogsCountDistinctEnum_PSKID OrgPskPortalLogsCountDistinctEnum = "psk_id" OrgPskPortalLogsCountDistinctEnum_PSKNAME OrgPskPortalLogsCountDistinctEnum = "psk_name" OrgPskPortalLogsCountDistinctEnum_PSKPORTALID OrgPskPortalLogsCountDistinctEnum = "pskportal_id" OrgPskPortalLogsCountDistinctEnum_USERID OrgPskPortalLogsCountDistinctEnum = "user_id" )
type OrgServicePolicy ¶ added in v0.2.14
type OrgServicePolicy struct {
// SRX only
Aamw *ServicePolicyAamw `json:"aamw,omitempty"`
// enum: `allow`, `deny`
Action *AllowDenyEnum `json:"action,omitempty"`
// For SRX-only
Antivirus *ServicePolicyAntivirus `json:"antivirus,omitempty"`
// SRX only
Appqoe *ServicePolicyAppqoe `json:"appqoe,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
Ewf []ServicePolicyEwfRule `json:"ewf,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Idp *IdpConfig `json:"idp,omitempty"`
// access within the same VRF
LocalRouting *bool `json:"local_routing,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name *string `json:"name,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// By default, we derive all paths available and use them, optionally, you can customize by using `path_preference`
PathPreference *string `json:"path_preference,omitempty"`
// SRX only
Secintel *ServicePolicySecintel `json:"secintel,omitempty"`
Services []string `json:"services,omitempty"`
// For SRX-only
SslProxy *ServicePolicySslProxy `json:"ssl_proxy,omitempty"`
Tenants []string `json:"tenants,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgServicePolicy represents a OrgServicePolicy struct.
func (OrgServicePolicy) MarshalJSON ¶ added in v0.2.14
func (o OrgServicePolicy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgServicePolicy. It customizes the JSON marshaling process for OrgServicePolicy objects.
func (OrgServicePolicy) String ¶ added in v0.4.23
func (o OrgServicePolicy) String() string
String implements the fmt.Stringer interface for OrgServicePolicy, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgServicePolicy) UnmarshalJSON ¶ added in v0.2.14
func (o *OrgServicePolicy) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgServicePolicy. It customizes the JSON unmarshaling process for OrgServicePolicy objects.
type OrgSetting ¶
type OrgSetting struct {
// Enable threshold-based device down delivery for AP devices only. When configured it takes effect for AP devices and `device_updown_threshold` is ignored.
ApUpdownThreshold Optional[int] `json:"ap_updown_threshold"`
ApiPolicy *OrgSettingApiPolicy `json:"api_policy,omitempty"`
AutoDeviceNaming *OrgSettingAutoDeviceNaming `json:"auto_device_naming,omitempty"`
AutoDeviceprofileAssignment *OrgSettingAutoDeviceprofileAssignment `json:"auto_deviceprofile_assignment,omitempty"`
AutoSiteAssignment *OrgSettingAutoSiteAssignment `json:"auto_site_assignment,omitempty"`
BlacklistUrl *string `json:"blacklist_url,omitempty"`
// RADSec certificates for AP
Cacerts []string `json:"cacerts,omitempty"`
Celona *OrgSettingCelona `json:"celona,omitempty"`
Cloudshark *OrgSettingCloudshark `json:"cloudshark,omitempty"`
Cradlepoint *OrgSettingCradlepoint `json:"cradlepoint,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// common device cert, optional
DeviceCert *OrgSettingDeviceCert `json:"device_cert,omitempty"`
// Enable threshold-based device down delivery via
// * device-updowns webhooks topic,
// * Mist Alert Framework; e.g. send AP/SW/GW down event only if AP/SW/GW Up is not seen within the threshold in minutes; 0 - 240, default is 0 (trigger immediate)
DeviceUpdownThreshold Optional[int] `json:"device_updown_threshold"`
// Whether to disallow Mist to analyze pcap files (this is required for marvis pcap)
DisablePcap *bool `json:"disable_pcap,omitempty"`
// Whether to disable remote shell access for an entire org
DisableRemoteShell *bool `json:"disable_remote_shell,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
GatewayMgmt *OrgSettingGatewayMgmt `json:"gateway_mgmt,omitempty"`
// Enable threshold-based device down delivery for Gateway devices only. When configured it takes effect for GW devices and `device_updown_threshold` is ignored.
GatewayUpdownThreshold Optional[int] `json:"gateway_updown_threshold"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Installer *OrgSettingInstaller `json:"installer,omitempty"`
Jcloud *OrgSettingJcloud `json:"jcloud,omitempty"`
// JCloud Routing Assurance connexion
JcloudRa *OrgSettingJcloudRa `json:"jcloud_ra,omitempty"`
Juniper *AccountJuniperInfo `json:"juniper,omitempty"`
JuniperSrx *OrgSettingJuniperSrx `json:"juniper_srx,omitempty"`
// junos_shell_access: Manages role-based web-shell access.
// When junos_shell access is not defined (Default) - No additional users are configured and web-shell uses default `mist` user to login.
// When junos_shell_access is defined - Additional users mist-web-admin (admin permission), mist-web-viewer(viewer permission) are configured on the device and web-shell logs in with the mist-web-admin/mist-web-viewer user depending upon the shell access level. Setting the shell access level to "none", disables web-shell access for that specific role.
JunosShellAccess *OrgSettingJunosShellAccess `json:"junos_shell_access,omitempty"`
Marvis *Marvis `json:"marvis,omitempty"`
// management-related properties
Mgmt *OrgSettingMgmt `json:"mgmt,omitempty"`
MistNac *OrgSettingMistNac `json:"mist_nac,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
MspId *uuid.UUID `json:"msp_id,omitempty"`
MxedgeMgmt *MxedgeMgmt `json:"mxedge_mgmt,omitempty"`
// Property key is the interface name or range (e.g. `et-0/0/47`, `et-0/0/48-49`)
OpticPortConfig map[string]OpticPortConfigPort `json:"optic_port_config,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// password policy
PasswordPolicy *OrgSettingPasswordPolicy `json:"password_policy,omitempty"`
Pcap *OrgSettingPcap `json:"pcap,omitempty"`
PcapBucketVerified *bool `json:"pcap_bucket_verified,omitempty"`
Security *OrgSettingSecurity `json:"security,omitempty"`
// Set of heuristic rules will be enabled when marvis subscription is not available. It triggers when, in a Z minute window, there are more than Y distinct client encountering over X failures
SimpleAlert *SimpleAlert `json:"simple_alert,omitempty"`
Ssr *SettingSsr `json:"ssr,omitempty"`
Switch *OrgSettingSwitch `json:"switch,omitempty"`
SwitchMgmt *OrgSettingSwitchMgmt `json:"switch_mgmt,omitempty"`
// Enable threshold-based device down delivery for Switch devices only. When configured it takes effect for SW devices and `device_updown_threshold` is ignored.
SwitchUpdownThreshold Optional[int] `json:"switch_updown_threshold"`
SyntheticTest *SynthetictestConfig `json:"synthetic_test,omitempty"`
// List of tags
Tags []string `json:"tags,omitempty"`
// Automatically logout the user when UI session is inactive. `0` means disabled
UiIdleTimeout *int `json:"ui_idle_timeout,omitempty"`
UiNoTracking *bool `json:"ui_no_tracking,omitempty"`
VpnOptions *OrgSettingVpnOptions `json:"vpn_options,omitempty"`
WanPma *OrgSettingWanPma `json:"wan_pma,omitempty"`
WiredPma *OrgSettingWiredPma `json:"wired_pma,omitempty"`
WirelessPma *OrgSettingWirelessPma `json:"wireless_pma,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSetting represents a OrgSetting struct. Org Settings
func (OrgSetting) MarshalJSON ¶
func (o OrgSetting) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSetting. It customizes the JSON marshaling process for OrgSetting objects.
func (OrgSetting) String ¶ added in v0.4.23
func (o OrgSetting) String() string
String implements the fmt.Stringer interface for OrgSetting, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSetting) UnmarshalJSON ¶
func (o *OrgSetting) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSetting. It customizes the JSON unmarshaling process for OrgSetting objects.
type OrgSettingApiPolicy ¶
type OrgSettingApiPolicy struct {
// By default, API hides password/secrets when the user doesn't have write access
// * `true`: API will hide passwords/secrets for all users
// * `false`: API will hide passwords/secrets for read-only users
NoReveal *bool `json:"no_reveal,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingApiPolicy represents a OrgSettingApiPolicy struct.
func (OrgSettingApiPolicy) MarshalJSON ¶
func (o OrgSettingApiPolicy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingApiPolicy. It customizes the JSON marshaling process for OrgSettingApiPolicy objects.
func (OrgSettingApiPolicy) String ¶ added in v0.4.23
func (o OrgSettingApiPolicy) String() string
String implements the fmt.Stringer interface for OrgSettingApiPolicy, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingApiPolicy) UnmarshalJSON ¶
func (o *OrgSettingApiPolicy) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingApiPolicy. It customizes the JSON unmarshaling process for OrgSettingApiPolicy objects.
type OrgSettingAutoAssignmentRule ¶ added in v0.4.54
type OrgSettingAutoAssignmentRule struct {
// If `src`==`geoip`. By default, a claimed device only gets assigned if the site exists to auto-create the site, enable this
CreateNewSiteIfNeeded *bool `json:"create_new_site_if_needed,omitempty"`
// If `src`==`name`, `src`==`lldp_system_name`, `src`==`dns_suffix`
// "[0:3]" // "abcdef" -> "abc"
// "split(.)[1]" // "a.b.c" -> "b"
// "split(-)[1][0:3]" // "a1234-b5678-c90" -> "b56"'
Expression Optional[string] `json:"expression"`
// If `src`==`geoip` and `create_new_site_if_needed`==`true`. If a gateway template is desired for this newly created site
GatewaytemplateId *string `json:"gatewaytemplate_id,omitempty"`
// If `src`==`geoip`
MatchCountry *string `json:"match_country,omitempty"`
// enum: `ap`, `gateway`, `switch`
MatchDeviceType *DeviceTypeDefaultApEnum `json:"match_device_type,omitempty"`
// Optional/additional filter
MatchModel *string `json:"match_model,omitempty"`
// If `src`==`model`
Model *string `json:"model,omitempty"`
// If `src`==`name`
Prefix Optional[string] `json:"prefix"`
// enum: `ext_ip`, `dns_suffix`, `geoip`, `lldp_port_desc`, `lldp_system_name`, `model`, `name`, `subnet`
Src OrgSettingAutoSiteAssignmentSrcEnum `json:"src"`
// If `src`==`subnet` or `ext_ip`==`ext_ip`
Subnet *string `json:"subnet,omitempty"`
// If `src`==`name`
Suffix Optional[string] `json:"suffix"`
// If
// * `src`==`ext_ip`, `src`==`subnet` or `src`==`model`, the site name
// * `src`==`geoip`: site name for the device to be assigned to (\"city\" / \"city+country\" / ...)"
Value *string `json:"value,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingAutoAssignmentRule represents a OrgSettingAutoAssignmentRule struct. Auto_rules in org settings
func (OrgSettingAutoAssignmentRule) MarshalJSON ¶ added in v0.4.54
func (o OrgSettingAutoAssignmentRule) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingAutoAssignmentRule. It customizes the JSON marshaling process for OrgSettingAutoAssignmentRule objects.
func (OrgSettingAutoAssignmentRule) String ¶ added in v0.4.54
func (o OrgSettingAutoAssignmentRule) String() string
String implements the fmt.Stringer interface for OrgSettingAutoAssignmentRule, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingAutoAssignmentRule) UnmarshalJSON ¶ added in v0.4.54
func (o *OrgSettingAutoAssignmentRule) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingAutoAssignmentRule. It customizes the JSON unmarshaling process for OrgSettingAutoAssignmentRule objects.
type OrgSettingAutoDeviceNaming ¶
type OrgSettingAutoDeviceNaming struct {
Enable *bool `json:"enable,omitempty"`
Rules Optional[[]OrgSettingAutoDeviceNamingRule] `json:"rules"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingAutoDeviceNaming represents a OrgSettingAutoDeviceNaming struct.
func (OrgSettingAutoDeviceNaming) MarshalJSON ¶
func (o OrgSettingAutoDeviceNaming) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingAutoDeviceNaming. It customizes the JSON marshaling process for OrgSettingAutoDeviceNaming objects.
func (OrgSettingAutoDeviceNaming) String ¶ added in v0.4.23
func (o OrgSettingAutoDeviceNaming) String() string
String implements the fmt.Stringer interface for OrgSettingAutoDeviceNaming, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingAutoDeviceNaming) UnmarshalJSON ¶
func (o *OrgSettingAutoDeviceNaming) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingAutoDeviceNaming. It customizes the JSON unmarshaling process for OrgSettingAutoDeviceNaming objects.
type OrgSettingAutoDeviceNamingRule ¶ added in v0.4.54
type OrgSettingAutoDeviceNamingRule struct {
// "[0:3]" // "abcdef" -> "abc"
// "split(.)[1]" // "a.b.c" -> "b"
// "split(-)[1][0:3]" // "a1234-b5678-c90" -> "b56"'
Expression *string `json:"expression,omitempty"`
// enum: `ap`, `gateway`, `switch`
MatchDevice *DeviceTypeDefaultApEnum `json:"match_device,omitempty"`
// Prefix to append to the device name
Prefix *string `json:"prefix,omitempty"`
// enum: `lldp_port_desc`, `mac`
Src *OrgSettingAutoDeviceNamingRuleSrcEnum `json:"src,omitempty"`
// Suffix to append to the device name
Suffix *string `json:"suffix,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingAutoDeviceNamingRule represents a OrgSettingAutoDeviceNamingRule struct.
func (OrgSettingAutoDeviceNamingRule) MarshalJSON ¶ added in v0.4.54
func (o OrgSettingAutoDeviceNamingRule) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingAutoDeviceNamingRule. It customizes the JSON marshaling process for OrgSettingAutoDeviceNamingRule objects.
func (OrgSettingAutoDeviceNamingRule) String ¶ added in v0.4.54
func (o OrgSettingAutoDeviceNamingRule) String() string
String implements the fmt.Stringer interface for OrgSettingAutoDeviceNamingRule, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingAutoDeviceNamingRule) UnmarshalJSON ¶ added in v0.4.54
func (o *OrgSettingAutoDeviceNamingRule) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingAutoDeviceNamingRule. It customizes the JSON unmarshaling process for OrgSettingAutoDeviceNamingRule objects.
type OrgSettingAutoDeviceNamingRuleSrcEnum ¶ added in v0.4.54
type OrgSettingAutoDeviceNamingRuleSrcEnum string
OrgSettingAutoDeviceNamingRuleSrcEnum is a string enum. enum: `lldp_port_desc`, `mac`
const ( OrgSettingAutoDeviceNamingRuleSrcEnum_LLDPPORTDESC OrgSettingAutoDeviceNamingRuleSrcEnum = "lldp_port_desc" OrgSettingAutoDeviceNamingRuleSrcEnum_MAC OrgSettingAutoDeviceNamingRuleSrcEnum = "mac" )
type OrgSettingAutoDeviceprofileAssignment ¶
type OrgSettingAutoDeviceprofileAssignment struct {
Enable *bool `json:"enable,omitempty"`
Rules Optional[[]OrgSettingAutoAssignmentRule] `json:"rules"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingAutoDeviceprofileAssignment represents a OrgSettingAutoDeviceprofileAssignment struct.
func (OrgSettingAutoDeviceprofileAssignment) MarshalJSON ¶
func (o OrgSettingAutoDeviceprofileAssignment) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingAutoDeviceprofileAssignment. It customizes the JSON marshaling process for OrgSettingAutoDeviceprofileAssignment objects.
func (OrgSettingAutoDeviceprofileAssignment) String ¶ added in v0.4.23
func (o OrgSettingAutoDeviceprofileAssignment) String() string
String implements the fmt.Stringer interface for OrgSettingAutoDeviceprofileAssignment, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingAutoDeviceprofileAssignment) UnmarshalJSON ¶
func (o *OrgSettingAutoDeviceprofileAssignment) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingAutoDeviceprofileAssignment. It customizes the JSON unmarshaling process for OrgSettingAutoDeviceprofileAssignment objects.
type OrgSettingAutoSiteAssignment ¶
type OrgSettingAutoSiteAssignment struct {
Enable *bool `json:"enable,omitempty"`
Rules Optional[[]OrgSettingAutoAssignmentRule] `json:"rules"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingAutoSiteAssignment represents a OrgSettingAutoSiteAssignment struct.
func (OrgSettingAutoSiteAssignment) MarshalJSON ¶
func (o OrgSettingAutoSiteAssignment) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingAutoSiteAssignment. It customizes the JSON marshaling process for OrgSettingAutoSiteAssignment objects.
func (OrgSettingAutoSiteAssignment) String ¶ added in v0.4.23
func (o OrgSettingAutoSiteAssignment) String() string
String implements the fmt.Stringer interface for OrgSettingAutoSiteAssignment, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingAutoSiteAssignment) UnmarshalJSON ¶
func (o *OrgSettingAutoSiteAssignment) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingAutoSiteAssignment. It customizes the JSON unmarshaling process for OrgSettingAutoSiteAssignment objects.
type OrgSettingAutoSiteAssignmentSrcEnum ¶ added in v0.4.54
type OrgSettingAutoSiteAssignmentSrcEnum string
OrgSettingAutoSiteAssignmentSrcEnum is a string enum. enum: `ext_ip`, `dns_suffix`, `geoip`, `lldp_port_desc`, `lldp_system_name`, `model`, `name`, `subnet`
const ( OrgSettingAutoSiteAssignmentSrcEnum_EXTIP OrgSettingAutoSiteAssignmentSrcEnum = "ext_ip" OrgSettingAutoSiteAssignmentSrcEnum_DNSSUFFIX OrgSettingAutoSiteAssignmentSrcEnum = "dns_suffix" OrgSettingAutoSiteAssignmentSrcEnum_GEOIP OrgSettingAutoSiteAssignmentSrcEnum = "geoip" OrgSettingAutoSiteAssignmentSrcEnum_LLDPPORTDESC OrgSettingAutoSiteAssignmentSrcEnum = "lldp_port_desc" OrgSettingAutoSiteAssignmentSrcEnum_LLDPSYSTEMNAME OrgSettingAutoSiteAssignmentSrcEnum = "lldp_system_name" OrgSettingAutoSiteAssignmentSrcEnum_MODEL OrgSettingAutoSiteAssignmentSrcEnum = "model" OrgSettingAutoSiteAssignmentSrcEnum_NAME OrgSettingAutoSiteAssignmentSrcEnum = "name" OrgSettingAutoSiteAssignmentSrcEnum_SUBNET OrgSettingAutoSiteAssignmentSrcEnum = "subnet" )
type OrgSettingCelona ¶
type OrgSettingCelona struct {
ApiKey *string `json:"api_key,omitempty"`
ApiPrefix *string `json:"api_prefix,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingCelona represents a OrgSettingCelona struct.
func (OrgSettingCelona) MarshalJSON ¶
func (o OrgSettingCelona) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingCelona. It customizes the JSON marshaling process for OrgSettingCelona objects.
func (OrgSettingCelona) String ¶ added in v0.4.23
func (o OrgSettingCelona) String() string
String implements the fmt.Stringer interface for OrgSettingCelona, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingCelona) UnmarshalJSON ¶
func (o *OrgSettingCelona) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingCelona. It customizes the JSON unmarshaling process for OrgSettingCelona objects.
type OrgSettingCloudshark ¶
type OrgSettingCloudshark struct {
Apitoken *string `json:"apitoken,omitempty"`
// If using CS Enterprise
Url *string `json:"url,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingCloudshark represents a OrgSettingCloudshark struct.
func (OrgSettingCloudshark) MarshalJSON ¶
func (o OrgSettingCloudshark) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingCloudshark. It customizes the JSON marshaling process for OrgSettingCloudshark objects.
func (OrgSettingCloudshark) String ¶ added in v0.4.23
func (o OrgSettingCloudshark) String() string
String implements the fmt.Stringer interface for OrgSettingCloudshark, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingCloudshark) UnmarshalJSON ¶
func (o *OrgSettingCloudshark) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingCloudshark. It customizes the JSON unmarshaling process for OrgSettingCloudshark objects.
type OrgSettingCradlepoint ¶ added in v0.2.38
type OrgSettingCradlepoint struct {
CpApiId *string `json:"cp_api_id,omitempty"`
CpApiKey *string `json:"cp_api_key,omitempty"`
EcmApiId *string `json:"ecm_api_id,omitempty"`
EcmApiKey *string `json:"ecm_api_key,omitempty"`
EnableLldp *bool `json:"enable_lldp,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingCradlepoint represents a OrgSettingCradlepoint struct.
func (OrgSettingCradlepoint) MarshalJSON ¶ added in v0.2.38
func (o OrgSettingCradlepoint) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingCradlepoint. It customizes the JSON marshaling process for OrgSettingCradlepoint objects.
func (OrgSettingCradlepoint) String ¶ added in v0.4.23
func (o OrgSettingCradlepoint) String() string
String implements the fmt.Stringer interface for OrgSettingCradlepoint, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingCradlepoint) UnmarshalJSON ¶ added in v0.2.38
func (o *OrgSettingCradlepoint) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingCradlepoint. It customizes the JSON unmarshaling process for OrgSettingCradlepoint objects.
type OrgSettingDeviceCert ¶
type OrgSettingDeviceCert struct {
Cert *string `json:"cert,omitempty"`
Key *string `json:"key,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingDeviceCert represents a OrgSettingDeviceCert struct. common device cert, optional
func (OrgSettingDeviceCert) MarshalJSON ¶
func (o OrgSettingDeviceCert) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingDeviceCert. It customizes the JSON marshaling process for OrgSettingDeviceCert objects.
func (OrgSettingDeviceCert) String ¶ added in v0.4.23
func (o OrgSettingDeviceCert) String() string
String implements the fmt.Stringer interface for OrgSettingDeviceCert, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingDeviceCert) UnmarshalJSON ¶
func (o *OrgSettingDeviceCert) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingDeviceCert. It customizes the JSON unmarshaling process for OrgSettingDeviceCert objects.
type OrgSettingGatewayMgmt ¶
type OrgSettingGatewayMgmt struct {
AppProbing *OrgSettingGatewayMgmtAppProbing `json:"app_probing,omitempty"`
// consumes uplink bandwidth, requires WA license
AppUsage *bool `json:"app_usage,omitempty"`
FipsEnabled *bool `json:"fips_enabled,omitempty"`
HostInPolicies *OrgSettingGatewayMgmtHostInPolicies `json:"host_in_policies,omitempty"`
// optional, for some of the host-out traffic, the path preference can be specified by default, ECMP will be used from all available route/path available services: dns/mist/ntp/pim
HostOutPolicies *OrgSettingGatewayMgmtHostOutPolicies `json:"host_out_policies,omitempty"`
OverlayIp *OrgSettingGatewayMgmtOverlayIp `json:"overlay_ip,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingGatewayMgmt represents a OrgSettingGatewayMgmt struct.
func (OrgSettingGatewayMgmt) MarshalJSON ¶
func (o OrgSettingGatewayMgmt) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingGatewayMgmt. It customizes the JSON marshaling process for OrgSettingGatewayMgmt objects.
func (OrgSettingGatewayMgmt) String ¶ added in v0.4.23
func (o OrgSettingGatewayMgmt) String() string
String implements the fmt.Stringer interface for OrgSettingGatewayMgmt, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingGatewayMgmt) UnmarshalJSON ¶
func (o *OrgSettingGatewayMgmt) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingGatewayMgmt. It customizes the JSON unmarshaling process for OrgSettingGatewayMgmt objects.
type OrgSettingGatewayMgmtAppProbing ¶
type OrgSettingGatewayMgmtAppProbing struct {
// APp-keys from [List Applications]($e/Constants%20Definitions/listApplications)
Apps []string `json:"apps,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingGatewayMgmtAppProbing represents a OrgSettingGatewayMgmtAppProbing struct.
func (OrgSettingGatewayMgmtAppProbing) MarshalJSON ¶
func (o OrgSettingGatewayMgmtAppProbing) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingGatewayMgmtAppProbing. It customizes the JSON marshaling process for OrgSettingGatewayMgmtAppProbing objects.
func (OrgSettingGatewayMgmtAppProbing) String ¶ added in v0.4.23
func (o OrgSettingGatewayMgmtAppProbing) String() string
String implements the fmt.Stringer interface for OrgSettingGatewayMgmtAppProbing, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingGatewayMgmtAppProbing) UnmarshalJSON ¶
func (o *OrgSettingGatewayMgmtAppProbing) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingGatewayMgmtAppProbing. It customizes the JSON unmarshaling process for OrgSettingGatewayMgmtAppProbing objects.
type OrgSettingGatewayMgmtHostInPolicies ¶ added in v0.4.54
type OrgSettingGatewayMgmtHostInPolicies struct {
Icmp *OrgSettingGatewayMgmtHostInPolicy `json:"icmp,omitempty"`
Snmp *OrgSettingGatewayMgmtHostInPolicy `json:"snmp,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingGatewayMgmtHostInPolicies represents a OrgSettingGatewayMgmtHostInPolicies struct.
func (OrgSettingGatewayMgmtHostInPolicies) MarshalJSON ¶ added in v0.4.54
func (o OrgSettingGatewayMgmtHostInPolicies) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingGatewayMgmtHostInPolicies. It customizes the JSON marshaling process for OrgSettingGatewayMgmtHostInPolicies objects.
func (OrgSettingGatewayMgmtHostInPolicies) String ¶ added in v0.4.54
func (o OrgSettingGatewayMgmtHostInPolicies) String() string
String implements the fmt.Stringer interface for OrgSettingGatewayMgmtHostInPolicies, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingGatewayMgmtHostInPolicies) UnmarshalJSON ¶ added in v0.4.54
func (o *OrgSettingGatewayMgmtHostInPolicies) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingGatewayMgmtHostInPolicies. It customizes the JSON unmarshaling process for OrgSettingGatewayMgmtHostInPolicies objects.
type OrgSettingGatewayMgmtHostInPolicy ¶ added in v0.4.54
type OrgSettingGatewayMgmtHostInPolicy struct {
Tenants []string `json:"tenants,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingGatewayMgmtHostInPolicy represents a OrgSettingGatewayMgmtHostInPolicy struct.
func (OrgSettingGatewayMgmtHostInPolicy) MarshalJSON ¶ added in v0.4.54
func (o OrgSettingGatewayMgmtHostInPolicy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingGatewayMgmtHostInPolicy. It customizes the JSON marshaling process for OrgSettingGatewayMgmtHostInPolicy objects.
func (OrgSettingGatewayMgmtHostInPolicy) String ¶ added in v0.4.54
func (o OrgSettingGatewayMgmtHostInPolicy) String() string
String implements the fmt.Stringer interface for OrgSettingGatewayMgmtHostInPolicy, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingGatewayMgmtHostInPolicy) UnmarshalJSON ¶ added in v0.4.54
func (o *OrgSettingGatewayMgmtHostInPolicy) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingGatewayMgmtHostInPolicy. It customizes the JSON unmarshaling process for OrgSettingGatewayMgmtHostInPolicy objects.
type OrgSettingGatewayMgmtHostOutPolicies ¶
type OrgSettingGatewayMgmtHostOutPolicies struct {
Dns *GatewayMgmtHostOutPolicy `json:"dns,omitempty"`
Ntp *GatewayMgmtHostOutPolicy `json:"ntp,omitempty"`
Syslog *GatewayMgmtHostOutPolicySyslog `json:"syslog,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingGatewayMgmtHostOutPolicies represents a OrgSettingGatewayMgmtHostOutPolicies struct. optional, for some of the host-out traffic, the path preference can be specified by default, ECMP will be used from all available route/path available services: dns/mist/ntp/pim
func (OrgSettingGatewayMgmtHostOutPolicies) MarshalJSON ¶
func (o OrgSettingGatewayMgmtHostOutPolicies) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingGatewayMgmtHostOutPolicies. It customizes the JSON marshaling process for OrgSettingGatewayMgmtHostOutPolicies objects.
func (OrgSettingGatewayMgmtHostOutPolicies) String ¶ added in v0.4.23
func (o OrgSettingGatewayMgmtHostOutPolicies) String() string
String implements the fmt.Stringer interface for OrgSettingGatewayMgmtHostOutPolicies, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingGatewayMgmtHostOutPolicies) UnmarshalJSON ¶
func (o *OrgSettingGatewayMgmtHostOutPolicies) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingGatewayMgmtHostOutPolicies. It customizes the JSON unmarshaling process for OrgSettingGatewayMgmtHostOutPolicies objects.
type OrgSettingGatewayMgmtOverlayIp ¶
type OrgSettingGatewayMgmtOverlayIp struct {
// When it's going overlay, a routable IP to overlay will be required
Ip *string `json:"ip,omitempty"`
// For SSR HA cluster, another IP for node1 will be required, too
Node1Ip *string `json:"node1_ip,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingGatewayMgmtOverlayIp represents a OrgSettingGatewayMgmtOverlayIp struct.
func (OrgSettingGatewayMgmtOverlayIp) MarshalJSON ¶
func (o OrgSettingGatewayMgmtOverlayIp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingGatewayMgmtOverlayIp. It customizes the JSON marshaling process for OrgSettingGatewayMgmtOverlayIp objects.
func (OrgSettingGatewayMgmtOverlayIp) String ¶ added in v0.4.23
func (o OrgSettingGatewayMgmtOverlayIp) String() string
String implements the fmt.Stringer interface for OrgSettingGatewayMgmtOverlayIp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingGatewayMgmtOverlayIp) UnmarshalJSON ¶
func (o *OrgSettingGatewayMgmtOverlayIp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingGatewayMgmtOverlayIp. It customizes the JSON unmarshaling process for OrgSettingGatewayMgmtOverlayIp objects.
type OrgSettingInstaller ¶
type OrgSettingInstaller struct {
AllowAllDevices *bool `json:"allow_all_devices,omitempty"`
AllowAllSites *bool `json:"allow_all_sites,omitempty"`
ExtraSiteIds []uuid.UUID `json:"extra_site_ids,omitempty"`
GracePeriod *int `json:"grace_period,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingInstaller represents a OrgSettingInstaller struct.
func (OrgSettingInstaller) MarshalJSON ¶
func (o OrgSettingInstaller) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingInstaller. It customizes the JSON marshaling process for OrgSettingInstaller objects.
func (OrgSettingInstaller) String ¶ added in v0.4.23
func (o OrgSettingInstaller) String() string
String implements the fmt.Stringer interface for OrgSettingInstaller, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingInstaller) UnmarshalJSON ¶
func (o *OrgSettingInstaller) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingInstaller. It customizes the JSON unmarshaling process for OrgSettingInstaller objects.
type OrgSettingJcloud ¶
type OrgSettingJcloud struct {
// JCloud Org Token
OrgApitoken *string `json:"org_apitoken,omitempty"`
// JCloud Org Token Name
OrgApitokenName *string `json:"org_apitoken_name,omitempty"`
// JCloud Org ID
OrgId *string `json:"org_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingJcloud represents a OrgSettingJcloud struct.
func (OrgSettingJcloud) MarshalJSON ¶
func (o OrgSettingJcloud) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingJcloud. It customizes the JSON marshaling process for OrgSettingJcloud objects.
func (OrgSettingJcloud) String ¶ added in v0.4.23
func (o OrgSettingJcloud) String() string
String implements the fmt.Stringer interface for OrgSettingJcloud, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingJcloud) UnmarshalJSON ¶
func (o *OrgSettingJcloud) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingJcloud. It customizes the JSON unmarshaling process for OrgSettingJcloud objects.
type OrgSettingJcloudRa ¶ added in v0.4.0
type OrgSettingJcloudRa struct {
// JCloud Routing Assurance Org Token
OrgApitoken *string `json:"org_apitoken,omitempty"`
// JCloud Routing Assurance Org Token Name
OrgApitokenName *string `json:"org_apitoken_name,omitempty"`
// JCloud Routing Assurance Org ID
OrgId *string `json:"org_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingJcloudRa represents a OrgSettingJcloudRa struct. JCloud Routing Assurance connexion
func (OrgSettingJcloudRa) MarshalJSON ¶ added in v0.4.0
func (o OrgSettingJcloudRa) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingJcloudRa. It customizes the JSON marshaling process for OrgSettingJcloudRa objects.
func (OrgSettingJcloudRa) String ¶ added in v0.4.23
func (o OrgSettingJcloudRa) String() string
String implements the fmt.Stringer interface for OrgSettingJcloudRa, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingJcloudRa) UnmarshalJSON ¶ added in v0.4.0
func (o *OrgSettingJcloudRa) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingJcloudRa. It customizes the JSON unmarshaling process for OrgSettingJcloudRa objects.
type OrgSettingJuniperSrx ¶ added in v0.4.87
type OrgSettingJuniperSrx struct {
// auto_upgrade device first time it is onboarded
AutoUpgrade *JuniperSrxAutoUpgrade `json:"auto_upgrade,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingJuniperSrx represents a OrgSettingJuniperSrx struct.
func (OrgSettingJuniperSrx) MarshalJSON ¶ added in v0.4.87
func (o OrgSettingJuniperSrx) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingJuniperSrx. It customizes the JSON marshaling process for OrgSettingJuniperSrx objects.
func (OrgSettingJuniperSrx) String ¶ added in v0.4.87
func (o OrgSettingJuniperSrx) String() string
String implements the fmt.Stringer interface for OrgSettingJuniperSrx, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingJuniperSrx) UnmarshalJSON ¶ added in v0.4.87
func (o *OrgSettingJuniperSrx) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingJuniperSrx. It customizes the JSON unmarshaling process for OrgSettingJuniperSrx objects.
type OrgSettingJunosShellAccess ¶ added in v0.4.54
type OrgSettingJunosShellAccess struct {
// enum: `admin`, `viewer`, `none`
Admin *OrgSettingJunosShellAccessAdminEnum `json:"admin,omitempty"`
// enum: `admin`, `viewer`, `none`
Helpdesk *OrgSettingJunosShellAccessHelpdeskEnum `json:"helpdesk,omitempty"`
// enum: `admin`, `viewer`, `none`
Read *OrgSettingJunosShellAccessReadEnum `json:"read,omitempty"`
// enum: `admin`, `viewer`, `none`
Write *OrgSettingJunosShellAccessWriteEnum `json:"write,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingJunosShellAccess represents a OrgSettingJunosShellAccess struct. junos_shell_access: Manages role-based web-shell access. When junos_shell access is not defined (Default) - No additional users are configured and web-shell uses default `mist` user to login. When junos_shell_access is defined - Additional users mist-web-admin (admin permission), mist-web-viewer(viewer permission) are configured on the device and web-shell logs in with the mist-web-admin/mist-web-viewer user depending upon the shell access level. Setting the shell access level to "none", disables web-shell access for that specific role.
func (OrgSettingJunosShellAccess) MarshalJSON ¶ added in v0.4.54
func (o OrgSettingJunosShellAccess) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingJunosShellAccess. It customizes the JSON marshaling process for OrgSettingJunosShellAccess objects.
func (OrgSettingJunosShellAccess) String ¶ added in v0.4.54
func (o OrgSettingJunosShellAccess) String() string
String implements the fmt.Stringer interface for OrgSettingJunosShellAccess, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingJunosShellAccess) UnmarshalJSON ¶ added in v0.4.54
func (o *OrgSettingJunosShellAccess) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingJunosShellAccess. It customizes the JSON unmarshaling process for OrgSettingJunosShellAccess objects.
type OrgSettingJunosShellAccessAdminEnum ¶ added in v0.4.54
type OrgSettingJunosShellAccessAdminEnum string
OrgSettingJunosShellAccessAdminEnum is a string enum. enum: `admin`, `viewer`, `none`
const ( OrgSettingJunosShellAccessAdminEnum_ADMIN OrgSettingJunosShellAccessAdminEnum = "admin" OrgSettingJunosShellAccessAdminEnum_NONE OrgSettingJunosShellAccessAdminEnum = "none" OrgSettingJunosShellAccessAdminEnum_VIEWER OrgSettingJunosShellAccessAdminEnum = "viewer" )
type OrgSettingJunosShellAccessHelpdeskEnum ¶ added in v0.4.54
type OrgSettingJunosShellAccessHelpdeskEnum string
OrgSettingJunosShellAccessHelpdeskEnum is a string enum. enum: `admin`, `viewer`, `none`
const ( OrgSettingJunosShellAccessHelpdeskEnum_ADMIN OrgSettingJunosShellAccessHelpdeskEnum = "admin" OrgSettingJunosShellAccessHelpdeskEnum_NONE OrgSettingJunosShellAccessHelpdeskEnum = "none" OrgSettingJunosShellAccessHelpdeskEnum_VIEWER OrgSettingJunosShellAccessHelpdeskEnum = "viewer" )
type OrgSettingJunosShellAccessReadEnum ¶ added in v0.4.54
type OrgSettingJunosShellAccessReadEnum string
OrgSettingJunosShellAccessReadEnum is a string enum. enum: `admin`, `viewer`, `none`
const ( OrgSettingJunosShellAccessReadEnum_ADMIN OrgSettingJunosShellAccessReadEnum = "admin" OrgSettingJunosShellAccessReadEnum_NONE OrgSettingJunosShellAccessReadEnum = "none" OrgSettingJunosShellAccessReadEnum_VIEWER OrgSettingJunosShellAccessReadEnum = "viewer" )
type OrgSettingJunosShellAccessWriteEnum ¶ added in v0.4.54
type OrgSettingJunosShellAccessWriteEnum string
OrgSettingJunosShellAccessWriteEnum is a string enum. enum: `admin`, `viewer`, `none`
const ( OrgSettingJunosShellAccessWriteEnum_ADMIN OrgSettingJunosShellAccessWriteEnum = "admin" OrgSettingJunosShellAccessWriteEnum_NONE OrgSettingJunosShellAccessWriteEnum = "none" OrgSettingJunosShellAccessWriteEnum_VIEWER OrgSettingJunosShellAccessWriteEnum = "viewer" )
type OrgSettingMgmt ¶
type OrgSettingMgmt struct {
// List of Mist Tunnels
MxtunnelIds []uuid.UUID `json:"mxtunnel_ids,omitempty"`
// Whether to use Mist Tunnel for mgmt connectivity, this takes precedence over use_wxtunnel
UseMxtunnel *bool `json:"use_mxtunnel,omitempty"`
// Whether to use wxtunnel for mgmt connectivity
UseWxtunnel *bool `json:"use_wxtunnel,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingMgmt represents a OrgSettingMgmt struct. management-related properties
func (OrgSettingMgmt) MarshalJSON ¶
func (o OrgSettingMgmt) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingMgmt. It customizes the JSON marshaling process for OrgSettingMgmt objects.
func (OrgSettingMgmt) String ¶ added in v0.4.23
func (o OrgSettingMgmt) String() string
String implements the fmt.Stringer interface for OrgSettingMgmt, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingMgmt) UnmarshalJSON ¶
func (o *OrgSettingMgmt) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingMgmt. It customizes the JSON unmarshaling process for OrgSettingMgmt objects.
type OrgSettingMistNac ¶
type OrgSettingMistNac struct {
// List of PEM-encoded ca certs
Cacerts []string `json:"cacerts,omitempty"`
// use this IDP when no explicit realm present in the incoming username/CN OR when no IDP is explicitly mapped to the incoming realm.
DefaultIdpId *string `json:"default_idp_id,omitempty"`
// to disable RSAE_PSS_SHA256, RSAE_PSS_SHA384, RSAE_PSS_SHA512 from server side. see https://www.openssl.org/docs/man3.0/man1/openssl-ciphers.html
DisableRsaeAlgorithms *bool `json:"disable_rsae_algorithms,omitempty"`
// eap ssl security level, see https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_set_security_level.html#DEFAULT-CALLBACK-BEHAVIOUR
EapSslSecurityLevel *int `json:"eap_ssl_security_level,omitempty"`
// By default, NAC POD failover considers all NAC pods available around the globe, i.e. EU, US, or APAC based, failover happens based on geo IP of the originating site. For strict GDPR compliance NAC POD failover would only happen between the PODs located within the EU environment, and no authentication would take place outside of EU. This is an org setting that is applicable to WLANs, switch templates, mxedge clusters that have mist_nac enabled
EuOnly *bool `json:"eu_only,omitempty"`
// allow customer to choose the EAP-TLS client certificate's field to use for IDP Machine Groups lookup. enum: `automatic`, `cn`, `dns`
IdpMachineCertLookupField *IdpMachineCertLookupFieldEnum `json:"idp_machine_cert_lookup_field,omitempty"`
// allow customer to choose the EAP-TLS client certificate's field. To use for IDP User Groups lookup. enum: `automatic`, `cn`, `email`, `upn`
IdpUserCertLookupField *IdpUserCertLookupFieldEnum `json:"idp_user_cert_lookup_field,omitempty"`
Idps []OrgSettingMistNacIdp `json:"idps,omitempty"`
// radius server cert to be presented in EAP TLS
ServerCert *OrgSettingMistNacServerCert `json:"server_cert,omitempty"`
// by default, NAS devices(switches/aps) and proxies(mxedge) are configured to reach mist-nac via IPv4. enum: `v4`, `v6`
UseIpVersion *OrgSettingMistNacIpVersionEnum `json:"use_ip_version,omitempty"`
// By default, NAS devices (switches/aps) and proxies(mxedge) are configured to use port TCP2083(RadSec) to reach mist-nac. Set `use_ssl_port`==`true` to override that port with TCP43 (ssl), This is an org level setting that is applicable to wlans, switch_templates, and mxedge_clusters that have mist-nac enabled
UseSslPort *bool `json:"use_ssl_port,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingMistNac represents a OrgSettingMistNac struct.
func (OrgSettingMistNac) MarshalJSON ¶
func (o OrgSettingMistNac) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingMistNac. It customizes the JSON marshaling process for OrgSettingMistNac objects.
func (OrgSettingMistNac) String ¶ added in v0.4.23
func (o OrgSettingMistNac) String() string
String implements the fmt.Stringer interface for OrgSettingMistNac, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingMistNac) UnmarshalJSON ¶
func (o *OrgSettingMistNac) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingMistNac. It customizes the JSON unmarshaling process for OrgSettingMistNac objects.
type OrgSettingMistNacIdp ¶
type OrgSettingMistNacIdp struct {
// When the IDP of mxedge_proxy type, exclude the following realms from proxying in addition to other valid home realms in this org
ExcludeRealms []string `json:"exclude_realms,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// Which realm should trigger this IDP. User Realm is extracted from:
// * Username-AVP (`mist.com` from [email protected])
// * Cert CN
UserRealms []string `json:"user_realms,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingMistNacIdp represents a OrgSettingMistNacIdp struct.
func (OrgSettingMistNacIdp) MarshalJSON ¶
func (o OrgSettingMistNacIdp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingMistNacIdp. It customizes the JSON marshaling process for OrgSettingMistNacIdp objects.
func (OrgSettingMistNacIdp) String ¶ added in v0.4.23
func (o OrgSettingMistNacIdp) String() string
String implements the fmt.Stringer interface for OrgSettingMistNacIdp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingMistNacIdp) UnmarshalJSON ¶
func (o *OrgSettingMistNacIdp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingMistNacIdp. It customizes the JSON unmarshaling process for OrgSettingMistNacIdp objects.
type OrgSettingMistNacIpVersionEnum ¶
type OrgSettingMistNacIpVersionEnum string
OrgSettingMistNacIpVersionEnum is a string enum. by default, NAS devices(switches/aps) and proxies(mxedge) are configured to reach mist-nac via IPv4. enum: `v4`, `v6`
const ( OrgSettingMistNacIpVersionEnum_V4 OrgSettingMistNacIpVersionEnum = "v4" OrgSettingMistNacIpVersionEnum_V6 OrgSettingMistNacIpVersionEnum = "v6" )
type OrgSettingMistNacServerCert ¶
type OrgSettingMistNacServerCert struct {
Cert *string `json:"cert,omitempty"`
Key *string `json:"key,omitempty"`
// private key password (optional)
Password *string `json:"password,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingMistNacServerCert represents a OrgSettingMistNacServerCert struct. radius server cert to be presented in EAP TLS
func (OrgSettingMistNacServerCert) MarshalJSON ¶
func (o OrgSettingMistNacServerCert) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingMistNacServerCert. It customizes the JSON marshaling process for OrgSettingMistNacServerCert objects.
func (OrgSettingMistNacServerCert) String ¶ added in v0.4.23
func (o OrgSettingMistNacServerCert) String() string
String implements the fmt.Stringer interface for OrgSettingMistNacServerCert, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingMistNacServerCert) UnmarshalJSON ¶
func (o *OrgSettingMistNacServerCert) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingMistNacServerCert. It customizes the JSON unmarshaling process for OrgSettingMistNacServerCert objects.
type OrgSettingPasswordPolicy ¶
type OrgSettingPasswordPolicy struct {
// Whether the policy is enabled
Enabled *bool `json:"enabled,omitempty"`
// Password expiry in days. Password Expiry Notice banner will display in the UI 14 days before expiration
ExpiryInDays *int `json:"expiry_in_days,omitempty"`
// Required password length
MinLength *int `json:"min_length,omitempty"`
// Whether to require special character
RequiresSpecialChar *bool `json:"requires_special_char,omitempty"`
// Whether to require two-factor auth
RequiresTwoFactorAuth *bool `json:"requires_two_factor_auth,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingPasswordPolicy represents a OrgSettingPasswordPolicy struct. password policy
func (OrgSettingPasswordPolicy) MarshalJSON ¶
func (o OrgSettingPasswordPolicy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingPasswordPolicy. It customizes the JSON marshaling process for OrgSettingPasswordPolicy objects.
func (OrgSettingPasswordPolicy) String ¶ added in v0.4.23
func (o OrgSettingPasswordPolicy) String() string
String implements the fmt.Stringer interface for OrgSettingPasswordPolicy, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingPasswordPolicy) UnmarshalJSON ¶
func (o *OrgSettingPasswordPolicy) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingPasswordPolicy. It customizes the JSON unmarshaling process for OrgSettingPasswordPolicy objects.
type OrgSettingPcap ¶
type OrgSettingPcap struct {
Bucket *string `json:"bucket,omitempty"`
// Max_len of non-management packets to capture
MaxPktLen *int `json:"max_pkt_len,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingPcap represents a OrgSettingPcap struct.
func (OrgSettingPcap) MarshalJSON ¶
func (o OrgSettingPcap) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingPcap. It customizes the JSON marshaling process for OrgSettingPcap objects.
func (OrgSettingPcap) String ¶ added in v0.4.23
func (o OrgSettingPcap) String() string
String implements the fmt.Stringer interface for OrgSettingPcap, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingPcap) UnmarshalJSON ¶
func (o *OrgSettingPcap) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingPcap. It customizes the JSON unmarshaling process for OrgSettingPcap objects.
type OrgSettingScep ¶ added in v0.2.38
type OrgSettingScep struct {
// List of SCEP cert providers, e.g. `intune`, `jamf`, `byod`
CertProviders []OrgSettingScepCertProviderEnum `json:"cert_providers,omitempty"`
// Whether SCEP is enabled for this org
Enable *bool `json:"enable,omitempty"`
// Whether SCEP is suspended for this org
Suspended *bool `json:"suspended,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingScep represents a OrgSettingScep struct.
func (OrgSettingScep) MarshalJSON ¶ added in v0.2.38
func (o OrgSettingScep) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingScep. It customizes the JSON marshaling process for OrgSettingScep objects.
func (OrgSettingScep) String ¶ added in v0.4.23
func (o OrgSettingScep) String() string
String implements the fmt.Stringer interface for OrgSettingScep, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingScep) UnmarshalJSON ¶ added in v0.2.38
func (o *OrgSettingScep) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingScep. It customizes the JSON unmarshaling process for OrgSettingScep objects.
type OrgSettingScepCertProviderEnum ¶ added in v0.4.80
type OrgSettingScepCertProviderEnum string
OrgSettingScepCertProviderEnum is a string enum. enum: `intune`, `jamf`, `byod`
const ( OrgSettingScepCertProviderEnum_INTUNE OrgSettingScepCertProviderEnum = "intune" OrgSettingScepCertProviderEnum_JAMF OrgSettingScepCertProviderEnum = "jamf" OrgSettingScepCertProviderEnum_BYOD OrgSettingScepCertProviderEnum = "byod" )
type OrgSettingScepResponse ¶ added in v0.4.80
type OrgSettingScepResponse struct {
// List of SCEP cert providers, e.g. `intune`, `jamf`, `byod`
CertProviders []OrgSettingScepCertProviderEnum `json:"cert_providers,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
IntuneScepUrl *string `json:"intune_scep_url,omitempty"`
JamfAccessToken *string `json:"jamf_access_token,omitempty"`
JamfScepUrl *string `json:"jamf_scep_url,omitempty"`
JamfWebhookUrl *string `json:"jamf_webhook_url,omitempty"`
// Whether SCEP is suspended for this org
Suspended *bool `json:"suspended,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingScepResponse represents a OrgSettingScepResponse struct.
func (OrgSettingScepResponse) MarshalJSON ¶ added in v0.4.80
func (o OrgSettingScepResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingScepResponse. It customizes the JSON marshaling process for OrgSettingScepResponse objects.
func (OrgSettingScepResponse) String ¶ added in v0.4.80
func (o OrgSettingScepResponse) String() string
String implements the fmt.Stringer interface for OrgSettingScepResponse, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingScepResponse) UnmarshalJSON ¶ added in v0.4.80
func (o *OrgSettingScepResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingScepResponse. It customizes the JSON unmarshaling process for OrgSettingScepResponse objects.
type OrgSettingSecurity ¶
type OrgSettingSecurity struct {
// Whether to disable local SSH (by default, local SSH is enabled with allow_mist in Org is enabled
DisableLocalSsh *bool `json:"disable_local_ssh,omitempty"`
// password required to zeroize devices (FIPS) on site level
FipsZeroizePassword *string `json:"fips_zeroize_password,omitempty"`
// Whether to allow certain SSH keys to SSH into the AP (see Site:Setting)
LimitSshAccess *bool `json:"limit_ssh_access,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingSecurity represents a OrgSettingSecurity struct.
func (OrgSettingSecurity) MarshalJSON ¶
func (o OrgSettingSecurity) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingSecurity. It customizes the JSON marshaling process for OrgSettingSecurity objects.
func (OrgSettingSecurity) String ¶ added in v0.4.23
func (o OrgSettingSecurity) String() string
String implements the fmt.Stringer interface for OrgSettingSecurity, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingSecurity) UnmarshalJSON ¶
func (o *OrgSettingSecurity) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingSecurity. It customizes the JSON unmarshaling process for OrgSettingSecurity objects.
type OrgSettingSwitch ¶ added in v0.4.74
type OrgSettingSwitch struct {
AutoUpgrade *SwitchAutoUpgrade `json:"auto_upgrade,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingSwitch represents a OrgSettingSwitch struct.
func (OrgSettingSwitch) MarshalJSON ¶ added in v0.4.74
func (o OrgSettingSwitch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingSwitch. It customizes the JSON marshaling process for OrgSettingSwitch objects.
func (OrgSettingSwitch) String ¶ added in v0.4.74
func (o OrgSettingSwitch) String() string
String implements the fmt.Stringer interface for OrgSettingSwitch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingSwitch) UnmarshalJSON ¶ added in v0.4.74
func (o *OrgSettingSwitch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingSwitch. It customizes the JSON unmarshaling process for OrgSettingSwitch objects.
type OrgSettingSwitchMgmt ¶
type OrgSettingSwitchMgmt struct {
// If the field is set in both site/setting and org/setting, the value from site/setting will be used.
ApAffinityThreshold *int `json:"ap_affinity_threshold,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingSwitchMgmt represents a OrgSettingSwitchMgmt struct.
func (OrgSettingSwitchMgmt) MarshalJSON ¶
func (o OrgSettingSwitchMgmt) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingSwitchMgmt. It customizes the JSON marshaling process for OrgSettingSwitchMgmt objects.
func (OrgSettingSwitchMgmt) String ¶ added in v0.4.23
func (o OrgSettingSwitchMgmt) String() string
String implements the fmt.Stringer interface for OrgSettingSwitchMgmt, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingSwitchMgmt) UnmarshalJSON ¶
func (o *OrgSettingSwitchMgmt) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingSwitchMgmt. It customizes the JSON unmarshaling process for OrgSettingSwitchMgmt objects.
type OrgSettingVpnOptions ¶
type OrgSettingVpnOptions struct {
AsBase *int `json:"as_base,omitempty"`
EnableIpv6 *bool `json:"enable_ipv6,omitempty"`
// requiring /12 or bigger to support 16 private IPs for 65535 gateways
StSubnet *string `json:"st_subnet,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingVpnOptions represents a OrgSettingVpnOptions struct.
func (OrgSettingVpnOptions) MarshalJSON ¶
func (o OrgSettingVpnOptions) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingVpnOptions. It customizes the JSON marshaling process for OrgSettingVpnOptions objects.
func (OrgSettingVpnOptions) String ¶ added in v0.4.23
func (o OrgSettingVpnOptions) String() string
String implements the fmt.Stringer interface for OrgSettingVpnOptions, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingVpnOptions) UnmarshalJSON ¶
func (o *OrgSettingVpnOptions) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingVpnOptions. It customizes the JSON unmarshaling process for OrgSettingVpnOptions objects.
type OrgSettingWanPma ¶
type OrgSettingWanPma struct {
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingWanPma represents a OrgSettingWanPma struct.
func (OrgSettingWanPma) MarshalJSON ¶
func (o OrgSettingWanPma) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingWanPma. It customizes the JSON marshaling process for OrgSettingWanPma objects.
func (OrgSettingWanPma) String ¶ added in v0.4.23
func (o OrgSettingWanPma) String() string
String implements the fmt.Stringer interface for OrgSettingWanPma, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingWanPma) UnmarshalJSON ¶
func (o *OrgSettingWanPma) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingWanPma. It customizes the JSON unmarshaling process for OrgSettingWanPma objects.
type OrgSettingWiredPma ¶
type OrgSettingWiredPma struct {
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingWiredPma represents a OrgSettingWiredPma struct.
func (OrgSettingWiredPma) MarshalJSON ¶
func (o OrgSettingWiredPma) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingWiredPma. It customizes the JSON marshaling process for OrgSettingWiredPma objects.
func (OrgSettingWiredPma) String ¶ added in v0.4.23
func (o OrgSettingWiredPma) String() string
String implements the fmt.Stringer interface for OrgSettingWiredPma, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingWiredPma) UnmarshalJSON ¶
func (o *OrgSettingWiredPma) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingWiredPma. It customizes the JSON unmarshaling process for OrgSettingWiredPma objects.
type OrgSettingWirelessPma ¶
type OrgSettingWirelessPma struct {
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSettingWirelessPma represents a OrgSettingWirelessPma struct.
func (OrgSettingWirelessPma) MarshalJSON ¶
func (o OrgSettingWirelessPma) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingWirelessPma. It customizes the JSON marshaling process for OrgSettingWirelessPma objects.
func (OrgSettingWirelessPma) String ¶ added in v0.4.23
func (o OrgSettingWirelessPma) String() string
String implements the fmt.Stringer interface for OrgSettingWirelessPma, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSettingWirelessPma) UnmarshalJSON ¶
func (o *OrgSettingWirelessPma) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingWirelessPma. It customizes the JSON unmarshaling process for OrgSettingWirelessPma objects.
type OrgSiteSleTypeEnum ¶
type OrgSiteSleTypeEnum string
OrgSiteSleTypeEnum is a string enum. enum: `wan`, `wifi`, `wired`
const ( OrgSiteSleTypeEnum_WAN OrgSiteSleTypeEnum = "wan" OrgSiteSleTypeEnum_WIFI OrgSiteSleTypeEnum = "wifi" OrgSiteSleTypeEnum_WIRED OrgSiteSleTypeEnum = "wired" )
type OrgSiteSleWanResult ¶
type OrgSiteSleWanResult struct {
ApplicationHealth *float64 `json:"application_health,omitempty"`
GatewayHealth float64 `json:"gateway-health"`
NumClients *float64 `json:"num_clients,omitempty"`
NumGateways *float64 `json:"num_gateways,omitempty"`
SiteId uuid.UUID `json:"site_id"`
WanLinkHealth *float64 `json:"wan-link-health,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSiteSleWanResult represents a OrgSiteSleWanResult struct.
func (OrgSiteSleWanResult) MarshalJSON ¶
func (o OrgSiteSleWanResult) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSiteSleWanResult. It customizes the JSON marshaling process for OrgSiteSleWanResult objects.
func (OrgSiteSleWanResult) String ¶ added in v0.4.23
func (o OrgSiteSleWanResult) String() string
String implements the fmt.Stringer interface for OrgSiteSleWanResult, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSiteSleWanResult) UnmarshalJSON ¶
func (o *OrgSiteSleWanResult) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSiteSleWanResult. It customizes the JSON unmarshaling process for OrgSiteSleWanResult objects.
type OrgSiteSleWifi ¶
type OrgSiteSleWifi struct {
End float64 `json:"end"`
Interval int `json:"interval"`
Limit int `json:"limit"`
Page int `json:"page"`
Results []OrgSiteSleWifiResult `json:"results"`
Start float64 `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSiteSleWifi represents a OrgSiteSleWifi struct.
func (OrgSiteSleWifi) MarshalJSON ¶
func (o OrgSiteSleWifi) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSiteSleWifi. It customizes the JSON marshaling process for OrgSiteSleWifi objects.
func (OrgSiteSleWifi) String ¶ added in v0.4.23
func (o OrgSiteSleWifi) String() string
String implements the fmt.Stringer interface for OrgSiteSleWifi, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSiteSleWifi) UnmarshalJSON ¶
func (o *OrgSiteSleWifi) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSiteSleWifi. It customizes the JSON unmarshaling process for OrgSiteSleWifi objects.
type OrgSiteSleWifiResult ¶
type OrgSiteSleWifiResult struct {
ApAvailability float64 `json:"ap-availability"`
ApHealth *float64 `json:"ap-health,omitempty"`
Capacity *float64 `json:"capacity,omitempty"`
Coverage *float64 `json:"coverage,omitempty"`
NumAps *float64 `json:"num_aps,omitempty"`
NumClients *float64 `json:"num_clients,omitempty"`
Roaming *float64 `json:"roaming,omitempty"`
SiteId uuid.UUID `json:"site_id"`
SuccessfulConnect *float64 `json:"successful-connect,omitempty"`
Throughput *float64 `json:"throughput,omitempty"`
TimeToConnect *float64 `json:"time-to-connect,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSiteSleWifiResult represents a OrgSiteSleWifiResult struct.
func (OrgSiteSleWifiResult) MarshalJSON ¶
func (o OrgSiteSleWifiResult) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSiteSleWifiResult. It customizes the JSON marshaling process for OrgSiteSleWifiResult objects.
func (OrgSiteSleWifiResult) String ¶ added in v0.4.23
func (o OrgSiteSleWifiResult) String() string
String implements the fmt.Stringer interface for OrgSiteSleWifiResult, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSiteSleWifiResult) UnmarshalJSON ¶
func (o *OrgSiteSleWifiResult) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSiteSleWifiResult. It customizes the JSON unmarshaling process for OrgSiteSleWifiResult objects.
type OrgSiteSleWiredResult ¶
type OrgSiteSleWiredResult struct {
NumClients *float64 `json:"num_clients,omitempty"`
NumSwitches *float64 `json:"num_switches,omitempty"`
SiteId uuid.UUID `json:"site_id"`
SwitchBandwidth *float64 `json:"switch-bandwidth,omitempty"`
SwitchHealth float64 `json:"switch-health"`
SwitchThroughput *float64 `json:"switch-throughput,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSiteSleWiredResult represents a OrgSiteSleWiredResult struct.
func (OrgSiteSleWiredResult) MarshalJSON ¶
func (o OrgSiteSleWiredResult) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSiteSleWiredResult. It customizes the JSON marshaling process for OrgSiteSleWiredResult objects.
func (OrgSiteSleWiredResult) String ¶ added in v0.4.23
func (o OrgSiteSleWiredResult) String() string
String implements the fmt.Stringer interface for OrgSiteSleWiredResult, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSiteSleWiredResult) UnmarshalJSON ¶
func (o *OrgSiteSleWiredResult) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSiteSleWiredResult. It customizes the JSON unmarshaling process for OrgSiteSleWiredResult objects.
type OrgSiteWanWifi ¶
type OrgSiteWanWifi struct {
End float64 `json:"end"`
Interval int `json:"interval"`
Limit int `json:"limit"`
Page int `json:"page"`
Results []OrgSiteSleWanResult `json:"results"`
Start float64 `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSiteWanWifi represents a OrgSiteWanWifi struct.
func (OrgSiteWanWifi) MarshalJSON ¶
func (o OrgSiteWanWifi) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSiteWanWifi. It customizes the JSON marshaling process for OrgSiteWanWifi objects.
func (OrgSiteWanWifi) String ¶ added in v0.4.23
func (o OrgSiteWanWifi) String() string
String implements the fmt.Stringer interface for OrgSiteWanWifi, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSiteWanWifi) UnmarshalJSON ¶
func (o *OrgSiteWanWifi) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSiteWanWifi. It customizes the JSON unmarshaling process for OrgSiteWanWifi objects.
type OrgSiteWiredWifi ¶
type OrgSiteWiredWifi struct {
End float64 `json:"end"`
Interval int `json:"interval"`
Limit int `json:"limit"`
Page int `json:"page"`
Results []OrgSiteSleWiredResult `json:"results"`
Start float64 `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSiteWiredWifi represents a OrgSiteWiredWifi struct.
func (OrgSiteWiredWifi) MarshalJSON ¶
func (o OrgSiteWiredWifi) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSiteWiredWifi. It customizes the JSON marshaling process for OrgSiteWiredWifi objects.
func (OrgSiteWiredWifi) String ¶ added in v0.4.23
func (o OrgSiteWiredWifi) String() string
String implements the fmt.Stringer interface for OrgSiteWiredWifi, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSiteWiredWifi) UnmarshalJSON ¶
func (o *OrgSiteWiredWifi) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSiteWiredWifi. It customizes the JSON unmarshaling process for OrgSiteWiredWifi objects.
type OrgSitesCountDistinctEnum ¶
type OrgSitesCountDistinctEnum string
OrgSitesCountDistinctEnum is a string enum. enum: `analytic_enabled`, `app_waking`, `asset_enabled`, `auto_upgrade_enabled`, `auto_upgrade_version`, `country_code`, `honeypot_enabled`, `id`, `locate_unconnected`, `mesh_enabled`, `name`, `remote_syslog_enabled`, `rogue_enabled`, `rtsa_enabled`, `vna_enabled`, `wifi_enabled`
const ( OrgSitesCountDistinctEnum_ANALYTICENABLED OrgSitesCountDistinctEnum = "analytic_enabled" OrgSitesCountDistinctEnum_APPWAKING OrgSitesCountDistinctEnum = "app_waking" OrgSitesCountDistinctEnum_ASSETENABLED OrgSitesCountDistinctEnum = "asset_enabled" OrgSitesCountDistinctEnum_AUTOUPGRADEENABLED OrgSitesCountDistinctEnum = "auto_upgrade_enabled" OrgSitesCountDistinctEnum_AUTOUPGRADEVERSION OrgSitesCountDistinctEnum = "auto_upgrade_version" OrgSitesCountDistinctEnum_COUNTRYCODE OrgSitesCountDistinctEnum = "country_code" OrgSitesCountDistinctEnum_HONEYPOTENABLED OrgSitesCountDistinctEnum = "honeypot_enabled" OrgSitesCountDistinctEnum_ID OrgSitesCountDistinctEnum = "id" OrgSitesCountDistinctEnum_LOCATEUNCONNECTED OrgSitesCountDistinctEnum = "locate_unconnected" OrgSitesCountDistinctEnum_MESHENABLED OrgSitesCountDistinctEnum = "mesh_enabled" OrgSitesCountDistinctEnum_NAME OrgSitesCountDistinctEnum = "name" OrgSitesCountDistinctEnum_REMOTESYSLOGENABLED OrgSitesCountDistinctEnum = "remote_syslog_enabled" OrgSitesCountDistinctEnum_ROGUEENABLED OrgSitesCountDistinctEnum = "rogue_enabled" OrgSitesCountDistinctEnum_RTSAENABLED OrgSitesCountDistinctEnum = "rtsa_enabled" OrgSitesCountDistinctEnum_VNAENABLED OrgSitesCountDistinctEnum = "vna_enabled" OrgSitesCountDistinctEnum_WIFIENABLED OrgSitesCountDistinctEnum = "wifi_enabled" )
type OrgSslProxyCert ¶ added in v0.2.38
type OrgSslProxyCert struct {
Cert *string `json:"cert,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSslProxyCert represents a OrgSslProxyCert struct.
func (OrgSslProxyCert) MarshalJSON ¶ added in v0.2.38
func (o OrgSslProxyCert) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSslProxyCert. It customizes the JSON marshaling process for OrgSslProxyCert objects.
func (OrgSslProxyCert) String ¶ added in v0.4.23
func (o OrgSslProxyCert) String() string
String implements the fmt.Stringer interface for OrgSslProxyCert, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSslProxyCert) UnmarshalJSON ¶ added in v0.2.38
func (o *OrgSslProxyCert) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSslProxyCert. It customizes the JSON unmarshaling process for OrgSslProxyCert objects.
type OrgSystemEvent ¶ added in v0.4.74
type OrgSystemEvent struct {
ChangeCat *string `json:"change_cat,omitempty"`
Metadata *string `json:"metadata,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
Scope *string `json:"scope,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
Type *string `json:"type,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgSystemEvent represents a OrgSystemEvent struct.
func (OrgSystemEvent) MarshalJSON ¶ added in v0.4.74
func (o OrgSystemEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSystemEvent. It customizes the JSON marshaling process for OrgSystemEvent objects.
func (OrgSystemEvent) String ¶ added in v0.4.74
func (o OrgSystemEvent) String() string
String implements the fmt.Stringer interface for OrgSystemEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgSystemEvent) UnmarshalJSON ¶ added in v0.4.74
func (o *OrgSystemEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSystemEvent. It customizes the JSON unmarshaling process for OrgSystemEvent objects.
type OrgTicketsCountDistinctEnum ¶
type OrgTicketsCountDistinctEnum string
OrgTicketsCountDistinctEnum is a string enum. enum: `status`, `type`
const ( OrgTicketsCountDistinctEnum_STATUS OrgTicketsCountDistinctEnum = "status" OrgTicketsCountDistinctEnum_ENUMTYPE OrgTicketsCountDistinctEnum = "type" )
type OrgTunnelCountDistinctEnum ¶
type OrgTunnelCountDistinctEnum string
OrgTunnelCountDistinctEnum is a string enum. enum: `ap`, `auth_algo`, `encrypt_algo`, `ike_version`, `ip`, `last_event`, `mac`, `mxcluster_id`, `mxedge_id`, `node`, `peer_host`, `peer_ip`, `peer_mxedge_id`, `protocol`, `remote_ip`, `remote_port`, `site_id`, `state`, `tunnel_name`, `up`, `wxtunnel_id`
const ( OrgTunnelCountDistinctEnum_AP OrgTunnelCountDistinctEnum = "ap" OrgTunnelCountDistinctEnum_AUTHALGO OrgTunnelCountDistinctEnum = "auth_algo" OrgTunnelCountDistinctEnum_ENCRYPTALGO OrgTunnelCountDistinctEnum = "encrypt_algo" OrgTunnelCountDistinctEnum_IKEVERSION OrgTunnelCountDistinctEnum = "ike_version" OrgTunnelCountDistinctEnum_IP OrgTunnelCountDistinctEnum = "ip" OrgTunnelCountDistinctEnum_LASTEVENT OrgTunnelCountDistinctEnum = "last_event" OrgTunnelCountDistinctEnum_MAC OrgTunnelCountDistinctEnum = "mac" OrgTunnelCountDistinctEnum_MXCLUSTERID OrgTunnelCountDistinctEnum = "mxcluster_id" OrgTunnelCountDistinctEnum_MXEDGEID OrgTunnelCountDistinctEnum = "mxedge_id" OrgTunnelCountDistinctEnum_NODE OrgTunnelCountDistinctEnum = "node" OrgTunnelCountDistinctEnum_PEERHOST OrgTunnelCountDistinctEnum = "peer_host" OrgTunnelCountDistinctEnum_PEERIP OrgTunnelCountDistinctEnum = "peer_ip" OrgTunnelCountDistinctEnum_PEERMXEDGEID OrgTunnelCountDistinctEnum = "peer_mxedge_id" OrgTunnelCountDistinctEnum_PROTOCOL OrgTunnelCountDistinctEnum = "protocol" OrgTunnelCountDistinctEnum_REMOTEIP OrgTunnelCountDistinctEnum = "remote_ip" OrgTunnelCountDistinctEnum_REMOTEPORT OrgTunnelCountDistinctEnum = "remote_port" OrgTunnelCountDistinctEnum_SITEID OrgTunnelCountDistinctEnum = "site_id" OrgTunnelCountDistinctEnum_STATE OrgTunnelCountDistinctEnum = "state" OrgTunnelCountDistinctEnum_TUNNELNAME OrgTunnelCountDistinctEnum = "tunnel_name" OrgTunnelCountDistinctEnum_UP OrgTunnelCountDistinctEnum = "up" OrgTunnelCountDistinctEnum_WXTUNNELID OrgTunnelCountDistinctEnum = "wxtunnel_id" )
type OrgTunnelTypeCountEnum ¶
type OrgTunnelTypeCountEnum string
OrgTunnelTypeCountEnum is a string enum. enum: `wan`, `wxtunnel`
const ( OrgTunnelTypeCountEnum_WAN OrgTunnelTypeCountEnum = "wan" OrgTunnelTypeCountEnum_WXTUNNEL OrgTunnelTypeCountEnum = "wxtunnel" )
type OrgUiSettings ¶ added in v0.4.80
type OrgUiSettings struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
Description *string `json:"description,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// Whether this is a custom databoard or not
IsCustomDataboard *bool `json:"isCustomDataboard,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
// Name of the databoard
Name *string `json:"name,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// enum: `marvisdashboard`
Purpose *OrgUiSettingsPurposeEnum `json:"purpose,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// List of tiles in the databoard
Tiles []OrgUiSettingsTile `json:"tiles,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgUiSettings represents a OrgUiSettings struct.
func (OrgUiSettings) MarshalJSON ¶ added in v0.4.80
func (o OrgUiSettings) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgUiSettings. It customizes the JSON marshaling process for OrgUiSettings objects.
func (OrgUiSettings) String ¶ added in v0.4.80
func (o OrgUiSettings) String() string
String implements the fmt.Stringer interface for OrgUiSettings, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgUiSettings) UnmarshalJSON ¶ added in v0.4.80
func (o *OrgUiSettings) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgUiSettings. It customizes the JSON unmarshaling process for OrgUiSettings objects.
type OrgUiSettingsPurposeEnum ¶ added in v0.4.80
type OrgUiSettingsPurposeEnum string
OrgUiSettingsPurposeEnum is a string enum. enum: `marvisdashboard`
const (
OrgUiSettingsPurposeEnum_MARVISDASHBOARD OrgUiSettingsPurposeEnum = "marvisdashboard"
)
type OrgUiSettingsTile ¶ added in v0.4.80
type OrgUiSettingsTile struct {
// Description of the tile
Description *string `json:"description,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// Whether the tile title is auto generated or not
IsAutoTitle *bool `json:"isAutoTitle,omitempty"`
// Name of the tile
Name *string `json:"name,omitempty"`
// Natural Language query for the tile
NlQuery *string `json:"nl_query,omitempty"`
Position *OrgUiSettingsTilePosition `json:"position,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgUiSettingsTile represents a OrgUiSettingsTile struct.
func (OrgUiSettingsTile) MarshalJSON ¶ added in v0.4.80
func (o OrgUiSettingsTile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgUiSettingsTile. It customizes the JSON marshaling process for OrgUiSettingsTile objects.
func (OrgUiSettingsTile) String ¶ added in v0.4.80
func (o OrgUiSettingsTile) String() string
String implements the fmt.Stringer interface for OrgUiSettingsTile, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgUiSettingsTile) UnmarshalJSON ¶ added in v0.4.80
func (o *OrgUiSettingsTile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgUiSettingsTile. It customizes the JSON unmarshaling process for OrgUiSettingsTile objects.
type OrgUiSettingsTilePosition ¶ added in v0.4.80
type OrgUiSettingsTilePosition struct {
Col *int `json:"col,omitempty"`
ColSpan *int `json:"colSpan,omitempty"`
Row *int `json:"row,omitempty"`
RowSpan *int `json:"rowSpan,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OrgUiSettingsTilePosition represents a OrgUiSettingsTilePosition struct.
func (OrgUiSettingsTilePosition) MarshalJSON ¶ added in v0.4.80
func (o OrgUiSettingsTilePosition) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgUiSettingsTilePosition. It customizes the JSON marshaling process for OrgUiSettingsTilePosition objects.
func (OrgUiSettingsTilePosition) String ¶ added in v0.4.80
func (o OrgUiSettingsTilePosition) String() string
String implements the fmt.Stringer interface for OrgUiSettingsTilePosition, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OrgUiSettingsTilePosition) UnmarshalJSON ¶ added in v0.4.80
func (o *OrgUiSettingsTilePosition) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgUiSettingsTilePosition. It customizes the JSON unmarshaling process for OrgUiSettingsTilePosition objects.
type OrgWanClientsCountDistinctEnum ¶
type OrgWanClientsCountDistinctEnum string
OrgWanClientsCountDistinctEnum is a string enum. enum: `hostname`, `ip`, `mac`, `mfg`, `network`
const ( OrgWanClientsCountDistinctEnum_HOSTNAME OrgWanClientsCountDistinctEnum = "hostname" OrgWanClientsCountDistinctEnum_IP OrgWanClientsCountDistinctEnum = "ip" OrgWanClientsCountDistinctEnum_MAC OrgWanClientsCountDistinctEnum = "mac" OrgWanClientsCountDistinctEnum_MFG OrgWanClientsCountDistinctEnum = "mfg" OrgWanClientsCountDistinctEnum_NETWORK OrgWanClientsCountDistinctEnum = "network" )
type OrgWanClientsEventsCountDistinctEnum ¶
type OrgWanClientsEventsCountDistinctEnum string
OrgWanClientsEventsCountDistinctEnum is a string enum. enum: `hostname`, `ip`, `mac`, `mfg`, `type`
const ( OrgWanClientsEventsCountDistinctEnum_HOSTNAME OrgWanClientsEventsCountDistinctEnum = "hostname" OrgWanClientsEventsCountDistinctEnum_IP OrgWanClientsEventsCountDistinctEnum = "ip" OrgWanClientsEventsCountDistinctEnum_MAC OrgWanClientsEventsCountDistinctEnum = "mac" OrgWanClientsEventsCountDistinctEnum_MFG OrgWanClientsEventsCountDistinctEnum = "mfg" OrgWanClientsEventsCountDistinctEnum_ENUMTYPE OrgWanClientsEventsCountDistinctEnum = "type" )
type OrgWiredClientsCountDistinctEnum ¶
type OrgWiredClientsCountDistinctEnum string
OrgWiredClientsCountDistinctEnum is a string enum. enum: `device_mac`, `mac`, `port_id`, `site_id`, `type`, `vlan`
const ( OrgWiredClientsCountDistinctEnum_DEVICEMAC OrgWiredClientsCountDistinctEnum = "device_mac" OrgWiredClientsCountDistinctEnum_MAC OrgWiredClientsCountDistinctEnum = "mac" OrgWiredClientsCountDistinctEnum_PORTID OrgWiredClientsCountDistinctEnum = "port_id" OrgWiredClientsCountDistinctEnum_SITEID OrgWiredClientsCountDistinctEnum = "site_id" OrgWiredClientsCountDistinctEnum_ENUMTYPE OrgWiredClientsCountDistinctEnum = "type" OrgWiredClientsCountDistinctEnum_VLAN OrgWiredClientsCountDistinctEnum = "vlan" )
type Orggroup ¶
type Orggroup struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
MspId *uuid.UUID `json:"msp_id,omitempty"`
Name string `json:"name"`
OrgIds []uuid.UUID `json:"org_ids,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Orggroup represents a Orggroup struct. Organizations Group
func (Orggroup) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Orggroup. It customizes the JSON marshaling process for Orggroup objects.
func (Orggroup) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Orggroup, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Orggroup) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Orggroup. It customizes the JSON unmarshaling process for Orggroup objects.
type OspfArea ¶ added in v0.3.21
type OspfArea struct {
IncludeLoopback *bool `json:"include_loopback,omitempty"`
Networks map[string]OspfAreasNetwork `json:"networks,omitempty"`
// OSPF type. enum: `default`, `nssa`, `stub`
Type *OspfAreaTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OspfArea represents a OspfArea struct. Property key is the OSPF Area (Area should be a number (0-255) / IP address)
func (OspfArea) MarshalJSON ¶ added in v0.3.21
MarshalJSON implements the json.Marshaler interface for OspfArea. It customizes the JSON marshaling process for OspfArea objects.
func (OspfArea) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for OspfArea, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OspfArea) UnmarshalJSON ¶ added in v0.3.21
UnmarshalJSON implements the json.Unmarshaler interface for OspfArea. It customizes the JSON unmarshaling process for OspfArea objects.
type OspfAreaNetworkAuthTypeEnum ¶ added in v0.3.21
type OspfAreaNetworkAuthTypeEnum string
OspfAreaNetworkAuthTypeEnum is a string enum. auth type. enum: `md5`, `none`, `password`
const ( OspfAreaNetworkAuthTypeEnum_MD5 OspfAreaNetworkAuthTypeEnum = "md5" OspfAreaNetworkAuthTypeEnum_NONE OspfAreaNetworkAuthTypeEnum = "none" OspfAreaNetworkAuthTypeEnum_PASSWORD OspfAreaNetworkAuthTypeEnum = "password" )
type OspfAreaNetworkInterfaceTypeEnum ¶ added in v0.3.21
type OspfAreaNetworkInterfaceTypeEnum string
OspfAreaNetworkInterfaceTypeEnum is a string enum. interface type (nbma = non-broadcast multi-access). enum: `broadcast`, `nbma`, `p2mp`, `p2p`
const ( OspfAreaNetworkInterfaceTypeEnum_BROADCAST OspfAreaNetworkInterfaceTypeEnum = "broadcast" OspfAreaNetworkInterfaceTypeEnum_NBMA OspfAreaNetworkInterfaceTypeEnum = "nbma" OspfAreaNetworkInterfaceTypeEnum_P2MP OspfAreaNetworkInterfaceTypeEnum = "p2mp" OspfAreaNetworkInterfaceTypeEnum_P2P OspfAreaNetworkInterfaceTypeEnum = "p2p" )
type OspfAreaTypeEnum ¶ added in v0.3.21
type OspfAreaTypeEnum string
OspfAreaTypeEnum is a string enum. OSPF type. enum: `default`, `nssa`, `stub`
const ( OspfAreaTypeEnum_ENUMDEFAULT OspfAreaTypeEnum = "default" OspfAreaTypeEnum_NSSA OspfAreaTypeEnum = "nssa" OspfAreaTypeEnum_STUB OspfAreaTypeEnum = "stub" )
type OspfAreasNetwork ¶
type OspfAreasNetwork struct {
// Required if `auth_type`==`md5`. Property key is the key number
AuthKeys map[string]string `json:"auth_keys,omitempty"`
// Required if `auth_type`==`password`, the password, max length is 8
AuthPassword *string `json:"auth_password,omitempty"`
// auth type. enum: `md5`, `none`, `password`
AuthType *OspfAreaNetworkAuthTypeEnum `json:"auth_type,omitempty"`
BfdMinimumInterval *int `json:"bfd_minimum_interval,omitempty"`
DeadInterval *int `json:"dead_interval,omitempty"`
ExportPolicy *string `json:"export_policy,omitempty"`
HelloInterval *int `json:"hello_interval,omitempty"`
ImportPolicy *string `json:"import_policy,omitempty"`
// interface type (nbma = non-broadcast multi-access). enum: `broadcast`, `nbma`, `p2mp`, `p2p`
InterfaceType *OspfAreaNetworkInterfaceTypeEnum `json:"interface_type,omitempty"`
Metric Optional[int] `json:"metric"`
// By default, we'll re-advertise all learned OSPF routes toward overlay
NoReadvertiseToOverlay *bool `json:"no_readvertise_to_overlay,omitempty"`
// Whether to send OSPF-Hello
Passive *bool `json:"passive,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OspfAreasNetwork represents a OspfAreasNetwork struct. Property key is the network name. Networks to participate in an OSPF area
func (OspfAreasNetwork) MarshalJSON ¶
func (o OspfAreasNetwork) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OspfAreasNetwork. It customizes the JSON marshaling process for OspfAreasNetwork objects.
func (OspfAreasNetwork) String ¶ added in v0.4.23
func (o OspfAreasNetwork) String() string
String implements the fmt.Stringer interface for OspfAreasNetwork, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OspfAreasNetwork) UnmarshalJSON ¶
func (o *OspfAreasNetwork) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OspfAreasNetwork. It customizes the JSON unmarshaling process for OspfAreasNetwork objects.
type OspfPeerStatsCountDistinctEnum ¶ added in v0.4.92
type OspfPeerStatsCountDistinctEnum string
OspfPeerStatsCountDistinctEnum is a string enum. enum: `site_id`, `org_id`, `mac`, `peer_ip`, `port_id`, `state`, `vrf_name`
const ( OspfPeerStatsCountDistinctEnum_SITEID OspfPeerStatsCountDistinctEnum = "site_id" OspfPeerStatsCountDistinctEnum_ORGID OspfPeerStatsCountDistinctEnum = "org_id" OspfPeerStatsCountDistinctEnum_MAC OspfPeerStatsCountDistinctEnum = "mac" OspfPeerStatsCountDistinctEnum_PEERIP OspfPeerStatsCountDistinctEnum = "peer_ip" OspfPeerStatsCountDistinctEnum_PORTID OspfPeerStatsCountDistinctEnum = "port_id" OspfPeerStatsCountDistinctEnum_STATE OspfPeerStatsCountDistinctEnum = "state" OspfPeerStatsCountDistinctEnum_VRFNAME OspfPeerStatsCountDistinctEnum = "vrf_name" )
type OspfPeerStatsSearchResult ¶ added in v0.4.92
type OspfPeerStatsSearchResult struct {
End *int `json:"end,omitempty"`
Limit *int `json:"limit,omitempty"`
Next *string `json:"next,omitempty"`
Results []OspfPeerStatsSearchResultsItems `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OspfPeerStatsSearchResult represents a OspfPeerStatsSearchResult struct.
func (OspfPeerStatsSearchResult) MarshalJSON ¶ added in v0.4.92
func (o OspfPeerStatsSearchResult) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OspfPeerStatsSearchResult. It customizes the JSON marshaling process for OspfPeerStatsSearchResult objects.
func (OspfPeerStatsSearchResult) String ¶ added in v0.4.92
func (o OspfPeerStatsSearchResult) String() string
String implements the fmt.Stringer interface for OspfPeerStatsSearchResult, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OspfPeerStatsSearchResult) UnmarshalJSON ¶ added in v0.4.92
func (o *OspfPeerStatsSearchResult) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OspfPeerStatsSearchResult. It customizes the JSON unmarshaling process for OspfPeerStatsSearchResult objects.
type OspfPeerStatsSearchResultsItems ¶ added in v0.4.92
type OspfPeerStatsSearchResultsItems struct {
// Activity timer
DeadTime *int `json:"dead_time,omitempty"`
// Router MAC address
Mac *string `json:"mac,omitempty"`
// Router org ID
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Neighbor address (IP)
PeerIp *string `json:"peer_ip,omitempty"`
// Interface name
PortId *string `json:"port_id,omitempty"`
// Neighbor priority, 0-255
Priority *int `json:"priority,omitempty"`
// Router site ID
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Eg. full, down, 2way, init, exstart, exchange, loading
State *string `json:"state,omitempty"`
// Sampling time (in epoch seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
// True if state is full
Up *bool `json:"up,omitempty"`
// Instance name, e.g. master
VrfName *string `json:"vrf_name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OspfPeerStatsSearchResultsItems represents a OspfPeerStatsSearchResultsItems struct.
func (OspfPeerStatsSearchResultsItems) MarshalJSON ¶ added in v0.4.92
func (o OspfPeerStatsSearchResultsItems) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OspfPeerStatsSearchResultsItems. It customizes the JSON marshaling process for OspfPeerStatsSearchResultsItems objects.
func (OspfPeerStatsSearchResultsItems) String ¶ added in v0.4.92
func (o OspfPeerStatsSearchResultsItems) String() string
String implements the fmt.Stringer interface for OspfPeerStatsSearchResultsItems, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OspfPeerStatsSearchResultsItems) UnmarshalJSON ¶ added in v0.4.92
func (o *OspfPeerStatsSearchResultsItems) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OspfPeerStatsSearchResultsItems. It customizes the JSON unmarshaling process for OspfPeerStatsSearchResultsItems objects.
type OtherDeviceUpdate ¶
type OtherDeviceUpdate struct {
DeviceMac *string `json:"device_mac,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OtherDeviceUpdate represents a OtherDeviceUpdate struct.
func (OtherDeviceUpdate) MarshalJSON ¶
func (o OtherDeviceUpdate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OtherDeviceUpdate. It customizes the JSON marshaling process for OtherDeviceUpdate objects.
func (OtherDeviceUpdate) String ¶ added in v0.4.23
func (o OtherDeviceUpdate) String() string
String implements the fmt.Stringer interface for OtherDeviceUpdate, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OtherDeviceUpdate) UnmarshalJSON ¶
func (o *OtherDeviceUpdate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OtherDeviceUpdate. It customizes the JSON unmarshaling process for OtherDeviceUpdate objects.
type OtherDeviceUpdateMulti ¶
type OtherDeviceUpdateMulti struct {
// MAC address of the peer device.
Macs []string `json:"macs,omitempty"`
// The operation being performed. enum: `assign`, `unassign`
Op OtherDeviceUpdateOperationEnum `json:"op"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OtherDeviceUpdateMulti represents a OtherDeviceUpdateMulti struct.
func (OtherDeviceUpdateMulti) MarshalJSON ¶
func (o OtherDeviceUpdateMulti) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OtherDeviceUpdateMulti. It customizes the JSON marshaling process for OtherDeviceUpdateMulti objects.
func (OtherDeviceUpdateMulti) String ¶ added in v0.4.23
func (o OtherDeviceUpdateMulti) String() string
String implements the fmt.Stringer interface for OtherDeviceUpdateMulti, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OtherDeviceUpdateMulti) UnmarshalJSON ¶
func (o *OtherDeviceUpdateMulti) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OtherDeviceUpdateMulti. It customizes the JSON unmarshaling process for OtherDeviceUpdateMulti objects.
type OtherDeviceUpdateOperationEnum ¶
type OtherDeviceUpdateOperationEnum string
OtherDeviceUpdateOperationEnum is a string enum. The operation being performed. enum: `assign`, `unassign`
const ( OtherDeviceUpdateOperationEnum_ASSIGN OtherDeviceUpdateOperationEnum = "assign" OtherDeviceUpdateOperationEnum_UNASSIGN OtherDeviceUpdateOperationEnum = "unassign" )
type PcapBucket ¶
type PcapBucket struct {
Bucket string `json:"bucket"`
AdditionalProperties map[string]interface{} `json:"_"`
}
PcapBucket represents a PcapBucket struct.
func (PcapBucket) MarshalJSON ¶
func (p PcapBucket) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PcapBucket. It customizes the JSON marshaling process for PcapBucket objects.
func (PcapBucket) String ¶ added in v0.4.23
func (p PcapBucket) String() string
String implements the fmt.Stringer interface for PcapBucket, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*PcapBucket) UnmarshalJSON ¶
func (p *PcapBucket) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PcapBucket. It customizes the JSON unmarshaling process for PcapBucket objects.
type PcapBucketVerify ¶
type PcapBucketVerify struct {
Bucket string `json:"bucket"`
VerifyToken string `json:"verify_token"`
AdditionalProperties map[string]interface{} `json:"_"`
}
PcapBucketVerify represents a PcapBucketVerify struct.
func (PcapBucketVerify) MarshalJSON ¶
func (p PcapBucketVerify) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PcapBucketVerify. It customizes the JSON marshaling process for PcapBucketVerify objects.
func (PcapBucketVerify) String ¶ added in v0.4.23
func (p PcapBucketVerify) String() string
String implements the fmt.Stringer interface for PcapBucketVerify, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*PcapBucketVerify) UnmarshalJSON ¶
func (p *PcapBucketVerify) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PcapBucketVerify. It customizes the JSON unmarshaling process for PcapBucketVerify objects.
type PcapTypeEnum ¶
type PcapTypeEnum string
PcapTypeEnum is a string enum. enum: `client`, `gateway`, `new_assoc`, `radiotap`, `radiotap,wired`, `wired`, `wireless`
const ( PcapTypeEnum_CLIENT PcapTypeEnum = "client" PcapTypeEnum_GATEWAY PcapTypeEnum = "gateway" PcapTypeEnum_NEWASSOC PcapTypeEnum = "new_assoc" PcapTypeEnum_RADIOTAP PcapTypeEnum = "radiotap" PcapTypeEnum_ENUMRADIOTAPWIRED PcapTypeEnum = "radiotap,wired" PcapTypeEnum_WIRED PcapTypeEnum = "wired" PcapTypeEnum_WIRELESS PcapTypeEnum = "wireless" )
type PmaDashboard ¶
type PmaDashboard struct {
// Description of the dashboard
Description *string `json:"description,omitempty"`
// group label name
Label *string `json:"label,omitempty"`
// Name of the dashboard
Name *string `json:"name,omitempty"`
// url to access dashboard. Url will redirect the user to the dashboard
Url *string `json:"url,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
PmaDashboard represents a PmaDashboard struct.
func (PmaDashboard) MarshalJSON ¶
func (p PmaDashboard) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PmaDashboard. It customizes the JSON marshaling process for PmaDashboard objects.
func (PmaDashboard) String ¶ added in v0.4.23
func (p PmaDashboard) String() string
String implements the fmt.Stringer interface for PmaDashboard, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*PmaDashboard) UnmarshalJSON ¶
func (p *PmaDashboard) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PmaDashboard. It customizes the JSON unmarshaling process for PmaDashboard objects.
type PoePriorityEnum ¶ added in v0.4.92
type PoePriorityEnum string
PoePriorityEnum is a string enum. PoE priority. enum: `low`, `high`
const ( PoePriorityEnum_LOW PoePriorityEnum = "low" PoePriorityEnum_HIGH PoePriorityEnum = "high" )
type PortalTemplateAlignmentEnum ¶ added in v0.2.38
type PortalTemplateAlignmentEnum string
PortalTemplateAlignmentEnum is a string enum. defines alignment on portal. enum: `center`, `left`, `right`
const ( PortalTemplateAlignmentEnum_CENTER PortalTemplateAlignmentEnum = "center" PortalTemplateAlignmentEnum_LEFT PortalTemplateAlignmentEnum = "left" PortalTemplateAlignmentEnum_RIGHT PortalTemplateAlignmentEnum = "right" )
type PrivilegeMsp ¶
type PrivilegeMsp struct {
// If `scope`==`org`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Name of the org (for a site belonging to org)
OrgName *string `json:"org_name,omitempty"`
// If `scope`==`orggroup`
OrggroupId *uuid.UUID `json:"orggroup_id,omitempty"`
// access permissions. enum: `admin`, `helpdesk`, `installer`, `read`, `write`
Role PrivilegeMspRoleEnum `json:"role"`
// enum: `msp`, `org`, `orggroup`
Scope PrivilegeMspScopeEnum `json:"scope"`
// Custom roles restrict Org users to specific UI views. This is useful for limiting UI access of Org users. Custom roles restrict Org users to specific UI views. This is useful for limiting UI access of Org users.
// You can define custom roles by adding the `views` attribute along with `role` when assigning privileges.
// Below are the list of supported UI views. Note that this is UI only feature.
// | UI View | Required Role | Description |
// | --- | --- | --- |
// | `reporting` | `read` | full access to all analytics tools |
// | `marketing` | `read` | can view analytics and location maps |
// | `super_observer` | `read` | can view all the organization except the subscription page |
// | `location` | `write` | can view and manage location maps, can view analytics |
// | `security` | `write` | can view and manage site labels, policies and security |
// | `switch_admin` | `helpdesk` | can view and manage Switch ports, can view wired clients |
// | `mxedge_admin` | `admin` | can view and manage Mist edges and Mist tunnels |
// | `lobby_admin` | `admin` | full access to Org and Site Pre-shared keys |
Views []AdminPrivilegeViewEnum `json:"views,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
PrivilegeMsp represents a PrivilegeMsp struct. Privileges settings
func (PrivilegeMsp) MarshalJSON ¶
func (p PrivilegeMsp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PrivilegeMsp. It customizes the JSON marshaling process for PrivilegeMsp objects.
func (PrivilegeMsp) String ¶ added in v0.4.23
func (p PrivilegeMsp) String() string
String implements the fmt.Stringer interface for PrivilegeMsp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*PrivilegeMsp) UnmarshalJSON ¶
func (p *PrivilegeMsp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PrivilegeMsp. It customizes the JSON unmarshaling process for PrivilegeMsp objects.
type PrivilegeMspRoleEnum ¶
type PrivilegeMspRoleEnum string
PrivilegeMspRoleEnum is a string enum. access permissions. enum: `admin`, `helpdesk`, `installer`, `read`, `write`
const ( PrivilegeMspRoleEnum_ADMIN PrivilegeMspRoleEnum = "admin" PrivilegeMspRoleEnum_HELPDESK PrivilegeMspRoleEnum = "helpdesk" PrivilegeMspRoleEnum_INSTALLER PrivilegeMspRoleEnum = "installer" PrivilegeMspRoleEnum_READ PrivilegeMspRoleEnum = "read" PrivilegeMspRoleEnum_WRITE PrivilegeMspRoleEnum = "write" )
type PrivilegeMspScopeEnum ¶
type PrivilegeMspScopeEnum string
PrivilegeMspScopeEnum is a string enum. enum: `msp`, `org`, `orggroup`
const ( PrivilegeMspScopeEnum_MSP PrivilegeMspScopeEnum = "msp" PrivilegeMspScopeEnum_ORG PrivilegeMspScopeEnum = "org" PrivilegeMspScopeEnum_ORGGROUP PrivilegeMspScopeEnum = "orggroup" )
type PrivilegeOrg ¶
type PrivilegeOrg struct {
// If `scope`==`org`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// access permissions. enum: `admin`, `helpdesk`, `installer`, `read`, `write`
Role PrivilegeOrgRoleEnum `json:"role"`
// enum: `org`, `site`, `sitegroup`, `orgsites`
Scope PrivilegeOrgScopeEnum `json:"scope"`
// If `scope`==`site`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// If `scope`==`sitegroup`
SitegroupId *uuid.UUID `json:"sitegroup_id,omitempty"`
// Used for backward compatibility. Use `views` instead.
View *string `json:"view,omitempty"` // Deprecated
// Custom roles restrict Org users to specific UI views. This is useful for limiting UI access of Org users. Custom roles restrict Org users to specific UI views. This is useful for limiting UI access of Org users.
// You can define custom roles by adding the `views` attribute along with `role` when assigning privileges.
// Below are the list of supported UI views. Note that this is UI only feature.
// | UI View | Required Role | Description |
// | --- | --- | --- |
// | `reporting` | `read` | full access to all analytics tools |
// | `marketing` | `read` | can view analytics and location maps |
// | `super_observer` | `read` | can view all the organization except the subscription page |
// | `location` | `write` | can view and manage location maps, can view analytics |
// | `security` | `write` | can view and manage site labels, policies and security |
// | `switch_admin` | `helpdesk` | can view and manage Switch ports, can view wired clients |
// | `mxedge_admin` | `admin` | can view and manage Mist edges and Mist tunnels |
// | `lobby_admin` | `admin` | full access to Org and Site Pre-shared keys |
Views []AdminPrivilegeViewEnum `json:"views,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
PrivilegeOrg represents a PrivilegeOrg struct. Privileges settings
func (PrivilegeOrg) MarshalJSON ¶
func (p PrivilegeOrg) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PrivilegeOrg. It customizes the JSON marshaling process for PrivilegeOrg objects.
func (PrivilegeOrg) String ¶ added in v0.4.23
func (p PrivilegeOrg) String() string
String implements the fmt.Stringer interface for PrivilegeOrg, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*PrivilegeOrg) UnmarshalJSON ¶
func (p *PrivilegeOrg) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PrivilegeOrg. It customizes the JSON unmarshaling process for PrivilegeOrg objects.
type PrivilegeOrgRoleEnum ¶
type PrivilegeOrgRoleEnum string
PrivilegeOrgRoleEnum is a string enum. access permissions. enum: `admin`, `helpdesk`, `installer`, `read`, `write`
const ( PrivilegeOrgRoleEnum_ADMIN PrivilegeOrgRoleEnum = "admin" PrivilegeOrgRoleEnum_HELPDESK PrivilegeOrgRoleEnum = "helpdesk" PrivilegeOrgRoleEnum_INSTALLER PrivilegeOrgRoleEnum = "installer" PrivilegeOrgRoleEnum_READ PrivilegeOrgRoleEnum = "read" PrivilegeOrgRoleEnum_WRITE PrivilegeOrgRoleEnum = "write" )
type PrivilegeOrgScopeEnum ¶
type PrivilegeOrgScopeEnum string
PrivilegeOrgScopeEnum is a string enum. enum: `org`, `site`, `sitegroup`, `orgsites`
const ( PrivilegeOrgScopeEnum_ORG PrivilegeOrgScopeEnum = "org" PrivilegeOrgScopeEnum_SITE PrivilegeOrgScopeEnum = "site" PrivilegeOrgScopeEnum_SITEGROUP PrivilegeOrgScopeEnum = "sitegroup" PrivilegeOrgScopeEnum_ORGSITES PrivilegeOrgScopeEnum = "orgsites" )
type ProtectRe ¶
type ProtectRe struct {
// Optionally, services we'll allow
AllowedServices []ProtectReAllowedServiceEnum `json:"allowed_services,omitempty"`
Custom []ProtectReCustom `json:"custom,omitempty"`
// When enabled, all traffic that is not essential to our operation will be dropped
// e.g. ntp / dns / traffic to mist will be allowed by default
// if dhcpd is enabled, we'll make sure it works
Enabled *bool `json:"enabled,omitempty"`
// Whether to enable hit count for Protect_RE policy
HitCount *bool `json:"hit_count,omitempty"`
// host/subnets we'll allow traffic to/from
TrustedHosts []string `json:"trusted_hosts,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ProtectRe represents a ProtectRe struct. Restrict inbound-traffic to host when enabled, all traffic that is not essential to our operation will be dropped e.g. ntp / dns / traffic to mist will be allowed by default, if dhcpd is enabled, we'll make sure it works
func (ProtectRe) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for ProtectRe. It customizes the JSON marshaling process for ProtectRe objects.
func (ProtectRe) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for ProtectRe, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ProtectRe) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for ProtectRe. It customizes the JSON unmarshaling process for ProtectRe objects.
type ProtectReAllowedServiceEnum ¶ added in v0.3.23
type ProtectReAllowedServiceEnum string
ProtectReAllowedServiceEnum is a string enum. enum: `icmp`, `ssh`
const ( ProtectReAllowedServiceEnum_ICMP ProtectReAllowedServiceEnum = "icmp" ProtectReAllowedServiceEnum_SSH ProtectReAllowedServiceEnum = "ssh" )
type ProtectReCustom ¶
type ProtectReCustom struct {
// Matched dst port, "0" means any
PortRange *string `json:"port_range,omitempty"`
// enum: `any`, `icmp`, `tcp`, `udp`
Protocol *ProtectReCustomProtocolEnum `json:"protocol,omitempty"`
Subnets []string `json:"subnets,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ProtectReCustom represents a ProtectReCustom struct. Custom acls
func (ProtectReCustom) MarshalJSON ¶
func (p ProtectReCustom) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ProtectReCustom. It customizes the JSON marshaling process for ProtectReCustom objects.
func (ProtectReCustom) String ¶ added in v0.4.23
func (p ProtectReCustom) String() string
String implements the fmt.Stringer interface for ProtectReCustom, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ProtectReCustom) UnmarshalJSON ¶
func (p *ProtectReCustom) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ProtectReCustom. It customizes the JSON unmarshaling process for ProtectReCustom objects.
type ProtectReCustomProtocolEnum ¶
type ProtectReCustomProtocolEnum string
ProtectReCustomProtocolEnum is a string enum. enum: `any`, `icmp`, `tcp`, `udp`
const ( ProtectReCustomProtocolEnum_ANY ProtectReCustomProtocolEnum = "any" ProtectReCustomProtocolEnum_ICMP ProtectReCustomProtocolEnum = "icmp" ProtectReCustomProtocolEnum_TCP ProtectReCustomProtocolEnum = "tcp" ProtectReCustomProtocolEnum_UDP ProtectReCustomProtocolEnum = "udp" )
type Proxy ¶
type Proxy struct {
Disabled *bool `json:"disabled,omitempty"`
Url *string `json:"url,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Proxy represents a Proxy struct. Proxy Configuration to talk to Mist
func (Proxy) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Proxy. It customizes the JSON marshaling process for Proxy objects.
func (Proxy) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Proxy, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Proxy) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Proxy. It customizes the JSON unmarshaling process for Proxy objects.
type Psk ¶
type Psk struct {
// sso id for psk created from psk portal
AdminSsoId *string `json:"admin_sso_id,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// email to send psk expiring notifications to
Email *string `json:"email,omitempty"`
// Expire time for this PSK key (epoch time in seconds). Default `null` (as no expiration)
ExpireTime Optional[int] `json:"expire_time"`
// Number of days before psk is expired. Used as to when to start sending reminder notification when the psk is about to expire
ExpiryNotificationTime *int `json:"expiry_notification_time,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// If `usage`==`single`, the mac that this PSK ties to, empty if `auto-binding`
Mac *string `json:"mac,omitempty"`
// If `usage`==`macs`, this list contains N number of client mac addresses or mac patterns(1122*) or both. This list is capped at 5000
Macs []string `json:"macs,omitempty"`
// For Org PSK Only. Max concurrent users for this PSK key. Default is 0 (unlimited)
MaxUsage *int `json:"max_usage,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name string `json:"name"`
Note *string `json:"note,omitempty"`
// If set to true, reminder notification will be sent when psk is about to expire
NotifyExpiry *bool `json:"notify_expiry,omitempty"`
// If set to true, notification will be sent when psk is created or edited
NotifyOnCreateOrEdit *bool `json:"notify_on_create_or_edit,omitempty"`
// previous passphrase of the PSK if it has been rotated
OldPassphrase *string `json:"old_passphrase,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// passphrase of the PSK (8-63 character or 64 in hex)
Passphrase string `json:"passphrase"`
Role *string `json:"role,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// SSID this PSK should be applicable to
Ssid string `json:"ssid"`
// enum: `macs`, `multi`, `single`
Usage *PskUsageEnum `json:"usage,omitempty"`
// VLAN for this PSK key
VlanId *PskVlanId `json:"vlan_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Psk represents a Psk struct. PSK
func (Psk) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Psk. It customizes the JSON marshaling process for Psk objects.
func (Psk) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Psk, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Psk) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Psk. It customizes the JSON unmarshaling process for Psk objects.
type PskIdList ¶
type PskIdList struct {
PskIds []uuid.UUID `json:"psk_ids,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
PskIdList represents a PskIdList struct.
func (PskIdList) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for PskIdList. It customizes the JSON marshaling process for PskIdList objects.
func (PskIdList) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for PskIdList, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*PskIdList) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for PskIdList. It customizes the JSON unmarshaling process for PskIdList objects.
type PskPortal ¶
type PskPortal struct {
// enum: `sponsor`, `sso`
Auth *PskPortalAuthEnum `json:"auth,omitempty"`
BgImageUrl *string `json:"bg_image_url,omitempty"`
// Used to cleanup exited psk when portal delete or ssid changed
CleanupPsk *bool `json:"cleanup_psk,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// unit min
ExpireTime *int `json:"expire_time,omitempty"`
// Number of days before psk is expired. Used as to when to start sending reminder notification when the psk is about to expire
ExpiryNotificationTime *int `json:"expiry_notification_time,omitempty"`
// Only if `type`==`admin`
HidePsksCreatedByOtherAdmins *bool `json:"hide_psks_created_by_other_admins,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// `max_usage`==`0` means unlimited
MaxUsage *int `json:"max_usage,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name string `json:"name"`
// Optional, will include the link in the notification email the customer can either provide their own url or use the one generate from mist, or do a url shorterner against either
NotificationRenewUrl *string `json:"notification_renew_url,omitempty"`
// If set to true, reminder notification will be sent when psk is about to expire
NotifyExpiry *bool `json:"notify_expiry,omitempty"`
NotifyOnCreateOrEdit *bool `json:"notify_on_create_or_edit,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
PassphraseRules *PskPortalPassphraseRules `json:"passphrase_rules,omitempty"`
// what information to ask for (email is required by default)
RequiredFields []string `json:"required_fields,omitempty"`
Role *string `json:"role,omitempty"`
// intended SSID
Ssid string `json:"ssid"`
// If `auth`==`sso`
Sso *PskPortalSso `json:"sso,omitempty"`
// UI customization
TemplateUrl *string `json:"template_url,omitempty"`
ThumbnailUrl *string `json:"thumbnail_url,omitempty"`
// for personal psk portal. enum: `admin`, `byod`
Type *PskPortalTypeEnum `json:"type,omitempty"`
UiUrl *string `json:"ui_url,omitempty"`
VlanId *VlanIdWithVariable `json:"vlan_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
PskPortal represents a PskPortal struct.
func (PskPortal) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for PskPortal. It customizes the JSON marshaling process for PskPortal objects.
func (PskPortal) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for PskPortal, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*PskPortal) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for PskPortal. It customizes the JSON unmarshaling process for PskPortal objects.
type PskPortalAuthEnum ¶
type PskPortalAuthEnum string
PskPortalAuthEnum is a string enum. enum: `sponsor`, `sso`
const ( PskPortalAuthEnum_SPONSOR PskPortalAuthEnum = "sponsor" PskPortalAuthEnum_SSO PskPortalAuthEnum = "sso" )
type PskPortalImage ¶
type PskPortalImage struct {
// Binary file
File *[]byte `json:"file,omitempty"`
// JSON string describing the upload
Json *string `json:"json,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
PskPortalImage represents a PskPortalImage struct.
func (PskPortalImage) MarshalJSON ¶
func (p PskPortalImage) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PskPortalImage. It customizes the JSON marshaling process for PskPortalImage objects.
func (PskPortalImage) String ¶ added in v0.4.23
func (p PskPortalImage) String() string
String implements the fmt.Stringer interface for PskPortalImage, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*PskPortalImage) UnmarshalJSON ¶
func (p *PskPortalImage) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PskPortalImage. It customizes the JSON unmarshaling process for PskPortalImage objects.
type PskPortalPassphraseRules ¶
type PskPortalPassphraseRules struct {
AlphabetsEnabled *bool `json:"alphabets_enabled,omitempty"`
Length *int `json:"length,omitempty"`
// For valid `max_length` and `min_length`, passphrase size is set randomly from that range.
// - if `max_length` and/or `min_length` are invalid, passphrase size is equal to `length` parameter
// - if `length` is not set or is invalid, default passphrase size is 8.
// - valid `max_length`, `min_length`, `length` should be an integer between 8 to 63. Also, `max_length` > `min_length`
MaxLength *int `json:"max_length,omitempty"`
// Ror valid `max_length` and `min_length`, passphrase size is set randomly from that range.
// - if `max_length` and/or `min_length` are invalid, passphrase size is equal to `length` parameter
// - if `length` is not set or is invalid, default passphrase size is 8.
// - valid `max_length`, `min_length`, `length` should be an integer between 8 to 63. Also, `max_length` > `min_length`
MinLength *int `json:"min_length,omitempty"`
NumericsEnabled *bool `json:"numerics_enabled,omitempty"`
Symbols *string `json:"symbols,omitempty"`
SymbolsEnabled *bool `json:"symbols_enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
PskPortalPassphraseRules represents a PskPortalPassphraseRules struct.
func (PskPortalPassphraseRules) MarshalJSON ¶
func (p PskPortalPassphraseRules) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PskPortalPassphraseRules. It customizes the JSON marshaling process for PskPortalPassphraseRules objects.
func (PskPortalPassphraseRules) String ¶ added in v0.4.23
func (p PskPortalPassphraseRules) String() string
String implements the fmt.Stringer interface for PskPortalPassphraseRules, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*PskPortalPassphraseRules) UnmarshalJSON ¶
func (p *PskPortalPassphraseRules) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PskPortalPassphraseRules. It customizes the JSON unmarshaling process for PskPortalPassphraseRules objects.
type PskPortalSso ¶
type PskPortalSso struct {
// Allowed roles for accessing psk portal, if none, any role is permitted
AllowedRoles []string `json:"allowed_roles,omitempty"`
IdpCert *string `json:"idp_cert,omitempty"`
// Signing algorithm for SAML Assertion. enum: `sha1`, `sha256`, `sha384`, `sha512`. enum: `sha1`, `sha256`, `sha384`, `sha512`
IdpSignAlgo *PskPortalSsoIdpSignAlgoEnum `json:"idp_sign_algo,omitempty"`
IdpSsoUrl *string `json:"idp_sso_url,omitempty"`
Issuer *string `json:"issuer,omitempty"`
NameidFormat *string `json:"nameid_format,omitempty"`
// Property key is the role name, property value is the SSO Attribute
RoleMapping map[string]string `json:"role_mapping,omitempty"`
// If enabled, the `role` above will be ignored
UseSsoRoleForPskRole *bool `json:"use_sso_role_for_psk_role,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
PskPortalSso represents a PskPortalSso struct. If `auth`==`sso`
func (PskPortalSso) MarshalJSON ¶
func (p PskPortalSso) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PskPortalSso. It customizes the JSON marshaling process for PskPortalSso objects.
func (PskPortalSso) String ¶ added in v0.4.23
func (p PskPortalSso) String() string
String implements the fmt.Stringer interface for PskPortalSso, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*PskPortalSso) UnmarshalJSON ¶
func (p *PskPortalSso) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PskPortalSso. It customizes the JSON unmarshaling process for PskPortalSso objects.
type PskPortalSsoIdpSignAlgoEnum ¶ added in v0.3.33
type PskPortalSsoIdpSignAlgoEnum string
PskPortalSsoIdpSignAlgoEnum is a string enum. Signing algorithm for SAML Assertion. enum: `sha1`, `sha256`, `sha384`, `sha512`. enum: `sha1`, `sha256`, `sha384`, `sha512`
const ( PskPortalSsoIdpSignAlgoEnum_SHA1 PskPortalSsoIdpSignAlgoEnum = "sha1" PskPortalSsoIdpSignAlgoEnum_SHA256 PskPortalSsoIdpSignAlgoEnum = "sha256" PskPortalSsoIdpSignAlgoEnum_SHA384 PskPortalSsoIdpSignAlgoEnum = "sha384" PskPortalSsoIdpSignAlgoEnum_SHA512 PskPortalSsoIdpSignAlgoEnum = "sha512" )
type PskPortalTemplate ¶
type PskPortalTemplate struct {
// defines alignment on portal. enum: `center`, `left`, `right`
Alignment *PortalTemplateAlignmentEnum `json:"alignment,omitempty"`
Color *string `json:"color,omitempty"`
// Custom logo with "data:image/png;base64," format. default null, uses Juniper Mist Logo
Logo Optional[string] `json:"logo"`
// Whether to hide "Powered by Juniper Mist" and email footers
PoweredBy *bool `json:"poweredBy,omitempty"`
// Whether to show Terms of Service
Tos *bool `json:"tos,omitempty"`
// Terms of Service accept button label
TosAcceptLabel *string `json:"tosAcceptLabel,omitempty"`
// Terror message for not accepting tos
TosError *string `json:"tosError,omitempty"`
TosLink *string `json:"tosLink,omitempty"`
// terms and service text displayed in footer if tos is enabled
TosText *string `json:"tosText,omitempty"`
// customized url for defining terms of service
TosUrl *string `json:"tosUrl,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
PskPortalTemplate represents a PskPortalTemplate struct.
func (PskPortalTemplate) MarshalJSON ¶
func (p PskPortalTemplate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PskPortalTemplate. It customizes the JSON marshaling process for PskPortalTemplate objects.
func (PskPortalTemplate) String ¶ added in v0.4.23
func (p PskPortalTemplate) String() string
String implements the fmt.Stringer interface for PskPortalTemplate, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*PskPortalTemplate) UnmarshalJSON ¶
func (p *PskPortalTemplate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PskPortalTemplate. It customizes the JSON unmarshaling process for PskPortalTemplate objects.
type PskPortalTypeEnum ¶
type PskPortalTypeEnum string
PskPortalTypeEnum is a string enum. for personal psk portal. enum: `admin`, `byod`
const ( PskPortalTypeEnum_ADMIN PskPortalTypeEnum = "admin" PskPortalTypeEnum_BYOD PskPortalTypeEnum = "byod" )
type PskUsageEnum ¶
type PskUsageEnum string
PskUsageEnum is a string enum. enum: `macs`, `multi`, `single`
const ( PskUsageEnum_MACS PskUsageEnum = "macs" PskUsageEnum_MULTI PskUsageEnum = "multi" PskUsageEnum_SINGLE PskUsageEnum = "single" )
type PskVlanId ¶ added in v0.2.20
type PskVlanId struct {
// contains filtered or unexported fields
}
PskVlanId represents a PskVlanId struct. VLAN for this PSK key
func (PskVlanId) MarshalJSON ¶ added in v0.2.20
MarshalJSON implements the json.Marshaler interface for PskVlanId. It customizes the JSON marshaling process for PskVlanId objects.
func (PskVlanId) String ¶ added in v0.2.20
String implements the fmt.Stringer interface for PskVlanId, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*PskVlanId) UnmarshalJSON ¶ added in v0.2.20
UnmarshalJSON implements the json.Unmarshaler interface for PskVlanId. It customizes the JSON unmarshaling process for PskVlanId objects.
type PsksImportFile ¶
type PsksImportFile struct {
File *[]byte `json:"file,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
PsksImportFile represents a PsksImportFile struct.
func (PsksImportFile) MarshalJSON ¶
func (p PsksImportFile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PsksImportFile. It customizes the JSON marshaling process for PsksImportFile objects.
func (PsksImportFile) String ¶ added in v0.4.23
func (p PsksImportFile) String() string
String implements the fmt.Stringer interface for PsksImportFile, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*PsksImportFile) UnmarshalJSON ¶
func (p *PsksImportFile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PsksImportFile. It customizes the JSON unmarshaling process for PsksImportFile objects.
type PushPolicyPushWindow ¶
type PushPolicyPushWindow struct {
Enabled *bool `json:"enabled,omitempty"`
// Days/Hours of operation filter, the available days (mon, tue, wed, thu, fri, sat, sun)
Hours *Hours `json:"hours,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
PushPolicyPushWindow represents a PushPolicyPushWindow struct. If enabled, new config will only be pushed to device within the specified time window
func (PushPolicyPushWindow) MarshalJSON ¶
func (p PushPolicyPushWindow) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PushPolicyPushWindow. It customizes the JSON marshaling process for PushPolicyPushWindow objects.
func (PushPolicyPushWindow) String ¶ added in v0.4.23
func (p PushPolicyPushWindow) String() string
String implements the fmt.Stringer interface for PushPolicyPushWindow, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*PushPolicyPushWindow) UnmarshalJSON ¶
func (p *PushPolicyPushWindow) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PushPolicyPushWindow. It customizes the JSON unmarshaling process for PushPolicyPushWindow objects.
type RadioBand24UsageEnum ¶
type RadioBand24UsageEnum string
RadioBand24UsageEnum is a string enum. enum: `24`, `5`, `6`, `auto`
const ( RadioBand24UsageEnum_ENUM24 RadioBand24UsageEnum = "24" RadioBand24UsageEnum_ENUM5 RadioBand24UsageEnum = "5" RadioBand24UsageEnum_ENUM6 RadioBand24UsageEnum = "6" RadioBand24UsageEnum_AUTO RadioBand24UsageEnum = "auto" )
type RadioBandAntennaBeamPatternEnum ¶ added in v0.4.92
type RadioBandAntennaBeamPatternEnum string
RadioBandAntennaBeamPatternEnum is a string enum. enum: `narrow`, `medium`, `wide`
const ( RadioBandAntennaBeamPatternEnum_NARROW RadioBandAntennaBeamPatternEnum = "narrow" RadioBandAntennaBeamPatternEnum_MEDIUM RadioBandAntennaBeamPatternEnum = "medium" RadioBandAntennaBeamPatternEnum_WIDE RadioBandAntennaBeamPatternEnum = "wide" )
type RadioBandAntennaModeEnum ¶
type RadioBandAntennaModeEnum string
RadioBandAntennaModeEnum is a string enum. enum: `1x1`, `2x2`, `3x3`, `4x4`, `default`
const ( RadioBandAntennaModeEnum_ENUM1X1 RadioBandAntennaModeEnum = "1x1" RadioBandAntennaModeEnum_ENUM2X2 RadioBandAntennaModeEnum = "2x2" RadioBandAntennaModeEnum_ENUM3X3 RadioBandAntennaModeEnum = "3x3" RadioBandAntennaModeEnum_ENUM4X4 RadioBandAntennaModeEnum = "4x4" RadioBandAntennaModeEnum_ENUMDEFAULT RadioBandAntennaModeEnum = "default" )
type RadioBandPreambleEnum ¶
type RadioBandPreambleEnum string
RadioBandPreambleEnum is a string enum. enum: `auto`, `long`, `short`
const ( RadioBandPreambleEnum_AUTO RadioBandPreambleEnum = "auto" RadioBandPreambleEnum_LONG RadioBandPreambleEnum = "long" RadioBandPreambleEnum_SHORT RadioBandPreambleEnum = "short" )
type RadiusAcctPort ¶ added in v0.4.72
type RadiusAcctPort struct {
// contains filtered or unexported fields
}
RadiusAcctPort represents a RadiusAcctPort struct. Radius Auth Port, value from 1 to 65535, default is 1813
func (*RadiusAcctPort) AsNumber ¶ added in v0.4.72
func (r *RadiusAcctPort) AsNumber() ( *int, bool)
func (*RadiusAcctPort) AsString ¶ added in v0.4.72
func (r *RadiusAcctPort) AsString() ( *string, bool)
func (RadiusAcctPort) MarshalJSON ¶ added in v0.4.72
func (r RadiusAcctPort) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RadiusAcctPort. It customizes the JSON marshaling process for RadiusAcctPort objects.
func (RadiusAcctPort) String ¶ added in v0.4.72
func (r RadiusAcctPort) String() string
String implements the fmt.Stringer interface for RadiusAcctPort, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RadiusAcctPort) UnmarshalJSON ¶ added in v0.4.72
func (r *RadiusAcctPort) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RadiusAcctPort. It customizes the JSON unmarshaling process for RadiusAcctPort objects.
type RadiusAcctServer ¶
type RadiusAcctServer struct {
// IP/ hostname of RADIUS server
Host string `json:"host"`
KeywrapEnabled *bool `json:"keywrap_enabled,omitempty"`
// enum: `ascii`, `hex`
KeywrapFormat *RadiusKeywrapFormatEnum `json:"keywrap_format,omitempty"`
KeywrapKek *string `json:"keywrap_kek,omitempty"`
KeywrapMack *string `json:"keywrap_mack,omitempty"`
// Radius Auth Port, value from 1 to 65535, default is 1813
Port *RadiusAcctPort `json:"port,omitempty"`
// Secret of RADIUS server
Secret string `json:"secret"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RadiusAcctServer represents a RadiusAcctServer struct.
func (RadiusAcctServer) MarshalJSON ¶
func (r RadiusAcctServer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RadiusAcctServer. It customizes the JSON marshaling process for RadiusAcctServer objects.
func (RadiusAcctServer) String ¶ added in v0.4.23
func (r RadiusAcctServer) String() string
String implements the fmt.Stringer interface for RadiusAcctServer, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RadiusAcctServer) UnmarshalJSON ¶
func (r *RadiusAcctServer) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RadiusAcctServer. It customizes the JSON unmarshaling process for RadiusAcctServer objects.
type RadiusAuthPort ¶ added in v0.4.72
type RadiusAuthPort struct {
// contains filtered or unexported fields
}
RadiusAuthPort represents a RadiusAuthPort struct. Radius Auth Port, value from 1 to 65535, default is 1812
func (*RadiusAuthPort) AsNumber ¶ added in v0.4.72
func (r *RadiusAuthPort) AsNumber() ( *int, bool)
func (*RadiusAuthPort) AsString ¶ added in v0.4.72
func (r *RadiusAuthPort) AsString() ( *string, bool)
func (RadiusAuthPort) MarshalJSON ¶ added in v0.4.72
func (r RadiusAuthPort) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RadiusAuthPort. It customizes the JSON marshaling process for RadiusAuthPort objects.
func (RadiusAuthPort) String ¶ added in v0.4.72
func (r RadiusAuthPort) String() string
String implements the fmt.Stringer interface for RadiusAuthPort, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RadiusAuthPort) UnmarshalJSON ¶ added in v0.4.72
func (r *RadiusAuthPort) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RadiusAuthPort. It customizes the JSON unmarshaling process for RadiusAuthPort objects.
type RadiusAuthServer ¶
type RadiusAuthServer struct {
// IP/ hostname of RADIUS server
Host string `json:"host"`
KeywrapEnabled *bool `json:"keywrap_enabled,omitempty"`
// enum: `ascii`, `hex`
KeywrapFormat *RadiusKeywrapFormatEnum `json:"keywrap_format,omitempty"`
KeywrapKek *string `json:"keywrap_kek,omitempty"`
KeywrapMack *string `json:"keywrap_mack,omitempty"`
// Radius Auth Port, value from 1 to 65535, default is 1812
Port *RadiusAuthPort `json:"port,omitempty"`
// Whether to require Message-Authenticator in requests
RequireMessageAuthenticator *bool `json:"require_message_authenticator,omitempty"`
// Secret of RADIUS server
Secret string `json:"secret"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RadiusAuthServer represents a RadiusAuthServer struct. Authentication Server
func (RadiusAuthServer) MarshalJSON ¶
func (r RadiusAuthServer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RadiusAuthServer. It customizes the JSON marshaling process for RadiusAuthServer objects.
func (RadiusAuthServer) String ¶ added in v0.4.23
func (r RadiusAuthServer) String() string
String implements the fmt.Stringer interface for RadiusAuthServer, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RadiusAuthServer) UnmarshalJSON ¶
func (r *RadiusAuthServer) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RadiusAuthServer. It customizes the JSON unmarshaling process for RadiusAuthServer objects.
type RadiusCoaPort ¶ added in v0.4.72
type RadiusCoaPort struct {
// contains filtered or unexported fields
}
RadiusCoaPort represents a RadiusCoaPort struct. Radius CoA Port, value from 1 to 65535, default is 3799
func (*RadiusCoaPort) AsNumber ¶ added in v0.4.72
func (r *RadiusCoaPort) AsNumber() ( *int, bool)
func (*RadiusCoaPort) AsString ¶ added in v0.4.72
func (r *RadiusCoaPort) AsString() ( *string, bool)
func (RadiusCoaPort) MarshalJSON ¶ added in v0.4.72
func (r RadiusCoaPort) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RadiusCoaPort. It customizes the JSON marshaling process for RadiusCoaPort objects.
func (RadiusCoaPort) String ¶ added in v0.4.72
func (r RadiusCoaPort) String() string
String implements the fmt.Stringer interface for RadiusCoaPort, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RadiusCoaPort) UnmarshalJSON ¶ added in v0.4.72
func (r *RadiusCoaPort) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RadiusCoaPort. It customizes the JSON unmarshaling process for RadiusCoaPort objects.
type RadiusConfig ¶
type RadiusConfig struct {
// How frequently should interim accounting be reported, 60-65535. default is 0 (use one specified in Access-Accept request from RADIUS Server). Very frequent messages can affect the performance of the radius server, 600 and up is recommended when enabled
AcctInterimInterval *int `json:"acct_interim_interval,omitempty"`
AcctServers []RadiusAcctServer `json:"acct_servers,omitempty"`
AuthServers []RadiusAuthServer `json:"auth_servers,omitempty"`
// radius auth session retries
AuthServersRetries *int `json:"auth_servers_retries,omitempty"`
// radius auth session timeout
AuthServersTimeout *int `json:"auth_servers_timeout,omitempty"`
CoaEnabled *bool `json:"coa_enabled,omitempty"`
CoaPort *int `json:"coa_port,omitempty"`
// use `network`or `source_ip`, which network the RADIUS server resides, if there's static IP for this network, we'd use it as source-ip
Network *string `json:"network,omitempty"`
// use `network`or `source_ip`
SourceIp *string `json:"source_ip,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RadiusConfig represents a RadiusConfig struct. Junos Radius config
func (RadiusConfig) MarshalJSON ¶
func (r RadiusConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RadiusConfig. It customizes the JSON marshaling process for RadiusConfig objects.
func (RadiusConfig) String ¶ added in v0.4.23
func (r RadiusConfig) String() string
String implements the fmt.Stringer interface for RadiusConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RadiusConfig) UnmarshalJSON ¶
func (r *RadiusConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RadiusConfig. It customizes the JSON unmarshaling process for RadiusConfig objects.
type RadiusKeywrapFormatEnum ¶
type RadiusKeywrapFormatEnum string
RadiusKeywrapFormatEnum is a string enum. enum: `ascii`, `hex`
const ( RadiusKeywrapFormatEnum_ASCII RadiusKeywrapFormatEnum = "ascii" RadiusKeywrapFormatEnum_HEX RadiusKeywrapFormatEnum = "hex" )
type Radsec ¶
type Radsec struct {
CoaEnabled *bool `json:"coa_enabled,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// Radsec Idle Timeout in seconds. Default is 60
IdleTimeout *RadsecIdleTimeout `json:"idle_timeout,omitempty"`
// To use Org mxedges when this WLAN does not use mxtunnel, specify their mxcluster_ids. Org mxedge(s) identified by mxcluster_ids
MxclusterIds []uuid.UUID `json:"mxcluster_ids,omitempty"`
// Default is site.mxedge.radsec.proxy_hosts which must be a superset of all `wlans[*].radsec.proxy_hosts`. When `radsec.proxy_hosts` are not used, tunnel peers (org or site mxedges) are used irrespective of `use_site_mxedge`
ProxyHosts []string `json:"proxy_hosts,omitempty"`
// Name of the server to verify (against the cacerts in Org Setting). Only if not Mist Edge.
ServerName *string `json:"server_name,omitempty"`
// List of RadSec Servers. Only if not Mist Edge.
Servers []RadsecServer `json:"servers,omitempty"`
// use mxedge(s) as RadSec Proxy
UseMxedge *bool `json:"use_mxedge,omitempty"`
// To use Site mxedges when this WLAN does not use mxtunnel
UseSiteMxedge *bool `json:"use_site_mxedge,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Radsec represents a Radsec struct. RadSec settings
func (Radsec) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Radsec. It customizes the JSON marshaling process for Radsec objects.
func (Radsec) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Radsec, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Radsec) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Radsec. It customizes the JSON unmarshaling process for Radsec objects.
type RadsecIdleTimeout ¶ added in v0.4.74
type RadsecIdleTimeout struct {
// contains filtered or unexported fields
}
RadsecIdleTimeout represents a RadsecIdleTimeout struct. Radsec Idle Timeout in seconds. Default is 60
func (*RadsecIdleTimeout) AsNumber ¶ added in v0.4.74
func (r *RadsecIdleTimeout) AsNumber() ( *int, bool)
func (*RadsecIdleTimeout) AsString ¶ added in v0.4.74
func (r *RadsecIdleTimeout) AsString() ( *string, bool)
func (RadsecIdleTimeout) MarshalJSON ¶ added in v0.4.74
func (r RadsecIdleTimeout) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RadsecIdleTimeout. It customizes the JSON marshaling process for RadsecIdleTimeout objects.
func (RadsecIdleTimeout) String ¶ added in v0.4.74
func (r RadsecIdleTimeout) String() string
String implements the fmt.Stringer interface for RadsecIdleTimeout, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RadsecIdleTimeout) UnmarshalJSON ¶ added in v0.4.74
func (r *RadsecIdleTimeout) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RadsecIdleTimeout. It customizes the JSON unmarshaling process for RadsecIdleTimeout objects.
type RadsecServer ¶
type RadsecServer struct {
Host *string `json:"host,omitempty"`
Port *int `json:"port,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RadsecServer represents a RadsecServer struct.
func (RadsecServer) MarshalJSON ¶
func (r RadsecServer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RadsecServer. It customizes the JSON marshaling process for RadsecServer objects.
func (RadsecServer) String ¶ added in v0.4.23
func (r RadsecServer) String() string
String implements the fmt.Stringer interface for RadsecServer, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RadsecServer) UnmarshalJSON ¶
func (r *RadsecServer) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RadsecServer. It customizes the JSON unmarshaling process for RadsecServer objects.
type RandomMacEnum ¶ added in v0.4.92
type RandomMacEnum string
RandomMacEnum is a string enum. Whether the client is using randomized MAC Address or not
const ( RandomMacEnum_TRUE RandomMacEnum = "true" RandomMacEnum_FALSE RandomMacEnum = "false" )
type Recaptcha ¶
type Recaptcha struct {
// flavor of the captcha. enum: `google`, `hcaptcha`
Flavor *RecaptchaFlavorEnum `json:"flavor,omitempty"`
Required *bool `json:"required,omitempty"`
Sitekey *string `json:"sitekey,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Recaptcha represents a Recaptcha struct.
func (Recaptcha) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Recaptcha. It customizes the JSON marshaling process for Recaptcha objects.
func (Recaptcha) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Recaptcha, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Recaptcha) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Recaptcha. It customizes the JSON unmarshaling process for Recaptcha objects.
type RecaptchaFlavorEnum ¶
type RecaptchaFlavorEnum string
RecaptchaFlavorEnum is a string enum. flavor of the captcha. enum: `google`, `hcaptcha`
const ( RecaptchaFlavorEnum_GOOGLE RecaptchaFlavorEnum = "google" RecaptchaFlavorEnum_HCAPTCHA RecaptchaFlavorEnum = "hcaptcha" )
type Recover ¶
type Recover struct {
Email string `json:"email"`
// See https://www.google.com/recaptcha/
Recaptcha *string `json:"recaptcha,omitempty"`
// flavor of the captcha. enum: `google`, `hcaptcha`
RecaptchaFlavor *RecaptchaFlavorEnum `json:"recaptcha_flavor,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Recover represents a Recover struct.
func (Recover) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Recover. It customizes the JSON marshaling process for Recover objects.
func (Recover) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Recover, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Recover) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Recover. It customizes the JSON unmarshaling process for Recover objects.
type RemoteSyslog ¶
type RemoteSyslog struct {
Archive *RemoteSyslogArchive `json:"archive,omitempty"`
Cacerts []string `json:"cacerts,omitempty"`
Console *RemoteSyslogConsole `json:"console,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
Files []RemoteSyslogFileConfig `json:"files,omitempty"`
// If source_address is configured, will use the vlan firstly otherwise use source_ip
Network *string `json:"network,omitempty"`
SendToAllServers *bool `json:"send_to_all_servers,omitempty"`
Servers []RemoteSyslogServer `json:"servers,omitempty"`
// enum: `millisecond`, `year`, `year millisecond`
TimeFormat *RemoteSyslogTimeFormatEnum `json:"time_format,omitempty"`
Users []RemoteSyslogUser `json:"users,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RemoteSyslog represents a RemoteSyslog struct.
func (RemoteSyslog) MarshalJSON ¶
func (r RemoteSyslog) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RemoteSyslog. It customizes the JSON marshaling process for RemoteSyslog objects.
func (RemoteSyslog) String ¶ added in v0.4.23
func (r RemoteSyslog) String() string
String implements the fmt.Stringer interface for RemoteSyslog, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RemoteSyslog) UnmarshalJSON ¶
func (r *RemoteSyslog) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RemoteSyslog. It customizes the JSON unmarshaling process for RemoteSyslog objects.
type RemoteSyslogArchive ¶
type RemoteSyslogArchive struct {
Files *RemoteSyslogArchiveFiles `json:"files,omitempty"`
Size *string `json:"size,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RemoteSyslogArchive represents a RemoteSyslogArchive struct.
func (RemoteSyslogArchive) MarshalJSON ¶
func (r RemoteSyslogArchive) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RemoteSyslogArchive. It customizes the JSON marshaling process for RemoteSyslogArchive objects.
func (RemoteSyslogArchive) String ¶ added in v0.4.23
func (r RemoteSyslogArchive) String() string
String implements the fmt.Stringer interface for RemoteSyslogArchive, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RemoteSyslogArchive) UnmarshalJSON ¶
func (r *RemoteSyslogArchive) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RemoteSyslogArchive. It customizes the JSON unmarshaling process for RemoteSyslogArchive objects.
type RemoteSyslogArchiveFiles ¶ added in v0.4.70
type RemoteSyslogArchiveFiles struct {
// contains filtered or unexported fields
}
RemoteSyslogArchiveFiles represents a RemoteSyslogArchiveFiles struct.
func (*RemoteSyslogArchiveFiles) AsNumber ¶ added in v0.4.70
func (r *RemoteSyslogArchiveFiles) AsNumber() ( *int, bool)
func (*RemoteSyslogArchiveFiles) AsString ¶ added in v0.4.70
func (r *RemoteSyslogArchiveFiles) AsString() ( *string, bool)
func (RemoteSyslogArchiveFiles) MarshalJSON ¶ added in v0.4.70
func (r RemoteSyslogArchiveFiles) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RemoteSyslogArchiveFiles. It customizes the JSON marshaling process for RemoteSyslogArchiveFiles objects.
func (RemoteSyslogArchiveFiles) String ¶ added in v0.4.70
func (r RemoteSyslogArchiveFiles) String() string
String implements the fmt.Stringer interface for RemoteSyslogArchiveFiles, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RemoteSyslogArchiveFiles) UnmarshalJSON ¶ added in v0.4.70
func (r *RemoteSyslogArchiveFiles) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RemoteSyslogArchiveFiles. It customizes the JSON unmarshaling process for RemoteSyslogArchiveFiles objects.
type RemoteSyslogConsole ¶
type RemoteSyslogConsole struct {
Contents []RemoteSyslogContent `json:"contents,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RemoteSyslogConsole represents a RemoteSyslogConsole struct.
func (RemoteSyslogConsole) MarshalJSON ¶
func (r RemoteSyslogConsole) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RemoteSyslogConsole. It customizes the JSON marshaling process for RemoteSyslogConsole objects.
func (RemoteSyslogConsole) String ¶ added in v0.4.23
func (r RemoteSyslogConsole) String() string
String implements the fmt.Stringer interface for RemoteSyslogConsole, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RemoteSyslogConsole) UnmarshalJSON ¶
func (r *RemoteSyslogConsole) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RemoteSyslogConsole. It customizes the JSON unmarshaling process for RemoteSyslogConsole objects.
type RemoteSyslogContent ¶
type RemoteSyslogContent struct {
// enum: `any`, `authorization`, `change-log`, `config`, `conflict-log`, `daemon`, `dfc`, `external`, `firewall`, `ftp`, `interactive-commands`, `kernel`, `ntp`, `pfe`, `security`, `user`
Facility *RemoteSyslogFacilityEnum `json:"facility,omitempty"`
// enum: `alert`, `any`, `critical`, `emergency`, `error`, `info`, `notice`, `warning`
Severity *RemoteSyslogSeverityEnum `json:"severity,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RemoteSyslogContent represents a RemoteSyslogContent struct.
func (RemoteSyslogContent) MarshalJSON ¶
func (r RemoteSyslogContent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RemoteSyslogContent. It customizes the JSON marshaling process for RemoteSyslogContent objects.
func (RemoteSyslogContent) String ¶ added in v0.4.23
func (r RemoteSyslogContent) String() string
String implements the fmt.Stringer interface for RemoteSyslogContent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RemoteSyslogContent) UnmarshalJSON ¶
func (r *RemoteSyslogContent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RemoteSyslogContent. It customizes the JSON unmarshaling process for RemoteSyslogContent objects.
type RemoteSyslogFacilityEnum ¶
type RemoteSyslogFacilityEnum string
RemoteSyslogFacilityEnum is a string enum. enum: `any`, `authorization`, `change-log`, `config`, `conflict-log`, `daemon`, `dfc`, `external`, `firewall`, `ftp`, `interactive-commands`, `kernel`, `ntp`, `pfe`, `security`, `user`
const ( RemoteSyslogFacilityEnum_ANY RemoteSyslogFacilityEnum = "any" RemoteSyslogFacilityEnum_AUTHORIZATION RemoteSyslogFacilityEnum = "authorization" RemoteSyslogFacilityEnum_CHANGELOG RemoteSyslogFacilityEnum = "change-log" RemoteSyslogFacilityEnum_CONFIG RemoteSyslogFacilityEnum = "config" RemoteSyslogFacilityEnum_CONFLICTLOG RemoteSyslogFacilityEnum = "conflict-log" RemoteSyslogFacilityEnum_DAEMON RemoteSyslogFacilityEnum = "daemon" RemoteSyslogFacilityEnum_DFC RemoteSyslogFacilityEnum = "dfc" RemoteSyslogFacilityEnum_EXTERNAL RemoteSyslogFacilityEnum = "external" RemoteSyslogFacilityEnum_FIREWALL RemoteSyslogFacilityEnum = "firewall" RemoteSyslogFacilityEnum_FTP RemoteSyslogFacilityEnum = "ftp" RemoteSyslogFacilityEnum_INTERACTIVECOMMANDS RemoteSyslogFacilityEnum = "interactive-commands" RemoteSyslogFacilityEnum_KERNEL RemoteSyslogFacilityEnum = "kernel" RemoteSyslogFacilityEnum_NTP RemoteSyslogFacilityEnum = "ntp" RemoteSyslogFacilityEnum_PFE RemoteSyslogFacilityEnum = "pfe" RemoteSyslogFacilityEnum_SECURITY RemoteSyslogFacilityEnum = "security" RemoteSyslogFacilityEnum_USER RemoteSyslogFacilityEnum = "user" )
type RemoteSyslogFileConfig ¶
type RemoteSyslogFileConfig struct {
Archive *RemoteSyslogArchive `json:"archive,omitempty"`
Contents []RemoteSyslogContent `json:"contents,omitempty"`
// Only if `protocol`==`tcp`
EnableTls *bool `json:"enable_tls,omitempty"`
ExplicitPriority *bool `json:"explicit_priority,omitempty"`
File *string `json:"file,omitempty"`
Match *string `json:"match,omitempty"`
StructuredData *bool `json:"structured_data,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RemoteSyslogFileConfig represents a RemoteSyslogFileConfig struct.
func (RemoteSyslogFileConfig) MarshalJSON ¶
func (r RemoteSyslogFileConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RemoteSyslogFileConfig. It customizes the JSON marshaling process for RemoteSyslogFileConfig objects.
func (RemoteSyslogFileConfig) String ¶ added in v0.4.23
func (r RemoteSyslogFileConfig) String() string
String implements the fmt.Stringer interface for RemoteSyslogFileConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RemoteSyslogFileConfig) UnmarshalJSON ¶
func (r *RemoteSyslogFileConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RemoteSyslogFileConfig. It customizes the JSON unmarshaling process for RemoteSyslogFileConfig objects.
type RemoteSyslogServer ¶
type RemoteSyslogServer struct {
Contents []RemoteSyslogContent `json:"contents,omitempty"`
ExplicitPriority *bool `json:"explicit_priority,omitempty"`
// enum: `any`, `authorization`, `change-log`, `config`, `conflict-log`, `daemon`, `dfc`, `external`, `firewall`, `ftp`, `interactive-commands`, `kernel`, `ntp`, `pfe`, `security`, `user`
Facility *RemoteSyslogFacilityEnum `json:"facility,omitempty"`
Host *string `json:"host,omitempty"`
Match *string `json:"match,omitempty"`
// Syslog Service Port, value from 1 to 65535
Port *RemoteSyslogServerPort `json:"port,omitempty"`
// enum: `tcp`, `udp`
Protocol *RemoteSyslogServerProtocolEnum `json:"protocol,omitempty"`
RoutingInstance *string `json:"routing_instance,omitempty"`
// Name of the server
ServerName *string `json:"server_name,omitempty"`
// enum: `alert`, `any`, `critical`, `emergency`, `error`, `info`, `notice`, `warning`
Severity *RemoteSyslogSeverityEnum `json:"severity,omitempty"`
// If source_address is configured, will use the vlan firstly otherwise use source_ip
SourceAddress *string `json:"source_address,omitempty"`
StructuredData *bool `json:"structured_data,omitempty"`
Tag *string `json:"tag,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RemoteSyslogServer represents a RemoteSyslogServer struct.
func (RemoteSyslogServer) MarshalJSON ¶
func (r RemoteSyslogServer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RemoteSyslogServer. It customizes the JSON marshaling process for RemoteSyslogServer objects.
func (RemoteSyslogServer) String ¶ added in v0.4.23
func (r RemoteSyslogServer) String() string
String implements the fmt.Stringer interface for RemoteSyslogServer, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RemoteSyslogServer) UnmarshalJSON ¶
func (r *RemoteSyslogServer) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RemoteSyslogServer. It customizes the JSON unmarshaling process for RemoteSyslogServer objects.
type RemoteSyslogServerPort ¶ added in v0.4.70
type RemoteSyslogServerPort struct {
// contains filtered or unexported fields
}
RemoteSyslogServerPort represents a RemoteSyslogServerPort struct. Syslog Service Port, value from 1 to 65535
func (*RemoteSyslogServerPort) AsNumber ¶ added in v0.4.70
func (r *RemoteSyslogServerPort) AsNumber() ( *int, bool)
func (*RemoteSyslogServerPort) AsString ¶ added in v0.4.70
func (r *RemoteSyslogServerPort) AsString() ( *string, bool)
func (RemoteSyslogServerPort) MarshalJSON ¶ added in v0.4.70
func (r RemoteSyslogServerPort) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RemoteSyslogServerPort. It customizes the JSON marshaling process for RemoteSyslogServerPort objects.
func (RemoteSyslogServerPort) String ¶ added in v0.4.70
func (r RemoteSyslogServerPort) String() string
String implements the fmt.Stringer interface for RemoteSyslogServerPort, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RemoteSyslogServerPort) UnmarshalJSON ¶ added in v0.4.70
func (r *RemoteSyslogServerPort) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RemoteSyslogServerPort. It customizes the JSON unmarshaling process for RemoteSyslogServerPort objects.
type RemoteSyslogServerProtocolEnum ¶
type RemoteSyslogServerProtocolEnum string
RemoteSyslogServerProtocolEnum is a string enum. enum: `tcp`, `udp`
const ( RemoteSyslogServerProtocolEnum_TCP RemoteSyslogServerProtocolEnum = "tcp" RemoteSyslogServerProtocolEnum_UDP RemoteSyslogServerProtocolEnum = "udp" )
type RemoteSyslogSeverityEnum ¶
type RemoteSyslogSeverityEnum string
RemoteSyslogSeverityEnum is a string enum. enum: `alert`, `any`, `critical`, `emergency`, `error`, `info`, `notice`, `warning`
const ( RemoteSyslogSeverityEnum_ALERT RemoteSyslogSeverityEnum = "alert" RemoteSyslogSeverityEnum_ANY RemoteSyslogSeverityEnum = "any" RemoteSyslogSeverityEnum_CRITICAL RemoteSyslogSeverityEnum = "critical" RemoteSyslogSeverityEnum_EMERGENCY RemoteSyslogSeverityEnum = "emergency" RemoteSyslogSeverityEnum_ENUMERROR RemoteSyslogSeverityEnum = "error" RemoteSyslogSeverityEnum_INFO RemoteSyslogSeverityEnum = "info" RemoteSyslogSeverityEnum_NOTICE RemoteSyslogSeverityEnum = "notice" RemoteSyslogSeverityEnum_WARNING RemoteSyslogSeverityEnum = "warning" )
type RemoteSyslogTimeFormatEnum ¶
type RemoteSyslogTimeFormatEnum string
RemoteSyslogTimeFormatEnum is a string enum. enum: `millisecond`, `year`, `year millisecond`
const ( RemoteSyslogTimeFormatEnum_MILLISECOND RemoteSyslogTimeFormatEnum = "millisecond" RemoteSyslogTimeFormatEnum_YEAR RemoteSyslogTimeFormatEnum = "year" RemoteSyslogTimeFormatEnum_ENUMYEARMILLISECOND RemoteSyslogTimeFormatEnum = "year millisecond" )
type RemoteSyslogUser ¶
type RemoteSyslogUser struct {
Contents []RemoteSyslogContent `json:"contents,omitempty"`
Match *string `json:"match,omitempty"`
User *string `json:"user,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RemoteSyslogUser represents a RemoteSyslogUser struct.
func (RemoteSyslogUser) MarshalJSON ¶
func (r RemoteSyslogUser) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RemoteSyslogUser. It customizes the JSON marshaling process for RemoteSyslogUser objects.
func (RemoteSyslogUser) String ¶ added in v0.4.23
func (r RemoteSyslogUser) String() string
String implements the fmt.Stringer interface for RemoteSyslogUser, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RemoteSyslogUser) UnmarshalJSON ¶
func (r *RemoteSyslogUser) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RemoteSyslogUser. It customizes the JSON unmarshaling process for RemoteSyslogUser objects.
type ReplaceDevice ¶
type ReplaceDevice struct {
// Attributes that you don’t want to copy
Discard []string `json:"discard,omitempty"`
// MAC Address of the inventory that will be replacing the old one. It has to be claimed and unassigned
InventoryMac *string `json:"inventory_mac,omitempty"`
// MAC Address of the device to replace
Mac *string `json:"mac,omitempty"`
// Site_id of the device to be replaced
SiteId *string `json:"site_id,omitempty"`
// Ethernet port configurations
TuntermPortConfig *TuntermPortConfig `json:"tunterm_port_config,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ReplaceDevice represents a ReplaceDevice struct.
func (ReplaceDevice) MarshalJSON ¶
func (r ReplaceDevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ReplaceDevice. It customizes the JSON marshaling process for ReplaceDevice objects.
func (ReplaceDevice) String ¶ added in v0.4.23
func (r ReplaceDevice) String() string
String implements the fmt.Stringer interface for ReplaceDevice, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ReplaceDevice) UnmarshalJSON ¶
func (r *ReplaceDevice) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ReplaceDevice. It customizes the JSON unmarshaling process for ReplaceDevice objects.
type ResolutionEnum ¶
type ResolutionEnum string
ResolutionEnum is a string enum. enum: `default`, `fine`
const ( ResolutionEnum_ENUMDEFAULT ResolutionEnum = "default" ResolutionEnum_FINE ResolutionEnum = "fine" )
type ResponseAnomalySearch ¶
type ResponseAnomalySearch struct {
End int `json:"end"`
Limit int `json:"limit"`
Page int `json:"page"`
Results []Anomaly `json:"results"`
Start int `json:"start"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseAnomalySearch represents a ResponseAnomalySearch struct.
func (ResponseAnomalySearch) MarshalJSON ¶
func (r ResponseAnomalySearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseAnomalySearch. It customizes the JSON marshaling process for ResponseAnomalySearch objects.
func (ResponseAnomalySearch) String ¶ added in v0.4.23
func (r ResponseAnomalySearch) String() string
String implements the fmt.Stringer interface for ResponseAnomalySearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseAnomalySearch) UnmarshalJSON ¶
func (r *ResponseAnomalySearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseAnomalySearch. It customizes the JSON unmarshaling process for ResponseAnomalySearch objects.
type ResponseAssignSuccess ¶
type ResponseAssignSuccess struct {
Success []string `json:"success"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseAssignSuccess represents a ResponseAssignSuccess struct.
func (ResponseAssignSuccess) MarshalJSON ¶
func (r ResponseAssignSuccess) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseAssignSuccess. It customizes the JSON marshaling process for ResponseAssignSuccess objects.
func (ResponseAssignSuccess) String ¶ added in v0.4.23
func (r ResponseAssignSuccess) String() string
String implements the fmt.Stringer interface for ResponseAssignSuccess, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseAssignSuccess) UnmarshalJSON ¶
func (r *ResponseAssignSuccess) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseAssignSuccess. It customizes the JSON unmarshaling process for ResponseAssignSuccess objects.
type ResponseAsyncLicense ¶ added in v0.4.17
type ResponseAsyncLicense struct {
Completed []string `json:"completed,omitempty"`
Details []ResponseAsyncLicenseDetail `json:"details,omitempty"`
// Current failed number of device
Failed *int `json:"failed,omitempty"`
// Current incompleted lists (macs)
Incompleted []string `json:"incompleted,omitempty"`
// Current processed number of device
Processed *int `json:"processed,omitempty"`
// epoch time of aysnc claim scheduled
ScheduledAt *int `json:"scheduled_at,omitempty"`
// processing status of async. enum: `prepared`, `ongoing`, `done`
Status *ResponseAsyncLicenseStatusEnum `json:"status,omitempty"`
// Current succeed number of device
Succeed *int `json:"succeed,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
// total number of device included in claim
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseAsyncLicense represents a ResponseAsyncLicense struct.
func (ResponseAsyncLicense) MarshalJSON ¶ added in v0.4.17
func (r ResponseAsyncLicense) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseAsyncLicense. It customizes the JSON marshaling process for ResponseAsyncLicense objects.
func (ResponseAsyncLicense) String ¶ added in v0.4.23
func (r ResponseAsyncLicense) String() string
String implements the fmt.Stringer interface for ResponseAsyncLicense, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseAsyncLicense) UnmarshalJSON ¶ added in v0.4.17
func (r *ResponseAsyncLicense) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseAsyncLicense. It customizes the JSON unmarshaling process for ResponseAsyncLicense objects.
type ResponseAsyncLicenseDetail ¶ added in v0.4.17
type ResponseAsyncLicenseDetail struct {
// Device MAC Address
Mac *string `json:"mac,omitempty"`
Status *string `json:"status,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseAsyncLicenseDetail represents a ResponseAsyncLicenseDetail struct. detail claim status per device
func (ResponseAsyncLicenseDetail) MarshalJSON ¶ added in v0.4.17
func (r ResponseAsyncLicenseDetail) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseAsyncLicenseDetail. It customizes the JSON marshaling process for ResponseAsyncLicenseDetail objects.
func (ResponseAsyncLicenseDetail) String ¶ added in v0.4.23
func (r ResponseAsyncLicenseDetail) String() string
String implements the fmt.Stringer interface for ResponseAsyncLicenseDetail, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseAsyncLicenseDetail) UnmarshalJSON ¶ added in v0.4.17
func (r *ResponseAsyncLicenseDetail) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseAsyncLicenseDetail. It customizes the JSON unmarshaling process for ResponseAsyncLicenseDetail objects.
type ResponseAsyncLicenseStatusEnum ¶ added in v0.4.17
type ResponseAsyncLicenseStatusEnum string
ResponseAsyncLicenseStatusEnum is a string enum. processing status of async. enum: `prepared`, `ongoing`, `done`
const ( ResponseAsyncLicenseStatusEnum_PREPARED ResponseAsyncLicenseStatusEnum = "prepared" ResponseAsyncLicenseStatusEnum_ONGOING ResponseAsyncLicenseStatusEnum = "ongoing" ResponseAsyncLicenseStatusEnum_DONE ResponseAsyncLicenseStatusEnum = "done" )
type ResponseAutoOrientation ¶
type ResponseAutoOrientation struct {
// Contains the validation status of each device. The Property Key is the device MAC Address.
Devices map[string]ResponseAutoOrientationDevice `json:"devices,omitempty"`
// Estimated runtime for the process in seconds
EstimatedRuntime *int `json:"estimated_runtime,omitempty"`
// Provides the reason for the status.
Reason *string `json:"reason,omitempty"`
// Indicates whether the auto orient process has started.
Started *bool `json:"started,omitempty"`
// Indicates whether the auto orient request is valid.
Valid *bool `json:"valid,omitempty"`
// Indicates whether the auto orient process will interrupt WiFi traffic.
WifiInterrupting *bool `json:"wifi_interrupting,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseAutoOrientation represents a ResponseAutoOrientation struct.
func (ResponseAutoOrientation) MarshalJSON ¶
func (r ResponseAutoOrientation) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseAutoOrientation. It customizes the JSON marshaling process for ResponseAutoOrientation objects.
func (ResponseAutoOrientation) String ¶ added in v0.4.23
func (r ResponseAutoOrientation) String() string
String implements the fmt.Stringer interface for ResponseAutoOrientation, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseAutoOrientation) UnmarshalJSON ¶
func (r *ResponseAutoOrientation) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseAutoOrientation. It customizes the JSON unmarshaling process for ResponseAutoOrientation objects.
type ResponseAutoOrientationDevice ¶ added in v0.4.74
type ResponseAutoOrientationDevice struct {
// Provides the reason for the status if the AP is invalid.
Reason *string `json:"reason,omitempty"`
// Indicates whether the auto orient request is valid for the device.
Valid *bool `json:"valid,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseAutoOrientationDevice represents a ResponseAutoOrientationDevice struct.
func (ResponseAutoOrientationDevice) MarshalJSON ¶ added in v0.4.74
func (r ResponseAutoOrientationDevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseAutoOrientationDevice. It customizes the JSON marshaling process for ResponseAutoOrientationDevice objects.
func (ResponseAutoOrientationDevice) String ¶ added in v0.4.74
func (r ResponseAutoOrientationDevice) String() string
String implements the fmt.Stringer interface for ResponseAutoOrientationDevice, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseAutoOrientationDevice) UnmarshalJSON ¶ added in v0.4.74
func (r *ResponseAutoOrientationDevice) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseAutoOrientationDevice. It customizes the JSON unmarshaling process for ResponseAutoOrientationDevice objects.
type ResponseAutoOrientationInfo ¶ added in v0.4.74
type ResponseAutoOrientationInfo struct {
// Only when `status`==`inprogress`, estimate of the time to completion
EstTimeLeft *float64 `json:"est_time_left,omitempty"`
// time when auto orient process was last queued for this map
StartTime *float64 `json:"start_time,omitempty"`
// The status of auto orient for a given map. enum:
// * `pending`: Auto orient has not been requested for this map
// * `inprogress`: Auto orient is currently processing
// * `done`: The auto orient process has completed
// * `error`: There was an error in the auto orient process
Status *ResponseAutoOrientationInfoStatusEnum `json:"status,omitempty"`
// time when auto orient completed or was manually stopped
StopTime *float64 `json:"stop_time,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseAutoOrientationInfo represents a ResponseAutoOrientationInfo struct.
func (ResponseAutoOrientationInfo) MarshalJSON ¶ added in v0.4.74
func (r ResponseAutoOrientationInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseAutoOrientationInfo. It customizes the JSON marshaling process for ResponseAutoOrientationInfo objects.
func (ResponseAutoOrientationInfo) String ¶ added in v0.4.74
func (r ResponseAutoOrientationInfo) String() string
String implements the fmt.Stringer interface for ResponseAutoOrientationInfo, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseAutoOrientationInfo) UnmarshalJSON ¶ added in v0.4.74
func (r *ResponseAutoOrientationInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseAutoOrientationInfo. It customizes the JSON unmarshaling process for ResponseAutoOrientationInfo objects.
type ResponseAutoOrientationInfoStatusEnum ¶ added in v0.4.74
type ResponseAutoOrientationInfoStatusEnum string
ResponseAutoOrientationInfoStatusEnum is a string enum. The status of auto orient for a given map. enum: * `pending`: Auto orient has not been requested for this map * `inprogress`: Auto orient is currently processing * `done`: The auto orient process has completed * `error`: There was an error in the auto orient process
const ( ResponseAutoOrientationInfoStatusEnum_PENDING ResponseAutoOrientationInfoStatusEnum = "pending" ResponseAutoOrientationInfoStatusEnum_INPROGRESS ResponseAutoOrientationInfoStatusEnum = "inprogress" ResponseAutoOrientationInfoStatusEnum_DONE ResponseAutoOrientationInfoStatusEnum = "done" ResponseAutoOrientationInfoStatusEnum_ENUMERROR ResponseAutoOrientationInfoStatusEnum = "error" )
type ResponseAutoPlacementInfo ¶
type ResponseAutoPlacementInfo struct {
// Time when autoplacement completed or was manually stopped
EndTime *float64 `json:"end_time,omitempty"`
// (Only when inprogress) estimate of the time to completion
EstTimeLeft *float64 `json:"est_time_left,omitempty"`
// Time when autoplacement process was last queued for this map
StartTime *int `json:"start_time,omitempty"`
// the status of autoplacement for a given map. enum: `done`, `error`, `inprogress`, `pending`
Status *AutoPlacementInfoStatusEnum `json:"status,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseAutoPlacementInfo represents a ResponseAutoPlacementInfo struct.
func (ResponseAutoPlacementInfo) MarshalJSON ¶
func (r ResponseAutoPlacementInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseAutoPlacementInfo. It customizes the JSON marshaling process for ResponseAutoPlacementInfo objects.
func (ResponseAutoPlacementInfo) String ¶ added in v0.4.23
func (r ResponseAutoPlacementInfo) String() string
String implements the fmt.Stringer interface for ResponseAutoPlacementInfo, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseAutoPlacementInfo) UnmarshalJSON ¶
func (r *ResponseAutoPlacementInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseAutoPlacementInfo. It customizes the JSON unmarshaling process for ResponseAutoPlacementInfo objects.
type ResponseAutoZone ¶ added in v0.4.0
type ResponseAutoZone struct {
// The status for the auto zones service for a given map. enum:
// * not_started: The auto zones service has not been run on this map or the results were cleared by the user
// * in_progress: The auto zones service is currently in progress
// * awaiting_review: The auto zones service has completed and suggested location zones to be added to the map
// * error: There was an error with the auto zones service
Status *ResponseAutoZoneStatusEnum `json:"status,omitempty"`
Zones []ResponseAutoZoneZone `json:"zones,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseAutoZone represents a ResponseAutoZone struct.
func (ResponseAutoZone) MarshalJSON ¶ added in v0.4.0
func (r ResponseAutoZone) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseAutoZone. It customizes the JSON marshaling process for ResponseAutoZone objects.
func (ResponseAutoZone) String ¶ added in v0.4.23
func (r ResponseAutoZone) String() string
String implements the fmt.Stringer interface for ResponseAutoZone, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseAutoZone) UnmarshalJSON ¶ added in v0.4.0
func (r *ResponseAutoZone) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseAutoZone. It customizes the JSON unmarshaling process for ResponseAutoZone objects.
type ResponseAutoZoneStatusEnum ¶ added in v0.4.0
type ResponseAutoZoneStatusEnum string
ResponseAutoZoneStatusEnum is a string enum. The status for the auto zones service for a given map. enum: * not_started: The auto zones service has not been run on this map or the results were cleared by the user * in_progress: The auto zones service is currently in progress * awaiting_review: The auto zones service has completed and suggested location zones to be added to the map * error: There was an error with the auto zones service
const ( ResponseAutoZoneStatusEnum_INPROGRESS ResponseAutoZoneStatusEnum = "in_progress" ResponseAutoZoneStatusEnum_AWAITINGREVIEW ResponseAutoZoneStatusEnum = "awaiting_review" ResponseAutoZoneStatusEnum_NOTSTARTED ResponseAutoZoneStatusEnum = "not_started" ResponseAutoZoneStatusEnum_ENUMERROR ResponseAutoZoneStatusEnum = "error" )
type ResponseAutoZoneZone ¶ added in v0.4.0
type ResponseAutoZoneZone struct {
// The name of the suggested zone
Name *string `json:"name,omitempty"`
// A list of of points comprising the zones map location in pixels
Vertices []ResponseAutoZoneZoneVertex `json:"vertices,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseAutoZoneZone represents a ResponseAutoZoneZone struct. A list of suggested zones to review and accept for a given map
func (ResponseAutoZoneZone) MarshalJSON ¶ added in v0.4.0
func (r ResponseAutoZoneZone) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseAutoZoneZone. It customizes the JSON marshaling process for ResponseAutoZoneZone objects.
func (ResponseAutoZoneZone) String ¶ added in v0.4.23
func (r ResponseAutoZoneZone) String() string
String implements the fmt.Stringer interface for ResponseAutoZoneZone, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseAutoZoneZone) UnmarshalJSON ¶ added in v0.4.0
func (r *ResponseAutoZoneZone) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseAutoZoneZone. It customizes the JSON unmarshaling process for ResponseAutoZoneZone objects.
type ResponseAutoZoneZoneVertex ¶ added in v0.4.4
type ResponseAutoZoneZoneVertex struct {
X *int `json:"x,omitempty"`
Y *int `json:"y,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseAutoZoneZoneVertex represents a ResponseAutoZoneZoneVertex struct.
func (ResponseAutoZoneZoneVertex) MarshalJSON ¶ added in v0.4.4
func (r ResponseAutoZoneZoneVertex) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseAutoZoneZoneVertex. It customizes the JSON marshaling process for ResponseAutoZoneZoneVertex objects.
func (ResponseAutoZoneZoneVertex) String ¶ added in v0.4.23
func (r ResponseAutoZoneZoneVertex) String() string
String implements the fmt.Stringer interface for ResponseAutoZoneZoneVertex, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseAutoZoneZoneVertex) UnmarshalJSON ¶ added in v0.4.4
func (r *ResponseAutoZoneZoneVertex) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseAutoZoneZoneVertex. It customizes the JSON unmarshaling process for ResponseAutoZoneZoneVertex objects.
type ResponseAutoplacement ¶ added in v0.4.54
type ResponseAutoplacement struct {
// Property key is the AP MAC Address. Contains the validation status of each device.
Devices map[string]ResponseAutoplacementDevice `json:"devices,omitempty"`
// Estimated runtime for the process in seconds.
EstimatedRuntime *int `json:"estimated_runtime,omitempty"`
// Provides the reason for the status.
Reason *string `json:"reason,omitempty"`
// Indicates whether the autoplacement process has started.
Started *bool `json:"started,omitempty"`
// Indicates whether the autoplacement request is valid.
Valid *bool `json:"valid,omitempty"`
// Indicates whether the auto placement process will interrupt WiFi traffic.
WifiInterrupting *bool `json:"wifi_interrupting,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseAutoplacement represents a ResponseAutoplacement struct.
func (ResponseAutoplacement) MarshalJSON ¶ added in v0.4.54
func (r ResponseAutoplacement) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseAutoplacement. It customizes the JSON marshaling process for ResponseAutoplacement objects.
func (ResponseAutoplacement) String ¶ added in v0.4.54
func (r ResponseAutoplacement) String() string
String implements the fmt.Stringer interface for ResponseAutoplacement, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseAutoplacement) UnmarshalJSON ¶ added in v0.4.54
func (r *ResponseAutoplacement) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseAutoplacement. It customizes the JSON unmarshaling process for ResponseAutoplacement objects.
type ResponseAutoplacementDevice ¶ added in v0.4.54
type ResponseAutoplacementDevice struct {
// Provides the reason for the status if the AP is invalid.
Reason *string `json:"reason,omitempty"`
// Indicates whether the ap is valid.
Valid *bool `json:"valid,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseAutoplacementDevice represents a ResponseAutoplacementDevice struct.
func (ResponseAutoplacementDevice) MarshalJSON ¶ added in v0.4.54
func (r ResponseAutoplacementDevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseAutoplacementDevice. It customizes the JSON marshaling process for ResponseAutoplacementDevice objects.
func (ResponseAutoplacementDevice) String ¶ added in v0.4.54
func (r ResponseAutoplacementDevice) String() string
String implements the fmt.Stringer interface for ResponseAutoplacementDevice, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseAutoplacementDevice) UnmarshalJSON ¶ added in v0.4.54
func (r *ResponseAutoplacementDevice) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseAutoplacementDevice. It customizes the JSON unmarshaling process for ResponseAutoplacementDevice objects.
type ResponseCallTroubleshootSummary ¶ added in v0.4.54
type ResponseCallTroubleshootSummary struct {
Mac *string `json:"mac,omitempty"`
MeetingId *uuid.UUID `json:"meeting_id,omitempty"`
Results []CallTroubleshootSummary `json:"results,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseCallTroubleshootSummary represents a ResponseCallTroubleshootSummary struct.
func (ResponseCallTroubleshootSummary) MarshalJSON ¶ added in v0.4.54
func (r ResponseCallTroubleshootSummary) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseCallTroubleshootSummary. It customizes the JSON marshaling process for ResponseCallTroubleshootSummary objects.
func (ResponseCallTroubleshootSummary) String ¶ added in v0.4.54
func (r ResponseCallTroubleshootSummary) String() string
String implements the fmt.Stringer interface for ResponseCallTroubleshootSummary, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseCallTroubleshootSummary) UnmarshalJSON ¶ added in v0.4.54
func (r *ResponseCallTroubleshootSummary) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseCallTroubleshootSummary. It customizes the JSON unmarshaling process for ResponseCallTroubleshootSummary objects.
type ResponseCertificate ¶
type ResponseCertificate struct {
Cert string `json:"cert"`
PendingCert *string `json:"pending_cert,omitempty"`
PendingCertExpiry *int `json:"pending_cert_expiry,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseCertificate represents a ResponseCertificate struct. If the current Org CA certificate is set to expire within 30 days, a pending certificate will be returned along with the expected auto-renewal timestamp.
func (ResponseCertificate) MarshalJSON ¶
func (r ResponseCertificate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseCertificate. It customizes the JSON marshaling process for ResponseCertificate objects.
func (ResponseCertificate) String ¶ added in v0.4.23
func (r ResponseCertificate) String() string
String implements the fmt.Stringer interface for ResponseCertificate, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseCertificate) UnmarshalJSON ¶
func (r *ResponseCertificate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseCertificate. It customizes the JSON unmarshaling process for ResponseCertificate objects.
type ResponseClaimLicense ¶
type ResponseClaimLicense struct {
InventoryAdded []ResponseClaimLicenseInventoryItem `json:"inventory_added"`
InventoryDuplicated []ResponseClaimLicenseInventoryItem `json:"inventory_duplicated"`
// for async claim
InventoryPending []ResponseClaimLicenseInventoryPendingItem `json:"inventory_pending,omitempty"`
LicenseAdded []ResponseClaimLicenseLicenseItem `json:"license_added"`
LicenseDuplicated []ResponseClaimLicenseLicenseItem `json:"license_duplicated"`
LicenseError []ResponseClaimLicenseLicenseErrorItem `json:"license_error"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseClaimLicense represents a ResponseClaimLicense struct.
func (ResponseClaimLicense) MarshalJSON ¶
func (r ResponseClaimLicense) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseClaimLicense. It customizes the JSON marshaling process for ResponseClaimLicense objects.
func (ResponseClaimLicense) String ¶ added in v0.4.23
func (r ResponseClaimLicense) String() string
String implements the fmt.Stringer interface for ResponseClaimLicense, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseClaimLicense) UnmarshalJSON ¶
func (r *ResponseClaimLicense) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseClaimLicense. It customizes the JSON unmarshaling process for ResponseClaimLicense objects.
type ResponseClaimLicenseInventoryItem ¶
type ResponseClaimLicenseInventoryItem struct {
Mac string `json:"mac"`
Magic string `json:"magic"`
Model string `json:"model"`
Serial string `json:"serial"`
Type string `json:"type"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseClaimLicenseInventoryItem represents a ResponseClaimLicenseInventoryItem struct.
func (ResponseClaimLicenseInventoryItem) MarshalJSON ¶
func (r ResponseClaimLicenseInventoryItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseClaimLicenseInventoryItem. It customizes the JSON marshaling process for ResponseClaimLicenseInventoryItem objects.
func (ResponseClaimLicenseInventoryItem) String ¶ added in v0.4.23
func (r ResponseClaimLicenseInventoryItem) String() string
String implements the fmt.Stringer interface for ResponseClaimLicenseInventoryItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseClaimLicenseInventoryItem) UnmarshalJSON ¶
func (r *ResponseClaimLicenseInventoryItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseClaimLicenseInventoryItem. It customizes the JSON unmarshaling process for ResponseClaimLicenseInventoryItem objects.
type ResponseClaimLicenseInventoryPendingItem ¶ added in v0.4.74
type ResponseClaimLicenseInventoryPendingItem struct {
Mac *string `json:"mac,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseClaimLicenseInventoryPendingItem represents a ResponseClaimLicenseInventoryPendingItem struct.
func (ResponseClaimLicenseInventoryPendingItem) MarshalJSON ¶ added in v0.4.74
func (r ResponseClaimLicenseInventoryPendingItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseClaimLicenseInventoryPendingItem. It customizes the JSON marshaling process for ResponseClaimLicenseInventoryPendingItem objects.
func (ResponseClaimLicenseInventoryPendingItem) String ¶ added in v0.4.74
func (r ResponseClaimLicenseInventoryPendingItem) String() string
String implements the fmt.Stringer interface for ResponseClaimLicenseInventoryPendingItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseClaimLicenseInventoryPendingItem) UnmarshalJSON ¶ added in v0.4.74
func (r *ResponseClaimLicenseInventoryPendingItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseClaimLicenseInventoryPendingItem. It customizes the JSON unmarshaling process for ResponseClaimLicenseInventoryPendingItem objects.
type ResponseClaimLicenseLicenseErrorItem ¶
type ResponseClaimLicenseLicenseErrorItem struct {
Order string `json:"order"`
Reason string `json:"reason"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseClaimLicenseLicenseErrorItem represents a ResponseClaimLicenseLicenseErrorItem struct.
func (ResponseClaimLicenseLicenseErrorItem) MarshalJSON ¶
func (r ResponseClaimLicenseLicenseErrorItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseClaimLicenseLicenseErrorItem. It customizes the JSON marshaling process for ResponseClaimLicenseLicenseErrorItem objects.
func (ResponseClaimLicenseLicenseErrorItem) String ¶ added in v0.4.23
func (r ResponseClaimLicenseLicenseErrorItem) String() string
String implements the fmt.Stringer interface for ResponseClaimLicenseLicenseErrorItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseClaimLicenseLicenseErrorItem) UnmarshalJSON ¶
func (r *ResponseClaimLicenseLicenseErrorItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseClaimLicenseLicenseErrorItem. It customizes the JSON unmarshaling process for ResponseClaimLicenseLicenseErrorItem objects.
type ResponseClaimLicenseLicenseItem ¶
type ResponseClaimLicenseLicenseItem struct {
End int `json:"end"`
Quantity int `json:"quantity"`
Start int `json:"start"`
Type string `json:"type"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseClaimLicenseLicenseItem represents a ResponseClaimLicenseLicenseItem struct.
func (ResponseClaimLicenseLicenseItem) MarshalJSON ¶
func (r ResponseClaimLicenseLicenseItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseClaimLicenseLicenseItem. It customizes the JSON marshaling process for ResponseClaimLicenseLicenseItem objects.
func (ResponseClaimLicenseLicenseItem) String ¶ added in v0.4.23
func (r ResponseClaimLicenseLicenseItem) String() string
String implements the fmt.Stringer interface for ResponseClaimLicenseLicenseItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseClaimLicenseLicenseItem) UnmarshalJSON ¶
func (r *ResponseClaimLicenseLicenseItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseClaimLicenseLicenseItem. It customizes the JSON unmarshaling process for ResponseClaimLicenseLicenseItem objects.
type ResponseClaimMxEdge ¶
type ResponseClaimMxEdge struct {
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
Magic string `json:"magic"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseClaimMxEdge represents a ResponseClaimMxEdge struct.
func (ResponseClaimMxEdge) MarshalJSON ¶
func (r ResponseClaimMxEdge) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseClaimMxEdge. It customizes the JSON marshaling process for ResponseClaimMxEdge objects.
func (ResponseClaimMxEdge) String ¶ added in v0.4.23
func (r ResponseClaimMxEdge) String() string
String implements the fmt.Stringer interface for ResponseClaimMxEdge, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseClaimMxEdge) UnmarshalJSON ¶
func (r *ResponseClaimMxEdge) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseClaimMxEdge. It customizes the JSON unmarshaling process for ResponseClaimMxEdge objects.
type ResponseClientEventsSearch ¶
type ResponseClientEventsSearch struct {
End int `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []EventsClient `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseClientEventsSearch represents a ResponseClientEventsSearch struct.
func (ResponseClientEventsSearch) MarshalJSON ¶
func (r ResponseClientEventsSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseClientEventsSearch. It customizes the JSON marshaling process for ResponseClientEventsSearch objects.
func (ResponseClientEventsSearch) String ¶ added in v0.4.23
func (r ResponseClientEventsSearch) String() string
String implements the fmt.Stringer interface for ResponseClientEventsSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseClientEventsSearch) UnmarshalJSON ¶
func (r *ResponseClientEventsSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseClientEventsSearch. It customizes the JSON unmarshaling process for ResponseClientEventsSearch objects.
type ResponseClientNacSearch ¶
type ResponseClientNacSearch struct {
End *int `json:"end,omitempty"`
Limit *int `json:"limit,omitempty"`
Next *string `json:"next,omitempty"`
Results []ClientNac `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseClientNacSearch represents a ResponseClientNacSearch struct.
func (ResponseClientNacSearch) MarshalJSON ¶
func (r ResponseClientNacSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseClientNacSearch. It customizes the JSON marshaling process for ResponseClientNacSearch objects.
func (ResponseClientNacSearch) String ¶ added in v0.4.23
func (r ResponseClientNacSearch) String() string
String implements the fmt.Stringer interface for ResponseClientNacSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseClientNacSearch) UnmarshalJSON ¶
func (r *ResponseClientNacSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseClientNacSearch. It customizes the JSON unmarshaling process for ResponseClientNacSearch objects.
type ResponseClientSearch ¶
type ResponseClientSearch struct {
End float64 `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []ClientWireless `json:"results"`
Start float64 `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseClientSearch represents a ResponseClientSearch struct.
func (ResponseClientSearch) MarshalJSON ¶
func (r ResponseClientSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseClientSearch. It customizes the JSON marshaling process for ResponseClientSearch objects.
func (ResponseClientSearch) String ¶ added in v0.4.23
func (r ResponseClientSearch) String() string
String implements the fmt.Stringer interface for ResponseClientSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseClientSearch) UnmarshalJSON ¶
func (r *ResponseClientSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseClientSearch. It customizes the JSON unmarshaling process for ResponseClientSearch objects.
type ResponseClientSessionsSearch ¶
type ResponseClientSessionsSearch struct {
End int `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []ResponseClientSessionsSearchItem `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseClientSessionsSearch represents a ResponseClientSessionsSearch struct.
func (ResponseClientSessionsSearch) MarshalJSON ¶
func (r ResponseClientSessionsSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseClientSessionsSearch. It customizes the JSON marshaling process for ResponseClientSessionsSearch objects.
func (ResponseClientSessionsSearch) String ¶ added in v0.4.23
func (r ResponseClientSessionsSearch) String() string
String implements the fmt.Stringer interface for ResponseClientSessionsSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseClientSessionsSearch) UnmarshalJSON ¶
func (r *ResponseClientSessionsSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseClientSessionsSearch. It customizes the JSON unmarshaling process for ResponseClientSessionsSearch objects.
type ResponseClientSessionsSearchItem ¶
type ResponseClientSessionsSearchItem struct {
Ap string `json:"ap"`
Band string `json:"band"`
ClientManufacture string `json:"client_manufacture"`
Connect float64 `json:"connect"`
Disconnect float64 `json:"disconnect"`
Duration float64 `json:"duration"`
Mac string `json:"mac"`
OrgId uuid.UUID `json:"org_id"`
SiteId uuid.UUID `json:"site_id"`
Ssid string `json:"ssid"`
Tags []string `json:"tags,omitempty"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
WlanId uuid.UUID `json:"wlan_id"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseClientSessionsSearchItem represents a ResponseClientSessionsSearchItem struct.
func (ResponseClientSessionsSearchItem) MarshalJSON ¶
func (r ResponseClientSessionsSearchItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseClientSessionsSearchItem. It customizes the JSON marshaling process for ResponseClientSessionsSearchItem objects.
func (ResponseClientSessionsSearchItem) String ¶ added in v0.4.23
func (r ResponseClientSessionsSearchItem) String() string
String implements the fmt.Stringer interface for ResponseClientSessionsSearchItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseClientSessionsSearchItem) UnmarshalJSON ¶
func (r *ResponseClientSessionsSearchItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseClientSessionsSearchItem. It customizes the JSON unmarshaling process for ResponseClientSessionsSearchItem objects.
type ResponseConfigHistorySearch ¶
type ResponseConfigHistorySearch struct {
End int `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []ResponseConfigHistorySearchItem `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseConfigHistorySearch represents a ResponseConfigHistorySearch struct.
func (ResponseConfigHistorySearch) MarshalJSON ¶
func (r ResponseConfigHistorySearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseConfigHistorySearch. It customizes the JSON marshaling process for ResponseConfigHistorySearch objects.
func (ResponseConfigHistorySearch) String ¶ added in v0.4.23
func (r ResponseConfigHistorySearch) String() string
String implements the fmt.Stringer interface for ResponseConfigHistorySearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseConfigHistorySearch) UnmarshalJSON ¶
func (r *ResponseConfigHistorySearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseConfigHistorySearch. It customizes the JSON unmarshaling process for ResponseConfigHistorySearch objects.
type ResponseConfigHistorySearchItem ¶
type ResponseConfigHistorySearchItem struct {
Channel24 int `json:"channel_24"`
Channel5 int `json:"channel_5"`
RadioMacs []string `json:"radio_macs,omitempty"`
Radios []ResponseConfigHistorySearchItemRadio `json:"radios,omitempty"`
SecpolicyViolated bool `json:"secpolicy_violated"`
Ssids []string `json:"ssids,omitempty"`
Ssids24 []string `json:"ssids_24,omitempty"`
Ssids5 []string `json:"ssids_5,omitempty"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
Version string `json:"version"`
Wlans []ResponseConfigHistorySearchItemWlan `json:"wlans,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseConfigHistorySearchItem represents a ResponseConfigHistorySearchItem struct.
func (ResponseConfigHistorySearchItem) MarshalJSON ¶
func (r ResponseConfigHistorySearchItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseConfigHistorySearchItem. It customizes the JSON marshaling process for ResponseConfigHistorySearchItem objects.
func (ResponseConfigHistorySearchItem) String ¶ added in v0.4.23
func (r ResponseConfigHistorySearchItem) String() string
String implements the fmt.Stringer interface for ResponseConfigHistorySearchItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseConfigHistorySearchItem) UnmarshalJSON ¶
func (r *ResponseConfigHistorySearchItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseConfigHistorySearchItem. It customizes the JSON unmarshaling process for ResponseConfigHistorySearchItem objects.
type ResponseConfigHistorySearchItemRadio ¶
type ResponseConfigHistorySearchItemRadio struct {
Band string `json:"band"`
Channel int `json:"channel"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseConfigHistorySearchItemRadio represents a ResponseConfigHistorySearchItemRadio struct.
func (ResponseConfigHistorySearchItemRadio) MarshalJSON ¶
func (r ResponseConfigHistorySearchItemRadio) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseConfigHistorySearchItemRadio. It customizes the JSON marshaling process for ResponseConfigHistorySearchItemRadio objects.
func (ResponseConfigHistorySearchItemRadio) String ¶ added in v0.4.23
func (r ResponseConfigHistorySearchItemRadio) String() string
String implements the fmt.Stringer interface for ResponseConfigHistorySearchItemRadio, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseConfigHistorySearchItemRadio) UnmarshalJSON ¶
func (r *ResponseConfigHistorySearchItemRadio) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseConfigHistorySearchItemRadio. It customizes the JSON unmarshaling process for ResponseConfigHistorySearchItemRadio objects.
type ResponseConfigHistorySearchItemWlan ¶
type ResponseConfigHistorySearchItemWlan struct {
Auth string `json:"auth"`
Bands []string `json:"bands,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
Ssid string `json:"ssid"`
VlanIds []string `json:"vlan_ids,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseConfigHistorySearchItemWlan represents a ResponseConfigHistorySearchItemWlan struct.
func (ResponseConfigHistorySearchItemWlan) MarshalJSON ¶
func (r ResponseConfigHistorySearchItemWlan) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseConfigHistorySearchItemWlan. It customizes the JSON marshaling process for ResponseConfigHistorySearchItemWlan objects.
func (ResponseConfigHistorySearchItemWlan) String ¶ added in v0.4.23
func (r ResponseConfigHistorySearchItemWlan) String() string
String implements the fmt.Stringer interface for ResponseConfigHistorySearchItemWlan, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseConfigHistorySearchItemWlan) UnmarshalJSON ¶
func (r *ResponseConfigHistorySearchItemWlan) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseConfigHistorySearchItemWlan. It customizes the JSON unmarshaling process for ResponseConfigHistorySearchItemWlan objects.
type ResponseCount ¶ added in v0.4.54
type ResponseCount struct {
Distinct string `json:"distinct"`
End int `json:"end"`
Limit int `json:"limit"`
Results []CountResult `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseCount represents a ResponseCount struct.
func (ResponseCount) MarshalJSON ¶ added in v0.4.54
func (r ResponseCount) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseCount. It customizes the JSON marshaling process for ResponseCount objects.
func (ResponseCount) String ¶ added in v0.4.54
func (r ResponseCount) String() string
String implements the fmt.Stringer interface for ResponseCount, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseCount) UnmarshalJSON ¶ added in v0.4.54
func (r *ResponseCount) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseCount. It customizes the JSON unmarshaling process for ResponseCount objects.
type ResponseCountMarvisActions ¶
type ResponseCountMarvisActions struct {
Distinct *string `json:"distinct,omitempty"`
Limit *int `json:"limit,omitempty"`
Results []ResponseCountMarvisActionsResult `json:"results,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseCountMarvisActions represents a ResponseCountMarvisActions struct.
func (ResponseCountMarvisActions) MarshalJSON ¶
func (r ResponseCountMarvisActions) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseCountMarvisActions. It customizes the JSON marshaling process for ResponseCountMarvisActions objects.
func (ResponseCountMarvisActions) String ¶ added in v0.4.23
func (r ResponseCountMarvisActions) String() string
String implements the fmt.Stringer interface for ResponseCountMarvisActions, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseCountMarvisActions) UnmarshalJSON ¶
func (r *ResponseCountMarvisActions) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseCountMarvisActions. It customizes the JSON unmarshaling process for ResponseCountMarvisActions objects.
type ResponseCountMarvisActionsResult ¶
type ResponseCountMarvisActionsResult struct {
Count *int `json:"count,omitempty"`
AdditionalProperties map[string]string `json:"_"`
}
ResponseCountMarvisActionsResult represents a ResponseCountMarvisActionsResult struct.
func (ResponseCountMarvisActionsResult) MarshalJSON ¶
func (r ResponseCountMarvisActionsResult) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseCountMarvisActionsResult. It customizes the JSON marshaling process for ResponseCountMarvisActionsResult objects.
func (ResponseCountMarvisActionsResult) String ¶ added in v0.4.23
func (r ResponseCountMarvisActionsResult) String() string
String implements the fmt.Stringer interface for ResponseCountMarvisActionsResult, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseCountMarvisActionsResult) UnmarshalJSON ¶
func (r *ResponseCountMarvisActionsResult) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseCountMarvisActionsResult. It customizes the JSON unmarshaling process for ResponseCountMarvisActionsResult objects.
type ResponseDeviceBiosUpgrade ¶
type ResponseDeviceBiosUpgrade struct {
Status *string `json:"status,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseDeviceBiosUpgrade represents a ResponseDeviceBiosUpgrade struct.
func (ResponseDeviceBiosUpgrade) MarshalJSON ¶
func (r ResponseDeviceBiosUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDeviceBiosUpgrade. It customizes the JSON marshaling process for ResponseDeviceBiosUpgrade objects.
func (ResponseDeviceBiosUpgrade) String ¶ added in v0.4.23
func (r ResponseDeviceBiosUpgrade) String() string
String implements the fmt.Stringer interface for ResponseDeviceBiosUpgrade, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseDeviceBiosUpgrade) UnmarshalJSON ¶
func (r *ResponseDeviceBiosUpgrade) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseDeviceBiosUpgrade. It customizes the JSON unmarshaling process for ResponseDeviceBiosUpgrade objects.
type ResponseDeviceConfigCli ¶
type ResponseDeviceConfigCli struct {
Cli []string `json:"cli"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseDeviceConfigCli represents a ResponseDeviceConfigCli struct.
func (ResponseDeviceConfigCli) MarshalJSON ¶
func (r ResponseDeviceConfigCli) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDeviceConfigCli. It customizes the JSON marshaling process for ResponseDeviceConfigCli objects.
func (ResponseDeviceConfigCli) String ¶ added in v0.4.23
func (r ResponseDeviceConfigCli) String() string
String implements the fmt.Stringer interface for ResponseDeviceConfigCli, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseDeviceConfigCli) UnmarshalJSON ¶
func (r *ResponseDeviceConfigCli) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseDeviceConfigCli. It customizes the JSON unmarshaling process for ResponseDeviceConfigCli objects.
type ResponseDeviceConfigCmd ¶
type ResponseDeviceConfigCmd struct {
Cmd string `json:"cmd"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseDeviceConfigCmd represents a ResponseDeviceConfigCmd struct.
func (ResponseDeviceConfigCmd) MarshalJSON ¶
func (r ResponseDeviceConfigCmd) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDeviceConfigCmd. It customizes the JSON marshaling process for ResponseDeviceConfigCmd objects.
func (ResponseDeviceConfigCmd) String ¶ added in v0.4.23
func (r ResponseDeviceConfigCmd) String() string
String implements the fmt.Stringer interface for ResponseDeviceConfigCmd, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseDeviceConfigCmd) UnmarshalJSON ¶
func (r *ResponseDeviceConfigCmd) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseDeviceConfigCmd. It customizes the JSON unmarshaling process for ResponseDeviceConfigCmd objects.
type ResponseDeviceEventsSearch ¶
type ResponseDeviceEventsSearch struct {
End int `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []DeviceEvent `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseDeviceEventsSearch represents a ResponseDeviceEventsSearch struct.
func (ResponseDeviceEventsSearch) MarshalJSON ¶
func (r ResponseDeviceEventsSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDeviceEventsSearch. It customizes the JSON marshaling process for ResponseDeviceEventsSearch objects.
func (ResponseDeviceEventsSearch) String ¶ added in v0.4.23
func (r ResponseDeviceEventsSearch) String() string
String implements the fmt.Stringer interface for ResponseDeviceEventsSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseDeviceEventsSearch) UnmarshalJSON ¶
func (r *ResponseDeviceEventsSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseDeviceEventsSearch. It customizes the JSON unmarshaling process for ResponseDeviceEventsSearch objects.
type ResponseDeviceMetrics ¶
type ResponseDeviceMetrics struct {
End int `json:"end"`
Interval int `json:"interval"`
Limit *int `json:"limit,omitempty"`
Page *int `json:"page,omitempty"`
Results []ResponseDeviceMetricsResultsItems `json:"results"`
Rt []string `json:"rt,omitempty"`
Start int `json:"start"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseDeviceMetrics represents a ResponseDeviceMetrics struct.
func (ResponseDeviceMetrics) MarshalJSON ¶
func (r ResponseDeviceMetrics) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDeviceMetrics. It customizes the JSON marshaling process for ResponseDeviceMetrics objects.
func (ResponseDeviceMetrics) String ¶ added in v0.4.23
func (r ResponseDeviceMetrics) String() string
String implements the fmt.Stringer interface for ResponseDeviceMetrics, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseDeviceMetrics) UnmarshalJSON ¶
func (r *ResponseDeviceMetrics) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseDeviceMetrics. It customizes the JSON unmarshaling process for ResponseDeviceMetrics objects.
type ResponseDeviceMetricsResultsItems ¶ added in v0.2.38
type ResponseDeviceMetricsResultsItems struct {
// contains filtered or unexported fields
}
ResponseDeviceMetricsResultsItems represents a ResponseDeviceMetricsResultsItems struct.
func (*ResponseDeviceMetricsResultsItems) AsNumber ¶ added in v0.2.38
func (r *ResponseDeviceMetricsResultsItems) AsNumber() ( *int, bool)
func (*ResponseDeviceMetricsResultsItems) AsString ¶ added in v0.2.38
func (r *ResponseDeviceMetricsResultsItems) AsString() ( *string, bool)
func (ResponseDeviceMetricsResultsItems) MarshalJSON ¶ added in v0.2.38
func (r ResponseDeviceMetricsResultsItems) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDeviceMetricsResultsItems. It customizes the JSON marshaling process for ResponseDeviceMetricsResultsItems objects.
func (ResponseDeviceMetricsResultsItems) String ¶ added in v0.2.38
func (r ResponseDeviceMetricsResultsItems) String() string
String implements the fmt.Stringer interface for ResponseDeviceMetricsResultsItems, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseDeviceMetricsResultsItems) UnmarshalJSON ¶ added in v0.2.38
func (r *ResponseDeviceMetricsResultsItems) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseDeviceMetricsResultsItems. It customizes the JSON unmarshaling process for ResponseDeviceMetricsResultsItems objects.
type ResponseDeviceRadioChannels ¶
type ResponseDeviceRadioChannels struct {
Band2440mhzAllowed bool `json:"band24_40mhz_allowed"`
// Property key is the channel width
Band24Channels map[string][]int `json:"band24_channels"`
Band24Enabled bool `json:"band24_enabled"`
// Property key is the channel width
Band5Channels map[string][]int `json:"band5_channels"`
Band5Enabled bool `json:"band5_enabled"`
// Property key is the channel width
Band6Channels map[string][]int `json:"band6_channels,omitempty"`
Band6Enabled *bool `json:"band6_enabled,omitempty"`
Certified bool `json:"certified"`
Code int `json:"code"`
DfsOk bool `json:"dfs_ok"`
Key string `json:"key"`
Name string `json:"name"`
Uses string `json:"uses"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseDeviceRadioChannels represents a ResponseDeviceRadioChannels struct.
func (ResponseDeviceRadioChannels) MarshalJSON ¶
func (r ResponseDeviceRadioChannels) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDeviceRadioChannels. It customizes the JSON marshaling process for ResponseDeviceRadioChannels objects.
func (ResponseDeviceRadioChannels) String ¶ added in v0.4.23
func (r ResponseDeviceRadioChannels) String() string
String implements the fmt.Stringer interface for ResponseDeviceRadioChannels, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseDeviceRadioChannels) UnmarshalJSON ¶
func (r *ResponseDeviceRadioChannels) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseDeviceRadioChannels. It customizes the JSON unmarshaling process for ResponseDeviceRadioChannels objects.
type ResponseDeviceSearch ¶
type ResponseDeviceSearch struct {
End int `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []ResponseDeviceSearchResultsItems `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseDeviceSearch represents a ResponseDeviceSearch struct.
func (ResponseDeviceSearch) MarshalJSON ¶
func (r ResponseDeviceSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDeviceSearch. It customizes the JSON marshaling process for ResponseDeviceSearch objects.
func (ResponseDeviceSearch) String ¶ added in v0.4.23
func (r ResponseDeviceSearch) String() string
String implements the fmt.Stringer interface for ResponseDeviceSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseDeviceSearch) UnmarshalJSON ¶
func (r *ResponseDeviceSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseDeviceSearch. It customizes the JSON unmarshaling process for ResponseDeviceSearch objects.
type ResponseDeviceSearchResultsItems ¶
type ResponseDeviceSearchResultsItems struct {
// contains filtered or unexported fields
}
ResponseDeviceSearchResultsItems represents a ResponseDeviceSearchResultsItems struct.
func (*ResponseDeviceSearchResultsItems) AsApSearch ¶ added in v0.3.0
func (r *ResponseDeviceSearchResultsItems) AsApSearch() ( *ApSearch, bool)
func (*ResponseDeviceSearchResultsItems) AsGatewaySearch ¶ added in v0.3.0
func (r *ResponseDeviceSearchResultsItems) AsGatewaySearch() ( *GatewaySearch, bool)
func (*ResponseDeviceSearchResultsItems) AsSwitchSearch ¶ added in v0.3.0
func (r *ResponseDeviceSearchResultsItems) AsSwitchSearch() ( *SwitchSearch, bool)
func (ResponseDeviceSearchResultsItems) MarshalJSON ¶
func (r ResponseDeviceSearchResultsItems) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDeviceSearchResultsItems. It customizes the JSON marshaling process for ResponseDeviceSearchResultsItems objects.
func (ResponseDeviceSearchResultsItems) String ¶ added in v0.3.0
func (r ResponseDeviceSearchResultsItems) String() string
String implements the fmt.Stringer interface for ResponseDeviceSearchResultsItems, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseDeviceSearchResultsItems) UnmarshalJSON ¶
func (r *ResponseDeviceSearchResultsItems) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseDeviceSearchResultsItems. It customizes the JSON unmarshaling process for ResponseDeviceSearchResultsItems objects.
type ResponseDeviceUpgrade ¶
type ResponseDeviceUpgrade struct {
// enum: `error`, `inprogress`, `scheduled`, `starting`, `success`
Status UpgradeInfoStatusEnum `json:"status"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseDeviceUpgrade represents a ResponseDeviceUpgrade struct.
func (ResponseDeviceUpgrade) MarshalJSON ¶
func (r ResponseDeviceUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDeviceUpgrade. It customizes the JSON marshaling process for ResponseDeviceUpgrade objects.
func (ResponseDeviceUpgrade) String ¶ added in v0.4.23
func (r ResponseDeviceUpgrade) String() string
String implements the fmt.Stringer interface for ResponseDeviceUpgrade, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseDeviceUpgrade) UnmarshalJSON ¶
func (r *ResponseDeviceUpgrade) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseDeviceUpgrade. It customizes the JSON unmarshaling process for ResponseDeviceUpgrade objects.
type ResponseDiscoveredSwitchMetrics ¶
type ResponseDiscoveredSwitchMetrics struct {
End float64 `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []DiscoveredSwitchMetric `json:"results"`
Start float64 `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseDiscoveredSwitchMetrics represents a ResponseDiscoveredSwitchMetrics struct.
func (ResponseDiscoveredSwitchMetrics) MarshalJSON ¶
func (r ResponseDiscoveredSwitchMetrics) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDiscoveredSwitchMetrics. It customizes the JSON marshaling process for ResponseDiscoveredSwitchMetrics objects.
func (ResponseDiscoveredSwitchMetrics) String ¶ added in v0.4.23
func (r ResponseDiscoveredSwitchMetrics) String() string
String implements the fmt.Stringer interface for ResponseDiscoveredSwitchMetrics, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseDiscoveredSwitchMetrics) UnmarshalJSON ¶
func (r *ResponseDiscoveredSwitchMetrics) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseDiscoveredSwitchMetrics. It customizes the JSON unmarshaling process for ResponseDiscoveredSwitchMetrics objects.
type ResponseDiscoveredSwitches ¶
type ResponseDiscoveredSwitches struct {
End float64 `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []DiscoveredSwitch `json:"results"`
Start float64 `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseDiscoveredSwitches represents a ResponseDiscoveredSwitches struct.
func (ResponseDiscoveredSwitches) MarshalJSON ¶
func (r ResponseDiscoveredSwitches) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDiscoveredSwitches. It customizes the JSON marshaling process for ResponseDiscoveredSwitches objects.
func (ResponseDiscoveredSwitches) String ¶ added in v0.4.23
func (r ResponseDiscoveredSwitches) String() string
String implements the fmt.Stringer interface for ResponseDiscoveredSwitches, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseDiscoveredSwitches) UnmarshalJSON ¶
func (r *ResponseDiscoveredSwitches) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseDiscoveredSwitches. It customizes the JSON unmarshaling process for ResponseDiscoveredSwitches objects.
type ResponseDswitchesMetrics ¶
type ResponseDswitchesMetrics struct {
InactiveWiredVlans DswitchesMetricsInactiveWiredVlans `json:"inactive_wired_vlans"`
PoeCompliance DswitchesMetricsPoeCompliance `json:"poe_compliance"`
SwitchApAffinity DswitchesMetricsSwitchApAffinity `json:"switch_ap_affinity"`
VersionCompliance DswitchesMetricsVersionCompliance `json:"version_compliance"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseDswitchesMetrics represents a ResponseDswitchesMetrics struct.
func (ResponseDswitchesMetrics) MarshalJSON ¶
func (r ResponseDswitchesMetrics) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDswitchesMetrics. It customizes the JSON marshaling process for ResponseDswitchesMetrics objects.
func (ResponseDswitchesMetrics) String ¶ added in v0.4.23
func (r ResponseDswitchesMetrics) String() string
String implements the fmt.Stringer interface for ResponseDswitchesMetrics, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseDswitchesMetrics) UnmarshalJSON ¶
func (r *ResponseDswitchesMetrics) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseDswitchesMetrics. It customizes the JSON unmarshaling process for ResponseDswitchesMetrics objects.
type ResponseEventsDevices ¶
type ResponseEventsDevices struct {
End int `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []DeviceEvent `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseEventsDevices represents a ResponseEventsDevices struct.
func (ResponseEventsDevices) MarshalJSON ¶
func (r ResponseEventsDevices) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseEventsDevices. It customizes the JSON marshaling process for ResponseEventsDevices objects.
func (ResponseEventsDevices) String ¶ added in v0.4.23
func (r ResponseEventsDevices) String() string
String implements the fmt.Stringer interface for ResponseEventsDevices, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseEventsDevices) UnmarshalJSON ¶
func (r *ResponseEventsDevices) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseEventsDevices. It customizes the JSON unmarshaling process for ResponseEventsDevices objects.
type ResponseEventsFastroam ¶
type ResponseEventsFastroam struct {
End int `json:"end"`
Limit int `json:"limit"`
// Link to query next set of results. value is null if no next page exists.
Next *string `json:"next,omitempty"`
Results []EventFastroam `json:"results"`
Start int `json:"start"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseEventsFastroam represents a ResponseEventsFastroam struct.
func (ResponseEventsFastroam) MarshalJSON ¶
func (r ResponseEventsFastroam) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseEventsFastroam. It customizes the JSON marshaling process for ResponseEventsFastroam objects.
func (ResponseEventsFastroam) String ¶ added in v0.4.23
func (r ResponseEventsFastroam) String() string
String implements the fmt.Stringer interface for ResponseEventsFastroam, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseEventsFastroam) UnmarshalJSON ¶
func (r *ResponseEventsFastroam) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseEventsFastroam. It customizes the JSON unmarshaling process for ResponseEventsFastroam objects.
type ResponseEventsNacClientSearch ¶
type ResponseEventsNacClientSearch struct {
End *int `json:"end,omitempty"`
Limit *int `json:"limit,omitempty"`
Next *string `json:"next,omitempty"`
Results []NacClientEvent `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseEventsNacClientSearch represents a ResponseEventsNacClientSearch struct.
func (ResponseEventsNacClientSearch) MarshalJSON ¶
func (r ResponseEventsNacClientSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseEventsNacClientSearch. It customizes the JSON marshaling process for ResponseEventsNacClientSearch objects.
func (ResponseEventsNacClientSearch) String ¶ added in v0.4.23
func (r ResponseEventsNacClientSearch) String() string
String implements the fmt.Stringer interface for ResponseEventsNacClientSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseEventsNacClientSearch) UnmarshalJSON ¶
func (r *ResponseEventsNacClientSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseEventsNacClientSearch. It customizes the JSON unmarshaling process for ResponseEventsNacClientSearch objects.
type ResponseEventsOrgsSearch ¶
type ResponseEventsOrgsSearch struct {
End *int `json:"end,omitempty"`
Limit *int `json:"limit,omitempty"`
Next *string `json:"next,omitempty"`
Results []OrgEvent `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseEventsOrgsSearch represents a ResponseEventsOrgsSearch struct.
func (ResponseEventsOrgsSearch) MarshalJSON ¶
func (r ResponseEventsOrgsSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseEventsOrgsSearch. It customizes the JSON marshaling process for ResponseEventsOrgsSearch objects.
func (ResponseEventsOrgsSearch) String ¶ added in v0.4.23
func (r ResponseEventsOrgsSearch) String() string
String implements the fmt.Stringer interface for ResponseEventsOrgsSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseEventsOrgsSearch) UnmarshalJSON ¶
func (r *ResponseEventsOrgsSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseEventsOrgsSearch. It customizes the JSON unmarshaling process for ResponseEventsOrgsSearch objects.
type ResponseEventsOtherDevicesSearch ¶
type ResponseEventsOtherDevicesSearch struct {
End *int `json:"end,omitempty"`
Limit *int `json:"limit,omitempty"`
Next *string `json:"next,omitempty"`
Results *EventOtherdevice `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseEventsOtherDevicesSearch represents a ResponseEventsOtherDevicesSearch struct.
func (ResponseEventsOtherDevicesSearch) MarshalJSON ¶
func (r ResponseEventsOtherDevicesSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseEventsOtherDevicesSearch. It customizes the JSON marshaling process for ResponseEventsOtherDevicesSearch objects.
func (ResponseEventsOtherDevicesSearch) String ¶ added in v0.4.23
func (r ResponseEventsOtherDevicesSearch) String() string
String implements the fmt.Stringer interface for ResponseEventsOtherDevicesSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseEventsOtherDevicesSearch) UnmarshalJSON ¶
func (r *ResponseEventsOtherDevicesSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseEventsOtherDevicesSearch. It customizes the JSON unmarshaling process for ResponseEventsOtherDevicesSearch objects.
type ResponseEventsPathSearch ¶
type ResponseEventsPathSearch struct {
End *int `json:"end,omitempty"`
Limit *int `json:"limit,omitempty"`
Next *string `json:"next,omitempty"`
Results []ServicePathEvent `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseEventsPathSearch represents a ResponseEventsPathSearch struct.
func (ResponseEventsPathSearch) MarshalJSON ¶
func (r ResponseEventsPathSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseEventsPathSearch. It customizes the JSON marshaling process for ResponseEventsPathSearch objects.
func (ResponseEventsPathSearch) String ¶ added in v0.4.23
func (r ResponseEventsPathSearch) String() string
String implements the fmt.Stringer interface for ResponseEventsPathSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseEventsPathSearch) UnmarshalJSON ¶
func (r *ResponseEventsPathSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseEventsPathSearch. It customizes the JSON unmarshaling process for ResponseEventsPathSearch objects.
type ResponseEventsRogueSearch ¶
type ResponseEventsRogueSearch struct {
End int `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []EventsRogue `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseEventsRogueSearch represents a ResponseEventsRogueSearch struct.
func (ResponseEventsRogueSearch) MarshalJSON ¶
func (r ResponseEventsRogueSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseEventsRogueSearch. It customizes the JSON marshaling process for ResponseEventsRogueSearch objects.
func (ResponseEventsRogueSearch) String ¶ added in v0.4.23
func (r ResponseEventsRogueSearch) String() string
String implements the fmt.Stringer interface for ResponseEventsRogueSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseEventsRogueSearch) UnmarshalJSON ¶
func (r *ResponseEventsRogueSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseEventsRogueSearch. It customizes the JSON unmarshaling process for ResponseEventsRogueSearch objects.
type ResponseEventsRrm ¶
type ResponseEventsRrm struct {
End int `json:"end"`
Limit int `json:"limit"`
// Link to query next set of results. value is null if no next page exists.
Next *string `json:"next,omitempty"`
Results []RrmEvent `json:"results"`
Start int `json:"start"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseEventsRrm represents a ResponseEventsRrm struct.
func (ResponseEventsRrm) MarshalJSON ¶
func (r ResponseEventsRrm) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseEventsRrm. It customizes the JSON marshaling process for ResponseEventsRrm objects.
func (ResponseEventsRrm) String ¶ added in v0.4.23
func (r ResponseEventsRrm) String() string
String implements the fmt.Stringer interface for ResponseEventsRrm, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseEventsRrm) UnmarshalJSON ¶
func (r *ResponseEventsRrm) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseEventsRrm. It customizes the JSON unmarshaling process for ResponseEventsRrm objects.
type ResponseEventsSearch ¶
type ResponseEventsSearch struct {
End int `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []EventsClient `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseEventsSearch represents a ResponseEventsSearch struct.
func (ResponseEventsSearch) MarshalJSON ¶
func (r ResponseEventsSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseEventsSearch. It customizes the JSON marshaling process for ResponseEventsSearch objects.
func (ResponseEventsSearch) String ¶ added in v0.4.23
func (r ResponseEventsSearch) String() string
String implements the fmt.Stringer interface for ResponseEventsSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseEventsSearch) UnmarshalJSON ¶
func (r *ResponseEventsSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseEventsSearch. It customizes the JSON unmarshaling process for ResponseEventsSearch objects.
type ResponseEventsSkyAtpSearch ¶
type ResponseEventsSkyAtpSearch struct {
End int `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []EventsSkyatp `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseEventsSkyAtpSearch represents a ResponseEventsSkyAtpSearch struct.
func (ResponseEventsSkyAtpSearch) MarshalJSON ¶
func (r ResponseEventsSkyAtpSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseEventsSkyAtpSearch. It customizes the JSON marshaling process for ResponseEventsSkyAtpSearch objects.
func (ResponseEventsSkyAtpSearch) String ¶ added in v0.4.23
func (r ResponseEventsSkyAtpSearch) String() string
String implements the fmt.Stringer interface for ResponseEventsSkyAtpSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseEventsSkyAtpSearch) UnmarshalJSON ¶
func (r *ResponseEventsSkyAtpSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseEventsSkyAtpSearch. It customizes the JSON unmarshaling process for ResponseEventsSkyAtpSearch objects.
type ResponseGuestSearch ¶
type ResponseGuestSearch struct {
End int `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []Guest `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseGuestSearch represents a ResponseGuestSearch struct.
func (ResponseGuestSearch) MarshalJSON ¶
func (r ResponseGuestSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseGuestSearch. It customizes the JSON marshaling process for ResponseGuestSearch objects.
func (ResponseGuestSearch) String ¶ added in v0.4.23
func (r ResponseGuestSearch) String() string
String implements the fmt.Stringer interface for ResponseGuestSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseGuestSearch) UnmarshalJSON ¶
func (r *ResponseGuestSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseGuestSearch. It customizes the JSON unmarshaling process for ResponseGuestSearch objects.
type ResponseInsightRogue ¶
type ResponseInsightRogue struct {
End int `json:"end"`
Limit int `json:"limit"`
// Link to next set of results. If more results aren’t present, next is null.
Next *string `json:"next,omitempty"`
Results []InsightRogueAp `json:"results"`
Start int `json:"start"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseInsightRogue represents a ResponseInsightRogue struct.
func (ResponseInsightRogue) MarshalJSON ¶
func (r ResponseInsightRogue) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseInsightRogue. It customizes the JSON marshaling process for ResponseInsightRogue objects.
func (ResponseInsightRogue) String ¶ added in v0.4.23
func (r ResponseInsightRogue) String() string
String implements the fmt.Stringer interface for ResponseInsightRogue, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseInsightRogue) UnmarshalJSON ¶
func (r *ResponseInsightRogue) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseInsightRogue. It customizes the JSON unmarshaling process for ResponseInsightRogue objects.
type ResponseInsightRogueClient ¶
type ResponseInsightRogueClient struct {
End int `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []InsightRogueClient `json:"results"`
Start int `json:"start"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseInsightRogueClient represents a ResponseInsightRogueClient struct.
func (ResponseInsightRogueClient) MarshalJSON ¶
func (r ResponseInsightRogueClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseInsightRogueClient. It customizes the JSON marshaling process for ResponseInsightRogueClient objects.
func (ResponseInsightRogueClient) String ¶ added in v0.4.23
func (r ResponseInsightRogueClient) String() string
String implements the fmt.Stringer interface for ResponseInsightRogueClient, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseInsightRogueClient) UnmarshalJSON ¶
func (r *ResponseInsightRogueClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseInsightRogueClient. It customizes the JSON unmarshaling process for ResponseInsightRogueClient objects.
type ResponseInventory ¶
type ResponseInventory struct {
Added []string `json:"added,omitempty"`
Duplicated []string `json:"duplicated,omitempty"`
Error []string `json:"error,omitempty"`
InventoryAdded []ResponseInventoryInventoryAddedItems `json:"inventory_added,omitempty"`
InventoryDuplicated []ResponseInventoryInventoryDuplicatedItems `json:"inventory_duplicated,omitempty"`
Reason []string `json:"reason,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseInventory represents a ResponseInventory struct.
func (ResponseInventory) MarshalJSON ¶
func (r ResponseInventory) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseInventory. It customizes the JSON marshaling process for ResponseInventory objects.
func (ResponseInventory) String ¶ added in v0.4.23
func (r ResponseInventory) String() string
String implements the fmt.Stringer interface for ResponseInventory, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseInventory) UnmarshalJSON ¶
func (r *ResponseInventory) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseInventory. It customizes the JSON unmarshaling process for ResponseInventory objects.
type ResponseInventoryInventoryAddedItems ¶
type ResponseInventoryInventoryAddedItems struct {
Mac string `json:"mac"`
Magic string `json:"magic"`
Model string `json:"model"`
Serial string `json:"serial"`
Type string `json:"type"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseInventoryInventoryAddedItems represents a ResponseInventoryInventoryAddedItems struct.
func (ResponseInventoryInventoryAddedItems) MarshalJSON ¶
func (r ResponseInventoryInventoryAddedItems) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseInventoryInventoryAddedItems. It customizes the JSON marshaling process for ResponseInventoryInventoryAddedItems objects.
func (ResponseInventoryInventoryAddedItems) String ¶ added in v0.4.23
func (r ResponseInventoryInventoryAddedItems) String() string
String implements the fmt.Stringer interface for ResponseInventoryInventoryAddedItems, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseInventoryInventoryAddedItems) UnmarshalJSON ¶
func (r *ResponseInventoryInventoryAddedItems) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseInventoryInventoryAddedItems. It customizes the JSON unmarshaling process for ResponseInventoryInventoryAddedItems objects.
type ResponseInventoryInventoryDuplicatedItems ¶
type ResponseInventoryInventoryDuplicatedItems struct {
Mac string `json:"mac"`
Magic string `json:"magic"`
Model string `json:"model"`
Serial string `json:"serial"`
Type string `json:"type"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseInventoryInventoryDuplicatedItems represents a ResponseInventoryInventoryDuplicatedItems struct.
func (ResponseInventoryInventoryDuplicatedItems) MarshalJSON ¶
func (r ResponseInventoryInventoryDuplicatedItems) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseInventoryInventoryDuplicatedItems. It customizes the JSON marshaling process for ResponseInventoryInventoryDuplicatedItems objects.
func (ResponseInventoryInventoryDuplicatedItems) String ¶ added in v0.4.23
func (r ResponseInventoryInventoryDuplicatedItems) String() string
String implements the fmt.Stringer interface for ResponseInventoryInventoryDuplicatedItems, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseInventoryInventoryDuplicatedItems) UnmarshalJSON ¶
func (r *ResponseInventoryInventoryDuplicatedItems) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseInventoryInventoryDuplicatedItems. It customizes the JSON unmarshaling process for ResponseInventoryInventoryDuplicatedItems objects.
type ResponseLocationCoverage ¶
type ResponseLocationCoverage struct {
// List of [x, y, mean]s, x/y are in meters (UI would need to use map.ppm to calculate the pixel location from top-left).
BeamsMeans [][]float64 `json:"beams_means"`
End int `json:"end"`
// Size of grid, in meter
Gridsize float64 `json:"gridsize"`
// List of names annotating the fields in results
ResultDef []string `json:"result_def"`
// List of results, see result_def.
Results [][]float64 `json:"results"`
Start int `json:"start"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseLocationCoverage represents a ResponseLocationCoverage struct.
func (ResponseLocationCoverage) MarshalJSON ¶
func (r ResponseLocationCoverage) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseLocationCoverage. It customizes the JSON marshaling process for ResponseLocationCoverage objects.
func (ResponseLocationCoverage) String ¶ added in v0.4.23
func (r ResponseLocationCoverage) String() string
String implements the fmt.Stringer interface for ResponseLocationCoverage, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseLocationCoverage) UnmarshalJSON ¶
func (r *ResponseLocationCoverage) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseLocationCoverage. It customizes the JSON unmarshaling process for ResponseLocationCoverage objects.
type ResponseLogSearch ¶
type ResponseLogSearch struct {
End int `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []LogEvent `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseLogSearch represents a ResponseLogSearch struct.
func (ResponseLogSearch) MarshalJSON ¶
func (r ResponseLogSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseLogSearch. It customizes the JSON marshaling process for ResponseLogSearch objects.
func (ResponseLogSearch) String ¶ added in v0.4.23
func (r ResponseLogSearch) String() string
String implements the fmt.Stringer interface for ResponseLogSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseLogSearch) UnmarshalJSON ¶
func (r *ResponseLogSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseLogSearch. It customizes the JSON unmarshaling process for ResponseLogSearch objects.
type ResponseLoginLookup ¶
type ResponseLoginLookup struct {
SsoUrl *string `json:"sso_url,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseLoginLookup represents a ResponseLoginLookup struct.
func (ResponseLoginLookup) MarshalJSON ¶
func (r ResponseLoginLookup) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseLoginLookup. It customizes the JSON marshaling process for ResponseLoginLookup objects.
func (ResponseLoginLookup) String ¶ added in v0.4.23
func (r ResponseLoginLookup) String() string
String implements the fmt.Stringer interface for ResponseLoginLookup, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseLoginLookup) UnmarshalJSON ¶
func (r *ResponseLoginLookup) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseLoginLookup. It customizes the JSON unmarshaling process for ResponseLoginLookup objects.
type ResponseLoginOauthUrl ¶
type ResponseLoginOauthUrl struct {
AuthorizationUrl string `json:"authorization_url"`
ClientId string `json:"client_id"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseLoginOauthUrl represents a ResponseLoginOauthUrl struct.
func (ResponseLoginOauthUrl) MarshalJSON ¶
func (r ResponseLoginOauthUrl) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseLoginOauthUrl. It customizes the JSON marshaling process for ResponseLoginOauthUrl objects.
func (ResponseLoginOauthUrl) String ¶ added in v0.4.23
func (r ResponseLoginOauthUrl) String() string
String implements the fmt.Stringer interface for ResponseLoginOauthUrl, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseLoginOauthUrl) UnmarshalJSON ¶
func (r *ResponseLoginOauthUrl) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseLoginOauthUrl. It customizes the JSON unmarshaling process for ResponseLoginOauthUrl objects.
type ResponseLoginSuccess ¶
type ResponseLoginSuccess struct {
Email *string `json:"email,omitempty"`
TwoFactorPassed *bool `json:"two_factor_passed,omitempty"`
TwoFactorRequired *bool `json:"two_factor_required,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseLoginSuccess represents a ResponseLoginSuccess struct.
func (ResponseLoginSuccess) MarshalJSON ¶
func (r ResponseLoginSuccess) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseLoginSuccess. It customizes the JSON marshaling process for ResponseLoginSuccess objects.
func (ResponseLoginSuccess) String ¶ added in v0.4.23
func (r ResponseLoginSuccess) String() string
String implements the fmt.Stringer interface for ResponseLoginSuccess, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseLoginSuccess) UnmarshalJSON ¶
func (r *ResponseLoginSuccess) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseLoginSuccess. It customizes the JSON unmarshaling process for ResponseLoginSuccess objects.
type ResponseLogout ¶
type ResponseLogout struct {
// If configured in SSO as custom_logout_url
ForwardUrl *string `json:"forward_url,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseLogout represents a ResponseLogout struct.
func (ResponseLogout) MarshalJSON ¶
func (r ResponseLogout) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseLogout. It customizes the JSON marshaling process for ResponseLogout objects.
func (ResponseLogout) String ¶ added in v0.4.23
func (r ResponseLogout) String() string
String implements the fmt.Stringer interface for ResponseLogout, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseLogout) UnmarshalJSON ¶
func (r *ResponseLogout) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseLogout. It customizes the JSON unmarshaling process for ResponseLogout objects.
type ResponseMapImport ¶
type ResponseMapImport struct {
Aps []ResponseMapImportAp `json:"aps"`
Floorplans []ResponseMapImportFloorplan `json:"floorplans"`
ForSite *bool `json:"for_site,omitempty"`
SiteId uuid.UUID `json:"site_id"`
Summary ResponseMapImportSummary `json:"summary"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseMapImport represents a ResponseMapImport struct.
func (ResponseMapImport) MarshalJSON ¶
func (r ResponseMapImport) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseMapImport. It customizes the JSON marshaling process for ResponseMapImport objects.
func (ResponseMapImport) String ¶ added in v0.4.23
func (r ResponseMapImport) String() string
String implements the fmt.Stringer interface for ResponseMapImport, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseMapImport) UnmarshalJSON ¶
func (r *ResponseMapImport) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseMapImport. It customizes the JSON unmarshaling process for ResponseMapImport objects.
type ResponseMapImportAp ¶
type ResponseMapImportAp struct {
// enum: `assigned-named-placed`, `assigned-placed`, `ignored`, `named-placed`, `placed`
Action ResponseMapImportApActionEnum `json:"action"`
FloorplanId uuid.UUID `json:"floorplan_id"`
Height *float64 `json:"height,omitempty"`
Mac string `json:"mac"`
MapId uuid.UUID `json:"map_id"`
Orientation int `json:"orientation"`
Reason *string `json:"reason,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseMapImportAp represents a ResponseMapImportAp struct.
func (ResponseMapImportAp) MarshalJSON ¶
func (r ResponseMapImportAp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseMapImportAp. It customizes the JSON marshaling process for ResponseMapImportAp objects.
func (ResponseMapImportAp) String ¶ added in v0.4.23
func (r ResponseMapImportAp) String() string
String implements the fmt.Stringer interface for ResponseMapImportAp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseMapImportAp) UnmarshalJSON ¶
func (r *ResponseMapImportAp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseMapImportAp. It customizes the JSON unmarshaling process for ResponseMapImportAp objects.
type ResponseMapImportApActionEnum ¶
type ResponseMapImportApActionEnum string
ResponseMapImportApActionEnum is a string enum. enum: `assigned-named-placed`, `assigned-placed`, `ignored`, `named-placed`, `placed`
const ( ResponseMapImportApActionEnum_ASSIGNEDNAMEDPLACED ResponseMapImportApActionEnum = "assigned-named-placed" ResponseMapImportApActionEnum_ASSIGNEDPLACED ResponseMapImportApActionEnum = "assigned-placed" ResponseMapImportApActionEnum_IGNORED ResponseMapImportApActionEnum = "ignored" ResponseMapImportApActionEnum_NAMEDPLACED ResponseMapImportApActionEnum = "named-placed" ResponseMapImportApActionEnum_PLACED ResponseMapImportApActionEnum = "placed" )
type ResponseMapImportFloorplan ¶
type ResponseMapImportFloorplan struct {
Action string `json:"action"`
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
MapId uuid.UUID `json:"map_id"`
Name string `json:"name"`
Reason *string `json:"reason,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseMapImportFloorplan represents a ResponseMapImportFloorplan struct.
func (ResponseMapImportFloorplan) MarshalJSON ¶
func (r ResponseMapImportFloorplan) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseMapImportFloorplan. It customizes the JSON marshaling process for ResponseMapImportFloorplan objects.
func (ResponseMapImportFloorplan) String ¶ added in v0.4.23
func (r ResponseMapImportFloorplan) String() string
String implements the fmt.Stringer interface for ResponseMapImportFloorplan, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseMapImportFloorplan) UnmarshalJSON ¶
func (r *ResponseMapImportFloorplan) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseMapImportFloorplan. It customizes the JSON unmarshaling process for ResponseMapImportFloorplan objects.
type ResponseMapImportSummary ¶
type ResponseMapImportSummary struct {
NumApAssigned int `json:"num_ap_assigned"`
NumInvAssigned int `json:"num_inv_assigned"`
NumMapAssigned int `json:"num_map_assigned"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseMapImportSummary represents a ResponseMapImportSummary struct.
func (ResponseMapImportSummary) MarshalJSON ¶
func (r ResponseMapImportSummary) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseMapImportSummary. It customizes the JSON marshaling process for ResponseMapImportSummary objects.
func (ResponseMapImportSummary) String ¶ added in v0.4.23
func (r ResponseMapImportSummary) String() string
String implements the fmt.Stringer interface for ResponseMapImportSummary, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseMapImportSummary) UnmarshalJSON ¶
func (r *ResponseMapImportSummary) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseMapImportSummary. It customizes the JSON unmarshaling process for ResponseMapImportSummary objects.
type ResponseMobileVerifySecret ¶
type ResponseMobileVerifySecret struct {
Name string `json:"name"`
OrgId uuid.UUID `json:"org_id"`
Secret string `json:"secret"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseMobileVerifySecret represents a ResponseMobileVerifySecret struct.
func (ResponseMobileVerifySecret) MarshalJSON ¶
func (r ResponseMobileVerifySecret) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseMobileVerifySecret. It customizes the JSON marshaling process for ResponseMobileVerifySecret objects.
func (ResponseMobileVerifySecret) String ¶ added in v0.4.23
func (r ResponseMobileVerifySecret) String() string
String implements the fmt.Stringer interface for ResponseMobileVerifySecret, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseMobileVerifySecret) UnmarshalJSON ¶
func (r *ResponseMobileVerifySecret) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseMobileVerifySecret. It customizes the JSON unmarshaling process for ResponseMobileVerifySecret objects.
type ResponseMspInventoryDevice ¶
type ResponseMspInventoryDevice struct {
ForSite *bool `json:"for_site,omitempty"`
Mac string `json:"mac"`
Model string `json:"model"`
OrgId uuid.UUID `json:"org_id"`
Serial string `json:"serial"`
SiteId uuid.UUID `json:"site_id"`
Type string `json:"type"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseMspInventoryDevice represents a ResponseMspInventoryDevice struct.
func (ResponseMspInventoryDevice) MarshalJSON ¶
func (r ResponseMspInventoryDevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseMspInventoryDevice. It customizes the JSON marshaling process for ResponseMspInventoryDevice objects.
func (ResponseMspInventoryDevice) String ¶ added in v0.4.23
func (r ResponseMspInventoryDevice) String() string
String implements the fmt.Stringer interface for ResponseMspInventoryDevice, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseMspInventoryDevice) UnmarshalJSON ¶
func (r *ResponseMspInventoryDevice) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseMspInventoryDevice. It customizes the JSON unmarshaling process for ResponseMspInventoryDevice objects.
type ResponseMxedgeEventsSearch ¶
type ResponseMxedgeEventsSearch struct {
End *int `json:"end,omitempty"`
Limit *int `json:"limit,omitempty"`
Next *string `json:"next,omitempty"`
Page *int `json:"page,omitempty"`
Results []MxedgeEvent `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseMxedgeEventsSearch represents a ResponseMxedgeEventsSearch struct.
func (ResponseMxedgeEventsSearch) MarshalJSON ¶
func (r ResponseMxedgeEventsSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseMxedgeEventsSearch. It customizes the JSON marshaling process for ResponseMxedgeEventsSearch objects.
func (ResponseMxedgeEventsSearch) String ¶ added in v0.4.23
func (r ResponseMxedgeEventsSearch) String() string
String implements the fmt.Stringer interface for ResponseMxedgeEventsSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseMxedgeEventsSearch) UnmarshalJSON ¶
func (r *ResponseMxedgeEventsSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseMxedgeEventsSearch. It customizes the JSON unmarshaling process for ResponseMxedgeEventsSearch objects.
type ResponseMxedgeSearch ¶
type ResponseMxedgeSearch struct {
End *int `json:"end,omitempty"`
Limit *int `json:"limit,omitempty"`
Next *string `json:"next,omitempty"`
Results []SearchMxedge `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseMxedgeSearch represents a ResponseMxedgeSearch struct.
func (ResponseMxedgeSearch) MarshalJSON ¶
func (r ResponseMxedgeSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseMxedgeSearch. It customizes the JSON marshaling process for ResponseMxedgeSearch objects.
func (ResponseMxedgeSearch) String ¶ added in v0.4.23
func (r ResponseMxedgeSearch) String() string
String implements the fmt.Stringer interface for ResponseMxedgeSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseMxedgeSearch) UnmarshalJSON ¶
func (r *ResponseMxedgeSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseMxedgeSearch. It customizes the JSON unmarshaling process for ResponseMxedgeSearch objects.
type ResponseMxedgeUpgrade ¶
type ResponseMxedgeUpgrade struct {
Channel string `json:"channel"`
Counts MxedgeUpgradeResponseCounts `json:"counts"`
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
Status string `json:"status"`
Strategy string `json:"strategy"`
Versions interface{} `json:"versions"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseMxedgeUpgrade represents a ResponseMxedgeUpgrade struct.
func (ResponseMxedgeUpgrade) MarshalJSON ¶
func (r ResponseMxedgeUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseMxedgeUpgrade. It customizes the JSON marshaling process for ResponseMxedgeUpgrade objects.
func (ResponseMxedgeUpgrade) String ¶ added in v0.4.23
func (r ResponseMxedgeUpgrade) String() string
String implements the fmt.Stringer interface for ResponseMxedgeUpgrade, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseMxedgeUpgrade) UnmarshalJSON ¶
func (r *ResponseMxedgeUpgrade) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseMxedgeUpgrade. It customizes the JSON unmarshaling process for ResponseMxedgeUpgrade objects.
type ResponseMxtunnelsPreemptAps ¶
type ResponseMxtunnelsPreemptAps struct {
PreemptedAps []string `json:"preempted_aps"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseMxtunnelsPreemptAps represents a ResponseMxtunnelsPreemptAps struct.
func (ResponseMxtunnelsPreemptAps) MarshalJSON ¶
func (r ResponseMxtunnelsPreemptAps) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseMxtunnelsPreemptAps. It customizes the JSON marshaling process for ResponseMxtunnelsPreemptAps objects.
func (ResponseMxtunnelsPreemptAps) String ¶ added in v0.4.23
func (r ResponseMxtunnelsPreemptAps) String() string
String implements the fmt.Stringer interface for ResponseMxtunnelsPreemptAps, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseMxtunnelsPreemptAps) UnmarshalJSON ¶
func (r *ResponseMxtunnelsPreemptAps) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseMxtunnelsPreemptAps. It customizes the JSON unmarshaling process for ResponseMxtunnelsPreemptAps objects.
type ResponseNacCrlFiles ¶
type ResponseNacCrlFiles struct {
Results []NacCrlFile `json:"results,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseNacCrlFiles represents a ResponseNacCrlFiles struct.
func (ResponseNacCrlFiles) MarshalJSON ¶
func (r ResponseNacCrlFiles) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseNacCrlFiles. It customizes the JSON marshaling process for ResponseNacCrlFiles objects.
func (ResponseNacCrlFiles) String ¶ added in v0.4.23
func (r ResponseNacCrlFiles) String() string
String implements the fmt.Stringer interface for ResponseNacCrlFiles, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseNacCrlFiles) UnmarshalJSON ¶
func (r *ResponseNacCrlFiles) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseNacCrlFiles. It customizes the JSON unmarshaling process for ResponseNacCrlFiles objects.
type ResponseOrgDevices ¶
type ResponseOrgDevices struct {
Results []OrgDevice `json:"results"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseOrgDevices represents a ResponseOrgDevices struct.
func (ResponseOrgDevices) MarshalJSON ¶
func (r ResponseOrgDevices) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseOrgDevices. It customizes the JSON marshaling process for ResponseOrgDevices objects.
func (ResponseOrgDevices) String ¶ added in v0.4.23
func (r ResponseOrgDevices) String() string
String implements the fmt.Stringer interface for ResponseOrgDevices, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseOrgDevices) UnmarshalJSON ¶
func (r *ResponseOrgDevices) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseOrgDevices. It customizes the JSON unmarshaling process for ResponseOrgDevices objects.
type ResponseOrgDevicesSummary ¶ added in v0.4.74
type ResponseOrgDevicesSummary struct {
NumAps *int `json:"num_aps,omitempty"`
NumGateways *int `json:"num_gateways,omitempty"`
NumMxedges *int `json:"num_mxedges,omitempty"`
NumSwitches *int `json:"num_switches,omitempty"`
NumUnassignedAps *int `json:"num_unassigned_aps,omitempty"`
NumUnassignedGateways *int `json:"num_unassigned_gateways,omitempty"`
NumUnassignedSwitches *int `json:"num_unassigned_switches,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseOrgDevicesSummary represents a ResponseOrgDevicesSummary struct.
func (ResponseOrgDevicesSummary) MarshalJSON ¶ added in v0.4.74
func (r ResponseOrgDevicesSummary) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseOrgDevicesSummary. It customizes the JSON marshaling process for ResponseOrgDevicesSummary objects.
func (ResponseOrgDevicesSummary) String ¶ added in v0.4.74
func (r ResponseOrgDevicesSummary) String() string
String implements the fmt.Stringer interface for ResponseOrgDevicesSummary, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseOrgDevicesSummary) UnmarshalJSON ¶ added in v0.4.74
func (r *ResponseOrgDevicesSummary) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseOrgDevicesSummary. It customizes the JSON unmarshaling process for ResponseOrgDevicesSummary objects.
type ResponseOrgInventoryChange ¶
type ResponseOrgInventoryChange struct {
Error []string `json:"error"`
// enum: `assign`, `delete`, `downgrade_to_jsi`, `unassign`, `upgrade_to_mist`
Op ResponseOrgInventoryChangeOpEnum `json:"op"`
Reason []string `json:"reason"`
Success []string `json:"success"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseOrgInventoryChange represents a ResponseOrgInventoryChange struct.
func (ResponseOrgInventoryChange) MarshalJSON ¶
func (r ResponseOrgInventoryChange) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseOrgInventoryChange. It customizes the JSON marshaling process for ResponseOrgInventoryChange objects.
func (ResponseOrgInventoryChange) String ¶ added in v0.4.23
func (r ResponseOrgInventoryChange) String() string
String implements the fmt.Stringer interface for ResponseOrgInventoryChange, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseOrgInventoryChange) UnmarshalJSON ¶
func (r *ResponseOrgInventoryChange) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseOrgInventoryChange. It customizes the JSON unmarshaling process for ResponseOrgInventoryChange objects.
type ResponseOrgInventoryChangeOpEnum ¶
type ResponseOrgInventoryChangeOpEnum string
ResponseOrgInventoryChangeOpEnum is a string enum. enum: `assign`, `delete`, `downgrade_to_jsi`, `unassign`, `upgrade_to_mist`
const ( ResponseOrgInventoryChangeOpEnum_ASSIGN ResponseOrgInventoryChangeOpEnum = "assign" ResponseOrgInventoryChangeOpEnum_DELETE ResponseOrgInventoryChangeOpEnum = "delete" ResponseOrgInventoryChangeOpEnum_DOWNGRADETOJSI ResponseOrgInventoryChangeOpEnum = "downgrade_to_jsi" ResponseOrgInventoryChangeOpEnum_UNASSIGN ResponseOrgInventoryChangeOpEnum = "unassign" ResponseOrgInventoryChangeOpEnum_UPGRADETOMIST ResponseOrgInventoryChangeOpEnum = "upgrade_to_mist" )
type ResponseOrgSearch ¶
type ResponseOrgSearch struct {
End float64 `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []ResponseOrgSearchItem `json:"results"`
Start float64 `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseOrgSearch represents a ResponseOrgSearch struct.
func (ResponseOrgSearch) MarshalJSON ¶
func (r ResponseOrgSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseOrgSearch. It customizes the JSON marshaling process for ResponseOrgSearch objects.
func (ResponseOrgSearch) String ¶ added in v0.4.23
func (r ResponseOrgSearch) String() string
String implements the fmt.Stringer interface for ResponseOrgSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseOrgSearch) UnmarshalJSON ¶
func (r *ResponseOrgSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseOrgSearch. It customizes the JSON unmarshaling process for ResponseOrgSearch objects.
type ResponseOrgSearchItem ¶
type ResponseOrgSearchItem struct {
MspId *uuid.UUID `json:"msp_id,omitempty"`
// org name
Name *string `json:"name,omitempty"`
NumAps *int `json:"num_aps,omitempty"`
NumGateways *int `json:"num_gateways,omitempty"`
NumSites *int `json:"num_sites,omitempty"`
NumSwitches *int `json:"num_switches,omitempty"`
NumUnassignedAps *int `json:"num_unassigned_aps,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
SubAnaEntitled *int `json:"sub_ana_entitled,omitempty"`
SubAnaRequired *int `json:"sub_ana_required,omitempty"`
SubAstEntitled *int `json:"sub_ast_entitled,omitempty"`
SubAstRequired *int `json:"sub_ast_required,omitempty"`
SubEngEntitled *int `json:"sub_eng_entitled,omitempty"`
SubEngRequired *int `json:"sub_eng_required,omitempty"`
SubEx12Required *int `json:"sub_ex12_required,omitempty"`
// If this org has sufficient subscription
SubInsufficient *bool `json:"sub_insufficient,omitempty"`
SubManEntitled *int `json:"sub_man_entitled,omitempty"`
SubManRequired *int `json:"sub_man_required,omitempty"`
SubMeEntitled *int `json:"sub_me_entitled,omitempty"`
SubVnaEntitled *int `json:"sub_vna_entitled,omitempty"`
SubVnaRequired *int `json:"sub_vna_required,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
// If this org is under trial period
TrialEnabled *bool `json:"trial_enabled,omitempty"`
// a list of types that enabled by usage
UsageTypes []string `json:"usage_types,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseOrgSearchItem represents a ResponseOrgSearchItem struct.
func (ResponseOrgSearchItem) MarshalJSON ¶
func (r ResponseOrgSearchItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseOrgSearchItem. It customizes the JSON marshaling process for ResponseOrgSearchItem objects.
func (ResponseOrgSearchItem) String ¶ added in v0.4.23
func (r ResponseOrgSearchItem) String() string
String implements the fmt.Stringer interface for ResponseOrgSearchItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseOrgSearchItem) UnmarshalJSON ¶
func (r *ResponseOrgSearchItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseOrgSearchItem. It customizes the JSON unmarshaling process for ResponseOrgSearchItem objects.
type ResponseOrgSiteSle ¶
type ResponseOrgSiteSle struct {
// contains filtered or unexported fields
}
ResponseOrgSiteSle represents a ResponseOrgSiteSle struct.
func (*ResponseOrgSiteSle) AsOrgSiteSleWifi ¶ added in v0.3.0
func (r *ResponseOrgSiteSle) AsOrgSiteSleWifi() ( *OrgSiteSleWifi, bool)
func (*ResponseOrgSiteSle) AsOrgSiteWanWifi ¶ added in v0.3.0
func (r *ResponseOrgSiteSle) AsOrgSiteWanWifi() ( *OrgSiteWanWifi, bool)
func (*ResponseOrgSiteSle) AsOrgSiteWiredWifi ¶ added in v0.3.0
func (r *ResponseOrgSiteSle) AsOrgSiteWiredWifi() ( *OrgSiteWiredWifi, bool)
func (ResponseOrgSiteSle) MarshalJSON ¶
func (r ResponseOrgSiteSle) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseOrgSiteSle. It customizes the JSON marshaling process for ResponseOrgSiteSle objects.
func (ResponseOrgSiteSle) String ¶ added in v0.3.0
func (r ResponseOrgSiteSle) String() string
String implements the fmt.Stringer interface for ResponseOrgSiteSle, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseOrgSiteSle) UnmarshalJSON ¶
func (r *ResponseOrgSiteSle) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseOrgSiteSle. It customizes the JSON unmarshaling process for ResponseOrgSiteSle objects.
type ResponseOrgSuppressAlarm ¶
type ResponseOrgSuppressAlarm struct {
Results []ResponseOrgSuppressAlarmItem `json:"results,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseOrgSuppressAlarm represents a ResponseOrgSuppressAlarm struct.
func (ResponseOrgSuppressAlarm) MarshalJSON ¶
func (r ResponseOrgSuppressAlarm) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseOrgSuppressAlarm. It customizes the JSON marshaling process for ResponseOrgSuppressAlarm objects.
func (ResponseOrgSuppressAlarm) String ¶ added in v0.4.23
func (r ResponseOrgSuppressAlarm) String() string
String implements the fmt.Stringer interface for ResponseOrgSuppressAlarm, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseOrgSuppressAlarm) UnmarshalJSON ¶
func (r *ResponseOrgSuppressAlarm) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseOrgSuppressAlarm. It customizes the JSON unmarshaling process for ResponseOrgSuppressAlarm objects.
type ResponseOrgSuppressAlarmItem ¶
type ResponseOrgSuppressAlarmItem struct {
// Duration, in seconds. Maximum duration is 86400 * 14 (14 days). 0 is to un-suppress alarms.
Duration *int `json:"duration,omitempty"`
ExpireTime *int `json:"expire_time,omitempty"`
ScheduledTime *int `json:"scheduled_time,omitempty"`
// level of scope. enum: `org`, `site`
Scope *SuppressedAlarmScopeEnum `json:"scope,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseOrgSuppressAlarmItem represents a ResponseOrgSuppressAlarmItem struct.
func (ResponseOrgSuppressAlarmItem) MarshalJSON ¶
func (r ResponseOrgSuppressAlarmItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseOrgSuppressAlarmItem. It customizes the JSON marshaling process for ResponseOrgSuppressAlarmItem objects.
func (ResponseOrgSuppressAlarmItem) String ¶ added in v0.4.23
func (r ResponseOrgSuppressAlarmItem) String() string
String implements the fmt.Stringer interface for ResponseOrgSuppressAlarmItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseOrgSuppressAlarmItem) UnmarshalJSON ¶
func (r *ResponseOrgSuppressAlarmItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseOrgSuppressAlarmItem. It customizes the JSON unmarshaling process for ResponseOrgSuppressAlarmItem objects.
type ResponseOrgSystemEventsSearch ¶ added in v0.4.74
type ResponseOrgSystemEventsSearch struct {
End int `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []OrgSystemEvent `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseOrgSystemEventsSearch represents a ResponseOrgSystemEventsSearch struct.
func (ResponseOrgSystemEventsSearch) MarshalJSON ¶ added in v0.4.74
func (r ResponseOrgSystemEventsSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseOrgSystemEventsSearch. It customizes the JSON marshaling process for ResponseOrgSystemEventsSearch objects.
func (ResponseOrgSystemEventsSearch) String ¶ added in v0.4.74
func (r ResponseOrgSystemEventsSearch) String() string
String implements the fmt.Stringer interface for ResponseOrgSystemEventsSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseOrgSystemEventsSearch) UnmarshalJSON ¶ added in v0.4.74
func (r *ResponseOrgSystemEventsSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseOrgSystemEventsSearch. It customizes the JSON unmarshaling process for ResponseOrgSystemEventsSearch objects.
type ResponsePastSpectrumAnalysis ¶ added in v0.4.80
type ResponsePastSpectrumAnalysis struct {
// End time of the spectrum analysis in epoch seconds
End *int `json:"end,omitempty"`
// Limit of the number of results returned
Limit *int `json:"limit,omitempty"`
// Page number of the results returned
Page *int `json:"page,omitempty"`
Results []ResponsePastSpectrumAnalysisResult `json:"results,omitempty"`
// Start time of the spectrum analysis in epoch seconds
Start *int `json:"start,omitempty"`
// Total number of results available for the given time range
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponsePastSpectrumAnalysis represents a ResponsePastSpectrumAnalysis struct.
func (ResponsePastSpectrumAnalysis) MarshalJSON ¶ added in v0.4.80
func (r ResponsePastSpectrumAnalysis) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponsePastSpectrumAnalysis. It customizes the JSON marshaling process for ResponsePastSpectrumAnalysis objects.
func (ResponsePastSpectrumAnalysis) String ¶ added in v0.4.80
func (r ResponsePastSpectrumAnalysis) String() string
String implements the fmt.Stringer interface for ResponsePastSpectrumAnalysis, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponsePastSpectrumAnalysis) UnmarshalJSON ¶ added in v0.4.80
func (r *ResponsePastSpectrumAnalysis) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponsePastSpectrumAnalysis. It customizes the JSON unmarshaling process for ResponsePastSpectrumAnalysis objects.
type ResponsePastSpectrumAnalysisChannelUsage ¶ added in v0.4.80
type ResponsePastSpectrumAnalysisChannelUsage struct {
// Channel number
Channel *int `json:"channel,omitempty"`
// Noise level in dBm
Noise *float64 `json:"noise,omitempty"`
// Percentage of channel usage by non-WiFi signals in the range [0, 1]
NonWifi *float64 `json:"non_wifi,omitempty"`
// Percentage of channel usage by WiFi in the range [0, 1]
Wifi *float64 `json:"wifi,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponsePastSpectrumAnalysisChannelUsage represents a ResponsePastSpectrumAnalysisChannelUsage struct. Channel usage data for a specific channel
func (ResponsePastSpectrumAnalysisChannelUsage) MarshalJSON ¶ added in v0.4.80
func (r ResponsePastSpectrumAnalysisChannelUsage) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponsePastSpectrumAnalysisChannelUsage. It customizes the JSON marshaling process for ResponsePastSpectrumAnalysisChannelUsage objects.
func (ResponsePastSpectrumAnalysisChannelUsage) String ¶ added in v0.4.80
func (r ResponsePastSpectrumAnalysisChannelUsage) String() string
String implements the fmt.Stringer interface for ResponsePastSpectrumAnalysisChannelUsage, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponsePastSpectrumAnalysisChannelUsage) UnmarshalJSON ¶ added in v0.4.80
func (r *ResponsePastSpectrumAnalysisChannelUsage) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponsePastSpectrumAnalysisChannelUsage. It customizes the JSON unmarshaling process for ResponsePastSpectrumAnalysisChannelUsage objects.
type ResponsePastSpectrumAnalysisFftSample ¶ added in v0.4.80
type ResponsePastSpectrumAnalysisFftSample struct {
// Frequency in MHz
Frequency *float64 `json:"frequency,omitempty"`
// RSSI in dBm
Rssi *float64 `json:"rssi,omitempty"`
// RSSI in dBm
Signal7 *float64 `json:"signal7,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponsePastSpectrumAnalysisFftSample represents a ResponsePastSpectrumAnalysisFftSample struct. FFT sample data for a specific frequency
func (ResponsePastSpectrumAnalysisFftSample) MarshalJSON ¶ added in v0.4.80
func (r ResponsePastSpectrumAnalysisFftSample) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponsePastSpectrumAnalysisFftSample. It customizes the JSON marshaling process for ResponsePastSpectrumAnalysisFftSample objects.
func (ResponsePastSpectrumAnalysisFftSample) String ¶ added in v0.4.80
func (r ResponsePastSpectrumAnalysisFftSample) String() string
String implements the fmt.Stringer interface for ResponsePastSpectrumAnalysisFftSample, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponsePastSpectrumAnalysisFftSample) UnmarshalJSON ¶ added in v0.4.80
func (r *ResponsePastSpectrumAnalysisFftSample) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponsePastSpectrumAnalysisFftSample. It customizes the JSON unmarshaling process for ResponsePastSpectrumAnalysisFftSample objects.
type ResponsePastSpectrumAnalysisResult ¶ added in v0.4.80
type ResponsePastSpectrumAnalysisResult struct {
// Band on which the spectrum analysis was run (e.g., 24, 5, 6)
Band *string `json:"band,omitempty"`
ChannelUsage []ResponsePastSpectrumAnalysisChannelUsage `json:"channel_usage,omitempty"`
// List of FFT samples for the spectrum analysis
FftSamples []ResponsePastSpectrumAnalysisFftSample `json:"fft_samples,omitempty"`
// MAC Address of the AP that ran the spectrum analysis
Mac *string `json:"mac,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Timestamp when the spectrum analysis was run in epoch seconds
Timestamp *int `json:"timestamp,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponsePastSpectrumAnalysisResult represents a ResponsePastSpectrumAnalysisResult struct. Result of a past spectrum analysis
func (ResponsePastSpectrumAnalysisResult) MarshalJSON ¶ added in v0.4.80
func (r ResponsePastSpectrumAnalysisResult) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponsePastSpectrumAnalysisResult. It customizes the JSON marshaling process for ResponsePastSpectrumAnalysisResult objects.
func (ResponsePastSpectrumAnalysisResult) String ¶ added in v0.4.80
func (r ResponsePastSpectrumAnalysisResult) String() string
String implements the fmt.Stringer interface for ResponsePastSpectrumAnalysisResult, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponsePastSpectrumAnalysisResult) UnmarshalJSON ¶ added in v0.4.80
func (r *ResponsePastSpectrumAnalysisResult) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponsePastSpectrumAnalysisResult. It customizes the JSON unmarshaling process for ResponsePastSpectrumAnalysisResult objects.
type ResponsePcapAp ¶
type ResponsePcapAp struct {
Band *int `json:"band,omitempty"`
Bandwidth *int `json:"bandwidth,omitempty"`
Channel *int `json:"channel,omitempty"`
TcpdumpExpression Optional[string] `json:"tcpdump_expression"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponsePcapAp represents a ResponsePcapAp struct.
func (ResponsePcapAp) MarshalJSON ¶
func (r ResponsePcapAp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponsePcapAp. It customizes the JSON marshaling process for ResponsePcapAp objects.
func (ResponsePcapAp) String ¶ added in v0.4.23
func (r ResponsePcapAp) String() string
String implements the fmt.Stringer interface for ResponsePcapAp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponsePcapAp) UnmarshalJSON ¶
func (r *ResponsePcapAp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponsePcapAp. It customizes the JSON unmarshaling process for ResponsePcapAp objects.
type ResponsePcapBucketConfig ¶
type ResponsePcapBucketConfig struct {
Bucket *string `json:"bucket,omitempty"`
Detail *string `json:"detail,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponsePcapBucketConfig represents a ResponsePcapBucketConfig struct.
func (ResponsePcapBucketConfig) MarshalJSON ¶
func (r ResponsePcapBucketConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponsePcapBucketConfig. It customizes the JSON marshaling process for ResponsePcapBucketConfig objects.
func (ResponsePcapBucketConfig) String ¶ added in v0.4.23
func (r ResponsePcapBucketConfig) String() string
String implements the fmt.Stringer interface for ResponsePcapBucketConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponsePcapBucketConfig) UnmarshalJSON ¶
func (r *ResponsePcapBucketConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponsePcapBucketConfig. It customizes the JSON unmarshaling process for ResponsePcapBucketConfig objects.
type ResponsePcapSearch ¶
type ResponsePcapSearch struct {
End int `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []ResponsePcapSearchItem `json:"results"`
Start int `json:"start"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponsePcapSearch represents a ResponsePcapSearch struct.
func (ResponsePcapSearch) MarshalJSON ¶
func (r ResponsePcapSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponsePcapSearch. It customizes the JSON marshaling process for ResponsePcapSearch objects.
func (ResponsePcapSearch) String ¶ added in v0.4.23
func (r ResponsePcapSearch) String() string
String implements the fmt.Stringer interface for ResponsePcapSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponsePcapSearch) UnmarshalJSON ¶
func (r *ResponsePcapSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponsePcapSearch. It customizes the JSON unmarshaling process for ResponsePcapSearch objects.
type ResponsePcapSearchItem ¶
type ResponsePcapSearchItem struct {
ApMacs []string `json:"ap_macs,omitempty"`
Aps []string `json:"aps,omitempty"`
Duration *float64 `json:"duration,omitempty"`
Format *string `json:"format,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
MaxNumPackets *float64 `json:"max_num_packets,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
PcapAps map[string]ResponsePcapSearchItemPcapApsItem `json:"pcap_aps,omitempty"`
PcapUrl *string `json:"pcap_url,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
TerminationReason *string `json:"termination_reason,omitempty"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
Type string `json:"type"`
Url string `json:"url"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponsePcapSearchItem represents a ResponsePcapSearchItem struct.
func (ResponsePcapSearchItem) MarshalJSON ¶
func (r ResponsePcapSearchItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponsePcapSearchItem. It customizes the JSON marshaling process for ResponsePcapSearchItem objects.
func (ResponsePcapSearchItem) String ¶ added in v0.4.23
func (r ResponsePcapSearchItem) String() string
String implements the fmt.Stringer interface for ResponsePcapSearchItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponsePcapSearchItem) UnmarshalJSON ¶
func (r *ResponsePcapSearchItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponsePcapSearchItem. It customizes the JSON unmarshaling process for ResponsePcapSearchItem objects.
type ResponsePcapSearchItemPcapApsItem ¶
type ResponsePcapSearchItemPcapApsItem struct {
Band *string `json:"band,omitempty"`
Bandwidth *string `json:"bandwidth,omitempty"`
Channel *int `json:"channel,omitempty"`
TcpdumpExpression Optional[string] `json:"tcpdump_expression"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponsePcapSearchItemPcapApsItem represents a ResponsePcapSearchItemPcapApsItem struct.
func (ResponsePcapSearchItemPcapApsItem) MarshalJSON ¶
func (r ResponsePcapSearchItemPcapApsItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponsePcapSearchItemPcapApsItem. It customizes the JSON marshaling process for ResponsePcapSearchItemPcapApsItem objects.
func (ResponsePcapSearchItemPcapApsItem) String ¶ added in v0.4.23
func (r ResponsePcapSearchItemPcapApsItem) String() string
String implements the fmt.Stringer interface for ResponsePcapSearchItemPcapApsItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponsePcapSearchItemPcapApsItem) UnmarshalJSON ¶
func (r *ResponsePcapSearchItemPcapApsItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponsePcapSearchItemPcapApsItem. It customizes the JSON unmarshaling process for ResponsePcapSearchItemPcapApsItem objects.
type ResponsePcapStart ¶
type ResponsePcapStart struct {
ApCount *int `json:"ap_count,omitempty"`
Aps []string `json:"aps,omitempty"`
ClientMac Optional[string] `json:"client_mac"`
Duration *float64 `json:"duration,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
Expiry *float64 `json:"expiry,omitempty"`
Format *string `json:"format,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
IncludeMcast *bool `json:"include_mcast,omitempty"`
MaxPktLen *int `json:"max_pkt_len,omitempty"`
NumPackets *int `json:"num_packets,omitempty"`
OrgId uuid.UUID `json:"org_id"`
Raw *bool `json:"raw,omitempty"`
SiteId uuid.UUID `json:"site_id"`
Ssid Optional[string] `json:"ssid"`
TcpdumpParserExpression Optional[string] `json:"tcpdump_parser_expression"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
Type string `json:"type"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponsePcapStart represents a ResponsePcapStart struct.
func (ResponsePcapStart) MarshalJSON ¶
func (r ResponsePcapStart) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponsePcapStart. It customizes the JSON marshaling process for ResponsePcapStart objects.
func (ResponsePcapStart) String ¶ added in v0.4.23
func (r ResponsePcapStart) String() string
String implements the fmt.Stringer interface for ResponsePcapStart, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponsePcapStart) UnmarshalJSON ¶
func (r *ResponsePcapStart) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponsePcapStart. It customizes the JSON unmarshaling process for ResponsePcapStart objects.
type ResponsePcapStatus ¶
type ResponsePcapStatus struct {
ApMac Optional[string] `json:"ap_mac"`
// List of target APs to capture packets
Aps []string `json:"aps,omitempty"`
ClientMac Optional[string] `json:"client_mac"`
Duration *int `json:"duration,omitempty"`
// List of APs where configuration attempt failed
Failed []string `json:"failed,omitempty"`
// PCAP format. enum:
// * `stream`: to Mist cloud
// * `tzsp`: stream packets (over UDP as TZSP packets) to a remote host (typically running Wireshark)
Format *CaptureMxedgeFormatEnum `json:"format,omitempty"`
// Information on gateways to capture packets on if a gateway capture type is specified
Gateways []string `json:"gateways,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
IncludesMcast *bool `json:"includes_mcast,omitempty"`
// Max number of packets configured by user
MaxNumPackets *int `json:"max_num_packets,omitempty"`
MaxPktLen *int `json:"max_pkt_len,omitempty"`
// Information on mxedges to capture packets on if a mxedge capture type is specified
Mxedges []string `json:"mxedges,omitempty"`
// total number of packets captured by all AP, not applicable for type [client, new_assoc]
NumPackets *int `json:"num_packets,omitempty"`
// List of target APs successfully configured to capture packets
Ok []string `json:"ok,omitempty"`
PcapAps map[string]ResponsePcapAp `json:"pcap_aps,omitempty"`
// When `type`==`radiotap`, radiotap_tcpdump_expression expression provided by the user
RadiotapTcpdumpExpression *string `json:"radiotap_tcpdump_expression,omitempty"`
// When `type`==`scan`, scan_tcpdump_expression provided by the user
ScanTcpdumpExpression *string `json:"scan_tcpdump_expression,omitempty"`
Ssid Optional[string] `json:"ssid"`
StartedTime *int `json:"started_time,omitempty"`
// Information on switches to capture packets on if a switch capture type is specified. irb port interface is automatically added to capture as needed to ensure all desired packets are captured.
Switches []string `json:"switches,omitempty"`
// tcpdump expression provided by the user (common)
TcpdumpExpression *string `json:"tcpdump_expression,omitempty"`
// enum: `client`, `gateway`, `new_assoc`, `radiotap`, `radiotap,wired`, `wired`, `wireless`
Type PcapTypeEnum `json:"type"`
// Required if `format`==`tzsp`. Remote host accessible to mxedges over the network for receiving the captured packets.
TzspHost *string `json:"tzsp_host,omitempty"`
// If `format`==`tzsp`. Port on remote host for receiving the captured packets
TzspPort *int `json:"tzsp_port,omitempty"`
// When `type`==`wired`, wired_tcpdump_expression provided by the user
WiredTcpdumpExpression *string `json:"wired_tcpdump_expression,omitempty"`
// When `type`==`‘wireless’`, wireless_tcpdump_expression provided by the user
WirelessTcpdumpExpression *string `json:"wireless_tcpdump_expression,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponsePcapStatus represents a ResponsePcapStatus struct.
func (ResponsePcapStatus) MarshalJSON ¶
func (r ResponsePcapStatus) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponsePcapStatus. It customizes the JSON marshaling process for ResponsePcapStatus objects.
func (ResponsePcapStatus) String ¶ added in v0.4.23
func (r ResponsePcapStatus) String() string
String implements the fmt.Stringer interface for ResponsePcapStatus, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponsePcapStatus) UnmarshalJSON ¶
func (r *ResponsePcapStatus) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponsePcapStatus. It customizes the JSON unmarshaling process for ResponsePcapStatus objects.
type ResponsePortStatsSearch ¶
type ResponsePortStatsSearch struct {
End int `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []StatsSwitchPort `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponsePortStatsSearch represents a ResponsePortStatsSearch struct.
func (ResponsePortStatsSearch) MarshalJSON ¶
func (r ResponsePortStatsSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponsePortStatsSearch. It customizes the JSON marshaling process for ResponsePortStatsSearch objects.
func (ResponsePortStatsSearch) String ¶ added in v0.4.23
func (r ResponsePortStatsSearch) String() string
String implements the fmt.Stringer interface for ResponsePortStatsSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponsePortStatsSearch) UnmarshalJSON ¶
func (r *ResponsePortStatsSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponsePortStatsSearch. It customizes the JSON unmarshaling process for ResponsePortStatsSearch objects.
type ResponsePskPortalLogsSearch ¶
type ResponsePskPortalLogsSearch struct {
End *int `json:"end,omitempty"`
Limit *int `json:"limit,omitempty"`
Next *string `json:"next,omitempty"`
Results []ResponsePskPortalLogsSearchItem `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponsePskPortalLogsSearch represents a ResponsePskPortalLogsSearch struct.
func (ResponsePskPortalLogsSearch) MarshalJSON ¶
func (r ResponsePskPortalLogsSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponsePskPortalLogsSearch. It customizes the JSON marshaling process for ResponsePskPortalLogsSearch objects.
func (ResponsePskPortalLogsSearch) String ¶ added in v0.4.23
func (r ResponsePskPortalLogsSearch) String() string
String implements the fmt.Stringer interface for ResponsePskPortalLogsSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponsePskPortalLogsSearch) UnmarshalJSON ¶
func (r *ResponsePskPortalLogsSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponsePskPortalLogsSearch. It customizes the JSON unmarshaling process for ResponsePskPortalLogsSearch objects.
type ResponsePskPortalLogsSearchItem ¶
type ResponsePskPortalLogsSearchItem struct {
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Message *string `json:"message,omitempty"`
NameId *string `json:"name_id,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
PskId *uuid.UUID `json:"psk_id,omitempty"`
PskName *string `json:"psk_name,omitempty"`
PskportalId *uuid.UUID `json:"pskportal_id,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponsePskPortalLogsSearchItem represents a ResponsePskPortalLogsSearchItem struct.
func (ResponsePskPortalLogsSearchItem) MarshalJSON ¶
func (r ResponsePskPortalLogsSearchItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponsePskPortalLogsSearchItem. It customizes the JSON marshaling process for ResponsePskPortalLogsSearchItem objects.
func (ResponsePskPortalLogsSearchItem) String ¶ added in v0.4.23
func (r ResponsePskPortalLogsSearchItem) String() string
String implements the fmt.Stringer interface for ResponsePskPortalLogsSearchItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponsePskPortalLogsSearchItem) UnmarshalJSON ¶
func (r *ResponsePskPortalLogsSearchItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponsePskPortalLogsSearchItem. It customizes the JSON unmarshaling process for ResponsePskPortalLogsSearchItem objects.
type ResponseRouterSsrRegisterCmd ¶ added in v0.4.92
type ResponseRouterSsrRegisterCmd struct {
ConductorCmd *string `json:"conductor_cmd,omitempty"`
RegistrationCode *string `json:"registration_code,omitempty"`
RouterShellCmd *string `json:"router_shell_cmd,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseRouterSsrRegisterCmd represents a ResponseRouterSsrRegisterCmd struct.
func (ResponseRouterSsrRegisterCmd) MarshalJSON ¶ added in v0.4.92
func (r ResponseRouterSsrRegisterCmd) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseRouterSsrRegisterCmd. It customizes the JSON marshaling process for ResponseRouterSsrRegisterCmd objects.
func (ResponseRouterSsrRegisterCmd) String ¶ added in v0.4.92
func (r ResponseRouterSsrRegisterCmd) String() string
String implements the fmt.Stringer interface for ResponseRouterSsrRegisterCmd, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseRouterSsrRegisterCmd) UnmarshalJSON ¶ added in v0.4.92
func (r *ResponseRouterSsrRegisterCmd) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseRouterSsrRegisterCmd. It customizes the JSON unmarshaling process for ResponseRouterSsrRegisterCmd objects.
type ResponseRrmConsideration ¶
type ResponseRrmConsideration struct {
Results []RrmConsideration `json:"results"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseRrmConsideration represents a ResponseRrmConsideration struct.
func (ResponseRrmConsideration) MarshalJSON ¶
func (r ResponseRrmConsideration) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseRrmConsideration. It customizes the JSON marshaling process for ResponseRrmConsideration objects.
func (ResponseRrmConsideration) String ¶ added in v0.4.23
func (r ResponseRrmConsideration) String() string
String implements the fmt.Stringer interface for ResponseRrmConsideration, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseRrmConsideration) UnmarshalJSON ¶
func (r *ResponseRrmConsideration) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseRrmConsideration. It customizes the JSON unmarshaling process for ResponseRrmConsideration objects.
type ResponseRrmNeighbors ¶
type ResponseRrmNeighbors struct {
End int `json:"end"`
Limit int `json:"limit"`
// Link to query next set of results. value is null if no next page exists.
Next *string `json:"next,omitempty"`
Results []RrmNeighbors `json:"results"`
Start int `json:"start"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseRrmNeighbors represents a ResponseRrmNeighbors struct.
func (ResponseRrmNeighbors) MarshalJSON ¶
func (r ResponseRrmNeighbors) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseRrmNeighbors. It customizes the JSON marshaling process for ResponseRrmNeighbors objects.
func (ResponseRrmNeighbors) String ¶ added in v0.4.23
func (r ResponseRrmNeighbors) String() string
String implements the fmt.Stringer interface for ResponseRrmNeighbors, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseRrmNeighbors) UnmarshalJSON ¶
func (r *ResponseRrmNeighbors) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseRrmNeighbors. It customizes the JSON unmarshaling process for ResponseRrmNeighbors objects.
type ResponseRunningSpectrumAnalysis ¶ added in v0.4.80
type ResponseRunningSpectrumAnalysis struct {
// Band on which the spectrum analysis is running (e.g., 24, 5, 6)
Band *string `json:"band,omitempty"`
// Device ID of the AP that is running spectrum analysis
DeviceId *uuid.UUID `json:"device_id,omitempty"`
// Duration of the spectrum analysis in seconds
Duration *int `json:"duration,omitempty"`
// Format of the spectrum analysis data (e.g., json, stream)
Format *string `json:"format,omitempty"`
// Time when the spectrum analysis was started
StartedTime *int `json:"started_time,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseRunningSpectrumAnalysis represents a ResponseRunningSpectrumAnalysis struct.
func (ResponseRunningSpectrumAnalysis) MarshalJSON ¶ added in v0.4.80
func (r ResponseRunningSpectrumAnalysis) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseRunningSpectrumAnalysis. It customizes the JSON marshaling process for ResponseRunningSpectrumAnalysis objects.
func (ResponseRunningSpectrumAnalysis) String ¶ added in v0.4.80
func (r ResponseRunningSpectrumAnalysis) String() string
String implements the fmt.Stringer interface for ResponseRunningSpectrumAnalysis, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseRunningSpectrumAnalysis) UnmarshalJSON ¶ added in v0.4.80
func (r *ResponseRunningSpectrumAnalysis) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseRunningSpectrumAnalysis. It customizes the JSON unmarshaling process for ResponseRunningSpectrumAnalysis objects.
type ResponseSearch ¶
type ResponseSearch struct {
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Page int `json:"page"`
Results []ResponseSearchItem `json:"results"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSearch represents a ResponseSearch struct.
func (ResponseSearch) MarshalJSON ¶
func (r ResponseSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSearch. It customizes the JSON marshaling process for ResponseSearch objects.
func (ResponseSearch) String ¶ added in v0.4.23
func (r ResponseSearch) String() string
String implements the fmt.Stringer interface for ResponseSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSearch) UnmarshalJSON ¶
func (r *ResponseSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSearch. It customizes the JSON unmarshaling process for ResponseSearch objects.
type ResponseSearchBgps ¶
type ResponseSearchBgps struct {
End *float64 `json:"end,omitempty"`
Limit *int `json:"limit,omitempty"`
Next *string `json:"next,omitempty"`
Results []BgpStats `json:"results,omitempty"`
Start *float64 `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSearchBgps represents a ResponseSearchBgps struct.
func (ResponseSearchBgps) MarshalJSON ¶
func (r ResponseSearchBgps) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSearchBgps. It customizes the JSON marshaling process for ResponseSearchBgps objects.
func (ResponseSearchBgps) String ¶ added in v0.4.23
func (r ResponseSearchBgps) String() string
String implements the fmt.Stringer interface for ResponseSearchBgps, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSearchBgps) UnmarshalJSON ¶
func (r *ResponseSearchBgps) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSearchBgps. It customizes the JSON unmarshaling process for ResponseSearchBgps objects.
type ResponseSearchItem ¶
type ResponseSearchItem struct {
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
Text string `json:"text"`
Type string `json:"type"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSearchItem represents a ResponseSearchItem struct.
func (ResponseSearchItem) MarshalJSON ¶
func (r ResponseSearchItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSearchItem. It customizes the JSON marshaling process for ResponseSearchItem objects.
func (ResponseSearchItem) String ¶ added in v0.4.23
func (r ResponseSearchItem) String() string
String implements the fmt.Stringer interface for ResponseSearchItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSearchItem) UnmarshalJSON ¶
func (r *ResponseSearchItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSearchItem. It customizes the JSON unmarshaling process for ResponseSearchItem objects.
type ResponseSearchVar ¶
type ResponseSearchVar struct {
End *int `json:"end,omitempty"`
Limit *int `json:"limit,omitempty"`
Next *string `json:"next,omitempty"`
Results []ResponseSearchVarItem `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSearchVar represents a ResponseSearchVar struct.
func (ResponseSearchVar) MarshalJSON ¶
func (r ResponseSearchVar) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSearchVar. It customizes the JSON marshaling process for ResponseSearchVar objects.
func (ResponseSearchVar) String ¶ added in v0.4.23
func (r ResponseSearchVar) String() string
String implements the fmt.Stringer interface for ResponseSearchVar, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSearchVar) UnmarshalJSON ¶
func (r *ResponseSearchVar) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSearchVar. It customizes the JSON unmarshaling process for ResponseSearchVar objects.
type ResponseSearchVarItem ¶
type ResponseSearchVarItem struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Src *string `json:"src,omitempty"`
Var *string `json:"var,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSearchVarItem represents a ResponseSearchVarItem struct.
func (ResponseSearchVarItem) MarshalJSON ¶
func (r ResponseSearchVarItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSearchVarItem. It customizes the JSON marshaling process for ResponseSearchVarItem objects.
func (ResponseSearchVarItem) String ¶ added in v0.4.23
func (r ResponseSearchVarItem) String() string
String implements the fmt.Stringer interface for ResponseSearchVarItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSearchVarItem) UnmarshalJSON ¶
func (r *ResponseSearchVarItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSearchVarItem. It customizes the JSON unmarshaling process for ResponseSearchVarItem objects.
type ResponseSelfAuditLogs ¶
type ResponseSelfAuditLogs struct {
End int `json:"end"`
Limit int `json:"limit"`
Page int `json:"page"`
Results []AuditLog `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSelfAuditLogs represents a ResponseSelfAuditLogs struct.
func (ResponseSelfAuditLogs) MarshalJSON ¶
func (r ResponseSelfAuditLogs) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSelfAuditLogs. It customizes the JSON marshaling process for ResponseSelfAuditLogs objects.
func (ResponseSelfAuditLogs) String ¶ added in v0.4.23
func (r ResponseSelfAuditLogs) String() string
String implements the fmt.Stringer interface for ResponseSelfAuditLogs, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSelfAuditLogs) UnmarshalJSON ¶
func (r *ResponseSelfAuditLogs) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSelfAuditLogs. It customizes the JSON unmarshaling process for ResponseSelfAuditLogs objects.
type ResponseSelfOauthLinkSuccess ¶
type ResponseSelfOauthLinkSuccess struct {
Action string `json:"action"`
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSelfOauthLinkSuccess represents a ResponseSelfOauthLinkSuccess struct.
func (ResponseSelfOauthLinkSuccess) MarshalJSON ¶
func (r ResponseSelfOauthLinkSuccess) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSelfOauthLinkSuccess. It customizes the JSON marshaling process for ResponseSelfOauthLinkSuccess objects.
func (ResponseSelfOauthLinkSuccess) String ¶ added in v0.4.23
func (r ResponseSelfOauthLinkSuccess) String() string
String implements the fmt.Stringer interface for ResponseSelfOauthLinkSuccess, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSelfOauthLinkSuccess) UnmarshalJSON ¶
func (r *ResponseSelfOauthLinkSuccess) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSelfOauthLinkSuccess. It customizes the JSON unmarshaling process for ResponseSelfOauthLinkSuccess objects.
type ResponseSelfOauthUrl ¶
type ResponseSelfOauthUrl struct {
AuthorizationUrl string `json:"authorization_url"`
Linked bool `json:"linked"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSelfOauthUrl represents a ResponseSelfOauthUrl struct.
func (ResponseSelfOauthUrl) MarshalJSON ¶
func (r ResponseSelfOauthUrl) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSelfOauthUrl. It customizes the JSON marshaling process for ResponseSelfOauthUrl objects.
func (ResponseSelfOauthUrl) String ¶ added in v0.4.23
func (r ResponseSelfOauthUrl) String() string
String implements the fmt.Stringer interface for ResponseSelfOauthUrl, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSelfOauthUrl) UnmarshalJSON ¶
func (r *ResponseSelfOauthUrl) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSelfOauthUrl. It customizes the JSON unmarshaling process for ResponseSelfOauthUrl objects.
type ResponseSelfSubscription ¶
type ResponseSelfSubscription struct {
OrgId uuid.UUID `json:"org_id"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSelfSubscription represents a ResponseSelfSubscription struct.
func (ResponseSelfSubscription) MarshalJSON ¶
func (r ResponseSelfSubscription) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSelfSubscription. It customizes the JSON marshaling process for ResponseSelfSubscription objects.
func (ResponseSelfSubscription) String ¶ added in v0.4.23
func (r ResponseSelfSubscription) String() string
String implements the fmt.Stringer interface for ResponseSelfSubscription, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSelfSubscription) UnmarshalJSON ¶
func (r *ResponseSelfSubscription) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSelfSubscription. It customizes the JSON unmarshaling process for ResponseSelfSubscription objects.
type ResponseSetDevicesMap ¶
type ResponseSetDevicesMap struct {
Locked []string `json:"locked,omitempty"`
Moved []string `json:"moved,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSetDevicesMap represents a ResponseSetDevicesMap struct.
func (ResponseSetDevicesMap) MarshalJSON ¶
func (r ResponseSetDevicesMap) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSetDevicesMap. It customizes the JSON marshaling process for ResponseSetDevicesMap objects.
func (ResponseSetDevicesMap) String ¶ added in v0.4.23
func (r ResponseSetDevicesMap) String() string
String implements the fmt.Stringer interface for ResponseSetDevicesMap, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSetDevicesMap) UnmarshalJSON ¶
func (r *ResponseSetDevicesMap) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSetDevicesMap. It customizes the JSON unmarshaling process for ResponseSetDevicesMap objects.
type ResponseSiteDeviceUpgrade ¶
type ResponseSiteDeviceUpgrade struct {
// phases for canary deployment. Each phase represents percentage of devices that need to be upgraded in that phase.
CanaryPhases []int `json:"canary_phases,omitempty"`
// Current canary or rrm phase in progress
CurrentPhase *int `json:"current_phase,omitempty"`
// Whether to allow local AP-to-AP FW upgrade
EnableP2p *bool `json:"enable_p2p,omitempty"`
// Whether to force upgrade when requested version is same as running version
Force *bool `json:"force,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
// Percentage of failures allowed
MaxFailurePercentage *int `json:"max_failure_percentage,omitempty"`
// If `strategy`==`canary`. Number of failures allowed within each phase. Only applicable for `canary`. Array length should be same as `canary_phases`. Will be used if provided, else `max_failure_percentage` will be used
MaxFailures []int `json:"max_failures,omitempty"`
// size to split the devices for p2p
P2pClusterSize *int `json:"p2p_cluster_size,omitempty"`
// number of parallel p2p download batches to create
P2pParallelism *int `json:"p2p_parallelism,omitempty"`
// reboot start time in epoch
RebootAt *int `json:"reboot_at,omitempty"`
// Firmware download start time in epoch
StartTime *int `json:"start_time,omitempty"`
// status upgrade is in. enum: `cancelled`, `completed`, `created`, `downloaded`, `downloading`, `failed`, `upgrading`, `queued`
Status *UpgradeDeviceStatusEnum `json:"status,omitempty"`
// enum: `big_bang` (upgrade all at once), `canary`, `rrm` (APs only), `serial` (one at a time)
Strategy *UpgradeDeviceStrategyEnum `json:"strategy,omitempty"`
// Version to upgrade to
TargetVersion *string `json:"target_version,omitempty"`
Targets *UpgradeDevicesTargets `json:"targets,omitempty"`
// If `strategy`!=`big_bang`, a dictionary of phase number to devices part of that phase
UpgradePlan map[string][]string `json:"upgrade_plan,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSiteDeviceUpgrade represents a ResponseSiteDeviceUpgrade struct.
func (ResponseSiteDeviceUpgrade) MarshalJSON ¶
func (r ResponseSiteDeviceUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSiteDeviceUpgrade. It customizes the JSON marshaling process for ResponseSiteDeviceUpgrade objects.
func (ResponseSiteDeviceUpgrade) String ¶ added in v0.4.23
func (r ResponseSiteDeviceUpgrade) String() string
String implements the fmt.Stringer interface for ResponseSiteDeviceUpgrade, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSiteDeviceUpgrade) UnmarshalJSON ¶
func (r *ResponseSiteDeviceUpgrade) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSiteDeviceUpgrade. It customizes the JSON unmarshaling process for ResponseSiteDeviceUpgrade objects.
type ResponseSiteDeviceUpgradesItem ¶ added in v0.4.39
type ResponseSiteDeviceUpgradesItem struct {
Counts *UpgradeSiteDevicesCounts `json:"counts,omitempty"`
// Current canary or rrm phase in progress
CurrentPhase *int `json:"current_phase,omitempty"`
// Whether to allow local AP-to-AP FW upgrade
EnableP2p *bool `json:"enable_p2p,omitempty"`
// Whether to force upgrade when requested version is same as running version
Force *bool `json:"force,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
// Percentage of failures allowed
MaxFailurePercentage *int `json:"max_failure_percentage,omitempty"`
// If `strategy`==`canary`. Number of failures allowed within each phase. Only applicable for `canary`. Array length should be same as `canary_phases`. Will be used if provided, else `max_failure_percentage` will be used
MaxFailures []int `json:"max_failures,omitempty"`
// reboot start time in epoch
RebootAt *int `json:"reboot_at,omitempty"`
// Firmware download start time in epoch
StartTime *int `json:"start_time,omitempty"`
// status upgrade is in. enum: `cancelled`, `completed`, `created`, `downloaded`, `downloading`, `failed`, `upgrading`, `queued`
Status *UpgradeDeviceStatusEnum `json:"status,omitempty"`
// enum: `big_bang` (upgrade all at once), `canary`, `rrm` (APs only), `serial` (one at a time)
Strategy *UpgradeDeviceStrategyEnum `json:"strategy,omitempty"`
// Version to upgrade to
TargetVersion *string `json:"target_version,omitempty"`
// a dictionary of rrm phase number to devices part of that phase
UpgradePlan *interface{} `json:"upgrade_plan,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSiteDeviceUpgradesItem represents a ResponseSiteDeviceUpgradesItem struct.
func (ResponseSiteDeviceUpgradesItem) MarshalJSON ¶ added in v0.4.39
func (r ResponseSiteDeviceUpgradesItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSiteDeviceUpgradesItem. It customizes the JSON marshaling process for ResponseSiteDeviceUpgradesItem objects.
func (ResponseSiteDeviceUpgradesItem) String ¶ added in v0.4.39
func (r ResponseSiteDeviceUpgradesItem) String() string
String implements the fmt.Stringer interface for ResponseSiteDeviceUpgradesItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSiteDeviceUpgradesItem) UnmarshalJSON ¶ added in v0.4.39
func (r *ResponseSiteDeviceUpgradesItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSiteDeviceUpgradesItem. It customizes the JSON unmarshaling process for ResponseSiteDeviceUpgradesItem objects.
type ResponseSiteSearch ¶
type ResponseSiteSearch struct {
End int `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []ResponseSiteSearchItem `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSiteSearch represents a ResponseSiteSearch struct.
func (ResponseSiteSearch) MarshalJSON ¶
func (r ResponseSiteSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSiteSearch. It customizes the JSON marshaling process for ResponseSiteSearch objects.
func (ResponseSiteSearch) String ¶ added in v0.4.23
func (r ResponseSiteSearch) String() string
String implements the fmt.Stringer interface for ResponseSiteSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSiteSearch) UnmarshalJSON ¶
func (r *ResponseSiteSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSiteSearch. It customizes the JSON unmarshaling process for ResponseSiteSearch objects.
type ResponseSiteSearchItem ¶
type ResponseSiteSearchItem struct {
AutoUpgradeEnabled bool `json:"auto_upgrade_enabled"`
AutoUpgradeVersion string `json:"auto_upgrade_version"`
CountryCode Optional[string] `json:"country_code"`
HoneypotEnabled bool `json:"honeypot_enabled"`
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
Name string `json:"name"`
OrgId uuid.UUID `json:"org_id"`
SiteId uuid.UUID `json:"site_id"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
Timezone string `json:"timezone"`
VnaEnabled bool `json:"vna_enabled"`
WifiEnabled bool `json:"wifi_enabled"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSiteSearchItem represents a ResponseSiteSearchItem struct.
func (ResponseSiteSearchItem) MarshalJSON ¶
func (r ResponseSiteSearchItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSiteSearchItem. It customizes the JSON marshaling process for ResponseSiteSearchItem objects.
func (ResponseSiteSearchItem) String ¶ added in v0.4.23
func (r ResponseSiteSearchItem) String() string
String implements the fmt.Stringer interface for ResponseSiteSearchItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSiteSearchItem) UnmarshalJSON ¶
func (r *ResponseSiteSearchItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSiteSearchItem. It customizes the JSON unmarshaling process for ResponseSiteSearchItem objects.
type ResponseSsoFailureSearch ¶
type ResponseSsoFailureSearch struct {
Results []ResponseSsoFailureSearchItem `json:"results"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSsoFailureSearch represents a ResponseSsoFailureSearch struct.
func (ResponseSsoFailureSearch) MarshalJSON ¶
func (r ResponseSsoFailureSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSsoFailureSearch. It customizes the JSON marshaling process for ResponseSsoFailureSearch objects.
func (ResponseSsoFailureSearch) String ¶ added in v0.4.23
func (r ResponseSsoFailureSearch) String() string
String implements the fmt.Stringer interface for ResponseSsoFailureSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSsoFailureSearch) UnmarshalJSON ¶
func (r *ResponseSsoFailureSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSsoFailureSearch. It customizes the JSON unmarshaling process for ResponseSsoFailureSearch objects.
type ResponseSsoFailureSearchItem ¶
type ResponseSsoFailureSearchItem struct {
Detail string `json:"detail"`
SamlAssertionXml string `json:"saml_assertion_xml"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSsoFailureSearchItem represents a ResponseSsoFailureSearchItem struct.
func (ResponseSsoFailureSearchItem) MarshalJSON ¶
func (r ResponseSsoFailureSearchItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSsoFailureSearchItem. It customizes the JSON marshaling process for ResponseSsoFailureSearchItem objects.
func (ResponseSsoFailureSearchItem) String ¶ added in v0.4.23
func (r ResponseSsoFailureSearchItem) String() string
String implements the fmt.Stringer interface for ResponseSsoFailureSearchItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSsoFailureSearchItem) UnmarshalJSON ¶
func (r *ResponseSsoFailureSearchItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSsoFailureSearchItem. It customizes the JSON unmarshaling process for ResponseSsoFailureSearchItem objects.
type ResponseSsrExportIdTokens ¶ added in v0.4.92
type ResponseSsrExportIdTokens struct {
Results []ResponseSsrExportIdTokensResultsItem `json:"results,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSsrExportIdTokens represents a ResponseSsrExportIdTokens struct.
func (ResponseSsrExportIdTokens) MarshalJSON ¶ added in v0.4.92
func (r ResponseSsrExportIdTokens) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSsrExportIdTokens. It customizes the JSON marshaling process for ResponseSsrExportIdTokens objects.
func (ResponseSsrExportIdTokens) String ¶ added in v0.4.92
func (r ResponseSsrExportIdTokens) String() string
String implements the fmt.Stringer interface for ResponseSsrExportIdTokens, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSsrExportIdTokens) UnmarshalJSON ¶ added in v0.4.92
func (r *ResponseSsrExportIdTokens) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSsrExportIdTokens. It customizes the JSON unmarshaling process for ResponseSsrExportIdTokens objects.
type ResponseSsrExportIdTokensResultsItem ¶ added in v0.4.92
type ResponseSsrExportIdTokensResultsItem struct {
Mac *string `json:"mac,omitempty"`
Token *string `json:"token,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSsrExportIdTokensResultsItem represents a ResponseSsrExportIdTokensResultsItem struct.
func (ResponseSsrExportIdTokensResultsItem) MarshalJSON ¶ added in v0.4.92
func (r ResponseSsrExportIdTokensResultsItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSsrExportIdTokensResultsItem. It customizes the JSON marshaling process for ResponseSsrExportIdTokensResultsItem objects.
func (ResponseSsrExportIdTokensResultsItem) String ¶ added in v0.4.92
func (r ResponseSsrExportIdTokensResultsItem) String() string
String implements the fmt.Stringer interface for ResponseSsrExportIdTokensResultsItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSsrExportIdTokensResultsItem) UnmarshalJSON ¶ added in v0.4.92
func (r *ResponseSsrExportIdTokensResultsItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSsrExportIdTokensResultsItem. It customizes the JSON unmarshaling process for ResponseSsrExportIdTokensResultsItem objects.
type ResponseSsrUpgrade ¶ added in v0.4.39
type ResponseSsrUpgrade struct {
Channel string `json:"channel"`
Counts ResponseSsrUpgradeCounts `json:"counts"`
DeviceType string `json:"device_type"`
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
Status string `json:"status"`
Strategy string `json:"strategy"`
Versions map[string]string `json:"versions"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSsrUpgrade represents a ResponseSsrUpgrade struct.
func (ResponseSsrUpgrade) MarshalJSON ¶ added in v0.4.39
func (r ResponseSsrUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSsrUpgrade. It customizes the JSON marshaling process for ResponseSsrUpgrade objects.
func (ResponseSsrUpgrade) String ¶ added in v0.4.39
func (r ResponseSsrUpgrade) String() string
String implements the fmt.Stringer interface for ResponseSsrUpgrade, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSsrUpgrade) UnmarshalJSON ¶ added in v0.4.39
func (r *ResponseSsrUpgrade) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSsrUpgrade. It customizes the JSON unmarshaling process for ResponseSsrUpgrade objects.
type ResponseSsrUpgradeCounts ¶ added in v0.4.39
type ResponseSsrUpgradeCounts struct {
Failed int `json:"failed"`
Queued int `json:"queued"`
Success int `json:"success"`
Upgrading int `json:"upgrading"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSsrUpgradeCounts represents a ResponseSsrUpgradeCounts struct.
func (ResponseSsrUpgradeCounts) MarshalJSON ¶ added in v0.4.39
func (r ResponseSsrUpgradeCounts) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSsrUpgradeCounts. It customizes the JSON marshaling process for ResponseSsrUpgradeCounts objects.
func (ResponseSsrUpgradeCounts) String ¶ added in v0.4.39
func (r ResponseSsrUpgradeCounts) String() string
String implements the fmt.Stringer interface for ResponseSsrUpgradeCounts, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSsrUpgradeCounts) UnmarshalJSON ¶ added in v0.4.39
func (r *ResponseSsrUpgradeCounts) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSsrUpgradeCounts. It customizes the JSON unmarshaling process for ResponseSsrUpgradeCounts objects.
type ResponseSsrUpgradeStatus ¶
type ResponseSsrUpgradeStatus struct {
Channel string `json:"channel"`
DeviceType *string `json:"device_type,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
Status string `json:"status"`
Targets ResponseSsrUpgradeStatusTargets `json:"targets"`
Versions interface{} `json:"versions"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSsrUpgradeStatus represents a ResponseSsrUpgradeStatus struct.
func (ResponseSsrUpgradeStatus) MarshalJSON ¶
func (r ResponseSsrUpgradeStatus) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSsrUpgradeStatus. It customizes the JSON marshaling process for ResponseSsrUpgradeStatus objects.
func (ResponseSsrUpgradeStatus) String ¶ added in v0.4.23
func (r ResponseSsrUpgradeStatus) String() string
String implements the fmt.Stringer interface for ResponseSsrUpgradeStatus, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSsrUpgradeStatus) UnmarshalJSON ¶
func (r *ResponseSsrUpgradeStatus) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSsrUpgradeStatus. It customizes the JSON unmarshaling process for ResponseSsrUpgradeStatus objects.
type ResponseSsrUpgradeStatusTargets ¶
type ResponseSsrUpgradeStatusTargets struct {
Failed []string `json:"failed"`
Queued []string `json:"queued"`
Success []string `json:"success"`
Upgrading []string `json:"upgrading"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSsrUpgradeStatusTargets represents a ResponseSsrUpgradeStatusTargets struct.
func (ResponseSsrUpgradeStatusTargets) MarshalJSON ¶
func (r ResponseSsrUpgradeStatusTargets) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSsrUpgradeStatusTargets. It customizes the JSON marshaling process for ResponseSsrUpgradeStatusTargets objects.
func (ResponseSsrUpgradeStatusTargets) String ¶ added in v0.4.23
func (r ResponseSsrUpgradeStatusTargets) String() string
String implements the fmt.Stringer interface for ResponseSsrUpgradeStatusTargets, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSsrUpgradeStatusTargets) UnmarshalJSON ¶
func (r *ResponseSsrUpgradeStatusTargets) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSsrUpgradeStatusTargets. It customizes the JSON unmarshaling process for ResponseSsrUpgradeStatusTargets objects.
type ResponseStatsAssets ¶
type ResponseStatsAssets struct {
End int `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []StatsAsset `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseStatsAssets represents a ResponseStatsAssets struct.
func (ResponseStatsAssets) MarshalJSON ¶
func (r ResponseStatsAssets) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseStatsAssets. It customizes the JSON marshaling process for ResponseStatsAssets objects.
func (ResponseStatsAssets) String ¶ added in v0.4.23
func (r ResponseStatsAssets) String() string
String implements the fmt.Stringer interface for ResponseStatsAssets, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseStatsAssets) UnmarshalJSON ¶
func (r *ResponseStatsAssets) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseStatsAssets. It customizes the JSON unmarshaling process for ResponseStatsAssets objects.
type ResponseStatsCalls ¶
type ResponseStatsCalls struct {
End *float64 `json:"end,omitempty"`
Limit *int `json:"limit,omitempty"`
Next *string `json:"next,omitempty"`
Results []StatsCall `json:"results,omitempty"`
Start *float64 `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseStatsCalls represents a ResponseStatsCalls struct.
func (ResponseStatsCalls) MarshalJSON ¶
func (r ResponseStatsCalls) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseStatsCalls. It customizes the JSON marshaling process for ResponseStatsCalls objects.
func (ResponseStatsCalls) String ¶ added in v0.4.23
func (r ResponseStatsCalls) String() string
String implements the fmt.Stringer interface for ResponseStatsCalls, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseStatsCalls) UnmarshalJSON ¶
func (r *ResponseStatsCalls) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseStatsCalls. It customizes the JSON unmarshaling process for ResponseStatsCalls objects.
type ResponseStatsCallsSummary ¶ added in v0.4.0
type ResponseStatsCallsSummary struct {
BadMinutes *float64 `json:"bad_minutes,omitempty"`
BadMinutesClient *float64 `json:"bad_minutes_client,omitempty"`
BadMinutesSiteWan *float64 `json:"bad_minutes_site_wan,omitempty"`
BadMinutesWireless *float64 `json:"bad_minutes_wireless,omitempty"`
NumAps *int `json:"num_aps,omitempty"`
NumUsers *int `json:"num_users,omitempty"`
TotalMinutes *float64 `json:"total_minutes,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseStatsCallsSummary represents a ResponseStatsCallsSummary struct.
func (ResponseStatsCallsSummary) MarshalJSON ¶ added in v0.4.0
func (r ResponseStatsCallsSummary) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseStatsCallsSummary. It customizes the JSON marshaling process for ResponseStatsCallsSummary objects.
func (ResponseStatsCallsSummary) String ¶ added in v0.4.23
func (r ResponseStatsCallsSummary) String() string
String implements the fmt.Stringer interface for ResponseStatsCallsSummary, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseStatsCallsSummary) UnmarshalJSON ¶ added in v0.4.0
func (r *ResponseStatsCallsSummary) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseStatsCallsSummary. It customizes the JSON unmarshaling process for ResponseStatsCallsSummary objects.
type ResponseSwitchMetrics ¶
type ResponseSwitchMetrics struct {
ActivePortsSummary *ResponseSwitchMetricsActivePortsSummary `json:"active_ports_summary,omitempty"`
ConfigSuccess *ResponseSwitchMetricsConfigSuccess `json:"config_success,omitempty"`
VersionCompliance *ResponseSwitchMetricsVersionCompliance `json:"version_compliance,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSwitchMetrics represents a ResponseSwitchMetrics struct.
func (ResponseSwitchMetrics) MarshalJSON ¶
func (r ResponseSwitchMetrics) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSwitchMetrics. It customizes the JSON marshaling process for ResponseSwitchMetrics objects.
func (ResponseSwitchMetrics) String ¶ added in v0.4.23
func (r ResponseSwitchMetrics) String() string
String implements the fmt.Stringer interface for ResponseSwitchMetrics, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSwitchMetrics) UnmarshalJSON ¶
func (r *ResponseSwitchMetrics) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSwitchMetrics. It customizes the JSON unmarshaling process for ResponseSwitchMetrics objects.
type ResponseSwitchMetricsActivePortsSummary ¶
type ResponseSwitchMetricsActivePortsSummary struct {
Details *SwitchMetricsActivePortsSummaryDetails `json:"details,omitempty"`
Score *int `json:"score,omitempty"`
TotalSwitchCount *int `json:"total_switch_count,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSwitchMetricsActivePortsSummary represents a ResponseSwitchMetricsActivePortsSummary struct.
func (ResponseSwitchMetricsActivePortsSummary) MarshalJSON ¶
func (r ResponseSwitchMetricsActivePortsSummary) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSwitchMetricsActivePortsSummary. It customizes the JSON marshaling process for ResponseSwitchMetricsActivePortsSummary objects.
func (ResponseSwitchMetricsActivePortsSummary) String ¶ added in v0.4.23
func (r ResponseSwitchMetricsActivePortsSummary) String() string
String implements the fmt.Stringer interface for ResponseSwitchMetricsActivePortsSummary, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSwitchMetricsActivePortsSummary) UnmarshalJSON ¶
func (r *ResponseSwitchMetricsActivePortsSummary) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSwitchMetricsActivePortsSummary. It customizes the JSON unmarshaling process for ResponseSwitchMetricsActivePortsSummary objects.
type ResponseSwitchMetricsConfigSuccess ¶
type ResponseSwitchMetricsConfigSuccess struct {
Details *ResponseSwitchMetricsConfigSuccessDetails `json:"details,omitempty"`
Score *int `json:"score,omitempty"`
TotalSwitchCount *int `json:"total_switch_count,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSwitchMetricsConfigSuccess represents a ResponseSwitchMetricsConfigSuccess struct.
func (ResponseSwitchMetricsConfigSuccess) MarshalJSON ¶
func (r ResponseSwitchMetricsConfigSuccess) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSwitchMetricsConfigSuccess. It customizes the JSON marshaling process for ResponseSwitchMetricsConfigSuccess objects.
func (ResponseSwitchMetricsConfigSuccess) String ¶ added in v0.4.23
func (r ResponseSwitchMetricsConfigSuccess) String() string
String implements the fmt.Stringer interface for ResponseSwitchMetricsConfigSuccess, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSwitchMetricsConfigSuccess) UnmarshalJSON ¶
func (r *ResponseSwitchMetricsConfigSuccess) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSwitchMetricsConfigSuccess. It customizes the JSON unmarshaling process for ResponseSwitchMetricsConfigSuccess objects.
type ResponseSwitchMetricsConfigSuccessDetails ¶
type ResponseSwitchMetricsConfigSuccessDetails struct {
ConfigSuccessCount *int `json:"config_success_count,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSwitchMetricsConfigSuccessDetails represents a ResponseSwitchMetricsConfigSuccessDetails struct.
func (ResponseSwitchMetricsConfigSuccessDetails) MarshalJSON ¶
func (r ResponseSwitchMetricsConfigSuccessDetails) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSwitchMetricsConfigSuccessDetails. It customizes the JSON marshaling process for ResponseSwitchMetricsConfigSuccessDetails objects.
func (ResponseSwitchMetricsConfigSuccessDetails) String ¶ added in v0.4.23
func (r ResponseSwitchMetricsConfigSuccessDetails) String() string
String implements the fmt.Stringer interface for ResponseSwitchMetricsConfigSuccessDetails, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSwitchMetricsConfigSuccessDetails) UnmarshalJSON ¶
func (r *ResponseSwitchMetricsConfigSuccessDetails) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSwitchMetricsConfigSuccessDetails. It customizes the JSON unmarshaling process for ResponseSwitchMetricsConfigSuccessDetails objects.
type ResponseSwitchMetricsVersionCompliance ¶
type ResponseSwitchMetricsVersionCompliance struct {
Details *ResponseSwitchMetricsVersionComplianceDetails `json:"details,omitempty"`
Score *int `json:"score,omitempty"`
TotalSwitchCount *int `json:"total_switch_count,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSwitchMetricsVersionCompliance represents a ResponseSwitchMetricsVersionCompliance struct.
func (ResponseSwitchMetricsVersionCompliance) MarshalJSON ¶
func (r ResponseSwitchMetricsVersionCompliance) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSwitchMetricsVersionCompliance. It customizes the JSON marshaling process for ResponseSwitchMetricsVersionCompliance objects.
func (ResponseSwitchMetricsVersionCompliance) String ¶ added in v0.4.23
func (r ResponseSwitchMetricsVersionCompliance) String() string
String implements the fmt.Stringer interface for ResponseSwitchMetricsVersionCompliance, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSwitchMetricsVersionCompliance) UnmarshalJSON ¶
func (r *ResponseSwitchMetricsVersionCompliance) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSwitchMetricsVersionCompliance. It customizes the JSON unmarshaling process for ResponseSwitchMetricsVersionCompliance objects.
type ResponseSwitchMetricsVersionComplianceDetails ¶
type ResponseSwitchMetricsVersionComplianceDetails struct {
MajorVersions []SwitchMetricsComplianceMajorVersion `json:"major_versions,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSwitchMetricsVersionComplianceDetails represents a ResponseSwitchMetricsVersionComplianceDetails struct.
func (ResponseSwitchMetricsVersionComplianceDetails) MarshalJSON ¶
func (r ResponseSwitchMetricsVersionComplianceDetails) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSwitchMetricsVersionComplianceDetails. It customizes the JSON marshaling process for ResponseSwitchMetricsVersionComplianceDetails objects.
func (ResponseSwitchMetricsVersionComplianceDetails) String ¶ added in v0.4.23
func (r ResponseSwitchMetricsVersionComplianceDetails) String() string
String implements the fmt.Stringer interface for ResponseSwitchMetricsVersionComplianceDetails, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSwitchMetricsVersionComplianceDetails) UnmarshalJSON ¶
func (r *ResponseSwitchMetricsVersionComplianceDetails) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSwitchMetricsVersionComplianceDetails. It customizes the JSON unmarshaling process for ResponseSwitchMetricsVersionComplianceDetails objects.
type ResponseSwitchPortSearch ¶
type ResponseSwitchPortSearch struct {
End int `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []StatsSwitchPort `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSwitchPortSearch represents a ResponseSwitchPortSearch struct.
func (ResponseSwitchPortSearch) MarshalJSON ¶
func (r ResponseSwitchPortSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSwitchPortSearch. It customizes the JSON marshaling process for ResponseSwitchPortSearch objects.
func (ResponseSwitchPortSearch) String ¶ added in v0.4.23
func (r ResponseSwitchPortSearch) String() string
String implements the fmt.Stringer interface for ResponseSwitchPortSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSwitchPortSearch) UnmarshalJSON ¶
func (r *ResponseSwitchPortSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSwitchPortSearch. It customizes the JSON unmarshaling process for ResponseSwitchPortSearch objects.
type ResponseSynthetictest ¶ added in v0.4.54
type ResponseSynthetictest struct {
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Message *string `json:"message,omitempty"`
Status *string `json:"status,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSynthetictest represents a ResponseSynthetictest struct.
func (ResponseSynthetictest) MarshalJSON ¶ added in v0.4.54
func (r ResponseSynthetictest) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSynthetictest. It customizes the JSON marshaling process for ResponseSynthetictest objects.
func (ResponseSynthetictest) String ¶ added in v0.4.54
func (r ResponseSynthetictest) String() string
String implements the fmt.Stringer interface for ResponseSynthetictest, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSynthetictest) UnmarshalJSON ¶ added in v0.4.54
func (r *ResponseSynthetictest) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSynthetictest. It customizes the JSON unmarshaling process for ResponseSynthetictest objects.
type ResponseSynthetictestSearch ¶ added in v0.4.54
type ResponseSynthetictestSearch struct {
End int `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []SynthetictestInfo `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseSynthetictestSearch represents a ResponseSynthetictestSearch struct.
func (ResponseSynthetictestSearch) MarshalJSON ¶ added in v0.4.54
func (r ResponseSynthetictestSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSynthetictestSearch. It customizes the JSON marshaling process for ResponseSynthetictestSearch objects.
func (ResponseSynthetictestSearch) String ¶ added in v0.4.54
func (r ResponseSynthetictestSearch) String() string
String implements the fmt.Stringer interface for ResponseSynthetictestSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseSynthetictestSearch) UnmarshalJSON ¶ added in v0.4.54
func (r *ResponseSynthetictestSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSynthetictestSearch. It customizes the JSON unmarshaling process for ResponseSynthetictestSearch objects.
type ResponseTroubleshoot ¶
type ResponseTroubleshoot struct {
End *int `json:"end,omitempty"`
Results []ResponseTroubleshootItem `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseTroubleshoot represents a ResponseTroubleshoot struct.
func (ResponseTroubleshoot) MarshalJSON ¶
func (r ResponseTroubleshoot) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseTroubleshoot. It customizes the JSON marshaling process for ResponseTroubleshoot objects.
func (ResponseTroubleshoot) String ¶ added in v0.4.23
func (r ResponseTroubleshoot) String() string
String implements the fmt.Stringer interface for ResponseTroubleshoot, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseTroubleshoot) UnmarshalJSON ¶
func (r *ResponseTroubleshoot) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseTroubleshoot. It customizes the JSON unmarshaling process for ResponseTroubleshoot objects.
type ResponseTroubleshootItem ¶
type ResponseTroubleshootItem struct {
Category *string `json:"category,omitempty"`
Reason *string `json:"reason,omitempty"`
Recommendation *string `json:"recommendation,omitempty"`
Text *string `json:"text,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseTroubleshootItem represents a ResponseTroubleshootItem struct.
func (ResponseTroubleshootItem) MarshalJSON ¶
func (r ResponseTroubleshootItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseTroubleshootItem. It customizes the JSON marshaling process for ResponseTroubleshootItem objects.
func (ResponseTroubleshootItem) String ¶ added in v0.4.23
func (r ResponseTroubleshootItem) String() string
String implements the fmt.Stringer interface for ResponseTroubleshootItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseTroubleshootItem) UnmarshalJSON ¶
func (r *ResponseTroubleshootItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseTroubleshootItem. It customizes the JSON unmarshaling process for ResponseTroubleshootItem objects.
type ResponseTunnelSearch ¶
type ResponseTunnelSearch struct {
End int `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []ResponseTunnelSearchItem `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseTunnelSearch represents a ResponseTunnelSearch struct.
func (ResponseTunnelSearch) MarshalJSON ¶
func (r ResponseTunnelSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseTunnelSearch. It customizes the JSON marshaling process for ResponseTunnelSearch objects.
func (ResponseTunnelSearch) String ¶ added in v0.4.23
func (r ResponseTunnelSearch) String() string
String implements the fmt.Stringer interface for ResponseTunnelSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseTunnelSearch) UnmarshalJSON ¶
func (r *ResponseTunnelSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseTunnelSearch. It customizes the JSON unmarshaling process for ResponseTunnelSearch objects.
type ResponseTunnelSearchItem ¶
type ResponseTunnelSearchItem struct {
// contains filtered or unexported fields
}
ResponseTunnelSearchItem represents a ResponseTunnelSearchItem struct.
func (*ResponseTunnelSearchItem) AsStatsMxtunnel ¶ added in v0.3.0
func (r *ResponseTunnelSearchItem) AsStatsMxtunnel() ( *StatsMxtunnel, bool)
func (*ResponseTunnelSearchItem) AsStatsWanTunnel ¶ added in v0.3.0
func (r *ResponseTunnelSearchItem) AsStatsWanTunnel() ( *StatsWanTunnel, bool)
func (ResponseTunnelSearchItem) MarshalJSON ¶
func (r ResponseTunnelSearchItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseTunnelSearchItem. It customizes the JSON marshaling process for ResponseTunnelSearchItem objects.
func (ResponseTunnelSearchItem) String ¶ added in v0.3.0
func (r ResponseTunnelSearchItem) String() string
String implements the fmt.Stringer interface for ResponseTunnelSearchItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseTunnelSearchItem) UnmarshalJSON ¶
func (r *ResponseTunnelSearchItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseTunnelSearchItem. It customizes the JSON unmarshaling process for ResponseTunnelSearchItem objects.
type ResponseTwoFactorJson ¶
type ResponseTwoFactorJson struct {
TwoFactorSecret *string `json:"two_factor_secret,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseTwoFactorJson represents a ResponseTwoFactorJson struct.
func (ResponseTwoFactorJson) MarshalJSON ¶
func (r ResponseTwoFactorJson) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseTwoFactorJson. It customizes the JSON marshaling process for ResponseTwoFactorJson objects.
func (ResponseTwoFactorJson) String ¶ added in v0.4.23
func (r ResponseTwoFactorJson) String() string
String implements the fmt.Stringer interface for ResponseTwoFactorJson, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseTwoFactorJson) UnmarshalJSON ¶
func (r *ResponseTwoFactorJson) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseTwoFactorJson. It customizes the JSON unmarshaling process for ResponseTwoFactorJson objects.
type ResponseUpgradeId ¶ added in v0.4.40
type ResponseUpgradeId struct {
UpgradeId uuid.UUID `json:"upgrade_id"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseUpgradeId represents a ResponseUpgradeId struct.
func (ResponseUpgradeId) MarshalJSON ¶ added in v0.4.40
func (r ResponseUpgradeId) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseUpgradeId. It customizes the JSON marshaling process for ResponseUpgradeId objects.
func (ResponseUpgradeId) String ¶ added in v0.4.40
func (r ResponseUpgradeId) String() string
String implements the fmt.Stringer interface for ResponseUpgradeId, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseUpgradeId) UnmarshalJSON ¶ added in v0.4.40
func (r *ResponseUpgradeId) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseUpgradeId. It customizes the JSON unmarshaling process for ResponseUpgradeId objects.
type ResponseUpgradeOrgDevices ¶
type ResponseUpgradeOrgDevices struct {
// Whether to allow local AP-to-AP FW upgrade
EnableP2p *bool `json:"enable_p2p,omitempty"`
// Whether to force upgrade when requested version is same as running version
Force *bool `json:"force,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// enum: `big_bang` (upgrade all at once), `canary`, `rrm` (APs only), `serial` (one at a time)
Strategy *UpgradeDeviceStrategyEnum `json:"strategy,omitempty"`
// Version to upgrade to
TargetVersion *string `json:"target_version,omitempty"`
Upgrades []UpgradeOrgDevicesUpgrade `json:"upgrades,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseUpgradeOrgDevices represents a ResponseUpgradeOrgDevices struct.
func (ResponseUpgradeOrgDevices) MarshalJSON ¶
func (r ResponseUpgradeOrgDevices) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseUpgradeOrgDevices. It customizes the JSON marshaling process for ResponseUpgradeOrgDevices objects.
func (ResponseUpgradeOrgDevices) String ¶ added in v0.4.23
func (r ResponseUpgradeOrgDevices) String() string
String implements the fmt.Stringer interface for ResponseUpgradeOrgDevices, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseUpgradeOrgDevices) UnmarshalJSON ¶
func (r *ResponseUpgradeOrgDevices) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseUpgradeOrgDevices. It customizes the JSON unmarshaling process for ResponseUpgradeOrgDevices objects.
type ResponseVerifyTokenSuccess ¶
type ResponseVerifyTokenSuccess struct {
Detail *string `json:"detail,omitempty"`
InviteNotApplied *bool `json:"invite_not_applied,omitempty"`
MinLength *int `json:"min_length,omitempty"`
ReturnTo *string `json:"return_to,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseVerifyTokenSuccess represents a ResponseVerifyTokenSuccess struct.
func (ResponseVerifyTokenSuccess) MarshalJSON ¶
func (r ResponseVerifyTokenSuccess) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseVerifyTokenSuccess. It customizes the JSON marshaling process for ResponseVerifyTokenSuccess objects.
func (ResponseVerifyTokenSuccess) String ¶ added in v0.4.23
func (r ResponseVerifyTokenSuccess) String() string
String implements the fmt.Stringer interface for ResponseVerifyTokenSuccess, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseVerifyTokenSuccess) UnmarshalJSON ¶
func (r *ResponseVerifyTokenSuccess) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseVerifyTokenSuccess. It customizes the JSON unmarshaling process for ResponseVerifyTokenSuccess objects.
type ResponseVirtualChassisConfig ¶
type ResponseVirtualChassisConfig struct {
ConfigType *string `json:"config_type,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Locating *bool `json:"locating,omitempty"`
Mac *string `json:"mac,omitempty"`
Members []StatsSwitchModuleStatItem `json:"members,omitempty"`
Model *string `json:"model,omitempty"`
// routing-engine count
NumRoutingEngines *int `json:"num_routing_engines,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
Serial *string `json:"serial,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Status *string `json:"status,omitempty"`
Type *string `json:"type,omitempty"`
VcMac *string `json:"vc_mac,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseVirtualChassisConfig represents a ResponseVirtualChassisConfig struct.
func (ResponseVirtualChassisConfig) MarshalJSON ¶
func (r ResponseVirtualChassisConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseVirtualChassisConfig. It customizes the JSON marshaling process for ResponseVirtualChassisConfig objects.
func (ResponseVirtualChassisConfig) String ¶ added in v0.4.23
func (r ResponseVirtualChassisConfig) String() string
String implements the fmt.Stringer interface for ResponseVirtualChassisConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseVirtualChassisConfig) UnmarshalJSON ¶
func (r *ResponseVirtualChassisConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseVirtualChassisConfig. It customizes the JSON unmarshaling process for ResponseVirtualChassisConfig objects.
type ResponseWiredCoa ¶ added in v0.2.38
type ResponseWiredCoa struct {
DeviceMac *string `json:"device_mac,omitempty"`
PortId *string `json:"port_id,omitempty"`
Session *uuid.UUID `json:"session,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseWiredCoa represents a ResponseWiredCoa struct.
func (ResponseWiredCoa) MarshalJSON ¶ added in v0.2.38
func (r ResponseWiredCoa) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseWiredCoa. It customizes the JSON marshaling process for ResponseWiredCoa objects.
func (ResponseWiredCoa) String ¶ added in v0.4.23
func (r ResponseWiredCoa) String() string
String implements the fmt.Stringer interface for ResponseWiredCoa, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseWiredCoa) UnmarshalJSON ¶ added in v0.2.38
func (r *ResponseWiredCoa) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseWiredCoa. It customizes the JSON unmarshaling process for ResponseWiredCoa objects.
type ResponseZoneSearch ¶
type ResponseZoneSearch struct {
End *float64 `json:"end,omitempty"`
Limit *int `json:"limit,omitempty"`
Next *string `json:"next,omitempty"`
Results []ResponseZoneSearchItem `json:"results,omitempty"`
Start *float64 `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseZoneSearch represents a ResponseZoneSearch struct.
func (ResponseZoneSearch) MarshalJSON ¶
func (r ResponseZoneSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseZoneSearch. It customizes the JSON marshaling process for ResponseZoneSearch objects.
func (ResponseZoneSearch) String ¶ added in v0.4.23
func (r ResponseZoneSearch) String() string
String implements the fmt.Stringer interface for ResponseZoneSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseZoneSearch) UnmarshalJSON ¶
func (r *ResponseZoneSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseZoneSearch. It customizes the JSON unmarshaling process for ResponseZoneSearch objects.
type ResponseZoneSearchItem ¶
type ResponseZoneSearchItem struct {
Enter *int `json:"enter,omitempty"`
Scope *string `json:"scope,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
User *string `json:"user,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ResponseZoneSearchItem represents a ResponseZoneSearchItem struct.
func (ResponseZoneSearchItem) MarshalJSON ¶
func (r ResponseZoneSearchItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseZoneSearchItem. It customizes the JSON marshaling process for ResponseZoneSearchItem objects.
func (ResponseZoneSearchItem) String ¶ added in v0.4.23
func (r ResponseZoneSearchItem) String() string
String implements the fmt.Stringer interface for ResponseZoneSearchItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ResponseZoneSearchItem) UnmarshalJSON ¶
func (r *ResponseZoneSearchItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseZoneSearchItem. It customizes the JSON unmarshaling process for ResponseZoneSearchItem objects.
type RfClientTypeEnum ¶
type RfClientTypeEnum string
RfClientTypeEnum is a string enum. enum: `asset`, `client`, `sdkclient`
const ( RfClientTypeEnum_ASSET RfClientTypeEnum = "asset" RfClientTypeEnum_CLIENT RfClientTypeEnum = "client" RfClientTypeEnum_SDKCLIENT RfClientTypeEnum = "sdkclient" )
type RfDiag ¶
type RfDiag struct {
// recording length in seconds, max is 180. Default value is also 180.
Duration *int `json:"duration,omitempty"`
// If `type`==`client` or `asset`, mac of the device
Mac *string `json:"mac,omitempty"`
// Name of the recording, the name of the sdk client would be a good default choice
Name string `json:"name"`
// If `type`==`sdkclient`, sdkclient_id of this recording
SdkclientId *uuid.UUID `json:"sdkclient_id,omitempty"`
// enum: `asset`, `client`, `sdkclient`
Type RfClientTypeEnum `json:"type"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RfDiag represents a RfDiag struct. RF Diag
func (RfDiag) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for RfDiag. It customizes the JSON marshaling process for RfDiag objects.
func (RfDiag) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for RfDiag, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RfDiag) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for RfDiag. It customizes the JSON unmarshaling process for RfDiag objects.
type RfDiagInfoItem ¶
type RfDiagInfoItem struct {
// If `type`==`asset`, id of the asset
AssetId *uuid.UUID `json:"asset_id,omitempty"`
// If `type`==`asset`, name of the asset
AssetName *string `json:"asset_name,omitempty"`
// If `type`==`client`, hostname of the client
ClientName *string `json:"client_name,omitempty"`
// recording length in seconds, max is 120
Duration int `json:"duration"`
// Timestamp of end of recording
EndTime int `json:"end_time"`
// Number of frames in the output
FrameCount int `json:"frame_count"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// If `type`==`client` or `asset`, mac of the device
Mac *string `json:"mac,omitempty"`
MapId uuid.UUID `json:"map_id"`
Name string `json:"name"`
// Optional. id of the next recoding if present. Only valid for site survey.
Next *string `json:"next,omitempty"`
// URL to a JSON file that contains array of raw location diag events
RawEvents string `json:"raw_events"`
// Whether it’s ready for playback
Ready bool `json:"ready"`
// If `type`==`sdkclient`, sdkclient_id of this recording
SdkclientId *uuid.UUID `json:"sdkclient_id,omitempty"`
// If `type`==`sdkclient`, name of the sdkclient
SdkclientName *string `json:"sdkclient_name,omitempty"`
// If `type`==`sdkclient`, device_id of sdkclient
SdkclientUuid *uuid.UUID `json:"sdkclient_uuid,omitempty"`
// Timestamp of the recording (the start)
StartTime int `json:"start_time"`
// enum: `asset`, `client`, `sdkclient`
Type RfClientTypeEnum `json:"type"`
// URL to a JSON file that contains an array of frames, each frame is the same format
Url string `json:"url"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RfDiagInfoItem represents a RfDiagInfoItem struct.
func (RfDiagInfoItem) MarshalJSON ¶
func (r RfDiagInfoItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RfDiagInfoItem. It customizes the JSON marshaling process for RfDiagInfoItem objects.
func (RfDiagInfoItem) String ¶ added in v0.4.23
func (r RfDiagInfoItem) String() string
String implements the fmt.Stringer interface for RfDiagInfoItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RfDiagInfoItem) UnmarshalJSON ¶
func (r *RfDiagInfoItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RfDiagInfoItem. It customizes the JSON unmarshaling process for RfDiagInfoItem objects.
type RfTemplate ¶
type RfTemplate struct {
AntGain24 *int `json:"ant_gain_24,omitempty"`
AntGain5 *int `json:"ant_gain_5,omitempty"`
AntGain6 *int `json:"ant_gain_6,omitempty"`
// Radio Band AP settings
Band24 *RftemplateRadioBand24 `json:"band_24,omitempty"`
// enum: `24`, `5`, `6`, `auto`
Band24Usage *RadioBand24UsageEnum `json:"band_24_usage,omitempty"`
// Radio Band AP settings
Band5 *RftemplateRadioBand5 `json:"band_5,omitempty"`
// Radio Band AP settings
Band5On24Radio *RftemplateRadioBand5 `json:"band_5_on_24_radio,omitempty"`
// Radio Band AP settings
Band6 *RftemplateRadioBand6 `json:"band_6,omitempty"`
// Optional, country code to use. If specified, this gets applied to all sites using the RF Template
CountryCode *string `json:"country_code,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// overwrites for a specific model. If a band is specified, it will shadow the default. Property key is the model name (e.g. "AP63")
ModelSpecific map[string]RfTemplateModelSpecificProperty `json:"model_specific,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
// The name of the RF template
Name string `json:"name"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Whether scanning radio is enabled
ScanningEnabled *bool `json:"scanning_enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RfTemplate represents a RfTemplate struct. RF Template
func (RfTemplate) MarshalJSON ¶
func (r RfTemplate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RfTemplate. It customizes the JSON marshaling process for RfTemplate objects.
func (RfTemplate) String ¶ added in v0.4.23
func (r RfTemplate) String() string
String implements the fmt.Stringer interface for RfTemplate, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RfTemplate) UnmarshalJSON ¶
func (r *RfTemplate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RfTemplate. It customizes the JSON unmarshaling process for RfTemplate objects.
type RfTemplateModelSpecificProperty ¶
type RfTemplateModelSpecificProperty struct {
AntGain24 *int `json:"ant_gain_24,omitempty"`
AntGain5 *int `json:"ant_gain_5,omitempty"`
AntGain6 *int `json:"ant_gain_6,omitempty"`
// Radio Band AP settings
Band24 *RftemplateRadioBand24 `json:"band_24,omitempty"`
// enum: `24`, `5`, `6`, `auto`
Band24Usage *RadioBand24UsageEnum `json:"band_24_usage,omitempty"`
// Radio Band AP settings
Band5 *RftemplateRadioBand5 `json:"band_5,omitempty"`
// Radio Band AP settings
Band5On24Radio *RftemplateRadioBand5 `json:"band_5_on_24_radio,omitempty"`
// Radio Band AP settings
Band6 *RftemplateRadioBand6 `json:"band_6,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RfTemplateModelSpecificProperty represents a RfTemplateModelSpecificProperty struct.
func (RfTemplateModelSpecificProperty) MarshalJSON ¶
func (r RfTemplateModelSpecificProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RfTemplateModelSpecificProperty. It customizes the JSON marshaling process for RfTemplateModelSpecificProperty objects.
func (RfTemplateModelSpecificProperty) String ¶ added in v0.4.23
func (r RfTemplateModelSpecificProperty) String() string
String implements the fmt.Stringer interface for RfTemplateModelSpecificProperty, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RfTemplateModelSpecificProperty) UnmarshalJSON ¶
func (r *RfTemplateModelSpecificProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RfTemplateModelSpecificProperty. It customizes the JSON unmarshaling process for RfTemplateModelSpecificProperty objects.
type RftemplateRadioBand24 ¶
type RftemplateRadioBand24 struct {
AllowRrmDisable *bool `json:"allow_rrm_disable,omitempty"`
AntGain Optional[int] `json:"ant_gain"`
// enum: `1x1`, `2x2`, `3x3`, `4x4`, `default`
AntennaMode *RadioBandAntennaModeEnum `json:"antenna_mode,omitempty"`
// channel width for the 2.4GHz band. enum: `0`(disabled, response only), `20`, `40`
Bandwidth *Dot11Bandwidth24Enum `json:"bandwidth,omitempty"`
// For RFTemplates. List of channels, null or empty array means auto
Channels Optional[[]int] `json:"channels"`
// Whether to disable the radio
Disabled *bool `json:"disabled,omitempty"`
// tx power of the radio, null or 0 means auto, when power_min=power_max=power=0 to indicate power=0
Power Optional[int] `json:"power"`
// When power=0, max tx power to use, HW-specific values will be used if not set
PowerMax Optional[int] `json:"power_max"`
// When power=0, min tx power to use, HW-specific values will be used if not set
PowerMin Optional[int] `json:"power_min"`
// enum: `auto`, `long`, `short`
Preamble *RadioBandPreambleEnum `json:"preamble,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RftemplateRadioBand24 represents a RftemplateRadioBand24 struct. Radio Band AP settings
func (RftemplateRadioBand24) MarshalJSON ¶
func (r RftemplateRadioBand24) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RftemplateRadioBand24. It customizes the JSON marshaling process for RftemplateRadioBand24 objects.
func (RftemplateRadioBand24) String ¶ added in v0.4.23
func (r RftemplateRadioBand24) String() string
String implements the fmt.Stringer interface for RftemplateRadioBand24, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RftemplateRadioBand24) UnmarshalJSON ¶
func (r *RftemplateRadioBand24) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RftemplateRadioBand24. It customizes the JSON unmarshaling process for RftemplateRadioBand24 objects.
type RftemplateRadioBand5 ¶
type RftemplateRadioBand5 struct {
AllowRrmDisable *bool `json:"allow_rrm_disable,omitempty"`
AntGain Optional[int] `json:"ant_gain"`
// enum: `1x1`, `2x2`, `3x3`, `4x4`, `default`
AntennaMode *RadioBandAntennaModeEnum `json:"antenna_mode,omitempty"`
// channel width for the 5GHz band. enum: `0`(disabled, response only), `20`, `40`, `80`
Bandwidth *Dot11Bandwidth5Enum `json:"bandwidth,omitempty"`
// For RFTemplates. List of channels, null or empty array means auto
Channels Optional[[]int] `json:"channels"`
// Whether to disable the radio
Disabled *bool `json:"disabled,omitempty"`
// Tx power of the radio. For Devices, 0 means auto. -1 / -2 / -3 / …: treated as 0 / -1 / -2 / …
Power Optional[int] `json:"power"`
// When power=0, max tx power to use, HW-specific values will be used if not set
PowerMax Optional[int] `json:"power_max"`
// When power=0, min tx power to use, HW-specific values will be used if not set
PowerMin Optional[int] `json:"power_min"`
// enum: `auto`, `long`, `short`
Preamble *RadioBandPreambleEnum `json:"preamble,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RftemplateRadioBand5 represents a RftemplateRadioBand5 struct. Radio Band AP settings
func (RftemplateRadioBand5) MarshalJSON ¶
func (r RftemplateRadioBand5) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RftemplateRadioBand5. It customizes the JSON marshaling process for RftemplateRadioBand5 objects.
func (RftemplateRadioBand5) String ¶ added in v0.4.23
func (r RftemplateRadioBand5) String() string
String implements the fmt.Stringer interface for RftemplateRadioBand5, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RftemplateRadioBand5) UnmarshalJSON ¶
func (r *RftemplateRadioBand5) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RftemplateRadioBand5. It customizes the JSON unmarshaling process for RftemplateRadioBand5 objects.
type RftemplateRadioBand6 ¶
type RftemplateRadioBand6 struct {
AllowRrmDisable *bool `json:"allow_rrm_disable,omitempty"`
AntGain Optional[int] `json:"ant_gain"`
// enum: `1x1`, `2x2`, `3x3`, `4x4`, `default`
AntennaMode *RadioBandAntennaModeEnum `json:"antenna_mode,omitempty"`
// channel width for the 6GHz band. enum: `0`(disabled, response only), `20`, `40`, `80`, `160`
Bandwidth *Dot11Bandwidth6Enum `json:"bandwidth,omitempty"`
// For RFTemplates. List of channels, null or empty array means auto
Channels Optional[[]int] `json:"channels"`
// Whether to disable the radio
Disabled *bool `json:"disabled,omitempty"`
// Tx power of the radio. For Devices, 0 means auto. -1 / -2 / -3 / …: treated as 0 / -1 / -2 / …
Power Optional[int] `json:"power"`
// When power=0, max tx power to use, HW-specific values will be used if not set
PowerMax Optional[int] `json:"power_max"`
// When power=0, min tx power to use, HW-specific values will be used if not set
PowerMin Optional[int] `json:"power_min"`
// enum: `auto`, `long`, `short`
Preamble *RadioBandPreambleEnum `json:"preamble,omitempty"`
// For 6GHz Only, standard-power operation, AFC (Automatic Frequency Coordination) will be performed, and we'll fall back to Low Power Indoor if AFC failed
StandardPower *bool `json:"standard_power,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RftemplateRadioBand6 represents a RftemplateRadioBand6 struct. Radio Band AP settings
func (RftemplateRadioBand6) MarshalJSON ¶
func (r RftemplateRadioBand6) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RftemplateRadioBand6. It customizes the JSON marshaling process for RftemplateRadioBand6 objects.
func (RftemplateRadioBand6) String ¶ added in v0.4.23
func (r RftemplateRadioBand6) String() string
String implements the fmt.Stringer interface for RftemplateRadioBand6, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RftemplateRadioBand6) UnmarshalJSON ¶
func (r *RftemplateRadioBand6) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RftemplateRadioBand6. It customizes the JSON unmarshaling process for RftemplateRadioBand6 objects.
type RogueDetails ¶
type RogueDetails struct {
Manufacture string `json:"manufacture"`
SeenAsClient bool `json:"seen_as_client"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RogueDetails represents a RogueDetails struct.
func (RogueDetails) MarshalJSON ¶
func (r RogueDetails) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RogueDetails. It customizes the JSON marshaling process for RogueDetails objects.
func (RogueDetails) String ¶ added in v0.4.23
func (r RogueDetails) String() string
String implements the fmt.Stringer interface for RogueDetails, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RogueDetails) UnmarshalJSON ¶
func (r *RogueDetails) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RogueDetails. It customizes the JSON unmarshaling process for RogueDetails objects.
type RogueTypeEnum ¶
type RogueTypeEnum string
RogueTypeEnum is a string enum. enum: `honeypot`, `lan`, `others`, `spoof`
const ( RogueTypeEnum_HONEYPOT RogueTypeEnum = "honeypot" RogueTypeEnum_LAN RogueTypeEnum = "lan" RogueTypeEnum_OTHERS RogueTypeEnum = "others" RogueTypeEnum_SPOOF RogueTypeEnum = "spoof" )
type RootPasswordString ¶
type RootPasswordString struct {
RootPassword string `json:"root_password"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RootPasswordString represents a RootPasswordString struct.
func (RootPasswordString) MarshalJSON ¶
func (r RootPasswordString) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RootPasswordString. It customizes the JSON marshaling process for RootPasswordString objects.
func (RootPasswordString) String ¶ added in v0.4.23
func (r RootPasswordString) String() string
String implements the fmt.Stringer interface for RootPasswordString, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RootPasswordString) UnmarshalJSON ¶
func (r *RootPasswordString) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RootPasswordString. It customizes the JSON unmarshaling process for RootPasswordString objects.
type RouteSummaryStats ¶
type RouteSummaryStats struct {
FibRoutes *int `json:"fib_routes,omitempty"`
MaxUnicastRoutesSupported *int `json:"max_unicast_routes_supported,omitempty"`
RibRoutes *int `json:"rib_routes,omitempty"`
TotalRoutes *int `json:"total_routes,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RouteSummaryStats represents a RouteSummaryStats struct.
func (RouteSummaryStats) MarshalJSON ¶
func (r RouteSummaryStats) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RouteSummaryStats. It customizes the JSON marshaling process for RouteSummaryStats objects.
func (RouteSummaryStats) String ¶ added in v0.4.23
func (r RouteSummaryStats) String() string
String implements the fmt.Stringer interface for RouteSummaryStats, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RouteSummaryStats) UnmarshalJSON ¶
func (r *RouteSummaryStats) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RouteSummaryStats. It customizes the JSON unmarshaling process for RouteSummaryStats objects.
type RoutingPolicyLocalPreference ¶ added in v0.4.98
type RoutingPolicyLocalPreference struct {
// contains filtered or unexported fields
}
RoutingPolicyLocalPreference represents a RoutingPolicyLocalPreference struct. Optional, for an import policy, local_preference can be changed, value in range 1-4294967294. Can be a Variable (e.g. `{{bgp_as}}`)
func (*RoutingPolicyLocalPreference) AsNumber ¶ added in v0.4.98
func (r *RoutingPolicyLocalPreference) AsNumber() ( *int, bool)
func (*RoutingPolicyLocalPreference) AsString ¶ added in v0.4.98
func (r *RoutingPolicyLocalPreference) AsString() ( *string, bool)
func (RoutingPolicyLocalPreference) MarshalJSON ¶ added in v0.4.98
func (r RoutingPolicyLocalPreference) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RoutingPolicyLocalPreference. It customizes the JSON marshaling process for RoutingPolicyLocalPreference objects.
func (RoutingPolicyLocalPreference) String ¶ added in v0.4.98
func (r RoutingPolicyLocalPreference) String() string
String implements the fmt.Stringer interface for RoutingPolicyLocalPreference, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RoutingPolicyLocalPreference) UnmarshalJSON ¶ added in v0.4.98
func (r *RoutingPolicyLocalPreference) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RoutingPolicyLocalPreference. It customizes the JSON unmarshaling process for RoutingPolicyLocalPreference objects.
type Rrm ¶
type Rrm struct {
// proposal on band 2.4G, key is ap_id, value is the proposal
Band24 map[string]RrmBand `json:"band_24"`
Band24Metric RrmBandMetric `json:"band_24_metric"`
// proposal on band 5G, key is ap_id, value is the proposal
Band5 map[string]RrmBand `json:"band_5"`
Band5Metric RrmBandMetric `json:"band_5_metric"`
// proposal on band 6G, key is ap_id, value is the proposal
Band6 map[string]RrmBand `json:"band_6,omitempty"`
Band6Metric *RrmBandMetric `json:"band_6_metric,omitempty"`
// RF Template
Rftemplate RfTemplate `json:"rftemplate"`
RftemplateId uuid.UUID `json:"rftemplate_id"`
RftemplateName string `json:"rftemplate_name"`
// enum: `ready`, `unknown`, `updating`
Status RrmStatusEnum `json:"status"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Rrm represents a Rrm struct. RRM
func (Rrm) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Rrm. It customizes the JSON marshaling process for Rrm objects.
func (Rrm) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Rrm, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Rrm) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Rrm. It customizes the JSON unmarshaling process for Rrm objects.
type RrmBand ¶
type RrmBand struct {
// channel width for the band.enum: `0`(disabled, response only), `20`, `40`, `80` (only applicable for band_5 and band_6), `160` (only for band_6)
Bandwidth *Dot11BandwidthEnum `json:"bandwidth,omitempty"`
// proposed channel
Channel *int `json:"channel,omitempty"`
// channel width for the band.enum: `0`(disabled, response only), `20`, `40`, `80` (only applicable for band_5 and band_6), `160` (only for band_6)
CurrBandwidth *Dot11BandwidthEnum `json:"curr_bandwidth,omitempty"`
// Current channel
CurrChannel *int `json:"curr_channel,omitempty"`
// Current tx power
CurrPower *int `json:"curr_power,omitempty"`
// Current radio band
CurrUsage *string `json:"curr_usage,omitempty"`
// proposed tx power
Power *int `json:"power,omitempty"`
// proposed radio band
Usage *string `json:"usage,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RrmBand represents a RrmBand struct.
func (RrmBand) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for RrmBand. It customizes the JSON marshaling process for RrmBand objects.
func (RrmBand) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for RrmBand, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RrmBand) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for RrmBand. It customizes the JSON unmarshaling process for RrmBand objects.
type RrmBandMetric ¶
type RrmBandMetric struct {
// Average number of APs per channel
AvgApsPerChannel *float64 `json:"avg_aps_per_channel,omitempty"`
// Distribution of channel across the Access Points
ChannelDistributionUniformity *float64 `json:"channel_distribution_uniformity,omitempty"`
// Average number of co-channel neighbors
CochannelNeighbors float64 `json:"cochannel_neighbors"`
// defined by how APs can hear from one and another, 0 - 1 (everyone can hear everyone)
Density float64 `json:"density"`
// Property key is the channel number
Interferences map[string]RrmBandMetricInterference `json:"interferences,omitempty"`
// Property key is the channel number, value is number of APs on that channel
NapsByChannel map[string]float64 `json:"naps_by_channel,omitempty"`
// Property key is the power level, value is number of APs on that power level
NapsByPower map[string]float64 `json:"naps_by_power,omitempty"`
// Average number of neighbors
Neighbors float64 `json:"neighbors"`
// Average noise in dBm
Noise float64 `json:"noise"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RrmBandMetric represents a RrmBandMetric struct.
func (RrmBandMetric) MarshalJSON ¶
func (r RrmBandMetric) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RrmBandMetric. It customizes the JSON marshaling process for RrmBandMetric objects.
func (RrmBandMetric) String ¶ added in v0.4.23
func (r RrmBandMetric) String() string
String implements the fmt.Stringer interface for RrmBandMetric, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RrmBandMetric) UnmarshalJSON ¶
func (r *RrmBandMetric) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RrmBandMetric. It customizes the JSON unmarshaling process for RrmBandMetric objects.
type RrmBandMetricInterference ¶
type RrmBandMetricInterference struct {
Radar *float64 `json:"radar,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RrmBandMetricInterference represents a RrmBandMetricInterference struct.
func (RrmBandMetricInterference) MarshalJSON ¶
func (r RrmBandMetricInterference) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RrmBandMetricInterference. It customizes the JSON marshaling process for RrmBandMetricInterference objects.
func (RrmBandMetricInterference) String ¶ added in v0.4.23
func (r RrmBandMetricInterference) String() string
String implements the fmt.Stringer interface for RrmBandMetricInterference, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RrmBandMetricInterference) UnmarshalJSON ¶
func (r *RrmBandMetricInterference) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RrmBandMetricInterference. It customizes the JSON unmarshaling process for RrmBandMetricInterference objects.
type RrmConsideration ¶
type RrmConsideration struct {
Channel int `json:"channel"`
Noise float64 `json:"noise"`
// Avg RSSI heard from other APs (that does NOT belongs to the same site)
OtherRssi *float64 `json:"other_rssi,omitempty"`
// SSID from other AP that we heard from with the max RSSI
OtherSsid *string `json:"other_ssid,omitempty"`
// Avg RSSI heard from APs (that belongs to the same site)
Rssi *float64 `json:"rssi,omitempty"`
// utilization score, 0-1, lower means less utilization (cleaner RF)
UtilScore float64 `json:"util_score"`
// non-Wi-Fi utilization score, 0-1, lower means less utilization (cleaner RF)
UtilScoreNonWifi float64 `json:"util_score_non_wifi"`
// other utilization score, 0-1, lower means less utilization (cleaner RF)
UtilScoreOther float64 `json:"util_score_other"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RrmConsideration represents a RrmConsideration struct.
func (RrmConsideration) MarshalJSON ¶
func (r RrmConsideration) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RrmConsideration. It customizes the JSON marshaling process for RrmConsideration objects.
func (RrmConsideration) String ¶ added in v0.4.23
func (r RrmConsideration) String() string
String implements the fmt.Stringer interface for RrmConsideration, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RrmConsideration) UnmarshalJSON ¶
func (r *RrmConsideration) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RrmConsideration. It customizes the JSON unmarshaling process for RrmConsideration objects.
type RrmEvent ¶
type RrmEvent struct {
ApId uuid.UUID `json:"ap_id"`
// enum: `24`, `5`, `6`
Band Dot11BandEnum `json:"band"`
// channel width for the band.enum: `0`(disabled, response only), `20`, `40`, `80` (only applicable for band_5 and band_6), `160` (only for band_6)
Bandwidth Dot11BandwidthEnum `json:"bandwidth"`
// Channel for the band from rrm
Channel int `json:"channel"`
// enum: `interference-ap-co-channel`, `interference-ap-non-wifi`, `neighbor-ap-down`, `neighbor-ap-recovered`, `radar-detected`, `rrm-radar`, `scheduled-site_rrm`, `triggered-site_rrm`
Event RrmEventTypeEnum `json:"event"`
// Tx power of the radio
Power int `json:"power"`
// (previously) channel width for the band , 0 means no previously available. enum: `0`, `20`, `40`, `80`, `160`
PreBandwidth RrmEventPreBandwidthEnum `json:"pre_bandwidth"`
// (previously) channel for the band, 0 means no previously available
PreChannel int `json:"pre_channel"`
// (previously) tx power of the radio, 0 means no previously available
PrePower float64 `json:"pre_power"`
PreUsage string `json:"pre_usage"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
Usage string `json:"usage"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RrmEvent represents a RrmEvent struct.
func (RrmEvent) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for RrmEvent. It customizes the JSON marshaling process for RrmEvent objects.
func (RrmEvent) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for RrmEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RrmEvent) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for RrmEvent. It customizes the JSON unmarshaling process for RrmEvent objects.
type RrmEventPreBandwidthEnum ¶
type RrmEventPreBandwidthEnum int
RrmEventPreBandwidthEnum is a int enum. (previously) channel width for the band , 0 means no previously available. enum: `0`, `20`, `40`, `80`, `160`
const ( RrmEventPreBandwidthEnum_ENUM0 RrmEventPreBandwidthEnum = 0 RrmEventPreBandwidthEnum_ENUM20 RrmEventPreBandwidthEnum = 20 RrmEventPreBandwidthEnum_ENUM40 RrmEventPreBandwidthEnum = 40 RrmEventPreBandwidthEnum_ENUM80 RrmEventPreBandwidthEnum = 80 RrmEventPreBandwidthEnum_ENUM160 RrmEventPreBandwidthEnum = 160 )
type RrmEventTypeEnum ¶
type RrmEventTypeEnum string
RrmEventTypeEnum is a string enum. enum: `interference-ap-co-channel`, `interference-ap-non-wifi`, `neighbor-ap-down`, `neighbor-ap-recovered`, `radar-detected`, `rrm-radar`, `scheduled-site_rrm`, `triggered-site_rrm`
const ( RrmEventTypeEnum_INTERFERENCEAPCOCHANNEL RrmEventTypeEnum = "interference-ap-co-channel" RrmEventTypeEnum_INTERFERENCEAPNONWIFI RrmEventTypeEnum = "interference-ap-non-wifi" RrmEventTypeEnum_NEIGHBORAPDOWN RrmEventTypeEnum = "neighbor-ap-down" RrmEventTypeEnum_NEIGHBORAPRECOVERED RrmEventTypeEnum = "neighbor-ap-recovered" RrmEventTypeEnum_RADARDETECTED RrmEventTypeEnum = "radar-detected" RrmEventTypeEnum_RRMRADAR RrmEventTypeEnum = "rrm-radar" RrmEventTypeEnum_SCHEDULEDSITERRM RrmEventTypeEnum = "scheduled-site_rrm" RrmEventTypeEnum_TRIGGEREDSITERRM RrmEventTypeEnum = "triggered-site_rrm" )
type RrmNeighbors ¶
type RrmNeighbors struct {
Mac *string `json:"mac,omitempty"`
Neighbors []RrmNeighborsNeighbor `json:"neighbors,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RrmNeighbors represents a RrmNeighbors struct.
func (RrmNeighbors) MarshalJSON ¶
func (r RrmNeighbors) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RrmNeighbors. It customizes the JSON marshaling process for RrmNeighbors objects.
func (RrmNeighbors) String ¶ added in v0.4.23
func (r RrmNeighbors) String() string
String implements the fmt.Stringer interface for RrmNeighbors, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RrmNeighbors) UnmarshalJSON ¶
func (r *RrmNeighbors) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RrmNeighbors. It customizes the JSON unmarshaling process for RrmNeighbors objects.
type RrmNeighborsNeighbor ¶
type RrmNeighborsNeighbor struct {
Mac *string `json:"mac,omitempty"`
Rssi *int `json:"rssi,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RrmNeighborsNeighbor represents a RrmNeighborsNeighbor struct.
func (RrmNeighborsNeighbor) MarshalJSON ¶
func (r RrmNeighborsNeighbor) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RrmNeighborsNeighbor. It customizes the JSON marshaling process for RrmNeighborsNeighbor objects.
func (RrmNeighborsNeighbor) String ¶ added in v0.4.23
func (r RrmNeighborsNeighbor) String() string
String implements the fmt.Stringer interface for RrmNeighborsNeighbor, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RrmNeighborsNeighbor) UnmarshalJSON ¶
func (r *RrmNeighborsNeighbor) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RrmNeighborsNeighbor. It customizes the JSON unmarshaling process for RrmNeighborsNeighbor objects.
type RrmStatusEnum ¶
type RrmStatusEnum string
RrmStatusEnum is a string enum. enum: `ready`, `unknown`, `updating`
const ( RrmStatusEnum_READY RrmStatusEnum = "ready" RrmStatusEnum_UNKNOWN RrmStatusEnum = "unknown" RrmStatusEnum_UPDATING RrmStatusEnum = "updating" )
type RssiZone ¶
type RssiZone struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// List of devices and the respective RSSI values to be considered in the zone
Devices []RssiZoneDevice `json:"devices"`
ForSite *bool `json:"for_site,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
// The name of the zone
Name *string `json:"name,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RssiZone represents a RssiZone struct. RSSI Zone
func (RssiZone) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for RssiZone. It customizes the JSON marshaling process for RssiZone objects.
func (RssiZone) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for RssiZone, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RssiZone) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for RssiZone. It customizes the JSON unmarshaling process for RssiZone objects.
type RssiZoneDevice ¶
type RssiZoneDevice struct {
DeviceId uuid.UUID `json:"device_id"`
// RSSI threshold
Rssi int `json:"rssi"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RssiZoneDevice represents a RssiZoneDevice struct.
func (RssiZoneDevice) MarshalJSON ¶
func (r RssiZoneDevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RssiZoneDevice. It customizes the JSON marshaling process for RssiZoneDevice objects.
func (RssiZoneDevice) String ¶ added in v0.4.23
func (r RssiZoneDevice) String() string
String implements the fmt.Stringer interface for RssiZoneDevice, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RssiZoneDevice) UnmarshalJSON ¶
func (r *RssiZoneDevice) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RssiZoneDevice. It customizes the JSON unmarshaling process for RssiZoneDevice objects.
type SamlMetadata ¶ added in v0.4.0
type SamlMetadata struct {
// If `idp_type`==`saml`
AcsUrl *string `json:"acs_url,omitempty"`
// If `idp_type`==`saml`
EntityId *string `json:"entity_id,omitempty"`
// If `idp_type`==`saml`
LogoutUrl *string `json:"logout_url,omitempty"`
// If `idp_type`==`saml`
Metadata *string `json:"metadata,omitempty"`
// If `idp_type`==`oauth` and `scim_enabled`==`true`
ScimBaseUrl *string `json:"scim_base_url,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SamlMetadata represents a SamlMetadata struct.
func (SamlMetadata) MarshalJSON ¶ added in v0.4.0
func (s SamlMetadata) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SamlMetadata. It customizes the JSON marshaling process for SamlMetadata objects.
func (SamlMetadata) String ¶ added in v0.4.23
func (s SamlMetadata) String() string
String implements the fmt.Stringer interface for SamlMetadata, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SamlMetadata) UnmarshalJSON ¶ added in v0.4.0
func (s *SamlMetadata) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SamlMetadata. It customizes the JSON unmarshaling process for SamlMetadata objects.
type ScanDataItemBandEnum ¶
type ScanDataItemBandEnum string
ScanDataItemBandEnum is a string enum. 5GHz or 2.4GHz band, associated with the BSSID scanned. enum: `2.4`, `5`
const ( ScanDataItemBandEnum_ENUM24 ScanDataItemBandEnum = "2.4" ScanDataItemBandEnum_ENUM5 ScanDataItemBandEnum = "5" )
type SdkInviteSms ¶
type SdkInviteSms struct {
Number string `json:"number"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SdkInviteSms represents a SdkInviteSms struct.
func (SdkInviteSms) MarshalJSON ¶
func (s SdkInviteSms) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SdkInviteSms. It customizes the JSON marshaling process for SdkInviteSms objects.
func (SdkInviteSms) String ¶ added in v0.4.23
func (s SdkInviteSms) String() string
String implements the fmt.Stringer interface for SdkInviteSms, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SdkInviteSms) UnmarshalJSON ¶
func (s *SdkInviteSms) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SdkInviteSms. It customizes the JSON unmarshaling process for SdkInviteSms objects.
type Sdkinvite ¶
type Sdkinvite struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
ExpireTime *int `json:"expire_time,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
// Name, will show up in mobile
Name string `json:"name"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Number of time this invite can be used
Quota *int `json:"quota,omitempty"`
// Whether quota limiting is enabled
QuotaLimited *bool `json:"quota_limited,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Sdkinvite represents a Sdkinvite struct. SDK invite
func (Sdkinvite) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Sdkinvite. It customizes the JSON marshaling process for Sdkinvite objects.
func (Sdkinvite) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Sdkinvite, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Sdkinvite) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Sdkinvite. It customizes the JSON unmarshaling process for Sdkinvite objects.
type SdkstatsWirelessClient ¶
type SdkstatsWirelessClient struct {
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
// Last seen timestamp
LastSeen Optional[float64] `json:"last_seen"`
// Map_id of the sdk client (if known), or null
MapId Optional[uuid.UUID] `json:"map_id"`
// Name of the sdk client (if provided)
Name *string `json:"name,omitempty"`
// Various network connection info for the SDK client (if known, else omitted), with RSSI in dBm, and signal level as
NetworkConnection *StatsSdkclientNetworkConnection `json:"network_connection,omitempty"`
// UUID of the sdk client
Uuid uuid.UUID `json:"uuid"`
// List of beacon_id’s of the sdk client is in and since when (if known)
Vbeacons []SdkstatsWirelessClientVbeacon `json:"vbeacons,omitempty"`
// X (in pixels) of user location on the map (if known)
X *float64 `json:"x,omitempty"`
// Y (in pixels) of user location on the map (if known)
Y *float64 `json:"y,omitempty"`
// List of zone_id’s of the sdk client is in and since when (if known)
Zones []SdkstatsWirelessClientZone `json:"zones,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SdkstatsWirelessClient represents a SdkstatsWirelessClient struct. SDK Client Details statistics
func (SdkstatsWirelessClient) MarshalJSON ¶
func (s SdkstatsWirelessClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SdkstatsWirelessClient. It customizes the JSON marshaling process for SdkstatsWirelessClient objects.
func (SdkstatsWirelessClient) String ¶ added in v0.4.23
func (s SdkstatsWirelessClient) String() string
String implements the fmt.Stringer interface for SdkstatsWirelessClient, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SdkstatsWirelessClient) UnmarshalJSON ¶
func (s *SdkstatsWirelessClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SdkstatsWirelessClient. It customizes the JSON unmarshaling process for SdkstatsWirelessClient objects.
type SdkstatsWirelessClientVbeacon ¶ added in v0.3.0
type SdkstatsWirelessClientVbeacon struct {
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
Since float64 `json:"since"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SdkstatsWirelessClientVbeacon represents a SdkstatsWirelessClientVbeacon struct.
func (SdkstatsWirelessClientVbeacon) MarshalJSON ¶ added in v0.3.0
func (s SdkstatsWirelessClientVbeacon) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SdkstatsWirelessClientVbeacon. It customizes the JSON marshaling process for SdkstatsWirelessClientVbeacon objects.
func (SdkstatsWirelessClientVbeacon) String ¶ added in v0.4.23
func (s SdkstatsWirelessClientVbeacon) String() string
String implements the fmt.Stringer interface for SdkstatsWirelessClientVbeacon, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SdkstatsWirelessClientVbeacon) UnmarshalJSON ¶ added in v0.3.0
func (s *SdkstatsWirelessClientVbeacon) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SdkstatsWirelessClientVbeacon. It customizes the JSON unmarshaling process for SdkstatsWirelessClientVbeacon objects.
type SdkstatsWirelessClientZone ¶ added in v0.3.0
type SdkstatsWirelessClientZone struct {
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
Since float64 `json:"since"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SdkstatsWirelessClientZone represents a SdkstatsWirelessClientZone struct.
func (SdkstatsWirelessClientZone) MarshalJSON ¶ added in v0.3.0
func (s SdkstatsWirelessClientZone) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SdkstatsWirelessClientZone. It customizes the JSON marshaling process for SdkstatsWirelessClientZone objects.
func (SdkstatsWirelessClientZone) String ¶ added in v0.4.23
func (s SdkstatsWirelessClientZone) String() string
String implements the fmt.Stringer interface for SdkstatsWirelessClientZone, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SdkstatsWirelessClientZone) UnmarshalJSON ¶ added in v0.3.0
func (s *SdkstatsWirelessClientZone) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SdkstatsWirelessClientZone. It customizes the JSON unmarshaling process for SdkstatsWirelessClientZone objects.
type Sdktemplate ¶
type Sdktemplate struct {
BgImage *string `json:"bg_image,omitempty"`
BtnFlrBgcolor *string `json:"btn_flr_bgcolor,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// Whether this is the default template when there are multiple templates
Default *bool `json:"default,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
HeaderTxt *string `json:"header_txt,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
// Name for identification purpose
Name string `json:"name"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
SearchTxtcolor *string `json:"search_txtcolor,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
WelcomeMsg *string `json:"welcome_msg,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Sdktemplate represents a Sdktemplate struct. SDK Template
func (Sdktemplate) MarshalJSON ¶
func (s Sdktemplate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for Sdktemplate. It customizes the JSON marshaling process for Sdktemplate objects.
func (Sdktemplate) String ¶ added in v0.4.23
func (s Sdktemplate) String() string
String implements the fmt.Stringer interface for Sdktemplate, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Sdktemplate) UnmarshalJSON ¶
func (s *Sdktemplate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for Sdktemplate. It customizes the JSON unmarshaling process for Sdktemplate objects.
type SearchEventsWanClient ¶
type SearchEventsWanClient struct {
End *int `json:"end,omitempty"`
Limit *int `json:"limit,omitempty"`
Next *string `json:"next,omitempty"`
Results *EventsClientWan `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SearchEventsWanClient represents a SearchEventsWanClient struct.
func (SearchEventsWanClient) MarshalJSON ¶
func (s SearchEventsWanClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SearchEventsWanClient. It customizes the JSON marshaling process for SearchEventsWanClient objects.
func (SearchEventsWanClient) String ¶ added in v0.4.23
func (s SearchEventsWanClient) String() string
String implements the fmt.Stringer interface for SearchEventsWanClient, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SearchEventsWanClient) UnmarshalJSON ¶
func (s *SearchEventsWanClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SearchEventsWanClient. It customizes the JSON unmarshaling process for SearchEventsWanClient objects.
type SearchMxedge ¶ added in v0.4.94
type SearchMxedge struct {
Distro *string `json:"distro,omitempty"`
LastSeen *float64 `json:"last_seen,omitempty"`
Model *string `json:"model,omitempty"`
// Unique ID of the object instance in the Mist Organization
MxclusterId *uuid.UUID `json:"mxcluster_id,omitempty"`
// Unique ID of the object instance in the Mist Organization
MxedgeId *uuid.UUID `json:"mxedge_id,omitempty"`
// The name of the tunnel
Name *string `json:"name,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
TuntermVersion *string `json:"tunterm_version,omitempty"`
Uptime *int `json:"uptime,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SearchMxedge represents a SearchMxedge struct.
func (SearchMxedge) MarshalJSON ¶ added in v0.4.94
func (s SearchMxedge) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SearchMxedge. It customizes the JSON marshaling process for SearchMxedge objects.
func (SearchMxedge) String ¶ added in v0.4.94
func (s SearchMxedge) String() string
String implements the fmt.Stringer interface for SearchMxedge, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SearchMxedge) UnmarshalJSON ¶ added in v0.4.94
func (s *SearchMxedge) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SearchMxedge. It customizes the JSON unmarshaling process for SearchMxedge objects.
type SearchOrgDevicesMxtunnelStatusEnum ¶
type SearchOrgDevicesMxtunnelStatusEnum string
SearchOrgDevicesMxtunnelStatusEnum is a string enum. enum: `down`, `up`
const ( SearchOrgDevicesMxtunnelStatusEnum_DOWN SearchOrgDevicesMxtunnelStatusEnum = "down" SearchOrgDevicesMxtunnelStatusEnum_UP SearchOrgDevicesMxtunnelStatusEnum = "up" )
type SearchOrgSwOrGwPortsAuthStateEnum ¶
type SearchOrgSwOrGwPortsAuthStateEnum string
SearchOrgSwOrGwPortsAuthStateEnum is a string enum. enum: `authenticated`, `authenticating`, `held`, `init`
const ( SearchOrgSwOrGwPortsAuthStateEnum_AUTHENTICATED SearchOrgSwOrGwPortsAuthStateEnum = "authenticated" SearchOrgSwOrGwPortsAuthStateEnum_AUTHENTICATING SearchOrgSwOrGwPortsAuthStateEnum = "authenticating" SearchOrgSwOrGwPortsAuthStateEnum_HELD SearchOrgSwOrGwPortsAuthStateEnum = "held" SearchOrgSwOrGwPortsAuthStateEnum_INIT SearchOrgSwOrGwPortsAuthStateEnum = "init" )
type SearchOrgSwOrGwPortsStpRoleEnum ¶
type SearchOrgSwOrGwPortsStpRoleEnum string
SearchOrgSwOrGwPortsStpRoleEnum is a string enum. enum: `alternate`, `backup`, `designated`, `root`, `root-prevented`
const ( SearchOrgSwOrGwPortsStpRoleEnum_ALTERNATE SearchOrgSwOrGwPortsStpRoleEnum = "alternate" SearchOrgSwOrGwPortsStpRoleEnum_BACKUP SearchOrgSwOrGwPortsStpRoleEnum = "backup" SearchOrgSwOrGwPortsStpRoleEnum_DESIGNATED SearchOrgSwOrGwPortsStpRoleEnum = "designated" SearchOrgSwOrGwPortsStpRoleEnum_ROOT SearchOrgSwOrGwPortsStpRoleEnum = "root" SearchOrgSwOrGwPortsStpRoleEnum_ROOTPREVENTED SearchOrgSwOrGwPortsStpRoleEnum = "root-prevented" )
type SearchOrgSwOrGwPortsStpStateEnum ¶
type SearchOrgSwOrGwPortsStpStateEnum string
SearchOrgSwOrGwPortsStpStateEnum is a string enum. enum: `blocking`, `disabled`, `forwarding`, `learning`, `listening`
const ( SearchOrgSwOrGwPortsStpStateEnum_BLOCKING SearchOrgSwOrGwPortsStpStateEnum = "blocking" SearchOrgSwOrGwPortsStpStateEnum_DISABLED SearchOrgSwOrGwPortsStpStateEnum = "disabled" SearchOrgSwOrGwPortsStpStateEnum_FORWARDING SearchOrgSwOrGwPortsStpStateEnum = "forwarding" SearchOrgSwOrGwPortsStpStateEnum_LEARNING SearchOrgSwOrGwPortsStpStateEnum = "learning" SearchOrgSwOrGwPortsStpStateEnum_LISTENING SearchOrgSwOrGwPortsStpStateEnum = "listening" )
type SearchOrgSwOrGwPortsTypeEnum ¶ added in v0.4.74
type SearchOrgSwOrGwPortsTypeEnum string
SearchOrgSwOrGwPortsTypeEnum is a string enum. enum: `switch`, `gateway`, `all`
const ( SearchOrgSwOrGwPortsTypeEnum_ENUMSWITCH SearchOrgSwOrGwPortsTypeEnum = "switch" SearchOrgSwOrGwPortsTypeEnum_GATEWAY SearchOrgSwOrGwPortsTypeEnum = "gateway" SearchOrgSwOrGwPortsTypeEnum_ALL SearchOrgSwOrGwPortsTypeEnum = "all" )
type SearchSiteDevicesDescSortEnum ¶
type SearchSiteDevicesDescSortEnum string
SearchSiteDevicesDescSortEnum is a string enum. enum: `mac`, `model`, `sku`, `timestamp`
const ( SearchSiteDevicesDescSortEnum_MAC SearchSiteDevicesDescSortEnum = "mac" SearchSiteDevicesDescSortEnum_MODEL SearchSiteDevicesDescSortEnum = "model" SearchSiteDevicesDescSortEnum_SKU SearchSiteDevicesDescSortEnum = "sku" SearchSiteDevicesDescSortEnum_TIMESTAMP SearchSiteDevicesDescSortEnum = "timestamp" )
type SearchSiteDevicesMxtunnelStatusEnum ¶
type SearchSiteDevicesMxtunnelStatusEnum string
SearchSiteDevicesMxtunnelStatusEnum is a string enum. enum: `down`, `up`
const ( SearchSiteDevicesMxtunnelStatusEnum_DOWN SearchSiteDevicesMxtunnelStatusEnum = "down" SearchSiteDevicesMxtunnelStatusEnum_UP SearchSiteDevicesMxtunnelStatusEnum = "up" )
type SearchSiteDevicesSortEnum ¶
type SearchSiteDevicesSortEnum string
SearchSiteDevicesSortEnum is a string enum. enum: `mac`, `model`, `sku`, `timestamp`
const ( SearchSiteDevicesSortEnum_MAC SearchSiteDevicesSortEnum = "mac" SearchSiteDevicesSortEnum_MODEL SearchSiteDevicesSortEnum = "model" SearchSiteDevicesSortEnum_SKU SearchSiteDevicesSortEnum = "sku" SearchSiteDevicesSortEnum_TIMESTAMP SearchSiteDevicesSortEnum = "timestamp" )
type SearchSiteSwOrGwPortsAuthStateEnum ¶
type SearchSiteSwOrGwPortsAuthStateEnum string
SearchSiteSwOrGwPortsAuthStateEnum is a string enum. enum: `authenticated`, `authenticating`, `held`, `init`
const ( SearchSiteSwOrGwPortsAuthStateEnum_AUTHENTICATED SearchSiteSwOrGwPortsAuthStateEnum = "authenticated" SearchSiteSwOrGwPortsAuthStateEnum_AUTHENTICATING SearchSiteSwOrGwPortsAuthStateEnum = "authenticating" SearchSiteSwOrGwPortsAuthStateEnum_HELD SearchSiteSwOrGwPortsAuthStateEnum = "held" SearchSiteSwOrGwPortsAuthStateEnum_INIT SearchSiteSwOrGwPortsAuthStateEnum = "init" )
type SearchSiteSwOrGwPortsDeviceTypeEnum ¶
type SearchSiteSwOrGwPortsDeviceTypeEnum string
SearchSiteSwOrGwPortsDeviceTypeEnum is a string enum. enum: `ap`, `ble`, `gateway`, `mxedge`, `nac`, `switch`
const ( SearchSiteSwOrGwPortsDeviceTypeEnum_AP SearchSiteSwOrGwPortsDeviceTypeEnum = "ap" SearchSiteSwOrGwPortsDeviceTypeEnum_BLE SearchSiteSwOrGwPortsDeviceTypeEnum = "ble" SearchSiteSwOrGwPortsDeviceTypeEnum_GATEWAY SearchSiteSwOrGwPortsDeviceTypeEnum = "gateway" SearchSiteSwOrGwPortsDeviceTypeEnum_MXEDGE SearchSiteSwOrGwPortsDeviceTypeEnum = "mxedge" SearchSiteSwOrGwPortsDeviceTypeEnum_NAC SearchSiteSwOrGwPortsDeviceTypeEnum = "nac" SearchSiteSwOrGwPortsDeviceTypeEnum_ENUMSWITCH SearchSiteSwOrGwPortsDeviceTypeEnum = "switch" )
type SearchSiteSwOrGwPortsStpRoleEnum ¶
type SearchSiteSwOrGwPortsStpRoleEnum string
SearchSiteSwOrGwPortsStpRoleEnum is a string enum. enum: `alternate`, `backup`, `designated`, `root`, `root-prevented`
const ( SearchSiteSwOrGwPortsStpRoleEnum_ALTERNATE SearchSiteSwOrGwPortsStpRoleEnum = "alternate" SearchSiteSwOrGwPortsStpRoleEnum_BACKUP SearchSiteSwOrGwPortsStpRoleEnum = "backup" SearchSiteSwOrGwPortsStpRoleEnum_DESIGNATED SearchSiteSwOrGwPortsStpRoleEnum = "designated" SearchSiteSwOrGwPortsStpRoleEnum_ROOT SearchSiteSwOrGwPortsStpRoleEnum = "root" SearchSiteSwOrGwPortsStpRoleEnum_ROOTPREVENTED SearchSiteSwOrGwPortsStpRoleEnum = "root-prevented" )
type SearchSiteSwOrGwPortsStpStateEnum ¶
type SearchSiteSwOrGwPortsStpStateEnum string
SearchSiteSwOrGwPortsStpStateEnum is a string enum. enum: `blocking`, `disabled`, `forwarding`, `learning`, `listening`
const ( SearchSiteSwOrGwPortsStpStateEnum_BLOCKING SearchSiteSwOrGwPortsStpStateEnum = "blocking" SearchSiteSwOrGwPortsStpStateEnum_DISABLED SearchSiteSwOrGwPortsStpStateEnum = "disabled" SearchSiteSwOrGwPortsStpStateEnum_FORWARDING SearchSiteSwOrGwPortsStpStateEnum = "forwarding" SearchSiteSwOrGwPortsStpStateEnum_LEARNING SearchSiteSwOrGwPortsStpStateEnum = "learning" SearchSiteSwOrGwPortsStpStateEnum_LISTENING SearchSiteSwOrGwPortsStpStateEnum = "listening" )
type SearchWanClient ¶
type SearchWanClient struct {
End *int `json:"end,omitempty"`
Limit *int `json:"limit,omitempty"`
Next *string `json:"next,omitempty"`
Results []StatsWanClient `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SearchWanClient represents a SearchWanClient struct.
func (SearchWanClient) MarshalJSON ¶
func (s SearchWanClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SearchWanClient. It customizes the JSON marshaling process for SearchWanClient objects.
func (SearchWanClient) String ¶ added in v0.4.23
func (s SearchWanClient) String() string
String implements the fmt.Stringer interface for SearchWanClient, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SearchWanClient) UnmarshalJSON ¶
func (s *SearchWanClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SearchWanClient. It customizes the JSON unmarshaling process for SearchWanClient objects.
type SearchWanUsage ¶
type SearchWanUsage struct {
End *float64 `json:"end,omitempty"`
Limit *int `json:"limit,omitempty"`
Results []WanUsages `json:"results,omitempty"`
Start *float64 `json:"start,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SearchWanUsage represents a SearchWanUsage struct.
func (SearchWanUsage) MarshalJSON ¶
func (s SearchWanUsage) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SearchWanUsage. It customizes the JSON marshaling process for SearchWanUsage objects.
func (SearchWanUsage) String ¶ added in v0.4.23
func (s SearchWanUsage) String() string
String implements the fmt.Stringer interface for SearchWanUsage, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SearchWanUsage) UnmarshalJSON ¶
func (s *SearchWanUsage) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SearchWanUsage. It customizes the JSON unmarshaling process for SearchWanUsage objects.
type SearchWebhookDelivery ¶
type SearchWebhookDelivery struct {
End *int `json:"end,omitempty"`
Limit *int `json:"limit,omitempty"`
Next *string `json:"next,omitempty"`
Results []WebhookDelivery `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SearchWebhookDelivery represents a SearchWebhookDelivery struct.
func (SearchWebhookDelivery) MarshalJSON ¶
func (s SearchWebhookDelivery) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SearchWebhookDelivery. It customizes the JSON marshaling process for SearchWebhookDelivery objects.
func (SearchWebhookDelivery) String ¶ added in v0.4.23
func (s SearchWebhookDelivery) String() string
String implements the fmt.Stringer interface for SearchWebhookDelivery, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SearchWebhookDelivery) UnmarshalJSON ¶
func (s *SearchWebhookDelivery) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SearchWebhookDelivery. It customizes the JSON unmarshaling process for SearchWebhookDelivery objects.
type SearchWiredClient ¶
type SearchWiredClient struct {
End float64 `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []WiredClientResponse `json:"results"`
Start float64 `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SearchWiredClient represents a SearchWiredClient struct.
func (SearchWiredClient) MarshalJSON ¶
func (s SearchWiredClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SearchWiredClient. It customizes the JSON marshaling process for SearchWiredClient objects.
func (SearchWiredClient) String ¶ added in v0.4.23
func (s SearchWiredClient) String() string
String implements the fmt.Stringer interface for SearchWiredClient, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SearchWiredClient) UnmarshalJSON ¶
func (s *SearchWiredClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SearchWiredClient. It customizes the JSON unmarshaling process for SearchWiredClient objects.
type SearchWirelessClientSession ¶ added in v0.4.23
type SearchWirelessClientSession struct {
End float64 `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []WirelessClientSession `json:"results"`
Start float64 `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SearchWirelessClientSession represents a SearchWirelessClientSession struct.
func (SearchWirelessClientSession) MarshalJSON ¶ added in v0.4.23
func (s SearchWirelessClientSession) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SearchWirelessClientSession. It customizes the JSON marshaling process for SearchWirelessClientSession objects.
func (SearchWirelessClientSession) String ¶ added in v0.4.23
func (s SearchWirelessClientSession) String() string
String implements the fmt.Stringer interface for SearchWirelessClientSession, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SearchWirelessClientSession) UnmarshalJSON ¶ added in v0.4.23
func (s *SearchWirelessClientSession) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SearchWirelessClientSession. It customizes the JSON unmarshaling process for SearchWirelessClientSession objects.
type SearchWxtagAppsItem ¶
type SearchWxtagAppsItem struct {
Group string `json:"group"`
Key string `json:"key"`
Name string `json:"name"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SearchWxtagAppsItem represents a SearchWxtagAppsItem struct.
func (SearchWxtagAppsItem) MarshalJSON ¶
func (s SearchWxtagAppsItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SearchWxtagAppsItem. It customizes the JSON marshaling process for SearchWxtagAppsItem objects.
func (SearchWxtagAppsItem) String ¶ added in v0.4.23
func (s SearchWxtagAppsItem) String() string
String implements the fmt.Stringer interface for SearchWxtagAppsItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SearchWxtagAppsItem) UnmarshalJSON ¶
func (s *SearchWxtagAppsItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SearchWxtagAppsItem. It customizes the JSON unmarshaling process for SearchWxtagAppsItem objects.
type SecintelProfile ¶ added in v0.3.17
type SecintelProfile struct {
Name *string `json:"name,omitempty"`
Profiles []SecintelProfileProfile `json:"profiles,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SecintelProfile represents a SecintelProfile struct.
func (SecintelProfile) MarshalJSON ¶ added in v0.3.17
func (s SecintelProfile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SecintelProfile. It customizes the JSON marshaling process for SecintelProfile objects.
func (SecintelProfile) String ¶ added in v0.4.23
func (s SecintelProfile) String() string
String implements the fmt.Stringer interface for SecintelProfile, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SecintelProfile) UnmarshalJSON ¶ added in v0.3.17
func (s *SecintelProfile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SecintelProfile. It customizes the JSON unmarshaling process for SecintelProfile objects.
type SecintelProfileProfile ¶ added in v0.3.17
type SecintelProfileProfile struct {
// enum: `default`, `standard`, `strict`
Action *SecintelProfileProfileActionEnum `json:"action,omitempty"`
// enum: `CC`, `IH` (Infected Host), `DNS`
Category *SecintelProfileProfileCategoryEnum `json:"category,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SecintelProfileProfile represents a SecintelProfileProfile struct.
func (SecintelProfileProfile) MarshalJSON ¶ added in v0.3.17
func (s SecintelProfileProfile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SecintelProfileProfile. It customizes the JSON marshaling process for SecintelProfileProfile objects.
func (SecintelProfileProfile) String ¶ added in v0.4.23
func (s SecintelProfileProfile) String() string
String implements the fmt.Stringer interface for SecintelProfileProfile, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SecintelProfileProfile) UnmarshalJSON ¶ added in v0.3.17
func (s *SecintelProfileProfile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SecintelProfileProfile. It customizes the JSON unmarshaling process for SecintelProfileProfile objects.
type SecintelProfileProfileActionEnum ¶ added in v0.3.17
type SecintelProfileProfileActionEnum string
SecintelProfileProfileActionEnum is a string enum. enum: `default`, `standard`, `strict`
const ( SecintelProfileProfileActionEnum_ENUMDEFAULT SecintelProfileProfileActionEnum = "default" SecintelProfileProfileActionEnum_STANDARD SecintelProfileProfileActionEnum = "standard" SecintelProfileProfileActionEnum_STRICT SecintelProfileProfileActionEnum = "strict" )
type SecintelProfileProfileCategoryEnum ¶ added in v0.3.17
type SecintelProfileProfileCategoryEnum string
SecintelProfileProfileCategoryEnum is a string enum. enum: `CC`, `IH` (Infected Host), `DNS`
const ( SecintelProfileProfileCategoryEnum_CC SecintelProfileProfileCategoryEnum = "CC" SecintelProfileProfileCategoryEnum_DNS SecintelProfileProfileCategoryEnum = "DNS" SecintelProfileProfileCategoryEnum_IH SecintelProfileProfileCategoryEnum = "IH" )
type Secpolicy ¶
type Secpolicy struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name *string `json:"name,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Wlans []Wlan `json:"wlans,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Secpolicy represents a Secpolicy struct. Security Policy is designed to audit / catch discrepancies between "what’s intended to be running" versus "what’s actually running" in a network. Many big organizations have separated Security and IT team (for good reasons). Each site can be assigned a security policy. Whenever an AP is provisioned, the configuration will be checked against the security policy. Any violations will be flagged in Device Config History where you can search for the when and where the violation occurs.
func (Secpolicy) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Secpolicy. It customizes the JSON marshaling process for Secpolicy objects.
func (Secpolicy) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Secpolicy, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Secpolicy) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Secpolicy. It customizes the JSON unmarshaling process for Secpolicy objects.
type Service ¶
type Service struct {
// If `type`==`custom`, IPv4 and/or IPv6 subnets (e.g. 10.0.0.0/8, fd28::/128)
Addresses []string `json:"addresses,omitempty"`
// When `type`==`app_categories`, list of application categories are available through [List App Category Definitions]($e/Constants%20Definitions/listAppCategoryDefinitions)
AppCategories []string `json:"app_categories,omitempty"`
// When `type`==`app_categories`, list of application categories are available through [List App Sub Category Definitions]($e/Constants%20Definitions/listAppSubCategoryDefinitions)
AppSubcategories []string `json:"app_subcategories,omitempty"`
// When `type`==`apps`, list of applications are available through:
// * [List Applications]($e/Constants%20Definitions/listApplications)
// * [List Gateway Applications]($e/Constants%20Definitions/listGatewayApplications)
// * /insight/top_app_by-bytes?wired=true
Apps []string `json:"apps,omitempty"`
// 0 means unlimited, value from 0 to 107374182
ClientLimitDown *int `json:"client_limit_down,omitempty"`
// 0 means unlimited, value from 0 to 107374182
ClientLimitUp *int `json:"client_limit_up,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
Description *string `json:"description,omitempty"`
// For SSR only, when `traffic_type`==`custom`. 0-63 or variable
Dscp *ServiceDscp `json:"dscp,omitempty"`
// enum: `non_revertible`, `none`, `revertible`
FailoverPolicy *ServiceFailoverPolicyEnum `json:"failover_policy,omitempty"`
// If `type`==`custom`, web filtering
Hostnames []string `json:"hostnames,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// For SSR only, when `traffic_type`==`custom`, for uplink selection. 0-2147483647 or variable
MaxJitter *ServiceMaxJitter `json:"max_jitter,omitempty"`
// For SSR only, when `traffic_type`==`custom`, for uplink selection. 0-2147483647 or variable
MaxLatency *ServiceMaxLatency `json:"max_latency,omitempty"`
// For SSR only, when `traffic_type`==`custom`, for uplink selection. 0-100 or variable
MaxLoss *ServiceMaxLoss `json:"max_loss,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name *string `json:"name,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// 0 means unlimited, value from 0 to 107374182
ServiceLimitDown *int `json:"service_limit_down,omitempty"`
// 0 means unlimited, value from 0 to 107374182
ServiceLimitUp *int `json:"service_limit_up,omitempty"`
// Whether to enable measure SLE
SleEnabled *bool `json:"sle_enabled,omitempty"`
// When `type`==`custom`, optional, if it doesn't exist, http and https is assumed
Specs []ServiceSpec `json:"specs,omitempty"`
SsrRelaxedTcpStateEnforcement *bool `json:"ssr_relaxed_tcp_state_enforcement,omitempty"`
// when `traffic_type`==`custom`. enum: `best_effort`, `high`, `low`, `medium`
TrafficClass *ServiceTrafficClassEnum `json:"traffic_class,omitempty"`
// values from [List Traffic Types]($e/Constants%20Definitions/listTrafficTypes)
TrafficType *string `json:"traffic_type,omitempty"`
// enum: `app_categories`, `apps`, `custom`, `urls`
Type *ServiceTypeEnum `json:"type,omitempty"`
// When `type`==`urls`, no need for spec as URL can encode the ports being used
Urls []string `json:"urls,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Service represents a Service struct. Applications used for the Gateway configurations
func (Service) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Service. It customizes the JSON marshaling process for Service objects.
func (Service) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Service, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Service) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Service. It customizes the JSON unmarshaling process for Service objects.
type ServiceDscp ¶ added in v0.2.33
type ServiceDscp struct {
// contains filtered or unexported fields
}
ServiceDscp represents a ServiceDscp struct. For SSR only, when `traffic_type`==`custom`. 0-63 or variable
func (*ServiceDscp) AsNumber ¶ added in v0.2.33
func (s *ServiceDscp) AsNumber() ( *int, bool)
func (*ServiceDscp) AsString ¶ added in v0.2.33
func (s *ServiceDscp) AsString() ( *string, bool)
func (ServiceDscp) MarshalJSON ¶ added in v0.2.33
func (s ServiceDscp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServiceDscp. It customizes the JSON marshaling process for ServiceDscp objects.
func (ServiceDscp) String ¶ added in v0.2.33
func (s ServiceDscp) String() string
String implements the fmt.Stringer interface for ServiceDscp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ServiceDscp) UnmarshalJSON ¶ added in v0.2.33
func (s *ServiceDscp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ServiceDscp. It customizes the JSON unmarshaling process for ServiceDscp objects.
type ServiceFailoverPolicyEnum ¶
type ServiceFailoverPolicyEnum string
ServiceFailoverPolicyEnum is a string enum. enum: `non_revertible`, `none`, `revertible`
const ( ServiceFailoverPolicyEnum_NONREVERTIBLE ServiceFailoverPolicyEnum = "non_revertible" ServiceFailoverPolicyEnum_NONE ServiceFailoverPolicyEnum = "none" ServiceFailoverPolicyEnum_REVERTIBLE ServiceFailoverPolicyEnum = "revertible" )
type ServiceMaxJitter ¶ added in v0.2.33
type ServiceMaxJitter struct {
// contains filtered or unexported fields
}
ServiceMaxJitter represents a ServiceMaxJitter struct. For SSR only, when `traffic_type`==`custom`, for uplink selection. 0-2147483647 or variable
func (*ServiceMaxJitter) AsNumber ¶ added in v0.2.33
func (s *ServiceMaxJitter) AsNumber() ( *int, bool)
func (*ServiceMaxJitter) AsString ¶ added in v0.2.33
func (s *ServiceMaxJitter) AsString() ( *string, bool)
func (ServiceMaxJitter) MarshalJSON ¶ added in v0.2.33
func (s ServiceMaxJitter) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServiceMaxJitter. It customizes the JSON marshaling process for ServiceMaxJitter objects.
func (ServiceMaxJitter) String ¶ added in v0.2.33
func (s ServiceMaxJitter) String() string
String implements the fmt.Stringer interface for ServiceMaxJitter, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ServiceMaxJitter) UnmarshalJSON ¶ added in v0.2.33
func (s *ServiceMaxJitter) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ServiceMaxJitter. It customizes the JSON unmarshaling process for ServiceMaxJitter objects.
type ServiceMaxLatency ¶ added in v0.2.33
type ServiceMaxLatency struct {
// contains filtered or unexported fields
}
ServiceMaxLatency represents a ServiceMaxLatency struct. For SSR only, when `traffic_type`==`custom`, for uplink selection. 0-2147483647 or variable
func (*ServiceMaxLatency) AsNumber ¶ added in v0.2.33
func (s *ServiceMaxLatency) AsNumber() ( *int, bool)
func (*ServiceMaxLatency) AsString ¶ added in v0.2.33
func (s *ServiceMaxLatency) AsString() ( *string, bool)
func (ServiceMaxLatency) MarshalJSON ¶ added in v0.2.33
func (s ServiceMaxLatency) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServiceMaxLatency. It customizes the JSON marshaling process for ServiceMaxLatency objects.
func (ServiceMaxLatency) String ¶ added in v0.2.33
func (s ServiceMaxLatency) String() string
String implements the fmt.Stringer interface for ServiceMaxLatency, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ServiceMaxLatency) UnmarshalJSON ¶ added in v0.2.33
func (s *ServiceMaxLatency) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ServiceMaxLatency. It customizes the JSON unmarshaling process for ServiceMaxLatency objects.
type ServiceMaxLoss ¶ added in v0.2.33
type ServiceMaxLoss struct {
// contains filtered or unexported fields
}
ServiceMaxLoss represents a ServiceMaxLoss struct. For SSR only, when `traffic_type`==`custom`, for uplink selection. 0-100 or variable
func (*ServiceMaxLoss) AsNumber ¶ added in v0.2.33
func (s *ServiceMaxLoss) AsNumber() ( *int, bool)
func (*ServiceMaxLoss) AsString ¶ added in v0.2.33
func (s *ServiceMaxLoss) AsString() ( *string, bool)
func (ServiceMaxLoss) MarshalJSON ¶ added in v0.2.33
func (s ServiceMaxLoss) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServiceMaxLoss. It customizes the JSON marshaling process for ServiceMaxLoss objects.
func (ServiceMaxLoss) String ¶ added in v0.2.33
func (s ServiceMaxLoss) String() string
String implements the fmt.Stringer interface for ServiceMaxLoss, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ServiceMaxLoss) UnmarshalJSON ¶ added in v0.2.33
func (s *ServiceMaxLoss) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ServiceMaxLoss. It customizes the JSON unmarshaling process for ServiceMaxLoss objects.
type ServicePacket ¶
type ServicePacket struct {
// ata from service data
ServiceData *string `json:"service_data,omitempty"`
// UUID from service data
ServiceUuid *string `json:"service_uuid,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ServicePacket represents a ServicePacket struct.
func (ServicePacket) MarshalJSON ¶
func (s ServicePacket) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServicePacket. It customizes the JSON marshaling process for ServicePacket objects.
func (ServicePacket) String ¶ added in v0.4.23
func (s ServicePacket) String() string
String implements the fmt.Stringer interface for ServicePacket, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ServicePacket) UnmarshalJSON ¶
func (s *ServicePacket) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ServicePacket. It customizes the JSON unmarshaling process for ServicePacket objects.
type ServicePathEvent ¶
type ServicePathEvent struct {
Mac *string `json:"mac,omitempty"`
Model *string `json:"model,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
Policy *string `json:"policy,omitempty"`
PortId *string `json:"port_id,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Text *string `json:"text,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
Type *string `json:"type,omitempty"`
Version *string `json:"version,omitempty"`
VpnName *string `json:"vpn_name,omitempty"`
VpnPath *string `json:"vpn_path,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ServicePathEvent represents a ServicePathEvent struct.
func (ServicePathEvent) MarshalJSON ¶
func (s ServicePathEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServicePathEvent. It customizes the JSON marshaling process for ServicePathEvent objects.
func (ServicePathEvent) String ¶ added in v0.4.23
func (s ServicePathEvent) String() string
String implements the fmt.Stringer interface for ServicePathEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ServicePathEvent) UnmarshalJSON ¶
func (s *ServicePathEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ServicePathEvent. It customizes the JSON unmarshaling process for ServicePathEvent objects.
type ServicePolicy ¶
type ServicePolicy struct {
// enum: `allow`, `deny`
Action *AllowDenyEnum `json:"action,omitempty"`
// For SRX-only
Antivirus *ServicePolicyAntivirus `json:"antivirus,omitempty"`
// SRX only
Appqoe *ServicePolicyAppqoe `json:"appqoe,omitempty"`
Ewf []ServicePolicyEwfRule `json:"ewf,omitempty"`
Idp *IdpConfig `json:"idp,omitempty"`
// access within the same VRF
LocalRouting *bool `json:"local_routing,omitempty"`
Name *string `json:"name,omitempty"`
// By default, we derive all paths available and use them. Optionally, you can customize by using `path_preference`
PathPreference *string `json:"path_preference,omitempty"`
// SRX only
Secintel *ServicePolicySecintel `json:"secintel,omitempty"`
// Used to link servicepolicy defined at org level and overwrite some attributes
ServicepolicyId *uuid.UUID `json:"servicepolicy_id,omitempty"`
Services []string `json:"services,omitempty"`
// SRX only
Skyatp *ServicePolicySkyatp `json:"skyatp,omitempty"`
// For SRX-only
SslProxy *ServicePolicySslProxy `json:"ssl_proxy,omitempty"`
// Required for syslog logging
Syslog *ServicePolicySyslog `json:"syslog,omitempty"`
Tenants []string `json:"tenants,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ServicePolicy represents a ServicePolicy struct.
func (ServicePolicy) MarshalJSON ¶
func (s ServicePolicy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServicePolicy. It customizes the JSON marshaling process for ServicePolicy objects.
func (ServicePolicy) String ¶ added in v0.4.23
func (s ServicePolicy) String() string
String implements the fmt.Stringer interface for ServicePolicy, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ServicePolicy) UnmarshalJSON ¶
func (s *ServicePolicy) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ServicePolicy. It customizes the JSON unmarshaling process for ServicePolicy objects.
type ServicePolicyAamw ¶ added in v0.4.54
type ServicePolicyAamw struct {
// org-level Advanced Advance Anti Malware Profile (SkyAtp) Profile can be used, this takes precedence over 'profile'
AamwprofileId *uuid.UUID `json:"aamwprofile_id,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// enum: `docsonly`, `executables`, `standard`
Profile *ServicePolicyAamwProfileEnum `json:"profile,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ServicePolicyAamw represents a ServicePolicyAamw struct. SRX only
func (ServicePolicyAamw) MarshalJSON ¶ added in v0.4.54
func (s ServicePolicyAamw) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServicePolicyAamw. It customizes the JSON marshaling process for ServicePolicyAamw objects.
func (ServicePolicyAamw) String ¶ added in v0.4.54
func (s ServicePolicyAamw) String() string
String implements the fmt.Stringer interface for ServicePolicyAamw, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ServicePolicyAamw) UnmarshalJSON ¶ added in v0.4.54
func (s *ServicePolicyAamw) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ServicePolicyAamw. It customizes the JSON unmarshaling process for ServicePolicyAamw objects.
type ServicePolicyAamwProfileEnum ¶ added in v0.4.54
type ServicePolicyAamwProfileEnum string
ServicePolicyAamwProfileEnum is a string enum. enum: `docsonly`, `executables`, `standard`
const ( ServicePolicyAamwProfileEnum_DOCSONLY ServicePolicyAamwProfileEnum = "docsonly" ServicePolicyAamwProfileEnum_EXECUTABLES ServicePolicyAamwProfileEnum = "executables" ServicePolicyAamwProfileEnum_STANDARD ServicePolicyAamwProfileEnum = "standard" )
type ServicePolicyAntivirus ¶ added in v0.4.51
type ServicePolicyAntivirus struct {
// org-level AV Profile can be used, this takes precedence over 'profile'
AvprofileId *uuid.UUID `json:"avprofile_id,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// Default / noftp / httponly / or keys from av_profiles
Profile *string `json:"profile,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ServicePolicyAntivirus represents a ServicePolicyAntivirus struct. For SRX-only
func (ServicePolicyAntivirus) MarshalJSON ¶ added in v0.4.51
func (s ServicePolicyAntivirus) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServicePolicyAntivirus. It customizes the JSON marshaling process for ServicePolicyAntivirus objects.
func (ServicePolicyAntivirus) String ¶ added in v0.4.51
func (s ServicePolicyAntivirus) String() string
String implements the fmt.Stringer interface for ServicePolicyAntivirus, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ServicePolicyAntivirus) UnmarshalJSON ¶ added in v0.4.51
func (s *ServicePolicyAntivirus) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ServicePolicyAntivirus. It customizes the JSON unmarshaling process for ServicePolicyAntivirus objects.
type ServicePolicyAppqoe ¶
type ServicePolicyAppqoe struct {
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ServicePolicyAppqoe represents a ServicePolicyAppqoe struct. SRX only
func (ServicePolicyAppqoe) MarshalJSON ¶
func (s ServicePolicyAppqoe) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServicePolicyAppqoe. It customizes the JSON marshaling process for ServicePolicyAppqoe objects.
func (ServicePolicyAppqoe) String ¶ added in v0.4.23
func (s ServicePolicyAppqoe) String() string
String implements the fmt.Stringer interface for ServicePolicyAppqoe, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ServicePolicyAppqoe) UnmarshalJSON ¶
func (s *ServicePolicyAppqoe) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ServicePolicyAppqoe. It customizes the JSON unmarshaling process for ServicePolicyAppqoe objects.
type ServicePolicyEwfRule ¶
type ServicePolicyEwfRule struct {
AlertOnly *bool `json:"alert_only,omitempty"`
BlockMessage *string `json:"block_message,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// enum: `critical`, `standard`, `strict`
Profile *ServicePolicyEwfRuleProfileEnum `json:"profile,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ServicePolicyEwfRule represents a ServicePolicyEwfRule struct.
func (ServicePolicyEwfRule) MarshalJSON ¶
func (s ServicePolicyEwfRule) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServicePolicyEwfRule. It customizes the JSON marshaling process for ServicePolicyEwfRule objects.
func (ServicePolicyEwfRule) String ¶ added in v0.4.23
func (s ServicePolicyEwfRule) String() string
String implements the fmt.Stringer interface for ServicePolicyEwfRule, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ServicePolicyEwfRule) UnmarshalJSON ¶
func (s *ServicePolicyEwfRule) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ServicePolicyEwfRule. It customizes the JSON unmarshaling process for ServicePolicyEwfRule objects.
type ServicePolicyEwfRuleProfileEnum ¶
type ServicePolicyEwfRuleProfileEnum string
ServicePolicyEwfRuleProfileEnum is a string enum. enum: `critical`, `standard`, `strict`
const ( ServicePolicyEwfRuleProfileEnum_CRITICAL ServicePolicyEwfRuleProfileEnum = "critical" ServicePolicyEwfRuleProfileEnum_STANDARD ServicePolicyEwfRuleProfileEnum = "standard" ServicePolicyEwfRuleProfileEnum_STRICT ServicePolicyEwfRuleProfileEnum = "strict" )
type ServicePolicySecintel ¶ added in v0.4.51
type ServicePolicySecintel struct {
Enabled *bool `json:"enabled,omitempty"`
// enum: `default`, `standard`, `strict`
Profile *ServicePolicySecintelProfileEnum `json:"profile,omitempty"`
// org-level secintel Profile can be used, this takes precedence over 'profile'
SecintelprofileId *string `json:"secintelprofile_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ServicePolicySecintel represents a ServicePolicySecintel struct. SRX only
func (ServicePolicySecintel) MarshalJSON ¶ added in v0.4.51
func (s ServicePolicySecintel) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServicePolicySecintel. It customizes the JSON marshaling process for ServicePolicySecintel objects.
func (ServicePolicySecintel) String ¶ added in v0.4.51
func (s ServicePolicySecintel) String() string
String implements the fmt.Stringer interface for ServicePolicySecintel, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ServicePolicySecintel) UnmarshalJSON ¶ added in v0.4.51
func (s *ServicePolicySecintel) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ServicePolicySecintel. It customizes the JSON unmarshaling process for ServicePolicySecintel objects.
type ServicePolicySecintelProfileEnum ¶ added in v0.4.54
type ServicePolicySecintelProfileEnum string
ServicePolicySecintelProfileEnum is a string enum. enum: `default`, `standard`, `strict`
const ( ServicePolicySecintelProfileEnum_ENUMDEFAULT ServicePolicySecintelProfileEnum = "default" ServicePolicySecintelProfileEnum_STANDARD ServicePolicySecintelProfileEnum = "standard" ServicePolicySecintelProfileEnum_STRICT ServicePolicySecintelProfileEnum = "strict" )
type ServicePolicySkyatp ¶ added in v0.4.92
type ServicePolicySkyatp struct {
// enum: `disabled`, `default`, `standard`, `strict`
DnsDgaDetection *ServicePolicySkyatpDnsDgaDetectionEnum `json:"dns_dga_detection,omitempty"`
// enum: `disabled`, `default`, `standard`, `strict`
DnsTunnelDetection *ServicePolicySkyatpDnsTunnelDetectionEnum `json:"dns_tunnel_detection,omitempty"`
// enum: `disabled`, `standard`
HttpInspection *ServicePolicySkyatpHttpInspectionEnum `json:"http_inspection,omitempty"`
// enum: `disabled`, `enabled`
IotDevicePolicy *ServicePolicySkyatpIotDevicePolicyEnum `json:"iot_device_policy,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ServicePolicySkyatp represents a ServicePolicySkyatp struct. SRX only
func (ServicePolicySkyatp) MarshalJSON ¶ added in v0.4.92
func (s ServicePolicySkyatp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServicePolicySkyatp. It customizes the JSON marshaling process for ServicePolicySkyatp objects.
func (ServicePolicySkyatp) String ¶ added in v0.4.92
func (s ServicePolicySkyatp) String() string
String implements the fmt.Stringer interface for ServicePolicySkyatp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ServicePolicySkyatp) UnmarshalJSON ¶ added in v0.4.92
func (s *ServicePolicySkyatp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ServicePolicySkyatp. It customizes the JSON unmarshaling process for ServicePolicySkyatp objects.
type ServicePolicySkyatpDnsDgaDetectionEnum ¶ added in v0.4.94
type ServicePolicySkyatpDnsDgaDetectionEnum string
ServicePolicySkyatpDnsDgaDetectionEnum is a string enum. enum: `disabled`, `default`, `standard`, `strict`
const ( ServicePolicySkyatpDnsDgaDetectionEnum_DISABLED ServicePolicySkyatpDnsDgaDetectionEnum = "disabled" ServicePolicySkyatpDnsDgaDetectionEnum_ENUMDEFAULT ServicePolicySkyatpDnsDgaDetectionEnum = "default" ServicePolicySkyatpDnsDgaDetectionEnum_STANDARD ServicePolicySkyatpDnsDgaDetectionEnum = "standard" ServicePolicySkyatpDnsDgaDetectionEnum_STRICT ServicePolicySkyatpDnsDgaDetectionEnum = "strict" )
type ServicePolicySkyatpDnsTunnelDetectionEnum ¶ added in v0.4.94
type ServicePolicySkyatpDnsTunnelDetectionEnum string
ServicePolicySkyatpDnsTunnelDetectionEnum is a string enum. enum: `disabled`, `default`, `standard`, `strict`
const ( ServicePolicySkyatpDnsTunnelDetectionEnum_DISABLED ServicePolicySkyatpDnsTunnelDetectionEnum = "disabled" ServicePolicySkyatpDnsTunnelDetectionEnum_ENUMDEFAULT ServicePolicySkyatpDnsTunnelDetectionEnum = "default" ServicePolicySkyatpDnsTunnelDetectionEnum_STANDARD ServicePolicySkyatpDnsTunnelDetectionEnum = "standard" ServicePolicySkyatpDnsTunnelDetectionEnum_STRICT ServicePolicySkyatpDnsTunnelDetectionEnum = "strict" )
type ServicePolicySkyatpHttpInspectionEnum ¶ added in v0.4.94
type ServicePolicySkyatpHttpInspectionEnum string
ServicePolicySkyatpHttpInspectionEnum is a string enum. enum: `disabled`, `standard`
const ( ServicePolicySkyatpHttpInspectionEnum_DISABLED ServicePolicySkyatpHttpInspectionEnum = "disabled" ServicePolicySkyatpHttpInspectionEnum_STANDARD ServicePolicySkyatpHttpInspectionEnum = "standard" ServicePolicySkyatpHttpInspectionEnum_STRICT ServicePolicySkyatpHttpInspectionEnum = "strict" )
type ServicePolicySkyatpIotDevicePolicyEnum ¶ added in v0.4.94
type ServicePolicySkyatpIotDevicePolicyEnum string
ServicePolicySkyatpIotDevicePolicyEnum is a string enum. enum: `disabled`, `enabled`
const ( ServicePolicySkyatpIotDevicePolicyEnum_DISABLED ServicePolicySkyatpIotDevicePolicyEnum = "disabled" ServicePolicySkyatpIotDevicePolicyEnum_ENABLED ServicePolicySkyatpIotDevicePolicyEnum = "enabled" )
type ServicePolicySslProxy ¶ added in v0.4.52
type ServicePolicySslProxy struct {
// enum: `medium`, `strong`, `weak`
CiphersCategory *SslProxyCiphersCategoryEnum `json:"ciphers_category,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ServicePolicySslProxy represents a ServicePolicySslProxy struct. For SRX-only
func (ServicePolicySslProxy) MarshalJSON ¶ added in v0.4.52
func (s ServicePolicySslProxy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServicePolicySslProxy. It customizes the JSON marshaling process for ServicePolicySslProxy objects.
func (ServicePolicySslProxy) String ¶ added in v0.4.52
func (s ServicePolicySslProxy) String() string
String implements the fmt.Stringer interface for ServicePolicySslProxy, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ServicePolicySslProxy) UnmarshalJSON ¶ added in v0.4.52
func (s *ServicePolicySslProxy) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ServicePolicySslProxy. It customizes the JSON unmarshaling process for ServicePolicySslProxy objects.
type ServicePolicySyslog ¶ added in v0.4.92
type ServicePolicySyslog struct {
Enabled *bool `json:"enabled,omitempty"`
ServerNames []string `json:"server_names,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ServicePolicySyslog represents a ServicePolicySyslog struct. Required for syslog logging
func (ServicePolicySyslog) MarshalJSON ¶ added in v0.4.92
func (s ServicePolicySyslog) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServicePolicySyslog. It customizes the JSON marshaling process for ServicePolicySyslog objects.
func (ServicePolicySyslog) String ¶ added in v0.4.92
func (s ServicePolicySyslog) String() string
String implements the fmt.Stringer interface for ServicePolicySyslog, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ServicePolicySyslog) UnmarshalJSON ¶ added in v0.4.92
func (s *ServicePolicySyslog) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ServicePolicySyslog. It customizes the JSON unmarshaling process for ServicePolicySyslog objects.
type ServiceSpec ¶
type ServiceSpec struct {
// Port number, port range, or variable
PortRange *string `json:"port_range,omitempty"`
// `https`/ `tcp` / `udp` / `icmp` / `gre` / `any` / `:protocol_number`, `protocol_number` is between 1-254
Protocol *string `json:"protocol,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ServiceSpec represents a ServiceSpec struct.
func (ServiceSpec) MarshalJSON ¶
func (s ServiceSpec) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServiceSpec. It customizes the JSON marshaling process for ServiceSpec objects.
func (ServiceSpec) String ¶ added in v0.4.23
func (s ServiceSpec) String() string
String implements the fmt.Stringer interface for ServiceSpec, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ServiceSpec) UnmarshalJSON ¶
func (s *ServiceSpec) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ServiceSpec. It customizes the JSON unmarshaling process for ServiceSpec objects.
type ServiceStatProperty ¶
type ServiceStatProperty struct {
AshVersion *string `json:"ash_version,omitempty"`
CiaVersion *string `json:"cia_version,omitempty"`
EmberVersion *string `json:"ember_version,omitempty"`
IpsecClientVersion *string `json:"ipsec_client_version,omitempty"`
MistAgentVersion *string `json:"mist_agent_version,omitempty"`
PackageVersion *string `json:"package_version,omitempty"`
TestingToolsVersion *string `json:"testing_tools_version,omitempty"`
WheeljackVersion *string `json:"wheeljack_version,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ServiceStatProperty represents a ServiceStatProperty struct.
func (ServiceStatProperty) MarshalJSON ¶
func (s ServiceStatProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServiceStatProperty. It customizes the JSON marshaling process for ServiceStatProperty objects.
func (ServiceStatProperty) String ¶ added in v0.4.23
func (s ServiceStatProperty) String() string
String implements the fmt.Stringer interface for ServiceStatProperty, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ServiceStatProperty) UnmarshalJSON ¶
func (s *ServiceStatProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ServiceStatProperty. It customizes the JSON unmarshaling process for ServiceStatProperty objects.
type ServiceTrafficClassEnum ¶
type ServiceTrafficClassEnum string
ServiceTrafficClassEnum is a string enum. when `traffic_type`==`custom`. enum: `best_effort`, `high`, `low`, `medium`
const ( ServiceTrafficClassEnum_BESTEFFORT ServiceTrafficClassEnum = "best_effort" ServiceTrafficClassEnum_HIGH ServiceTrafficClassEnum = "high" ServiceTrafficClassEnum_LOW ServiceTrafficClassEnum = "low" ServiceTrafficClassEnum_MEDIUM ServiceTrafficClassEnum = "medium" )
type ServiceTypeEnum ¶
type ServiceTypeEnum string
ServiceTypeEnum is a string enum. enum: `app_categories`, `apps`, `custom`, `urls`
const ( ServiceTypeEnum_APPCATEGORIES ServiceTypeEnum = "app_categories" ServiceTypeEnum_APPS ServiceTypeEnum = "apps" ServiceTypeEnum_CUSTOM ServiceTypeEnum = "custom" ServiceTypeEnum_URLS ServiceTypeEnum = "urls" )
type SettingSsr ¶ added in v0.4.74
type SettingSsr struct {
// auto_upgrade device first time it is onboarded
AutoUpgrade *SettingSsrAutoUpgrade `json:"auto_upgrade,omitempty"`
// List of Conductor IP Addresses or Hosts to be used by the SSR Devices
ConductorHosts []string `json:"conductor_hosts,omitempty"`
// Token to be used by the SSR Devices to connect to the Conductor
ConductorToken *string `json:"conductor_token,omitempty"`
// Disable stats collection on SSR devices
DisableStats *bool `json:"disable_stats,omitempty"`
// SSR proxy configuration to talk to Mist
Proxy *SsrProxy `json:"proxy,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SettingSsr represents a SettingSsr struct.
func (SettingSsr) MarshalJSON ¶ added in v0.4.74
func (s SettingSsr) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SettingSsr. It customizes the JSON marshaling process for SettingSsr objects.
func (SettingSsr) String ¶ added in v0.4.74
func (s SettingSsr) String() string
String implements the fmt.Stringer interface for SettingSsr, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SettingSsr) UnmarshalJSON ¶ added in v0.4.74
func (s *SettingSsr) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SettingSsr. It customizes the JSON unmarshaling process for SettingSsr objects.
type SettingSsrAutoUpgrade ¶ added in v0.4.87
type SettingSsrAutoUpgrade struct {
// upgrade channel to follow. enum: `alpha`, `beta`, `stable`
Channel *SsrUpgradeChannelEnum `json:"channel,omitempty"`
// Property key is the SSR model (e.g. "SSR130").
CustomVersions map[string]string `json:"custom_versions,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SettingSsrAutoUpgrade represents a SettingSsrAutoUpgrade struct. auto_upgrade device first time it is onboarded
func (SettingSsrAutoUpgrade) MarshalJSON ¶ added in v0.4.87
func (s SettingSsrAutoUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SettingSsrAutoUpgrade. It customizes the JSON marshaling process for SettingSsrAutoUpgrade objects.
func (SettingSsrAutoUpgrade) String ¶ added in v0.4.87
func (s SettingSsrAutoUpgrade) String() string
String implements the fmt.Stringer interface for SettingSsrAutoUpgrade, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SettingSsrAutoUpgrade) UnmarshalJSON ¶ added in v0.4.87
func (s *SettingSsrAutoUpgrade) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SettingSsrAutoUpgrade. It customizes the JSON unmarshaling process for SettingSsrAutoUpgrade objects.
type ShellNode ¶ added in v0.4.74
type ShellNode struct {
// only for HA. enum: `node0`, `node1`
Node *HaClusterNodeEnum `json:"node,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ShellNode represents a ShellNode struct.
func (ShellNode) MarshalJSON ¶ added in v0.4.74
MarshalJSON implements the json.Marshaler interface for ShellNode. It customizes the JSON marshaling process for ShellNode objects.
func (ShellNode) String ¶ added in v0.4.74
String implements the fmt.Stringer interface for ShellNode, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ShellNode) UnmarshalJSON ¶ added in v0.4.74
UnmarshalJSON implements the json.Unmarshaler interface for ShellNode. It customizes the JSON unmarshaling process for ShellNode objects.
type SimpleAlert ¶
type SimpleAlert struct {
ArpFailure *SimpleAlertArpFailure `json:"arp_failure,omitempty"`
DhcpFailure *SimpleAlertDhcpFailure `json:"dhcp_failure,omitempty"`
DnsFailure *SimpleAlertDnsFailure `json:"dns_failure,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SimpleAlert represents a SimpleAlert struct. Set of heuristic rules will be enabled when marvis subscription is not available. It triggers when, in a Z minute window, there are more than Y distinct client encountering over X failures
func (SimpleAlert) MarshalJSON ¶
func (s SimpleAlert) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SimpleAlert. It customizes the JSON marshaling process for SimpleAlert objects.
func (SimpleAlert) String ¶ added in v0.4.23
func (s SimpleAlert) String() string
String implements the fmt.Stringer interface for SimpleAlert, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SimpleAlert) UnmarshalJSON ¶
func (s *SimpleAlert) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SimpleAlert. It customizes the JSON unmarshaling process for SimpleAlert objects.
type SimpleAlertArpFailure ¶
type SimpleAlertArpFailure struct {
ClientCount *int `json:"client_count,omitempty"`
// failing within minutes
Duration *int `json:"duration,omitempty"`
IncidentCount *int `json:"incident_count,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SimpleAlertArpFailure represents a SimpleAlertArpFailure struct.
func (SimpleAlertArpFailure) MarshalJSON ¶
func (s SimpleAlertArpFailure) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SimpleAlertArpFailure. It customizes the JSON marshaling process for SimpleAlertArpFailure objects.
func (SimpleAlertArpFailure) String ¶ added in v0.4.23
func (s SimpleAlertArpFailure) String() string
String implements the fmt.Stringer interface for SimpleAlertArpFailure, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SimpleAlertArpFailure) UnmarshalJSON ¶
func (s *SimpleAlertArpFailure) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SimpleAlertArpFailure. It customizes the JSON unmarshaling process for SimpleAlertArpFailure objects.
type SimpleAlertDhcpFailure ¶
type SimpleAlertDhcpFailure struct {
ClientCount *int `json:"client_count,omitempty"`
// failing within minutes
Duration *int `json:"duration,omitempty"`
IncidentCount *int `json:"incident_count,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SimpleAlertDhcpFailure represents a SimpleAlertDhcpFailure struct.
func (SimpleAlertDhcpFailure) MarshalJSON ¶
func (s SimpleAlertDhcpFailure) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SimpleAlertDhcpFailure. It customizes the JSON marshaling process for SimpleAlertDhcpFailure objects.
func (SimpleAlertDhcpFailure) String ¶ added in v0.4.23
func (s SimpleAlertDhcpFailure) String() string
String implements the fmt.Stringer interface for SimpleAlertDhcpFailure, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SimpleAlertDhcpFailure) UnmarshalJSON ¶
func (s *SimpleAlertDhcpFailure) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SimpleAlertDhcpFailure. It customizes the JSON unmarshaling process for SimpleAlertDhcpFailure objects.
type SimpleAlertDnsFailure ¶
type SimpleAlertDnsFailure struct {
ClientCount *int `json:"client_count,omitempty"`
// failing within minutes
Duration *int `json:"duration,omitempty"`
IncidentCount *int `json:"incident_count,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SimpleAlertDnsFailure represents a SimpleAlertDnsFailure struct.
func (SimpleAlertDnsFailure) MarshalJSON ¶
func (s SimpleAlertDnsFailure) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SimpleAlertDnsFailure. It customizes the JSON marshaling process for SimpleAlertDnsFailure objects.
func (SimpleAlertDnsFailure) String ¶ added in v0.4.23
func (s SimpleAlertDnsFailure) String() string
String implements the fmt.Stringer interface for SimpleAlertDnsFailure, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SimpleAlertDnsFailure) UnmarshalJSON ¶
func (s *SimpleAlertDnsFailure) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SimpleAlertDnsFailure. It customizes the JSON unmarshaling process for SimpleAlertDnsFailure objects.
type Site ¶
type Site struct {
// full address of the site
Address Optional[string] `json:"address"`
// Alarm Template ID, this takes precedence over the Org-level alarmtemplate_id
AlarmtemplateId Optional[uuid.UUID] `json:"alarmtemplate_id"`
// AP Template ID, used by APs
AptemplateId Optional[uuid.UUID] `json:"aptemplate_id"`
// Country code for the site (for AP config generation), in two-character
CountryCode *string `json:"country_code,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// Gateway Template ID, used by gateways
GatewaytemplateId Optional[uuid.UUID] `json:"gatewaytemplate_id"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Latlng *LatLng `json:"latlng,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name string `json:"name"`
// Network Template ID, this takes precedence over Site Settings
NetworktemplateId Optional[uuid.UUID] `json:"networktemplate_id"`
// Optional, any notes about the site
Notes Optional[string] `json:"notes"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// RF Template ID, this takes precedence over Site Settings
RftemplateId Optional[uuid.UUID] `json:"rftemplate_id"`
// SecPolicy ID
SecpolicyId Optional[uuid.UUID] `json:"secpolicy_id"`
// Sitegroups this site belongs to
SitegroupIds []uuid.UUID `json:"sitegroup_ids,omitempty"`
// Site Template ID
SitetemplateId Optional[uuid.UUID] `json:"sitetemplate_id"`
// Timezone the site is at
Timezone *string `json:"timezone,omitempty"`
Tzoffset *int `json:"tzoffset,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Site represents a Site struct. Site
func (Site) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Site. It customizes the JSON marshaling process for Site objects.
func (Site) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Site, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Site) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Site. It customizes the JSON unmarshaling process for Site objects.
type SiteApp ¶
type SiteApp struct {
Group string `json:"group"`
Key string `json:"key"`
Name string `json:"name"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteApp represents a SiteApp struct.
func (SiteApp) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for SiteApp. It customizes the JSON marshaling process for SiteApp objects.
func (SiteApp) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for SiteApp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteApp) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for SiteApp. It customizes the JSON unmarshaling process for SiteApp objects.
type SiteAppsCountDistinctEnum ¶
type SiteAppsCountDistinctEnum string
SiteAppsCountDistinctEnum is a string enum. enum: `ap`, `app`, `category`, `device_mac`, `port_id`, `service`, `src_ip`, `ssid`, `wcid`, `wlan_id app`
const ( SiteAppsCountDistinctEnum_AP SiteAppsCountDistinctEnum = "ap" SiteAppsCountDistinctEnum_APP SiteAppsCountDistinctEnum = "app" SiteAppsCountDistinctEnum_CATEGORY SiteAppsCountDistinctEnum = "category" SiteAppsCountDistinctEnum_DEVICEMAC SiteAppsCountDistinctEnum = "device_mac" SiteAppsCountDistinctEnum_PORTID SiteAppsCountDistinctEnum = "port_id" SiteAppsCountDistinctEnum_SERVICE SiteAppsCountDistinctEnum = "service" SiteAppsCountDistinctEnum_SRCIP SiteAppsCountDistinctEnum = "src_ip" SiteAppsCountDistinctEnum_SSID SiteAppsCountDistinctEnum = "ssid" SiteAppsCountDistinctEnum_WCID SiteAppsCountDistinctEnum = "wcid" SiteAppsCountDistinctEnum_ENUMWLANIDAPP SiteAppsCountDistinctEnum = "wlan_id app" )
type SiteAssetsCountDistinctEnum ¶
type SiteAssetsCountDistinctEnum string
SiteAssetsCountDistinctEnum is a string enum. enum: `by`, `device_name`, `eddystone_uid_instance`, `eddystone_uid_namespace`, `eddystone_url`, `ibeacon_major`, `ibeacon_minor`, `ibeacon_uuid`, `mac`, `map_id`, `name`
const ( SiteAssetsCountDistinctEnum_BY SiteAssetsCountDistinctEnum = "by" SiteAssetsCountDistinctEnum_DEVICENAME SiteAssetsCountDistinctEnum = "device_name" SiteAssetsCountDistinctEnum_EDDYSTONEUIDINSTANCE SiteAssetsCountDistinctEnum = "eddystone_uid_instance" SiteAssetsCountDistinctEnum_EDDYSTONEUIDNAMESPACE SiteAssetsCountDistinctEnum = "eddystone_uid_namespace" SiteAssetsCountDistinctEnum_EDDYSTONEURL SiteAssetsCountDistinctEnum = "eddystone_url" SiteAssetsCountDistinctEnum_IBEACONMAJOR SiteAssetsCountDistinctEnum = "ibeacon_major" SiteAssetsCountDistinctEnum_IBEACONMINOR SiteAssetsCountDistinctEnum = "ibeacon_minor" SiteAssetsCountDistinctEnum_IBEACONUUID SiteAssetsCountDistinctEnum = "ibeacon_uuid" SiteAssetsCountDistinctEnum_MAC SiteAssetsCountDistinctEnum = "mac" SiteAssetsCountDistinctEnum_MAPID SiteAssetsCountDistinctEnum = "map_id" SiteAssetsCountDistinctEnum_NAME SiteAssetsCountDistinctEnum = "name" )
type SiteAutoUpgradeVersionEnum ¶
type SiteAutoUpgradeVersionEnum string
SiteAutoUpgradeVersionEnum is a string enum. desired version. enum: `beta`, `custom`, `stable`
const ( SiteAutoUpgradeVersionEnum_BETA SiteAutoUpgradeVersionEnum = "beta" SiteAutoUpgradeVersionEnum_CUSTOM SiteAutoUpgradeVersionEnum = "custom" SiteAutoUpgradeVersionEnum_STABLE SiteAutoUpgradeVersionEnum = "stable" )
type SiteClientEventsCountDistinctEnum ¶
type SiteClientEventsCountDistinctEnum string
SiteClientEventsCountDistinctEnum is a string enum. enum: `band`, `channel`, `proto`, `ssid`, `type`, `wlan_id`
const ( SiteClientEventsCountDistinctEnum_BAND SiteClientEventsCountDistinctEnum = "band" SiteClientEventsCountDistinctEnum_CHANNEL SiteClientEventsCountDistinctEnum = "channel" SiteClientEventsCountDistinctEnum_PROTO SiteClientEventsCountDistinctEnum = "proto" SiteClientEventsCountDistinctEnum_SSID SiteClientEventsCountDistinctEnum = "ssid" SiteClientEventsCountDistinctEnum_ENUMTYPE SiteClientEventsCountDistinctEnum = "type" SiteClientEventsCountDistinctEnum_WLANID SiteClientEventsCountDistinctEnum = "wlan_id" )
type SiteClientSessionsCountDistinctEnum ¶
type SiteClientSessionsCountDistinctEnum string
SiteClientSessionsCountDistinctEnum is a string enum. enum: `ap`, `client_family`, `client_manufacture`, `client_model`, `client_os`, `mac`, `ssid`, `wlan_id`
const ( SiteClientSessionsCountDistinctEnum_AP SiteClientSessionsCountDistinctEnum = "ap" SiteClientSessionsCountDistinctEnum_CLIENTFAMILY SiteClientSessionsCountDistinctEnum = "client_family" SiteClientSessionsCountDistinctEnum_CLIENTMANUFACTURE SiteClientSessionsCountDistinctEnum = "client_manufacture" SiteClientSessionsCountDistinctEnum_CLIENTMODEL SiteClientSessionsCountDistinctEnum = "client_model" SiteClientSessionsCountDistinctEnum_CLIENTOS SiteClientSessionsCountDistinctEnum = "client_os" SiteClientSessionsCountDistinctEnum_MAC SiteClientSessionsCountDistinctEnum = "mac" SiteClientSessionsCountDistinctEnum_SSID SiteClientSessionsCountDistinctEnum = "ssid" SiteClientSessionsCountDistinctEnum_WLANID SiteClientSessionsCountDistinctEnum = "wlan_id" )
type SiteClientsCountDistinctEnum ¶
type SiteClientsCountDistinctEnum string
SiteClientsCountDistinctEnum is a string enum. enum: `ap`, `device`, `hostname`, `ip`, `model`, `os`, `ssid`, `vlan`
const ( SiteClientsCountDistinctEnum_AP SiteClientsCountDistinctEnum = "ap" SiteClientsCountDistinctEnum_DEVICE SiteClientsCountDistinctEnum = "device" SiteClientsCountDistinctEnum_HOSTNAME SiteClientsCountDistinctEnum = "hostname" SiteClientsCountDistinctEnum_IP SiteClientsCountDistinctEnum = "ip" SiteClientsCountDistinctEnum_MODEL SiteClientsCountDistinctEnum = "model" SiteClientsCountDistinctEnum_OS SiteClientsCountDistinctEnum = "os" SiteClientsCountDistinctEnum_SSID SiteClientsCountDistinctEnum = "ssid" SiteClientsCountDistinctEnum_VLAN SiteClientsCountDistinctEnum = "vlan" )
type SiteDeviceEventsCountDistinctEnum ¶
type SiteDeviceEventsCountDistinctEnum string
SiteDeviceEventsCountDistinctEnum is a string enum. enum: `mac`, `model`, `type`, `type_code`
const ( SiteDeviceEventsCountDistinctEnum_MAC SiteDeviceEventsCountDistinctEnum = "mac" SiteDeviceEventsCountDistinctEnum_MODEL SiteDeviceEventsCountDistinctEnum = "model" SiteDeviceEventsCountDistinctEnum_ENUMTYPE SiteDeviceEventsCountDistinctEnum = "type" SiteDeviceEventsCountDistinctEnum_TYPECODE SiteDeviceEventsCountDistinctEnum = "type_code" )
type SiteDeviceLastConfigCountDistinctEnum ¶
type SiteDeviceLastConfigCountDistinctEnum string
SiteDeviceLastConfigCountDistinctEnum is a string enum. enum: `mac`, `name`, `site_id`, `version`
const ( SiteDeviceLastConfigCountDistinctEnum_MAC SiteDeviceLastConfigCountDistinctEnum = "mac" SiteDeviceLastConfigCountDistinctEnum_NAME SiteDeviceLastConfigCountDistinctEnum = "name" SiteDeviceLastConfigCountDistinctEnum_SITEID SiteDeviceLastConfigCountDistinctEnum = "site_id" SiteDeviceLastConfigCountDistinctEnum_VERSION SiteDeviceLastConfigCountDistinctEnum = "version" )
type SiteDevicesCountDistinctEnum ¶
type SiteDevicesCountDistinctEnum string
SiteDevicesCountDistinctEnum is a string enum. enum: `hostname`, `lldp_mgmt_addr`, `lldp_port_id`, `lldp_system_desc`, `lldp_system_name`, `map_id`, `model`, `mxedge_id`, `mxtunnel_status`, `version`
const ( SiteDevicesCountDistinctEnum_HOSTNAME SiteDevicesCountDistinctEnum = "hostname" SiteDevicesCountDistinctEnum_LLDPMGMTADDR SiteDevicesCountDistinctEnum = "lldp_mgmt_addr" SiteDevicesCountDistinctEnum_LLDPPORTID SiteDevicesCountDistinctEnum = "lldp_port_id" SiteDevicesCountDistinctEnum_LLDPSYSTEMDESC SiteDevicesCountDistinctEnum = "lldp_system_desc" SiteDevicesCountDistinctEnum_LLDPSYSTEMNAME SiteDevicesCountDistinctEnum = "lldp_system_name" SiteDevicesCountDistinctEnum_MAPID SiteDevicesCountDistinctEnum = "map_id" SiteDevicesCountDistinctEnum_MODEL SiteDevicesCountDistinctEnum = "model" SiteDevicesCountDistinctEnum_MXEDGEID SiteDevicesCountDistinctEnum = "mxedge_id" SiteDevicesCountDistinctEnum_MXTUNNELSTATUS SiteDevicesCountDistinctEnum = "mxtunnel_status" SiteDevicesCountDistinctEnum_VERSION SiteDevicesCountDistinctEnum = "version" )
type SiteDiscoveredSwitchesCountDistinctEnum ¶
type SiteDiscoveredSwitchesCountDistinctEnum string
SiteDiscoveredSwitchesCountDistinctEnum is a string enum. enum: `mgmt_addr`, `model`, `system_name`, `version`
const ( SiteDiscoveredSwitchesCountDistinctEnum_MGMTADDR SiteDiscoveredSwitchesCountDistinctEnum = "mgmt_addr" SiteDiscoveredSwitchesCountDistinctEnum_MODEL SiteDiscoveredSwitchesCountDistinctEnum = "model" SiteDiscoveredSwitchesCountDistinctEnum_SYSTEMNAME SiteDiscoveredSwitchesCountDistinctEnum = "system_name" SiteDiscoveredSwitchesCountDistinctEnum_VERSION SiteDiscoveredSwitchesCountDistinctEnum = "version" )
type SiteEngagement ¶
type SiteEngagement struct {
// Name associated to each tag
DwellTagNames *SiteEngagementDwellTagNames `json:"dwell_tag_names,omitempty"`
// add tags to visits within the duration (in seconds)
DwellTags *SiteEngagementDwellTags `json:"dwell_tags,omitempty"`
// Days/Hours of operation filter, the available days (mon, tue, wed, thu, fri, sat, sun)
Hours *Hours `json:"hours,omitempty"`
// Max time, default is 43200(12h), max is 68400 (18h)
MaxDwell *int `json:"max_dwell,omitempty"`
// min time
MinDwell *int `json:"min_dwell,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteEngagement represents a SiteEngagement struct. **Note**: if hours does not exist, it's treated as everyday of the week, 00:00-23:59. Currently, we don't allow multiple ranges for the same day
func (SiteEngagement) MarshalJSON ¶
func (s SiteEngagement) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteEngagement. It customizes the JSON marshaling process for SiteEngagement objects.
func (SiteEngagement) String ¶ added in v0.4.23
func (s SiteEngagement) String() string
String implements the fmt.Stringer interface for SiteEngagement, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteEngagement) UnmarshalJSON ¶
func (s *SiteEngagement) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteEngagement. It customizes the JSON unmarshaling process for SiteEngagement objects.
type SiteEngagementDwellTagNames ¶
type SiteEngagementDwellTagNames struct {
Bounce *string `json:"bounce,omitempty"`
Engaged *string `json:"engaged,omitempty"`
Passerby *string `json:"passerby,omitempty"`
Stationed *string `json:"stationed,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteEngagementDwellTagNames represents a SiteEngagementDwellTagNames struct. Name associated to each tag
func (SiteEngagementDwellTagNames) MarshalJSON ¶
func (s SiteEngagementDwellTagNames) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteEngagementDwellTagNames. It customizes the JSON marshaling process for SiteEngagementDwellTagNames objects.
func (SiteEngagementDwellTagNames) String ¶ added in v0.4.23
func (s SiteEngagementDwellTagNames) String() string
String implements the fmt.Stringer interface for SiteEngagementDwellTagNames, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteEngagementDwellTagNames) UnmarshalJSON ¶
func (s *SiteEngagementDwellTagNames) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteEngagementDwellTagNames. It customizes the JSON unmarshaling process for SiteEngagementDwellTagNames objects.
type SiteEngagementDwellTags ¶
type SiteEngagementDwellTags struct {
Bounce Optional[string] `json:"bounce"`
Engaged Optional[string] `json:"engaged"`
Passerby Optional[string] `json:"passerby"`
Stationed Optional[string] `json:"stationed"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteEngagementDwellTags represents a SiteEngagementDwellTags struct. add tags to visits within the duration (in seconds)
func (SiteEngagementDwellTags) MarshalJSON ¶
func (s SiteEngagementDwellTags) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteEngagementDwellTags. It customizes the JSON marshaling process for SiteEngagementDwellTags objects.
func (SiteEngagementDwellTags) String ¶ added in v0.4.23
func (s SiteEngagementDwellTags) String() string
String implements the fmt.Stringer interface for SiteEngagementDwellTags, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteEngagementDwellTags) UnmarshalJSON ¶
func (s *SiteEngagementDwellTags) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteEngagementDwellTags. It customizes the JSON unmarshaling process for SiteEngagementDwellTags objects.
type SiteGuestsCountDistinctEnum ¶
type SiteGuestsCountDistinctEnum string
SiteGuestsCountDistinctEnum is a string enum. enum: `auth_method`, `company`, `ssid`
const ( SiteGuestsCountDistinctEnum_AUTHMETHOD SiteGuestsCountDistinctEnum = "auth_method" SiteGuestsCountDistinctEnum_COMPANY SiteGuestsCountDistinctEnum = "company" SiteGuestsCountDistinctEnum_SSID SiteGuestsCountDistinctEnum = "ssid" )
type SiteMxedgeEventsCountDistinctEnum ¶
type SiteMxedgeEventsCountDistinctEnum string
SiteMxedgeEventsCountDistinctEnum is a string enum. enum: `mxcluster_id`, `mxedge_id`, `package`, `type`
const ( SiteMxedgeEventsCountDistinctEnum_MXCLUSTERID SiteMxedgeEventsCountDistinctEnum = "mxcluster_id" SiteMxedgeEventsCountDistinctEnum_MXEDGEID SiteMxedgeEventsCountDistinctEnum = "mxedge_id" SiteMxedgeEventsCountDistinctEnum_ENUMPACKAGE SiteMxedgeEventsCountDistinctEnum = "package" SiteMxedgeEventsCountDistinctEnum_ENUMTYPE SiteMxedgeEventsCountDistinctEnum = "type" )
type SiteMxtunnel ¶
type SiteMxtunnel struct {
AdditionalMxtunnels map[string]SiteMxtunnelAdditionalMxtunnel `json:"additional_mxtunnels,omitempty"`
// List of subnets where we allow AP to establish Mist Tunnels from
ApSubnets []string `json:"ap_subnets,omitempty"`
// Schedule to preempt ap’s which are not connected to preferred peer
AutoPreemption *AutoPreemption `json:"auto_preemption,omitempty"`
// For AP, how to connect to tunterm or RadSec Proxy
Clusters []SiteMxtunnelCluster `json:"clusters,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// In seconds, used as heartbeat to detect if a tunnel is alive. AP will try another peer after missing N hellos specified by hello_retries
HelloInterval *int `json:"hello_interval,omitempty"`
HelloRetries *int `json:"hello_retries,omitempty"`
// Hostnames or IPs where a Mist Tunnel will use as the Peer (i.e. they are reachable from AP)
Hosts []string `json:"hosts,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
// 0 to enable MTU, 552-1500 to start MTU with a lower MTU
Mtu *int `json:"mtu,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// enum: `ip`, `udp`
Protocol *MxtunnelProtocolEnum `json:"protocol,omitempty"`
Radsec *SiteMxtunnelRadsec `json:"radsec,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// List of vlan_ids that will be used
VlanIds []int `json:"vlan_ids,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteMxtunnel represents a SiteMxtunnel struct. Site MxTunnel
func (SiteMxtunnel) MarshalJSON ¶
func (s SiteMxtunnel) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteMxtunnel. It customizes the JSON marshaling process for SiteMxtunnel objects.
func (SiteMxtunnel) String ¶ added in v0.4.23
func (s SiteMxtunnel) String() string
String implements the fmt.Stringer interface for SiteMxtunnel, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteMxtunnel) UnmarshalJSON ¶
func (s *SiteMxtunnel) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteMxtunnel. It customizes the JSON unmarshaling process for SiteMxtunnel objects.
type SiteMxtunnelAdditionalMxtunnel ¶
type SiteMxtunnelAdditionalMxtunnel struct {
// For AP, how to connect to tunterm or RadSec Proxy
Clusters []SiteMxtunnelCluster `json:"clusters,omitempty"`
// In seconds, used as heartbeat to detect if a tunnel is alive. AP will try another peer after missing N hellos specified by hello_retries
HelloInterval *int `json:"hello_interval,omitempty"`
HelloRetries *int `json:"hello_retries,omitempty"`
// enum: `ip`, `udp`
Protocol *SiteMxtunnelProtocolEnum `json:"protocol,omitempty"`
VlanIds []int `json:"vlan_ids,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteMxtunnelAdditionalMxtunnel represents a SiteMxtunnelAdditionalMxtunnel struct.
func (SiteMxtunnelAdditionalMxtunnel) MarshalJSON ¶
func (s SiteMxtunnelAdditionalMxtunnel) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteMxtunnelAdditionalMxtunnel. It customizes the JSON marshaling process for SiteMxtunnelAdditionalMxtunnel objects.
func (SiteMxtunnelAdditionalMxtunnel) String ¶ added in v0.4.23
func (s SiteMxtunnelAdditionalMxtunnel) String() string
String implements the fmt.Stringer interface for SiteMxtunnelAdditionalMxtunnel, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteMxtunnelAdditionalMxtunnel) UnmarshalJSON ¶
func (s *SiteMxtunnelAdditionalMxtunnel) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteMxtunnelAdditionalMxtunnel. It customizes the JSON unmarshaling process for SiteMxtunnelAdditionalMxtunnel objects.
type SiteMxtunnelCluster ¶
type SiteMxtunnelCluster struct {
Name *string `json:"name,omitempty"`
TuntermHosts []string `json:"tunterm_hosts,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteMxtunnelCluster represents a SiteMxtunnelCluster struct.
func (SiteMxtunnelCluster) MarshalJSON ¶
func (s SiteMxtunnelCluster) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteMxtunnelCluster. It customizes the JSON marshaling process for SiteMxtunnelCluster objects.
func (SiteMxtunnelCluster) String ¶ added in v0.4.23
func (s SiteMxtunnelCluster) String() string
String implements the fmt.Stringer interface for SiteMxtunnelCluster, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteMxtunnelCluster) UnmarshalJSON ¶
func (s *SiteMxtunnelCluster) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteMxtunnelCluster. It customizes the JSON unmarshaling process for SiteMxtunnelCluster objects.
type SiteMxtunnelProtocolEnum ¶
type SiteMxtunnelProtocolEnum string
SiteMxtunnelProtocolEnum is a string enum. enum: `ip`, `udp`
const ( SiteMxtunnelProtocolEnum_IP SiteMxtunnelProtocolEnum = "ip" SiteMxtunnelProtocolEnum_UDP SiteMxtunnelProtocolEnum = "udp" )
type SiteMxtunnelRadsec ¶
type SiteMxtunnelRadsec struct {
AcctServers []RadiusAcctServer `json:"acct_servers,omitempty"`
AuthServers []RadiusAuthServer `json:"auth_servers,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
UseMxedge *bool `json:"use_mxedge,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteMxtunnelRadsec represents a SiteMxtunnelRadsec struct.
func (SiteMxtunnelRadsec) MarshalJSON ¶
func (s SiteMxtunnelRadsec) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteMxtunnelRadsec. It customizes the JSON marshaling process for SiteMxtunnelRadsec objects.
func (SiteMxtunnelRadsec) String ¶ added in v0.4.23
func (s SiteMxtunnelRadsec) String() string
String implements the fmt.Stringer interface for SiteMxtunnelRadsec, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteMxtunnelRadsec) UnmarshalJSON ¶
func (s *SiteMxtunnelRadsec) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteMxtunnelRadsec. It customizes the JSON unmarshaling process for SiteMxtunnelRadsec objects.
type SiteNacClientEventsCountDistinctEnum ¶
type SiteNacClientEventsCountDistinctEnum string
SiteNacClientEventsCountDistinctEnum is a string enum. enum: `ap`, `auth_type`, `dryrun_nacrule_id`, `mac`, `nacrule_id`, `nas_vendor`, `ssid`, `type`, `username`, `vlan`
const ( SiteNacClientEventsCountDistinctEnum_AP SiteNacClientEventsCountDistinctEnum = "ap" SiteNacClientEventsCountDistinctEnum_AUTHTYPE SiteNacClientEventsCountDistinctEnum = "auth_type" SiteNacClientEventsCountDistinctEnum_DRYRUNNACRULEID SiteNacClientEventsCountDistinctEnum = "dryrun_nacrule_id" SiteNacClientEventsCountDistinctEnum_MAC SiteNacClientEventsCountDistinctEnum = "mac" SiteNacClientEventsCountDistinctEnum_NACRULEID SiteNacClientEventsCountDistinctEnum = "nacrule_id" SiteNacClientEventsCountDistinctEnum_NASVENDOR SiteNacClientEventsCountDistinctEnum = "nas_vendor" SiteNacClientEventsCountDistinctEnum_SSID SiteNacClientEventsCountDistinctEnum = "ssid" SiteNacClientEventsCountDistinctEnum_ENUMTYPE SiteNacClientEventsCountDistinctEnum = "type" SiteNacClientEventsCountDistinctEnum_USERNAME SiteNacClientEventsCountDistinctEnum = "username" SiteNacClientEventsCountDistinctEnum_VLAN SiteNacClientEventsCountDistinctEnum = "vlan" )
type SiteNacClientsCountDistinctEnum ¶
type SiteNacClientsCountDistinctEnum string
SiteNacClientsCountDistinctEnum is a string enum. enum: `ap`, `auth_type`, `device_mac`, `edr_managed`, `edr_provider`, `edr_status`, `family`, `hostname`, `idp_id`, `mfg`, `mdm_compliance`, `mdm_managed`, `mdm_provider`, `model`, `mxedge_id`, `nacrule_matched`, `nacrule_name`, `nacrule_id`, `nas_ip`, `nas_vendor`, `os`, `ssid`, `status`, `type`, `usermac_label`, `username`, `vlan`
const ( SiteNacClientsCountDistinctEnum_AP SiteNacClientsCountDistinctEnum = "ap" SiteNacClientsCountDistinctEnum_AUTHTYPE SiteNacClientsCountDistinctEnum = "auth_type" SiteNacClientsCountDistinctEnum_DEVICEMAC SiteNacClientsCountDistinctEnum = "device_mac" SiteNacClientsCountDistinctEnum_EDRMANAGED SiteNacClientsCountDistinctEnum = "edr_managed" SiteNacClientsCountDistinctEnum_EDRPROVIDER SiteNacClientsCountDistinctEnum = "edr_provider" SiteNacClientsCountDistinctEnum_EDRSTATUS SiteNacClientsCountDistinctEnum = "edr_status" SiteNacClientsCountDistinctEnum_FAMILY SiteNacClientsCountDistinctEnum = "family" SiteNacClientsCountDistinctEnum_HOSTNAME SiteNacClientsCountDistinctEnum = "hostname" SiteNacClientsCountDistinctEnum_IDPID SiteNacClientsCountDistinctEnum = "idp_id" SiteNacClientsCountDistinctEnum_MFG SiteNacClientsCountDistinctEnum = "mfg" SiteNacClientsCountDistinctEnum_MDMCOMPLIANCE SiteNacClientsCountDistinctEnum = "mdm_compliance" SiteNacClientsCountDistinctEnum_MDMMANAGED SiteNacClientsCountDistinctEnum = "mdm_managed" SiteNacClientsCountDistinctEnum_MDMPROVIDER SiteNacClientsCountDistinctEnum = "mdm_provider" SiteNacClientsCountDistinctEnum_MODEL SiteNacClientsCountDistinctEnum = "model" SiteNacClientsCountDistinctEnum_MXEDGEID SiteNacClientsCountDistinctEnum = "mxedge_id" SiteNacClientsCountDistinctEnum_NACRULEMATCHED SiteNacClientsCountDistinctEnum = "nacrule_matched" SiteNacClientsCountDistinctEnum_NACRULENAME SiteNacClientsCountDistinctEnum = "nacrule_name" SiteNacClientsCountDistinctEnum_NACRULEID SiteNacClientsCountDistinctEnum = "nacrule_id" SiteNacClientsCountDistinctEnum_NASIP SiteNacClientsCountDistinctEnum = "nas_ip" SiteNacClientsCountDistinctEnum_NASVENDOR SiteNacClientsCountDistinctEnum = "nas_vendor" SiteNacClientsCountDistinctEnum_OS SiteNacClientsCountDistinctEnum = "os" SiteNacClientsCountDistinctEnum_SSID SiteNacClientsCountDistinctEnum = "ssid" SiteNacClientsCountDistinctEnum_STATUS SiteNacClientsCountDistinctEnum = "status" SiteNacClientsCountDistinctEnum_ENUMTYPE SiteNacClientsCountDistinctEnum = "type" SiteNacClientsCountDistinctEnum_USERMACLABEL SiteNacClientsCountDistinctEnum = "usermac_label" SiteNacClientsCountDistinctEnum_USERNAME SiteNacClientsCountDistinctEnum = "username" SiteNacClientsCountDistinctEnum_VLAN SiteNacClientsCountDistinctEnum = "vlan" )
type SiteOccupancyAnalytics ¶
type SiteOccupancyAnalytics struct {
// Indicate whether named BLE assets should be included in the zone occupancy calculation
AssetsEnabled *bool `json:"assets_enabled,omitempty"`
// Indicate whether connected Wi-Fi clients should be included in the zone occupancy calculation
ClientsEnabled *bool `json:"clients_enabled,omitempty"`
// Minimum duration
MinDuration *int `json:"min_duration,omitempty"`
// Indicate whether SDK clients should be included in the zone occupancy calculation
SdkclientsEnabled *bool `json:"sdkclients_enabled,omitempty"`
// Indicate whether unconnected Wi-Fi clients should be included in the zone occupancy calculation
UnconnectedClientsEnabled *bool `json:"unconnected_clients_enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteOccupancyAnalytics represents a SiteOccupancyAnalytics struct. Occupancy Analytics settings
func (SiteOccupancyAnalytics) MarshalJSON ¶
func (s SiteOccupancyAnalytics) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteOccupancyAnalytics. It customizes the JSON marshaling process for SiteOccupancyAnalytics objects.
func (SiteOccupancyAnalytics) String ¶ added in v0.4.23
func (s SiteOccupancyAnalytics) String() string
String implements the fmt.Stringer interface for SiteOccupancyAnalytics, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteOccupancyAnalytics) UnmarshalJSON ¶
func (s *SiteOccupancyAnalytics) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteOccupancyAnalytics. It customizes the JSON unmarshaling process for SiteOccupancyAnalytics objects.
type SiteOtherDeviceEventsCountDistinctEnum ¶
type SiteOtherDeviceEventsCountDistinctEnum string
SiteOtherDeviceEventsCountDistinctEnum is a string enum. enum: `mac`, `site_id`, `type`, `vendor`
const ( SiteOtherDeviceEventsCountDistinctEnum_MAC SiteOtherDeviceEventsCountDistinctEnum = "mac" SiteOtherDeviceEventsCountDistinctEnum_SITEID SiteOtherDeviceEventsCountDistinctEnum = "site_id" SiteOtherDeviceEventsCountDistinctEnum_ENUMTYPE SiteOtherDeviceEventsCountDistinctEnum = "type" SiteOtherDeviceEventsCountDistinctEnum_VENDOR SiteOtherDeviceEventsCountDistinctEnum = "vendor" )
type SitePortsCountDistinctEnum ¶
type SitePortsCountDistinctEnum string
SitePortsCountDistinctEnum is a string enum. enum: `full_duplex`, `mac`, `neighbor_mac`, `neighbor_port_desc`, `neighbor_system_name`, `poe_disabled`, `poe_mode`, `poe_on`, `port_id`, `port_mac`, `speed`, `up`
const ( SitePortsCountDistinctEnum_FULLDUPLEX SitePortsCountDistinctEnum = "full_duplex" SitePortsCountDistinctEnum_MAC SitePortsCountDistinctEnum = "mac" SitePortsCountDistinctEnum_NEIGHBORMAC SitePortsCountDistinctEnum = "neighbor_mac" SitePortsCountDistinctEnum_NEIGHBORPORTDESC SitePortsCountDistinctEnum = "neighbor_port_desc" SitePortsCountDistinctEnum_NEIGHBORSYSTEMNAME SitePortsCountDistinctEnum = "neighbor_system_name" SitePortsCountDistinctEnum_POEDISABLED SitePortsCountDistinctEnum = "poe_disabled" SitePortsCountDistinctEnum_POEMODE SitePortsCountDistinctEnum = "poe_mode" SitePortsCountDistinctEnum_POEON SitePortsCountDistinctEnum = "poe_on" SitePortsCountDistinctEnum_PORTID SitePortsCountDistinctEnum = "port_id" SitePortsCountDistinctEnum_PORTMAC SitePortsCountDistinctEnum = "port_mac" SitePortsCountDistinctEnum_SPEED SitePortsCountDistinctEnum = "speed" SitePortsCountDistinctEnum_UP SitePortsCountDistinctEnum = "up" )
type SiteRogue ¶
type SiteRogue struct {
// list of VLAN IDs on which rogue APs are ignored
AllowedVlanIds []int `json:"allowed_vlan_ids,omitempty"`
// Whether rogue detection is enabled
Enabled *bool `json:"enabled,omitempty"`
// Whether honeypot detection is enabled
HoneypotEnabled *bool `json:"honeypot_enabled,omitempty"`
// Minimum duration for a bssid to be considered neighbor
MinDuration *int `json:"min_duration,omitempty"`
// Minimum duration for a bssid to be considered rogue
MinRogueDuration *int `json:"min_rogue_duration,omitempty"`
// Minimum RSSI for an AP to be considered rogue
MinRogueRssi *int `json:"min_rogue_rssi,omitempty"`
// Minimum RSSI for an AP to be considered neighbor (ignoring APs that’s far away)
MinRssi *int `json:"min_rssi,omitempty"`
// list of BSSIDs to whitelist. Ex: "cc-:8e-:6f-:d4-:bf-:16", "cc-8e-6f-d4-bf-16", "cc-73-*", "cc:82:*"
WhitelistedBssids []string `json:"whitelisted_bssids,omitempty"`
// List of SSIDs to whitelist
WhitelistedSsids []string `json:"whitelisted_ssids,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteRogue represents a SiteRogue struct. Rogue site settings
func (SiteRogue) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for SiteRogue. It customizes the JSON marshaling process for SiteRogue objects.
func (SiteRogue) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for SiteRogue, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteRogue) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for SiteRogue. It customizes the JSON unmarshaling process for SiteRogue objects.
type SiteRogueEventsCountDistinctEnum ¶
type SiteRogueEventsCountDistinctEnum string
SiteRogueEventsCountDistinctEnum is a string enum. enum: `ap`, `bssid`, `ssid`, `type`
const ( SiteRogueEventsCountDistinctEnum_AP SiteRogueEventsCountDistinctEnum = "ap" SiteRogueEventsCountDistinctEnum_BSSID SiteRogueEventsCountDistinctEnum = "bssid" SiteRogueEventsCountDistinctEnum_SSID SiteRogueEventsCountDistinctEnum = "ssid" SiteRogueEventsCountDistinctEnum_ENUMTYPE SiteRogueEventsCountDistinctEnum = "type" )
type SiteServiceEventsCountDistinctEnum ¶
type SiteServiceEventsCountDistinctEnum string
SiteServiceEventsCountDistinctEnum is a string enum. enum: `mac`, `model`, `policy`, `port_id`, `site_id`, `type`, `vpn_name`, `vpn_path`
const ( SiteServiceEventsCountDistinctEnum_MAC SiteServiceEventsCountDistinctEnum = "mac" SiteServiceEventsCountDistinctEnum_MODEL SiteServiceEventsCountDistinctEnum = "model" SiteServiceEventsCountDistinctEnum_POLICY SiteServiceEventsCountDistinctEnum = "policy" SiteServiceEventsCountDistinctEnum_PORTID SiteServiceEventsCountDistinctEnum = "port_id" SiteServiceEventsCountDistinctEnum_SITEID SiteServiceEventsCountDistinctEnum = "site_id" SiteServiceEventsCountDistinctEnum_ENUMTYPE SiteServiceEventsCountDistinctEnum = "type" SiteServiceEventsCountDistinctEnum_VPNNAME SiteServiceEventsCountDistinctEnum = "vpn_name" SiteServiceEventsCountDistinctEnum_VPNPATH SiteServiceEventsCountDistinctEnum = "vpn_path" )
type SiteSetting ¶
type SiteSetting struct {
AclPolicies []AclPolicy `json:"acl_policies,omitempty"`
// ACL Tags to identify traffic source or destination. Key name is the tag name
AclTags map[string]AclTag `json:"acl_tags,omitempty"`
// additional CLI commands to append to the generated Junos config. **Note**: no check is done
AdditionalConfigCmds []string `json:"additional_config_cmds,omitempty"`
Analytic *SiteSettingAnalytic `json:"analytic,omitempty"`
ApMatching *SiteSettingApMatching `json:"ap_matching,omitempty"`
ApPortConfig *SiteSettingApPortConfig `json:"ap_port_config,omitempty"`
// Enable threshold-based device down delivery for AP devices only. When configured it takes effect for AP devices and `device_updown_threshold` is ignored.
ApUpdownThreshold Optional[int] `json:"ap_updown_threshold"`
// If we're able to determine its x/y/orientation, this will be populated
AutoPlacement *SiteSettingAutoPlacement `json:"auto_placement,omitempty"`
// Auto Upgrade Settings
AutoUpgrade *SiteSettingAutoUpgrade `json:"auto_upgrade,omitempty"`
// auto upgrade AP ESL. When both firmware and ESL auto-upgrade are enabled, ESL upgrade will be done only after firmware upgrade
AutoUpgradeEsl *SiteSettingAutoUpgradeEsl `json:"auto_upgrade_esl,omitempty"`
AutoUpgradeLinecard *bool `json:"auto_upgrade_linecard,omitempty"`
// enable threshold-based bgp neighbor down delivery.
BgpNeighborUpdownThreshold Optional[int] `json:"bgp_neighbor_updown_threshold"`
BlacklistUrl *string `json:"blacklist_url,omitempty"`
// BLE AP settings
BleConfig *BleConfig `json:"ble_config,omitempty"`
// Whether to enable ap auto config revert
ConfigAutoRevert *bool `json:"config_auto_revert,omitempty"`
// Mist also uses some heuristic rules to prevent destructive configs from being pushed
ConfigPushPolicy *SiteSettingConfigPushPolicy `json:"config_push_policy,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// You can define some URLs that's critical to site operations the latency will be captured and considered for site health
CriticalUrlMonitoring *SiteSettingCriticalUrlMonitoring `json:"critical_url_monitoring,omitempty"`
// Port usage to assign to switch ports without any port usage assigned. Default: `default` to preserve default behavior
DefaultPortUsage *string `json:"default_port_usage,omitempty"`
// By default, device_updown_threshold, if set, will apply to all devices types if different values for specific device type is desired, use the following
DeviceUpdownThreshold Optional[int] `json:"device_updown_threshold"`
DhcpSnooping *DhcpSnooping `json:"dhcp_snooping,omitempty"`
// If some system-default port usages are not desired - namely, ap / iot / uplink
DisabledSystemDefinedPortUsages []SystemDefinedPortUsagesEnum `json:"disabled_system_defined_port_usages,omitempty"`
// Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting
DnsServers []string `json:"dns_servers,omitempty"`
// Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting
DnsSuffix []string `json:"dns_suffix,omitempty"`
EnableUnii4 *bool `json:"enable_unii_4,omitempty"`
// **Note**: if hours does not exist, it's treated as everyday of the week, 00:00-23:59. Currently, we don't allow multiple ranges for the same day
Engagement *SiteEngagement `json:"engagement,omitempty"`
// EVPN Options
EvpnOptions *EvpnOptions `json:"evpn_options,omitempty"`
// Property key is the destination CIDR (e.g. "10.0.0.0/8")
ExtraRoutes map[string]ExtraRoute `json:"extra_routes,omitempty"`
// Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64")
ExtraRoutes6 map[string]ExtraRoute6 `json:"extra_routes6,omitempty"`
// Name/val pair objects for location engine to use
Flags map[string]string `json:"flags,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// Gateway Template is applied to a site for gateway(s) in a site.
Gateway *GatewayTemplate `json:"gateway,omitempty"`
// additional CLI commands to append to the generated Junos config. **Note**: no check is done
GatewayAdditionalConfigCmds []string `json:"gateway_additional_config_cmds,omitempty"`
// Gateway Site settings
GatewayMgmt *SiteSettingGatewayMgmt `json:"gateway_mgmt,omitempty"`
// Enable threshold-based device down delivery for Gateway devices only. When configured it takes effect for GW devices and `device_updown_threshold` is ignored.
GatewayUpdownThreshold Optional[int] `json:"gateway_updown_threshold"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
JuniperSrx *SiteSettingJuniperSrx `json:"juniper_srx,omitempty"`
// LED AP settings
Led *ApLed `json:"led,omitempty"`
Marvis *Marvis `json:"marvis,omitempty"`
// Enable mist_nac to use RadSec
MistNac *SwitchMistNac `json:"mist_nac,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
// Site Mist Edges form a cluster of RadSec Proxy servers
Mxedge *SiteSettingMxedge `json:"mxedge,omitempty"`
MxedgeMgmt *MxedgeMgmt `json:"mxedge_mgmt,omitempty"`
// Site MxTunnel
Mxtunnels *SiteMxtunnel `json:"mxtunnels,omitempty"`
// Property key is network name
Networks map[string]SwitchNetwork `json:"networks,omitempty"`
// List of NTP servers
NtpServers []string `json:"ntp_servers,omitempty"`
// Occupancy Analytics settings
Occupancy *SiteOccupancyAnalytics `json:"occupancy,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Junos OSPF areas. Property key is the OSPF Area (Area should be a number (0-255) / IP address)
OspfAreas map[string]OspfArea `json:"ospf_areas,omitempty"`
PaloaltoNetworks *SiteSettingPaloaltoNetworks `json:"paloalto_networks,omitempty"`
// Whether to store the config on AP
PersistConfigOnDevice *bool `json:"persist_config_on_device,omitempty"`
// Property key is the port mirroring instance name. `port_mirroring` can be added under device/site settings. It takes interface and ports as input for ingress, interface as input for egress and can take interface and port as output. A maximum 4 mirroring ports is allowed
PortMirroring map[string]SwitchPortMirroringProperty `json:"port_mirroring,omitempty"`
// Property key is the port usage name. Defines the profiles of port configuration configured on the switch
PortUsages map[string]SwitchPortUsage `json:"port_usages,omitempty"`
// Proxy Configuration to talk to Mist
Proxy *Proxy `json:"proxy,omitempty"`
// Radio AP settings
RadioConfig *ApRadio `json:"radio_config,omitempty"`
// Junos Radius config
RadiusConfig *SwitchRadiusConfig `json:"radius_config,omitempty"`
RemoteSyslog *RemoteSyslog `json:"remote_syslog,omitempty"`
// By default, only the configuration generated by Mist is cleaned up during the configuration process. If `true`, all the existing configuration will be removed.
RemoveExistingConfigs *bool `json:"remove_existing_configs,omitempty"`
// Whether AP should periodically connect to BLE devices and report GATT device info (device name, manufacturer name, serial number, battery %, temperature, humidity)
ReportGatt *bool `json:"report_gatt,omitempty"`
// Rogue site settings
Rogue *SiteRogue `json:"rogue,omitempty"`
// Property key is the routing policy name
RoutingPolicies map[string]SwRoutingPolicy `json:"routing_policies,omitempty"`
// Managed mobility
Rtsa *SiteSettingRtsa `json:"rtsa,omitempty"`
// Set of heuristic rules will be enabled when marvis subscription is not available. It triggers when, in a Z minute window, there are more than Y distinct client encountering over X failures
SimpleAlert *SimpleAlert `json:"simple_alert,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Skyatp *SiteSettingSkyatp `json:"skyatp,omitempty"`
SleThresholds *SleThresholds `json:"sle_thresholds,omitempty"`
SnmpConfig *SnmpConfig `json:"snmp_config,omitempty"`
SrxApp *SiteSettingSrxApp `json:"srx_app,omitempty"`
// When limit_ssh_access = true in Org Setting, list of SSH public keys provided by Mist Support to install onto APs (see Org:Setting)
SshKeys []string `json:"ssh_keys,omitempty"`
Ssr *SettingSsr `json:"ssr,omitempty"`
StatusPortal *SiteSettingStatusPortal `json:"status_portal,omitempty"`
Switch *SiteSettingSwitch `json:"switch,omitempty"`
// Defines custom switch configuration based on different criteria
SwitchMatching *SwitchMatching `json:"switch_matching,omitempty"`
// Switch settings
SwitchMgmt *SwitchMgmt `json:"switch_mgmt,omitempty"`
// Enable threshold-based device down delivery for Switch devices only. When configured it takes effect for SW devices and `device_updown_threshold` is ignored.
SwitchUpdownThreshold Optional[int] `json:"switch_updown_threshold"`
SyntheticTest *SynthetictestConfig `json:"synthetic_test,omitempty"`
// Whether to track anonymous BLE assets (requires ‘track_asset’ enabled)
TrackAnonymousDevices *bool `json:"track_anonymous_devices,omitempty"`
TuntermMonitoring []TuntermMonitoringItem `json:"tunterm_monitoring,omitempty"`
TuntermMonitoringDisabled *bool `json:"tunterm_monitoring_disabled,omitempty"`
TuntermMulticastConfig *SiteSettingTuntermMulticastConfig `json:"tunterm_multicast_config,omitempty"`
// AP Uplink port configuration
UplinkPortConfig *ApUplinkPortConfig `json:"uplink_port_config,omitempty"`
// Dictionary of name->value, the vars can then be used in Wlans. This can overwrite those from Site Vars
Vars map[string]string `json:"vars,omitempty"`
Vna *SiteSettingVna `json:"vna,omitempty"`
// enable threshold-based vpn path down delivery.
VpnPathUpdownThreshold Optional[int] `json:"vpn_path_updown_threshold"`
// enable threshold-based vpn peer down delivery.
VpnPeerUpdownThreshold Optional[int] `json:"vpn_peer_updown_threshold"`
VrfConfig *VrfConfig `json:"vrf_config,omitempty"`
// Property key is the network name
VrfInstances map[string]SwitchVrfInstance `json:"vrf_instances,omitempty"`
// Property key is the vrrp group
VrrpGroups map[string]VrrpGroup `json:"vrrp_groups,omitempty"`
// Optional, for EX9200 only to segregate virtual-switches. Property key is the instance name
VsInstance map[string]VsInstanceProperty `json:"vs_instance,omitempty"`
WanVna *SiteSettingWanVna `json:"wan_vna,omitempty"`
WatchedStationUrl *string `json:"watched_station_url,omitempty"`
WhitelistUrl *string `json:"whitelist_url,omitempty"`
// WIDS site settings
Wids *SiteWids `json:"wids,omitempty"`
// Wi-Fi site settings
Wifi *SiteWifi `json:"wifi,omitempty"`
WiredVna *SiteSettingWiredVna `json:"wired_vna,omitempty"`
// Zone Occupancy alert site settings
ZoneOccupancyAlert *SiteZoneOccupancyAlert `json:"zone_occupancy_alert,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSetting represents a SiteSetting struct. Site Settings
func (SiteSetting) MarshalJSON ¶
func (s SiteSetting) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSetting. It customizes the JSON marshaling process for SiteSetting objects.
func (SiteSetting) String ¶ added in v0.4.23
func (s SiteSetting) String() string
String implements the fmt.Stringer interface for SiteSetting, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSetting) UnmarshalJSON ¶
func (s *SiteSetting) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSetting. It customizes the JSON unmarshaling process for SiteSetting objects.
type SiteSettingAnalytic ¶
type SiteSettingAnalytic struct {
// Enable Advanced Analytic feature (using SUB-ANA license)
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingAnalytic represents a SiteSettingAnalytic struct.
func (SiteSettingAnalytic) MarshalJSON ¶
func (s SiteSettingAnalytic) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingAnalytic. It customizes the JSON marshaling process for SiteSettingAnalytic objects.
func (SiteSettingAnalytic) String ¶ added in v0.4.23
func (s SiteSettingAnalytic) String() string
String implements the fmt.Stringer interface for SiteSettingAnalytic, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingAnalytic) UnmarshalJSON ¶
func (s *SiteSettingAnalytic) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingAnalytic. It customizes the JSON unmarshaling process for SiteSettingAnalytic objects.
type SiteSettingApMatching ¶
type SiteSettingApMatching struct {
Enabled *bool `json:"enabled,omitempty"`
Rules []SiteSettingApMatchingRule `json:"rules,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingApMatching represents a SiteSettingApMatching struct.
func (SiteSettingApMatching) MarshalJSON ¶
func (s SiteSettingApMatching) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingApMatching. It customizes the JSON marshaling process for SiteSettingApMatching objects.
func (SiteSettingApMatching) String ¶ added in v0.4.23
func (s SiteSettingApMatching) String() string
String implements the fmt.Stringer interface for SiteSettingApMatching, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingApMatching) UnmarshalJSON ¶
func (s *SiteSettingApMatching) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingApMatching. It customizes the JSON unmarshaling process for SiteSettingApMatching objects.
type SiteSettingApMatchingRule ¶
type SiteSettingApMatchingRule struct {
MatchModel *string `json:"match_model,omitempty"`
Name *string `json:"name,omitempty"`
// Property key is the interface(s) (e.g. "eth1,eth2")
PortConfig map[string]ApPortConfig `json:"port_config,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingApMatchingRule represents a SiteSettingApMatchingRule struct.
func (SiteSettingApMatchingRule) MarshalJSON ¶
func (s SiteSettingApMatchingRule) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingApMatchingRule. It customizes the JSON marshaling process for SiteSettingApMatchingRule objects.
func (SiteSettingApMatchingRule) String ¶ added in v0.4.23
func (s SiteSettingApMatchingRule) String() string
String implements the fmt.Stringer interface for SiteSettingApMatchingRule, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingApMatchingRule) UnmarshalJSON ¶
func (s *SiteSettingApMatchingRule) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingApMatchingRule. It customizes the JSON unmarshaling process for SiteSettingApMatchingRule objects.
type SiteSettingApPortConfig ¶
type SiteSettingApPortConfig struct {
// Property key is the AP model (e.g. "AP32")
ModelSpecific map[string]ApPortConfig `json:"model_specific,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingApPortConfig represents a SiteSettingApPortConfig struct.
func (SiteSettingApPortConfig) MarshalJSON ¶
func (s SiteSettingApPortConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingApPortConfig. It customizes the JSON marshaling process for SiteSettingApPortConfig objects.
func (SiteSettingApPortConfig) String ¶ added in v0.4.23
func (s SiteSettingApPortConfig) String() string
String implements the fmt.Stringer interface for SiteSettingApPortConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingApPortConfig) UnmarshalJSON ¶
func (s *SiteSettingApPortConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingApPortConfig. It customizes the JSON unmarshaling process for SiteSettingApPortConfig objects.
type SiteSettingAutoPlacement ¶
type SiteSettingAutoPlacement struct {
Orientation *int `json:"orientation,omitempty"`
X *float64 `json:"x,omitempty"`
Y *float64 `json:"y,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingAutoPlacement represents a SiteSettingAutoPlacement struct. If we're able to determine its x/y/orientation, this will be populated
func (SiteSettingAutoPlacement) MarshalJSON ¶
func (s SiteSettingAutoPlacement) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingAutoPlacement. It customizes the JSON marshaling process for SiteSettingAutoPlacement objects.
func (SiteSettingAutoPlacement) String ¶ added in v0.4.23
func (s SiteSettingAutoPlacement) String() string
String implements the fmt.Stringer interface for SiteSettingAutoPlacement, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingAutoPlacement) UnmarshalJSON ¶
func (s *SiteSettingAutoPlacement) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingAutoPlacement. It customizes the JSON unmarshaling process for SiteSettingAutoPlacement objects.
type SiteSettingAutoUpgrade ¶
type SiteSettingAutoUpgrade struct {
// Custom versions for different models. Property key is the model name (e.g. "AP41")
CustomVersions map[string]string `json:"custom_versions,omitempty"`
// enum: `any`, `fri`, `mon`, `sat`, `sun`, `thu`, `tue`, `wed`
DayOfWeek *DayOfWeekEnum `json:"day_of_week,omitempty"`
// Whether auto upgrade should happen (Note that Mist may auto-upgrade if the version is not supported)
Enabled *bool `json:"enabled,omitempty"`
// `any` / HH:MM (24-hour format), upgrade will happen within up to 1-hour from this time
TimeOfDay *string `json:"time_of_day,omitempty"`
// desired version. enum: `beta`, `custom`, `stable`
Version *SiteAutoUpgradeVersionEnum `json:"version,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingAutoUpgrade represents a SiteSettingAutoUpgrade struct. Auto Upgrade Settings
func (SiteSettingAutoUpgrade) MarshalJSON ¶
func (s SiteSettingAutoUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingAutoUpgrade. It customizes the JSON marshaling process for SiteSettingAutoUpgrade objects.
func (SiteSettingAutoUpgrade) String ¶ added in v0.4.23
func (s SiteSettingAutoUpgrade) String() string
String implements the fmt.Stringer interface for SiteSettingAutoUpgrade, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingAutoUpgrade) UnmarshalJSON ¶
func (s *SiteSettingAutoUpgrade) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingAutoUpgrade. It customizes the JSON unmarshaling process for SiteSettingAutoUpgrade objects.
type SiteSettingAutoUpgradeEsl ¶ added in v0.4.80
type SiteSettingAutoUpgradeEsl struct {
// If true, it will allow downgrade to a lower version
AllowDowngrade *bool `json:"allow_downgrade,omitempty"`
// Custom versions for different models. Property key is the model name (e.g. "AP41")
CustomVersions map[string]string `json:"custom_versions,omitempty"`
// enum: `any`, `fri`, `mon`, `sat`, `sun`, `thu`, `tue`, `wed`
DayOfWeek *DayOfWeekEnum `json:"day_of_week,omitempty"`
// Whether auto upgrade should happen (Note that Mist may auto-upgrade if the version is not supported)
Enabled *bool `json:"enabled,omitempty"`
// `any` / HH:MM (24-hour format), upgrade will happen within up to 1-hour from this time
TimeOfDay *string `json:"time_of_day,omitempty"`
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingAutoUpgradeEsl represents a SiteSettingAutoUpgradeEsl struct. auto upgrade AP ESL. When both firmware and ESL auto-upgrade are enabled, ESL upgrade will be done only after firmware upgrade
func (SiteSettingAutoUpgradeEsl) MarshalJSON ¶ added in v0.4.80
func (s SiteSettingAutoUpgradeEsl) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingAutoUpgradeEsl. It customizes the JSON marshaling process for SiteSettingAutoUpgradeEsl objects.
func (SiteSettingAutoUpgradeEsl) String ¶ added in v0.4.80
func (s SiteSettingAutoUpgradeEsl) String() string
String implements the fmt.Stringer interface for SiteSettingAutoUpgradeEsl, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingAutoUpgradeEsl) UnmarshalJSON ¶ added in v0.4.80
func (s *SiteSettingAutoUpgradeEsl) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingAutoUpgradeEsl. It customizes the JSON unmarshaling process for SiteSettingAutoUpgradeEsl objects.
type SiteSettingConfigPushPolicy ¶
type SiteSettingConfigPushPolicy struct {
// Stop any new config from being pushed to the device
NoPush *bool `json:"no_push,omitempty"`
// If enabled, new config will only be pushed to device within the specified time window
PushWindow *PushPolicyPushWindow `json:"push_window,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingConfigPushPolicy represents a SiteSettingConfigPushPolicy struct. Mist also uses some heuristic rules to prevent destructive configs from being pushed
func (SiteSettingConfigPushPolicy) MarshalJSON ¶
func (s SiteSettingConfigPushPolicy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingConfigPushPolicy. It customizes the JSON marshaling process for SiteSettingConfigPushPolicy objects.
func (SiteSettingConfigPushPolicy) String ¶ added in v0.4.23
func (s SiteSettingConfigPushPolicy) String() string
String implements the fmt.Stringer interface for SiteSettingConfigPushPolicy, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingConfigPushPolicy) UnmarshalJSON ¶
func (s *SiteSettingConfigPushPolicy) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingConfigPushPolicy. It customizes the JSON unmarshaling process for SiteSettingConfigPushPolicy objects.
type SiteSettingCriticalUrlMonitoring ¶
type SiteSettingCriticalUrlMonitoring struct {
Enabled *bool `json:"enabled,omitempty"`
Monitors []SiteSettingCriticalUrlMonitoringMonitor `json:"monitors,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingCriticalUrlMonitoring represents a SiteSettingCriticalUrlMonitoring struct. You can define some URLs that's critical to site operations the latency will be captured and considered for site health
func (SiteSettingCriticalUrlMonitoring) MarshalJSON ¶
func (s SiteSettingCriticalUrlMonitoring) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingCriticalUrlMonitoring. It customizes the JSON marshaling process for SiteSettingCriticalUrlMonitoring objects.
func (SiteSettingCriticalUrlMonitoring) String ¶ added in v0.4.23
func (s SiteSettingCriticalUrlMonitoring) String() string
String implements the fmt.Stringer interface for SiteSettingCriticalUrlMonitoring, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingCriticalUrlMonitoring) UnmarshalJSON ¶
func (s *SiteSettingCriticalUrlMonitoring) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingCriticalUrlMonitoring. It customizes the JSON unmarshaling process for SiteSettingCriticalUrlMonitoring objects.
type SiteSettingCriticalUrlMonitoringMonitor ¶
type SiteSettingCriticalUrlMonitoringMonitor struct {
Url *string `json:"url,omitempty"`
VlanId *VlanIdWithVariable `json:"vlan_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingCriticalUrlMonitoringMonitor represents a SiteSettingCriticalUrlMonitoringMonitor struct.
func (SiteSettingCriticalUrlMonitoringMonitor) MarshalJSON ¶
func (s SiteSettingCriticalUrlMonitoringMonitor) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingCriticalUrlMonitoringMonitor. It customizes the JSON marshaling process for SiteSettingCriticalUrlMonitoringMonitor objects.
func (SiteSettingCriticalUrlMonitoringMonitor) String ¶ added in v0.4.23
func (s SiteSettingCriticalUrlMonitoringMonitor) String() string
String implements the fmt.Stringer interface for SiteSettingCriticalUrlMonitoringMonitor, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingCriticalUrlMonitoringMonitor) UnmarshalJSON ¶
func (s *SiteSettingCriticalUrlMonitoringMonitor) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingCriticalUrlMonitoringMonitor. It customizes the JSON unmarshaling process for SiteSettingCriticalUrlMonitoringMonitor objects.
type SiteSettingDerived ¶ added in v0.4.74
type SiteSettingDerived struct {
AclPolicies []AclPolicy `json:"acl_policies,omitempty"`
// ACL Tags to identify traffic source or destination. Key name is the tag name
AclTags map[string]AclTag `json:"acl_tags,omitempty"`
// additional CLI commands to append to the generated Junos config. **Note**: no check is done
AdditionalConfigCmds []string `json:"additional_config_cmds,omitempty"`
Analytic *SiteSettingAnalytic `json:"analytic,omitempty"`
ApMatching *SiteSettingApMatching `json:"ap_matching,omitempty"`
ApPortConfig *SiteSettingApPortConfig `json:"ap_port_config,omitempty"`
// Enable threshold-based device down delivery for AP devices only. When configured it takes effect for AP devices and `device_updown_threshold` is ignored.
ApUpdownThreshold Optional[int] `json:"ap_updown_threshold"`
// If we're able to determine its x/y/orientation, this will be populated
AutoPlacement *SiteSettingAutoPlacement `json:"auto_placement,omitempty"`
// Auto Upgrade Settings
AutoUpgrade *SiteSettingAutoUpgrade `json:"auto_upgrade,omitempty"`
// auto upgrade AP ESL. When both firmware and ESL auto-upgrade are enabled, ESL upgrade will be done only after firmware upgrade
AutoUpgradeEsl *SiteSettingAutoUpgradeEsl `json:"auto_upgrade_esl,omitempty"`
AutoUpgradeLinecard *bool `json:"auto_upgrade_linecard,omitempty"`
// enable threshold-based bgp neighbor down delivery.
BgpNeighborUpdownThreshold Optional[int] `json:"bgp_neighbor_updown_threshold"`
BlacklistUrl *string `json:"blacklist_url,omitempty"`
// BLE AP settings
BleConfig *BleConfig `json:"ble_config,omitempty"`
// Whether to enable ap auto config revert
ConfigAutoRevert *bool `json:"config_auto_revert,omitempty"`
// Mist also uses some heuristic rules to prevent destructive configs from being pushed
ConfigPushPolicy *SiteSettingConfigPushPolicy `json:"config_push_policy,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// You can define some URLs that's critical to site operations the latency will be captured and considered for site health
CriticalUrlMonitoring *SiteSettingCriticalUrlMonitoring `json:"critical_url_monitoring,omitempty"`
// Port usage to assign to switch ports without any port usage assigned. Default: `default` to preserve default behavior
DefaultPortUsage *string `json:"default_port_usage,omitempty"`
// By default, device_updown_threshold, if set, will apply to all devices types if different values for specific device type is desired, use the following
DeviceUpdownThreshold Optional[int] `json:"device_updown_threshold"`
DhcpSnooping *DhcpSnooping `json:"dhcp_snooping,omitempty"`
// If some system-default port usages are not desired - namely, ap / iot / uplink
DisabledSystemDefinedPortUsages []SystemDefinedPortUsagesEnum `json:"disabled_system_defined_port_usages,omitempty"`
// Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting
DnsServers []string `json:"dns_servers,omitempty"`
// Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting
DnsSuffix []string `json:"dns_suffix,omitempty"`
EnableUnii4 *bool `json:"enable_unii_4,omitempty"`
// **Note**: if hours does not exist, it's treated as everyday of the week, 00:00-23:59. Currently, we don't allow multiple ranges for the same day
Engagement *SiteEngagement `json:"engagement,omitempty"`
// EVPN Options
EvpnOptions *EvpnOptions `json:"evpn_options,omitempty"`
// Property key is the destination CIDR (e.g. "10.0.0.0/8")
ExtraRoutes map[string]ExtraRoute `json:"extra_routes,omitempty"`
// Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64")
ExtraRoutes6 map[string]ExtraRoute6 `json:"extra_routes6,omitempty"`
// Name/val pair objects for location engine to use
Flags map[string]string `json:"flags,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// Gateway Template is applied to a site for gateway(s) in a site.
Gateway *GatewayTemplate `json:"gateway,omitempty"`
// additional CLI commands to append to the generated Junos config. **Note**: no check is done
GatewayAdditionalConfigCmds []string `json:"gateway_additional_config_cmds,omitempty"`
// Gateway Site settings
GatewayMgmt *SiteSettingGatewayMgmt `json:"gateway_mgmt,omitempty"`
// Enable threshold-based device down delivery for Gateway devices only. When configured it takes effect for GW devices and `device_updown_threshold` is ignored.
GatewayUpdownThreshold Optional[int] `json:"gateway_updown_threshold"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
JuniperSrx *SiteSettingJuniperSrx `json:"juniper_srx,omitempty"`
// LED AP settings
Led *ApLed `json:"led,omitempty"`
Marvis *Marvis `json:"marvis,omitempty"`
// Enable mist_nac to use RadSec
MistNac *SwitchMistNac `json:"mist_nac,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
// Site Mist Edges form a cluster of RadSec Proxy servers
Mxedge *SiteSettingMxedge `json:"mxedge,omitempty"`
MxedgeMgmt *MxedgeMgmt `json:"mxedge_mgmt,omitempty"`
// Site MxTunnel
Mxtunnels *SiteMxtunnel `json:"mxtunnels,omitempty"`
// Property key is network name
Networks map[string]SwitchNetwork `json:"networks,omitempty"`
// List of NTP servers
NtpServers []string `json:"ntp_servers,omitempty"`
// Occupancy Analytics settings
Occupancy *SiteOccupancyAnalytics `json:"occupancy,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Junos OSPF areas. Property key is the OSPF Area (Area should be a number (0-255) / IP address)
OspfAreas map[string]OspfArea `json:"ospf_areas,omitempty"`
PaloaltoNetworks *SiteSettingPaloaltoNetworks `json:"paloalto_networks,omitempty"`
// Whether to store the config on AP
PersistConfigOnDevice *bool `json:"persist_config_on_device,omitempty"`
// Property key is the port mirroring instance name. `port_mirroring` can be added under device/site settings. It takes interface and ports as input for ingress, interface as input for egress and can take interface and port as output. A maximum 4 mirroring ports is allowed
PortMirroring map[string]SwitchPortMirroringProperty `json:"port_mirroring,omitempty"`
// Property key is the port usage name. Defines the profiles of port configuration configured on the switch
PortUsages map[string]SwitchPortUsage `json:"port_usages,omitempty"`
// Proxy Configuration to talk to Mist
Proxy *Proxy `json:"proxy,omitempty"`
// Radio AP settings
RadioConfig *ApRadio `json:"radio_config,omitempty"`
// Junos Radius config
RadiusConfig *SwitchRadiusConfig `json:"radius_config,omitempty"`
RemoteSyslog *RemoteSyslog `json:"remote_syslog,omitempty"`
// By default, only the configuration generated by Mist is cleaned up during the configuration process. If `true`, all the existing configuration will be removed.
RemoveExistingConfigs *bool `json:"remove_existing_configs,omitempty"`
// Whether AP should periodically connect to BLE devices and report GATT device info (device name, manufacturer name, serial number, battery %, temperature, humidity)
ReportGatt *bool `json:"report_gatt,omitempty"`
// Rogue site settings
Rogue *SiteRogue `json:"rogue,omitempty"`
// Property key is the routing policy name
RoutingPolicies map[string]SwRoutingPolicy `json:"routing_policies,omitempty"`
// Managed mobility
Rtsa *SiteSettingRtsa `json:"rtsa,omitempty"`
// Set of heuristic rules will be enabled when marvis subscription is not available. It triggers when, in a Z minute window, there are more than Y distinct client encountering over X failures
SimpleAlert *SimpleAlert `json:"simple_alert,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Skyatp *SiteSettingSkyatp `json:"skyatp,omitempty"`
SleThresholds *SleThresholds `json:"sle_thresholds,omitempty"`
SnmpConfig *SnmpConfig `json:"snmp_config,omitempty"`
SrxApp *SiteSettingSrxApp `json:"srx_app,omitempty"`
// When limit_ssh_access = true in Org Setting, list of SSH public keys provided by Mist Support to install onto APs (see Org:Setting)
SshKeys []string `json:"ssh_keys,omitempty"`
Ssr *SettingSsr `json:"ssr,omitempty"`
StatusPortal *SiteSettingStatusPortal `json:"status_portal,omitempty"`
Switch *SiteSettingSwitch `json:"switch,omitempty"`
// Defines custom switch configuration based on different criteria
SwitchMatching *SwitchMatching `json:"switch_matching,omitempty"`
// Switch settings
SwitchMgmt *SwitchMgmt `json:"switch_mgmt,omitempty"`
// Enable threshold-based device down delivery for Switch devices only. When configured it takes effect for SW devices and `device_updown_threshold` is ignored.
SwitchUpdownThreshold Optional[int] `json:"switch_updown_threshold"`
SyntheticTest *SynthetictestConfig `json:"synthetic_test,omitempty"`
// Whether to track anonymous BLE assets (requires ‘track_asset’ enabled)
TrackAnonymousDevices *bool `json:"track_anonymous_devices,omitempty"`
TuntermMonitoring []TuntermMonitoringItem `json:"tunterm_monitoring,omitempty"`
TuntermMonitoringDisabled *bool `json:"tunterm_monitoring_disabled,omitempty"`
TuntermMulticastConfig *SiteSettingTuntermMulticastConfig `json:"tunterm_multicast_config,omitempty"`
// AP Uplink port configuration
UplinkPortConfig *ApUplinkPortConfig `json:"uplink_port_config,omitempty"`
// Dictionary of name->value, the vars can then be used in Wlans. This can overwrite those from Site Vars
Vars map[string]string `json:"vars,omitempty"`
Vna *SiteSettingVna `json:"vna,omitempty"`
// enable threshold-based vpn path down delivery.
VpnPathUpdownThreshold Optional[int] `json:"vpn_path_updown_threshold"`
// enable threshold-based vpn peer down delivery.
VpnPeerUpdownThreshold Optional[int] `json:"vpn_peer_updown_threshold"`
VrfConfig *VrfConfig `json:"vrf_config,omitempty"`
// Property key is the network name
VrfInstances map[string]SwitchVrfInstance `json:"vrf_instances,omitempty"`
// Property key is the vrrp group
VrrpGroups map[string]VrrpGroup `json:"vrrp_groups,omitempty"`
// Optional, for EX9200 only to segregate virtual-switches. Property key is the instance name
VsInstance map[string]VsInstanceProperty `json:"vs_instance,omitempty"`
WanVna *SiteSettingWanVna `json:"wan_vna,omitempty"`
WatchedStationUrl *string `json:"watched_station_url,omitempty"`
WhitelistUrl *string `json:"whitelist_url,omitempty"`
// WIDS site settings
Wids *SiteWids `json:"wids,omitempty"`
// Wi-Fi site settings
Wifi *SiteWifi `json:"wifi,omitempty"`
WiredVna *SiteSettingWiredVna `json:"wired_vna,omitempty"`
// Zone Occupancy alert site settings
ZoneOccupancyAlert *SiteZoneOccupancyAlert `json:"zone_occupancy_alert,omitempty"`
// Linked app account id
AccountId *string `json:"account_id,omitempty"`
// For Prisma accounts only, tunnel auto probe subnet
AutoProbeSubnet *string `json:"auto_probe_subnet,omitempty"`
// Customer account Client ID
ClientId *string `json:"client_id,omitempty"`
// Name of the company whose account mist has subscribed to
CloudName *string `json:"cloud_name,omitempty"`
// Name of the company whose account mist has subscribed to
Company *string `json:"company,omitempty"`
// For Prisma accounts only, tunnel probe enable/disable
EnableProbe *bool `json:"enable_probe,omitempty"`
// This error is provided when the account fails to fetch token/data
Error *string `json:"error,omitempty"`
Errors []string `json:"errors,omitempty"`
// Customer account instance URL
InstanceUrl *string `json:"instance_url,omitempty"`
// For ZDX Account only, Customer account API key ID
KeyId *string `json:"key_id,omitempty"`
// Is the last data pull for account is successful or not
LastStatus *string `json:"last_status,omitempty"`
// Last data pull timestamp, background jobs that pull account data
LastSync *int64 `json:"last_sync,omitempty"`
// First name of the user who linked the account
LinkedBy *string `json:"linked_by,omitempty"`
LinkedTimestamp *float64 `json:"linked_timestamp,omitempty"`
// Zoom daily api request quota, https://developers.zoom.us/docs/api/rest/rate-limits/
MaxDailyApiRequests *int `json:"max_daily_api_requests,omitempty"`
// Name of the company whose account mist has subscribed to
Name *string `json:"name,omitempty"`
// Customer account password instance URL
Password *string `json:"password,omitempty"`
// For Prisma accounts only
Region *string `json:"region,omitempty"`
// For Prisma accounts only, property key is the region name. Regions with allocated bandwidth
Regions map[string]AccountOauthInfoAccountRegion `json:"regions,omitempty"`
// For Prisma accounts only
ServiceAccountName *string `json:"service_account_name,omitempty"`
// For Prisma accounts only, property key is the service connection name
ServiceConnections map[string]AccountOauthInfoAccountServiceConnection `json:"service_connections,omitempty"`
// Smart group membership for determining compliance status
SmartgroupName *string `json:"smartgroup_name,omitempty"`
// For Prisma accounts only, Prisma Tenant Service Group id
TsgId *string `json:"tsg_id,omitempty"`
// Customer account username
Username *string `json:"username,omitempty"`
// For VMWare accounts only
WebhookAuthType *string `json:"webhook_auth_type,omitempty"`
// For VMWare accounts only
WebhookEnabled *bool `json:"webhook_enabled,omitempty"`
// For VMWare accounts only
WebhookPassword *string `json:"webhook_password,omitempty"`
// For VMWare accounts only
WebhookUrl *string `json:"webhook_url,omitempty"`
// For VMWare accounts only
WebhookUsername *string `json:"webhook_username,omitempty"`
// For ZDX Account only, ZDX organization id
ZdxOrgId *string `json:"zdx_org_id,omitempty"`
AdditionalProperties map[string]AccountOauthInfoAccount `json:"_"`
}
SiteSettingDerived represents a SiteSettingDerived struct.
func (SiteSettingDerived) MarshalJSON ¶ added in v0.4.74
func (s SiteSettingDerived) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingDerived. It customizes the JSON marshaling process for SiteSettingDerived objects.
func (SiteSettingDerived) String ¶ added in v0.4.74
func (s SiteSettingDerived) String() string
String implements the fmt.Stringer interface for SiteSettingDerived, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingDerived) UnmarshalJSON ¶ added in v0.4.74
func (s *SiteSettingDerived) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingDerived. It customizes the JSON unmarshaling process for SiteSettingDerived objects.
type SiteSettingGatewayMgmt ¶
type SiteSettingGatewayMgmt struct {
// For SSR only, as direct root access is not allowed
AdminSshkeys []string `json:"admin_sshkeys,omitempty"`
AppProbing *AppProbing `json:"app_probing,omitempty"`
// Consumes uplink bandwidth, requires WA license
AppUsage *bool `json:"app_usage,omitempty"`
AutoSignatureUpdate *SiteSettingGatewayMgmtAutoSignatureUpdate `json:"auto_signature_update,omitempty"`
// Rollback timer for commit confirmed
ConfigRevertTimer *int `json:"config_revert_timer,omitempty"`
// For SSR and SRX, disable console port
DisableConsole *bool `json:"disable_console,omitempty"`
// For SSR and SRX, disable management interface
DisableOob *bool `json:"disable_oob,omitempty"`
// For SSR and SRX, disable usb interface
DisableUsb *bool `json:"disable_usb,omitempty"`
FipsEnabled *bool `json:"fips_enabled,omitempty"`
ProbeHosts []string `json:"probe_hosts,omitempty"`
ProbeHostsv6 []string `json:"probe_hostsv6,omitempty"`
// Restrict inbound-traffic to host
// when enabled, all traffic that is not essential to our operation will be dropped
// e.g. ntp / dns / traffic to mist will be allowed by default, if dhcpd is enabled, we'll make sure it works
ProtectRe *ProtectRe `json:"protect_re,omitempty"`
// SRX only
RootPassword *string `json:"root_password,omitempty"`
SecurityLogSourceAddress *string `json:"security_log_source_address,omitempty"`
SecurityLogSourceInterface *string `json:"security_log_source_interface,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingGatewayMgmt represents a SiteSettingGatewayMgmt struct. Gateway Site settings
func (SiteSettingGatewayMgmt) MarshalJSON ¶
func (s SiteSettingGatewayMgmt) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingGatewayMgmt. It customizes the JSON marshaling process for SiteSettingGatewayMgmt objects.
func (SiteSettingGatewayMgmt) String ¶ added in v0.4.23
func (s SiteSettingGatewayMgmt) String() string
String implements the fmt.Stringer interface for SiteSettingGatewayMgmt, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingGatewayMgmt) UnmarshalJSON ¶
func (s *SiteSettingGatewayMgmt) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingGatewayMgmt. It customizes the JSON unmarshaling process for SiteSettingGatewayMgmt objects.
type SiteSettingGatewayMgmtAutoSignatureUpdate ¶
type SiteSettingGatewayMgmtAutoSignatureUpdate struct {
// enum: `any`, `fri`, `mon`, `sat`, `sun`, `thu`, `tue`, `wed`
DayOfWeek *DayOfWeekEnum `json:"day_of_week,omitempty"`
Enable *bool `json:"enable,omitempty"`
// Optional, Mist will decide the timing
TimeOfDay *string `json:"time_of_day,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingGatewayMgmtAutoSignatureUpdate represents a SiteSettingGatewayMgmtAutoSignatureUpdate struct.
func (SiteSettingGatewayMgmtAutoSignatureUpdate) MarshalJSON ¶
func (s SiteSettingGatewayMgmtAutoSignatureUpdate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingGatewayMgmtAutoSignatureUpdate. It customizes the JSON marshaling process for SiteSettingGatewayMgmtAutoSignatureUpdate objects.
func (SiteSettingGatewayMgmtAutoSignatureUpdate) String ¶ added in v0.4.23
func (s SiteSettingGatewayMgmtAutoSignatureUpdate) String() string
String implements the fmt.Stringer interface for SiteSettingGatewayMgmtAutoSignatureUpdate, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingGatewayMgmtAutoSignatureUpdate) UnmarshalJSON ¶
func (s *SiteSettingGatewayMgmtAutoSignatureUpdate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingGatewayMgmtAutoSignatureUpdate. It customizes the JSON unmarshaling process for SiteSettingGatewayMgmtAutoSignatureUpdate objects.
type SiteSettingJuniperSrx ¶ added in v0.4.17
type SiteSettingJuniperSrx struct {
// auto_upgrade device first time it is onboarded
AutoUpgrade *JuniperSrxAutoUpgrade `json:"auto_upgrade,omitempty"`
Gateways []SiteSettingJuniperSrxGateway `json:"gateways,omitempty"`
SendMistNacUserInfo *bool `json:"send_mist_nac_user_info,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingJuniperSrx represents a SiteSettingJuniperSrx struct.
func (SiteSettingJuniperSrx) MarshalJSON ¶ added in v0.4.17
func (s SiteSettingJuniperSrx) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingJuniperSrx. It customizes the JSON marshaling process for SiteSettingJuniperSrx objects.
func (SiteSettingJuniperSrx) String ¶ added in v0.4.23
func (s SiteSettingJuniperSrx) String() string
String implements the fmt.Stringer interface for SiteSettingJuniperSrx, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingJuniperSrx) UnmarshalJSON ¶ added in v0.4.17
func (s *SiteSettingJuniperSrx) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingJuniperSrx. It customizes the JSON unmarshaling process for SiteSettingJuniperSrx objects.
type SiteSettingJuniperSrxGateway ¶ added in v0.4.17
type SiteSettingJuniperSrxGateway struct {
ApiKey *string `json:"api_key,omitempty"`
ApiPassword *string `json:"api_password,omitempty"`
ApiUrl *string `json:"api_url,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingJuniperSrxGateway represents a SiteSettingJuniperSrxGateway struct.
func (SiteSettingJuniperSrxGateway) MarshalJSON ¶ added in v0.4.17
func (s SiteSettingJuniperSrxGateway) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingJuniperSrxGateway. It customizes the JSON marshaling process for SiteSettingJuniperSrxGateway objects.
func (SiteSettingJuniperSrxGateway) String ¶ added in v0.4.23
func (s SiteSettingJuniperSrxGateway) String() string
String implements the fmt.Stringer interface for SiteSettingJuniperSrxGateway, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingJuniperSrxGateway) UnmarshalJSON ¶ added in v0.4.17
func (s *SiteSettingJuniperSrxGateway) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingJuniperSrxGateway. It customizes the JSON unmarshaling process for SiteSettingJuniperSrxGateway objects.
type SiteSettingMxedge ¶
type SiteSettingMxedge struct {
// Configure cloud-assisted dynamic authorization service on this cluster of mist edges
MistDas *MxedgeDas `json:"mist_das,omitempty"`
MistNac *MxclusterNac `json:"mist_nac,omitempty"`
MistNacedge *MistNacedge `json:"mist_nacedge,omitempty"`
// MxEdge RadSec Configuration
Radsec *MxclusterRadsec `json:"radsec,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingMxedge represents a SiteSettingMxedge struct. Site Mist Edges form a cluster of RadSec Proxy servers
func (SiteSettingMxedge) MarshalJSON ¶
func (s SiteSettingMxedge) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingMxedge. It customizes the JSON marshaling process for SiteSettingMxedge objects.
func (SiteSettingMxedge) String ¶ added in v0.4.23
func (s SiteSettingMxedge) String() string
String implements the fmt.Stringer interface for SiteSettingMxedge, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingMxedge) UnmarshalJSON ¶
func (s *SiteSettingMxedge) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingMxedge. It customizes the JSON unmarshaling process for SiteSettingMxedge objects.
type SiteSettingPaloaltoNetworkGateway ¶
type SiteSettingPaloaltoNetworkGateway struct {
ApiKey *string `json:"api_key,omitempty"`
ApiUrl *string `json:"api_url,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingPaloaltoNetworkGateway represents a SiteSettingPaloaltoNetworkGateway struct.
func (SiteSettingPaloaltoNetworkGateway) MarshalJSON ¶
func (s SiteSettingPaloaltoNetworkGateway) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingPaloaltoNetworkGateway. It customizes the JSON marshaling process for SiteSettingPaloaltoNetworkGateway objects.
func (SiteSettingPaloaltoNetworkGateway) String ¶ added in v0.4.23
func (s SiteSettingPaloaltoNetworkGateway) String() string
String implements the fmt.Stringer interface for SiteSettingPaloaltoNetworkGateway, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingPaloaltoNetworkGateway) UnmarshalJSON ¶
func (s *SiteSettingPaloaltoNetworkGateway) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingPaloaltoNetworkGateway. It customizes the JSON unmarshaling process for SiteSettingPaloaltoNetworkGateway objects.
type SiteSettingPaloaltoNetworks ¶
type SiteSettingPaloaltoNetworks struct {
Gateways []SiteSettingPaloaltoNetworkGateway `json:"gateways,omitempty"`
SendMistNacUserInfo *bool `json:"send_mist_nac_user_info,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingPaloaltoNetworks represents a SiteSettingPaloaltoNetworks struct.
func (SiteSettingPaloaltoNetworks) MarshalJSON ¶
func (s SiteSettingPaloaltoNetworks) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingPaloaltoNetworks. It customizes the JSON marshaling process for SiteSettingPaloaltoNetworks objects.
func (SiteSettingPaloaltoNetworks) String ¶ added in v0.4.23
func (s SiteSettingPaloaltoNetworks) String() string
String implements the fmt.Stringer interface for SiteSettingPaloaltoNetworks, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingPaloaltoNetworks) UnmarshalJSON ¶
func (s *SiteSettingPaloaltoNetworks) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingPaloaltoNetworks. It customizes the JSON unmarshaling process for SiteSettingPaloaltoNetworks objects.
type SiteSettingRtsa ¶
type SiteSettingRtsa struct {
AppWaking *bool `json:"app_waking,omitempty"`
DisableDeadReckoning *bool `json:"disable_dead_reckoning,omitempty"`
DisablePressureSensor *bool `json:"disable_pressure_sensor,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// Asset tracking related
TrackAsset *bool `json:"track_asset,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingRtsa represents a SiteSettingRtsa struct. Managed mobility
func (SiteSettingRtsa) MarshalJSON ¶
func (s SiteSettingRtsa) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingRtsa. It customizes the JSON marshaling process for SiteSettingRtsa objects.
func (SiteSettingRtsa) String ¶ added in v0.4.23
func (s SiteSettingRtsa) String() string
String implements the fmt.Stringer interface for SiteSettingRtsa, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingRtsa) UnmarshalJSON ¶
func (s *SiteSettingRtsa) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingRtsa. It customizes the JSON unmarshaling process for SiteSettingRtsa objects.
type SiteSettingSkyatp ¶
type SiteSettingSkyatp struct {
Enabled *bool `json:"enabled,omitempty"`
// Whether to send IP-MAC mapping to SkyATP
SendIpMacMapping *bool `json:"send_ip_mac_mapping,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingSkyatp represents a SiteSettingSkyatp struct.
func (SiteSettingSkyatp) MarshalJSON ¶
func (s SiteSettingSkyatp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingSkyatp. It customizes the JSON marshaling process for SiteSettingSkyatp objects.
func (SiteSettingSkyatp) String ¶ added in v0.4.23
func (s SiteSettingSkyatp) String() string
String implements the fmt.Stringer interface for SiteSettingSkyatp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingSkyatp) UnmarshalJSON ¶
func (s *SiteSettingSkyatp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingSkyatp. It customizes the JSON unmarshaling process for SiteSettingSkyatp objects.
type SiteSettingSrxApp ¶
type SiteSettingSrxApp struct {
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingSrxApp represents a SiteSettingSrxApp struct.
func (SiteSettingSrxApp) MarshalJSON ¶
func (s SiteSettingSrxApp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingSrxApp. It customizes the JSON marshaling process for SiteSettingSrxApp objects.
func (SiteSettingSrxApp) String ¶ added in v0.4.23
func (s SiteSettingSrxApp) String() string
String implements the fmt.Stringer interface for SiteSettingSrxApp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingSrxApp) UnmarshalJSON ¶
func (s *SiteSettingSrxApp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingSrxApp. It customizes the JSON unmarshaling process for SiteSettingSrxApp objects.
type SiteSettingStatusPortal ¶
type SiteSettingStatusPortal struct {
Enabled *bool `json:"enabled,omitempty"`
Hostnames []string `json:"hostnames,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingStatusPortal represents a SiteSettingStatusPortal struct.
func (SiteSettingStatusPortal) MarshalJSON ¶
func (s SiteSettingStatusPortal) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingStatusPortal. It customizes the JSON marshaling process for SiteSettingStatusPortal objects.
func (SiteSettingStatusPortal) String ¶ added in v0.4.23
func (s SiteSettingStatusPortal) String() string
String implements the fmt.Stringer interface for SiteSettingStatusPortal, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingStatusPortal) UnmarshalJSON ¶
func (s *SiteSettingStatusPortal) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingStatusPortal. It customizes the JSON unmarshaling process for SiteSettingStatusPortal objects.
type SiteSettingSwitch ¶ added in v0.4.74
type SiteSettingSwitch struct {
AclPolicies []AclPolicy `json:"acl_policies,omitempty"`
// ACL Tags to identify traffic source or destination. Key name is the tag name
AclTags map[string]AclTag `json:"acl_tags,omitempty"`
// additional CLI commands to append to the generated Junos config. **Note**: no check is done
AdditionalConfigCmds []string `json:"additional_config_cmds,omitempty"`
BgpConfig map[string]SwitchBgpConfig `json:"bgp_config,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
DhcpSnooping *DhcpSnooping `json:"dhcp_snooping,omitempty"`
// Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting
DnsServers []string `json:"dns_servers,omitempty"`
// Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting
DnsSuffix []string `json:"dns_suffix,omitempty"`
// Property key is the destination CIDR (e.g. "10.0.0.0/8")
ExtraRoutes map[string]ExtraRoute `json:"extra_routes,omitempty"`
// Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64")
ExtraRoutes6 map[string]ExtraRoute6 `json:"extra_routes6,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// Org Networks that we'd like to import
ImportOrgNetworks []string `json:"import_org_networks,omitempty"`
// Enable mist_nac to use RadSec
MistNac *SwitchMistNac `json:"mist_nac,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name *string `json:"name,omitempty"`
// Property key is network name
Networks map[string]SwitchNetwork `json:"networks,omitempty"`
// List of NTP servers specific to this device. By default, those in Site Settings will be used
NtpServers []string `json:"ntp_servers,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Junos OSPF areas. Property key is the OSPF Area (Area should be a number (0-255) / IP address)
OspfAreas map[string]OspfArea `json:"ospf_areas,omitempty"`
// Property key is the port mirroring instance name. `port_mirroring` can be added under device/site settings. It takes interface and ports as input for ingress, interface as input for egress and can take interface and port as output. A maximum 4 mirroring ports is allowed
PortMirroring map[string]SwitchPortMirroringProperty `json:"port_mirroring,omitempty"`
// Property key is the port usage name. Defines the profiles of port configuration configured on the switch
PortUsages map[string]SwitchPortUsage `json:"port_usages,omitempty"`
// Junos Radius config
RadiusConfig *SwitchRadiusConfig `json:"radius_config,omitempty"`
RemoteSyslog *RemoteSyslog `json:"remote_syslog,omitempty"`
// By default, only the configuration generated by Mist is cleaned up during the configuration process. If `true`, all the existing configuration will be removed.
RemoveExistingConfigs *bool `json:"remove_existing_configs,omitempty"`
// Property key is the routing policy name
RoutingPolicies map[string]SwRoutingPolicy `json:"routing_policies,omitempty"`
SnmpConfig *SnmpConfig `json:"snmp_config,omitempty"`
// Defines custom switch configuration based on different criteria
SwitchMatching *SwitchMatching `json:"switch_matching,omitempty"`
// Switch settings
SwitchMgmt *SwitchMgmt `json:"switch_mgmt,omitempty"`
VrfConfig *VrfConfig `json:"vrf_config,omitempty"`
// Property key is the network name
VrfInstances map[string]SwitchVrfInstance `json:"vrf_instances,omitempty"`
AutoUpgrade *SwitchAutoUpgrade `json:"auto_upgrade,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingSwitch represents a SiteSettingSwitch struct.
func (SiteSettingSwitch) MarshalJSON ¶ added in v0.4.74
func (s SiteSettingSwitch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingSwitch. It customizes the JSON marshaling process for SiteSettingSwitch objects.
func (SiteSettingSwitch) String ¶ added in v0.4.74
func (s SiteSettingSwitch) String() string
String implements the fmt.Stringer interface for SiteSettingSwitch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingSwitch) UnmarshalJSON ¶ added in v0.4.74
func (s *SiteSettingSwitch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingSwitch. It customizes the JSON unmarshaling process for SiteSettingSwitch objects.
type SiteSettingTuntermMulticastConfig ¶
type SiteSettingTuntermMulticastConfig struct {
Mdns *SiteSettingTuntermMulticastConfigMdns `json:"mdns,omitempty"`
MulticastAll *bool `json:"multicast_all,omitempty"`
Ssdp *SiteSettingTuntermMulticastConfigSsdp `json:"ssdp,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingTuntermMulticastConfig represents a SiteSettingTuntermMulticastConfig struct.
func (SiteSettingTuntermMulticastConfig) MarshalJSON ¶
func (s SiteSettingTuntermMulticastConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingTuntermMulticastConfig. It customizes the JSON marshaling process for SiteSettingTuntermMulticastConfig objects.
func (SiteSettingTuntermMulticastConfig) String ¶ added in v0.4.23
func (s SiteSettingTuntermMulticastConfig) String() string
String implements the fmt.Stringer interface for SiteSettingTuntermMulticastConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingTuntermMulticastConfig) UnmarshalJSON ¶
func (s *SiteSettingTuntermMulticastConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingTuntermMulticastConfig. It customizes the JSON unmarshaling process for SiteSettingTuntermMulticastConfig objects.
type SiteSettingTuntermMulticastConfigMdns ¶
type SiteSettingTuntermMulticastConfigMdns struct {
Enabled *bool `json:"enabled,omitempty"`
VlanIds []int `json:"vlan_ids,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingTuntermMulticastConfigMdns represents a SiteSettingTuntermMulticastConfigMdns struct.
func (SiteSettingTuntermMulticastConfigMdns) MarshalJSON ¶
func (s SiteSettingTuntermMulticastConfigMdns) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingTuntermMulticastConfigMdns. It customizes the JSON marshaling process for SiteSettingTuntermMulticastConfigMdns objects.
func (SiteSettingTuntermMulticastConfigMdns) String ¶ added in v0.4.23
func (s SiteSettingTuntermMulticastConfigMdns) String() string
String implements the fmt.Stringer interface for SiteSettingTuntermMulticastConfigMdns, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingTuntermMulticastConfigMdns) UnmarshalJSON ¶
func (s *SiteSettingTuntermMulticastConfigMdns) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingTuntermMulticastConfigMdns. It customizes the JSON unmarshaling process for SiteSettingTuntermMulticastConfigMdns objects.
type SiteSettingTuntermMulticastConfigSsdp ¶
type SiteSettingTuntermMulticastConfigSsdp struct {
Enabled *bool `json:"enabled,omitempty"`
VlanIds []int `json:"vlan_ids,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingTuntermMulticastConfigSsdp represents a SiteSettingTuntermMulticastConfigSsdp struct.
func (SiteSettingTuntermMulticastConfigSsdp) MarshalJSON ¶
func (s SiteSettingTuntermMulticastConfigSsdp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingTuntermMulticastConfigSsdp. It customizes the JSON marshaling process for SiteSettingTuntermMulticastConfigSsdp objects.
func (SiteSettingTuntermMulticastConfigSsdp) String ¶ added in v0.4.23
func (s SiteSettingTuntermMulticastConfigSsdp) String() string
String implements the fmt.Stringer interface for SiteSettingTuntermMulticastConfigSsdp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingTuntermMulticastConfigSsdp) UnmarshalJSON ¶
func (s *SiteSettingTuntermMulticastConfigSsdp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingTuntermMulticastConfigSsdp. It customizes the JSON unmarshaling process for SiteSettingTuntermMulticastConfigSsdp objects.
type SiteSettingVna ¶
type SiteSettingVna struct {
// Enable Virtual Network Assistant (using SUB-VNA license). This applied to AP / Switch / Gateway
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingVna represents a SiteSettingVna struct.
func (SiteSettingVna) MarshalJSON ¶
func (s SiteSettingVna) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingVna. It customizes the JSON marshaling process for SiteSettingVna objects.
func (SiteSettingVna) String ¶ added in v0.4.23
func (s SiteSettingVna) String() string
String implements the fmt.Stringer interface for SiteSettingVna, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingVna) UnmarshalJSON ¶
func (s *SiteSettingVna) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingVna. It customizes the JSON unmarshaling process for SiteSettingVna objects.
type SiteSettingWanVna ¶
type SiteSettingWanVna struct {
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingWanVna represents a SiteSettingWanVna struct.
func (SiteSettingWanVna) MarshalJSON ¶
func (s SiteSettingWanVna) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingWanVna. It customizes the JSON marshaling process for SiteSettingWanVna objects.
func (SiteSettingWanVna) String ¶ added in v0.4.23
func (s SiteSettingWanVna) String() string
String implements the fmt.Stringer interface for SiteSettingWanVna, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingWanVna) UnmarshalJSON ¶
func (s *SiteSettingWanVna) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingWanVna. It customizes the JSON unmarshaling process for SiteSettingWanVna objects.
type SiteSettingWiredVna ¶
type SiteSettingWiredVna struct {
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSettingWiredVna represents a SiteSettingWiredVna struct.
func (SiteSettingWiredVna) MarshalJSON ¶
func (s SiteSettingWiredVna) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingWiredVna. It customizes the JSON marshaling process for SiteSettingWiredVna objects.
func (SiteSettingWiredVna) String ¶ added in v0.4.23
func (s SiteSettingWiredVna) String() string
String implements the fmt.Stringer interface for SiteSettingWiredVna, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSettingWiredVna) UnmarshalJSON ¶
func (s *SiteSettingWiredVna) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingWiredVna. It customizes the JSON unmarshaling process for SiteSettingWiredVna objects.
type SiteSkyAtpEventsCountDistinctEnum ¶
type SiteSkyAtpEventsCountDistinctEnum string
SiteSkyAtpEventsCountDistinctEnum is a string enum. enum: `device_mac`, `mac`, `threat_level`, `type`
const ( SiteSkyAtpEventsCountDistinctEnum_DEVICEMAC SiteSkyAtpEventsCountDistinctEnum = "device_mac" SiteSkyAtpEventsCountDistinctEnum_MAC SiteSkyAtpEventsCountDistinctEnum = "mac" SiteSkyAtpEventsCountDistinctEnum_THREATLEVEL SiteSkyAtpEventsCountDistinctEnum = "threat_level" SiteSkyAtpEventsCountDistinctEnum_ENUMTYPE SiteSkyAtpEventsCountDistinctEnum = "type" )
type SiteSleHistogramScopeParametersEnum ¶
type SiteSleHistogramScopeParametersEnum string
SiteSleHistogramScopeParametersEnum is a string enum. enum: `ap`, `client`, `gateway`, `site`, `switch`
const ( SiteSleHistogramScopeParametersEnum_AP SiteSleHistogramScopeParametersEnum = "ap" SiteSleHistogramScopeParametersEnum_CLIENT SiteSleHistogramScopeParametersEnum = "client" SiteSleHistogramScopeParametersEnum_GATEWAY SiteSleHistogramScopeParametersEnum = "gateway" SiteSleHistogramScopeParametersEnum_SITE SiteSleHistogramScopeParametersEnum = "site" SiteSleHistogramScopeParametersEnum_ENUMSWITCH SiteSleHistogramScopeParametersEnum = "switch" )
type SiteSleImpactSummaryFieldsParameterEnum ¶
type SiteSleImpactSummaryFieldsParameterEnum string
SiteSleImpactSummaryFieldsParameterEnum is a string enum. enum: `ap`, `band`, `chassis`, `client`, `device_os`, `device_type`, `gateway`, `gateway_zones`, `interface`, `mxedge`, `peer_path`, `server`, `switch`, `vlan`, `wlan`
const ( SiteSleImpactSummaryFieldsParameterEnum_AP SiteSleImpactSummaryFieldsParameterEnum = "ap" SiteSleImpactSummaryFieldsParameterEnum_BAND SiteSleImpactSummaryFieldsParameterEnum = "band" SiteSleImpactSummaryFieldsParameterEnum_CHASSIS SiteSleImpactSummaryFieldsParameterEnum = "chassis" SiteSleImpactSummaryFieldsParameterEnum_CLIENT SiteSleImpactSummaryFieldsParameterEnum = "client" SiteSleImpactSummaryFieldsParameterEnum_DEVICEOS SiteSleImpactSummaryFieldsParameterEnum = "device_os" SiteSleImpactSummaryFieldsParameterEnum_DEVICETYPE SiteSleImpactSummaryFieldsParameterEnum = "device_type" SiteSleImpactSummaryFieldsParameterEnum_GATEWAY SiteSleImpactSummaryFieldsParameterEnum = "gateway" SiteSleImpactSummaryFieldsParameterEnum_GATEWAYZONES SiteSleImpactSummaryFieldsParameterEnum = "gateway_zones" SiteSleImpactSummaryFieldsParameterEnum_ENUMINTERFACE SiteSleImpactSummaryFieldsParameterEnum = "interface" SiteSleImpactSummaryFieldsParameterEnum_MXEDGE SiteSleImpactSummaryFieldsParameterEnum = "mxedge" SiteSleImpactSummaryFieldsParameterEnum_PEERPATH SiteSleImpactSummaryFieldsParameterEnum = "peer_path" SiteSleImpactSummaryFieldsParameterEnum_SERVER SiteSleImpactSummaryFieldsParameterEnum = "server" SiteSleImpactSummaryFieldsParameterEnum_ENUMSWITCH SiteSleImpactSummaryFieldsParameterEnum = "switch" SiteSleImpactSummaryFieldsParameterEnum_VLAN SiteSleImpactSummaryFieldsParameterEnum = "vlan" SiteSleImpactSummaryFieldsParameterEnum_WLAN SiteSleImpactSummaryFieldsParameterEnum = "wlan" )
type SiteSleImpactSummaryScopeParametersEnum ¶
type SiteSleImpactSummaryScopeParametersEnum string
SiteSleImpactSummaryScopeParametersEnum is a string enum. enum: `ap`, `client`, `gateway`, `site`, `switch`
const ( SiteSleImpactSummaryScopeParametersEnum_AP SiteSleImpactSummaryScopeParametersEnum = "ap" SiteSleImpactSummaryScopeParametersEnum_CLIENT SiteSleImpactSummaryScopeParametersEnum = "client" SiteSleImpactSummaryScopeParametersEnum_GATEWAY SiteSleImpactSummaryScopeParametersEnum = "gateway" SiteSleImpactSummaryScopeParametersEnum_SITE SiteSleImpactSummaryScopeParametersEnum = "site" SiteSleImpactSummaryScopeParametersEnum_ENUMSWITCH SiteSleImpactSummaryScopeParametersEnum = "switch" )
type SiteSleImpactedApsScopeParametersEnum ¶
type SiteSleImpactedApsScopeParametersEnum string
SiteSleImpactedApsScopeParametersEnum is a string enum. enum: `site`
const (
SiteSleImpactedApsScopeParametersEnum_SITE SiteSleImpactedApsScopeParametersEnum = "site"
)
type SiteSleImpactedChassisScopeParametersEnum ¶
type SiteSleImpactedChassisScopeParametersEnum string
SiteSleImpactedChassisScopeParametersEnum is a string enum. enum: `gateway`, `site`, `switch`
const ( SiteSleImpactedChassisScopeParametersEnum_GATEWAY SiteSleImpactedChassisScopeParametersEnum = "gateway" SiteSleImpactedChassisScopeParametersEnum_SITE SiteSleImpactedChassisScopeParametersEnum = "site" SiteSleImpactedChassisScopeParametersEnum_ENUMSWITCH SiteSleImpactedChassisScopeParametersEnum = "switch" )
type SiteSleImpactedClientsScopeParametersEnum ¶
type SiteSleImpactedClientsScopeParametersEnum string
SiteSleImpactedClientsScopeParametersEnum is a string enum. enum: `gateway`, `site`, `switch`
const ( SiteSleImpactedClientsScopeParametersEnum_GATEWAY SiteSleImpactedClientsScopeParametersEnum = "gateway" SiteSleImpactedClientsScopeParametersEnum_SITE SiteSleImpactedClientsScopeParametersEnum = "site" SiteSleImpactedClientsScopeParametersEnum_ENUMSWITCH SiteSleImpactedClientsScopeParametersEnum = "switch" )
type SiteSleImpactedGatewaysScopeParametersEnum ¶
type SiteSleImpactedGatewaysScopeParametersEnum string
SiteSleImpactedGatewaysScopeParametersEnum is a string enum. enum: `site`
const (
SiteSleImpactedGatewaysScopeParametersEnum_SITE SiteSleImpactedGatewaysScopeParametersEnum = "site"
)
type SiteSleImpactedInterfacesScopeParametersEnum ¶
type SiteSleImpactedInterfacesScopeParametersEnum string
SiteSleImpactedInterfacesScopeParametersEnum is a string enum. enum: `gateway`, `site`, `switch`
const ( SiteSleImpactedInterfacesScopeParametersEnum_GATEWAY SiteSleImpactedInterfacesScopeParametersEnum = "gateway" SiteSleImpactedInterfacesScopeParametersEnum_SITE SiteSleImpactedInterfacesScopeParametersEnum = "site" SiteSleImpactedInterfacesScopeParametersEnum_ENUMSWITCH SiteSleImpactedInterfacesScopeParametersEnum = "switch" )
type SiteSleImpactedSwitchesScopeParametersEnum ¶
type SiteSleImpactedSwitchesScopeParametersEnum string
SiteSleImpactedSwitchesScopeParametersEnum is a string enum. enum: `site`
const (
SiteSleImpactedSwitchesScopeParametersEnum_SITE SiteSleImpactedSwitchesScopeParametersEnum = "site"
)
type SiteSleImpactedUsersScopeParameterEnum ¶
type SiteSleImpactedUsersScopeParameterEnum string
SiteSleImpactedUsersScopeParameterEnum is a string enum. enum: `ap`, `site`
const ( SiteSleImpactedUsersScopeParameterEnum_AP SiteSleImpactedUsersScopeParameterEnum = "ap" SiteSleImpactedUsersScopeParameterEnum_SITE SiteSleImpactedUsersScopeParameterEnum = "site" )
type SiteSleMetricClassifiersScopeParametersEnum ¶
type SiteSleMetricClassifiersScopeParametersEnum string
SiteSleMetricClassifiersScopeParametersEnum is a string enum. enum: `ap`, `client`, `gateway`, `site`, `switch`
const ( SiteSleMetricClassifiersScopeParametersEnum_AP SiteSleMetricClassifiersScopeParametersEnum = "ap" SiteSleMetricClassifiersScopeParametersEnum_CLIENT SiteSleMetricClassifiersScopeParametersEnum = "client" SiteSleMetricClassifiersScopeParametersEnum_GATEWAY SiteSleMetricClassifiersScopeParametersEnum = "gateway" SiteSleMetricClassifiersScopeParametersEnum_SITE SiteSleMetricClassifiersScopeParametersEnum = "site" SiteSleMetricClassifiersScopeParametersEnum_ENUMSWITCH SiteSleMetricClassifiersScopeParametersEnum = "switch" )
type SiteSleMetricSummaryScopeParametersEnum ¶
type SiteSleMetricSummaryScopeParametersEnum string
SiteSleMetricSummaryScopeParametersEnum is a string enum. enum: `ap`, `client`, `gateway`, `site`, `switch`
const ( SiteSleMetricSummaryScopeParametersEnum_AP SiteSleMetricSummaryScopeParametersEnum = "ap" SiteSleMetricSummaryScopeParametersEnum_CLIENT SiteSleMetricSummaryScopeParametersEnum = "client" SiteSleMetricSummaryScopeParametersEnum_GATEWAY SiteSleMetricSummaryScopeParametersEnum = "gateway" SiteSleMetricSummaryScopeParametersEnum_SITE SiteSleMetricSummaryScopeParametersEnum = "site" SiteSleMetricSummaryScopeParametersEnum_ENUMSWITCH SiteSleMetricSummaryScopeParametersEnum = "switch" )
type SiteSleMetrics ¶
type SiteSleMetrics struct {
Enabled []string `json:"enabled"`
Supported []string `json:"supported"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteSleMetrics represents a SiteSleMetrics struct.
func (SiteSleMetrics) MarshalJSON ¶
func (s SiteSleMetrics) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSleMetrics. It customizes the JSON marshaling process for SiteSleMetrics objects.
func (SiteSleMetrics) String ¶ added in v0.4.23
func (s SiteSleMetrics) String() string
String implements the fmt.Stringer interface for SiteSleMetrics, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteSleMetrics) UnmarshalJSON ¶
func (s *SiteSleMetrics) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSleMetrics. It customizes the JSON unmarshaling process for SiteSleMetrics objects.
type SiteSleMetricsScopeParametersEnum ¶
type SiteSleMetricsScopeParametersEnum string
SiteSleMetricsScopeParametersEnum is a string enum. enum: `ap`, `client`, `gateway`, `site`, `switch`
const ( SiteSleMetricsScopeParametersEnum_AP SiteSleMetricsScopeParametersEnum = "ap" SiteSleMetricsScopeParametersEnum_CLIENT SiteSleMetricsScopeParametersEnum = "client" SiteSleMetricsScopeParametersEnum_GATEWAY SiteSleMetricsScopeParametersEnum = "gateway" SiteSleMetricsScopeParametersEnum_SITE SiteSleMetricsScopeParametersEnum = "site" SiteSleMetricsScopeParametersEnum_ENUMSWITCH SiteSleMetricsScopeParametersEnum = "switch" )
type SiteSleScopeEnum ¶
type SiteSleScopeEnum string
SiteSleScopeEnum is a string enum. enum: `gateway`, `site`, `switch`
const ( SiteSleScopeEnum_GATEWAY SiteSleScopeEnum = "gateway" SiteSleScopeEnum_SITE SiteSleScopeEnum = "site" SiteSleScopeEnum_ENUMSWITCH SiteSleScopeEnum = "switch" )
type SiteSleThresholdScopeParameterEnum ¶
type SiteSleThresholdScopeParameterEnum string
SiteSleThresholdScopeParameterEnum is a string enum. enum: `ap`, `client`, `gateway`, `site`, `switch`
const ( SiteSleThresholdScopeParameterEnum_AP SiteSleThresholdScopeParameterEnum = "ap" SiteSleThresholdScopeParameterEnum_CLIENT SiteSleThresholdScopeParameterEnum = "client" SiteSleThresholdScopeParameterEnum_GATEWAY SiteSleThresholdScopeParameterEnum = "gateway" SiteSleThresholdScopeParameterEnum_SITE SiteSleThresholdScopeParameterEnum = "site" SiteSleThresholdScopeParameterEnum_ENUMSWITCH SiteSleThresholdScopeParameterEnum = "switch" )
type SiteSystemEventsCountDistinctEnum ¶
type SiteSystemEventsCountDistinctEnum string
SiteSystemEventsCountDistinctEnum is a string enum. enum: `type`
const (
SiteSystemEventsCountDistinctEnum_ENUMTYPE SiteSystemEventsCountDistinctEnum = "type"
)
type SiteTemplate ¶
type SiteTemplate struct {
AutoUpgrade *SiteTemplateAutoUpgrade `json:"auto_upgrade,omitempty"`
Name *string `json:"name,omitempty"`
// Dictionary of name->value, the vars can then be used in Wlans. This can overwrite those from Site Vars
Vars map[string]string `json:"vars,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteTemplate represents a SiteTemplate struct.
func (SiteTemplate) MarshalJSON ¶
func (s SiteTemplate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteTemplate. It customizes the JSON marshaling process for SiteTemplate objects.
func (SiteTemplate) String ¶ added in v0.4.23
func (s SiteTemplate) String() string
String implements the fmt.Stringer interface for SiteTemplate, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteTemplate) UnmarshalJSON ¶
func (s *SiteTemplate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteTemplate. It customizes the JSON unmarshaling process for SiteTemplate objects.
type SiteTemplateAutoUpgrade ¶
type SiteTemplateAutoUpgrade struct {
// enum: `any`, `fri`, `mon`, `sat`, `sun`, `thu`, `tue`, `wed`
DayOfWeek *DayOfWeekEnum `json:"day_of_week,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
TimeOfDay *string `json:"time_of_day,omitempty"`
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteTemplateAutoUpgrade represents a SiteTemplateAutoUpgrade struct.
func (SiteTemplateAutoUpgrade) MarshalJSON ¶
func (s SiteTemplateAutoUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteTemplateAutoUpgrade. It customizes the JSON marshaling process for SiteTemplateAutoUpgrade objects.
func (SiteTemplateAutoUpgrade) String ¶ added in v0.4.23
func (s SiteTemplateAutoUpgrade) String() string
String implements the fmt.Stringer interface for SiteTemplateAutoUpgrade, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteTemplateAutoUpgrade) UnmarshalJSON ¶
func (s *SiteTemplateAutoUpgrade) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteTemplateAutoUpgrade. It customizes the JSON unmarshaling process for SiteTemplateAutoUpgrade objects.
type SiteWanClientEventsDistinctEnum ¶
type SiteWanClientEventsDistinctEnum string
SiteWanClientEventsDistinctEnum is a string enum. enum: `hostname`, `ip`, `mac`, `mfg`, `type`
const ( SiteWanClientEventsDistinctEnum_HOSTNAME SiteWanClientEventsDistinctEnum = "hostname" SiteWanClientEventsDistinctEnum_IP SiteWanClientEventsDistinctEnum = "ip" SiteWanClientEventsDistinctEnum_MAC SiteWanClientEventsDistinctEnum = "mac" SiteWanClientEventsDistinctEnum_MFG SiteWanClientEventsDistinctEnum = "mfg" SiteWanClientEventsDistinctEnum_ENUMTYPE SiteWanClientEventsDistinctEnum = "type" )
type SiteWanClientsCountDistinctEnum ¶
type SiteWanClientsCountDistinctEnum string
SiteWanClientsCountDistinctEnum is a string enum. enum: `hostname`, `ip`, `mac`, `mfg`
const ( SiteWanClientsCountDistinctEnum_HOSTNAME SiteWanClientsCountDistinctEnum = "hostname" SiteWanClientsCountDistinctEnum_IP SiteWanClientsCountDistinctEnum = "ip" SiteWanClientsCountDistinctEnum_MAC SiteWanClientsCountDistinctEnum = "mac" SiteWanClientsCountDistinctEnum_MFG SiteWanClientsCountDistinctEnum = "mfg" )
type SiteWids ¶
type SiteWids struct {
RepeatedAuthFailures *SiteWidsRepeatedAuthFailures `json:"repeated_auth_failures,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteWids represents a SiteWids struct. WIDS site settings
func (SiteWids) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for SiteWids. It customizes the JSON marshaling process for SiteWids objects.
func (SiteWids) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for SiteWids, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteWids) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for SiteWids. It customizes the JSON unmarshaling process for SiteWids objects.
type SiteWidsRepeatedAuthFailures ¶
type SiteWidsRepeatedAuthFailures struct {
// Window where a trigger will be detected and action to be taken (in seconds)
Duration *int `json:"duration,omitempty"`
// Count of events to trigger
Threshold *int `json:"threshold,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteWidsRepeatedAuthFailures represents a SiteWidsRepeatedAuthFailures struct.
func (SiteWidsRepeatedAuthFailures) MarshalJSON ¶
func (s SiteWidsRepeatedAuthFailures) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteWidsRepeatedAuthFailures. It customizes the JSON marshaling process for SiteWidsRepeatedAuthFailures objects.
func (SiteWidsRepeatedAuthFailures) String ¶ added in v0.4.23
func (s SiteWidsRepeatedAuthFailures) String() string
String implements the fmt.Stringer interface for SiteWidsRepeatedAuthFailures, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteWidsRepeatedAuthFailures) UnmarshalJSON ¶
func (s *SiteWidsRepeatedAuthFailures) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteWidsRepeatedAuthFailures. It customizes the JSON unmarshaling process for SiteWidsRepeatedAuthFailures objects.
type SiteWifi ¶
type SiteWifi struct {
CiscoEnabled *bool `json:"cisco_enabled,omitempty"`
// Whether to disable 11k
Disable11k *bool `json:"disable_11k,omitempty"`
DisableRadiosWhenPowerConstrained *bool `json:"disable_radios_when_power_constrained,omitempty"`
// When proxy_arp is enabled, check for arp spoofing.
EnableArpSpoofCheck *bool `json:"enable_arp_spoof_check,omitempty"`
// Enable Wi-Fi feature (using SUB-MAN license)
Enabled *bool `json:"enabled,omitempty"`
// Whether to locate connected clients
LocateConnected *bool `json:"locate_connected,omitempty"`
// Whether to locate unconnected clients
LocateUnconnected *bool `json:"locate_unconnected,omitempty"`
// Whether to allow Mesh to use DFS channels. For DFS channels, Remote Mesh AP would have to do CAC when scanning for new Base AP, which is slow and will disrupt the connection. If roaming is desired, keep it disabled.
MeshAllowDfs *bool `json:"mesh_allow_dfs,omitempty"`
// Used to enable/disable CRM
MeshEnableCrm *bool `json:"mesh_enable_crm,omitempty"`
// Whether to enable Mesh feature for the site
MeshEnabled *bool `json:"mesh_enabled,omitempty"`
// Optional passphrase of mesh networking, default is generated randomly
MeshPsk Optional[string] `json:"mesh_psk"`
// Optional ssid of mesh networking, default is based on site_id
MeshSsid Optional[string] `json:"mesh_ssid"`
// enum: `default`, `disabled`, `enabled`
ProxyArp Optional[SiteWifiProxyArpEnum] `json:"proxy_arp"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteWifi represents a SiteWifi struct. Wi-Fi site settings
func (SiteWifi) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for SiteWifi. It customizes the JSON marshaling process for SiteWifi objects.
func (SiteWifi) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for SiteWifi, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteWifi) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for SiteWifi. It customizes the JSON unmarshaling process for SiteWifi objects.
type SiteWifiProxyArpEnum ¶
type SiteWifiProxyArpEnum string
SiteWifiProxyArpEnum is a string enum. enum: `default`, `disabled`, `enabled`
const ( SiteWifiProxyArpEnum_ENUMDEFAULT SiteWifiProxyArpEnum = "default" SiteWifiProxyArpEnum_DISABLED SiteWifiProxyArpEnum = "disabled" SiteWifiProxyArpEnum_ENABLED SiteWifiProxyArpEnum = "enabled" )
type SiteWiredClientsCountDistinctEnum ¶
type SiteWiredClientsCountDistinctEnum string
SiteWiredClientsCountDistinctEnum is a string enum. enum: `mac`, `port_id`, `vlan`
const ( SiteWiredClientsCountDistinctEnum_MAC SiteWiredClientsCountDistinctEnum = "mac" SiteWiredClientsCountDistinctEnum_PORTID SiteWiredClientsCountDistinctEnum = "port_id" SiteWiredClientsCountDistinctEnum_VLAN SiteWiredClientsCountDistinctEnum = "vlan" )
type SiteZoneCountDistinctEnum ¶
type SiteZoneCountDistinctEnum string
SiteZoneCountDistinctEnum is a string enum. enum: `scope`, `scope_id`, `user`, `user_type`
const ( SiteZoneCountDistinctEnum_SCOPE SiteZoneCountDistinctEnum = "scope" SiteZoneCountDistinctEnum_SCOPEID SiteZoneCountDistinctEnum = "scope_id" SiteZoneCountDistinctEnum_USER SiteZoneCountDistinctEnum = "user" SiteZoneCountDistinctEnum_USERTYPE SiteZoneCountDistinctEnum = "user_type" )
type SiteZoneOccupancyAlert ¶
type SiteZoneOccupancyAlert struct {
// List of email addresses to send email notifications when the alert threshold is reached
EmailNotifiers []string `json:"email_notifiers,omitempty"`
// Indicate whether zone occupancy alert is enabled for the site
Enabled *bool `json:"enabled,omitempty"`
// Sending zone-occupancy-alert webhook message only if a zone stays non-compliant (i.e. actual occupancy > occupancy_limit) for a minimum duration specified in the threshold, in minutes
Threshold *int `json:"threshold,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SiteZoneOccupancyAlert represents a SiteZoneOccupancyAlert struct. Zone Occupancy alert site settings
func (SiteZoneOccupancyAlert) MarshalJSON ¶
func (s SiteZoneOccupancyAlert) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteZoneOccupancyAlert. It customizes the JSON marshaling process for SiteZoneOccupancyAlert objects.
func (SiteZoneOccupancyAlert) String ¶ added in v0.4.23
func (s SiteZoneOccupancyAlert) String() string
String implements the fmt.Stringer interface for SiteZoneOccupancyAlert, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SiteZoneOccupancyAlert) UnmarshalJSON ¶
func (s *SiteZoneOccupancyAlert) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteZoneOccupancyAlert. It customizes the JSON unmarshaling process for SiteZoneOccupancyAlert objects.
type Sitegroup ¶
type Sitegroup struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name string `json:"name"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
SiteIds []uuid.UUID `json:"site_ids,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Sitegroup represents a Sitegroup struct. Sites Group
func (Sitegroup) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Sitegroup. It customizes the JSON marshaling process for Sitegroup objects.
func (Sitegroup) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Sitegroup, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Sitegroup) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Sitegroup. It customizes the JSON unmarshaling process for Sitegroup objects.
type SkyatpList ¶ added in v0.4.74
type SkyatpList struct {
Domains []SkyatpListDomain `json:"domains,omitempty"`
Ip []SkyatpListIp `json:"ip,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SkyatpList represents a SkyatpList struct.
func (SkyatpList) MarshalJSON ¶ added in v0.4.74
func (s SkyatpList) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SkyatpList. It customizes the JSON marshaling process for SkyatpList objects.
func (SkyatpList) String ¶ added in v0.4.74
func (s SkyatpList) String() string
String implements the fmt.Stringer interface for SkyatpList, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SkyatpList) UnmarshalJSON ¶ added in v0.4.74
func (s *SkyatpList) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SkyatpList. It customizes the JSON unmarshaling process for SkyatpList objects.
type SkyatpListDomain ¶ added in v0.4.74
type SkyatpListDomain struct {
Comment *string `json:"comment,omitempty"`
Value string `json:"value"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SkyatpListDomain represents a SkyatpListDomain struct.
func (SkyatpListDomain) MarshalJSON ¶ added in v0.4.74
func (s SkyatpListDomain) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SkyatpListDomain. It customizes the JSON marshaling process for SkyatpListDomain objects.
func (SkyatpListDomain) String ¶ added in v0.4.74
func (s SkyatpListDomain) String() string
String implements the fmt.Stringer interface for SkyatpListDomain, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SkyatpListDomain) UnmarshalJSON ¶ added in v0.4.74
func (s *SkyatpListDomain) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SkyatpListDomain. It customizes the JSON unmarshaling process for SkyatpListDomain objects.
type SkyatpListIp ¶ added in v0.4.74
type SkyatpListIp struct {
Comment *string `json:"comment,omitempty"`
Value string `json:"value"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SkyatpListIp represents a SkyatpListIp struct.
func (SkyatpListIp) MarshalJSON ¶ added in v0.4.74
func (s SkyatpListIp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SkyatpListIp. It customizes the JSON marshaling process for SkyatpListIp objects.
func (SkyatpListIp) String ¶ added in v0.4.74
func (s SkyatpListIp) String() string
String implements the fmt.Stringer interface for SkyatpListIp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SkyatpListIp) UnmarshalJSON ¶ added in v0.4.74
func (s *SkyatpListIp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SkyatpListIp. It customizes the JSON unmarshaling process for SkyatpListIp objects.
type SleClassifier ¶
type SleClassifier struct {
Impact SleClassifierImpact `json:"impact"`
Interval float64 `json:"interval"`
Name string `json:"name"`
Samples *SleClassifierSamples `json:"samples,omitempty"`
XLabel string `json:"x_label"`
YLabel string `json:"y_label"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleClassifier represents a SleClassifier struct.
func (SleClassifier) MarshalJSON ¶
func (s SleClassifier) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleClassifier. It customizes the JSON marshaling process for SleClassifier objects.
func (SleClassifier) String ¶ added in v0.4.23
func (s SleClassifier) String() string
String implements the fmt.Stringer interface for SleClassifier, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleClassifier) UnmarshalJSON ¶
func (s *SleClassifier) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleClassifier. It customizes the JSON unmarshaling process for SleClassifier objects.
type SleClassifierImpact ¶
type SleClassifierImpact struct {
NumAps float64 `json:"num_aps"`
NumUsers float64 `json:"num_users"`
TotalAps float64 `json:"total_aps"`
TotalUsers float64 `json:"total_users"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleClassifierImpact represents a SleClassifierImpact struct.
func (SleClassifierImpact) MarshalJSON ¶
func (s SleClassifierImpact) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleClassifierImpact. It customizes the JSON marshaling process for SleClassifierImpact objects.
func (SleClassifierImpact) String ¶ added in v0.4.23
func (s SleClassifierImpact) String() string
String implements the fmt.Stringer interface for SleClassifierImpact, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleClassifierImpact) UnmarshalJSON ¶
func (s *SleClassifierImpact) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleClassifierImpact. It customizes the JSON unmarshaling process for SleClassifierImpact objects.
type SleClassifierSamples ¶
type SleClassifierSamples struct {
Degraded []NumberOrNull `json:"degraded"`
Duration []float64 `json:"duration"`
Total []NumberOrNull `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleClassifierSamples represents a SleClassifierSamples struct.
func (SleClassifierSamples) MarshalJSON ¶
func (s SleClassifierSamples) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleClassifierSamples. It customizes the JSON marshaling process for SleClassifierSamples objects.
func (SleClassifierSamples) String ¶ added in v0.4.23
func (s SleClassifierSamples) String() string
String implements the fmt.Stringer interface for SleClassifierSamples, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleClassifierSamples) UnmarshalJSON ¶
func (s *SleClassifierSamples) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleClassifierSamples. It customizes the JSON unmarshaling process for SleClassifierSamples objects.
type SleClassifierSummary ¶
type SleClassifierSummary struct {
Classifier SleClassifier `json:"classifier"`
End float64 `json:"end"`
Failures []interface{} `json:"failures"`
Impact SleClassifierSummaryImpact `json:"impact"`
Metric string `json:"metric"`
Start float64 `json:"start"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleClassifierSummary represents a SleClassifierSummary struct.
func (SleClassifierSummary) MarshalJSON ¶
func (s SleClassifierSummary) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleClassifierSummary. It customizes the JSON marshaling process for SleClassifierSummary objects.
func (SleClassifierSummary) String ¶ added in v0.4.23
func (s SleClassifierSummary) String() string
String implements the fmt.Stringer interface for SleClassifierSummary, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleClassifierSummary) UnmarshalJSON ¶
func (s *SleClassifierSummary) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleClassifierSummary. It customizes the JSON unmarshaling process for SleClassifierSummary objects.
type SleClassifierSummaryImpact ¶
type SleClassifierSummaryImpact struct {
NumAps float64 `json:"num_aps"`
NumUsers float64 `json:"num_users"`
TotalAps float64 `json:"total_aps"`
TotalUsers float64 `json:"total_users"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleClassifierSummaryImpact represents a SleClassifierSummaryImpact struct.
func (SleClassifierSummaryImpact) MarshalJSON ¶
func (s SleClassifierSummaryImpact) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleClassifierSummaryImpact. It customizes the JSON marshaling process for SleClassifierSummaryImpact objects.
func (SleClassifierSummaryImpact) String ¶ added in v0.4.23
func (s SleClassifierSummaryImpact) String() string
String implements the fmt.Stringer interface for SleClassifierSummaryImpact, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleClassifierSummaryImpact) UnmarshalJSON ¶
func (s *SleClassifierSummaryImpact) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleClassifierSummaryImpact. It customizes the JSON unmarshaling process for SleClassifierSummaryImpact objects.
type SleHistogram ¶
type SleHistogram struct {
Data []SleHistogramDataItem `json:"data"`
End float64 `json:"end"`
Metric string `json:"metric"`
Start float64 `json:"start"`
XLabel string `json:"x_label"`
YLabel string `json:"y_label"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleHistogram represents a SleHistogram struct.
func (SleHistogram) MarshalJSON ¶
func (s SleHistogram) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleHistogram. It customizes the JSON marshaling process for SleHistogram objects.
func (SleHistogram) String ¶ added in v0.4.23
func (s SleHistogram) String() string
String implements the fmt.Stringer interface for SleHistogram, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleHistogram) UnmarshalJSON ¶
func (s *SleHistogram) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleHistogram. It customizes the JSON unmarshaling process for SleHistogram objects.
type SleHistogramDataItem ¶
type SleHistogramDataItem struct {
Range []float64 `json:"range,omitempty"`
Value float64 `json:"value"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleHistogramDataItem represents a SleHistogramDataItem struct.
func (SleHistogramDataItem) MarshalJSON ¶
func (s SleHistogramDataItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleHistogramDataItem. It customizes the JSON marshaling process for SleHistogramDataItem objects.
func (SleHistogramDataItem) String ¶ added in v0.4.23
func (s SleHistogramDataItem) String() string
String implements the fmt.Stringer interface for SleHistogramDataItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleHistogramDataItem) UnmarshalJSON ¶
func (s *SleHistogramDataItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleHistogramDataItem. It customizes the JSON unmarshaling process for SleHistogramDataItem objects.
type SleImpactSummary ¶
type SleImpactSummary struct {
Ap []SleImpactSummaryApItem `json:"ap"`
Band []SleImpactSummaryBandItem `json:"band"`
Classifier string `json:"classifier"`
DeviceOs []SleImpactSummaryDeviceOsItem `json:"device_os"`
DeviceType []SleImpactSummaryDeviceTypeItem `json:"device_type"`
End float64 `json:"end"`
Failure string `json:"failure"`
Metric string `json:"metric"`
Start float64 `json:"start"`
Wlan []SleImpactSummaryWlanItem `json:"wlan"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleImpactSummary represents a SleImpactSummary struct.
func (SleImpactSummary) MarshalJSON ¶
func (s SleImpactSummary) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactSummary. It customizes the JSON marshaling process for SleImpactSummary objects.
func (SleImpactSummary) String ¶ added in v0.4.23
func (s SleImpactSummary) String() string
String implements the fmt.Stringer interface for SleImpactSummary, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleImpactSummary) UnmarshalJSON ¶
func (s *SleImpactSummary) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactSummary. It customizes the JSON unmarshaling process for SleImpactSummary objects.
type SleImpactSummaryApItem ¶
type SleImpactSummaryApItem struct {
ApMac string `json:"ap_mac"`
Degraded float64 `json:"degraded"`
Duration float64 `json:"duration"`
Name string `json:"name"`
Total float64 `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleImpactSummaryApItem represents a SleImpactSummaryApItem struct.
func (SleImpactSummaryApItem) MarshalJSON ¶
func (s SleImpactSummaryApItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactSummaryApItem. It customizes the JSON marshaling process for SleImpactSummaryApItem objects.
func (SleImpactSummaryApItem) String ¶ added in v0.4.23
func (s SleImpactSummaryApItem) String() string
String implements the fmt.Stringer interface for SleImpactSummaryApItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleImpactSummaryApItem) UnmarshalJSON ¶
func (s *SleImpactSummaryApItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactSummaryApItem. It customizes the JSON unmarshaling process for SleImpactSummaryApItem objects.
type SleImpactSummaryBandItem ¶
type SleImpactSummaryBandItem struct {
Band string `json:"band"`
Degraded float64 `json:"degraded"`
Duration float64 `json:"duration"`
Name string `json:"name"`
Total float64 `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleImpactSummaryBandItem represents a SleImpactSummaryBandItem struct.
func (SleImpactSummaryBandItem) MarshalJSON ¶
func (s SleImpactSummaryBandItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactSummaryBandItem. It customizes the JSON marshaling process for SleImpactSummaryBandItem objects.
func (SleImpactSummaryBandItem) String ¶ added in v0.4.23
func (s SleImpactSummaryBandItem) String() string
String implements the fmt.Stringer interface for SleImpactSummaryBandItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleImpactSummaryBandItem) UnmarshalJSON ¶
func (s *SleImpactSummaryBandItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactSummaryBandItem. It customizes the JSON unmarshaling process for SleImpactSummaryBandItem objects.
type SleImpactSummaryDeviceOsItem ¶
type SleImpactSummaryDeviceOsItem struct {
Degraded float64 `json:"degraded"`
DeviceOs string `json:"device_os"`
Duration float64 `json:"duration"`
Name string `json:"name"`
Total float64 `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleImpactSummaryDeviceOsItem represents a SleImpactSummaryDeviceOsItem struct.
func (SleImpactSummaryDeviceOsItem) MarshalJSON ¶
func (s SleImpactSummaryDeviceOsItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactSummaryDeviceOsItem. It customizes the JSON marshaling process for SleImpactSummaryDeviceOsItem objects.
func (SleImpactSummaryDeviceOsItem) String ¶ added in v0.4.23
func (s SleImpactSummaryDeviceOsItem) String() string
String implements the fmt.Stringer interface for SleImpactSummaryDeviceOsItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleImpactSummaryDeviceOsItem) UnmarshalJSON ¶
func (s *SleImpactSummaryDeviceOsItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactSummaryDeviceOsItem. It customizes the JSON unmarshaling process for SleImpactSummaryDeviceOsItem objects.
type SleImpactSummaryDeviceTypeItem ¶
type SleImpactSummaryDeviceTypeItem struct {
Degraded float64 `json:"degraded"`
DeviceType string `json:"device_type"`
Duration float64 `json:"duration"`
Name string `json:"name"`
Total float64 `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleImpactSummaryDeviceTypeItem represents a SleImpactSummaryDeviceTypeItem struct.
func (SleImpactSummaryDeviceTypeItem) MarshalJSON ¶
func (s SleImpactSummaryDeviceTypeItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactSummaryDeviceTypeItem. It customizes the JSON marshaling process for SleImpactSummaryDeviceTypeItem objects.
func (SleImpactSummaryDeviceTypeItem) String ¶ added in v0.4.23
func (s SleImpactSummaryDeviceTypeItem) String() string
String implements the fmt.Stringer interface for SleImpactSummaryDeviceTypeItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleImpactSummaryDeviceTypeItem) UnmarshalJSON ¶
func (s *SleImpactSummaryDeviceTypeItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactSummaryDeviceTypeItem. It customizes the JSON unmarshaling process for SleImpactSummaryDeviceTypeItem objects.
type SleImpactSummaryWlanItem ¶
type SleImpactSummaryWlanItem struct {
Degraded float64 `json:"degraded"`
Duration float64 `json:"duration"`
Name string `json:"name"`
Total float64 `json:"total"`
WlanId string `json:"wlan_id"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleImpactSummaryWlanItem represents a SleImpactSummaryWlanItem struct.
func (SleImpactSummaryWlanItem) MarshalJSON ¶
func (s SleImpactSummaryWlanItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactSummaryWlanItem. It customizes the JSON marshaling process for SleImpactSummaryWlanItem objects.
func (SleImpactSummaryWlanItem) String ¶ added in v0.4.23
func (s SleImpactSummaryWlanItem) String() string
String implements the fmt.Stringer interface for SleImpactSummaryWlanItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleImpactSummaryWlanItem) UnmarshalJSON ¶
func (s *SleImpactSummaryWlanItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactSummaryWlanItem. It customizes the JSON unmarshaling process for SleImpactSummaryWlanItem objects.
type SleImpactedApplications ¶
type SleImpactedApplications struct {
Apps []SleImpactedApplicationsApp `json:"apps,omitempty"`
Classifier *string `json:"classifier,omitempty"`
End *int `json:"end,omitempty"`
Failure *string `json:"failure,omitempty"`
Limit *string `json:"limit,omitempty"`
Metric *string `json:"metric,omitempty"`
Page *int `json:"page,omitempty"`
Start *int `json:"start,omitempty"`
TotalCount *int `json:"total_count,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleImpactedApplications represents a SleImpactedApplications struct.
func (SleImpactedApplications) MarshalJSON ¶
func (s SleImpactedApplications) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedApplications. It customizes the JSON marshaling process for SleImpactedApplications objects.
func (SleImpactedApplications) String ¶ added in v0.4.23
func (s SleImpactedApplications) String() string
String implements the fmt.Stringer interface for SleImpactedApplications, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleImpactedApplications) UnmarshalJSON ¶
func (s *SleImpactedApplications) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedApplications. It customizes the JSON unmarshaling process for SleImpactedApplications objects.
type SleImpactedApplicationsApp ¶
type SleImpactedApplicationsApp struct {
App *string `json:"app,omitempty"`
Degraded *int `json:"degraded,omitempty"`
Duration *int `json:"duration,omitempty"`
Name *string `json:"name,omitempty"`
Threshold *int `json:"threshold,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleImpactedApplicationsApp represents a SleImpactedApplicationsApp struct.
func (SleImpactedApplicationsApp) MarshalJSON ¶
func (s SleImpactedApplicationsApp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedApplicationsApp. It customizes the JSON marshaling process for SleImpactedApplicationsApp objects.
func (SleImpactedApplicationsApp) String ¶ added in v0.4.23
func (s SleImpactedApplicationsApp) String() string
String implements the fmt.Stringer interface for SleImpactedApplicationsApp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleImpactedApplicationsApp) UnmarshalJSON ¶
func (s *SleImpactedApplicationsApp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedApplicationsApp. It customizes the JSON unmarshaling process for SleImpactedApplicationsApp objects.
type SleImpactedAps ¶
type SleImpactedAps struct {
Aps []SleImpactedApsAp `json:"aps"`
Classifier string `json:"classifier"`
End float64 `json:"end"`
Failure string `json:"failure"`
Limit float64 `json:"limit"`
Metric string `json:"metric"`
Page float64 `json:"page"`
Start float64 `json:"start"`
TotalCount float64 `json:"total_count"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleImpactedAps represents a SleImpactedAps struct.
func (SleImpactedAps) MarshalJSON ¶
func (s SleImpactedAps) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedAps. It customizes the JSON marshaling process for SleImpactedAps objects.
func (SleImpactedAps) String ¶ added in v0.4.23
func (s SleImpactedAps) String() string
String implements the fmt.Stringer interface for SleImpactedAps, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleImpactedAps) UnmarshalJSON ¶
func (s *SleImpactedAps) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedAps. It customizes the JSON unmarshaling process for SleImpactedAps objects.
type SleImpactedApsAp ¶
type SleImpactedApsAp struct {
ApMac string `json:"ap_mac"`
Degraded float64 `json:"degraded"`
Duration float64 `json:"duration"`
Name string `json:"name"`
Total float64 `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleImpactedApsAp represents a SleImpactedApsAp struct.
func (SleImpactedApsAp) MarshalJSON ¶
func (s SleImpactedApsAp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedApsAp. It customizes the JSON marshaling process for SleImpactedApsAp objects.
func (SleImpactedApsAp) String ¶ added in v0.4.23
func (s SleImpactedApsAp) String() string
String implements the fmt.Stringer interface for SleImpactedApsAp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleImpactedApsAp) UnmarshalJSON ¶
func (s *SleImpactedApsAp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedApsAp. It customizes the JSON unmarshaling process for SleImpactedApsAp objects.
type SleImpactedChassis ¶
type SleImpactedChassis struct {
Chassis []SleImpactedChassisChassisItem `json:"chassis,omitempty"`
Classifier *string `json:"classifier,omitempty"`
End *int `json:"end,omitempty"`
Failure *string `json:"failure,omitempty"`
Limit *int `json:"limit,omitempty"`
Metric *string `json:"metric,omitempty"`
Page *int `json:"page,omitempty"`
Start *int `json:"start,omitempty"`
TotalCount *int `json:"total_count,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleImpactedChassis represents a SleImpactedChassis struct.
func (SleImpactedChassis) MarshalJSON ¶
func (s SleImpactedChassis) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedChassis. It customizes the JSON marshaling process for SleImpactedChassis objects.
func (SleImpactedChassis) String ¶ added in v0.4.23
func (s SleImpactedChassis) String() string
String implements the fmt.Stringer interface for SleImpactedChassis, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleImpactedChassis) UnmarshalJSON ¶
func (s *SleImpactedChassis) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedChassis. It customizes the JSON unmarshaling process for SleImpactedChassis objects.
type SleImpactedChassisChassisItem ¶
type SleImpactedChassisChassisItem struct {
Chassis *string `json:"chassis,omitempty"`
Degraded *float64 `json:"degraded,omitempty"`
Duration *float64 `json:"duration,omitempty"`
Role *string `json:"role,omitempty"`
SwitchMac *string `json:"switch_mac,omitempty"`
SwitchName *string `json:"switch_name,omitempty"`
Total *float64 `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleImpactedChassisChassisItem represents a SleImpactedChassisChassisItem struct.
func (SleImpactedChassisChassisItem) MarshalJSON ¶
func (s SleImpactedChassisChassisItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedChassisChassisItem. It customizes the JSON marshaling process for SleImpactedChassisChassisItem objects.
func (SleImpactedChassisChassisItem) String ¶ added in v0.4.23
func (s SleImpactedChassisChassisItem) String() string
String implements the fmt.Stringer interface for SleImpactedChassisChassisItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleImpactedChassisChassisItem) UnmarshalJSON ¶
func (s *SleImpactedChassisChassisItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedChassisChassisItem. It customizes the JSON unmarshaling process for SleImpactedChassisChassisItem objects.
type SleImpactedClientGateway ¶ added in v0.4.87
type SleImpactedClientGateway struct {
ChassisMac *string `json:"chassis_mac,omitempty"`
GatewayMac *string `json:"gateway_mac,omitempty"`
GatewayName *string `json:"gateway_name,omitempty"`
Interfaces []string `json:"interfaces,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleImpactedClientGateway represents a SleImpactedClientGateway struct.
func (SleImpactedClientGateway) MarshalJSON ¶ added in v0.4.87
func (s SleImpactedClientGateway) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedClientGateway. It customizes the JSON marshaling process for SleImpactedClientGateway objects.
func (SleImpactedClientGateway) String ¶ added in v0.4.87
func (s SleImpactedClientGateway) String() string
String implements the fmt.Stringer interface for SleImpactedClientGateway, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleImpactedClientGateway) UnmarshalJSON ¶ added in v0.4.87
func (s *SleImpactedClientGateway) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedClientGateway. It customizes the JSON unmarshaling process for SleImpactedClientGateway objects.
type SleImpactedClients ¶
type SleImpactedClients struct {
Classifier *string `json:"classifier,omitempty"`
Clients []SleImpactedClientsClient `json:"clients,omitempty"`
End *int `json:"end,omitempty"`
Failure *string `json:"failure,omitempty"`
Limit *int `json:"limit,omitempty"`
Metric *string `json:"metric,omitempty"`
Page *int `json:"page,omitempty"`
Start *int `json:"start,omitempty"`
TotalCount *int `json:"total_count,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleImpactedClients represents a SleImpactedClients struct.
func (SleImpactedClients) MarshalJSON ¶
func (s SleImpactedClients) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedClients. It customizes the JSON marshaling process for SleImpactedClients objects.
func (SleImpactedClients) String ¶ added in v0.4.23
func (s SleImpactedClients) String() string
String implements the fmt.Stringer interface for SleImpactedClients, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleImpactedClients) UnmarshalJSON ¶
func (s *SleImpactedClients) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedClients. It customizes the JSON unmarshaling process for SleImpactedClients objects.
type SleImpactedClientsClient ¶
type SleImpactedClientsClient struct {
Degraded *int `json:"degraded,omitempty"`
Duration *int `json:"duration,omitempty"`
Mac *string `json:"mac,omitempty"`
Name *string `json:"name,omitempty"`
Switches []SleImpactedClientsClientSwitch `json:"switches,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleImpactedClientsClient represents a SleImpactedClientsClient struct.
func (SleImpactedClientsClient) MarshalJSON ¶
func (s SleImpactedClientsClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedClientsClient. It customizes the JSON marshaling process for SleImpactedClientsClient objects.
func (SleImpactedClientsClient) String ¶ added in v0.4.23
func (s SleImpactedClientsClient) String() string
String implements the fmt.Stringer interface for SleImpactedClientsClient, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleImpactedClientsClient) UnmarshalJSON ¶
func (s *SleImpactedClientsClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedClientsClient. It customizes the JSON unmarshaling process for SleImpactedClientsClient objects.
type SleImpactedClientsClientSwitch ¶
type SleImpactedClientsClientSwitch struct {
Interfaces []string `json:"interfaces,omitempty"`
SwitchMac *string `json:"switch_mac,omitempty"`
SwitchName *string `json:"switch_name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleImpactedClientsClientSwitch represents a SleImpactedClientsClientSwitch struct.
func (SleImpactedClientsClientSwitch) MarshalJSON ¶
func (s SleImpactedClientsClientSwitch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedClientsClientSwitch. It customizes the JSON marshaling process for SleImpactedClientsClientSwitch objects.
func (SleImpactedClientsClientSwitch) String ¶ added in v0.4.23
func (s SleImpactedClientsClientSwitch) String() string
String implements the fmt.Stringer interface for SleImpactedClientsClientSwitch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleImpactedClientsClientSwitch) UnmarshalJSON ¶
func (s *SleImpactedClientsClientSwitch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedClientsClientSwitch. It customizes the JSON unmarshaling process for SleImpactedClientsClientSwitch objects.
type SleImpactedGateways ¶
type SleImpactedGateways struct {
Classifier *string `json:"classifier,omitempty"`
End *int `json:"end,omitempty"`
Failure *string `json:"failure,omitempty"`
Gateways []SleImpactedGatewaysGateway `json:"gateways,omitempty"`
Limit *int `json:"limit,omitempty"`
Metric *string `json:"metric,omitempty"`
Page *int `json:"page,omitempty"`
Start *int `json:"start,omitempty"`
TotalCount *int `json:"total_count,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleImpactedGateways represents a SleImpactedGateways struct.
func (SleImpactedGateways) MarshalJSON ¶
func (s SleImpactedGateways) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedGateways. It customizes the JSON marshaling process for SleImpactedGateways objects.
func (SleImpactedGateways) String ¶ added in v0.4.23
func (s SleImpactedGateways) String() string
String implements the fmt.Stringer interface for SleImpactedGateways, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleImpactedGateways) UnmarshalJSON ¶
func (s *SleImpactedGateways) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedGateways. It customizes the JSON unmarshaling process for SleImpactedGateways objects.
type SleImpactedGatewaysGateway ¶
type SleImpactedGatewaysGateway struct {
Degraded *float64 `json:"degraded,omitempty"`
Duration *int `json:"duration,omitempty"`
GatewayMac *string `json:"gateway_mac,omitempty"`
GatewayModel *string `json:"gateway_model,omitempty"`
GatewayVersion *string `json:"gateway_version,omitempty"`
Name *string `json:"name,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleImpactedGatewaysGateway represents a SleImpactedGatewaysGateway struct.
func (SleImpactedGatewaysGateway) MarshalJSON ¶
func (s SleImpactedGatewaysGateway) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedGatewaysGateway. It customizes the JSON marshaling process for SleImpactedGatewaysGateway objects.
func (SleImpactedGatewaysGateway) String ¶ added in v0.4.23
func (s SleImpactedGatewaysGateway) String() string
String implements the fmt.Stringer interface for SleImpactedGatewaysGateway, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleImpactedGatewaysGateway) UnmarshalJSON ¶
func (s *SleImpactedGatewaysGateway) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedGatewaysGateway. It customizes the JSON unmarshaling process for SleImpactedGatewaysGateway objects.
type SleImpactedInterfaces ¶
type SleImpactedInterfaces struct {
Classifier *string `json:"classifier,omitempty"`
End *int `json:"end,omitempty"`
Failure *string `json:"failure,omitempty"`
Interfaces []SleImpactedInterfacesInterface `json:"interfaces,omitempty"`
Limit *int `json:"limit,omitempty"`
Metric *string `json:"metric,omitempty"`
Page *int `json:"page,omitempty"`
Start *int `json:"start,omitempty"`
TotalCount *int `json:"total_count,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleImpactedInterfaces represents a SleImpactedInterfaces struct.
func (SleImpactedInterfaces) MarshalJSON ¶
func (s SleImpactedInterfaces) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedInterfaces. It customizes the JSON marshaling process for SleImpactedInterfaces objects.
func (SleImpactedInterfaces) String ¶ added in v0.4.23
func (s SleImpactedInterfaces) String() string
String implements the fmt.Stringer interface for SleImpactedInterfaces, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleImpactedInterfaces) UnmarshalJSON ¶
func (s *SleImpactedInterfaces) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedInterfaces. It customizes the JSON unmarshaling process for SleImpactedInterfaces objects.
type SleImpactedInterfacesInterface ¶
type SleImpactedInterfacesInterface struct {
Degraded *float64 `json:"degraded,omitempty"`
Duration *float64 `json:"duration,omitempty"`
InterfaceName *string `json:"interface_name,omitempty"`
SwitchMac *string `json:"switch_mac,omitempty"`
SwitchName *string `json:"switch_name,omitempty"`
Total *float64 `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleImpactedInterfacesInterface represents a SleImpactedInterfacesInterface struct.
func (SleImpactedInterfacesInterface) MarshalJSON ¶
func (s SleImpactedInterfacesInterface) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedInterfacesInterface. It customizes the JSON marshaling process for SleImpactedInterfacesInterface objects.
func (SleImpactedInterfacesInterface) String ¶ added in v0.4.23
func (s SleImpactedInterfacesInterface) String() string
String implements the fmt.Stringer interface for SleImpactedInterfacesInterface, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleImpactedInterfacesInterface) UnmarshalJSON ¶
func (s *SleImpactedInterfacesInterface) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedInterfacesInterface. It customizes the JSON unmarshaling process for SleImpactedInterfacesInterface objects.
type SleImpactedSwitches ¶
type SleImpactedSwitches struct {
Classifier *string `json:"classifier,omitempty"`
End *int `json:"end,omitempty"`
Failure *string `json:"failure,omitempty"`
Limit *int `json:"limit,omitempty"`
Metric *string `json:"metric,omitempty"`
Page *int `json:"page,omitempty"`
Start *int `json:"start,omitempty"`
Switches []SleImpactedSwitchesSwitch `json:"switches,omitempty"`
TotalCount *int `json:"total_count,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleImpactedSwitches represents a SleImpactedSwitches struct.
func (SleImpactedSwitches) MarshalJSON ¶
func (s SleImpactedSwitches) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedSwitches. It customizes the JSON marshaling process for SleImpactedSwitches objects.
func (SleImpactedSwitches) String ¶ added in v0.4.23
func (s SleImpactedSwitches) String() string
String implements the fmt.Stringer interface for SleImpactedSwitches, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleImpactedSwitches) UnmarshalJSON ¶
func (s *SleImpactedSwitches) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedSwitches. It customizes the JSON unmarshaling process for SleImpactedSwitches objects.
type SleImpactedSwitchesSwitch ¶
type SleImpactedSwitchesSwitch struct {
Degraded *float64 `json:"degraded,omitempty"`
Duration *float64 `json:"duration,omitempty"`
Interface []string `json:"interface,omitempty"`
Name *string `json:"name,omitempty"`
SwitchMac *string `json:"switch_mac,omitempty"`
SwitchModel *string `json:"switch_model,omitempty"`
SwitchVersion *string `json:"switch_version,omitempty"`
Total *float64 `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleImpactedSwitchesSwitch represents a SleImpactedSwitchesSwitch struct.
func (SleImpactedSwitchesSwitch) MarshalJSON ¶
func (s SleImpactedSwitchesSwitch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedSwitchesSwitch. It customizes the JSON marshaling process for SleImpactedSwitchesSwitch objects.
func (SleImpactedSwitchesSwitch) String ¶ added in v0.4.23
func (s SleImpactedSwitchesSwitch) String() string
String implements the fmt.Stringer interface for SleImpactedSwitchesSwitch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleImpactedSwitchesSwitch) UnmarshalJSON ¶
func (s *SleImpactedSwitchesSwitch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedSwitchesSwitch. It customizes the JSON unmarshaling process for SleImpactedSwitchesSwitch objects.
type SleImpactedUsers ¶
type SleImpactedUsers struct {
Classifier string `json:"classifier"`
Clients []SleImpactedUsersClient `json:"clients,omitempty"`
End float64 `json:"end"`
Failure string `json:"failure"`
Limit float64 `json:"limit"`
Metric string `json:"metric"`
Page float64 `json:"page"`
Start float64 `json:"start"`
TotalCount float64 `json:"total_count"`
Users []SleImpactedUsersUser `json:"users,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleImpactedUsers represents a SleImpactedUsers struct.
func (SleImpactedUsers) MarshalJSON ¶
func (s SleImpactedUsers) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedUsers. It customizes the JSON marshaling process for SleImpactedUsers objects.
func (SleImpactedUsers) String ¶ added in v0.4.23
func (s SleImpactedUsers) String() string
String implements the fmt.Stringer interface for SleImpactedUsers, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleImpactedUsers) UnmarshalJSON ¶
func (s *SleImpactedUsers) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedUsers. It customizes the JSON unmarshaling process for SleImpactedUsers objects.
type SleImpactedUsersClient ¶ added in v0.4.87
type SleImpactedUsersClient struct {
Degraded *float64 `json:"degraded,omitempty"`
Duration *float64 `json:"duration,omitempty"`
Gateways []SleImpactedClientGateway `json:"gateways,omitempty"`
Mac *string `json:"mac,omitempty"`
Name *string `json:"name,omitempty"`
SrcIp *string `json:"src_ip,omitempty"`
Total *float64 `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleImpactedUsersClient represents a SleImpactedUsersClient struct.
func (SleImpactedUsersClient) MarshalJSON ¶ added in v0.4.87
func (s SleImpactedUsersClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedUsersClient. It customizes the JSON marshaling process for SleImpactedUsersClient objects.
func (SleImpactedUsersClient) String ¶ added in v0.4.87
func (s SleImpactedUsersClient) String() string
String implements the fmt.Stringer interface for SleImpactedUsersClient, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleImpactedUsersClient) UnmarshalJSON ¶ added in v0.4.87
func (s *SleImpactedUsersClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedUsersClient. It customizes the JSON unmarshaling process for SleImpactedUsersClient objects.
type SleImpactedUsersUser ¶
type SleImpactedUsersUser struct {
ApMac *string `json:"ap_mac,omitempty"`
ApName *string `json:"ap_name,omitempty"`
Degraded *float64 `json:"degraded,omitempty"`
DeviceOs *string `json:"device_os,omitempty"`
DeviceType *string `json:"device_type,omitempty"`
Duration *float64 `json:"duration,omitempty"`
Mac *string `json:"mac,omitempty"`
Name *string `json:"name,omitempty"`
Ssid *string `json:"ssid,omitempty"`
Total *float64 `json:"total,omitempty"`
WlanId *string `json:"wlan_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleImpactedUsersUser represents a SleImpactedUsersUser struct.
func (SleImpactedUsersUser) MarshalJSON ¶
func (s SleImpactedUsersUser) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedUsersUser. It customizes the JSON marshaling process for SleImpactedUsersUser objects.
func (SleImpactedUsersUser) String ¶ added in v0.4.23
func (s SleImpactedUsersUser) String() string
String implements the fmt.Stringer interface for SleImpactedUsersUser, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleImpactedUsersUser) UnmarshalJSON ¶
func (s *SleImpactedUsersUser) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedUsersUser. It customizes the JSON unmarshaling process for SleImpactedUsersUser objects.
type SleSummary ¶
type SleSummary struct {
Classifiers []SleClassifier `json:"classifiers"`
End float64 `json:"end"`
Events []interface{} `json:"events"`
Impact SleSummaryImpact `json:"impact"`
Sle SleSummarySle `json:"sle"`
Start float64 `json:"start"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleSummary represents a SleSummary struct.
func (SleSummary) MarshalJSON ¶
func (s SleSummary) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleSummary. It customizes the JSON marshaling process for SleSummary objects.
func (SleSummary) String ¶ added in v0.4.23
func (s SleSummary) String() string
String implements the fmt.Stringer interface for SleSummary, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleSummary) UnmarshalJSON ¶
func (s *SleSummary) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleSummary. It customizes the JSON unmarshaling process for SleSummary objects.
type SleSummaryImpact ¶
type SleSummaryImpact struct {
NumAps float64 `json:"num_aps"`
NumUsers float64 `json:"num_users"`
TotalAps float64 `json:"total_aps"`
TotalUsers float64 `json:"total_users"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleSummaryImpact represents a SleSummaryImpact struct.
func (SleSummaryImpact) MarshalJSON ¶
func (s SleSummaryImpact) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleSummaryImpact. It customizes the JSON marshaling process for SleSummaryImpact objects.
func (SleSummaryImpact) String ¶ added in v0.4.23
func (s SleSummaryImpact) String() string
String implements the fmt.Stringer interface for SleSummaryImpact, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleSummaryImpact) UnmarshalJSON ¶
func (s *SleSummaryImpact) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleSummaryImpact. It customizes the JSON unmarshaling process for SleSummaryImpact objects.
type SleSummaryScopeEnum ¶
type SleSummaryScopeEnum string
SleSummaryScopeEnum is a string enum. enum: `ap`, `client`, `gateway`, `site`, `switch`
const ( SleSummaryScopeEnum_AP SleSummaryScopeEnum = "ap" SleSummaryScopeEnum_CLIENT SleSummaryScopeEnum = "client" SleSummaryScopeEnum_GATEWAY SleSummaryScopeEnum = "gateway" SleSummaryScopeEnum_SITE SleSummaryScopeEnum = "site" SleSummaryScopeEnum_ENUMSWITCH SleSummaryScopeEnum = "switch" )
type SleSummarySle ¶
type SleSummarySle struct {
Interval float64 `json:"interval"`
Name string `json:"name"`
Samples SleSummarySleSamples `json:"samples"`
XLabel string `json:"x_label"`
YLabel string `json:"y_label"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleSummarySle represents a SleSummarySle struct.
func (SleSummarySle) MarshalJSON ¶
func (s SleSummarySle) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleSummarySle. It customizes the JSON marshaling process for SleSummarySle objects.
func (SleSummarySle) String ¶ added in v0.4.23
func (s SleSummarySle) String() string
String implements the fmt.Stringer interface for SleSummarySle, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleSummarySle) UnmarshalJSON ¶
func (s *SleSummarySle) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleSummarySle. It customizes the JSON unmarshaling process for SleSummarySle objects.
type SleSummarySleSamples ¶
type SleSummarySleSamples struct {
Degraded []NumberOrNull `json:"degraded"`
Total []NumberOrNull `json:"total"`
Value []NumberOrNull `json:"value"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleSummarySleSamples represents a SleSummarySleSamples struct.
func (SleSummarySleSamples) MarshalJSON ¶
func (s SleSummarySleSamples) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleSummarySleSamples. It customizes the JSON marshaling process for SleSummarySleSamples objects.
func (SleSummarySleSamples) String ¶ added in v0.4.23
func (s SleSummarySleSamples) String() string
String implements the fmt.Stringer interface for SleSummarySleSamples, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleSummarySleSamples) UnmarshalJSON ¶
func (s *SleSummarySleSamples) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleSummarySleSamples. It customizes the JSON unmarshaling process for SleSummarySleSamples objects.
type SleThreshold ¶
type SleThreshold struct {
Default *float64 `json:"default,omitempty"`
Direction *string `json:"direction,omitempty"`
Maximum *float64 `json:"maximum,omitempty"`
Metric *string `json:"metric,omitempty"`
Minimum *float64 `json:"minimum,omitempty"`
Threshold *string `json:"threshold,omitempty"`
Units *string `json:"units,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleThreshold represents a SleThreshold struct.
func (SleThreshold) MarshalJSON ¶
func (s SleThreshold) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleThreshold. It customizes the JSON marshaling process for SleThreshold objects.
func (SleThreshold) String ¶ added in v0.4.23
func (s SleThreshold) String() string
String implements the fmt.Stringer interface for SleThreshold, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleThreshold) UnmarshalJSON ¶
func (s *SleThreshold) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleThreshold. It customizes the JSON unmarshaling process for SleThreshold objects.
type SleThresholds ¶ added in v0.4.74
type SleThresholds struct {
// Capacity, in %
Capacity *int `json:"capacity,omitempty"`
// Coverage, in dBm
Coverage *int `json:"coverage,omitempty"`
// Throughput, in Mbps
Throughput *int `json:"throughput,omitempty"`
// Time to connect, in seconds
TimeToConnect *int `json:"time-to-connect,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SleThresholds represents a SleThresholds struct.
func (SleThresholds) MarshalJSON ¶ added in v0.4.74
func (s SleThresholds) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleThresholds. It customizes the JSON marshaling process for SleThresholds objects.
func (SleThresholds) String ¶ added in v0.4.74
func (s SleThresholds) String() string
String implements the fmt.Stringer interface for SleThresholds, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SleThresholds) UnmarshalJSON ¶ added in v0.4.74
func (s *SleThresholds) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleThresholds. It customizes the JSON unmarshaling process for SleThresholds objects.
type SnmpConfig ¶
type SnmpConfig struct {
ClientList []SnmpConfigClientList `json:"client_list,omitempty"`
Contact *string `json:"contact,omitempty"`
Description *string `json:"description,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
EngineId *string `json:"engine_id,omitempty"`
// enum: `local`, `use_mac_address`
EngineIdType *SnmpConfigEngineIdTypeEnum `json:"engine_id_type,omitempty"`
Location *string `json:"location,omitempty"`
Name *string `json:"name,omitempty"`
Network *string `json:"network,omitempty"`
TrapGroups []SnmpConfigTrapGroup `json:"trap_groups,omitempty"`
V2cConfig []SnmpConfigV2cConfig `json:"v2c_config,omitempty"`
V3Config *Snmpv3Config `json:"v3_config,omitempty"`
Views []SnmpConfigView `json:"views,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SnmpConfig represents a SnmpConfig struct.
func (SnmpConfig) MarshalJSON ¶
func (s SnmpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SnmpConfig. It customizes the JSON marshaling process for SnmpConfig objects.
func (SnmpConfig) String ¶ added in v0.4.23
func (s SnmpConfig) String() string
String implements the fmt.Stringer interface for SnmpConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SnmpConfig) UnmarshalJSON ¶
func (s *SnmpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SnmpConfig. It customizes the JSON unmarshaling process for SnmpConfig objects.
type SnmpConfigClientList ¶
type SnmpConfigClientList struct {
ClientListName *string `json:"client_list_name,omitempty"`
Clients []string `json:"clients,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SnmpConfigClientList represents a SnmpConfigClientList struct.
func (SnmpConfigClientList) MarshalJSON ¶
func (s SnmpConfigClientList) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SnmpConfigClientList. It customizes the JSON marshaling process for SnmpConfigClientList objects.
func (SnmpConfigClientList) String ¶ added in v0.4.23
func (s SnmpConfigClientList) String() string
String implements the fmt.Stringer interface for SnmpConfigClientList, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SnmpConfigClientList) UnmarshalJSON ¶
func (s *SnmpConfigClientList) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SnmpConfigClientList. It customizes the JSON unmarshaling process for SnmpConfigClientList objects.
type SnmpConfigEngineIdTypeEnum ¶ added in v0.4.75
type SnmpConfigEngineIdTypeEnum string
SnmpConfigEngineIdTypeEnum is a string enum. enum: `local`, `use_mac_address`
const ( SnmpConfigEngineIdTypeEnum_LOCAL SnmpConfigEngineIdTypeEnum = "local" SnmpConfigEngineIdTypeEnum_USEMACADDRESS SnmpConfigEngineIdTypeEnum = "use_mac_address" )
type SnmpConfigTrapGroup ¶
type SnmpConfigTrapGroup struct {
Categories []string `json:"categories,omitempty"`
// Categories list can refer to https://www.juniper.net/documentation/software/topics/task/configuration/snmp_trap-groups-configuring-junos-nm.html
GroupName *string `json:"group_name,omitempty"`
Targets []string `json:"targets,omitempty"`
// enum: `all`, `v1`, `v2`
Version *SnmpConfigTrapVersionEnum `json:"version,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SnmpConfigTrapGroup represents a SnmpConfigTrapGroup struct.
func (SnmpConfigTrapGroup) MarshalJSON ¶
func (s SnmpConfigTrapGroup) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SnmpConfigTrapGroup. It customizes the JSON marshaling process for SnmpConfigTrapGroup objects.
func (SnmpConfigTrapGroup) String ¶ added in v0.4.23
func (s SnmpConfigTrapGroup) String() string
String implements the fmt.Stringer interface for SnmpConfigTrapGroup, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SnmpConfigTrapGroup) UnmarshalJSON ¶
func (s *SnmpConfigTrapGroup) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SnmpConfigTrapGroup. It customizes the JSON unmarshaling process for SnmpConfigTrapGroup objects.
type SnmpConfigTrapVersionEnum ¶ added in v0.4.54
type SnmpConfigTrapVersionEnum string
SnmpConfigTrapVersionEnum is a string enum. enum: `all`, `v1`, `v2`
const ( SnmpConfigTrapVersionEnum_ALL SnmpConfigTrapVersionEnum = "all" SnmpConfigTrapVersionEnum_V1 SnmpConfigTrapVersionEnum = "v1" SnmpConfigTrapVersionEnum_V2 SnmpConfigTrapVersionEnum = "v2" )
type SnmpConfigV2cConfig ¶ added in v0.2.38
type SnmpConfigV2cConfig struct {
Authorization *string `json:"authorization,omitempty"`
// Client_list_name here should refer to client_list above
ClientListName *string `json:"client_list_name,omitempty"`
CommunityName *string `json:"community_name,omitempty"`
// View name here should be defined in views above
View *string `json:"view,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SnmpConfigV2cConfig represents a SnmpConfigV2cConfig struct.
func (SnmpConfigV2cConfig) MarshalJSON ¶ added in v0.2.38
func (s SnmpConfigV2cConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SnmpConfigV2cConfig. It customizes the JSON marshaling process for SnmpConfigV2cConfig objects.
func (SnmpConfigV2cConfig) String ¶ added in v0.4.23
func (s SnmpConfigV2cConfig) String() string
String implements the fmt.Stringer interface for SnmpConfigV2cConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SnmpConfigV2cConfig) UnmarshalJSON ¶ added in v0.2.38
func (s *SnmpConfigV2cConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SnmpConfigV2cConfig. It customizes the JSON unmarshaling process for SnmpConfigV2cConfig objects.
type SnmpConfigView ¶
type SnmpConfigView struct {
// If the root oid configured is included
Include *bool `json:"include,omitempty"`
Oid *string `json:"oid,omitempty"`
ViewName *string `json:"view_name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SnmpConfigView represents a SnmpConfigView struct.
func (SnmpConfigView) MarshalJSON ¶
func (s SnmpConfigView) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SnmpConfigView. It customizes the JSON marshaling process for SnmpConfigView objects.
func (SnmpConfigView) String ¶ added in v0.4.23
func (s SnmpConfigView) String() string
String implements the fmt.Stringer interface for SnmpConfigView, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SnmpConfigView) UnmarshalJSON ¶
func (s *SnmpConfigView) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SnmpConfigView. It customizes the JSON unmarshaling process for SnmpConfigView objects.
type SnmpUsm ¶
type SnmpUsm struct {
// enum: `local_engine`, `remote_engine`
EngineType *SnmpUsmEngineTypeEnum `json:"engine_type,omitempty"`
// Required only if `engine_type`==`remote_engine`
RemoteEngineId *string `json:"remote_engine_id,omitempty"`
Users []SnmpUsmUser `json:"users,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SnmpUsm represents a SnmpUsm struct.
func (SnmpUsm) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for SnmpUsm. It customizes the JSON marshaling process for SnmpUsm objects.
func (SnmpUsm) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for SnmpUsm, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SnmpUsm) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for SnmpUsm. It customizes the JSON unmarshaling process for SnmpUsm objects.
type SnmpUsmEngineTypeEnum ¶
type SnmpUsmEngineTypeEnum string
SnmpUsmEngineTypeEnum is a string enum. enum: `local_engine`, `remote_engine`
const ( SnmpUsmEngineTypeEnum_LOCALENGINE SnmpUsmEngineTypeEnum = "local_engine" SnmpUsmEngineTypeEnum_REMOTEENGINE SnmpUsmEngineTypeEnum = "remote_engine" )
type SnmpUsmUser ¶ added in v0.4.54
type SnmpUsmUser struct {
// Not required if `authentication_type`==`authentication-none`. Include alphabetic, numeric, and special characters, but it cannot include control characters.
AuthenticationPassword *string `json:"authentication_password,omitempty"`
// sha224, sha256, sha384, sha512 are supported in 21.1 and newer release. enum: `authentication-md5`, `authentication-none`, `authentication-sha`, `authentication-sha224`, `authentication-sha256`, `authentication-sha384`, `authentication-sha512`
AuthenticationType *SnmpUsmUserAuthenticationTypeEnum `json:"authentication_type,omitempty"`
// Not required if `encryption_type`==`privacy-none`. Include alphabetic, numeric, and special characters, but it cannot include control characters
EncryptionPassword *string `json:"encryption_password,omitempty"`
// enum: `privacy-3des`, `privacy-aes128`, `privacy-des`, `privacy-none`
EncryptionType *SnmpUsmUserEncryptionTypeEnum `json:"encryption_type,omitempty"`
Name *string `json:"name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SnmpUsmUser represents a SnmpUsmUser struct.
func (SnmpUsmUser) MarshalJSON ¶ added in v0.4.54
func (s SnmpUsmUser) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SnmpUsmUser. It customizes the JSON marshaling process for SnmpUsmUser objects.
func (SnmpUsmUser) String ¶ added in v0.4.54
func (s SnmpUsmUser) String() string
String implements the fmt.Stringer interface for SnmpUsmUser, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SnmpUsmUser) UnmarshalJSON ¶ added in v0.4.54
func (s *SnmpUsmUser) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SnmpUsmUser. It customizes the JSON unmarshaling process for SnmpUsmUser objects.
type SnmpUsmUserAuthenticationTypeEnum ¶ added in v0.4.54
type SnmpUsmUserAuthenticationTypeEnum string
SnmpUsmUserAuthenticationTypeEnum is a string enum. sha224, sha256, sha384, sha512 are supported in 21.1 and newer release. enum: `authentication-md5`, `authentication-none`, `authentication-sha`, `authentication-sha224`, `authentication-sha256`, `authentication-sha384`, `authentication-sha512`
const ( SnmpUsmUserAuthenticationTypeEnum_AUTHENTICATIONMD5 SnmpUsmUserAuthenticationTypeEnum = "authentication-md5" SnmpUsmUserAuthenticationTypeEnum_AUTHENTICATIONNONE SnmpUsmUserAuthenticationTypeEnum = "authentication-none" SnmpUsmUserAuthenticationTypeEnum_AUTHENTICATIONSHA SnmpUsmUserAuthenticationTypeEnum = "authentication-sha" SnmpUsmUserAuthenticationTypeEnum_AUTHENTICATIONSHA224 SnmpUsmUserAuthenticationTypeEnum = "authentication-sha224" SnmpUsmUserAuthenticationTypeEnum_AUTHENTICATIONSHA256 SnmpUsmUserAuthenticationTypeEnum = "authentication-sha256" SnmpUsmUserAuthenticationTypeEnum_AUTHENTICATIONSHA384 SnmpUsmUserAuthenticationTypeEnum = "authentication-sha384" SnmpUsmUserAuthenticationTypeEnum_AUTHENTICATIONSHA512 SnmpUsmUserAuthenticationTypeEnum = "authentication-sha512" )
type SnmpUsmUserEncryptionTypeEnum ¶ added in v0.4.54
type SnmpUsmUserEncryptionTypeEnum string
SnmpUsmUserEncryptionTypeEnum is a string enum. enum: `privacy-3des`, `privacy-aes128`, `privacy-des`, `privacy-none`
const ( SnmpUsmUserEncryptionTypeEnum_PRIVACY3DES SnmpUsmUserEncryptionTypeEnum = "privacy-3des" SnmpUsmUserEncryptionTypeEnum_PRIVACYAES128 SnmpUsmUserEncryptionTypeEnum = "privacy-aes128" SnmpUsmUserEncryptionTypeEnum_PRIVACYDES SnmpUsmUserEncryptionTypeEnum = "privacy-des" SnmpUsmUserEncryptionTypeEnum_PRIVACYNONE SnmpUsmUserEncryptionTypeEnum = "privacy-none" )
type SnmpVacm ¶
type SnmpVacm struct {
Access []SnmpVacmAccessItem `json:"access,omitempty"`
SecurityToGroup *SnmpVacmSecurityToGroup `json:"security_to_group,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SnmpVacm represents a SnmpVacm struct.
func (SnmpVacm) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for SnmpVacm. It customizes the JSON marshaling process for SnmpVacm objects.
func (SnmpVacm) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for SnmpVacm, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SnmpVacm) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for SnmpVacm. It customizes the JSON unmarshaling process for SnmpVacm objects.
type SnmpVacmAccessItem ¶
type SnmpVacmAccessItem struct {
GroupName *string `json:"group_name,omitempty"`
PrefixList []SnmpVacmAccessItemPrefixListItem `json:"prefix_list,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SnmpVacmAccessItem represents a SnmpVacmAccessItem struct.
func (SnmpVacmAccessItem) MarshalJSON ¶
func (s SnmpVacmAccessItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SnmpVacmAccessItem. It customizes the JSON marshaling process for SnmpVacmAccessItem objects.
func (SnmpVacmAccessItem) String ¶ added in v0.4.23
func (s SnmpVacmAccessItem) String() string
String implements the fmt.Stringer interface for SnmpVacmAccessItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SnmpVacmAccessItem) UnmarshalJSON ¶
func (s *SnmpVacmAccessItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SnmpVacmAccessItem. It customizes the JSON unmarshaling process for SnmpVacmAccessItem objects.
type SnmpVacmAccessItemPrefixListItem ¶
type SnmpVacmAccessItemPrefixListItem struct {
// Only required if `type`==`context_prefix`
ContextPrefix *string `json:"context_prefix,omitempty"`
// Refer to view name
NotifyView *string `json:"notify_view,omitempty"`
// Refer to view name
ReadView *string `json:"read_view,omitempty"`
// enum: `authentication`, `none`, `privacy`
SecurityLevel *SnmpVacmAccessItemPrefixListItemLevelEnum `json:"security_level,omitempty"`
// enum: `any`, `usm`, `v1`, `v2c`
SecurityModel *SnmpVacmAccessItemPrefixListItemModelEnum `json:"security_model,omitempty"`
// enum: `context_prefix`, `default_context_prefix`
Type *SnmpVacmAccessItemTypeEnum `json:"type,omitempty"`
// Refer to view name
WriteView *string `json:"write_view,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SnmpVacmAccessItemPrefixListItem represents a SnmpVacmAccessItemPrefixListItem struct.
func (SnmpVacmAccessItemPrefixListItem) MarshalJSON ¶
func (s SnmpVacmAccessItemPrefixListItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SnmpVacmAccessItemPrefixListItem. It customizes the JSON marshaling process for SnmpVacmAccessItemPrefixListItem objects.
func (SnmpVacmAccessItemPrefixListItem) String ¶ added in v0.4.23
func (s SnmpVacmAccessItemPrefixListItem) String() string
String implements the fmt.Stringer interface for SnmpVacmAccessItemPrefixListItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SnmpVacmAccessItemPrefixListItem) UnmarshalJSON ¶
func (s *SnmpVacmAccessItemPrefixListItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SnmpVacmAccessItemPrefixListItem. It customizes the JSON unmarshaling process for SnmpVacmAccessItemPrefixListItem objects.
type SnmpVacmAccessItemPrefixListItemLevelEnum ¶
type SnmpVacmAccessItemPrefixListItemLevelEnum string
SnmpVacmAccessItemPrefixListItemLevelEnum is a string enum. enum: `authentication`, `none`, `privacy`
const ( SnmpVacmAccessItemPrefixListItemLevelEnum_AUTHENTICATION SnmpVacmAccessItemPrefixListItemLevelEnum = "authentication" SnmpVacmAccessItemPrefixListItemLevelEnum_NONE SnmpVacmAccessItemPrefixListItemLevelEnum = "none" SnmpVacmAccessItemPrefixListItemLevelEnum_PRIVACY SnmpVacmAccessItemPrefixListItemLevelEnum = "privacy" )
type SnmpVacmAccessItemPrefixListItemModelEnum ¶
type SnmpVacmAccessItemPrefixListItemModelEnum string
SnmpVacmAccessItemPrefixListItemModelEnum is a string enum. enum: `any`, `usm`, `v1`, `v2c`
const ( SnmpVacmAccessItemPrefixListItemModelEnum_ANY SnmpVacmAccessItemPrefixListItemModelEnum = "any" SnmpVacmAccessItemPrefixListItemModelEnum_USM SnmpVacmAccessItemPrefixListItemModelEnum = "usm" SnmpVacmAccessItemPrefixListItemModelEnum_V1 SnmpVacmAccessItemPrefixListItemModelEnum = "v1" SnmpVacmAccessItemPrefixListItemModelEnum_V2C SnmpVacmAccessItemPrefixListItemModelEnum = "v2c" )
type SnmpVacmAccessItemTypeEnum ¶
type SnmpVacmAccessItemTypeEnum string
SnmpVacmAccessItemTypeEnum is a string enum. enum: `context_prefix`, `default_context_prefix`
const ( SnmpVacmAccessItemTypeEnum_CONTEXTPREFIX SnmpVacmAccessItemTypeEnum = "context_prefix" SnmpVacmAccessItemTypeEnum_DEFAULTCONTEXTPREFIX SnmpVacmAccessItemTypeEnum = "default_context_prefix" )
type SnmpVacmSecurityModelEnum ¶
type SnmpVacmSecurityModelEnum string
SnmpVacmSecurityModelEnum is a string enum. enum: `usm`, `v1`, `v2c`
const ( SnmpVacmSecurityModelEnum_USM SnmpVacmSecurityModelEnum = "usm" SnmpVacmSecurityModelEnum_V1 SnmpVacmSecurityModelEnum = "v1" SnmpVacmSecurityModelEnum_V2C SnmpVacmSecurityModelEnum = "v2c" )
type SnmpVacmSecurityToGroup ¶
type SnmpVacmSecurityToGroup struct {
Content []SnmpVacmSecurityToGroupContentItem `json:"content,omitempty"`
// enum: `usm`, `v1`, `v2c`
SecurityModel *SnmpVacmSecurityModelEnum `json:"security_model,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SnmpVacmSecurityToGroup represents a SnmpVacmSecurityToGroup struct.
func (SnmpVacmSecurityToGroup) MarshalJSON ¶
func (s SnmpVacmSecurityToGroup) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SnmpVacmSecurityToGroup. It customizes the JSON marshaling process for SnmpVacmSecurityToGroup objects.
func (SnmpVacmSecurityToGroup) String ¶ added in v0.4.23
func (s SnmpVacmSecurityToGroup) String() string
String implements the fmt.Stringer interface for SnmpVacmSecurityToGroup, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SnmpVacmSecurityToGroup) UnmarshalJSON ¶
func (s *SnmpVacmSecurityToGroup) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SnmpVacmSecurityToGroup. It customizes the JSON unmarshaling process for SnmpVacmSecurityToGroup objects.
type SnmpVacmSecurityToGroupContentItem ¶
type SnmpVacmSecurityToGroupContentItem struct {
// Refer to group_name under access
Group *string `json:"group,omitempty"`
SecurityName *string `json:"security_name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SnmpVacmSecurityToGroupContentItem represents a SnmpVacmSecurityToGroupContentItem struct.
func (SnmpVacmSecurityToGroupContentItem) MarshalJSON ¶
func (s SnmpVacmSecurityToGroupContentItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SnmpVacmSecurityToGroupContentItem. It customizes the JSON marshaling process for SnmpVacmSecurityToGroupContentItem objects.
func (SnmpVacmSecurityToGroupContentItem) String ¶ added in v0.4.23
func (s SnmpVacmSecurityToGroupContentItem) String() string
String implements the fmt.Stringer interface for SnmpVacmSecurityToGroupContentItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SnmpVacmSecurityToGroupContentItem) UnmarshalJSON ¶
func (s *SnmpVacmSecurityToGroupContentItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SnmpVacmSecurityToGroupContentItem. It customizes the JSON unmarshaling process for SnmpVacmSecurityToGroupContentItem objects.
type Snmpv3Config ¶
type Snmpv3Config struct {
Notify []Snmpv3ConfigNotifyItems `json:"notify,omitempty"`
NotifyFilter []Snmpv3ConfigNotifyFilterItem `json:"notify_filter,omitempty"`
TargetAddress []Snmpv3ConfigTargetAddressItem `json:"target_address,omitempty"`
TargetParameters []Snmpv3ConfigTargetParam `json:"target_parameters,omitempty"`
Usm []SnmpUsm `json:"usm,omitempty"`
Vacm *SnmpVacm `json:"vacm,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Snmpv3Config represents a Snmpv3Config struct.
func (Snmpv3Config) MarshalJSON ¶
func (s Snmpv3Config) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for Snmpv3Config. It customizes the JSON marshaling process for Snmpv3Config objects.
func (Snmpv3Config) String ¶ added in v0.4.23
func (s Snmpv3Config) String() string
String implements the fmt.Stringer interface for Snmpv3Config, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Snmpv3Config) UnmarshalJSON ¶
func (s *Snmpv3Config) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for Snmpv3Config. It customizes the JSON unmarshaling process for Snmpv3Config objects.
type Snmpv3ConfigNotifyFilterItem ¶
type Snmpv3ConfigNotifyFilterItem struct {
Contents []Snmpv3ConfigNotifyFilterItemContent `json:"contents,omitempty"`
ProfileName *string `json:"profile_name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Snmpv3ConfigNotifyFilterItem represents a Snmpv3ConfigNotifyFilterItem struct.
func (Snmpv3ConfigNotifyFilterItem) MarshalJSON ¶
func (s Snmpv3ConfigNotifyFilterItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for Snmpv3ConfigNotifyFilterItem. It customizes the JSON marshaling process for Snmpv3ConfigNotifyFilterItem objects.
func (Snmpv3ConfigNotifyFilterItem) String ¶ added in v0.4.23
func (s Snmpv3ConfigNotifyFilterItem) String() string
String implements the fmt.Stringer interface for Snmpv3ConfigNotifyFilterItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Snmpv3ConfigNotifyFilterItem) UnmarshalJSON ¶
func (s *Snmpv3ConfigNotifyFilterItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for Snmpv3ConfigNotifyFilterItem. It customizes the JSON unmarshaling process for Snmpv3ConfigNotifyFilterItem objects.
type Snmpv3ConfigNotifyFilterItemContent ¶
type Snmpv3ConfigNotifyFilterItemContent struct {
Include *bool `json:"include,omitempty"`
Oid *string `json:"oid,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Snmpv3ConfigNotifyFilterItemContent represents a Snmpv3ConfigNotifyFilterItemContent struct.
func (Snmpv3ConfigNotifyFilterItemContent) MarshalJSON ¶
func (s Snmpv3ConfigNotifyFilterItemContent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for Snmpv3ConfigNotifyFilterItemContent. It customizes the JSON marshaling process for Snmpv3ConfigNotifyFilterItemContent objects.
func (Snmpv3ConfigNotifyFilterItemContent) String ¶ added in v0.4.23
func (s Snmpv3ConfigNotifyFilterItemContent) String() string
String implements the fmt.Stringer interface for Snmpv3ConfigNotifyFilterItemContent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Snmpv3ConfigNotifyFilterItemContent) UnmarshalJSON ¶
func (s *Snmpv3ConfigNotifyFilterItemContent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for Snmpv3ConfigNotifyFilterItemContent. It customizes the JSON unmarshaling process for Snmpv3ConfigNotifyFilterItemContent objects.
type Snmpv3ConfigNotifyItems ¶
type Snmpv3ConfigNotifyItems struct {
Name *string `json:"name,omitempty"`
Tag *string `json:"tag,omitempty"`
// enum: `inform`, `trap`
Type *Snmpv3ConfigNotifyTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Snmpv3ConfigNotifyItems represents a Snmpv3ConfigNotifyItems struct.
func (Snmpv3ConfigNotifyItems) MarshalJSON ¶
func (s Snmpv3ConfigNotifyItems) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for Snmpv3ConfigNotifyItems. It customizes the JSON marshaling process for Snmpv3ConfigNotifyItems objects.
func (Snmpv3ConfigNotifyItems) String ¶ added in v0.4.23
func (s Snmpv3ConfigNotifyItems) String() string
String implements the fmt.Stringer interface for Snmpv3ConfigNotifyItems, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Snmpv3ConfigNotifyItems) UnmarshalJSON ¶
func (s *Snmpv3ConfigNotifyItems) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for Snmpv3ConfigNotifyItems. It customizes the JSON unmarshaling process for Snmpv3ConfigNotifyItems objects.
type Snmpv3ConfigNotifyTypeEnum ¶
type Snmpv3ConfigNotifyTypeEnum string
Snmpv3ConfigNotifyTypeEnum is a string enum. enum: `inform`, `trap`
const ( Snmpv3ConfigNotifyTypeEnum_INFORM Snmpv3ConfigNotifyTypeEnum = "inform" Snmpv3ConfigNotifyTypeEnum_TRAP Snmpv3ConfigNotifyTypeEnum = "trap" )
type Snmpv3ConfigTargetAddressItem ¶
type Snmpv3ConfigTargetAddressItem struct {
Address *string `json:"address,omitempty"`
AddressMask *string `json:"address_mask,omitempty"`
Port Optional[string] `json:"port"`
// Refer to notify tag, can be multiple with blank
TagList *string `json:"tag_list,omitempty"`
TargetAddressName *string `json:"target_address_name,omitempty"`
// Refer to notify target parameters name
TargetParameters *string `json:"target_parameters,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Snmpv3ConfigTargetAddressItem represents a Snmpv3ConfigTargetAddressItem struct.
func (Snmpv3ConfigTargetAddressItem) MarshalJSON ¶
func (s Snmpv3ConfigTargetAddressItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for Snmpv3ConfigTargetAddressItem. It customizes the JSON marshaling process for Snmpv3ConfigTargetAddressItem objects.
func (Snmpv3ConfigTargetAddressItem) String ¶ added in v0.4.23
func (s Snmpv3ConfigTargetAddressItem) String() string
String implements the fmt.Stringer interface for Snmpv3ConfigTargetAddressItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Snmpv3ConfigTargetAddressItem) UnmarshalJSON ¶
func (s *Snmpv3ConfigTargetAddressItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for Snmpv3ConfigTargetAddressItem. It customizes the JSON unmarshaling process for Snmpv3ConfigTargetAddressItem objects.
type Snmpv3ConfigTargetParam ¶
type Snmpv3ConfigTargetParam struct {
// enum: `v1`, `v2c`, `v3`
MessageProcessingModel *Snmpv3ConfigTargetParamMessProcessModelEnum `json:"message_processing_model,omitempty"`
Name *string `json:"name,omitempty"`
// Refer to profile-name in notify_filter
NotifyFilter *string `json:"notify_filter,omitempty"`
// enum: `authentication`, `none`, `privacy`
SecurityLevel *Snmpv3ConfigTargetParamSecurityLevelEnum `json:"security_level,omitempty"`
// enum: `usm`, `v1`, `v2c`
SecurityModel *Snmpv3ConfigTargetParamSecurityModelEnum `json:"security_model,omitempty"`
// Refer to security_name in usm
SecurityName *string `json:"security_name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Snmpv3ConfigTargetParam represents a Snmpv3ConfigTargetParam struct.
func (Snmpv3ConfigTargetParam) MarshalJSON ¶
func (s Snmpv3ConfigTargetParam) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for Snmpv3ConfigTargetParam. It customizes the JSON marshaling process for Snmpv3ConfigTargetParam objects.
func (Snmpv3ConfigTargetParam) String ¶ added in v0.4.23
func (s Snmpv3ConfigTargetParam) String() string
String implements the fmt.Stringer interface for Snmpv3ConfigTargetParam, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Snmpv3ConfigTargetParam) UnmarshalJSON ¶
func (s *Snmpv3ConfigTargetParam) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for Snmpv3ConfigTargetParam. It customizes the JSON unmarshaling process for Snmpv3ConfigTargetParam objects.
type Snmpv3ConfigTargetParamMessProcessModelEnum ¶
type Snmpv3ConfigTargetParamMessProcessModelEnum string
Snmpv3ConfigTargetParamMessProcessModelEnum is a string enum. enum: `v1`, `v2c`, `v3`
const ( Snmpv3ConfigTargetParamMessProcessModelEnum_V1 Snmpv3ConfigTargetParamMessProcessModelEnum = "v1" Snmpv3ConfigTargetParamMessProcessModelEnum_V2C Snmpv3ConfigTargetParamMessProcessModelEnum = "v2c" Snmpv3ConfigTargetParamMessProcessModelEnum_V3 Snmpv3ConfigTargetParamMessProcessModelEnum = "v3" )
type Snmpv3ConfigTargetParamSecurityLevelEnum ¶
type Snmpv3ConfigTargetParamSecurityLevelEnum string
Snmpv3ConfigTargetParamSecurityLevelEnum is a string enum. enum: `authentication`, `none`, `privacy`
const ( Snmpv3ConfigTargetParamSecurityLevelEnum_AUTHENTICATION Snmpv3ConfigTargetParamSecurityLevelEnum = "authentication" Snmpv3ConfigTargetParamSecurityLevelEnum_NONE Snmpv3ConfigTargetParamSecurityLevelEnum = "none" Snmpv3ConfigTargetParamSecurityLevelEnum_PRIVACY Snmpv3ConfigTargetParamSecurityLevelEnum = "privacy" )
type Snmpv3ConfigTargetParamSecurityModelEnum ¶
type Snmpv3ConfigTargetParamSecurityModelEnum string
Snmpv3ConfigTargetParamSecurityModelEnum is a string enum. enum: `usm`, `v1`, `v2c`
const ( Snmpv3ConfigTargetParamSecurityModelEnum_USM Snmpv3ConfigTargetParamSecurityModelEnum = "usm" Snmpv3ConfigTargetParamSecurityModelEnum_V1 Snmpv3ConfigTargetParamSecurityModelEnum = "v1" Snmpv3ConfigTargetParamSecurityModelEnum_V2C Snmpv3ConfigTargetParamSecurityModelEnum = "v2c" )
type SpectrumAnalysis ¶ added in v0.4.80
type SpectrumAnalysis struct {
// Band for spectrum analysis. enum: `24`, `5`, `6`
Band SpectrumAnalysisBandEnum `json:"band"`
// Device ID of the AP that is performing spectrum analysis
DeviceId *uuid.UUID `json:"device_id,omitempty"`
// Duration of the spectrum analysis in seconds
Duration *int `json:"duration,omitempty"`
// Format of the spectrum analysis data. enum: `json`, `stream`
Format *SpectrumAnalysisFormatEnum `json:"format,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SpectrumAnalysis represents a SpectrumAnalysis struct.
func (SpectrumAnalysis) MarshalJSON ¶ added in v0.4.80
func (s SpectrumAnalysis) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SpectrumAnalysis. It customizes the JSON marshaling process for SpectrumAnalysis objects.
func (SpectrumAnalysis) String ¶ added in v0.4.80
func (s SpectrumAnalysis) String() string
String implements the fmt.Stringer interface for SpectrumAnalysis, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SpectrumAnalysis) UnmarshalJSON ¶ added in v0.4.80
func (s *SpectrumAnalysis) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SpectrumAnalysis. It customizes the JSON unmarshaling process for SpectrumAnalysis objects.
type SpectrumAnalysisBandEnum ¶ added in v0.4.80
type SpectrumAnalysisBandEnum string
SpectrumAnalysisBandEnum is a string enum. Band for spectrum analysis. enum: `24`, `5`, `6`
const ( SpectrumAnalysisBandEnum_ENUM24 SpectrumAnalysisBandEnum = "24" SpectrumAnalysisBandEnum_ENUM5 SpectrumAnalysisBandEnum = "5" SpectrumAnalysisBandEnum_ENUM6 SpectrumAnalysisBandEnum = "6" )
type SpectrumAnalysisFormatEnum ¶ added in v0.4.80
type SpectrumAnalysisFormatEnum string
SpectrumAnalysisFormatEnum is a string enum. Format of the spectrum analysis data. enum: `json`, `stream`
const ( SpectrumAnalysisFormatEnum_JSON SpectrumAnalysisFormatEnum = "json" SpectrumAnalysisFormatEnum_STREAM SpectrumAnalysisFormatEnum = "stream" )
type SponsorLinkValidityDuration ¶ added in v0.4.71
type SponsorLinkValidityDuration struct {
// contains filtered or unexported fields
}
SponsorLinkValidityDuration represents a SponsorLinkValidityDuration struct. Optional if `sponsor_enabled`==`true`. How long to remain valid sponsored guest request approve/deny link received in email, in minutes. Value is between 5 and 60.
func (*SponsorLinkValidityDuration) AsNumber ¶ added in v0.4.71
func (s *SponsorLinkValidityDuration) AsNumber() ( *int, bool)
func (*SponsorLinkValidityDuration) AsString ¶ added in v0.4.71
func (s *SponsorLinkValidityDuration) AsString() ( *string, bool)
func (SponsorLinkValidityDuration) MarshalJSON ¶ added in v0.4.71
func (s SponsorLinkValidityDuration) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SponsorLinkValidityDuration. It customizes the JSON marshaling process for SponsorLinkValidityDuration objects.
func (SponsorLinkValidityDuration) String ¶ added in v0.4.71
func (s SponsorLinkValidityDuration) String() string
String implements the fmt.Stringer interface for SponsorLinkValidityDuration, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SponsorLinkValidityDuration) UnmarshalJSON ¶ added in v0.4.71
func (s *SponsorLinkValidityDuration) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SponsorLinkValidityDuration. It customizes the JSON unmarshaling process for SponsorLinkValidityDuration objects.
type SslProxyCiphersCategoryEnum ¶ added in v0.4.53
type SslProxyCiphersCategoryEnum string
SslProxyCiphersCategoryEnum is a string enum. enum: `medium`, `strong`, `weak`
const ( SslProxyCiphersCategoryEnum_MEDIUM SslProxyCiphersCategoryEnum = "medium" SslProxyCiphersCategoryEnum_STRONG SslProxyCiphersCategoryEnum = "strong" SslProxyCiphersCategoryEnum_WEAK SslProxyCiphersCategoryEnum = "weak" )
type Sso ¶
type Sso struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// If `idp_type`==`saml`, a URL we will redirect the user after user logout from Mist (for some IdP which supports a custom logout URL that is different from SP-initiated SLO process)
CustomLogoutUrl *string `json:"custom_logout_url,omitempty"`
// If `idp_type`==`saml`, default role to assign if there’s no match. By default, an assertion is treated as invalid when there’s no role matched
DefaultRole *string `json:"default_role,omitempty"`
// Random string generated during the SSO creation and used to generate the SAML URLs:
// * ACS URL = `/api/v1/saml/{domain}/login` (e.g. `https://api.mist.com/api/v1/saml/s4t5vwv8/login`)
// * Single Logout URL = `/api/v1/saml/{domain}/logout` (e.g. `https://api.mist.com/api/v1/saml/s4t5vwv8/logout`)
Domain *string `json:"domain,omitempty"`
// Required if `ldap_type`==`custom`, LDAP filter that will identify the type of group
GroupFilter *string `json:"group_filter,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// If `idp_type`==`saml`. IDP Cert (used to verify the signed response)
IdpCert *string `json:"idp_cert,omitempty"`
// Required if `idp_type`==`saml`, Signing algorithm for SAML Assertion. enum: `sha1`, `sha256`, `sha384`, `sha512`
IdpSignAlgo *SsoIdpSignAlgoEnum `json:"idp_sign_algo,omitempty"`
// Required if `idp_type`==`saml`, IDP Single-Sign-On URL
IdpSsoUrl *string `json:"idp_sso_url,omitempty"`
// SSO IDP Type:
// * For Admin SSO, enum: `saml`
// * For NAC SSO, enum: `ldap`, `mxedge_proxy`, `oauth`, `openroaming`
IdpType *SsoIdpTypeEnum `json:"idp_type,omitempty"`
// If `idp_type`==`saml`, ignore any unmatched roles provided in assertion. By default, an assertion is treated as invalid for any unmatched role
IgnoreUnmatchedRoles *bool `json:"ignore_unmatched_roles,omitempty"`
// If `idp_type`==`saml`. IDP issuer URL
Issuer *string `json:"issuer,omitempty"`
// Required if `idp_type`==`ldap`, whole domain or a specific organization unit (container) in Search base to specify where users and groups are found in the LDAP tree
LdapBaseDn *string `json:"ldap_base_dn,omitempty"`
// Required if `idp_type`==`ldap`, the account used to authenticate against the LDAP
LdapBindDn *string `json:"ldap_bind_dn,omitempty"`
// Required if `idp_type`==`ldap`, the password used to authenticate against the LDAP
LdapBindPassword *string `json:"ldap_bind_password,omitempty"`
// Required if `idp_type`==`ldap`, list of CA certificates to validate the LDAP certificate
LdapCacerts []string `json:"ldap_cacerts,omitempty"`
// If `idp_type`==`ldap`, LDAPS Client certificate
LdapClientCert *string `json:"ldap_client_cert,omitempty"`
// If `idp_type`==`ldap`, Key for the `ldap_client_cert`
LdapClientKey *string `json:"ldap_client_key,omitempty"`
// If `ldap_type`==`custom`
LdapGroupAttr *string `json:"ldap_group_attr,omitempty"`
// If `ldap_type`==`custom`
LdapGroupDn *string `json:"ldap_group_dn,omitempty"`
// If `idp_type`==`ldap`, whether to recursively resolve LDAP groups
LdapResolveGroups *bool `json:"ldap_resolve_groups,omitempty"`
// If `idp_type`==`ldap`, list of LDAP/LDAPS server IP Addresses or Hostnames
LdapServerHosts []string `json:"ldap_server_hosts,omitempty"`
// if `idp_type`==`ldap`. enum: `azure`, `custom`, `google`, `okta`, `ping_identity`
LdapType *SsoLdapTypeEnum `json:"ldap_type,omitempty"`
// Required if `ldap_type`==`custom`, LDAP filter that will identify the type of user
LdapUserFilter *string `json:"ldap_user_filter,omitempty"`
// Required if `ldap_type`==`custom`,LDAP filter that will identify the type of member
MemberFilter *string `json:"member_filter,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
MspId *uuid.UUID `json:"msp_id,omitempty"`
// If `idp_type`==`mxedge_proxy`, this requires `mist_nac` to be enabled on the mxcluster
MxedgeProxy *SsoMxedgeProxy `json:"mxedge_proxy,omitempty"`
// Name
Name string `json:"name"`
// if `idp_type`==`saml`. enum: `email`, `unspecified`
NameidFormat *SsoNameidFormatEnum `json:"nameid_format,omitempty"`
// Required if `idp_type`==`oauth`, Client Credentials
OauthCcClientId *string `json:"oauth_cc_client_id,omitempty"`
// Required if `idp_type`==`oauth`, oauth_cc_client_secret is RSA private key, of the form "-----BEGIN RSA PRIVATE KEY--...."
OauthCcClientSecret *string `json:"oauth_cc_client_secret,omitempty"`
// If `idp_type`==`oauth`
OauthDiscoveryUrl *string `json:"oauth_discovery_url,omitempty"`
// enum: `us` (United States, default), `ca` (Canada), `eu` (Europe), `asia` (Asia), `au` (Australia)
OauthPingIdentityRegion *OauthPingIdentityRegionEnum `json:"oauth_ping_identity_region,omitempty"`
// If `idp_type`==`oauth`, ropc = Resource Owner Password Credentials
OauthRopcClientId *string `json:"oauth_ropc_client_id,omitempty"`
// If `oauth_type`==`azure` or `oauth_type`==`azure-gov`. oauth_ropc_client_secret can be empty
OauthRopcClientSecret *string `json:"oauth_ropc_client_secret,omitempty"`
// Required if `idp_type`==`oauth`, oauth_tenant_id
OauthTenantId *string `json:"oauth_tenant_id,omitempty"`
// if `idp_type`==`oauth`. enum: `azure`, `azure-gov`, `okta`, `ping_identity`
OauthType *SsoOauthTypeEnum `json:"oauth_type,omitempty"`
// if `idp_type`==`openroaming`
Openroaming *SsoOpenroaming `json:"openroaming,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// If `idp_type`==`saml`, custom role attribute parsing scheme. Supported Role Parsing Schemes <table><tr><th>Name</th><th>Scheme</th></tr><tr><td>`cn`</td><td><ul><li>The expected role attribute format in SAML Assertion is "CN=cn,OU=ou1,OU=ou2,…"</li><li>CN (the key) is case-insensitive and exactly 1 CN is expected (or the entire entry will be ignored)</li></ul>E.g. if role attribute is "CN=cn,OU=ou1,OU=ou2" then parsed role value is "cn"</td></tr></table>
RoleAttrExtraction *string `json:"role_attr_extraction,omitempty"`
// If `idp_type`==`saml`, name of the attribute in SAML Assertion to extract role from
RoleAttrFrom *string `json:"role_attr_from,omitempty"`
// If `idp_type`==`oauth`, indicates if SCIM provisioning is enabled for the OAuth IDP
ScimEnabled *bool `json:"scim_enabled,omitempty"`
// If `idp_type`==`oauth`, scim_secret_token (auto-generated when not provided by caller and `scim_enabled`==`true`, empty string when `scim_enabled`==`false`) is used as the Bearer token in the Authorization header of SCIM provisioning requests by the IDP
ScimSecretToken *string `json:"scim_secret_token,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Sso represents a Sso struct. SSO
func (Sso) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Sso. It customizes the JSON marshaling process for Sso objects.
func (Sso) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Sso, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Sso) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Sso. It customizes the JSON unmarshaling process for Sso objects.
type SsoIdpSignAlgoEnum ¶ added in v0.3.33
type SsoIdpSignAlgoEnum string
SsoIdpSignAlgoEnum is a string enum. Required if `idp_type`==`saml`, Signing algorithm for SAML Assertion. enum: `sha1`, `sha256`, `sha384`, `sha512`
const ( SsoIdpSignAlgoEnum_SHA1 SsoIdpSignAlgoEnum = "sha1" SsoIdpSignAlgoEnum_SHA256 SsoIdpSignAlgoEnum = "sha256" SsoIdpSignAlgoEnum_SHA384 SsoIdpSignAlgoEnum = "sha384" SsoIdpSignAlgoEnum_SHA512 SsoIdpSignAlgoEnum = "sha512" )
type SsoIdpTypeEnum ¶
type SsoIdpTypeEnum string
SsoIdpTypeEnum is a string enum. SSO IDP Type: * For Admin SSO, enum: `saml` * For NAC SSO, enum: `ldap`, `mxedge_proxy`, `oauth`, `openroaming`
const ( SsoIdpTypeEnum_LDAP SsoIdpTypeEnum = "ldap" SsoIdpTypeEnum_MXEDGEPROXY SsoIdpTypeEnum = "mxedge_proxy" SsoIdpTypeEnum_OAUTH SsoIdpTypeEnum = "oauth" SsoIdpTypeEnum_SAML SsoIdpTypeEnum = "saml" SsoIdpTypeEnum_OPENROAMING SsoIdpTypeEnum = "openroaming" )
type SsoLdapTypeEnum ¶
type SsoLdapTypeEnum string
SsoLdapTypeEnum is a string enum. if `idp_type`==`ldap`. enum: `azure`, `custom`, `google`, `okta`, `ping_identity`
const ( SsoLdapTypeEnum_AZURE SsoLdapTypeEnum = "azure" SsoLdapTypeEnum_CUSTOM SsoLdapTypeEnum = "custom" SsoLdapTypeEnum_GOOGLE SsoLdapTypeEnum = "google" SsoLdapTypeEnum_OKTA SsoLdapTypeEnum = "okta" )
type SsoMxedgeProxy ¶
type SsoMxedgeProxy struct {
AcctServers []SsoMxedgeProxyAcctServer `json:"acct_servers,omitempty"`
AuthServers []SsoMxedgeProxyAuthServer `json:"auth_servers,omitempty"`
MxclusterId *uuid.UUID `json:"mxcluster_id,omitempty"`
// Operator name as Radius attribute while proxying
OperatorName *string `json:"operator_name,omitempty"`
// Public hostname/IPs
ProxyHosts []string `json:"proxy_hosts,omitempty"`
// SSIDs that support eduroam
Ssids []string `json:"ssids,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SsoMxedgeProxy represents a SsoMxedgeProxy struct. If `idp_type`==`mxedge_proxy`, this requires `mist_nac` to be enabled on the mxcluster
func (SsoMxedgeProxy) MarshalJSON ¶
func (s SsoMxedgeProxy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SsoMxedgeProxy. It customizes the JSON marshaling process for SsoMxedgeProxy objects.
func (SsoMxedgeProxy) String ¶ added in v0.4.23
func (s SsoMxedgeProxy) String() string
String implements the fmt.Stringer interface for SsoMxedgeProxy, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SsoMxedgeProxy) UnmarshalJSON ¶
func (s *SsoMxedgeProxy) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SsoMxedgeProxy. It customizes the JSON unmarshaling process for SsoMxedgeProxy objects.
type SsoMxedgeProxyAcctServer ¶
type SsoMxedgeProxyAcctServer struct {
Host *string `json:"host,omitempty"`
Port *int `json:"port,omitempty"`
Secret *string `json:"secret,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SsoMxedgeProxyAcctServer represents a SsoMxedgeProxyAcctServer struct.
func (SsoMxedgeProxyAcctServer) MarshalJSON ¶
func (s SsoMxedgeProxyAcctServer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SsoMxedgeProxyAcctServer. It customizes the JSON marshaling process for SsoMxedgeProxyAcctServer objects.
func (SsoMxedgeProxyAcctServer) String ¶ added in v0.4.23
func (s SsoMxedgeProxyAcctServer) String() string
String implements the fmt.Stringer interface for SsoMxedgeProxyAcctServer, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SsoMxedgeProxyAcctServer) UnmarshalJSON ¶
func (s *SsoMxedgeProxyAcctServer) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SsoMxedgeProxyAcctServer. It customizes the JSON unmarshaling process for SsoMxedgeProxyAcctServer objects.
type SsoMxedgeProxyAuthServer ¶
type SsoMxedgeProxyAuthServer struct {
Host *string `json:"host,omitempty"`
Port *int `json:"port,omitempty"`
// Whether to require Message-Authenticator in requests
RequireMessageAuthenticator *bool `json:"require_message_authenticator,omitempty"`
// Authentication request retry
Retry *int `json:"retry,omitempty"`
Secret *string `json:"secret,omitempty"`
// Authentication request timeout, in seconds
Timeout *int `json:"timeout,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SsoMxedgeProxyAuthServer represents a SsoMxedgeProxyAuthServer struct.
func (SsoMxedgeProxyAuthServer) MarshalJSON ¶
func (s SsoMxedgeProxyAuthServer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SsoMxedgeProxyAuthServer. It customizes the JSON marshaling process for SsoMxedgeProxyAuthServer objects.
func (SsoMxedgeProxyAuthServer) String ¶ added in v0.4.23
func (s SsoMxedgeProxyAuthServer) String() string
String implements the fmt.Stringer interface for SsoMxedgeProxyAuthServer, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SsoMxedgeProxyAuthServer) UnmarshalJSON ¶
func (s *SsoMxedgeProxyAuthServer) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SsoMxedgeProxyAuthServer. It customizes the JSON unmarshaling process for SsoMxedgeProxyAuthServer objects.
type SsoNameidFormatEnum ¶
type SsoNameidFormatEnum string
SsoNameidFormatEnum is a string enum. if `idp_type`==`saml`. enum: `email`, `unspecified`
const ( SsoNameidFormatEnum_EMAIL SsoNameidFormatEnum = "email" SsoNameidFormatEnum_UNSPECIFIED SsoNameidFormatEnum = "unspecified" )
type SsoOauthTypeEnum ¶
type SsoOauthTypeEnum string
SsoOauthTypeEnum is a string enum. if `idp_type`==`oauth`. enum: `azure`, `azure-gov`, `okta`, `ping_identity`
const ( SsoOauthTypeEnum_AZURE SsoOauthTypeEnum = "azure" SsoOauthTypeEnum_AZUREGOV SsoOauthTypeEnum = "azure-gov" SsoOauthTypeEnum_STANDARDS SsoOauthTypeEnum = "standards" SsoOauthTypeEnum_OKTA SsoOauthTypeEnum = "okta" SsoOauthTypeEnum_PINGIDENTITY SsoOauthTypeEnum = "ping_identity" )
type SsoOpenroaming ¶ added in v0.4.74
type SsoOpenroaming struct {
// SSIDs that support OpenRoaming
Ssids []string `json:"ssids"`
// Optional WBA-issued certificate. If not provided, the default WBA-issued certificate for Juniper will be used.
WbaCert *string `json:"wba_cert,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SsoOpenroaming represents a SsoOpenroaming struct. if `idp_type`==`openroaming`
func (SsoOpenroaming) MarshalJSON ¶ added in v0.4.74
func (s SsoOpenroaming) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SsoOpenroaming. It customizes the JSON marshaling process for SsoOpenroaming objects.
func (SsoOpenroaming) String ¶ added in v0.4.74
func (s SsoOpenroaming) String() string
String implements the fmt.Stringer interface for SsoOpenroaming, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SsoOpenroaming) UnmarshalJSON ¶ added in v0.4.74
func (s *SsoOpenroaming) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SsoOpenroaming. It customizes the JSON unmarshaling process for SsoOpenroaming objects.
type SsoRoleMsp ¶
type SsoRoleMsp struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
MspId *uuid.UUID `json:"msp_id,omitempty"`
Name string `json:"name"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
Privileges []PrivilegeMsp `json:"privileges"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SsoRoleMsp represents a SsoRoleMsp struct. SSO Role response
func (SsoRoleMsp) MarshalJSON ¶
func (s SsoRoleMsp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SsoRoleMsp. It customizes the JSON marshaling process for SsoRoleMsp objects.
func (SsoRoleMsp) String ¶ added in v0.4.23
func (s SsoRoleMsp) String() string
String implements the fmt.Stringer interface for SsoRoleMsp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SsoRoleMsp) UnmarshalJSON ¶
func (s *SsoRoleMsp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SsoRoleMsp. It customizes the JSON unmarshaling process for SsoRoleMsp objects.
type SsoRoleOrg ¶
type SsoRoleOrg struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
MspId *uuid.UUID `json:"msp_id,omitempty"`
Name string `json:"name"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
Privileges []PrivilegeOrg `json:"privileges"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SsoRoleOrg represents a SsoRoleOrg struct. SSO Role response
func (SsoRoleOrg) MarshalJSON ¶
func (s SsoRoleOrg) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SsoRoleOrg. It customizes the JSON marshaling process for SsoRoleOrg objects.
func (SsoRoleOrg) String ¶ added in v0.4.23
func (s SsoRoleOrg) String() string
String implements the fmt.Stringer interface for SsoRoleOrg, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SsoRoleOrg) UnmarshalJSON ¶
func (s *SsoRoleOrg) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SsoRoleOrg. It customizes the JSON unmarshaling process for SsoRoleOrg objects.
type SsrProxy ¶ added in v0.4.92
type SsrProxy struct {
Disabled *bool `json:"disabled,omitempty"`
Url *string `json:"url,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SsrProxy represents a SsrProxy struct. SSR proxy configuration to talk to Mist
func (SsrProxy) MarshalJSON ¶ added in v0.4.92
MarshalJSON implements the json.Marshaler interface for SsrProxy. It customizes the JSON marshaling process for SsrProxy objects.
func (SsrProxy) String ¶ added in v0.4.92
String implements the fmt.Stringer interface for SsrProxy, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SsrProxy) UnmarshalJSON ¶ added in v0.4.92
UnmarshalJSON implements the json.Unmarshaler interface for SsrProxy. It customizes the JSON unmarshaling process for SsrProxy objects.
type SsrUpgrade ¶
type SsrUpgrade struct {
// upgrade channel to follow. enum: `alpha`, `beta`, `stable`
Channel *SsrUpgradeChannelEnum `json:"channel,omitempty"`
// Reboot start time in epoch seconds, default is start_time, -1 disables reboot
RebootAt *int `json:"reboot_at,omitempty"`
// 128T firmware download start time in epoch seconds, default is now, -1 disables download
StartTime *int `json:"start_time,omitempty"`
// 128T firmware version to upgrade (e.g. 5.3.0-93)
Version string `json:"version"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SsrUpgrade represents a SsrUpgrade struct.
func (SsrUpgrade) MarshalJSON ¶
func (s SsrUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SsrUpgrade. It customizes the JSON marshaling process for SsrUpgrade objects.
func (SsrUpgrade) String ¶ added in v0.4.23
func (s SsrUpgrade) String() string
String implements the fmt.Stringer interface for SsrUpgrade, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SsrUpgrade) UnmarshalJSON ¶
func (s *SsrUpgrade) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SsrUpgrade. It customizes the JSON unmarshaling process for SsrUpgrade objects.
type SsrUpgradeChannelEnum ¶
type SsrUpgradeChannelEnum string
SsrUpgradeChannelEnum is a string enum. upgrade channel to follow. enum: `alpha`, `beta`, `stable`
const ( SsrUpgradeChannelEnum_ALPHA SsrUpgradeChannelEnum = "alpha" SsrUpgradeChannelEnum_BETA SsrUpgradeChannelEnum = "beta" SsrUpgradeChannelEnum_STABLE SsrUpgradeChannelEnum = "stable" )
type SsrUpgradeMulti ¶
type SsrUpgradeMulti struct {
// upgrade channel to follow. enum: `alpha`, `beta`, `stable`
Channel *SsrUpgradeChannelEnum `json:"channel,omitempty"`
// List of 128T device IDs to upgrade
DeviceIds []uuid.UUID `json:"device_ids"`
// Reboot start time in epoch seconds, default is start_time, -1 disables reboot
RebootAt *int `json:"reboot_at,omitempty"`
// 128T firmware download start time in epoch seconds, default is now, -1 disables download
StartTime *int `json:"start_time,omitempty"`
// enum:
// * `big_bang`: upgrade all at once
// * `serial`: one at a time
Strategy *SsrUpgradeStrategyEnum `json:"strategy,omitempty"`
// 128T firmware version to upgrade (e.g. 5.3.0-93)
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SsrUpgradeMulti represents a SsrUpgradeMulti struct.
func (SsrUpgradeMulti) MarshalJSON ¶
func (s SsrUpgradeMulti) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SsrUpgradeMulti. It customizes the JSON marshaling process for SsrUpgradeMulti objects.
func (SsrUpgradeMulti) String ¶ added in v0.4.23
func (s SsrUpgradeMulti) String() string
String implements the fmt.Stringer interface for SsrUpgradeMulti, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SsrUpgradeMulti) UnmarshalJSON ¶
func (s *SsrUpgradeMulti) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SsrUpgradeMulti. It customizes the JSON unmarshaling process for SsrUpgradeMulti objects.
type SsrUpgradeStrategyEnum ¶
type SsrUpgradeStrategyEnum string
SsrUpgradeStrategyEnum is a string enum. enum: * `big_bang`: upgrade all at once * `serial`: one at a time
const ( SsrUpgradeStrategyEnum_BIGBANG SsrUpgradeStrategyEnum = "big_bang" SsrUpgradeStrategyEnum_SERIAL SsrUpgradeStrategyEnum = "serial" )
type SsrVersion ¶
type SsrVersion struct {
Default *bool `json:"default,omitempty"`
Package string `json:"package"`
Tags []string `json:"tags,omitempty"`
Version string `json:"version"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SsrVersion represents a SsrVersion struct.
func (SsrVersion) MarshalJSON ¶
func (s SsrVersion) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SsrVersion. It customizes the JSON marshaling process for SsrVersion objects.
func (SsrVersion) String ¶ added in v0.4.23
func (s SsrVersion) String() string
String implements the fmt.Stringer interface for SsrVersion, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SsrVersion) UnmarshalJSON ¶
func (s *SsrVersion) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SsrVersion. It customizes the JSON unmarshaling process for SsrVersion objects.
type SsrVersionChannelEnum ¶ added in v0.4.74
type SsrVersionChannelEnum string
SsrVersionChannelEnum is a string enum. enum: `stable`, `beta`, `alpha`
const ( SsrVersionChannelEnum_ALPHA SsrVersionChannelEnum = "alpha" SsrVersionChannelEnum_BETA SsrVersionChannelEnum = "beta" SsrVersionChannelEnum_STABLE SsrVersionChannelEnum = "stable" )
type StatDeviceStatusFilterEnum ¶
type StatDeviceStatusFilterEnum string
StatDeviceStatusFilterEnum is a string enum. enum: `all`, `connected`, `disconnected`
const ( StatDeviceStatusFilterEnum_ALL StatDeviceStatusFilterEnum = "all" StatDeviceStatusFilterEnum_CONNECTED StatDeviceStatusFilterEnum = "connected" StatDeviceStatusFilterEnum_DISCONNECTED StatDeviceStatusFilterEnum = "disconnected" )
type StatsAp ¶ added in v0.3.0
type StatsAp struct {
// Antenna Mode for AP which supports selectable antennas. enum: `""` (default), `external`, `internal`
AntennaSelect *AntennaSelectEnum `json:"antenna_select,omitempty"`
AutoPlacement *StatsApAutoPlacement `json:"auto_placement,omitempty"`
AutoUpgradeStat *StatsApAutoUpgrade `json:"auto_upgrade_stat,omitempty"`
BleStat *StatsApBle `json:"ble_stat,omitempty"`
CertExpiry Optional[float64] `json:"cert_expiry"`
ConfigReverted Optional[bool] `json:"config_reverted"`
CpuSystem Optional[int64] `json:"cpu_system"`
CpuUser Optional[int] `json:"cpu_user"`
CpuUtil Optional[int] `json:"cpu_util"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
DeviceprofileId Optional[uuid.UUID] `json:"deviceprofile_id"`
// Device environment, including CPU temperature, Ambient temperature, Humidity, Attitude, Pressure, Accelerometers, Magnetometers and vCore Voltage
EnvStat *StatsApEnvStat `json:"env_stat,omitempty"`
EslStat Optional[StatsApEslStat] `json:"esl_stat"`
EvpntopoId Optional[uuid.UUID] `json:"evpntopo_id"`
// Map of certificate serial numbers to their expiry timestamps (in epoch) for certificates expiring within 30 days. Property key is the certificate serial number
ExpiringCerts map[string]int `json:"expiring_certs,omitempty"`
ExtIp Optional[string] `json:"ext_ip"`
Fwupdate *FwupdateStat `json:"fwupdate,omitempty"`
GpsStat *StatsApGpsStat `json:"gps_stat,omitempty"`
HwRev Optional[string] `json:"hw_rev"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
InactiveWiredVlans []int `json:"inactive_wired_vlans,omitempty"`
IotStat map[string]StatsApIotStatAdditionalProperties `json:"iot_stat,omitempty"`
Ip Optional[string] `json:"ip"`
// IP AP settings
IpConfig *ApIpConfig `json:"ip_config,omitempty"`
IpStat *IpStat `json:"ip_stat,omitempty"`
// L2TP tunnel status (key is the wxtunnel_id)
L2tpStat map[string]StatsApL2tpStat `json:"l2tp_stat,omitempty"`
// Last seen timestamp
LastSeen Optional[float64] `json:"last_seen"`
// Last trouble code of switch
LastTrouble *LastTrouble `json:"last_trouble,omitempty"`
// LED AP settings
Led *ApLed `json:"led,omitempty"`
// LLDP neighbor information and power negotiations. For backward compatibility, when multiple neighbors exist, only information from the first neighbor is displayed.
LldpStat *StatsApLldpStat `json:"lldp_stat,omitempty"`
// Property key is the port name (e.g. "eth0", "eth1", ...). Map of ethernet ports to their respective LLDP neighbor information and power negotiations. Only present when multiple neighbors exist.
LldpStats map[string]StatsApLldpStat `json:"lldp_stats,omitempty"`
Locating Optional[bool] `json:"locating"`
// Whether this AP is considered locked (placement / orientation has been vetted)
Locked Optional[bool] `json:"locked"`
// Device mac
Mac Optional[string] `json:"mac"`
MapId Optional[uuid.UUID] `json:"map_id"`
MemTotalKb Optional[int64] `json:"mem_total_kb"`
MemUsedKb Optional[int64] `json:"mem_used_kb"`
// Property key is the mesh downlink id (e.g. `00000000-0000-0000-1000-5c5b35000010`)
MeshDownlinks map[string]ApStatMeshDownlink `json:"mesh_downlinks,omitempty"`
MeshUplink *ApStatMeshUplink `json:"mesh_uplink,omitempty"`
// Device model
Model Optional[string] `json:"model"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Mount Optional[string] `json:"mount"`
Name Optional[string] `json:"name"`
Notes Optional[string] `json:"notes"`
// How many wireless clients are currently connected
NumClients Optional[int] `json:"num_clients"`
// How many WLANs are applied to the device
NumWlans *int `json:"num_wlans,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Property key is the port name (e.g. `eth0`)
PortStat Optional[map[string]StatsApPortStat] `json:"port_stat"`
// In mW, surplus if positive or deficit if negative
PowerBudget Optional[int] `json:"power_budget"`
// Whether insufficient power
PowerConstrained Optional[bool] `json:"power_constrained"`
// Constrained mode
PowerOpmode Optional[string] `json:"power_opmode"`
// DC Input / PoE 802.3at / PoE 802.3af / LLDP / ? (unknown)
PowerSrc Optional[string] `json:"power_src"`
RadioConfig *StatsApRadioConfig `json:"radio_config,omitempty"`
RadioStat *StatsApRadioStat `json:"radio_stat,omitempty"`
// Rate of receiving traffic, bits/seconds, last known
RxBps Optional[int64] `json:"rx_bps"`
// Amount of traffic received since connection
RxBytes Optional[int64] `json:"rx_bytes"`
// Amount of packets received since connection
RxPkts Optional[int64] `json:"rx_pkts"`
// Serial Number
Serial Optional[string] `json:"serial"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Status Optional[string] `json:"status"`
SwitchRedundancy *StatsApSwitchRedundancy `json:"switch_redundancy,omitempty"`
// Rate of transmitting traffic, bits/seconds, last known
TxBps Optional[int64] `json:"tx_bps"`
// Amount of traffic sent since connection
TxBytes Optional[int64] `json:"tx_bytes"`
// Amount of packets sent since connection
TxPkts Optional[int64] `json:"tx_pkts"`
// Device Type. enum: `ap`
Type string `json:"type"`
// How long, in seconds, has the device been up (or rebooted)
Uptime Optional[float64] `json:"uptime"`
UsbStat *StatsApUsbStat `json:"usb_stat,omitempty"`
Version Optional[string] `json:"version"`
X Optional[float64] `json:"x"`
Y Optional[float64] `json:"y"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsAp represents a StatsAp struct. AP statistics
func (StatsAp) MarshalJSON ¶ added in v0.3.0
MarshalJSON implements the json.Marshaler interface for StatsAp. It customizes the JSON marshaling process for StatsAp objects.
func (StatsAp) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for StatsAp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsAp) UnmarshalJSON ¶ added in v0.3.0
UnmarshalJSON implements the json.Unmarshaler interface for StatsAp. It customizes the JSON unmarshaling process for StatsAp objects.
type StatsApAutoPlacement ¶ added in v0.3.0
type StatsApAutoPlacement struct {
// Additional information about auto placements AP data
Info *StatsApAutoPlacementInfo `json:"info,omitempty"`
// Flag to represent if AP is recommended as an anchor by auto placement service
RecommendedAnchor *bool `json:"recommended_anchor,omitempty"`
// Basic Placement Status
Status *string `json:"status,omitempty"`
// Additional info about placement status
StatusDetail *string `json:"status_detail,omitempty"`
// X Autoplaced Position in pixels
X *float64 `json:"x,omitempty"`
// X Autoplaced Position in meters
XM *float64 `json:"x_m,omitempty"`
// Y Autoplaced Position in pixels
Y *float64 `json:"y,omitempty"`
// X Autoplaced Position in meters
YM *float64 `json:"y_m,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsApAutoPlacement represents a StatsApAutoPlacement struct.
func (StatsApAutoPlacement) MarshalJSON ¶ added in v0.3.0
func (s StatsApAutoPlacement) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApAutoPlacement. It customizes the JSON marshaling process for StatsApAutoPlacement objects.
func (StatsApAutoPlacement) String ¶ added in v0.4.23
func (s StatsApAutoPlacement) String() string
String implements the fmt.Stringer interface for StatsApAutoPlacement, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsApAutoPlacement) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApAutoPlacement) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApAutoPlacement. It customizes the JSON unmarshaling process for StatsApAutoPlacement objects.
type StatsApAutoPlacementInfo ¶ added in v0.3.0
type StatsApAutoPlacementInfo struct {
// All APs sharing a given cluster number can be placed relative to each other
ClusterNumber *int `json:"cluster_number,omitempty"`
// The orientation of an AP
OrientationStats *int `json:"orientation_stats,omitempty"`
// Coordinates representing a circle where the AP is most likely exists in the event of an inaccurate placement result
ProbabilitySurface *StatsApAutoPlacementInfoProbabilitySurface `json:"probability_surface,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsApAutoPlacementInfo represents a StatsApAutoPlacementInfo struct. Additional information about auto placements AP data
func (StatsApAutoPlacementInfo) MarshalJSON ¶ added in v0.3.0
func (s StatsApAutoPlacementInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApAutoPlacementInfo. It customizes the JSON marshaling process for StatsApAutoPlacementInfo objects.
func (StatsApAutoPlacementInfo) String ¶ added in v0.4.23
func (s StatsApAutoPlacementInfo) String() string
String implements the fmt.Stringer interface for StatsApAutoPlacementInfo, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsApAutoPlacementInfo) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApAutoPlacementInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApAutoPlacementInfo. It customizes the JSON unmarshaling process for StatsApAutoPlacementInfo objects.
type StatsApAutoPlacementInfoProbabilitySurface ¶ added in v0.3.0
type StatsApAutoPlacementInfoProbabilitySurface struct {
// The radius representing placement uncertainty, measured in pixels
Radius *float64 `json:"radius,omitempty"`
// The radius representing placement uncertainty, measured in meters
RadiusM *float64 `json:"radius_m,omitempty"`
// Y-coordinate of the potential placement’s center, measured in pixels
X *float64 `json:"x,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsApAutoPlacementInfoProbabilitySurface represents a StatsApAutoPlacementInfoProbabilitySurface struct. Coordinates representing a circle where the AP is most likely exists in the event of an inaccurate placement result
func (StatsApAutoPlacementInfoProbabilitySurface) MarshalJSON ¶ added in v0.3.0
func (s StatsApAutoPlacementInfoProbabilitySurface) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApAutoPlacementInfoProbabilitySurface. It customizes the JSON marshaling process for StatsApAutoPlacementInfoProbabilitySurface objects.
func (StatsApAutoPlacementInfoProbabilitySurface) String ¶ added in v0.4.23
func (s StatsApAutoPlacementInfoProbabilitySurface) String() string
String implements the fmt.Stringer interface for StatsApAutoPlacementInfoProbabilitySurface, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsApAutoPlacementInfoProbabilitySurface) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApAutoPlacementInfoProbabilitySurface) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApAutoPlacementInfoProbabilitySurface. It customizes the JSON unmarshaling process for StatsApAutoPlacementInfoProbabilitySurface objects.
type StatsApAutoUpgrade ¶ added in v0.3.0
type StatsApAutoUpgrade struct {
Lastcheck Optional[int64] `json:"lastcheck"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsApAutoUpgrade represents a StatsApAutoUpgrade struct.
func (StatsApAutoUpgrade) MarshalJSON ¶ added in v0.3.0
func (s StatsApAutoUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApAutoUpgrade. It customizes the JSON marshaling process for StatsApAutoUpgrade objects.
func (StatsApAutoUpgrade) String ¶ added in v0.4.23
func (s StatsApAutoUpgrade) String() string
String implements the fmt.Stringer interface for StatsApAutoUpgrade, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsApAutoUpgrade) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApAutoUpgrade) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApAutoUpgrade. It customizes the JSON unmarshaling process for StatsApAutoUpgrade objects.
type StatsApBle ¶ added in v0.3.0
type StatsApBle struct {
BeaconEnabled Optional[bool] `json:"beacon_enabled"`
BeaconRate Optional[int] `json:"beacon_rate"`
EddystoneUidEnabled Optional[bool] `json:"eddystone_uid_enabled"`
EddystoneUidFreqMsec Optional[int] `json:"eddystone_uid_freq_msec"`
EddystoneUidInstance Optional[string] `json:"eddystone_uid_instance"`
EddystoneUidNamespace Optional[string] `json:"eddystone_uid_namespace"`
EddystoneUrlEnabled Optional[bool] `json:"eddystone_url_enabled"`
// Frequency (msec) of data emit by Eddystone-UID beacon
EddystoneUrlFreqMsec Optional[int] `json:"eddystone_url_freq_msec"`
EddystoneUrlUrl Optional[string] `json:"eddystone_url_url"`
IbeaconEnabled Optional[bool] `json:"ibeacon_enabled"`
IbeaconFreqMsec Optional[int] `json:"ibeacon_freq_msec"`
// Major number for iBeacon
IbeaconMajor Optional[int] `json:"ibeacon_major"`
// Minor number for iBeacon
IbeaconMinor Optional[int] `json:"ibeacon_minor"`
IbeaconUuid Optional[uuid.UUID] `json:"ibeacon_uuid"`
Major Optional[int] `json:"major"`
Minors []int `json:"minors,omitempty"`
Power Optional[int] `json:"power"`
// Amount of traffic received since connection
RxBytes Optional[int64] `json:"rx_bytes"`
// Amount of packets received since connection
RxPkts Optional[int64] `json:"rx_pkts"`
// Amount of traffic sent since connection
TxBytes Optional[int64] `json:"tx_bytes"`
// Amount of packets sent since connection
TxPkts Optional[int64] `json:"tx_pkts"`
// Resets due to tx hung
TxResets Optional[int] `json:"tx_resets"`
Uuid Optional[uuid.UUID] `json:"uuid"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsApBle represents a StatsApBle struct.
func (StatsApBle) MarshalJSON ¶ added in v0.3.0
func (s StatsApBle) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApBle. It customizes the JSON marshaling process for StatsApBle objects.
func (StatsApBle) String ¶ added in v0.4.23
func (s StatsApBle) String() string
String implements the fmt.Stringer interface for StatsApBle, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsApBle) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApBle) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApBle. It customizes the JSON unmarshaling process for StatsApBle objects.
type StatsApEnvStat ¶ added in v0.3.0
type StatsApEnvStat struct {
AccelX Optional[float64] `json:"accel_x"`
AccelY Optional[float64] `json:"accel_y"`
AccelZ Optional[float64] `json:"accel_z"`
AmbientTemp Optional[int] `json:"ambient_temp"`
Attitude Optional[int] `json:"attitude"`
CpuTemp Optional[int] `json:"cpu_temp"`
Humidity Optional[int] `json:"humidity"`
MagneX Optional[float64] `json:"magne_x"`
MagneY Optional[float64] `json:"magne_y"`
MagneZ Optional[float64] `json:"magne_z"`
Pressure Optional[float64] `json:"pressure"`
VcoreVoltage Optional[int] `json:"vcore_voltage"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsApEnvStat represents a StatsApEnvStat struct. Device environment, including CPU temperature, Ambient temperature, Humidity, Attitude, Pressure, Accelerometers, Magnetometers and vCore Voltage
func (StatsApEnvStat) MarshalJSON ¶ added in v0.3.0
func (s StatsApEnvStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApEnvStat. It customizes the JSON marshaling process for StatsApEnvStat objects.
func (StatsApEnvStat) String ¶ added in v0.4.23
func (s StatsApEnvStat) String() string
String implements the fmt.Stringer interface for StatsApEnvStat, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsApEnvStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApEnvStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApEnvStat. It customizes the JSON unmarshaling process for StatsApEnvStat objects.
type StatsApEslStat ¶ added in v0.3.0
type StatsApEslStat struct {
Channel Optional[int] `json:"channel"`
Connected Optional[bool] `json:"connected"`
Type Optional[string] `json:"type"`
Up Optional[bool] `json:"up"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsApEslStat represents a StatsApEslStat struct.
func (StatsApEslStat) MarshalJSON ¶ added in v0.3.0
func (s StatsApEslStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApEslStat. It customizes the JSON marshaling process for StatsApEslStat objects.
func (StatsApEslStat) String ¶ added in v0.4.23
func (s StatsApEslStat) String() string
String implements the fmt.Stringer interface for StatsApEslStat, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsApEslStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApEslStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApEslStat. It customizes the JSON unmarshaling process for StatsApEslStat objects.
type StatsApGpsStat ¶ added in v0.4.0
type StatsApGpsStat struct {
// The estimated accuracy or accuracy of the GPS coordinates, measured in meters.
Accuracy *float64 `json:"accuracy,omitempty"`
// The elevation of the AP above sea level, measured in meters.
Altitude *float64 `json:"altitude,omitempty"`
// The geographic latitude of the AP, measured in degrees.
Latitude *float64 `json:"latitude,omitempty"`
// The geographic longitude of the AP, measured in degrees.
Longitude *float64 `json:"longitude,omitempty"`
// The origin of the GPS data. enum: `gps`: from this device GPS estimates, `other_ap` from neighboring device GPS estimates. Note: API responses may return `other_aps` which should be treated as `other_ap`
Src *StatsApGpsStatSrcEnum `json:"src,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsApGpsStat represents a StatsApGpsStat struct.
func (StatsApGpsStat) MarshalJSON ¶ added in v0.4.0
func (s StatsApGpsStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApGpsStat. It customizes the JSON marshaling process for StatsApGpsStat objects.
func (StatsApGpsStat) String ¶ added in v0.4.23
func (s StatsApGpsStat) String() string
String implements the fmt.Stringer interface for StatsApGpsStat, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsApGpsStat) UnmarshalJSON ¶ added in v0.4.0
func (s *StatsApGpsStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApGpsStat. It customizes the JSON unmarshaling process for StatsApGpsStat objects.
type StatsApGpsStatSrcEnum ¶ added in v0.4.0
type StatsApGpsStatSrcEnum string
StatsApGpsStatSrcEnum is a string enum. The origin of the GPS data. enum: `gps`: from this device GPS estimates, `other_ap` from neighboring device GPS estimates. Note: API responses may return `other_aps` which should be treated as `other_ap`
const ( StatsApGpsStatSrcEnum_GPS StatsApGpsStatSrcEnum = "gps" StatsApGpsStatSrcEnum_OTHERAP StatsApGpsStatSrcEnum = "other_ap" StatsApGpsStatSrcEnum_OTHERAPS StatsApGpsStatSrcEnum = "other_aps" )
type StatsApIotStatAdditionalProperties ¶ added in v0.3.0
type StatsApIotStatAdditionalProperties struct {
Value Optional[int] `json:"value"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsApIotStatAdditionalProperties represents a StatsApIotStatAdditionalProperties struct.
func (StatsApIotStatAdditionalProperties) MarshalJSON ¶ added in v0.3.0
func (s StatsApIotStatAdditionalProperties) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApIotStatAdditionalProperties. It customizes the JSON marshaling process for StatsApIotStatAdditionalProperties objects.
func (StatsApIotStatAdditionalProperties) String ¶ added in v0.4.23
func (s StatsApIotStatAdditionalProperties) String() string
String implements the fmt.Stringer interface for StatsApIotStatAdditionalProperties, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsApIotStatAdditionalProperties) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApIotStatAdditionalProperties) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApIotStatAdditionalProperties. It customizes the JSON unmarshaling process for StatsApIotStatAdditionalProperties objects.
type StatsApL2tpStat ¶ added in v0.3.0
type StatsApL2tpStat struct {
// List of sessions
Sessions []StatsApL2tpStatSession `json:"sessions,omitempty"`
// enum: `established`, `established_with_session`, `idle`, `wait-ctrl-conn`, `wait-ctrl-reply`
State *L2tpStateEnum `json:"state,omitempty"`
// Uptime
Uptime Optional[int] `json:"uptime"`
// WxlanTunnel ID
WxtunnelId Optional[uuid.UUID] `json:"wxtunnel_id"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsApL2tpStat represents a StatsApL2tpStat struct.
func (StatsApL2tpStat) MarshalJSON ¶ added in v0.3.0
func (s StatsApL2tpStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApL2tpStat. It customizes the JSON marshaling process for StatsApL2tpStat objects.
func (StatsApL2tpStat) String ¶ added in v0.4.23
func (s StatsApL2tpStat) String() string
String implements the fmt.Stringer interface for StatsApL2tpStat, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsApL2tpStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApL2tpStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApL2tpStat. It customizes the JSON unmarshaling process for StatsApL2tpStat objects.
type StatsApL2tpStatSession ¶ added in v0.3.0
type StatsApL2tpStatSession struct {
// Remote sessions id (dynamically unless Tunnel is said to be static)
LocalSid Optional[int] `json:"local_sid"`
// WxlanTunnel Remote ID (user-configured)
RemoteId Optional[string] `json:"remote_id"`
// Remote sessions id (dynamically unless Tunnel is said to be static)
RemoteSid Optional[int] `json:"remote_sid"`
// enum: `established`, `established_with_session`, `idle`, `wait-ctrl-conn`, `wait-ctrl-reply`
State *L2tpStateEnum `json:"state,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsApL2tpStatSession represents a StatsApL2tpStatSession struct.
func (StatsApL2tpStatSession) MarshalJSON ¶ added in v0.3.0
func (s StatsApL2tpStatSession) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApL2tpStatSession. It customizes the JSON marshaling process for StatsApL2tpStatSession objects.
func (StatsApL2tpStatSession) String ¶ added in v0.4.23
func (s StatsApL2tpStatSession) String() string
String implements the fmt.Stringer interface for StatsApL2tpStatSession, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsApL2tpStatSession) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApL2tpStatSession) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApL2tpStatSession. It customizes the JSON unmarshaling process for StatsApL2tpStatSession objects.
type StatsApLldpStat ¶ added in v0.3.0
type StatsApLldpStat struct {
ChassisId Optional[string] `json:"chassis_id"`
// Whether it support LLDP-MED
LldpMedSupported Optional[bool] `json:"lldp_med_supported"`
// Management IP address of the switch
MgmtAddr Optional[string] `json:"mgmt_addr"`
// List of management IP addresses (IPv4 and IPv6)
MgmtAddrs []string `json:"mgmt_addrs,omitempty"`
// Port description, e.g. “2/20”, “Port 2 on Switch0”
PortDesc Optional[string] `json:"port_desc"`
// Port identifier
PortId Optional[string] `json:"port_id"`
// In mW, power allocated by PSE
PowerAllocated Optional[float64] `json:"power_allocated"`
// In mW, total Power Avail at AP from pwr source
PowerAvail *int `json:"power_avail,omitempty"`
// In mW, surplus if positive or deficit if negative
PowerBudget *int `json:"power_budget,omitempty"`
// Whether power is insufficient
PowerConstrained *bool `json:"power_constrained,omitempty"`
// In mW, total power needed by PD
PowerDraw Optional[float64] `json:"power_draw"`
// In mW, total Power needed incl Peripherals
PowerNeeded *int `json:"power_needed,omitempty"`
// Constrained mode
PowerOpmode *string `json:"power_opmode,omitempty"`
// Number of negotiations, if it keeps increasing, we don’ t have a stable power
PowerRequestCount Optional[int] `json:"power_request_count"`
// In mW, power requested by PD
PowerRequested Optional[float64] `json:"power_requested"`
// Single power source (DC Input / PoE 802.3at / PoE 802.3af / PoE 802.3bt / MULTI-PD / LLDP / ? (unknown)).
PowerSrc *string `json:"power_src,omitempty"`
// List of management IP addresses (IPv4 and IPv6)
PowerSrcs []string `json:"power_srcs,omitempty"`
// Description provided by switch
SystemDesc Optional[string] `json:"system_desc"`
// Name of the switch
SystemName Optional[string] `json:"system_name"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsApLldpStat represents a StatsApLldpStat struct. LLDP neighbor information and power negotiations. For backward compatibility, when multiple neighbors exist, only information from the first neighbor is displayed.
func (StatsApLldpStat) MarshalJSON ¶ added in v0.3.0
func (s StatsApLldpStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApLldpStat. It customizes the JSON marshaling process for StatsApLldpStat objects.
func (StatsApLldpStat) String ¶ added in v0.4.23
func (s StatsApLldpStat) String() string
String implements the fmt.Stringer interface for StatsApLldpStat, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsApLldpStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApLldpStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApLldpStat. It customizes the JSON unmarshaling process for StatsApLldpStat objects.
type StatsApPortStat ¶ added in v0.3.0
type StatsApPortStat struct {
FullDuplex Optional[bool] `json:"full_duplex"`
// Amount of traffic received since connection
RxBytes Optional[int64] `json:"rx_bytes"`
RxErrors Optional[int] `json:"rx_errors"`
RxPeakBps Optional[int] `json:"rx_peak_bps"`
// Amount of packets received since connection
RxPkts Optional[int64] `json:"rx_pkts"`
Speed Optional[int] `json:"speed"`
// Amount of traffic sent since connection
TxBytes Optional[int64] `json:"tx_bytes"`
TxPeakBps Optional[int] `json:"tx_peak_bps"`
// Amount of packets sent since connection
TxPkts Optional[int64] `json:"tx_pkts"`
Up Optional[bool] `json:"up"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsApPortStat represents a StatsApPortStat struct.
func (StatsApPortStat) MarshalJSON ¶ added in v0.3.0
func (s StatsApPortStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApPortStat. It customizes the JSON marshaling process for StatsApPortStat objects.
func (StatsApPortStat) String ¶ added in v0.4.23
func (s StatsApPortStat) String() string
String implements the fmt.Stringer interface for StatsApPortStat, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsApPortStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApPortStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApPortStat. It customizes the JSON unmarshaling process for StatsApPortStat objects.
type StatsApRadioConfig ¶ added in v0.3.0
type StatsApRadioConfig struct {
Band24 *StatsApRadioConfigBand `json:"band_24,omitempty"`
Band24Usage Optional[string] `json:"band_24_usage"`
Band5 *StatsApRadioConfigBand `json:"band_5,omitempty"`
Band6 *StatsApRadioConfigBand `json:"band_6,omitempty"`
ScanningEnabled *bool `json:"scanning_enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsApRadioConfig represents a StatsApRadioConfig struct.
func (StatsApRadioConfig) MarshalJSON ¶ added in v0.3.0
func (s StatsApRadioConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApRadioConfig. It customizes the JSON marshaling process for StatsApRadioConfig objects.
func (StatsApRadioConfig) String ¶ added in v0.4.23
func (s StatsApRadioConfig) String() string
String implements the fmt.Stringer interface for StatsApRadioConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsApRadioConfig) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApRadioConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApRadioConfig. It customizes the JSON unmarshaling process for StatsApRadioConfig objects.
type StatsApRadioConfigBand ¶ added in v0.3.0
type StatsApRadioConfigBand struct {
AllowRrmDisable Optional[bool] `json:"allow_rrm_disable"`
Bandwidth Optional[float64] `json:"bandwidth"`
Channel *int `json:"channel,omitempty"`
Disabled Optional[bool] `json:"disabled"`
DynamicChainingEnabled Optional[bool] `json:"dynamic_chaining_enabled"`
Power Optional[float64] `json:"power"`
PowerMax Optional[float64] `json:"power_max"`
PowerMin Optional[float64] `json:"power_min"`
RxChain Optional[int] `json:"rx_chain"`
TxChain Optional[int] `json:"tx_chain"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsApRadioConfigBand represents a StatsApRadioConfigBand struct.
func (StatsApRadioConfigBand) MarshalJSON ¶ added in v0.3.0
func (s StatsApRadioConfigBand) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApRadioConfigBand. It customizes the JSON marshaling process for StatsApRadioConfigBand objects.
func (StatsApRadioConfigBand) String ¶ added in v0.4.23
func (s StatsApRadioConfigBand) String() string
String implements the fmt.Stringer interface for StatsApRadioConfigBand, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsApRadioConfigBand) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApRadioConfigBand) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApRadioConfigBand. It customizes the JSON unmarshaling process for StatsApRadioConfigBand objects.
type StatsApRadioStat ¶ added in v0.3.0
type StatsApRadioStat struct {
// Radio stat
Band24 *ApRadioStat `json:"band_24,omitempty"`
// Radio stat
Band5 *ApRadioStat `json:"band_5,omitempty"`
// Radio stat
Band6 *ApRadioStat `json:"band_6,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsApRadioStat represents a StatsApRadioStat struct.
func (StatsApRadioStat) MarshalJSON ¶ added in v0.3.0
func (s StatsApRadioStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApRadioStat. It customizes the JSON marshaling process for StatsApRadioStat objects.
func (StatsApRadioStat) String ¶ added in v0.4.23
func (s StatsApRadioStat) String() string
String implements the fmt.Stringer interface for StatsApRadioStat, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsApRadioStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApRadioStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApRadioStat. It customizes the JSON unmarshaling process for StatsApRadioStat objects.
type StatsApSwitchRedundancy ¶ added in v0.3.0
type StatsApSwitchRedundancy struct {
NumRedundantAps Optional[int] `json:"num_redundant_aps"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsApSwitchRedundancy represents a StatsApSwitchRedundancy struct.
func (StatsApSwitchRedundancy) MarshalJSON ¶ added in v0.3.0
func (s StatsApSwitchRedundancy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApSwitchRedundancy. It customizes the JSON marshaling process for StatsApSwitchRedundancy objects.
func (StatsApSwitchRedundancy) String ¶ added in v0.4.23
func (s StatsApSwitchRedundancy) String() string
String implements the fmt.Stringer interface for StatsApSwitchRedundancy, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsApSwitchRedundancy) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApSwitchRedundancy) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApSwitchRedundancy. It customizes the JSON unmarshaling process for StatsApSwitchRedundancy objects.
type StatsApUsbStat ¶ added in v0.3.0
type StatsApUsbStat struct {
Channel Optional[int] `json:"channel"`
Connected Optional[bool] `json:"connected"`
LastActivity Optional[int] `json:"last_activity"`
Type Optional[string] `json:"type"`
Up Optional[bool] `json:"up"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsApUsbStat represents a StatsApUsbStat struct.
func (StatsApUsbStat) MarshalJSON ¶ added in v0.3.0
func (s StatsApUsbStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApUsbStat. It customizes the JSON marshaling process for StatsApUsbStat objects.
func (StatsApUsbStat) String ¶ added in v0.4.23
func (s StatsApUsbStat) String() string
String implements the fmt.Stringer interface for StatsApUsbStat, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsApUsbStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApUsbStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApUsbStat. It customizes the JSON unmarshaling process for StatsApUsbStat objects.
type StatsAsset ¶
type StatsAsset struct {
// Battery voltage, in mV
BatteryVoltage *float64 `json:"battery_voltage,omitempty"`
Beam *int `json:"beam,omitempty"`
DeviceName *string `json:"device_name,omitempty"`
Duration *int `json:"duration,omitempty"`
EddystoneUidInstance *string `json:"eddystone_uid_instance,omitempty"`
EddystoneUidNamespace *string `json:"eddystone_uid_namespace,omitempty"`
EddystoneUrlUrl *string `json:"eddystone_url_url,omitempty"`
// Major number for iBeacon
IbeaconMajor Optional[int] `json:"ibeacon_major"`
// Minor number for iBeacon
IbeaconMinor Optional[int] `json:"ibeacon_minor"`
IbeaconUuid Optional[uuid.UUID] `json:"ibeacon_uuid"`
// Last seen timestamp
LastSeen Optional[float64] `json:"last_seen"`
// Bluetooth MAC
Mac string `json:"mac"`
// Map where the device belongs to
MapId *uuid.UUID `json:"map_id,omitempty"`
// Name / label of the device
Name *string `json:"name,omitempty"`
Rssi *int `json:"rssi,omitempty"`
// Only send this for individual asset stat
Rssizones []AssetRssiZone `json:"rssizones,omitempty"`
Temperature *float64 `json:"temperature,omitempty"`
// X in pixel
X *float64 `json:"x,omitempty"`
// Y in pixel
Y *float64 `json:"y,omitempty"`
// Only send this for individual asset stat
Zones []AssetZone `json:"zones,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsAsset represents a StatsAsset struct. Asset statistics
func (StatsAsset) MarshalJSON ¶
func (s StatsAsset) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsAsset. It customizes the JSON marshaling process for StatsAsset objects.
func (StatsAsset) String ¶ added in v0.4.23
func (s StatsAsset) String() string
String implements the fmt.Stringer interface for StatsAsset, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsAsset) UnmarshalJSON ¶
func (s *StatsAsset) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsAsset. It customizes the JSON unmarshaling process for StatsAsset objects.
type StatsBeacon ¶ added in v0.3.0
type StatsBeacon struct {
// Battery voltage, in mV
BatteryVoltage *float64 `json:"battery_voltage,omitempty"`
EddystoneInstance *string `json:"eddystone_instance,omitempty"`
EddystoneNamespace *string `json:"eddystone_namespace,omitempty"`
// Last seen timestamp
LastSeen Optional[float64] `json:"last_seen"`
Mac string `json:"mac"`
MapId uuid.UUID `json:"map_id"`
Name string `json:"name"`
Power int `json:"power"`
Type string `json:"type"`
X float64 `json:"x"`
Y float64 `json:"y"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsBeacon represents a StatsBeacon struct.
func (StatsBeacon) MarshalJSON ¶ added in v0.3.0
func (s StatsBeacon) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsBeacon. It customizes the JSON marshaling process for StatsBeacon objects.
func (StatsBeacon) String ¶ added in v0.4.23
func (s StatsBeacon) String() string
String implements the fmt.Stringer interface for StatsBeacon, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsBeacon) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsBeacon) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsBeacon. It customizes the JSON unmarshaling process for StatsBeacon objects.
type StatsCall ¶ added in v0.3.0
type StatsCall struct {
App *string `json:"app,omitempty"`
AudioQuality *int `json:"audio_quality,omitempty"`
EndTime *int `json:"end_time,omitempty"`
Mac *string `json:"mac,omitempty"`
MeetingId *string `json:"meeting_id,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
Rating *int `json:"rating,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
StartTime *int `json:"start_time,omitempty"`
VideoQuality *int `json:"video_quality,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsCall represents a StatsCall struct.
func (StatsCall) MarshalJSON ¶ added in v0.3.0
MarshalJSON implements the json.Marshaler interface for StatsCall. It customizes the JSON marshaling process for StatsCall objects.
func (StatsCall) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for StatsCall, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsCall) UnmarshalJSON ¶ added in v0.3.0
UnmarshalJSON implements the json.Unmarshaler interface for StatsCall. It customizes the JSON unmarshaling process for StatsCall objects.
type StatsClient ¶ added in v0.3.0
type StatsClient struct {
// contains filtered or unexported fields
}
StatsClient represents a StatsClient struct.
func (*StatsClient) AsStatsWiredClient ¶ added in v0.3.0
func (s *StatsClient) AsStatsWiredClient() ( *StatsWiredClient, bool)
func (*StatsClient) AsStatsWirelessClient ¶ added in v0.3.0
func (s *StatsClient) AsStatsWirelessClient() ( *StatsWirelessClient, bool)
func (StatsClient) MarshalJSON ¶ added in v0.3.0
func (s StatsClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsClient. It customizes the JSON marshaling process for StatsClient objects.
func (StatsClient) String ¶ added in v0.3.0
func (s StatsClient) String() string
String implements the fmt.Stringer interface for StatsClient, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsClient) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsClient. It customizes the JSON unmarshaling process for StatsClient objects.
type StatsClusterConfig ¶ added in v0.3.0
type StatsClusterConfig struct {
Configuration *string `json:"configuration,omitempty"`
ControlLinkInfo *StatsClusterConfigControlLinkInfo `json:"control_link_info,omitempty"`
EthernetConnection []StatsClusterConfigEthernetConnectionItem `json:"ethernet_connection,omitempty"`
FabricLinkInfo *StatsClusterConfigFabricLinkInfo `json:"fabric_link_info,omitempty"`
LastStatusChangeReason *string `json:"last_status_change_reason,omitempty"`
Operational *string `json:"operational,omitempty"`
PrimaryNodeHealth *string `json:"primary_node_health,omitempty"`
RedundancyGroupInformation []StatsClusterConfigRedundancyGroupInfoItem `json:"redundancy_group_information,omitempty"`
SecondaryNodeHealth *string `json:"secondary_node_health,omitempty"`
Status *string `json:"status,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsClusterConfig represents a StatsClusterConfig struct.
func (StatsClusterConfig) MarshalJSON ¶ added in v0.3.0
func (s StatsClusterConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsClusterConfig. It customizes the JSON marshaling process for StatsClusterConfig objects.
func (StatsClusterConfig) String ¶ added in v0.4.23
func (s StatsClusterConfig) String() string
String implements the fmt.Stringer interface for StatsClusterConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsClusterConfig) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsClusterConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsClusterConfig. It customizes the JSON unmarshaling process for StatsClusterConfig objects.
type StatsClusterConfigControlLinkInfo ¶ added in v0.3.0
type StatsClusterConfigControlLinkInfo struct {
Name *string `json:"name,omitempty"`
Status *string `json:"status,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsClusterConfigControlLinkInfo represents a StatsClusterConfigControlLinkInfo struct.
func (StatsClusterConfigControlLinkInfo) MarshalJSON ¶ added in v0.3.0
func (s StatsClusterConfigControlLinkInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsClusterConfigControlLinkInfo. It customizes the JSON marshaling process for StatsClusterConfigControlLinkInfo objects.
func (StatsClusterConfigControlLinkInfo) String ¶ added in v0.4.23
func (s StatsClusterConfigControlLinkInfo) String() string
String implements the fmt.Stringer interface for StatsClusterConfigControlLinkInfo, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsClusterConfigControlLinkInfo) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsClusterConfigControlLinkInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsClusterConfigControlLinkInfo. It customizes the JSON unmarshaling process for StatsClusterConfigControlLinkInfo objects.
type StatsClusterConfigEthernetConnectionItem ¶ added in v0.3.0
type StatsClusterConfigEthernetConnectionItem struct {
Name *string `json:"name,omitempty"`
Status *string `json:"status,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsClusterConfigEthernetConnectionItem represents a StatsClusterConfigEthernetConnectionItem struct.
func (StatsClusterConfigEthernetConnectionItem) MarshalJSON ¶ added in v0.3.0
func (s StatsClusterConfigEthernetConnectionItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsClusterConfigEthernetConnectionItem. It customizes the JSON marshaling process for StatsClusterConfigEthernetConnectionItem objects.
func (StatsClusterConfigEthernetConnectionItem) String ¶ added in v0.4.23
func (s StatsClusterConfigEthernetConnectionItem) String() string
String implements the fmt.Stringer interface for StatsClusterConfigEthernetConnectionItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsClusterConfigEthernetConnectionItem) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsClusterConfigEthernetConnectionItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsClusterConfigEthernetConnectionItem. It customizes the JSON unmarshaling process for StatsClusterConfigEthernetConnectionItem objects.
type StatsClusterConfigFabricLinkInfo ¶ added in v0.3.0
type StatsClusterConfigFabricLinkInfo struct {
DataPlaneNotifiedStatus *string `json:"DataPlaneNotifiedStatus,omitempty"`
Interface []string `json:"Interface,omitempty"`
InternalStatus *string `json:"InternalStatus,omitempty"`
State *string `json:"State,omitempty"`
Status *string `json:"Status,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsClusterConfigFabricLinkInfo represents a StatsClusterConfigFabricLinkInfo struct.
func (StatsClusterConfigFabricLinkInfo) MarshalJSON ¶ added in v0.3.0
func (s StatsClusterConfigFabricLinkInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsClusterConfigFabricLinkInfo. It customizes the JSON marshaling process for StatsClusterConfigFabricLinkInfo objects.
func (StatsClusterConfigFabricLinkInfo) String ¶ added in v0.4.23
func (s StatsClusterConfigFabricLinkInfo) String() string
String implements the fmt.Stringer interface for StatsClusterConfigFabricLinkInfo, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsClusterConfigFabricLinkInfo) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsClusterConfigFabricLinkInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsClusterConfigFabricLinkInfo. It customizes the JSON unmarshaling process for StatsClusterConfigFabricLinkInfo objects.
type StatsClusterConfigRedundancyGroupInfoItem ¶ added in v0.3.0
type StatsClusterConfigRedundancyGroupInfoItem struct {
Id *int `json:"Id,omitempty"`
MonitoringFailure *string `json:"MonitoringFailure,omitempty"`
Threshold *int `json:"Threshold,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsClusterConfigRedundancyGroupInfoItem represents a StatsClusterConfigRedundancyGroupInfoItem struct.
func (StatsClusterConfigRedundancyGroupInfoItem) MarshalJSON ¶ added in v0.3.0
func (s StatsClusterConfigRedundancyGroupInfoItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsClusterConfigRedundancyGroupInfoItem. It customizes the JSON marshaling process for StatsClusterConfigRedundancyGroupInfoItem objects.
func (StatsClusterConfigRedundancyGroupInfoItem) String ¶ added in v0.4.23
func (s StatsClusterConfigRedundancyGroupInfoItem) String() string
String implements the fmt.Stringer interface for StatsClusterConfigRedundancyGroupInfoItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsClusterConfigRedundancyGroupInfoItem) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsClusterConfigRedundancyGroupInfoItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsClusterConfigRedundancyGroupInfoItem. It customizes the JSON unmarshaling process for StatsClusterConfigRedundancyGroupInfoItem objects.
type StatsDevice ¶
type StatsDevice struct {
// contains filtered or unexported fields
}
StatsDevice represents a StatsDevice struct.
func (*StatsDevice) AsStatsAp ¶ added in v0.3.0
func (s *StatsDevice) AsStatsAp() ( *StatsAp, bool)
func (*StatsDevice) AsStatsGateway ¶ added in v0.3.0
func (s *StatsDevice) AsStatsGateway() ( *StatsGateway, bool)
func (*StatsDevice) AsStatsSwitch ¶ added in v0.3.0
func (s *StatsDevice) AsStatsSwitch() ( *StatsSwitch, bool)
func (StatsDevice) MarshalJSON ¶
func (s StatsDevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsDevice. It customizes the JSON marshaling process for StatsDevice objects.
func (StatsDevice) String ¶ added in v0.3.0
func (s StatsDevice) String() string
String implements the fmt.Stringer interface for StatsDevice, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsDevice) UnmarshalJSON ¶
func (s *StatsDevice) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsDevice. It customizes the JSON unmarshaling process for StatsDevice objects.
type StatsDeviceOther ¶ added in v0.3.0
type StatsDeviceOther struct {
CachedStats *bool `json:"cached_stats,omitempty"`
ConfigStatus *string `json:"config_status,omitempty"`
// Property key is the connected device MAC Address
ConnectedDevices map[string]StatsDeviceOtherConnectedDevice `json:"connected_devices,omitempty"`
// Property key is the interface name
Interfaces map[string]StatsDeviceOtherInterface `json:"interfaces,omitempty"`
LastConfig *int `json:"last_config,omitempty"`
// Last seen timestamp
LastSeen Optional[float64] `json:"last_seen"`
LldpEnabled *bool `json:"lldp_enabled,omitempty"`
Mac *string `json:"mac,omitempty"`
Status *string `json:"status,omitempty"`
Uptime *int `json:"uptime,omitempty"`
Vendor *string `json:"vendor,omitempty"`
// When `vendor`==`cradlepoint`
VendorSpecific *StatsDeviceOtherVendorSpecific `json:"vendor_specific,omitempty"`
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsDeviceOther represents a StatsDeviceOther struct.
func (StatsDeviceOther) MarshalJSON ¶ added in v0.3.0
func (s StatsDeviceOther) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsDeviceOther. It customizes the JSON marshaling process for StatsDeviceOther objects.
func (StatsDeviceOther) String ¶ added in v0.4.23
func (s StatsDeviceOther) String() string
String implements the fmt.Stringer interface for StatsDeviceOther, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsDeviceOther) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsDeviceOther) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsDeviceOther. It customizes the JSON unmarshaling process for StatsDeviceOther objects.
type StatsDeviceOtherConnectedDevice ¶ added in v0.4.54
type StatsDeviceOtherConnectedDevice struct {
Mac *string `json:"mac,omitempty"`
Name *string `json:"name,omitempty"`
PortId *string `json:"port_id,omitempty"`
Type *string `json:"type,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsDeviceOtherConnectedDevice represents a StatsDeviceOtherConnectedDevice struct.
func (StatsDeviceOtherConnectedDevice) MarshalJSON ¶ added in v0.4.54
func (s StatsDeviceOtherConnectedDevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsDeviceOtherConnectedDevice. It customizes the JSON marshaling process for StatsDeviceOtherConnectedDevice objects.
func (StatsDeviceOtherConnectedDevice) String ¶ added in v0.4.54
func (s StatsDeviceOtherConnectedDevice) String() string
String implements the fmt.Stringer interface for StatsDeviceOtherConnectedDevice, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsDeviceOtherConnectedDevice) UnmarshalJSON ¶ added in v0.4.54
func (s *StatsDeviceOtherConnectedDevice) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsDeviceOtherConnectedDevice. It customizes the JSON unmarshaling process for StatsDeviceOtherConnectedDevice objects.
type StatsDeviceOtherInterface ¶ added in v0.4.54
type StatsDeviceOtherInterface struct {
BytesIn *int64 `json:"bytes_in,omitempty"`
BytesOut *int64 `json:"bytes_out,omitempty"`
Carrier *string `json:"carrier,omitempty"`
Imei *string `json:"imei,omitempty"`
Imsi *string `json:"imsi,omitempty"`
Ip *string `json:"ip,omitempty"`
Link *bool `json:"link,omitempty"`
Mode *string `json:"mode,omitempty"`
Mtu *int `json:"mtu,omitempty"`
Rsrp *float64 `json:"rsrp,omitempty"`
Rsrq *float64 `json:"rsrq,omitempty"`
Rssi *int `json:"rssi,omitempty"`
ServiceMode *string `json:"service_mode,omitempty"`
Sinr *float64 `json:"sinr,omitempty"`
State *string `json:"state,omitempty"`
Type *string `json:"type,omitempty"`
Uptime *int `json:"uptime,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsDeviceOtherInterface represents a StatsDeviceOtherInterface struct.
func (StatsDeviceOtherInterface) MarshalJSON ¶ added in v0.4.54
func (s StatsDeviceOtherInterface) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsDeviceOtherInterface. It customizes the JSON marshaling process for StatsDeviceOtherInterface objects.
func (StatsDeviceOtherInterface) String ¶ added in v0.4.54
func (s StatsDeviceOtherInterface) String() string
String implements the fmt.Stringer interface for StatsDeviceOtherInterface, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsDeviceOtherInterface) UnmarshalJSON ¶ added in v0.4.54
func (s *StatsDeviceOtherInterface) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsDeviceOtherInterface. It customizes the JSON unmarshaling process for StatsDeviceOtherInterface objects.
type StatsDeviceOtherVendorSpecific ¶ added in v0.3.0
type StatsDeviceOtherVendorSpecific struct {
Interfaces map[string]StatsDeviceOtherVendorSpecificPort `json:"interfaces,omitempty"`
TargetVersion *string `json:"target_version,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsDeviceOtherVendorSpecific represents a StatsDeviceOtherVendorSpecific struct. When `vendor`==`cradlepoint`
func (StatsDeviceOtherVendorSpecific) MarshalJSON ¶ added in v0.3.0
func (s StatsDeviceOtherVendorSpecific) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsDeviceOtherVendorSpecific. It customizes the JSON marshaling process for StatsDeviceOtherVendorSpecific objects.
func (StatsDeviceOtherVendorSpecific) String ¶ added in v0.4.23
func (s StatsDeviceOtherVendorSpecific) String() string
String implements the fmt.Stringer interface for StatsDeviceOtherVendorSpecific, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsDeviceOtherVendorSpecific) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsDeviceOtherVendorSpecific) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsDeviceOtherVendorSpecific. It customizes the JSON unmarshaling process for StatsDeviceOtherVendorSpecific objects.
type StatsDeviceOtherVendorSpecificPort ¶ added in v0.3.0
type StatsDeviceOtherVendorSpecificPort struct {
BytesIn *int64 `json:"bytes_in,omitempty"`
BytesOut *int64 `json:"bytes_out,omitempty"`
Carrier *string `json:"carrier,omitempty"`
DisplayName *string `json:"display_name,omitempty"`
Imei *string `json:"imei,omitempty"`
Imsi *string `json:"imsi,omitempty"`
Ip *string `json:"ip,omitempty"`
Link *bool `json:"link,omitempty"`
Mode *string `json:"mode,omitempty"`
Mtu *int `json:"mtu,omitempty"`
PortParent *string `json:"port_parent,omitempty"`
Rsrp *float64 `json:"rsrp,omitempty"`
Rsrq *float64 `json:"rsrq,omitempty"`
Rssi *int `json:"rssi,omitempty"`
ServiceMode *string `json:"service_mode,omitempty"`
Sinr *float64 `json:"sinr,omitempty"`
State *string `json:"state,omitempty"`
Type *string `json:"type,omitempty"`
Uptime *int `json:"uptime,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsDeviceOtherVendorSpecificPort represents a StatsDeviceOtherVendorSpecificPort struct.
func (StatsDeviceOtherVendorSpecificPort) MarshalJSON ¶ added in v0.3.0
func (s StatsDeviceOtherVendorSpecificPort) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsDeviceOtherVendorSpecificPort. It customizes the JSON marshaling process for StatsDeviceOtherVendorSpecificPort objects.
func (StatsDeviceOtherVendorSpecificPort) String ¶ added in v0.4.23
func (s StatsDeviceOtherVendorSpecificPort) String() string
String implements the fmt.Stringer interface for StatsDeviceOtherVendorSpecificPort, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsDeviceOtherVendorSpecificPort) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsDeviceOtherVendorSpecificPort) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsDeviceOtherVendorSpecificPort. It customizes the JSON unmarshaling process for StatsDeviceOtherVendorSpecificPort objects.
type StatsGateway ¶ added in v0.3.0
type StatsGateway struct {
ApRedundancy *ApRedundancy `json:"ap_redundancy,omitempty"`
ArpTableStats *ArpTableStats `json:"arp_table_stats,omitempty"`
AutoUpgradeStat *StatsApAutoUpgrade `json:"auto_upgrade_stat,omitempty"`
// Only present when `bgp_peers` in `fields` query parameter. Each port object is same as `GET /api/v1/sites/{site_id}/stats/bgp_peers/search` result object, except that org_id, site_id, mac, model are removed
BgpPeers []BgpPeer `json:"bgp_peers,omitempty"`
CertExpiry *int64 `json:"cert_expiry,omitempty"`
ClusterConfig *StatsClusterConfig `json:"cluster_config,omitempty"`
ClusterStat *StatsGatewayCluster `json:"cluster_stat,omitempty"`
ConductorName *string `json:"conductor_name,omitempty"`
ConfigStatus *string `json:"config_status,omitempty"`
ConfigTimestamp *int `json:"config_timestamp,omitempty"`
ConfigVersion *int `json:"config_version,omitempty"`
Cpu2Stat *CpuStat `json:"cpu2_stat,omitempty"`
CpuStat *CpuStat `json:"cpu_stat,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
DeviceprofileId Optional[uuid.UUID] `json:"deviceprofile_id"`
DeviceprofileName *string `json:"deviceprofile_name,omitempty"`
// Property key is the network name
Dhcpd2Stat map[string]DhcpdStatLan `json:"dhcpd2_stat,omitempty"`
// Property key is the network name
DhcpdStat map[string]DhcpdStatLan `json:"dhcpd_stat,omitempty"`
EvpntopoId Optional[uuid.UUID] `json:"evpntopo_id"`
// IP address
ExtIp Optional[string] `json:"ext_ip"`
Fwupdate *FwupdateStat `json:"fwupdate,omitempty"`
HasPcap Optional[bool] `json:"has_pcap"`
// Hostname reported by the device
Hostname *string `json:"hostname,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// Property key is the interface name
If2Stat map[string]IfStatProperty `json:"if2_stat,omitempty"`
// Property key is the interface name
IfStat map[string]IfStatProperty `json:"if_stat,omitempty"`
// IP address
Ip Optional[string] `json:"ip"`
Ip2Stat *IpStat `json:"ip2_stat,omitempty"`
IpStat *IpStat `json:"ip_stat,omitempty"`
IsHa Optional[bool] `json:"is_ha"`
// Last seen timestamp
LastSeen Optional[float64] `json:"last_seen"`
// Device mac
Mac string `json:"mac"`
MacTableStats *StatsGatewayMacTableStats `json:"mac_table_stats,omitempty"`
// Serial Number
MapId Optional[uuid.UUID] `json:"map_id"`
// Memory usage stat (for virtual chassis, memory usage of master RE)
Memory2Stat *MemoryStat `json:"memory2_stat,omitempty"`
// Memory usage stat (for virtual chassis, memory usage of master RE)
MemoryStat *MemoryStat `json:"memory_stat,omitempty"`
// Device model
Model *string `json:"model,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Module2Stat []StatsGatewayModuleStatItem `json:"module2_stat,omitempty"`
ModuleStat []StatsGatewayModuleStatItem `json:"module_stat,omitempty"`
// Device name if configured
Name *string `json:"name,omitempty"`
NodeName *string `json:"node_name,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Only present when `ports` in `fields` query parameter. Each port object is same as `GET /api/v1/sites/{site_id}/stats/ports/search` result object, except that org_id, site_id, mac, model are removed
Ports []StatsGatewayPort `json:"ports,omitempty"`
RouteSummaryStats *RouteSummaryStats `json:"route_summary_stats,omitempty"`
// Device name if configured
RouterName *string `json:"router_name,omitempty"`
// Serial Number
Serial *string `json:"serial,omitempty"`
Service2Stat map[string]ServiceStatProperty `json:"service2_stat,omitempty"`
ServiceStat map[string]ServiceStatProperty `json:"service_stat,omitempty"`
ServiceStatus *StatsGatewayServiceStatus `json:"service_status,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Spu2Stat []StatsGatewaySpuItem `json:"spu2_stat,omitempty"`
SpuStat []StatsGatewaySpuItem `json:"spu_stat,omitempty"`
Status *string `json:"status,omitempty"`
TagId *int `json:"tag_id,omitempty"`
TagUuid *uuid.UUID `json:"tag_uuid,omitempty"`
// Only present when `tunnels` in `fields` query parameter. Each port object is same as `GET /api/v1/sites/{site_id}/stats/tunnels/search` result object, except that org_id, site_id, mac, model are removed
Tunnels []StatsGatewayWanTunnel `json:"tunnels,omitempty"`
// Device Type. enum: `gateway`
Type string `json:"type"`
Uptime Optional[float64] `json:"uptime"`
Version Optional[string] `json:"version"`
// Only present when `vpn_peers` in `fields` query parameter. Each port object is same as `GET /api/v1/sites/{site_id}/stats/vpn_peers/search` result object, except that org_id, site_id, mac, model are removed
VpnPeers []StatsGatewayVpnPeer `json:"vpn_peers,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsGateway represents a StatsGateway struct. Gateway statistics
func (StatsGateway) MarshalJSON ¶ added in v0.3.0
func (s StatsGateway) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsGateway. It customizes the JSON marshaling process for StatsGateway objects.
func (StatsGateway) String ¶ added in v0.4.23
func (s StatsGateway) String() string
String implements the fmt.Stringer interface for StatsGateway, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsGateway) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsGateway) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsGateway. It customizes the JSON unmarshaling process for StatsGateway objects.
type StatsGatewayCluster ¶ added in v0.3.0
type StatsGatewayCluster struct {
State Optional[string] `json:"state"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsGatewayCluster represents a StatsGatewayCluster struct.
func (StatsGatewayCluster) MarshalJSON ¶ added in v0.3.0
func (s StatsGatewayCluster) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsGatewayCluster. It customizes the JSON marshaling process for StatsGatewayCluster objects.
func (StatsGatewayCluster) String ¶ added in v0.4.23
func (s StatsGatewayCluster) String() string
String implements the fmt.Stringer interface for StatsGatewayCluster, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsGatewayCluster) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsGatewayCluster) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsGatewayCluster. It customizes the JSON unmarshaling process for StatsGatewayCluster objects.
type StatsGatewayMacTableStats ¶ added in v0.4.94
type StatsGatewayMacTableStats struct {
MacTableCount *int `json:"mac_table_count,omitempty"`
MaxMacEntriesSupported *int `json:"max_mac_entries_supported,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsGatewayMacTableStats represents a StatsGatewayMacTableStats struct.
func (StatsGatewayMacTableStats) MarshalJSON ¶ added in v0.4.94
func (s StatsGatewayMacTableStats) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsGatewayMacTableStats. It customizes the JSON marshaling process for StatsGatewayMacTableStats objects.
func (StatsGatewayMacTableStats) String ¶ added in v0.4.94
func (s StatsGatewayMacTableStats) String() string
String implements the fmt.Stringer interface for StatsGatewayMacTableStats, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsGatewayMacTableStats) UnmarshalJSON ¶ added in v0.4.94
func (s *StatsGatewayMacTableStats) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsGatewayMacTableStats. It customizes the JSON unmarshaling process for StatsGatewayMacTableStats objects.
type StatsGatewayModuleStatItem ¶ added in v0.4.61
type StatsGatewayModuleStatItem struct {
BackupVersion Optional[string] `json:"backup_version"`
BiosVersion Optional[string] `json:"bios_version"`
BootPartition *string `json:"boot_partition,omitempty"`
CpldVersion Optional[string] `json:"cpld_version"`
Fans []ModuleStatItemFansItems `json:"fans,omitempty"`
FpgaVersion Optional[string] `json:"fpga_version"`
// Last seen timestamp
LastSeen Optional[float64] `json:"last_seen"`
Locating *bool `json:"locating,omitempty"`
Mac *string `json:"mac,omitempty"`
// Memory usage stat (for virtual chassis, memory usage of master RE)
MemoryStat *MemoryStat `json:"memory_stat,omitempty"`
Model Optional[string] `json:"model"`
NetworkResources []ModuleStatItemNetworkResource `json:"network_resources,omitempty"`
OpticsCpldVersion Optional[string] `json:"optics_cpld_version"`
PendingVersion Optional[string] `json:"pending_version"`
Poe *ModuleStatItemPoe `json:"poe,omitempty"`
PoeVersion Optional[string] `json:"poe_version"`
PowerCpldVersion Optional[string] `json:"power_cpld_version"`
Psus []ModuleStatItemPsusItem `json:"psus,omitempty"`
ReFpgaVersion Optional[string] `json:"re_fpga_version"`
RecoveryVersion Optional[string] `json:"recovery_version"`
Serial Optional[string] `json:"serial"`
Status Optional[string] `json:"status"`
Temperatures []ModuleStatItemTemperaturesItem `json:"temperatures,omitempty"`
TmcFpgaVersion Optional[string] `json:"tmc_fpga_version"`
UbootVersion Optional[string] `json:"uboot_version"`
Uptime Optional[int] `json:"uptime"`
VcLinks []ModuleStatItemVcLinksItem `json:"vc_links,omitempty"`
VcMode Optional[string] `json:"vc_mode"`
// enum: `master`, `backup`, `linecard`
VcRole Optional[string] `json:"vc_role"`
VcState Optional[string] `json:"vc_state"`
Version Optional[string] `json:"version"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsGatewayModuleStatItem represents a StatsGatewayModuleStatItem struct.
func (StatsGatewayModuleStatItem) MarshalJSON ¶ added in v0.4.61
func (s StatsGatewayModuleStatItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsGatewayModuleStatItem. It customizes the JSON marshaling process for StatsGatewayModuleStatItem objects.
func (StatsGatewayModuleStatItem) String ¶ added in v0.4.61
func (s StatsGatewayModuleStatItem) String() string
String implements the fmt.Stringer interface for StatsGatewayModuleStatItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsGatewayModuleStatItem) UnmarshalJSON ¶ added in v0.4.61
func (s *StatsGatewayModuleStatItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsGatewayModuleStatItem. It customizes the JSON unmarshaling process for StatsGatewayModuleStatItem objects.
type StatsGatewayPort ¶ added in v0.4.62
type StatsGatewayPort struct {
// Indicates if interface is active/inactive
Active *bool `json:"active,omitempty"`
// if `up`==`true` and has Authenticator role. enum: `authenticated`, `authenticating`, `held`, `init`
AuthState *StatsSwitchPortAuthStateEnum `json:"auth_state,omitempty"`
// Indicates if interface is disabled
Disabled *bool `json:"disabled,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// Indicates full or half duplex
FullDuplex *bool `json:"full_duplex,omitempty"`
// Last sampled jitter of the interface
Jitter *float64 `json:"jitter,omitempty"`
// Last sampled latency of the interface
Latency *float64 `json:"latency,omitempty"`
// Last sampled loss of the interface
Loss *float64 `json:"loss,omitempty"`
// LTE ICCID value, Check for null/empty
LteIccid Optional[string] `json:"lte_iccid"`
// LTE IMEI value, Check for null/empty
LteImei Optional[string] `json:"lte_imei"`
// LTE IMSI value, Check for null/empty
LteImsi Optional[string] `json:"lte_imsi"`
// Number of mac addresses in the forwarding table
MacCount *int `json:"mac_count,omitempty"`
// Limit on number of dynamically learned macs
MacLimit *int `json:"mac_limit,omitempty"`
// chassis identifier of the chassis type listed
NeighborMac string `json:"neighbor_mac"`
// Description supplied by the system on the interface E.g. "GigabitEthernet2/0/39"
NeighborPortDesc *string `json:"neighbor_port_desc,omitempty"`
// Name supplied by the system on the interface E.g. neighbor system name E.g. "Kumar-Acc-SW.mist.local"
NeighborSystemName *string `json:"neighbor_system_name,omitempty"`
// Is the POE configured not be disabled.
PoeDisabled *bool `json:"poe_disabled,omitempty"`
// enum: `802.3af`, `802.3at`, `802.3bt`
PoeMode *StatsSwitchPortPoeModeEnum `json:"poe_mode,omitempty"`
// Is the device attached to POE
PoeOn *bool `json:"poe_on,omitempty"`
PortId string `json:"port_id"`
// Interface mac address
PortMac string `json:"port_mac"`
// gateway port usage. enum: `lan`
PortUsage *StatsSwitchPortPortUsageEnum `json:"port_usage,omitempty"`
// Amount of power being used by the interface at the time the command is executed. Unit in watts.
PowerDraw *float64 `json:"power_draw,omitempty"`
// Broadcast input packets
RxBcastPkts *int `json:"rx_bcast_pkts,omitempty"`
// Rate of receiving traffic, bits/seconds, last known
RxBps Optional[int64] `json:"rx_bps"`
// Amount of traffic received since connection
RxBytes Optional[int64] `json:"rx_bytes"`
// Input errors
RxErrors *int `json:"rx_errors,omitempty"`
// Multicast input packets
RxMcastPkts *int `json:"rx_mcast_pkts,omitempty"`
// Amount of packets received since connection
RxPkts Optional[int64] `json:"rx_pkts"`
// Port speed
Speed *int `json:"speed,omitempty"`
// if `up`==`true`. enum: `alternate`, `backup`, `designated`, `root`, `root-prevented`
StpRole *StatsSwitchPortStpRoleEnum `json:"stp_role,omitempty"`
// if `up`==`true`. enum: `blocking`, `disabled`, `forwarding`, `learning`, `listening`
StpState *StatsSwitchPortStpStateEnum `json:"stp_state,omitempty"`
// Broadcast output packets
TxBcastPkts *int `json:"tx_bcast_pkts,omitempty"`
// Rate of transmitting traffic, bits/seconds, last known
TxBps Optional[int64] `json:"tx_bps"`
// Amount of traffic sent since connection
TxBytes Optional[int64] `json:"tx_bytes"`
// Output errors
TxErrors *int `json:"tx_errors,omitempty"`
// Multicast output packets
TxMcastPkts *int `json:"tx_mcast_pkts,omitempty"`
// Amount of packets sent since connection
TxPkts Optional[int64] `json:"tx_pkts"`
// device type. enum: `ap`, `ble`, `gateway`, `mxedge`, `nac`, `switch`
Type *StatsSwitchPortTypeEnum `json:"type,omitempty"`
// Indicates if interface is unconfigured
Unconfigured *bool `json:"unconfigured,omitempty"`
// Indicates if interface is up
Up *bool `json:"up,omitempty"`
// Optic Slot ModelName, Check for null/empty
XcvrModel *string `json:"xcvr_model,omitempty"`
// Optic Slot Partnumber, Check for null/empty
XcvrPartNumber *string `json:"xcvr_part_number,omitempty"`
// Optic Slot SerialNumber, Check for null/empty
XcvrSerial *string `json:"xcvr_serial,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsGatewayPort represents a StatsGatewayPort struct. Port statistics
func (StatsGatewayPort) MarshalJSON ¶ added in v0.4.62
func (s StatsGatewayPort) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsGatewayPort. It customizes the JSON marshaling process for StatsGatewayPort objects.
func (StatsGatewayPort) String ¶ added in v0.4.62
func (s StatsGatewayPort) String() string
String implements the fmt.Stringer interface for StatsGatewayPort, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsGatewayPort) UnmarshalJSON ¶ added in v0.4.62
func (s *StatsGatewayPort) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsGatewayPort. It customizes the JSON unmarshaling process for StatsGatewayPort objects.
type StatsGatewayServiceStatus ¶ added in v0.3.0
type StatsGatewayServiceStatus struct {
AppidInstallResult *string `json:"appid_install_result,omitempty"`
AppidInstallTimestamp *string `json:"appid_install_timestamp,omitempty"`
AppidStatus *string `json:"appid_status,omitempty"`
AppidVersion *int `json:"appid_version,omitempty"`
EwfStatus *string `json:"ewf_status,omitempty"`
IdpInstallResult *string `json:"idp_install_result,omitempty"`
IdpInstallTimestamp *string `json:"idp_install_timestamp,omitempty"`
IdpPolicy *string `json:"idp_policy,omitempty"`
IdpStatus *string `json:"idp_status,omitempty"`
IdpUpdateTimestamp *string `json:"idp_update_timestamp,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsGatewayServiceStatus represents a StatsGatewayServiceStatus struct.
func (StatsGatewayServiceStatus) MarshalJSON ¶ added in v0.3.0
func (s StatsGatewayServiceStatus) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsGatewayServiceStatus. It customizes the JSON marshaling process for StatsGatewayServiceStatus objects.
func (StatsGatewayServiceStatus) String ¶ added in v0.4.23
func (s StatsGatewayServiceStatus) String() string
String implements the fmt.Stringer interface for StatsGatewayServiceStatus, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsGatewayServiceStatus) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsGatewayServiceStatus) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsGatewayServiceStatus. It customizes the JSON unmarshaling process for StatsGatewayServiceStatus objects.
type StatsGatewaySpuItem ¶ added in v0.3.0
type StatsGatewaySpuItem struct {
SpuCpu *int `json:"spu_cpu,omitempty"`
SpuCurrentSession *int `json:"spu_current_session,omitempty"`
SpuMaxSession *int `json:"spu_max_session,omitempty"`
SpuMemory *int `json:"spu_memory,omitempty"`
SpuPendingSession *int `json:"spu_pending_session,omitempty"`
SpuUptime *int `json:"spu_uptime,omitempty"`
SpuValidSession *int `json:"spu_valid_session,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsGatewaySpuItem represents a StatsGatewaySpuItem struct.
func (StatsGatewaySpuItem) MarshalJSON ¶ added in v0.3.0
func (s StatsGatewaySpuItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsGatewaySpuItem. It customizes the JSON marshaling process for StatsGatewaySpuItem objects.
func (StatsGatewaySpuItem) String ¶ added in v0.4.23
func (s StatsGatewaySpuItem) String() string
String implements the fmt.Stringer interface for StatsGatewaySpuItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsGatewaySpuItem) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsGatewaySpuItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsGatewaySpuItem. It customizes the JSON unmarshaling process for StatsGatewaySpuItem objects.
type StatsGatewayVpnPeer ¶ added in v0.4.62
type StatsGatewayVpnPeer struct {
// Redundancy status of the associated interface
IsActive *bool `json:"is_active,omitempty"`
// Jitter in milliseconds
Jitter *float64 `json:"jitter,omitempty"`
// Last seen timestamp
LastSeen Optional[float64] `json:"last_seen"`
// Latency in milliseconds
Latency *float64 `json:"latency,omitempty"`
// Packet loss in percentage
Loss *float64 `json:"loss,omitempty"`
// Mean Opinion Score, a measure of the quality of the VPN link
Mos *float64 `json:"mos,omitempty"`
Mtu *int `json:"mtu,omitempty"`
// Peer router mac address
PeerMac *string `json:"peer_mac,omitempty"`
// Peer router device interface
PeerPortId *string `json:"peer_port_id,omitempty"`
PeerRouterName *string `json:"peer_router_name,omitempty"`
PeerSiteId *uuid.UUID `json:"peer_site_id,omitempty"`
// Router device interface
PortId *string `json:"port_id,omitempty"`
RouterName *string `json:"router_name,omitempty"`
// `ipsec`for SRX, `svr` for 128T
Type *string `json:"type,omitempty"`
Up *bool `json:"up,omitempty"`
Uptime *int `json:"uptime,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsGatewayVpnPeer represents a StatsGatewayVpnPeer struct.
func (StatsGatewayVpnPeer) MarshalJSON ¶ added in v0.4.62
func (s StatsGatewayVpnPeer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsGatewayVpnPeer. It customizes the JSON marshaling process for StatsGatewayVpnPeer objects.
func (StatsGatewayVpnPeer) String ¶ added in v0.4.62
func (s StatsGatewayVpnPeer) String() string
String implements the fmt.Stringer interface for StatsGatewayVpnPeer, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsGatewayVpnPeer) UnmarshalJSON ¶ added in v0.4.62
func (s *StatsGatewayVpnPeer) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsGatewayVpnPeer. It customizes the JSON unmarshaling process for StatsGatewayVpnPeer objects.
type StatsGatewayWanTunnel ¶ added in v0.4.62
type StatsGatewayWanTunnel struct {
// Authentication algorithm
AuthAlgo *string `json:"auth_algo,omitempty"`
// Encryption algorithm
EncryptAlgo *string `json:"encrypt_algo,omitempty"`
// IKE version
IkeVersion *string `json:"ike_version,omitempty"`
// IP Address
Ip *string `json:"ip,omitempty"`
// Reason of why the tunnel is down
LastEvent *string `json:"last_event,omitempty"`
// Indicates when the port was last flapped
LastFlapped *float64 `json:"last_flapped,omitempty"`
// Node0/node1
Node *string `json:"node,omitempty"`
// Peer host
PeerHost *string `json:"peer_host,omitempty"`
// Peer ip address
PeerIp *string `json:"peer_ip,omitempty"`
// enum: `primary`, `secondary`
Priority *StatsWanTunnelPriorityEnum `json:"priority,omitempty"`
// enum: `gre`, `ipsec`
Protocol *WanTunnelProtocolEnum `json:"protocol,omitempty"`
// Amount of traffic received since connection
RxBytes Optional[int64] `json:"rx_bytes"`
// Amount of packets received since connection
RxPkts Optional[int64] `json:"rx_pkts"`
// Mist Tunnel Name
TunnelName *string `json:"tunnel_name,omitempty"`
// Amount of traffic sent since connection
TxBytes Optional[int64] `json:"tx_bytes"`
// Amount of packets sent since connection
TxPkts Optional[int64] `json:"tx_pkts"`
Up *bool `json:"up,omitempty"`
// Duration from first (or last) SA was established
Uptime *int `json:"uptime,omitempty"`
// WAN interface name
WanName *string `json:"wan_name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsGatewayWanTunnel represents a StatsGatewayWanTunnel struct.
func (StatsGatewayWanTunnel) MarshalJSON ¶ added in v0.4.62
func (s StatsGatewayWanTunnel) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsGatewayWanTunnel. It customizes the JSON marshaling process for StatsGatewayWanTunnel objects.
func (StatsGatewayWanTunnel) String ¶ added in v0.4.62
func (s StatsGatewayWanTunnel) String() string
String implements the fmt.Stringer interface for StatsGatewayWanTunnel, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsGatewayWanTunnel) UnmarshalJSON ¶ added in v0.4.62
func (s *StatsGatewayWanTunnel) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsGatewayWanTunnel. It customizes the JSON unmarshaling process for StatsGatewayWanTunnel objects.
type StatsMxedge ¶ added in v0.3.0
type StatsMxedge struct {
// CPU/core stats list
CpuStat *StatsMxedgeCpuStat `json:"cpu_stat,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// Indicate fips configuration on the device
FipsEnabled *bool `json:"fips_enabled,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
Fwupdate *FwupdateStat `json:"fwupdate,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// IDRAC version of the mist edge device
IdracVersion *string `json:"idrac_version,omitempty"`
// Inactive wired/L2TP VLANs. Entries can be individual VLANs or ranges.
InactiveVlanStrs *StatsMxedgeInactiveVlanStrs `json:"inactive_vlan_strs,omitempty"`
// IP stats
IpStat *StatsMxedgeIpStat `json:"ip_stat,omitempty"`
// Stat for LAG (Link Aggregation Group). Property key is the LAG name
LagStat map[string]StatsMxedgeLagStat `json:"lag_stat,omitempty"`
// Last seen timestamp
LastSeen Optional[float64] `json:"last_seen"`
Mac *string `json:"mac,omitempty"`
Magic *string `json:"magic,omitempty"`
// Memory usage
MemoryStat *StatsMxedgeMemoryStat `json:"memory_stat,omitempty"`
Model *string `json:"model,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
MxagentRegistered *bool `json:"mxagent_registered,omitempty"`
MxclusterId *uuid.UUID `json:"mxcluster_id,omitempty"`
// The name of the tunnel
Name *string `json:"name,omitempty"`
NumTunnels *int `json:"num_tunnels,omitempty"`
// IPconfiguration of the Mist Edge out-of_band management interface
OobIpConfig *MxedgeOobIpConfig `json:"oob_ip_config,omitempty"`
OobIpStat *StatsMxedgeOobIpStat `json:"oob_ip_stat,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
PortStat map[string]StatsMxedgePortStat `json:"port_stat,omitempty"`
Serial Optional[string] `json:"serial"`
// Stat for each services
ServiceStat map[string]StatsMxedgeServiceStat `json:"service_stat,omitempty"`
Services []string `json:"services,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Status *string `json:"status,omitempty"`
TuntermIpConfig *StatsMxedgeTuntermIpConfig `json:"tunterm_ip_config,omitempty"`
TuntermPortConfig *StatsMxedgeTuntermPortConfig `json:"tunterm_port_config,omitempty"`
TuntermRegistered *bool `json:"tunterm_registered,omitempty"`
TuntermStat *StatsMxedgeTuntermStat `json:"tunterm_stat,omitempty"`
Uptime *int `json:"uptime,omitempty"`
// Virtualization environment
VirtualizationType *string `json:"virtualization_type,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsMxedge represents a StatsMxedge struct.
func (StatsMxedge) MarshalJSON ¶ added in v0.3.0
func (s StatsMxedge) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxedge. It customizes the JSON marshaling process for StatsMxedge objects.
func (StatsMxedge) String ¶ added in v0.4.23
func (s StatsMxedge) String() string
String implements the fmt.Stringer interface for StatsMxedge, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsMxedge) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsMxedge) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxedge. It customizes the JSON unmarshaling process for StatsMxedge objects.
type StatsMxedgeCpuStat ¶ added in v0.3.0
type StatsMxedgeCpuStat struct {
Cpus map[string]CpuStat `json:"cpus,omitempty"`
// Percentage of Idle, Idle/(Idle + Busy) since last sampling
Idle *int `json:"idle,omitempty"`
// Percentage of Interrupt, (Irq + SoftIrq)/(Idle + Busy) since last sampling
Interrupt *int `json:"interrupt,omitempty"`
// Percentage of System, System/(Idle + Busy) since last sampling
System *int `json:"system,omitempty"`
// Percentage of load, Busy/(Idle + Busy) since last sampling
Usage *int `json:"usage,omitempty"`
// Percentage of User, User/(Idle + Busy) since last sampling
User *int `json:"user,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsMxedgeCpuStat represents a StatsMxedgeCpuStat struct. CPU/core stats list
func (StatsMxedgeCpuStat) MarshalJSON ¶ added in v0.3.0
func (s StatsMxedgeCpuStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxedgeCpuStat. It customizes the JSON marshaling process for StatsMxedgeCpuStat objects.
func (StatsMxedgeCpuStat) String ¶ added in v0.4.23
func (s StatsMxedgeCpuStat) String() string
String implements the fmt.Stringer interface for StatsMxedgeCpuStat, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsMxedgeCpuStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsMxedgeCpuStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxedgeCpuStat. It customizes the JSON unmarshaling process for StatsMxedgeCpuStat objects.
type StatsMxedgeInactiveVlanStrs ¶ added in v0.4.92
type StatsMxedgeInactiveVlanStrs struct {
// Inactive L2TP VLANs. Entries can be individual VLANs or ranges.
L2tp []string `json:"l2tp,omitempty"`
// Inactive wired VLANs. Entries can be individual VLANs or ranges.
Wired []string `json:"wired,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsMxedgeInactiveVlanStrs represents a StatsMxedgeInactiveVlanStrs struct. Inactive wired/L2TP VLANs. Entries can be individual VLANs or ranges.
func (StatsMxedgeInactiveVlanStrs) MarshalJSON ¶ added in v0.4.92
func (s StatsMxedgeInactiveVlanStrs) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxedgeInactiveVlanStrs. It customizes the JSON marshaling process for StatsMxedgeInactiveVlanStrs objects.
func (StatsMxedgeInactiveVlanStrs) String ¶ added in v0.4.92
func (s StatsMxedgeInactiveVlanStrs) String() string
String implements the fmt.Stringer interface for StatsMxedgeInactiveVlanStrs, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsMxedgeInactiveVlanStrs) UnmarshalJSON ¶ added in v0.4.92
func (s *StatsMxedgeInactiveVlanStrs) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxedgeInactiveVlanStrs. It customizes the JSON unmarshaling process for StatsMxedgeInactiveVlanStrs objects.
type StatsMxedgeIpStat ¶ added in v0.3.0
type StatsMxedgeIpStat struct {
Ip *string `json:"ip,omitempty"`
Ip6 *string `json:"ip6,omitempty"`
// Property key is the interface name. IPs for each net interface
Ips map[string]string `json:"ips,omitempty"`
// Property key is the interface name. MAC for each net interface
Macs map[string]string `json:"macs,omitempty"`
Netmask *string `json:"netmask,omitempty"`
Netmask6 *string `json:"netmask6,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsMxedgeIpStat represents a StatsMxedgeIpStat struct. IP stats
func (StatsMxedgeIpStat) MarshalJSON ¶ added in v0.3.0
func (s StatsMxedgeIpStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxedgeIpStat. It customizes the JSON marshaling process for StatsMxedgeIpStat objects.
func (StatsMxedgeIpStat) String ¶ added in v0.4.23
func (s StatsMxedgeIpStat) String() string
String implements the fmt.Stringer interface for StatsMxedgeIpStat, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsMxedgeIpStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsMxedgeIpStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxedgeIpStat. It customizes the JSON unmarshaling process for StatsMxedgeIpStat objects.
type StatsMxedgeLagStat ¶ added in v0.3.0
type StatsMxedgeLagStat struct {
// List of ports active on the LAG defined by the LACP
ActivePorts []string `json:"active_ports,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsMxedgeLagStat represents a StatsMxedgeLagStat struct.
func (StatsMxedgeLagStat) MarshalJSON ¶ added in v0.3.0
func (s StatsMxedgeLagStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxedgeLagStat. It customizes the JSON marshaling process for StatsMxedgeLagStat objects.
func (StatsMxedgeLagStat) String ¶ added in v0.4.23
func (s StatsMxedgeLagStat) String() string
String implements the fmt.Stringer interface for StatsMxedgeLagStat, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsMxedgeLagStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsMxedgeLagStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxedgeLagStat. It customizes the JSON unmarshaling process for StatsMxedgeLagStat objects.
type StatsMxedgeMemoryStat ¶ added in v0.3.0
type StatsMxedgeMemoryStat struct {
// The amount of memory, in kilobytes, that has been used more recently and is usually not reclaimed unless absolutely necessary.
Active *int `json:"active,omitempty"`
// An estimate of how much memory is available for starting new applications, without swapping.
Available *int64 `json:"available,omitempty"`
// The amount, in kilobytes, of temporary storage for raw disk blocks.
Buffers *int `json:"buffers,omitempty"`
// The amount of physical RAM, in kilobytes, used as cache memory.
Cached *int `json:"cached,omitempty"`
// The amount of physical RAM, in kilobytes, left unused by the system
Free *int64 `json:"free,omitempty"`
// The amount of memory, in kilobytes, that has been used less recently and is more eligible to be reclaimed for other purposes.
Inactive *int `json:"inactive,omitempty"`
// The amount of memory, in kilobytes, that has once been moved into swap, then back into the main memory, but still also remains in the swapfile.
SwapCached *int `json:"swap_cached,omitempty"`
// The total amount of swap free, in kilobytes.
SwapFree *int `json:"swap_free,omitempty"`
// The total amount of swap available, in kilobytes.
SwapTotal *int `json:"swap_total,omitempty"`
// Total amount of usable RAM, in kilobytes, which is physical RAM minus a number of reserved bits and the kernel binary code
Total *int64 `json:"total,omitempty"`
Usage *int `json:"usage,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsMxedgeMemoryStat represents a StatsMxedgeMemoryStat struct. Memory usage
func (StatsMxedgeMemoryStat) MarshalJSON ¶ added in v0.3.0
func (s StatsMxedgeMemoryStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxedgeMemoryStat. It customizes the JSON marshaling process for StatsMxedgeMemoryStat objects.
func (StatsMxedgeMemoryStat) String ¶ added in v0.4.23
func (s StatsMxedgeMemoryStat) String() string
String implements the fmt.Stringer interface for StatsMxedgeMemoryStat, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsMxedgeMemoryStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsMxedgeMemoryStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxedgeMemoryStat. It customizes the JSON unmarshaling process for StatsMxedgeMemoryStat objects.
type StatsMxedgeOobIpStat ¶ added in v0.3.17
type StatsMxedgeOobIpStat struct {
Dns []string `json:"dns,omitempty"`
Gateway *string `json:"gateway,omitempty"`
Gateway6 *string `json:"gateway6,omitempty"`
Ip *string `json:"ip,omitempty"`
Ip6 *string `json:"ip6,omitempty"`
Netmask *string `json:"netmask,omitempty"`
Netmask6 *string `json:"netmask6,omitempty"`
// enum: `dhcp`, `disabled`, `static`
Type *MxedgeMgmtOobIpTypeEnum `json:"type,omitempty"`
// enum: `autoconf`, `dhcp`, `disabled`, `static`
Type8 *MxedgeMgmtOobIpType6Enum `json:"type8,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsMxedgeOobIpStat represents a StatsMxedgeOobIpStat struct.
func (StatsMxedgeOobIpStat) MarshalJSON ¶ added in v0.3.17
func (s StatsMxedgeOobIpStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxedgeOobIpStat. It customizes the JSON marshaling process for StatsMxedgeOobIpStat objects.
func (StatsMxedgeOobIpStat) String ¶ added in v0.4.23
func (s StatsMxedgeOobIpStat) String() string
String implements the fmt.Stringer interface for StatsMxedgeOobIpStat, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsMxedgeOobIpStat) UnmarshalJSON ¶ added in v0.3.17
func (s *StatsMxedgeOobIpStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxedgeOobIpStat. It customizes the JSON unmarshaling process for StatsMxedgeOobIpStat objects.
type StatsMxedgePortStat ¶ added in v0.3.0
type StatsMxedgePortStat struct {
FullDuplex *bool `json:"full_duplex,omitempty"`
Lacp *StatsMxedgePortStatLacp `json:"lacp,omitempty"`
LldpStats *StatsMxedgePortStatLldpStats `json:"lldp_stats,omitempty"`
Mac *string `json:"mac,omitempty"`
// Amount of traffic received since connection
RxBytes Optional[int64] `json:"rx_bytes"`
RxErrors *int `json:"rx_errors,omitempty"`
// Amount of packets received since connection
RxPkts Optional[int64] `json:"rx_pkts"`
Sfp *StatsMxedgePortStatSfp `json:"sfp,omitempty"`
Speed *int `json:"speed,omitempty"`
State *string `json:"state,omitempty"`
// Amount of traffic sent since connection
TxBytes Optional[int64] `json:"tx_bytes"`
TxErrors *int `json:"tx_errors,omitempty"`
// Amount of packets sent since connection
TxPkts Optional[int64] `json:"tx_pkts"`
Up *bool `json:"up,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsMxedgePortStat represents a StatsMxedgePortStat struct.
func (StatsMxedgePortStat) MarshalJSON ¶ added in v0.3.0
func (s StatsMxedgePortStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxedgePortStat. It customizes the JSON marshaling process for StatsMxedgePortStat objects.
func (StatsMxedgePortStat) String ¶ added in v0.4.23
func (s StatsMxedgePortStat) String() string
String implements the fmt.Stringer interface for StatsMxedgePortStat, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsMxedgePortStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsMxedgePortStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxedgePortStat. It customizes the JSON unmarshaling process for StatsMxedgePortStat objects.
type StatsMxedgePortStatLacp ¶ added in v0.4.94
type StatsMxedgePortStatLacp struct {
MuxState *string `json:"mux_state,omitempty"`
RxLacpdu *int `json:"rx_lacpdu,omitempty"`
RxState *string `json:"rx_state,omitempty"`
TxLacpdu *int `json:"tx_lacpdu,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsMxedgePortStatLacp represents a StatsMxedgePortStatLacp struct.
func (StatsMxedgePortStatLacp) MarshalJSON ¶ added in v0.4.94
func (s StatsMxedgePortStatLacp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxedgePortStatLacp. It customizes the JSON marshaling process for StatsMxedgePortStatLacp objects.
func (StatsMxedgePortStatLacp) String ¶ added in v0.4.94
func (s StatsMxedgePortStatLacp) String() string
String implements the fmt.Stringer interface for StatsMxedgePortStatLacp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsMxedgePortStatLacp) UnmarshalJSON ¶ added in v0.4.94
func (s *StatsMxedgePortStatLacp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxedgePortStatLacp. It customizes the JSON unmarshaling process for StatsMxedgePortStatLacp objects.
type StatsMxedgePortStatLldpStats ¶ added in v0.4.94
type StatsMxedgePortStatLldpStats struct {
ChassisId *string `json:"chassis_id,omitempty"`
MgmtAddr *string `json:"mgmt_addr,omitempty"`
PortDesc *string `json:"port_desc,omitempty"`
PortId *string `json:"port_id,omitempty"`
SystemDesc *string `json:"system_desc,omitempty"`
SystemName *string `json:"system_name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsMxedgePortStatLldpStats represents a StatsMxedgePortStatLldpStats struct.
func (StatsMxedgePortStatLldpStats) MarshalJSON ¶ added in v0.4.94
func (s StatsMxedgePortStatLldpStats) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxedgePortStatLldpStats. It customizes the JSON marshaling process for StatsMxedgePortStatLldpStats objects.
func (StatsMxedgePortStatLldpStats) String ¶ added in v0.4.94
func (s StatsMxedgePortStatLldpStats) String() string
String implements the fmt.Stringer interface for StatsMxedgePortStatLldpStats, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsMxedgePortStatLldpStats) UnmarshalJSON ¶ added in v0.4.94
func (s *StatsMxedgePortStatLldpStats) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxedgePortStatLldpStats. It customizes the JSON unmarshaling process for StatsMxedgePortStatLldpStats objects.
type StatsMxedgePortStatSfp ¶ added in v0.4.94
type StatsMxedgePortStatSfp struct {
Codes *string `json:"codes,omitempty"`
Mbps *int `json:"mbps,omitempty"`
PartNo *string `json:"part_no,omitempty"`
SerialNo *string `json:"serial_no,omitempty"`
Type *int `json:"type,omitempty"`
Vendor *string `json:"vendor,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsMxedgePortStatSfp represents a StatsMxedgePortStatSfp struct.
func (StatsMxedgePortStatSfp) MarshalJSON ¶ added in v0.4.94
func (s StatsMxedgePortStatSfp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxedgePortStatSfp. It customizes the JSON marshaling process for StatsMxedgePortStatSfp objects.
func (StatsMxedgePortStatSfp) String ¶ added in v0.4.94
func (s StatsMxedgePortStatSfp) String() string
String implements the fmt.Stringer interface for StatsMxedgePortStatSfp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsMxedgePortStatSfp) UnmarshalJSON ¶ added in v0.4.94
func (s *StatsMxedgePortStatSfp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxedgePortStatSfp. It customizes the JSON unmarshaling process for StatsMxedgePortStatSfp objects.
type StatsMxedgeServiceStat ¶ added in v0.3.0
type StatsMxedgeServiceStat struct {
// External IP from ep-terminator’s point of view. valid only for service having its own cloud connection
ExtIp *string `json:"ext_ip,omitempty"`
// Timestamp when the last stats is seen (cloud unix time, in second). valid only for service having its own stats or whole system (last among last_seen of all services)
LastSeen *float64 `json:"last_seen,omitempty"`
// Package/service installation state.
PackageState *string `json:"package_state,omitempty"`
// Package/service installation state.
PackageVersion *string `json:"package_version,omitempty"`
// Service running state.
RunningState *string `json:"running_state,omitempty"`
// Service uptime.
Uptime *int `json:"uptime,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsMxedgeServiceStat represents a StatsMxedgeServiceStat struct.
func (StatsMxedgeServiceStat) MarshalJSON ¶ added in v0.3.0
func (s StatsMxedgeServiceStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxedgeServiceStat. It customizes the JSON marshaling process for StatsMxedgeServiceStat objects.
func (StatsMxedgeServiceStat) String ¶ added in v0.4.23
func (s StatsMxedgeServiceStat) String() string
String implements the fmt.Stringer interface for StatsMxedgeServiceStat, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsMxedgeServiceStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsMxedgeServiceStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxedgeServiceStat. It customizes the JSON unmarshaling process for StatsMxedgeServiceStat objects.
type StatsMxedgeTuntermIpConfig ¶ added in v0.3.0
type StatsMxedgeTuntermIpConfig struct {
Gateway *string `json:"gateway,omitempty"`
Ip *string `json:"ip,omitempty"`
Netmask *string `json:"netmask,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsMxedgeTuntermIpConfig represents a StatsMxedgeTuntermIpConfig struct.
func (StatsMxedgeTuntermIpConfig) MarshalJSON ¶ added in v0.3.0
func (s StatsMxedgeTuntermIpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxedgeTuntermIpConfig. It customizes the JSON marshaling process for StatsMxedgeTuntermIpConfig objects.
func (StatsMxedgeTuntermIpConfig) String ¶ added in v0.4.23
func (s StatsMxedgeTuntermIpConfig) String() string
String implements the fmt.Stringer interface for StatsMxedgeTuntermIpConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsMxedgeTuntermIpConfig) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsMxedgeTuntermIpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxedgeTuntermIpConfig. It customizes the JSON unmarshaling process for StatsMxedgeTuntermIpConfig objects.
type StatsMxedgeTuntermPortConfig ¶ added in v0.3.0
type StatsMxedgeTuntermPortConfig struct {
DownstreamPorts []string `json:"downstream_ports,omitempty"`
SeparateUpstreamDownstream *bool `json:"separate_upstream_downstream,omitempty"`
UpstreamPorts []string `json:"upstream_ports,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsMxedgeTuntermPortConfig represents a StatsMxedgeTuntermPortConfig struct.
func (StatsMxedgeTuntermPortConfig) MarshalJSON ¶ added in v0.3.0
func (s StatsMxedgeTuntermPortConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxedgeTuntermPortConfig. It customizes the JSON marshaling process for StatsMxedgeTuntermPortConfig objects.
func (StatsMxedgeTuntermPortConfig) String ¶ added in v0.4.23
func (s StatsMxedgeTuntermPortConfig) String() string
String implements the fmt.Stringer interface for StatsMxedgeTuntermPortConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsMxedgeTuntermPortConfig) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsMxedgeTuntermPortConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxedgeTuntermPortConfig. It customizes the JSON unmarshaling process for StatsMxedgeTuntermPortConfig objects.
type StatsMxedgeTuntermStat ¶ added in v0.3.0
type StatsMxedgeTuntermStat struct {
MonitoringFailed *bool `json:"monitoring_failed,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsMxedgeTuntermStat represents a StatsMxedgeTuntermStat struct.
func (StatsMxedgeTuntermStat) MarshalJSON ¶ added in v0.3.0
func (s StatsMxedgeTuntermStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxedgeTuntermStat. It customizes the JSON marshaling process for StatsMxedgeTuntermStat objects.
func (StatsMxedgeTuntermStat) String ¶ added in v0.4.23
func (s StatsMxedgeTuntermStat) String() string
String implements the fmt.Stringer interface for StatsMxedgeTuntermStat, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsMxedgeTuntermStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsMxedgeTuntermStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxedgeTuntermStat. It customizes the JSON unmarshaling process for StatsMxedgeTuntermStat objects.
type StatsMxtunnel ¶ added in v0.3.0
type StatsMxtunnel struct {
Ap *string `json:"ap,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
Fwupdate *FwupdateStat `json:"fwupdate,omitempty"`
// Last seen timestamp
LastSeen Optional[float64] `json:"last_seen"`
Mtu *int `json:"mtu,omitempty"`
MxclusterId *uuid.UUID `json:"mxcluster_id,omitempty"`
MxedgeId *uuid.UUID `json:"mxedge_id,omitempty"`
MxtunnelId *uuid.UUID `json:"mxtunnel_id,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// MxEdge ID of the peer(mist edge to mist edge tunnel)
PeerMxedgeId *uuid.UUID `json:"peer_mxedge_id,omitempty"`
RemoteIp string `json:"remote_ip"`
RemotePort *int `json:"remote_port,omitempty"`
RxControlPkts *int `json:"rx_control_pkts,omitempty"`
// List of sessions
Sessions []StatsMxtunnelSession `json:"sessions,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// enum: `established`, `established_with_sessions`, `idle`, `wait-ctrl-conn`, `wait-ctrl-reply`
State *StatsMxtunnelStateEnum `json:"state,omitempty"`
TxControlPkts *int `json:"tx_control_pkts,omitempty"`
Uptime *int `json:"uptime,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsMxtunnel represents a StatsMxtunnel struct. MxTunnels statistics
func (StatsMxtunnel) MarshalJSON ¶ added in v0.3.0
func (s StatsMxtunnel) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxtunnel. It customizes the JSON marshaling process for StatsMxtunnel objects.
func (StatsMxtunnel) String ¶ added in v0.4.23
func (s StatsMxtunnel) String() string
String implements the fmt.Stringer interface for StatsMxtunnel, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsMxtunnel) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsMxtunnel) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxtunnel. It customizes the JSON unmarshaling process for StatsMxtunnel objects.
type StatsMxtunnelSession ¶ added in v0.3.0
type StatsMxtunnelSession struct {
// Remote sessions id (dynamically unless Tunnel is said to be static)
LocalSid int `json:"local_sid"`
// WxlanTunnel Remote ID
RemoteId string `json:"remote_id"`
// Remote sessions id (dynamically unless Tunnel is said to be static)
RemoteSid int `json:"remote_sid"`
State string `json:"state"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsMxtunnelSession represents a StatsMxtunnelSession struct.
func (StatsMxtunnelSession) MarshalJSON ¶ added in v0.3.0
func (s StatsMxtunnelSession) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxtunnelSession. It customizes the JSON marshaling process for StatsMxtunnelSession objects.
func (StatsMxtunnelSession) String ¶ added in v0.4.23
func (s StatsMxtunnelSession) String() string
String implements the fmt.Stringer interface for StatsMxtunnelSession, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsMxtunnelSession) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsMxtunnelSession) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxtunnelSession. It customizes the JSON unmarshaling process for StatsMxtunnelSession objects.
type StatsMxtunnelStateEnum ¶ added in v0.3.0
type StatsMxtunnelStateEnum string
StatsMxtunnelStateEnum is a string enum. enum: `established`, `established_with_sessions`, `idle`, `wait-ctrl-conn`, `wait-ctrl-reply`
const ( StatsMxtunnelStateEnum_ESTABLISHED StatsMxtunnelStateEnum = "established" StatsMxtunnelStateEnum_ESTABLISHEDWITHSESSIONS StatsMxtunnelStateEnum = "established_with_sessions" StatsMxtunnelStateEnum_IDLE StatsMxtunnelStateEnum = "idle" StatsMxtunnelStateEnum_WAITCTRLCONN StatsMxtunnelStateEnum = "wait-ctrl-conn" StatsMxtunnelStateEnum_WAITCTRLREPLY StatsMxtunnelStateEnum = "wait-ctrl-reply" )
type StatsOrg ¶ added in v0.3.0
type StatsOrg struct {
AlarmtemplateId uuid.UUID `json:"alarmtemplate_id"`
AllowMist bool `json:"allow_mist"`
// When the object has been created, in epoch
CreatedTime float64 `json:"created_time"`
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
// When the object has been modified for the last time, in epoch
ModifiedTime float64 `json:"modified_time"`
MspId uuid.UUID `json:"msp_id"`
Name string `json:"name"`
NumDevices int `json:"num_devices"`
NumDevicesConnected int `json:"num_devices_connected"`
NumDevicesDisconnected int `json:"num_devices_disconnected"`
NumInventory int `json:"num_inventory"`
NumSites int `json:"num_sites"`
OrggroupIds []uuid.UUID `json:"orggroup_ids"`
SessionExpiry int64 `json:"session_expiry"`
Sle []StatsOrgSle `json:"sle"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsOrg represents a StatsOrg struct. Org statistics
func (StatsOrg) MarshalJSON ¶ added in v0.3.0
MarshalJSON implements the json.Marshaler interface for StatsOrg. It customizes the JSON marshaling process for StatsOrg objects.
func (StatsOrg) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for StatsOrg, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsOrg) UnmarshalJSON ¶ added in v0.3.0
UnmarshalJSON implements the json.Unmarshaler interface for StatsOrg. It customizes the JSON unmarshaling process for StatsOrg objects.
type StatsOrgSle ¶ added in v0.3.0
type StatsOrgSle struct {
Path string `json:"path"`
UserMinutes *StatsOrgSleUserMinutes `json:"user_minutes,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsOrgSle represents a StatsOrgSle struct.
func (StatsOrgSle) MarshalJSON ¶ added in v0.3.0
func (s StatsOrgSle) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsOrgSle. It customizes the JSON marshaling process for StatsOrgSle objects.
func (StatsOrgSle) String ¶ added in v0.4.23
func (s StatsOrgSle) String() string
String implements the fmt.Stringer interface for StatsOrgSle, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsOrgSle) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsOrgSle) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsOrgSle. It customizes the JSON unmarshaling process for StatsOrgSle objects.
type StatsOrgSleUserMinutes ¶ added in v0.3.0
type StatsOrgSleUserMinutes struct {
Ok float64 `json:"ok"`
Total float64 `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsOrgSleUserMinutes represents a StatsOrgSleUserMinutes struct.
func (StatsOrgSleUserMinutes) MarshalJSON ¶ added in v0.3.0
func (s StatsOrgSleUserMinutes) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsOrgSleUserMinutes. It customizes the JSON marshaling process for StatsOrgSleUserMinutes objects.
func (StatsOrgSleUserMinutes) String ¶ added in v0.4.23
func (s StatsOrgSleUserMinutes) String() string
String implements the fmt.Stringer interface for StatsOrgSleUserMinutes, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsOrgSleUserMinutes) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsOrgSleUserMinutes) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsOrgSleUserMinutes. It customizes the JSON unmarshaling process for StatsOrgSleUserMinutes objects.
type StatsRssiZone ¶ added in v0.4.18
type StatsRssiZone struct {
// BLE asset wait time right now
AssetsWait *StatsZoneAssetsWaits `json:"assets_wait,omitempty"`
// Client wait time right now
ClientsWait *StatsZoneClientsWaits `json:"clients_wait,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
Devices []StatsRssiZonesDevice `json:"devices"`
// Discovered asset wait time right now
DiscoveredAssetsWait *StatsZoneDiscoveredAssetsWaits `json:"discovered_assets_wait,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
// Name of the zone
Name string `json:"name"`
// Number of assets
NumAssets *int `json:"num_assets,omitempty"`
// Number of Wi-Fi clients (unconnected + connected)
NumClients *int `json:"num_clients,omitempty"`
// Number of discoveredassets
NumDiscoveredAssets *int `json:"num_discovered_assets,omitempty"`
// Number of sdk clients
NumSdkclients *int `json:"num_sdkclients,omitempty"`
// Number of unconnected Wi-Fi clients
NumUnconnectedClients *int `json:"num_unconnected_clients,omitempty"`
OccupancyLimit *int `json:"occupancy_limit,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// SDK client wait time right now
SdkclientsWait *StatsZoneSdkclientsWaits `json:"sdkclients_wait,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Unconnected Wi-Fi client wait time right now
UnconnectedClientsWait *StatsZoneUnconnectedClientsWaits `json:"unconnected_clients_wait,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsRssiZone represents a StatsRssiZone struct. Zone statistics
func (StatsRssiZone) MarshalJSON ¶ added in v0.4.18
func (s StatsRssiZone) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsRssiZone. It customizes the JSON marshaling process for StatsRssiZone objects.
func (StatsRssiZone) String ¶ added in v0.4.23
func (s StatsRssiZone) String() string
String implements the fmt.Stringer interface for StatsRssiZone, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsRssiZone) UnmarshalJSON ¶ added in v0.4.18
func (s *StatsRssiZone) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsRssiZone. It customizes the JSON unmarshaling process for StatsRssiZone objects.
type StatsRssiZonesDevice ¶ added in v0.4.18
type StatsRssiZonesDevice struct {
DeviceId *uuid.UUID `json:"device_id,omitempty"`
Rssi *int `json:"rssi,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsRssiZonesDevice represents a StatsRssiZonesDevice struct.
func (StatsRssiZonesDevice) MarshalJSON ¶ added in v0.4.18
func (s StatsRssiZonesDevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsRssiZonesDevice. It customizes the JSON marshaling process for StatsRssiZonesDevice objects.
func (StatsRssiZonesDevice) String ¶ added in v0.4.23
func (s StatsRssiZonesDevice) String() string
String implements the fmt.Stringer interface for StatsRssiZonesDevice, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsRssiZonesDevice) UnmarshalJSON ¶ added in v0.4.18
func (s *StatsRssiZonesDevice) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsRssiZonesDevice. It customizes the JSON unmarshaling process for StatsRssiZonesDevice objects.
type StatsSdkclient ¶ added in v0.3.0
type StatsSdkclient struct {
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
// Last seen timestamp
LastSeen Optional[float64] `json:"last_seen"`
// Map_id of the sdk client (if known), or null
MapId Optional[uuid.UUID] `json:"map_id"`
// Name of the sdk client (if provided)
Name *string `json:"name,omitempty"`
// Various network connection info for the SDK client (if known, else omitted), with RSSI in dBm, and signal level as
NetworkConnection StatsSdkclientNetworkConnection `json:"network_connection"`
// UUID of the sdk client
Uuid uuid.UUID `json:"uuid"`
// X (in pixels) of user location on the map (if known)
X *float64 `json:"x,omitempty"`
// Y (in pixels) of user location on the map (if known)
Y *float64 `json:"y,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsSdkclient represents a StatsSdkclient struct. SDK Client statistics
func (StatsSdkclient) MarshalJSON ¶ added in v0.3.0
func (s StatsSdkclient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsSdkclient. It customizes the JSON marshaling process for StatsSdkclient objects.
func (StatsSdkclient) String ¶ added in v0.4.23
func (s StatsSdkclient) String() string
String implements the fmt.Stringer interface for StatsSdkclient, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsSdkclient) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsSdkclient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsSdkclient. It customizes the JSON unmarshaling process for StatsSdkclient objects.
type StatsSdkclientNetworkConnection ¶ added in v0.3.0
type StatsSdkclientNetworkConnection struct {
Mac string `json:"mac"`
Rssi float64 `json:"rssi"`
SignalLevel float64 `json:"signal_level"`
Type string `json:"type"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsSdkclientNetworkConnection represents a StatsSdkclientNetworkConnection struct. Various network connection info for the SDK client (if known, else omitted), with RSSI in dBm, and signal level as
func (StatsSdkclientNetworkConnection) MarshalJSON ¶ added in v0.3.0
func (s StatsSdkclientNetworkConnection) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsSdkclientNetworkConnection. It customizes the JSON marshaling process for StatsSdkclientNetworkConnection objects.
func (StatsSdkclientNetworkConnection) String ¶ added in v0.4.23
func (s StatsSdkclientNetworkConnection) String() string
String implements the fmt.Stringer interface for StatsSdkclientNetworkConnection, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsSdkclientNetworkConnection) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsSdkclientNetworkConnection) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsSdkclientNetworkConnection. It customizes the JSON unmarshaling process for StatsSdkclientNetworkConnection objects.
type StatsSite ¶
type StatsSite struct {
Address *string `json:"address,omitempty"`
AlarmtemplateId Optional[uuid.UUID] `json:"alarmtemplate_id"`
AnalyticEnabled *bool `json:"analyticEnabled,omitempty"`
AptemplateId Optional[uuid.UUID] `json:"aptemplate_id"`
CountryCode string `json:"country_code"`
// When the object has been created, in epoch
CreatedTime float64 `json:"created_time"`
EngagementEnabled *bool `json:"engagementEnabled,omitempty"`
GatewaytemplateId Optional[uuid.UUID] `json:"gatewaytemplate_id"`
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
Lat *float64 `json:"lat,omitempty"`
Latlng LatLng `json:"latlng"`
Lng *float64 `json:"lng,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime float64 `json:"modified_time"`
MspId *uuid.UUID `json:"msp_id,omitempty"`
Name string `json:"name"`
NetworktemplateId Optional[uuid.UUID] `json:"networktemplate_id"`
Notes *string `json:"notes,omitempty"`
NumAp int `json:"num_ap"`
NumApConnected int `json:"num_ap_connected"`
NumClients int `json:"num_clients"`
NumDevices int `json:"num_devices"`
NumDevicesConnected int `json:"num_devices_connected"`
NumGateway int `json:"num_gateway"`
NumGatewayConnected int `json:"num_gateway_connected"`
NumSwitch int `json:"num_switch"`
NumSwitchConnected int `json:"num_switch_connected"`
OrgId uuid.UUID `json:"org_id"`
RftemplateId Optional[uuid.UUID] `json:"rftemplate_id"`
SecpolicyId Optional[uuid.UUID] `json:"secpolicy_id"`
SitegroupIds []uuid.UUID `json:"sitegroup_ids,omitempty"`
SitetemplateId Optional[uuid.UUID] `json:"sitetemplate_id"`
Timezone string `json:"timezone"`
Tzoffset int `json:"tzoffset"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsSite represents a StatsSite struct. Site statistics
func (StatsSite) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for StatsSite. It customizes the JSON marshaling process for StatsSite objects.
func (StatsSite) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for StatsSite, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsSite) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for StatsSite. It customizes the JSON unmarshaling process for StatsSite objects.
type StatsSwitch ¶ added in v0.3.0
type StatsSwitch struct {
ApRedundancy *StatsSwitchApRedundancy `json:"ap_redundancy,omitempty"`
ArpTableStats *ArpTableStats `json:"arp_table_stats,omitempty"`
AutoUpgradeStat *StatsApAutoUpgrade `json:"auto_upgrade_stat,omitempty"`
CertExpiry *int64 `json:"cert_expiry,omitempty"`
Clients []StatsSwitchClientItem `json:"clients,omitempty"`
ClientsStats *StatsSwitchClientsStats `json:"clients_stats,omitempty"`
ConfigStatus *string `json:"config_status,omitempty"`
ConfigTimestamp *int `json:"config_timestamp,omitempty"`
ConfigVersion *int `json:"config_version,omitempty"`
CpuStat *CpuStat `json:"cpu_stat,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
DeviceprofileId Optional[uuid.UUID] `json:"deviceprofile_id"`
// Property key is the network name
DhcpdStat map[string]DhcpdStatLan `json:"dhcpd_stat,omitempty"`
EvpntopoId Optional[uuid.UUID] `json:"evpntopo_id"`
ExtIp *string `json:"ext_ip,omitempty"`
FwVersionsOutofsync *bool `json:"fw_versions_outofsync,omitempty"`
Fwupdate *FwupdateStat `json:"fwupdate,omitempty"`
// Whether the switch supports packet capture
HasPcap *bool `json:"has_pcap,omitempty"`
// Hostname reported by the device
Hostname *string `json:"hostname,omitempty"`
// Device hardware revision number
HwRev *string `json:"hw_rev,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// Property key is the interface name
IfStat map[string]IfStatProperty `json:"if_stat,omitempty"`
Ip *string `json:"ip,omitempty"`
IpStat *IpStat `json:"ip_stat,omitempty"`
// Last seen timestamp
LastSeen Optional[float64] `json:"last_seen"`
// Last trouble code of switch
LastTrouble *LastTrouble `json:"last_trouble,omitempty"`
Mac *string `json:"mac,omitempty"`
MacTableStats *MacTableStats `json:"mac_table_stats,omitempty"`
MapId Optional[uuid.UUID] `json:"map_id"`
// Memory usage stat (for virtual chassis, memory usage of master RE)
MemoryStat *MemoryStat `json:"memory_stat,omitempty"`
Model *string `json:"model,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
ModuleStat []StatsSwitchModuleStatItem `json:"module_stat,omitempty"`
// Device name if configured
Name *string `json:"name,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
Ports []StatsSwitchPort `json:"ports,omitempty"`
RouteSummaryStats *RouteSummaryStats `json:"route_summary_stats,omitempty"`
Serial *string `json:"serial,omitempty"`
ServiceStat map[string]ServiceStatProperty `json:"service_stat,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Status *string `json:"status,omitempty"`
TagId *int `json:"tag_id,omitempty"`
TagUuid *uuid.UUID `json:"tag_uuid,omitempty"`
// Device Type. enum: `switch`
Type string `json:"type"`
Uptime Optional[float64] `json:"uptime"`
VcMac Optional[string] `json:"vc_mac"`
VcSetupInfo *StatsSwitchVcSetupInfo `json:"vc_setup_info,omitempty"`
Version Optional[string] `json:"version"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsSwitch represents a StatsSwitch struct. Switch statistics
func (StatsSwitch) MarshalJSON ¶ added in v0.3.0
func (s StatsSwitch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsSwitch. It customizes the JSON marshaling process for StatsSwitch objects.
func (StatsSwitch) String ¶ added in v0.4.23
func (s StatsSwitch) String() string
String implements the fmt.Stringer interface for StatsSwitch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsSwitch) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsSwitch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsSwitch. It customizes the JSON unmarshaling process for StatsSwitch objects.
type StatsSwitchApRedundancy ¶ added in v0.3.0
type StatsSwitchApRedundancy struct {
// For a VC / stacked switches.
Modules map[string]StatsSwitchApRedundancyModule `json:"modules,omitempty"`
NumAps *int `json:"num_aps,omitempty"`
NumApsWithSwitchRedundancy *int `json:"num_aps_with_switch_redundancy,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsSwitchApRedundancy represents a StatsSwitchApRedundancy struct.
func (StatsSwitchApRedundancy) MarshalJSON ¶ added in v0.3.0
func (s StatsSwitchApRedundancy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsSwitchApRedundancy. It customizes the JSON marshaling process for StatsSwitchApRedundancy objects.
func (StatsSwitchApRedundancy) String ¶ added in v0.4.23
func (s StatsSwitchApRedundancy) String() string
String implements the fmt.Stringer interface for StatsSwitchApRedundancy, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsSwitchApRedundancy) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsSwitchApRedundancy) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsSwitchApRedundancy. It customizes the JSON unmarshaling process for StatsSwitchApRedundancy objects.
type StatsSwitchApRedundancyModule ¶ added in v0.3.0
type StatsSwitchApRedundancyModule struct {
NumAps *int `json:"num_aps,omitempty"`
NumApsWithSwitchRedundancy *int `json:"num_aps_with_switch_redundancy,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsSwitchApRedundancyModule represents a StatsSwitchApRedundancyModule struct.
func (StatsSwitchApRedundancyModule) MarshalJSON ¶ added in v0.3.0
func (s StatsSwitchApRedundancyModule) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsSwitchApRedundancyModule. It customizes the JSON marshaling process for StatsSwitchApRedundancyModule objects.
func (StatsSwitchApRedundancyModule) String ¶ added in v0.4.23
func (s StatsSwitchApRedundancyModule) String() string
String implements the fmt.Stringer interface for StatsSwitchApRedundancyModule, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsSwitchApRedundancyModule) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsSwitchApRedundancyModule) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsSwitchApRedundancyModule. It customizes the JSON unmarshaling process for StatsSwitchApRedundancyModule objects.
type StatsSwitchClientItem ¶ added in v0.3.0
type StatsSwitchClientItem struct {
DeviceMac *string `json:"device_mac,omitempty"`
Hostname *string `json:"hostname,omitempty"`
Mac *string `json:"mac,omitempty"`
PortId *string `json:"port_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsSwitchClientItem represents a StatsSwitchClientItem struct.
func (StatsSwitchClientItem) MarshalJSON ¶ added in v0.3.0
func (s StatsSwitchClientItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsSwitchClientItem. It customizes the JSON marshaling process for StatsSwitchClientItem objects.
func (StatsSwitchClientItem) String ¶ added in v0.4.23
func (s StatsSwitchClientItem) String() string
String implements the fmt.Stringer interface for StatsSwitchClientItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsSwitchClientItem) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsSwitchClientItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsSwitchClientItem. It customizes the JSON unmarshaling process for StatsSwitchClientItem objects.
type StatsSwitchClientsStats ¶ added in v0.3.0
type StatsSwitchClientsStats struct {
Total *StatsSwitchClientsStatsTotal `json:"total,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsSwitchClientsStats represents a StatsSwitchClientsStats struct.
func (StatsSwitchClientsStats) MarshalJSON ¶ added in v0.3.0
func (s StatsSwitchClientsStats) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsSwitchClientsStats. It customizes the JSON marshaling process for StatsSwitchClientsStats objects.
func (StatsSwitchClientsStats) String ¶ added in v0.4.23
func (s StatsSwitchClientsStats) String() string
String implements the fmt.Stringer interface for StatsSwitchClientsStats, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsSwitchClientsStats) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsSwitchClientsStats) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsSwitchClientsStats. It customizes the JSON unmarshaling process for StatsSwitchClientsStats objects.
type StatsSwitchClientsStatsTotal ¶ added in v0.3.0
type StatsSwitchClientsStatsTotal struct {
NumAps []int `json:"num_aps,omitempty"`
NumWiredClients *int `json:"num_wired_clients,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsSwitchClientsStatsTotal represents a StatsSwitchClientsStatsTotal struct.
func (StatsSwitchClientsStatsTotal) MarshalJSON ¶ added in v0.3.0
func (s StatsSwitchClientsStatsTotal) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsSwitchClientsStatsTotal. It customizes the JSON marshaling process for StatsSwitchClientsStatsTotal objects.
func (StatsSwitchClientsStatsTotal) String ¶ added in v0.4.23
func (s StatsSwitchClientsStatsTotal) String() string
String implements the fmt.Stringer interface for StatsSwitchClientsStatsTotal, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsSwitchClientsStatsTotal) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsSwitchClientsStatsTotal) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsSwitchClientsStatsTotal. It customizes the JSON unmarshaling process for StatsSwitchClientsStatsTotal objects.
type StatsSwitchModuleStatItem ¶ added in v0.4.61
type StatsSwitchModuleStatItem struct {
BackupVersion Optional[string] `json:"backup_version"`
BiosVersion Optional[string] `json:"bios_version"`
BootPartition *string `json:"boot_partition,omitempty"`
CpldVersion Optional[string] `json:"cpld_version"`
CpuStat *CpuStat `json:"cpu_stat,omitempty"`
// Used to report all error states the device node is running into. An error should always have `type` and `since` fields, and could have some other fields specific to that type.
Errors []ModuleStatItemErrorsItems `json:"errors,omitempty"`
Fans []ModuleStatItemFansItems `json:"fans,omitempty"`
FpcIdx *int `json:"fpc_idx,omitempty"`
FpgaVersion Optional[string] `json:"fpga_version"`
// Last seen timestamp
LastSeen Optional[float64] `json:"last_seen"`
Locating *bool `json:"locating,omitempty"`
Mac *string `json:"mac,omitempty"`
// Memory usage stat (for virtual chassis, memory usage of master RE)
MemoryStat *MemoryStat `json:"memory_stat,omitempty"`
Model Optional[string] `json:"model"`
OpticsCpldVersion Optional[string] `json:"optics_cpld_version"`
PendingVersion Optional[string] `json:"pending_version"`
Pics []ModuleStatItemPicsItem `json:"pics,omitempty"`
Poe *ModuleStatItemPoe `json:"poe,omitempty"`
PoeVersion Optional[string] `json:"poe_version"`
PowerCpldVersion Optional[string] `json:"power_cpld_version"`
Psus []ModuleStatItemPsusItem `json:"psus,omitempty"`
ReFpgaVersion Optional[string] `json:"re_fpga_version"`
RecoveryVersion Optional[string] `json:"recovery_version"`
Serial Optional[string] `json:"serial"`
Status Optional[string] `json:"status"`
Temperatures []ModuleStatItemTemperaturesItem `json:"temperatures,omitempty"`
TmcFpgaVersion Optional[string] `json:"tmc_fpga_version"`
Type Optional[string] `json:"type"`
UbootVersion Optional[string] `json:"uboot_version"`
Uptime Optional[int] `json:"uptime"`
VcLinks []ModuleStatItemVcLinksItem `json:"vc_links,omitempty"`
VcMode Optional[string] `json:"vc_mode"`
// enum: `master`, `backup`, `linecard`
VcRole Optional[string] `json:"vc_role"`
VcState Optional[string] `json:"vc_state"`
Version Optional[string] `json:"version"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsSwitchModuleStatItem represents a StatsSwitchModuleStatItem struct.
func (StatsSwitchModuleStatItem) MarshalJSON ¶ added in v0.4.61
func (s StatsSwitchModuleStatItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsSwitchModuleStatItem. It customizes the JSON marshaling process for StatsSwitchModuleStatItem objects.
func (StatsSwitchModuleStatItem) String ¶ added in v0.4.61
func (s StatsSwitchModuleStatItem) String() string
String implements the fmt.Stringer interface for StatsSwitchModuleStatItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsSwitchModuleStatItem) UnmarshalJSON ¶ added in v0.4.61
func (s *StatsSwitchModuleStatItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsSwitchModuleStatItem. It customizes the JSON unmarshaling process for StatsSwitchModuleStatItem objects.
type StatsSwitchPort ¶ added in v0.3.0
type StatsSwitchPort struct {
// Indicates if interface is active/inactive
Active *bool `json:"active,omitempty"`
// if `up`==`true` and has Authenticator role. enum: `authenticated`, `authenticating`, `held`, `init`
AuthState *StatsSwitchPortAuthStateEnum `json:"auth_state,omitempty"`
// Indicates if interface is disabled
Disabled *bool `json:"disabled,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// Indicates full or half duplex
FullDuplex *bool `json:"full_duplex,omitempty"`
// Last sampled jitter of the interface
Jitter *float64 `json:"jitter,omitempty"`
// Indicates when the port was last flapped
LastFlapped *float64 `json:"last_flapped,omitempty"`
// Last sampled latency of the interface
Latency *float64 `json:"latency,omitempty"`
// Last sampled loss of the interface
Loss *float64 `json:"loss,omitempty"`
// LTE ICCID value, Check for null/empty
LteIccid Optional[string] `json:"lte_iccid"`
// LTE IMEI value, Check for null/empty
LteImei Optional[string] `json:"lte_imei"`
// LTE IMSI value, Check for null/empty
LteImsi Optional[string] `json:"lte_imsi"`
Mac string `json:"mac"`
// Number of mac addresses in the forwarding table
MacCount *int `json:"mac_count,omitempty"`
// Limit on number of dynamically learned macs
MacLimit *int `json:"mac_limit,omitempty"`
// chassis identifier of the chassis type listed
NeighborMac string `json:"neighbor_mac"`
// Description supplied by the system on the interface E.g. "GigabitEthernet2/0/39"
NeighborPortDesc *string `json:"neighbor_port_desc,omitempty"`
// Name supplied by the system on the interface E.g. neighbor system name E.g. "Kumar-Acc-SW.mist.local"
NeighborSystemName *string `json:"neighbor_system_name,omitempty"`
OrgId uuid.UUID `json:"org_id"`
// Is the POE disabled
PoeDisabled *bool `json:"poe_disabled,omitempty"`
// enum: `802.3af`, `802.3at`, `802.3bt`
PoeMode *StatsSwitchPortPoeModeEnum `json:"poe_mode,omitempty"`
// Is the device attached to POE
PoeOn *bool `json:"poe_on,omitempty"`
// PoE priority. enum: `low`, `high`
PoePriority *PoePriorityEnum `json:"poe_priority,omitempty"`
PortId string `json:"port_id"`
// Interface MAC address
PortMac string `json:"port_mac"`
// gateway port usage. enum: `lan`
PortUsage *StatsSwitchPortPortUsageEnum `json:"port_usage,omitempty"`
// Amount of power being used by the interface at the time the command is executed. Unit in watts.
PowerDraw *float64 `json:"power_draw,omitempty"`
// Broadcast input packets
RxBcastPkts *int `json:"rx_bcast_pkts,omitempty"`
// Rate of receiving traffic, bits/seconds, last known
RxBps Optional[int64] `json:"rx_bps"`
// Amount of traffic received since connection
RxBytes Optional[int64] `json:"rx_bytes"`
// Input errors
RxErrors *int `json:"rx_errors,omitempty"`
// Multicast input packets
RxMcastPkts *int `json:"rx_mcast_pkts,omitempty"`
// Amount of packets received since connection
RxPkts Optional[int64] `json:"rx_pkts"`
SiteId uuid.UUID `json:"site_id"`
// Port speed
Speed *int `json:"speed,omitempty"`
// if `up`==`true`. enum: `alternate`, `backup`, `designated`, `root`, `root-prevented`
StpRole *StatsSwitchPortStpRoleEnum `json:"stp_role,omitempty"`
// if `up`==`true`. enum: `blocking`, `disabled`, `forwarding`, `learning`, `listening`
StpState *StatsSwitchPortStpStateEnum `json:"stp_state,omitempty"`
// Broadcast output packets
TxBcastPkts *int `json:"tx_bcast_pkts,omitempty"`
// Rate of transmitting traffic, bits/seconds, last known
TxBps Optional[int64] `json:"tx_bps"`
// Amount of traffic sent since connection
TxBytes Optional[int64] `json:"tx_bytes"`
// Output errors
TxErrors *int `json:"tx_errors,omitempty"`
// Multicast output packets
TxMcastPkts *int `json:"tx_mcast_pkts,omitempty"`
// Amount of packets sent since connection
TxPkts Optional[int64] `json:"tx_pkts"`
// device type. enum: `ap`, `ble`, `gateway`, `mxedge`, `nac`, `switch`
Type *StatsSwitchPortTypeEnum `json:"type,omitempty"`
// Indicates if interface is unconfigured
Unconfigured *bool `json:"unconfigured,omitempty"`
// Indicates if interface is up
Up *bool `json:"up,omitempty"`
// Optic Slot ModelName, Check for null/empty
XcvrModel *string `json:"xcvr_model,omitempty"`
// Optic Slot Partnumber, Check for null/empty
XcvrPartNumber *string `json:"xcvr_part_number,omitempty"`
// Optic Slot SerialNumber, Check for null/empty
XcvrSerial *string `json:"xcvr_serial,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsSwitchPort represents a StatsSwitchPort struct. Switch port statistics
func (StatsSwitchPort) MarshalJSON ¶ added in v0.3.0
func (s StatsSwitchPort) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsSwitchPort. It customizes the JSON marshaling process for StatsSwitchPort objects.
func (StatsSwitchPort) String ¶ added in v0.4.23
func (s StatsSwitchPort) String() string
String implements the fmt.Stringer interface for StatsSwitchPort, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsSwitchPort) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsSwitchPort) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsSwitchPort. It customizes the JSON unmarshaling process for StatsSwitchPort objects.
type StatsSwitchPortAuthStateEnum ¶ added in v0.3.0
type StatsSwitchPortAuthStateEnum string
StatsSwitchPortAuthStateEnum is a string enum. if `up`==`true` and has Authenticator role. enum: `authenticated`, `authenticating`, `held`, `init`
const ( StatsSwitchPortAuthStateEnum_AUTHENTICATED StatsSwitchPortAuthStateEnum = "authenticated" StatsSwitchPortAuthStateEnum_AUTHENTICATING StatsSwitchPortAuthStateEnum = "authenticating" StatsSwitchPortAuthStateEnum_HELD StatsSwitchPortAuthStateEnum = "held" StatsSwitchPortAuthStateEnum_INIT StatsSwitchPortAuthStateEnum = "init" )
type StatsSwitchPortPoeModeEnum ¶ added in v0.3.0
type StatsSwitchPortPoeModeEnum string
StatsSwitchPortPoeModeEnum is a string enum. enum: `802.3af`, `802.3at`, `802.3bt`
const ( StatsSwitchPortPoeModeEnum_ENUM8023AF StatsSwitchPortPoeModeEnum = "802.3af" StatsSwitchPortPoeModeEnum_ENUM8023AT StatsSwitchPortPoeModeEnum = "802.3at" StatsSwitchPortPoeModeEnum_ENUM8023BT StatsSwitchPortPoeModeEnum = "802.3bt" )
type StatsSwitchPortPortUsageEnum ¶ added in v0.3.0
type StatsSwitchPortPortUsageEnum string
StatsSwitchPortPortUsageEnum is a string enum. gateway port usage. enum: `lan`
const (
StatsSwitchPortPortUsageEnum_LAN StatsSwitchPortPortUsageEnum = "lan"
)
type StatsSwitchPortStpRoleEnum ¶ added in v0.3.0
type StatsSwitchPortStpRoleEnum string
StatsSwitchPortStpRoleEnum is a string enum. if `up`==`true`. enum: `alternate`, `backup`, `designated`, `root`, `root-prevented`
const ( StatsSwitchPortStpRoleEnum_ALTERNATE StatsSwitchPortStpRoleEnum = "alternate" StatsSwitchPortStpRoleEnum_BACKUP StatsSwitchPortStpRoleEnum = "backup" StatsSwitchPortStpRoleEnum_DESIGNATED StatsSwitchPortStpRoleEnum = "designated" StatsSwitchPortStpRoleEnum_ROOT StatsSwitchPortStpRoleEnum = "root" StatsSwitchPortStpRoleEnum_ROOTPREVENTED StatsSwitchPortStpRoleEnum = "root-prevented" )
type StatsSwitchPortStpStateEnum ¶ added in v0.3.0
type StatsSwitchPortStpStateEnum string
StatsSwitchPortStpStateEnum is a string enum. if `up`==`true`. enum: `blocking`, `disabled`, `forwarding`, `learning`, `listening`
const ( StatsSwitchPortStpStateEnum_BLOCKING StatsSwitchPortStpStateEnum = "blocking" StatsSwitchPortStpStateEnum_DISABLED StatsSwitchPortStpStateEnum = "disabled" StatsSwitchPortStpStateEnum_FORWARDING StatsSwitchPortStpStateEnum = "forwarding" StatsSwitchPortStpStateEnum_LEARNING StatsSwitchPortStpStateEnum = "learning" StatsSwitchPortStpStateEnum_LISTENING StatsSwitchPortStpStateEnum = "listening" )
type StatsSwitchPortTypeEnum ¶ added in v0.3.0
type StatsSwitchPortTypeEnum string
StatsSwitchPortTypeEnum is a string enum. device type. enum: `ap`, `ble`, `gateway`, `mxedge`, `nac`, `switch`
const ( StatsSwitchPortTypeEnum_AP StatsSwitchPortTypeEnum = "ap" StatsSwitchPortTypeEnum_BLE StatsSwitchPortTypeEnum = "ble" StatsSwitchPortTypeEnum_GATEWAY StatsSwitchPortTypeEnum = "gateway" StatsSwitchPortTypeEnum_MXEDGE StatsSwitchPortTypeEnum = "mxedge" StatsSwitchPortTypeEnum_NAC StatsSwitchPortTypeEnum = "nac" StatsSwitchPortTypeEnum_ENUMSWITCH StatsSwitchPortTypeEnum = "switch" )
type StatsSwitchVcSetupInfo ¶ added in v0.3.0
type StatsSwitchVcSetupInfo struct {
ConfigType *string `json:"config_type,omitempty"`
CurrentStats *string `json:"current_stats,omitempty"`
ErrMissingDevIdFpc *bool `json:"err_missing_dev_id_fpc,omitempty"`
LastUpdate *float64 `json:"last_update,omitempty"`
RequestTime *float64 `json:"request_time,omitempty"`
RequestType *string `json:"request_type,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsSwitchVcSetupInfo represents a StatsSwitchVcSetupInfo struct.
func (StatsSwitchVcSetupInfo) MarshalJSON ¶ added in v0.3.0
func (s StatsSwitchVcSetupInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsSwitchVcSetupInfo. It customizes the JSON marshaling process for StatsSwitchVcSetupInfo objects.
func (StatsSwitchVcSetupInfo) String ¶ added in v0.4.23
func (s StatsSwitchVcSetupInfo) String() string
String implements the fmt.Stringer interface for StatsSwitchVcSetupInfo, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsSwitchVcSetupInfo) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsSwitchVcSetupInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsSwitchVcSetupInfo. It customizes the JSON unmarshaling process for StatsSwitchVcSetupInfo objects.
type StatsUnconnectedClient ¶ added in v0.3.0
type StatsUnconnectedClient struct {
// MAC address of the AP that heard the client
ApMac string `json:"ap_mac"`
// Last seen timestamp
LastSeen Optional[float64] `json:"last_seen"`
// MAC address of the (unconnected) client
Mac string `json:"mac"`
// Device manufacture, through fingerprinting or OUI
Manufacture string `json:"manufacture"`
// Map_id of the client (if known), or null
MapId Optional[uuid.UUID] `json:"map_id"`
// Client RSSI observed by the AP that heard the client (in dBm)
Rssi int `json:"rssi"`
// X (in pixels) of user location on the map (if known)
X *float64 `json:"x,omitempty"`
// Y (in pixels) of user location on the map (if known)
Y float64 `json:"y"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsUnconnectedClient represents a StatsUnconnectedClient struct. Unconnected clients statistics
func (StatsUnconnectedClient) MarshalJSON ¶ added in v0.3.0
func (s StatsUnconnectedClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsUnconnectedClient. It customizes the JSON marshaling process for StatsUnconnectedClient objects.
func (StatsUnconnectedClient) String ¶ added in v0.4.23
func (s StatsUnconnectedClient) String() string
String implements the fmt.Stringer interface for StatsUnconnectedClient, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsUnconnectedClient) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsUnconnectedClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsUnconnectedClient. It customizes the JSON unmarshaling process for StatsUnconnectedClient objects.
type StatsWanClient ¶ added in v0.3.0
type StatsWanClient struct {
DhcpExpireTime *float64 `json:"dhcp_expire_time,omitempty"`
DhcpStartTime *float64 `json:"dhcp_start_time,omitempty"`
Hostname []string `json:"hostname,omitempty"`
Ip []string `json:"ip,omitempty"`
IpSrc *string `json:"ip_src,omitempty"`
LastHostname *string `json:"last_hostname,omitempty"`
LastIp *string `json:"last_ip,omitempty"`
Mfg *string `json:"mfg,omitempty"`
Network *string `json:"network,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
Wcid *string `json:"wcid,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsWanClient represents a StatsWanClient struct.
func (StatsWanClient) MarshalJSON ¶ added in v0.3.0
func (s StatsWanClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsWanClient. It customizes the JSON marshaling process for StatsWanClient objects.
func (StatsWanClient) String ¶ added in v0.4.23
func (s StatsWanClient) String() string
String implements the fmt.Stringer interface for StatsWanClient, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsWanClient) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsWanClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsWanClient. It customizes the JSON unmarshaling process for StatsWanClient objects.
type StatsWanTunnel ¶ added in v0.3.0
type StatsWanTunnel struct {
// Authentication algorithm
AuthAlgo *string `json:"auth_algo,omitempty"`
// Encryption algorithm
EncryptAlgo *string `json:"encrypt_algo,omitempty"`
// IKE version
IkeVersion *string `json:"ike_version,omitempty"`
// IP Address
Ip *string `json:"ip,omitempty"`
// Reason of why the tunnel is down
LastEvent *string `json:"last_event,omitempty"`
// Router mac address
Mac *string `json:"mac,omitempty"`
// Node0/node1
Node *string `json:"node,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Peer host
PeerHost *string `json:"peer_host,omitempty"`
// Peer ip address
PeerIp string `json:"peer_ip"`
// enum: `primary`, `secondary`
Priority *StatsWanTunnelPriorityEnum `json:"priority,omitempty"`
// enum: `gre`, `ipsec`
Protocol *WanTunnelProtocolEnum `json:"protocol,omitempty"`
// Amount of traffic received since connection
RxBytes Optional[int64] `json:"rx_bytes"`
// Amount of packets received since connection
RxPkts Optional[int64] `json:"rx_pkts"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Mist Tunnel Name
TunnelName *string `json:"tunnel_name,omitempty"`
// Amount of traffic sent since connection
TxBytes Optional[int64] `json:"tx_bytes"`
// Amount of packets sent since connection
TxPkts Optional[int64] `json:"tx_pkts"`
Up *bool `json:"up,omitempty"`
// Duration from first (or last) SA was established
Uptime *int `json:"uptime,omitempty"`
// WAN interface name
WanName *string `json:"wan_name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsWanTunnel represents a StatsWanTunnel struct.
func (StatsWanTunnel) MarshalJSON ¶ added in v0.3.0
func (s StatsWanTunnel) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsWanTunnel. It customizes the JSON marshaling process for StatsWanTunnel objects.
func (StatsWanTunnel) String ¶ added in v0.4.23
func (s StatsWanTunnel) String() string
String implements the fmt.Stringer interface for StatsWanTunnel, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsWanTunnel) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsWanTunnel) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsWanTunnel. It customizes the JSON unmarshaling process for StatsWanTunnel objects.
type StatsWanTunnelPriorityEnum ¶ added in v0.3.0
type StatsWanTunnelPriorityEnum string
StatsWanTunnelPriorityEnum is a string enum. enum: `primary`, `secondary`
const ( StatsWanTunnelPriorityEnum_PRIMARY StatsWanTunnelPriorityEnum = "primary" StatsWanTunnelPriorityEnum_SECONDARY StatsWanTunnelPriorityEnum = "secondary" )
type StatsWiredClient ¶
type StatsWiredClient struct {
// Client authorization status
AuthState *string `json:"auth_state,omitempty"`
// Device ID the client is connected to
DeviceId *string `json:"device_id,omitempty"`
// Port on AP where the wired client is connected
EthPort *string `json:"eth_port,omitempty"`
// Time when last Tx/Rx observed
LastSeen *float64 `json:"last_seen,omitempty"`
// Client mac
Mac string `json:"mac"`
// Amount of traffic received since connection
RxBytes Optional[int64] `json:"rx_bytes"`
// Amount of packets received since connection
RxPkts Optional[int64] `json:"rx_pkts"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Amount of traffic sent since connection
TxBytes Optional[int64] `json:"tx_bytes"`
// Amount of packets sent since connection
TxPkts Optional[int64] `json:"tx_pkts"`
// How long, in seconds, has the client been connected
Uptime *float64 `json:"uptime,omitempty"`
// VLAN id, could be empty
VlanId *float64 `json:"vlan_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsWiredClient represents a StatsWiredClient struct.
func (StatsWiredClient) MarshalJSON ¶
func (s StatsWiredClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsWiredClient. It customizes the JSON marshaling process for StatsWiredClient objects.
func (StatsWiredClient) String ¶ added in v0.4.23
func (s StatsWiredClient) String() string
String implements the fmt.Stringer interface for StatsWiredClient, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsWiredClient) UnmarshalJSON ¶
func (s *StatsWiredClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsWiredClient. It customizes the JSON unmarshaling process for StatsWiredClient objects.
type StatsWirelessClient ¶ added in v0.3.0
type StatsWirelessClient struct {
// Estimated client location accuracy, in meter
Accuracy *int `json:"accuracy,omitempty"`
AirespaceIfname *string `json:"airespace_ifname,omitempty"`
// Information if airwatch enabled
Airwatch *StatsWirelessClientAirwatch `json:"airwatch,omitempty"`
Annotation *string `json:"annotation,omitempty"`
// AP ID the client is connected to
ApId uuid.UUID `json:"ap_id"`
// AP the client is connected to
ApMac string `json:"ap_mac"`
AssocTime *int `json:"assoc_time,omitempty"`
// enum: `24`, `5`, `6`
Band Dot11BandEnum `json:"band"`
Bssid *string `json:"bssid,omitempty"`
// Current channel
Channel int `json:"channel"`
// Whether the client is dual_band capable (determined by whether we’ve seen probe requests from both bands)
DualBand *bool `json:"dual_band,omitempty"`
// Device family, through fingerprinting. iPod / Nexus Galaxy / Windows Mobile or CE …
Family *string `json:"family,omitempty"`
Group *string `json:"group,omitempty"`
// Guest
Guest *Guest `json:"guest,omitempty"`
// Hostname that we learned from sniffing DHCP
Hostname *string `json:"hostname,omitempty"`
// How long, in seconds, has the client been idle (since the last RX packet)
IdleTime *float64 `json:"idle_time,omitempty"`
Ip *string `json:"ip,omitempty"`
// Whether this is a guest
IsGuest bool `json:"is_guest"`
// E.g. WPA2-PSK/CCMP
KeyMgmt string `json:"key_mgmt"`
// Last seen timestamp
LastSeen Optional[float64] `json:"last_seen"`
// Client mac
Mac string `json:"mac"`
// Device manufacture, through fingerprinting or OUI
Manufacture *string `json:"manufacture,omitempty"`
// Estimated client location - map_id
MapId *uuid.UUID `json:"map_id,omitempty"`
// Device model, may be available if we can identify them
Model *string `json:"model,omitempty"`
// Number of APs used to locate this client
NumLocatingAps *int `json:"num_locating_aps,omitempty"`
// Device os, through fingerprinting
Os *string `json:"os,omitempty"`
// If it’s currently in power-save mode
PowerSaving *bool `json:"power_saving,omitempty"`
// enum: `a`, `ac`, `ax`, `b`, `be`, `g`, `n`
Proto Dot11ProtoEnum `json:"proto"`
// PSK id (if multi-psk is used)
PskId *uuid.UUID `json:"psk_id,omitempty"`
// Signal strength
Rssi float64 `json:"rssi"`
// List of rssizone_id’s where client is in and since when (if known)
Rssizones []StatsWirelessClientRssiZone `json:"rssizones,omitempty"`
// Rate of receiving traffic, bits/seconds, last known
RxBps Optional[int64] `json:"rx_bps"`
// Amount of traffic received since connection
RxBytes Optional[int64] `json:"rx_bytes"`
// Amount of packets received since connection
RxPkts Optional[int64] `json:"rx_pkts"`
// RX Rate, Mbps
RxRate Optional[float64] `json:"rx_rate"`
// Amount of rx retries
RxRetries Optional[int] `json:"rx_retries"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Signal over noise
Snr float64 `json:"snr"`
// SSID the client is connected to
Ssid string `json:"ssid"`
// Rate of transmitting traffic, bits/seconds, last known
TxBps Optional[int64] `json:"tx_bps"`
// Amount of traffic sent since connection
TxBytes Optional[int64] `json:"tx_bytes"`
// Amount of packets sent since connection
TxPkts Optional[int64] `json:"tx_pkts"`
// TX Rate, Mbps
TxRate Optional[float64] `json:"tx_rate"`
// Amount of tx retries
TxRetries Optional[int] `json:"tx_retries"`
// Client’s type, regular / vip / resource / blocked (if client object is created)
Type *string `json:"type,omitempty"`
// How long, in seconds, has the client been connected
Uptime *float64 `json:"uptime,omitempty"`
// Username that we learned from 802.1X exchange or Per_user PSK or User Portal
Username *string `json:"username,omitempty"`
// List of beacon_id’s where the client is in and since when (if known)
Vbeacons []StatsWirelessClientVbeacon `json:"vbeacons,omitempty"`
// VLAN id, could be empty (from older AP)
VlanId *string `json:"vlan_id,omitempty"`
// WLAN ID the client is connected to
WlanId uuid.UUID `json:"wlan_id"`
// Current WxlanRule using for a Client or an authorized Guest (portal user). null if default rule is matched.
WxruleId *uuid.UUID `json:"wxrule_id,omitempty"`
// Current WxlanRule usage per tag_id
WxruleUsage []StatsWirelessClientWxruleUsage `json:"wxrule_usage,omitempty"`
// Estimated client location in pixels
X *float64 `json:"x,omitempty"`
// Estimated client location in meter
XM *float64 `json:"x_m,omitempty"`
// Estimated client location in pixels
Y *float64 `json:"y,omitempty"`
// Estimated client location in meter
YM *float64 `json:"y_m,omitempty"`
// List of zone_id’s where client is in and since when (if known)
Zones []StatsWirelessClientZone `json:"zones,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsWirelessClient represents a StatsWirelessClient struct.
func (StatsWirelessClient) MarshalJSON ¶ added in v0.3.0
func (s StatsWirelessClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsWirelessClient. It customizes the JSON marshaling process for StatsWirelessClient objects.
func (StatsWirelessClient) String ¶ added in v0.4.23
func (s StatsWirelessClient) String() string
String implements the fmt.Stringer interface for StatsWirelessClient, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsWirelessClient) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsWirelessClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsWirelessClient. It customizes the JSON unmarshaling process for StatsWirelessClient objects.
type StatsWirelessClientAirwatch ¶ added in v0.3.0
type StatsWirelessClientAirwatch struct {
Authorized bool `json:"authorized"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsWirelessClientAirwatch represents a StatsWirelessClientAirwatch struct. Information if airwatch enabled
func (StatsWirelessClientAirwatch) MarshalJSON ¶ added in v0.3.0
func (s StatsWirelessClientAirwatch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsWirelessClientAirwatch. It customizes the JSON marshaling process for StatsWirelessClientAirwatch objects.
func (StatsWirelessClientAirwatch) String ¶ added in v0.4.23
func (s StatsWirelessClientAirwatch) String() string
String implements the fmt.Stringer interface for StatsWirelessClientAirwatch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsWirelessClientAirwatch) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsWirelessClientAirwatch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsWirelessClientAirwatch. It customizes the JSON unmarshaling process for StatsWirelessClientAirwatch objects.
type StatsWirelessClientRssiZone ¶ added in v0.3.0
type StatsWirelessClientRssiZone struct {
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Since *float64 `json:"since,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsWirelessClientRssiZone represents a StatsWirelessClientRssiZone struct.
func (StatsWirelessClientRssiZone) MarshalJSON ¶ added in v0.3.0
func (s StatsWirelessClientRssiZone) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsWirelessClientRssiZone. It customizes the JSON marshaling process for StatsWirelessClientRssiZone objects.
func (StatsWirelessClientRssiZone) String ¶ added in v0.4.23
func (s StatsWirelessClientRssiZone) String() string
String implements the fmt.Stringer interface for StatsWirelessClientRssiZone, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsWirelessClientRssiZone) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsWirelessClientRssiZone) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsWirelessClientRssiZone. It customizes the JSON unmarshaling process for StatsWirelessClientRssiZone objects.
type StatsWirelessClientVbeacon ¶ added in v0.3.0
type StatsWirelessClientVbeacon struct {
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Since *float64 `json:"since,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsWirelessClientVbeacon represents a StatsWirelessClientVbeacon struct.
func (StatsWirelessClientVbeacon) MarshalJSON ¶ added in v0.3.0
func (s StatsWirelessClientVbeacon) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsWirelessClientVbeacon. It customizes the JSON marshaling process for StatsWirelessClientVbeacon objects.
func (StatsWirelessClientVbeacon) String ¶ added in v0.4.23
func (s StatsWirelessClientVbeacon) String() string
String implements the fmt.Stringer interface for StatsWirelessClientVbeacon, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsWirelessClientVbeacon) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsWirelessClientVbeacon) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsWirelessClientVbeacon. It customizes the JSON unmarshaling process for StatsWirelessClientVbeacon objects.
type StatsWirelessClientWxruleUsage ¶ added in v0.3.0
type StatsWirelessClientWxruleUsage struct {
TagId *uuid.UUID `json:"tag_id,omitempty"`
Usage *int `json:"usage,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsWirelessClientWxruleUsage represents a StatsWirelessClientWxruleUsage struct.
func (StatsWirelessClientWxruleUsage) MarshalJSON ¶ added in v0.3.0
func (s StatsWirelessClientWxruleUsage) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsWirelessClientWxruleUsage. It customizes the JSON marshaling process for StatsWirelessClientWxruleUsage objects.
func (StatsWirelessClientWxruleUsage) String ¶ added in v0.4.23
func (s StatsWirelessClientWxruleUsage) String() string
String implements the fmt.Stringer interface for StatsWirelessClientWxruleUsage, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsWirelessClientWxruleUsage) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsWirelessClientWxruleUsage) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsWirelessClientWxruleUsage. It customizes the JSON unmarshaling process for StatsWirelessClientWxruleUsage objects.
type StatsWirelessClientZone ¶ added in v0.3.0
type StatsWirelessClientZone struct {
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Since *float64 `json:"since,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsWirelessClientZone represents a StatsWirelessClientZone struct.
func (StatsWirelessClientZone) MarshalJSON ¶ added in v0.3.0
func (s StatsWirelessClientZone) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsWirelessClientZone. It customizes the JSON marshaling process for StatsWirelessClientZone objects.
func (StatsWirelessClientZone) String ¶ added in v0.4.23
func (s StatsWirelessClientZone) String() string
String implements the fmt.Stringer interface for StatsWirelessClientZone, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsWirelessClientZone) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsWirelessClientZone) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsWirelessClientZone. It customizes the JSON unmarshaling process for StatsWirelessClientZone objects.
type StatsWxrule ¶ added in v0.3.41
type StatsWxrule struct {
// enum: `allow`, `block`
Action StatsWxruleActionEnum `json:"action"`
ClientMac []string `json:"client_mac"`
Name string `json:"name"`
Order int `json:"order"`
Usage map[string]StatsWxruleUsageProperties `json:"usage"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsWxrule represents a StatsWxrule struct. Wxrule statistics
func (StatsWxrule) MarshalJSON ¶ added in v0.3.41
func (s StatsWxrule) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsWxrule. It customizes the JSON marshaling process for StatsWxrule objects.
func (StatsWxrule) String ¶ added in v0.4.23
func (s StatsWxrule) String() string
String implements the fmt.Stringer interface for StatsWxrule, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsWxrule) UnmarshalJSON ¶ added in v0.3.41
func (s *StatsWxrule) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsWxrule. It customizes the JSON unmarshaling process for StatsWxrule objects.
type StatsWxruleActionEnum ¶ added in v0.3.41
type StatsWxruleActionEnum string
StatsWxruleActionEnum is a string enum. enum: `allow`, `block`
const ( StatsWxruleActionEnum_ALLOW StatsWxruleActionEnum = "allow" StatsWxruleActionEnum_BLOCK StatsWxruleActionEnum = "block" )
type StatsWxruleUsageProperties ¶ added in v0.3.41
type StatsWxruleUsageProperties struct {
NumFlows *int `json:"num_flows,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsWxruleUsageProperties represents a StatsWxruleUsageProperties struct.
func (StatsWxruleUsageProperties) MarshalJSON ¶ added in v0.3.41
func (s StatsWxruleUsageProperties) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsWxruleUsageProperties. It customizes the JSON marshaling process for StatsWxruleUsageProperties objects.
func (StatsWxruleUsageProperties) String ¶ added in v0.4.23
func (s StatsWxruleUsageProperties) String() string
String implements the fmt.Stringer interface for StatsWxruleUsageProperties, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsWxruleUsageProperties) UnmarshalJSON ¶ added in v0.3.41
func (s *StatsWxruleUsageProperties) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsWxruleUsageProperties. It customizes the JSON unmarshaling process for StatsWxruleUsageProperties objects.
type StatsZone ¶ added in v0.3.0
type StatsZone struct {
// BLE asset wait time right now
AssetsWait *StatsZoneAssetsWaits `json:"assets_wait,omitempty"`
// Client wait time right now
ClientsWait *StatsZoneClientsWaits `json:"clients_wait,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// Discovered asset wait time right now
DiscoveredAssetsWait *StatsZoneDiscoveredAssetsWaits `json:"discovered_assets_wait,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
// Map_id of the zone
MapId uuid.UUID `json:"map_id"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
// Name of the zone
Name string `json:"name"`
// Number of assets
NumAssets *int `json:"num_assets,omitempty"`
// Number of Wi-Fi clients (unconnected + connected)
NumClients *int `json:"num_clients,omitempty"`
// Number of discoveredassets
NumDiscoveredAssets *int `json:"num_discovered_assets,omitempty"`
// Number of sdk clients
NumSdkclients *int `json:"num_sdkclients,omitempty"`
// Number of unconnected Wi-Fi clients
NumUnconnectedClients *int `json:"num_unconnected_clients,omitempty"`
OccupancyLimit *int `json:"occupancy_limit,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// SDK client wait time right now
SdkclientsWait *StatsZoneSdkclientsWaits `json:"sdkclients_wait,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Unconnected Wi-Fi client wait time right now
UnconnectedClientsWait *StatsZoneUnconnectedClientsWaits `json:"unconnected_clients_wait,omitempty"`
// Vertices used to define an area. It’s assumed that the last point connects to the first point and forms an closed area
Vertices []ZoneVertex `json:"vertices,omitempty"`
VerticesM []ZoneVertexM `json:"vertices_m,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsZone represents a StatsZone struct. Zone statistics
func (StatsZone) MarshalJSON ¶ added in v0.3.0
MarshalJSON implements the json.Marshaler interface for StatsZone. It customizes the JSON marshaling process for StatsZone objects.
func (StatsZone) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for StatsZone, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsZone) UnmarshalJSON ¶ added in v0.3.0
UnmarshalJSON implements the json.Unmarshaler interface for StatsZone. It customizes the JSON unmarshaling process for StatsZone objects.
type StatsZoneAssetsWaits ¶ added in v0.3.0
type StatsZoneAssetsWaits struct {
// Average wait time in seconds
Avg *float64 `json:"avg,omitempty"`
// Longest wait time in seconds
Max *float64 `json:"max,omitempty"`
// Shortest wait time in seconds
Min *float64 `json:"min,omitempty"`
// 95th percentile of all the wait time(s)
P95 *float64 `json:"p95,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsZoneAssetsWaits represents a StatsZoneAssetsWaits struct. BLE asset wait time right now
func (StatsZoneAssetsWaits) MarshalJSON ¶ added in v0.3.0
func (s StatsZoneAssetsWaits) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsZoneAssetsWaits. It customizes the JSON marshaling process for StatsZoneAssetsWaits objects.
func (StatsZoneAssetsWaits) String ¶ added in v0.4.23
func (s StatsZoneAssetsWaits) String() string
String implements the fmt.Stringer interface for StatsZoneAssetsWaits, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsZoneAssetsWaits) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsZoneAssetsWaits) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsZoneAssetsWaits. It customizes the JSON unmarshaling process for StatsZoneAssetsWaits objects.
type StatsZoneClientsWaits ¶ added in v0.3.0
type StatsZoneClientsWaits struct {
// Average wait time in seconds
Avg *float64 `json:"avg,omitempty"`
// Longest wait time in seconds
Max *float64 `json:"max,omitempty"`
// Shortest wait time in seconds
Min *float64 `json:"min,omitempty"`
// 95th percentile of all the wait time(s)
P95 *float64 `json:"p95,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsZoneClientsWaits represents a StatsZoneClientsWaits struct. Client wait time right now
func (StatsZoneClientsWaits) MarshalJSON ¶ added in v0.3.0
func (s StatsZoneClientsWaits) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsZoneClientsWaits. It customizes the JSON marshaling process for StatsZoneClientsWaits objects.
func (StatsZoneClientsWaits) String ¶ added in v0.4.23
func (s StatsZoneClientsWaits) String() string
String implements the fmt.Stringer interface for StatsZoneClientsWaits, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsZoneClientsWaits) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsZoneClientsWaits) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsZoneClientsWaits. It customizes the JSON unmarshaling process for StatsZoneClientsWaits objects.
type StatsZoneDetails ¶ added in v0.3.0
type StatsZoneDetails struct {
// List of ble assets currently in the zone and when they entered
Assets []string `json:"assets,omitempty"`
// Client wait time right now
ClientWaits StatsZoneDetailsClientWaits `json:"client_waits"`
// List of clients currently in the zone and when they entered
Clients []string `json:"clients,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
// Map_id of the zone
MapId uuid.UUID `json:"map_id"`
// Name of the zone
Name string `json:"name"`
NumClients int `json:"num_clients"`
// SDK client wait time right now
NumSdkclients int `json:"num_sdkclients"`
// List of SDK Clients currently in the zone and when they entered
Sdkclients []string `json:"sdkclients,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsZoneDetails represents a StatsZoneDetails struct. Zone details statistics
func (StatsZoneDetails) MarshalJSON ¶ added in v0.3.0
func (s StatsZoneDetails) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsZoneDetails. It customizes the JSON marshaling process for StatsZoneDetails objects.
func (StatsZoneDetails) String ¶ added in v0.4.23
func (s StatsZoneDetails) String() string
String implements the fmt.Stringer interface for StatsZoneDetails, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsZoneDetails) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsZoneDetails) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsZoneDetails. It customizes the JSON unmarshaling process for StatsZoneDetails objects.
type StatsZoneDetailsClientWaits ¶ added in v0.3.0
type StatsZoneDetailsClientWaits struct {
// Average wait time in seconds
Avg int `json:"avg"`
// Longest wait time in seconds
Max int `json:"max"`
// Shortest wait time in seconds
Min int `json:"min"`
// 95th percentile of all the wait time(s)
P95 int `json:"p95"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsZoneDetailsClientWaits represents a StatsZoneDetailsClientWaits struct. Client wait time right now
func (StatsZoneDetailsClientWaits) MarshalJSON ¶ added in v0.3.0
func (s StatsZoneDetailsClientWaits) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsZoneDetailsClientWaits. It customizes the JSON marshaling process for StatsZoneDetailsClientWaits objects.
func (StatsZoneDetailsClientWaits) String ¶ added in v0.4.23
func (s StatsZoneDetailsClientWaits) String() string
String implements the fmt.Stringer interface for StatsZoneDetailsClientWaits, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsZoneDetailsClientWaits) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsZoneDetailsClientWaits) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsZoneDetailsClientWaits. It customizes the JSON unmarshaling process for StatsZoneDetailsClientWaits objects.
type StatsZoneDiscoveredAssetsWaits ¶ added in v0.4.94
type StatsZoneDiscoveredAssetsWaits struct {
// Average wait time in seconds
Avg *float64 `json:"avg,omitempty"`
// Longest wait time in seconds
Max *float64 `json:"max,omitempty"`
// Shortest wait time in seconds
Min *float64 `json:"min,omitempty"`
// 95th percentile of all the wait time(s)
P95 *float64 `json:"p95,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsZoneDiscoveredAssetsWaits represents a StatsZoneDiscoveredAssetsWaits struct. Discovered asset wait time right now
func (StatsZoneDiscoveredAssetsWaits) MarshalJSON ¶ added in v0.4.94
func (s StatsZoneDiscoveredAssetsWaits) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsZoneDiscoveredAssetsWaits. It customizes the JSON marshaling process for StatsZoneDiscoveredAssetsWaits objects.
func (StatsZoneDiscoveredAssetsWaits) String ¶ added in v0.4.94
func (s StatsZoneDiscoveredAssetsWaits) String() string
String implements the fmt.Stringer interface for StatsZoneDiscoveredAssetsWaits, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsZoneDiscoveredAssetsWaits) UnmarshalJSON ¶ added in v0.4.94
func (s *StatsZoneDiscoveredAssetsWaits) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsZoneDiscoveredAssetsWaits. It customizes the JSON unmarshaling process for StatsZoneDiscoveredAssetsWaits objects.
type StatsZoneSdkclientsWaits ¶ added in v0.3.0
type StatsZoneSdkclientsWaits struct {
// Average wait time in seconds
Avg *float64 `json:"avg,omitempty"`
// Longest wait time in seconds
Max *float64 `json:"max,omitempty"`
// Shortest wait time in seconds
Min *float64 `json:"min,omitempty"`
// 95th percentile of all the wait time(s)
P95 *float64 `json:"p95,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsZoneSdkclientsWaits represents a StatsZoneSdkclientsWaits struct. SDK client wait time right now
func (StatsZoneSdkclientsWaits) MarshalJSON ¶ added in v0.3.0
func (s StatsZoneSdkclientsWaits) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsZoneSdkclientsWaits. It customizes the JSON marshaling process for StatsZoneSdkclientsWaits objects.
func (StatsZoneSdkclientsWaits) String ¶ added in v0.4.23
func (s StatsZoneSdkclientsWaits) String() string
String implements the fmt.Stringer interface for StatsZoneSdkclientsWaits, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsZoneSdkclientsWaits) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsZoneSdkclientsWaits) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsZoneSdkclientsWaits. It customizes the JSON unmarshaling process for StatsZoneSdkclientsWaits objects.
type StatsZoneUnconnectedClientsWaits ¶ added in v0.4.94
type StatsZoneUnconnectedClientsWaits struct {
// Average wait time in seconds
Avg *float64 `json:"avg,omitempty"`
// Longest wait time in seconds
Max *float64 `json:"max,omitempty"`
// Shortest wait time in seconds
Min *float64 `json:"min,omitempty"`
// 95th percentile of all the wait time(s)
P95 *float64 `json:"p95,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
StatsZoneUnconnectedClientsWaits represents a StatsZoneUnconnectedClientsWaits struct. Unconnected Wi-Fi client wait time right now
func (StatsZoneUnconnectedClientsWaits) MarshalJSON ¶ added in v0.4.94
func (s StatsZoneUnconnectedClientsWaits) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsZoneUnconnectedClientsWaits. It customizes the JSON marshaling process for StatsZoneUnconnectedClientsWaits objects.
func (StatsZoneUnconnectedClientsWaits) String ¶ added in v0.4.94
func (s StatsZoneUnconnectedClientsWaits) String() string
String implements the fmt.Stringer interface for StatsZoneUnconnectedClientsWaits, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*StatsZoneUnconnectedClientsWaits) UnmarshalJSON ¶ added in v0.4.94
func (s *StatsZoneUnconnectedClientsWaits) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsZoneUnconnectedClientsWaits. It customizes the JSON unmarshaling process for StatsZoneUnconnectedClientsWaits objects.
type SuppressedAlarm ¶
type SuppressedAlarm struct {
// If `scope`==`site`. Object defines the scope (within the org e.g. whole org, and/or some site_groups, and/or some sites) for which the alarm service has to be suppressed for some `duration`
Applies *SuppressedAlarmApplies `json:"applies,omitempty"`
// Duration, in seconds. Maximum duration is 86400 * 180 (180 days). 0 is to un-suppress alarms
Duration *float64 `json:"duration,omitempty"`
// Epoch_time in seconds, Default as now, accepted time range is from now to now + 7 days
ScheduledTime *int `json:"scheduled_time,omitempty"`
// level of scope. enum: `org`, `site`
Scope *SuppressedAlarmScopeEnum `json:"scope,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SuppressedAlarm represents a SuppressedAlarm struct.
func (SuppressedAlarm) MarshalJSON ¶
func (s SuppressedAlarm) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SuppressedAlarm. It customizes the JSON marshaling process for SuppressedAlarm objects.
func (SuppressedAlarm) String ¶ added in v0.4.23
func (s SuppressedAlarm) String() string
String implements the fmt.Stringer interface for SuppressedAlarm, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SuppressedAlarm) UnmarshalJSON ¶
func (s *SuppressedAlarm) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SuppressedAlarm. It customizes the JSON unmarshaling process for SuppressedAlarm objects.
type SuppressedAlarmApplies ¶
type SuppressedAlarmApplies struct {
// UUID of the current org (if provided, the alarms will be suppressed at org level)
OrgId *uuid.UUID `json:"org_id,omitempty"`
// List of UUID of the sites within the org (if provided, the alarms will be suppressed for all the mentioned sites under the org)
SiteIds []uuid.UUID `json:"site_ids,omitempty"`
// List of UUID of the site groups within the org (if provided, the alarms will be suppressed for all the sites under those site groups)
SitegroupIds []uuid.UUID `json:"sitegroup_ids,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SuppressedAlarmApplies represents a SuppressedAlarmApplies struct. If `scope`==`site`. Object defines the scope (within the org e.g. whole org, and/or some site_groups, and/or some sites) for which the alarm service has to be suppressed for some `duration`
func (SuppressedAlarmApplies) MarshalJSON ¶
func (s SuppressedAlarmApplies) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SuppressedAlarmApplies. It customizes the JSON marshaling process for SuppressedAlarmApplies objects.
func (SuppressedAlarmApplies) String ¶ added in v0.4.23
func (s SuppressedAlarmApplies) String() string
String implements the fmt.Stringer interface for SuppressedAlarmApplies, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SuppressedAlarmApplies) UnmarshalJSON ¶
func (s *SuppressedAlarmApplies) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SuppressedAlarmApplies. It customizes the JSON unmarshaling process for SuppressedAlarmApplies objects.
type SuppressedAlarmScopeEnum ¶
type SuppressedAlarmScopeEnum string
SuppressedAlarmScopeEnum is a string enum. level of scope. enum: `org`, `site`
const ( SuppressedAlarmScopeEnum_ORG SuppressedAlarmScopeEnum = "org" SuppressedAlarmScopeEnum_SITE SuppressedAlarmScopeEnum = "site" )
type SwRoutingPolicy ¶ added in v0.4.98
type SwRoutingPolicy struct {
// at least criteria/filter must be specified to match the term, all criteria have to be met
Terms []SwRoutingPolicyTerm `json:"terms,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwRoutingPolicy represents a SwRoutingPolicy struct.
func (SwRoutingPolicy) MarshalJSON ¶ added in v0.4.98
func (s SwRoutingPolicy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwRoutingPolicy. It customizes the JSON marshaling process for SwRoutingPolicy objects.
func (SwRoutingPolicy) String ¶ added in v0.4.98
func (s SwRoutingPolicy) String() string
String implements the fmt.Stringer interface for SwRoutingPolicy, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwRoutingPolicy) UnmarshalJSON ¶ added in v0.4.98
func (s *SwRoutingPolicy) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwRoutingPolicy. It customizes the JSON unmarshaling process for SwRoutingPolicy objects.
type SwRoutingPolicyTerm ¶ added in v0.4.98
type SwRoutingPolicyTerm struct {
// When used as import policy
Actions *SwRoutingPolicyTermAction `json:"actions,omitempty"`
// zero or more criteria/filter can be specified to match the term, all criteria have to be met
Matching *SwRoutingPolicyTermMatching `json:"matching,omitempty"`
Name string `json:"name"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwRoutingPolicyTerm represents a SwRoutingPolicyTerm struct.
func (SwRoutingPolicyTerm) MarshalJSON ¶ added in v0.4.98
func (s SwRoutingPolicyTerm) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwRoutingPolicyTerm. It customizes the JSON marshaling process for SwRoutingPolicyTerm objects.
func (SwRoutingPolicyTerm) String ¶ added in v0.4.98
func (s SwRoutingPolicyTerm) String() string
String implements the fmt.Stringer interface for SwRoutingPolicyTerm, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwRoutingPolicyTerm) UnmarshalJSON ¶ added in v0.4.98
func (s *SwRoutingPolicyTerm) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwRoutingPolicyTerm. It customizes the JSON unmarshaling process for SwRoutingPolicyTerm objects.
type SwRoutingPolicyTermAction ¶ added in v0.4.98
type SwRoutingPolicyTermAction struct {
Accept *bool `json:"accept,omitempty"`
// When used as export policy, optional
Community []string `json:"community,omitempty"`
// Optional, for an import policy, local_preference can be changed, value in range 1-4294967294. Can be a Variable (e.g. `{{bgp_as}}`)
LocalPreference *RoutingPolicyLocalPreference `json:"local_preference,omitempty"`
// When used as export policy, optional. By default, the local AS will be prepended, to change it. Can be a Variable (e.g. `{{as_path}}`)
PrependAsPath []string `json:"prepend_as_path,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwRoutingPolicyTermAction represents a SwRoutingPolicyTermAction struct. When used as import policy
func (SwRoutingPolicyTermAction) MarshalJSON ¶ added in v0.4.98
func (s SwRoutingPolicyTermAction) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwRoutingPolicyTermAction. It customizes the JSON marshaling process for SwRoutingPolicyTermAction objects.
func (SwRoutingPolicyTermAction) String ¶ added in v0.4.98
func (s SwRoutingPolicyTermAction) String() string
String implements the fmt.Stringer interface for SwRoutingPolicyTermAction, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwRoutingPolicyTermAction) UnmarshalJSON ¶ added in v0.4.98
func (s *SwRoutingPolicyTermAction) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwRoutingPolicyTermAction. It customizes the JSON unmarshaling process for SwRoutingPolicyTermAction objects.
type SwRoutingPolicyTermMatching ¶ added in v0.4.98
type SwRoutingPolicyTermMatching struct {
AsPath []BgpAs `json:"as_path,omitempty"`
Community []string `json:"community,omitempty"`
// zero or more criteria/filter can be specified to match the term, all criteria have to be met
Prefix []string `json:"prefix,omitempty"`
Protocol []SwRoutingPolicyTermMatchingProtocolEnum `json:"protocol,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwRoutingPolicyTermMatching represents a SwRoutingPolicyTermMatching struct. zero or more criteria/filter can be specified to match the term, all criteria have to be met
func (SwRoutingPolicyTermMatching) MarshalJSON ¶ added in v0.4.98
func (s SwRoutingPolicyTermMatching) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwRoutingPolicyTermMatching. It customizes the JSON marshaling process for SwRoutingPolicyTermMatching objects.
func (SwRoutingPolicyTermMatching) String ¶ added in v0.4.98
func (s SwRoutingPolicyTermMatching) String() string
String implements the fmt.Stringer interface for SwRoutingPolicyTermMatching, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwRoutingPolicyTermMatching) UnmarshalJSON ¶ added in v0.4.98
func (s *SwRoutingPolicyTermMatching) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwRoutingPolicyTermMatching. It customizes the JSON unmarshaling process for SwRoutingPolicyTermMatching objects.
type SwRoutingPolicyTermMatchingProtocolEnum ¶ added in v0.4.98
type SwRoutingPolicyTermMatchingProtocolEnum string
SwRoutingPolicyTermMatchingProtocolEnum is a string enum. enum: `bgp`, `direct`, `evpn`, `ospf`, `static`
const ( SwRoutingPolicyTermMatchingProtocolEnum_BGP SwRoutingPolicyTermMatchingProtocolEnum = "bgp" SwRoutingPolicyTermMatchingProtocolEnum_DIRECT SwRoutingPolicyTermMatchingProtocolEnum = "direct" SwRoutingPolicyTermMatchingProtocolEnum_EVPN SwRoutingPolicyTermMatchingProtocolEnum = "evpn" SwRoutingPolicyTermMatchingProtocolEnum_OSPF SwRoutingPolicyTermMatchingProtocolEnum = "ospf" SwRoutingPolicyTermMatchingProtocolEnum_STATIC SwRoutingPolicyTermMatchingProtocolEnum = "static" )
type SwitchAutoUpgrade ¶ added in v0.4.74
type SwitchAutoUpgrade struct {
// Custom version to be used. The Property Key is the switch hardware and the property value is the firmware version
CustomVersions map[string]string `json:"custom_versions,omitempty"`
// Enable auto upgrade for the switch
Enabled *bool `json:"enabled,omitempty"`
// Enable snapshot during the upgrade process
Snapshot *bool `json:"snapshot,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchAutoUpgrade represents a SwitchAutoUpgrade struct.
func (SwitchAutoUpgrade) MarshalJSON ¶ added in v0.4.74
func (s SwitchAutoUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchAutoUpgrade. It customizes the JSON marshaling process for SwitchAutoUpgrade objects.
func (SwitchAutoUpgrade) String ¶ added in v0.4.74
func (s SwitchAutoUpgrade) String() string
String implements the fmt.Stringer interface for SwitchAutoUpgrade, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchAutoUpgrade) UnmarshalJSON ¶ added in v0.4.74
func (s *SwitchAutoUpgrade) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchAutoUpgrade. It customizes the JSON unmarshaling process for SwitchAutoUpgrade objects.
type SwitchAutoUpgradeContainer ¶ added in v0.4.74
type SwitchAutoUpgradeContainer struct {
AutoUpgrade *SwitchAutoUpgrade `json:"auto_upgrade,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchAutoUpgradeContainer represents a SwitchAutoUpgradeContainer struct.
func (SwitchAutoUpgradeContainer) MarshalJSON ¶ added in v0.4.74
func (s SwitchAutoUpgradeContainer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchAutoUpgradeContainer. It customizes the JSON marshaling process for SwitchAutoUpgradeContainer objects.
func (SwitchAutoUpgradeContainer) String ¶ added in v0.4.74
func (s SwitchAutoUpgradeContainer) String() string
String implements the fmt.Stringer interface for SwitchAutoUpgradeContainer, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchAutoUpgradeContainer) UnmarshalJSON ¶ added in v0.4.74
func (s *SwitchAutoUpgradeContainer) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchAutoUpgradeContainer. It customizes the JSON unmarshaling process for SwitchAutoUpgradeContainer objects.
type SwitchBgpConfig ¶ added in v0.4.95
type SwitchBgpConfig struct {
AuthKey *string `json:"auth_key,omitempty"`
// Minimum interval in milliseconds for BFD hello packets. A neighbor is considered failed when the device stops receiving replies after the specified interval. Value must be between 1 and 255000.
BfdMinimumInterval *int `json:"bfd_minimum_interval,omitempty"`
// Export policy must match one of the policy names defined in the `routing_policies` property.
ExportPolicy *string `json:"export_policy,omitempty"`
// Hold time is three times the interval at which keepalive messages are sent. It indicates to the peer the length of time that it should consider the sender valid. Must be 0 or a number in the range 3-65535.
HoldTime *int `json:"hold_time,omitempty"`
// Import policy must match one of the policy names defined in the `routing_policies` property.
ImportPolicy *string `json:"import_policy,omitempty"`
// BGP AS, value in range 1-4294967294. Can be a Variable (e.g. `{{bgp_as}}` )
LocalAs BgpAs `json:"local_as"`
// Property key is the BGP Neighbor IP Address.
Neighbors map[string]SwitchBgpConfigNeighbor `json:"neighbors,omitempty"`
// List of network names for BGP configuration. When a network is specified, a BGP group will be added to the VRF that network is part of.
Networks []string `json:"networks,omitempty"`
// enum: `external`, `internal`
Type SwitchBgpConfigTypeEnum `json:"type"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchBgpConfig represents a SwitchBgpConfig struct.
func (SwitchBgpConfig) MarshalJSON ¶ added in v0.4.95
func (s SwitchBgpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchBgpConfig. It customizes the JSON marshaling process for SwitchBgpConfig objects.
func (SwitchBgpConfig) String ¶ added in v0.4.95
func (s SwitchBgpConfig) String() string
String implements the fmt.Stringer interface for SwitchBgpConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchBgpConfig) UnmarshalJSON ¶ added in v0.4.95
func (s *SwitchBgpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchBgpConfig. It customizes the JSON unmarshaling process for SwitchBgpConfig objects.
type SwitchBgpConfigHoldTimeZeroEnum ¶ added in v0.4.98
type SwitchBgpConfigHoldTimeZeroEnum int
SwitchBgpConfigHoldTimeZeroEnum is a int enum.
const (
SwitchBgpConfigHoldTimeZeroEnum_ENUM0 SwitchBgpConfigHoldTimeZeroEnum = 0
)
type SwitchBgpConfigNeighbor ¶ added in v0.4.95
type SwitchBgpConfigNeighbor struct {
// Export policy must match one of the policy names defined in the `routing_policies` property.
ExportPolicy *string `json:"export_policy,omitempty"`
// Hold time is three times the interval at which keepalive messages are sent. It indicates to the peer the length of time that it should consider the sender valid. Must be 0 or a number in the range 3-65535.
HoldTime *int `json:"hold_time,omitempty"`
// Import policy must match one of the policy names defined in the `routing_policies` property.
ImportPolicy *string `json:"import_policy,omitempty"`
MultihopTtl *int `json:"multihop_ttl,omitempty"`
// Autonomous System (AS) number of the BGP neighbor. For internal BGP, this must match `local_as`. For external BGP, this must differ from `local_as`.
NeighborAs SwitchBgpConfigNeighborNeighborAs `json:"neighbor_as"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchBgpConfigNeighbor represents a SwitchBgpConfigNeighbor struct.
func (SwitchBgpConfigNeighbor) MarshalJSON ¶ added in v0.4.95
func (s SwitchBgpConfigNeighbor) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchBgpConfigNeighbor. It customizes the JSON marshaling process for SwitchBgpConfigNeighbor objects.
func (SwitchBgpConfigNeighbor) String ¶ added in v0.4.95
func (s SwitchBgpConfigNeighbor) String() string
String implements the fmt.Stringer interface for SwitchBgpConfigNeighbor, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchBgpConfigNeighbor) UnmarshalJSON ¶ added in v0.4.95
func (s *SwitchBgpConfigNeighbor) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchBgpConfigNeighbor. It customizes the JSON unmarshaling process for SwitchBgpConfigNeighbor objects.
type SwitchBgpConfigNeighborNeighborAs ¶ added in v0.4.95
type SwitchBgpConfigNeighborNeighborAs struct {
// contains filtered or unexported fields
}
SwitchBgpConfigNeighborNeighborAs represents a SwitchBgpConfigNeighborNeighborAs struct. This is a container for any-of cases.
func (*SwitchBgpConfigNeighborNeighborAs) AsNumber ¶ added in v0.4.95
func (s *SwitchBgpConfigNeighborNeighborAs) AsNumber() ( *int, bool)
func (*SwitchBgpConfigNeighborNeighborAs) AsString ¶ added in v0.4.95
func (s *SwitchBgpConfigNeighborNeighborAs) AsString() ( *string, bool)
func (SwitchBgpConfigNeighborNeighborAs) MarshalJSON ¶ added in v0.4.95
func (s SwitchBgpConfigNeighborNeighborAs) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchBgpConfigNeighborNeighborAs. It customizes the JSON marshaling process for SwitchBgpConfigNeighborNeighborAs objects.
func (SwitchBgpConfigNeighborNeighborAs) String ¶ added in v0.4.95
func (s SwitchBgpConfigNeighborNeighborAs) String() string
String implements the fmt.Stringer interface for SwitchBgpConfigNeighborNeighborAs, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchBgpConfigNeighborNeighborAs) UnmarshalJSON ¶ added in v0.4.95
func (s *SwitchBgpConfigNeighborNeighborAs) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchBgpConfigNeighborNeighborAs. It customizes the JSON unmarshaling process for SwitchBgpConfigNeighborNeighborAs objects.
type SwitchBgpConfigTypeEnum ¶ added in v0.4.95
type SwitchBgpConfigTypeEnum string
SwitchBgpConfigTypeEnum is a string enum. enum: `external`, `internal`
const ( SwitchBgpConfigTypeEnum_EXTERNAL SwitchBgpConfigTypeEnum = "external" SwitchBgpConfigTypeEnum_INTERNAL SwitchBgpConfigTypeEnum = "internal" )
type SwitchDhcpdConfig ¶ added in v0.3.22
type SwitchDhcpdConfig struct {
// If set to `true`, enable the DHCP server
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]SwitchDhcpdConfigProperty `json:"_"`
}
SwitchDhcpdConfig represents a SwitchDhcpdConfig struct.
func (SwitchDhcpdConfig) MarshalJSON ¶ added in v0.3.22
func (s SwitchDhcpdConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchDhcpdConfig. It customizes the JSON marshaling process for SwitchDhcpdConfig objects.
func (SwitchDhcpdConfig) String ¶ added in v0.4.23
func (s SwitchDhcpdConfig) String() string
String implements the fmt.Stringer interface for SwitchDhcpdConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchDhcpdConfig) UnmarshalJSON ¶ added in v0.3.22
func (s *SwitchDhcpdConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchDhcpdConfig. It customizes the JSON unmarshaling process for SwitchDhcpdConfig objects.
type SwitchDhcpdConfigProperty ¶ added in v0.3.22
type SwitchDhcpdConfigProperty struct {
// If `type`==`server` or `type6`==`server` - optional, if not defined, system one will be used
DnsServers []string `json:"dns_servers,omitempty"`
// If `type`==`server` or `type6`==`server` - optional, if not defined, system one will be used
DnsSuffix []string `json:"dns_suffix,omitempty"`
// If `type`==`server` or `type6`==`server`. Property key is the MAC Address. Format is `[0-9a-f]{12}` (e.g. "5684dae9ac8b")
FixedBindings map[string]DhcpdConfigFixedBinding `json:"fixed_bindings,omitempty"`
// If `type`==`server` - optional, `ip` will be used if not provided
Gateway *string `json:"gateway,omitempty"`
// If `type`==`server`
IpEnd *string `json:"ip_end,omitempty"`
// If `type6`==`server`
IpEnd6 *string `json:"ip_end6,omitempty"`
// If `type`==`server`
IpStart *string `json:"ip_start,omitempty"`
// If `type6`==`server`
IpStart6 *string `json:"ip_start6,omitempty"`
// In seconds, lease time has to be between 3600 [1hr] - 604800 [1 week], default is 86400 [1 day]
LeaseTime *int `json:"lease_time,omitempty"`
// If `type`==`server` or `type6`==`server`. Property key is the DHCP option number
Options map[string]DhcpdConfigOption `json:"options,omitempty"`
// `server_id_override`==`true` means the device, when acts as DHCP relay and forwards DHCP responses from DHCP server to clients,
// should overwrite the Sever Identifier option (i.e. DHCP option 54) in DHCP responses with its own IP address.
ServerIdOverride *bool `json:"server_id_override,omitempty"`
// If `type`==`relay`
Servers []string `json:"servers,omitempty"`
// If `type6`==`relay`
Servers6 []string `json:"servers6,omitempty"`
// enum: `none`, `relay` (DHCP Relay), `server` (DHCP Server)
Type *SwitchDhcpdConfigTypeEnum `json:"type,omitempty"`
// enum: `none`, `relay` (DHCP Relay), `server` (DHCP Server)
Type6 *SwitchDhcpdConfigTypeEnum `json:"type6,omitempty"`
// If `type`==`server` or `type6`==`server`. Property key is <enterprise number>:<sub option code>, with
// * enterprise number: 1-65535 (https://www.iana.org/assignments/enterprise-numbers/enterprise-numbers)
// * sub option code: 1-255, sub-option code'
VendorEncapsulated map[string]DhcpdConfigVendorOption `json:"vendor_encapsulated,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchDhcpdConfigProperty represents a SwitchDhcpdConfigProperty struct. the Property key is the network name. In case of DHCP relay, it's common for many networks to use the same dhcp relay, comma-separated network names can be used here (e.g. "net1,net2")
func (SwitchDhcpdConfigProperty) MarshalJSON ¶ added in v0.3.22
func (s SwitchDhcpdConfigProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchDhcpdConfigProperty. It customizes the JSON marshaling process for SwitchDhcpdConfigProperty objects.
func (SwitchDhcpdConfigProperty) String ¶ added in v0.4.23
func (s SwitchDhcpdConfigProperty) String() string
String implements the fmt.Stringer interface for SwitchDhcpdConfigProperty, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchDhcpdConfigProperty) UnmarshalJSON ¶ added in v0.3.22
func (s *SwitchDhcpdConfigProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchDhcpdConfigProperty. It customizes the JSON unmarshaling process for SwitchDhcpdConfigProperty objects.
type SwitchDhcpdConfigTypeEnum ¶ added in v0.3.22
type SwitchDhcpdConfigTypeEnum string
SwitchDhcpdConfigTypeEnum is a string enum. enum: `none`, `relay` (DHCP Relay), `server` (DHCP Server)
const ( SwitchDhcpdConfigTypeEnum_NONE SwitchDhcpdConfigTypeEnum = "none" SwitchDhcpdConfigTypeEnum_RELAY SwitchDhcpdConfigTypeEnum = "relay" SwitchDhcpdConfigTypeEnum_SERVER SwitchDhcpdConfigTypeEnum = "server" )
type SwitchIotPort ¶ added in v0.4.74
type SwitchIotPort struct {
// Alarm class for the switch iot port in. enum: `minor`, `major`
AlarmClass *SwitchIotPortAlarmClassEnum `json:"alarm_class,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// Only for "OUT" ports, input source for the switch iot port out. enum: `IN0`, `IN1`
InputSrc *SwitchIotPortInputSrcEnum `json:"input_src,omitempty"`
Name *string `json:"name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchIotPort represents a SwitchIotPort struct. Switch IOT port configuration
func (SwitchIotPort) MarshalJSON ¶ added in v0.4.74
func (s SwitchIotPort) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchIotPort. It customizes the JSON marshaling process for SwitchIotPort objects.
func (SwitchIotPort) String ¶ added in v0.4.74
func (s SwitchIotPort) String() string
String implements the fmt.Stringer interface for SwitchIotPort, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchIotPort) UnmarshalJSON ¶ added in v0.4.74
func (s *SwitchIotPort) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchIotPort. It customizes the JSON unmarshaling process for SwitchIotPort objects.
type SwitchIotPortAlarmClassEnum ¶ added in v0.4.74
type SwitchIotPortAlarmClassEnum string
SwitchIotPortAlarmClassEnum is a string enum. Alarm class for the switch iot port in. enum: `minor`, `major`
const ( SwitchIotPortAlarmClassEnum_MINOR SwitchIotPortAlarmClassEnum = "minor" SwitchIotPortAlarmClassEnum_MAJOR SwitchIotPortAlarmClassEnum = "major" )
type SwitchIotPortInputSrcEnum ¶ added in v0.4.74
type SwitchIotPortInputSrcEnum string
SwitchIotPortInputSrcEnum is a string enum. Only for "OUT" ports, input source for the switch iot port out. enum: `IN0`, `IN1`
const ( SwitchIotPortInputSrcEnum_IN0 SwitchIotPortInputSrcEnum = "IN0" SwitchIotPortInputSrcEnum_IN1 SwitchIotPortInputSrcEnum = "IN1" )
type SwitchMatching ¶
type SwitchMatching struct {
Enable *bool `json:"enable,omitempty"`
Rules []SwitchMatchingRule `json:"rules,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchMatching represents a SwitchMatching struct. Defines custom switch configuration based on different criteria
func (SwitchMatching) MarshalJSON ¶
func (s SwitchMatching) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchMatching. It customizes the JSON marshaling process for SwitchMatching objects.
func (SwitchMatching) String ¶ added in v0.4.23
func (s SwitchMatching) String() string
String implements the fmt.Stringer interface for SwitchMatching, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchMatching) UnmarshalJSON ¶
func (s *SwitchMatching) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchMatching. It customizes the JSON unmarshaling process for SwitchMatching objects.
type SwitchMatchingRule ¶
type SwitchMatchingRule struct {
// additional CLI commands to append to the generated Junos config. **Note**: no check is done
AdditionalConfigCmds []string `json:"additional_config_cmds,omitempty"`
// In-Band Management interface configuration
IpConfig *SwitchMatchingRuleIpConfig `json:"ip_config,omitempty"`
// Rule name. WARNING: the name `default` is reserved and can only be used for the last rule in the list
Name *string `json:"name,omitempty"`
// Out-of-Band Management interface configuration
OobIpConfig *SwitchMatchingRuleOobIpConfig `json:"oob_ip_config,omitempty"`
// Property key is the port name or range (e.g. "ge-0/0/0-10")
PortConfig map[string]JunosPortConfig `json:"port_config,omitempty"`
// Property key is the port mirroring instance name. `port_mirroring` can be added under device/site settings. It takes interface and ports as input for ingress, interface as input for egress and can take interface and port as output. A maximum 4 mirroring ports is allowed
PortMirroring map[string]SwitchPortMirroringProperty `json:"port_mirroring,omitempty"`
StpConfig *SwitchStpConfig `json:"stp_config,omitempty"`
// Switch settings
SwitchMgmt *SwitchMgmt `json:"switch_mgmt,omitempty"`
AdditionalProperties map[string]string `json:"_"`
}
SwitchMatchingRule represents a SwitchMatchingRule struct. Property key defines the type of matching, value is the string to match. e.g: * `match_name[0:3]`: switch name must match the first 3 letters of the property value * `match_name[2:6]`: switch name must match the property value from the 2nd to the 6th letter * `match_model[0-8]`: switch model must match the first 8 letters of the property value * `match_role`: switch role must match the property value
func (SwitchMatchingRule) MarshalJSON ¶
func (s SwitchMatchingRule) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchMatchingRule. It customizes the JSON marshaling process for SwitchMatchingRule objects.
func (SwitchMatchingRule) String ¶ added in v0.4.23
func (s SwitchMatchingRule) String() string
String implements the fmt.Stringer interface for SwitchMatchingRule, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchMatchingRule) UnmarshalJSON ¶
func (s *SwitchMatchingRule) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchMatchingRule. It customizes the JSON unmarshaling process for SwitchMatchingRule objects.
type SwitchMatchingRuleIpConfig ¶ added in v0.3.15
type SwitchMatchingRuleIpConfig struct {
// VLAN Name for the management interface
Network *string `json:"network,omitempty"`
// enum: `dhcp`, `static`
Type *IpTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchMatchingRuleIpConfig represents a SwitchMatchingRuleIpConfig struct. In-Band Management interface configuration
func (SwitchMatchingRuleIpConfig) MarshalJSON ¶ added in v0.3.15
func (s SwitchMatchingRuleIpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchMatchingRuleIpConfig. It customizes the JSON marshaling process for SwitchMatchingRuleIpConfig objects.
func (SwitchMatchingRuleIpConfig) String ¶ added in v0.4.23
func (s SwitchMatchingRuleIpConfig) String() string
String implements the fmt.Stringer interface for SwitchMatchingRuleIpConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchMatchingRuleIpConfig) UnmarshalJSON ¶ added in v0.3.15
func (s *SwitchMatchingRuleIpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchMatchingRuleIpConfig. It customizes the JSON unmarshaling process for SwitchMatchingRuleIpConfig objects.
type SwitchMatchingRuleOobIpConfig ¶ added in v0.3.15
type SwitchMatchingRuleOobIpConfig struct {
// enum: `dhcp`, `static`
Type *IpTypeEnum `json:"type,omitempty"`
// If supported on the platform. If enabled, DNS will be using this routing-instance, too
UseMgmtVrf *bool `json:"use_mgmt_vrf,omitempty"`
// For host-out traffic (NTP/TACPLUS/RADIUS/SYSLOG/SNMP), if alternative source network/ip is desired
UseMgmtVrfForHostOut *bool `json:"use_mgmt_vrf_for_host_out,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchMatchingRuleOobIpConfig represents a SwitchMatchingRuleOobIpConfig struct. Out-of-Band Management interface configuration
func (SwitchMatchingRuleOobIpConfig) MarshalJSON ¶ added in v0.3.15
func (s SwitchMatchingRuleOobIpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchMatchingRuleOobIpConfig. It customizes the JSON marshaling process for SwitchMatchingRuleOobIpConfig objects.
func (SwitchMatchingRuleOobIpConfig) String ¶ added in v0.4.23
func (s SwitchMatchingRuleOobIpConfig) String() string
String implements the fmt.Stringer interface for SwitchMatchingRuleOobIpConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchMatchingRuleOobIpConfig) UnmarshalJSON ¶ added in v0.3.15
func (s *SwitchMatchingRuleOobIpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchMatchingRuleOobIpConfig. It customizes the JSON unmarshaling process for SwitchMatchingRuleOobIpConfig objects.
type SwitchMetricScopeEnum ¶
type SwitchMetricScopeEnum string
SwitchMetricScopeEnum is a string enum. enum: `site`, `switch`
const ( SwitchMetricScopeEnum_SITE SwitchMetricScopeEnum = "site" SwitchMetricScopeEnum_ENUMSWITCH SwitchMetricScopeEnum = "switch" )
type SwitchMetricTypeEnum ¶
type SwitchMetricTypeEnum string
SwitchMetricTypeEnum is a string enum. enum: `active_ports_summary`
const (
SwitchMetricTypeEnum_ACTIVEPORTSSUMMARY SwitchMetricTypeEnum = "active_ports_summary"
)
type SwitchMetricsActivePortsSummaryDetails ¶
type SwitchMetricsActivePortsSummaryDetails struct {
ActivePortCount *int `json:"active_port_count,omitempty"`
TotalPortCount *int `json:"total_port_count,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchMetricsActivePortsSummaryDetails represents a SwitchMetricsActivePortsSummaryDetails struct.
func (SwitchMetricsActivePortsSummaryDetails) MarshalJSON ¶
func (s SwitchMetricsActivePortsSummaryDetails) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchMetricsActivePortsSummaryDetails. It customizes the JSON marshaling process for SwitchMetricsActivePortsSummaryDetails objects.
func (SwitchMetricsActivePortsSummaryDetails) String ¶ added in v0.4.23
func (s SwitchMetricsActivePortsSummaryDetails) String() string
String implements the fmt.Stringer interface for SwitchMetricsActivePortsSummaryDetails, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchMetricsActivePortsSummaryDetails) UnmarshalJSON ¶
func (s *SwitchMetricsActivePortsSummaryDetails) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchMetricsActivePortsSummaryDetails. It customizes the JSON unmarshaling process for SwitchMetricsActivePortsSummaryDetails objects.
type SwitchMetricsComplianceMajorVersion ¶
type SwitchMetricsComplianceMajorVersion struct {
MajorCount *int `json:"major_count,omitempty"`
MajorVersion *string `json:"major_version,omitempty"`
Model *string `json:"model,omitempty"`
SystemNames []string `json:"system_names,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchMetricsComplianceMajorVersion represents a SwitchMetricsComplianceMajorVersion struct.
func (SwitchMetricsComplianceMajorVersion) MarshalJSON ¶
func (s SwitchMetricsComplianceMajorVersion) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchMetricsComplianceMajorVersion. It customizes the JSON marshaling process for SwitchMetricsComplianceMajorVersion objects.
func (SwitchMetricsComplianceMajorVersion) String ¶ added in v0.4.23
func (s SwitchMetricsComplianceMajorVersion) String() string
String implements the fmt.Stringer interface for SwitchMetricsComplianceMajorVersion, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchMetricsComplianceMajorVersion) UnmarshalJSON ¶
func (s *SwitchMetricsComplianceMajorVersion) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchMetricsComplianceMajorVersion. It customizes the JSON unmarshaling process for SwitchMetricsComplianceMajorVersion objects.
type SwitchMgmt ¶
type SwitchMgmt struct {
// AP_affinity_threshold ap_affinity_threshold can be added as a field under site/setting. By default, this value is set to 12. If the field is set in both site/setting and org/setting, the value from site/setting will be used.
ApAffinityThreshold *int `json:"ap_affinity_threshold,omitempty"`
// Set Banners for switches. Allows markup formatting
CliBanner *string `json:"cli_banner,omitempty"`
// Sets timeout for switches
CliIdleTimeout *int `json:"cli_idle_timeout,omitempty"`
// Rollback timer for commit confirmed
ConfigRevertTimer *int `json:"config_revert_timer,omitempty"`
// Enable to provide the FQDN with DHCP option 81
DhcpOptionFqdn *bool `json:"dhcp_option_fqdn,omitempty"`
DisableOobDownAlarm *bool `json:"disable_oob_down_alarm,omitempty"`
FipsEnabled *bool `json:"fips_enabled,omitempty"`
// Property key is the user name. For Local user authentication
LocalAccounts map[string]ConfigSwitchLocalAccountsUser `json:"local_accounts,omitempty"`
// IP Address or FQDN of the Mist Edge used to proxy the switch management traffic to the Mist Cloud
MxedgeProxyHost *string `json:"mxedge_proxy_host,omitempty"`
// Mist Edge port used to proxy the switch management traffic to the Mist Cloud. Value in range 1-65535
MxedgeProxyPort *SwitchMgmtMxedgeProxyPort `json:"mxedge_proxy_port,omitempty"`
// Restrict inbound-traffic to host
// when enabled, all traffic that is not essential to our operation will be dropped
// e.g. ntp / dns / traffic to mist will be allowed by default, if dhcpd is enabled, we'll make sure it works
ProtectRe *ProtectRe `json:"protect_re,omitempty"`
// By default, `radius_config` will be used. if a different one has to be used set `use_different_radius
Radius *SwitchRadius `json:"radius,omitempty"`
// By default, only the configuration generated by Mist is cleaned up during the configuration process. If `true`, all the existing configuration will be removed.
RemoveExistingConfigs *bool `json:"remove_existing_configs,omitempty"`
RootPassword *string `json:"root_password,omitempty"`
Tacacs *Tacacs `json:"tacacs,omitempty"`
// To use mxedge as proxy
UseMxedgeProxy *bool `json:"use_mxedge_proxy,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchMgmt represents a SwitchMgmt struct. Switch settings
func (SwitchMgmt) MarshalJSON ¶
func (s SwitchMgmt) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchMgmt. It customizes the JSON marshaling process for SwitchMgmt objects.
func (SwitchMgmt) String ¶ added in v0.4.23
func (s SwitchMgmt) String() string
String implements the fmt.Stringer interface for SwitchMgmt, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchMgmt) UnmarshalJSON ¶
func (s *SwitchMgmt) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchMgmt. It customizes the JSON unmarshaling process for SwitchMgmt objects.
type SwitchMgmtMxedgeProxyPort ¶ added in v0.4.70
type SwitchMgmtMxedgeProxyPort struct {
// contains filtered or unexported fields
}
SwitchMgmtMxedgeProxyPort represents a SwitchMgmtMxedgeProxyPort struct. Mist Edge port used to proxy the switch management traffic to the Mist Cloud. Value in range 1-65535
func (*SwitchMgmtMxedgeProxyPort) AsNumber ¶ added in v0.4.70
func (s *SwitchMgmtMxedgeProxyPort) AsNumber() ( *int, bool)
func (*SwitchMgmtMxedgeProxyPort) AsString ¶ added in v0.4.70
func (s *SwitchMgmtMxedgeProxyPort) AsString() ( *string, bool)
func (SwitchMgmtMxedgeProxyPort) MarshalJSON ¶ added in v0.4.70
func (s SwitchMgmtMxedgeProxyPort) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchMgmtMxedgeProxyPort. It customizes the JSON marshaling process for SwitchMgmtMxedgeProxyPort objects.
func (SwitchMgmtMxedgeProxyPort) String ¶ added in v0.4.70
func (s SwitchMgmtMxedgeProxyPort) String() string
String implements the fmt.Stringer interface for SwitchMgmtMxedgeProxyPort, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchMgmtMxedgeProxyPort) UnmarshalJSON ¶ added in v0.4.70
func (s *SwitchMgmtMxedgeProxyPort) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchMgmtMxedgeProxyPort. It customizes the JSON unmarshaling process for SwitchMgmtMxedgeProxyPort objects.
type SwitchMistNac ¶
type SwitchMistNac struct {
Enabled *bool `json:"enabled,omitempty"`
Network *string `json:"network,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchMistNac represents a SwitchMistNac struct. Enable mist_nac to use RadSec
func (SwitchMistNac) MarshalJSON ¶
func (s SwitchMistNac) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchMistNac. It customizes the JSON marshaling process for SwitchMistNac objects.
func (SwitchMistNac) String ¶ added in v0.4.23
func (s SwitchMistNac) String() string
String implements the fmt.Stringer interface for SwitchMistNac, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchMistNac) UnmarshalJSON ¶
func (s *SwitchMistNac) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchMistNac. It customizes the JSON unmarshaling process for SwitchMistNac objects.
type SwitchNetwork ¶
type SwitchNetwork struct {
// Only required for EVPN-VXLAN networks, IPv4 Virtual Gateway
Gateway *string `json:"gateway,omitempty"`
// Only required for EVPN-VXLAN networks, IPv6 Virtual Gateway
Gateway6 *string `json:"gateway6,omitempty"`
// whether to stop clients to talk to each other, default is false (when enabled, a unique isolation_vlan_id is required). NOTE: this features requires uplink device to also a be Juniper device and `inter_switch_link` to be set. See also `inter_isolation_network_link` and `community_vlan_id` in port_usage
Isolation *bool `json:"isolation,omitempty"`
IsolationVlanId *string `json:"isolation_vlan_id,omitempty"`
// Optional for pure switching, required when L3 / routing features are used
Subnet *string `json:"subnet,omitempty"`
// Optional for pure switching, required when L3 / routing features are used
Subnet6 *string `json:"subnet6,omitempty"`
VlanId VlanIdWithVariable `json:"vlan_id"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchNetwork represents a SwitchNetwork struct. A network represents a network segment. It can either represent a VLAN (then usually ties to a L3 subnet), optionally associate it with a subnet which can later be used to create addition routes. Used for ports doing `family ethernet-switching`. It can also be a pure L3-subnet that can then be used against a port that with `family inet`.
func (SwitchNetwork) MarshalJSON ¶
func (s SwitchNetwork) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchNetwork. It customizes the JSON marshaling process for SwitchNetwork objects.
func (SwitchNetwork) String ¶ added in v0.4.23
func (s SwitchNetwork) String() string
String implements the fmt.Stringer interface for SwitchNetwork, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchNetwork) UnmarshalJSON ¶
func (s *SwitchNetwork) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchNetwork. It customizes the JSON unmarshaling process for SwitchNetwork objects.
type SwitchOobIpConfig ¶
type SwitchOobIpConfig struct {
Gateway *string `json:"gateway,omitempty"`
Ip *string `json:"ip,omitempty"`
// Used only if `subnet` is not specified in `networks`
Netmask *string `json:"netmask,omitempty"`
// Optional, the network to be used for mgmt
Network *string `json:"network,omitempty"`
// enum: `dhcp`, `static`
Type *IpTypeEnum `json:"type,omitempty"`
// If supported on the platform. If enabled, DNS will be using this routing-instance, too
UseMgmtVrf *bool `json:"use_mgmt_vrf,omitempty"`
// For host-out traffic (NTP/TACPLUS/RADIUS/SYSLOG/SNMP), if alternative source network/ip is desired
UseMgmtVrfForHostOut *bool `json:"use_mgmt_vrf_for_host_out,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchOobIpConfig represents a SwitchOobIpConfig struct. Switch OOB IP Config: - If HA configuration: key parameter will be nodeX (eg: node1) - If there are 2 routing engines, re1 mgmt IP has to be set separately (if desired): key parameter = `re1`
func (SwitchOobIpConfig) MarshalJSON ¶
func (s SwitchOobIpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchOobIpConfig. It customizes the JSON marshaling process for SwitchOobIpConfig objects.
func (SwitchOobIpConfig) String ¶ added in v0.4.23
func (s SwitchOobIpConfig) String() string
String implements the fmt.Stringer interface for SwitchOobIpConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchOobIpConfig) UnmarshalJSON ¶
func (s *SwitchOobIpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchOobIpConfig. It customizes the JSON unmarshaling process for SwitchOobIpConfig objects.
type SwitchOspfConfig ¶ added in v0.4.77
type SwitchOspfConfig struct {
// Property key is the area name. Defines the OSPF areas configured on the switch.
Areas map[string]SwitchOspfConfigArea `json:"areas,omitempty"`
// Enable OSPF on the switch
Enabled *bool `json:"enabled,omitempty"`
// optional, for basic scenario, `import_policy` can be specified and can be applied to all networks in all areas if not explicitly specified
ExportPolicy *string `json:"export_policy,omitempty"`
// optional, for basic scenario, `import_policy` can be specified and can be applied to all networks in all areas if not explicitly specified
ImportPolicy *string `json:"import_policy,omitempty"`
// Reference bandwidth. Integer(100000) or String (10g)
ReferenceBandwidth *SwitchOspfConfigReferenceBandwidth `json:"reference_bandwidth,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchOspfConfig represents a SwitchOspfConfig struct.
func (SwitchOspfConfig) MarshalJSON ¶ added in v0.4.77
func (s SwitchOspfConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchOspfConfig. It customizes the JSON marshaling process for SwitchOspfConfig objects.
func (SwitchOspfConfig) String ¶ added in v0.4.77
func (s SwitchOspfConfig) String() string
String implements the fmt.Stringer interface for SwitchOspfConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchOspfConfig) UnmarshalJSON ¶ added in v0.4.77
func (s *SwitchOspfConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchOspfConfig. It customizes the JSON unmarshaling process for SwitchOspfConfig objects.
type SwitchOspfConfigArea ¶ added in v0.4.77
type SwitchOspfConfigArea struct {
// Disable OSPF summary routes for this area
NoSummary *bool `json:"no_summary,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchOspfConfigArea represents a SwitchOspfConfigArea struct.
func (SwitchOspfConfigArea) MarshalJSON ¶ added in v0.4.77
func (s SwitchOspfConfigArea) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchOspfConfigArea. It customizes the JSON marshaling process for SwitchOspfConfigArea objects.
func (SwitchOspfConfigArea) String ¶ added in v0.4.77
func (s SwitchOspfConfigArea) String() string
String implements the fmt.Stringer interface for SwitchOspfConfigArea, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchOspfConfigArea) UnmarshalJSON ¶ added in v0.4.77
func (s *SwitchOspfConfigArea) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchOspfConfigArea. It customizes the JSON unmarshaling process for SwitchOspfConfigArea objects.
type SwitchOspfConfigReferenceBandwidth ¶ added in v0.4.77
type SwitchOspfConfigReferenceBandwidth struct {
// contains filtered or unexported fields
}
SwitchOspfConfigReferenceBandwidth represents a SwitchOspfConfigReferenceBandwidth struct. Reference bandwidth. Integer(100000) or String (10g)
func (*SwitchOspfConfigReferenceBandwidth) AsNumber ¶ added in v0.4.77
func (s *SwitchOspfConfigReferenceBandwidth) AsNumber() ( *int, bool)
func (*SwitchOspfConfigReferenceBandwidth) AsString ¶ added in v0.4.77
func (s *SwitchOspfConfigReferenceBandwidth) AsString() ( *string, bool)
func (SwitchOspfConfigReferenceBandwidth) MarshalJSON ¶ added in v0.4.77
func (s SwitchOspfConfigReferenceBandwidth) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchOspfConfigReferenceBandwidth. It customizes the JSON marshaling process for SwitchOspfConfigReferenceBandwidth objects.
func (SwitchOspfConfigReferenceBandwidth) String ¶ added in v0.4.77
func (s SwitchOspfConfigReferenceBandwidth) String() string
String implements the fmt.Stringer interface for SwitchOspfConfigReferenceBandwidth, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchOspfConfigReferenceBandwidth) UnmarshalJSON ¶ added in v0.4.77
func (s *SwitchOspfConfigReferenceBandwidth) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchOspfConfigReferenceBandwidth. It customizes the JSON unmarshaling process for SwitchOspfConfigReferenceBandwidth objects.
type SwitchPortConfigOverwrite ¶ added in v0.4.80
type SwitchPortConfigOverwrite struct {
Description *string `json:"description,omitempty"`
// Whether the port is disabled
Disabled *bool `json:"disabled,omitempty"`
// Link connection mode. enum: `auto`, `full`, `half`
Duplex *SwitchPortUsageDuplexOverwriteEnum `json:"duplex,omitempty"`
// Max number of mac addresses, default is 0 for unlimited, otherwise range is 1 to 16383 (upper bound constrained by platform)
MacLimit *SwitchPortUsageMacLimitOverwrite `json:"mac_limit,omitempty"`
// Whether PoE capabilities are disabled for a port
PoeDisabled *bool `json:"poe_disabled,omitempty"`
// Native network/vlan for untagged traffic
PortNetwork *string `json:"port_network,omitempty"`
// Port Speed, default is auto to automatically negotiate speed enum: `100m`, `10m`, `1g`, `2.5g`, `5g`, `10g`, `25g`, `40g`, `100g`,`auto`
Speed *SwitchPortUsageSpeedOverwriteEnum `json:"speed,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchPortConfigOverwrite represents a SwitchPortConfigOverwrite struct. Switch port config
func (SwitchPortConfigOverwrite) MarshalJSON ¶ added in v0.4.80
func (s SwitchPortConfigOverwrite) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchPortConfigOverwrite. It customizes the JSON marshaling process for SwitchPortConfigOverwrite objects.
func (SwitchPortConfigOverwrite) String ¶ added in v0.4.80
func (s SwitchPortConfigOverwrite) String() string
String implements the fmt.Stringer interface for SwitchPortConfigOverwrite, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchPortConfigOverwrite) UnmarshalJSON ¶ added in v0.4.80
func (s *SwitchPortConfigOverwrite) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchPortConfigOverwrite. It customizes the JSON unmarshaling process for SwitchPortConfigOverwrite objects.
type SwitchPortLocalUsageDot1xEnum ¶ added in v0.4.4
type SwitchPortLocalUsageDot1xEnum string
SwitchPortLocalUsageDot1xEnum is a string enum. if dot1x is desired, set to dot1x. enum: `dot1x`
const (
SwitchPortLocalUsageDot1xEnum_DOT1X SwitchPortLocalUsageDot1xEnum = "dot1x"
)
type SwitchPortLocalUsageDuplexEnum ¶ added in v0.4.4
type SwitchPortLocalUsageDuplexEnum string
SwitchPortLocalUsageDuplexEnum is a string enum. link connection mode. enum: `auto`, `full`, `half`
const ( SwitchPortLocalUsageDuplexEnum_AUTO SwitchPortLocalUsageDuplexEnum = "auto" SwitchPortLocalUsageDuplexEnum_FULL SwitchPortLocalUsageDuplexEnum = "full" SwitchPortLocalUsageDuplexEnum_HALF SwitchPortLocalUsageDuplexEnum = "half" )
type SwitchPortLocalUsageMacAuthProtocolEnum ¶ added in v0.4.4
type SwitchPortLocalUsageMacAuthProtocolEnum string
SwitchPortLocalUsageMacAuthProtocolEnum is a string enum. Only if `enable_mac_auth` ==`true`. This type is ignored if mist_nac is enabled. enum: `eap-md5`, `eap-peap`, `pap`
const ( SwitchPortLocalUsageMacAuthProtocolEnum_EAPMD5 SwitchPortLocalUsageMacAuthProtocolEnum = "eap-md5" SwitchPortLocalUsageMacAuthProtocolEnum_EAPPEAP SwitchPortLocalUsageMacAuthProtocolEnum = "eap-peap" SwitchPortLocalUsageMacAuthProtocolEnum_PAP SwitchPortLocalUsageMacAuthProtocolEnum = "pap" )
type SwitchPortLocalUsageModeEnum ¶ added in v0.4.4
type SwitchPortLocalUsageModeEnum string
SwitchPortLocalUsageModeEnum is a string enum. enum: `access`, `inet`, `trunk`
const ( SwitchPortLocalUsageModeEnum_ACCESS SwitchPortLocalUsageModeEnum = "access" SwitchPortLocalUsageModeEnum_INET SwitchPortLocalUsageModeEnum = "inet" SwitchPortLocalUsageModeEnum_TRUNK SwitchPortLocalUsageModeEnum = "trunk" )
type SwitchPortLocalUsageStormControl ¶ added in v0.4.4
type SwitchPortLocalUsageStormControl struct {
// Whether to disable the port when storm control is triggered
DisablePort *bool `json:"disable_port,omitempty"`
// Whether to disable storm control on broadcast traffic
NoBroadcast *bool `json:"no_broadcast,omitempty"`
// Whether to disable storm control on multicast traffic
NoMulticast *bool `json:"no_multicast,omitempty"`
// Whether to disable storm control on registered multicast traffic
NoRegisteredMulticast *bool `json:"no_registered_multicast,omitempty"`
// Whether to disable storm control on unknown unicast traffic
NoUnknownUnicast *bool `json:"no_unknown_unicast,omitempty"`
// Bandwidth-percentage, configures the storm control level as a percentage of the available bandwidth
Percentage *int `json:"percentage,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchPortLocalUsageStormControl represents a SwitchPortLocalUsageStormControl struct. Switch storm control
func (SwitchPortLocalUsageStormControl) MarshalJSON ¶ added in v0.4.4
func (s SwitchPortLocalUsageStormControl) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchPortLocalUsageStormControl. It customizes the JSON marshaling process for SwitchPortLocalUsageStormControl objects.
func (SwitchPortLocalUsageStormControl) String ¶ added in v0.4.23
func (s SwitchPortLocalUsageStormControl) String() string
String implements the fmt.Stringer interface for SwitchPortLocalUsageStormControl, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchPortLocalUsageStormControl) UnmarshalJSON ¶ added in v0.4.4
func (s *SwitchPortLocalUsageStormControl) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchPortLocalUsageStormControl. It customizes the JSON unmarshaling process for SwitchPortLocalUsageStormControl objects.
type SwitchPortMirroringProperty ¶
type SwitchPortMirroringProperty struct {
// At least one of the `input_port_ids_ingress`, `input_port_ids_egress` or `input_networks_ingress ` should be specified
InputNetworksIngress []string `json:"input_networks_ingress,omitempty"`
// At least one of the `input_port_ids_ingress`, `input_port_ids_egress` or `input_networks_ingress ` should be specified
InputPortIdsEgress []string `json:"input_port_ids_egress,omitempty"`
// At least one of the `input_port_ids_ingress`, `input_port_ids_egress` or `input_networks_ingress ` should be specified
InputPortIdsIngress []string `json:"input_port_ids_ingress,omitempty"`
// Exactly one of the `output_ip_address`, `output_port_id` or `output_network` should be provided
OutputIpAddress *string `json:"output_ip_address,omitempty"`
// Exactly one of the `output_ip_address`, `output_port_id` or `output_network` should be provided
OutputNetwork *string `json:"output_network,omitempty"`
// Exactly one of the `output_ip_address`, `output_port_id` or `output_network` should be provided
OutputPortId *string `json:"output_port_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchPortMirroringProperty represents a SwitchPortMirroringProperty struct.
func (SwitchPortMirroringProperty) MarshalJSON ¶
func (s SwitchPortMirroringProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchPortMirroringProperty. It customizes the JSON marshaling process for SwitchPortMirroringProperty objects.
func (SwitchPortMirroringProperty) String ¶ added in v0.4.23
func (s SwitchPortMirroringProperty) String() string
String implements the fmt.Stringer interface for SwitchPortMirroringProperty, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchPortMirroringProperty) UnmarshalJSON ¶
func (s *SwitchPortMirroringProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchPortMirroringProperty. It customizes the JSON unmarshaling process for SwitchPortMirroringProperty objects.
type SwitchPortUsage ¶
type SwitchPortUsage struct {
// Only if `mode`==`trunk`. Whether to trunk all network/vlans
AllNetworks *bool `json:"all_networks,omitempty"`
// Only applies when `mode`!=`dynamic`. Controls whether DHCP server traffic is allowed on ports using this configuration if DHCP snooping is enabled. This is a tri-state setting; `true`: ports become trusted ports allowing DHCP server traffic, `false`: ports become untrusted blocking DHCP server traffic, undefined: use system defaults (access ports default to untrusted, trunk ports default to trusted).
AllowDhcpd *bool `json:"allow_dhcpd,omitempty"`
// Only if `mode`!=`dynamic`
AllowMultipleSupplicants *bool `json:"allow_multiple_supplicants,omitempty"`
// Only if `mode`!=`dynamic` and `port_auth`==`dot1x`. Bypass auth for known clients if set to true when RADIUS server is down
BypassAuthWhenServerDown *bool `json:"bypass_auth_when_server_down,omitempty"`
// Only if `mode`!=`dynamic` and `port_auth`=`dot1x`. Bypass auth for all (including unknown clients) if set to true when RADIUS server is down
BypassAuthWhenServerDownForUnknownClient *bool `json:"bypass_auth_when_server_down_for_unknown_client,omitempty"`
// Only if `mode`!=`dynamic` and `port_auth`==`dot1x`. Bypass auth for VOIP if set to true when RADIUS server is down
BypassAuthWhenServerDownForVoip *bool `json:"bypass_auth_when_server_down_for_voip,omitempty"`
// Only if `mode`!=`dynamic`. To be used together with `isolation` under networks. Signaling that this port connects to the networks isolated but wired clients belong to the same community can talk to each other
CommunityVlanId *int `json:"community_vlan_id,omitempty"`
// Only if `mode`!=`dynamic`
Description *string `json:"description,omitempty"`
// Only if `mode`!=`dynamic`. If speed and duplex are specified, whether to disable autonegotiation
DisableAutoneg *bool `json:"disable_autoneg,omitempty"`
// Only if `mode`!=`dynamic`. Whether the port is disabled
Disabled *bool `json:"disabled,omitempty"`
// Only if `mode`!=`dynamic`. Link connection mode. enum: `auto`, `full`, `half`
Duplex *SwitchPortUsageDuplexEnum `json:"duplex,omitempty"`
// Only if `mode`!=`dynamic` and `port_auth`==`dot1x`, if dynamic vlan is used, specify the possible networks/vlans RADIUS can return
DynamicVlanNetworks []string `json:"dynamic_vlan_networks,omitempty"`
// Only if `mode`!=`dynamic` and `port_auth`==`dot1x`. Whether to enable MAC Auth
EnableMacAuth *bool `json:"enable_mac_auth,omitempty"`
// Only if `mode`!=`dynamic`
EnableQos *bool `json:"enable_qos,omitempty"`
// Only if `mode`!=`dynamic` and `port_auth`==`dot1x`. Which network to put the device into if the device cannot do dot1x. default is null (i.e. not allowed)
GuestNetwork Optional[string] `json:"guest_network"`
// Only if `mode`!=`dynamic`. `inter_isolation_network_link` is used together with `isolation` under networks, signaling that this port connects to isolated networks
InterIsolationNetworkLink *bool `json:"inter_isolation_network_link,omitempty"`
// Only if `mode`!=`dynamic`. `inter_switch_link` is used together with `isolation` under networks. NOTE: `inter_switch_link` works only between Juniper devices. This has to be applied to both ports connected together
InterSwitchLink *bool `json:"inter_switch_link,omitempty"`
// Only if `mode`!=`dynamic` and `enable_mac_auth`==`true`
MacAuthOnly *bool `json:"mac_auth_only,omitempty"`
// Only if `mode`!=`dynamic` + `enable_mac_auth`==`true` + `mac_auth_only`==`false`, dot1x will be given priority then mac_auth. Enable this to prefer mac_auth over dot1x.
MacAuthPreferred *bool `json:"mac_auth_preferred,omitempty"`
// Only if `mode`!=`dynamic` and `enable_mac_auth` ==`true`. This type is ignored if mist_nac is enabled. enum: `eap-md5`, `eap-peap`, `pap`
MacAuthProtocol *SwitchPortUsageMacAuthProtocolEnum `json:"mac_auth_protocol,omitempty"`
// Only if `mode`!=`dynamic`, max number of mac addresses, default is 0 for unlimited, otherwise range is 1 to 16383 (upper bound constrained by platform)
MacLimit *SwitchPortUsageMacLimit `json:"mac_limit,omitempty"`
// `mode`==`dynamic` must only be used if the port usage name is `dynamic`. enum: `access`, `dynamic`, `inet`, `trunk`
Mode *SwitchPortUsageModeEnum `json:"mode,omitempty"`
// Only if `mode`!=`dynamic` media maximum transmission unit (MTU) is the largest data unit that can be forwarded without fragmentation. The default value is 1514.
Mtu *SwitchPortUsageMtu `json:"mtu,omitempty"`
// Only if `mode`==`trunk`, the list of network/vlans
Networks []string `json:"networks,omitempty"`
// Only if `mode`==`access` and `port_auth`!=`dot1x`. Whether the port should retain dynamically learned MAC addresses
PersistMac *bool `json:"persist_mac,omitempty"`
// Only if `mode`!=`dynamic`. Whether PoE capabilities are disabled for a port
PoeDisabled *bool `json:"poe_disabled,omitempty"`
// PoE priority. enum: `low`, `high`
PoePriority *PoePriorityEnum `json:"poe_priority,omitempty"`
// Only if `mode`!=`dynamic`. If dot1x is desired, set to dot1x. enum: `dot1x`
PortAuth Optional[SwitchPortUsageDot1xEnum] `json:"port_auth"`
// Only if `mode`!=`dynamic`. Native network/vlan for untagged traffic
PortNetwork *string `json:"port_network,omitempty"`
// Only if `mode`!=`dynamic` and `port_auth`=`dot1x` reauthentication interval range (min: 10, max: 65535, default: 3600)
ReauthInterval *SwitchPortUsageReauthInterval `json:"reauth_interval,omitempty"`
// Only if `mode`==`dynamic` Control when the DPC port should be changed to the default port usage. enum: `link_down`, `none` (let the DPC port keep at the current port usage)
ResetDefaultWhen *SwitchPortUsageDynamicResetDefaultWhenEnum `json:"reset_default_when,omitempty"`
// Only if `mode`==`dynamic`
Rules []SwitchPortUsageDynamicRule `json:"rules,omitempty"`
// Only if `mode`!=`dynamic` and `port_auth`==`dot1x`. Sets server fail fallback vlan
ServerFailNetwork Optional[string] `json:"server_fail_network"`
// Only if `mode`!=`dynamic` and `port_auth`==`dot1x`. When radius server reject / fails
ServerRejectNetwork Optional[string] `json:"server_reject_network"`
// Only if `mode`!=`dynamic`, Port speed, default is auto to automatically negotiate speed enum: `100m`, `10m`, `1g`, `2.5g`, `5g`, `10g`, `25g`, `40g`, `100g`,`auto`
Speed *SwitchPortUsageSpeedEnum `json:"speed,omitempty"`
// Switch storm control. Only if `mode`!=`dynamic`
StormControl *SwitchPortUsageStormControl `json:"storm_control,omitempty"`
// Only if `mode`!=`dynamic` and `stp_required`==`false`. Drop bridge protocol data units (BPDUs ) that enter any interface or a specified interface
StpDisable *bool `json:"stp_disable,omitempty"`
// Only if `mode`!=`dynamic`. When enabled, the port is not expected to receive BPDU frames
StpEdge *bool `json:"stp_edge,omitempty"`
// Only if `mode`!=`dynamic`
StpNoRootPort *bool `json:"stp_no_root_port,omitempty"`
// Only if `mode`!=`dynamic`
StpP2p *bool `json:"stp_p2p,omitempty"`
// Only if `mode`!=`dynamic`. Whether to remain in block state if no BPDU is received
StpRequired *bool `json:"stp_required,omitempty"`
// Optional for Campus Fabric Core-Distribution ESI-LAG profile. Helper used by the UI to select this port profile as the ESI-Lag between Distribution and Access switches
UiEvpntopoId *uuid.UUID `json:"ui_evpntopo_id,omitempty"`
// If this is connected to a vstp network
UseVstp *bool `json:"use_vstp,omitempty"`
// Only if `mode`!=`dynamic`. Network/vlan for voip traffic, must also set port_network. to authenticate device, set port_auth
VoipNetwork Optional[string] `json:"voip_network"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchPortUsage represents a SwitchPortUsage struct. Junos port usages
func (SwitchPortUsage) MarshalJSON ¶
func (s SwitchPortUsage) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchPortUsage. It customizes the JSON marshaling process for SwitchPortUsage objects.
func (SwitchPortUsage) String ¶ added in v0.4.23
func (s SwitchPortUsage) String() string
String implements the fmt.Stringer interface for SwitchPortUsage, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchPortUsage) UnmarshalJSON ¶
func (s *SwitchPortUsage) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchPortUsage. It customizes the JSON unmarshaling process for SwitchPortUsage objects.
type SwitchPortUsageDot1xEnum ¶ added in v0.2.38
type SwitchPortUsageDot1xEnum string
SwitchPortUsageDot1xEnum is a string enum. Only if `mode`!=`dynamic`. If dot1x is desired, set to dot1x. enum: `dot1x`
const (
SwitchPortUsageDot1xEnum_DOT1X SwitchPortUsageDot1xEnum = "dot1x"
)
type SwitchPortUsageDuplexEnum ¶
type SwitchPortUsageDuplexEnum string
SwitchPortUsageDuplexEnum is a string enum. Only if `mode`!=`dynamic`. Link connection mode. enum: `auto`, `full`, `half`
const ( SwitchPortUsageDuplexEnum_AUTO SwitchPortUsageDuplexEnum = "auto" SwitchPortUsageDuplexEnum_FULL SwitchPortUsageDuplexEnum = "full" SwitchPortUsageDuplexEnum_HALF SwitchPortUsageDuplexEnum = "half" )
type SwitchPortUsageDuplexOverwriteEnum ¶ added in v0.4.80
type SwitchPortUsageDuplexOverwriteEnum string
SwitchPortUsageDuplexOverwriteEnum is a string enum. Link connection mode. enum: `auto`, `full`, `half`
const ( SwitchPortUsageDuplexOverwriteEnum_AUTO SwitchPortUsageDuplexOverwriteEnum = "auto" SwitchPortUsageDuplexOverwriteEnum_FULL SwitchPortUsageDuplexOverwriteEnum = "full" SwitchPortUsageDuplexOverwriteEnum_HALF SwitchPortUsageDuplexOverwriteEnum = "half" )
type SwitchPortUsageDynamicResetDefaultWhenEnum ¶
type SwitchPortUsageDynamicResetDefaultWhenEnum string
SwitchPortUsageDynamicResetDefaultWhenEnum is a string enum. Only if `mode`==`dynamic` Control when the DPC port should be changed to the default port usage. enum: `link_down`, `none` (let the DPC port keep at the current port usage)
const ( SwitchPortUsageDynamicResetDefaultWhenEnum_LINKDOWN SwitchPortUsageDynamicResetDefaultWhenEnum = "link_down" SwitchPortUsageDynamicResetDefaultWhenEnum_NONE SwitchPortUsageDynamicResetDefaultWhenEnum = "none" )
type SwitchPortUsageDynamicRule ¶
type SwitchPortUsageDynamicRule struct {
Equals *string `json:"equals,omitempty"`
// Use `equals_any` to match any item in a list
EqualsAny []string `json:"equals_any,omitempty"`
// "[0:3]":"abcdef" -> "abc"
// "split(.)[1]": "a.b.c" -> "b"
// "split(-)[1][0:3]: "a1234-b5678-c90" -> "b56"
Expression *string `json:"expression,omitempty"`
// enum: `link_peermac`, `lldp_chassis_id`, `lldp_hardware_revision`, `lldp_manufacturer_name`, `lldp_oui`, `lldp_serial_number`, `lldp_system_description`, `lldp_system_name`, `radius_dynamicfilter`, `radius_usermac`, `radius_username`
Src SwitchPortUsageDynamicRuleSrcEnum `json:"src"`
// `port_usage` name
Usage *string `json:"usage,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchPortUsageDynamicRule represents a SwitchPortUsageDynamicRule struct.
func (SwitchPortUsageDynamicRule) MarshalJSON ¶
func (s SwitchPortUsageDynamicRule) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchPortUsageDynamicRule. It customizes the JSON marshaling process for SwitchPortUsageDynamicRule objects.
func (SwitchPortUsageDynamicRule) String ¶ added in v0.4.23
func (s SwitchPortUsageDynamicRule) String() string
String implements the fmt.Stringer interface for SwitchPortUsageDynamicRule, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchPortUsageDynamicRule) UnmarshalJSON ¶
func (s *SwitchPortUsageDynamicRule) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchPortUsageDynamicRule. It customizes the JSON unmarshaling process for SwitchPortUsageDynamicRule objects.
type SwitchPortUsageDynamicRuleSrcEnum ¶
type SwitchPortUsageDynamicRuleSrcEnum string
SwitchPortUsageDynamicRuleSrcEnum is a string enum. enum: `link_peermac`, `lldp_chassis_id`, `lldp_hardware_revision`, `lldp_manufacturer_name`, `lldp_oui`, `lldp_serial_number`, `lldp_system_description`, `lldp_system_name`, `radius_dynamicfilter`, `radius_usermac`, `radius_username`
const ( SwitchPortUsageDynamicRuleSrcEnum_LINKPEERMAC SwitchPortUsageDynamicRuleSrcEnum = "link_peermac" SwitchPortUsageDynamicRuleSrcEnum_LLDPCHASSISID SwitchPortUsageDynamicRuleSrcEnum = "lldp_chassis_id" SwitchPortUsageDynamicRuleSrcEnum_LLDPHARDWAREREVISION SwitchPortUsageDynamicRuleSrcEnum = "lldp_hardware_revision" SwitchPortUsageDynamicRuleSrcEnum_LLDPMANUFACTURERNAME SwitchPortUsageDynamicRuleSrcEnum = "lldp_manufacturer_name" SwitchPortUsageDynamicRuleSrcEnum_LLDPOUI SwitchPortUsageDynamicRuleSrcEnum = "lldp_oui" SwitchPortUsageDynamicRuleSrcEnum_LLDPSERIALNUMBER SwitchPortUsageDynamicRuleSrcEnum = "lldp_serial_number" SwitchPortUsageDynamicRuleSrcEnum_LLDPSYSTEMDESCRIPTION SwitchPortUsageDynamicRuleSrcEnum = "lldp_system_description" SwitchPortUsageDynamicRuleSrcEnum_LLDPSYSTEMNAME SwitchPortUsageDynamicRuleSrcEnum = "lldp_system_name" SwitchPortUsageDynamicRuleSrcEnum_RADIUSDYNAMICFILTER SwitchPortUsageDynamicRuleSrcEnum = "radius_dynamicfilter" SwitchPortUsageDynamicRuleSrcEnum_RADIUSUSERMAC SwitchPortUsageDynamicRuleSrcEnum = "radius_usermac" SwitchPortUsageDynamicRuleSrcEnum_RADIUSUSERNAME SwitchPortUsageDynamicRuleSrcEnum = "radius_username" )
type SwitchPortUsageMacAuthProtocolEnum ¶
type SwitchPortUsageMacAuthProtocolEnum string
SwitchPortUsageMacAuthProtocolEnum is a string enum. Only if `mode`!=`dynamic` and `enable_mac_auth` ==`true`. This type is ignored if mist_nac is enabled. enum: `eap-md5`, `eap-peap`, `pap`
const ( SwitchPortUsageMacAuthProtocolEnum_EAPMD5 SwitchPortUsageMacAuthProtocolEnum = "eap-md5" SwitchPortUsageMacAuthProtocolEnum_EAPPEAP SwitchPortUsageMacAuthProtocolEnum = "eap-peap" SwitchPortUsageMacAuthProtocolEnum_PAP SwitchPortUsageMacAuthProtocolEnum = "pap" )
type SwitchPortUsageMacLimit ¶ added in v0.4.70
type SwitchPortUsageMacLimit struct {
// contains filtered or unexported fields
}
SwitchPortUsageMacLimit represents a SwitchPortUsageMacLimit struct. Only if `mode`!=`dynamic`, max number of mac addresses, default is 0 for unlimited, otherwise range is 1 to 16383 (upper bound constrained by platform)
func (*SwitchPortUsageMacLimit) AsNumber ¶ added in v0.4.70
func (s *SwitchPortUsageMacLimit) AsNumber() ( *int, bool)
func (*SwitchPortUsageMacLimit) AsString ¶ added in v0.4.70
func (s *SwitchPortUsageMacLimit) AsString() ( *string, bool)
func (SwitchPortUsageMacLimit) MarshalJSON ¶ added in v0.4.70
func (s SwitchPortUsageMacLimit) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchPortUsageMacLimit. It customizes the JSON marshaling process for SwitchPortUsageMacLimit objects.
func (SwitchPortUsageMacLimit) String ¶ added in v0.4.70
func (s SwitchPortUsageMacLimit) String() string
String implements the fmt.Stringer interface for SwitchPortUsageMacLimit, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchPortUsageMacLimit) UnmarshalJSON ¶ added in v0.4.70
func (s *SwitchPortUsageMacLimit) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchPortUsageMacLimit. It customizes the JSON unmarshaling process for SwitchPortUsageMacLimit objects.
type SwitchPortUsageMacLimitOverwrite ¶ added in v0.4.80
type SwitchPortUsageMacLimitOverwrite struct {
// contains filtered or unexported fields
}
SwitchPortUsageMacLimitOverwrite represents a SwitchPortUsageMacLimitOverwrite struct. Max number of mac addresses, default is 0 for unlimited, otherwise range is 1 to 16383 (upper bound constrained by platform)
func (*SwitchPortUsageMacLimitOverwrite) AsNumber ¶ added in v0.4.80
func (s *SwitchPortUsageMacLimitOverwrite) AsNumber() ( *int, bool)
func (*SwitchPortUsageMacLimitOverwrite) AsString ¶ added in v0.4.80
func (s *SwitchPortUsageMacLimitOverwrite) AsString() ( *string, bool)
func (SwitchPortUsageMacLimitOverwrite) MarshalJSON ¶ added in v0.4.80
func (s SwitchPortUsageMacLimitOverwrite) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchPortUsageMacLimitOverwrite. It customizes the JSON marshaling process for SwitchPortUsageMacLimitOverwrite objects.
func (SwitchPortUsageMacLimitOverwrite) String ¶ added in v0.4.80
func (s SwitchPortUsageMacLimitOverwrite) String() string
String implements the fmt.Stringer interface for SwitchPortUsageMacLimitOverwrite, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchPortUsageMacLimitOverwrite) UnmarshalJSON ¶ added in v0.4.80
func (s *SwitchPortUsageMacLimitOverwrite) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchPortUsageMacLimitOverwrite. It customizes the JSON unmarshaling process for SwitchPortUsageMacLimitOverwrite objects.
type SwitchPortUsageModeEnum ¶
type SwitchPortUsageModeEnum string
SwitchPortUsageModeEnum is a string enum. `mode`==`dynamic` must only be used if the port usage name is `dynamic`. enum: `access`, `dynamic`, `inet`, `trunk`
const ( SwitchPortUsageModeEnum_ACCESS SwitchPortUsageModeEnum = "access" SwitchPortUsageModeEnum_DYNAMIC SwitchPortUsageModeEnum = "dynamic" SwitchPortUsageModeEnum_INET SwitchPortUsageModeEnum = "inet" SwitchPortUsageModeEnum_TRUNK SwitchPortUsageModeEnum = "trunk" )
type SwitchPortUsageMtu ¶ added in v0.4.70
type SwitchPortUsageMtu struct {
// contains filtered or unexported fields
}
SwitchPortUsageMtu represents a SwitchPortUsageMtu struct. Only if `mode`!=`dynamic` media maximum transmission unit (MTU) is the largest data unit that can be forwarded without fragmentation. The default value is 1514.
func (*SwitchPortUsageMtu) AsNumber ¶ added in v0.4.70
func (s *SwitchPortUsageMtu) AsNumber() ( *int, bool)
func (*SwitchPortUsageMtu) AsString ¶ added in v0.4.70
func (s *SwitchPortUsageMtu) AsString() ( *string, bool)
func (SwitchPortUsageMtu) MarshalJSON ¶ added in v0.4.70
func (s SwitchPortUsageMtu) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchPortUsageMtu. It customizes the JSON marshaling process for SwitchPortUsageMtu objects.
func (SwitchPortUsageMtu) String ¶ added in v0.4.70
func (s SwitchPortUsageMtu) String() string
String implements the fmt.Stringer interface for SwitchPortUsageMtu, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchPortUsageMtu) UnmarshalJSON ¶ added in v0.4.70
func (s *SwitchPortUsageMtu) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchPortUsageMtu. It customizes the JSON unmarshaling process for SwitchPortUsageMtu objects.
type SwitchPortUsageReauthInterval ¶ added in v0.4.66
type SwitchPortUsageReauthInterval struct {
// contains filtered or unexported fields
}
SwitchPortUsageReauthInterval represents a SwitchPortUsageReauthInterval struct. Only if `mode`!=`dynamic` and `port_auth`=`dot1x` reauthentication interval range (min: 10, max: 65535, default: 3600)
func (*SwitchPortUsageReauthInterval) AsNumber ¶ added in v0.4.66
func (s *SwitchPortUsageReauthInterval) AsNumber() ( *int, bool)
func (*SwitchPortUsageReauthInterval) AsString ¶ added in v0.4.66
func (s *SwitchPortUsageReauthInterval) AsString() ( *string, bool)
func (SwitchPortUsageReauthInterval) MarshalJSON ¶ added in v0.4.66
func (s SwitchPortUsageReauthInterval) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchPortUsageReauthInterval. It customizes the JSON marshaling process for SwitchPortUsageReauthInterval objects.
func (SwitchPortUsageReauthInterval) String ¶ added in v0.4.66
func (s SwitchPortUsageReauthInterval) String() string
String implements the fmt.Stringer interface for SwitchPortUsageReauthInterval, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchPortUsageReauthInterval) UnmarshalJSON ¶ added in v0.4.66
func (s *SwitchPortUsageReauthInterval) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchPortUsageReauthInterval. It customizes the JSON unmarshaling process for SwitchPortUsageReauthInterval objects.
type SwitchPortUsageSpeedEnum ¶ added in v0.4.5
type SwitchPortUsageSpeedEnum string
SwitchPortUsageSpeedEnum is a string enum. Only if `mode`!=`dynamic`, Port speed, default is auto to automatically negotiate speed enum: `100m`, `10m`, `1g`, `2.5g`, `5g`, `10g`, `25g`, `40g`, `100g`,`auto`
const ( SwitchPortUsageSpeedEnum_ENUM10M SwitchPortUsageSpeedEnum = "10m" SwitchPortUsageSpeedEnum_ENUM100M SwitchPortUsageSpeedEnum = "100m" SwitchPortUsageSpeedEnum_ENUM1G SwitchPortUsageSpeedEnum = "1g" SwitchPortUsageSpeedEnum_ENUM25G SwitchPortUsageSpeedEnum = "2.5g" SwitchPortUsageSpeedEnum_ENUM5G SwitchPortUsageSpeedEnum = "5g" SwitchPortUsageSpeedEnum_ENUM10G SwitchPortUsageSpeedEnum = "10g" SwitchPortUsageSpeedEnum_ENUM25G1 SwitchPortUsageSpeedEnum = "25g" SwitchPortUsageSpeedEnum_ENUM40G SwitchPortUsageSpeedEnum = "40g" SwitchPortUsageSpeedEnum_ENUM100G SwitchPortUsageSpeedEnum = "100g" SwitchPortUsageSpeedEnum_AUTO SwitchPortUsageSpeedEnum = "auto" )
type SwitchPortUsageSpeedOverwriteEnum ¶ added in v0.4.80
type SwitchPortUsageSpeedOverwriteEnum string
SwitchPortUsageSpeedOverwriteEnum is a string enum. Port Speed, default is auto to automatically negotiate speed enum: `100m`, `10m`, `1g`, `2.5g`, `5g`, `10g`, `25g`, `40g`, `100g`,`auto`
const ( SwitchPortUsageSpeedOverwriteEnum_ENUM10M SwitchPortUsageSpeedOverwriteEnum = "10m" SwitchPortUsageSpeedOverwriteEnum_ENUM100M SwitchPortUsageSpeedOverwriteEnum = "100m" SwitchPortUsageSpeedOverwriteEnum_ENUM1G SwitchPortUsageSpeedOverwriteEnum = "1g" SwitchPortUsageSpeedOverwriteEnum_ENUM25G SwitchPortUsageSpeedOverwriteEnum = "2.5g" SwitchPortUsageSpeedOverwriteEnum_ENUM5G SwitchPortUsageSpeedOverwriteEnum = "5g" SwitchPortUsageSpeedOverwriteEnum_ENUM10G SwitchPortUsageSpeedOverwriteEnum = "10g" SwitchPortUsageSpeedOverwriteEnum_ENUM25G1 SwitchPortUsageSpeedOverwriteEnum = "25g" SwitchPortUsageSpeedOverwriteEnum_ENUM40G SwitchPortUsageSpeedOverwriteEnum = "40g" SwitchPortUsageSpeedOverwriteEnum_ENUM100G SwitchPortUsageSpeedOverwriteEnum = "100g" SwitchPortUsageSpeedOverwriteEnum_AUTO SwitchPortUsageSpeedOverwriteEnum = "auto" )
type SwitchPortUsageStormControl ¶
type SwitchPortUsageStormControl struct {
// Whether to disable the port when storm control is triggered
DisablePort *bool `json:"disable_port,omitempty"`
// Whether to disable storm control on broadcast traffic
NoBroadcast *bool `json:"no_broadcast,omitempty"`
// Whether to disable storm control on multicast traffic
NoMulticast *bool `json:"no_multicast,omitempty"`
// Whether to disable storm control on registered multicast traffic
NoRegisteredMulticast *bool `json:"no_registered_multicast,omitempty"`
// Whether to disable storm control on unknown unicast traffic
NoUnknownUnicast *bool `json:"no_unknown_unicast,omitempty"`
// Bandwidth-percentage, configures the storm control level as a percentage of the available bandwidth
Percentage *int `json:"percentage,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchPortUsageStormControl represents a SwitchPortUsageStormControl struct. Switch storm control. Only if `mode`!=`dynamic`
func (SwitchPortUsageStormControl) MarshalJSON ¶
func (s SwitchPortUsageStormControl) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchPortUsageStormControl. It customizes the JSON marshaling process for SwitchPortUsageStormControl objects.
func (SwitchPortUsageStormControl) String ¶ added in v0.4.23
func (s SwitchPortUsageStormControl) String() string
String implements the fmt.Stringer interface for SwitchPortUsageStormControl, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchPortUsageStormControl) UnmarshalJSON ¶
func (s *SwitchPortUsageStormControl) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchPortUsageStormControl. It customizes the JSON unmarshaling process for SwitchPortUsageStormControl objects.
type SwitchRadius ¶ added in v0.4.0
type SwitchRadius struct {
Enabled *bool `json:"enabled,omitempty"`
// Junos Radius config
RadiusConfig *SwitchRadiusConfig `json:"radius_config,omitempty"`
UseDifferentRadius *string `json:"use_different_radius,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchRadius represents a SwitchRadius struct. By default, `radius_config` will be used. if a different one has to be used set `use_different_radius
func (SwitchRadius) MarshalJSON ¶ added in v0.4.0
func (s SwitchRadius) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchRadius. It customizes the JSON marshaling process for SwitchRadius objects.
func (SwitchRadius) String ¶ added in v0.4.23
func (s SwitchRadius) String() string
String implements the fmt.Stringer interface for SwitchRadius, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchRadius) UnmarshalJSON ¶ added in v0.4.0
func (s *SwitchRadius) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchRadius. It customizes the JSON unmarshaling process for SwitchRadius objects.
type SwitchRadiusConfig ¶ added in v0.4.0
type SwitchRadiusConfig struct {
AcctImmediateUpdate *bool `json:"acct_immediate_update,omitempty"`
// How frequently should interim accounting be reported, 60-65535. default is 0 (use one specified in Access-Accept request from RADIUS Server). Very frequent messages can affect the performance of the radius server, 600 and up is recommended when enabled
AcctInterimInterval *int `json:"acct_interim_interval,omitempty"`
AcctServers []RadiusAcctServer `json:"acct_servers,omitempty"`
// enum: `ordered`, `unordered`
AuthServerSelection *SwitchRadiusConfigAuthServerSelectionEnum `json:"auth_server_selection,omitempty"`
AuthServers []RadiusAuthServer `json:"auth_servers,omitempty"`
// Radius auth session retries
AuthServersRetries *int `json:"auth_servers_retries,omitempty"`
// Radius auth session timeout
AuthServersTimeout *int `json:"auth_servers_timeout,omitempty"`
CoaEnabled *bool `json:"coa_enabled,omitempty"`
// Radius CoA Port, value from 1 to 65535, default is 3799
CoaPort *RadiusCoaPort `json:"coa_port,omitempty"`
FastDot1xTimers *bool `json:"fast_dot1x_timers,omitempty"`
// Use `network`or `source_ip`. Which network the RADIUS server resides, if there's static IP for this network, we'd use it as source-ip
Network *string `json:"network,omitempty"`
// Use `network`or `source_ip`
SourceIp *string `json:"source_ip,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchRadiusConfig represents a SwitchRadiusConfig struct. Junos Radius config
func (SwitchRadiusConfig) MarshalJSON ¶ added in v0.4.0
func (s SwitchRadiusConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchRadiusConfig. It customizes the JSON marshaling process for SwitchRadiusConfig objects.
func (SwitchRadiusConfig) String ¶ added in v0.4.23
func (s SwitchRadiusConfig) String() string
String implements the fmt.Stringer interface for SwitchRadiusConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchRadiusConfig) UnmarshalJSON ¶ added in v0.4.0
func (s *SwitchRadiusConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchRadiusConfig. It customizes the JSON unmarshaling process for SwitchRadiusConfig objects.
type SwitchRadiusConfigAuthServerSelectionEnum ¶ added in v0.4.70
type SwitchRadiusConfigAuthServerSelectionEnum string
SwitchRadiusConfigAuthServerSelectionEnum is a string enum. enum: `ordered`, `unordered`
const ( SwitchRadiusConfigAuthServerSelectionEnum_ORDERED SwitchRadiusConfigAuthServerSelectionEnum = "ordered" SwitchRadiusConfigAuthServerSelectionEnum_UNORDERED SwitchRadiusConfigAuthServerSelectionEnum = "unordered" )
type SwitchSearch ¶
type SwitchSearch struct {
Clustered *bool `json:"clustered,omitempty"`
EvpnMissingLinks *bool `json:"evpn_missing_links,omitempty"`
EvpntopoId *string `json:"evpntopo_id,omitempty"`
ExtIp *string `json:"ext_ip,omitempty"`
Hostname []string `json:"hostname,omitempty"`
Ip *string `json:"ip,omitempty"`
LastConfigStatus *string `json:"last_config_status,omitempty"`
LastHostname *string `json:"last_hostname,omitempty"`
LastTroubleCode *string `json:"last_trouble_code,omitempty"`
// Epoch (seconds)
LastTroubleTimestamp *float64 `json:"last_trouble_timestamp,omitempty"`
Mac *string `json:"mac,omitempty"`
Managed *bool `json:"managed,omitempty"`
Model *string `json:"model,omitempty"`
NumMembers *int `json:"num_members,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Property key is the RADIUS server IP Address
RadiusStats map[string]DeviceSearchRadiusStat `json:"radius_stats,omitempty"`
Role *string `json:"role,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
TimeDrifted *bool `json:"time_drifted,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
// Device Type. enum: `switch`
Type string `json:"type"`
Uptime *int `json:"uptime,omitempty"`
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchSearch represents a SwitchSearch struct.
func (SwitchSearch) MarshalJSON ¶
func (s SwitchSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchSearch. It customizes the JSON marshaling process for SwitchSearch objects.
func (SwitchSearch) String ¶ added in v0.4.23
func (s SwitchSearch) String() string
String implements the fmt.Stringer interface for SwitchSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchSearch) UnmarshalJSON ¶
func (s *SwitchSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchSearch. It customizes the JSON unmarshaling process for SwitchSearch objects.
type SwitchStpConfig ¶
type SwitchStpConfig struct {
// Switch STP priority. Range [0, 4k, 8k.. 60k] in steps of 4k. Bridge priority applies to both VSTP and RSTP.
BridgePriority *string `json:"bridge_priority,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchStpConfig represents a SwitchStpConfig struct.
func (SwitchStpConfig) MarshalJSON ¶
func (s SwitchStpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchStpConfig. It customizes the JSON marshaling process for SwitchStpConfig objects.
func (SwitchStpConfig) String ¶ added in v0.4.23
func (s SwitchStpConfig) String() string
String implements the fmt.Stringer interface for SwitchStpConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchStpConfig) UnmarshalJSON ¶
func (s *SwitchStpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchStpConfig. It customizes the JSON unmarshaling process for SwitchStpConfig objects.
type SwitchVirtualChassis ¶
type SwitchVirtualChassis struct {
// List of Virtual Chassis members
Members []SwitchVirtualChassisMember `json:"members,omitempty"`
// To configure whether the VC is preprovisioned or nonprovisioned
Preprovisioned *bool `json:"preprovisioned,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchVirtualChassis represents a SwitchVirtualChassis struct. Required for preprovisioned Virtual Chassis
func (SwitchVirtualChassis) MarshalJSON ¶
func (s SwitchVirtualChassis) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchVirtualChassis. It customizes the JSON marshaling process for SwitchVirtualChassis objects.
func (SwitchVirtualChassis) String ¶ added in v0.4.23
func (s SwitchVirtualChassis) String() string
String implements the fmt.Stringer interface for SwitchVirtualChassis, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchVirtualChassis) UnmarshalJSON ¶
func (s *SwitchVirtualChassis) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchVirtualChassis. It customizes the JSON unmarshaling process for SwitchVirtualChassis objects.
type SwitchVirtualChassisMember ¶
type SwitchVirtualChassisMember struct {
// fpc0, same as the mac of device_id
Mac string `json:"mac"`
MemberId int `json:"member_id"`
// Both vc_role master and backup will be matched to routing-engine role in Junos preprovisioned VC config. enum: `backup`, `linecard`, `master`
VcRole SwitchVirtualChassisMemberVcRoleEnum `json:"vc_role"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchVirtualChassisMember represents a SwitchVirtualChassisMember struct.
func (SwitchVirtualChassisMember) MarshalJSON ¶
func (s SwitchVirtualChassisMember) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchVirtualChassisMember. It customizes the JSON marshaling process for SwitchVirtualChassisMember objects.
func (SwitchVirtualChassisMember) String ¶ added in v0.4.23
func (s SwitchVirtualChassisMember) String() string
String implements the fmt.Stringer interface for SwitchVirtualChassisMember, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchVirtualChassisMember) UnmarshalJSON ¶
func (s *SwitchVirtualChassisMember) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchVirtualChassisMember. It customizes the JSON unmarshaling process for SwitchVirtualChassisMember objects.
type SwitchVirtualChassisMemberVcRoleEnum ¶
type SwitchVirtualChassisMemberVcRoleEnum string
SwitchVirtualChassisMemberVcRoleEnum is a string enum. Both vc_role master and backup will be matched to routing-engine role in Junos preprovisioned VC config. enum: `backup`, `linecard`, `master`
const ( SwitchVirtualChassisMemberVcRoleEnum_BACKUP SwitchVirtualChassisMemberVcRoleEnum = "backup" SwitchVirtualChassisMemberVcRoleEnum_LINECARD SwitchVirtualChassisMemberVcRoleEnum = "linecard" SwitchVirtualChassisMemberVcRoleEnum_MASTER SwitchVirtualChassisMemberVcRoleEnum = "master" )
type SwitchVrfInstance ¶ added in v0.2.31
type SwitchVrfInstance struct {
// Property key is the destination subnet (e.g. "172.16.3.0/24")
AggregateRoutes map[string]AggregateRoute `json:"aggregate_routes,omitempty"`
// Property key is the destination subnet (e.g. "2a02:1234:420a:10c9::/64")
AggregateRoutes6 map[string]AggregateRoute `json:"aggregate_routes6,omitempty"`
EvpnAutoLoopbackSubnet *string `json:"evpn_auto_loopback_subnet,omitempty"`
EvpnAutoLoopbackSubnet6 *string `json:"evpn_auto_loopback_subnet6,omitempty"`
// Property key is the destination CIDR (e.g. "10.0.0.0/8")
ExtraRoutes map[string]VrfExtraRoute `json:"extra_routes,omitempty"`
// Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64")
ExtraRoutes6 map[string]VrfExtraRoute `json:"extra_routes6,omitempty"`
Networks []string `json:"networks,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SwitchVrfInstance represents a SwitchVrfInstance struct.
func (SwitchVrfInstance) MarshalJSON ¶ added in v0.2.31
func (s SwitchVrfInstance) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchVrfInstance. It customizes the JSON marshaling process for SwitchVrfInstance objects.
func (SwitchVrfInstance) String ¶ added in v0.4.23
func (s SwitchVrfInstance) String() string
String implements the fmt.Stringer interface for SwitchVrfInstance, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SwitchVrfInstance) UnmarshalJSON ¶ added in v0.2.31
func (s *SwitchVrfInstance) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchVrfInstance. It customizes the JSON unmarshaling process for SwitchVrfInstance objects.
type Synthetictest ¶
type Synthetictest struct {
Email *string `json:"email,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Synthetictest represents a Synthetictest struct.
func (Synthetictest) MarshalJSON ¶
func (s Synthetictest) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for Synthetictest. It customizes the JSON marshaling process for Synthetictest objects.
func (Synthetictest) String ¶ added in v0.4.23
func (s Synthetictest) String() string
String implements the fmt.Stringer interface for Synthetictest, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Synthetictest) UnmarshalJSON ¶
func (s *Synthetictest) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for Synthetictest. It customizes the JSON unmarshaling process for Synthetictest objects.
type SynthetictestConfig ¶
type SynthetictestConfig struct {
// enum: `auto`, `high`, `low`
Aggressiveness *SynthetictestConfigAggressivenessEnum `json:"aggressiveness,omitempty"`
// Custom probes to be used for synthetic tests
CustomProbes map[string]SynthetictestConfigCustomProbe `json:"custom_probes,omitempty"`
Disabled *bool `json:"disabled,omitempty"`
// List of networks to be used for synthetic tests
LanNetworks []SynthetictestConfigLanNetwork `json:"lan_networks,omitempty"`
Vlans []SynthetictestConfigVlan `json:"vlans,omitempty"` // Deprecated
WanSpeedtest *SynthetictestConfigWanSpeedtest `json:"wan_speedtest,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SynthetictestConfig represents a SynthetictestConfig struct.
func (SynthetictestConfig) MarshalJSON ¶
func (s SynthetictestConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SynthetictestConfig. It customizes the JSON marshaling process for SynthetictestConfig objects.
func (SynthetictestConfig) String ¶ added in v0.4.23
func (s SynthetictestConfig) String() string
String implements the fmt.Stringer interface for SynthetictestConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SynthetictestConfig) UnmarshalJSON ¶
func (s *SynthetictestConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SynthetictestConfig. It customizes the JSON unmarshaling process for SynthetictestConfig objects.
type SynthetictestConfigAggressivenessEnum ¶ added in v0.4.75
type SynthetictestConfigAggressivenessEnum string
SynthetictestConfigAggressivenessEnum is a string enum. enum: `auto`, `high`, `low`
const ( SynthetictestConfigAggressivenessEnum_AUTO SynthetictestConfigAggressivenessEnum = "auto" SynthetictestConfigAggressivenessEnum_HIGH SynthetictestConfigAggressivenessEnum = "high" SynthetictestConfigAggressivenessEnum_MED SynthetictestConfigAggressivenessEnum = "med" SynthetictestConfigAggressivenessEnum_LOW SynthetictestConfigAggressivenessEnum = "low" )
type SynthetictestConfigCustomProbe ¶ added in v0.4.75
type SynthetictestConfigCustomProbe struct {
// enum: `auto`, `high`, `low`
Aggressiveness *SynthetictestConfigAggressivenessEnum `json:"aggressiveness,omitempty"`
// If `type`==`icmp` or `type`==`tcp`, Host to be used for the custom probe
Host *string `json:"host,omitempty"`
// If `type`==`tcp`, Port to be used for the custom probe
Port *int `json:"port,omitempty"`
// In milliseconds
Threshold *int `json:"threshold,omitempty"`
// enum: `curl`, `icmp`, `tcp`
Type *SynthetictestConfigCustomProbeTypeEnum `json:"type,omitempty"`
// If `type`==`curl`, URL to be used for the custom probe, can be url or IP
Url *string `json:"url,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SynthetictestConfigCustomProbe represents a SynthetictestConfigCustomProbe struct.
func (SynthetictestConfigCustomProbe) MarshalJSON ¶ added in v0.4.75
func (s SynthetictestConfigCustomProbe) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SynthetictestConfigCustomProbe. It customizes the JSON marshaling process for SynthetictestConfigCustomProbe objects.
func (SynthetictestConfigCustomProbe) String ¶ added in v0.4.75
func (s SynthetictestConfigCustomProbe) String() string
String implements the fmt.Stringer interface for SynthetictestConfigCustomProbe, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SynthetictestConfigCustomProbe) UnmarshalJSON ¶ added in v0.4.75
func (s *SynthetictestConfigCustomProbe) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SynthetictestConfigCustomProbe. It customizes the JSON unmarshaling process for SynthetictestConfigCustomProbe objects.
type SynthetictestConfigCustomProbeTypeEnum ¶ added in v0.4.75
type SynthetictestConfigCustomProbeTypeEnum string
SynthetictestConfigCustomProbeTypeEnum is a string enum. enum: `curl`, `icmp`, `tcp`
const ( SynthetictestConfigCustomProbeTypeEnum_CURL SynthetictestConfigCustomProbeTypeEnum = "curl" SynthetictestConfigCustomProbeTypeEnum_ICMP SynthetictestConfigCustomProbeTypeEnum = "icmp" SynthetictestConfigCustomProbeTypeEnum_TCP SynthetictestConfigCustomProbeTypeEnum = "tcp" )
type SynthetictestConfigLanNetwork ¶ added in v0.4.75
type SynthetictestConfigLanNetwork struct {
// List of networks to be used for synthetic tests
Networks []string `json:"networks,omitempty"`
// app name comes from `custom_probes` above or /const/synthetic_test_probes
Probes []string `json:"probes,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SynthetictestConfigLanNetwork represents a SynthetictestConfigLanNetwork struct. configure minis probes to be tested on lan networks of gateways
func (SynthetictestConfigLanNetwork) MarshalJSON ¶ added in v0.4.75
func (s SynthetictestConfigLanNetwork) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SynthetictestConfigLanNetwork. It customizes the JSON marshaling process for SynthetictestConfigLanNetwork objects.
func (SynthetictestConfigLanNetwork) String ¶ added in v0.4.75
func (s SynthetictestConfigLanNetwork) String() string
String implements the fmt.Stringer interface for SynthetictestConfigLanNetwork, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SynthetictestConfigLanNetwork) UnmarshalJSON ¶ added in v0.4.75
func (s *SynthetictestConfigLanNetwork) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SynthetictestConfigLanNetwork. It customizes the JSON unmarshaling process for SynthetictestConfigLanNetwork objects.
type SynthetictestConfigVlan ¶ added in v0.4.75
type SynthetictestConfigVlan struct {
CustomTestUrls []string `json:"custom_test_urls,omitempty"` // Deprecated
// For some vlans where we don't want this to run
Disabled *bool `json:"disabled,omitempty"`
// app name comes from `custom_probes` above or /const/synthetic_test_probes
Probes []string `json:"probes,omitempty"`
VlanIds []VlanIdWithVariable `json:"vlan_ids,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SynthetictestConfigVlan represents a SynthetictestConfigVlan struct.
func (SynthetictestConfigVlan) MarshalJSON ¶ added in v0.4.75
func (s SynthetictestConfigVlan) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SynthetictestConfigVlan. It customizes the JSON marshaling process for SynthetictestConfigVlan objects.
func (SynthetictestConfigVlan) String ¶ added in v0.4.75
func (s SynthetictestConfigVlan) String() string
String implements the fmt.Stringer interface for SynthetictestConfigVlan, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SynthetictestConfigVlan) UnmarshalJSON ¶ added in v0.4.75
func (s *SynthetictestConfigVlan) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SynthetictestConfigVlan. It customizes the JSON unmarshaling process for SynthetictestConfigVlan objects.
type SynthetictestConfigWanSpeedtest ¶ added in v0.2.12
type SynthetictestConfigWanSpeedtest struct {
Enabled *bool `json:"enabled,omitempty"`
// `any` / HH:MM (24-hour format)
TimeOfDay *string `json:"time_of_day,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SynthetictestConfigWanSpeedtest represents a SynthetictestConfigWanSpeedtest struct.
func (SynthetictestConfigWanSpeedtest) MarshalJSON ¶ added in v0.2.12
func (s SynthetictestConfigWanSpeedtest) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SynthetictestConfigWanSpeedtest. It customizes the JSON marshaling process for SynthetictestConfigWanSpeedtest objects.
func (SynthetictestConfigWanSpeedtest) String ¶ added in v0.4.23
func (s SynthetictestConfigWanSpeedtest) String() string
String implements the fmt.Stringer interface for SynthetictestConfigWanSpeedtest, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SynthetictestConfigWanSpeedtest) UnmarshalJSON ¶ added in v0.2.12
func (s *SynthetictestConfigWanSpeedtest) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SynthetictestConfigWanSpeedtest. It customizes the JSON unmarshaling process for SynthetictestConfigWanSpeedtest objects.
type SynthetictestDevice ¶
type SynthetictestDevice struct {
// If `type`==`lan_connectivity`
Host *string `json:"host,omitempty"`
// If `type`==`dns`
Hostname *string `json:"hostname,omitempty"`
// If `type`==`arp`
Ip *string `json:"ip,omitempty"`
// If `type`==`radius`
Password *string `json:"password,omitempty"`
// If `type`==`lan_connectivity`
PingCount *int `json:"ping_count,omitempty"`
// If `type`==`lan_connectivity`
PingDetails *bool `json:"ping_details,omitempty"`
// If `type`==`lan_connectivity`
PingSize *int `json:"ping_size,omitempty"`
// If `type`==`speedtest`, required for ssr
PortId *string `json:"port_id,omitempty"`
// if `type`==`lan_connectivity`. enum: `ping`, `traceroute`, `ping+traceroute`
Protocol *SynthetictestDeviceProtocolEnum `json:"protocol,omitempty"`
// If `type`==`curl` or `type`==`lan_connectivity`
Tenant *string `json:"tenant,omitempty"`
// If `type`==`curl`
Timeout *int `json:"timeout,omitempty"`
// SRX only, traceroute udp port
TracerouteUdpPort *int `json:"traceroute_udp_port,omitempty"`
// enum: `arp`, `curl`, `dhcp`, `dhcp6`, `dns`, `lan_connectivity`, `radius`, `speedtest`
Type SynthetictestTypeEnum `json:"type"`
// If `type`==`curl`
Url *string `json:"url,omitempty"`
// If `type`==`radius`
Username *string `json:"username,omitempty"`
// Required for AP
VlanId *SynthetictestDeviceVlanId `json:"vlan_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SynthetictestDevice represents a SynthetictestDevice struct.
func (SynthetictestDevice) MarshalJSON ¶
func (s SynthetictestDevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SynthetictestDevice. It customizes the JSON marshaling process for SynthetictestDevice objects.
func (SynthetictestDevice) String ¶ added in v0.4.23
func (s SynthetictestDevice) String() string
String implements the fmt.Stringer interface for SynthetictestDevice, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SynthetictestDevice) UnmarshalJSON ¶
func (s *SynthetictestDevice) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SynthetictestDevice. It customizes the JSON unmarshaling process for SynthetictestDevice objects.
type SynthetictestDeviceProtocolEnum ¶ added in v0.3.17
type SynthetictestDeviceProtocolEnum string
SynthetictestDeviceProtocolEnum is a string enum. if `type`==`lan_connectivity`. enum: `ping`, `traceroute`, `ping+traceroute`
const ( SynthetictestDeviceProtocolEnum_PING SynthetictestDeviceProtocolEnum = "ping" SynthetictestDeviceProtocolEnum_ENUMPINGTRACEROUTE SynthetictestDeviceProtocolEnum = "ping+traceroute" SynthetictestDeviceProtocolEnum_TRACEROUTE SynthetictestDeviceProtocolEnum = "traceroute" )
type SynthetictestDeviceVlanId ¶ added in v0.2.20
type SynthetictestDeviceVlanId struct {
// contains filtered or unexported fields
}
SynthetictestDeviceVlanId represents a SynthetictestDeviceVlanId struct. Required for AP
func (*SynthetictestDeviceVlanId) AsNumber ¶ added in v0.2.20
func (s *SynthetictestDeviceVlanId) AsNumber() ( *int, bool)
func (*SynthetictestDeviceVlanId) AsString ¶ added in v0.2.20
func (s *SynthetictestDeviceVlanId) AsString() ( *string, bool)
func (SynthetictestDeviceVlanId) MarshalJSON ¶ added in v0.2.20
func (s SynthetictestDeviceVlanId) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SynthetictestDeviceVlanId. It customizes the JSON marshaling process for SynthetictestDeviceVlanId objects.
func (SynthetictestDeviceVlanId) String ¶ added in v0.2.20
func (s SynthetictestDeviceVlanId) String() string
String implements the fmt.Stringer interface for SynthetictestDeviceVlanId, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SynthetictestDeviceVlanId) UnmarshalJSON ¶ added in v0.2.20
func (s *SynthetictestDeviceVlanId) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SynthetictestDeviceVlanId. It customizes the JSON unmarshaling process for SynthetictestDeviceVlanId objects.
type SynthetictestInfo ¶
type SynthetictestInfo struct {
By *string `json:"by,omitempty"`
// enum: `ap`, `gateway`, `switch`
DeviceType *DeviceTypeEnum `json:"device_type,omitempty"`
Failed *bool `json:"failed,omitempty"`
Latency *int `json:"latency,omitempty"`
Mac *string `json:"mac,omitempty"`
PortId *string `json:"port_id,omitempty"`
Reason *string `json:"reason,omitempty"`
RxMbps *int `json:"rx_mbps,omitempty"`
StartTime *int `json:"start_time,omitempty"`
Status *string `json:"status,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
TxMbps *int `json:"tx_mbps,omitempty"`
// enum: `arp`, `curl`, `dhcp`, `dhcp6`, `dns`, `lan_connectivity`, `radius`, `speedtest`
Type *SynthetictestTypeEnum `json:"type,omitempty"`
VlanId *int `json:"vlan_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SynthetictestInfo represents a SynthetictestInfo struct.
func (SynthetictestInfo) MarshalJSON ¶
func (s SynthetictestInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SynthetictestInfo. It customizes the JSON marshaling process for SynthetictestInfo objects.
func (SynthetictestInfo) String ¶ added in v0.4.23
func (s SynthetictestInfo) String() string
String implements the fmt.Stringer interface for SynthetictestInfo, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SynthetictestInfo) UnmarshalJSON ¶
func (s *SynthetictestInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SynthetictestInfo. It customizes the JSON unmarshaling process for SynthetictestInfo objects.
type SynthetictestProtocolEnum ¶ added in v0.4.0
type SynthetictestProtocolEnum string
SynthetictestProtocolEnum is a string enum. enum: `ping`, `traceroute`
const ( SynthetictestProtocolEnum_PING SynthetictestProtocolEnum = "ping" SynthetictestProtocolEnum_TRACEROUTE SynthetictestProtocolEnum = "traceroute" )
type SynthetictestRadiusServer ¶
type SynthetictestRadiusServer struct {
// Specify the password associated with the username
Password string `json:"password"`
// Specify the access profile associated with the subscriber
Profile *string `json:"profile,omitempty"`
// Specify the subscriber username to test
User string `json:"user"`
AdditionalProperties map[string]interface{} `json:"_"`
}
SynthetictestRadiusServer represents a SynthetictestRadiusServer struct.
func (SynthetictestRadiusServer) MarshalJSON ¶
func (s SynthetictestRadiusServer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SynthetictestRadiusServer. It customizes the JSON marshaling process for SynthetictestRadiusServer objects.
func (SynthetictestRadiusServer) String ¶ added in v0.4.23
func (s SynthetictestRadiusServer) String() string
String implements the fmt.Stringer interface for SynthetictestRadiusServer, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*SynthetictestRadiusServer) UnmarshalJSON ¶
func (s *SynthetictestRadiusServer) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SynthetictestRadiusServer. It customizes the JSON unmarshaling process for SynthetictestRadiusServer objects.
type SynthetictestTypeEnum ¶
type SynthetictestTypeEnum string
SynthetictestTypeEnum is a string enum. enum: `arp`, `curl`, `dhcp`, `dhcp6`, `dns`, `lan_connectivity`, `radius`, `speedtest`
const ( SynthetictestTypeEnum_ARP SynthetictestTypeEnum = "arp" SynthetictestTypeEnum_CURL SynthetictestTypeEnum = "curl" SynthetictestTypeEnum_DHCP SynthetictestTypeEnum = "dhcp" SynthetictestTypeEnum_DHCP6 SynthetictestTypeEnum = "dhcp6" SynthetictestTypeEnum_DNS SynthetictestTypeEnum = "dns" SynthetictestTypeEnum_LANCONNECTIVITY SynthetictestTypeEnum = "lan_connectivity" SynthetictestTypeEnum_RADIUS SynthetictestTypeEnum = "radius" SynthetictestTypeEnum_SPEEDTEST SynthetictestTypeEnum = "speedtest" )
type SystemDefinedPortUsagesEnum ¶ added in v0.3.17
type SystemDefinedPortUsagesEnum string
SystemDefinedPortUsagesEnum is a string enum. system-default port usages. enum: `ap`, `iot`, `uplink“
const ( SystemDefinedPortUsagesEnum_AP SystemDefinedPortUsagesEnum = "ap" SystemDefinedPortUsagesEnum_IOT SystemDefinedPortUsagesEnum = "iot" SystemDefinedPortUsagesEnum_UPLINK SystemDefinedPortUsagesEnum = "uplink" )
type Tacacs ¶
type Tacacs struct {
AcctServers []TacacsAcctServer `json:"acct_servers,omitempty"`
// enum: `admin`, `helpdesk`, `none`, `read`
DefaultRole *TacacsDefaultRoleEnum `json:"default_role,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// Which network the TACACS server resides
Network *string `json:"network,omitempty"`
TacplusServers []TacacsAuthServer `json:"tacplus_servers,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Tacacs represents a Tacacs struct.
func (Tacacs) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Tacacs. It customizes the JSON marshaling process for Tacacs objects.
func (Tacacs) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Tacacs, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Tacacs) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Tacacs. It customizes the JSON unmarshaling process for Tacacs objects.
type TacacsAcctServer ¶
type TacacsAcctServer struct {
Host *string `json:"host,omitempty"`
Port *string `json:"port,omitempty"`
Secret *string `json:"secret,omitempty"`
Timeout *int `json:"timeout,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TacacsAcctServer represents a TacacsAcctServer struct.
func (TacacsAcctServer) MarshalJSON ¶
func (t TacacsAcctServer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TacacsAcctServer. It customizes the JSON marshaling process for TacacsAcctServer objects.
func (TacacsAcctServer) String ¶ added in v0.4.23
func (t TacacsAcctServer) String() string
String implements the fmt.Stringer interface for TacacsAcctServer, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TacacsAcctServer) UnmarshalJSON ¶
func (t *TacacsAcctServer) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TacacsAcctServer. It customizes the JSON unmarshaling process for TacacsAcctServer objects.
type TacacsAuthServer ¶
type TacacsAuthServer struct {
Host *string `json:"host,omitempty"`
Port *string `json:"port,omitempty"`
Secret *string `json:"secret,omitempty"`
Timeout *int `json:"timeout,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TacacsAuthServer represents a TacacsAuthServer struct.
func (TacacsAuthServer) MarshalJSON ¶
func (t TacacsAuthServer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TacacsAuthServer. It customizes the JSON marshaling process for TacacsAuthServer objects.
func (TacacsAuthServer) String ¶ added in v0.4.23
func (t TacacsAuthServer) String() string
String implements the fmt.Stringer interface for TacacsAuthServer, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TacacsAuthServer) UnmarshalJSON ¶
func (t *TacacsAuthServer) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TacacsAuthServer. It customizes the JSON unmarshaling process for TacacsAuthServer objects.
type TacacsDefaultRoleEnum ¶
type TacacsDefaultRoleEnum string
TacacsDefaultRoleEnum is a string enum. enum: `admin`, `helpdesk`, `none`, `read`
const ( TacacsDefaultRoleEnum_ADMIN TacacsDefaultRoleEnum = "admin" TacacsDefaultRoleEnum_HELPDESK TacacsDefaultRoleEnum = "helpdesk" TacacsDefaultRoleEnum_NONE TacacsDefaultRoleEnum = "none" TacacsDefaultRoleEnum_READ TacacsDefaultRoleEnum = "read" )
type Template ¶
type Template struct {
// Where this template should be applied to, can be org_id, site_ids, sitegroup_ids
Applies *TemplateApplies `json:"applies,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// List of Device Profile ids
DeviceprofileIds []uuid.UUID `json:"deviceprofile_ids,omitempty"`
// Where this template should not be applied to (takes precedence)
Exceptions *TemplateExceptions `json:"exceptions,omitempty"`
// Whether to further filter by Device Profile
FilterByDeviceprofile *bool `json:"filter_by_deviceprofile,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name string `json:"name"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Template represents a Template struct. Template
func (Template) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Template. It customizes the JSON marshaling process for Template objects.
func (Template) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Template, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Template) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Template. It customizes the JSON unmarshaling process for Template objects.
type TemplateApplies ¶
type TemplateApplies struct {
OrgId *uuid.UUID `json:"org_id,omitempty"`
// List of site ids
SiteIds []uuid.UUID `json:"site_ids,omitempty"`
// List of sitegroup ids
SitegroupIds []uuid.UUID `json:"sitegroup_ids,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TemplateApplies represents a TemplateApplies struct. Where this template should be applied to, can be org_id, site_ids, sitegroup_ids
func (TemplateApplies) MarshalJSON ¶
func (t TemplateApplies) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TemplateApplies. It customizes the JSON marshaling process for TemplateApplies objects.
func (TemplateApplies) String ¶ added in v0.4.23
func (t TemplateApplies) String() string
String implements the fmt.Stringer interface for TemplateApplies, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TemplateApplies) UnmarshalJSON ¶
func (t *TemplateApplies) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TemplateApplies. It customizes the JSON unmarshaling process for TemplateApplies objects.
type TemplateExceptions ¶
type TemplateExceptions struct {
// List of site ids
SiteIds []uuid.UUID `json:"site_ids,omitempty"`
// List of sitegroup ids
SitegroupIds []uuid.UUID `json:"sitegroup_ids,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TemplateExceptions represents a TemplateExceptions struct. Where this template should not be applied to (takes precedence)
func (TemplateExceptions) MarshalJSON ¶
func (t TemplateExceptions) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TemplateExceptions. It customizes the JSON marshaling process for TemplateExceptions objects.
func (TemplateExceptions) String ¶ added in v0.4.23
func (t TemplateExceptions) String() string
String implements the fmt.Stringer interface for TemplateExceptions, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TemplateExceptions) UnmarshalJSON ¶
func (t *TemplateExceptions) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TemplateExceptions. It customizes the JSON unmarshaling process for TemplateExceptions objects.
type TestCradlepoint ¶ added in v0.4.74
type TestCradlepoint struct {
// if status is `inactive` this field returns the reason for it being inactive.
Error *string `json:"error,omitempty"`
// status of integration detected during last sync. enum: `active`, `inactive`
LastStatus *TestCradlepointLastStatusEnum `json:"last_status,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TestCradlepoint represents a TestCradlepoint struct.
func (TestCradlepoint) MarshalJSON ¶ added in v0.4.74
func (t TestCradlepoint) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TestCradlepoint. It customizes the JSON marshaling process for TestCradlepoint objects.
func (TestCradlepoint) String ¶ added in v0.4.74
func (t TestCradlepoint) String() string
String implements the fmt.Stringer interface for TestCradlepoint, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TestCradlepoint) UnmarshalJSON ¶ added in v0.4.74
func (t *TestCradlepoint) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TestCradlepoint. It customizes the JSON unmarshaling process for TestCradlepoint objects.
type TestCradlepointLastStatusEnum ¶ added in v0.4.74
type TestCradlepointLastStatusEnum string
TestCradlepointLastStatusEnum is a string enum. status of integration detected during last sync. enum: `active`, `inactive`
const ( TestCradlepointLastStatusEnum_ACTIVE TestCradlepointLastStatusEnum = "active" TestCradlepointLastStatusEnum_INACTIVE TestCradlepointLastStatusEnum = "inactive" )
type TestSmsGlobal ¶ added in v0.4.74
type TestSmsGlobal struct {
// SMSGlobal api key
SmsglobalApiKey string `json:"smsglobal_api_key"`
// SMSGlobal api secret
SmsglobalApiSecret string `json:"smsglobal_api_secret"`
// Phone number of the recipient of SMS with country code
To string `json:"to"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TestSmsGlobal represents a TestSmsGlobal struct.
func (TestSmsGlobal) MarshalJSON ¶ added in v0.4.74
func (t TestSmsGlobal) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TestSmsGlobal. It customizes the JSON marshaling process for TestSmsGlobal objects.
func (TestSmsGlobal) String ¶ added in v0.4.74
func (t TestSmsGlobal) String() string
String implements the fmt.Stringer interface for TestSmsGlobal, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TestSmsGlobal) UnmarshalJSON ¶ added in v0.4.74
func (t *TestSmsGlobal) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TestSmsGlobal. It customizes the JSON unmarshaling process for TestSmsGlobal objects.
type TestTelstra ¶
type TestTelstra struct {
// Telstra client id
TelstraClientId string `json:"telstra_client_id"`
// Telstra client secret
TelstraClientSecret string `json:"telstra_client_secret"`
// Phone number of the recipient of SMS with country code
To string `json:"to"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TestTelstra represents a TestTelstra struct.
func (TestTelstra) MarshalJSON ¶
func (t TestTelstra) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TestTelstra. It customizes the JSON marshaling process for TestTelstra objects.
func (TestTelstra) String ¶ added in v0.4.23
func (t TestTelstra) String() string
String implements the fmt.Stringer interface for TestTelstra, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TestTelstra) UnmarshalJSON ¶
func (t *TestTelstra) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TestTelstra. It customizes the JSON unmarshaling process for TestTelstra objects.
type TestTwilio ¶
type TestTwilio struct {
// One of the numbers you have in your Twilio account
From string `json:"from"`
// Phone number of the recipient of SMS
To string `json:"to"`
// Auth Token associated with twilio account
TwilioAuthToken string `json:"twilio_auth_token"`
// Twilio Account SID
TwilioSid string `json:"twilio_sid"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TestTwilio represents a TestTwilio struct.
func (TestTwilio) MarshalJSON ¶
func (t TestTwilio) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TestTwilio. It customizes the JSON marshaling process for TestTwilio objects.
func (TestTwilio) String ¶ added in v0.4.23
func (t TestTwilio) String() string
String implements the fmt.Stringer interface for TestTwilio, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TestTwilio) UnmarshalJSON ¶
func (t *TestTwilio) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TestTwilio. It customizes the JSON unmarshaling process for TestTwilio objects.
type Ticket ¶
type Ticket struct {
CaseNumber *string `json:"case_number,omitempty"`
Comments []TicketComment `json:"comments,omitempty"`
CreatedAt *int `json:"created_at,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Requester *string `json:"requester,omitempty"`
// Email of the requester
RequesterEmail *string `json:"requester_email,omitempty"`
// Ticket status. enum:
// * open: ticket is open, Mist is working on it
// * pending: ticket is open and Requester attention is needed (e.g. Mist is asking for some more information)
// * solved: ticket is marked as solved / considered by Mist (requester can update it, causing it to re-open; or rate it)
// * closed: ticket is archived and cannot be changed.
Status *TicketStatusEnum `json:"status,omitempty"`
Subject string `json:"subject"`
// Question (default) / bug / critical
Type string `json:"type"`
UpdatedAt *int `json:"updated_at,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Ticket represents a Ticket struct. Support Ticket
func (Ticket) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Ticket. It customizes the JSON marshaling process for Ticket objects.
func (Ticket) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Ticket, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Ticket) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Ticket. It customizes the JSON unmarshaling process for Ticket objects.
type TicketAttachment ¶
type TicketAttachment struct {
ContentUrl *string `json:"content_url,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TicketAttachment represents a TicketAttachment struct.
func (TicketAttachment) MarshalJSON ¶
func (t TicketAttachment) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TicketAttachment. It customizes the JSON marshaling process for TicketAttachment objects.
func (TicketAttachment) String ¶ added in v0.4.23
func (t TicketAttachment) String() string
String implements the fmt.Stringer interface for TicketAttachment, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TicketAttachment) UnmarshalJSON ¶
func (t *TicketAttachment) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TicketAttachment. It customizes the JSON unmarshaling process for TicketAttachment objects.
type TicketComment ¶
type TicketComment struct {
AttachmentIds []uuid.UUID `json:"attachment_ids,omitempty"`
Attachments []TicketCommentsAttachment `json:"attachments,omitempty"`
Author string `json:"author"`
Comment string `json:"comment"`
CreatedAt int `json:"created_at"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TicketComment represents a TicketComment struct.
func (TicketComment) MarshalJSON ¶
func (t TicketComment) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TicketComment. It customizes the JSON marshaling process for TicketComment objects.
func (TicketComment) String ¶ added in v0.4.23
func (t TicketComment) String() string
String implements the fmt.Stringer interface for TicketComment, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TicketComment) UnmarshalJSON ¶
func (t *TicketComment) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TicketComment. It customizes the JSON unmarshaling process for TicketComment objects.
type TicketCommentImportFile ¶
type TicketCommentImportFile struct {
Comment *string `json:"comment,omitempty"`
File *[]byte `json:"file,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TicketCommentImportFile represents a TicketCommentImportFile struct.
func (TicketCommentImportFile) MarshalJSON ¶
func (t TicketCommentImportFile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TicketCommentImportFile. It customizes the JSON marshaling process for TicketCommentImportFile objects.
func (TicketCommentImportFile) String ¶ added in v0.4.23
func (t TicketCommentImportFile) String() string
String implements the fmt.Stringer interface for TicketCommentImportFile, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TicketCommentImportFile) UnmarshalJSON ¶
func (t *TicketCommentImportFile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TicketCommentImportFile. It customizes the JSON unmarshaling process for TicketCommentImportFile objects.
type TicketCommentsAttachment ¶
type TicketCommentsAttachment struct {
ContentType *string `json:"content_type,omitempty"`
ContentUrl *string `json:"content_url,omitempty"`
CreatedAt *int `json:"created_at,omitempty"`
FileName *string `json:"file_name,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
SizeInBytes *int `json:"size_in_bytes,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TicketCommentsAttachment represents a TicketCommentsAttachment struct.
func (TicketCommentsAttachment) MarshalJSON ¶
func (t TicketCommentsAttachment) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TicketCommentsAttachment. It customizes the JSON marshaling process for TicketCommentsAttachment objects.
func (TicketCommentsAttachment) String ¶ added in v0.4.23
func (t TicketCommentsAttachment) String() string
String implements the fmt.Stringer interface for TicketCommentsAttachment, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TicketCommentsAttachment) UnmarshalJSON ¶
func (t *TicketCommentsAttachment) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TicketCommentsAttachment. It customizes the JSON unmarshaling process for TicketCommentsAttachment objects.
type TicketStatusEnum ¶
type TicketStatusEnum string
TicketStatusEnum is a string enum. Ticket status. enum: * open: ticket is open, Mist is working on it * pending: ticket is open and Requester attention is needed (e.g. Mist is asking for some more information) * solved: ticket is marked as solved / considered by Mist (requester can update it, causing it to re-open; or rate it) * closed: ticket is archived and cannot be changed.
const ( TicketStatusEnum_CLOSED TicketStatusEnum = "closed" TicketStatusEnum_OPEN TicketStatusEnum = "open" TicketStatusEnum_PENDING TicketStatusEnum = "pending" TicketStatusEnum_SOLVED TicketStatusEnum = "solved" )
type TicketUploadAttachmentsFile ¶
type TicketUploadAttachmentsFile struct {
// Ekahau or ibwave file
File *[]byte `json:"file,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TicketUploadAttachmentsFile represents a TicketUploadAttachmentsFile struct.
func (TicketUploadAttachmentsFile) MarshalJSON ¶
func (t TicketUploadAttachmentsFile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TicketUploadAttachmentsFile. It customizes the JSON marshaling process for TicketUploadAttachmentsFile objects.
func (TicketUploadAttachmentsFile) String ¶ added in v0.4.23
func (t TicketUploadAttachmentsFile) String() string
String implements the fmt.Stringer interface for TicketUploadAttachmentsFile, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TicketUploadAttachmentsFile) UnmarshalJSON ¶
func (t *TicketUploadAttachmentsFile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TicketUploadAttachmentsFile. It customizes the JSON unmarshaling process for TicketUploadAttachmentsFile objects.
type TroubleshootCallItem ¶
type TroubleshootCallItem struct {
ApNumClients *float64 `json:"ap_num_clients,omitempty"`
ApRtt *float64 `json:"ap_rtt,omitempty"`
AudioIn *CallTroubleshootData `json:"audio_in,omitempty"`
AudioOut *CallTroubleshootData `json:"audio_out,omitempty"`
ClientCpu *float64 `json:"client_cpu,omitempty"`
ClientNStreams *float64 `json:"client_n_streams,omitempty"`
ClientRadioBand *float64 `json:"client_radio_band,omitempty"`
ClientRssi *float64 `json:"client_rssi,omitempty"`
ClientRxBytes *float64 `json:"client_rx_bytes,omitempty"`
ClientRxRates *float64 `json:"client_rx_rates,omitempty"`
ClientRxRetries *float64 `json:"client_rx_retries,omitempty"`
ClientTxBytes *float64 `json:"client_tx_bytes,omitempty"`
ClientTxRates *float64 `json:"client_tx_rates,omitempty"`
ClientTxRetries *float64 `json:"client_tx_retries,omitempty"`
ClientVpnDistance *float64 `json:"client_vpn_distance,omitempty"`
ClientWifiVersion *float64 `json:"client_wifi_version,omitempty"`
Expected *float64 `json:"expected,omitempty"`
RadioApChange *float64 `json:"radio_ap_change,omitempty"`
RadioBandwidth *float64 `json:"radio_bandwidth,omitempty"`
RadioChannel *float64 `json:"radio_channel,omitempty"`
RadioRxFailed *float64 `json:"radio_rx_failed,omitempty"`
RadioTxPower *float64 `json:"radio_tx_power,omitempty"`
RadioUtil *float64 `json:"radio_util,omitempty"`
RadioUtilInterference *float64 `json:"radio_util_interference,omitempty"`
SiteNumClients *float64 `json:"site_num_clients,omitempty"`
SiteWanAvgDownloadMbps *float64 `json:"site_wan_avg_download_mbps,omitempty"`
SiteWanAvgUploadMbps *float64 `json:"site_wan_avg_upload_mbps,omitempty"`
SiteWanDownloadMbps *float64 `json:"site_wan_download_mbps,omitempty"`
SiteWanJitter *float64 `json:"site_wan_jitter,omitempty"`
SiteWanRtt *float64 `json:"site_wan_rtt,omitempty"`
SiteWanUploadMbps *float64 `json:"site_wan_upload_mbps,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
VideoIn *CallTroubleshootData `json:"video_in,omitempty"`
VideoOut *CallTroubleshootData `json:"video_out,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TroubleshootCallItem represents a TroubleshootCallItem struct.
func (TroubleshootCallItem) MarshalJSON ¶
func (t TroubleshootCallItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TroubleshootCallItem. It customizes the JSON marshaling process for TroubleshootCallItem objects.
func (TroubleshootCallItem) String ¶ added in v0.4.23
func (t TroubleshootCallItem) String() string
String implements the fmt.Stringer interface for TroubleshootCallItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TroubleshootCallItem) UnmarshalJSON ¶
func (t *TroubleshootCallItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TroubleshootCallItem. It customizes the JSON unmarshaling process for TroubleshootCallItem objects.
type TroubleshootTypeEnum ¶
type TroubleshootTypeEnum string
TroubleshootTypeEnum is a string enum. enum: `wan`, `wired`, `wireless`
const ( TroubleshootTypeEnum_WAN TroubleshootTypeEnum = "wan" TroubleshootTypeEnum_WIRED TroubleshootTypeEnum = "wired" TroubleshootTypeEnum_WIRELESS TroubleshootTypeEnum = "wireless" )
type TunnelConfig ¶ added in v0.4.23
type TunnelConfig struct {
// Auto Provisioning configuration for the tunne. This takes precedence over the `primary` and `secondary` nodes.
AutoProvision *TunnelConfigAutoProvision `json:"auto_provision,omitempty"`
// Only if `provider`==`custom-ipsec`
IkeLifetime *int `json:"ike_lifetime,omitempty"`
// Only if `provider`==`custom-ipsec`. enum: `aggressive`, `main`
IkeMode *TunnelConfigIkeModeEnum `json:"ike_mode,omitempty"`
// If `provider`==`custom-ipsec`
IkeProposals []TunnelConfigIkeProposal `json:"ike_proposals,omitempty"`
// If `provider`==`custom-ipsec`
IpsecLifetime *int `json:"ipsec_lifetime,omitempty"`
// Only if `provider`==`custom-ipsec`
IpsecProposals []TunnelConfigIpsecProposal `json:"ipsec_proposals,omitempty"`
// Required if `provider`==`zscaler-ipsec`, `provider`==`jse-ipsec` or `provider`==`custom-ipsec`
LocalId *string `json:"local_id,omitempty"`
// List of Local protected subnet for policy-based IPSec negotiation
LocalSubnets []string `json:"local_subnets,omitempty"`
// Required if `provider`==`zscaler-gre`, `provider`==`jse-ipsec`. enum: `active-active`, `active-standby`
Mode *TunnelConfigTunnelModeEnum `json:"mode,omitempty"`
// If `provider`==`custom-ipsec` or `provider`==`prisma-ipsec`, networks reachable via this tunnel
Networks []string `json:"networks,omitempty"`
// Only if `provider`==`zscaler-ipsec`, `provider`==`jse-ipsec` or `provider`==`custom-ipsec`
Primary *TunnelConfigNode `json:"primary,omitempty"`
// Only if `provider`==`custom-ipsec`
Probe *TunnelConfigProbe `json:"probe,omitempty"`
// Only if `provider`==`custom-ipsec`. enum: `gre`, `ipsec`
Protocol *TunnelConfigProtocolEnum `json:"protocol,omitempty"`
// Only if `auto_provision.enabled`==`false`. enum: `custom-ipsec`, `custom-gre`, `jse-ipsec`, `prisma-ipsec`, `zscaler-gre`, `zscaler-ipsec`
Provider *TunnelConfigProviderEnum `json:"provider,omitempty"`
// Required if `provider`==`zscaler-ipsec`, `provider`==`jse-ipsec` or `provider`==`custom-ipsec`
Psk *string `json:"psk,omitempty"`
// List of Remote protected subnet for policy-based IPSec negotiation
RemoteSubnets []string `json:"remote_subnets,omitempty"`
// Only if `provider`==`zscaler-ipsec`, `provider`==`jse-ipsec` or `provider`==`custom-ipsec`
Secondary *TunnelConfigNode `json:"secondary,omitempty"`
// Only if `provider`==`custom-gre` or `provider`==`custom-ipsec`. enum: `1`, `2`
Version *TunnelConfigVersionEnum `json:"version,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TunnelConfig represents a TunnelConfig struct.
func (TunnelConfig) MarshalJSON ¶ added in v0.4.23
func (t TunnelConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TunnelConfig. It customizes the JSON marshaling process for TunnelConfig objects.
func (TunnelConfig) String ¶ added in v0.4.23
func (t TunnelConfig) String() string
String implements the fmt.Stringer interface for TunnelConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TunnelConfig) UnmarshalJSON ¶ added in v0.4.23
func (t *TunnelConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TunnelConfig. It customizes the JSON unmarshaling process for TunnelConfig objects.
type TunnelConfigAuthAlgoEnum ¶ added in v0.4.23
type TunnelConfigAuthAlgoEnum string
TunnelConfigAuthAlgoEnum is a string enum. enum: `md5`, `sha1`, `sha2`
const ( TunnelConfigAuthAlgoEnum_MD5 TunnelConfigAuthAlgoEnum = "md5" TunnelConfigAuthAlgoEnum_SHA1 TunnelConfigAuthAlgoEnum = "sha1" TunnelConfigAuthAlgoEnum_SHA2 TunnelConfigAuthAlgoEnum = "sha2" )
type TunnelConfigAutoProvision ¶ added in v0.4.23
type TunnelConfigAutoProvision struct {
// Enable auto provisioning for the tunnel. If enabled, the `primary` and `secondary` nodes will be ignored.
Enabled *bool `json:"enabled,omitempty"`
// API override for POP selection
Latlng *TunnelConfigAutoProvisionLatLng `json:"latlng,omitempty"`
Primary *TunnelConfigAutoProvisionNode `json:"primary,omitempty"`
// enum: `jse-ipsec`, `zscaler-ipsec`
Provider TunnelConfigAutoProvisionProviderEnum `json:"provider"`
// API override for POP selection in the case user wants to override the auto discovery of remote network location and force the tunnel to use the specified peer location.
Region *string `json:"region,omitempty"`
Secondary *TunnelConfigAutoProvisionNode `json:"secondary,omitempty"`
// if `provider`==`prisma-ipsec`. By default, we'll use the location of the site to determine the optimal Remote Network location, optionally, service_connection can be considered, then we'll also consider this along with the site location. Define service_connection if the traffic is to be routed to a specific service connection. This field takes a service connection name that is configured in the Prisma cloud, Prisma Access Setup -> Service Connections.
ServiceConnection *string `json:"service_connection,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TunnelConfigAutoProvision represents a TunnelConfigAutoProvision struct. Auto Provisioning configuration for the tunne. This takes precedence over the `primary` and `secondary` nodes.
func (TunnelConfigAutoProvision) MarshalJSON ¶ added in v0.4.23
func (t TunnelConfigAutoProvision) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TunnelConfigAutoProvision. It customizes the JSON marshaling process for TunnelConfigAutoProvision objects.
func (TunnelConfigAutoProvision) String ¶ added in v0.4.23
func (t TunnelConfigAutoProvision) String() string
String implements the fmt.Stringer interface for TunnelConfigAutoProvision, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TunnelConfigAutoProvision) UnmarshalJSON ¶ added in v0.4.23
func (t *TunnelConfigAutoProvision) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TunnelConfigAutoProvision. It customizes the JSON unmarshaling process for TunnelConfigAutoProvision objects.
type TunnelConfigAutoProvisionLatLng ¶ added in v0.4.23
type TunnelConfigAutoProvisionLatLng struct {
Lat float64 `json:"lat"`
Lng float64 `json:"lng"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TunnelConfigAutoProvisionLatLng represents a TunnelConfigAutoProvisionLatLng struct. API override for POP selection
func (TunnelConfigAutoProvisionLatLng) MarshalJSON ¶ added in v0.4.23
func (t TunnelConfigAutoProvisionLatLng) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TunnelConfigAutoProvisionLatLng. It customizes the JSON marshaling process for TunnelConfigAutoProvisionLatLng objects.
func (TunnelConfigAutoProvisionLatLng) String ¶ added in v0.4.23
func (t TunnelConfigAutoProvisionLatLng) String() string
String implements the fmt.Stringer interface for TunnelConfigAutoProvisionLatLng, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TunnelConfigAutoProvisionLatLng) UnmarshalJSON ¶ added in v0.4.23
func (t *TunnelConfigAutoProvisionLatLng) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TunnelConfigAutoProvisionLatLng. It customizes the JSON unmarshaling process for TunnelConfigAutoProvisionLatLng objects.
type TunnelConfigAutoProvisionNode ¶ added in v0.4.23
type TunnelConfigAutoProvisionNode struct {
ProbeIps []string `json:"probe_ips,omitempty"`
// Optional, only needed if `vars_only`==`false`
WanNames []string `json:"wan_names,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TunnelConfigAutoProvisionNode represents a TunnelConfigAutoProvisionNode struct.
func (TunnelConfigAutoProvisionNode) MarshalJSON ¶ added in v0.4.23
func (t TunnelConfigAutoProvisionNode) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TunnelConfigAutoProvisionNode. It customizes the JSON marshaling process for TunnelConfigAutoProvisionNode objects.
func (TunnelConfigAutoProvisionNode) String ¶ added in v0.4.23
func (t TunnelConfigAutoProvisionNode) String() string
String implements the fmt.Stringer interface for TunnelConfigAutoProvisionNode, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TunnelConfigAutoProvisionNode) UnmarshalJSON ¶ added in v0.4.23
func (t *TunnelConfigAutoProvisionNode) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TunnelConfigAutoProvisionNode. It customizes the JSON unmarshaling process for TunnelConfigAutoProvisionNode objects.
type TunnelConfigAutoProvisionProviderEnum ¶ added in v0.4.23
type TunnelConfigAutoProvisionProviderEnum string
TunnelConfigAutoProvisionProviderEnum is a string enum. enum: `jse-ipsec`, `zscaler-ipsec`
const ( TunnelConfigAutoProvisionProviderEnum_JSEIPSEC TunnelConfigAutoProvisionProviderEnum = "jse-ipsec" TunnelConfigAutoProvisionProviderEnum_ZSCALERIPSEC TunnelConfigAutoProvisionProviderEnum = "zscaler-ipsec" )
type TunnelConfigDhGroupEnum ¶ added in v0.4.23
type TunnelConfigDhGroupEnum string
TunnelConfigDhGroupEnum is a string enum. Only if `provider`==`custom-ipsec`. enum: * 1 * 2 (1024-bit) * 5 * 14 (default, 2048-bit) * 15 (3072-bit) * 16 (4096-bit) * 19 (256-bit ECP) * 20 (384-bit ECP) * 21 (521-bit ECP) * 24 (2048-bit ECP)
const ( TunnelConfigDhGroupEnum_ENUM1 TunnelConfigDhGroupEnum = "1" TunnelConfigDhGroupEnum_ENUM14 TunnelConfigDhGroupEnum = "14" TunnelConfigDhGroupEnum_ENUM15 TunnelConfigDhGroupEnum = "15" TunnelConfigDhGroupEnum_ENUM16 TunnelConfigDhGroupEnum = "16" TunnelConfigDhGroupEnum_ENUM19 TunnelConfigDhGroupEnum = "19" TunnelConfigDhGroupEnum_ENUM2 TunnelConfigDhGroupEnum = "2" TunnelConfigDhGroupEnum_ENUM20 TunnelConfigDhGroupEnum = "20" TunnelConfigDhGroupEnum_ENUM21 TunnelConfigDhGroupEnum = "21" TunnelConfigDhGroupEnum_ENUM24 TunnelConfigDhGroupEnum = "24" TunnelConfigDhGroupEnum_ENUM5 TunnelConfigDhGroupEnum = "5" )
type TunnelConfigEncAlgoEnum ¶ added in v0.4.23
type TunnelConfigEncAlgoEnum string
TunnelConfigEncAlgoEnum is a string enum. enum: `3des`, `aes128`, `aes256`, `aes_gcm128`, `aes_gcm256`
const ( TunnelConfigEncAlgoEnum_ENUM3DES TunnelConfigEncAlgoEnum = "3des" TunnelConfigEncAlgoEnum_AES128 TunnelConfigEncAlgoEnum = "aes128" TunnelConfigEncAlgoEnum_AES256 TunnelConfigEncAlgoEnum = "aes256" TunnelConfigEncAlgoEnum_AESGCM128 TunnelConfigEncAlgoEnum = "aes_gcm128" TunnelConfigEncAlgoEnum_AESGCM256 TunnelConfigEncAlgoEnum = "aes_gcm256" )
type TunnelConfigIkeDhGroupEnum ¶ added in v0.4.23
type TunnelConfigIkeDhGroupEnum string
TunnelConfigIkeDhGroupEnum is a string enum. enum: * 1 * 2 (1024-bit) * 5 * 14 (default, 2048-bit) * 15 (3072-bit) * 16 (4096-bit) * 19 (256-bit ECP) * 20 (384-bit ECP) * 21 (521-bit ECP) * 24 (2048-bit ECP)
const ( TunnelConfigIkeDhGroupEnum_ENUM1 TunnelConfigIkeDhGroupEnum = "1" TunnelConfigIkeDhGroupEnum_ENUM14 TunnelConfigIkeDhGroupEnum = "14" TunnelConfigIkeDhGroupEnum_ENUM15 TunnelConfigIkeDhGroupEnum = "15" TunnelConfigIkeDhGroupEnum_ENUM16 TunnelConfigIkeDhGroupEnum = "16" TunnelConfigIkeDhGroupEnum_ENUM19 TunnelConfigIkeDhGroupEnum = "19" TunnelConfigIkeDhGroupEnum_ENUM2 TunnelConfigIkeDhGroupEnum = "2" TunnelConfigIkeDhGroupEnum_ENUM20 TunnelConfigIkeDhGroupEnum = "20" TunnelConfigIkeDhGroupEnum_ENUM21 TunnelConfigIkeDhGroupEnum = "21" TunnelConfigIkeDhGroupEnum_ENUM24 TunnelConfigIkeDhGroupEnum = "24" TunnelConfigIkeDhGroupEnum_ENUM5 TunnelConfigIkeDhGroupEnum = "5" )
type TunnelConfigIkeModeEnum ¶ added in v0.4.23
type TunnelConfigIkeModeEnum string
TunnelConfigIkeModeEnum is a string enum. Only if `provider`==`custom-ipsec`. enum: `aggressive`, `main`
const ( TunnelConfigIkeModeEnum_AGGRESSIVE TunnelConfigIkeModeEnum = "aggressive" TunnelConfigIkeModeEnum_MAIN TunnelConfigIkeModeEnum = "main" )
type TunnelConfigIkeProposal ¶ added in v0.4.23
type TunnelConfigIkeProposal struct {
// enum: `md5`, `sha1`, `sha2`
AuthAlgo *TunnelConfigAuthAlgoEnum `json:"auth_algo,omitempty"`
// enum:
// * 1
// * 2 (1024-bit)
// * 5
// * 14 (default, 2048-bit)
// * 15 (3072-bit)
// * 16 (4096-bit)
// * 19 (256-bit ECP)
// * 20 (384-bit ECP)
// * 21 (521-bit ECP)
// * 24 (2048-bit ECP)
DhGroup *TunnelConfigIkeDhGroupEnum `json:"dh_group,omitempty"`
// enum: `3des`, `aes128`, `aes256`, `aes_gcm128`, `aes_gcm256`
EncAlgo Optional[TunnelConfigEncAlgoEnum] `json:"enc_algo"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TunnelConfigIkeProposal represents a TunnelConfigIkeProposal struct.
func (TunnelConfigIkeProposal) MarshalJSON ¶ added in v0.4.23
func (t TunnelConfigIkeProposal) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TunnelConfigIkeProposal. It customizes the JSON marshaling process for TunnelConfigIkeProposal objects.
func (TunnelConfigIkeProposal) String ¶ added in v0.4.23
func (t TunnelConfigIkeProposal) String() string
String implements the fmt.Stringer interface for TunnelConfigIkeProposal, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TunnelConfigIkeProposal) UnmarshalJSON ¶ added in v0.4.23
func (t *TunnelConfigIkeProposal) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TunnelConfigIkeProposal. It customizes the JSON unmarshaling process for TunnelConfigIkeProposal objects.
type TunnelConfigIpsecProposal ¶ added in v0.4.23
type TunnelConfigIpsecProposal struct {
// enum: `md5`, `sha1`, `sha2`
AuthAlgo *TunnelConfigAuthAlgoEnum `json:"auth_algo,omitempty"`
// Only if `provider`==`custom-ipsec`. enum:
// * 1
// * 2 (1024-bit)
// * 5
// * 14 (default, 2048-bit)
// * 15 (3072-bit)
// * 16 (4096-bit)
// * 19 (256-bit ECP)
// * 20 (384-bit ECP)
// * 21 (521-bit ECP)
// * 24 (2048-bit ECP)
DhGroup *TunnelConfigDhGroupEnum `json:"dh_group,omitempty"`
// enum: `3des`, `aes128`, `aes256`, `aes_gcm128`, `aes_gcm256`
EncAlgo Optional[TunnelConfigEncAlgoEnum] `json:"enc_algo"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TunnelConfigIpsecProposal represents a TunnelConfigIpsecProposal struct.
func (TunnelConfigIpsecProposal) MarshalJSON ¶ added in v0.4.23
func (t TunnelConfigIpsecProposal) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TunnelConfigIpsecProposal. It customizes the JSON marshaling process for TunnelConfigIpsecProposal objects.
func (TunnelConfigIpsecProposal) String ¶ added in v0.4.23
func (t TunnelConfigIpsecProposal) String() string
String implements the fmt.Stringer interface for TunnelConfigIpsecProposal, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TunnelConfigIpsecProposal) UnmarshalJSON ¶ added in v0.4.23
func (t *TunnelConfigIpsecProposal) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TunnelConfigIpsecProposal. It customizes the JSON unmarshaling process for TunnelConfigIpsecProposal objects.
type TunnelConfigNode ¶ added in v0.4.23
type TunnelConfigNode struct {
Hosts []string `json:"hosts"`
// Only if `provider`==`zscaler-gre`, `provider`==`jse-ipsec`, `provider`==`custom-ipsec` or `provider`==`custom-gre`
InternalIps []string `json:"internal_ips,omitempty"`
ProbeIps []string `json:"probe_ips,omitempty"`
// Only if `provider`==`jse-ipsec` or `provider`==`custom-ipsec`
RemoteIds []string `json:"remote_ids,omitempty"`
WanNames []string `json:"wan_names"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TunnelConfigNode represents a TunnelConfigNode struct. Only if `provider`==`zscaler-ipsec`, `provider`==`jse-ipsec` or `provider`==`custom-ipsec`
func (TunnelConfigNode) MarshalJSON ¶ added in v0.4.23
func (t TunnelConfigNode) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TunnelConfigNode. It customizes the JSON marshaling process for TunnelConfigNode objects.
func (TunnelConfigNode) String ¶ added in v0.4.23
func (t TunnelConfigNode) String() string
String implements the fmt.Stringer interface for TunnelConfigNode, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TunnelConfigNode) UnmarshalJSON ¶ added in v0.4.23
func (t *TunnelConfigNode) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TunnelConfigNode. It customizes the JSON unmarshaling process for TunnelConfigNode objects.
type TunnelConfigProbe ¶ added in v0.4.23
type TunnelConfigProbe struct {
// How often to trigger the probe
Interval *int `json:"interval,omitempty"`
// Number of consecutive misses before declaring the tunnel down
Threshold *int `json:"threshold,omitempty"`
// Time within which to complete the connectivity check
Timeout *int `json:"timeout,omitempty"`
// enum: `http`, `icmp`
Type *TunnelConfigProbeTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TunnelConfigProbe represents a TunnelConfigProbe struct. Only if `provider`==`custom-ipsec`
func (TunnelConfigProbe) MarshalJSON ¶ added in v0.4.23
func (t TunnelConfigProbe) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TunnelConfigProbe. It customizes the JSON marshaling process for TunnelConfigProbe objects.
func (TunnelConfigProbe) String ¶ added in v0.4.23
func (t TunnelConfigProbe) String() string
String implements the fmt.Stringer interface for TunnelConfigProbe, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TunnelConfigProbe) UnmarshalJSON ¶ added in v0.4.23
func (t *TunnelConfigProbe) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TunnelConfigProbe. It customizes the JSON unmarshaling process for TunnelConfigProbe objects.
type TunnelConfigProbeTypeEnum ¶ added in v0.4.23
type TunnelConfigProbeTypeEnum string
TunnelConfigProbeTypeEnum is a string enum. enum: `http`, `icmp`
const ( TunnelConfigProbeTypeEnum_HTTP TunnelConfigProbeTypeEnum = "http" TunnelConfigProbeTypeEnum_ICMP TunnelConfigProbeTypeEnum = "icmp" )
type TunnelConfigProtocolEnum ¶ added in v0.4.23
type TunnelConfigProtocolEnum string
TunnelConfigProtocolEnum is a string enum. Only if `provider`==`custom-ipsec`. enum: `gre`, `ipsec`
const ( TunnelConfigProtocolEnum_GRE TunnelConfigProtocolEnum = "gre" TunnelConfigProtocolEnum_IPSEC TunnelConfigProtocolEnum = "ipsec" )
type TunnelConfigProviderEnum ¶ added in v0.4.23
type TunnelConfigProviderEnum string
TunnelConfigProviderEnum is a string enum. Only if `auto_provision.enabled`==`false`. enum: `custom-ipsec`, `custom-gre`, `jse-ipsec`, `prisma-ipsec`, `zscaler-gre`, `zscaler-ipsec`
const ( TunnelConfigProviderEnum_CUSTOMIPSEC TunnelConfigProviderEnum = "custom-ipsec" TunnelConfigProviderEnum_CUSTOMGRE TunnelConfigProviderEnum = "custom-gre" TunnelConfigProviderEnum_JSEIPSEC TunnelConfigProviderEnum = "jse-ipsec" TunnelConfigProviderEnum_PRISMAIPSEC TunnelConfigProviderEnum = "prisma-ipsec" TunnelConfigProviderEnum_ZSCALERGRE TunnelConfigProviderEnum = "zscaler-gre" TunnelConfigProviderEnum_ZSCALERIPSEC TunnelConfigProviderEnum = "zscaler-ipsec" )
type TunnelConfigTunnelModeEnum ¶ added in v0.4.23
type TunnelConfigTunnelModeEnum string
TunnelConfigTunnelModeEnum is a string enum. Required if `provider`==`zscaler-gre`, `provider`==`jse-ipsec`. enum: `active-active`, `active-standby`
const ( TunnelConfigTunnelModeEnum_ACTIVEACTIVE TunnelConfigTunnelModeEnum = "active-active" TunnelConfigTunnelModeEnum_ACTIVESTANDBY TunnelConfigTunnelModeEnum = "active-standby" )
type TunnelConfigVersionEnum ¶ added in v0.4.23
type TunnelConfigVersionEnum string
TunnelConfigVersionEnum is a string enum. Only if `provider`==`custom-gre` or `provider`==`custom-ipsec`. enum: `1`, `2`
const ( TunnelConfigVersionEnum_ENUM1 TunnelConfigVersionEnum = "1" TunnelConfigVersionEnum_ENUM2 TunnelConfigVersionEnum = "2" )
type TunnelProviderOptions ¶
type TunnelProviderOptions struct {
// For jse-ipsec, this allows provisioning of adequate resource on JSE. Make sure adequate licenses are added
Jse *TunnelProviderOptionsJse `json:"jse,omitempty"`
Prisma *TunnelProviderOptionsPrisma `json:"prisma,omitempty"`
// For zscaler-ipsec and zscaler-gre
Zscaler *TunnelProviderOptionsZscaler `json:"zscaler,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TunnelProviderOptions represents a TunnelProviderOptions struct.
func (TunnelProviderOptions) MarshalJSON ¶
func (t TunnelProviderOptions) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TunnelProviderOptions. It customizes the JSON marshaling process for TunnelProviderOptions objects.
func (TunnelProviderOptions) String ¶ added in v0.4.23
func (t TunnelProviderOptions) String() string
String implements the fmt.Stringer interface for TunnelProviderOptions, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TunnelProviderOptions) UnmarshalJSON ¶
func (t *TunnelProviderOptions) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TunnelProviderOptions. It customizes the JSON unmarshaling process for TunnelProviderOptions objects.
type TunnelProviderOptionsJse ¶
type TunnelProviderOptionsJse struct {
NumUsers *int `json:"num_users,omitempty"`
// JSE Organization name. The list of available organizations can be retrieved with the [Get Org JSE Info]($e/Orgs%20JSE/getOrgJseInfo) API Call
OrgName *string `json:"org_name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TunnelProviderOptionsJse represents a TunnelProviderOptionsJse struct. For jse-ipsec, this allows provisioning of adequate resource on JSE. Make sure adequate licenses are added
func (TunnelProviderOptionsJse) MarshalJSON ¶
func (t TunnelProviderOptionsJse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TunnelProviderOptionsJse. It customizes the JSON marshaling process for TunnelProviderOptionsJse objects.
func (TunnelProviderOptionsJse) String ¶ added in v0.4.23
func (t TunnelProviderOptionsJse) String() string
String implements the fmt.Stringer interface for TunnelProviderOptionsJse, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TunnelProviderOptionsJse) UnmarshalJSON ¶
func (t *TunnelProviderOptionsJse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TunnelProviderOptionsJse. It customizes the JSON unmarshaling process for TunnelProviderOptionsJse objects.
type TunnelProviderOptionsPrisma ¶ added in v0.4.75
type TunnelProviderOptionsPrisma struct {
// For prisma-ipsec, service account name to used for tunnel auto provisioning
ServiceAccountName *string `json:"service_account_name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TunnelProviderOptionsPrisma represents a TunnelProviderOptionsPrisma struct.
func (TunnelProviderOptionsPrisma) MarshalJSON ¶ added in v0.4.75
func (t TunnelProviderOptionsPrisma) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TunnelProviderOptionsPrisma. It customizes the JSON marshaling process for TunnelProviderOptionsPrisma objects.
func (TunnelProviderOptionsPrisma) String ¶ added in v0.4.75
func (t TunnelProviderOptionsPrisma) String() string
String implements the fmt.Stringer interface for TunnelProviderOptionsPrisma, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TunnelProviderOptionsPrisma) UnmarshalJSON ¶ added in v0.4.75
func (t *TunnelProviderOptionsPrisma) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TunnelProviderOptionsPrisma. It customizes the JSON unmarshaling process for TunnelProviderOptionsPrisma objects.
type TunnelProviderOptionsZscaler ¶
type TunnelProviderOptionsZscaler struct {
AupBlockInternetUntilAccepted *bool `json:"aup_block_internet_until_accepted,omitempty"`
// Can only be `true` when `auth_required`==`false`, display Acceptable Use Policy (AUP)
AupEnabled *bool `json:"aup_enabled,omitempty"`
// Proxy HTTPs traffic, requiring Zscaler cert to be installed in browser
AupForceSslInspection *bool `json:"aup_force_ssl_inspection,omitempty"`
// Required if `aup_enabled`==`true`. Days before AUP is requested again
AupTimeoutInDays *int `json:"aup_timeout_in_days,omitempty"`
// Enable this option to enforce user authentication
AuthRequired *bool `json:"auth_required,omitempty"`
// Can only be `true` when `auth_required`==`false`, display caution notification for non-authenticated users
CautionEnabled *bool `json:"caution_enabled,omitempty"`
// Download bandwidth cap of the link, in Mbps. Disabled if not set
DnBandwidth Optional[float64] `json:"dn_bandwidth"`
// Required if `surrogate_IP`==`true`, idle Time to Disassociation
IdleTimeInMinutes *int `json:"idle_time_in_minutes,omitempty"`
// If `true`, enable the firewall control option
OfwEnabled *bool `json:"ofw_enabled,omitempty"`
// `sub-locations` can be used for specific uses cases to define different configuration based on the user network
SubLocations []TunnelProviderOptionsZscalerSubLocation `json:"sub_locations,omitempty"`
// Can only be `true` when `auth_required`==`true`. Map a user to a private IP address so it applies the user's policies, instead of the location's policies
SurrogateIP *bool `json:"surrogate_IP,omitempty"`
// Can only be `true` when `surrogate_IP`==`true`, enforce surrogate IP for known browsers
SurrogateIPEnforcedForKnownBrowsers *bool `json:"surrogate_IP_enforced_for_known_browsers,omitempty"`
// Required if `surrogate_IP_enforced_for_known_browsers`==`true`, must be lower or equal than `idle_time_in_minutes`, refresh Time for re-validation of Surrogacy
SurrogateRefreshTimeInMinutes *int `json:"surrogate_refresh_time_in_minutes,omitempty"`
// Download bandwidth cap of the link, in Mbps. Disabled if not set
UpBandwidth Optional[float64] `json:"up_bandwidth"`
// Location uses proxy chaining to forward traffic
XffForwardEnabled *bool `json:"xff_forward_enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TunnelProviderOptionsZscaler represents a TunnelProviderOptionsZscaler struct. For zscaler-ipsec and zscaler-gre
func (TunnelProviderOptionsZscaler) MarshalJSON ¶
func (t TunnelProviderOptionsZscaler) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TunnelProviderOptionsZscaler. It customizes the JSON marshaling process for TunnelProviderOptionsZscaler objects.
func (TunnelProviderOptionsZscaler) String ¶ added in v0.4.23
func (t TunnelProviderOptionsZscaler) String() string
String implements the fmt.Stringer interface for TunnelProviderOptionsZscaler, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TunnelProviderOptionsZscaler) UnmarshalJSON ¶
func (t *TunnelProviderOptionsZscaler) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TunnelProviderOptionsZscaler. It customizes the JSON unmarshaling process for TunnelProviderOptionsZscaler objects.
type TunnelProviderOptionsZscalerSubLocation ¶
type TunnelProviderOptionsZscalerSubLocation struct {
AupBlockInternetUntilAccepted *bool `json:"aup_block_internet_until_accepted,omitempty"`
// Can only be `true` when `auth_required`==`false`, display Acceptable Use Policy (AUP)
AupEnabled *bool `json:"aup_enabled,omitempty"`
// Proxy HTTPs traffic, requiring Zscaler cert to be installed in browser
AupForceSslInspection *bool `json:"aup_force_ssl_inspection,omitempty"`
// Required if `aup_enabled`==`true`. Days before AUP is requested again
AupTimeoutInDays *int `json:"aup_timeout_in_days,omitempty"`
// Enable this option to authenticate users
AuthRequired *bool `json:"auth_required,omitempty"`
// Can only be `true` when `auth_required`==`false`, display caution notification for non-authenticated users
CautionEnabled *bool `json:"caution_enabled,omitempty"`
// Download bandwidth cap of the link, in Mbps. Disabled if not set
DnBandwidth Optional[float64] `json:"dn_bandwidth"`
// Required if `surrogate_IP`==`true`, idle Time to Disassociation
IdleTimeInMinutes *int `json:"idle_time_in_minutes,omitempty"`
// [network]($h/Orgs%20Networks/_overview) name
Name *string `json:"name,omitempty"`
// If `true`, enable the firewall control option
OfwEnabled *bool `json:"ofw_enabled,omitempty"`
// Can only be `true` when `auth_required`==`true`. Map a user to a private IP address so it applies the user's policies, instead of the location's policies
SurrogateIP *bool `json:"surrogate_IP,omitempty"`
// Can only be `true` when `surrogate_IP`==`true`, enforce surrogate IP for known browsers
SurrogateIPEnforcedForKnownBrowsers *bool `json:"surrogate_IP_enforced_for_known_browsers,omitempty"`
// Required if `surrogate_IP_enforced_for_known_browsers`==`true`, must be lower or equal than `idle_time_in_minutes`, refresh Time for re-validation of Surrogacy
SurrogateRefreshTimeInMinutes *int `json:"surrogate_refresh_time_in_minutes,omitempty"`
// Download bandwidth cap of the link, in Mbps. Disabled if not set
UpBandwidth Optional[float64] `json:"up_bandwidth"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TunnelProviderOptionsZscalerSubLocation represents a TunnelProviderOptionsZscalerSubLocation struct.
func (TunnelProviderOptionsZscalerSubLocation) MarshalJSON ¶
func (t TunnelProviderOptionsZscalerSubLocation) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TunnelProviderOptionsZscalerSubLocation. It customizes the JSON marshaling process for TunnelProviderOptionsZscalerSubLocation objects.
func (TunnelProviderOptionsZscalerSubLocation) String ¶ added in v0.4.23
func (t TunnelProviderOptionsZscalerSubLocation) String() string
String implements the fmt.Stringer interface for TunnelProviderOptionsZscalerSubLocation, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TunnelProviderOptionsZscalerSubLocation) UnmarshalJSON ¶
func (t *TunnelProviderOptionsZscalerSubLocation) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TunnelProviderOptionsZscalerSubLocation. It customizes the JSON unmarshaling process for TunnelProviderOptionsZscalerSubLocation objects.
type TunnelTypeEnum ¶
type TunnelTypeEnum string
TunnelTypeEnum is a string enum. enum: `wan`, `wxtunnel`
const ( TunnelTypeEnum_WAN TunnelTypeEnum = "wan" TunnelTypeEnum_WXTUNNEL TunnelTypeEnum = "wxtunnel" )
type TuntermDhcpdConfig ¶
type TuntermDhcpdConfig struct {
Enabled *bool `json:"enabled,omitempty"`
Servers []string `json:"servers,omitempty"`
// enum: `relay`
Type *TuntermDhcpdTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]TuntermDhcpdConfigProperty `json:"_"`
}
TuntermDhcpdConfig represents a TuntermDhcpdConfig struct. DHCP server/relay configuration of Mist Tunneled VLANs. Property key is the VLAN ID
func (TuntermDhcpdConfig) MarshalJSON ¶
func (t TuntermDhcpdConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TuntermDhcpdConfig. It customizes the JSON marshaling process for TuntermDhcpdConfig objects.
func (TuntermDhcpdConfig) String ¶ added in v0.4.23
func (t TuntermDhcpdConfig) String() string
String implements the fmt.Stringer interface for TuntermDhcpdConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TuntermDhcpdConfig) UnmarshalJSON ¶
func (t *TuntermDhcpdConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TuntermDhcpdConfig. It customizes the JSON unmarshaling process for TuntermDhcpdConfig objects.
type TuntermDhcpdConfigProperty ¶
type TuntermDhcpdConfigProperty struct {
Enabled *bool `json:"enabled,omitempty"`
Servers []string `json:"servers,omitempty"`
// enum: `relay`
Type *TuntermDhcpdTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TuntermDhcpdConfigProperty represents a TuntermDhcpdConfigProperty struct.
func (TuntermDhcpdConfigProperty) MarshalJSON ¶
func (t TuntermDhcpdConfigProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TuntermDhcpdConfigProperty. It customizes the JSON marshaling process for TuntermDhcpdConfigProperty objects.
func (TuntermDhcpdConfigProperty) String ¶ added in v0.4.23
func (t TuntermDhcpdConfigProperty) String() string
String implements the fmt.Stringer interface for TuntermDhcpdConfigProperty, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TuntermDhcpdConfigProperty) UnmarshalJSON ¶
func (t *TuntermDhcpdConfigProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TuntermDhcpdConfigProperty. It customizes the JSON unmarshaling process for TuntermDhcpdConfigProperty objects.
type TuntermDhcpdTypeEnum ¶
type TuntermDhcpdTypeEnum string
TuntermDhcpdTypeEnum is a string enum. enum: `relay`
const (
TuntermDhcpdTypeEnum_RELAY TuntermDhcpdTypeEnum = "relay"
)
type TuntermMonitoringItem ¶
type TuntermMonitoringItem struct {
// Can be ip, ipv6, hostname
Host *string `json:"host,omitempty"`
// When `protocol`==`tcp`
Port *int `json:"port,omitempty"`
// enum: `arp`, `ping`, `tcp`
Protocol *TuntermMonitoringProtocolEnum `json:"protocol,omitempty"`
// Optional source for the monitoring check, vlan_id configured in tunterm_other_ip_configs
SrcVlanId *int `json:"src_vlan_id,omitempty"`
Timeout *int `json:"timeout,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TuntermMonitoringItem represents a TuntermMonitoringItem struct.
func (TuntermMonitoringItem) MarshalJSON ¶
func (t TuntermMonitoringItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TuntermMonitoringItem. It customizes the JSON marshaling process for TuntermMonitoringItem objects.
func (TuntermMonitoringItem) String ¶ added in v0.4.23
func (t TuntermMonitoringItem) String() string
String implements the fmt.Stringer interface for TuntermMonitoringItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TuntermMonitoringItem) UnmarshalJSON ¶
func (t *TuntermMonitoringItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TuntermMonitoringItem. It customizes the JSON unmarshaling process for TuntermMonitoringItem objects.
type TuntermMonitoringProtocolEnum ¶ added in v0.4.54
type TuntermMonitoringProtocolEnum string
TuntermMonitoringProtocolEnum is a string enum. enum: `arp`, `ping`, `tcp`
const ( TuntermMonitoringProtocolEnum_ARP TuntermMonitoringProtocolEnum = "arp" TuntermMonitoringProtocolEnum_PING TuntermMonitoringProtocolEnum = "ping" TuntermMonitoringProtocolEnum_TCP TuntermMonitoringProtocolEnum = "tcp" )
type TuntermPortConfig ¶
type TuntermPortConfig struct {
// List of ports to be used for downstream (to AP) purpose
DownstreamPorts []string `json:"downstream_ports,omitempty"`
// Whether to separate upstream / downstream ports. default is false where all ports will be used.
SeparateUpstreamDownstream *bool `json:"separate_upstream_downstream,omitempty"`
// Native VLAN id for upstream ports
UpstreamPortVlanId *TuntermPortConfigUpstreamPortVlanId `json:"upstream_port_vlan_id,omitempty"`
// List of ports to be used for upstream purpose (to LAN)
UpstreamPorts []string `json:"upstream_ports,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TuntermPortConfig represents a TuntermPortConfig struct. Ethernet port configurations
func (TuntermPortConfig) MarshalJSON ¶
func (t TuntermPortConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TuntermPortConfig. It customizes the JSON marshaling process for TuntermPortConfig objects.
func (TuntermPortConfig) String ¶ added in v0.4.23
func (t TuntermPortConfig) String() string
String implements the fmt.Stringer interface for TuntermPortConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TuntermPortConfig) UnmarshalJSON ¶
func (t *TuntermPortConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TuntermPortConfig. It customizes the JSON unmarshaling process for TuntermPortConfig objects.
type TuntermPortConfigUpstreamPortVlanId ¶ added in v0.4.94
type TuntermPortConfigUpstreamPortVlanId struct {
// contains filtered or unexported fields
}
TuntermPortConfigUpstreamPortVlanId represents a TuntermPortConfigUpstreamPortVlanId struct. Native VLAN id for upstream ports
func (*TuntermPortConfigUpstreamPortVlanId) AsNumber ¶ added in v0.4.94
func (t *TuntermPortConfigUpstreamPortVlanId) AsNumber() ( *int, bool)
func (*TuntermPortConfigUpstreamPortVlanId) AsString ¶ added in v0.4.94
func (t *TuntermPortConfigUpstreamPortVlanId) AsString() ( *string, bool)
func (TuntermPortConfigUpstreamPortVlanId) MarshalJSON ¶ added in v0.4.94
func (t TuntermPortConfigUpstreamPortVlanId) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TuntermPortConfigUpstreamPortVlanId. It customizes the JSON marshaling process for TuntermPortConfigUpstreamPortVlanId objects.
func (TuntermPortConfigUpstreamPortVlanId) String ¶ added in v0.4.94
func (t TuntermPortConfigUpstreamPortVlanId) String() string
String implements the fmt.Stringer interface for TuntermPortConfigUpstreamPortVlanId, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TuntermPortConfigUpstreamPortVlanId) UnmarshalJSON ¶ added in v0.4.94
func (t *TuntermPortConfigUpstreamPortVlanId) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TuntermPortConfigUpstreamPortVlanId. It customizes the JSON unmarshaling process for TuntermPortConfigUpstreamPortVlanId objects.
type TwoFactorCode ¶
type TwoFactorCode struct {
TwoFactor string `json:"two_factor"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TwoFactorCode represents a TwoFactorCode struct.
func (TwoFactorCode) MarshalJSON ¶
func (t TwoFactorCode) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TwoFactorCode. It customizes the JSON marshaling process for TwoFactorCode objects.
func (TwoFactorCode) String ¶ added in v0.4.23
func (t TwoFactorCode) String() string
String implements the fmt.Stringer interface for TwoFactorCode, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TwoFactorCode) UnmarshalJSON ¶
func (t *TwoFactorCode) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TwoFactorCode. It customizes the JSON unmarshaling process for TwoFactorCode objects.
type TwoFactorString ¶
type TwoFactorString struct {
TwoFactor string `json:"two_factor"`
AdditionalProperties map[string]interface{} `json:"_"`
}
TwoFactorString represents a TwoFactorString struct.
func (TwoFactorString) MarshalJSON ¶
func (t TwoFactorString) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TwoFactorString. It customizes the JSON marshaling process for TwoFactorString objects.
func (TwoFactorString) String ¶ added in v0.4.23
func (t TwoFactorString) String() string
String implements the fmt.Stringer interface for TwoFactorString, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*TwoFactorString) UnmarshalJSON ¶
func (t *TwoFactorString) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TwoFactorString. It customizes the JSON unmarshaling process for TwoFactorString objects.
type UiSettings ¶
type UiSettings struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
DefaultScopeId *string `json:"defaultScopeId,omitempty"`
DefaultScopeType *string `json:"defaultScopeType,omitempty"`
DefaultTimeRange *UiSettingsDefaultTimeRange `json:"defaultTimeRange,omitempty"`
Description string `json:"description"`
ForSite *bool `json:"for_site,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
IsCustomDataboard *bool `json:"isCustomDataboard,omitempty"`
IsScopeLinked *bool `json:"isScopeLinked,omitempty"`
IsTimeRangeLinked *bool `json:"isTimeRangeLinked,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name *string `json:"name,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
Purpose string `json:"purpose"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Tiles []UiSettingsTile `json:"tiles,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UiSettings represents a UiSettings struct. UI Settings
func (UiSettings) MarshalJSON ¶
func (u UiSettings) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UiSettings. It customizes the JSON marshaling process for UiSettings objects.
func (UiSettings) String ¶ added in v0.4.23
func (u UiSettings) String() string
String implements the fmt.Stringer interface for UiSettings, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UiSettings) UnmarshalJSON ¶
func (u *UiSettings) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UiSettings. It customizes the JSON unmarshaling process for UiSettings objects.
type UiSettingsDefaultTimeRange ¶
type UiSettingsDefaultTimeRange struct {
End *int `json:"end,omitempty"`
EndDate *string `json:"endDate,omitempty"`
Interval *string `json:"interval,omitempty"`
Name *string `json:"name,omitempty"`
ShortName *string `json:"shortName,omitempty"`
Start *int `json:"start,omitempty"`
UsePreset *bool `json:"usePreset,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UiSettingsDefaultTimeRange represents a UiSettingsDefaultTimeRange struct.
func (UiSettingsDefaultTimeRange) MarshalJSON ¶
func (u UiSettingsDefaultTimeRange) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UiSettingsDefaultTimeRange. It customizes the JSON marshaling process for UiSettingsDefaultTimeRange objects.
func (UiSettingsDefaultTimeRange) String ¶ added in v0.4.23
func (u UiSettingsDefaultTimeRange) String() string
String implements the fmt.Stringer interface for UiSettingsDefaultTimeRange, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UiSettingsDefaultTimeRange) UnmarshalJSON ¶
func (u *UiSettingsDefaultTimeRange) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UiSettingsDefaultTimeRange. It customizes the JSON unmarshaling process for UiSettingsDefaultTimeRange objects.
type UiSettingsTile ¶
type UiSettingsTile struct {
ChartBand *string `json:"chartBand,omitempty"`
ChartColor *string `json:"chartColor,omitempty"`
ChartDirection *string `json:"chartDirection,omitempty"`
ChartRankBy *string `json:"chartRankBy,omitempty"`
ChartType *string `json:"chartType,omitempty"`
Colspan *int `json:"colspan,omitempty"`
Column *int `json:"column,omitempty"`
HideEmptyRows *bool `json:"hideEmptyRows,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Metric *UiSettingsTileMetric `json:"metric,omitempty"`
Name *string `json:"name,omitempty"`
Row *int `json:"row,omitempty"`
Rowspan *int `json:"rowspan,omitempty"`
ScopeId *string `json:"scopeId,omitempty"`
ScopeType *string `json:"scopeType,omitempty"`
SortedColumnIds []string `json:"sortedColumnIds,omitempty"`
TimeRange *UiSettingsTileTimeRange `json:"timeRange,omitempty"`
TrendType *string `json:"trendType,omitempty"`
VizType *string `json:"vizType,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UiSettingsTile represents a UiSettingsTile struct.
func (UiSettingsTile) MarshalJSON ¶
func (u UiSettingsTile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UiSettingsTile. It customizes the JSON marshaling process for UiSettingsTile objects.
func (UiSettingsTile) String ¶ added in v0.4.23
func (u UiSettingsTile) String() string
String implements the fmt.Stringer interface for UiSettingsTile, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UiSettingsTile) UnmarshalJSON ¶
func (u *UiSettingsTile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UiSettingsTile. It customizes the JSON unmarshaling process for UiSettingsTile objects.
type UiSettingsTileMetric ¶
type UiSettingsTileMetric struct {
ApiName *string `json:"apiName,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UiSettingsTileMetric represents a UiSettingsTileMetric struct.
func (UiSettingsTileMetric) MarshalJSON ¶
func (u UiSettingsTileMetric) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UiSettingsTileMetric. It customizes the JSON marshaling process for UiSettingsTileMetric objects.
func (UiSettingsTileMetric) String ¶ added in v0.4.23
func (u UiSettingsTileMetric) String() string
String implements the fmt.Stringer interface for UiSettingsTileMetric, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UiSettingsTileMetric) UnmarshalJSON ¶
func (u *UiSettingsTileMetric) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UiSettingsTileMetric. It customizes the JSON unmarshaling process for UiSettingsTileMetric objects.
type UiSettingsTileTimeRange ¶
type UiSettingsTileTimeRange struct {
End *float64 `json:"end,omitempty"`
EndDate *string `json:"endDate,omitempty"`
Interval *string `json:"interval,omitempty"`
Name *string `json:"name,omitempty"`
ShortName *string `json:"shortName,omitempty"`
Start *int `json:"start,omitempty"`
UsePreset *bool `json:"usePreset,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UiSettingsTileTimeRange represents a UiSettingsTileTimeRange struct.
func (UiSettingsTileTimeRange) MarshalJSON ¶
func (u UiSettingsTileTimeRange) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UiSettingsTileTimeRange. It customizes the JSON marshaling process for UiSettingsTileTimeRange objects.
func (UiSettingsTileTimeRange) String ¶ added in v0.4.23
func (u UiSettingsTileTimeRange) String() string
String implements the fmt.Stringer interface for UiSettingsTileTimeRange, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UiSettingsTileTimeRange) UnmarshalJSON ¶
func (u *UiSettingsTileTimeRange) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UiSettingsTileTimeRange. It customizes the JSON unmarshaling process for UiSettingsTileTimeRange objects.
type UpgradeBios ¶
type UpgradeBios struct {
// Reboot device immediately after upgrade is completed
Reboot *bool `json:"reboot,omitempty"`
// Specific bios version
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UpgradeBios represents a UpgradeBios struct.
func (UpgradeBios) MarshalJSON ¶
func (u UpgradeBios) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpgradeBios. It customizes the JSON marshaling process for UpgradeBios objects.
func (UpgradeBios) String ¶ added in v0.4.23
func (u UpgradeBios) String() string
String implements the fmt.Stringer interface for UpgradeBios, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UpgradeBios) UnmarshalJSON ¶
func (u *UpgradeBios) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UpgradeBios. It customizes the JSON unmarshaling process for UpgradeBios objects.
type UpgradeBiosMulti ¶
type UpgradeBiosMulti struct {
// List of device id to upgrade bios
DeviceIds []uuid.UUID `json:"device_ids,omitempty"`
// List of device model to upgrade bios
Models []string `json:"models,omitempty"`
// Reboot device immediately after upgrade is completed
Reboot *bool `json:"reboot,omitempty"`
// Specific bios version
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UpgradeBiosMulti represents a UpgradeBiosMulti struct.
func (UpgradeBiosMulti) MarshalJSON ¶
func (u UpgradeBiosMulti) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpgradeBiosMulti. It customizes the JSON marshaling process for UpgradeBiosMulti objects.
func (UpgradeBiosMulti) String ¶ added in v0.4.23
func (u UpgradeBiosMulti) String() string
String implements the fmt.Stringer interface for UpgradeBiosMulti, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UpgradeBiosMulti) UnmarshalJSON ¶
func (u *UpgradeBiosMulti) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UpgradeBiosMulti. It customizes the JSON unmarshaling process for UpgradeBiosMulti objects.
type UpgradeDeviceRrmMeshUpgradeEnum ¶ added in v0.4.39
type UpgradeDeviceRrmMeshUpgradeEnum string
UpgradeDeviceRrmMeshUpgradeEnum is a string enum. For APs only and if `strategy`==`rrm`. Whether to upgrade mesh AP’s parallelly or sequentially at the end of the upgrade. enum: `parallel`, `sequential`
const ( UpgradeDeviceRrmMeshUpgradeEnum_PARALLEL UpgradeDeviceRrmMeshUpgradeEnum = "parallel" UpgradeDeviceRrmMeshUpgradeEnum_SEQUENTIAL UpgradeDeviceRrmMeshUpgradeEnum = "sequential" )
type UpgradeDeviceRrmNodeOrderEnum ¶ added in v0.4.39
type UpgradeDeviceRrmNodeOrderEnum string
UpgradeDeviceRrmNodeOrderEnum is a string enum. For APs only and if `strategy`==`rrm`. Used in rrm to determine whether to start upgrade from fringe or center AP’s. enum: `center_to_fringe`, `fringe_to_center`
const ( UpgradeDeviceRrmNodeOrderEnum_CENTERTOFRINGE UpgradeDeviceRrmNodeOrderEnum = "center_to_fringe" UpgradeDeviceRrmNodeOrderEnum_FRINGETOCENTER UpgradeDeviceRrmNodeOrderEnum = "fringe_to_center" )
type UpgradeDeviceStatusEnum ¶ added in v0.4.39
type UpgradeDeviceStatusEnum string
UpgradeDeviceStatusEnum is a string enum. status upgrade is in. enum: `cancelled`, `completed`, `created`, `downloaded`, `downloading`, `failed`, `upgrading`, `queued`
const ( UpgradeDeviceStatusEnum_CANCELLED UpgradeDeviceStatusEnum = "cancelled" UpgradeDeviceStatusEnum_COMPLETED UpgradeDeviceStatusEnum = "completed" UpgradeDeviceStatusEnum_CREATED UpgradeDeviceStatusEnum = "created" UpgradeDeviceStatusEnum_DOWNLOADED UpgradeDeviceStatusEnum = "downloaded" UpgradeDeviceStatusEnum_DOWNLOADING UpgradeDeviceStatusEnum = "downloading" UpgradeDeviceStatusEnum_FAILED UpgradeDeviceStatusEnum = "failed" UpgradeDeviceStatusEnum_QUEUED UpgradeDeviceStatusEnum = "queued" UpgradeDeviceStatusEnum_UPGRADING UpgradeDeviceStatusEnum = "upgrading" )
type UpgradeDeviceStrategyEnum ¶ added in v0.4.39
type UpgradeDeviceStrategyEnum string
UpgradeDeviceStrategyEnum is a string enum. enum: `big_bang` (upgrade all at once), `canary`, `rrm` (APs only), `serial` (one at a time)
const ( UpgradeDeviceStrategyEnum_BIGBANG UpgradeDeviceStrategyEnum = "big_bang" UpgradeDeviceStrategyEnum_CANARY UpgradeDeviceStrategyEnum = "canary" UpgradeDeviceStrategyEnum_RRM UpgradeDeviceStrategyEnum = "rrm" UpgradeDeviceStrategyEnum_SERIAL UpgradeDeviceStrategyEnum = "serial" )
type UpgradeDevicesTargets ¶ added in v0.4.41
type UpgradeDevicesTargets struct {
// List of devices MAC Addresses which cloud has requested to download firmware
DownloadRequested []string `json:"download_requested,omitempty"`
// List of devices MAC Addresses which have the firmware downloaded
Downloaded []string `json:"downloaded,omitempty"`
// List of devices MAC Addresses which are currently downloading the firmware
Downloading []string `json:"downloading,omitempty"`
// List of devices MAC Addresses which have failed to upgrade
Failed []string `json:"failed,omitempty"`
// List of devices MAC Addresses which are rebooting
RebootInProgress []string `json:"reboot_in_progress,omitempty"`
// List of devices MAC Addresses which have rebooted successfully
Rebooted []string `json:"rebooted,omitempty"`
// List of devices MAC Addresses which cloud has scheduled an upgrade for
Scheduled []string `json:"scheduled,omitempty"`
// List of devices MAC Addresses which skipped upgrade since requested version was same as running version. Use force to always upgrade
Skipped []string `json:"skipped,omitempty"`
// Count of devices part of this upgrade
Total *int `json:"total,omitempty"`
// Count of devices which have upgraded successfully
Upgraded []string `json:"upgraded,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UpgradeDevicesTargets represents a UpgradeDevicesTargets struct.
func (UpgradeDevicesTargets) MarshalJSON ¶ added in v0.4.41
func (u UpgradeDevicesTargets) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpgradeDevicesTargets. It customizes the JSON marshaling process for UpgradeDevicesTargets objects.
func (UpgradeDevicesTargets) String ¶ added in v0.4.41
func (u UpgradeDevicesTargets) String() string
String implements the fmt.Stringer interface for UpgradeDevicesTargets, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UpgradeDevicesTargets) UnmarshalJSON ¶ added in v0.4.41
func (u *UpgradeDevicesTargets) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UpgradeDevicesTargets. It customizes the JSON unmarshaling process for UpgradeDevicesTargets objects.
type UpgradeFpga ¶
type UpgradeFpga struct {
// Reboot device immediately after upgrade is completed
Reboot *bool `json:"reboot,omitempty"`
// Specific fpga version
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UpgradeFpga represents a UpgradeFpga struct.
func (UpgradeFpga) MarshalJSON ¶
func (u UpgradeFpga) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpgradeFpga. It customizes the JSON marshaling process for UpgradeFpga objects.
func (UpgradeFpga) String ¶ added in v0.4.23
func (u UpgradeFpga) String() string
String implements the fmt.Stringer interface for UpgradeFpga, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UpgradeFpga) UnmarshalJSON ¶
func (u *UpgradeFpga) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UpgradeFpga. It customizes the JSON unmarshaling process for UpgradeFpga objects.
type UpgradeFpgaMulti ¶
type UpgradeFpgaMulti struct {
// List of device id to upgrade bios
DeviceIds []uuid.UUID `json:"device_ids,omitempty"`
// List of device model to upgrade bios
Models []string `json:"models,omitempty"`
// Reboot device immediately after upgrade is completed
Reboot *bool `json:"reboot,omitempty"`
// Specific FPGA version
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UpgradeFpgaMulti represents a UpgradeFpgaMulti struct.
func (UpgradeFpgaMulti) MarshalJSON ¶
func (u UpgradeFpgaMulti) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpgradeFpgaMulti. It customizes the JSON marshaling process for UpgradeFpgaMulti objects.
func (UpgradeFpgaMulti) String ¶ added in v0.4.23
func (u UpgradeFpgaMulti) String() string
String implements the fmt.Stringer interface for UpgradeFpgaMulti, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UpgradeFpgaMulti) UnmarshalJSON ¶
func (u *UpgradeFpgaMulti) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UpgradeFpgaMulti. It customizes the JSON unmarshaling process for UpgradeFpgaMulti objects.
type UpgradeInfoStatusEnum ¶
type UpgradeInfoStatusEnum string
UpgradeInfoStatusEnum is a string enum. enum: `error`, `inprogress`, `scheduled`, `starting`, `success`
const ( UpgradeInfoStatusEnum_ENUMERROR UpgradeInfoStatusEnum = "error" UpgradeInfoStatusEnum_INPROGRESS UpgradeInfoStatusEnum = "inprogress" UpgradeInfoStatusEnum_SCHEDULED UpgradeInfoStatusEnum = "scheduled" UpgradeInfoStatusEnum_STARTING UpgradeInfoStatusEnum = "starting" UpgradeInfoStatusEnum_SUCCESS UpgradeInfoStatusEnum = "success" )
type UpgradeOrgDevices ¶
type UpgradeOrgDevices struct {
// If `true`, will upgrade all sites in this org
AllSites *bool `json:"all_sites,omitempty"`
// Only if `strategy`==`canary`. Phases for canary deployment. Each phase represents percentage of devices that need to be upgraded in that phase. default is [1, 10, 50, 100]
CanaryPhases []int `json:"canary_phases,omitempty"`
// enum: `ap`, `gateway`, `switch`
DeviceType *DeviceTypeEnum `json:"device_type,omitempty"`
// enum:
// * `big_bang`: download all at once, no orchestration
// * `serial`: one at a time'
// * `canary`: upgrade in phases
DownloadStrategy *UpgradeOrgDevicesDownloadStrategyEnum `json:"download_strategy,omitempty"`
// If `strategy`!=`big_bang`. percentage of failures allowed across the entire upgrade
MaxFailurePercentage *int `json:"max_failure_percentage,omitempty"`
// If `strategy`==`canary`. Number of failures allowed within each phase. Only applicable for `canary`. Array length should be same as `canary_phases`. Will be used if provided, else `max_failure_percentage` will be used
MaxFailures []int `json:"max_failures,omitempty"`
// Only devices of these model types will be selected for upgrade
Models [][]string `json:"models,omitempty"`
// For APs only and if `enable_p2p`==`true`.
P2pClusterSize *int `json:"p2p_cluster_size,omitempty"`
// For APs only and if `enable_p2p`==`true`. Number of parallel p2p download batches to create
P2pParallelism *int `json:"p2p_parallelism,omitempty"`
// For Switches and Gateways only and if `reboot`==`true`. Reboot start time in epoch seconds, default is `start_time`
RebootAt *int `json:"reboot_at,omitempty"` // Deprecated
// Process start date and time, ISO8601 format. Exclude timezone component if site local timezone needs to be used
RebootDatetime *string `json:"reboot_datetime,omitempty"`
// enum: `big_bang` (upgrade all at once), `canary`, `rrm` (APs only), `serial` (one at a time)
RebootStrategy *UpgradeDeviceStrategyEnum `json:"reboot_strategy,omitempty"`
// For APs only and if `strategy`==`rrm`. Percentage of APs that need to be present in the first RRM batch
RrmFirstBatchPercentage *int `json:"rrm_first_batch_percentage,omitempty"`
// For APs only and if `strategy`==`rrm`. Max percentage of APs that need to be present in each RRM batch
RrmMaxBatchPercentage *int `json:"rrm_max_batch_percentage,omitempty"`
// For APs only and if `strategy`==`rrm`. Whether to upgrade mesh AP’s parallelly or sequentially at the end of the upgrade. enum: `parallel`, `sequential`
RrmMeshUpgrade *UpgradeDeviceRrmMeshUpgradeEnum `json:"rrm_mesh_upgrade,omitempty"`
// For APs only and if `strategy`==`rrm`. Used in rrm to determine whether to start upgrade from fringe or center AP’s. enum: `center_to_fringe`, `fringe_to_center`
RrmNodeOrder *UpgradeDeviceRrmNodeOrderEnum `json:"rrm_node_order,omitempty"`
// For APs only and if `strategy`==`rrm`. True will make rrm batch sizes slowly ramp up
RrmSlowRamp *bool `json:"rrm_slow_ramp,omitempty"`
// Rules used to identify devices which will be selected for upgrade. Device will be selected as long as it satisfies any one rule
// Property key defines the type of matching, value is the string to match. e.g:
// * `match_name`: Device name must match the property value
// * `match_name[0:3]`: Device name must match the first 3 letters of the property value
// * `match_name[2:6]`: Device name must match the property value from the 2nd to the 6th letter
// * `match_model`: Device model must match the property value
// * `match_model[1:3]`: Device model must match the property value from the 1st to the 3rd letter
// * `match_role`: Device role must match the property value
// * `match_role[0:3]`: Device role must match the property value from the 1st to the 3rd letter
// * `match_evpn_role`: Device EVPN topology role must match the property value
// * `match_evpn_role[0:3]`: Device EVPN topology role must match the property value from the 1st to the 3rd letter
Rules []map[string]string `json:"rules,omitempty"`
// Only devices belonging to these sites will be selected for upgrade. Will be ignored if `all_sites`==`true`
SiteIds []uuid.UUID `json:"site_ids,omitempty"`
// For Junos devices only. Perform recovery snapshot after device is rebooted
Snapshot *bool `json:"snapshot,omitempty"`
// Process start date and time, ISO8601 format
StartDatetime *string `json:"start_datetime,omitempty"`
// Upgrade start time in epoch seconds, default is now
StartTime *int `json:"start_time,omitempty"` // Deprecated
// enum: `big_bang` (upgrade all at once), `canary`, `rrm` (APs only), `serial` (one at a time)
Strategy *UpgradeDeviceStrategyEnum `json:"strategy,omitempty"`
Versions []UpgradeOrgDevicesVersion `json:"versions,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UpgradeOrgDevices represents a UpgradeOrgDevices struct.
func (UpgradeOrgDevices) MarshalJSON ¶
func (u UpgradeOrgDevices) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpgradeOrgDevices. It customizes the JSON marshaling process for UpgradeOrgDevices objects.
func (UpgradeOrgDevices) String ¶ added in v0.4.23
func (u UpgradeOrgDevices) String() string
String implements the fmt.Stringer interface for UpgradeOrgDevices, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UpgradeOrgDevices) UnmarshalJSON ¶
func (u *UpgradeOrgDevices) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UpgradeOrgDevices. It customizes the JSON unmarshaling process for UpgradeOrgDevices objects.
type UpgradeOrgDevicesDownloadStrategyEnum ¶ added in v0.4.54
type UpgradeOrgDevicesDownloadStrategyEnum string
UpgradeOrgDevicesDownloadStrategyEnum is a string enum. enum: * `big_bang`: download all at once, no orchestration * `serial`: one at a time' * `canary`: upgrade in phases
const ( UpgradeOrgDevicesDownloadStrategyEnum_CANARY UpgradeOrgDevicesDownloadStrategyEnum = "canary" UpgradeOrgDevicesDownloadStrategyEnum_BIGBANG UpgradeOrgDevicesDownloadStrategyEnum = "big_bang" UpgradeOrgDevicesDownloadStrategyEnum_SERIAL UpgradeOrgDevicesDownloadStrategyEnum = "serial" )
type UpgradeOrgDevicesItem ¶ added in v0.4.39
type UpgradeOrgDevicesItem struct {
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
SiteUpgrades []UpgradeOrgDevicesItemSiteUpgrade `json:"site_upgrades,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UpgradeOrgDevicesItem represents a UpgradeOrgDevicesItem struct.
func (UpgradeOrgDevicesItem) MarshalJSON ¶ added in v0.4.39
func (u UpgradeOrgDevicesItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpgradeOrgDevicesItem. It customizes the JSON marshaling process for UpgradeOrgDevicesItem objects.
func (UpgradeOrgDevicesItem) String ¶ added in v0.4.39
func (u UpgradeOrgDevicesItem) String() string
String implements the fmt.Stringer interface for UpgradeOrgDevicesItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UpgradeOrgDevicesItem) UnmarshalJSON ¶ added in v0.4.39
func (u *UpgradeOrgDevicesItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UpgradeOrgDevicesItem. It customizes the JSON unmarshaling process for UpgradeOrgDevicesItem objects.
type UpgradeOrgDevicesItemSiteUpgrade ¶ added in v0.4.39
type UpgradeOrgDevicesItemSiteUpgrade struct {
SiteId *uuid.UUID `json:"site_id,omitempty"`
UpgradeId *uuid.UUID `json:"upgrade_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UpgradeOrgDevicesItemSiteUpgrade represents a UpgradeOrgDevicesItemSiteUpgrade struct.
func (UpgradeOrgDevicesItemSiteUpgrade) MarshalJSON ¶ added in v0.4.39
func (u UpgradeOrgDevicesItemSiteUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpgradeOrgDevicesItemSiteUpgrade. It customizes the JSON marshaling process for UpgradeOrgDevicesItemSiteUpgrade objects.
func (UpgradeOrgDevicesItemSiteUpgrade) String ¶ added in v0.4.39
func (u UpgradeOrgDevicesItemSiteUpgrade) String() string
String implements the fmt.Stringer interface for UpgradeOrgDevicesItemSiteUpgrade, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UpgradeOrgDevicesItemSiteUpgrade) UnmarshalJSON ¶ added in v0.4.39
func (u *UpgradeOrgDevicesItemSiteUpgrade) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UpgradeOrgDevicesItemSiteUpgrade. It customizes the JSON unmarshaling process for UpgradeOrgDevicesItemSiteUpgrade objects.
type UpgradeOrgDevicesUpgrade ¶ added in v0.4.39
type UpgradeOrgDevicesUpgrade struct {
SiteId *uuid.UUID `json:"site_id,omitempty"`
Upgrade *UpgradeOrgDevicesUpgradeInfo `json:"upgrade,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UpgradeOrgDevicesUpgrade represents a UpgradeOrgDevicesUpgrade struct.
func (UpgradeOrgDevicesUpgrade) MarshalJSON ¶ added in v0.4.39
func (u UpgradeOrgDevicesUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpgradeOrgDevicesUpgrade. It customizes the JSON marshaling process for UpgradeOrgDevicesUpgrade objects.
func (UpgradeOrgDevicesUpgrade) String ¶ added in v0.4.39
func (u UpgradeOrgDevicesUpgrade) String() string
String implements the fmt.Stringer interface for UpgradeOrgDevicesUpgrade, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UpgradeOrgDevicesUpgrade) UnmarshalJSON ¶ added in v0.4.39
func (u *UpgradeOrgDevicesUpgrade) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UpgradeOrgDevicesUpgrade. It customizes the JSON unmarshaling process for UpgradeOrgDevicesUpgrade objects.
type UpgradeOrgDevicesUpgradeInfo ¶ added in v0.4.39
type UpgradeOrgDevicesUpgradeInfo struct {
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
StartTime *int `json:"start_time,omitempty"`
// status upgrade is in. enum: `cancelled`, `completed`, `created`, `downloaded`, `downloading`, `failed`, `upgrading`, `queued`
Status *UpgradeDeviceStatusEnum `json:"status,omitempty"`
Targets *UpgradeDevicesTargets `json:"targets,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UpgradeOrgDevicesUpgradeInfo represents a UpgradeOrgDevicesUpgradeInfo struct.
func (UpgradeOrgDevicesUpgradeInfo) MarshalJSON ¶ added in v0.4.39
func (u UpgradeOrgDevicesUpgradeInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpgradeOrgDevicesUpgradeInfo. It customizes the JSON marshaling process for UpgradeOrgDevicesUpgradeInfo objects.
func (UpgradeOrgDevicesUpgradeInfo) String ¶ added in v0.4.39
func (u UpgradeOrgDevicesUpgradeInfo) String() string
String implements the fmt.Stringer interface for UpgradeOrgDevicesUpgradeInfo, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UpgradeOrgDevicesUpgradeInfo) UnmarshalJSON ¶ added in v0.4.39
func (u *UpgradeOrgDevicesUpgradeInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UpgradeOrgDevicesUpgradeInfo. It customizes the JSON unmarshaling process for UpgradeOrgDevicesUpgradeInfo objects.
type UpgradeOrgDevicesVersion ¶ added in v0.4.54
type UpgradeOrgDevicesVersion struct {
// enum: `ap`, `junos`
FirmwareType *UpgradeOrgDevicesVersionFirmwareTypeEnum `json:"firmware_type,omitempty"`
// If `firmware_type`==`ap`, set to `true` if upgrade is needed when target version <= running version
Force *bool `json:"force,omitempty"`
// If `firmware_type`==`junos`, used to select different versions for different models (Overrides `version` for the specified models). Property key is the hadware model (e.g. `EX4400-24MP`), Property value is the firmware version (e.g. `23.4R1.9`)
ModelVersion map[string]string `json:"model_version,omitempty"`
// version of the firmware to deploy
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UpgradeOrgDevicesVersion represents a UpgradeOrgDevicesVersion struct.
func (UpgradeOrgDevicesVersion) MarshalJSON ¶ added in v0.4.54
func (u UpgradeOrgDevicesVersion) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpgradeOrgDevicesVersion. It customizes the JSON marshaling process for UpgradeOrgDevicesVersion objects.
func (UpgradeOrgDevicesVersion) String ¶ added in v0.4.54
func (u UpgradeOrgDevicesVersion) String() string
String implements the fmt.Stringer interface for UpgradeOrgDevicesVersion, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UpgradeOrgDevicesVersion) UnmarshalJSON ¶ added in v0.4.54
func (u *UpgradeOrgDevicesVersion) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UpgradeOrgDevicesVersion. It customizes the JSON unmarshaling process for UpgradeOrgDevicesVersion objects.
type UpgradeOrgDevicesVersionFirmwareTypeEnum ¶ added in v0.4.54
type UpgradeOrgDevicesVersionFirmwareTypeEnum string
UpgradeOrgDevicesVersionFirmwareTypeEnum is a string enum. enum: `ap`, `junos`
const ( UpgradeOrgDevicesVersionFirmwareTypeEnum_AP UpgradeOrgDevicesVersionFirmwareTypeEnum = "ap" UpgradeOrgDevicesVersionFirmwareTypeEnum_JUNOS UpgradeOrgDevicesVersionFirmwareTypeEnum = "junos" )
type UpgradeSiteDevices ¶
type UpgradeSiteDevices struct {
// Only if `strategy`==`canary`. Phases for canary deployment. Each phase represents percentage of devices that need to be upgraded in that phase. default is [1, 10, 50, 100]
CanaryPhases []int `json:"canary_phases,omitempty"`
// id's of devices which will be selected for upgrade
DeviceIds []uuid.UUID `json:"device_ids,omitempty"`
// For APs only. Whether to allow local AP-to-AP FW upgrade
EnableP2p *bool `json:"enable_p2p,omitempty"`
// `force`==`true` will force upgrade when requested version is same as running version
Force *bool `json:"force,omitempty"`
// If `strategy`!=`big_bang`. percentage of failures allowed across the entire upgrade
MaxFailurePercentage *int `json:"max_failure_percentage,omitempty"`
// If `strategy`==`canary`. Number of failures allowed within each phase. Only applicable for `canary`. Array length should be same as `canary_phases`. Will be used if provided, else `max_failure_percentage` will be used
MaxFailures []int `json:"max_failures,omitempty"`
// Models which will be selected for upgrade
Models []string `json:"models,omitempty"`
// For APs only and if `enable_p2p`==`true`.
P2pClusterSize *int `json:"p2p_cluster_size,omitempty"`
// For APs only and if `enable_p2p`==`true`. Number of parallel p2p download batches to create
P2pParallelism *int `json:"p2p_parallelism,omitempty"`
// For Switches and Gateways only (APs are automatically rebooted). Reboot device immediately after upgrade is completed
Reboot *bool `json:"reboot,omitempty"`
// For Switches and Gateways only and if `reboot`==`true`. Reboot start time in epoch seconds, default is `start_time`
RebootAt *int `json:"reboot_at,omitempty"`
// For APs only and if `strategy`==`rrm`. Percentage of APs that need to be present in the first RRM batch
RrmFirstBatchPercentage *int `json:"rrm_first_batch_percentage,omitempty"`
// For APs only and if `strategy`==`rrm`. Max percentage of APs that need to be present in each RRM batch
RrmMaxBatchPercentage *int `json:"rrm_max_batch_percentage,omitempty"`
// For APs only and if `strategy`==`rrm`. Whether to upgrade mesh AP’s parallelly or sequentially at the end of the upgrade. enum: `parallel`, `sequential`
RrmMeshUpgrade *UpgradeDeviceRrmMeshUpgradeEnum `json:"rrm_mesh_upgrade,omitempty"`
// For APs only and if `strategy`==`rrm`. Used in rrm to determine whether to start upgrade from fringe or center AP’s. enum: `center_to_fringe`, `fringe_to_center`
RrmNodeOrder *UpgradeDeviceRrmNodeOrderEnum `json:"rrm_node_order,omitempty"`
// For APs only and if `strategy`==`rrm`. True will make rrm batch sizes slowly ramp up
RrmSlowRamp *bool `json:"rrm_slow_ramp,omitempty"`
// Rules used to identify devices which will be selected for upgrade. Device will be selected as long as it satisfies any one rule
// Property key defines the type of matching, value is the string to match. e.g:
// * `match_name`: Device name must match the property value
// * `match_name[0:3]`: Device name must match the first 3 letters of the property value
// * `match_name[2:6]`: Device name must match the property value from the 2nd to the 6th letter
// * `match_model`: Device model must match the property value
// * `match_model[1:3]`: Device model must match the property value from the 1st to the 3rd letter
// * `match_role`: Device role must match the property value
// * `match_role[0:3]`: Device role must match the property value from the 1st to the 3rd letter
// * `match_evpn_role`: Device EVPN topology role must match the property value
// * `match_evpn_role[0:3]`: Device EVPN topology role must match the property value from the 1st to the 3rd letter
Rules []map[string]string `json:"rules,omitempty"`
// For Junos devices only. Perform recovery snapshot after device is rebooted
Snapshot *bool `json:"snapshot,omitempty"`
// Upgrade start time in epoch seconds, default is now
StartTime *int `json:"start_time,omitempty"`
// enum: `big_bang` (upgrade all at once), `canary`, `rrm` (APs only), `serial` (one at a time)
Strategy *UpgradeDeviceStrategyEnum `json:"strategy,omitempty"`
// Specific version / stable, default is to use the latest available version
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UpgradeSiteDevices represents a UpgradeSiteDevices struct.
func (UpgradeSiteDevices) MarshalJSON ¶
func (u UpgradeSiteDevices) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpgradeSiteDevices. It customizes the JSON marshaling process for UpgradeSiteDevices objects.
func (UpgradeSiteDevices) String ¶ added in v0.4.23
func (u UpgradeSiteDevices) String() string
String implements the fmt.Stringer interface for UpgradeSiteDevices, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UpgradeSiteDevices) UnmarshalJSON ¶
func (u *UpgradeSiteDevices) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UpgradeSiteDevices. It customizes the JSON unmarshaling process for UpgradeSiteDevices objects.
type UpgradeSiteDevicesCounts ¶ added in v0.4.39
type UpgradeSiteDevicesCounts struct {
// Count of devices which cloud has requested to download firmware
DownloadRequested *int `json:"download_requested,omitempty"`
// Count of ap's which have the firmware downloaded
Downloaded *int `json:"downloaded,omitempty"`
// Count of devices which have failed to upgrade
Failed *int `json:"failed,omitempty"`
// Count of devices which are rebooting
RebootInProgress *int `json:"reboot_in_progress,omitempty"`
// Count of devices which have rebooted successfully
Rebooted *int `json:"rebooted,omitempty"`
// Count of devices which cloud has scheduled an upgrade for
Scheduled *int `json:"scheduled,omitempty"`
// Count of devices which skipped upgrade since requested version was same as running version. Use force to always upgrade
Skipped *int `json:"skipped,omitempty"`
// Count of devices part of this upgrade
Total *int `json:"total,omitempty"`
// Count of devices which have upgraded successfully
Upgraded *int `json:"upgraded,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UpgradeSiteDevicesCounts represents a UpgradeSiteDevicesCounts struct.
func (UpgradeSiteDevicesCounts) MarshalJSON ¶ added in v0.4.39
func (u UpgradeSiteDevicesCounts) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpgradeSiteDevicesCounts. It customizes the JSON marshaling process for UpgradeSiteDevicesCounts objects.
func (UpgradeSiteDevicesCounts) String ¶ added in v0.4.39
func (u UpgradeSiteDevicesCounts) String() string
String implements the fmt.Stringer interface for UpgradeSiteDevicesCounts, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UpgradeSiteDevicesCounts) UnmarshalJSON ¶ added in v0.4.39
func (u *UpgradeSiteDevicesCounts) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UpgradeSiteDevicesCounts. It customizes the JSON unmarshaling process for UpgradeSiteDevicesCounts objects.
type UseAutoApValues ¶
type UseAutoApValues struct {
// If accept is true, accepts placement for devices in list otherwise. If false, reject for devices in list.
Accept *bool `json:"accept,omitempty"`
// The selector to choose auto placement or auto orientation. enum: `orientation`, `placement`
For *UseAutoApValuesForEnum `json:"for,omitempty"`
// A list of macs to accept/reject. If a list is not provided the API will accept/reject for the full map.
Macs []string `json:"macs,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UseAutoApValues represents a UseAutoApValues struct.
func (UseAutoApValues) MarshalJSON ¶
func (u UseAutoApValues) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UseAutoApValues. It customizes the JSON marshaling process for UseAutoApValues objects.
func (UseAutoApValues) String ¶ added in v0.4.23
func (u UseAutoApValues) String() string
String implements the fmt.Stringer interface for UseAutoApValues, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UseAutoApValues) UnmarshalJSON ¶
func (u *UseAutoApValues) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UseAutoApValues. It customizes the JSON unmarshaling process for UseAutoApValues objects.
type UseAutoApValuesForEnum ¶
type UseAutoApValuesForEnum string
UseAutoApValuesForEnum is a string enum. The selector to choose auto placement or auto orientation. enum: `orientation`, `placement`
const ( UseAutoApValuesForEnum_ORIENTATION UseAutoApValuesForEnum = "orientation" UseAutoApValuesForEnum_PLACEMENT UseAutoApValuesForEnum = "placement" )
type UserApitoken ¶
type UserApitoken struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Key *string `json:"key,omitempty"`
LastUsed Optional[int] `json:"last_used"`
// Name of the token
Name *string `json:"name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UserApitoken represents a UserApitoken struct. User API Token
func (UserApitoken) MarshalJSON ¶
func (u UserApitoken) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UserApitoken. It customizes the JSON marshaling process for UserApitoken objects.
func (UserApitoken) String ¶ added in v0.4.23
func (u UserApitoken) String() string
String implements the fmt.Stringer interface for UserApitoken, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UserApitoken) UnmarshalJSON ¶
func (u *UserApitoken) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UserApitoken. It customizes the JSON unmarshaling process for UserApitoken objects.
type UserMac ¶
type UserMac struct {
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
Labels []string `json:"labels,omitempty"`
// Only non-local-admin MAC is accepted
Mac string `json:"mac"`
Name *string `json:"name,omitempty"`
Notes *string `json:"notes,omitempty"`
RadiusGroup *string `json:"radius_group,omitempty"`
Vlan *string `json:"vlan,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UserMac represents a UserMac struct.
func (UserMac) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for UserMac. It customizes the JSON marshaling process for UserMac objects.
func (UserMac) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for UserMac, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UserMac) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for UserMac. It customizes the JSON unmarshaling process for UserMac objects.
type UserMacImport ¶
type UserMacImport struct {
Added []string `json:"added,omitempty"`
Errors []string `json:"errors,omitempty"`
Updated []string `json:"updated,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UserMacImport represents a UserMacImport struct.
func (UserMacImport) MarshalJSON ¶
func (u UserMacImport) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UserMacImport. It customizes the JSON marshaling process for UserMacImport objects.
func (UserMacImport) String ¶ added in v0.4.23
func (u UserMacImport) String() string
String implements the fmt.Stringer interface for UserMacImport, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UserMacImport) UnmarshalJSON ¶
func (u *UserMacImport) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UserMacImport. It customizes the JSON unmarshaling process for UserMacImport objects.
type UserMacsUpdate ¶ added in v0.4.74
type UserMacsUpdate struct {
Errors []string `json:"errors,omitempty"`
Updated []uuid.UUID `json:"updated,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UserMacsUpdate represents a UserMacsUpdate struct.
func (UserMacsUpdate) MarshalJSON ¶ added in v0.4.74
func (u UserMacsUpdate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UserMacsUpdate. It customizes the JSON marshaling process for UserMacsUpdate objects.
func (UserMacsUpdate) String ¶ added in v0.4.74
func (u UserMacsUpdate) String() string
String implements the fmt.Stringer interface for UserMacsUpdate, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UserMacsUpdate) UnmarshalJSON ¶ added in v0.4.74
func (u *UserMacsUpdate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UserMacsUpdate. It customizes the JSON unmarshaling process for UserMacsUpdate objects.
type UsermacsId ¶ added in v0.4.74
type UsermacsId struct {
UsermacIds []uuid.UUID `json:"usermac_ids,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UsermacsId represents a UsermacsId struct.
func (UsermacsId) MarshalJSON ¶ added in v0.4.74
func (u UsermacsId) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UsermacsId. It customizes the JSON marshaling process for UsermacsId objects.
func (UsermacsId) String ¶ added in v0.4.74
func (u UsermacsId) String() string
String implements the fmt.Stringer interface for UsermacsId, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UsermacsId) UnmarshalJSON ¶ added in v0.4.74
func (u *UsermacsId) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UsermacsId. It customizes the JSON unmarshaling process for UsermacsId objects.
type UsernamePassword ¶
type UsernamePassword struct {
Password *string `json:"password,omitempty"`
Username *string `json:"username,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UsernamePassword represents a UsernamePassword struct.
func (UsernamePassword) MarshalJSON ¶
func (u UsernamePassword) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UsernamePassword. It customizes the JSON marshaling process for UsernamePassword objects.
func (UsernamePassword) String ¶ added in v0.4.23
func (u UsernamePassword) String() string
String implements the fmt.Stringer interface for UsernamePassword, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UsernamePassword) UnmarshalJSON ¶
func (u *UsernamePassword) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UsernamePassword. It customizes the JSON unmarshaling process for UsernamePassword objects.
type UtilsBouncePort ¶
type UtilsBouncePort struct {
// List of ports to bounce
Ports []string `json:"ports,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsBouncePort represents a UtilsBouncePort struct.
func (UtilsBouncePort) MarshalJSON ¶
func (u UtilsBouncePort) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsBouncePort. It customizes the JSON marshaling process for UtilsBouncePort objects.
func (UtilsBouncePort) String ¶ added in v0.4.23
func (u UtilsBouncePort) String() string
String implements the fmt.Stringer interface for UtilsBouncePort, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsBouncePort) UnmarshalJSON ¶
func (u *UtilsBouncePort) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsBouncePort. It customizes the JSON unmarshaling process for UtilsBouncePort objects.
type UtilsCableTests ¶
type UtilsCableTests struct {
// The port to run the cable test
Port string `json:"port"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsCableTests represents a UtilsCableTests struct.
func (UtilsCableTests) MarshalJSON ¶
func (u UtilsCableTests) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsCableTests. It customizes the JSON marshaling process for UtilsCableTests objects.
func (UtilsCableTests) String ¶ added in v0.4.23
func (u UtilsCableTests) String() string
String implements the fmt.Stringer interface for UtilsCableTests, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsCableTests) UnmarshalJSON ¶
func (u *UtilsCableTests) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsCableTests. It customizes the JSON unmarshaling process for UtilsCableTests objects.
type UtilsClearArp ¶
type UtilsClearArp struct {
// The IP address for which to clear an ARP entry. port_id must be specified.
Ip *string `json:"ip,omitempty"`
// only for HA. enum: `node0`, `node1`
Node *HaClusterNodeEnum `json:"node,omitempty"`
// The device interface on which to clear the ARP cache.
PortId *string `json:"port_id,omitempty"`
// The VLAN on which to clear the ARP cache. port_id must be specified.
Vlan *int `json:"vlan,omitempty"`
// The vrf for which to clear an ARP entry. applicable for switch.
Vrf *string `json:"vrf,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsClearArp represents a UtilsClearArp struct.
func (UtilsClearArp) MarshalJSON ¶
func (u UtilsClearArp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsClearArp. It customizes the JSON marshaling process for UtilsClearArp objects.
func (UtilsClearArp) String ¶ added in v0.4.23
func (u UtilsClearArp) String() string
String implements the fmt.Stringer interface for UtilsClearArp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsClearArp) UnmarshalJSON ¶
func (u *UtilsClearArp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsClearArp. It customizes the JSON unmarshaling process for UtilsClearArp objects.
type UtilsClearBgp ¶
type UtilsClearBgp struct {
// Neighbor ip-address or 'all'
Neighbor string `json:"neighbor"`
// only for HA. enum: `node0`, `node1`
Node *HaClusterNodeEnum `json:"node,omitempty"`
// enum: `hard`, `in`, `out`, `soft`
Type UtilsClearBgpTypeEnum `json:"type"`
// VRF name
Vrf *string `json:"vrf,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsClearBgp represents a UtilsClearBgp struct.
func (UtilsClearBgp) MarshalJSON ¶
func (u UtilsClearBgp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsClearBgp. It customizes the JSON marshaling process for UtilsClearBgp objects.
func (UtilsClearBgp) String ¶ added in v0.4.23
func (u UtilsClearBgp) String() string
String implements the fmt.Stringer interface for UtilsClearBgp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsClearBgp) UnmarshalJSON ¶
func (u *UtilsClearBgp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsClearBgp. It customizes the JSON unmarshaling process for UtilsClearBgp objects.
type UtilsClearBgpTypeEnum ¶
type UtilsClearBgpTypeEnum string
UtilsClearBgpTypeEnum is a string enum. enum: `hard`, `in`, `out`, `soft`
const ( UtilsClearBgpTypeEnum_HARD UtilsClearBgpTypeEnum = "hard" UtilsClearBgpTypeEnum_IN UtilsClearBgpTypeEnum = "in" UtilsClearBgpTypeEnum_OUT UtilsClearBgpTypeEnum = "out" UtilsClearBgpTypeEnum_SOFT UtilsClearBgpTypeEnum = "soft" )
type UtilsClearBpdu ¶
type UtilsClearBpdu struct {
// Port on which to clear the detected BPDU error, or `all` for all ports
Port *string `json:"port,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsClearBpdu represents a UtilsClearBpdu struct.
func (UtilsClearBpdu) MarshalJSON ¶
func (u UtilsClearBpdu) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsClearBpdu. It customizes the JSON marshaling process for UtilsClearBpdu objects.
func (UtilsClearBpdu) String ¶ added in v0.4.23
func (u UtilsClearBpdu) String() string
String implements the fmt.Stringer interface for UtilsClearBpdu, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsClearBpdu) UnmarshalJSON ¶
func (u *UtilsClearBpdu) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsClearBpdu. It customizes the JSON unmarshaling process for UtilsClearBpdu objects.
type UtilsClearMacs ¶
type UtilsClearMacs struct {
// List of ports on which to clear mac addresses. must include logical unit number
Ports []string `json:"ports,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsClearMacs represents a UtilsClearMacs struct.
func (UtilsClearMacs) MarshalJSON ¶
func (u UtilsClearMacs) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsClearMacs. It customizes the JSON marshaling process for UtilsClearMacs objects.
func (UtilsClearMacs) String ¶ added in v0.4.23
func (u UtilsClearMacs) String() string
String implements the fmt.Stringer interface for UtilsClearMacs, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsClearMacs) UnmarshalJSON ¶
func (u *UtilsClearMacs) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsClearMacs. It customizes the JSON unmarshaling process for UtilsClearMacs objects.
type UtilsClearSession ¶ added in v0.2.38
type UtilsClearSession struct {
// only for HA. enum: `node0`, `node1`
Node *HaClusterNodeEnum `json:"node,omitempty"`
// Service name, only supported in SSR
ServiceName *string `json:"service_name,omitempty"`
// List of id of the sessions to be cleared
SessionIds []uuid.UUID `json:"session_ids,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsClearSession represents a UtilsClearSession struct. To use five tuples to lookup the session to be cleared, all must be provided
func (UtilsClearSession) MarshalJSON ¶ added in v0.2.38
func (u UtilsClearSession) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsClearSession. It customizes the JSON marshaling process for UtilsClearSession objects.
func (UtilsClearSession) String ¶ added in v0.4.23
func (u UtilsClearSession) String() string
String implements the fmt.Stringer interface for UtilsClearSession, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsClearSession) UnmarshalJSON ¶ added in v0.2.38
func (u *UtilsClearSession) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsClearSession. It customizes the JSON unmarshaling process for UtilsClearSession objects.
type UtilsDevicesRestart ¶
type UtilsDevicesRestart struct {
// Optional for VC member
Member *int `json:"member,omitempty"`
// only for SRX/SSR: if node is not present, both nodes are restarted. For other devices: node should not be present
Node *UtilsDevicesRestartNodeEnum `json:"node,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsDevicesRestart represents a UtilsDevicesRestart struct.
func (UtilsDevicesRestart) MarshalJSON ¶
func (u UtilsDevicesRestart) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsDevicesRestart. It customizes the JSON marshaling process for UtilsDevicesRestart objects.
func (UtilsDevicesRestart) String ¶ added in v0.4.23
func (u UtilsDevicesRestart) String() string
String implements the fmt.Stringer interface for UtilsDevicesRestart, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsDevicesRestart) UnmarshalJSON ¶
func (u *UtilsDevicesRestart) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsDevicesRestart. It customizes the JSON unmarshaling process for UtilsDevicesRestart objects.
type UtilsDevicesRestartMulti ¶
type UtilsDevicesRestartMulti struct {
DeviceIds []uuid.UUID `json:"device_ids"`
// only for SSR: if node is not present, both nodes are restarted. For other devices: node should not be present
Node *string `json:"node,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsDevicesRestartMulti represents a UtilsDevicesRestartMulti struct.
func (UtilsDevicesRestartMulti) MarshalJSON ¶
func (u UtilsDevicesRestartMulti) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsDevicesRestartMulti. It customizes the JSON marshaling process for UtilsDevicesRestartMulti objects.
func (UtilsDevicesRestartMulti) String ¶ added in v0.4.23
func (u UtilsDevicesRestartMulti) String() string
String implements the fmt.Stringer interface for UtilsDevicesRestartMulti, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsDevicesRestartMulti) UnmarshalJSON ¶
func (u *UtilsDevicesRestartMulti) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsDevicesRestartMulti. It customizes the JSON unmarshaling process for UtilsDevicesRestartMulti objects.
type UtilsDevicesRestartNodeEnum ¶ added in v0.4.31
type UtilsDevicesRestartNodeEnum string
UtilsDevicesRestartNodeEnum is a string enum. only for SRX/SSR: if node is not present, both nodes are restarted. For other devices: node should not be present
const ( UtilsDevicesRestartNodeEnum_NODE0 UtilsDevicesRestartNodeEnum = "node0" UtilsDevicesRestartNodeEnum_NODE1 UtilsDevicesRestartNodeEnum = "node1" )
type UtilsMacTable ¶
type UtilsMacTable struct {
MacAddress *string `json:"mac_address,omitempty"`
PortId *string `json:"port_id,omitempty"`
VlanId *string `json:"vlan_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsMacTable represents a UtilsMacTable struct.
func (UtilsMacTable) MarshalJSON ¶
func (u UtilsMacTable) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsMacTable. It customizes the JSON marshaling process for UtilsMacTable objects.
func (UtilsMacTable) String ¶ added in v0.4.23
func (u UtilsMacTable) String() string
String implements the fmt.Stringer interface for UtilsMacTable, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsMacTable) UnmarshalJSON ¶
func (u *UtilsMacTable) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsMacTable. It customizes the JSON unmarshaling process for UtilsMacTable objects.
type UtilsMonitorTraffic ¶
type UtilsMonitorTraffic struct {
// Port name, if no port input is provided then all ports will be monitored
Port *string `json:"port,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsMonitorTraffic represents a UtilsMonitorTraffic struct.
func (UtilsMonitorTraffic) MarshalJSON ¶
func (u UtilsMonitorTraffic) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsMonitorTraffic. It customizes the JSON marshaling process for UtilsMonitorTraffic objects.
func (UtilsMonitorTraffic) String ¶ added in v0.4.23
func (u UtilsMonitorTraffic) String() string
String implements the fmt.Stringer interface for UtilsMonitorTraffic, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsMonitorTraffic) UnmarshalJSON ¶
func (u *UtilsMonitorTraffic) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsMonitorTraffic. It customizes the JSON unmarshaling process for UtilsMonitorTraffic objects.
type UtilsPing ¶
type UtilsPing struct {
Count *int `json:"count,omitempty"`
// Interface through which packet needs to egress
EgressInterface *string `json:"egress_interface,omitempty"`
Host string `json:"host"`
// only for HA. enum: `node0`, `node1`
Node *HaClusterNodeEnum `json:"node,omitempty"`
Size *int `json:"size,omitempty"`
// VRF/Routing instance through which the packet needs to be sent
Vrf *string `json:"vrf,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsPing represents a UtilsPing struct.
func (UtilsPing) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for UtilsPing. It customizes the JSON marshaling process for UtilsPing objects.
func (UtilsPing) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for UtilsPing, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsPing) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for UtilsPing. It customizes the JSON unmarshaling process for UtilsPing objects.
type UtilsReleaseDhcp ¶
type UtilsReleaseDhcp struct {
// only for HA. enum: `node0`, `node1`
Node *HaClusterNodeEnum `json:"node,omitempty"`
// The network interface on which to release the current DHCP release
PortId string `json:"port_id"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsReleaseDhcp represents a UtilsReleaseDhcp struct.
func (UtilsReleaseDhcp) MarshalJSON ¶
func (u UtilsReleaseDhcp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsReleaseDhcp. It customizes the JSON marshaling process for UtilsReleaseDhcp objects.
func (UtilsReleaseDhcp) String ¶ added in v0.4.23
func (u UtilsReleaseDhcp) String() string
String implements the fmt.Stringer interface for UtilsReleaseDhcp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsReleaseDhcp) UnmarshalJSON ¶
func (u *UtilsReleaseDhcp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsReleaseDhcp. It customizes the JSON unmarshaling process for UtilsReleaseDhcp objects.
type UtilsReleaseDhcpLeases ¶ added in v0.2.38
type UtilsReleaseDhcpLeases struct {
// A list of client macs to be released
Mac []string `json:"mac,omitempty"`
// The network for the leases IPs to be released
Network *string `json:"network,omitempty"`
// only for HA. enum: `node0`, `node1`
Node *HaClusterNodeEnum `json:"node,omitempty"`
// The network interface on which to release the current DHCP release
PortId string `json:"port_id"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsReleaseDhcpLeases represents a UtilsReleaseDhcpLeases struct. Note: * valid combinations for Junos: * `port_id` * `macs` + `network` * valid combinations for SSR: * `port_id` * `macs` + `network` * `port_id` + `network` * `network` * if network or port_id is specified and macs is empty, it means all clients under network or port_id
func (UtilsReleaseDhcpLeases) MarshalJSON ¶ added in v0.2.38
func (u UtilsReleaseDhcpLeases) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsReleaseDhcpLeases. It customizes the JSON marshaling process for UtilsReleaseDhcpLeases objects.
func (UtilsReleaseDhcpLeases) String ¶ added in v0.4.23
func (u UtilsReleaseDhcpLeases) String() string
String implements the fmt.Stringer interface for UtilsReleaseDhcpLeases, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsReleaseDhcpLeases) UnmarshalJSON ¶ added in v0.2.38
func (u *UtilsReleaseDhcpLeases) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsReleaseDhcpLeases. It customizes the JSON unmarshaling process for UtilsReleaseDhcpLeases objects.
type UtilsResetRadioConfig ¶
type UtilsResetRadioConfig struct {
// List of bands
Bands []string `json:"bands"`
// Whether to reset those with radio disabled. default is false (i.e. if user intentionally disables a radio, honor it)
Force *bool `json:"force,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsResetRadioConfig represents a UtilsResetRadioConfig struct.
func (UtilsResetRadioConfig) MarshalJSON ¶
func (u UtilsResetRadioConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsResetRadioConfig. It customizes the JSON marshaling process for UtilsResetRadioConfig objects.
func (UtilsResetRadioConfig) String ¶ added in v0.4.23
func (u UtilsResetRadioConfig) String() string
String implements the fmt.Stringer interface for UtilsResetRadioConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsResetRadioConfig) UnmarshalJSON ¶
func (u *UtilsResetRadioConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsResetRadioConfig. It customizes the JSON unmarshaling process for UtilsResetRadioConfig objects.
type UtilsRrmOptimize ¶
type UtilsRrmOptimize struct {
// List of bands
Bands []string `json:"bands"`
// Targeting AP (neighbor APs may get changed, too), default is empty for ALL APs
Macs []string `json:"macs,omitempty"`
// Only changing TX Power (will not disconnect clients)
TxpowerOnly *bool `json:"txpower_only,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsRrmOptimize represents a UtilsRrmOptimize struct.
func (UtilsRrmOptimize) MarshalJSON ¶
func (u UtilsRrmOptimize) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsRrmOptimize. It customizes the JSON marshaling process for UtilsRrmOptimize objects.
func (UtilsRrmOptimize) String ¶ added in v0.4.23
func (u UtilsRrmOptimize) String() string
String implements the fmt.Stringer interface for UtilsRrmOptimize, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsRrmOptimize) UnmarshalJSON ¶
func (u *UtilsRrmOptimize) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsRrmOptimize. It customizes the JSON unmarshaling process for UtilsRrmOptimize objects.
type UtilsSendBleBeacon ¶
type UtilsSendBleBeacon struct {
BeaconFrame *string `json:"beacon_frame,omitempty"`
BeaconFreq *int `json:"beacon_freq,omitempty"`
Duration *int `json:"duration,omitempty"`
Macs []string `json:"macs,omitempty"`
MapIds []string `json:"map_ids,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsSendBleBeacon represents a UtilsSendBleBeacon struct.
func (UtilsSendBleBeacon) MarshalJSON ¶
func (u UtilsSendBleBeacon) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsSendBleBeacon. It customizes the JSON marshaling process for UtilsSendBleBeacon objects.
func (UtilsSendBleBeacon) String ¶ added in v0.4.23
func (u UtilsSendBleBeacon) String() string
String implements the fmt.Stringer interface for UtilsSendBleBeacon, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsSendBleBeacon) UnmarshalJSON ¶
func (u *UtilsSendBleBeacon) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsSendBleBeacon. It customizes the JSON unmarshaling process for UtilsSendBleBeacon objects.
type UtilsSendSupportLogs ¶
type UtilsSendSupportLogs struct {
// Optional, enum:
// * `code-dumps`: Upload all core dump files, if any found
// * `full`: Upload 1 file with output of `request support information`, 1 file that concatenates all `/var/log/outbound-ssh.log*` files, all core dump files, the 5 most recent `/var/log/messages*` files, and Mist agent logs
// * `messages`: Upload 1 to 10 `/var/log/messages*` files
// * `outbound-ssh`: Upload 1 file that concatenates all `/var/log/outbound-ssh.log*` files
// * `process`: Upload 1 file with output of show `system processes extensive“
// * `var-logs`: Upload all non-empty files in the `/var/log/` directory
Info *UtilsSendSupportLogsInfoEnum `json:"info,omitempty"`
// optional: for SSR, if node is not present, both nodes support files are uploaded
Node *string `json:"node,omitempty"`
// optional: number of most recent messages files to upload.
NumMessagesFiles *int `json:"num_messages_files,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsSendSupportLogs represents a UtilsSendSupportLogs struct.
func (UtilsSendSupportLogs) MarshalJSON ¶
func (u UtilsSendSupportLogs) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsSendSupportLogs. It customizes the JSON marshaling process for UtilsSendSupportLogs objects.
func (UtilsSendSupportLogs) String ¶ added in v0.4.23
func (u UtilsSendSupportLogs) String() string
String implements the fmt.Stringer interface for UtilsSendSupportLogs, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsSendSupportLogs) UnmarshalJSON ¶
func (u *UtilsSendSupportLogs) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsSendSupportLogs. It customizes the JSON unmarshaling process for UtilsSendSupportLogs objects.
type UtilsSendSupportLogsInfoEnum ¶
type UtilsSendSupportLogsInfoEnum string
UtilsSendSupportLogsInfoEnum is a string enum. Optional, enum: * `code-dumps`: Upload all core dump files, if any found * `full`: Upload 1 file with output of `request support information`, 1 file that concatenates all `/var/log/outbound-ssh.log*` files, all core dump files, the 5 most recent `/var/log/messages*` files, and Mist agent logs * `messages`: Upload 1 to 10 `/var/log/messages*` files * `outbound-ssh`: Upload 1 file that concatenates all `/var/log/outbound-ssh.log*` files * `process`: Upload 1 file with output of show `system processes extensive“ * `var-logs`: Upload all non-empty files in the `/var/log/` directory
const ( UtilsSendSupportLogsInfoEnum_CODEDUMPS UtilsSendSupportLogsInfoEnum = "code-dumps" UtilsSendSupportLogsInfoEnum_FULL UtilsSendSupportLogsInfoEnum = "full" UtilsSendSupportLogsInfoEnum_MESSAGES UtilsSendSupportLogsInfoEnum = "messages" UtilsSendSupportLogsInfoEnum_OUTBOUNDSSH UtilsSendSupportLogsInfoEnum = "outbound-ssh" UtilsSendSupportLogsInfoEnum_PROCESS UtilsSendSupportLogsInfoEnum = "process" UtilsSendSupportLogsInfoEnum_VARLOGS UtilsSendSupportLogsInfoEnum = "var-logs" )
type UtilsServicePing ¶
type UtilsServicePing struct {
Count *int `json:"count,omitempty"`
Host string `json:"host"`
// only for HA. enum: `node0`, `node1`
Node *HaClusterNodeEnum `json:"node,omitempty"`
// Ping packet takes the same path as the service
Service string `json:"service"`
Size *int `json:"size,omitempty"`
// Tenant context in which the packet is sent
Tenant *string `json:"tenant,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsServicePing represents a UtilsServicePing struct.
func (UtilsServicePing) MarshalJSON ¶
func (u UtilsServicePing) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsServicePing. It customizes the JSON marshaling process for UtilsServicePing objects.
func (UtilsServicePing) String ¶ added in v0.4.23
func (u UtilsServicePing) String() string
String implements the fmt.Stringer interface for UtilsServicePing, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsServicePing) UnmarshalJSON ¶
func (u *UtilsServicePing) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsServicePing. It customizes the JSON unmarshaling process for UtilsServicePing objects.
type UtilsShowArp ¶
type UtilsShowArp struct {
// Duration in sec for which refresh is enabled. Should be set only if interval is configured to non-zero value.
Duration *int `json:"duration,omitempty"`
// Rate at which output will refresh
Interval *int `json:"interval,omitempty"`
// IP Address
Ip *string `json:"ip,omitempty"`
// Device Port ID
PortId *string `json:"port_id,omitempty"`
// VRF Name
Vrf *string `json:"vrf,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsShowArp represents a UtilsShowArp struct.
func (UtilsShowArp) MarshalJSON ¶
func (u UtilsShowArp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsShowArp. It customizes the JSON marshaling process for UtilsShowArp objects.
func (UtilsShowArp) String ¶ added in v0.4.23
func (u UtilsShowArp) String() string
String implements the fmt.Stringer interface for UtilsShowArp, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsShowArp) UnmarshalJSON ¶
func (u *UtilsShowArp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsShowArp. It customizes the JSON unmarshaling process for UtilsShowArp objects.
type UtilsShowBgpSummary ¶ added in v0.4.54
type UtilsShowBgpSummary struct {
// only for HA. enum: `node0`, `node1`
Node *HaClusterNodeEnum `json:"node,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsShowBgpSummary represents a UtilsShowBgpSummary struct.
func (UtilsShowBgpSummary) MarshalJSON ¶ added in v0.4.54
func (u UtilsShowBgpSummary) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsShowBgpSummary. It customizes the JSON marshaling process for UtilsShowBgpSummary objects.
func (UtilsShowBgpSummary) String ¶ added in v0.4.54
func (u UtilsShowBgpSummary) String() string
String implements the fmt.Stringer interface for UtilsShowBgpSummary, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsShowBgpSummary) UnmarshalJSON ¶ added in v0.4.54
func (u *UtilsShowBgpSummary) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsShowBgpSummary. It customizes the JSON unmarshaling process for UtilsShowBgpSummary objects.
type UtilsShowDhcpLeases ¶ added in v0.2.38
type UtilsShowDhcpLeases struct {
// DHCP network for the leases, returns full table if not specified
Network string `json:"network"`
// only for HA. enum: `node0`, `node1`
Node *HaClusterNodeEnum `json:"node,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsShowDhcpLeases represents a UtilsShowDhcpLeases struct.
func (UtilsShowDhcpLeases) MarshalJSON ¶ added in v0.2.38
func (u UtilsShowDhcpLeases) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsShowDhcpLeases. It customizes the JSON marshaling process for UtilsShowDhcpLeases objects.
func (UtilsShowDhcpLeases) String ¶ added in v0.4.23
func (u UtilsShowDhcpLeases) String() string
String implements the fmt.Stringer interface for UtilsShowDhcpLeases, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsShowDhcpLeases) UnmarshalJSON ¶ added in v0.2.38
func (u *UtilsShowDhcpLeases) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsShowDhcpLeases. It customizes the JSON unmarshaling process for UtilsShowDhcpLeases objects.
type UtilsShowDot1x ¶ added in v0.4.80
type UtilsShowDot1x struct {
// Duration in sec for which refresh is enabled. Should be set only if interval is configured to non-zero value.
Duration *int `json:"duration,omitempty"`
// Rate at which output will refresh
Interval *int `json:"interval,omitempty"`
// Device Port ID
PortId *string `json:"port_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsShowDot1x represents a UtilsShowDot1x struct.
func (UtilsShowDot1x) MarshalJSON ¶ added in v0.4.80
func (u UtilsShowDot1x) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsShowDot1x. It customizes the JSON marshaling process for UtilsShowDot1x objects.
func (UtilsShowDot1x) String ¶ added in v0.4.80
func (u UtilsShowDot1x) String() string
String implements the fmt.Stringer interface for UtilsShowDot1x, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsShowDot1x) UnmarshalJSON ¶ added in v0.4.80
func (u *UtilsShowDot1x) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsShowDot1x. It customizes the JSON unmarshaling process for UtilsShowDot1x objects.
type UtilsShowEvpnDatabase ¶
type UtilsShowEvpnDatabase struct {
// Duration in sec for which refresh is enabled. Should be set only if interval is configured to non-zero value.
Duration *int `json:"duration,omitempty"`
// Rate at which output will refresh
Interval *int `json:"interval,omitempty"`
// Client mac filter
Mac *string `json:"mac,omitempty"`
// Interface name
PortId *string `json:"port_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsShowEvpnDatabase represents a UtilsShowEvpnDatabase struct.
func (UtilsShowEvpnDatabase) MarshalJSON ¶
func (u UtilsShowEvpnDatabase) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsShowEvpnDatabase. It customizes the JSON marshaling process for UtilsShowEvpnDatabase objects.
func (UtilsShowEvpnDatabase) String ¶ added in v0.4.23
func (u UtilsShowEvpnDatabase) String() string
String implements the fmt.Stringer interface for UtilsShowEvpnDatabase, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsShowEvpnDatabase) UnmarshalJSON ¶
func (u *UtilsShowEvpnDatabase) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsShowEvpnDatabase. It customizes the JSON unmarshaling process for UtilsShowEvpnDatabase objects.
type UtilsShowForwardingTable ¶
type UtilsShowForwardingTable struct {
// only for HA. enum: `node0`, `node1`
Node *HaClusterNodeEnum `json:"node,omitempty"`
// IP Prefix
Prefix *string `json:"prefix,omitempty"`
// Only supported with SSR
ServiceIp *string `json:"service_ip,omitempty"`
// Only supported with SSR
ServiceName *string `json:"service_name,omitempty"`
// Only supported with SSR
ServicePort *int `json:"service_port,omitempty"`
// Only supported with SSR
ServiceProtocol *string `json:"service_protocol,omitempty"`
// Only supported with SSR
ServiceTenant *string `json:"service_tenant,omitempty"`
// VRF Name
Vrf *string `json:"vrf,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsShowForwardingTable represents a UtilsShowForwardingTable struct.
func (UtilsShowForwardingTable) MarshalJSON ¶
func (u UtilsShowForwardingTable) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsShowForwardingTable. It customizes the JSON marshaling process for UtilsShowForwardingTable objects.
func (UtilsShowForwardingTable) String ¶ added in v0.4.23
func (u UtilsShowForwardingTable) String() string
String implements the fmt.Stringer interface for UtilsShowForwardingTable, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsShowForwardingTable) UnmarshalJSON ¶
func (u *UtilsShowForwardingTable) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsShowForwardingTable. It customizes the JSON unmarshaling process for UtilsShowForwardingTable objects.
type UtilsShowOspfDatabase ¶ added in v0.3.17
type UtilsShowOspfDatabase struct {
// only for HA. enum: `node0`, `node1`
Node *HaClusterNodeEnum `json:"node,omitempty"`
// Show originating info, default is false
SelfOriginate *bool `json:"self_originate,omitempty"`
// VRF name
Vrf *string `json:"vrf,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsShowOspfDatabase represents a UtilsShowOspfDatabase struct.
func (UtilsShowOspfDatabase) MarshalJSON ¶ added in v0.3.17
func (u UtilsShowOspfDatabase) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsShowOspfDatabase. It customizes the JSON marshaling process for UtilsShowOspfDatabase objects.
func (UtilsShowOspfDatabase) String ¶ added in v0.4.23
func (u UtilsShowOspfDatabase) String() string
String implements the fmt.Stringer interface for UtilsShowOspfDatabase, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsShowOspfDatabase) UnmarshalJSON ¶ added in v0.3.17
func (u *UtilsShowOspfDatabase) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsShowOspfDatabase. It customizes the JSON unmarshaling process for UtilsShowOspfDatabase objects.
type UtilsShowOspfInterfaces ¶ added in v0.3.17
type UtilsShowOspfInterfaces struct {
// only for HA. enum: `node0`, `node1`
Node *HaClusterNodeEnum `json:"node,omitempty"`
// Network interface
PortId *string `json:"port_id,omitempty"`
// VRF name
Vrf *string `json:"vrf,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsShowOspfInterfaces represents a UtilsShowOspfInterfaces struct.
func (UtilsShowOspfInterfaces) MarshalJSON ¶ added in v0.3.17
func (u UtilsShowOspfInterfaces) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsShowOspfInterfaces. It customizes the JSON marshaling process for UtilsShowOspfInterfaces objects.
func (UtilsShowOspfInterfaces) String ¶ added in v0.4.23
func (u UtilsShowOspfInterfaces) String() string
String implements the fmt.Stringer interface for UtilsShowOspfInterfaces, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsShowOspfInterfaces) UnmarshalJSON ¶ added in v0.3.17
func (u *UtilsShowOspfInterfaces) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsShowOspfInterfaces. It customizes the JSON unmarshaling process for UtilsShowOspfInterfaces objects.
type UtilsShowOspfNeighbors ¶ added in v0.3.17
type UtilsShowOspfNeighbors struct {
// Neighbor IP Address
Neighbor *string `json:"neighbor,omitempty"`
// only for HA. enum: `node0`, `node1`
Node *HaClusterNodeEnum `json:"node,omitempty"`
// Network interface
PortId *string `json:"port_id,omitempty"`
// VRF name
Vrf *string `json:"vrf,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsShowOspfNeighbors represents a UtilsShowOspfNeighbors struct.
func (UtilsShowOspfNeighbors) MarshalJSON ¶ added in v0.3.17
func (u UtilsShowOspfNeighbors) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsShowOspfNeighbors. It customizes the JSON marshaling process for UtilsShowOspfNeighbors objects.
func (UtilsShowOspfNeighbors) String ¶ added in v0.4.23
func (u UtilsShowOspfNeighbors) String() string
String implements the fmt.Stringer interface for UtilsShowOspfNeighbors, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsShowOspfNeighbors) UnmarshalJSON ¶ added in v0.3.17
func (u *UtilsShowOspfNeighbors) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsShowOspfNeighbors. It customizes the JSON unmarshaling process for UtilsShowOspfNeighbors objects.
type UtilsShowOspfSummary ¶ added in v0.3.17
type UtilsShowOspfSummary struct {
// only for HA. enum: `node0`, `node1`
Node *HaClusterNodeEnum `json:"node,omitempty"`
// VRF name
Vrf *string `json:"vrf,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsShowOspfSummary represents a UtilsShowOspfSummary struct.
func (UtilsShowOspfSummary) MarshalJSON ¶ added in v0.3.17
func (u UtilsShowOspfSummary) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsShowOspfSummary. It customizes the JSON marshaling process for UtilsShowOspfSummary objects.
func (UtilsShowOspfSummary) String ¶ added in v0.4.23
func (u UtilsShowOspfSummary) String() string
String implements the fmt.Stringer interface for UtilsShowOspfSummary, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsShowOspfSummary) UnmarshalJSON ¶ added in v0.3.17
func (u *UtilsShowOspfSummary) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsShowOspfSummary. It customizes the JSON unmarshaling process for UtilsShowOspfSummary objects.
type UtilsShowRoute ¶
type UtilsShowRoute struct {
// Duration in sec for which refresh is enabled. Should be set only if interval is configured to non-zero value.
Duration *int `json:"duration,omitempty"`
// Rate at which output will refresh
Interval *int `json:"interval,omitempty"`
// IP of the neighbor
Neighbor *string `json:"neighbor,omitempty"`
Node *HaClusterNode `json:"node,omitempty"`
// Route prefix
Prefix *string `json:"prefix,omitempty"`
// enum: `any`, `bgp`, `direct`, `evpn`, `ospf`, `static`
Protocol *UtilsShowRouteProtocolEnum `json:"protocol,omitempty"`
// If specified, dump bot received and advertised, if not specified, both will be shown
// * for SSR, show bgp neighbors 10.250.18.202 received-routes/advertised-routes
// * for SRX and Switches, show route receive_protocol/advertise_protocol bgp 192.168.255.12'
Route *string `json:"route,omitempty"`
// VRF name
Vrf *string `json:"vrf,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsShowRoute represents a UtilsShowRoute struct.
func (UtilsShowRoute) MarshalJSON ¶
func (u UtilsShowRoute) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsShowRoute. It customizes the JSON marshaling process for UtilsShowRoute objects.
func (UtilsShowRoute) String ¶ added in v0.4.23
func (u UtilsShowRoute) String() string
String implements the fmt.Stringer interface for UtilsShowRoute, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsShowRoute) UnmarshalJSON ¶
func (u *UtilsShowRoute) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsShowRoute. It customizes the JSON unmarshaling process for UtilsShowRoute objects.
type UtilsShowRouteProtocolEnum ¶
type UtilsShowRouteProtocolEnum string
UtilsShowRouteProtocolEnum is a string enum. enum: `any`, `bgp`, `direct`, `evpn`, `ospf`, `static`
const ( UtilsShowRouteProtocolEnum_ANY UtilsShowRouteProtocolEnum = "any" UtilsShowRouteProtocolEnum_BGP UtilsShowRouteProtocolEnum = "bgp" UtilsShowRouteProtocolEnum_DIRECT UtilsShowRouteProtocolEnum = "direct" UtilsShowRouteProtocolEnum_EVPN UtilsShowRouteProtocolEnum = "evpn" UtilsShowRouteProtocolEnum_OSPF UtilsShowRouteProtocolEnum = "ospf" UtilsShowRouteProtocolEnum_STATIC UtilsShowRouteProtocolEnum = "static" )
type UtilsShowServicePath ¶
type UtilsShowServicePath struct {
// only for HA. enum: `node0`, `node1`
Node *HaClusterNodeEnum `json:"node,omitempty"`
ServiceName *string `json:"service_name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsShowServicePath represents a UtilsShowServicePath struct. The exact service name for which to display the service path
func (UtilsShowServicePath) MarshalJSON ¶
func (u UtilsShowServicePath) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsShowServicePath. It customizes the JSON marshaling process for UtilsShowServicePath objects.
func (UtilsShowServicePath) String ¶ added in v0.4.23
func (u UtilsShowServicePath) String() string
String implements the fmt.Stringer interface for UtilsShowServicePath, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsShowServicePath) UnmarshalJSON ¶
func (u *UtilsShowServicePath) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsShowServicePath. It customizes the JSON unmarshaling process for UtilsShowServicePath objects.
type UtilsShowSession ¶
type UtilsShowSession struct {
// only for HA. enum: `node0`, `node1`
Node *HaClusterNodeEnum `json:"node,omitempty"`
// The exact service name for which to display the active sessions
ServiceName *string `json:"service_name,omitempty"`
// Show session details by session_id
SessionId *string `json:"session_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsShowSession represents a UtilsShowSession struct.
func (UtilsShowSession) MarshalJSON ¶
func (u UtilsShowSession) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsShowSession. It customizes the JSON marshaling process for UtilsShowSession objects.
func (UtilsShowSession) String ¶ added in v0.4.23
func (u UtilsShowSession) String() string
String implements the fmt.Stringer interface for UtilsShowSession, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsShowSession) UnmarshalJSON ¶
func (u *UtilsShowSession) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsShowSession. It customizes the JSON unmarshaling process for UtilsShowSession objects.
type UtilsTraceroute ¶
type UtilsTraceroute struct {
// Host name
Host *string `json:"host,omitempty"`
// For SSR, optional, the source to initiate traceroute from
Network *string `json:"network,omitempty"`
// only for HA. enum: `node0`, `node1`
Node *HaClusterNodeEnum `json:"node,omitempty"`
// When `protocol`==`udp`, not supported in SSR. The udp port to use
Port *int `json:"port,omitempty"`
// enum: `icmp` (Only supported by AP/MxEdge), `udp`
Protocol *UtilsTracerouteProtocolEnum `json:"protocol,omitempty"`
// Not supported in SSR. Maximum time in seconds to wait for the response
Timeout *int `json:"timeout,omitempty"`
// For SRX, optional, the source to initiate traceroute from. by default, master VRF/RI is assumed
Vrf *string `json:"vrf,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsTraceroute represents a UtilsTraceroute struct.
func (UtilsTraceroute) MarshalJSON ¶
func (u UtilsTraceroute) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsTraceroute. It customizes the JSON marshaling process for UtilsTraceroute objects.
func (UtilsTraceroute) String ¶ added in v0.4.23
func (u UtilsTraceroute) String() string
String implements the fmt.Stringer interface for UtilsTraceroute, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsTraceroute) UnmarshalJSON ¶
func (u *UtilsTraceroute) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsTraceroute. It customizes the JSON unmarshaling process for UtilsTraceroute objects.
type UtilsTracerouteProtocolEnum ¶
type UtilsTracerouteProtocolEnum string
UtilsTracerouteProtocolEnum is a string enum. enum: `icmp` (Only supported by AP/MxEdge), `udp`
const ( UtilsTracerouteProtocolEnum_ICMP UtilsTracerouteProtocolEnum = "icmp" UtilsTracerouteProtocolEnum_UDP UtilsTracerouteProtocolEnum = "udp" )
type UtilsTuntermBouncePort ¶
type UtilsTuntermBouncePort struct {
// In milli seconds, hold time between multiple port bounces
HoldTime *int `json:"hold_time,omitempty"`
// List of ports to bounce
Ports []string `json:"ports"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsTuntermBouncePort represents a UtilsTuntermBouncePort struct.
func (UtilsTuntermBouncePort) MarshalJSON ¶
func (u UtilsTuntermBouncePort) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsTuntermBouncePort. It customizes the JSON marshaling process for UtilsTuntermBouncePort objects.
func (UtilsTuntermBouncePort) String ¶ added in v0.4.23
func (u UtilsTuntermBouncePort) String() string
String implements the fmt.Stringer interface for UtilsTuntermBouncePort, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsTuntermBouncePort) UnmarshalJSON ¶
func (u *UtilsTuntermBouncePort) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsTuntermBouncePort. It customizes the JSON unmarshaling process for UtilsTuntermBouncePort objects.
type UtilsZeroizeFips ¶ added in v0.4.54
type UtilsZeroizeFips struct {
// FIPS zeroize password
Password string `json:"password"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UtilsZeroizeFips represents a UtilsZeroizeFips struct.
func (UtilsZeroizeFips) MarshalJSON ¶ added in v0.4.54
func (u UtilsZeroizeFips) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsZeroizeFips. It customizes the JSON marshaling process for UtilsZeroizeFips objects.
func (UtilsZeroizeFips) String ¶ added in v0.4.54
func (u UtilsZeroizeFips) String() string
String implements the fmt.Stringer interface for UtilsZeroizeFips, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UtilsZeroizeFips) UnmarshalJSON ¶ added in v0.4.54
func (u *UtilsZeroizeFips) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsZeroizeFips. It customizes the JSON unmarshaling process for UtilsZeroizeFips objects.
type VarSourceEnum ¶
type VarSourceEnum string
VarSourceEnum is a string enum. enum: `deviceprofile`, `site`
const ( VarSourceEnum_DEVICEPROFILE VarSourceEnum = "deviceprofile" VarSourceEnum_SITE VarSourceEnum = "site" )
type Vbeacon ¶
type Vbeacon struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// Bluetooth tag major
Major *int `json:"major,omitempty"`
// Map where the device belongs to
MapId *uuid.UUID `json:"map_id,omitempty"`
// Message that can be displayed when the sdkclient gets near the vbeacon
Message *string `json:"message,omitempty"`
// Bluetooth tag minor
Minor *int `json:"minor,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
// Name / label of the device
Name *string `json:"name,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Required if `power_mode`==`custom`, -30 - 100, in dBm. For default power_mode, power = 4 dBm.
Power *int `json:"power,omitempty"`
// enum: `custom`, `default`
PowerMode *BleConfigPowerModeEnum `json:"power_mode,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// URL to show, optional
Url *string `json:"url,omitempty"`
// Bluetooth tag UUID
Uuid *uuid.UUID `json:"uuid,omitempty"`
// Name to be used in wayfinding_path or wayfinding_grid blob
WayfindingNodename *string `json:"wayfinding_nodename,omitempty"`
// X in pixel
X *float64 `json:"x,omitempty"`
// Y in pixel
Y *float64 `json:"y,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Vbeacon represents a Vbeacon struct. vBeacon
func (Vbeacon) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Vbeacon. It customizes the JSON marshaling process for Vbeacon objects.
func (Vbeacon) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Vbeacon, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Vbeacon) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Vbeacon. It customizes the JSON unmarshaling process for Vbeacon objects.
type VcPort ¶ added in v0.4.54
type VcPort struct {
// enum: `network`, `vcp-higig`, `vcp-hgoe`
Mode *VcPortModeEnum `json:"mode,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
VcPort represents a VcPort struct.
func (VcPort) MarshalJSON ¶ added in v0.4.54
MarshalJSON implements the json.Marshaler interface for VcPort. It customizes the JSON marshaling process for VcPort objects.
func (VcPort) String ¶ added in v0.4.54
String implements the fmt.Stringer interface for VcPort, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*VcPort) UnmarshalJSON ¶ added in v0.4.54
UnmarshalJSON implements the json.Unmarshaler interface for VcPort. It customizes the JSON unmarshaling process for VcPort objects.
type VcPortModeEnum ¶ added in v0.4.54
type VcPortModeEnum string
VcPortModeEnum is a string enum. enum: `network`, `vcp-higig`, `vcp-hgoe`
const ( VcPortModeEnum_NETWORK VcPortModeEnum = "network" VcPortModeEnum_VCPHIGIG VcPortModeEnum = "vcp-higig" VcPortModeEnum_VCPHGOE VcPortModeEnum = "vcp-hgoe" )
type VersionString ¶
type VersionString struct {
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
VersionString represents a VersionString struct.
func (VersionString) MarshalJSON ¶
func (v VersionString) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VersionString. It customizes the JSON marshaling process for VersionString objects.
func (VersionString) String ¶ added in v0.4.23
func (v VersionString) String() string
String implements the fmt.Stringer interface for VersionString, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*VersionString) UnmarshalJSON ¶
func (v *VersionString) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VersionString. It customizes the JSON unmarshaling process for VersionString objects.
type VirtualChassisConfig ¶
type VirtualChassisConfig struct {
Locating *bool `json:"locating,omitempty"`
Members []VirtualChassisConfigMember `json:"members,omitempty"`
// To create the Virtual Chassis in Pre-Provisioned mode
Preprovisioned *bool `json:"preprovisioned,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
VirtualChassisConfig represents a VirtualChassisConfig struct. Virtual Chassis
func (VirtualChassisConfig) MarshalJSON ¶
func (v VirtualChassisConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VirtualChassisConfig. It customizes the JSON marshaling process for VirtualChassisConfig objects.
func (VirtualChassisConfig) String ¶ added in v0.4.23
func (v VirtualChassisConfig) String() string
String implements the fmt.Stringer interface for VirtualChassisConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*VirtualChassisConfig) UnmarshalJSON ¶
func (v *VirtualChassisConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VirtualChassisConfig. It customizes the JSON unmarshaling process for VirtualChassisConfig objects.
type VirtualChassisConfigMember ¶
type VirtualChassisConfigMember struct {
Locating *bool `json:"locating,omitempty"`
// fpc0, same as the mac of device_id
Mac string `json:"mac"`
// For preprovisionned virtual chassis
MemberId *int `json:"member_id,omitempty"`
VcPorts []string `json:"vc_ports,omitempty"`
// enum: `backup`, `linecard`, `master`
VcRole VirtualChassisConfigMemberVcRoleEnum `json:"vc_role"`
AdditionalProperties map[string]interface{} `json:"_"`
}
VirtualChassisConfigMember represents a VirtualChassisConfigMember struct.
func (VirtualChassisConfigMember) MarshalJSON ¶
func (v VirtualChassisConfigMember) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VirtualChassisConfigMember. It customizes the JSON marshaling process for VirtualChassisConfigMember objects.
func (VirtualChassisConfigMember) String ¶ added in v0.4.23
func (v VirtualChassisConfigMember) String() string
String implements the fmt.Stringer interface for VirtualChassisConfigMember, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*VirtualChassisConfigMember) UnmarshalJSON ¶
func (v *VirtualChassisConfigMember) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VirtualChassisConfigMember. It customizes the JSON unmarshaling process for VirtualChassisConfigMember objects.
type VirtualChassisConfigMemberVcRoleEnum ¶
type VirtualChassisConfigMemberVcRoleEnum string
VirtualChassisConfigMemberVcRoleEnum is a string enum. enum: `backup`, `linecard`, `master`
const ( VirtualChassisConfigMemberVcRoleEnum_BACKUP VirtualChassisConfigMemberVcRoleEnum = "backup" VirtualChassisConfigMemberVcRoleEnum_LINECARD VirtualChassisConfigMemberVcRoleEnum = "linecard" VirtualChassisConfigMemberVcRoleEnum_MASTER VirtualChassisConfigMemberVcRoleEnum = "master" )
type VirtualChassisMemberUpdate ¶
type VirtualChassisMemberUpdate struct {
// Required if `op`==`add` or `op`==`preprovision`.
Mac *string `json:"mac,omitempty"`
// Required if `op`==`remove`
Member *int `json:"member,omitempty"`
// Required if `op`==`preprovision`. Optional if `op`==`add`
MemberId *int `json:"member_id,omitempty"`
// Required if `op`==`add` or `op`==`preprovision`
VcPorts []string `json:"vc_ports,omitempty"`
// Required if `op`==`add` or `op`==`preprovision`. enum: `backup`, `linecard`, `master`
VcRole *VirtualChassisMemberUpdateVcRoleEnum `json:"vc_role,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
VirtualChassisMemberUpdate represents a VirtualChassisMemberUpdate struct.
func (VirtualChassisMemberUpdate) MarshalJSON ¶
func (v VirtualChassisMemberUpdate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VirtualChassisMemberUpdate. It customizes the JSON marshaling process for VirtualChassisMemberUpdate objects.
func (VirtualChassisMemberUpdate) String ¶ added in v0.4.23
func (v VirtualChassisMemberUpdate) String() string
String implements the fmt.Stringer interface for VirtualChassisMemberUpdate, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*VirtualChassisMemberUpdate) UnmarshalJSON ¶
func (v *VirtualChassisMemberUpdate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VirtualChassisMemberUpdate. It customizes the JSON unmarshaling process for VirtualChassisMemberUpdate objects.
type VirtualChassisMemberUpdateVcRoleEnum ¶
type VirtualChassisMemberUpdateVcRoleEnum string
VirtualChassisMemberUpdateVcRoleEnum is a string enum. Required if `op`==`add` or `op`==`preprovision`. enum: `backup`, `linecard`, `master`
const ( VirtualChassisMemberUpdateVcRoleEnum_BACKUP VirtualChassisMemberUpdateVcRoleEnum = "backup" VirtualChassisMemberUpdateVcRoleEnum_LINECARD VirtualChassisMemberUpdateVcRoleEnum = "linecard" VirtualChassisMemberUpdateVcRoleEnum_MASTER VirtualChassisMemberUpdateVcRoleEnum = "master" )
type VirtualChassisPort ¶
type VirtualChassisPort struct {
Members []ConfigVcPortMember `json:"members"`
// enum: `delete`, `set`
Op VirtualChassisPortOperationEnum `json:"op"`
AdditionalProperties map[string]interface{} `json:"_"`
}
VirtualChassisPort represents a VirtualChassisPort struct.
func (VirtualChassisPort) MarshalJSON ¶
func (v VirtualChassisPort) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VirtualChassisPort. It customizes the JSON marshaling process for VirtualChassisPort objects.
func (VirtualChassisPort) String ¶ added in v0.4.23
func (v VirtualChassisPort) String() string
String implements the fmt.Stringer interface for VirtualChassisPort, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*VirtualChassisPort) UnmarshalJSON ¶
func (v *VirtualChassisPort) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VirtualChassisPort. It customizes the JSON unmarshaling process for VirtualChassisPort objects.
type VirtualChassisPortOperationEnum ¶
type VirtualChassisPortOperationEnum string
VirtualChassisPortOperationEnum is a string enum. enum: `delete`, `set`
const ( VirtualChassisPortOperationEnum_DELETE VirtualChassisPortOperationEnum = "delete" VirtualChassisPortOperationEnum_SET VirtualChassisPortOperationEnum = "set" )
type VirtualChassisUpdate ¶
type VirtualChassisUpdate struct {
// Only if `op`==`renumber`
Member *int `json:"member,omitempty"`
Members []VirtualChassisMemberUpdate `json:"members,omitempty"`
// Only if `op`==`renumber`
NewMember *int `json:"new-member,omitempty"`
// enum: `add`, `preprovision`, `remove`, `renumber`
Op *VirtualChassisUpdateOpEnum `json:"op,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
VirtualChassisUpdate represents a VirtualChassisUpdate struct. Virtual Chassis
func (VirtualChassisUpdate) MarshalJSON ¶
func (v VirtualChassisUpdate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VirtualChassisUpdate. It customizes the JSON marshaling process for VirtualChassisUpdate objects.
func (VirtualChassisUpdate) String ¶ added in v0.4.23
func (v VirtualChassisUpdate) String() string
String implements the fmt.Stringer interface for VirtualChassisUpdate, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*VirtualChassisUpdate) UnmarshalJSON ¶
func (v *VirtualChassisUpdate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VirtualChassisUpdate. It customizes the JSON unmarshaling process for VirtualChassisUpdate objects.
type VirtualChassisUpdateOpEnum ¶
type VirtualChassisUpdateOpEnum string
VirtualChassisUpdateOpEnum is a string enum. enum: `add`, `preprovision`, `remove`, `renumber`
const ( VirtualChassisUpdateOpEnum_ADD VirtualChassisUpdateOpEnum = "add" VirtualChassisUpdateOpEnum_PREPROVISION VirtualChassisUpdateOpEnum = "preprovision" VirtualChassisUpdateOpEnum_REMOVE VirtualChassisUpdateOpEnum = "remove" VirtualChassisUpdateOpEnum_RENUMBER VirtualChassisUpdateOpEnum = "renumber" )
type VisitsScopeEnum ¶
type VisitsScopeEnum string
VisitsScopeEnum is a string enum. enum: `map`, `rssizone`, `site`, `zone`
const ( VisitsScopeEnum_ENUMMAP VisitsScopeEnum = "map" VisitsScopeEnum_RSSIZONE VisitsScopeEnum = "rssizone" VisitsScopeEnum_SITE VisitsScopeEnum = "site" VisitsScopeEnum_ZONE VisitsScopeEnum = "zone" )
type VlanIdWithVariable ¶ added in v0.2.38
type VlanIdWithVariable struct {
// contains filtered or unexported fields
}
VlanIdWithVariable represents a VlanIdWithVariable struct.
func (*VlanIdWithVariable) AsNumber ¶ added in v0.2.38
func (v *VlanIdWithVariable) AsNumber() ( *int, bool)
func (*VlanIdWithVariable) AsString ¶ added in v0.2.38
func (v *VlanIdWithVariable) AsString() ( *string, bool)
func (VlanIdWithVariable) MarshalJSON ¶ added in v0.2.38
func (v VlanIdWithVariable) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VlanIdWithVariable. It customizes the JSON marshaling process for VlanIdWithVariable objects.
func (VlanIdWithVariable) String ¶ added in v0.2.38
func (v VlanIdWithVariable) String() string
String implements the fmt.Stringer interface for VlanIdWithVariable, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*VlanIdWithVariable) UnmarshalJSON ¶ added in v0.2.38
func (v *VlanIdWithVariable) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VlanIdWithVariable. It customizes the JSON unmarshaling process for VlanIdWithVariable objects.
type Vpn ¶
type Vpn struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name string `json:"name"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Only if `type`==`hub_spoke`
PathSelection *VpnPathSelection `json:"path_selection,omitempty"`
// For `type`==`hub_spoke`, Property key is the VPN name. For `type`==`mesh`, Property key is the Interface name
Paths map[string]VpnPath `json:"paths"`
// enum: `hub_spoke`, `mesh`
Type *VpnModeEnum `json:"type,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Vpn represents a Vpn struct.
func (Vpn) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Vpn. It customizes the JSON marshaling process for Vpn objects.
func (Vpn) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Vpn, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Vpn) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Vpn. It customizes the JSON unmarshaling process for Vpn objects.
type VpnModeEnum ¶ added in v0.4.68
type VpnModeEnum string
VpnModeEnum is a string enum. enum: `hub_spoke`, `mesh`
const ( VpnModeEnum_HUBSPOKE VpnModeEnum = "hub_spoke" VpnModeEnum_MESH VpnModeEnum = "mesh" )
type VpnPath ¶
type VpnPath struct {
// enum: `broadband`, `lte`
BfdProfile *VpnPathBfdProfileEnum `json:"bfd_profile,omitempty"`
// If `type`==`mesh` and for SSR only, whether to use tunnel mode
BfdUseTunnelMode *bool `json:"bfd_use_tunnel_mode,omitempty"`
// If different from the wan port
Ip *string `json:"ip,omitempty"`
// If `type`==`mesh`, Property key is the Peer Interface name
PeerPaths map[string]VpnPathPeerPathsPeer `json:"peer_paths,omitempty"`
Pod *int `json:"pod,omitempty"`
TrafficShaping *VpnPathTrafficShaping `json:"traffic_shaping,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
VpnPath represents a VpnPath struct.
func (VpnPath) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for VpnPath. It customizes the JSON marshaling process for VpnPath objects.
func (VpnPath) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for VpnPath, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*VpnPath) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for VpnPath. It customizes the JSON unmarshaling process for VpnPath objects.
type VpnPathBfdProfileEnum ¶
type VpnPathBfdProfileEnum string
VpnPathBfdProfileEnum is a string enum. enum: `broadband`, `lte`
const ( VpnPathBfdProfileEnum_BROADBAND VpnPathBfdProfileEnum = "broadband" VpnPathBfdProfileEnum_LTE VpnPathBfdProfileEnum = "lte" )
type VpnPathPeerPathsPeer ¶ added in v0.4.54
type VpnPathPeerPathsPeer struct {
Preference *int `json:"preference,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
VpnPathPeerPathsPeer represents a VpnPathPeerPathsPeer struct. Preference indicates which outgoing wan should be preferred
func (VpnPathPeerPathsPeer) MarshalJSON ¶ added in v0.4.54
func (v VpnPathPeerPathsPeer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VpnPathPeerPathsPeer. It customizes the JSON marshaling process for VpnPathPeerPathsPeer objects.
func (VpnPathPeerPathsPeer) String ¶ added in v0.4.54
func (v VpnPathPeerPathsPeer) String() string
String implements the fmt.Stringer interface for VpnPathPeerPathsPeer, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*VpnPathPeerPathsPeer) UnmarshalJSON ¶ added in v0.4.54
func (v *VpnPathPeerPathsPeer) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VpnPathPeerPathsPeer. It customizes the JSON unmarshaling process for VpnPathPeerPathsPeer objects.
type VpnPathSelection ¶ added in v0.4.0
type VpnPathSelection struct {
// enum: `disabled`, `simple`, `manual`
Strategy *VpnPathSelectionStrategyEnum `json:"strategy,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
VpnPathSelection represents a VpnPathSelection struct. Only if `type`==`hub_spoke`
func (VpnPathSelection) MarshalJSON ¶ added in v0.4.0
func (v VpnPathSelection) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VpnPathSelection. It customizes the JSON marshaling process for VpnPathSelection objects.
func (VpnPathSelection) String ¶ added in v0.4.23
func (v VpnPathSelection) String() string
String implements the fmt.Stringer interface for VpnPathSelection, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*VpnPathSelection) UnmarshalJSON ¶ added in v0.4.0
func (v *VpnPathSelection) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VpnPathSelection. It customizes the JSON unmarshaling process for VpnPathSelection objects.
type VpnPathSelectionStrategyEnum ¶ added in v0.4.0
type VpnPathSelectionStrategyEnum string
VpnPathSelectionStrategyEnum is a string enum. enum: `disabled`, `simple`, `manual`
const ( VpnPathSelectionStrategyEnum_DISABLED VpnPathSelectionStrategyEnum = "disabled" VpnPathSelectionStrategyEnum_SIMPLE VpnPathSelectionStrategyEnum = "simple" VpnPathSelectionStrategyEnum_MANUAL VpnPathSelectionStrategyEnum = "manual" )
type VpnPathTrafficShaping ¶ added in v0.4.54
type VpnPathTrafficShaping struct {
// percentages for different class of traffic: high / medium / low / best-effort adding up to 100
ClassPercentage []int `json:"class_percentage,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
MaxTxKbps Optional[int] `json:"max_tx_kbps"`
AdditionalProperties map[string]interface{} `json:"_"`
}
VpnPathTrafficShaping represents a VpnPathTrafficShaping struct.
func (VpnPathTrafficShaping) MarshalJSON ¶ added in v0.4.54
func (v VpnPathTrafficShaping) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VpnPathTrafficShaping. It customizes the JSON marshaling process for VpnPathTrafficShaping objects.
func (VpnPathTrafficShaping) String ¶ added in v0.4.54
func (v VpnPathTrafficShaping) String() string
String implements the fmt.Stringer interface for VpnPathTrafficShaping, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*VpnPathTrafficShaping) UnmarshalJSON ¶ added in v0.4.54
func (v *VpnPathTrafficShaping) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VpnPathTrafficShaping. It customizes the JSON unmarshaling process for VpnPathTrafficShaping objects.
type VpnPeerStat ¶
type VpnPeerStat struct {
// Redundancy status of the associated interface
IsActive *bool `json:"is_active,omitempty"`
// Jitter in milliseconds
Jitter *float64 `json:"jitter,omitempty"`
// Last seen timestamp
LastSeen Optional[float64] `json:"last_seen"`
// Latency in milliseconds
Latency *float64 `json:"latency,omitempty"`
// Packet loss in percentage
Loss *float64 `json:"loss,omitempty"`
// Router mac address
Mac *string `json:"mac,omitempty"`
// Mean Opinion Score, a measure of the quality of the VPN link
Mos *float64 `json:"mos,omitempty"`
Mtu *int `json:"mtu,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Peer router mac address
PeerMac *string `json:"peer_mac,omitempty"`
// Peer router device interface
PeerPortId *string `json:"peer_port_id,omitempty"`
PeerRouterName *string `json:"peer_router_name,omitempty"`
PeerSiteId *uuid.UUID `json:"peer_site_id,omitempty"`
// Router device interface
PortId *string `json:"port_id,omitempty"`
RouterName *string `json:"router_name,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// `ipsec`for SRX, `svr` for 128T
Type *string `json:"type,omitempty"`
Up *bool `json:"up,omitempty"`
Uptime *int `json:"uptime,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
VpnPeerStat represents a VpnPeerStat struct.
func (VpnPeerStat) MarshalJSON ¶
func (v VpnPeerStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VpnPeerStat. It customizes the JSON marshaling process for VpnPeerStat objects.
func (VpnPeerStat) String ¶ added in v0.4.23
func (v VpnPeerStat) String() string
String implements the fmt.Stringer interface for VpnPeerStat, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*VpnPeerStat) UnmarshalJSON ¶
func (v *VpnPeerStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VpnPeerStat. It customizes the JSON unmarshaling process for VpnPeerStat objects.
type VpnPeerStatSearch ¶
type VpnPeerStatSearch struct {
End float64 `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []VpnPeerStat `json:"results"`
Start float64 `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]interface{} `json:"_"`
}
VpnPeerStatSearch represents a VpnPeerStatSearch struct.
func (VpnPeerStatSearch) MarshalJSON ¶
func (v VpnPeerStatSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VpnPeerStatSearch. It customizes the JSON marshaling process for VpnPeerStatSearch objects.
func (VpnPeerStatSearch) String ¶ added in v0.4.23
func (v VpnPeerStatSearch) String() string
String implements the fmt.Stringer interface for VpnPeerStatSearch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*VpnPeerStatSearch) UnmarshalJSON ¶
func (v *VpnPeerStatSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VpnPeerStatSearch. It customizes the JSON unmarshaling process for VpnPeerStatSearch objects.
type VpnTypeEnum ¶ added in v0.4.0
type VpnTypeEnum string
VpnTypeEnum is a string enum.
const ( VpnTypeEnum_IPSEC VpnTypeEnum = "ipsec" VpnTypeEnum_SVR VpnTypeEnum = "svr" )
type VrfConfig ¶
type VrfConfig struct {
// Whether to enable VRF (when supported on the device)
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
VrfConfig represents a VrfConfig struct.
func (VrfConfig) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for VrfConfig. It customizes the JSON marshaling process for VrfConfig objects.
func (VrfConfig) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for VrfConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*VrfConfig) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for VrfConfig. It customizes the JSON unmarshaling process for VrfConfig objects.
type VrfExtraRoute ¶
type VrfExtraRoute struct {
// Next-hop address
Via *string `json:"via,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
VrfExtraRoute represents a VrfExtraRoute struct.
func (VrfExtraRoute) MarshalJSON ¶
func (v VrfExtraRoute) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VrfExtraRoute. It customizes the JSON marshaling process for VrfExtraRoute objects.
func (VrfExtraRoute) String ¶ added in v0.4.23
func (v VrfExtraRoute) String() string
String implements the fmt.Stringer interface for VrfExtraRoute, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*VrfExtraRoute) UnmarshalJSON ¶
func (v *VrfExtraRoute) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VrfExtraRoute. It customizes the JSON unmarshaling process for VrfExtraRoute objects.
type VrrpConfig ¶
type VrrpConfig struct {
Enabled *bool `json:"enabled,omitempty"`
// Property key is the VRRP name
Groups map[string]VrrpConfigGroup `json:"groups,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
VrrpConfig represents a VrrpConfig struct. Junos VRRP config
func (VrrpConfig) MarshalJSON ¶
func (v VrrpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VrrpConfig. It customizes the JSON marshaling process for VrrpConfig objects.
func (VrrpConfig) String ¶ added in v0.4.23
func (v VrrpConfig) String() string
String implements the fmt.Stringer interface for VrrpConfig, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*VrrpConfig) UnmarshalJSON ¶
func (v *VrrpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VrrpConfig. It customizes the JSON unmarshaling process for VrrpConfig objects.
type VrrpConfigGroup ¶
type VrrpConfigGroup struct {
// If `true`, allow preemption (a backup router can preempt a primary router)
Preempt *bool `json:"preempt,omitempty"`
Priority *int `json:"priority,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
VrrpConfigGroup represents a VrrpConfigGroup struct.
func (VrrpConfigGroup) MarshalJSON ¶
func (v VrrpConfigGroup) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VrrpConfigGroup. It customizes the JSON marshaling process for VrrpConfigGroup objects.
func (VrrpConfigGroup) String ¶ added in v0.4.23
func (v VrrpConfigGroup) String() string
String implements the fmt.Stringer interface for VrrpConfigGroup, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*VrrpConfigGroup) UnmarshalJSON ¶
func (v *VrrpConfigGroup) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VrrpConfigGroup. It customizes the JSON unmarshaling process for VrrpConfigGroup objects.
type VrrpGroup ¶
type VrrpGroup struct {
// If `auth_type`==`md5`
AuthKey *string `json:"auth_key,omitempty"`
// If `auth_type`==`simple`
AuthPassword *string `json:"auth_password,omitempty"`
// enum: `md5`, `simple`
AuthType *VrrpGroupAuthTypeEnum `json:"auth_type,omitempty"`
// Property key is the network name
Networks map[string]VrrpGroupNetwork `json:"networks,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
VrrpGroup represents a VrrpGroup struct. Junos VRRP group
func (VrrpGroup) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for VrrpGroup. It customizes the JSON marshaling process for VrrpGroup objects.
func (VrrpGroup) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for VrrpGroup, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*VrrpGroup) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for VrrpGroup. It customizes the JSON unmarshaling process for VrrpGroup objects.
type VrrpGroupAuthTypeEnum ¶
type VrrpGroupAuthTypeEnum string
VrrpGroupAuthTypeEnum is a string enum. enum: `md5`, `simple`
const ( VrrpGroupAuthTypeEnum_MD5 VrrpGroupAuthTypeEnum = "md5" VrrpGroupAuthTypeEnum_SIMPLE VrrpGroupAuthTypeEnum = "simple" )
type VrrpGroupNetwork ¶
type VrrpGroupNetwork struct {
Ip *string `json:"ip,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
VrrpGroupNetwork represents a VrrpGroupNetwork struct.
func (VrrpGroupNetwork) MarshalJSON ¶
func (v VrrpGroupNetwork) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VrrpGroupNetwork. It customizes the JSON marshaling process for VrrpGroupNetwork objects.
func (VrrpGroupNetwork) String ¶ added in v0.4.23
func (v VrrpGroupNetwork) String() string
String implements the fmt.Stringer interface for VrrpGroupNetwork, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*VrrpGroupNetwork) UnmarshalJSON ¶
func (v *VrrpGroupNetwork) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VrrpGroupNetwork. It customizes the JSON unmarshaling process for VrrpGroupNetwork objects.
type VsInstanceProperty ¶ added in v0.2.34
type VsInstanceProperty struct {
Networks []string `json:"networks,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
VsInstanceProperty represents a VsInstanceProperty struct.
func (VsInstanceProperty) MarshalJSON ¶ added in v0.2.34
func (v VsInstanceProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VsInstanceProperty. It customizes the JSON marshaling process for VsInstanceProperty objects.
func (VsInstanceProperty) String ¶ added in v0.4.23
func (v VsInstanceProperty) String() string
String implements the fmt.Stringer interface for VsInstanceProperty, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*VsInstanceProperty) UnmarshalJSON ¶ added in v0.2.34
func (v *VsInstanceProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VsInstanceProperty. It customizes the JSON unmarshaling process for VsInstanceProperty objects.
type WanExtraRoutes ¶ added in v0.4.0
type WanExtraRoutes struct {
Via *string `json:"via,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WanExtraRoutes represents a WanExtraRoutes struct.
func (WanExtraRoutes) MarshalJSON ¶ added in v0.4.0
func (w WanExtraRoutes) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WanExtraRoutes. It customizes the JSON marshaling process for WanExtraRoutes objects.
func (WanExtraRoutes) String ¶ added in v0.4.23
func (w WanExtraRoutes) String() string
String implements the fmt.Stringer interface for WanExtraRoutes, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WanExtraRoutes) UnmarshalJSON ¶ added in v0.4.0
func (w *WanExtraRoutes) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WanExtraRoutes. It customizes the JSON unmarshaling process for WanExtraRoutes objects.
type WanTunnelProtocolEnum ¶
type WanTunnelProtocolEnum string
WanTunnelProtocolEnum is a string enum. enum: `gre`, `ipsec`
const ( WanTunnelProtocolEnum_GRE WanTunnelProtocolEnum = "gre" WanTunnelProtocolEnum_IPSEC WanTunnelProtocolEnum = "ipsec" )
type WanUsages ¶
type WanUsages struct {
Mac *string `json:"mac,omitempty"`
PathType *string `json:"path_type,omitempty"`
PathWeight *int `json:"path_weight,omitempty"`
PeerMac *string `json:"peer_mac,omitempty"`
PeerPortId *string `json:"peer_port_id,omitempty"`
Policy *string `json:"policy,omitempty"`
PortId *string `json:"port_id,omitempty"`
Tenant *string `json:"tenant,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WanUsages represents a WanUsages struct.
func (WanUsages) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for WanUsages. It customizes the JSON marshaling process for WanUsages objects.
func (WanUsages) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for WanUsages, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WanUsages) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for WanUsages. It customizes the JSON unmarshaling process for WanUsages objects.
type WanUsagesCountDistinctEnum ¶ added in v0.4.54
type WanUsagesCountDistinctEnum string
WanUsagesCountDistinctEnum is a string enum. enum: `mac`, `path_type`, `peer_mac`, `peer_port_id`, `policy`, `port_id`, `tenant`
const ( WanUsagesCountDistinctEnum_MAC WanUsagesCountDistinctEnum = "mac" WanUsagesCountDistinctEnum_PATHTYPE WanUsagesCountDistinctEnum = "path_type" WanUsagesCountDistinctEnum_PEERMAC WanUsagesCountDistinctEnum = "peer_mac" WanUsagesCountDistinctEnum_PEERPORTID WanUsagesCountDistinctEnum = "peer_port_id" WanUsagesCountDistinctEnum_POLICY WanUsagesCountDistinctEnum = "policy" WanUsagesCountDistinctEnum_PORTID WanUsagesCountDistinctEnum = "port_id" WanUsagesCountDistinctEnum_TENANT WanUsagesCountDistinctEnum = "tenant" )
type WayfindingImportJson ¶
type WayfindingImportJson struct {
// contains filtered or unexported fields
}
WayfindingImportJson represents a WayfindingImportJson struct.
func (*WayfindingImportJson) AsMapJibestream ¶
func (w *WayfindingImportJson) AsMapJibestream() ( *MapJibestream, bool)
func (*WayfindingImportJson) AsMapMicello ¶
func (w *WayfindingImportJson) AsMapMicello() ( *MapMicello, bool)
func (WayfindingImportJson) MarshalJSON ¶
func (w WayfindingImportJson) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WayfindingImportJson. It customizes the JSON marshaling process for WayfindingImportJson objects.
func (WayfindingImportJson) String ¶
func (w WayfindingImportJson) String() string
String implements the fmt.Stringer interface for WayfindingImportJson, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WayfindingImportJson) UnmarshalJSON ¶
func (w *WayfindingImportJson) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WayfindingImportJson. It customizes the JSON unmarshaling process for WayfindingImportJson objects.
type Webhook ¶
type Webhook struct {
// Only if `type`==`asset-raw-rssi`. List of ids to associated asset filters. These filters will be applied to messages routed to a filtered-asset-rssi webhook
AssetfilterIds []uuid.UUID `json:"assetfilter_ids,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// Whether webhook is enabled
Enabled *bool `json:"enabled,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// If `type`=`http-post`, additional custom HTTP headers to add. The headers name and value must be string, total bytes of headers name and value must be less than 1000
Headers Optional[map[string]string] `json:"headers"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
// Name of the webhook
Name Optional[string] `json:"name"`
// Required when `oauth2_grant_type`==`client_credentials`
Oauth2ClientId *string `json:"oauth2_client_id,omitempty"`
// Required when `oauth2_grant_type`==`client_credentials`
Oauth2ClientSecret *string `json:"oauth2_client_secret,omitempty"`
// required when `type`==`oauth2`. enum: `client_credentials`, `password`
Oauth2GrantType *WebhookOauth2GrantTypeEnum `json:"oauth2_grant_type,omitempty"`
// Required when `oauth2_grant_type`==`password`
Oauth2Password *string `json:"oauth2_password,omitempty"`
// Required when `type`==`oauth2`, if provided, will be used in the token request
Oauth2Scopes []string `json:"oauth2_scopes,omitempty"`
// Required when `type`==`oauth2`
Oauth2TokenUrl *string `json:"oauth2_token_url,omitempty"`
// Required when `oauth2_grant_type`==`password`
Oauth2Username *string `json:"oauth2_username,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Only if `type`=`http-post`
// when `secret` is provided, two HTTP headers will be added:
// * X-Mist-Signature-v2: HMAC_SHA256(secret, body)
// * X-Mist-Signature: HMAC_SHA1(secret, body)
Secret Optional[string] `json:"secret"`
// Some solutions may not be able to parse multiple events from a single message (e.g. IBM Qradar, DSM). When set to `true`, only a single event will be sent per message. this feature is only available on certain topics (see [List Webhook Topics]($e/Constants%20Definitions/listWebhookTopics))
SingleEventPerMessage *bool `json:"single_event_per_message,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Required if `type`=`splunk`. If splunk_token is not defined for a type Splunk webhook, it will not send, regardless if the webhook receiver is configured to accept it.
SplunkToken Optional[string] `json:"splunk_token"`
// List of supported webhook topics available with the API Call [List Webhook Topics]($e/Constants%20Definitions/listWebhookTopics)
Topics []string `json:"topics,omitempty"`
// enum: `aws-sns`, `google-pubsub`, `http-post`, `oauth2`, `splunk`
Type *WebhookTypeEnum `json:"type,omitempty"`
Url *string `json:"url,omitempty"`
// When url uses HTTPS, whether to verify the certificate
VerifyCert *bool `json:"verify_cert,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Webhook represents a Webhook struct.
func (Webhook) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Webhook. It customizes the JSON marshaling process for Webhook objects.
func (Webhook) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Webhook, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Webhook) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Webhook. It customizes the JSON unmarshaling process for Webhook objects.
type WebhookAlarmEvent ¶
type WebhookAlarmEvent struct {
Aps []string `json:"aps,omitempty"`
Bssids []string `json:"bssids,omitempty"`
// If present, represents number of events of given type occurred in current interval, default=1
Count *int `json:"count,omitempty"`
// Event id
EventId *uuid.UUID `json:"event_id,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
// Last seen timestamp
LastSeen Optional[float64] `json:"last_seen"`
// only for HA. enum: `node0`, `node1`
Node *HaClusterNodeEnum `json:"node,omitempty"`
OrgId uuid.UUID `json:"org_id"`
SiteId uuid.UUID `json:"site_id"`
Ssids []string `json:"ssids,omitempty"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
// Event type
Type string `json:"type"`
// If presents, represents that this is an update to event with given id sent earlier. default=false
Update *bool `json:"update,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookAlarmEvent represents a WebhookAlarmEvent struct.
func (WebhookAlarmEvent) MarshalJSON ¶
func (w WebhookAlarmEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookAlarmEvent. It customizes the JSON marshaling process for WebhookAlarmEvent objects.
func (WebhookAlarmEvent) String ¶ added in v0.4.23
func (w WebhookAlarmEvent) String() string
String implements the fmt.Stringer interface for WebhookAlarmEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookAlarmEvent) UnmarshalJSON ¶
func (w *WebhookAlarmEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookAlarmEvent. It customizes the JSON unmarshaling process for WebhookAlarmEvent objects.
type WebhookAlarms ¶
type WebhookAlarms struct {
// List of events
Events []WebhookAlarmEvent `json:"events"`
// enum: `alarms`
Topic string `json:"topic"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookAlarms represents a WebhookAlarms struct. Sample of the `alarms` webhook payload. **N.B.**: Fields like `aps`, `bssids`, `ssids` are event specific. They are relevant to this event type ( rogue-ap-detected). For a different event type, different fields may be sent. These don’t contain all affected entities and are representative samples of entities (capped at 10). For marvis action related events, we expose `details` to include more event specific details. Events specific fields for other alarm event type can be found with API [List Alarm Definitions#]($e/Events%20Definitions/listAlarmDefinitions), under "fields" array of /alarm_defs response object.
func (WebhookAlarms) MarshalJSON ¶
func (w WebhookAlarms) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookAlarms. It customizes the JSON marshaling process for WebhookAlarms objects.
func (WebhookAlarms) String ¶ added in v0.4.23
func (w WebhookAlarms) String() string
String implements the fmt.Stringer interface for WebhookAlarms, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookAlarms) UnmarshalJSON ¶
func (w *WebhookAlarms) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookAlarms. It customizes the JSON unmarshaling process for WebhookAlarms objects.
type WebhookAlarmsTopicEnum ¶ added in v0.4.94
type WebhookAlarmsTopicEnum string
WebhookAlarmsTopicEnum is a string enum. enum: `alarms`
const (
WebhookAlarmsTopicEnum_ALARMS WebhookAlarmsTopicEnum = "alarms"
)
type WebhookAssetRawRssi ¶ added in v0.4.94
type WebhookAssetRawRssi struct {
Events []WebhookAssetRawRssiEvent `json:"events"`
// enum: `asset-raw-rssi`
Topic string `json:"topic"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookAssetRawRssi represents a WebhookAssetRawRssi struct. Sample of the `asset-raw-rssi` webhook payload. This webhook topic provides raw data from packets emitted by named and filtered assets. Raw data webhooks are a special subset of webhooks that provide insight into raw data packets emitted by a client, identified by their advertising MAC address (assets, discovered ble, connected wifi, unconnected wifi). The data that client raw data webhooks encompasses are reporting AP information, RSSI Data, and any special packets/telemetry packets that the client may emit. Note that client raw webhooks are the raw data coming from the client and do not contain the X,Y location data of the client. In order to get the location data for a client please see our location webhooks. Clients can be identified uniquely across these client raw data topics and location webhook topic using MAC address as the Unique identifier (client identifier).
func (WebhookAssetRawRssi) MarshalJSON ¶ added in v0.4.94
func (w WebhookAssetRawRssi) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookAssetRawRssi. It customizes the JSON marshaling process for WebhookAssetRawRssi objects.
func (WebhookAssetRawRssi) String ¶ added in v0.4.94
func (w WebhookAssetRawRssi) String() string
String implements the fmt.Stringer interface for WebhookAssetRawRssi, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookAssetRawRssi) UnmarshalJSON ¶ added in v0.4.94
func (w *WebhookAssetRawRssi) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookAssetRawRssi. It customizes the JSON unmarshaling process for WebhookAssetRawRssi objects.
type WebhookAssetRawRssiEvent ¶ added in v0.4.94
type WebhookAssetRawRssiEvent struct {
// optional, coordinates (if any) of reporting AP (updated once in 60s per client)
ApLoc []float64 `json:"ap_loc,omitempty"`
// antenna index, clock-wise starting from the LED
Beam *int `json:"beam,omitempty"`
// Unique ID of the object instance in the Mist Organization
DeviceId *uuid.UUID `json:"device_id,omitempty"`
// Major number for iBeacon
IbeaconMajor Optional[int] `json:"ibeacon_major"`
// Minor number for iBeacon
IbeaconMinor Optional[int] `json:"ibeacon_minor"`
IbeaconUuid Optional[uuid.UUID] `json:"ibeacon_uuid"`
IsAsset *bool `json:"is_asset,omitempty"`
// MAC of the asset/ beacon
Mac *string `json:"mac,omitempty"`
// Unique ID of the object instance in the Mist Organization
MapId *uuid.UUID `json:"map_id,omitempty"`
// optional, BLE manufacturing company ID
MfgCompanyId Optional[int] `json:"mfg_company_id"`
// optional, BLE manufacturing data in hex byte-string format (ie “112233AABBCC”)
MfgData Optional[string] `json:"mfg_data"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
Rssi *int `json:"rssi,omitempty"`
ServicePackets []WebhookAssetRawRssiEventServicePacket `json:"service_packets,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookAssetRawRssiEvent represents a WebhookAssetRawRssiEvent struct.
func (WebhookAssetRawRssiEvent) MarshalJSON ¶ added in v0.4.94
func (w WebhookAssetRawRssiEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookAssetRawRssiEvent. It customizes the JSON marshaling process for WebhookAssetRawRssiEvent objects.
func (WebhookAssetRawRssiEvent) String ¶ added in v0.4.94
func (w WebhookAssetRawRssiEvent) String() string
String implements the fmt.Stringer interface for WebhookAssetRawRssiEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookAssetRawRssiEvent) UnmarshalJSON ¶ added in v0.4.94
func (w *WebhookAssetRawRssiEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookAssetRawRssiEvent. It customizes the JSON unmarshaling process for WebhookAssetRawRssiEvent objects.
type WebhookAssetRawRssiEventServicePacket ¶ added in v0.4.94
type WebhookAssetRawRssiEventServicePacket struct {
// optional, data from service data
ServiceData Optional[string] `json:"service_data"`
// optional, UUID from service data
ServiceUuid Optional[string] `json:"service_uuid"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookAssetRawRssiEventServicePacket represents a WebhookAssetRawRssiEventServicePacket struct.
func (WebhookAssetRawRssiEventServicePacket) MarshalJSON ¶ added in v0.4.94
func (w WebhookAssetRawRssiEventServicePacket) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookAssetRawRssiEventServicePacket. It customizes the JSON marshaling process for WebhookAssetRawRssiEventServicePacket objects.
func (WebhookAssetRawRssiEventServicePacket) String ¶ added in v0.4.94
func (w WebhookAssetRawRssiEventServicePacket) String() string
String implements the fmt.Stringer interface for WebhookAssetRawRssiEventServicePacket, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookAssetRawRssiEventServicePacket) UnmarshalJSON ¶ added in v0.4.94
func (w *WebhookAssetRawRssiEventServicePacket) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookAssetRawRssiEventServicePacket. It customizes the JSON unmarshaling process for WebhookAssetRawRssiEventServicePacket objects.
type WebhookAssetRawRssiTopicEnum ¶ added in v0.4.94
type WebhookAssetRawRssiTopicEnum string
WebhookAssetRawRssiTopicEnum is a string enum. enum: `asset-raw-rssi`
const (
WebhookAssetRawRssiTopicEnum_ASSETRAWRSSI WebhookAssetRawRssiTopicEnum = "asset-raw-rssi"
)
type WebhookAudits ¶
type WebhookAudits struct {
Events []LogEvent `json:"events"`
// enum: `audits`
Topic string `json:"topic"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookAudits represents a WebhookAudits struct. Sample of the `audits` webhook payload.
func (WebhookAudits) MarshalJSON ¶
func (w WebhookAudits) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookAudits. It customizes the JSON marshaling process for WebhookAudits objects.
func (WebhookAudits) String ¶ added in v0.4.23
func (w WebhookAudits) String() string
String implements the fmt.Stringer interface for WebhookAudits, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookAudits) UnmarshalJSON ¶
func (w *WebhookAudits) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookAudits. It customizes the JSON unmarshaling process for WebhookAudits objects.
type WebhookAuditsTopicEnum ¶ added in v0.4.94
type WebhookAuditsTopicEnum string
WebhookAuditsTopicEnum is a string enum. enum: `audits`
const (
WebhookAuditsTopicEnum_AUDITS WebhookAuditsTopicEnum = "audits"
)
type WebhookClientInfo ¶
type WebhookClientInfo struct {
Events []WebhookClientInfoEvent `json:"events,omitempty"`
// enum: `client-info`
Topic *WebhookClientInfoTopicEnum `json:"topic,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookClientInfo represents a WebhookClientInfo struct. Sample of the `client-info` webhook payload.
func (WebhookClientInfo) MarshalJSON ¶
func (w WebhookClientInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookClientInfo. It customizes the JSON marshaling process for WebhookClientInfo objects.
func (WebhookClientInfo) String ¶ added in v0.4.23
func (w WebhookClientInfo) String() string
String implements the fmt.Stringer interface for WebhookClientInfo, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookClientInfo) UnmarshalJSON ¶
func (w *WebhookClientInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookClientInfo. It customizes the JSON unmarshaling process for WebhookClientInfo objects.
type WebhookClientInfoEvent ¶
type WebhookClientInfoEvent struct {
// Hostname of client
Hostname *string `json:"hostname,omitempty"`
// IP address of client
Ip *string `json:"ip,omitempty"`
// client's MAC Address
Mac *string `json:"mac,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookClientInfoEvent represents a WebhookClientInfoEvent struct.
func (WebhookClientInfoEvent) MarshalJSON ¶
func (w WebhookClientInfoEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookClientInfoEvent. It customizes the JSON marshaling process for WebhookClientInfoEvent objects.
func (WebhookClientInfoEvent) String ¶ added in v0.4.23
func (w WebhookClientInfoEvent) String() string
String implements the fmt.Stringer interface for WebhookClientInfoEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookClientInfoEvent) UnmarshalJSON ¶
func (w *WebhookClientInfoEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookClientInfoEvent. It customizes the JSON unmarshaling process for WebhookClientInfoEvent objects.
type WebhookClientInfoTopicEnum ¶
type WebhookClientInfoTopicEnum string
WebhookClientInfoTopicEnum is a string enum. enum: `client-info`
const (
WebhookClientInfoTopicEnum_CLIENTINFO WebhookClientInfoTopicEnum = "client-info"
)
type WebhookClientJoin ¶
type WebhookClientJoin struct {
Events []WebhookClientJoinEvent `json:"events"`
// enum: `client-join`
Topic string `json:"topic"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookClientJoin represents a WebhookClientJoin struct. Sample of the `client-join` webhook payload.
func (WebhookClientJoin) MarshalJSON ¶
func (w WebhookClientJoin) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookClientJoin. It customizes the JSON marshaling process for WebhookClientJoin objects.
func (WebhookClientJoin) String ¶ added in v0.4.23
func (w WebhookClientJoin) String() string
String implements the fmt.Stringer interface for WebhookClientJoin, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookClientJoin) UnmarshalJSON ¶
func (w *WebhookClientJoin) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookClientJoin. It customizes the JSON unmarshaling process for WebhookClientJoin objects.
type WebhookClientJoinEvent ¶
type WebhookClientJoinEvent struct {
// MAC address of the AP the client connected to
Ap string `json:"ap"`
// user-friendly name of the AP the client connected to.
ApName string `json:"ap_name"`
// 5GHz or 2.4GHz band
Band string `json:"band"`
Bssid string `json:"bssid"`
// Time when the user connects
Connect int `json:"connect"`
// floating point connect timestamp with millisecond precision
ConnectFloat float64 `json:"connect_float"`
// Client's MAC Address
Mac string `json:"mac"`
OrgId uuid.UUID `json:"org_id"`
// RSSI when the client associated
Rssi float64 `json:"rssi"`
SiteId uuid.UUID `json:"site_id"`
SiteName string `json:"site_name"`
// ESSID
Ssid string `json:"ssid"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
// schema version of this message
Version float64 `json:"version"`
WlanId uuid.UUID `json:"wlan_id"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookClientJoinEvent represents a WebhookClientJoinEvent struct.
func (WebhookClientJoinEvent) MarshalJSON ¶
func (w WebhookClientJoinEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookClientJoinEvent. It customizes the JSON marshaling process for WebhookClientJoinEvent objects.
func (WebhookClientJoinEvent) String ¶ added in v0.4.23
func (w WebhookClientJoinEvent) String() string
String implements the fmt.Stringer interface for WebhookClientJoinEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookClientJoinEvent) UnmarshalJSON ¶
func (w *WebhookClientJoinEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookClientJoinEvent. It customizes the JSON unmarshaling process for WebhookClientJoinEvent objects.
type WebhookClientJoinTopicEnum ¶ added in v0.4.94
type WebhookClientJoinTopicEnum string
WebhookClientJoinTopicEnum is a string enum. enum: `client-join`
const (
WebhookClientJoinTopicEnum_CLIENTJOIN WebhookClientJoinTopicEnum = "client-join"
)
type WebhookClientLatency ¶
type WebhookClientLatency struct {
Events []WebhookClientLatencyEvent `json:"events,omitempty"`
// enum: `client-latency`
Topic *WebhookClientLatencyTopicEnum `json:"topic,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookClientLatency represents a WebhookClientLatency struct. Sample of the `client-latency` webhook payload.
func (WebhookClientLatency) MarshalJSON ¶
func (w WebhookClientLatency) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookClientLatency. It customizes the JSON marshaling process for WebhookClientLatency objects.
func (WebhookClientLatency) String ¶ added in v0.4.23
func (w WebhookClientLatency) String() string
String implements the fmt.Stringer interface for WebhookClientLatency, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookClientLatency) UnmarshalJSON ¶
func (w *WebhookClientLatency) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookClientLatency. It customizes the JSON unmarshaling process for WebhookClientLatency objects.
type WebhookClientLatencyEvent ¶
type WebhookClientLatencyEvent struct {
AvgAuth *float64 `json:"avg_auth,omitempty"`
AvgDhcp *float64 `json:"avg_dhcp,omitempty"`
AvgDns *float64 `json:"avg_dns,omitempty"`
MaxAuth *float64 `json:"max_auth,omitempty"`
MaxDhcp *float64 `json:"max_dhcp,omitempty"`
MaxDns *float64 `json:"max_dns,omitempty"`
MinAuth *float64 `json:"min_auth,omitempty"`
MinDhcp *float64 `json:"min_dhcp,omitempty"`
MinDns *float64 `json:"min_dns,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookClientLatencyEvent represents a WebhookClientLatencyEvent struct.
func (WebhookClientLatencyEvent) MarshalJSON ¶
func (w WebhookClientLatencyEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookClientLatencyEvent. It customizes the JSON marshaling process for WebhookClientLatencyEvent objects.
func (WebhookClientLatencyEvent) String ¶ added in v0.4.23
func (w WebhookClientLatencyEvent) String() string
String implements the fmt.Stringer interface for WebhookClientLatencyEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookClientLatencyEvent) UnmarshalJSON ¶
func (w *WebhookClientLatencyEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookClientLatencyEvent. It customizes the JSON unmarshaling process for WebhookClientLatencyEvent objects.
type WebhookClientLatencyTopicEnum ¶ added in v0.4.94
type WebhookClientLatencyTopicEnum string
WebhookClientLatencyTopicEnum is a string enum. enum: `client-latency`
const (
WebhookClientLatencyTopicEnum_CLIENTLATENCY WebhookClientLatencyTopicEnum = "client-latency"
)
type WebhookClientSessions ¶
type WebhookClientSessions struct {
Events []WebhookClientSessionsEvent `json:"events"`
// enum: `client-sessions`
Topic string `json:"topic"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookClientSessions represents a WebhookClientSessions struct. Sample of the `client-sessions` webhook payload.
func (WebhookClientSessions) MarshalJSON ¶
func (w WebhookClientSessions) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookClientSessions. It customizes the JSON marshaling process for WebhookClientSessions objects.
func (WebhookClientSessions) String ¶ added in v0.4.23
func (w WebhookClientSessions) String() string
String implements the fmt.Stringer interface for WebhookClientSessions, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookClientSessions) UnmarshalJSON ¶
func (w *WebhookClientSessions) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookClientSessions. It customizes the JSON unmarshaling process for WebhookClientSessions objects.
type WebhookClientSessionsEvent ¶
type WebhookClientSessionsEvent struct {
// MAC address of the AP the client roamed or disconnected from
Ap string `json:"ap"`
// user-friendly name of the AP the client roamed or disconnected from.
ApName string `json:"ap_name"`
// 5GHz or 2.4GHz band
Band string `json:"band"`
Bssid string `json:"bssid"`
// Device family E.g. "Mac", "iPhone", "Apple watch"
ClientFamily string `json:"client_family"`
// Device manufacturer E.g. "Apple"
ClientManufacture string `json:"client_manufacture"`
// Device model E.g. "8+", "XS"
ClientModel string `json:"client_model"`
// Device operating system E.g. "Mojave", "Windows 10", "Linux"
ClientOs string `json:"client_os"`
// Time when the user connects
Connect int `json:"connect"`
// floating point connect timestamp with millisecond precision
ConnectFloat float64 `json:"connect_float"`
// Time when the user disconnects
Disconnect int `json:"disconnect"`
// floating point disconnect timestamp with millisecond precision
DisconnectFloat float64 `json:"disconnect_float"`
// Duration of the roamed or complete session indicated by termination_reason field.
Duration int `json:"duration"`
// Client's MAC Address'
Mac string `json:"mac"`
// the AP the client has roamed to.
NextAp string `json:"next_ap"`
OrgId uuid.UUID `json:"org_id"`
// Latest average RSSI before the user disconnects
Rssi float64 `json:"rssi"`
SiteId uuid.UUID `json:"site_id"`
SiteName string `json:"site_name"`
Ssid string `json:"ssid"`
// 1 disassociate - when the client disassociates. 2 inactive - when the client is timeout. 3 roamed - when the client is roamed between APs
TerminationReason int `json:"termination_reason"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
// schema version of this message
Version float64 `json:"version"`
WlanId uuid.UUID `json:"wlan_id"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookClientSessionsEvent represents a WebhookClientSessionsEvent struct.
func (WebhookClientSessionsEvent) MarshalJSON ¶
func (w WebhookClientSessionsEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookClientSessionsEvent. It customizes the JSON marshaling process for WebhookClientSessionsEvent objects.
func (WebhookClientSessionsEvent) String ¶ added in v0.4.23
func (w WebhookClientSessionsEvent) String() string
String implements the fmt.Stringer interface for WebhookClientSessionsEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookClientSessionsEvent) UnmarshalJSON ¶
func (w *WebhookClientSessionsEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookClientSessionsEvent. It customizes the JSON unmarshaling process for WebhookClientSessionsEvent objects.
type WebhookClientSessionsTopicEnum ¶ added in v0.4.94
type WebhookClientSessionsTopicEnum string
WebhookClientSessionsTopicEnum is a string enum. enum: `client-sessions`
const (
WebhookClientSessionsTopicEnum_CLIENTSESSIONS WebhookClientSessionsTopicEnum = "client-sessions"
)
type WebhookDelivery ¶
type WebhookDelivery struct {
// Error message, if there is one
Error *string `json:"error,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// HTTP request headers
ReqHeaders *string `json:"req_headers,omitempty"`
// HTTP request payload
ReqPayload *string `json:"req_payload,omitempty"`
// HTTP request URL
ReqUrl *string `json:"req_url,omitempty"`
// HTTP response body
RespBody *string `json:"resp_body,omitempty"`
// HTTP response headers
RespHeaders *string `json:"resp_headers,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// webhook delivery status. enum: `failure`, `success`
Status *WebhookDeliveryStatusEnum `json:"status,omitempty"`
StatusCode *int `json:"status_code,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
// webhook topic. enum: `alarms`, `audits`, `device-updowns`, `occupancy-alerts`, `ping`
Topic *WebhookDeliveryTopicEnum `json:"topic,omitempty"`
WebhookId *uuid.UUID `json:"webhook_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookDelivery represents a WebhookDelivery struct.
func (WebhookDelivery) MarshalJSON ¶
func (w WebhookDelivery) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookDelivery. It customizes the JSON marshaling process for WebhookDelivery objects.
func (WebhookDelivery) String ¶ added in v0.4.23
func (w WebhookDelivery) String() string
String implements the fmt.Stringer interface for WebhookDelivery, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookDelivery) UnmarshalJSON ¶
func (w *WebhookDelivery) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookDelivery. It customizes the JSON unmarshaling process for WebhookDelivery objects.
type WebhookDeliveryDistinctEnum ¶
type WebhookDeliveryDistinctEnum string
WebhookDeliveryDistinctEnum is a string enum. webhook topic. enum: `status`, `status_code`, `topic`, `webhook_id`
const ( WebhookDeliveryDistinctEnum_STATUS WebhookDeliveryDistinctEnum = "status" WebhookDeliveryDistinctEnum_STATUSCODE WebhookDeliveryDistinctEnum = "status_code" WebhookDeliveryDistinctEnum_TOPIC WebhookDeliveryDistinctEnum = "topic" WebhookDeliveryDistinctEnum_WEBHOOKID WebhookDeliveryDistinctEnum = "webhook_id" )
type WebhookDeliveryStatusEnum ¶
type WebhookDeliveryStatusEnum string
WebhookDeliveryStatusEnum is a string enum. webhook delivery status. enum: `failure`, `success`
const ( WebhookDeliveryStatusEnum_FAILURE WebhookDeliveryStatusEnum = "failure" WebhookDeliveryStatusEnum_SUCCESS WebhookDeliveryStatusEnum = "success" )
type WebhookDeliveryTopicEnum ¶
type WebhookDeliveryTopicEnum string
WebhookDeliveryTopicEnum is a string enum. webhook topic. enum: `alarms`, `audits`, `device-updowns`, `occupancy-alerts`, `ping`
const ( WebhookDeliveryTopicEnum_ALARMS WebhookDeliveryTopicEnum = "alarms" WebhookDeliveryTopicEnum_AUDITS WebhookDeliveryTopicEnum = "audits" WebhookDeliveryTopicEnum_DEVICEUPDOWNS WebhookDeliveryTopicEnum = "device-updowns" WebhookDeliveryTopicEnum_OCCUPANCYALERTS WebhookDeliveryTopicEnum = "occupancy-alerts" WebhookDeliveryTopicEnum_PING WebhookDeliveryTopicEnum = "ping" )
type WebhookDeviceEvents ¶
type WebhookDeviceEvents struct {
Events []DeviceEvent `json:"events"`
// enum: `device-events`
Topic string `json:"topic"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookDeviceEvents represents a WebhookDeviceEvents struct. Sample of the `device-events` webhook payload.
func (WebhookDeviceEvents) MarshalJSON ¶
func (w WebhookDeviceEvents) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookDeviceEvents. It customizes the JSON marshaling process for WebhookDeviceEvents objects.
func (WebhookDeviceEvents) String ¶ added in v0.4.23
func (w WebhookDeviceEvents) String() string
String implements the fmt.Stringer interface for WebhookDeviceEvents, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookDeviceEvents) UnmarshalJSON ¶
func (w *WebhookDeviceEvents) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookDeviceEvents. It customizes the JSON unmarshaling process for WebhookDeviceEvents objects.
type WebhookDeviceEventsEventEvTypeEnum ¶
type WebhookDeviceEventsEventEvTypeEnum string
WebhookDeviceEventsEventEvTypeEnum is a string enum. (optional) event advisory. enum: `notice`, `warn`
const ( WebhookDeviceEventsEventEvTypeEnum_NOTICE WebhookDeviceEventsEventEvTypeEnum = "notice" WebhookDeviceEventsEventEvTypeEnum_WARN WebhookDeviceEventsEventEvTypeEnum = "warn" )
type WebhookDeviceEventsTopicEnum ¶ added in v0.4.94
type WebhookDeviceEventsTopicEnum string
WebhookDeviceEventsTopicEnum is a string enum. enum: `device-events`
const (
WebhookDeviceEventsTopicEnum_DEVICEEVENTS WebhookDeviceEventsTopicEnum = "device-events"
)
type WebhookDeviceUpdowns ¶
type WebhookDeviceUpdowns struct {
Events []WebhookDeviceUpdownsEvent `json:"events"`
// enum: `device-updowns`
Topic string `json:"topic"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookDeviceUpdowns represents a WebhookDeviceUpdowns struct. Sample of the `device-updowns` webhook payload.
func (WebhookDeviceUpdowns) MarshalJSON ¶
func (w WebhookDeviceUpdowns) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookDeviceUpdowns. It customizes the JSON marshaling process for WebhookDeviceUpdowns objects.
func (WebhookDeviceUpdowns) String ¶ added in v0.4.23
func (w WebhookDeviceUpdowns) String() string
String implements the fmt.Stringer interface for WebhookDeviceUpdowns, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookDeviceUpdowns) UnmarshalJSON ¶
func (w *WebhookDeviceUpdowns) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookDeviceUpdowns. It customizes the JSON unmarshaling process for WebhookDeviceUpdowns objects.
type WebhookDeviceUpdownsEvent ¶
type WebhookDeviceUpdownsEvent struct {
Ap string `json:"ap"`
ApName string `json:"ap_name"`
ForSite *bool `json:"for_site,omitempty"`
OrgId uuid.UUID `json:"org_id"`
SiteId uuid.UUID `json:"site_id"`
SiteName string `json:"site_name"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
Type string `json:"type"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookDeviceUpdownsEvent represents a WebhookDeviceUpdownsEvent struct.
func (WebhookDeviceUpdownsEvent) MarshalJSON ¶
func (w WebhookDeviceUpdownsEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookDeviceUpdownsEvent. It customizes the JSON marshaling process for WebhookDeviceUpdownsEvent objects.
func (WebhookDeviceUpdownsEvent) String ¶ added in v0.4.23
func (w WebhookDeviceUpdownsEvent) String() string
String implements the fmt.Stringer interface for WebhookDeviceUpdownsEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookDeviceUpdownsEvent) UnmarshalJSON ¶
func (w *WebhookDeviceUpdownsEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookDeviceUpdownsEvent. It customizes the JSON unmarshaling process for WebhookDeviceUpdownsEvent objects.
type WebhookDeviceUpdownsTopicEnum ¶ added in v0.4.94
type WebhookDeviceUpdownsTopicEnum string
WebhookDeviceUpdownsTopicEnum is a string enum. enum: `device-updowns`
const (
WebhookDeviceUpdownsTopicEnum_DEVICEUPDOWNS WebhookDeviceUpdownsTopicEnum = "device-updowns"
)
type WebhookDiscoveredRawRssi ¶
type WebhookDiscoveredRawRssi struct {
Events []WebhookDiscoveredRawRssiEvent `json:"events,omitempty"`
// enum: `discovered-raw-rssi`
Topic string `json:"topic"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookDiscoveredRawRssi represents a WebhookDiscoveredRawRssi struct. Sample of the `discovered-raw-rssi` webhook payload.
func (WebhookDiscoveredRawRssi) MarshalJSON ¶
func (w WebhookDiscoveredRawRssi) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookDiscoveredRawRssi. It customizes the JSON marshaling process for WebhookDiscoveredRawRssi objects.
func (WebhookDiscoveredRawRssi) String ¶ added in v0.4.23
func (w WebhookDiscoveredRawRssi) String() string
String implements the fmt.Stringer interface for WebhookDiscoveredRawRssi, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookDiscoveredRawRssi) UnmarshalJSON ¶
func (w *WebhookDiscoveredRawRssi) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookDiscoveredRawRssi. It customizes the JSON unmarshaling process for WebhookDiscoveredRawRssi objects.
type WebhookDiscoveredRawRssiEvent ¶
type WebhookDiscoveredRawRssiEvent struct {
// coordinates (if any) of reporting AP (updated once in 60s per client)
ApLoc []float64 `json:"ap_loc,omitempty"`
// Antenna index, from 1-8, clock-wise starting from the LED
Beam int `json:"beam"`
// Device id of the reporting AP
DeviceId uuid.UUID `json:"device_id"`
// Major number for iBeacon
IbeaconMajor Optional[int] `json:"ibeacon_major"`
// Minor number for iBeacon
IbeaconMinor Optional[int] `json:"ibeacon_minor"`
IbeaconUuid Optional[uuid.UUID] `json:"ibeacon_uuid"`
IsAsset *bool `json:"is_asset,omitempty"`
// MAC of the asset/ beacon
Mac string `json:"mac"`
MapId uuid.UUID `json:"map_id"`
// BLE manufacturing company ID
MfgCompanyId *string `json:"mfg_company_id,omitempty"`
// BLE manufacturing data in hex byte-string format (ie: "112233AABBCC")
MfgData *string `json:"mfg_data,omitempty"`
OrgId uuid.UUID `json:"org_id"`
// Signal strength
Rssi float64 `json:"rssi"`
// List of service data packets heard from the asset/ beacon
ServicePackets []ServicePacket `json:"service_packets,omitempty"`
SiteId uuid.UUID `json:"site_id"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookDiscoveredRawRssiEvent represents a WebhookDiscoveredRawRssiEvent struct.
func (WebhookDiscoveredRawRssiEvent) MarshalJSON ¶
func (w WebhookDiscoveredRawRssiEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookDiscoveredRawRssiEvent. It customizes the JSON marshaling process for WebhookDiscoveredRawRssiEvent objects.
func (WebhookDiscoveredRawRssiEvent) String ¶ added in v0.4.23
func (w WebhookDiscoveredRawRssiEvent) String() string
String implements the fmt.Stringer interface for WebhookDiscoveredRawRssiEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookDiscoveredRawRssiEvent) UnmarshalJSON ¶
func (w *WebhookDiscoveredRawRssiEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookDiscoveredRawRssiEvent. It customizes the JSON unmarshaling process for WebhookDiscoveredRawRssiEvent objects.
type WebhookDiscoveredRawRssiTopicEnum ¶ added in v0.4.94
type WebhookDiscoveredRawRssiTopicEnum string
WebhookDiscoveredRawRssiTopicEnum is a string enum. enum: `discovered-raw-rssi`
const (
WebhookDiscoveredRawRssiTopicEnum_DISCOVEREDRAWRSSI WebhookDiscoveredRawRssiTopicEnum = "discovered-raw-rssi"
)
type WebhookGuestAuthorizations ¶ added in v0.4.54
type WebhookGuestAuthorizations struct {
// List of events
Events []WebhookGuestAuthorizationsEvent `json:"events,omitempty"`
// enum: `guest-authorizations`
Topic *WebhookGuestAuthorizationsTopicEnum `json:"topic,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookGuestAuthorizations represents a WebhookGuestAuthorizations struct. Sample of the `guest-authorizations` webhook payload.
func (WebhookGuestAuthorizations) MarshalJSON ¶ added in v0.4.54
func (w WebhookGuestAuthorizations) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookGuestAuthorizations. It customizes the JSON marshaling process for WebhookGuestAuthorizations objects.
func (WebhookGuestAuthorizations) String ¶ added in v0.4.54
func (w WebhookGuestAuthorizations) String() string
String implements the fmt.Stringer interface for WebhookGuestAuthorizations, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookGuestAuthorizations) UnmarshalJSON ¶ added in v0.4.54
func (w *WebhookGuestAuthorizations) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookGuestAuthorizations. It customizes the JSON unmarshaling process for WebhookGuestAuthorizations objects.
type WebhookGuestAuthorizationsEvent ¶ added in v0.4.54
type WebhookGuestAuthorizationsEvent struct {
// mac address of the AP the guest is connected to
Ap *string `json:"ap,omitempty"`
// authentication method used
AuthMethod *string `json:"auth_method,omitempty"`
// expiry time for guest
AuthorizedExpiringTime *int `json:"authorized_expiring_time,omitempty"`
// time of authorization of guest
AuthorizedTime *int `json:"authorized_time,omitempty"`
// carrier used when authentication by free cell provider
Carrier *string `json:"carrier,omitempty"`
// client mac
Client *string `json:"client,omitempty"`
// guest company
Company *string `json:"company,omitempty"`
// guest email
Email *string `json:"email,omitempty"`
// field1 value
Field1 *string `json:"field1,omitempty"`
// field2 value
Field2 *string `json:"field2,omitempty"`
// field3 value
Field3 *string `json:"field3,omitempty"`
// field4 value
Field4 *string `json:"field4,omitempty"`
// guest mobile number
Mobile *string `json:"mobile,omitempty"`
// guest name
Name *string `json:"name,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// sms gateway used via text auth paid service
SmsGateway *string `json:"sms_gateway,omitempty"`
// guest sponsor email
SponsorEmail *string `json:"sponsor_email,omitempty"`
// ssid
Ssid *string `json:"ssid,omitempty"`
// wlan id
WlanId *string `json:"wlan_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookGuestAuthorizationsEvent represents a WebhookGuestAuthorizationsEvent struct.
func (WebhookGuestAuthorizationsEvent) MarshalJSON ¶ added in v0.4.54
func (w WebhookGuestAuthorizationsEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookGuestAuthorizationsEvent. It customizes the JSON marshaling process for WebhookGuestAuthorizationsEvent objects.
func (WebhookGuestAuthorizationsEvent) String ¶ added in v0.4.54
func (w WebhookGuestAuthorizationsEvent) String() string
String implements the fmt.Stringer interface for WebhookGuestAuthorizationsEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookGuestAuthorizationsEvent) UnmarshalJSON ¶ added in v0.4.54
func (w *WebhookGuestAuthorizationsEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookGuestAuthorizationsEvent. It customizes the JSON unmarshaling process for WebhookGuestAuthorizationsEvent objects.
type WebhookGuestAuthorizationsTopicEnum ¶ added in v0.4.94
type WebhookGuestAuthorizationsTopicEnum string
WebhookGuestAuthorizationsTopicEnum is a string enum. enum: `guest-authorizations`
const (
WebhookGuestAuthorizationsTopicEnum_GUESTAUTHORIZATIONS WebhookGuestAuthorizationsTopicEnum = "guest-authorizations"
)
type WebhookLocation ¶
type WebhookLocation struct {
// List of events
Events []WebhookLocationEvent `json:"events"`
// enum: `location`
Topic string `json:"topic"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookLocation represents a WebhookLocation struct. Sample of the `location` webhook payload.
func (WebhookLocation) MarshalJSON ¶
func (w WebhookLocation) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookLocation. It customizes the JSON marshaling process for WebhookLocation objects.
func (WebhookLocation) String ¶ added in v0.4.23
func (w WebhookLocation) String() string
String implements the fmt.Stringer interface for WebhookLocation, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookLocation) UnmarshalJSON ¶
func (w *WebhookLocation) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookLocation. It customizes the JSON unmarshaling process for WebhookLocation objects.
type WebhookLocationAsset ¶
type WebhookLocationAsset struct {
// List of events
Events []WebhookLocationAssetEvent `json:"events"`
// enum: `location-asset`
Topic string `json:"topic"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookLocationAsset represents a WebhookLocationAsset struct. Sample of the `location_asset` webhook payload.
func (WebhookLocationAsset) MarshalJSON ¶
func (w WebhookLocationAsset) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookLocationAsset. It customizes the JSON marshaling process for WebhookLocationAsset objects.
func (WebhookLocationAsset) String ¶ added in v0.4.23
func (w WebhookLocationAsset) String() string
String implements the fmt.Stringer interface for WebhookLocationAsset, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookLocationAsset) UnmarshalJSON ¶
func (w *WebhookLocationAsset) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookLocationAsset. It customizes the JSON unmarshaling process for WebhookLocationAsset objects.
type WebhookLocationAssetEvent ¶
type WebhookLocationAssetEvent struct {
BatteryVoltage *int `json:"battery_voltage,omitempty"`
EddystoneUidInstance *string `json:"eddystone_uid_instance,omitempty"`
EddystoneUidNamespace *string `json:"eddystone_uid_namespace,omitempty"`
EddystoneUrlUrl *string `json:"eddystone_url_url,omitempty"`
// Major number for iBeacon
IbeaconMajor Optional[int] `json:"ibeacon_major"`
// Minor number for iBeacon
IbeaconMinor Optional[int] `json:"ibeacon_minor"`
IbeaconUuid Optional[uuid.UUID] `json:"ibeacon_uuid"`
Mac *string `json:"mac,omitempty"`
MapId *uuid.UUID `json:"map_id,omitempty"`
// Optional, BLE manufacturing company ID
MfgCompanyId *int `json:"mfg_company_id,omitempty"`
// Optional, BLE manufacturing data in hex byte-string format (ie: "112233AABBCC")
MfgData *string `json:"mfg_data,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
Type *string `json:"type,omitempty"`
// x, in meter
X *float64 `json:"x,omitempty"`
// y, in meter
Y *float64 `json:"y,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookLocationAssetEvent represents a WebhookLocationAssetEvent struct.
func (WebhookLocationAssetEvent) MarshalJSON ¶
func (w WebhookLocationAssetEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookLocationAssetEvent. It customizes the JSON marshaling process for WebhookLocationAssetEvent objects.
func (WebhookLocationAssetEvent) String ¶ added in v0.4.23
func (w WebhookLocationAssetEvent) String() string
String implements the fmt.Stringer interface for WebhookLocationAssetEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookLocationAssetEvent) UnmarshalJSON ¶
func (w *WebhookLocationAssetEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookLocationAssetEvent. It customizes the JSON unmarshaling process for WebhookLocationAssetEvent objects.
type WebhookLocationAssetTopicEnum ¶ added in v0.4.94
type WebhookLocationAssetTopicEnum string
WebhookLocationAssetTopicEnum is a string enum. enum: `location-asset`
const (
WebhookLocationAssetTopicEnum_LOCATIONASSET WebhookLocationAssetTopicEnum = "location-asset"
)
type WebhookLocationCentrak ¶
type WebhookLocationCentrak struct {
// List of events
Events []WebhookLocationCentrakEvent `json:"events"`
// enum: `location-centrak`
Topic string `json:"topic"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookLocationCentrak represents a WebhookLocationCentrak struct. Sample of the `location-centrak` webhook payload.
func (WebhookLocationCentrak) MarshalJSON ¶
func (w WebhookLocationCentrak) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookLocationCentrak. It customizes the JSON marshaling process for WebhookLocationCentrak objects.
func (WebhookLocationCentrak) String ¶ added in v0.4.23
func (w WebhookLocationCentrak) String() string
String implements the fmt.Stringer interface for WebhookLocationCentrak, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookLocationCentrak) UnmarshalJSON ¶
func (w *WebhookLocationCentrak) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookLocationCentrak. It customizes the JSON unmarshaling process for WebhookLocationCentrak objects.
type WebhookLocationCentrakEvent ¶
type WebhookLocationCentrakEvent struct {
// MAC address of the device
Mac *string `json:"mac,omitempty"`
// Map id
MapId *string `json:"map_id,omitempty"`
// Optional, BLE manufacturing company ID
MfgCompanyId *int `json:"mfg_company_id,omitempty"`
// Optional, BLE manufacturing data in hex byte-string format (i.e. "112233AABBCC")
MfgData *string `json:"mfg_data,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
Type *WebhookLocationCentrakEventTypeEnum `json:"type,omitempty"`
// Optional, list of extended beacon info packets heard from the client, frame and sequence control included with the payload
WifiBeaconExtendedInfo []WifiBeaconExtendedInfoItems `json:"wifi_beacon_extended_info,omitempty"`
// x, in meter
X *float64 `json:"x,omitempty"`
// y, in meter
Y *float64 `json:"y,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookLocationCentrakEvent represents a WebhookLocationCentrakEvent struct.
func (WebhookLocationCentrakEvent) MarshalJSON ¶
func (w WebhookLocationCentrakEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookLocationCentrakEvent. It customizes the JSON marshaling process for WebhookLocationCentrakEvent objects.
func (WebhookLocationCentrakEvent) String ¶ added in v0.4.23
func (w WebhookLocationCentrakEvent) String() string
String implements the fmt.Stringer interface for WebhookLocationCentrakEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookLocationCentrakEvent) UnmarshalJSON ¶
func (w *WebhookLocationCentrakEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookLocationCentrakEvent. It customizes the JSON unmarshaling process for WebhookLocationCentrakEvent objects.
type WebhookLocationCentrakEventTypeEnum ¶ added in v0.4.94
type WebhookLocationCentrakEventTypeEnum string
WebhookLocationCentrakEventTypeEnum is a string enum.
const (
WebhookLocationCentrakEventTypeEnum_WIFI WebhookLocationCentrakEventTypeEnum = "wifi"
)
type WebhookLocationCentrakTopicEnum ¶ added in v0.4.94
type WebhookLocationCentrakTopicEnum string
WebhookLocationCentrakTopicEnum is a string enum. enum: `location-centrak`
const (
WebhookLocationCentrakTopicEnum_LOCATIONCENTRAK WebhookLocationCentrakTopicEnum = "location-centrak"
)
type WebhookLocationClient ¶
type WebhookLocationClient struct {
// List of events
Events []WebhookLocationClientEvent `json:"events"`
// enum: `location-client`
Topic string `json:"topic"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookLocationClient represents a WebhookLocationClient struct. Sample of the `location-client` webhook payload.
func (WebhookLocationClient) MarshalJSON ¶
func (w WebhookLocationClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookLocationClient. It customizes the JSON marshaling process for WebhookLocationClient objects.
func (WebhookLocationClient) String ¶ added in v0.4.23
func (w WebhookLocationClient) String() string
String implements the fmt.Stringer interface for WebhookLocationClient, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookLocationClient) UnmarshalJSON ¶
func (w *WebhookLocationClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookLocationClient. It customizes the JSON unmarshaling process for WebhookLocationClient objects.
type WebhookLocationClientEvent ¶
type WebhookLocationClientEvent struct {
Mac *string `json:"mac,omitempty"`
MapId *uuid.UUID `json:"map_id,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
Type *string `json:"type,omitempty"`
// Optional, list of extended beacon info packets heard from the client, frame and sequence control included with the payload
WifiBeaconExtendedInfo []WifiBeaconExtendedInfoItems `json:"wifi_beacon_extended_info,omitempty"`
// x, in meter
X *float64 `json:"x,omitempty"`
// y, in meter
Y *float64 `json:"y,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookLocationClientEvent represents a WebhookLocationClientEvent struct.
func (WebhookLocationClientEvent) MarshalJSON ¶
func (w WebhookLocationClientEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookLocationClientEvent. It customizes the JSON marshaling process for WebhookLocationClientEvent objects.
func (WebhookLocationClientEvent) String ¶ added in v0.4.23
func (w WebhookLocationClientEvent) String() string
String implements the fmt.Stringer interface for WebhookLocationClientEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookLocationClientEvent) UnmarshalJSON ¶
func (w *WebhookLocationClientEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookLocationClientEvent. It customizes the JSON unmarshaling process for WebhookLocationClientEvent objects.
type WebhookLocationClientTopicEnum ¶ added in v0.4.94
type WebhookLocationClientTopicEnum string
WebhookLocationClientTopicEnum is a string enum. enum: `location-client`
const (
WebhookLocationClientTopicEnum_LOCATIONCLIENT WebhookLocationClientTopicEnum = "location-client"
)
type WebhookLocationEvent ¶
type WebhookLocationEvent struct {
BatteryVoltage *int `json:"battery_voltage,omitempty"`
EddystoneUidInstance *string `json:"eddystone_uid_instance,omitempty"`
EddystoneUidNamespace *string `json:"eddystone_uid_namespace,omitempty"`
EddystoneUrlUrl *string `json:"eddystone_url_url,omitempty"`
// Major number for iBeacon
IbeaconMajor Optional[int] `json:"ibeacon_major"`
// Minor number for iBeacon
IbeaconMinor Optional[int] `json:"ibeacon_minor"`
IbeaconUuid Optional[uuid.UUID] `json:"ibeacon_uuid"`
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
Mac *string `json:"mac,omitempty"`
// Map id
MapId uuid.UUID `json:"map_id"`
// Optional, BLE manufacturing company ID
MfgCompanyId *int `json:"mfg_company_id,omitempty"`
// Optional, BLE manufacturing data in hex byte-string format (ie "112233AABBCC")
MfgData *string `json:"mfg_data,omitempty"`
// Name of the client, may be empty
Name *string `json:"name,omitempty"`
SiteId uuid.UUID `json:"site_id"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
Type string `json:"type"`
// Optional, list of extended beacon info packets heard from the client, frame and sequence control included with the payload
WifiBeaconExtendedInfo []WifiBeaconExtendedInfoItems `json:"wifi_beacon_extended_info,omitempty"`
// x, in meter
X float64 `json:"x"`
// y, in meter
Y float64 `json:"y"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookLocationEvent represents a WebhookLocationEvent struct.
func (WebhookLocationEvent) MarshalJSON ¶
func (w WebhookLocationEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookLocationEvent. It customizes the JSON marshaling process for WebhookLocationEvent objects.
func (WebhookLocationEvent) String ¶ added in v0.4.23
func (w WebhookLocationEvent) String() string
String implements the fmt.Stringer interface for WebhookLocationEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookLocationEvent) UnmarshalJSON ¶
func (w *WebhookLocationEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookLocationEvent. It customizes the JSON unmarshaling process for WebhookLocationEvent objects.
type WebhookLocationSdk ¶
type WebhookLocationSdk struct {
// List of events
Events []WebhookLocationSdkEvent `json:"events"`
// enum: `location-sdk`
Topic string `json:"topic"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookLocationSdk represents a WebhookLocationSdk struct. Sample of the `location-sdk` webhook payload.
func (WebhookLocationSdk) MarshalJSON ¶
func (w WebhookLocationSdk) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookLocationSdk. It customizes the JSON marshaling process for WebhookLocationSdk objects.
func (WebhookLocationSdk) String ¶ added in v0.4.23
func (w WebhookLocationSdk) String() string
String implements the fmt.Stringer interface for WebhookLocationSdk, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookLocationSdk) UnmarshalJSON ¶
func (w *WebhookLocationSdk) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookLocationSdk. It customizes the JSON unmarshaling process for WebhookLocationSdk objects.
type WebhookLocationSdkEvent ¶
type WebhookLocationSdkEvent struct {
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
MapId *uuid.UUID `json:"map_id,omitempty"`
Name *string `json:"name,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
Type *string `json:"type,omitempty"`
// x, in meter
X *float64 `json:"x,omitempty"`
// y, in meter
Y *float64 `json:"y,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookLocationSdkEvent represents a WebhookLocationSdkEvent struct.
func (WebhookLocationSdkEvent) MarshalJSON ¶
func (w WebhookLocationSdkEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookLocationSdkEvent. It customizes the JSON marshaling process for WebhookLocationSdkEvent objects.
func (WebhookLocationSdkEvent) String ¶ added in v0.4.23
func (w WebhookLocationSdkEvent) String() string
String implements the fmt.Stringer interface for WebhookLocationSdkEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookLocationSdkEvent) UnmarshalJSON ¶
func (w *WebhookLocationSdkEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookLocationSdkEvent. It customizes the JSON unmarshaling process for WebhookLocationSdkEvent objects.
type WebhookLocationSdkTopicEnum ¶ added in v0.4.94
type WebhookLocationSdkTopicEnum string
WebhookLocationSdkTopicEnum is a string enum. enum: `location-sdk`
const (
WebhookLocationSdkTopicEnum_LOCATIONSDK WebhookLocationSdkTopicEnum = "location-sdk"
)
type WebhookLocationTopicEnum ¶ added in v0.4.94
type WebhookLocationTopicEnum string
WebhookLocationTopicEnum is a string enum. enum: `location`
const (
WebhookLocationTopicEnum_LOCATION WebhookLocationTopicEnum = "location"
)
type WebhookLocationUnclient ¶
type WebhookLocationUnclient struct {
// List of events
Events []WebhookLocationUnclientEvent `json:"events"`
// enum: `location-unclient`
Topic string `json:"topic"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookLocationUnclient represents a WebhookLocationUnclient struct. Sample of the `location-unclient` webhook payload.
func (WebhookLocationUnclient) MarshalJSON ¶
func (w WebhookLocationUnclient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookLocationUnclient. It customizes the JSON marshaling process for WebhookLocationUnclient objects.
func (WebhookLocationUnclient) String ¶ added in v0.4.23
func (w WebhookLocationUnclient) String() string
String implements the fmt.Stringer interface for WebhookLocationUnclient, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookLocationUnclient) UnmarshalJSON ¶
func (w *WebhookLocationUnclient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookLocationUnclient. It customizes the JSON unmarshaling process for WebhookLocationUnclient objects.
type WebhookLocationUnclientEvent ¶
type WebhookLocationUnclientEvent struct {
Mac *string `json:"mac,omitempty"`
MapId *uuid.UUID `json:"map_id,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
Type *string `json:"type,omitempty"`
// Optional, list of extended beacon info packets heard from the client, frame and sequence control included with the payload
WifiBeaconExtendedInfo []WifiBeaconExtendedInfoItems `json:"wifi_beacon_extended_info,omitempty"`
// x, in meter
X *float64 `json:"x,omitempty"`
// y, in meter
Y *float64 `json:"y,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookLocationUnclientEvent represents a WebhookLocationUnclientEvent struct.
func (WebhookLocationUnclientEvent) MarshalJSON ¶
func (w WebhookLocationUnclientEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookLocationUnclientEvent. It customizes the JSON marshaling process for WebhookLocationUnclientEvent objects.
func (WebhookLocationUnclientEvent) String ¶ added in v0.4.23
func (w WebhookLocationUnclientEvent) String() string
String implements the fmt.Stringer interface for WebhookLocationUnclientEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookLocationUnclientEvent) UnmarshalJSON ¶
func (w *WebhookLocationUnclientEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookLocationUnclientEvent. It customizes the JSON unmarshaling process for WebhookLocationUnclientEvent objects.
type WebhookLocationUnclientTopicEnum ¶ added in v0.4.94
type WebhookLocationUnclientTopicEnum string
WebhookLocationUnclientTopicEnum is a string enum. enum: `location-unclient`
const (
WebhookLocationUnclientTopicEnum_LOCATIONUNCLIENT WebhookLocationUnclientTopicEnum = "location-unclient"
)
type WebhookMxedgeEventTopicEnum ¶ added in v0.4.94
type WebhookMxedgeEventTopicEnum string
WebhookMxedgeEventTopicEnum is a string enum. enum: `mxedge-events`
const (
WebhookMxedgeEventTopicEnum_MXEDGEEVENTS WebhookMxedgeEventTopicEnum = "mxedge-events"
)
type WebhookMxedgeEvents ¶ added in v0.4.94
type WebhookMxedgeEvents struct {
Events []MxedgeEvent `json:"events"`
// enum: `mxedge-events`
Topic string `json:"topic"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookMxedgeEvents represents a WebhookMxedgeEvents struct. Sample of the `mxedge-events` webhook payload.
func (WebhookMxedgeEvents) MarshalJSON ¶ added in v0.4.94
func (w WebhookMxedgeEvents) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookMxedgeEvents. It customizes the JSON marshaling process for WebhookMxedgeEvents objects.
func (WebhookMxedgeEvents) String ¶ added in v0.4.94
func (w WebhookMxedgeEvents) String() string
String implements the fmt.Stringer interface for WebhookMxedgeEvents, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookMxedgeEvents) UnmarshalJSON ¶ added in v0.4.94
func (w *WebhookMxedgeEvents) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookMxedgeEvents. It customizes the JSON unmarshaling process for WebhookMxedgeEvents objects.
type WebhookNacAccounting ¶
type WebhookNacAccounting struct {
Events []WebhookNacAccountingEvent `json:"events,omitempty"`
// enum: `nac-accounting`
Topic *WebhookNacAccountingTopicEnum `json:"topic,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookNacAccounting represents a WebhookNacAccounting struct. Sample of the `nac-accounting` webhook payload.
func (WebhookNacAccounting) MarshalJSON ¶
func (w WebhookNacAccounting) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookNacAccounting. It customizes the JSON marshaling process for WebhookNacAccounting objects.
func (WebhookNacAccounting) String ¶ added in v0.4.23
func (w WebhookNacAccounting) String() string
String implements the fmt.Stringer interface for WebhookNacAccounting, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookNacAccounting) UnmarshalJSON ¶
func (w *WebhookNacAccounting) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookNacAccounting. It customizes the JSON unmarshaling process for WebhookNacAccounting objects.
type WebhookNacAccountingEvent ¶
type WebhookNacAccountingEvent struct {
// MAC address of the AP the client roamed or disconnected from
Ap *string `json:"ap,omitempty"`
// enum: `cert`, `device-auth`, `eap-teap`, `eap-tls`, `eap-ttls`, `idp`, `mab`, `eap-peap`
AuthType *NacAuthTypeEnum `json:"auth_type,omitempty"`
// MAC physical address of the access point
Bssid *string `json:"bssid,omitempty"`
// IP Address of client
ClientIp *string `json:"client_ip,omitempty"`
// Client type E.g. "wired", "wireless", "vty"
ClientType *string `json:"client_type,omitempty"`
// Client's MAC Address
Mac *string `json:"mac,omitempty"`
// NAS Device vendor name E.g. "Juniper", "Cisco"
NasVendor *string `json:"nas_vendor,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Amount of packets received since connection
RxPkts Optional[int64] `json:"rx_pkts"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// ESSID
Ssid *string `json:"ssid,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
// Amount of packets sent since connection
TxPkts Optional[int64] `json:"tx_pkts"`
// Type of event. E.g. "ACCOUNTING_START", "ACCOUNTING_UPDATE", "ACCOUNTING_STOP"
Type *string `json:"type,omitempty"`
// Username authenticated with
Username *string `json:"username,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookNacAccountingEvent represents a WebhookNacAccountingEvent struct.
func (WebhookNacAccountingEvent) MarshalJSON ¶
func (w WebhookNacAccountingEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookNacAccountingEvent. It customizes the JSON marshaling process for WebhookNacAccountingEvent objects.
func (WebhookNacAccountingEvent) String ¶ added in v0.4.23
func (w WebhookNacAccountingEvent) String() string
String implements the fmt.Stringer interface for WebhookNacAccountingEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookNacAccountingEvent) UnmarshalJSON ¶
func (w *WebhookNacAccountingEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookNacAccountingEvent. It customizes the JSON unmarshaling process for WebhookNacAccountingEvent objects.
type WebhookNacAccountingTopicEnum ¶ added in v0.4.94
type WebhookNacAccountingTopicEnum string
WebhookNacAccountingTopicEnum is a string enum. enum: `nac-accounting`
const (
WebhookNacAccountingTopicEnum_NACACCOUNTING WebhookNacAccountingTopicEnum = "nac-accounting"
)
type WebhookNacEvents ¶
type WebhookNacEvents struct {
Events []NacClientEvent `json:"events,omitempty"`
// enum: `nac-events`
Topic *WebhookNacEventsTopicEnum `json:"topic,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookNacEvents represents a WebhookNacEvents struct. Sample of the `nac-events` webhook payload.
func (WebhookNacEvents) MarshalJSON ¶
func (w WebhookNacEvents) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookNacEvents. It customizes the JSON marshaling process for WebhookNacEvents objects.
func (WebhookNacEvents) String ¶ added in v0.4.23
func (w WebhookNacEvents) String() string
String implements the fmt.Stringer interface for WebhookNacEvents, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookNacEvents) UnmarshalJSON ¶
func (w *WebhookNacEvents) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookNacEvents. It customizes the JSON unmarshaling process for WebhookNacEvents objects.
type WebhookNacEventsTopicEnum ¶ added in v0.4.94
type WebhookNacEventsTopicEnum string
WebhookNacEventsTopicEnum is a string enum. enum: `nac-events`
const (
WebhookNacEventsTopicEnum_NACEVENTS WebhookNacEventsTopicEnum = "nac-events"
)
type WebhookOauth2GrantTypeEnum ¶
type WebhookOauth2GrantTypeEnum string
WebhookOauth2GrantTypeEnum is a string enum. required when `type`==`oauth2`. enum: `client_credentials`, `password`
const ( WebhookOauth2GrantTypeEnum_CLIENTCREDENTIALS WebhookOauth2GrantTypeEnum = "client_credentials" WebhookOauth2GrantTypeEnum_PASSWORD WebhookOauth2GrantTypeEnum = "password" )
type WebhookOccupancyAlertTypeEnum ¶
type WebhookOccupancyAlertTypeEnum string
WebhookOccupancyAlertTypeEnum is a string enum. enum: `COMPLIANCE-OK`, `COMPLIANCE-VIOLATION`
const ( WebhookOccupancyAlertTypeEnum_COMPLIANCEOK WebhookOccupancyAlertTypeEnum = "COMPLIANCE-OK" WebhookOccupancyAlertTypeEnum_COMPLIANCEVIOLATION WebhookOccupancyAlertTypeEnum = "COMPLIANCE-VIOLATION" )
type WebhookOccupancyAlerts ¶
type WebhookOccupancyAlerts struct {
Events []WebhookOccupancyAlertsEvent `json:"events"`
// enum: `occupeancy-alerts`
Topic string `json:"topic"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookOccupancyAlerts represents a WebhookOccupancyAlerts struct. Sample of the `occupancy-alerts` webhook payload.
func (WebhookOccupancyAlerts) MarshalJSON ¶
func (w WebhookOccupancyAlerts) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookOccupancyAlerts. It customizes the JSON marshaling process for WebhookOccupancyAlerts objects.
func (WebhookOccupancyAlerts) String ¶ added in v0.4.23
func (w WebhookOccupancyAlerts) String() string
String implements the fmt.Stringer interface for WebhookOccupancyAlerts, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookOccupancyAlerts) UnmarshalJSON ¶
func (w *WebhookOccupancyAlerts) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookOccupancyAlerts. It customizes the JSON unmarshaling process for WebhookOccupancyAlerts objects.
type WebhookOccupancyAlertsEvent ¶
type WebhookOccupancyAlertsEvent struct {
// List of occupancy alerts for non-compliance zones within the site detected around the same time
AlertEvents []WebhookOccupancyAlertsEventAlertEventsItems `json:"alert_events,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
SiteId uuid.UUID `json:"site_id"`
SiteName string `json:"site_name"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookOccupancyAlertsEvent represents a WebhookOccupancyAlertsEvent struct.
func (WebhookOccupancyAlertsEvent) MarshalJSON ¶
func (w WebhookOccupancyAlertsEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookOccupancyAlertsEvent. It customizes the JSON marshaling process for WebhookOccupancyAlertsEvent objects.
func (WebhookOccupancyAlertsEvent) String ¶ added in v0.4.23
func (w WebhookOccupancyAlertsEvent) String() string
String implements the fmt.Stringer interface for WebhookOccupancyAlertsEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookOccupancyAlertsEvent) UnmarshalJSON ¶
func (w *WebhookOccupancyAlertsEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookOccupancyAlertsEvent. It customizes the JSON unmarshaling process for WebhookOccupancyAlertsEvent objects.
type WebhookOccupancyAlertsEventAlertEventsItems ¶
type WebhookOccupancyAlertsEventAlertEventsItems struct {
CurrentOccupancy int `json:"current_occupancy"`
MapId uuid.UUID `json:"map_id"`
OccupancyLimit int `json:"occupancy_limit"`
OrgId uuid.UUID `json:"org_id"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
// enum: `COMPLIANCE-OK`, `COMPLIANCE-VIOLATION`
Type WebhookOccupancyAlertTypeEnum `json:"type"`
ZoneId uuid.UUID `json:"zone_id"`
ZoneName string `json:"zone_name"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookOccupancyAlertsEventAlertEventsItems represents a WebhookOccupancyAlertsEventAlertEventsItems struct.
func (WebhookOccupancyAlertsEventAlertEventsItems) MarshalJSON ¶
func (w WebhookOccupancyAlertsEventAlertEventsItems) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookOccupancyAlertsEventAlertEventsItems. It customizes the JSON marshaling process for WebhookOccupancyAlertsEventAlertEventsItems objects.
func (WebhookOccupancyAlertsEventAlertEventsItems) String ¶ added in v0.4.23
func (w WebhookOccupancyAlertsEventAlertEventsItems) String() string
String implements the fmt.Stringer interface for WebhookOccupancyAlertsEventAlertEventsItems, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookOccupancyAlertsEventAlertEventsItems) UnmarshalJSON ¶
func (w *WebhookOccupancyAlertsEventAlertEventsItems) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookOccupancyAlertsEventAlertEventsItems. It customizes the JSON unmarshaling process for WebhookOccupancyAlertsEventAlertEventsItems objects.
type WebhookOccupancyAlertsTopicEnum ¶ added in v0.4.94
type WebhookOccupancyAlertsTopicEnum string
WebhookOccupancyAlertsTopicEnum is a string enum. enum: `occupeancy-alerts`
const (
WebhookOccupancyAlertsTopicEnum_OCCUPANCYALERTS WebhookOccupancyAlertsTopicEnum = "occupancy-alerts"
)
type WebhookPing ¶
type WebhookPing struct {
Events []WebhookPingEvent `json:"events"`
// enum: `ping`
Topic string `json:"topic"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookPing represents a WebhookPing struct. Sample of the `ping` webhook payload.\n\nThe `ping` webhook can be manually sent with the following API calls:\n- for a Site level webhook with the [Ping Site Webhook]($e/Orgs%20Webhooks/pingOrgWebhook) endpoint\n- for an Org level webhook with the [Ping Org Webhook]($e/Orgs%20Webhooks/pingOrgWebhook) endpoint
func (WebhookPing) MarshalJSON ¶
func (w WebhookPing) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookPing. It customizes the JSON marshaling process for WebhookPing objects.
func (WebhookPing) String ¶ added in v0.4.23
func (w WebhookPing) String() string
String implements the fmt.Stringer interface for WebhookPing, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookPing) UnmarshalJSON ¶
func (w *WebhookPing) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookPing. It customizes the JSON unmarshaling process for WebhookPing objects.
type WebhookPingEvent ¶
type WebhookPingEvent struct {
// Unique ID of the object instance in the Mist Organization
Id uuid.UUID `json:"id"`
Name string `json:"name"`
SiteId uuid.UUID `json:"site_id"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookPingEvent represents a WebhookPingEvent struct.
func (WebhookPingEvent) MarshalJSON ¶
func (w WebhookPingEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookPingEvent. It customizes the JSON marshaling process for WebhookPingEvent objects.
func (WebhookPingEvent) String ¶ added in v0.4.23
func (w WebhookPingEvent) String() string
String implements the fmt.Stringer interface for WebhookPingEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookPingEvent) UnmarshalJSON ¶
func (w *WebhookPingEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookPingEvent. It customizes the JSON unmarshaling process for WebhookPingEvent objects.
type WebhookPingTopicEnum ¶ added in v0.4.94
type WebhookPingTopicEnum string
WebhookPingTopicEnum is a string enum. enum: `ping`
const (
WebhookPingTopicEnum_PING WebhookPingTopicEnum = "ping"
)
type WebhookRssizone ¶ added in v0.4.98
type WebhookRssizone struct {
Events []WebhookRssizoneEvent `json:"events"`
// enum: `rssizone`
Topic string `json:"topic"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookRssizone represents a WebhookRssizone struct. Sample of the `rssizone` webhook payload.
func (WebhookRssizone) MarshalJSON ¶ added in v0.4.98
func (w WebhookRssizone) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookRssizone. It customizes the JSON marshaling process for WebhookRssizone objects.
func (WebhookRssizone) String ¶ added in v0.4.98
func (w WebhookRssizone) String() string
String implements the fmt.Stringer interface for WebhookRssizone, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookRssizone) UnmarshalJSON ¶ added in v0.4.98
func (w *WebhookRssizone) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookRssizone. It customizes the JSON unmarshaling process for WebhookRssizone objects.
type WebhookRssizoneEvent ¶ added in v0.4.98
type WebhookRssizoneEvent struct {
// Client MAC address
Mac string `json:"mac"`
MapId uuid.UUID `json:"map_id"`
// RSSI zone name
RssizoneId uuid.UUID `json:"rssizone_id"`
SiteId uuid.UUID `json:"site_id"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
// enum: `enter`, `exit`
Trigger WebhookZoneEventTriggerEnum `json:"trigger"`
// Type of client. enum: `asset` (BLE Tag), `sdk`, `wifi`
Type WebhookZoneEventTypeEnum `json:"type"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookRssizoneEvent represents a WebhookRssizoneEvent struct.
func (WebhookRssizoneEvent) MarshalJSON ¶ added in v0.4.98
func (w WebhookRssizoneEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookRssizoneEvent. It customizes the JSON marshaling process for WebhookRssizoneEvent objects.
func (WebhookRssizoneEvent) String ¶ added in v0.4.98
func (w WebhookRssizoneEvent) String() string
String implements the fmt.Stringer interface for WebhookRssizoneEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookRssizoneEvent) UnmarshalJSON ¶ added in v0.4.98
func (w *WebhookRssizoneEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookRssizoneEvent. It customizes the JSON unmarshaling process for WebhookRssizoneEvent objects.
type WebhookRssizoneTopicEnum ¶ added in v0.4.98
type WebhookRssizoneTopicEnum string
WebhookRssizoneTopicEnum is a string enum. enum: `rssizone`
const (
WebhookRssizoneTopicEnum_RSSIZONE WebhookRssizoneTopicEnum = "rssizone"
)
type WebhookSdkclientScanData ¶
type WebhookSdkclientScanData struct {
Events []WebhookSdkclientScanDataEvent `json:"events"`
// enum: `sdkclient-scan-data`
Topic string `json:"topic"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookSdkclientScanData represents a WebhookSdkclientScanData struct. Sample of the `sdkclient-scan-data` webhook payload.
func (WebhookSdkclientScanData) MarshalJSON ¶
func (w WebhookSdkclientScanData) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookSdkclientScanData. It customizes the JSON marshaling process for WebhookSdkclientScanData objects.
func (WebhookSdkclientScanData) String ¶ added in v0.4.23
func (w WebhookSdkclientScanData) String() string
String implements the fmt.Stringer interface for WebhookSdkclientScanData, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookSdkclientScanData) UnmarshalJSON ¶
func (w *WebhookSdkclientScanData) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookSdkclientScanData. It customizes the JSON unmarshaling process for WebhookSdkclientScanData objects.
type WebhookSdkclientScanDataEvent ¶
type WebhookSdkclientScanDataEvent struct {
// MAC address of the AP the client is connected to
ConnectionAp string `json:"connection_ap"`
// 5GHz or 2.4GHz band, of the BSSID the client is connected to
ConnectionBand string `json:"connection_band"`
// BSSID of the AP the client is connected to
ConnectionBssid string `json:"connection_bssid"`
// Channel of the band the client is connected to
ConnectionChannel int `json:"connection_channel"`
// RSSI of the client’s connection to the AP/BSSID
ConnectionRssi float64 `json:"connection_rssi"`
// Last seen timestamp
LastSeen Optional[float64] `json:"last_seen"`
// Client's MAC Address
Mac string `json:"mac"`
ScanData []WebhookSdkclientScanDataEventScanDataItem `json:"scan_data,omitempty"`
SiteId uuid.UUID `json:"site_id"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookSdkclientScanDataEvent represents a WebhookSdkclientScanDataEvent struct.
func (WebhookSdkclientScanDataEvent) MarshalJSON ¶
func (w WebhookSdkclientScanDataEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookSdkclientScanDataEvent. It customizes the JSON marshaling process for WebhookSdkclientScanDataEvent objects.
func (WebhookSdkclientScanDataEvent) String ¶ added in v0.4.23
func (w WebhookSdkclientScanDataEvent) String() string
String implements the fmt.Stringer interface for WebhookSdkclientScanDataEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookSdkclientScanDataEvent) UnmarshalJSON ¶
func (w *WebhookSdkclientScanDataEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookSdkclientScanDataEvent. It customizes the JSON unmarshaling process for WebhookSdkclientScanDataEvent objects.
type WebhookSdkclientScanDataEventScanDataItem ¶
type WebhookSdkclientScanDataEventScanDataItem struct {
// MAC address of the AP associated with the BSSID scanned
Ap string `json:"ap"`
// 5GHz or 2.4GHz band, associated with the BSSID scanned. enum: `2.4`, `5`
Band ScanDataItemBandEnum `json:"band"`
// BSSID found during client’s background scan for Wi-Fi
Bssid string `json:"bssid"`
// Channel of the band found in the scan
Channel int `json:"channel"`
// Client's RSSI relative to the BSSID scanned
Rssi float64 `json:"rssi"`
// ESSID containing the BSSID scanned
Ssid string `json:"ssid"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookSdkclientScanDataEventScanDataItem represents a WebhookSdkclientScanDataEventScanDataItem struct.
func (WebhookSdkclientScanDataEventScanDataItem) MarshalJSON ¶
func (w WebhookSdkclientScanDataEventScanDataItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookSdkclientScanDataEventScanDataItem. It customizes the JSON marshaling process for WebhookSdkclientScanDataEventScanDataItem objects.
func (WebhookSdkclientScanDataEventScanDataItem) String ¶ added in v0.4.23
func (w WebhookSdkclientScanDataEventScanDataItem) String() string
String implements the fmt.Stringer interface for WebhookSdkclientScanDataEventScanDataItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookSdkclientScanDataEventScanDataItem) UnmarshalJSON ¶
func (w *WebhookSdkclientScanDataEventScanDataItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookSdkclientScanDataEventScanDataItem. It customizes the JSON unmarshaling process for WebhookSdkclientScanDataEventScanDataItem objects.
type WebhookSdkclientScanDataTopicEnum ¶ added in v0.2.38
type WebhookSdkclientScanDataTopicEnum string
WebhookSdkclientScanDataTopicEnum is a string enum. enum: `sdkclient-scan-data`
const (
WebhookSdkclientScanDataTopicEnum_SDKCLIENTSCANDATA WebhookSdkclientScanDataTopicEnum = "sdkclient-scan-data"
)
type WebhookSiteSle ¶
type WebhookSiteSle struct {
Events []WebhookSiteSleEvent `json:"events"`
Topic string `json:"topic"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookSiteSle represents a WebhookSiteSle struct. Sample of the `site-sle` webhook payload.
func (WebhookSiteSle) MarshalJSON ¶
func (w WebhookSiteSle) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookSiteSle. It customizes the JSON marshaling process for WebhookSiteSle objects.
func (WebhookSiteSle) String ¶ added in v0.4.23
func (w WebhookSiteSle) String() string
String implements the fmt.Stringer interface for WebhookSiteSle, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookSiteSle) UnmarshalJSON ¶
func (w *WebhookSiteSle) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookSiteSle. It customizes the JSON unmarshaling process for WebhookSiteSle objects.
type WebhookSiteSleEvent ¶
type WebhookSiteSleEvent struct {
OrgId *uuid.UUID `json:"org_id,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Sle *WebhookSiteSleEventSle `json:"sle,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookSiteSleEvent represents a WebhookSiteSleEvent struct.
func (WebhookSiteSleEvent) MarshalJSON ¶
func (w WebhookSiteSleEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookSiteSleEvent. It customizes the JSON marshaling process for WebhookSiteSleEvent objects.
func (WebhookSiteSleEvent) String ¶ added in v0.4.23
func (w WebhookSiteSleEvent) String() string
String implements the fmt.Stringer interface for WebhookSiteSleEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookSiteSleEvent) UnmarshalJSON ¶
func (w *WebhookSiteSleEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookSiteSleEvent. It customizes the JSON unmarshaling process for WebhookSiteSleEvent objects.
type WebhookSiteSleEventSle ¶
type WebhookSiteSleEventSle struct {
ApAvailability *float64 `json:"ap-availability,omitempty"`
SuccessfulConnect *float64 `json:"successful-connect,omitempty"`
TimeToConnect *float64 `json:"time-to-connect,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookSiteSleEventSle represents a WebhookSiteSleEventSle struct.
func (WebhookSiteSleEventSle) MarshalJSON ¶
func (w WebhookSiteSleEventSle) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookSiteSleEventSle. It customizes the JSON marshaling process for WebhookSiteSleEventSle objects.
func (WebhookSiteSleEventSle) String ¶ added in v0.4.23
func (w WebhookSiteSleEventSle) String() string
String implements the fmt.Stringer interface for WebhookSiteSleEventSle, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookSiteSleEventSle) UnmarshalJSON ¶
func (w *WebhookSiteSleEventSle) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookSiteSleEventSle. It customizes the JSON unmarshaling process for WebhookSiteSleEventSle objects.
type WebhookSiteSleTopicEnum ¶ added in v0.4.94
type WebhookSiteSleTopicEnum string
WebhookSiteSleTopicEnum is a string enum.
const (
WebhookSiteSleTopicEnum_SITESLE WebhookSiteSleTopicEnum = "site-sle"
)
type WebhookTypeEnum ¶
type WebhookTypeEnum string
WebhookTypeEnum is a string enum. enum: `aws-sns`, `google-pubsub`, `http-post`, `oauth2`, `splunk`
const ( WebhookTypeEnum_AWSSNS WebhookTypeEnum = "aws-sns" WebhookTypeEnum_GOOGLEPUBSUB WebhookTypeEnum = "google-pubsub" WebhookTypeEnum_HTTPPOST WebhookTypeEnum = "http-post" WebhookTypeEnum_OAUTH2 WebhookTypeEnum = "oauth2" WebhookTypeEnum_SPLUNK WebhookTypeEnum = "splunk" )
type WebhookWifiConnRaw ¶ added in v0.4.94
type WebhookWifiConnRaw struct {
Events []WebhookWifiConnRawEvent `json:"events"`
// enum: `wifi-conn-raw`
Topic string `json:"topic"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookWifiConnRaw represents a WebhookWifiConnRaw struct. Sample of the `wifi-conn-raw` webhook payload. This webhook topic provides raw data from packets emitted by connected devices. Raw data webhooks are a special subset of webhooks that provide insight into raw data packets emitted by a client, identified by their advertising MAC address (assets, discovered ble, connected wifi, unconnected wifi). The data that client raw data webhooks encompasses are reporting AP information, RSSI Data, and any special packets/telemetry packets that the client may emit. Note that client raw webhooks are the raw data coming from the client and do not contain the X,Y location data of the client. In order to get the location data for a client please see our location webhooks. Clients can be identified uniquely across these client raw data topics and location webhook topic using MAC address as the Unique identifier (client identifier).
func (WebhookWifiConnRaw) MarshalJSON ¶ added in v0.4.94
func (w WebhookWifiConnRaw) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookWifiConnRaw. It customizes the JSON marshaling process for WebhookWifiConnRaw objects.
func (WebhookWifiConnRaw) String ¶ added in v0.4.94
func (w WebhookWifiConnRaw) String() string
String implements the fmt.Stringer interface for WebhookWifiConnRaw, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookWifiConnRaw) UnmarshalJSON ¶ added in v0.4.94
func (w *WebhookWifiConnRaw) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookWifiConnRaw. It customizes the JSON unmarshaling process for WebhookWifiConnRaw objects.
type WebhookWifiConnRawEvent ¶ added in v0.4.94
type WebhookWifiConnRawEvent struct {
ApId *string `json:"ap_id,omitempty"`
// optional, coordinates (if any) of reporting AP (updated once in 60s per client)
ApLoc []float64 `json:"ap_loc,omitempty"`
ClientId *string `json:"client_id,omitempty"`
ConnectedSite *bool `json:"connected_site,omitempty"`
// optional, list of specific telemetry packets emited by certain wifi tags (Eg. Centrak)
ExtendedInfoList []WebhookWifiConnRawEventExtendedInfo `json:"extended_info_list,omitempty"`
// Unique ID of the object instance in the Mist Organization
MapId *uuid.UUID `json:"map_id,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
Packets []WebhookWifiConnRawEventPacket `json:"packets,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookWifiConnRawEvent represents a WebhookWifiConnRawEvent struct.
func (WebhookWifiConnRawEvent) MarshalJSON ¶ added in v0.4.94
func (w WebhookWifiConnRawEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookWifiConnRawEvent. It customizes the JSON marshaling process for WebhookWifiConnRawEvent objects.
func (WebhookWifiConnRawEvent) String ¶ added in v0.4.94
func (w WebhookWifiConnRawEvent) String() string
String implements the fmt.Stringer interface for WebhookWifiConnRawEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookWifiConnRawEvent) UnmarshalJSON ¶ added in v0.4.94
func (w *WebhookWifiConnRawEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookWifiConnRawEvent. It customizes the JSON unmarshaling process for WebhookWifiConnRawEvent objects.
type WebhookWifiConnRawEventExtendedInfo ¶ added in v0.4.94
type WebhookWifiConnRawEventExtendedInfo struct {
FrameCtrl *int `json:"frame_ctrl,omitempty"`
Payload *string `json:"payload,omitempty"`
SequenceCtrl *int `json:"sequence_ctrl,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookWifiConnRawEventExtendedInfo represents a WebhookWifiConnRawEventExtendedInfo struct.
func (WebhookWifiConnRawEventExtendedInfo) MarshalJSON ¶ added in v0.4.94
func (w WebhookWifiConnRawEventExtendedInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookWifiConnRawEventExtendedInfo. It customizes the JSON marshaling process for WebhookWifiConnRawEventExtendedInfo objects.
func (WebhookWifiConnRawEventExtendedInfo) String ¶ added in v0.4.94
func (w WebhookWifiConnRawEventExtendedInfo) String() string
String implements the fmt.Stringer interface for WebhookWifiConnRawEventExtendedInfo, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookWifiConnRawEventExtendedInfo) UnmarshalJSON ¶ added in v0.4.94
func (w *WebhookWifiConnRawEventExtendedInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookWifiConnRawEventExtendedInfo. It customizes the JSON unmarshaling process for WebhookWifiConnRawEventExtendedInfo objects.
type WebhookWifiConnRawEventPacket ¶ added in v0.4.94
type WebhookWifiConnRawEventPacket struct {
Band *string `json:"band,omitempty"`
Rssi *int `json:"rssi,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookWifiConnRawEventPacket represents a WebhookWifiConnRawEventPacket struct.
func (WebhookWifiConnRawEventPacket) MarshalJSON ¶ added in v0.4.94
func (w WebhookWifiConnRawEventPacket) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookWifiConnRawEventPacket. It customizes the JSON marshaling process for WebhookWifiConnRawEventPacket objects.
func (WebhookWifiConnRawEventPacket) String ¶ added in v0.4.94
func (w WebhookWifiConnRawEventPacket) String() string
String implements the fmt.Stringer interface for WebhookWifiConnRawEventPacket, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookWifiConnRawEventPacket) UnmarshalJSON ¶ added in v0.4.94
func (w *WebhookWifiConnRawEventPacket) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookWifiConnRawEventPacket. It customizes the JSON unmarshaling process for WebhookWifiConnRawEventPacket objects.
type WebhookWifiConnRawTopicEnum ¶ added in v0.4.94
type WebhookWifiConnRawTopicEnum string
WebhookWifiConnRawTopicEnum is a string enum. enum: `wifi-conn-raw`
const (
WebhookWifiConnRawTopicEnum_WIFICONNRAW WebhookWifiConnRawTopicEnum = "wifi-conn-raw"
)
type WebhookWifiUnconnRaw ¶ added in v0.4.94
type WebhookWifiUnconnRaw struct {
Events []WebhookWifiUnconnRawEvent `json:"events"`
// enum: `wifi-unconn-raw`
Topic string `json:"topic"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookWifiUnconnRaw represents a WebhookWifiUnconnRaw struct. Sample of the `wifi-unconn-raw` webhook payload. This webhook topic provides raw data from packets emitted by unconnected devices. Raw data webhooks are a special subset of webhooks that provide insight into raw data packets emitted by a client, identified by their advertising MAC address (assets, discovered ble, connected wifi, unconnected wifi). The data that client raw data webhooks encompasses are reporting AP information, RSSI Data, and any special packets/telemetry packets that the client may emit. Note that client raw webhooks are the raw data coming from the client and do not contain the X,Y location data of the client. In order to get the location data for a client please see our location webhooks. Clients can be identified uniquely across these client raw data topics and location webhook topic using MAC address as the Unique identifier (client identifier).
func (WebhookWifiUnconnRaw) MarshalJSON ¶ added in v0.4.94
func (w WebhookWifiUnconnRaw) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookWifiUnconnRaw. It customizes the JSON marshaling process for WebhookWifiUnconnRaw objects.
func (WebhookWifiUnconnRaw) String ¶ added in v0.4.94
func (w WebhookWifiUnconnRaw) String() string
String implements the fmt.Stringer interface for WebhookWifiUnconnRaw, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookWifiUnconnRaw) UnmarshalJSON ¶ added in v0.4.94
func (w *WebhookWifiUnconnRaw) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookWifiUnconnRaw. It customizes the JSON unmarshaling process for WebhookWifiUnconnRaw objects.
type WebhookWifiUnconnRawEvent ¶ added in v0.4.94
type WebhookWifiUnconnRawEvent struct {
ApId *string `json:"ap_id,omitempty"`
// optional, coordinates (if any) of reporting AP (updated once in 60s per client)
ApLoc []float64 `json:"ap_loc,omitempty"`
ClientId *string `json:"client_id,omitempty"`
ConnectedSite *bool `json:"connected_site,omitempty"`
// Unique ID of the object instance in the Mist Organization
MapId *uuid.UUID `json:"map_id,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
Packets []WebhookWifiUnconnRawEventPacket `json:"packets,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookWifiUnconnRawEvent represents a WebhookWifiUnconnRawEvent struct.
func (WebhookWifiUnconnRawEvent) MarshalJSON ¶ added in v0.4.94
func (w WebhookWifiUnconnRawEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookWifiUnconnRawEvent. It customizes the JSON marshaling process for WebhookWifiUnconnRawEvent objects.
func (WebhookWifiUnconnRawEvent) String ¶ added in v0.4.94
func (w WebhookWifiUnconnRawEvent) String() string
String implements the fmt.Stringer interface for WebhookWifiUnconnRawEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookWifiUnconnRawEvent) UnmarshalJSON ¶ added in v0.4.94
func (w *WebhookWifiUnconnRawEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookWifiUnconnRawEvent. It customizes the JSON unmarshaling process for WebhookWifiUnconnRawEvent objects.
type WebhookWifiUnconnRawEventPacket ¶ added in v0.4.94
type WebhookWifiUnconnRawEventPacket struct {
Band *string `json:"band,omitempty"`
Rssi *int `json:"rssi,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookWifiUnconnRawEventPacket represents a WebhookWifiUnconnRawEventPacket struct.
func (WebhookWifiUnconnRawEventPacket) MarshalJSON ¶ added in v0.4.94
func (w WebhookWifiUnconnRawEventPacket) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookWifiUnconnRawEventPacket. It customizes the JSON marshaling process for WebhookWifiUnconnRawEventPacket objects.
func (WebhookWifiUnconnRawEventPacket) String ¶ added in v0.4.94
func (w WebhookWifiUnconnRawEventPacket) String() string
String implements the fmt.Stringer interface for WebhookWifiUnconnRawEventPacket, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookWifiUnconnRawEventPacket) UnmarshalJSON ¶ added in v0.4.94
func (w *WebhookWifiUnconnRawEventPacket) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookWifiUnconnRawEventPacket. It customizes the JSON unmarshaling process for WebhookWifiUnconnRawEventPacket objects.
type WebhookWifiUnconnRawTopicEnum ¶ added in v0.4.94
type WebhookWifiUnconnRawTopicEnum string
WebhookWifiUnconnRawTopicEnum is a string enum. enum: `wifi-unconn-raw`
const (
WebhookWifiUnconnRawTopicEnum_WIFIUNCONNRAW WebhookWifiUnconnRawTopicEnum = "wifi-unconn-raw"
)
type WebhookZone ¶
type WebhookZone struct {
// List of events
Events []WebhookZoneEvent `json:"events"`
// enum: `zone`
Topic string `json:"topic"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookZone represents a WebhookZone struct. Sample of the `zone` webhook payload.
func (WebhookZone) MarshalJSON ¶
func (w WebhookZone) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookZone. It customizes the JSON marshaling process for WebhookZone objects.
func (WebhookZone) String ¶ added in v0.4.23
func (w WebhookZone) String() string
String implements the fmt.Stringer interface for WebhookZone, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookZone) UnmarshalJSON ¶
func (w *WebhookZone) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookZone. It customizes the JSON unmarshaling process for WebhookZone objects.
type WebhookZoneEvent ¶
type WebhookZoneEvent struct {
// Only if `type`==`asset`. UUID of named asset
AssetId *uuid.UUID `json:"asset_id,omitempty"`
// Only if `type`==`sdk`. UUID of the SDK Client
Id *uuid.UUID `json:"id,omitempty"`
// MAC address of Wi-Fi client, SDK Client or Asset
Mac *string `json:"mac,omitempty"`
// Map id
MapId uuid.UUID `json:"map_id"`
// Name of the client, may be empty
Name *string `json:"name,omitempty"`
SiteId uuid.UUID `json:"site_id"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
// enum: `enter`, `exit`
Trigger WebhookZoneEventTriggerEnum `json:"trigger"`
// Type of client. enum: `asset` (BLE Tag), `sdk`, `wifi`
Type WebhookZoneEventTypeEnum `json:"type"`
// Zone id
ZoneId uuid.UUID `json:"zone_id"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebhookZoneEvent represents a WebhookZoneEvent struct.
func (WebhookZoneEvent) MarshalJSON ¶
func (w WebhookZoneEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookZoneEvent. It customizes the JSON marshaling process for WebhookZoneEvent objects.
func (WebhookZoneEvent) String ¶ added in v0.4.23
func (w WebhookZoneEvent) String() string
String implements the fmt.Stringer interface for WebhookZoneEvent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebhookZoneEvent) UnmarshalJSON ¶
func (w *WebhookZoneEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookZoneEvent. It customizes the JSON unmarshaling process for WebhookZoneEvent objects.
type WebhookZoneEventTriggerEnum ¶
type WebhookZoneEventTriggerEnum string
WebhookZoneEventTriggerEnum is a string enum. enum: `enter`, `exit`
const ( WebhookZoneEventTriggerEnum_ENTER WebhookZoneEventTriggerEnum = "enter" WebhookZoneEventTriggerEnum_EXIT WebhookZoneEventTriggerEnum = "exit" )
type WebhookZoneEventTypeEnum ¶ added in v0.4.74
type WebhookZoneEventTypeEnum string
WebhookZoneEventTypeEnum is a string enum. Type of client. enum: `asset` (BLE Tag), `sdk`, `wifi`
const ( WebhookZoneEventTypeEnum_ASSET WebhookZoneEventTypeEnum = "asset" WebhookZoneEventTypeEnum_SDK WebhookZoneEventTypeEnum = "sdk" WebhookZoneEventTypeEnum_WIFI WebhookZoneEventTypeEnum = "wifi" )
type WebhookZoneTopicEnum ¶ added in v0.4.94
type WebhookZoneTopicEnum string
WebhookZoneTopicEnum is a string enum. enum: `zone`
const (
WebhookZoneTopicEnum_ZONE WebhookZoneTopicEnum = "zone"
)
type WebsocketSession ¶
type WebsocketSession struct {
Session string `json:"session"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebsocketSession represents a WebsocketSession struct.
func (WebsocketSession) MarshalJSON ¶
func (w WebsocketSession) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebsocketSession. It customizes the JSON marshaling process for WebsocketSession objects.
func (WebsocketSession) String ¶ added in v0.4.23
func (w WebsocketSession) String() string
String implements the fmt.Stringer interface for WebsocketSession, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebsocketSession) UnmarshalJSON ¶
func (w *WebsocketSession) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebsocketSession. It customizes the JSON unmarshaling process for WebsocketSession objects.
type WebsocketSessionWithUrl ¶
type WebsocketSessionWithUrl struct {
Session string `json:"session"`
Url string `json:"url"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WebsocketSessionWithUrl represents a WebsocketSessionWithUrl struct.
func (WebsocketSessionWithUrl) MarshalJSON ¶
func (w WebsocketSessionWithUrl) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebsocketSessionWithUrl. It customizes the JSON marshaling process for WebsocketSessionWithUrl objects.
func (WebsocketSessionWithUrl) String ¶ added in v0.4.23
func (w WebsocketSessionWithUrl) String() string
String implements the fmt.Stringer interface for WebsocketSessionWithUrl, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WebsocketSessionWithUrl) UnmarshalJSON ¶
func (w *WebsocketSessionWithUrl) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebsocketSessionWithUrl. It customizes the JSON unmarshaling process for WebsocketSessionWithUrl objects.
type WifiBeaconExtendedInfoItems ¶
type WifiBeaconExtendedInfoItems struct {
// Frame control field of 802.11 header
FrameCtrl *int `json:"frame_ctrl,omitempty"`
// Extended Info Payload associated with frame
Payload *string `json:"payload,omitempty"`
// Sequence control field of 802.11 header
SeqCtrl *int `json:"seq_ctrl,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WifiBeaconExtendedInfoItems represents a WifiBeaconExtendedInfoItems struct.
func (WifiBeaconExtendedInfoItems) MarshalJSON ¶
func (w WifiBeaconExtendedInfoItems) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WifiBeaconExtendedInfoItems. It customizes the JSON marshaling process for WifiBeaconExtendedInfoItems objects.
func (WifiBeaconExtendedInfoItems) String ¶ added in v0.4.23
func (w WifiBeaconExtendedInfoItems) String() string
String implements the fmt.Stringer interface for WifiBeaconExtendedInfoItems, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WifiBeaconExtendedInfoItems) UnmarshalJSON ¶
func (w *WifiBeaconExtendedInfoItems) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WifiBeaconExtendedInfoItems. It customizes the JSON unmarshaling process for WifiBeaconExtendedInfoItems objects.
type WiredClientResponse ¶
type WiredClientResponse struct {
AuthMethod *string `json:"auth_method,omitempty"`
AuthState *string `json:"auth_state,omitempty"`
// MAC Address of the switch the client is connected to
DeviceMac []string `json:"device_mac,omitempty"`
DeviceMacPort []WiredClientResponseDeviceMacPortItem `json:"device_mac_port,omitempty"`
DhcpClientIdentifier *string `json:"dhcp_client_identifier,omitempty"`
DhcpClientOptions []DhcpClientOption `json:"dhcp_client_options,omitempty"`
DhcpFqdn *string `json:"dhcp_fqdn,omitempty"`
DhcpHostname *string `json:"dhcp_hostname,omitempty"`
DhcpRequestParams *string `json:"dhcp_request_params,omitempty"`
DhcpVendorClassIdentifier *string `json:"dhcp_vendor_class_identifier,omitempty"`
Ip []string `json:"ip,omitempty"`
Mac *string `json:"mac,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
PortId []string `json:"port_id,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Epoch (seconds)
Timestamp *float64 `json:"timestamp,omitempty"`
Vlan []int `json:"vlan,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WiredClientResponse represents a WiredClientResponse struct.
func (WiredClientResponse) MarshalJSON ¶
func (w WiredClientResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WiredClientResponse. It customizes the JSON marshaling process for WiredClientResponse objects.
func (WiredClientResponse) String ¶ added in v0.4.23
func (w WiredClientResponse) String() string
String implements the fmt.Stringer interface for WiredClientResponse, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WiredClientResponse) UnmarshalJSON ¶
func (w *WiredClientResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WiredClientResponse. It customizes the JSON unmarshaling process for WiredClientResponse objects.
type WiredClientResponseDeviceMacPortItem ¶
type WiredClientResponseDeviceMacPortItem struct {
DeviceMac *string `json:"device_mac,omitempty"`
Ip *string `json:"ip,omitempty"`
PortId *string `json:"port_id,omitempty"`
PortParent *string `json:"port_parent,omitempty"`
Start *string `json:"start,omitempty"`
Vlan *int `json:"vlan,omitempty"`
When *string `json:"when,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WiredClientResponseDeviceMacPortItem represents a WiredClientResponseDeviceMacPortItem struct.
func (WiredClientResponseDeviceMacPortItem) MarshalJSON ¶
func (w WiredClientResponseDeviceMacPortItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WiredClientResponseDeviceMacPortItem. It customizes the JSON marshaling process for WiredClientResponseDeviceMacPortItem objects.
func (WiredClientResponseDeviceMacPortItem) String ¶ added in v0.4.23
func (w WiredClientResponseDeviceMacPortItem) String() string
String implements the fmt.Stringer interface for WiredClientResponseDeviceMacPortItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WiredClientResponseDeviceMacPortItem) UnmarshalJSON ¶
func (w *WiredClientResponseDeviceMacPortItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WiredClientResponseDeviceMacPortItem. It customizes the JSON unmarshaling process for WiredClientResponseDeviceMacPortItem objects.
type WirelessClientSession ¶ added in v0.4.23
type WirelessClientSession struct {
Ap string `json:"ap"`
Band string `json:"band"`
ClientManufacture Optional[string] `json:"client_manufacture"`
Connect int `json:"connect"`
Disconnect int `json:"disconnect"`
Duration float64 `json:"duration"`
ForSite *bool `json:"for_site,omitempty"`
Mac string `json:"mac"`
OrgId uuid.UUID `json:"org_id"`
SiteId uuid.UUID `json:"site_id"`
Ssid string `json:"ssid"`
Tags []string `json:"tags,omitempty"`
// Epoch (seconds)
Timestamp float64 `json:"timestamp"`
WlanId uuid.UUID `json:"wlan_id"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WirelessClientSession represents a WirelessClientSession struct.
func (WirelessClientSession) MarshalJSON ¶ added in v0.4.23
func (w WirelessClientSession) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WirelessClientSession. It customizes the JSON marshaling process for WirelessClientSession objects.
func (WirelessClientSession) String ¶ added in v0.4.23
func (w WirelessClientSession) String() string
String implements the fmt.Stringer interface for WirelessClientSession, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WirelessClientSession) UnmarshalJSON ¶ added in v0.4.23
func (w *WirelessClientSession) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WirelessClientSession. It customizes the JSON unmarshaling process for WirelessClientSession objects.
type Wlan ¶
type Wlan struct {
// Enable coa-immediate-update and address-change-immediate-update on the access profile.
AcctImmediateUpdate *bool `json:"acct_immediate_update,omitempty"`
// How frequently should interim accounting be reported, 60-65535. default is 0 (use one specified in Access-Accept request from RADIUS Server). Very frequent messages can affect the performance of the radius server, 600 and up is recommended when enabled
AcctInterimInterval *int `json:"acct_interim_interval,omitempty"`
// List of RADIUS accounting servers, optional, order matters where the first one is treated as primary
AcctServers []RadiusAcctServer `json:"acct_servers,omitempty"`
// Airwatch wlan settings
Airwatch *WlanAirwatch `json:"airwatch,omitempty"`
// Only applicable when `limit_bcast`==`true`, which allows or disallows ipv6 Neighbor Discovery packets to go through
AllowIpv6Ndp *bool `json:"allow_ipv6_ndp,omitempty"`
// Only applicable when `limit_bcast`==`true`, which allows mDNS / Bonjour packets to go through
AllowMdns *bool `json:"allow_mdns,omitempty"`
// Only applicable when `limit_bcast`==`true`, which allows SSDP
AllowSsdp *bool `json:"allow_ssdp,omitempty"`
// List of device ids
ApIds Optional[[]uuid.UUID] `json:"ap_ids"`
// Bandwidth limiting for apps (applies to up/down)
AppLimit *WlanAppLimit `json:"app_limit,omitempty"`
// APP qos wlan settings
AppQos *WlanAppQos `json:"app_qos,omitempty"`
// enum: `aps`, `site`, `wxtags`
ApplyTo *WlanApplyToEnum `json:"apply_to,omitempty"`
// Whether to enable smart arp filter
ArpFilter *bool `json:"arp_filter,omitempty"`
// Authentication wlan settings
Auth *WlanAuth `json:"auth,omitempty"`
// When ordered, AP will prefer and go back to the first server if possible. enum: `ordered`, `unordered`
AuthServerSelection *WlanAuthServerSelectionEnum `json:"auth_server_selection,omitempty"`
// List of RADIUS authentication servers, at least one is needed if `auth type`==`eap`, order matters where the first one is treated as primary
AuthServers []RadiusAuthServer `json:"auth_servers,omitempty"`
// Optional, up to 48 bytes, will be dynamically generated if not provided. used only for authentication servers
AuthServersNasId Optional[string] `json:"auth_servers_nas_id"`
// Optional, NAS-IP-ADDRESS to use
AuthServersNasIp Optional[string] `json:"auth_servers_nas_ip"`
// Radius auth session retries. Following fast timers are set if "fast_dot1x_timers" knob is enabled. ‘retries’ are set to value of auth_servers_retries. ‘max-requests’ is also set when setting auth_servers_retries and is set to default value to 3.
AuthServersRetries *int `json:"auth_servers_retries,omitempty"`
// Radius auth session timeout. Following fast timers are set if "fast_dot1x_timers" knob is enabled. ‘quite-period’ and ‘transmit-period’ are set to half the value of auth_servers_timeout. ‘supplicant-timeout’ is also set when setting auth_servers_timeout and is set to default value of 10.
AuthServersTimeout *int `json:"auth_servers_timeout,omitempty"`
// `band` is deprecated and kept for backward compatibility. Use bands instead
Band *string `json:"band,omitempty"` // Deprecated
// Whether to enable band_steering, this works only when band==both
BandSteer *bool `json:"band_steer,omitempty"`
// Force dual_band capable client to connect to 5G
BandSteerForceBand5 *bool `json:"band_steer_force_band5,omitempty"`
// List of radios that the wlan should apply to.
Bands []Dot11BandEnum `json:"bands,omitempty"`
// Whether to block the clients in the blacklist (up to first 256 macs)
BlockBlacklistClients *bool `json:"block_blacklist_clients,omitempty"`
// Bonjour gateway wlan settings
Bonjour *WlanBonjour `json:"bonjour,omitempty"`
// Cisco CWA (central web authentication) required RADIUS with COA in order to work. See CWA: https://www.cisco.com/c/en/us/support/docs/security/identity-services-engine/115732-central-web-auth-00.html
CiscoCwa *WlanCiscoCwa `json:"cisco_cwa,omitempty"`
// In kbps, value from 1 to 999000
ClientLimitDown *WlanLimit `json:"client_limit_down,omitempty"`
// If downlink limiting per-client is enabled
ClientLimitDownEnabled *bool `json:"client_limit_down_enabled,omitempty"`
// In kbps, value from 1 to 999000
ClientLimitUp *WlanLimit `json:"client_limit_up,omitempty"`
// If uplink limiting per-client is enabled
ClientLimitUpEnabled *bool `json:"client_limit_up_enabled,omitempty"`
// List of COA (change of authorization) servers, optional
CoaServers []CoaServer `json:"coa_servers,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// Some old WLAN drivers may not be compatible
Disable11ax *bool `json:"disable_11ax,omitempty"`
// To disable Wi-Fi 7 EHT IEs
Disable11be *bool `json:"disable_11be,omitempty"`
// To disable ht or vht rates
DisableHtVhtRates *bool `json:"disable_ht_vht_rates,omitempty"`
// Whether to disable U-APSD
DisableUapsd *bool `json:"disable_uapsd,omitempty"`
// Disable sending v2 roam notification messages
DisableV1RoamNotify *bool `json:"disable_v1_roam_notify,omitempty"`
// Disable sending v2 roam notification messages
DisableV2RoamNotify *bool `json:"disable_v2_roam_notify,omitempty"`
// When any of the following is true, this WLAN will be disabled
// * cannot get IP
// * cannot obtain default gateway
// * cannot reach default gateway
DisableWhenGatewayUnreachable *bool `json:"disable_when_gateway_unreachable,omitempty"`
DisableWhenMxtunnelDown *bool `json:"disable_when_mxtunnel_down,omitempty"`
// Whether to disable WMM
DisableWmm *bool `json:"disable_wmm,omitempty"`
// For radius_group-based DNS server (rewrite DNS request depending on the Group RADIUS server returns)
DnsServerRewrite Optional[WlanDnsServerRewrite] `json:"dns_server_rewrite"`
Dtim *int `json:"dtim,omitempty"`
// For dynamic PSK where we get per_user PSK from Radius. dynamic_psk allows PSK to be selected at runtime depending on context (wlan/site/user/...) thus following configurations are assumed (currently)
// * PSK will come from RADIUS server
// * AP sends client MAC as username and password (i.e. `enable_mac_auth` is assumed)
// * AP sends BSSID:SSID as Caller-Station-ID
// * `auth_servers` is required
// * PSK will come from cloud WLC if source is cloud_psks
// * default_psk will be used if cloud WLC is not available
// * `multi_psk_only` and `psk` is ignored
// * `pairwise` can only be wpa2-ccmp (for now, wpa3 support on the roadmap)
DynamicPsk Optional[WlanDynamicPsk] `json:"dynamic_psk"`
// For 802.1x
DynamicVlan Optional[WlanDynamicVlan] `json:"dynamic_vlan"`
// Enable AP-AP keycaching via multicast
EnableLocalKeycaching *bool `json:"enable_local_keycaching,omitempty"`
// By default, we'd inspect all DHCP packets and drop those unrelated to the wireless client itself in the case where client is a wireless bridge (DHCP packets for other MACs will need to be forwarded), wireless_bridging can be enabled
EnableWirelessBridging *bool `json:"enable_wireless_bridging,omitempty"`
// If the client bridge is doing DHCP on behalf of other devices (L2-NAT), enable dhcp_tracking will cut down DHCP response packets to be forwarded to wireless
EnableWirelessBridgingDhcpTracking *bool `json:"enable_wireless_bridging_dhcp_tracking,omitempty"`
// If this wlan is enabled
Enabled *bool `json:"enabled,omitempty"`
// If set to true, sets default fast-timers with values calculated from ‘auth_servers_timeout’ and ‘auth_server_retries’ .
FastDot1xTimers *bool `json:"fast_dot1x_timers,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// Whether to hide SSID in beacon
HideSsid *bool `json:"hide_ssid,omitempty"`
// Include hostname inside IE in AP beacons / probe responses
HostnameIe *bool `json:"hostname_ie,omitempty"`
// Hostspot 2.0 wlan settings
Hotspot20 *WlanHotspot20 `json:"hotspot20,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
InjectDhcpOption82 *WlanInjectDhcpOption82 `json:"inject_dhcp_option_82,omitempty"`
// where this WLAN will be connected to. enum: `all`, `eth0`, `eth1`, `eth2`, `eth3`, `mxtunnel`, `site_mxedge`, `wxtunnel`
Interface *WlanInterfaceEnum `json:"interface,omitempty"`
// Whether to stop clients to talk to each other
Isolation *bool `json:"isolation,omitempty"`
// If isolation is enabled, whether to deny clients to talk to L2 on the LAN
L2Isolation *bool `json:"l2_isolation,omitempty"`
// Legacy devices requires the Over-DS (for Fast BSS Transition) bit set (while our chip doesn’t support it). Warning! Enabling this will cause problem for iOS devices.
LegacyOverds *bool `json:"legacy_overds,omitempty"`
// Whether to limit broadcast packets going to wireless (i.e. only allow certain bcast packets to go through)
LimitBcast *bool `json:"limit_bcast,omitempty"`
// Limit probe response base on some heuristic rules
LimitProbeResponse *bool `json:"limit_probe_response,omitempty"`
// Max idle time in seconds
MaxIdletime *int `json:"max_idletime,omitempty"`
// Maximum number of client connected to the SSID. `0` means unlimited
MaxNumClients *int `json:"max_num_clients,omitempty"`
MistNac *WlanMistNac `json:"mist_nac,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
MspId *uuid.UUID `json:"msp_id,omitempty"`
// (deprecated, use mxtunnel_ids instead) when `interface`==`mxtunnel`, id of the Mist Tunnel
MxtunnelId *uuid.UUID `json:"mxtunnel_id,omitempty"` // Deprecated
// When `interface`=`mxtunnel`, id of the Mist Tunnel
MxtunnelIds []string `json:"mxtunnel_ids,omitempty"`
// When `interface`=`site_mxedge`, name of the mxtunnel that in mxtunnels under Site Setting
MxtunnelName []string `json:"mxtunnel_name,omitempty"`
// Whether to only allow client to use DNS that we’ve learned from DHCP response
NoStaticDns *bool `json:"no_static_dns,omitempty"`
// Whether to only allow client that we’ve learned from DHCP exchange to talk
NoStaticIp *bool `json:"no_static_ip,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// Portal wlan settings
Portal *WlanPortal `json:"portal,omitempty"`
// List of hostnames without http(s):// (matched by substring)
PortalAllowedHostnames []string `json:"portal_allowed_hostnames,omitempty"`
// List of CIDRs
PortalAllowedSubnets []string `json:"portal_allowed_subnets,omitempty"`
// API secret (auto-generated) that can be used to sign guest authorization requests, only generated when auth is set to `external`
PortalApiSecret Optional[string] `json:"portal_api_secret"`
// List of hostnames without http(s):// (matched by substring), this takes precedence over portal_allowed_hostnames
PortalDeniedHostnames []string `json:"portal_denied_hostnames,omitempty"`
// Url of portal background image
PortalImage Optional[string] `json:"portal_image"`
// URL used in the SSO process, auto-generated when auth is set to `sso`
PortalSsoUrl Optional[string] `json:"portal_sso_url"`
// N.B portal_template will be forked out of wlan objects soon. To fetch portal_template, please query portal_template_url. To update portal_template, use Wlan Portal Template.
PortalTemplateUrl Optional[string] `json:"portal_template_url"`
Qos *WlanQos `json:"qos,omitempty"`
// RadSec settings
Radsec *Radsec `json:"radsec,omitempty"`
// Property key is the RF band. enum: `24`, `5`, `6`
Rateset map[string]WlanDatarates `json:"rateset,omitempty"`
// When different mxcluster is on different subnet, we'd want to disconnect clients (so they'll reconnect and get new IPs)
ReconnectClientsWhenRoamingMxcluster *bool `json:"reconnect_clients_when_roaming_mxcluster,omitempty"`
// enum: `11r`, `OKC`, `NONE`
RoamMode *WlanRoamModeEnum `json:"roam_mode,omitempty"`
// WLAN operating schedule, default is disabled
Schedule *WlanSchedule `json:"schedule,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Whether to exclude this WLAN from SLE metrics
SleExcluded *bool `json:"sle_excluded,omitempty"`
// Name of the SSID
Ssid string `json:"ssid"`
TemplateId Optional[uuid.UUID] `json:"template_id"`
// Url of portal background image thumbnail
Thumbnail Optional[string] `json:"thumbnail"`
// If `auth.type`==`eap` or `auth.type`==`psk`, should only be set for legacy client, such as pre-2004, 802.11b devices
UseEapolV1 *bool `json:"use_eapol_v1,omitempty"`
// If vlan tagging is enabled
VlanEnabled *bool `json:"vlan_enabled,omitempty"`
VlanId Optional[WlanVlanIdWithVariable] `json:"vlan_id"`
VlanIds *WlanVlanIds `json:"vlan_ids,omitempty"`
// Requires `vlan_enabled`==`true` to be set to `true`. Vlan pooling allows AP to place client on different VLAN using a deterministic algorithm
VlanPooling *bool `json:"vlan_pooling,omitempty"`
// In kbps, value from 1 to 999000
WlanLimitDown *WlanLimit `json:"wlan_limit_down,omitempty"`
// If downlink limiting for whole wlan is enabled
WlanLimitDownEnabled *bool `json:"wlan_limit_down_enabled,omitempty"`
// In kbps, value from 1 to 999000
WlanLimitUp *WlanLimit `json:"wlan_limit_up,omitempty"`
// If uplink limiting for whole wlan is enabled
WlanLimitUpEnabled *bool `json:"wlan_limit_up_enabled,omitempty"`
// List of wxtag_ids
WxtagIds Optional[[]uuid.UUID] `json:"wxtag_ids"`
// When `interface`=`wxtunnel`, id of the WXLAN Tunnel
WxtunnelId Optional[string] `json:"wxtunnel_id"`
// When `interface`=`wxtunnel`, remote tunnel identifier
WxtunnelRemoteId Optional[string] `json:"wxtunnel_remote_id"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Wlan represents a Wlan struct. **Note**: portal_template will be forked out of wlan objects soon. To fetch portal_template, please query portal_template_url. To update portal_template, use Wlan Portal Template.
func (Wlan) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Wlan. It customizes the JSON marshaling process for Wlan objects.
func (Wlan) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Wlan, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Wlan) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Wlan. It customizes the JSON unmarshaling process for Wlan objects.
type WlanAirwatch ¶
type WlanAirwatch struct {
// API Key
ApiKey *string `json:"api_key,omitempty"`
// Console URL
ConsoleUrl *string `json:"console_url,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// Password
Password *string `json:"password,omitempty"`
// Username
Username *string `json:"username,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WlanAirwatch represents a WlanAirwatch struct. Airwatch wlan settings
func (WlanAirwatch) MarshalJSON ¶
func (w WlanAirwatch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanAirwatch. It customizes the JSON marshaling process for WlanAirwatch objects.
func (WlanAirwatch) String ¶ added in v0.4.23
func (w WlanAirwatch) String() string
String implements the fmt.Stringer interface for WlanAirwatch, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanAirwatch) UnmarshalJSON ¶
func (w *WlanAirwatch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanAirwatch. It customizes the JSON unmarshaling process for WlanAirwatch objects.
type WlanAppLimit ¶
type WlanAppLimit struct {
// Map from app key to bandwidth in kbps.
// Property key is the app key, defined in Get Application List
Apps map[string]int `json:"apps,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// Map from wxtag_id of Hostname Wxlan Tags to bandwidth in kbps. Property key is the `wxtag_id`
WxtagIds map[string]int `json:"wxtag_ids,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WlanAppLimit represents a WlanAppLimit struct. Bandwidth limiting for apps (applies to up/down)
func (WlanAppLimit) MarshalJSON ¶
func (w WlanAppLimit) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanAppLimit. It customizes the JSON marshaling process for WlanAppLimit objects.
func (WlanAppLimit) String ¶ added in v0.4.23
func (w WlanAppLimit) String() string
String implements the fmt.Stringer interface for WlanAppLimit, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanAppLimit) UnmarshalJSON ¶
func (w *WlanAppLimit) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanAppLimit. It customizes the JSON unmarshaling process for WlanAppLimit objects.
type WlanAppQos ¶
type WlanAppQos struct {
Apps map[string]WlanAppQosAppsProperties `json:"apps,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
Others []WlanAppQosOthersItem `json:"others,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WlanAppQos represents a WlanAppQos struct. APP qos wlan settings
func (WlanAppQos) MarshalJSON ¶
func (w WlanAppQos) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanAppQos. It customizes the JSON marshaling process for WlanAppQos objects.
func (WlanAppQos) String ¶ added in v0.4.23
func (w WlanAppQos) String() string
String implements the fmt.Stringer interface for WlanAppQos, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanAppQos) UnmarshalJSON ¶
func (w *WlanAppQos) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanAppQos. It customizes the JSON unmarshaling process for WlanAppQos objects.
type WlanAppQosAppsProperties ¶
type WlanAppQosAppsProperties struct {
// DSCP value range between 0 and 63
Dscp *Dscp `json:"dscp,omitempty"`
// Subnet filter is not required but helps AP to only inspect certain traffic (thus reducing AP load)
DstSubnet *string `json:"dst_subnet,omitempty"`
// Subnet filter is not required but helps AP to only inspect certain traffic (thus reducing AP load)
SrcSubnet *string `json:"src_subnet,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WlanAppQosAppsProperties represents a WlanAppQosAppsProperties struct.
func (WlanAppQosAppsProperties) MarshalJSON ¶
func (w WlanAppQosAppsProperties) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanAppQosAppsProperties. It customizes the JSON marshaling process for WlanAppQosAppsProperties objects.
func (WlanAppQosAppsProperties) String ¶ added in v0.4.23
func (w WlanAppQosAppsProperties) String() string
String implements the fmt.Stringer interface for WlanAppQosAppsProperties, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanAppQosAppsProperties) UnmarshalJSON ¶
func (w *WlanAppQosAppsProperties) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanAppQosAppsProperties. It customizes the JSON unmarshaling process for WlanAppQosAppsProperties objects.
type WlanAppQosOthersItem ¶
type WlanAppQosOthersItem struct {
// DSCP value range between 0 and 63
Dscp *Dscp `json:"dscp,omitempty"`
DstSubnet *string `json:"dst_subnet,omitempty"`
PortRanges *string `json:"port_ranges,omitempty"`
Protocol *string `json:"protocol,omitempty"`
SrcSubnet *string `json:"src_subnet,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WlanAppQosOthersItem represents a WlanAppQosOthersItem struct.
func (WlanAppQosOthersItem) MarshalJSON ¶
func (w WlanAppQosOthersItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanAppQosOthersItem. It customizes the JSON marshaling process for WlanAppQosOthersItem objects.
func (WlanAppQosOthersItem) String ¶ added in v0.4.23
func (w WlanAppQosOthersItem) String() string
String implements the fmt.Stringer interface for WlanAppQosOthersItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanAppQosOthersItem) UnmarshalJSON ¶
func (w *WlanAppQosOthersItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanAppQosOthersItem. It customizes the JSON unmarshaling process for WlanAppQosOthersItem objects.
type WlanApplyToEnum ¶
type WlanApplyToEnum string
WlanApplyToEnum is a string enum. enum: `aps`, `site`, `wxtags`
const ( WlanApplyToEnum_APS WlanApplyToEnum = "aps" WlanApplyToEnum_SITE WlanApplyToEnum = "site" WlanApplyToEnum_WXTAGS WlanApplyToEnum = "wxtags" )
type WlanAuth ¶
type WlanAuth struct {
// SAE anti-clogging token threshold
AnticlogThreshold *int `json:"anticlog_threshold,omitempty"`
// Whether to trigger EAP reauth when the session ends
EapReauth *bool `json:"eap_reauth,omitempty"`
// Whether to enable MAC Auth, uses the same auth_servers
EnableMacAuth *bool `json:"enable_mac_auth,omitempty"`
// When `type`==`wep`
KeyIdx *int `json:"key_idx,omitempty"`
// When type=wep, four 10-character or 26-character hex string, null can be used. All keys, if provided, have to be in the same length
Keys []string `json:"keys,omitempty"`
// When `type`==`psk`, whether to only use multi_psk
MultiPskOnly *bool `json:"multi_psk_only,omitempty"`
// if `type`==`open`. enum: `disabled`, `enabled` (means transition mode), `required`
Owe *WlanAuthOweEnum `json:"owe,omitempty"`
// When `type`=`psk` or `type`=`eap`, one or more of `wpa1-ccmp`, `wpa1-tkip`, `wpa2-ccmp`, `wpa2-tkip`, `wpa3`
Pairwise []WlanAuthPairwiseItemEnum `json:"pairwise,omitempty"`
// When `multi_psk_only`==`true`, whether private wlan is enabled
PrivateWlan *bool `json:"private_wlan,omitempty"`
// When `type`==`psk`, 8-64 characters, or 64 hex characters
Psk Optional[string] `json:"psk"`
// enum: `eap`, `eap192`, `open`, `psk`, `psk-tkip`, `psk-wpa2-tkip`, `wep`
Type WlanAuthTypeEnum `json:"type"`
// Enable WEP as secondary auth
WepAsSecondaryAuth *bool `json:"wep_as_secondary_auth,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WlanAuth represents a WlanAuth struct. Authentication wlan settings
func (WlanAuth) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for WlanAuth. It customizes the JSON marshaling process for WlanAuth objects.
func (WlanAuth) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for WlanAuth, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanAuth) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for WlanAuth. It customizes the JSON unmarshaling process for WlanAuth objects.
type WlanAuthOweEnum ¶
type WlanAuthOweEnum string
WlanAuthOweEnum is a string enum. if `type`==`open`. enum: `disabled`, `enabled` (means transition mode), `required`
const ( WlanAuthOweEnum_DISABLED WlanAuthOweEnum = "disabled" WlanAuthOweEnum_ENABLED WlanAuthOweEnum = "enabled" WlanAuthOweEnum_REQUIRED WlanAuthOweEnum = "required" )
type WlanAuthPairwiseItemEnum ¶
type WlanAuthPairwiseItemEnum string
WlanAuthPairwiseItemEnum is a string enum. enum: `wpa1-ccmp`, `wpa1-tkip`, `wpa2-ccmp`, `wpa2-tkip`, `wpa3`
const ( WlanAuthPairwiseItemEnum_WPA1CCMP WlanAuthPairwiseItemEnum = "wpa1-ccmp" WlanAuthPairwiseItemEnum_WPA1TKIP WlanAuthPairwiseItemEnum = "wpa1-tkip" WlanAuthPairwiseItemEnum_WPA2CCMP WlanAuthPairwiseItemEnum = "wpa2-ccmp" WlanAuthPairwiseItemEnum_WPA2TKIP WlanAuthPairwiseItemEnum = "wpa2-tkip" WlanAuthPairwiseItemEnum_WPA3 WlanAuthPairwiseItemEnum = "wpa3" )
type WlanAuthServerSelectionEnum ¶
type WlanAuthServerSelectionEnum string
WlanAuthServerSelectionEnum is a string enum. When ordered, AP will prefer and go back to the first server if possible. enum: `ordered`, `unordered`
const ( WlanAuthServerSelectionEnum_ORDERED WlanAuthServerSelectionEnum = "ordered" WlanAuthServerSelectionEnum_UNORDERED WlanAuthServerSelectionEnum = "unordered" )
type WlanAuthTypeEnum ¶
type WlanAuthTypeEnum string
WlanAuthTypeEnum is a string enum. enum: `eap`, `eap192`, `open`, `psk`, `psk-tkip`, `psk-wpa2-tkip`, `wep`
const ( WlanAuthTypeEnum_EAP WlanAuthTypeEnum = "eap" WlanAuthTypeEnum_EAP192 WlanAuthTypeEnum = "eap192" WlanAuthTypeEnum_OPEN WlanAuthTypeEnum = "open" WlanAuthTypeEnum_PSK WlanAuthTypeEnum = "psk" WlanAuthTypeEnum_PSKTKIP WlanAuthTypeEnum = "psk-tkip" WlanAuthTypeEnum_PSKWPA2TKIP WlanAuthTypeEnum = "psk-wpa2-tkip" WlanAuthTypeEnum_WEP WlanAuthTypeEnum = "wep" )
type WlanBonjour ¶
type WlanBonjour struct {
// List or Comma separated list of additional VLAN IDs (on the LAN side or from other WLANs) should we be forwarding bonjour queries/responses
AdditionalVlanIds *AdditionalVlanIds `json:"additional_vlan_ids,omitempty"`
// Whether to enable bonjour for this WLAN. Once enabled, limit_bcast is assumed true, allow_mdns is assumed false
Enabled *bool `json:"enabled,omitempty"`
// What services are allowed.
// Property key is the service name
Services map[string]WlanBonjourServiceProperties `json:"services,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WlanBonjour represents a WlanBonjour struct. Bonjour gateway wlan settings
func (WlanBonjour) MarshalJSON ¶
func (w WlanBonjour) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanBonjour. It customizes the JSON marshaling process for WlanBonjour objects.
func (WlanBonjour) String ¶ added in v0.4.23
func (w WlanBonjour) String() string
String implements the fmt.Stringer interface for WlanBonjour, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanBonjour) UnmarshalJSON ¶
func (w *WlanBonjour) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanBonjour. It customizes the JSON unmarshaling process for WlanBonjour objects.
type WlanBonjourServiceProperties ¶
type WlanBonjourServiceProperties struct {
// Whether to prevent wireless clients to discover bonjour devices on the same WLAN
DisableLocal *bool `json:"disable_local,omitempty"`
// Optional, if the service is further restricted for certain RADIUS groups
RadiusGroups []string `json:"radius_groups,omitempty"`
// how bonjour services should be discovered for the same WLAN. enum: `same_ap`, `same_map`, `same_site`
Scope *WlanBonjourServicePropertiesScopeEnum `json:"scope,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WlanBonjourServiceProperties represents a WlanBonjourServiceProperties struct.
func (WlanBonjourServiceProperties) MarshalJSON ¶
func (w WlanBonjourServiceProperties) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanBonjourServiceProperties. It customizes the JSON marshaling process for WlanBonjourServiceProperties objects.
func (WlanBonjourServiceProperties) String ¶ added in v0.4.23
func (w WlanBonjourServiceProperties) String() string
String implements the fmt.Stringer interface for WlanBonjourServiceProperties, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanBonjourServiceProperties) UnmarshalJSON ¶
func (w *WlanBonjourServiceProperties) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanBonjourServiceProperties. It customizes the JSON unmarshaling process for WlanBonjourServiceProperties objects.
type WlanBonjourServicePropertiesScopeEnum ¶
type WlanBonjourServicePropertiesScopeEnum string
WlanBonjourServicePropertiesScopeEnum is a string enum. how bonjour services should be discovered for the same WLAN. enum: `same_ap`, `same_map`, `same_site`
const ( WlanBonjourServicePropertiesScopeEnum_SAMEAP WlanBonjourServicePropertiesScopeEnum = "same_ap" WlanBonjourServicePropertiesScopeEnum_SAMEMAP WlanBonjourServicePropertiesScopeEnum = "same_map" WlanBonjourServicePropertiesScopeEnum_SAMESITE WlanBonjourServicePropertiesScopeEnum = "same_site" )
type WlanCiscoCwa ¶
type WlanCiscoCwa struct {
// List of hostnames without http(s):// (matched by substring)
AllowedHostnames []string `json:"allowed_hostnames,omitempty"`
// List of CIDRs
AllowedSubnets []string `json:"allowed_subnets,omitempty"`
// List of blocked CIDRs
BlockedSubnets []string `json:"blocked_subnets,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WlanCiscoCwa represents a WlanCiscoCwa struct. Cisco CWA (central web authentication) required RADIUS with COA in order to work. See CWA: https://www.cisco.com/c/en/us/support/docs/security/identity-services-engine/115732-central-web-auth-00.html
func (WlanCiscoCwa) MarshalJSON ¶
func (w WlanCiscoCwa) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanCiscoCwa. It customizes the JSON marshaling process for WlanCiscoCwa objects.
func (WlanCiscoCwa) String ¶ added in v0.4.23
func (w WlanCiscoCwa) String() string
String implements the fmt.Stringer interface for WlanCiscoCwa, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanCiscoCwa) UnmarshalJSON ¶
func (w *WlanCiscoCwa) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanCiscoCwa. It customizes the JSON unmarshaling process for WlanCiscoCwa objects.
type WlanDatarates ¶
type WlanDatarates struct {
// If `template`==`custom`. EHT MCS bitmasks for 4 streams (16-bit for each stream, MCS0 is least significant bit)
Eht Optional[string] `json:"eht"`
// If `template`==`custom`. HE MCS bitmasks for 4 streams (16-bit for each stream, MCS0 is least significant bit
He Optional[string] `json:"he"`
// If `template`==`custom`. MCS bitmasks for 4 streams (16-bit for each stream, MCS0 is least significant bit), e.g. 00ff 00f0 001f limits HT rates to MCS 0-7 for 1 stream, MCS 4-7 for 2 stream (i.e. MCS 12-15), MCS 1-5 for 3 stream (i.e. MCS 16-20)
Ht Optional[string] `json:"ht"`
// If `template`==`custom`. List of supported rates (IE=1) and extended supported rates (IE=50) for custom template, append ‘b’ at the end to indicate a rate being basic/mandatory. If `template`==`custom` is configured and legacy does not define at least one basic rate, it will use `no-legacy` default values
Legacy []WlanDataratesLegacyItemEnum `json:"legacy,omitempty"`
// Minimum RSSI for client to connect, 0 means not enforcing
MinRssi *int `json:"min_rssi,omitempty"`
// Data Rates template to apply. enum:
// * `no-legacy`: no 11b
// * `compatible`: all, like before, default setting that Broadcom/Atheros used
// * `legacy-only`: disable 802.11n and 802.11ac
// * `high-density`: no 11b, no low rates
// * `custom`: user defined
Template Optional[WlanDataratesTemplateEnum] `json:"template"`
// If `template`==`custom`. MCS bitmasks for 4 streams (16-bit for each stream, MCS0 is least significant bit), e.g. 03ff 01ff 00ff limits VHT rates to MCS 0-9 for 1 stream, MCS 0-8 for 2 streams, and MCS 0-7 for 3 streams.
Vht Optional[string] `json:"vht"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WlanDatarates represents a WlanDatarates struct. Data rates wlan settings
func (WlanDatarates) MarshalJSON ¶
func (w WlanDatarates) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanDatarates. It customizes the JSON marshaling process for WlanDatarates objects.
func (WlanDatarates) String ¶ added in v0.4.23
func (w WlanDatarates) String() string
String implements the fmt.Stringer interface for WlanDatarates, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanDatarates) UnmarshalJSON ¶
func (w *WlanDatarates) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanDatarates. It customizes the JSON unmarshaling process for WlanDatarates objects.
type WlanDataratesLegacyItemEnum ¶
type WlanDataratesLegacyItemEnum string
WlanDataratesLegacyItemEnum is a string enum. enum: `1`, `11`, `11b`, `12`, `12b`, `18`, `18b`, `1b`, `2`, `24`, `24b`, `2b`, `36`, `36b`, `48`, `48b`, `5.5`, `5.5b`, `54`, `54b`, `6`, `6b`, `9`, `9b`
const ( WlanDataratesLegacyItemEnum_ENUM1 WlanDataratesLegacyItemEnum = "1" WlanDataratesLegacyItemEnum_ENUM11 WlanDataratesLegacyItemEnum = "11" WlanDataratesLegacyItemEnum_ENUM11B WlanDataratesLegacyItemEnum = "11b" WlanDataratesLegacyItemEnum_ENUM12 WlanDataratesLegacyItemEnum = "12" WlanDataratesLegacyItemEnum_ENUM12B WlanDataratesLegacyItemEnum = "12b" WlanDataratesLegacyItemEnum_ENUM18 WlanDataratesLegacyItemEnum = "18" WlanDataratesLegacyItemEnum_ENUM18B WlanDataratesLegacyItemEnum = "18b" WlanDataratesLegacyItemEnum_ENUM1B WlanDataratesLegacyItemEnum = "1b" WlanDataratesLegacyItemEnum_ENUM2 WlanDataratesLegacyItemEnum = "2" WlanDataratesLegacyItemEnum_ENUM24 WlanDataratesLegacyItemEnum = "24" WlanDataratesLegacyItemEnum_ENUM24B WlanDataratesLegacyItemEnum = "24b" WlanDataratesLegacyItemEnum_ENUM2B WlanDataratesLegacyItemEnum = "2b" WlanDataratesLegacyItemEnum_ENUM36 WlanDataratesLegacyItemEnum = "36" WlanDataratesLegacyItemEnum_ENUM36B WlanDataratesLegacyItemEnum = "36b" WlanDataratesLegacyItemEnum_ENUM48 WlanDataratesLegacyItemEnum = "48" WlanDataratesLegacyItemEnum_ENUM48B WlanDataratesLegacyItemEnum = "48b" WlanDataratesLegacyItemEnum_ENUM55 WlanDataratesLegacyItemEnum = "5.5" WlanDataratesLegacyItemEnum_ENUM55B WlanDataratesLegacyItemEnum = "5.5b" WlanDataratesLegacyItemEnum_ENUM54 WlanDataratesLegacyItemEnum = "54" WlanDataratesLegacyItemEnum_ENUM54B WlanDataratesLegacyItemEnum = "54b" WlanDataratesLegacyItemEnum_ENUM6 WlanDataratesLegacyItemEnum = "6" WlanDataratesLegacyItemEnum_ENUM6B WlanDataratesLegacyItemEnum = "6b" WlanDataratesLegacyItemEnum_ENUM9 WlanDataratesLegacyItemEnum = "9" WlanDataratesLegacyItemEnum_ENUM9B WlanDataratesLegacyItemEnum = "9b" )
type WlanDataratesTemplateEnum ¶ added in v0.4.10
type WlanDataratesTemplateEnum string
WlanDataratesTemplateEnum is a string enum. Data Rates template to apply. enum: * `no-legacy`: no 11b * `compatible`: all, like before, default setting that Broadcom/Atheros used * `legacy-only`: disable 802.11n and 802.11ac * `high-density`: no 11b, no low rates * `custom`: user defined
const ( WlanDataratesTemplateEnum_COMPATIBLE WlanDataratesTemplateEnum = "compatible" WlanDataratesTemplateEnum_LEGACYONLY WlanDataratesTemplateEnum = "legacy-only" WlanDataratesTemplateEnum_CUSTOM WlanDataratesTemplateEnum = "custom" WlanDataratesTemplateEnum_NOLEGACY WlanDataratesTemplateEnum = "no-legacy" WlanDataratesTemplateEnum_HIGHDENSITY WlanDataratesTemplateEnum = "high-density" )
type WlanDnsServerRewrite ¶
type WlanDnsServerRewrite struct {
Enabled *bool `json:"enabled,omitempty"`
// Map between radius_group and the desired DNS server (IPv4 only). Property key is the RADIUS group, property value is the desired DNS Server
RadiusGroups map[string]string `json:"radius_groups,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WlanDnsServerRewrite represents a WlanDnsServerRewrite struct. For radius_group-based DNS server (rewrite DNS request depending on the Group RADIUS server returns)
func (WlanDnsServerRewrite) MarshalJSON ¶
func (w WlanDnsServerRewrite) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanDnsServerRewrite. It customizes the JSON marshaling process for WlanDnsServerRewrite objects.
func (WlanDnsServerRewrite) String ¶ added in v0.4.23
func (w WlanDnsServerRewrite) String() string
String implements the fmt.Stringer interface for WlanDnsServerRewrite, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanDnsServerRewrite) UnmarshalJSON ¶
func (w *WlanDnsServerRewrite) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanDnsServerRewrite. It customizes the JSON unmarshaling process for WlanDnsServerRewrite objects.
type WlanDynamicPsk ¶
type WlanDynamicPsk struct {
// Default PSK to use if cloud WLC is not available, 8-63 characters
DefaultPsk *string `json:"default_psk,omitempty"`
DefaultVlanId *VlanIdWithVariable `json:"default_vlan_id,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// When 11r is enabled, we'll try to use the cached PMK, this can be disabled. `false` means auto
ForceLookup *bool `json:"force_lookup,omitempty"`
// enum: `cloud_psks`, `radius`
Source *DynamicPskSourceEnum `json:"source,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WlanDynamicPsk represents a WlanDynamicPsk struct. For dynamic PSK where we get per_user PSK from Radius. dynamic_psk allows PSK to be selected at runtime depending on context (wlan/site/user/...) thus following configurations are assumed (currently) * PSK will come from RADIUS server * AP sends client MAC as username and password (i.e. `enable_mac_auth` is assumed) * AP sends BSSID:SSID as Caller-Station-ID * `auth_servers` is required * PSK will come from cloud WLC if source is cloud_psks * default_psk will be used if cloud WLC is not available * `multi_psk_only` and `psk` is ignored * `pairwise` can only be wpa2-ccmp (for now, wpa3 support on the roadmap)
func (WlanDynamicPsk) MarshalJSON ¶
func (w WlanDynamicPsk) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanDynamicPsk. It customizes the JSON marshaling process for WlanDynamicPsk objects.
func (WlanDynamicPsk) String ¶ added in v0.4.23
func (w WlanDynamicPsk) String() string
String implements the fmt.Stringer interface for WlanDynamicPsk, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanDynamicPsk) UnmarshalJSON ¶
func (w *WlanDynamicPsk) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanDynamicPsk. It customizes the JSON unmarshaling process for WlanDynamicPsk objects.
type WlanDynamicVlan ¶
type WlanDynamicVlan struct {
// vlan_id to use when there’s no match from RADIUS
DefaultVlanId *WlanDynamicVlanDefaultVlanIdDeprecated `json:"default_vlan_id,omitempty"` // Deprecated
// Default VLAN ID(s) can be a number, a range of VLAN IDs, a variable or multiple numbers, ranges or variables as a VLAN pool. Default VLAN as a pool of VLANS requires 0.14.x or newer firmware
DefaultVlanIds []WlanDynamicVlanDefaultVlanId `json:"default_vlan_ids,omitempty"`
// Requires `vlan_enabled`==`true` to be set to `true`. Whether to enable dynamic vlan
Enabled *bool `json:"enabled,omitempty"`
// VLAN_ids to be locally bridged
LocalVlanIds []VlanIdWithVariable `json:"local_vlan_ids,omitempty"`
// standard (using Tunnel-Private-Group-ID, widely supported), airespace-interface-name (Airespace/Cisco). enum: `airespace-interface-name`, `standard`
Type *WlanDynamicVlanTypeEnum `json:"type,omitempty"`
// Map between vlan_id (as string) to airespace interface names (comma-separated) or null for standard mapping
// * if `dynamic_vlan.type`==`standard`, property key is the Vlan ID and property value is \"\"
// * if `dynamic_vlan.type`==`airespace-interface-name`, property key is the Vlan ID and property value is the Airespace Interface Name
Vlans map[string]string `json:"vlans,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WlanDynamicVlan represents a WlanDynamicVlan struct. For 802.1x
func (WlanDynamicVlan) MarshalJSON ¶
func (w WlanDynamicVlan) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanDynamicVlan. It customizes the JSON marshaling process for WlanDynamicVlan objects.
func (WlanDynamicVlan) String ¶ added in v0.4.23
func (w WlanDynamicVlan) String() string
String implements the fmt.Stringer interface for WlanDynamicVlan, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanDynamicVlan) UnmarshalJSON ¶
func (w *WlanDynamicVlan) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanDynamicVlan. It customizes the JSON unmarshaling process for WlanDynamicVlan objects.
type WlanDynamicVlanDefaultVlanId ¶ added in v0.2.20
type WlanDynamicVlanDefaultVlanId struct {
// contains filtered or unexported fields
}
WlanDynamicVlanDefaultVlanId represents a WlanDynamicVlanDefaultVlanId struct. VLAN ID, VLAN range or variable to use when there’s no match from RADIUS
func (*WlanDynamicVlanDefaultVlanId) AsNumber ¶ added in v0.2.20
func (w *WlanDynamicVlanDefaultVlanId) AsNumber() ( *int, bool)
func (*WlanDynamicVlanDefaultVlanId) AsString ¶ added in v0.2.20
func (w *WlanDynamicVlanDefaultVlanId) AsString() ( *string, bool)
func (WlanDynamicVlanDefaultVlanId) MarshalJSON ¶ added in v0.2.20
func (w WlanDynamicVlanDefaultVlanId) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanDynamicVlanDefaultVlanId. It customizes the JSON marshaling process for WlanDynamicVlanDefaultVlanId objects.
func (WlanDynamicVlanDefaultVlanId) String ¶ added in v0.2.20
func (w WlanDynamicVlanDefaultVlanId) String() string
String implements the fmt.Stringer interface for WlanDynamicVlanDefaultVlanId, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanDynamicVlanDefaultVlanId) UnmarshalJSON ¶ added in v0.2.20
func (w *WlanDynamicVlanDefaultVlanId) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanDynamicVlanDefaultVlanId. It customizes the JSON unmarshaling process for WlanDynamicVlanDefaultVlanId objects.
type WlanDynamicVlanDefaultVlanIdDeprecated ¶ added in v0.2.38
type WlanDynamicVlanDefaultVlanIdDeprecated struct {
// contains filtered or unexported fields
}
WlanDynamicVlanDefaultVlanIdDeprecated represents a WlanDynamicVlanDefaultVlanIdDeprecated struct. vlan_id to use when there’s no match from RADIUS
func (*WlanDynamicVlanDefaultVlanIdDeprecated) AsNumber ¶ added in v0.2.38
func (w *WlanDynamicVlanDefaultVlanIdDeprecated) AsNumber() ( *int, bool)
func (*WlanDynamicVlanDefaultVlanIdDeprecated) AsString ¶ added in v0.2.38
func (w *WlanDynamicVlanDefaultVlanIdDeprecated) AsString() ( *string, bool)
func (WlanDynamicVlanDefaultVlanIdDeprecated) MarshalJSON ¶ added in v0.2.38
func (w WlanDynamicVlanDefaultVlanIdDeprecated) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanDynamicVlanDefaultVlanIdDeprecated. It customizes the JSON marshaling process for WlanDynamicVlanDefaultVlanIdDeprecated objects.
func (WlanDynamicVlanDefaultVlanIdDeprecated) String ¶ added in v0.2.38
func (w WlanDynamicVlanDefaultVlanIdDeprecated) String() string
String implements the fmt.Stringer interface for WlanDynamicVlanDefaultVlanIdDeprecated, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanDynamicVlanDefaultVlanIdDeprecated) UnmarshalJSON ¶ added in v0.2.38
func (w *WlanDynamicVlanDefaultVlanIdDeprecated) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanDynamicVlanDefaultVlanIdDeprecated. It customizes the JSON unmarshaling process for WlanDynamicVlanDefaultVlanIdDeprecated objects.
type WlanDynamicVlanTypeEnum ¶
type WlanDynamicVlanTypeEnum string
WlanDynamicVlanTypeEnum is a string enum. standard (using Tunnel-Private-Group-ID, widely supported), airespace-interface-name (Airespace/Cisco). enum: `airespace-interface-name`, `standard`
const ( WlanDynamicVlanTypeEnum_AIRESPACEINTERFACENAME WlanDynamicVlanTypeEnum = "airespace-interface-name" WlanDynamicVlanTypeEnum_STANDARD WlanDynamicVlanTypeEnum = "standard" )
type WlanHotspot20 ¶
type WlanHotspot20 struct {
DomainName []string `json:"domain_name,omitempty"`
// Whether to enable hotspot 2.0 config
Enabled *bool `json:"enabled,omitempty"`
NaiRealms []string `json:"nai_realms,omitempty"`
// List of operators to support
Operators []WlanHotspot20OperatorsItemEnum `json:"operators,omitempty"`
Rcoi []string `json:"rcoi,omitempty"`
// Venue name, default is site name
VenueName *string `json:"venue_name,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WlanHotspot20 represents a WlanHotspot20 struct. Hostspot 2.0 wlan settings
func (WlanHotspot20) MarshalJSON ¶
func (w WlanHotspot20) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanHotspot20. It customizes the JSON marshaling process for WlanHotspot20 objects.
func (WlanHotspot20) String ¶ added in v0.4.23
func (w WlanHotspot20) String() string
String implements the fmt.Stringer interface for WlanHotspot20, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanHotspot20) UnmarshalJSON ¶
func (w *WlanHotspot20) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanHotspot20. It customizes the JSON unmarshaling process for WlanHotspot20 objects.
type WlanHotspot20OperatorsItemEnum ¶
type WlanHotspot20OperatorsItemEnum string
WlanHotspot20OperatorsItemEnum is a string enum. enum: `ameriband`, `att`, `boingo`, `charter`, `eduroam`, `global_reach`, `google`, `hughes_systique`, `openroaming_legacy`, `openroaming_settled`, `openroaming_settlement_free`, `single_digits`, `tmobile`, `verizon`
const ( WlanHotspot20OperatorsItemEnum_AMERIBAND WlanHotspot20OperatorsItemEnum = "ameriband" WlanHotspot20OperatorsItemEnum_ATT WlanHotspot20OperatorsItemEnum = "att" WlanHotspot20OperatorsItemEnum_BOINGO WlanHotspot20OperatorsItemEnum = "boingo" WlanHotspot20OperatorsItemEnum_CHARTER WlanHotspot20OperatorsItemEnum = "charter" WlanHotspot20OperatorsItemEnum_EDUROAM WlanHotspot20OperatorsItemEnum = "eduroam" WlanHotspot20OperatorsItemEnum_GLOBALREACH WlanHotspot20OperatorsItemEnum = "global_reach" WlanHotspot20OperatorsItemEnum_GOOGLE WlanHotspot20OperatorsItemEnum = "google" WlanHotspot20OperatorsItemEnum_HUGHESSYSTIQUE WlanHotspot20OperatorsItemEnum = "hughes_systique" WlanHotspot20OperatorsItemEnum_OPENROAMINGLEGACY WlanHotspot20OperatorsItemEnum = "openroaming_legacy" WlanHotspot20OperatorsItemEnum_OPENROAMINGSETTLED WlanHotspot20OperatorsItemEnum = "openroaming_settled" WlanHotspot20OperatorsItemEnum_OPENROAMINGSETTLEMENTFREE WlanHotspot20OperatorsItemEnum = "openroaming_settlement_free" WlanHotspot20OperatorsItemEnum_SINGLEDIGITS WlanHotspot20OperatorsItemEnum = "single_digits" WlanHotspot20OperatorsItemEnum_TMOBILE WlanHotspot20OperatorsItemEnum = "tmobile" WlanHotspot20OperatorsItemEnum_VERIZON WlanHotspot20OperatorsItemEnum = "verizon" )
type WlanInjectDhcpOption82 ¶
type WlanInjectDhcpOption82 struct {
// Information to set in the `circuit_id` field of the DHCP Option 82. It is possible to use static string or the following variables (e.g. `{{SSID}}:{{AP_MAC}}`):
// * {{AP_MAC}}
// * {{AP_MAC_DASHED}}
// * {{AP_MODEL}}
// * {{AP_NAME}}
// * {{SITE_NAME}}
// * {{SSID}}
CircuitId *string `json:"circuit_id,omitempty"`
// Whether to inject option 82 when forwarding DHCP packets
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WlanInjectDhcpOption82 represents a WlanInjectDhcpOption82 struct.
func (WlanInjectDhcpOption82) MarshalJSON ¶
func (w WlanInjectDhcpOption82) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanInjectDhcpOption82. It customizes the JSON marshaling process for WlanInjectDhcpOption82 objects.
func (WlanInjectDhcpOption82) String ¶ added in v0.4.23
func (w WlanInjectDhcpOption82) String() string
String implements the fmt.Stringer interface for WlanInjectDhcpOption82, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanInjectDhcpOption82) UnmarshalJSON ¶
func (w *WlanInjectDhcpOption82) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanInjectDhcpOption82. It customizes the JSON unmarshaling process for WlanInjectDhcpOption82 objects.
type WlanInterfaceEnum ¶
type WlanInterfaceEnum string
WlanInterfaceEnum is a string enum. where this WLAN will be connected to. enum: `all`, `eth0`, `eth1`, `eth2`, `eth3`, `mxtunnel`, `site_mxedge`, `wxtunnel`
const ( WlanInterfaceEnum_ALL WlanInterfaceEnum = "all" WlanInterfaceEnum_ETH0 WlanInterfaceEnum = "eth0" WlanInterfaceEnum_ETH1 WlanInterfaceEnum = "eth1" WlanInterfaceEnum_ETH2 WlanInterfaceEnum = "eth2" WlanInterfaceEnum_ETH3 WlanInterfaceEnum = "eth3" WlanInterfaceEnum_MXTUNNEL WlanInterfaceEnum = "mxtunnel" WlanInterfaceEnum_SITEMXEDGE WlanInterfaceEnum = "site_mxedge" WlanInterfaceEnum_WXTUNNEL WlanInterfaceEnum = "wxtunnel" )
type WlanLimit ¶ added in v0.4.72
type WlanLimit struct {
// contains filtered or unexported fields
}
WlanLimit represents a WlanLimit struct. In kbps, value from 1 to 999000
func (WlanLimit) MarshalJSON ¶ added in v0.4.72
MarshalJSON implements the json.Marshaler interface for WlanLimit. It customizes the JSON marshaling process for WlanLimit objects.
func (WlanLimit) String ¶ added in v0.4.72
String implements the fmt.Stringer interface for WlanLimit, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanLimit) UnmarshalJSON ¶ added in v0.4.72
UnmarshalJSON implements the json.Unmarshaler interface for WlanLimit. It customizes the JSON unmarshaling process for WlanLimit objects.
type WlanMistNac ¶
type WlanMistNac struct {
// How frequently should interim accounting be reported, 60-65535. default is 0 (use one specified in Access-Accept request from Server). Very frequent messages can affect the performance of the radius server, 600 and up is recommended when enabled.
AcctInterimInterval *int `json:"acct_interim_interval,omitempty"`
// Radius auth session retries. Following fast timers are set if `fast_dot1x_timers` knob is enabled. "retries" are set to value of `auth_servers_timeout`. "max-requests" is also set when setting `auth_servers_retries` is set to default value to 3.
AuthServersRetries *int `json:"auth_servers_retries,omitempty"`
// Radius auth session timeout. Following fast timers are set if `fast_dot1x_timers` knob is enabled. "quite-period" and "transmit-period" are set to half the value of `auth_servers_timeout`. "supplicant-timeout" is also set when setting `auth_servers_timeout` is set to default value of 10.
AuthServersTimeout *int `json:"auth_servers_timeout,omitempty"`
// Allows a RADIUS server to dynamically modify the authorization status of a user session.
CoaEnabled *bool `json:"coa_enabled,omitempty"`
// the communication port used for “Change of Authorization” (CoA) messages
CoaPort *int `json:"coa_port,omitempty"`
// When enabled:
// * `auth_servers` is ignored
// * `acct_servers` is ignored
// * `auth_servers_*` are ignored
// * `coa_servers` is ignored
// * `radsec` is ignored
// * `coa_enabled` is assumed
Enabled *bool `json:"enabled,omitempty"`
// If set to true, sets default fast-timers with values calculated from `auth_servers_timeout` and `auth_server_retries`.
FastDot1xTimers *bool `json:"fast_dot1x_timers,omitempty"`
// Which network the mist nac server resides in
Network Optional[string] `json:"network"`
// In case there is a static IP for this network, we can specify it using source ip
SourceIp Optional[string] `json:"source_ip"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WlanMistNac represents a WlanMistNac struct.
func (WlanMistNac) MarshalJSON ¶
func (w WlanMistNac) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanMistNac. It customizes the JSON marshaling process for WlanMistNac objects.
func (WlanMistNac) String ¶ added in v0.4.23
func (w WlanMistNac) String() string
String implements the fmt.Stringer interface for WlanMistNac, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanMistNac) UnmarshalJSON ¶
func (w *WlanMistNac) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanMistNac. It customizes the JSON unmarshaling process for WlanMistNac objects.
type WlanPortal ¶
type WlanPortal struct {
// Optional if `amazon_enabled`==`true`. Whether to allow guest to connect to other Guest WLANs (with different `WLAN.ssid`) of same org without reauthentication (disable random_mac for seamless roaming)
AllowWlanIdRoam *bool `json:"allow_wlan_id_roam,omitempty"`
// Optional if `amazon_enabled`==`true`. Amazon OAuth2 client id. This is optional. If not provided, it will use a default one.
AmazonClientId Optional[string] `json:"amazon_client_id"`
// Optional if `amazon_enabled`==`true`. Amazon OAuth2 client secret. If amazon_client_id was provided, provide a corresponding value. Else leave blank.
AmazonClientSecret Optional[string] `json:"amazon_client_secret"`
// Optional if `amazon_enabled`==`true`. Matches authenticated user email against provided domains. If null or [], all authenticated emails will be allowed.
AmazonEmailDomains []string `json:"amazon_email_domains,omitempty"`
// Whether amazon is enabled as a login method
AmazonEnabled *bool `json:"amazon_enabled,omitempty"`
// Optional if `amazon_enabled`==`true`. Interval for which guest remains authorized using amazon auth (in minutes), if not provided, uses expire`
AmazonExpire Optional[int] `json:"amazon_expire"`
// authentication scheme. enum: `amazon`, `azure`, `email`, `external`, `facebook`, `google`, `microsoft`, `multi`, `none`, `password`, `sms`, `sponsor`, `sso`
Auth *WlanPortalAuthEnum `json:"auth,omitempty"`
// Required if `azure_enabled`==`true`. Azure active directory app client id
AzureClientId Optional[string] `json:"azure_client_id"`
// Required if `azure_enabled`==`true`. Azure active directory app client secret
AzureClientSecret Optional[string] `json:"azure_client_secret"`
// Whether Azure Active Directory is enabled as a login method
AzureEnabled *bool `json:"azure_enabled,omitempty"`
// Interval for which guest remains authorized using azure auth (in minutes), if not provided, uses expire`
AzureExpire Optional[int] `json:"azure_expire"`
// Required if `azure_enabled`==`true`. Azure active directory tenant id.
AzureTenantId Optional[string] `json:"azure_tenant_id"`
// Required if `sms_provider`==`broadnet`
BroadnetPassword *string `json:"broadnet_password,omitempty"`
// Required if `sms_provider`==`broadnet`
BroadnetSid *string `json:"broadnet_sid,omitempty"`
// Required if `sms_provider`==`broadnet`
BroadnetUserId *string `json:"broadnet_user_id,omitempty"`
// Whether to bypass the guest portal when cloud not reachable (and apply the default policies)
BypassWhenCloudDown *bool `json:"bypass_when_cloud_down,omitempty"`
// Required if `sms_provider`==`clickatell`
ClickatellApiKey *string `json:"clickatell_api_key,omitempty"`
// Whether to allow guest to roam between WLANs (with same `WLAN.ssid`, regardless of variables) of different sites of same org without reauthentication (disable random_mac for seamless roaming)
CrossSite *bool `json:"cross_site,omitempty"`
// Whether email (access code verification) is enabled as a login method
EmailEnabled *bool `json:"email_enabled,omitempty"`
// Whether guest portal is enabled
Enabled *bool `json:"enabled,omitempty"`
// How long to remain authorized, in minutes
Expire *int `json:"expire,omitempty"`
// Required if `wlan_portal_auth`==`external`. External portal URL (e.g. https://host/url) where we can append our query parameters to
ExternalPortalUrl *string `json:"external_portal_url,omitempty"`
// Required if `facebook_enabled`==`true`. Facebook OAuth2 app id. This is optional. If not provided, it will use a default one.
FacebookClientId Optional[string] `json:"facebook_client_id"`
// Required if `facebook_enabled`==`true`. Facebook OAuth2 app secret. If facebook_client_id was provided, provide a corresponding value. Else leave blank.
FacebookClientSecret Optional[string] `json:"facebook_client_secret"`
// Optional if `facebook_enabled`==`true`. Matches authenticated user email against provided domains. If null or [], all authenticated emails will be allowed.
FacebookEmailDomains []string `json:"facebook_email_domains,omitempty"`
// Whether facebook is enabled as a login method
FacebookEnabled *bool `json:"facebook_enabled,omitempty"`
// Optional if `facebook_enabled`==`true`. Interval for which guest remains authorized using facebook auth (in minutes), if not provided, uses expire`
FacebookExpire Optional[int] `json:"facebook_expire"`
// Whether to forward the user to another URL after authorized
Forward *bool `json:"forward,omitempty"`
// URL to forward the user to
ForwardUrl Optional[string] `json:"forward_url"`
// Google OAuth2 app id. This is optional. If not provided, it will use a default one.
GoogleClientId Optional[string] `json:"google_client_id"`
// Optional if `google_enabled`==`true`. Google OAuth2 app secret. If google_client_id was provided, provide a corresponding value. Else leave blank.
GoogleClientSecret Optional[string] `json:"google_client_secret"`
// Optional if `google_enabled`==`true`. Matches authenticated user email against provided domains. If null or [], all authenticated emails will be allowed.
GoogleEmailDomains []string `json:"google_email_domains,omitempty"`
// Whether Google is enabled as login method
GoogleEnabled *bool `json:"google_enabled,omitempty"`
// Optional if `google_enabled`==`true`. Interval for which guest remains authorized using Google Auth (in minutes), if not provided, uses expire`
GoogleExpire Optional[int] `json:"google_expire"`
// Required if `sms_provider`==`gupshup`
GupshupPassword *string `json:"gupshup_password,omitempty"`
// Required if `sms_provider`==`gupshup`
GupshupUserid *string `json:"gupshup_userid,omitempty"`
// Optional if `microsoft_enabled`==`true`. Microsoft 365 OAuth2 client id. This is optional. If not provided, it will use a default one.
MicrosoftClientId Optional[string] `json:"microsoft_client_id"`
// Optional if `microsoft_enabled`==`true`. Microsoft 365 OAuth2 client secret. If microsoft_client_id was provided, provide a corresponding value. Else leave blank.
MicrosoftClientSecret Optional[string] `json:"microsoft_client_secret"`
// Optional if `microsoft_enabled`==`true`. Matches authenticated user email against provided domains. If null or [], all authenticated emails will be allowed.
MicrosoftEmailDomains []string `json:"microsoft_email_domains,omitempty"`
// Whether microsoft 365 is enabled as a login method
MicrosoftEnabled *bool `json:"microsoft_enabled,omitempty"`
// Optional if `microsoft_enabled`==`true`. Interval for which guest remains authorized using microsoft auth (in minutes), if not provided, uses expire`
MicrosoftExpire Optional[int] `json:"microsoft_expire"`
// Whether password is enabled
PassphraseEnabled *bool `json:"passphrase_enabled,omitempty"`
// Optional if `passphrase_enabled`==`true`. Interval for which guest remains authorized using passphrase auth (in minutes), if not provided, uses `expire`
PassphraseExpire Optional[int] `json:"passphrase_expire"`
// Required if `passphrase_enabled`==`true`.
Password Optional[string] `json:"password"`
// Whether to show list of sponsor emails mentioned in `sponsors` object as a dropdown. If both `sponsor_notify_all` and `predefined_sponsors_enabled` are false, behavior is acc to `sponsor_email_domains`
PredefinedSponsorsEnabled *bool `json:"predefined_sponsors_enabled,omitempty"`
// Whether to hide sponsor’s email from list of sponsors
PredefinedSponsorsHideEmail *bool `json:"predefined_sponsors_hide_email,omitempty"`
Privacy *bool `json:"privacy,omitempty"`
// Required if `sms_provider`==`puzzel`
PuzzelPassword *string `json:"puzzel_password,omitempty"`
// Required if `sms_provider`==`puzzel`
PuzzelServiceId *string `json:"puzzel_service_id,omitempty"`
// Required if `sms_provider`==`puzzel`
PuzzelUsername *string `json:"puzzel_username,omitempty"`
// Optional if `sms_enabled`==`true`. SMS Message format
SmsMessageFormat *string `json:"smsMessageFormat,omitempty"`
// Whether sms is enabled as a login method
SmsEnabled *bool `json:"sms_enabled,omitempty"`
// Optional if `sms_enabled`==`true`. Interval for which guest remains authorized using sms auth (in minutes), if not provided, uses expire`
SmsExpire Optional[int] `json:"sms_expire"`
// Optional if `sms_enabled`==`true`. enum: `broadnet`, `clickatell`, `gupshup`, `manual`, `puzzel`, `smsglobal`, `telstra`, `twilio`
SmsProvider *WlanPortalSmsProviderEnum `json:"sms_provider,omitempty"`
// Required if `sms_provider`==`smsglobal`, Client API Key
SmsglobalApiKey *string `json:"smsglobal_api_key,omitempty"`
// Required if `sms_provider`==`smsglobal`, Client secret
SmsglobalApiSecret *string `json:"smsglobal_api_secret,omitempty"`
// Optional if `sponsor_enabled`==`true`. Whether to automatically approve guest and allow sponsor to revoke guest access, needs predefined_sponsors_enabled enabled and sponsor_notify_all disabled
SponsorAutoApprove *bool `json:"sponsor_auto_approve,omitempty"`
// List of domain allowed for sponsor email. Required if `sponsor_enabled` is `true` and `sponsors` is empty.
SponsorEmailDomains []string `json:"sponsor_email_domains,omitempty"`
// Whether sponsor is enabled
SponsorEnabled *bool `json:"sponsor_enabled,omitempty"`
// Optional if `sponsor_enabled`==`true`. Interval for which guest remains authorized using sponsor auth (in minutes), if not provided, uses expire`
SponsorExpire Optional[int] `json:"sponsor_expire"`
// Optional if `sponsor_enabled`==`true`. How long to remain valid sponsored guest request approve/deny link received in email, in minutes. Value is between 5 and 60.
SponsorLinkValidityDuration *SponsorLinkValidityDuration `json:"sponsor_link_validity_duration,omitempty"`
// Optional if `sponsor_enabled`==`true`. whether to notify all sponsors that are mentioned in `sponsors` object. Both `sponsor_notify_all` and `predefined_sponsors_enabled` should be true in order to notify sponsors. If true, email sent to 10 sponsors in no particular order.
SponsorNotifyAll *bool `json:"sponsor_notify_all,omitempty"`
// Optional if `sponsor_enabled`==`true`. If enabled, guest will get email about sponsor's action (approve/deny)
SponsorStatusNotify *bool `json:"sponsor_status_notify,omitempty"`
// Object of allowed sponsors email with name. Required if `sponsor_enabled` is `true` and `sponsor_email_domains` is empty. Property key is the sponsor email, Property value is the sponsor name. List of email allowed for backward compatibility
Sponsors *WlanPortalSponsors `json:"sponsors,omitempty"`
// Optional if `wlan_portal_auth`==`sso`, default role to assign if there’s no match. By default, an assertion is treated as invalid when there’s no role matched
SsoDefaultRole *string `json:"sso_default_role,omitempty"`
// Optional if `wlan_portal_auth`==`sso`
SsoForcedRole *string `json:"sso_forced_role,omitempty"`
// Required if `wlan_portal_auth`==`sso`. IDP Cert (used to verify the signed response)
SsoIdpCert *string `json:"sso_idp_cert,omitempty"`
// Optional if `wlan_portal_auth`==`sso`, Signing algorithm for SAML Assertion. enum: `sha1`, `sha256`, `sha384`, `sha512`
SsoIdpSignAlgo *WlanPortalIdpSignAlgoEnum `json:"sso_idp_sign_algo,omitempty"`
// Required if `wlan_portal_auth`==`sso`, IDP Single-Sign-On URL
SsoIdpSsoUrl *string `json:"sso_idp_sso_url,omitempty"`
// Required if `wlan_portal_auth`==`sso`, IDP issuer URL
SsoIssuer *string `json:"sso_issuer,omitempty"`
// Optional if `wlan_portal_auth`==`sso`. enum: `email`, `unspecified`
SsoNameidFormat *WlanPortalSsoNameidFormatEnum `json:"sso_nameid_format,omitempty"`
// Required if `sms_provider`==`telstra`, Client ID provided by Telstra
TelstraClientId *string `json:"telstra_client_id,omitempty"`
// Required if `sms_provider`==`telstra`, Client secret provided by Telstra
TelstraClientSecret *string `json:"telstra_client_secret,omitempty"`
// Required if `sms_provider`==`twilio`, Auth token account with twilio account
TwilioAuthToken Optional[string] `json:"twilio_auth_token"`
// Required if `sms_provider`==`twilio`, Twilio phone number associated with the account. See example for accepted format.
TwilioPhoneNumber Optional[string] `json:"twilio_phone_number"`
// Required if `sms_provider`==`twilio`, Account SID provided by Twilio
TwilioSid Optional[string] `json:"twilio_sid"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WlanPortal represents a WlanPortal struct. Portal wlan settings
func (WlanPortal) MarshalJSON ¶
func (w WlanPortal) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanPortal. It customizes the JSON marshaling process for WlanPortal objects.
func (WlanPortal) String ¶ added in v0.4.23
func (w WlanPortal) String() string
String implements the fmt.Stringer interface for WlanPortal, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanPortal) UnmarshalJSON ¶
func (w *WlanPortal) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanPortal. It customizes the JSON unmarshaling process for WlanPortal objects.
type WlanPortalAuthEnum ¶
type WlanPortalAuthEnum string
WlanPortalAuthEnum is a string enum. authentication scheme. enum: `amazon`, `azure`, `email`, `external`, `facebook`, `google`, `microsoft`, `multi`, `none`, `password`, `sms`, `sponsor`, `sso`
const ( WlanPortalAuthEnum_AMAZON WlanPortalAuthEnum = "amazon" WlanPortalAuthEnum_AZURE WlanPortalAuthEnum = "azure" WlanPortalAuthEnum_EMAIL WlanPortalAuthEnum = "email" WlanPortalAuthEnum_EXTERNAL WlanPortalAuthEnum = "external" WlanPortalAuthEnum_FACEBOOK WlanPortalAuthEnum = "facebook" WlanPortalAuthEnum_GOOGLE WlanPortalAuthEnum = "google" WlanPortalAuthEnum_MICROSOFT WlanPortalAuthEnum = "microsoft" WlanPortalAuthEnum_MULTI WlanPortalAuthEnum = "multi" WlanPortalAuthEnum_NONE WlanPortalAuthEnum = "none" WlanPortalAuthEnum_PASSWORD WlanPortalAuthEnum = "password" WlanPortalAuthEnum_SMS WlanPortalAuthEnum = "sms" WlanPortalAuthEnum_SPONSOR WlanPortalAuthEnum = "sponsor" WlanPortalAuthEnum_SSO WlanPortalAuthEnum = "sso" )
type WlanPortalIdpSignAlgoEnum ¶ added in v0.3.33
type WlanPortalIdpSignAlgoEnum string
WlanPortalIdpSignAlgoEnum is a string enum. Optional if `wlan_portal_auth`==`sso`, Signing algorithm for SAML Assertion. enum: `sha1`, `sha256`, `sha384`, `sha512`
const ( WlanPortalIdpSignAlgoEnum_SHA1 WlanPortalIdpSignAlgoEnum = "sha1" WlanPortalIdpSignAlgoEnum_SHA256 WlanPortalIdpSignAlgoEnum = "sha256" WlanPortalIdpSignAlgoEnum_SHA384 WlanPortalIdpSignAlgoEnum = "sha384" WlanPortalIdpSignAlgoEnum_SHA512 WlanPortalIdpSignAlgoEnum = "sha512" )
type WlanPortalSmsProviderEnum ¶
type WlanPortalSmsProviderEnum string
WlanPortalSmsProviderEnum is a string enum. Optional if `sms_enabled`==`true`. enum: `broadnet`, `clickatell`, `gupshup`, `manual`, `puzzel`, `smsglobal`, `telstra`, `twilio`
const ( WlanPortalSmsProviderEnum_BROADNET WlanPortalSmsProviderEnum = "broadnet" WlanPortalSmsProviderEnum_CLICKATELL WlanPortalSmsProviderEnum = "clickatell" WlanPortalSmsProviderEnum_GUPSHUP WlanPortalSmsProviderEnum = "gupshup" WlanPortalSmsProviderEnum_MANUAL WlanPortalSmsProviderEnum = "manual" WlanPortalSmsProviderEnum_PUZZEL WlanPortalSmsProviderEnum = "puzzel" WlanPortalSmsProviderEnum_TELSTRA WlanPortalSmsProviderEnum = "telstra" WlanPortalSmsProviderEnum_TWILIO WlanPortalSmsProviderEnum = "twilio" WlanPortalSmsProviderEnum_SMSGLOBAL WlanPortalSmsProviderEnum = "smsglobal" )
type WlanPortalSponsors ¶ added in v0.3.4
type WlanPortalSponsors struct {
// contains filtered or unexported fields
}
WlanPortalSponsors represents a WlanPortalSponsors struct. Object of allowed sponsors email with name. Required if `sponsor_enabled` is `true` and `sponsor_email_domains` is empty. Property key is the sponsor email, Property value is the sponsor name. List of email allowed for backward compatibility
func (*WlanPortalSponsors) AsArrayOfString ¶ added in v0.3.4
func (w *WlanPortalSponsors) AsArrayOfString() ( *[]string, bool)
func (*WlanPortalSponsors) AsMapOfString ¶ added in v0.3.4
func (w *WlanPortalSponsors) AsMapOfString() ( *map[string]string, bool)
func (WlanPortalSponsors) MarshalJSON ¶ added in v0.3.4
func (w WlanPortalSponsors) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanPortalSponsors. It customizes the JSON marshaling process for WlanPortalSponsors objects.
func (WlanPortalSponsors) String ¶ added in v0.3.4
func (w WlanPortalSponsors) String() string
String implements the fmt.Stringer interface for WlanPortalSponsors, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanPortalSponsors) UnmarshalJSON ¶ added in v0.3.4
func (w *WlanPortalSponsors) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanPortalSponsors. It customizes the JSON unmarshaling process for WlanPortalSponsors objects.
type WlanPortalSsoNameidFormatEnum ¶
type WlanPortalSsoNameidFormatEnum string
WlanPortalSsoNameidFormatEnum is a string enum. Optional if `wlan_portal_auth`==`sso`. enum: `email`, `unspecified`
const ( WlanPortalSsoNameidFormatEnum_EMAIL WlanPortalSsoNameidFormatEnum = "email" WlanPortalSsoNameidFormatEnum_UNSPECIFIED WlanPortalSsoNameidFormatEnum = "unspecified" )
type WlanPortalTemplate ¶
type WlanPortalTemplate struct {
// Portal template wlan settings
PortalTemplate *WlanPortalTemplateSetting `json:"portal_template,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WlanPortalTemplate represents a WlanPortalTemplate struct.
func (WlanPortalTemplate) MarshalJSON ¶
func (w WlanPortalTemplate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanPortalTemplate. It customizes the JSON marshaling process for WlanPortalTemplate objects.
func (WlanPortalTemplate) String ¶ added in v0.4.23
func (w WlanPortalTemplate) String() string
String implements the fmt.Stringer interface for WlanPortalTemplate, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanPortalTemplate) UnmarshalJSON ¶
func (w *WlanPortalTemplate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanPortalTemplate. It customizes the JSON unmarshaling process for WlanPortalTemplate objects.
type WlanPortalTemplateSetting ¶
type WlanPortalTemplateSetting struct {
AccessCodeAlternateEmail *string `json:"accessCodeAlternateEmail,omitempty"`
// defines alignment on portal. enum: `center`, `left`, `right`
Alignment *PortalTemplateAlignmentEnum `json:"alignment,omitempty"`
Ar *WlanPortalTemplateSettingLocale `json:"ar,omitempty"`
// Label for Amazon auth button
AuthButtonAmazon *string `json:"authButtonAmazon,omitempty"`
// Label for Azure auth button
AuthButtonAzure *string `json:"authButtonAzure,omitempty"`
// Label for Email auth button
AuthButtonEmail *string `json:"authButtonEmail,omitempty"`
// Label for Facebook auth button
AuthButtonFacebook *string `json:"authButtonFacebook,omitempty"`
// Label for Google auth button
AuthButtonGoogle *string `json:"authButtonGoogle,omitempty"`
// Label for Microsoft auth button
AuthButtonMicrosoft *string `json:"authButtonMicrosoft,omitempty"`
// Label for passphrase auth button
AuthButtonPassphrase *string `json:"authButtonPassphrase,omitempty"`
// Label for SMS auth button
AuthButtonSms *string `json:"authButtonSms,omitempty"`
// Label for Sponsor auth button
AuthButtonSponsor *string `json:"authButtonSponsor,omitempty"`
AuthLabel *string `json:"authLabel,omitempty"`
// Label of the link to go back to /logon
BackLink *string `json:"backLink,omitempty"`
CaES *WlanPortalTemplateSettingLocale `json:"ca-ES,omitempty"`
// Portal main color
Color *string `json:"color,omitempty"`
ColorDark *string `json:"colorDark,omitempty"`
ColorLight *string `json:"colorLight,omitempty"`
// Whether company field is required
Company *bool `json:"company,omitempty"`
// Error message when company not provided
CompanyError *string `json:"companyError,omitempty"`
// Label of company field
CompanyLabel *string `json:"companyLabel,omitempty"`
CsCZ *WlanPortalTemplateSettingLocale `json:"cs-CZ,omitempty"`
DaDK *WlanPortalTemplateSettingLocale `json:"da-DK,omitempty"`
DeDE *WlanPortalTemplateSettingLocale `json:"de-DE,omitempty"`
ElGR *WlanPortalTemplateSettingLocale `json:"el-GR,omitempty"`
// Whether email field is required
Email *bool `json:"email,omitempty"`
// Error message when a user has valid social login but doesn't match specified email domains.
EmailAccessDomainError *string `json:"emailAccessDomainError,omitempty"`
// Label for cancel confirmation code submission using email auth
EmailCancel *string `json:"emailCancel,omitempty"`
EmailCodeCancel *string `json:"emailCodeCancel,omitempty"`
EmailCodeError *string `json:"emailCodeError,omitempty"`
EmailCodeFieldLabel *string `json:"emailCodeFieldLabel,omitempty"`
EmailCodeMessage *string `json:"emailCodeMessage,omitempty"`
EmailCodeSubmit *string `json:"emailCodeSubmit,omitempty"`
EmailCodeTitle *string `json:"emailCodeTitle,omitempty"`
// Error message when email not provided
EmailError *string `json:"emailError,omitempty"`
EmailFieldLabel *string `json:"emailFieldLabel,omitempty"`
// Label of email field
EmailLabel *string `json:"emailLabel,omitempty"`
EmailMessage *string `json:"emailMessage,omitempty"`
// Label for confirmation code submit button using email auth
EmailSubmit *string `json:"emailSubmit,omitempty"`
// Title for the Email registration
EmailTitle *string `json:"emailTitle,omitempty"`
EnGB *WlanPortalTemplateSettingLocale `json:"en-GB,omitempty"`
EnUS *WlanPortalTemplateSettingLocale `json:"en-US,omitempty"`
EsES *WlanPortalTemplateSettingLocale `json:"es-ES,omitempty"`
FiFI *WlanPortalTemplateSettingLocale `json:"fi-FI,omitempty"`
// Whether to ask field1
Field1 *bool `json:"field1,omitempty"`
// Error message when field1 not provided
Field1Error *string `json:"field1Error,omitempty"`
// Label of field1
Field1Label *string `json:"field1Label,omitempty"`
// Whether field1 is required field
Field1Required *bool `json:"field1Required,omitempty"`
// Whether to ask field2
Field2 *bool `json:"field2,omitempty"`
// Error message when field2 not provided
Field2Error *string `json:"field2Error,omitempty"`
// Label of field2
Field2Label *string `json:"field2Label,omitempty"`
// Whether field2 is required field
Field2Required *bool `json:"field2Required,omitempty"`
// Whether to ask field3
Field3 *bool `json:"field3,omitempty"`
// Error message when field3 not provided
Field3Error *string `json:"field3Error,omitempty"`
// Label of field3
Field3Label *string `json:"field3Label,omitempty"`
// Whether field3 is required field
Field3Required *bool `json:"field3Required,omitempty"`
// Whether to ask field4
Field4 *bool `json:"field4,omitempty"`
// Error message when field4 not provided
Field4Error *string `json:"field4Error,omitempty"`
// Label of field4
Field4Label *string `json:"field4Label,omitempty"`
// Whether field4 is required field
Field4Required *bool `json:"field4Required,omitempty"`
FrFR *WlanPortalTemplateSettingLocale `json:"fr-FR,omitempty"`
HeIL *WlanPortalTemplateSettingLocale `json:"he-IL,omitempty"`
HiIN *WlanPortalTemplateSettingLocale `json:"hi-IN,omitempty"`
HrHR *WlanPortalTemplateSettingLocale `json:"hr-HR,omitempty"`
HuHU *WlanPortalTemplateSettingLocale `json:"hu-HU,omitempty"`
IdID *WlanPortalTemplateSettingLocale `json:"id-ID,omitempty"`
ItIT *WlanPortalTemplateSettingLocale `json:"it-IT,omitempty"`
JaJP *WlanPortalTemplateSettingLocale `json:"ja-JP,omitempty"`
KoKR *WlanPortalTemplateSettingLocale `json:"ko-KR,omitempty"`
// Custom logo with `data:image/png;base64,` format, default null, uses Juniper Mist Logo. File size must be less than 100kB and image dimensions must be less than 500px x 200px (width x height).
Logo Optional[string] `json:"logo"`
// Height of the logo, in px
LogoHeight *int `json:"logoHeight,omitempty"`
// Width of the logo, in px
LogoWidth *int `json:"logoWidth,omitempty"`
// label of the link to go to /marketing_policy
MarketingPolicyLink *string `json:"marketingPolicyLink,omitempty"`
// Whether marketing policy optin is enabled
MarketingPolicyOptIn *bool `json:"marketingPolicyOptIn,omitempty"`
// label for marketing optin
MarketingPolicyOptInLabel *string `json:"marketingPolicyOptInLabel,omitempty"`
// marketing policy text
MarketingPolicyOptInText *string `json:"marketingPolicyOptInText,omitempty"`
Message *string `json:"message,omitempty"`
MsMY *WlanPortalTemplateSettingLocale `json:"ms-MY,omitempty"`
MultiAuth *bool `json:"multiAuth,omitempty"`
// Whether name field is required
Name *bool `json:"name,omitempty"`
// Error message when name not provided
NameError *string `json:"nameError,omitempty"`
// Label of name field
NameLabel *string `json:"nameLabel,omitempty"`
NbNO *WlanPortalTemplateSettingLocale `json:"nb-NO,omitempty"`
NlNL *WlanPortalTemplateSettingLocale `json:"nl-NL,omitempty"`
// Default value for the `Do not store` checkbox
OptOutDefault *bool `json:"optOutDefault,omitempty"`
// Whether to display Do Not Store My Personal Information
Optout *bool `json:"optout,omitempty"`
// Label for Do Not Store My Personal Information
OptoutLabel *string `json:"optoutLabel,omitempty"`
PageTitle string `json:"pageTitle"`
// Label for the Passphrase cancel button
PassphraseCancel *string `json:"passphraseCancel,omitempty"`
// Error message when invalid passphrase is provided
PassphraseError *string `json:"passphraseError,omitempty"`
// Passphrase
PassphraseLabel *string `json:"passphraseLabel,omitempty"`
PassphraseMessage *string `json:"passphraseMessage,omitempty"`
// Label for the Passphrase submit button
PassphraseSubmit *string `json:"passphraseSubmit,omitempty"`
// Title for passphrase details page
PassphraseTitle *string `json:"passphraseTitle,omitempty"`
PlPL *WlanPortalTemplateSettingLocale `json:"pl-PL,omitempty"`
// Whether to show \"Powered by Mist\"
PoweredBy *bool `json:"poweredBy,omitempty"`
// Whether to require the Privacy Term acceptance
Privacy *bool `json:"privacy,omitempty"`
// Prefix of the label of the link to go to Privacy Policy
PrivacyPolicyAcceptLabel *string `json:"privacyPolicyAcceptLabel,omitempty"`
// Error message when Privacy Policy not accepted
PrivacyPolicyError *string `json:"privacyPolicyError,omitempty"`
// Label of the link to go to Privacy Policy
PrivacyPolicyLink *string `json:"privacyPolicyLink,omitempty"`
// Text of the Privacy Policy
PrivacyPolicyText *string `json:"privacyPolicyText,omitempty"`
PtBR *WlanPortalTemplateSettingLocale `json:"pt-BR,omitempty"`
PtPT *WlanPortalTemplateSettingLocale `json:"pt-PT,omitempty"`
// Label to denote required field
RequiredFieldLabel *string `json:"requiredFieldLabel,omitempty"`
ResponsiveLayout *bool `json:"responsiveLayout,omitempty"`
RoRO *WlanPortalTemplateSettingLocale `json:"ro-RO,omitempty"`
RuRU *WlanPortalTemplateSettingLocale `json:"ru-RU,omitempty"`
// Label of the button to signin
SignInLabel *string `json:"signInLabel,omitempty"`
SkSK *WlanPortalTemplateSettingLocale `json:"sk-SK,omitempty"`
SmsCarrierDefault *string `json:"smsCarrierDefault,omitempty"`
SmsCarrierError *string `json:"smsCarrierError,omitempty"`
// Label for mobile carrier drop-down list
SmsCarrierFieldLabel *string `json:"smsCarrierFieldLabel,omitempty"`
// Label for cancel confirmation code submission
SmsCodeCancel *string `json:"smsCodeCancel,omitempty"`
// Error message when confirmation code is invalid
SmsCodeError *string `json:"smsCodeError,omitempty"`
SmsCodeFieldLabel *string `json:"smsCodeFieldLabel,omitempty"`
SmsCodeMessage *string `json:"smsCodeMessage,omitempty"`
// Label for confirmation code submit button
SmsCodeSubmit *string `json:"smsCodeSubmit,omitempty"`
SmsCodeTitle *string `json:"smsCodeTitle,omitempty"`
SmsCountryFieldLabel *string `json:"smsCountryFieldLabel,omitempty"`
SmsCountryFormat *string `json:"smsCountryFormat,omitempty"`
// Label for checkbox to specify that the user has access code
SmsHaveAccessCode *string `json:"smsHaveAccessCode,omitempty"`
SmsIsTwilio *bool `json:"smsIsTwilio,omitempty"`
// Format of access code sms message. {{code}} and {{duration}} are placeholders and should be retained as is.
SmsMessageFormat *string `json:"smsMessageFormat,omitempty"`
// Label for canceling mobile details for SMS auth
SmsNumberCancel *string `json:"smsNumberCancel,omitempty"`
SmsNumberError *string `json:"smsNumberError,omitempty"`
// Label for field to provide mobile number
SmsNumberFieldLabel *string `json:"smsNumberFieldLabel,omitempty"`
SmsNumberFormat *string `json:"smsNumberFormat,omitempty"`
SmsNumberMessage *string `json:"smsNumberMessage,omitempty"`
// Label for submit button for code generation
SmsNumberSubmit *string `json:"smsNumberSubmit,omitempty"`
// Title for phone number details
SmsNumberTitle *string `json:"smsNumberTitle,omitempty"`
SmsUsernameFormat *string `json:"smsUsernameFormat,omitempty"`
// How long confirmation code should be considered valid (in minutes)
SmsValidityDuration *int `json:"smsValidityDuration,omitempty"`
SponsorBackLink *string `json:"sponsorBackLink,omitempty"`
SponsorCancel *string `json:"sponsorCancel,omitempty"`
// Label for Sponsor Email
SponsorEmail *string `json:"sponsorEmail,omitempty"`
SponsorEmailError *string `json:"sponsorEmailError,omitempty"`
// HTML template to replace/override default sponsor email template
// Sponsor Email Template supports following template variables:
// * `approve_url`: Renders URL to approve the request; optionally &minutes=N query param can be appended to change the Authorization period of the guest, where N is a valid integer denoting number of minutes a guest remains authorized
// * `deny_url`: Renders URL to reject the request
// * `guest_email`: Renders Email ID of the guest
// * `guest_name`: Renders Name of the guest
// * `field1`: Renders value of the Custom Field 1
// * `field2`: Renders value of the Custom Field 2
// * `sponsor_link_validity_duration`: Renders validity time of the request (i.e. Approve/Deny URL)
// * `auth_expire_minutes`: Renders Wlan-level configured Guest Authorization Expiration time period (in minutes), If not configured then default (1 day in minutes)
SponsorEmailTemplate *string `json:"sponsorEmailTemplate,omitempty"`
SponsorInfoApproved *string `json:"sponsorInfoApproved,omitempty"`
SponsorInfoDenied *string `json:"sponsorInfoDenied,omitempty"`
SponsorInfoPending *string `json:"sponsorInfoPending,omitempty"`
// Label for Sponsor Name
SponsorName *string `json:"sponsorName,omitempty"`
SponsorNameError *string `json:"sponsorNameError,omitempty"`
SponsorNotePending *string `json:"sponsorNotePending,omitempty"`
// Submit button label request Wifi Access and notify sponsor about guest request
SponsorRequestAccess *string `json:"sponsorRequestAccess,omitempty"`
// Text to display if sponsor approves request
SponsorStatusApproved *string `json:"sponsorStatusApproved,omitempty"`
// Text to display when sponsor denies request
SponsorStatusDenied *string `json:"sponsorStatusDenied,omitempty"`
// Text to display if request is still pending
SponsorStatusPending *string `json:"sponsorStatusPending,omitempty"`
// Submit button label to notify sponsor about guest request
SponsorSubmit *string `json:"sponsorSubmit,omitempty"`
SponsorsError *string `json:"sponsorsError,omitempty"`
SponsorsFieldLabel *string `json:"sponsorsFieldLabel,omitempty"`
SvSE *WlanPortalTemplateSettingLocale `json:"sv-SE,omitempty"`
ThTH *WlanPortalTemplateSettingLocale `json:"th-TH,omitempty"`
Tos *bool `json:"tos,omitempty"`
// Prefix of the label of the link to go to tos
TosAcceptLabel *string `json:"tosAcceptLabel,omitempty"`
// Error message when tos not accepted
TosError *string `json:"tosError,omitempty"`
// Label of the link to go to tos
TosLink *string `json:"tosLink,omitempty"`
// Text of the Terms of Service
TosText *string `json:"tosText,omitempty"`
TrTR *WlanPortalTemplateSettingLocale `json:"tr-TR,omitempty"`
UkUA *WlanPortalTemplateSettingLocale `json:"uk-UA,omitempty"`
ViVN *WlanPortalTemplateSettingLocale `json:"vi-VN,omitempty"`
ZhHans *WlanPortalTemplateSettingLocale `json:"zh-Hans,omitempty"`
ZhHant *WlanPortalTemplateSettingLocale `json:"zh-Hant,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WlanPortalTemplateSetting represents a WlanPortalTemplateSetting struct. Portal template wlan settings
func (WlanPortalTemplateSetting) MarshalJSON ¶
func (w WlanPortalTemplateSetting) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanPortalTemplateSetting. It customizes the JSON marshaling process for WlanPortalTemplateSetting objects.
func (WlanPortalTemplateSetting) String ¶ added in v0.4.23
func (w WlanPortalTemplateSetting) String() string
String implements the fmt.Stringer interface for WlanPortalTemplateSetting, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanPortalTemplateSetting) UnmarshalJSON ¶
func (w *WlanPortalTemplateSetting) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanPortalTemplateSetting. It customizes the JSON unmarshaling process for WlanPortalTemplateSetting objects.
type WlanPortalTemplateSettingLocale ¶ added in v0.3.7
type WlanPortalTemplateSettingLocale struct {
// Label for Amazon auth button
AuthButtonAmazon *string `json:"authButtonAmazon,omitempty"`
// Label for Azure auth button
AuthButtonAzure *string `json:"authButtonAzure,omitempty"`
// Label for Email auth button
AuthButtonEmail *string `json:"authButtonEmail,omitempty"`
// Label for Facebook auth button
AuthButtonFacebook *string `json:"authButtonFacebook,omitempty"`
// Label for Google auth button
AuthButtonGoogle *string `json:"authButtonGoogle,omitempty"`
// Label for Microsoft auth button
AuthButtonMicrosoft *string `json:"authButtonMicrosoft,omitempty"`
// Label for passphrase auth button
AuthButtonPassphrase *string `json:"authButtonPassphrase,omitempty"`
// Label for SMS auth button
AuthButtonSms *string `json:"authButtonSms,omitempty"`
// Label for Sponsor auth button
AuthButtonSponsor *string `json:"authButtonSponsor,omitempty"`
AuthLabel *string `json:"authLabel,omitempty"`
// Label of the link to go back to /logon
BackLink *string `json:"backLink,omitempty"`
// Error message when company not provided
CompanyError *string `json:"companyError,omitempty"`
// Label of company field
CompanyLabel *string `json:"companyLabel,omitempty"`
// Error message when a user has valid social login but doesn't match specified email domains.
EmailAccessDomainError *string `json:"emailAccessDomainError,omitempty"`
// Label for cancel confirmation code submission using email auth
EmailCancel *string `json:"emailCancel,omitempty"`
EmailCodeCancel *string `json:"emailCodeCancel,omitempty"`
EmailCodeError *string `json:"emailCodeError,omitempty"`
EmailCodeFieldLabel *string `json:"emailCodeFieldLabel,omitempty"`
EmailCodeMessage *string `json:"emailCodeMessage,omitempty"`
EmailCodeSubmit *string `json:"emailCodeSubmit,omitempty"`
EmailCodeTitle *string `json:"emailCodeTitle,omitempty"`
// Error message when email not provided
EmailError *string `json:"emailError,omitempty"`
EmailFieldLabel *string `json:"emailFieldLabel,omitempty"`
// Label of email field
EmailLabel *string `json:"emailLabel,omitempty"`
EmailMessage *string `json:"emailMessage,omitempty"`
// Label for confirmation code submit button using email auth
EmailSubmit *string `json:"emailSubmit,omitempty"`
// Title for the Email registration
EmailTitle *string `json:"emailTitle,omitempty"`
// Error message when field1 not provided
Field1Error *string `json:"field1Error,omitempty"`
// Label of field1
Field1Label *string `json:"field1Label,omitempty"`
// Error message when field2 not provided
Field2Error *string `json:"field2Error,omitempty"`
// Label of field2
Field2Label *string `json:"field2Label,omitempty"`
// Error message when field3 not provided
Field3Error *string `json:"field3Error,omitempty"`
// Label of field3
Field3Label *string `json:"field3Label,omitempty"`
// Error message when field4 not provided
Field4Error *string `json:"field4Error,omitempty"`
// Label of field4
Field4Label *string `json:"field4Label,omitempty"`
// label of the link to go to /marketing_policy
MarketingPolicyLink *string `json:"marketingPolicyLink,omitempty"`
// Whether marketing policy optin is enabled
MarketingPolicyOptIn *bool `json:"marketingPolicyOptIn,omitempty"`
// label for marketing optin
MarketingPolicyOptInLabel *string `json:"marketingPolicyOptInLabel,omitempty"`
// marketing policy text
MarketingPolicyOptInText *string `json:"marketingPolicyOptInText,omitempty"`
Message *string `json:"message,omitempty"`
// Error message when name not provided
NameError *string `json:"nameError,omitempty"`
// Label of name field
NameLabel *string `json:"nameLabel,omitempty"`
// Label for Do Not Store My Personal Information
OptoutLabel *string `json:"optoutLabel,omitempty"`
PageTitle *string `json:"pageTitle,omitempty"`
// Label for the Passphrase cancel button
PassphraseCancel *string `json:"passphraseCancel,omitempty"`
// Error message when invalid passphrase is provided
PassphraseError *string `json:"passphraseError,omitempty"`
// Passphrase
PassphraseLabel *string `json:"passphraseLabel,omitempty"`
PassphraseMessage *string `json:"passphraseMessage,omitempty"`
// Label for the Passphrase submit button
PassphraseSubmit *string `json:"passphraseSubmit,omitempty"`
// Title for passphrase details page
PassphraseTitle *string `json:"passphraseTitle,omitempty"`
// Prefix of the label of the link to go to Privacy Policy
PrivacyPolicyAcceptLabel *string `json:"privacyPolicyAcceptLabel,omitempty"`
// Error message when Privacy Policy not accepted
PrivacyPolicyError *string `json:"privacyPolicyError,omitempty"`
// Label of the link to go to Privacy Policy
PrivacyPolicyLink *string `json:"privacyPolicyLink,omitempty"`
// Text of the Privacy Policy
PrivacyPolicyText *string `json:"privacyPolicyText,omitempty"`
// Label to denote required field
RequiredFieldLabel *string `json:"requiredFieldLabel,omitempty"`
// Label of the button to signin
SignInLabel *string `json:"signInLabel,omitempty"`
SmsCarrierDefault *string `json:"smsCarrierDefault,omitempty"`
SmsCarrierError *string `json:"smsCarrierError,omitempty"`
// Label for mobile carrier drop-down list
SmsCarrierFieldLabel *string `json:"smsCarrierFieldLabel,omitempty"`
// Label for cancel confirmation code submission
SmsCodeCancel *string `json:"smsCodeCancel,omitempty"`
// Error message when confirmation code is invalid
SmsCodeError *string `json:"smsCodeError,omitempty"`
SmsCodeFieldLabel *string `json:"smsCodeFieldLabel,omitempty"`
SmsCodeMessage *string `json:"smsCodeMessage,omitempty"`
// Label for confirmation code submit button
SmsCodeSubmit *string `json:"smsCodeSubmit,omitempty"`
SmsCodeTitle *string `json:"smsCodeTitle,omitempty"`
SmsCountryFieldLabel *string `json:"smsCountryFieldLabel,omitempty"`
SmsCountryFormat *string `json:"smsCountryFormat,omitempty"`
// Label for checkbox to specify that the user has access code
SmsHaveAccessCode *string `json:"smsHaveAccessCode,omitempty"`
// Format of access code sms message. {{code}} and {{duration}} are placeholders and should be retained as is.
SmsMessageFormat *string `json:"smsMessageFormat,omitempty"`
// Label for canceling mobile details for SMS auth
SmsNumberCancel *string `json:"smsNumberCancel,omitempty"`
SmsNumberError *string `json:"smsNumberError,omitempty"`
// Label for field to provide mobile number
SmsNumberFieldLabel *string `json:"smsNumberFieldLabel,omitempty"`
SmsNumberFormat *string `json:"smsNumberFormat,omitempty"`
SmsNumberMessage *string `json:"smsNumberMessage,omitempty"`
// Label for submit button for code generation
SmsNumberSubmit *string `json:"smsNumberSubmit,omitempty"`
// Title for phone number details
SmsNumberTitle *string `json:"smsNumberTitle,omitempty"`
SmsUsernameFormat *string `json:"smsUsernameFormat,omitempty"`
SponsorBackLink *string `json:"sponsorBackLink,omitempty"`
SponsorCancel *string `json:"sponsorCancel,omitempty"`
// Label for Sponsor Email
SponsorEmail *string `json:"sponsorEmail,omitempty"`
SponsorEmailError *string `json:"sponsorEmailError,omitempty"`
SponsorInfoApproved *string `json:"sponsorInfoApproved,omitempty"`
SponsorInfoDenied *string `json:"sponsorInfoDenied,omitempty"`
SponsorInfoPending *string `json:"sponsorInfoPending,omitempty"`
// Label for Sponsor Name
SponsorName *string `json:"sponsorName,omitempty"`
SponsorNameError *string `json:"sponsorNameError,omitempty"`
SponsorNotePending *string `json:"sponsorNotePending,omitempty"`
// Submit button label request Wifi Access and notify sponsor about guest request
SponsorRequestAccess *string `json:"sponsorRequestAccess,omitempty"`
// Text to display if sponsor approves request
SponsorStatusApproved *string `json:"sponsorStatusApproved,omitempty"`
// Text to display when sponsor denies request
SponsorStatusDenied *string `json:"sponsorStatusDenied,omitempty"`
// Text to display if request is still pending
SponsorStatusPending *string `json:"sponsorStatusPending,omitempty"`
// Submit button label to notify sponsor about guest request
SponsorSubmit *string `json:"sponsorSubmit,omitempty"`
SponsorsError *string `json:"sponsorsError,omitempty"`
SponsorsFieldLabel *string `json:"sponsorsFieldLabel,omitempty"`
// Prefix of the label of the link to go to tos
TosAcceptLabel *string `json:"tosAcceptLabel,omitempty"`
// Error message when tos not accepted
TosError *string `json:"tosError,omitempty"`
// Label of the link to go to tos
TosLink *string `json:"tosLink,omitempty"`
// Text of the Terms of Service
TosText *string `json:"tosText,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WlanPortalTemplateSettingLocale represents a WlanPortalTemplateSettingLocale struct.
func (WlanPortalTemplateSettingLocale) MarshalJSON ¶ added in v0.3.7
func (w WlanPortalTemplateSettingLocale) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanPortalTemplateSettingLocale. It customizes the JSON marshaling process for WlanPortalTemplateSettingLocale objects.
func (WlanPortalTemplateSettingLocale) String ¶ added in v0.4.23
func (w WlanPortalTemplateSettingLocale) String() string
String implements the fmt.Stringer interface for WlanPortalTemplateSettingLocale, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanPortalTemplateSettingLocale) UnmarshalJSON ¶ added in v0.3.7
func (w *WlanPortalTemplateSettingLocale) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanPortalTemplateSettingLocale. It customizes the JSON unmarshaling process for WlanPortalTemplateSettingLocale objects.
type WlanQos ¶
type WlanQos struct {
// enum: `background`, `best_effort`, `video`, `voice`
Class *WlanQosClassEnum `json:"class,omitempty"`
// Whether to overwrite QoS
Overwrite *bool `json:"overwrite,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WlanQos represents a WlanQos struct.
func (WlanQos) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for WlanQos. It customizes the JSON marshaling process for WlanQos objects.
func (WlanQos) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for WlanQos, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanQos) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for WlanQos. It customizes the JSON unmarshaling process for WlanQos objects.
type WlanQosClassEnum ¶
type WlanQosClassEnum string
WlanQosClassEnum is a string enum. enum: `background`, `best_effort`, `video`, `voice`
const ( WlanQosClassEnum_BACKGROUND WlanQosClassEnum = "background" WlanQosClassEnum_BESTEFFORT WlanQosClassEnum = "best_effort" WlanQosClassEnum_VIDEO WlanQosClassEnum = "video" WlanQosClassEnum_VOICE WlanQosClassEnum = "voice" )
type WlanRoamModeEnum ¶
type WlanRoamModeEnum string
WlanRoamModeEnum is a string enum. enum: `11r`, `OKC`, `NONE`
const ( WlanRoamModeEnum_ENUM11R WlanRoamModeEnum = "11r" WlanRoamModeEnum_NONE WlanRoamModeEnum = "NONE" WlanRoamModeEnum_OKC WlanRoamModeEnum = "OKC" )
type WlanSchedule ¶
type WlanSchedule struct {
Enabled *bool `json:"enabled,omitempty"`
// Days/Hours of operation filter, the available days (mon, tue, wed, thu, fri, sat, sun)
Hours *Hours `json:"hours,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WlanSchedule represents a WlanSchedule struct. WLAN operating schedule, default is disabled
func (WlanSchedule) MarshalJSON ¶
func (w WlanSchedule) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanSchedule. It customizes the JSON marshaling process for WlanSchedule objects.
func (WlanSchedule) String ¶ added in v0.4.23
func (w WlanSchedule) String() string
String implements the fmt.Stringer interface for WlanSchedule, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanSchedule) UnmarshalJSON ¶
func (w *WlanSchedule) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanSchedule. It customizes the JSON unmarshaling process for WlanSchedule objects.
type WlanVlanIdWithVariable ¶ added in v0.4.71
type WlanVlanIdWithVariable struct {
// contains filtered or unexported fields
}
WlanVlanIdWithVariable represents a WlanVlanIdWithVariable struct.
func (*WlanVlanIdWithVariable) AsNumber ¶ added in v0.4.71
func (w *WlanVlanIdWithVariable) AsNumber() ( *int, bool)
func (*WlanVlanIdWithVariable) AsString ¶ added in v0.4.71
func (w *WlanVlanIdWithVariable) AsString() ( *string, bool)
func (WlanVlanIdWithVariable) MarshalJSON ¶ added in v0.4.71
func (w WlanVlanIdWithVariable) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanVlanIdWithVariable. It customizes the JSON marshaling process for WlanVlanIdWithVariable objects.
func (WlanVlanIdWithVariable) String ¶ added in v0.4.71
func (w WlanVlanIdWithVariable) String() string
String implements the fmt.Stringer interface for WlanVlanIdWithVariable, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanVlanIdWithVariable) UnmarshalJSON ¶ added in v0.4.71
func (w *WlanVlanIdWithVariable) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanVlanIdWithVariable. It customizes the JSON unmarshaling process for WlanVlanIdWithVariable objects.
type WlanVlanIds ¶ added in v0.2.23
type WlanVlanIds struct {
// contains filtered or unexported fields
}
WlanVlanIds represents a WlanVlanIds struct.
func (*WlanVlanIds) AsArrayOfVlanIdWithVariable4 ¶ added in v0.4.71
func (w *WlanVlanIds) AsArrayOfVlanIdWithVariable4() ( *[]VlanIdWithVariable, bool)
func (*WlanVlanIds) AsString ¶ added in v0.2.23
func (w *WlanVlanIds) AsString() ( *string, bool)
func (WlanVlanIds) MarshalJSON ¶ added in v0.2.23
func (w WlanVlanIds) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanVlanIds. It customizes the JSON marshaling process for WlanVlanIds objects.
func (WlanVlanIds) String ¶ added in v0.2.23
func (w WlanVlanIds) String() string
String implements the fmt.Stringer interface for WlanVlanIds, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WlanVlanIds) UnmarshalJSON ¶ added in v0.2.23
func (w *WlanVlanIds) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanVlanIds. It customizes the JSON unmarshaling process for WlanVlanIds objects.
type WxlanRule ¶
type WxlanRule struct {
// type of action, allow / block. enum: `allow`, `block`
Action *WxlanRuleActionEnum `json:"action,omitempty"`
ApplyTags []string `json:"apply_tags,omitempty"`
// Blocked apps (always blocking, ignoring action), the key of Get Application List
BlockedApps []string `json:"blocked_apps,omitempty"`
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
DstAllowWxtags []string `json:"dst_allow_wxtags,omitempty"`
DstDenyWxtags []string `json:"dst_deny_wxtags,omitempty"`
// List of WxTag UUID
Enabled *bool `json:"enabled,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
// Order how rules would be looked up, > 0 and bigger order got matched first, -1 means LAST, uniqueness not checked
Order int `json:"order"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
SrcWxtags []string `json:"src_wxtags"`
// Only for Org Level WxRule
TemplateId *uuid.UUID `json:"template_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WxlanRule represents a WxlanRule struct. WXlan
func (WxlanRule) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for WxlanRule. It customizes the JSON marshaling process for WxlanRule objects.
func (WxlanRule) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for WxlanRule, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WxlanRule) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for WxlanRule. It customizes the JSON unmarshaling process for WxlanRule objects.
type WxlanRuleActionEnum ¶
type WxlanRuleActionEnum string
WxlanRuleActionEnum is a string enum. type of action, allow / block. enum: `allow`, `block`
const ( WxlanRuleActionEnum_ALLOW WxlanRuleActionEnum = "allow" WxlanRuleActionEnum_BLOCK WxlanRuleActionEnum = "block" )
type WxlanTag ¶
type WxlanTag struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
LastIps []string `json:"last_ips,omitempty"`
// If `type`==`client`, Client MAC Address
Mac Optional[string] `json:"mac"`
// required if `type`==`match`. enum: `ap_id`, `app`, `asset_mac`, `client_mac`, `hostname`, `ip_range_subnet`, `port`, `psk_name`, `psk_role`, `radius_attr`, `radius_class`, `radius_group`, `radius_username`, `sdkclient_uuid`, `wlan_id`
Match *WxlanTagMatchEnum `json:"match,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
// The name
Name string `json:"name"`
// required if `type`==`match`, type of tag (inclusive/exclusive). enum: `in`, `not_in`
Op *WxlanTagOperationEnum `json:"op,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
ResourceMac Optional[string] `json:"resource_mac"`
Services []string `json:"services,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// If `type`==`spec`
Specs []WxlanTagSpec `json:"specs,omitempty"`
Subnet *string `json:"subnet,omitempty"`
// enum: `client`, `match`, `resource`, `spec`, `subnet`, `vlan`
Type WxlanTagTypeEnum `json:"type"`
// Required if `type`==`match` and
// * `match`==`ap_id`: list of AP IDs
// * `match`==`app`: list of Application Names
// * `match`==`asset_mac`: list of Asset MAC Addresses
// * `match`==`client_mac`: list of Client MAC Addresses
// * `match`==`hostname`: list of Resources Hostnames
// * `match`==`ip_range_subnet`: list of IP Addresses and/or CIDRs
// * `match`==`psk_name`: list of PSK Names
// * `match`==`psk_role`: list of PSK Roles
// * `match`==`port`: list of Ports or Port Ranges
// * `match`==`radius_attr`: list of RADIUS Attributes. The values are [ "6=1", "26=10.2.3.4" ], this support other RADIUS attributes where we know the type
// * `match`==`radius_class`: list of RADIUS Classes. This matches the ATTR-Class(25)
// * `match`==`radius_group`: list of RADIUS Groups. This is a smart tag that matches RADIUS-Filter-ID, Airespace-ACL-Name (VendorID=14179, VendorType=6) / Aruba-User-Role (VendorID=14823, VendorType=1)
// * `match`==`radius_username`: list of RADIUS Usernames. This matches the ATTR-User-Name(1)
// * `match`==`sdkclient_uuid`: list of SDK UUIDs
// * `match`==`wlan_id`: list of WLAN IDs
// **Notes**:
// Variables are not allowed
Values []string `json:"values,omitempty"`
// If `type`==`vlan_id`, VLAN ID or variable
VlanId *WxlanTagVlanId `json:"vlan_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WxlanTag represents a WxlanTag struct. WxLAN Tag * type: * client: created manually (e.g. on wireless client table, when they spot a device of interest, they can create a wxlan tag for it * resource: created automatically when we discover a network resource * subnet: create automatically when a subnet is discovered * match: * wlan_id, ap_id: values are a list of Wlan / Device ids * client_mac: values are a list of MAC addresses * radius_group: this is a smart tag that matches RADIUS-Filter-ID, Airespace-ACL-Name (VendorID=14179, VendorType=6) / Aruba-User-Role (VendorID=14823, VendorType=1) * radius_username: this matches the ATTR-User-Name(1) * radius_class: the matches the ATTR-Class(25) * radius_attr: the values are [ "6=1" , "26=10.2.3.4" ], this support other RADIUS attributes where we know the type * radius_vendor: the values are [ "14179.10=1" , "14178.16=1.2.3.4" ], this matches vendor attributes and will be dynamically evaluated
func (WxlanTag) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for WxlanTag. It customizes the JSON marshaling process for WxlanTag objects.
func (WxlanTag) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for WxlanTag, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WxlanTag) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for WxlanTag. It customizes the JSON unmarshaling process for WxlanTag objects.
type WxlanTagMatchEnum ¶
type WxlanTagMatchEnum string
WxlanTagMatchEnum is a string enum. required if `type`==`match`. enum: `ap_id`, `app`, `asset_mac`, `client_mac`, `hostname`, `ip_range_subnet`, `port`, `psk_name`, `psk_role`, `radius_attr`, `radius_class`, `radius_group`, `radius_username`, `sdkclient_uuid`, `wlan_id`
const ( WxlanTagMatchEnum_APID WxlanTagMatchEnum = "ap_id" WxlanTagMatchEnum_APP WxlanTagMatchEnum = "app" WxlanTagMatchEnum_ASSETMAC WxlanTagMatchEnum = "asset_mac" WxlanTagMatchEnum_CLIENTMAC WxlanTagMatchEnum = "client_mac" WxlanTagMatchEnum_HOSTNAME WxlanTagMatchEnum = "hostname" WxlanTagMatchEnum_IPRANGESUBNET WxlanTagMatchEnum = "ip_range_subnet" WxlanTagMatchEnum_PORT WxlanTagMatchEnum = "port" WxlanTagMatchEnum_PSKNAME WxlanTagMatchEnum = "psk_name" WxlanTagMatchEnum_PSKROLE WxlanTagMatchEnum = "psk_role" WxlanTagMatchEnum_RADIUSATTR WxlanTagMatchEnum = "radius_attr" WxlanTagMatchEnum_RADIUSCLASS WxlanTagMatchEnum = "radius_class" WxlanTagMatchEnum_RADIUSGROUP WxlanTagMatchEnum = "radius_group" WxlanTagMatchEnum_RADIUSUSERNAME WxlanTagMatchEnum = "radius_username" WxlanTagMatchEnum_SDKCLIENTUUID WxlanTagMatchEnum = "sdkclient_uuid" WxlanTagMatchEnum_WLANID WxlanTagMatchEnum = "wlan_id" )
type WxlanTagOperationEnum ¶
type WxlanTagOperationEnum string
WxlanTagOperationEnum is a string enum. required if `type`==`match`, type of tag (inclusive/exclusive). enum: `in`, `not_in`
const ( WxlanTagOperationEnum_IN WxlanTagOperationEnum = "in" WxlanTagOperationEnum_NOTIN WxlanTagOperationEnum = "not_in" )
type WxlanTagSpec ¶
type WxlanTagSpec struct {
// Matched destination port, "0" means any
PortRange *string `json:"port_range,omitempty"`
// tcp / udp / icmp / gre / any / ":protocol_number", `protocol_number` is between 1-254
Protocol *string `json:"protocol,omitempty"`
// Matched destination subnets and/or IP Addresses
Subnets []string `json:"subnets,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WxlanTagSpec represents a WxlanTagSpec struct.
func (WxlanTagSpec) MarshalJSON ¶
func (w WxlanTagSpec) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WxlanTagSpec. It customizes the JSON marshaling process for WxlanTagSpec objects.
func (WxlanTagSpec) String ¶ added in v0.4.23
func (w WxlanTagSpec) String() string
String implements the fmt.Stringer interface for WxlanTagSpec, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WxlanTagSpec) UnmarshalJSON ¶
func (w *WxlanTagSpec) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WxlanTagSpec. It customizes the JSON unmarshaling process for WxlanTagSpec objects.
type WxlanTagTypeEnum ¶
type WxlanTagTypeEnum string
WxlanTagTypeEnum is a string enum. enum: `client`, `match`, `resource`, `spec`, `subnet`, `vlan`
const ( WxlanTagTypeEnum_CLIENT WxlanTagTypeEnum = "client" WxlanTagTypeEnum_MATCH WxlanTagTypeEnum = "match" WxlanTagTypeEnum_RESOURCE WxlanTagTypeEnum = "resource" WxlanTagTypeEnum_SPEC WxlanTagTypeEnum = "spec" WxlanTagTypeEnum_SUBNET WxlanTagTypeEnum = "subnet" WxlanTagTypeEnum_VLAN WxlanTagTypeEnum = "vlan" )
type WxlanTagVlanId ¶ added in v0.2.20
type WxlanTagVlanId struct {
// contains filtered or unexported fields
}
WxlanTagVlanId represents a WxlanTagVlanId struct. If `type`==`vlan_id`, VLAN ID or variable
func (*WxlanTagVlanId) AsNumber ¶ added in v0.2.20
func (w *WxlanTagVlanId) AsNumber() ( *int, bool)
func (*WxlanTagVlanId) AsString ¶ added in v0.2.20
func (w *WxlanTagVlanId) AsString() ( *string, bool)
func (WxlanTagVlanId) MarshalJSON ¶ added in v0.2.20
func (w WxlanTagVlanId) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WxlanTagVlanId. It customizes the JSON marshaling process for WxlanTagVlanId objects.
func (WxlanTagVlanId) String ¶ added in v0.2.20
func (w WxlanTagVlanId) String() string
String implements the fmt.Stringer interface for WxlanTagVlanId, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WxlanTagVlanId) UnmarshalJSON ¶ added in v0.2.20
func (w *WxlanTagVlanId) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WxlanTagVlanId. It customizes the JSON unmarshaling process for WxlanTagVlanId objects.
type WxlanTunnel ¶
type WxlanTunnel struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// Dynamic Multipoint VPN configurations
Dmvpn *WxlanTunnelDmvpn `json:"dmvpn,omitempty"`
// Determined during creation time and cannot be toggled. A management tunnel cannot be used by wxlan rule or by wlan
ForMgmt *bool `json:"for_mgmt,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// In seconds, used as heartbeat to detect if a tunnel is alive. AP will try another peer after missing N hellos specified by hello_retries.
HelloInterval *int `json:"hello_interval,omitempty"`
HelloRetries *int `json:"hello_retries,omitempty"`
// Optional, overwrite the hostname in SCCRQ control message, default is or null, %H and %M can be used, which will be replace with corresponding values:
// * %H: name of the ap if provided (and will be stripped so it can be used for hostname) and fallbacks to MAC
// * %M: MAC (e.g. 5c5b350e0060)
Hostname *string `json:"hostname,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// IPSec-related configurations; requires DMVPN be enabled
Ipsec *WxlanTunnelIpsec `json:"ipsec,omitempty"`
// Whether it’s static/unmanaged (i.e. no control session). As the session configurations are not compatible, cannot be toggled.
IsStatic *bool `json:"is_static,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
// 0 to enable PMTU, 552-1500 to start PMTU with a lower MTU
Mtu *int `json:"mtu,omitempty"`
// The name of the tunnel
Name string `json:"name"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// List of remote peers’ IP or hostname
Peers []string `json:"peers,omitempty"`
// Optional, overwrite the router-id in SCCRQ control message, default is "" or null, can also be an IPv4 address
RouterId *string `json:"router_id,omitempty"`
// Secret, ‘’ if no auth is used
Secret *string `json:"secret,omitempty"`
// Sessions to be established with the tunnel. Has to be >= 1 in order for this tunnel to be useful. For management tunnel, it can only have 1
Sessions []WxlanTunnelSession `json:"sessions,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// UDP port if `use_udp`==`true`
UdpPort *int `json:"udp_port,omitempty"`
// Whether to use UDP instead of IP (proto=115, which is default of L2TPv3)
UseUdp *bool `json:"use_udp,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WxlanTunnel represents a WxlanTunnel struct. WxLAn Tunnel
func (WxlanTunnel) MarshalJSON ¶
func (w WxlanTunnel) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WxlanTunnel. It customizes the JSON marshaling process for WxlanTunnel objects.
func (WxlanTunnel) String ¶ added in v0.4.23
func (w WxlanTunnel) String() string
String implements the fmt.Stringer interface for WxlanTunnel, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WxlanTunnel) UnmarshalJSON ¶
func (w *WxlanTunnel) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WxlanTunnel. It customizes the JSON unmarshaling process for WxlanTunnel objects.
type WxlanTunnelDmvpn ¶
type WxlanTunnelDmvpn struct {
// Whether DMVPN is enabled
Enabled *bool `json:"enabled,omitempty"`
// Optional; the holding time for NHRP ‘registration requests’ and ‘resolution replies’ sent from the Mist AP (in seconds); default 600
HoldingTime *int `json:"holding_time,omitempty"`
// Optional; list of IPv4 DMVPN peer host ip-addresses to which traffic is forwarded
HostRoutes []string `json:"host_routes,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WxlanTunnelDmvpn represents a WxlanTunnelDmvpn struct. Dynamic Multipoint VPN configurations
func (WxlanTunnelDmvpn) MarshalJSON ¶
func (w WxlanTunnelDmvpn) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WxlanTunnelDmvpn. It customizes the JSON marshaling process for WxlanTunnelDmvpn objects.
func (WxlanTunnelDmvpn) String ¶ added in v0.4.23
func (w WxlanTunnelDmvpn) String() string
String implements the fmt.Stringer interface for WxlanTunnelDmvpn, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WxlanTunnelDmvpn) UnmarshalJSON ¶
func (w *WxlanTunnelDmvpn) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WxlanTunnelDmvpn. It customizes the JSON unmarshaling process for WxlanTunnelDmvpn objects.
type WxlanTunnelIpsec ¶
type WxlanTunnelIpsec struct {
// Whether ipsec is enabled, requires DMVPN be enabled
Enabled *bool `json:"enabled,omitempty"`
// IPSec pre-shared key
Psk string `json:"psk"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WxlanTunnelIpsec represents a WxlanTunnelIpsec struct. IPSec-related configurations; requires DMVPN be enabled
func (WxlanTunnelIpsec) MarshalJSON ¶
func (w WxlanTunnelIpsec) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WxlanTunnelIpsec. It customizes the JSON marshaling process for WxlanTunnelIpsec objects.
func (WxlanTunnelIpsec) String ¶ added in v0.4.23
func (w WxlanTunnelIpsec) String() string
String implements the fmt.Stringer interface for WxlanTunnelIpsec, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WxlanTunnelIpsec) UnmarshalJSON ¶
func (w *WxlanTunnelIpsec) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WxlanTunnelIpsec. It customizes the JSON unmarshaling process for WxlanTunnelIpsec objects.
type WxlanTunnelSession ¶
type WxlanTunnelSession struct {
// If `use_ap_as_session_ids`==`true`, only apmac is supported right now. This is the name WLAN should use for wxtunnel_remote_id
ApAsSessionId *string `json:"ap_as_session_id,omitempty"`
// Optional, user-specified string for display purpose
Comment *string `json:"comment,omitempty"`
EnableCookie *bool `json:"enable_cookie,omitempty"`
// enum: `ethernet`, `vlan`
Ethertype *WxlanTunnelSessionEthertypeEnum `json:"ethertype,omitempty"`
// 1-2147483647
LocalSessionId *int `json:"local_session_id,omitempty"`
// Optional. Enables the pseudo 802.1ad QinQ mode where the AP device drops the outer vlan tag (QinQ). This mode is useful when tunneling Mist AP’s to some aggregation routers.
Pseudo8021adEnabled *bool `json:"pseudo_802.1ad_enabled,omitempty"`
// Remote-id of the session, has to be unique in the same tunnel
RemoteId *string `json:"remote_id,omitempty"`
// 1-2147483647
RemoteSessionId *int `json:"remote_session_id,omitempty"`
// Whether to use AP (last 4 bytes of MAC currently) as session ids
UseApAsSessionIds *bool `json:"use_ap_as_session_ids,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WxlanTunnelSession represents a WxlanTunnelSession struct.
func (WxlanTunnelSession) MarshalJSON ¶
func (w WxlanTunnelSession) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WxlanTunnelSession. It customizes the JSON marshaling process for WxlanTunnelSession objects.
func (WxlanTunnelSession) String ¶ added in v0.4.23
func (w WxlanTunnelSession) String() string
String implements the fmt.Stringer interface for WxlanTunnelSession, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WxlanTunnelSession) UnmarshalJSON ¶
func (w *WxlanTunnelSession) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WxlanTunnelSession. It customizes the JSON unmarshaling process for WxlanTunnelSession objects.
type WxlanTunnelSessionEthertypeEnum ¶
type WxlanTunnelSessionEthertypeEnum string
WxlanTunnelSessionEthertypeEnum is a string enum. enum: `ethernet`, `vlan`
const ( WxlanTunnelSessionEthertypeEnum_ETHERNET WxlanTunnelSessionEthertypeEnum = "ethernet" WxlanTunnelSessionEthertypeEnum_VLAN WxlanTunnelSessionEthertypeEnum = "vlan" )
type WxtagClient ¶
type WxtagClient struct {
Mac string `json:"mac"`
Since float64 `json:"since"`
AdditionalProperties map[string]interface{} `json:"_"`
}
WxtagClient represents a WxtagClient struct.
func (WxtagClient) MarshalJSON ¶
func (w WxtagClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WxtagClient. It customizes the JSON marshaling process for WxtagClient objects.
func (WxtagClient) String ¶ added in v0.4.23
func (w WxtagClient) String() string
String implements the fmt.Stringer interface for WxtagClient, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*WxtagClient) UnmarshalJSON ¶
func (w *WxtagClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WxtagClient. It customizes the JSON unmarshaling process for WxtagClient objects.
type Zone ¶
type Zone struct {
// When the object has been created, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
// Unique ID of the object instance in the Mist Organization
Id *uuid.UUID `json:"id,omitempty"`
// Map where this zone is defined
MapId *uuid.UUID `json:"map_id,omitempty"`
// When the object has been modified for the last time, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
// The name of the zone
Name *string `json:"name,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Vertices used to define an area. It’s assumed that the last point connects to the first point and forms an closed area
Vertices []ZoneVertex `json:"vertices,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
Zone represents a Zone struct. Zone
func (Zone) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Zone. It customizes the JSON marshaling process for Zone objects.
func (Zone) String ¶ added in v0.4.23
String implements the fmt.Stringer interface for Zone, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*Zone) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Zone. It customizes the JSON unmarshaling process for Zone objects.
type ZoneScopeEnum ¶
type ZoneScopeEnum string
ZoneScopeEnum is a string enum. enum: `map`, `rssizone`, `site`, `zone`
const ( ZoneScopeEnum_ENUMMAP ZoneScopeEnum = "map" ZoneScopeEnum_RSSIZONE ZoneScopeEnum = "rssizone" ZoneScopeEnum_SITE ZoneScopeEnum = "site" ZoneScopeEnum_ZONE ZoneScopeEnum = "zone" )
type ZoneTypeEnum ¶
type ZoneTypeEnum string
ZoneTypeEnum is a string enum. enum: `rssizones`, `zones`
const ( ZoneTypeEnum_RSSIZONES ZoneTypeEnum = "rssizones" ZoneTypeEnum_ZONES ZoneTypeEnum = "zones" )
type ZoneVertex ¶
type ZoneVertex struct {
// X in pixel
X float64 `json:"x"`
// Y in pixel
Y float64 `json:"y"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ZoneVertex represents a ZoneVertex struct.
func (ZoneVertex) MarshalJSON ¶
func (z ZoneVertex) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ZoneVertex. It customizes the JSON marshaling process for ZoneVertex objects.
func (ZoneVertex) String ¶ added in v0.4.23
func (z ZoneVertex) String() string
String implements the fmt.Stringer interface for ZoneVertex, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ZoneVertex) UnmarshalJSON ¶
func (z *ZoneVertex) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ZoneVertex. It customizes the JSON unmarshaling process for ZoneVertex objects.
type ZoneVertexM ¶
type ZoneVertexM struct {
// X in pixel
X float64 `json:"x"`
// Y in pixel
Y float64 `json:"y"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ZoneVertexM represents a ZoneVertexM struct.
func (ZoneVertexM) MarshalJSON ¶
func (z ZoneVertexM) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ZoneVertexM. It customizes the JSON marshaling process for ZoneVertexM objects.
func (ZoneVertexM) String ¶ added in v0.4.23
func (z ZoneVertexM) String() string
String implements the fmt.Stringer interface for ZoneVertexM, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ZoneVertexM) UnmarshalJSON ¶
func (z *ZoneVertexM) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ZoneVertexM. It customizes the JSON unmarshaling process for ZoneVertexM objects.
Source Files
¶
- aamw_profile.go
- aamw_profile_category.go
- account_cradlepoint_config.go
- account_crowdstrike_config.go
- account_jamf_config.go
- account_jse_config.go
- account_jse_info.go
- account_juniper_config.go
- account_juniper_info.go
- account_mobicontrol_config.go
- account_oauth_add.go
- account_oauth_config.go
- account_oauth_info.go
- account_oauth_info_account.go
- account_oauth_info_account_region.go
- account_oauth_info_account_service_connection.go
- account_prisma_config.go
- account_sentinelone_config.go
- account_skyatp_config.go
- account_skyatp_data.go
- account_skyatp_data_secintel.go
- account_skyatp_info.go
- account_vmware_config.go
- account_zdx_config.go
- account_zscaler_config.go
- account_zscaler_info.go
- acl_policy.go
- acl_policy_action.go
- acl_tag.go
- acl_tag_spec.go
- additional_vlan_ids.go
- admin.go
- admin_invite.go
- admin_privilege.go
- aggregate_route.go
- alarm.go
- alarm_ack.go
- alarm_search_result.go
- alarm_template.go
- alarm_template_rule.go
- alarms.go
- anomaly.go
- ap_aeroscout.go
- ap_airista.go
- ap_centrak.go
- ap_client_bridge.go
- ap_client_bridge_auth.go
- ap_esl_config.go
- ap_iot.go
- ap_iot_input.go
- ap_iot_output.go
- ap_ip_config.go
- ap_led.go
- ap_mesh.go
- ap_port_config.go
- ap_port_config_dynamic_vlan.go
- ap_pwr_config.go
- ap_radio.go
- ap_radio_band_24.go
- ap_radio_band_5.go
- ap_radio_band_6.go
- ap_radio_mac.go
- ap_radio_stat.go
- ap_redundancy.go
- ap_redundancy_module.go
- ap_search.go
- ap_search_wlan.go
- ap_stat_mesh_downlink.go
- ap_stat_mesh_uplink.go
- ap_switch.go
- ap_switch_setting.go
- ap_switch_setting_port_vlan_id.go
- ap_template.go
- ap_template_matching.go
- ap_template_matching_rule.go
- ap_template_wifi.go
- ap_uplink_port_config.go
- ap_usb.go
- api_usage.go
- app_probing.go
- app_probing_custom_app.go
- arp_table_stats.go
- asset.go
- asset_filter.go
- asset_import.go
- asset_of_interest.go
- asset_rssi_zone.go
- asset_zone.go
- assets_import_file.go
- audit_log.go
- auto_orient.go
- auto_placement.go
- auto_preemption.go
- avprofile.go
- beacon.go
- bgp_as.go
- bgp_config.go
- bgp_config_neighbors.go
- bgp_local_as.go
- bgp_peer.go
- bgp_stats.go
- binary_stream.go
- ble_config.go
- call_troubleshoot.go
- call_troubleshoot_data.go
- call_troubleshoot_summary.go
- call_troubleshoot_summary_data.go
- capture_client.go
- capture_gateway.go
- capture_gateway_gateways.go
- capture_gateway_gateways_port.go
- capture_mxedge.go
- capture_mxedge_mxedges.go
- capture_mxedge_mxedges_interfaces.go
- capture_new_assoc.go
- capture_org.go
- capture_radiotap.go
- capture_radiotapwired.go
- capture_scan.go
- capture_scan_aps.go
- capture_site.go
- capture_switch.go
- capture_switch_ports_tcpdump_expression.go
- capture_switch_switches.go
- capture_wired.go
- capture_wireless.go
- claim_activation.go
- clear_dot_1_x_session.go
- client_cert_serial_numbers.go
- client_nac.go
- client_wireless.go
- coa_server.go
- code_string.go
- config_device.go
- config_switch_local_accounts_user.go
- config_vc_port_member.go
- const_alarm_definition.go
- const_ap_channel.go
- const_ap_esl_version.go
- const_ap_led.go
- const_app_category_definition.go
- const_app_category_definition_filters.go
- const_app_subcategory_definition.go
- const_application_definition.go
- const_country.go
- const_device_ap.go
- const_device_ap_band_24.go
- const_device_ap_band_5.go
- const_device_ap_extios.go
- const_device_ap_vble.go
- const_device_gateway.go
- const_device_gateway_ports.go
- const_device_model.go
- const_device_switch.go
- const_device_switch_default.go
- const_event.go
- const_fingerprint_types.go
- const_gateway_applications_definition.go
- const_insight_metrics_property.go
- const_insight_metrics_property_example.go
- const_insight_metrics_property_example_any_of.go
- const_insight_metrics_property_example_any_of_2.go
- const_insight_metrics_property_examples_object.go
- const_insight_metrics_property_interval.go
- const_insight_metrics_property_param.go
- const_insight_metrics_property_report_duration.go
- const_language.go
- const_license_type.go
- const_marvis_client_version.go
- const_mxedge_model.go
- const_mxedge_model_port.go
- const_nac_event.go
- const_other_device_model.go
- const_state.go
- const_traffic_type.go
- const_webhook_topic.go
- count_result.go
- cpu_stat.go
- days_number.go
- delivery.go
- device_ap.go
- device_ap_lacp_config.go
- device_event.go
- device_gateway.go
- device_id_string.go
- device_other.go
- device_search_radius_stat.go
- device_switch.go
- device_upgrade.go
- device_version_item.go
- deviceprofile.go
- deviceprofile_ap.go
- deviceprofile_gateway.go
- deviceprofile_switch.go
- devices_gbp_tag.go
- devices_ids.go
- dhcp_client_option.go
- dhcp_snooping.go
- dhcpd_config.go
- dhcpd_config_fixed_binding.go
- dhcpd_config_option.go
- dhcpd_config_property.go
- dhcpd_config_vendor_option.go
- dhcpd_stat_lan.go
- discovered_switch.go
- discovered_switch_ap.go
- discovered_switch_metric.go
- discovered_switch_metric_ap.go
- dscp.go
- dswitches_compliance_major_version.go
- dswitches_metrics_inactive_wired_vlans.go
- dswitches_metrics_poe_compliance.go
- dswitches_metrics_poe_compliance_details.go
- dswitches_metrics_switch_ap_affinity.go
- dswitches_metrics_switch_ap_affinity_details.go
- dswitches_metrics_version_compliance.go
- dswitches_metrics_version_compliance_details.go
- email_string.go
- enums.go
- event_fastroam.go
- event_otherdevice.go
- events_client.go
- events_client_wan.go
- events_rogue.go
- events_skyatp.go
- evpn_config.go
- evpn_options.go
- evpn_options_overlay.go
- evpn_options_underlay.go
- evpn_options_vs_instance.go
- evpn_topology.go
- evpn_topology_response.go
- evpn_topology_switch.go
- evpn_topology_switch_config.go
- evpn_topology_switch_config_dhcpd_config.go
- evpn_topology_switch_config_vrf_config.go
- extra_route.go
- extra_route_6.go
- extra_route_6_next_qualified_properties.go
- extra_route_next_qualified_properties.go
- fingerprint.go
- fingerprint_search_result.go
- fwupdate_stat.go
- gateway_cluster.go
- gateway_cluster_node.go
- gateway_compliance_major_version_properties.go
- gateway_compliance_version.go
- gateway_extra_route.go
- gateway_ip_config_property.go
- gateway_matching.go
- gateway_matching_rule.go
- gateway_metrics.go
- gateway_mgmt.go
- gateway_mgmt_host_out_policy.go
- gateway_mgmt_host_out_policy_syslog.go
- gateway_mgmt_host_out_policy_syslog_server.go
- gateway_oob_ip_config.go
- gateway_oob_ip_config_node_1.go
- gateway_path_preferences.go
- gateway_path_preferences_path.go
- gateway_port_config.go
- gateway_port_config_ip_config.go
- gateway_port_config_reth_idx.go
- gateway_port_mirroring.go
- gateway_port_mirroring_port_mirror.go
- gateway_port_vlan_id_with_variable.go
- gateway_port_vpn_path.go
- gateway_port_wan_source_nat.go
- gateway_search.go
- gateway_template.go
- gateway_traffic_shaping.go
- gateway_vrf_instance.go
- gateway_wan_probe_override.go
- guest.go
- guest_org.go
- gw_routing_policy.go
- gw_routing_policy_term.go
- gw_routing_policy_term_action.go
- gw_routing_policy_term_matching.go
- gw_routing_policy_term_matching_route_exists.go
- gw_routing_policy_term_matching_vpn_path_sla.go
- ha_cluster_config.go
- ha_cluster_config_node.go
- ha_cluster_delete.go
- ha_cluster_node.go
- hours.go
- idp_config.go
- idp_profile.go
- idp_profile_matching.go
- idp_profile_overwrite.go
- if_stat_property.go
- if_stat_property_servp_info.go
- image_import.go
- insight_metrics.go
- insight_metrics_results_item.go
- insight_rogue_ap.go
- insight_rogue_client.go
- installer_device.go
- installer_provision_device.go
- installer_site.go
- installers_item.go
- inventory.go
- inventory_search.go
- inventory_search_result.go
- inventory_search_result_member.go
- inventory_update.go
- ip_stat.go
- issued_client_certificate.go
- issued_client_certificates_results.go
- js_inventory_item.go
- js_inventory_search.go
- jse_device.go
- juniper_account.go
- juniper_srx_auto_upgrade.go
- junos_ip_config.go
- junos_local_port_config.go
- junos_other_ip_config.go
- junos_port_config.go
- last_trouble.go
- lat_lng.go
- latlng_br.go
- latlng_tl.go
- license.go
- license_amendment.go
- license_sub.go
- license_usage_org.go
- license_usage_site.go
- locate_switch.go
- log_event.go
- login.go
- login_failures.go
- m_map.go
- mac_addresses.go
- mac_table_stats.go
- map_import_json.go
- map_jibestream.go
- map_micello.go
- map_node.go
- map_node_position.go
- map_org_import_file.go
- map_org_import_file_json.go
- map_site_import_file.go
- map_site_replace_file.go
- map_site_replace_file_json.go
- map_site_replace_file_json_transform.go
- map_sitesurvey_path_items.go
- map_wall_path.go
- map_wayfinding.go
- map_wayfinding_micello.go
- map_wayfinding_path.go
- marvis.go
- marvis_auto_operations.go
- marvis_client.go
- memory_stat.go
- mist_device.go
- mist_nacedge.go
- ml_overwrite_additional_properties.go
- module_stat_item_errors_items.go
- module_stat_item_fans_items.go
- module_stat_item_network_resource.go
- module_stat_item_pics_item.go
- module_stat_item_pics_item_port_groups_item.go
- module_stat_item_poe.go
- module_stat_item_psus_item.go
- module_stat_item_temperatures_item.go
- module_stat_item_vc_links_item.go
- msp.go
- msp_license_action.go
- msp_logo.go
- msp_org_change.go
- mxcluster.go
- mxcluster_nac.go
- mxcluster_nac_client_ip.go
- mxcluster_radsec.go
- mxcluster_radsec_acct_server.go
- mxcluster_radsec_auth_server.go
- mxcluster_radsec_tls.go
- mxcluster_tunterm_extra_route.go
- mxedge.go
- mxedge_das.go
- mxedge_das_coa_server.go
- mxedge_event.go
- mxedge_event_sys_info.go
- mxedge_mgmt.go
- mxedge_oob_ip_config.go
- mxedge_tunterm_dhcpd_config.go
- mxedge_tunterm_dhcpd_config_property.go
- mxedge_tunterm_extra_route.go
- mxedge_tunterm_igmp_snooping_config.go
- mxedge_tunterm_igmp_snooping_querier.go
- mxedge_tunterm_ip_config.go
- mxedge_tunterm_multicast_config.go
- mxedge_tunterm_multicast_mdns.go
- mxedge_tunterm_multicast_ssdp.go
- mxedge_tunterm_other_ip_config.go
- mxedge_tunterm_switch_config.go
- mxedge_tunterm_switch_configs.go
- mxedge_upgrade_info_items.go
- mxedge_upgrade_multi.go
- mxedge_upgrade_multi_allow_downgrades.go
- mxedge_upgrade_response_counts.go
- mxedge_upgrade_version.go
- mxedge_versions.go
- mxedges_assign.go
- mxedges_unassign.go
- mxtunnel.go
- mxtunnel_ipsec.go
- mxtunnel_ipsec_extra_route.go
- nac_client_event.go
- nac_crl_file.go
- nac_portal.go
- nac_portal_guest_portal.go
- nac_portal_sso.go
- nac_portal_sso_role_matching.go
- nac_portal_template.go
- nac_rule.go
- nac_rule_matching.go
- nac_tag.go
- nac_tag_gbp_tag.go
- name_string.go
- network.go
- network_internal_access.go
- network_internet_access.go
- network_internet_access_destination_nat_property.go
- network_internet_access_static_nat_property.go
- network_multicast.go
- network_multicast_group.go
- network_source_nat.go
- network_template.go
- network_tenant.go
- network_vpn_access_config.go
- network_vpn_access_destination_nat_property.go
- network_vpn_access_static_nat_property.go
- note_string.go
- notes_string.go
- number_or_null.go
- optic_port_config_port.go
- org.go
- org_apitoken.go
- org_crl_import_file.go
- org_device.go
- org_event.go
- org_license_action.go
- org_service_policy.go
- org_setting.go
- org_setting_api_policy.go
- org_setting_auto_assignment_rule.go
- org_setting_auto_device_naming.go
- org_setting_auto_device_naming_rule.go
- org_setting_auto_deviceprofile_assignment.go
- org_setting_auto_site_assignment.go
- org_setting_celona.go
- org_setting_cloudshark.go
- org_setting_cradlepoint.go
- org_setting_device_cert.go
- org_setting_gateway_mgmt.go
- org_setting_gateway_mgmt_app_probing.go
- org_setting_gateway_mgmt_host_in_policies.go
- org_setting_gateway_mgmt_host_in_policy.go
- org_setting_gateway_mgmt_host_out_policies.go
- org_setting_gateway_mgmt_overlay_ip.go
- org_setting_installer.go
- org_setting_jcloud.go
- org_setting_jcloud_ra.go
- org_setting_juniper_srx.go
- org_setting_junos_shell_access.go
- org_setting_mgmt.go
- org_setting_mist_nac.go
- org_setting_mist_nac_idp.go
- org_setting_mist_nac_server_cert.go
- org_setting_password_policy.go
- org_setting_pcap.go
- org_setting_scep.go
- org_setting_scep_response.go
- org_setting_security.go
- org_setting_switch.go
- org_setting_switch_mgmt.go
- org_setting_vpn_options.go
- org_setting_wan_pma.go
- org_setting_wired_pma.go
- org_setting_wireless_pma.go
- org_site_sle_wan_result.go
- org_site_sle_wifi.go
- org_site_sle_wifi_result.go
- org_site_sle_wired_result.go
- org_site_wan_wifi.go
- org_site_wired_wifi.go
- org_ssl_proxy_cert.go
- org_system_event.go
- org_ui_settings.go
- org_ui_settings_tile.go
- org_ui_settings_tile_position.go
- orggroup.go
- ospf_area.go
- ospf_areas_network.go
- ospf_peer_stats_search_result.go
- ospf_peer_stats_search_results_items.go
- other_device_update.go
- other_device_update_multi.go
- pcap_bucket.go
- pcap_bucket_verify.go
- pma_dashboard.go
- privilege_msp.go
- privilege_org.go
- protect_re.go
- protect_re_custom.go
- proxy.go
- psk.go
- psk_id_list.go
- psk_portal.go
- psk_portal_image.go
- psk_portal_passphrase_rules.go
- psk_portal_sso.go
- psk_portal_template.go
- psk_vlan_id.go
- psks_import_file.go
- push_policy_push_window.go
- radius_acct_port.go
- radius_acct_server.go
- radius_auth_port.go
- radius_auth_server.go
- radius_coa_port.go
- radius_config.go
- radsec.go
- radsec_idle_timeout.go
- radsec_server.go
- recaptcha.go
- recover.go
- remote_syslog.go
- remote_syslog_archive.go
- remote_syslog_archive_files.go
- remote_syslog_console.go
- remote_syslog_content.go
- remote_syslog_file_config.go
- remote_syslog_server.go
- remote_syslog_server_port.go
- remote_syslog_user.go
- replace_device.go
- response_anomaly_search.go
- response_assign_success.go
- response_async_license.go
- response_async_license_detail.go
- response_auto_orientation.go
- response_auto_orientation_device.go
- response_auto_orientation_info.go
- response_auto_placement_info.go
- response_auto_zone.go
- response_auto_zone_zone.go
- response_auto_zone_zone_vertex.go
- response_autoplacement.go
- response_autoplacement_device.go
- response_call_troubleshoot_summary.go
- response_certificate.go
- response_claim_license.go
- response_claim_license_inventory_item.go
- response_claim_license_inventory_pending_item.go
- response_claim_license_license_error_item.go
- response_claim_license_license_item.go
- response_claim_mx_edge.go
- response_client_events_search.go
- response_client_nac_search.go
- response_client_search.go
- response_client_sessions_search.go
- response_client_sessions_search_item.go
- response_config_history_search.go
- response_config_history_search_item.go
- response_config_history_search_item_radio.go
- response_config_history_search_item_wlan.go
- response_count.go
- response_count_marvis_actions.go
- response_count_marvis_actions_result.go
- response_device_bios_upgrade.go
- response_device_config_cli.go
- response_device_config_cmd.go
- response_device_events_search.go
- response_device_metrics.go
- response_device_metrics_results_items.go
- response_device_radio_channels.go
- response_device_search.go
- response_device_search_results_items.go
- response_device_upgrade.go
- response_discovered_switch_metrics.go
- response_discovered_switches.go
- response_dswitches_metrics.go
- response_events_devices.go
- response_events_fastroam.go
- response_events_nac_client_search.go
- response_events_orgs_search.go
- response_events_other_devices_search.go
- response_events_path_search.go
- response_events_rogue_search.go
- response_events_rrm.go
- response_events_search.go
- response_events_sky_atp_search.go
- response_guest_search.go
- response_insight_rogue.go
- response_insight_rogue_client.go
- response_inventory.go
- response_inventory_inventory_added_items.go
- response_inventory_inventory_duplicated_items.go
- response_location_coverage.go
- response_log_search.go
- response_login_lookup.go
- response_login_oauth_url.go
- response_login_success.go
- response_logout.go
- response_map_import.go
- response_map_import_ap.go
- response_map_import_floorplan.go
- response_map_import_summary.go
- response_mobile_verify_secret.go
- response_msp_inventory_device.go
- response_mxedge_events_search.go
- response_mxedge_search.go
- response_mxedge_upgrade.go
- response_mxtunnels_preempt_aps.go
- response_nac_crl_files.go
- response_org_devices.go
- response_org_devices_summary.go
- response_org_inventory_change.go
- response_org_search.go
- response_org_search_item.go
- response_org_site_sle.go
- response_org_suppress_alarm.go
- response_org_suppress_alarm_item.go
- response_org_system_events_search.go
- response_past_spectrum_analysis.go
- response_past_spectrum_analysis_channel_usage.go
- response_past_spectrum_analysis_fft_sample.go
- response_past_spectrum_analysis_result.go
- response_pcap_ap.go
- response_pcap_bucket_config.go
- response_pcap_search.go
- response_pcap_search_item.go
- response_pcap_search_item_pcap_aps_item.go
- response_pcap_start.go
- response_pcap_status.go
- response_port_stats_search.go
- response_psk_portal_logs_search.go
- response_psk_portal_logs_search_item.go
- response_router_ssr_register_cmd.go
- response_rrm_consideration.go
- response_rrm_neighbors.go
- response_running_spectrum_analysis.go
- response_search.go
- response_search_bgps.go
- response_search_item.go
- response_search_var.go
- response_search_var_item.go
- response_self_audit_logs.go
- response_self_oauth_link_success.go
- response_self_oauth_url.go
- response_self_subscription.go
- response_set_devices_map.go
- response_site_device_upgrade.go
- response_site_device_upgrades_item.go
- response_site_search.go
- response_site_search_item.go
- response_sso_failure_search.go
- response_sso_failure_search_item.go
- response_ssr_export_id_tokens.go
- response_ssr_export_id_tokens_results_item.go
- response_ssr_upgrade.go
- response_ssr_upgrade_counts.go
- response_ssr_upgrade_status.go
- response_ssr_upgrade_status_targets.go
- response_stats_assets.go
- response_stats_calls.go
- response_stats_calls_summary.go
- response_switch_metrics.go
- response_switch_metrics_active_ports_summary.go
- response_switch_metrics_config_success.go
- response_switch_metrics_config_success_details.go
- response_switch_metrics_version_compliance.go
- response_switch_metrics_version_compliance_details.go
- response_switch_port_search.go
- response_synthetictest_search.go
- response_synthetictestt.go
- response_troubleshoot.go
- response_troubleshoot_item.go
- response_tunnel_search.go
- response_tunnel_search_item.go
- response_two_factor_json.go
- response_upgrade_id.go
- response_upgrade_org_devices.go
- response_verify_token_success.go
- response_virtual_chassis_config.go
- response_wired_coa.go
- response_zone_search.go
- response_zone_search_item.go
- rf_diag.go
- rf_diag_info_item.go
- rf_template.go
- rf_template_model_specific_property.go
- rftemplate_radio_band_24.go
- rftemplate_radio_band_5.go
- rftemplate_radio_band_6.go
- rogue_details.go
- root_password_string.go
- route_summary_stats.go
- routing_policy_local_preference.go
- rrm.go
- rrm_band.go
- rrm_band_metric.go
- rrm_band_metric_interference.go
- rrm_consideration.go
- rrm_event.go
- rrm_neighbors.go
- rrm_neighbors_neighbor.go
- rssi_zone.go
- rssi_zone_device.go
- saml_metadata.go
- sdk_invite_sms.go
- sdkinvite.go
- sdkstats_wireless_client.go
- sdkstats_wireless_client_vbeacon.go
- sdkstats_wireless_client_zone.go
- sdktemplate.go
- search_events_wan_client.go
- search_mxedge.go
- search_wan_client.go
- search_wan_usage.go
- search_webhook_delivery.go
- search_wired_client.go
- search_wireless_client_session.go
- search_wxtag_apps_item.go
- secintel_profile.go
- secintel_profile_profile.go
- secpolicy.go
- service.go
- service_dscp.go
- service_max_jitter.go
- service_max_latency.go
- service_max_loss.go
- service_packet.go
- service_path_event.go
- service_policy.go
- service_policy_aamw.go
- service_policy_antivirus.go
- service_policy_appqoe.go
- service_policy_ewf_rule.go
- service_policy_secintel.go
- service_policy_skyatp.go
- service_policy_ssl_proxy.go
- service_policy_syslog.go
- service_spec.go
- service_stat_property.go
- setting_ssr.go
- setting_ssr_auto_upgrade.go
- shell_node.go
- simple_alert.go
- simple_alert_arp_failure.go
- simple_alert_dhcp_failure.go
- simple_alert_dns_failure.go
- site.go
- site_app.go
- site_engagement.go
- site_engagement_dwell_tag_names.go
- site_engagement_dwell_tags.go
- site_mxtunnel.go
- site_mxtunnel_additional_mxtunnel.go
- site_mxtunnel_cluster.go
- site_mxtunnel_radsec.go
- site_occupancy_analytics.go
- site_rogue.go
- site_setting.go
- site_setting_analytic.go
- site_setting_ap_matching.go
- site_setting_ap_matching_rule.go
- site_setting_ap_port_config.go
- site_setting_auto_placement.go
- site_setting_auto_upgrade.go
- site_setting_auto_upgrade_esl.go
- site_setting_config_push_policy.go
- site_setting_critical_url_monitoring.go
- site_setting_critical_url_monitoring_monitor.go
- site_setting_derived.go
- site_setting_gateway_mgmt.go
- site_setting_gateway_mgmt_auto_signature_update.go
- site_setting_juniper_srx.go
- site_setting_juniper_srx_gateway.go
- site_setting_mxedge.go
- site_setting_paloalto_network_gateway.go
- site_setting_paloalto_networks.go
- site_setting_rtsa.go
- site_setting_skyatp.go
- site_setting_srx_app.go
- site_setting_status_portal.go
- site_setting_switch.go
- site_setting_tunterm_multicast_config.go
- site_setting_tunterm_multicast_config_mdns.go
- site_setting_tunterm_multicast_config_ssdp.go
- site_setting_vna.go
- site_setting_wan_vna.go
- site_setting_wired_vna.go
- site_sle_metrics.go
- site_template.go
- site_template_auto_upgrade.go
- site_wids.go
- site_wids_repeated_auth_failures.go
- site_wifi.go
- site_zone_occupancy_alert.go
- sitegroup.go
- skyatp_list.go
- skyatp_list_domain.go
- skyatp_list_ip.go
- sle_classifier.go
- sle_classifier_impact.go
- sle_classifier_samples.go
- sle_classifier_summary.go
- sle_classifier_summary_impact.go
- sle_histogram.go
- sle_histogram_data_item.go
- sle_impact_summary.go
- sle_impact_summary_ap_item.go
- sle_impact_summary_band_item.go
- sle_impact_summary_device_os_item.go
- sle_impact_summary_device_type_item.go
- sle_impact_summary_wlan_item.go
- sle_impacted_applications.go
- sle_impacted_applications_app.go
- sle_impacted_aps.go
- sle_impacted_aps_ap.go
- sle_impacted_chassis.go
- sle_impacted_chassis_chassis_item.go
- sle_impacted_client_gateway.go
- sle_impacted_clients.go
- sle_impacted_clients_client.go
- sle_impacted_clients_client_switch.go
- sle_impacted_gateways.go
- sle_impacted_gateways_gateway.go
- sle_impacted_interfaces.go
- sle_impacted_interfaces_interface.go
- sle_impacted_switches.go
- sle_impacted_switches_switch.go
- sle_impacted_users.go
- sle_impacted_users_client.go
- sle_impacted_users_user.go
- sle_summary.go
- sle_summary_impact.go
- sle_summary_sle.go
- sle_summary_sle_samples.go
- sle_threshold.go
- sle_thresholds.go
- snmp_config.go
- snmp_config_client_list.go
- snmp_config_trap_group.go
- snmp_config_v_2_c_config.go
- snmp_config_view.go
- snmp_usm.go
- snmp_usm_user.go
- snmp_vacm.go
- snmp_vacm_access_item.go
- snmp_vacm_access_item_prefix_list_item.go
- snmp_vacm_security_to_group.go
- snmp_vacm_security_to_group_content_item.go
- snmpv_3_config.go
- snmpv_3_config_notify_filter_item.go
- snmpv_3_config_notify_filter_item_content.go
- snmpv_3_config_notify_items.go
- snmpv_3_config_target_address_item.go
- snmpv_3_config_target_param.go
- spectrum_analysis.go
- sponsor_link_validity_duration.go
- sso.go
- sso_mxedge_proxy.go
- sso_mxedge_proxy_acct_server.go
- sso_mxedge_proxy_auth_server.go
- sso_openroaming.go
- sso_role_msp.go
- sso_role_org.go
- ssr_proxy.go
- ssr_upgrade.go
- ssr_upgrade_multi.go
- ssr_version.go
- stats_ap.go
- stats_ap_auto_placement.go
- stats_ap_auto_placement_info.go
- stats_ap_auto_placement_info_probability_surface.go
- stats_ap_auto_upgrade.go
- stats_ap_ble.go
- stats_ap_env_stat.go
- stats_ap_esl_stat.go
- stats_ap_gps_stat.go
- stats_ap_iot_stat_additional_properties.go
- stats_ap_l_2_tp_stat.go
- stats_ap_l_2_tp_stat_session.go
- stats_ap_lldp_stat.go
- stats_ap_port_stat.go
- stats_ap_radio_config.go
- stats_ap_radio_config_band.go
- stats_ap_radio_stat.go
- stats_ap_switch_redundancy.go
- stats_ap_usb_stat.go
- stats_asset.go
- stats_beacon.go
- stats_call.go
- stats_client.go
- stats_cluster_config.go
- stats_cluster_config_control_link_info.go
- stats_cluster_config_ethernet_connection_item.go
- stats_cluster_config_fabric_link_info.go
- stats_cluster_config_redundancy_group_info_item.go
- stats_device.go
- stats_device_other.go
- stats_device_other_connected_device.go
- stats_device_other_interface.go
- stats_device_other_vendor_specific.go
- stats_device_other_vendor_specific_port.go
- stats_gateway.go
- stats_gateway_cluster.go
- stats_gateway_mac_table_stats.go
- stats_gateway_module_stat_item.go
- stats_gateway_port.go
- stats_gateway_service_status.go
- stats_gateway_spu_item.go
- stats_gateway_vpn_peer.go
- stats_gateway_wan_tunnel.go
- stats_mxedge.go
- stats_mxedge_cpu_stat.go
- stats_mxedge_inactive_vlan_strs.go
- stats_mxedge_ip_stat.go
- stats_mxedge_lag_stat.go
- stats_mxedge_memory_stat.go
- stats_mxedge_oob_ip_stat.go
- stats_mxedge_port_stat.go
- stats_mxedge_port_stat_lacp.go
- stats_mxedge_port_stat_lldp_stats.go
- stats_mxedge_port_stat_sfp.go
- stats_mxedge_service_stat.go
- stats_mxedge_tunterm_ip_config.go
- stats_mxedge_tunterm_port_config.go
- stats_mxedge_tunterm_stat.go
- stats_mxtunnel.go
- stats_mxtunnel_session.go
- stats_org.go
- stats_org_sle.go
- stats_org_sle_user_minutes.go
- stats_rssi_zone.go
- stats_rssi_zones_device.go
- stats_sdkclient.go
- stats_sdkclient_network_connection.go
- stats_site.go
- stats_switch.go
- stats_switch_ap_redundancy.go
- stats_switch_ap_redundancy_module.go
- stats_switch_client_item.go
- stats_switch_clients_stats.go
- stats_switch_clients_stats_total.go
- stats_switch_module_stat_item.go
- stats_switch_port.go
- stats_switch_vc_setup_info.go
- stats_unconnected_client.go
- stats_wan_client.go
- stats_wan_tunnel.go
- stats_wired_client.go
- stats_wireless_client.go
- stats_wireless_client_airwatch.go
- stats_wireless_client_rssi_zone.go
- stats_wireless_client_vbeacon.go
- stats_wireless_client_wxrule_usage.go
- stats_wireless_client_zone.go
- stats_wxrule.go
- stats_wxrule_usage_properties.go
- stats_zone.go
- stats_zone_assets_waits.go
- stats_zone_clients_waits.go
- stats_zone_details.go
- stats_zone_details_client_waits.go
- stats_zone_discovered_assets_waits.go
- stats_zone_sdkclients_waits.go
- stats_zone_unconnected_clients_waits.go
- suppressed_alarm.go
- suppressed_alarm_applies.go
- sw_routing_policy.go
- sw_routing_policy_term.go
- sw_routing_policy_term_action.go
- sw_routing_policy_term_matching.go
- switch_auto_upgrade.go
- switch_auto_upgrade_container.go
- switch_bgp_config.go
- switch_bgp_config_neighbor.go
- switch_bgp_config_neighbor_neighbor_as.go
- switch_dhcpd_config.go
- switch_dhcpd_config_property.go
- switch_iot_port.go
- switch_matching.go
- switch_matching_rule.go
- switch_matching_rule_ip_config.go
- switch_matching_rule_oob_ip_config.go
- switch_metrics_active_ports_summary_details.go
- switch_metrics_compliance_major_version.go
- switch_mgmt.go
- switch_mgmt_mxedge_proxy_port.go
- switch_mist_nac.go
- switch_network.go
- switch_oob_ip_config.go
- switch_ospf_config.go
- switch_ospf_config_area.go
- switch_ospf_config_reference_bandwidth.go
- switch_port_config_overwrite.go
- switch_port_local_usage_storm_control.go
- switch_port_mirroring_property.go
- switch_port_usage.go
- switch_port_usage_dynamic_rule.go
- switch_port_usage_mac_limit.go
- switch_port_usage_mac_limit_overwrite.go
- switch_port_usage_mtu.go
- switch_port_usage_reauth_interval.go
- switch_port_usage_storm_control.go
- switch_radius.go
- switch_radius_config.go
- switch_search.go
- switch_stp_config.go
- switch_virtual_chassis.go
- switch_virtual_chassis_member.go
- switch_vrf_instance.go
- synthetictest_config.go
- synthetictest_config_custom_probe.go
- synthetictest_config_lan_network.go
- synthetictest_config_vlan.go
- synthetictest_config_wan_speedtestt.go
- synthetictest_device.go
- synthetictest_device_vlan_id.go
- synthetictest_info.go
- synthetictest_radius_server.go
- synthetictestt.go
- tacacs.go
- tacacs_acct_server.go
- tacacs_auth_server.go
- template.go
- template_applies.go
- template_exceptions.go
- test_cradlepoint.go
- test_sms_global.go
- test_telstra.go
- test_twilio.go
- ticket.go
- ticket_attachment.go
- ticket_comment.go
- ticket_comment_import_file.go
- ticket_comments_attachment.go
- ticket_upload_attachments_file.go
- troubleshoot_call_item.go
- tunnel_config.go
- tunnel_config_auto_provision.go
- tunnel_config_auto_provision_lat_lng.go
- tunnel_config_auto_provision_node.go
- tunnel_config_ike_proposal.go
- tunnel_config_ipsec_proposal.go
- tunnel_config_node.go
- tunnel_config_probe.go
- tunnel_provider_options.go
- tunnel_provider_options_jse.go
- tunnel_provider_options_prisma.go
- tunnel_provider_options_zscaler.go
- tunnel_provider_options_zscaler_sub_location.go
- tunterm_dhcpd_config.go
- tunterm_dhcpd_config_property.go
- tunterm_monitoring_item.go
- tunterm_port_config.go
- tunterm_port_config_upstream_port_vlan_id.go
- two_factor_code.go
- two_factor_string.go
- ui_settings.go
- ui_settings_default_time_range.go
- ui_settings_tile.go
- ui_settings_tile_metric.go
- ui_settings_tile_time_range.go
- upgrade_bios.go
- upgrade_bios_multi.go
- upgrade_devices_targets.go
- upgrade_fpga.go
- upgrade_fpga_multi.go
- upgrade_org_devices.go
- upgrade_org_devices_item.go
- upgrade_org_devices_item_site_upgrade.go
- upgrade_org_devices_upgrade.go
- upgrade_org_devices_upgrade_info.go
- upgrade_org_devices_version.go
- upgrade_site_devices.go
- upgrade_site_devices_counts.go
- use_auto_ap_values.go
- user_apitoken.go
- user_mac.go
- user_mac_import.go
- user_macs_update.go
- usermacs_id.go
- username_password.go
- utilities.go
- utils_bounce_port.go
- utils_cable_tests.go
- utils_clear_arp.go
- utils_clear_bgp.go
- utils_clear_bpdu.go
- utils_clear_macs.go
- utils_clear_session.go
- utils_devices_restart.go
- utils_devices_restart_multi.go
- utils_mac_table.go
- utils_monitor_traffic.go
- utils_ping.go
- utils_release_dhcp.go
- utils_release_dhcp_leases.go
- utils_reset_radio_config.go
- utils_rrm_optimize.go
- utils_send_ble_beacon.go
- utils_send_support_logs.go
- utils_service_ping.go
- utils_show_arp.go
- utils_show_bgp_summary.go
- utils_show_dhcp_leases.go
- utils_show_dot_1_x.go
- utils_show_evpn_database.go
- utils_show_forwarding_table.go
- utils_show_ospf_database.go
- utils_show_ospf_interfaces.go
- utils_show_ospf_neighbors.go
- utils_show_ospf_summary.go
- utils_show_route.go
- utils_show_service_path.go
- utils_show_session.go
- utils_traceroute.go
- utils_tunterm_bounce_port.go
- utils_zeroize_fips.go
- vbeacon.go
- vc_port.go
- version_string.go
- virtual_chassis_config.go
- virtual_chassis_config_member.go
- virtual_chassis_member_update.go
- virtual_chassis_port.go
- virtual_chassis_update.go
- vlan_id_with_variable.go
- vpn.go
- vpn_path.go
- vpn_path_peer_paths_peer.go
- vpn_path_selection.go
- vpn_path_traffic_shaping.go
- vpn_peer_stat.go
- vpn_peer_stat_search.go
- vrf_config.go
- vrf_extra_route.go
- vrrp_config.go
- vrrp_config_group.go
- vrrp_group.go
- vrrp_group_network.go
- vs_instance_property.go
- wan_extra_routes.go
- wan_usages.go
- wayfinding_import_json.go
- webhook.go
- webhook_alarm_event.go
- webhook_alarms.go
- webhook_asset_raw_rssi.go
- webhook_asset_raw_rssi_event.go
- webhook_asset_raw_rssi_event_service_packet.go
- webhook_audits.go
- webhook_client_info.go
- webhook_client_info_event.go
- webhook_client_join.go
- webhook_client_join_event.go
- webhook_client_latency.go
- webhook_client_latency_event.go
- webhook_client_sessions.go
- webhook_client_sessions_event.go
- webhook_delivery.go
- webhook_device_events.go
- webhook_device_updowns.go
- webhook_device_updowns_event.go
- webhook_discovered_raw_rssi.go
- webhook_discovered_raw_rssi_event.go
- webhook_guest_authorizations.go
- webhook_guest_authorizations_event.go
- webhook_location.go
- webhook_location_asset.go
- webhook_location_asset_event.go
- webhook_location_centrak.go
- webhook_location_centrak_event.go
- webhook_location_client.go
- webhook_location_client_event.go
- webhook_location_event.go
- webhook_location_sdk.go
- webhook_location_sdk_event.go
- webhook_location_unclient.go
- webhook_location_unclient_event.go
- webhook_mxedge_events.go
- webhook_nac_accounting.go
- webhook_nac_accounting_event.go
- webhook_nac_events.go
- webhook_occupancy_alerts.go
- webhook_occupancy_alerts_event.go
- webhook_occupancy_alerts_event_alert_events_items.go
- webhook_ping.go
- webhook_ping_event.go
- webhook_rssizone.go
- webhook_rssizone_event.go
- webhook_sdkclient_scan_data.go
- webhook_sdkclient_scan_data_event.go
- webhook_sdkclient_scan_data_event_scan_data_item.go
- webhook_site_sle.go
- webhook_site_sle_event.go
- webhook_site_sle_event_sle.go
- webhook_wifi_conn_raw.go
- webhook_wifi_conn_raw_event.go
- webhook_wifi_conn_raw_event_extended_info.go
- webhook_wifi_conn_raw_event_packet.go
- webhook_wifi_unconn_raw.go
- webhook_wifi_unconn_raw_event.go
- webhook_wifi_unconn_raw_event_packet.go
- webhook_zone.go
- webhook_zone_event.go
- websocket_session.go
- websocket_session_with_url.go
- wifi_beacon_extended_info_items.go
- wired_client_response.go
- wired_client_response_device_mac_port_item.go
- wireless_client_session.go
- wlan.go
- wlan_airwatch.go
- wlan_app_limit.go
- wlan_app_qos.go
- wlan_app_qos_apps_properties.go
- wlan_app_qos_others_item.go
- wlan_auth.go
- wlan_bonjour.go
- wlan_bonjour_service_properties.go
- wlan_cisco_cwa.go
- wlan_datarates.go
- wlan_dns_server_rewrite.go
- wlan_dynamic_psk.go
- wlan_dynamic_vlan.go
- wlan_dynamic_vlan_default_vlan_id.go
- wlan_dynamic_vlan_default_vlan_id_deprecated.go
- wlan_hotspot_20.go
- wlan_inject_dhcp_option_82.go
- wlan_limit.go
- wlan_mist_nac.go
- wlan_portal.go
- wlan_portal_sponsors.go
- wlan_portal_template.go
- wlan_portal_template_setting.go
- wlan_portal_template_setting_locale.go
- wlan_qos.go
- wlan_schedule.go
- wlan_vlan_id_with_variable.go
- wlan_vlan_ids.go
- wxlan_rule.go
- wxlan_tag.go
- wxlan_tag_spec.go
- wxlan_tag_vlan_id.go
- wxlan_tunnel.go
- wxlan_tunnel_dmvpn.go
- wxlan_tunnel_ipsec.go
- wxlan_tunnel_session.go
- wxtag_client.go
- zone.go
- zone_vertex.go
- zone_vertex_m.go