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 ¶
- Variables
- type WebhooksHandler
- type WebhooksParsingResult
- func (w *WebhooksParsingResult) AsAlarms() (*models.WebhookAlarms, bool)
- func (w *WebhooksParsingResult) AsAssetRawRssi() (*models.WebhookAssetRawRssi, bool)
- func (w *WebhooksParsingResult) AsAudits() (*models.WebhookAudits, bool)
- func (w *WebhooksParsingResult) AsClientInfo() (*models.WebhookClientInfo, bool)
- func (w *WebhooksParsingResult) AsClientJoin() (*models.WebhookClientJoin, bool)
- func (w *WebhooksParsingResult) AsClientLatency() (*models.WebhookClientLatency, bool)
- func (w *WebhooksParsingResult) AsClientSessions() (*models.WebhookClientSessions, bool)
- func (w *WebhooksParsingResult) AsDeviceEvents() (*models.WebhookDeviceEvents, bool)
- func (w *WebhooksParsingResult) AsDeviceUpdowns() (*models.WebhookDeviceUpdowns, bool)
- func (w *WebhooksParsingResult) AsDiscoveredRawRssi() (*models.WebhookDiscoveredRawRssi, bool)
- func (w *WebhooksParsingResult) AsGuestAuthorizations() (*models.WebhookGuestAuthorizations, bool)
- func (w *WebhooksParsingResult) AsLocation() (*models.WebhookLocation, bool)
- func (w *WebhooksParsingResult) AsLocationAsset() (*models.WebhookLocationAsset, bool)
- func (w *WebhooksParsingResult) AsLocationCentrak() (*models.WebhookLocationCentrak, bool)
- func (w *WebhooksParsingResult) AsLocationClient() (*models.WebhookLocationClient, bool)
- func (w *WebhooksParsingResult) AsLocationSdk() (*models.WebhookLocationSdk, bool)
- func (w *WebhooksParsingResult) AsLocationUnclient() (*models.WebhookLocationUnclient, bool)
- func (w *WebhooksParsingResult) AsMinisReachability() (*models.WebhookMinisReachability, bool)
- func (w *WebhooksParsingResult) AsMxedgeEvents() (*models.WebhookMxedgeEvents, bool)
- func (w *WebhooksParsingResult) AsNacAccounting() (*models.WebhookNacAccounting, bool)
- func (w *WebhooksParsingResult) AsNacEvents() (*models.WebhookNacEvents, bool)
- func (w *WebhooksParsingResult) AsOccupancyAlerts() (*models.WebhookOccupancyAlerts, bool)
- func (w *WebhooksParsingResult) AsPing() (*models.WebhookPing, bool)
- func (w *WebhooksParsingResult) AsRssizone() (*models.WebhookRssizone, bool)
- func (w *WebhooksParsingResult) AsSdkclientScanData() (*models.WebhookSdkclientScanData, bool)
- func (w *WebhooksParsingResult) AsSiteSle() (*models.WebhookSiteSle, bool)
- func (w *WebhooksParsingResult) AsUnknown() bool
- func (w *WebhooksParsingResult) AsWifiConnRaw() (*models.WebhookWifiConnRaw, bool)
- func (w *WebhooksParsingResult) AsWifiUnconnRaw() (*models.WebhookWifiUnconnRaw, bool)
- func (w *WebhooksParsingResult) AsZone() (*models.WebhookZone, bool)
- func (w WebhooksParsingResult) MarshalJSON() ([]byte, error)
- func (w WebhooksParsingResult) String() string
- func (w *WebhooksParsingResult) UnmarshalJSON(input []byte) error
Constants ¶
This section is empty.
Variables ¶
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) 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.