webhooks

package
v0.4.107 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2026 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved

Package mistapi Copyright \xA9 2024 Juniper Networks, Inc. All rights reserved

Index

Constants

This section is empty.

Variables

View Source
var WebhooksParsingResultContainer internalWebhooksParsingResult

Functions

This section is empty.

Types

type WebhooksHandler

type WebhooksHandler struct{}

Manages WebhooksHandler event processing and event payload parsing.

func NewWebhooksHandler

func NewWebhooksHandler() *WebhooksHandler

NewWebhooksHandler creates a new instance of WebhooksHandler.

func (*WebhooksHandler) ParseEvent

func (w *WebhooksHandler) ParseEvent(req *http.Request) WebhooksParsingResult

ParseEvent parses the event payload.

type WebhooksParsingResult

type WebhooksParsingResult struct {
	// contains filtered or unexported fields
}

WebhooksParsingResult represents a WebhooksParsingResult struct.

func (*WebhooksParsingResult) AsAlarms

func (w *WebhooksParsingResult) AsAlarms() (
	*models.WebhookAlarms,
	bool)

func (*WebhooksParsingResult) AsAssetRawRssi

func (w *WebhooksParsingResult) AsAssetRawRssi() (
	*models.WebhookAssetRawRssi,
	bool)

func (*WebhooksParsingResult) AsAudits

func (w *WebhooksParsingResult) AsAudits() (
	*models.WebhookAudits,
	bool)

func (*WebhooksParsingResult) AsClientInfo

func (w *WebhooksParsingResult) AsClientInfo() (
	*models.WebhookClientInfo,
	bool)

func (*WebhooksParsingResult) AsClientJoin

func (w *WebhooksParsingResult) AsClientJoin() (
	*models.WebhookClientJoin,
	bool)

func (*WebhooksParsingResult) AsClientLatency

func (w *WebhooksParsingResult) AsClientLatency() (
	*models.WebhookClientLatency,
	bool)

func (*WebhooksParsingResult) AsClientSessions

func (w *WebhooksParsingResult) AsClientSessions() (
	*models.WebhookClientSessions,
	bool)

func (*WebhooksParsingResult) AsDeviceEvents

func (w *WebhooksParsingResult) AsDeviceEvents() (
	*models.WebhookDeviceEvents,
	bool)

func (*WebhooksParsingResult) AsDeviceUpdowns

func (w *WebhooksParsingResult) AsDeviceUpdowns() (
	*models.WebhookDeviceUpdowns,
	bool)

func (*WebhooksParsingResult) AsDiscoveredRawRssi

func (w *WebhooksParsingResult) AsDiscoveredRawRssi() (
	*models.WebhookDiscoveredRawRssi,
	bool)

func (*WebhooksParsingResult) AsGuestAuthorizations

func (w *WebhooksParsingResult) AsGuestAuthorizations() (
	*models.WebhookGuestAuthorizations,
	bool)

func (*WebhooksParsingResult) AsLocation

func (w *WebhooksParsingResult) AsLocation() (
	*models.WebhookLocation,
	bool)

func (*WebhooksParsingResult) AsLocationAsset

func (w *WebhooksParsingResult) AsLocationAsset() (
	*models.WebhookLocationAsset,
	bool)

func (*WebhooksParsingResult) AsLocationCentrak

func (w *WebhooksParsingResult) AsLocationCentrak() (
	*models.WebhookLocationCentrak,
	bool)

func (*WebhooksParsingResult) AsLocationClient

func (w *WebhooksParsingResult) AsLocationClient() (
	*models.WebhookLocationClient,
	bool)

func (*WebhooksParsingResult) AsLocationSdk

func (w *WebhooksParsingResult) AsLocationSdk() (
	*models.WebhookLocationSdk,
	bool)

func (*WebhooksParsingResult) AsLocationUnclient

func (w *WebhooksParsingResult) AsLocationUnclient() (
	*models.WebhookLocationUnclient,
	bool)

func (*WebhooksParsingResult) AsMinisApplication added in v0.4.103

func (w *WebhooksParsingResult) AsMinisApplication() (
	*models.WebhookMinisApplication,
	bool)

func (*WebhooksParsingResult) AsMinisReachability added in v0.4.102

func (w *WebhooksParsingResult) AsMinisReachability() (
	*models.WebhookMinisReachability,
	bool)

func (*WebhooksParsingResult) AsMxedgeEvents

func (w *WebhooksParsingResult) AsMxedgeEvents() (
	*models.WebhookMxedgeEvents,
	bool)

func (*WebhooksParsingResult) AsNacAccounting

func (w *WebhooksParsingResult) AsNacAccounting() (
	*models.WebhookNacAccounting,
	bool)

func (*WebhooksParsingResult) AsNacEvents

func (w *WebhooksParsingResult) AsNacEvents() (
	*models.WebhookNacEvents,
	bool)

func (*WebhooksParsingResult) AsOccupancyAlerts

func (w *WebhooksParsingResult) AsOccupancyAlerts() (
	*models.WebhookOccupancyAlerts,
	bool)

func (*WebhooksParsingResult) AsPing

func (w *WebhooksParsingResult) AsPing() (
	*models.WebhookPing,
	bool)

func (*WebhooksParsingResult) AsRssizone added in v0.4.98

func (w *WebhooksParsingResult) AsRssizone() (
	*models.WebhookRssizone,
	bool)

func (*WebhooksParsingResult) AsSdkclientScanData

func (w *WebhooksParsingResult) AsSdkclientScanData() (
	*models.WebhookSdkclientScanData,
	bool)

func (*WebhooksParsingResult) AsSiteSle

func (w *WebhooksParsingResult) AsSiteSle() (
	*models.WebhookSiteSle,
	bool)

func (*WebhooksParsingResult) AsUnknown

func (w *WebhooksParsingResult) AsUnknown() bool

func (*WebhooksParsingResult) AsWifiConnRaw

func (w *WebhooksParsingResult) AsWifiConnRaw() (
	*models.WebhookWifiConnRaw,
	bool)

func (*WebhooksParsingResult) AsWifiUnconnRaw

func (w *WebhooksParsingResult) AsWifiUnconnRaw() (
	*models.WebhookWifiUnconnRaw,
	bool)

func (*WebhooksParsingResult) AsZone

func (w *WebhooksParsingResult) AsZone() (
	*models.WebhookZone,
	bool)

func (WebhooksParsingResult) MarshalJSON

func (w WebhooksParsingResult) MarshalJSON() (
	[]byte,
	error)

MarshalJSON implements the json.Marshaler interface for WebhooksParsingResult. It customizes the JSON marshaling process for WebhooksParsingResult objects.

func (WebhooksParsingResult) String

func (w WebhooksParsingResult) String() string

String implements the fmt.Stringer interface for WebhooksParsingResult, providing a human-readable string representation useful for logging, debugging or displaying information.

func (*WebhooksParsingResult) UnmarshalJSON

func (w *WebhooksParsingResult) UnmarshalJSON(input []byte) error

UnmarshalJSON implements the json.Unmarshaler interface for WebhooksParsingResult. It customizes the JSON unmarshaling process for WebhooksParsingResult objects.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL