Documentation
¶
Index ¶
- Variables
- func ToPointer[T any](value T) *T
- type AccountCradlepointConfig
- type AccountJamfConfig
- type AccountJamfInfo
- type AccountJseConfig
- type AccountJseInfo
- type AccountJuniperConfig
- type AccountJuniperInfo
- type AccountOauthAdd
- func (a *AccountOauthAdd) AsAccountJamfConfig() (*AccountJamfConfig, bool)
- func (a *AccountOauthAdd) AsAccountVmwareConfig() (*AccountVmwareConfig, bool)
- func (a AccountOauthAdd) MarshalJSON() ([]byte, error)
- func (a AccountOauthAdd) String() string
- func (a *AccountOauthAdd) UnmarshalJSON(input []byte) error
- type AccountOauthConfig
- type AccountOauthInfo
- type AccountVmwareConfig
- type AccountVmwareInfo
- type AccountZscalerConfig
- type AccountZscalerInfo
- type AclPolicy
- type AclPolicyAction
- type AclTag
- type AclTagSpec
- type AclTagTypeEnum
- type Admin
- type AdminComplianceStatusEnum
- type AdminInvite
- type Alarm
- type AlarmAck
- type AlarmCountDisctinctEnum
- type AlarmSearchResult
- type AlarmTemplate
- type AlarmTemplateRule
- type Alarms
- type AllowDenyEnum
- type Anomaly
- type ApAeroscout
- type ApCentrak
- type ApClientBridge
- type ApClientBridgeAuth
- type ApClientBridgeAuthTypeEnum
- type ApEslConfig
- type ApEslTypeEnum
- type ApIot
- type ApIotInput
- type ApIotInputPullupEnum
- type ApIotOutput
- type ApIotOutputPullupEnum
- type ApIpConfig
- type ApIpConfig1
- type ApLed
- type ApMesh
- type ApMeshRoleEnum
- type ApPortConfig
- type ApPortConfigDynamicVlan
- type ApPortConfigForwardingEnum
- type ApPortConfigMacAuthProtocolEnum
- type ApPortConfigPortAuthEnum
- type ApPwrConfig
- type ApRadio
- type ApRadioAntennaModeEnum
- type ApRadioBand5
- type ApRadioBand6
- type ApRadioBand24
- type ApRadioMac
- type ApRadioStats
- type ApRedundancy
- type ApRedundancyModule
- type ApRedundancyModules
- type ApSearch
- type ApStatMeshDownlink
- type ApStatMeshUplink
- type ApStats
- type ApStatsAutoPlacement
- type ApStatsAutoPlacementInfo
- type ApStatsAutoPlacementInfoProbabilitySurface
- type ApStatsAutoUpgrade
- type ApStatsBle
- type ApStatsEnvStat
- type ApStatsEslStat
- type ApStatsIotStatAdditionalProperties
- type ApStatsL2TpStat
- type ApStatsL2TpStatSession
- type ApStatsLldpStat
- type ApStatsPortStat
- type ApStatsRadioConfig
- type ApStatsRadioConfigBand
- type ApStatsRadioStat
- type ApStatsSwitchRedundancy
- type ApStatsUsbStat
- type ApSwitch
- type ApSwitchSetting
- type ApTemplate
- type ApTemplateMatching
- type ApTemplateMatchingRule
- type ApTemplateWifi
- type ApUplinkPortConfig
- type ApUsb
- type ApUsbTypeEnum
- type ApiResponse
- 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 AutoOrientationStateEnum
- type AutoPlacement
- type AutoPlacementInfoStatusEnum
- type AutoPreemption
- type Beacon
- type BeaconStatsItems
- type BeaconTypeEnum
- type BgpConfig
- type BgpConfigCommunity
- type BgpConfigNeighbors
- type BgpConfigTypeEnum
- type BgpConfigViaEnum
- type BgpStats
- type BgpStatsStateEnum
- type BleConfig
- type BleConfigBeaconRateModeEnum
- type BleConfigPowerModeEnum
- type CallStats
- type CallTroubleshoot
- type CallTroubleshootData
- type CallTroubleshootSummar
- type CallTroubleshootSummary
- type CallTroubleshootSummaryData
- type CaptureClient
- type CaptureGateway
- type CaptureGatewayFormatEnum
- type CaptureGatewayGateways
- type CaptureGatewayGatewaysPort
- type CaptureMxedge
- type CaptureMxedgeFormatEnum
- type CaptureMxedgeMxedges
- type CaptureMxedgeMxedgesInterfaces
- type CaptureNewAssoc
- type CaptureOrg
- type CaptureRadiotap
- type CaptureRadiotapBandEnum
- type CaptureRadiotapFormatEnum
- type CaptureRadiotapwired
- type CaptureRadiotapwiredBandEnum
- type CaptureRadiotapwiredFormatEnum
- type CaptureScan
- type CaptureScanAps
- type CaptureScanApsBandEnum
- type CaptureScanBandEnum
- type CaptureScanFormatEnum
- 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 CaptureSwitchSwitches
- type CaptureWired
- type CaptureWiredFormatEnum
- type CaptureWireless
- type CaptureWirelessBandEnum
- type CaptureWirelessFormatEnum
- type ClaimActivation
- type ClaimTypeEnum
- type ClientNac
- type ClientWireless
- type ClientWirelessStats
- type ClientWirelessStatsAirwatch
- type ClientWirelessStatsGuest
- type ClientWirelessStatsRssiZone
- type ClientWirelessStatsVbeacon
- type ClientWirelessStatsWxruleUsage
- type ClientWirelessStatsZone
- type ClientsWanStats
- type ClusterConfigStats
- type ClusterConfigStatsControlLinkInfo
- type ClusterConfigStatsEthernetConnectionItem
- type ClusterConfigStatsFabricLinkInfo
- type ClusterConfigStatsRedundancyGroupInfoItem
- type CoaServer
- type CodeString
- type ConfigDevice
- type ConfigSwitch
- type ConfigSwitchLocalAccountsUser
- type ConfigSwitchLocalAccountsUserRoleEnum
- type ConfigSwitchRadius
- type ConfigVcPortMember
- type ConstAlarmDefinition
- type ConstApChannel
- type ConstApLed
- type ConstAppCategoryDefinition
- type ConstAppCategoryDefinitionFilters
- type ConstAppSubcategoryDefinition
- type ConstApplicationDefinition
- type ConstCountry
- type ConstDeviceAp
- type ConstDeviceApBand5
- type ConstDeviceApBand24
- type ConstDeviceApExtios
- type ConstDeviceApExtiosDefaultDirEnum
- type ConstDeviceApVble
- type ConstDeviceGateway
- type ConstDeviceGatewayPorts
- type ConstDeviceModel
- type ConstDeviceSwitch
- type ConstDeviceSwitchDefault
- type ConstDeviceSwitchDefault1
- type ConstDeviceUnknown
- type ConstEvent
- type ConstGatewayApplicationsDefinition
- type ConstInsightMetricsProperty
- type ConstInsightMetricsPropertyExample
- func (c *ConstInsightMetricsPropertyExample) AsBoolean() (*bool, bool)
- func (c *ConstInsightMetricsPropertyExample) AsNumber() (*int, 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 ConstInsightMetricsPropertyInterval
- type ConstInsightMetricsPropertyParam
- type ConstInsightMetricsPropertyReportDuration
- type ConstInsightMetricsPropertyScopeEnum
- type ConstLanguage
- type ConstLicenseType
- type ConstMxedgeModel
- type ConstMxedgeModelPort
- type ConstNacEvent
- type ConstOtherDeviceModel
- type ConstTrafficType
- type CountOrgDevicesMxtunnelStatusEnum
- type CountOrgSwitchPortsAuthStateEnum
- type CountOrgSwitchPortsStpRoleEnum
- type CountOrgSwitchPortsStpStateEnum
- type CountResult
- type CountSiteCallsDistrinctEnum
- type CountSiteSwOrGwPortsAuthStateEnum
- type CountSiteSwOrGwPortsStpRoleEnum
- type CountSiteSwOrGwPortsStpStateEnum
- type CountSiteSwitchPortsAuthStateEnum
- type CountSiteSwitchPortsStpRoleEnum
- type CountSiteSwitchPortsStpStateEnum
- type CpuStat
- type CreateOrgDeviceProfilesResponse
- func (c *CreateOrgDeviceProfilesResponse) AsDeviceprofileAp() (*DeviceprofileAp, bool)
- func (c *CreateOrgDeviceProfilesResponse) AsDeviceprofileGateway() (*DeviceprofileGateway, bool)
- func (c CreateOrgDeviceProfilesResponse) MarshalJSON() ([]byte, error)
- func (c CreateOrgDeviceProfilesResponse) String() string
- func (c *CreateOrgDeviceProfilesResponse) UnmarshalJSON(input []byte) error
- type DayOfWeekEnum
- type DaysNumber
- type Delivery
- type DeviceAp
- type DeviceGateway
- type DeviceIdString
- type DeviceOther
- type DeviceOtherStats
- type DeviceOtherStatsVendorSpecific
- type DeviceOtherStatsVendorSpecificPort
- type DeviceStatusEnum
- type DeviceSwitch
- type DeviceTypeApEnum
- type DeviceTypeEnum
- type DeviceTypeGatewayEnum
- type DeviceTypeSwitchEnum
- type DeviceTypeWithAllEnum
- type DeviceUpgrade
- type DeviceUpgradeRrmMeshUpgradeEnum
- type DeviceUpgradeRrmNodeOrderEnum
- type DeviceUpgradeStatusEnum
- type DeviceUpgradeStrategyEnum
- type DeviceVersionItem
- type Deviceprofile
- type Deviceprofile2
- func (d *Deviceprofile2) AsDeviceprofileAp() (*DeviceprofileAp, bool)
- func (d *Deviceprofile2) AsDeviceprofileGateway() (*DeviceprofileGateway, bool)
- func (d Deviceprofile2) MarshalJSON() ([]byte, error)
- func (d Deviceprofile2) String() string
- func (d *Deviceprofile2) UnmarshalJSON(input []byte) error
- type DeviceprofileAp
- type DeviceprofileGateway
- type DhcpSnooping
- type DhcpdConfig
- type DhcpdConfig1
- type DhcpdConfigFixedBinding
- type DhcpdConfigOption
- type DhcpdConfigOptionTypeEnum
- type DhcpdConfigProperty
- type DhcpdConfigTypeEnum
- type DhcpdConfigVendorOption
- type DhcpdConfigVendorOptionTypeEnum
- type DhcpdStat
- type DhcpdStatLan
- type DiscoveredSwitch
- type DiscoveredSwitchAp
- type DiscoveredSwitchMetric
- type DiscoveredSwitchMetricAp
- type DiscoveredSwitchMetricTypeEnum
- type DiscoveredSwitchesMetricScopeEnum
- type Dot11BandEnum
- type Dot11Bandwidth5Enum
- type Dot11Bandwidth6Enum
- type Dot11Bandwidth24Enum
- type Dot11BandwidthEnum
- type Dot11ProtoEnum
- type DswitchesComplianceMajorVersion
- type DswitchesMetricsInactiveWiredVlans
- type DswitchesMetricsPoeCompliance
- type DswitchesMetricsPoeComplianceDetails
- type DswitchesMetricsSwitchApAffinity
- type DswitchesMetricsSwitchApAffinityDetails
- type DswitchesMetricsVersionCompliance
- type DswitchesMetricsVersionComplianceDetails
- type DynamicPskSourceEnum
- type EmailString
- type EventFastroam
- type EventFastroamTypeEnum
- type EventNacClient
- type EventOtherdevice
- type EventsClient
- type EventsClientWan
- type EventsDeviceAp
- type EventsRogue
- type EventsSkyatp
- type EvpnConfig
- type EvpnConfigRoleEnum
- type EvpnOptions
- type EvpnOptionsOverlay
- type EvpnOptionsRoutedAtEnum
- type EvpnOptionsUnderlay
- type EvpnOptionsVsInstance
- type EvpnTopology
- type EvpnTopologySwitch
- type EvpnTopologySwitchRoleEnum
- type ExtraRoute6Properties
- type ExtraRoute6PropertiesNextQualifiedProperties
- type ExtraRouteProperties
- type ExtraRoutePropertiesNextQualifiedProperties
- type ExtraRoutes
- type FastRoamResultEnum
- type FileWrapper
- type FwupdateStat
- type GatewayCluster
- type GatewayClusterNode
- type GatewayClusterSwap
- type GatewayClusterSwapOpEnum
- type GatewayComplianceMajorVersionProperties
- type GatewayComplianceVersion
- type GatewayExtraRoute
- type GatewayIpConfigProperty
- type GatewayMatching
- type GatewayMatchingRule
- type GatewayMetrics
- type GatewayOobIpConfig
- type GatewayOobIpConfigNode1
- type GatewayPathPreferences
- type GatewayPathPreferencesPath
- type GatewayPathStrategyEnum
- type GatewayPathTypeEnum
- type GatewayPortConfig
- type GatewayPortConfigIpConfig
- type GatewayPortDslTypeEnum
- type GatewayPortDuplexEnum
- type GatewayPortLteAuthEnum
- type GatewayPortMirroring
- type GatewayPortMirroringPortMirror
- type GatewayPortUsage1Enum
- type GatewayPortUsageEnum
- type GatewayPortVpnPath
- type GatewayPortVpnPathBfdProfileEnum
- type GatewayPortVpnPathRoleEnum
- type GatewayPortWanArpPolicerEnum
- type GatewayPortWanSourceNat
- type GatewayPortWanTypeEnum
- type GatewaySearch
- type GatewayStats
- type GatewayStatsCluster
- type GatewayStatsServiceStatus
- type GatewayStatsSpuItem
- type GatewayTemplate
- type GatewayTemplateProbeTypeEnum
- type GatewayTemplateTunnelIkeDhGroupEnum
- type GatewayTemplateTunnelIkeModeEnum
- type GatewayTemplateTunnelIkeProposal
- type GatewayTemplateTunnelIpsecProposal
- type GatewayTemplateTunnelModeEnum
- type GatewayTemplateTunnelNode
- type GatewayTemplateTunnelProbe
- type GatewayTemplateTunnelProtocolEnum
- type GatewayTemplateTunnelVersionEnum
- type GatewayTemplateTypeEnum
- type GatewayTrafficShaping
- type GatewayWanPpoeAuthEnum
- type GatewayWanTypeEnum
- type GetOrgDeviceProfileResponse
- func (g *GetOrgDeviceProfileResponse) AsDeviceprofileAp() (*DeviceprofileAp, bool)
- func (g *GetOrgDeviceProfileResponse) AsDeviceprofileGateway() (*DeviceprofileGateway, bool)
- func (g GetOrgDeviceProfileResponse) MarshalJSON() ([]byte, error)
- func (g GetOrgDeviceProfileResponse) String() string
- func (g *GetOrgDeviceProfileResponse) UnmarshalJSON(input []byte) error
- type GetOrgMxedgeUpgradeInfoChannelEnum
- type GetOrgSitesSleResponse
- func (g *GetOrgSitesSleResponse) AsOrgSiteSleWifi() (*OrgSiteSleWifi, bool)
- func (g *GetOrgSitesSleResponse) AsOrgSiteWanWifi() (*OrgSiteWanWifi, bool)
- func (g *GetOrgSitesSleResponse) AsOrgSiteWiredWifi() (*OrgSiteWiredWifi, bool)
- func (g GetOrgSitesSleResponse) MarshalJSON() ([]byte, error)
- func (g GetOrgSitesSleResponse) String() string
- func (g *GetOrgSitesSleResponse) UnmarshalJSON(input []byte) error
- type GetSiteDeviceResponse
- func (g *GetSiteDeviceResponse) AsDeviceAp() (*DeviceAp, bool)
- func (g *GetSiteDeviceResponse) AsDeviceGateway() (*DeviceGateway, bool)
- func (g *GetSiteDeviceResponse) AsDeviceSwitch() (*DeviceSwitch, bool)
- func (g GetSiteDeviceResponse) MarshalJSON() ([]byte, error)
- func (g GetSiteDeviceResponse) String() string
- func (g *GetSiteDeviceResponse) UnmarshalJSON(input []byte) error
- type GetSiteDeviceStatsResponse
- func (g *GetSiteDeviceStatsResponse) AsApStats() (*ApStats, bool)
- func (g *GetSiteDeviceStatsResponse) AsGatewayStats() (*GatewayStats, bool)
- func (g *GetSiteDeviceStatsResponse) AsSwitchStats() (*SwitchStats, bool)
- func (g GetSiteDeviceStatsResponse) MarshalJSON() ([]byte, error)
- func (g GetSiteDeviceStatsResponse) String() string
- func (g *GetSiteDeviceStatsResponse) UnmarshalJSON(input []byte) error
- type Guest
- type HaClusterConfig
- type HaClusterConfigNode
- type HaClusterDelete
- type HaClusterNode
- type HaClusterNodeEnum
- type Hours
- type IdpConfig
- type IdpProfile
- type IdpProfileActionEnum
- type IdpProfileBaseProfileEnum
- type IdpProfileMatching
- type IdpProfileMatchingSeverityValueEnum
- type IdpProfileOverwrite
- type IfStat
- type IfStatProperty
- type IfStatPropertyServpInfo
- type ImageImport
- type ImportSiteAssetsUpsertEnum
- type ImportSiteDevicesResponse
- func (i *ImportSiteDevicesResponse) AsDeviceAp() (*DeviceAp, bool)
- func (i *ImportSiteDevicesResponse) AsDeviceGateway() (*DeviceGateway, bool)
- func (i *ImportSiteDevicesResponse) AsDeviceSwitch() (*DeviceSwitch, bool)
- func (i ImportSiteDevicesResponse) MarshalJSON() ([]byte, error)
- func (i ImportSiteDevicesResponse) String() string
- func (i *ImportSiteDevicesResponse) UnmarshalJSON(input []byte) error
- type InsightMetrics
- type InsightRogueAp
- type InsightRogueClient
- type InstallerDevice
- type InstallerProvisionDevice
- type InstallerSite
- type InstallersItem
- type Inventory
- type InventoryUpdate
- type InventoryUpdateOperationEnum
- type IpStat
- type IpType6Enum
- type IpTypeEnum
- type JseDevice
- type JseInventoryItem
- type JuniperAccount
- type JunosIpConfig
- type JunosOtherIpConfig
- type JunosPortConfig
- type JunosPortConfigDuplexEnum
- type JunosPortConfigSpeedEnum
- type L2TpStateEnum
- type LastTrouble
- type LatLng
- type LatlngBr
- type LatlngTl
- type License
- type LicenseAmendment
- type LicenseSub
- type LicenseTypeEnum
- type LicenseUsageOrg
- type LicenseUsageSite
- type ListDeviceModelsResponse
- func (l *ListDeviceModelsResponse) AsConstDeviceAp() (*ConstDeviceAp, bool)
- func (l *ListDeviceModelsResponse) AsConstDeviceGateway() (*ConstDeviceGateway, bool)
- func (l *ListDeviceModelsResponse) AsConstDeviceSwitch() (*ConstDeviceSwitch, bool)
- func (l *ListDeviceModelsResponse) AsConstDeviceUnknown() (*ConstDeviceUnknown, bool)
- func (l ListDeviceModelsResponse) MarshalJSON() ([]byte, error)
- func (l ListDeviceModelsResponse) String() string
- func (l *ListDeviceModelsResponse) UnmarshalJSON(input []byte) error
- type ListMspLogsSortEnum
- type ListOrgDeviceProfilesResponse
- func (l *ListOrgDeviceProfilesResponse) AsDeviceprofileAp() (*DeviceprofileAp, bool)
- func (l *ListOrgDeviceProfilesResponse) AsDeviceprofileGateway() (*DeviceprofileGateway, bool)
- func (l ListOrgDeviceProfilesResponse) MarshalJSON() ([]byte, error)
- func (l ListOrgDeviceProfilesResponse) String() string
- func (l *ListOrgDeviceProfilesResponse) UnmarshalJSON(input []byte) error
- type ListOrgDevicesStatsResponse
- func (l *ListOrgDevicesStatsResponse) AsApStats() (*ApStats, bool)
- func (l *ListOrgDevicesStatsResponse) AsGatewayStats() (*GatewayStats, bool)
- func (l *ListOrgDevicesStatsResponse) AsSwitchStats() (*SwitchStats, bool)
- func (l ListOrgDevicesStatsResponse) MarshalJSON() ([]byte, error)
- func (l ListOrgDevicesStatsResponse) String() string
- func (l *ListOrgDevicesStatsResponse) UnmarshalJSON(input []byte) error
- type ListOrgLogsSortEnum
- type ListSiteDeviceProfilesDerivedResponse
- func (l *ListSiteDeviceProfilesDerivedResponse) AsDeviceprofileAp() (*DeviceprofileAp, bool)
- func (l *ListSiteDeviceProfilesDerivedResponse) AsDeviceprofileGateway() (*DeviceprofileGateway, bool)
- func (l ListSiteDeviceProfilesDerivedResponse) MarshalJSON() ([]byte, error)
- func (l ListSiteDeviceProfilesDerivedResponse) String() string
- func (l *ListSiteDeviceProfilesDerivedResponse) UnmarshalJSON(input []byte) error
- type ListSiteDevicesResponse
- func (l *ListSiteDevicesResponse) AsDeviceAp() (*DeviceAp, bool)
- func (l *ListSiteDevicesResponse) AsDeviceGateway() (*DeviceGateway, bool)
- func (l *ListSiteDevicesResponse) AsDeviceSwitch() (*DeviceSwitch, bool)
- func (l ListSiteDevicesResponse) MarshalJSON() ([]byte, error)
- func (l ListSiteDevicesResponse) String() string
- func (l *ListSiteDevicesResponse) UnmarshalJSON(input []byte) error
- type ListSiteDevicesStatsResponse
- func (l *ListSiteDevicesStatsResponse) AsApStats() (*ApStats, bool)
- func (l *ListSiteDevicesStatsResponse) AsGatewayStats() (*GatewayStats, bool)
- func (l *ListSiteDevicesStatsResponse) AsSwitchStats() (*SwitchStats, bool)
- func (l ListSiteDevicesStatsResponse) MarshalJSON() ([]byte, error)
- func (l ListSiteDevicesStatsResponse) String() string
- func (l *ListSiteDevicesStatsResponse) UnmarshalJSON(input []byte) error
- type LocateSwitch
- type Login
- type MacAddresses
- type MacTableStats
- type Map
- type MapImportJson
- type MapImportJsonVendorNameEnum
- type MapJibestream
- type MapMicello
- 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 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 MlOverwriteAdditionalProperties
- type ModuleStatItem
- type ModuleStatItemErrorsItems
- type ModuleStatItemFansItems
- 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 MxclusterRadsecServerSelectionEnum
- type MxclusterRadsecSourceEnum
- type MxclusterRadsecTls
- type MxclusterTuntermExtraRoute
- type MxclusterTuntermHostsSelectionEnum
- type Mxedge
- type MxedgeDas
- type MxedgeDasCoaServer
- type MxedgeEvent
- type MxedgeForSiteEnum
- type MxedgeMgmt
- type MxedgeMgmtOobIpType6Enum
- type MxedgeMgmtOobIpTypeEnum
- type MxedgeOobIpConfig
- type MxedgeServiceActionEnum
- type MxedgeServiceNameEnum
- type MxedgeStats
- type MxedgeStatsCpuStat
- type MxedgeStatsIpStat
- type MxedgeStatsLagStat
- type MxedgeStatsMemoryStat
- type MxedgeStatsPortStat
- type MxedgeStatsServiceStat
- type MxedgeStatsTuntermIpConfig
- type MxedgeStatsTuntermPortConfig
- type MxedgeStatsTuntermStat
- 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 MxedgeTuntermSwitchConfigVlanIds
- func (m *MxedgeTuntermSwitchConfigVlanIds) AsNumber() (*int, bool)
- func (m *MxedgeTuntermSwitchConfigVlanIds) AsString() (*string, bool)
- func (m MxedgeTuntermSwitchConfigVlanIds) MarshalJSON() ([]byte, error)
- func (m MxedgeTuntermSwitchConfigVlanIds) String() string
- func (m *MxedgeTuntermSwitchConfigVlanIds) UnmarshalJSON(input []byte) error
- 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 MxtunnelStats
- type MxtunnelStatsSession
- type MxtunnelStatsStateEnum
- type NacCrlFile
- type NacPortal
- type NacPortalAccessTypeEnum
- type NacPortalSso
- type NacPortalSsoRoleMatching
- type NacRule
- type NacRuleActionEnum
- type NacRuleMatching
- type NacRuleMatchingAuthTypeEnum
- type NacRuleMatchingPortTypeEnum
- type NacTag
- type NacTagMatchEnum
- type NacTagTypeEnum
- type NameString
- type Network
- type NetworkDestinationNatProperty
- type NetworkInternalAccess
- type NetworkInternetAccess
- type NetworkSourceNat
- type NetworkStaticNatProperty
- type NetworkTemplate
- type NetworkTenant
- type NetworkVlanId
- type NetworkVpnAccessConfig
- type NoteString
- type NotesString
- type OauthAppNameEnum
- type Optional
- type Org
- type OrgApitoken
- type OrgAssetCountDistinctEnum
- type OrgAutoRules
- type OrgAutoRulesMatchDeviceTypeEnum
- type OrgAutoRulesSrcEnum
- type OrgClientSessionsCountDistinctEnum
- type OrgClientsCountDistinctEnum
- type OrgCrlImportFile
- type OrgDevice
- type OrgDeviceUpgrade
- type OrgDeviceUpgradeSiteUpgrade
- 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 OrgSettingAutoDeviceNaming
- type OrgSettingAutoDeviceprofileAssignment
- type OrgSettingAutoSiteAssignment
- type OrgSettingCelona
- type OrgSettingCloudshark
- type OrgSettingDeviceCert
- type OrgSettingGatewayMgmt
- type OrgSettingGatewayMgmtAppProbing
- type OrgSettingGatewayMgmtHostOutPolicies
- type OrgSettingGatewayMgmtHostOutPoliciesDns
- type OrgSettingGatewayMgmtHostOutPoliciesMist
- type OrgSettingGatewayMgmtHostOutPoliciesNtp
- type OrgSettingGatewayMgmtOverlayIp
- type OrgSettingInstaller
- type OrgSettingJcloud
- type OrgSettingMgmt
- type OrgSettingMistNac
- type OrgSettingMistNacIdp
- type OrgSettingMistNacIpVersionEnum
- type OrgSettingMistNacServerCert
- type OrgSettingPasswordPolicy
- type OrgSettingPcap
- type OrgSettingSecurity
- type OrgSettingSwitchMgmt
- type OrgSettingVpnOptions
- type OrgSettingWanPma
- type OrgSettingWiredPma
- type OrgSettingWirelessPma
- type OrgSiteSleTypeEnum
- type OrgSiteSleWanResult
- type OrgSiteSleWifi
- type OrgSiteSleWifiResult
- type OrgSiteSleWifiResult1
- type OrgSiteSleWiredResult
- type OrgSiteWanWifi
- type OrgSiteWiredWifi
- type OrgSitesCountDistinctEnum
- type OrgSleStat
- type OrgSleStatUserMinutes
- type OrgStats
- type OrgSwitchPortCountDistinctEnum
- type OrgTicketsCountDistinctEnum
- type OrgTunnelCountDistinctEnum
- type OrgTunnelTypeCountEnum
- type OrgWanClientsCountDistinctEnum
- type OrgWanClientsEventsCountDistinctEnum
- type OrgWiredClientsCountDistinctEnum
- type Orggroup
- type OspfAreas
- type OspfAreasNetwork
- type OspfAreasNetworkAuthTypeEnum
- type OspfAreasNetworkInterfaceTypeEnum
- type OspfAreasTypeEnum
- type OspfConfig
- type OspfConfigArea
- type OtherDeviceUpdate
- type OtherDeviceUpdateMulti
- type OtherDeviceUpdateOperationEnum
- type PcapBucket
- type PcapBucketVerify
- type PcapTypeEnum
- type PmaDashboard
- type PortConfig
- type PortConfig1
- type PortalTemplate
- type PrivilegeMsp
- type PrivilegeMspRoleEnum
- type PrivilegeMspScopeEnum
- type PrivilegeMspViewEnum
- type PrivilegeOrg
- type PrivilegeOrgRoleEnum
- type PrivilegeOrgScopeEnum
- type PrivilegeOrgViewsEnum
- type PrivilegeSelf
- type PrivilegeSelfRoleEnum
- type PrivilegeSelfScopeEnum
- type PrivilegeSelfViewsEnum
- type ProtectRe
- type ProtectReCustom
- type ProtectReCustomProtocolEnum
- type Proxy
- type Psk
- type PskIdList
- type PskPortal
- type PskPortalAuthEnum
- type PskPortalImage
- type PskPortalPassphraseRules
- type PskPortalSso
- type PskPortalTemplate
- type PskPortalTemplateAlignmentEnum
- type PskPortalTypeEnum
- type PskPortalVlanId
- type PskUsageEnum
- type PskVlanId
- type PsksImportFile
- type PushPolicyPushWindow
- type RadioBand24UsageEnum
- type RadioBandAntennaModeEnum
- type RadioBandPreambleEnum
- type RadiusAcctServer
- type RadiusAuthServer
- type RadiusConfig
- type RadiusKeywrapFormatEnum
- type Radsec
- type RadsecServer
- type Recaptcha
- type RecaptchaFlavorEnum
- type Recover
- type RemoteSyslog
- type RemoteSyslogArchive
- type RemoteSyslogConsole
- type RemoteSyslogContent
- type RemoteSyslogFacilityEnum
- type RemoteSyslogFileConfig
- type RemoteSyslogServer
- type RemoteSyslogServerProtocolEnum
- type RemoteSyslogSeverityEnum
- type RemoteSyslogTimeFormatEnum
- type RemoteSyslogUser
- type ReplaceDevice
- type ReponseRouter128TRegisterCmd
- type ReponseSynthetictest
- type ReponseSynthetictestSearch
- type RepsonseCount
- type ResolutionEnum
- type ResponseAnomalySearch
- type ResponseAssignSuccess
- type ResponseAutoOrientation
- type ResponseAutoPlacementInfo
- type ResponseCertificate
- type ResponseClaimLicense
- type ResponseClaimLicenseInventoryItem
- 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 ResponseCountMarvisActions
- type ResponseCountMarvisActionsResult
- type ResponseDeviceBiosUpgrade
- type ResponseDeviceConfigCli
- type ResponseDeviceConfigCmd
- type ResponseDeviceEventsSearch
- type ResponseDeviceMetrics
- type ResponseDeviceMetricsResults
- func (r *ResponseDeviceMetricsResults) AsNumber() (*int, bool)
- func (r *ResponseDeviceMetricsResults) AsString() (*string, bool)
- func (r ResponseDeviceMetricsResults) MarshalJSON() ([]byte, error)
- func (r ResponseDeviceMetricsResults) String() string
- func (r *ResponseDeviceMetricsResults) UnmarshalJSON(input []byte) error
- type ResponseDeviceRadioChannels
- type ResponseDeviceSearch
- type ResponseDeviceSearchResults
- func (r *ResponseDeviceSearchResults) AsApSearch() (*ApSearch, bool)
- func (r *ResponseDeviceSearchResults) AsGatewaySearch() (*GatewaySearch, bool)
- func (r *ResponseDeviceSearchResults) AsSwitchSearch() (*SwitchSearch, bool)
- func (r ResponseDeviceSearchResults) MarshalJSON() ([]byte, error)
- func (r ResponseDeviceSearchResults) String() string
- func (r *ResponseDeviceSearchResults) UnmarshalJSON(input []byte) error
- type ResponseDeviceSearchResultsItems
- type ResponseDeviceSnapshot
- type ResponseDeviceSnapshotStatusEnum
- type ResponseDeviceUpgrade
- type ResponseDeviceUpgradeCounts
- 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 ResponseLogSearchItem
- 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 ResponseOauthAppLink
- type ResponseOauthAppLinkAccounts
- func (r *ResponseOauthAppLinkAccounts) AsAccountJamfInfo() (*AccountJamfInfo, bool)
- func (r *ResponseOauthAppLinkAccounts) AsAccountOauthInfo() (*AccountOauthInfo, bool)
- func (r *ResponseOauthAppLinkAccounts) AsAccountVmwareInfo() (*AccountVmwareInfo, bool)
- func (r ResponseOauthAppLinkAccounts) MarshalJSON() ([]byte, error)
- func (r ResponseOauthAppLinkAccounts) String() string
- func (r *ResponseOauthAppLinkAccounts) UnmarshalJSON(input []byte) error
- type ResponseOauthAppLinkItem
- type ResponseOrgDevices
- type ResponseOrgInventoryChange
- type ResponseOrgInventoryChangeOpEnum
- type ResponseOrgSearch
- type ResponseOrgSearchItem
- type ResponseOrgSiteSle
- type ResponseOrgSuppressAlarm
- type ResponseOrgSuppressAlarmItem
- type ResponsePcapAp
- type ResponsePcapBucketConfig
- type ResponsePcapSearch
- type ResponsePcapSearchItem
- type ResponsePcapSearchItemPcapApsItem
- type ResponsePcapStart
- type ResponsePcapStatus
- type ResponsePortStatsSearch
- type ResponsePskPortalLogsSearch
- type ResponsePskPortalLogsSearchItem
- type ResponseRrmConsideration
- type ResponseRrmNeighbors
- type ResponseSearch
- type ResponseSearchBgps
- type ResponseSearchItem
- type ResponseSearchVar
- type ResponseSearchVarItem
- type ResponseSelfAuditLogs
- type ResponseSelfOauthLinkSuccess
- type ResponseSelfOauthUrl
- type ResponseSelfSubscription
- type ResponseSetDevicesMap
- type ResponseSiteDeviceUpgrade
- type ResponseSiteDeviceUpgradeCounts
- type ResponseSiteSearch
- type ResponseSiteSearchItem
- type ResponseSsoFailureSearch
- type ResponseSsoFailureSearchItem
- type ResponseSsrUpgradeStatus
- type ResponseSsrUpgradeStatusTargets
- type ResponseStatsAssets
- type ResponseStatsCalls
- type ResponseSwitchMetrics
- type ResponseSwitchMetricsActivePortsSummary
- type ResponseSwitchMetricsConfigSuccess
- type ResponseSwitchMetricsConfigSuccessDetails
- type ResponseSwitchMetricsVersionCompliance
- type ResponseSwitchMetricsVersionComplianceDetails
- type ResponseSwitchPortSearch
- type ResponseTroubleshoot
- type ResponseTroubleshootItem
- type ResponseTunnelSearch
- type ResponseTunnelSearchItem
- type ResponseTunnelSearchResults
- func (r *ResponseTunnelSearchResults) AsMxtunnelStats() (*MxtunnelStats, bool)
- func (r *ResponseTunnelSearchResults) AsWanTunnelStats() (*WanTunnelStats, bool)
- func (r ResponseTunnelSearchResults) MarshalJSON() ([]byte, error)
- func (r ResponseTunnelSearchResults) String() string
- func (r *ResponseTunnelSearchResults) UnmarshalJSON(input []byte) error
- type ResponseTwoFactorJson
- type ResponseUpgradeDevice
- type ResponseUpgradeOrgDevice
- type ResponseUpgradeOrgDevices
- type ResponseUpgradeSiteDevices
- type ResponseVerifyTokenSuccess
- type ResponseVirtualChassisConfig
- type ResponseZoneSearch
- type ResponseZoneSearchItem
- type RfClientTypeEnum
- type RfDiag
- type RfDiagInfoItem
- type RfTemplate
- type RfTemplateModelSpecificProperty
- type RftemplateRadioBand5
- type RftemplateRadioBand6
- type RftemplateRadioBand24
- type RogueDetails
- type RogueTypeEnum
- type RootPasswordString
- type RouteSummaryStats
- type RoutingPolicy
- type RoutingPolicyTerm
- type RoutingPolicyTermAction
- type RoutingPolicyTermMatching
- type RoutingPolicyTermMatchingRouteExists
- type RoutingPolicyTermMatchingVpnPathSla
- 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 ScanDataItemBandEnum
- type SdkInviteSms
- type SdkclientStat
- type SdkclientStatNetworkConnection
- type SdkclientWirelessStatsVbeacon
- type SdkclientWirelessStatsZone
- type Sdkinvite
- type SdkstatsWirelessClient
- type Sdktemplate
- type SearchEventsWanClient
- type SearchOrgDevicesMxtunnelStatusEnum
- type SearchOrgSwOrGwPortsAuthStateEnum
- type SearchOrgSwOrGwPortsStpRoleEnum
- type SearchOrgSwOrGwPortsStpStateEnum
- type SearchSiteDevicesDescSortEnum
- type SearchSiteDevicesMxtunnelStatusEnum
- type SearchSiteDevicesSortEnum
- type SearchSiteSwOrGwPortsAuthStateEnum
- type SearchSiteSwOrGwPortsDeviceTypeEnum
- type SearchSiteSwOrGwPortsStpRoleEnum
- type SearchSiteSwOrGwPortsStpStateEnum
- type SearchSiteSwitchPortsAuthStateEnum
- type SearchSiteSwitchPortsStpRoleEnum
- type SearchSiteSwitchPortsStpStateEnum
- type SearchWanClient
- type SearchWanUsage
- type SearchWebhookDelivery
- type SearchWiredClient
- type SearchWirelssClientSession
- type SearchWxtagAppsItem
- type Secpolicy
- type Service
- type ServiceFailoverPolicyEnum
- type ServicePacket
- type ServicePathEvent
- type ServicePolicy
- type ServicePolicyAppqoe
- type ServicePolicyEwfRule
- type ServicePolicyEwfRuleProfileEnum
- type ServiceSpec
- type ServiceStat
- type ServiceStatProperty
- type ServiceTrafficClassEnum
- type ServiceTypeEnum
- 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 SiteSettingConfigPushPolicy
- type SiteSettingCriticalUrlMonitoring
- type SiteSettingCriticalUrlMonitoringMonitor
- type SiteSettingCriticalUrlMonitoringMonitorVlanId
- func (s *SiteSettingCriticalUrlMonitoringMonitorVlanId) AsNumber() (*int, bool)
- func (s *SiteSettingCriticalUrlMonitoringMonitorVlanId) AsString() (*string, bool)
- func (s SiteSettingCriticalUrlMonitoringMonitorVlanId) MarshalJSON() ([]byte, error)
- func (s SiteSettingCriticalUrlMonitoringMonitorVlanId) String() string
- func (s *SiteSettingCriticalUrlMonitoringMonitorVlanId) UnmarshalJSON(input []byte) error
- type SiteSettingGatewayMgmt
- type SiteSettingGatewayMgmtAutoSignatureUpdate
- type SiteSettingMxedge
- type SiteSettingPaloaltoNetworkGateway
- type SiteSettingPaloaltoNetworks
- type SiteSettingRtsa
- type SiteSettingSkyatp
- type SiteSettingSrxApp
- type SiteSettingSsr
- type SiteSettingStatusPortal
- 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 SiteSwitchPortsCountDistinctEnum
- 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 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 SleImpactedClients
- type SleImpactedClientsClient
- type SleImpactedClientsClientSwitch
- type SleImpactedGateways
- type SleImpactedGatewaysGateway
- type SleImpactedInterfaces
- type SleImpactedInterfacesInterface
- type SleImpactedSwitches
- type SleImpactedSwitchesSwitch
- type SleImpactedUsers
- type SleImpactedUsersUser
- type SleSummary
- type SleSummaryImpact
- type SleSummaryScopeEnum
- type SleSummarySle
- type SleSummarySleSamples
- type SleThreshold
- type SnmpConfig
- type SnmpConfigClientList
- type SnmpConfigEngineIdEnum
- type SnmpConfigTrapGroup
- type SnmpConfigTrapVerionEnum
- type SnmpConfigV2CConfig
- type SnmpConfigView
- type SnmpUsm
- type SnmpUsmEngineTypeEnum
- type SnmpUsmpUser
- type SnmpUsmpUserAuthenticationTypeEnum
- type SnmpUsmpUserEncryptionTypeEnum
- 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 Sso
- type SsoIdpTypeEnum
- type SsoLdapTypeEnum
- type SsoMxedgeProxy
- type SsoMxedgeProxyAcctServer
- type SsoMxedgeProxyAuthServer
- type SsoNameidFormatEnum
- type SsoOauthTypeEnum
- type SsoRoleMsp
- type SsoRoleOrg
- type SsoSamlMetadata
- type SsrUpgrade
- type SsrUpgradeChannelEnum
- type SsrUpgradeMulti
- type SsrUpgradeResponse
- type SsrUpgradeResponseCounts
- type SsrUpgradeStrategyEnum
- type SsrVersion
- type StatDeviceStatusFilterEnum
- type StatsAsset
- type StatsClientAnyOf
- func (s *StatsClientAnyOf) AsArrayOfClientWirelessStats() (*[]ClientWirelessStats, bool)
- func (s *StatsClientAnyOf) AsStatsWiredClient() (*StatsWiredClient, bool)
- func (s StatsClientAnyOf) MarshalJSON() ([]byte, error)
- func (s StatsClientAnyOf) String() string
- func (s *StatsClientAnyOf) UnmarshalJSON(input []byte) error
- type StatsDevice
- type StatsSite
- type StatsWiredClient
- type SuppressedAlarm
- type SuppressedAlarmApplies
- type SuppressedAlarmScopeEnum
- type SwitchMatching
- type SwitchMatchingRule
- type SwitchMetricScopeEnum
- type SwitchMetricTypeEnum
- type SwitchMetricsActivePortsSummaryDetails
- type SwitchMetricsComplianceMajorVersion
- type SwitchMgmt
- type SwitchMistNac
- type SwitchNetwork
- type SwitchNetworkVlanId
- type SwitchOobIpConfig
- type SwitchOobIpConfig1
- type SwitchPortMirroring
- type SwitchPortMirroringProperty
- type SwitchPortStats
- type SwitchPortStatsAuthStateEnum
- type SwitchPortStatsPoeModeEnum
- type SwitchPortStatsPortUsageEnum
- type SwitchPortStatsStpRoleEnum
- type SwitchPortStatsStpStateEnum
- type SwitchPortStatsTypeEnum
- type SwitchPortUsage
- type SwitchPortUsageDuplexEnum
- type SwitchPortUsageDynamicResetDefaultWhenEnum
- type SwitchPortUsageDynamicRule
- type SwitchPortUsageDynamicRuleSrcEnum
- type SwitchPortUsageMacAuthProtocolEnum
- type SwitchPortUsageModeEnum
- type SwitchPortUsageStormControl
- type SwitchSearch
- type SwitchStats
- type SwitchStatsApRedundancy
- type SwitchStatsApRedundancy1
- type SwitchStatsApRedundancyModule
- type SwitchStatsClientItem
- type SwitchStatsClientsStats
- type SwitchStatsClientsStatsTotal
- type SwitchStatsVcSetupInfo
- type SwitchStpConfig
- type SwitchStpConfigTypeEnum
- type SwitchVirtualChassis
- type SwitchVirtualChassisMember
- type SwitchVirtualChassisMemberVcRoleEnum
- type Synthetictest
- type SynthetictestConfig
- type SynthetictestConfigWanSpeedtest
- type SynthetictestDevice
- 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 SynthetictestProperties
- type SynthetictestRadiusServer
- type SynthetictestTypeEnum
- type Tacacs
- type TacacsAcctServer
- type TacacsAuthServer
- type TacacsDefaultRoleEnum
- type Template
- type TemplateApplies
- type TemplateExceptions
- type TestTelstra
- type TestTwilio
- type Ticket
- type TicketAttachment
- type TicketComment
- type TicketCommentImportFile
- type TicketCommentsAttachment
- type TicketStatusEnum
- type TicketUploadAttachmentsFile
- type TroubleshootCallItem
- type TroubleshootTypeEnum
- type TunnelConfigs
- type TunnelConfigsAuthAlgoEnum
- type TunnelConfigsAutoProvision
- type TunnelConfigsAutoProvisionNode
- type TunnelConfigsAutoProvisionRegionEnum
- type TunnelConfigsDhGroupEnum
- type TunnelConfigsEncAlgoEnum
- type TunnelProviderOptions
- type TunnelProviderOptionsJse
- type TunnelProviderOptionsNameEnum
- type TunnelProviderOptionsZscaler
- type TunnelProviderOptionsZscalerSubLocation
- type TunnelTypeEnum
- type TuntermDhcpdConfig
- type TuntermDhcpdConfigProperty
- type TuntermDhcpdTypeEnum
- type TuntermMonitoringItem
- type TuntermPortConfig
- type TunternMonitoringProtocolEnum
- type TwoFactorCode
- type TwoFactorString
- type UiSettings
- type UiSettingsDefaultTimeRange
- type UiSettingsTile
- type UiSettingsTileMetric
- type UiSettingsTileTimeRange
- type UnconnectedClientStat
- type UpdateOrgDeviceProfileResponse
- func (u *UpdateOrgDeviceProfileResponse) AsDeviceprofileAp() (*DeviceprofileAp, bool)
- func (u *UpdateOrgDeviceProfileResponse) AsDeviceprofileGateway() (*DeviceprofileGateway, bool)
- func (u UpdateOrgDeviceProfileResponse) MarshalJSON() ([]byte, error)
- func (u UpdateOrgDeviceProfileResponse) String() string
- func (u *UpdateOrgDeviceProfileResponse) UnmarshalJSON(input []byte) error
- type UpdateSiteDeviceResponse
- func (u *UpdateSiteDeviceResponse) AsDeviceAp() (*DeviceAp, bool)
- func (u *UpdateSiteDeviceResponse) AsDeviceGateway() (*DeviceGateway, bool)
- func (u *UpdateSiteDeviceResponse) AsDeviceSwitch() (*DeviceSwitch, bool)
- func (u UpdateSiteDeviceResponse) MarshalJSON() ([]byte, error)
- func (u UpdateSiteDeviceResponse) String() string
- func (u *UpdateSiteDeviceResponse) UnmarshalJSON(input []byte) error
- type UpgradeBios
- type UpgradeBiosMulti
- type UpgradeFpga
- type UpgradeFpgaMulti
- type UpgradeInfoStatusEnum
- type UpgradeOrgDeviceTargets
- type UpgradeOrgDeviceUpgrade
- type UpgradeOrgDevices
- type UpgradeSiteDevices
- type UpgradeSiteDevicesRrmNodeOrderEnum
- type UseAutoApValues
- type UseAutoApValuesForEnum
- type UserApitoken
- type UserMac
- type UserMacImport
- type UserMacsSearch
- type UsernamePassword
- type UtilsBouncePort
- type UtilsCableTests
- type UtilsClearArp
- type UtilsClearBgp
- type UtilsClearBgpTypeEnum
- type UtilsClearBpdu
- type UtilsClearMacs
- type UtilsDevicesRestart
- type UtilsDevicesRestartMulti
- type UtilsMacTable
- type UtilsMonitorTraffic
- type UtilsPing
- type UtilsReleaseDhcp
- type UtilsResetRadioConfig
- type UtilsRrmOptimize
- type UtilsSendBleBeacon
- type UtilsSendSupportLogs
- type UtilsSendSupportLogsInfoEnum
- type UtilsServicePing
- type UtilsShowArp
- type UtilsShowBgpRummary
- type UtilsShowEvpnDatabase
- type UtilsShowForwardingTable
- type UtilsShowRoute
- type UtilsShowRouteProtocolEnum
- type UtilsShowServicePath
- type UtilsShowSession
- type UtilsTraceroute
- type UtilsTracerouteProtocolEnum
- type UtilsTuntermBouncePort
- type UtilsZeroiseFips
- type VarSourceEnum
- type Vbeacon
- type VersionString
- type VirtualChassisConfig
- type VirtualChassisConfigMember
- type VirtualChassisConfigMemberVcRoleEnum
- type VirtualChassisMemberUpdate
- type VirtualChassisMemberUpdateVcRoleEnum
- type VirtualChassisPort
- type VirtualChassisPortOperationEnum
- type VirtualChassisUpdate
- type VirtualChassisUpdateOpEnum
- type VisitsScopeEnum
- type Vpn
- type VpnPath
- type VpnPathBfdProfileEnum
- type VpnPeerStat
- type VpnPeerStatSearch
- type VrfConfig
- type VrfExtraRoute
- type VrfInstance
- type VrrpConfig
- type VrrpConfigGroup
- type VrrpGroup
- type VrrpGroupAuthTypeEnum
- type VrrpGroupNetwork
- type VsInstance
- type WanTunnelProtocolEnum
- type WanTunnelStats
- type WanTunnelStatsPriorityEnum
- type WanUsages
- type WanUsagesCountDisctinctEnum
- 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 WebhookAssetRaw
- type WebhookAssetRawEvent
- type WebhookAuditEvent
- type WebhookAudits
- type WebhookClientInfo
- type WebhookClientInfoEvent
- type WebhookClientInfoTopicEnum
- type WebhookClientJoin
- type WebhookClientJoinEvent
- type WebhookClientLatency
- type WebhookClientLatencyEvent
- type WebhookClientSessions
- type WebhookClientSessionsEvent
- type WebhookDelivery
- type WebhookDeliveryDistinctEnum
- type WebhookDeliveryStatusEnum
- type WebhookDeliveryTopicEnum
- type WebhookDeviceEvents
- type WebhookDeviceEventsEvent
- type WebhookDeviceEventsEventDeviceTypeEnum
- type WebhookDeviceEventsEventEvTypeEnum
- type WebhookDeviceUpdowns
- type WebhookDeviceUpdownsEvent
- type WebhookDiscoveredRawRssi
- type WebhookDiscoveredRawRssiEvent
- type WebhookLocation
- type WebhookLocationAsset
- type WebhookLocationAssetEvent
- type WebhookLocationCentrak
- type WebhookLocationCentrakEvent
- type WebhookLocationClient
- type WebhookLocationClientEvent
- type WebhookLocationEvent
- type WebhookLocationSdk
- type WebhookLocationSdkEvent
- type WebhookLocationUnclient
- type WebhookLocationUnclientEvent
- type WebhookNacAccounting
- type WebhookNacAccountingEvent
- type WebhookNacEvents
- type WebhookNacEventsEvent
- type WebhookOauth2GrantTypeEnum
- type WebhookOccupancyAlertTypeEnum
- type WebhookOccupancyAlerts
- type WebhookOccupancyAlertsEvent
- type WebhookOccupancyAlertsEventAlertEventsItems
- type WebhookPing
- type WebhookPingEvent
- type WebhookSdkclientScanData
- type WebhookSdkclientScanDataEvent
- type WebhookSdkclientScanDataEventScanDataItem
- type WebhookSiteSle
- type WebhookSiteSleEvent
- type WebhookSiteSleEventSle
- type WebhookTopicEnum
- type WebhookTypeEnum
- type WebhookZone
- type WebhookZoneEvent
- type WebhookZoneEventTriggerEnum
- type WebsocketSession
- type WebsocketSessionWithUrl
- type WifiBeaconExtendedInfoItems
- type WiredClientResponse
- type WiredClientResponseDeviceMacPortItem
- type WirelssClientSession
- 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 WlanBonjourAdditionalVlanIds
- func (w *WlanBonjourAdditionalVlanIds) AsNumber() (*int, bool)
- func (w *WlanBonjourAdditionalVlanIds) AsString() (*string, bool)
- func (w WlanBonjourAdditionalVlanIds) MarshalJSON() ([]byte, error)
- func (w WlanBonjourAdditionalVlanIds) String() string
- func (w *WlanBonjourAdditionalVlanIds) UnmarshalJSON(input []byte) error
- type WlanBonjourServiceProperties
- type WlanBonjourServicePropertiesScopeEnum
- type WlanCiscoCwa
- type WlanDatarates
- type WlanDataratesLegacyItemEnum
- type WlanDnsServerRewrite
- type WlanDynamicPsk
- type WlanDynamicPskDefaultVlanId
- func (w *WlanDynamicPskDefaultVlanId) AsNumber() (*int, bool)
- func (w *WlanDynamicPskDefaultVlanId) AsString() (*string, bool)
- func (w WlanDynamicPskDefaultVlanId) MarshalJSON() ([]byte, error)
- func (w WlanDynamicPskDefaultVlanId) String() string
- func (w *WlanDynamicPskDefaultVlanId) UnmarshalJSON(input []byte) error
- type WlanDynamicPskVlanIds
- 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 WlanDynamicVlanLocalVlanIds
- func (w *WlanDynamicVlanLocalVlanIds) AsNumber() (*int, bool)
- func (w *WlanDynamicVlanLocalVlanIds) AsString() (*string, bool)
- func (w WlanDynamicVlanLocalVlanIds) MarshalJSON() ([]byte, error)
- func (w WlanDynamicVlanLocalVlanIds) String() string
- func (w *WlanDynamicVlanLocalVlanIds) UnmarshalJSON(input []byte) error
- type WlanDynamicVlanTypeEnum
- type WlanHotspot20
- type WlanHotspot20OperatorsItemEnum
- type WlanInjectDhcpOption82
- type WlanInterfaceEnum
- type WlanMistNac
- type WlanPortal
- type WlanPortalAuthEnum
- type WlanPortalSmsProviderEnum
- type WlanPortalSsoNameidFormatEnum
- type WlanPortalTemplate
- type WlanPortalTemplateSetting
- type WlanQos
- type WlanQosClassEnum
- type WlanRoamModeEnum
- type WlanSchedule
- type WlanVlanId
- 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 WxruleStat
- type WxruleStatsActionEnum
- type WxruleStatsUsageProperties
- type WxtagClient
- type WxtagMatching
- type Zone
- type ZoneScopeEnum
- type ZoneStats
- type ZoneStatsAssetsWaits
- type ZoneStatsClientsWaits
- type ZoneStatsDetails
- type ZoneStatsDetailsClientWaits
- type ZoneStatsSdkclientsWaits
- type ZoneTypeEnum
- type ZoneVertex
- type ZoneVertexM
Constants ¶
This section is empty.
Variables ¶
var AccountOauthAddContainer internalAccountOauthAdd
var CaptureOrgContainer internalCaptureOrg
var CaptureSiteContainer internalCaptureSite
var ConstInsightMetricsPropertyExampleContainer internalConstInsightMetricsPropertyExample
var CreateOrgDeviceProfilesResponseContainer internalCreateOrgDeviceProfilesResponse
var DEFAULT_DATE = utilities.DEFAULT_DATE
DEFAULT_DATE is a utility.
var DeviceprofileContainer internalDeviceprofile2
var GetFile = https.GetFile
GetFile retrieves a file from the given fileUrl and returns it as a FileWrapper. It makes an HTTP GET request to the fileUrl to fetch the file's content and metadata.
var GetOrgDeviceProfileResponseContainer internalGetOrgDeviceProfileResponse
var GetOrgSitesSleResponseContainer internalGetOrgSitesSleResponse
var GetSiteDeviceResponseContainer internalGetSiteDeviceResponse
var GetSiteDeviceStatsResponseContainer internalGetSiteDeviceStatsResponse
var ImportSiteDevicesResponseContainer internalImportSiteDevicesResponse
var ListDeviceModelsResponseContainer internalListDeviceModelsResponse
var ListOrgDeviceProfilesResponseContainer internalListOrgDeviceProfilesResponse
var ListOrgDevicesStatsResponseContainer internalListOrgDevicesStatsResponse
var ListSiteDeviceProfilesDerivedResponseContainer internalListSiteDeviceProfilesDerivedResponse
var ListSiteDevicesResponseContainer internalListSiteDevicesResponse
var ListSiteDevicesStatsResponseContainer internalListSiteDevicesStatsResponse
var MapAdditionalProperties = utilities.MapAdditionalProperties
MapAdditionalProperties is a utility.
var MistDeviceContainer internalMistDevice
var MxedgeTuntermSwitchConfigVlanIdsContainer internalMxedgeTuntermSwitchConfigVlanIds
var NetworkVlanIdContainer internalNetworkVlanId
var NewTypeHolder = utilities.NewTypeHolder
NewTypeHolder is a utility.
var NewTypeHolderDiscriminator = utilities.NewTypeHolderDiscriminator
NewTypeHolderDiscriminator is a utility.
var PskPortalVlanIdContainer internalPskPortalVlanId
var PskVlanIdContainer internalPskVlanId
var ResponseDeviceMetricsResultsContainer internalResponseDeviceMetricsResults
var ResponseDeviceSearchResultsContainer internalResponseDeviceSearchResults
var ResponseOauthAppLinkAccountsContainer internalResponseOauthAppLinkAccounts
var ResponseTunnelSearchResultsContainer internalResponseTunnelSearchResults
var SiteSettingCriticalUrlMonitoringMonitorVlanIdContainer internalSiteSettingCriticalUrlMonitoringMonitorVlanId
var StatsClientAnyOfContainer internalStatsClientAnyOf
var SwitchNetworkVlanIdContainer internalSwitchNetworkVlanId
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 UnmarshalAdditionalProperties = utilities.UnmarshalAdditionalProperties
UnmarshalAdditionalProperties is a utility.
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 UpdateOrgDeviceProfileResponseContainer internalUpdateOrgDeviceProfileResponse
var UpdateSiteDeviceResponseContainer internalUpdateSiteDeviceResponse
var WayfindingImportJsonContainer internalWayfindingImportJson
var WlanBonjourAdditionalVlanIdsContainer internalWlanBonjourAdditionalVlanIds
var WlanDynamicPskDefaultVlanIdContainer internalWlanDynamicPskDefaultVlanId
var WlanDynamicPskVlanIdsContainer internalWlanDynamicPskVlanIds
var WlanDynamicVlanDefaultVlanIdContainer internalWlanDynamicVlanDefaultVlanId
var WlanDynamicVlanLocalVlanIdsContainer internalWlanDynamicVlanLocalVlanIds
var WlanVlanIdContainer internalWlanVlanId
var WlanVlanIdsContainer internalWlanVlanIds
var WxlanTagVlanIdContainer internalWxlanTagVlanId
Functions ¶
Types ¶
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"`
AdditionalProperties map[string]any `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) 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 AccountJamfConfig ¶
type AccountJamfConfig struct {
// customer account api client id
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]any `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) 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 AccountJamfInfo ¶
type AccountJamfInfo struct {
// customer account client id
ClientId *string `json:"client_id,omitempty"`
// This error is provided when the Jamf account fails to fetch token/data
Error *string `json:"error,omitempty"`
// customer account Jamf instance URL
InstanceUrl *string `json:"instance_url,omitempty"`
// Is the last data pull for Jamf account is successful or not
LastStatus *string `json:"last_status,omitempty"`
// Last data pull timestamp, background jobs that pull Jamf account data
LastSync *int64 `json:"last_sync,omitempty"`
// First name of the user who linked the Jamf account
LinkedBy *string `json:"linked_by,omitempty"`
// Name of the company whose Jamf account mist has subscribed to
Name *string `json:"name,omitempty"`
// smart group membership for determining compliance status
SmartgroupName *string `json:"smartgroup_name,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
AccountJamfInfo represents a AccountJamfInfo struct. OAuth linked Jamf apps account details
func (AccountJamfInfo) MarshalJSON ¶
func (a AccountJamfInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountJamfInfo. It customizes the JSON marshaling process for AccountJamfInfo objects.
func (*AccountJamfInfo) UnmarshalJSON ¶
func (a *AccountJamfInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountJamfInfo. It customizes the JSON unmarshaling process for AccountJamfInfo objects.
type AccountJseConfig ¶
type AccountJseConfig struct {
CloudName *string `json:"cloud_name,omitempty"`
Password string `json:"password"`
Username string `json:"username"`
AdditionalProperties map[string]any `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) 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"`
Username *string `json:"username,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `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) 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 AccountOauthAdd ¶
type AccountOauthAdd struct {
// contains filtered or unexported fields
}
AccountOauthAdd represents a AccountOauthAdd struct.
func (*AccountOauthAdd) AsAccountJamfConfig ¶
func (a *AccountOauthAdd) AsAccountJamfConfig() ( *AccountJamfConfig, bool)
func (*AccountOauthAdd) AsAccountVmwareConfig ¶
func (a *AccountOauthAdd) AsAccountVmwareConfig() ( *AccountVmwareConfig, 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 converts the AccountOauthAdd object to a string representation.
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"`
// 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]any `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) 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 {
// Linked app(zoom/teams/intune) account id
AccountId *string `json:"account_id,omitempty"`
// Name of the company whose account mist has subscribed to
Company *string `json:"company,omitempty"`
// This error is provided when the account fails to fetch token/data
Error *string `json:"error,omitempty"`
Errors []string `json:"errors,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"`
// 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]any `json:"_"`
}
AccountOauthInfo represents a AccountOauthInfo struct. OAuth linked apps (zoom/teams/intune) account details
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) 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 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"`
AdditionalProperties map[string]any `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) 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 AccountVmwareInfo ¶
type AccountVmwareInfo struct {
AccountId *string `json:"account_id,omitempty"`
// Linked VMware Instance URL
InstanceUrl *string `json:"instance_url,omitempty"`
// Is the last data pull for VMware account is successful or not
LastStatus *string `json:"last_status,omitempty"`
// Last data pull timestamp, background jobs that pull VMware account data
LastSync *int `json:"last_sync,omitempty"`
// First name of the user who linked the VMware account
LinkedBy *string `json:"linked_by,omitempty"`
// This error is provided when the VMware account fails to fetch token/data
LinkedTimestamp *int `json:"linked_timestamp,omitempty"`
// Name of the company whose VMware account mist has subscribed to
Name *string `json:"name,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
AccountVmwareInfo represents a AccountVmwareInfo struct.
func (AccountVmwareInfo) MarshalJSON ¶
func (a AccountVmwareInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountVmwareInfo. It customizes the JSON marshaling process for AccountVmwareInfo objects.
func (*AccountVmwareInfo) UnmarshalJSON ¶
func (a *AccountVmwareInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountVmwareInfo. It customizes the JSON unmarshaling process for AccountVmwareInfo 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]any `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) 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]any `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) 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 {
// - 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"`
// - 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]any `json:"_"`
}
AclPolicy represents a AclPolicy struct. - 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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for AclPolicy. It customizes the JSON unmarshaling process for AclPolicy objects.
type AclPolicyAction ¶
type AclPolicyAction struct {
Action *AllowDenyEnum `json:"action,omitempty"`
DstTag *string `json:"dst_tag,omitempty"`
AdditionalProperties map[string]any `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) 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 {
// required if
// - `type`==`dynamic_gbp` (gbp_tag received from RADIUS)
// - `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`==`radius_group`
// - `type`==`static_gbp` if from matching radius_group
RadiusGroup *string `json:"radius_group,omitempty"`
// if `type`==`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"`
Type AclTagTypeEnum `json:"type"`
AdditionalProperties map[string]any `json:"_"`
}
AclTag represents a AclTag struct.
func (AclTag) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for AclTag. It customizes the JSON marshaling process for AclTag objects.
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` / `gre` / `any` / `:protocol_number`. `protocol_number` is between 1-254
Protocol *string `json:"protocol,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( AclTagTypeEnum_MAC AclTagTypeEnum = "mac" AclTagTypeEnum_SUBNET AclTagTypeEnum = "subnet" AclTagTypeEnum_NETWORK AclTagTypeEnum = "network" AclTagTypeEnum_RADIUSGROUP AclTagTypeEnum = "radius_group" AclTagTypeEnum_ANY AclTagTypeEnum = "any" AclTagTypeEnum_RESOURCE AclTagTypeEnum = "resource" AclTagTypeEnum_DYNAMICGBP AclTagTypeEnum = "dynamic_gbp" AclTagTypeEnum_STATICGBP AclTagTypeEnum = "static_gbp" )
type Admin ¶
type Admin struct {
AdminId *uuid.UUID `json:"admin_id,omitempty"`
// trade compliance status
ComplianceStatus *AdminComplianceStatusEnum `json:"compliance_status,omitempty"`
Email string `json:"email"`
EnableTwoFactor *bool `json:"enable_two_factor,omitempty"`
ExpireTime *int `json:"expire_time,omitempty"`
// for an invite, this is the original first name used
FirstName string `json:"first_name"`
// how long the invite should be valid
Hours *int `json:"hours,omitempty"`
// for an invite, this is the original last name used
LastName string `json:"last_name"`
OauthGoogle *bool `json:"oauth_google,omitempty"`
// phone number (numbers only, including country code)
Phone *string `json:"phone,omitempty"`
// secondary phone number (numbers only, including country code)
Phone2 *string `json:"phone2,omitempty"`
// list of privileges the admin has
Privileges []PrivilegeSelf `json:"privileges,omitempty"`
SessionExpiry *int64 `json:"session_expiry,omitempty"`
Tags []string `json:"tags,omitempty"`
// two factor status
TwoFactorVerified *bool `json:"two_factor_verified,omitempty"`
// an admin alogin via_sso is more restircted. (password and email cannot be changed)
ViaSso *bool `json:"via_sso,omitempty"`
AdditionalProperties map[string]any `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) 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
const ( AdminComplianceStatusEnum_RESTRICTED AdminComplianceStatusEnum = "restricted" AdminComplianceStatusEnum_BLOCKED AdminComplianceStatusEnum = "blocked" )
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 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
RecaptchaFlavor *RecaptchaFlavorEnum `json:"recaptcha_flavor,omitempty"`
// the invite token to apply after account creation
RefererInviteToken *string `json:"referer_invite_token,omitempty"`
// the url the user should be redirected back to
ReturnTo *string `json:"return_to,omitempty"`
// state 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]any `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) 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 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"`
// UUID of the alarm
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"`
// Severity of the alarm
Severity string `json:"severity"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// List of SSIDs
Ssids []string `json:"ssids,omitempty"`
// additional information: List of MACs of the switches
Switches []string `json:"switches,omitempty"`
// Epoch (seconds) of the first incident/alarm
Timestamp int `json:"timestamp"`
// Key-name of the alarm type
Type string `json:"type"`
AdditionalProperties map[string]any `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) 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]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for AlarmAck. It customizes the JSON unmarshaling process for AlarmAck objects.
type AlarmCountDisctinctEnum ¶
type AlarmCountDisctinctEnum string
AlarmCountDisctinctEnum is a string enum.
const ( AlarmCountDisctinctEnum_ENUMTYPE AlarmCountDisctinctEnum = "type" AlarmCountDisctinctEnum_ACKED AlarmCountDisctinctEnum = "acked" AlarmCountDisctinctEnum_SEVERITY AlarmCountDisctinctEnum = "severity" AlarmCountDisctinctEnum_GROUP AlarmCountDisctinctEnum = "group" )
type AlarmSearchResult ¶
type AlarmSearchResult struct {
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]any `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) 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 AlarmTemplate ¶
type AlarmTemplate struct {
CreatedTime *float64 `json:"created_time,omitempty"`
// Delivery object to configure the alarm delivery
Delivery Delivery `json:"delivery"`
Id *uuid.UUID `json:"id,omitempty"`
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]any `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) 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]any `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) 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]any `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) 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.
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"`
Timestamp float64 `json:"timestamp"`
AdditionalProperties map[string]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Anomaly. It customizes the JSON unmarshaling process for Anomaly objects.
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"`
AdditionalProperties map[string]any `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) 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 ApCentrak ¶
type ApCentrak struct {
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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`
Type *ApClientBridgeAuthTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]any `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) 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`
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 ingored if esl_config is enabled and with native mode.
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]any `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) 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 ingored if esl_config is enabled and with native mode.
const ( ApEslTypeEnum_IMAGOTAG ApEslTypeEnum = "imagotag" ApEslTypeEnum_HANSHOW ApEslTypeEnum = "hanshow" ApEslTypeEnum_SOLUM ApEslTypeEnum = "solum" ApEslTypeEnum_NATIVE ApEslTypeEnum = "native" )
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]any `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) 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 (internal, external, none), default none
Pullup *ApIotInputPullupEnum `json:"pullup,omitempty"`
AdditionalProperties map[string]any `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) 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 ApIotInputPullupEnum ¶
type ApIotInputPullupEnum string
ApIotInputPullupEnum is a string enum. the type of pull-up the pin uses (internal, external, none), default none
const ( ApIotInputPullupEnum_INTERNAL ApIotInputPullupEnum = "internal" ApIotInputPullupEnum_EXTERNAL ApIotInputPullupEnum = "external" ApIotInputPullupEnum_NONE ApIotInputPullupEnum = "none" )
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 (internal, external, none), default none
Pullup *ApIotOutputPullupEnum `json:"pullup,omitempty"`
// output pin signal level, default 0
Value *int `json:"value,omitempty"`
AdditionalProperties map[string]any `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) 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 ApIotOutputPullupEnum ¶
type ApIotOutputPullupEnum string
ApIotOutputPullupEnum is a string enum. the type of pull-up the pin uses (internal, external, none), default none
const ( ApIotOutputPullupEnum_INTERNAL ApIotOutputPullupEnum = "internal" ApIotOutputPullupEnum_EXTERNAL ApIotOutputPullupEnum = "external" ApIotOutputPullupEnum_NON ApIotOutputPullupEnum = "non" )
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"`
Type *IpTypeEnum `json:"type,omitempty"`
Type6 *IpType6Enum `json:"type6,omitempty"`
// management vlan id, default is 1 (untagged)
VlanId *int `json:"vlan_id,omitempty"`
AdditionalProperties map[string]any `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) 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 ApIpConfig1 ¶
type ApIpConfig1 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"`
Type *IpTypeEnum `json:"type,omitempty"`
Type6 *IpType6Enum `json:"type6,omitempty"`
// management vlan id, default is 1 (untagged)
VlanId *int `json:"vlan_id,omitempty"`
// the 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"`
AdditionalProperties map[string]any `json:"_"`
}
ApIpConfig1 represents a ApIpConfig1 struct. IP AP settings
func (ApIpConfig1) MarshalJSON ¶
func (a ApIpConfig1) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApIpConfig1. It customizes the JSON marshaling process for ApIpConfig1 objects.
func (*ApIpConfig1) UnmarshalJSON ¶
func (a *ApIpConfig1) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApIpConfig1. It customizes the JSON unmarshaling process for ApIpConfig1 objects.
type ApLed ¶
type ApLed struct {
Brightness *int `json:"brightness,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for ApLed. It customizes the JSON unmarshaling process for ApLed objects.
type ApMesh ¶
type ApMesh struct {
// 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"`
Role *ApMeshRoleEnum `json:"role,omitempty"`
AdditionalProperties map[string]any `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) 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.
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"`
Forwarding *ApPortConfigForwardingEnum `json:"forwarding,omitempty"`
// if `enable_mac_auth`==`true`, allows user to select an authentication protocol
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
PortAuth *ApPortConfigPortAuthEnum `json:"port_auth,omitempty"`
// if `forwrding`==`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 `forwrding`==`limited`
VlandIds []int `json:"vland_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]any `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) 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]any `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) 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.
const ( ApPortConfigForwardingEnum_ALL ApPortConfigForwardingEnum = "all" ApPortConfigForwardingEnum_LIMITED ApPortConfigForwardingEnum = "limited" ApPortConfigForwardingEnum_WXTUNNEL ApPortConfigForwardingEnum = "wxtunnel" ApPortConfigForwardingEnum_MXTUNNEL ApPortConfigForwardingEnum = "mxtunnel" ApPortConfigForwardingEnum_SITEMXEDGE ApPortConfigForwardingEnum = "site_mxedge" )
type ApPortConfigMacAuthProtocolEnum ¶
type ApPortConfigMacAuthProtocolEnum string
ApPortConfigMacAuthProtocolEnum is a string enum. if `enable_mac_auth`==`true`, allows user to select an authentication protocol
const ( ApPortConfigMacAuthProtocolEnum_PAP ApPortConfigMacAuthProtocolEnum = "pap" ApPortConfigMacAuthProtocolEnum_EAPPEAP ApPortConfigMacAuthProtocolEnum = "eap-peap" ApPortConfigMacAuthProtocolEnum_EAPMD5 ApPortConfigMacAuthProtocolEnum = "eap-md5" )
type ApPortConfigPortAuthEnum ¶
type ApPortConfigPortAuthEnum string
ApPortConfigPortAuthEnum is a string enum. When doing port auth
const ( ApPortConfigPortAuthEnum_NONE ApPortConfigPortAuthEnum = "none" ApPortConfigPortAuthEnum_DOT1X ApPortConfigPortAuthEnum = "dot1x" )
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 wifi (only for AP45 at power mode)
PreferUsbOverWifi *bool `json:"prefer_usb_over_wifi,omitempty"`
AdditionalProperties map[string]any `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) 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"`
AntennaMode *ApRadioAntennaModeEnum `json:"antenna_mode,omitempty"`
// Radio Band AP settings
Band24 *ApRadioBand24 `json:"band_24,omitempty"`
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"`
// 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"`
// whether scanning radio is enabled
ScanningEnabled *bool `json:"scanning_enabled,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( ApRadioAntennaModeEnum_ENUMDEFAULT ApRadioAntennaModeEnum = "default" ApRadioAntennaModeEnum_ENUM1X1 ApRadioAntennaModeEnum = "1x1" ApRadioAntennaModeEnum_ENUM2X2 ApRadioAntennaModeEnum = "2x2" ApRadioAntennaModeEnum_ENUM3X3 ApRadioAntennaModeEnum = "3x3" ApRadioAntennaModeEnum_ENUM4X4 ApRadioAntennaModeEnum = "4x4" )
type ApRadioBand5 ¶
type ApRadioBand5 struct {
AllowRrmDisable *bool `json:"allow_rrm_disable,omitempty"`
AntGain Optional[int] `json:"ant_gain"`
AntennaMode *RadioBandAntennaModeEnum `json:"antenna_mode,omitempty"`
// channel width for the 5GHz band
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"`
Preamble *RadioBandPreambleEnum `json:"preamble,omitempty"`
AdditionalProperties map[string]any `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) 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"`
AntennaMode *RadioBandAntennaModeEnum `json:"antenna_mode,omitempty"`
// channel width for the 6GHz band
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"`
Preamble *RadioBandPreambleEnum `json:"preamble,omitempty"`
// for 6GHz Only, standard-power operation, AFC (Automatic Frequency Coordination) will be performed and we'll fallback to Low Power Indoor if AFC failed
StandardPower *bool `json:"standard_power,omitempty"`
AdditionalProperties map[string]any `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) 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 ApRadioBand24 ¶
type ApRadioBand24 struct {
AllowRrmDisable *bool `json:"allow_rrm_disable,omitempty"`
AntGain Optional[int] `json:"ant_gain"`
AntennaMode *RadioBandAntennaModeEnum `json:"antenna_mode,omitempty"`
// channel width for the 2.4GHz band
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"`
Preamble *RadioBandPreambleEnum `json:"preamble,omitempty"`
AdditionalProperties map[string]any `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) 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 ApRadioMac ¶
type ApRadioMac struct {
Mac string `json:"mac"`
RadioMacs []string `json:"radio_macs"`
AdditionalProperties map[string]any `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) 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 ApRadioStats ¶
type ApRadioStats struct {
// channel width for the band * `80` is only applicable for band_5 and band_6 * `160` is 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
DynamicChainingEnalbed Optional[bool] `json:"dynamic_chaining_enalbed"`
// 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"`
// transmit power (in dBm)
Power Optional[int] `json:"power"`
RxBytes Optional[int] `json:"rx_bytes"`
RxPkts Optional[int] `json:"rx_pkts"`
TxBytes Optional[int] `json:"tx_bytes"`
TxPkts Optional[int] `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]any `json:"_"`
}
ApRadioStats represents a ApRadioStats struct. radio stat
func (ApRadioStats) MarshalJSON ¶
func (a ApRadioStats) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApRadioStats. It customizes the JSON marshaling process for ApRadioStats objects.
func (*ApRadioStats) UnmarshalJSON ¶
func (a *ApRadioStats) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApRadioStats. It customizes the JSON unmarshaling process for ApRadioStats 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]any `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) 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]any `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) 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 ApRedundancyModules ¶
type ApRedundancyModules struct {
NumAps *int `json:"num_aps,omitempty"`
NumApsWithSwitchRedundancy *int `json:"num_aps_with_switch_redundancy,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ApRedundancyModules represents a ApRedundancyModules struct. for a VC / stacked switches.
func (ApRedundancyModules) MarshalJSON ¶
func (a ApRedundancyModules) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApRedundancyModules. It customizes the JSON marshaling process for ApRedundancyModules objects.
func (*ApRedundancyModules) UnmarshalJSON ¶
func (a *ApRedundancyModules) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApRedundancyModules. It customizes the JSON unmarshaling process for ApRedundancyModules objects.
type ApSearch ¶
type ApSearch struct {
// Bandwith of band_24
Band24Bandwith *string `json:"band_24_bandwith,omitempty"`
// Channel of band_24
Band24Channel *int `json:"band_24_channel,omitempty"`
Band24Power *int `json:"band_24_power,omitempty"`
// Bandwith of band_5
Band5Bandwith *string `json:"band_5_bandwith,omitempty"`
// Channel of band_5
Band5Channel *int `json:"band_5_channel,omitempty"`
Band5Power *int `json:"band_5_power,omitempty"`
Band6Bandwith *string `json:"band_6_bandwith,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"`
// ip address
Ip *string `json:"ip,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"`
// MxTunnel status
MxtunnelStatus *string `json:"mxtunnel_status,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
PowerConstrained *bool `json:"power_constrained,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Sku *string `json:"sku,omitempty"`
Timestamp *float64 `json:"timestamp,omitempty"`
Uptime *int `json:"uptime,omitempty"`
// version
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for ApSearch. It customizes the JSON unmarshaling process for ApSearch objects.
type ApStatMeshDownlink ¶
type ApStatMeshDownlink struct {
Band *string `json:"band,omitempty"`
Channel *int `json:"channel,omitempty"`
IdleTime *int `json:"idle_time,omitempty"`
LastSeen *float64 `json:"last_seen,omitempty"`
Proto *string `json:"proto,omitempty"`
Rssi *int `json:"rssi,omitempty"`
RxBps *int `json:"rx_bps,omitempty"`
RxBytes *int `json:"rx_bytes,omitempty"`
RxPackets *int `json:"rx_packets,omitempty"`
RxRate *int `json:"rx_rate,omitempty"`
RxRetries *int `json:"rx_retries,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Snr *int `json:"snr,omitempty"`
TxBps *int `json:"tx_bps,omitempty"`
TxBytes *int `json:"tx_bytes,omitempty"`
TxPackets *int `json:"tx_packets,omitempty"`
TxRate *int `json:"tx_rate,omitempty"`
TxRetries *int `json:"tx_retries,omitempty"`
AdditionalProperties map[string]any `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) 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"`
LastSeen *float64 `json:"last_seen,omitempty"`
Proto *string `json:"proto,omitempty"`
Rssi *int `json:"rssi,omitempty"`
RxBps *int `json:"rx_bps,omitempty"`
RxBytes *int `json:"rx_bytes,omitempty"`
RxPackets *int `json:"rx_packets,omitempty"`
RxRate *int `json:"rx_rate,omitempty"`
RxRetries *int `json:"rx_retries,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Snr *int `json:"snr,omitempty"`
TxBps *int `json:"tx_bps,omitempty"`
TxBytes *int `json:"tx_bytes,omitempty"`
TxPackets *int `json:"tx_packets,omitempty"`
TxRate *int `json:"tx_rate,omitempty"`
TxRetries *int `json:"tx_retries,omitempty"`
UplinkApId *uuid.UUID `json:"uplink_ap_id,omitempty"`
AdditionalProperties map[string]any `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) 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 ApStats ¶
type ApStats struct {
AutoPlacement *ApStatsAutoPlacement `json:"auto_placement,omitempty"`
AutoUpgradeStat *ApStatsAutoUpgrade `json:"auto_upgrade_stat,omitempty"`
BleStat *ApStatsBle `json:"ble_stat,omitempty"`
CertExpiry Optional[float64] `json:"cert_expiry"`
ConfigReverted Optional[bool] `json:"config_reverted"`
CpuSystem Optional[int64] `json:"cpu_system"`
CpuUtil Optional[int] `json:"cpu_util"`
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 *ApStatsEnvStat `json:"env_stat,omitempty"`
EslStat Optional[ApStatsEslStat] `json:"esl_stat"`
EvpntopoId Optional[uuid.UUID] `json:"evpntopo_id"`
ExtIp Optional[string] `json:"ext_ip"`
Fwupdate *FwupdateStat `json:"fwupdate,omitempty"`
HwRev Optional[string] `json:"hw_rev"`
Id *uuid.UUID `json:"id,omitempty"`
InactiveWiredVlans []int `json:"inactive_wired_vlans,omitempty"`
IotStat map[string]ApStatsIotStatAdditionalProperties `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]ApStatsL2TpStat `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 Stat (neighbor information, power negotiations)
LldpStat *ApStatsLldpStat `json:"lldp_stat,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 *string `json:"mac"`
MapId Optional[uuid.UUID] `json:"map_id"`
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 *string `json:"model"`
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"`
OrgId Optional[uuid.UUID] `json:"org_id"`
// Property key is the port name (e.g. `eth0`)
PortStat Optional[map[string]ApStatsPortStat] `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 *ApStatsRadioConfig `json:"radio_config,omitempty"`
RadioStat *ApStatsRadioStat `json:"radio_stat,omitempty"`
RxBps Optional[float64] `json:"rx_bps"`
RxBytes Optional[int64] `json:"rx_bytes"`
RxPkts Optional[int] `json:"rx_pkts"`
// serial
Serial Optional[string] `json:"serial"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Status Optional[string] `json:"status"`
SwitchRedundancy *ApStatsSwitchRedundancy `json:"switch_redundancy,omitempty"`
TxBps Optional[float64] `json:"tx_bps"`
TxBytes Optional[float64] `json:"tx_bytes"`
TxPkts Optional[float64] `json:"tx_pkts"`
// device type, ap / ble /switch / gateway
Type Optional[string] `json:"type"`
// how long, in seconds, has the device been up (or rebooted)
Uptime Optional[float64] `json:"uptime"`
UsbStat *ApStatsUsbStat `json:"usb_stat,omitempty"`
Version Optional[string] `json:"version"`
X Optional[float64] `json:"x"`
Y Optional[float64] `json:"y"`
AdditionalProperties map[string]any `json:"_"`
}
ApStats represents a ApStats struct. AP statistics
func (ApStats) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for ApStats. It customizes the JSON marshaling process for ApStats objects.
func (*ApStats) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for ApStats. It customizes the JSON unmarshaling process for ApStats objects.
type ApStatsAutoPlacement ¶
type ApStatsAutoPlacement struct {
// Additional information about auto placements AP data
Info *ApStatsAutoPlacementInfo `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"`
// Flag to represent if auto_placement values are currently utilized
UseAutoPlacement *bool `json:"use_auto_placement,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]any `json:"_"`
}
ApStatsAutoPlacement represents a ApStatsAutoPlacement struct.
func (ApStatsAutoPlacement) MarshalJSON ¶
func (a ApStatsAutoPlacement) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApStatsAutoPlacement. It customizes the JSON marshaling process for ApStatsAutoPlacement objects.
func (*ApStatsAutoPlacement) UnmarshalJSON ¶
func (a *ApStatsAutoPlacement) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApStatsAutoPlacement. It customizes the JSON unmarshaling process for ApStatsAutoPlacement objects.
type ApStatsAutoPlacementInfo ¶
type ApStatsAutoPlacementInfo 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 *ApStatsAutoPlacementInfoProbabilitySurface `json:"probability_surface,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ApStatsAutoPlacementInfo represents a ApStatsAutoPlacementInfo struct. Additional information about auto placements AP data
func (ApStatsAutoPlacementInfo) MarshalJSON ¶
func (a ApStatsAutoPlacementInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApStatsAutoPlacementInfo. It customizes the JSON marshaling process for ApStatsAutoPlacementInfo objects.
func (*ApStatsAutoPlacementInfo) UnmarshalJSON ¶
func (a *ApStatsAutoPlacementInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApStatsAutoPlacementInfo. It customizes the JSON unmarshaling process for ApStatsAutoPlacementInfo objects.
type ApStatsAutoPlacementInfoProbabilitySurface ¶
type ApStatsAutoPlacementInfoProbabilitySurface 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]any `json:"_"`
}
ApStatsAutoPlacementInfoProbabilitySurface represents a ApStatsAutoPlacementInfoProbabilitySurface struct. Coordinates representing a circle where the AP is most likely exists in the event of an inaccurate placement result
func (ApStatsAutoPlacementInfoProbabilitySurface) MarshalJSON ¶
func (a ApStatsAutoPlacementInfoProbabilitySurface) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApStatsAutoPlacementInfoProbabilitySurface. It customizes the JSON marshaling process for ApStatsAutoPlacementInfoProbabilitySurface objects.
func (*ApStatsAutoPlacementInfoProbabilitySurface) UnmarshalJSON ¶
func (a *ApStatsAutoPlacementInfoProbabilitySurface) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApStatsAutoPlacementInfoProbabilitySurface. It customizes the JSON unmarshaling process for ApStatsAutoPlacementInfoProbabilitySurface objects.
type ApStatsAutoUpgrade ¶
type ApStatsAutoUpgrade struct {
Lastcheck Optional[int64] `json:"lastcheck"`
AdditionalProperties map[string]any `json:"_"`
}
ApStatsAutoUpgrade represents a ApStatsAutoUpgrade struct.
func (ApStatsAutoUpgrade) MarshalJSON ¶
func (a ApStatsAutoUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApStatsAutoUpgrade. It customizes the JSON marshaling process for ApStatsAutoUpgrade objects.
func (*ApStatsAutoUpgrade) UnmarshalJSON ¶
func (a *ApStatsAutoUpgrade) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApStatsAutoUpgrade. It customizes the JSON unmarshaling process for ApStatsAutoUpgrade objects.
type ApStatsBle ¶
type ApStatsBle 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 emmit 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"`
IbeaconMajor Optional[int] `json:"ibeacon_major"`
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"`
RxBytes Optional[int] `json:"rx_bytes"`
RxPkts Optional[int] `json:"rx_pkts"`
TxBytes Optional[int64] `json:"tx_bytes"`
TxPkts Optional[int] `json:"tx_pkts"`
// resets due to tx hung
TxResets Optional[int] `json:"tx_resets"`
Uuid Optional[uuid.UUID] `json:"uuid"`
AdditionalProperties map[string]any `json:"_"`
}
ApStatsBle represents a ApStatsBle struct.
func (ApStatsBle) MarshalJSON ¶
func (a ApStatsBle) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApStatsBle. It customizes the JSON marshaling process for ApStatsBle objects.
func (*ApStatsBle) UnmarshalJSON ¶
func (a *ApStatsBle) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApStatsBle. It customizes the JSON unmarshaling process for ApStatsBle objects.
type ApStatsEnvStat ¶
type ApStatsEnvStat 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]any `json:"_"`
}
ApStatsEnvStat represents a ApStatsEnvStat struct. device environment, including CPU temperature, Ambient temperature, Humidity, Attitude, Pressure, Accelerometers, Magnetometers and vCore Voltage
func (ApStatsEnvStat) MarshalJSON ¶
func (a ApStatsEnvStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApStatsEnvStat. It customizes the JSON marshaling process for ApStatsEnvStat objects.
func (*ApStatsEnvStat) UnmarshalJSON ¶
func (a *ApStatsEnvStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApStatsEnvStat. It customizes the JSON unmarshaling process for ApStatsEnvStat objects.
type ApStatsEslStat ¶
type ApStatsEslStat struct {
Channel Optional[int] `json:"channel"`
Connected Optional[bool] `json:"connected"`
Type Optional[string] `json:"type"`
Up Optional[bool] `json:"up"`
AdditionalProperties map[string]any `json:"_"`
}
ApStatsEslStat represents a ApStatsEslStat struct.
func (ApStatsEslStat) MarshalJSON ¶
func (a ApStatsEslStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApStatsEslStat. It customizes the JSON marshaling process for ApStatsEslStat objects.
func (*ApStatsEslStat) UnmarshalJSON ¶
func (a *ApStatsEslStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApStatsEslStat. It customizes the JSON unmarshaling process for ApStatsEslStat objects.
type ApStatsIotStatAdditionalProperties ¶
type ApStatsIotStatAdditionalProperties struct {
Value Optional[int] `json:"value"`
AdditionalProperties map[string]any `json:"_"`
}
ApStatsIotStatAdditionalProperties represents a ApStatsIotStatAdditionalProperties struct.
func (ApStatsIotStatAdditionalProperties) MarshalJSON ¶
func (a ApStatsIotStatAdditionalProperties) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApStatsIotStatAdditionalProperties. It customizes the JSON marshaling process for ApStatsIotStatAdditionalProperties objects.
func (*ApStatsIotStatAdditionalProperties) UnmarshalJSON ¶
func (a *ApStatsIotStatAdditionalProperties) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApStatsIotStatAdditionalProperties. It customizes the JSON unmarshaling process for ApStatsIotStatAdditionalProperties objects.
type ApStatsL2TpStat ¶
type ApStatsL2TpStat struct {
// list of sessions
Sessions []ApStatsL2TpStatSession `json:"sessions,omitempty"`
State *L2TpStateEnum `json:"state,omitempty"`
// uptime
Uptime Optional[int] `json:"uptime"`
// WxlanTunnel ID
WxtunnelId Optional[uuid.UUID] `json:"wxtunnel_id"`
AdditionalProperties map[string]any `json:"_"`
}
ApStatsL2TpStat represents a ApStatsL2TpStat struct.
func (ApStatsL2TpStat) MarshalJSON ¶
func (a ApStatsL2TpStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApStatsL2TpStat. It customizes the JSON marshaling process for ApStatsL2TpStat objects.
func (*ApStatsL2TpStat) UnmarshalJSON ¶
func (a *ApStatsL2TpStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApStatsL2TpStat. It customizes the JSON unmarshaling process for ApStatsL2TpStat objects.
type ApStatsL2TpStatSession ¶
type ApStatsL2TpStatSession 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"`
State *L2TpStateEnum `json:"state,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ApStatsL2TpStatSession represents a ApStatsL2TpStatSession struct.
func (ApStatsL2TpStatSession) MarshalJSON ¶
func (a ApStatsL2TpStatSession) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApStatsL2TpStatSession. It customizes the JSON marshaling process for ApStatsL2TpStatSession objects.
func (*ApStatsL2TpStatSession) UnmarshalJSON ¶
func (a *ApStatsL2TpStatSession) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApStatsL2TpStatSession. It customizes the JSON unmarshaling process for ApStatsL2TpStatSession objects.
type ApStatsLldpStat ¶
type ApStatsLldpStat struct {
ChassisId Optional[string] `json:"chassis_id"`
// whether it support LLDP-MED
LldpMedSupported Optional[bool] `json:"lldp_med_supported"`
// switch’s management address (if advertised), can be IPv4, IPv6, or MAC
MgmtAddr Optional[string] `json:"mgmt_addr"`
MgmtAddrs []string `json:"mgmt_addrs,omitempty"`
// ge-0/0/4
PortDesc Optional[string] `json:"port_desc"`
PortId Optional[string] `json:"port_id"`
// in mW, provided/allocated by PSE
PowerAllocated Optional[float64] `json:"power_allocated"`
// in mW, total power needed by PD
PowerDraw Optional[float64] `json:"power_draw"`
// number of negotiations, if it keeps increasing, we don’t have a stable power
PowerRequestCount Optional[int] `json:"power_request_count"`
// in mW, the current power requested by PD
PowerRequested Optional[float64] `json:"power_requested"`
// description provided by switch
SystemDesc Optional[string] `json:"system_desc"`
// name of the switch
SystemName Optional[string] `json:"system_name"`
AdditionalProperties map[string]any `json:"_"`
}
ApStatsLldpStat represents a ApStatsLldpStat struct. LLDP Stat (neighbor information, power negotiations)
func (ApStatsLldpStat) MarshalJSON ¶
func (a ApStatsLldpStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApStatsLldpStat. It customizes the JSON marshaling process for ApStatsLldpStat objects.
func (*ApStatsLldpStat) UnmarshalJSON ¶
func (a *ApStatsLldpStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApStatsLldpStat. It customizes the JSON unmarshaling process for ApStatsLldpStat objects.
type ApStatsPortStat ¶
type ApStatsPortStat struct {
FullDuplex Optional[bool] `json:"full_duplex"`
RxBytes Optional[float64] `json:"rx_bytes"`
RxErrors Optional[float64] `json:"rx_errors"`
RxPkts Optional[float64] `json:"rx_pkts"`
Speed Optional[int] `json:"speed"`
TxBytes Optional[float64] `json:"tx_bytes"`
TxPkts Optional[float64] `json:"tx_pkts"`
Up Optional[bool] `json:"up"`
AdditionalProperties map[string]any `json:"_"`
}
ApStatsPortStat represents a ApStatsPortStat struct.
func (ApStatsPortStat) MarshalJSON ¶
func (a ApStatsPortStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApStatsPortStat. It customizes the JSON marshaling process for ApStatsPortStat objects.
func (*ApStatsPortStat) UnmarshalJSON ¶
func (a *ApStatsPortStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApStatsPortStat. It customizes the JSON unmarshaling process for ApStatsPortStat objects.
type ApStatsRadioConfig ¶
type ApStatsRadioConfig struct {
Band24 *ApStatsRadioConfigBand `json:"band_24,omitempty"`
Band24Usage Optional[string] `json:"band_24_usage"`
Band5 *ApStatsRadioConfigBand `json:"band_5,omitempty"`
Band6 *ApStatsRadioConfigBand `json:"band_6,omitempty"`
ScanningEnabled *bool `json:"scanning_enabled,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ApStatsRadioConfig represents a ApStatsRadioConfig struct.
func (ApStatsRadioConfig) MarshalJSON ¶
func (a ApStatsRadioConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApStatsRadioConfig. It customizes the JSON marshaling process for ApStatsRadioConfig objects.
func (*ApStatsRadioConfig) UnmarshalJSON ¶
func (a *ApStatsRadioConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApStatsRadioConfig. It customizes the JSON unmarshaling process for ApStatsRadioConfig objects.
type ApStatsRadioConfigBand ¶
type ApStatsRadioConfigBand 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]any `json:"_"`
}
ApStatsRadioConfigBand represents a ApStatsRadioConfigBand struct.
func (ApStatsRadioConfigBand) MarshalJSON ¶
func (a ApStatsRadioConfigBand) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApStatsRadioConfigBand. It customizes the JSON marshaling process for ApStatsRadioConfigBand objects.
func (*ApStatsRadioConfigBand) UnmarshalJSON ¶
func (a *ApStatsRadioConfigBand) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApStatsRadioConfigBand. It customizes the JSON unmarshaling process for ApStatsRadioConfigBand objects.
type ApStatsRadioStat ¶
type ApStatsRadioStat struct {
// radio stat
Band24 *ApRadioStats `json:"band_24,omitempty"`
// radio stat
Band5 *ApRadioStats `json:"band_5,omitempty"`
// radio stat
Band6 *ApRadioStats `json:"band_6,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ApStatsRadioStat represents a ApStatsRadioStat struct.
func (ApStatsRadioStat) MarshalJSON ¶
func (a ApStatsRadioStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApStatsRadioStat. It customizes the JSON marshaling process for ApStatsRadioStat objects.
func (*ApStatsRadioStat) UnmarshalJSON ¶
func (a *ApStatsRadioStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApStatsRadioStat. It customizes the JSON unmarshaling process for ApStatsRadioStat objects.
type ApStatsSwitchRedundancy ¶
type ApStatsSwitchRedundancy struct {
NumRedundantAps Optional[int] `json:"num_redundant_aps"`
AdditionalProperties map[string]any `json:"_"`
}
ApStatsSwitchRedundancy represents a ApStatsSwitchRedundancy struct.
func (ApStatsSwitchRedundancy) MarshalJSON ¶
func (a ApStatsSwitchRedundancy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApStatsSwitchRedundancy. It customizes the JSON marshaling process for ApStatsSwitchRedundancy objects.
func (*ApStatsSwitchRedundancy) UnmarshalJSON ¶
func (a *ApStatsSwitchRedundancy) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApStatsSwitchRedundancy. It customizes the JSON unmarshaling process for ApStatsSwitchRedundancy objects.
type ApStatsUsbStat ¶
type ApStatsUsbStat 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]any `json:"_"`
}
ApStatsUsbStat represents a ApStatsUsbStat struct.
func (ApStatsUsbStat) MarshalJSON ¶
func (a ApStatsUsbStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApStatsUsbStat. It customizes the JSON marshaling process for ApStatsUsbStat objects.
func (*ApStatsUsbStat) UnmarshalJSON ¶
func (a *ApStatsUsbStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApStatsUsbStat. It customizes the JSON unmarshaling process for ApStatsUsbStat 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]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for ApSwitch. It customizes the JSON unmarshaling process for ApSwitch objects.
type ApSwitchSetting ¶
type ApSwitchSetting struct {
// additional VLAN IDs, only valid in mesh base mode
AdditionalVlanIds []int `json:"additional_vlan_ids,omitempty"`
EnableVlan *bool `json:"enable_vlan,omitempty"`
// native VLAN id, optional
PortVlanId *int `json:"port_vlan_id,omitempty"`
// list of VLAN ids this
VlanIds []int `json:"vlan_ids,omitempty"`
AdditionalProperties map[string]any `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) 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 ApTemplate ¶
type ApTemplate struct {
ApMatching ApTemplateMatching `json:"ap_matching"`
CreatedTime *float64 `json:"created_time,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
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]any `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) 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]any `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) 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]any `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) 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]any `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) 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 enaled, 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]any `json:"_"`
}
ApUplinkPortConfig represents a ApUplinkPortConfig struct.
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) 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
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]any `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) 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
const ( ApUsbTypeEnum_IMAGOTAG ApUsbTypeEnum = "imagotag" ApUsbTypeEnum_SOLUM ApUsbTypeEnum = "solum" ApUsbTypeEnum_HANSHOW ApUsbTypeEnum = "hanshow" )
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 AppProbing ¶
type AppProbing struct {
Apps []string `json:"apps,omitempty"`
CustomApps []AppProbingCustomApp `json:"custom_apps,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]any `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) 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 {
// if `protocol`==`icmp`
Address *string `json:"address,omitempty"`
AppType *string `json:"app_type,omitempty"`
// if `protocol`==`http`
Hostname []string `json:"hostname,omitempty"`
Name *string `json:"name,omitempty"`
Network *string `json:"network,omitempty"`
Protocol *AppProbingCustomAppProtocolEnum `json:"protocol,omitempty"`
// if `protocol`==`http`
Url *string `json:"url,omitempty"`
Vrf *string `json:"vrf,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( AppProbingCustomAppProtocolEnum_HTTP AppProbingCustomAppProtocolEnum = "http" AppProbingCustomAppProtocolEnum_UDP AppProbingCustomAppProtocolEnum = "udp" )
type ArpTableStats ¶
type ArpTableStats struct {
ArpTableCount *int `json:"arp_table_count,omitempty"`
MaxEntriesSupported *int `json:"max_entries_supported,omitempty"`
AdditionalProperties map[string]any `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) 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 {
CreatedTime *float64 `json:"created_time,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
// bluetooth MAC
Mac string `json:"mac"`
MapId *uuid.UUID `json:"map_id,omitempty"`
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]any `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) 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"`
CreatedTime *float64 `json:"created_time,omitempty"`
Disabled *bool `json:"disabled,omitempty"`
// whether the asset filter is disabled
Disasbled *bool `json:"disasbled,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"`
// ibeacon major value used to filter assets
IbeaconMajor *int `json:"ibeacon_major,omitempty"`
// ibeacon uuid used to filter assets
IbeaconUuid *uuid.UUID `json:"ibeacon_uuid,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
// ble manufacturing-specific company-id used to filter assets
MfgCompanyId *int `json:"mfg_company_id,omitempty"`
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]any `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) 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]any `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) 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 {
CheckpointPrep *float64 `json:"_checkpoint_prep,omitempty"`
CheckpointPreparer *float64 `json:"_checkpoint_preparer,omitempty"`
CheckpointScan *float64 `json:"_checkpoint_scan,omitempty"`
Timestamp *float64 `json:"_timestamp,omitempty"`
Ttl *float64 `json:"_ttl,omitempty"`
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"`
Id *string `json:"id,omitempty"`
LastSeen *float64 `json:"last_seen,omitempty"`
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]any `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) 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 {
Id *uuid.UUID `json:"id,omitempty"`
Since *float64 `json:"since,omitempty"`
AdditionalProperties map[string]any `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) 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 {
Id *uuid.UUID `json:"id,omitempty"`
Since *float64 `json:"since,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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 {
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"`
Id uuid.UUID `json:"id"`
Message string `json:"message"`
OrgId uuid.UUID `json:"org_id"`
SiteId uuid.UUID `json:"site_id"`
Timestamp float64 `json:"timestamp"`
AdditionalProperties map[string]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for AuditLog. It customizes the JSON unmarshaling process for AuditLog objects.
type AutoOrient ¶
type AutoOrient struct {
// 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"`
AdditionalProperties map[string]any `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) 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 AutoOrientationStateEnum ¶
type AutoOrientationStateEnum string
AutoOrientationStateEnum is a string enum. The state of auto orient for a given map derived from an Enum
const ( AutoOrientationStateEnum_ENUMNOTSTARTED AutoOrientationStateEnum = "Not Started" AutoOrientationStateEnum_ENQUEUED AutoOrientationStateEnum = "Enqueued" AutoOrientationStateEnum_ORIENTED AutoOrientationStateEnum = "Oriented" )
type AutoPlacement ¶
type AutoPlacement struct {
// * If `force_collection`==`false`: the API Iattempts 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"`
AdditionalProperties map[string]any `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) 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
const ( AutoPlacementInfoStatusEnum_PENDING AutoPlacementInfoStatusEnum = "pending" AutoPlacementInfoStatusEnum_INPROGRESS AutoPlacementInfoStatusEnum = "inprogress" AutoPlacementInfoStatusEnum_DONE AutoPlacementInfoStatusEnum = "done" AutoPlacementInfoStatusEnum_ENUMERROR AutoPlacementInfoStatusEnum = "error" )
type AutoPreemption ¶
type AutoPreemption struct {
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]any `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) 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 Beacon ¶
type Beacon struct {
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"`
// bluetooth tag major
IbeaconMajor *int `json:"ibeacon_major,omitempty"`
// bluetooth tag minor
IbeaconMinor *int `json:"ibeacon_minor,omitempty"`
// bluetooth tag UUID
IbeaconUuid *uuid.UUID `json:"ibeacon_uuid,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
// optiona, 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"`
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"`
Type *BeaconTypeEnum `json:"type,omitempty"`
// x in pixel
X *float64 `json:"x,omitempty"`
// y in pixel
Y *float64 `json:"y,omitempty"`
AdditionalProperties map[string]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Beacon. It customizes the JSON unmarshaling process for Beacon objects.
type BeaconStatsItems ¶
type BeaconStatsItems struct {
// battery voltage, in mV
BatteryVoltage *float64 `json:"battery_voltage,omitempty"`
EddystoneInstance *string `json:"eddystone_instance,omitempty"`
EddystoneNamespace *string `json:"eddystone_namespace,omitempty"`
LastSeen 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]any `json:"_"`
}
BeaconStatsItems represents a BeaconStatsItems struct.
func (BeaconStatsItems) MarshalJSON ¶
func (b BeaconStatsItems) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for BeaconStatsItems. It customizes the JSON marshaling process for BeaconStatsItems objects.
func (*BeaconStatsItems) UnmarshalJSON ¶
func (b *BeaconStatsItems) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for BeaconStatsItems. It customizes the JSON unmarshaling process for BeaconStatsItems objects.
type BeaconTypeEnum ¶
type BeaconTypeEnum string
BeaconTypeEnum is a string enum.
const ( BeaconTypeEnum_IBEACON BeaconTypeEnum = "ibeacon" BeaconTypeEnum_EDDYSTONEUID BeaconTypeEnum = "eddystone-uid" BeaconTypeEnum_EDDYSTONEURL BeaconTypeEnum = "eddystone-url" )
type BgpConfig ¶
type BgpConfig struct {
AuthKey *string `json:"auth_key,omitempty"`
// when bfd_multiplier is configured alone
// default:
// * 1000 if `type`==`external“
// * 350 `type`==`internal`
BfdMinimumInterval Optional[int] `json:"bfd_minimum_interval"`
// when bfd_minimum_interval_is_configured alone
BfdMultiplier Optional[int] `json:"bfd_multiplier"`
Communities []BgpConfigCommunity `json:"communities,omitempty"`
// 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"`
// 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"`
// `0` means disable
GracefulRestartTime *int `json:"graceful_restart_time,omitempty"`
HoldTime *int `json:"hold_time,omitempty"`
Import *string `json:"import,omitempty"`
// default import policies if no per-neighbor policies defined
ImportPolicy *string `json:"import_policy,omitempty"`
LocalAs *int `json:"local_as,omitempty"`
NeighborAs *int `json:"neighbor_as,omitempty"`
// if per-neighbor as is desired. Property key is the neighbor address
Neighbors map[string]BgpConfigNeighbors `json:"neighbors,omitempty"`
// if `type`!=`external`or `via`==`wan`networks where we expect BGP neighbor to connect to/from
Networks []string `json:"networks,omitempty"`
// by default, we'll re-advertise all learned BGP routers toward overlay
NoReadvertiseToOverlay *bool `json:"no_readvertise_to_overlay,omitempty"`
Type *BgpConfigTypeEnum `json:"type,omitempty"`
// network name
Via *BgpConfigViaEnum `json:"via,omitempty"`
VpnName *string `json:"vpn_name,omitempty"`
// if `via`==`wan`
WanName *string `json:"wan_name,omitempty"`
AdditionalProperties map[string]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for BgpConfig. It customizes the JSON unmarshaling process for BgpConfig objects.
type BgpConfigCommunity ¶
type BgpConfigCommunity struct {
Id *string `json:"id,omitempty"`
LocalPreference *int `json:"local_preference,omitempty"`
VpnName *string `json:"vpn_name,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
BgpConfigCommunity represents a BgpConfigCommunity struct.
func (BgpConfigCommunity) MarshalJSON ¶
func (b BgpConfigCommunity) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for BgpConfigCommunity. It customizes the JSON marshaling process for BgpConfigCommunity objects.
func (*BgpConfigCommunity) UnmarshalJSON ¶
func (b *BgpConfigCommunity) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for BgpConfigCommunity. It customizes the JSON unmarshaling process for BgpConfigCommunity 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"`
NeighborAs *int `json:"neighbor_as,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( BgpConfigTypeEnum_INTERNAL BgpConfigTypeEnum = "internal" BgpConfigTypeEnum_EXTERNAL BgpConfigTypeEnum = "external" )
type BgpConfigViaEnum ¶
type BgpConfigViaEnum string
BgpConfigViaEnum is a string enum. network name
const ( BgpConfigViaEnum_LAN BgpConfigViaEnum = "lan" BgpConfigViaEnum_VPN BgpConfigViaEnum = "vpn" BgpConfigViaEnum_WAN BgpConfigViaEnum = "wan" )
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"`
// AS
LocalAs *int `json:"local_as,omitempty"`
// router mac address
Mac *string `json:"mac,omitempty"`
Neighbor *string `json:"neighbor,omitempty"`
NeighborAs *int `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"`
RxPkts *int `json:"rx_pkts,omitempty"`
// number of received routes
RxRoutes *int `json:"rx_routes,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
State *BgpStatsStateEnum `json:"state,omitempty"`
Timestamp *float64 `json:"timestamp,omitempty"`
TxPkts *int `json:"tx_pkts,omitempty"`
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]any `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) 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.
const ( BgpStatsStateEnum_IDLE BgpStatsStateEnum = "idle" BgpStatsStateEnum_CONNECT BgpStatsStateEnum = "connect" BgpStatsStateEnum_ACTIVE BgpStatsStateEnum = "active" BgpStatsStateEnum_OPENSENT BgpStatsStateEnum = "open_sent" BgpStatsStateEnum_OPENCONFIG BgpStatsStateEnum = "open_config" BgpStatsStateEnum_ESTABLISHED BgpStatsStateEnum = "established" )
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"`
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 emmit 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 emmit for iBeacon
IbeaconFreqMsec *int `json:"ibeacon_freq_msec,omitempty"`
// Major number for iBeacon
IbeaconMajor *int `json:"ibeacon_major,omitempty"`
// Minor number for iBeacon
IbeaconMinor *int `json:"ibeacon_minor,omitempty"`
// 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`
Power *int `json:"power,omitempty"`
PowerMode *BleConfigPowerModeEnum `json:"power_mode,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( BleConfigBeaconRateModeEnum_ENUMDEFAULT BleConfigBeaconRateModeEnum = "default" BleConfigBeaconRateModeEnum_CUSTOM BleConfigBeaconRateModeEnum = "custom" )
type BleConfigPowerModeEnum ¶
type BleConfigPowerModeEnum string
BleConfigPowerModeEnum is a string enum.
const ( BleConfigPowerModeEnum_ENUMDEFAULT BleConfigPowerModeEnum = "default" BleConfigPowerModeEnum_CUSTOM BleConfigPowerModeEnum = "custom" )
type CallStats ¶
type CallStats 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]any `json:"_"`
}
CallStats represents a CallStats struct.
func (CallStats) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for CallStats. It customizes the JSON marshaling process for CallStats objects.
func (*CallStats) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for CallStats. It customizes the JSON unmarshaling process for CallStats objects.
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]any `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) 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"`
ClientVpnDistaince *float64 `json:"client_vpn_distaince,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]any `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) 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 CallTroubleshootSummar ¶
type CallTroubleshootSummar struct {
AudioIn *CallTroubleshootSummaryData `json:"audio_in,omitempty"`
AudioOut *CallTroubleshootSummaryData `json:"audio_out,omitempty"`
Timestamp *int `json:"timestamp,omitempty"`
VideoIn *CallTroubleshootSummaryData `json:"video_in,omitempty"`
VideoOut *CallTroubleshootSummaryData `json:"video_out,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
CallTroubleshootSummar represents a CallTroubleshootSummar struct.
func (CallTroubleshootSummar) MarshalJSON ¶
func (c CallTroubleshootSummar) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CallTroubleshootSummar. It customizes the JSON marshaling process for CallTroubleshootSummar objects.
func (*CallTroubleshootSummar) UnmarshalJSON ¶
func (c *CallTroubleshootSummar) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CallTroubleshootSummar. It customizes the JSON unmarshaling process for CallTroubleshootSummar objects.
type CallTroubleshootSummary ¶
type CallTroubleshootSummary struct {
Mac *string `json:"mac,omitempty"`
MeetingId *uuid.UUID `json:"meeting_id,omitempty"`
Results []CallTroubleshootSummar `json:"results,omitempty"`
AdditionalProperties map[string]any `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) 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"`
ClientVpnDistaince *float64 `json:"client_vpn_distaince,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]any `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) 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 for client-capture
NumPackets Optional[int] `json:"num_packets"`
// optional filter by ssid
Ssid Optional[string] `json:"ssid"`
// client
Type string `json:"type"`
AdditionalProperties map[string]any `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) 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 CaptureGateway ¶
type CaptureGateway struct {
// duration of the capture, in seconds
Duration *int `json:"duration,omitempty"`
Format *CaptureGatewayFormatEnum `json:"format,omitempty"`
// List of SSRs. Property key is the SSR MAC
Gateways map[string]CaptureGatewayGateways `json:"gateways,omitempty"`
// max_len of each packet to capture
MaxPktLen *int `json:"max_pkt_len,omitempty"`
// number of packets to capture, 0 for unlimited
NumPackets *int `json:"num_packets,omitempty"`
// dict of port which uses port id as the key
Ports []string `json:"ports,omitempty"`
Type string `json:"type"`
AdditionalProperties map[string]any `json:"_"`
}
CaptureGateway represents a CaptureGateway struct. Initiate a Gateway (SSR) 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) 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.
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]any `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) 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]any `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) 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 CaptureMxedge ¶
type CaptureMxedge struct {
// duration of the capture, in seconds
Duration *int `json:"duration,omitempty"`
// pcap format
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"`
// mxedge
Type string `json:"type"`
AdditionalProperties map[string]any `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) 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
const (
CaptureMxedgeFormatEnum_STREAM CaptureMxedgeFormatEnum = "stream"
)
type CaptureMxedgeMxedges ¶
type CaptureMxedgeMxedges struct {
Interfaces map[string]CaptureMxedgeMxedgesInterfaces `json:"interfaces,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
CaptureMxedgeMxedges represents a CaptureMxedgeMxedges struct. Property key is the Mx Edge ID
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) 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]any `json:"_"`
}
CaptureMxedgeMxedgesInterfaces represents a CaptureMxedgeMxedgesInterfaces struct. Property key is the Port name (e.g. "port1")
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) 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 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 *int `json:"duration,omitempty"`
IncludesMcast *bool `json:"includes_mcast,omitempty"`
MaxPktLen *int `json:"max_pkt_len,omitempty"`
// number of packets to capture, 0 for unlimited
NumPackets *int `json:"num_packets,omitempty"`
// optional filter by ssid
Ssid *string `json:"ssid,omitempty"`
// new-assoc
Type string `json:"type"`
AdditionalProperties map[string]any `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) 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 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 converts the CaptureOrg object to a string representation.
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"`
Band *CaptureRadiotapBandEnum `json:"band,omitempty"`
ClientMac *string `json:"client_mac,omitempty"`
// duration of the capture, in seconds
Duration *int `json:"duration,omitempty"`
Format *CaptureRadiotapFormatEnum `json:"format,omitempty"`
// max_len of each packet to capture
MaxPktLen *int `json:"max_pkt_len,omitempty"`
// number of packets to capture, 0 for unlimited
NumPackets *int `json:"num_packets,omitempty"`
Ssid *string `json:"ssid,omitempty"`
// tcpdump expression specific to radiotap
TcpdumpExpression *string `json:"tcpdump_expression,omitempty"`
// radiotap
Type string `json:"type"`
// wlan id associated with the respective ssid.
WlanId *uuid.UUID `json:"wlan_id,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( CaptureRadiotapBandEnum_ENUM24 CaptureRadiotapBandEnum = "24" CaptureRadiotapBandEnum_ENUM5 CaptureRadiotapBandEnum = "5" CaptureRadiotapBandEnum_ENUM6 CaptureRadiotapBandEnum = "6" CaptureRadiotapBandEnum_ENUM2456 CaptureRadiotapBandEnum = "24,5,6" )
type CaptureRadiotapFormatEnum ¶
type CaptureRadiotapFormatEnum string
CaptureRadiotapFormatEnum is a string enum.
const ( CaptureRadiotapFormatEnum_PCAP CaptureRadiotapFormatEnum = "pcap" CaptureRadiotapFormatEnum_STREAM CaptureRadiotapFormatEnum = "stream" )
type CaptureRadiotapwired ¶
type CaptureRadiotapwired struct {
ApMac Optional[string] `json:"ap_mac"`
// only used for radiotap
Band *CaptureRadiotapwiredBandEnum `json:"band,omitempty"`
ClientMac Optional[string] `json:"client_mac"`
// duration of the capture, in seconds
Duration *int `json:"duration,omitempty"`
Format *CaptureRadiotapwiredFormatEnum `json:"format,omitempty"`
// max_len of each packet to capture
MaxPktLen *int `json:"max_pkt_len,omitempty"`
// number of packets to capture, 0 for unlimited
NumPackets *int `json:"num_packets,omitempty"`
// tcpdump expression for radiotap interface (802.11 + radio headers)
RadiotapTcpdumpExpression *string `json:"radiotap_tcpdump_expression,omitempty"`
Ssid Optional[string] `json:"ssid"`
// tcpdump expression common for wired,radiotap
TcpdumpExpression *string `json:"tcpdump_expression,omitempty"`
// radiotap,wired
Type string `json:"type"`
// tcpdump expression for wired
WiredTcpdumpExpression *string `json:"wired_tcpdump_expression,omitempty"`
// 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]any `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) 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
const ( CaptureRadiotapwiredBandEnum_ENUM24 CaptureRadiotapwiredBandEnum = "24" CaptureRadiotapwiredBandEnum_ENUM5 CaptureRadiotapwiredBandEnum = "5" CaptureRadiotapwiredBandEnum_ENUM6 CaptureRadiotapwiredBandEnum = "6" CaptureRadiotapwiredBandEnum_ENUM2456 CaptureRadiotapwiredBandEnum = "24,5,6" )
type CaptureRadiotapwiredFormatEnum ¶
type CaptureRadiotapwiredFormatEnum string
CaptureRadiotapwiredFormatEnum is a string enum.
const ( CaptureRadiotapwiredFormatEnum_PCAP CaptureRadiotapwiredFormatEnum = "pcap" CaptureRadiotapwiredFormatEnum_STREAM CaptureRadiotapwiredFormatEnum = "stream" )
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
Band Optional[CaptureScanBandEnum] `json:"band"`
// channel width for the band * `80` is only applicable for band_5 and band_6 * `160` is 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 *int `json:"duration,omitempty"`
Format *CaptureScanFormatEnum `json:"format,omitempty"`
// max_len of each packet to capture
MaxPktLen *int `json:"max_pkt_len,omitempty"`
// number of packets to capture, 0 for unlimited
NumPackets *int `json:"num_packets,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"`
Type string `json:"type"`
// specify the bandwidth value with respect to the channel.
Width *string `json:"width,omitempty"`
AdditionalProperties map[string]any `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) 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
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]any `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) 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
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
const ( CaptureScanBandEnum_ENUM24 CaptureScanBandEnum = "24" CaptureScanBandEnum_ENUM5 CaptureScanBandEnum = "5" CaptureScanBandEnum_ENUM6 CaptureScanBandEnum = "6" )
type CaptureScanFormatEnum ¶
type CaptureScanFormatEnum string
CaptureScanFormatEnum is a string enum.
const ( CaptureScanFormatEnum_PCAP CaptureScanFormatEnum = "pcap" CaptureScanFormatEnum_STREAM CaptureScanFormatEnum = "stream" )
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 converts the CaptureSite object to a string representation.
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 *int `json:"duration,omitempty"`
Format *CaptureSwitchFormatEnum `json:"format,omitempty"`
// max_len of each packet to capture
MaxPktLen *int `json:"max_pkt_len,omitempty"`
// number of packets to capture, 0 for unlimited
NumPackets *int `json:"num_packets,omitempty"`
// dict of port which uses port id as the key
Ports []string `json:"ports,omitempty"`
// Property key is the switch mac
Switches map[string]CaptureSwitchSwitches `json:"switches,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"`
Type string `json:"type"`
AdditionalProperties map[string]any `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) 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.
const (
CaptureSwitchFormatEnum_STREAM CaptureSwitchFormatEnum = "stream"
)
type CaptureSwitchSwitches ¶
type CaptureSwitchSwitches struct {
// Property key is the interface name
Ports map[string]interface{} `json:"ports,omitempty"`
AdditionalProperties map[string]any `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) 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 CaptureWired ¶
type CaptureWired struct {
ApMac Optional[string] `json:"ap_mac"`
// duration of the capture, in seconds
Duration *int `json:"duration,omitempty"`
// pcap format
Format *CaptureWiredFormatEnum `json:"format,omitempty"`
// max_len of each packet to capture
MaxPktLen *int `json:"max_pkt_len,omitempty"`
// number of packets to capture, 0 for unlimited
NumPackets *int `json:"num_packets,omitempty"`
// tcpdump expression
TcpdumpExpression Optional[string] `json:"tcpdump_expression"`
// wired
Type string `json:"type"`
AdditionalProperties map[string]any `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) 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
const ( CaptureWiredFormatEnum_PCAP CaptureWiredFormatEnum = "pcap" CaptureWiredFormatEnum_STREAM CaptureWiredFormatEnum = "stream" )
type CaptureWireless ¶
type CaptureWireless struct {
ApMac Optional[string] `json:"ap_mac"`
Band *CaptureWirelessBandEnum `json:"band,omitempty"`
// duration of the capture, in seconds
Duration *int `json:"duration,omitempty"`
// pcap format
Format *CaptureWirelessFormatEnum `json:"format,omitempty"`
// max_len of each packet to capture
MaxPktLen *int `json:"max_pkt_len,omitempty"`
// number of packets to capture, 0 for unlimited
NumPackets *int `json:"num_packets,omitempty"`
Ssid *string `json:"ssid,omitempty"`
// wireless
Type string `json:"type"`
// WLAN ID
WlanId *uuid.UUID `json:"wlan_id,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( CaptureWirelessBandEnum_ENUM24 CaptureWirelessBandEnum = "24" CaptureWirelessBandEnum_ENUM5 CaptureWirelessBandEnum = "5" CaptureWirelessBandEnum_ENUM6 CaptureWirelessBandEnum = "6" CaptureWirelessBandEnum_ENUM2456 CaptureWirelessBandEnum = "24,5,6" )
type CaptureWirelessFormatEnum ¶
type CaptureWirelessFormatEnum string
CaptureWirelessFormatEnum is a string enum. pcap format
const ( CaptureWirelessFormatEnum_PCAP CaptureWirelessFormatEnum = "pcap" CaptureWirelessFormatEnum_STREAM CaptureWirelessFormatEnum = "stream" )
type ClaimActivation ¶
type ClaimActivation struct {
// activation code
Code string `json:"code"`
DeviceType *DeviceTypeEnum `json:"device_type,omitempty"`
// what to claim
Type ClaimTypeEnum `json:"type"`
AdditionalProperties map[string]any `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) 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
const ( ClaimTypeEnum_ALL ClaimTypeEnum = "all" ClaimTypeEnum_LICENSE ClaimTypeEnum = "license" ClaimTypeEnum_INVENTORY ClaimTypeEnum = "inventory" )
type ClientNac ¶
type ClientNac struct {
Ap []string `json:"ap,omitempty"`
AuthType *string `json:"auth_type,omitempty"`
CertCn []string `json:"cert_cn,omitempty"`
CertIssuer []string `json:"cert_issuer,omitempty"`
IdpId *string `json:"idp_id,omitempty"`
IdpRole []string `json:"idp_role,omitempty"`
LastAp *string `json:"last_ap,omitempty"`
LastCertCn *string `json:"last_cert_cn,omitempty"`
LastCertExpiry *int `json:"last_cert_expiry,omitempty"`
LastCertIssuer *string `json:"last_cert_issuer,omitempty"`
LastNacruleId *string `json:"last_nacrule_id,omitempty"`
LastNacruleName *string `json:"last_nacrule_name,omitempty"`
LastNasVendor *string `json:"last_nas_vendor,omitempty"`
LastSsid *string `json:"last_ssid,omitempty"`
LastStatus *string `json:"last_status,omitempty"`
Mac *string `json:"mac,omitempty"`
NacruleId []string `json:"nacrule_id,omitempty"`
NacruleMatched *bool `json:"nacrule_matched,omitempty"`
NacruleName []string `json:"nacrule_name,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"`
Timestamp *float64 `json:"timestamp,omitempty"`
Type *string `json:"type,omitempty"`
AdditionalProperties map[string]any `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) 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, …)
LastDevuce *string `json:"last_devuce,omitempty"`
// only when client has the Marvis Client app running. Same as "firmware"
LastFirmware *string `json:"last_firmware,omitempty"`
// lastest hostname we detected for the the client
LastHostname *string `json:"last_hostname,omitempty"`
// lastest ip address we detected for the client
LastIp *string `json:"last_ip,omitempty"`
// only when client has the Marvis Client app running. lastest 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"`
// only for PPSK authentication. Latest PPSK Name used by the client
LastSsid *string `json:"last_ssid,omitempty"`
// only for 802.1X authentifcation. Latest username used by the client
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"`
// Mist Org ID
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 amendmant
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"`
// when the data has been updated
Timestamp *float64 `json:"timestamp,omitempty"`
// only for 802.1X authentifcation. 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]any `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) 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 ClientWirelessStats ¶
type ClientWirelessStats struct {
// TTL of the validity of the stat
Ttl float64 `json:"_ttl"`
// estimated client location accuracy, in meter
Accuracy *int `json:"accuracy,omitempty"`
AirespaceIfname *string `json:"airespace_ifname,omitempty"`
// information if airwatch enabled
Airwatch *ClientWirelessStatsAirwatch `json:"airwatch,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"`
Band Dot11BandEnum `json:"band"`
// 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"`
// device family, through fingerprinting. iPod / Nexus Galaxy / Windows Mobile or CE …
Family string `json:"family"`
// information about this portal
Guest *ClientWirelessStatsGuest `json:"guest,omitempty"`
// hostname that we learned from sniffing DHCP
Hostname string `json:"hostname"`
// how long, in seconds, has the client been idle (since the last RX packet)
IdleTime float64 `json:"idle_time"`
Ip string `json:"ip"`
// whether this is a guest
IsGuest bool `json:"is_guest"`
// e.g. WPA2-PSK/CCMP
KeyMgmt string `json:"key_mgmt"`
// last seen timestamp
LastSeen float64 `json:"last_seen"`
// client mac
Mac string `json:"mac"`
// device manufacture, through fingerprinting or OUI
Manufacture string `json:"manufacture"`
// 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"`
// number of APs used to locate this client
NumLocatingAps *int `json:"num_locating_aps,omitempty"`
// device os, through fingerprinting
Os string `json:"os"`
// if it’s currently in power-save mode
PowerSaving bool `json:"power_saving"`
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 []ClientWirelessStatsRssiZone `json:"rssizones,omitempty"`
// rate of receiving traffic from the clients, bits/seconds, last known
RxBps float64 `json:"rx_bps"`
// amount of traffic received from client since client connects
RxBytes float64 `json:"rx_bytes"`
// amount of traffic received from client since client connects
RxPackets float64 `json:"rx_packets"`
// RX Rate, Mbps
RxRate float64 `json:"rx_rate"`
// amount of rx retries
RxRetries float64 `json:"rx_retries"`
// signal over noise
Snr float64 `json:"snr"`
// SSID the client is connected to
Ssid string `json:"ssid"`
// rate of transmitting traffic to the clients, bits/seconds, last known
TxBps float64 `json:"tx_bps"`
// amount of traffic sent to client since client connects
TxBytes float64 `json:"tx_bytes"`
// amount of traffic sent to client since client connects
TxPackets float64 `json:"tx_packets"`
// TX Rate, Mbps
TxRate float64 `json:"tx_rate"`
// amount of tx retries
TxRetries float64 `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"`
// username that we learned from 802.1X exchange or Per_user PSK or User Portal
Username string `json:"username"`
// list of beacon_id’s where the client is in and since when (if known)
Vbeacons []ClientWirelessStatsVbeacon `json:"vbeacons,omitempty"`
// vlan id, could be empty (from older AP)
VlanId *int `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 []ClientWirelessStatsWxruleUsage `json:"wxrule_usage,omitempty"`
// estimated clinet location in pixels
X *float64 `json:"x,omitempty"`
// estimated client location in meter
XM *float64 `json:"x_m,omitempty"`
// estimated clinet 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 []ClientWirelessStatsZone `json:"zones,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ClientWirelessStats represents a ClientWirelessStats struct.
func (ClientWirelessStats) MarshalJSON ¶
func (c ClientWirelessStats) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ClientWirelessStats. It customizes the JSON marshaling process for ClientWirelessStats objects.
func (*ClientWirelessStats) UnmarshalJSON ¶
func (c *ClientWirelessStats) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ClientWirelessStats. It customizes the JSON unmarshaling process for ClientWirelessStats objects.
type ClientWirelessStatsAirwatch ¶
type ClientWirelessStatsAirwatch struct {
Authorized bool `json:"authorized"`
AdditionalProperties map[string]any `json:"_"`
}
ClientWirelessStatsAirwatch represents a ClientWirelessStatsAirwatch struct. information if airwatch enabled
func (ClientWirelessStatsAirwatch) MarshalJSON ¶
func (c ClientWirelessStatsAirwatch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ClientWirelessStatsAirwatch. It customizes the JSON marshaling process for ClientWirelessStatsAirwatch objects.
func (*ClientWirelessStatsAirwatch) UnmarshalJSON ¶
func (c *ClientWirelessStatsAirwatch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ClientWirelessStatsAirwatch. It customizes the JSON unmarshaling process for ClientWirelessStatsAirwatch objects.
type ClientWirelessStatsGuest ¶
type ClientWirelessStatsGuest struct {
// whether this guest is authorized
Authorized bool `json:"authorized"`
// when the guest authorization will expire
AuthorizedExpiringTime float64 `json:"authorized_expiring_time"`
// when the guest is authorized
AuthorizedTime float64 `json:"authorized_time"`
Company string `json:"company"`
Email string `json:"email"`
Field1 string `json:"field1"`
Name string `json:"name"`
AdditionalProperties map[string]any `json:"_"`
}
ClientWirelessStatsGuest represents a ClientWirelessStatsGuest struct. information about this portal
func (ClientWirelessStatsGuest) MarshalJSON ¶
func (c ClientWirelessStatsGuest) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ClientWirelessStatsGuest. It customizes the JSON marshaling process for ClientWirelessStatsGuest objects.
func (*ClientWirelessStatsGuest) UnmarshalJSON ¶
func (c *ClientWirelessStatsGuest) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ClientWirelessStatsGuest. It customizes the JSON unmarshaling process for ClientWirelessStatsGuest objects.
type ClientWirelessStatsRssiZone ¶
type ClientWirelessStatsRssiZone struct {
Id *uuid.UUID `json:"id,omitempty"`
Since *int `json:"since,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ClientWirelessStatsRssiZone represents a ClientWirelessStatsRssiZone struct.
func (ClientWirelessStatsRssiZone) MarshalJSON ¶
func (c ClientWirelessStatsRssiZone) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ClientWirelessStatsRssiZone. It customizes the JSON marshaling process for ClientWirelessStatsRssiZone objects.
func (*ClientWirelessStatsRssiZone) UnmarshalJSON ¶
func (c *ClientWirelessStatsRssiZone) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ClientWirelessStatsRssiZone. It customizes the JSON unmarshaling process for ClientWirelessStatsRssiZone objects.
type ClientWirelessStatsVbeacon ¶
type ClientWirelessStatsVbeacon struct {
Id *uuid.UUID `json:"id,omitempty"`
Since *int `json:"since,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ClientWirelessStatsVbeacon represents a ClientWirelessStatsVbeacon struct.
func (ClientWirelessStatsVbeacon) MarshalJSON ¶
func (c ClientWirelessStatsVbeacon) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ClientWirelessStatsVbeacon. It customizes the JSON marshaling process for ClientWirelessStatsVbeacon objects.
func (*ClientWirelessStatsVbeacon) UnmarshalJSON ¶
func (c *ClientWirelessStatsVbeacon) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ClientWirelessStatsVbeacon. It customizes the JSON unmarshaling process for ClientWirelessStatsVbeacon objects.
type ClientWirelessStatsWxruleUsage ¶
type ClientWirelessStatsWxruleUsage struct {
TagId *uuid.UUID `json:"tag_id,omitempty"`
Usage *int `json:"usage,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ClientWirelessStatsWxruleUsage represents a ClientWirelessStatsWxruleUsage struct.
func (ClientWirelessStatsWxruleUsage) MarshalJSON ¶
func (c ClientWirelessStatsWxruleUsage) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ClientWirelessStatsWxruleUsage. It customizes the JSON marshaling process for ClientWirelessStatsWxruleUsage objects.
func (*ClientWirelessStatsWxruleUsage) UnmarshalJSON ¶
func (c *ClientWirelessStatsWxruleUsage) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ClientWirelessStatsWxruleUsage. It customizes the JSON unmarshaling process for ClientWirelessStatsWxruleUsage objects.
type ClientWirelessStatsZone ¶
type ClientWirelessStatsZone struct {
Id *uuid.UUID `json:"id,omitempty"`
Since *int `json:"since,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ClientWirelessStatsZone represents a ClientWirelessStatsZone struct.
func (ClientWirelessStatsZone) MarshalJSON ¶
func (c ClientWirelessStatsZone) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ClientWirelessStatsZone. It customizes the JSON marshaling process for ClientWirelessStatsZone objects.
func (*ClientWirelessStatsZone) UnmarshalJSON ¶
func (c *ClientWirelessStatsZone) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ClientWirelessStatsZone. It customizes the JSON unmarshaling process for ClientWirelessStatsZone objects.
type ClientsWanStats ¶
type ClientsWanStats struct {
When *string `json:"When,omitempty"`
Hostname []string `json:"hostname,omitempty"`
Ip []string `json:"ip,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"`
Wcid *string `json:"wcid,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ClientsWanStats represents a ClientsWanStats struct.
func (ClientsWanStats) MarshalJSON ¶
func (c ClientsWanStats) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ClientsWanStats. It customizes the JSON marshaling process for ClientsWanStats objects.
func (*ClientsWanStats) UnmarshalJSON ¶
func (c *ClientsWanStats) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ClientsWanStats. It customizes the JSON unmarshaling process for ClientsWanStats objects.
type ClusterConfigStats ¶
type ClusterConfigStats struct {
Configuration *string `json:"configuration,omitempty"`
ControlLinkInfo *ClusterConfigStatsControlLinkInfo `json:"control_link_info,omitempty"`
EthernetConnection []ClusterConfigStatsEthernetConnectionItem `json:"ethernet_connection,omitempty"`
FabricLinkInfo *ClusterConfigStatsFabricLinkInfo `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 []ClusterConfigStatsRedundancyGroupInfoItem `json:"redundancy_group_information,omitempty"`
SecondaryNodeHealth *string `json:"secondary_node_health,omitempty"`
Status *string `json:"status,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ClusterConfigStats represents a ClusterConfigStats struct.
func (ClusterConfigStats) MarshalJSON ¶
func (c ClusterConfigStats) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ClusterConfigStats. It customizes the JSON marshaling process for ClusterConfigStats objects.
func (*ClusterConfigStats) UnmarshalJSON ¶
func (c *ClusterConfigStats) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ClusterConfigStats. It customizes the JSON unmarshaling process for ClusterConfigStats objects.
type ClusterConfigStatsControlLinkInfo ¶
type ClusterConfigStatsControlLinkInfo struct {
Name *string `json:"name,omitempty"`
Status *string `json:"status,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ClusterConfigStatsControlLinkInfo represents a ClusterConfigStatsControlLinkInfo struct.
func (ClusterConfigStatsControlLinkInfo) MarshalJSON ¶
func (c ClusterConfigStatsControlLinkInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ClusterConfigStatsControlLinkInfo. It customizes the JSON marshaling process for ClusterConfigStatsControlLinkInfo objects.
func (*ClusterConfigStatsControlLinkInfo) UnmarshalJSON ¶
func (c *ClusterConfigStatsControlLinkInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ClusterConfigStatsControlLinkInfo. It customizes the JSON unmarshaling process for ClusterConfigStatsControlLinkInfo objects.
type ClusterConfigStatsEthernetConnectionItem ¶
type ClusterConfigStatsEthernetConnectionItem struct {
Name *string `json:"name,omitempty"`
Status *string `json:"status,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ClusterConfigStatsEthernetConnectionItem represents a ClusterConfigStatsEthernetConnectionItem struct.
func (ClusterConfigStatsEthernetConnectionItem) MarshalJSON ¶
func (c ClusterConfigStatsEthernetConnectionItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ClusterConfigStatsEthernetConnectionItem. It customizes the JSON marshaling process for ClusterConfigStatsEthernetConnectionItem objects.
func (*ClusterConfigStatsEthernetConnectionItem) UnmarshalJSON ¶
func (c *ClusterConfigStatsEthernetConnectionItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ClusterConfigStatsEthernetConnectionItem. It customizes the JSON unmarshaling process for ClusterConfigStatsEthernetConnectionItem objects.
type ClusterConfigStatsFabricLinkInfo ¶
type ClusterConfigStatsFabricLinkInfo 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]any `json:"_"`
}
ClusterConfigStatsFabricLinkInfo represents a ClusterConfigStatsFabricLinkInfo struct.
func (ClusterConfigStatsFabricLinkInfo) MarshalJSON ¶
func (c ClusterConfigStatsFabricLinkInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ClusterConfigStatsFabricLinkInfo. It customizes the JSON marshaling process for ClusterConfigStatsFabricLinkInfo objects.
func (*ClusterConfigStatsFabricLinkInfo) UnmarshalJSON ¶
func (c *ClusterConfigStatsFabricLinkInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ClusterConfigStatsFabricLinkInfo. It customizes the JSON unmarshaling process for ClusterConfigStatsFabricLinkInfo objects.
type ClusterConfigStatsRedundancyGroupInfoItem ¶
type ClusterConfigStatsRedundancyGroupInfoItem struct {
Id *int `json:"Id,omitempty"`
MonitoringFailure *string `json:"MonitoringFailure,omitempty"`
Threshold *int `json:"Threshold,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ClusterConfigStatsRedundancyGroupInfoItem represents a ClusterConfigStatsRedundancyGroupInfoItem struct.
func (ClusterConfigStatsRedundancyGroupInfoItem) MarshalJSON ¶
func (c ClusterConfigStatsRedundancyGroupInfoItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ClusterConfigStatsRedundancyGroupInfoItem. It customizes the JSON marshaling process for ClusterConfigStatsRedundancyGroupInfoItem objects.
func (*ClusterConfigStatsRedundancyGroupInfoItem) UnmarshalJSON ¶
func (c *ClusterConfigStatsRedundancyGroupInfoItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ClusterConfigStatsRedundancyGroupInfoItem. It customizes the JSON unmarshaling process for ClusterConfigStatsRedundancyGroupInfoItem 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"`
Port *int `json:"port,omitempty"`
Secret string `json:"secret"`
AdditionalProperties map[string]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for CoaServer. It customizes the JSON unmarshaling process for CoaServer objects.
type CodeString ¶
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) 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 {
// Aeroscout AP settings
Aeroscout *ApAeroscout `json:"aeroscout,omitempty"`
// BLE AP settings
BleConfig *BleConfig `json:"ble_config,omitempty"`
Centrak *ApCentrak `json:"centrak,omitempty"`
ClientBridge *ApClientBridge `json:"client_bridge,omitempty"`
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"`
ForSite *bool `json:"for_site,omitempty"`
// height, in meters, optional
Height *float64 `json:"height,omitempty"`
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 *ApIpConfig1 `json:"ip_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"`
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name *string `json:"name,omitempty"`
// any notes about this AP
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"`
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")
PortConfig *PortConfig1 `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
Type *DeviceTypeApEnum `json:"type,omitempty"`
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"`
// a 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"`
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"`
DhcpSnooping *DhcpSnooping `json:"dhcp_snooping,omitempty"`
DhcpdConfig *DhcpdConfig1 `json:"dhcpd_config,omitempty"`
// for a claimed switch, we control the configs by default. This option (disables the behavior)
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"`
ExtraRoutes *ExtraRoutes `json:"extra_routes,omitempty"`
// Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64")
ExtraRoutes6 map[string]ExtraRoute6Properties `json:"extra_routes6,omitempty"`
// for an adopted switch, we don’t overwrite their existing configs automatically
Managed *bool `json:"managed,omitempty"`
// enable mist_nac to use radsec
MistNac *SwitchMistNac `json:"mist_nac,omitempty"`
// Property key is network name
Networks map[string]SwitchNetwork `json:"networks,omitempty"`
// - 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 *SwitchOobIpConfig1 `json:"oob_ip_config,omitempty"`
// Junos OSPF config
OspfConfig *OspfConfig `json:"ospf_config,omitempty"`
// Property key is the network name
OtherIpConfigs map[string]JunosOtherIpConfig `json:"other_ip_configs,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.
PortMirroring *SwitchPortMirroring `json:"port_mirroring,omitempty"`
PortUsages map[string]SwitchPortUsage `json:"port_usages,omitempty"`
// Junos Radius config
RadiusConfig *RadiusConfig `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"`
SnmpConfig *SnmpConfig `json:"snmp_config,omitempty"`
StpConfig *SwitchStpConfig `json:"stp_config,omitempty"`
SwitchMgmt *SwitchMgmt `json:"switch_mgmt,omitempty"`
// whether to use it for snmp / syslog / tacplus / radius
UseRouterIdAsSourceIp *bool `json:"use_router_id_as_source_ip,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]VrfInstance `json:"vrf_instances,omitempty"`
// Junos VRRP config
VrrpConfig *VrrpConfig `json:"vrrp_config,omitempty"`
BgpConfig map[string]BgpConfig `json:"bgp_config,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"`
MspId *uuid.UUID `json:"msp_id,omitempty"`
// Property key is the path name
PathPreferences map[string]GatewayPathPreferences `json:"path_preferences,omitempty"`
// Property key is the routing policy name
RoutingPolicies map[string]RoutingPolicy `json:"routing_policies,omitempty"`
ServicePolicies []ServicePolicy `json:"service_policies,omitempty"`
// Property key is the tunnel name
TunnelConfigs map[string]TunnelConfigs `json:"tunnel_configs,omitempty"`
TunnelProviderOptions *TunnelProviderOptions `json:"tunnel_provider_options,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ConfigDevice represents a ConfigDevice struct.
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) 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 ConfigSwitch ¶
type ConfigSwitch 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"`
// the 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"`
// Property key is the user name. For Local user authentication
LocalAccounts map[string]ConfigSwitchLocalAccountsUser `json:"local_accounts,omitempty"`
MxedgeProxyHost *string `json:"mxedge_proxy_host,omitempty"`
MxedgeProxyPort *int `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 *ConfigSwitchRadius `json:"radius,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]any `json:"_"`
}
ConfigSwitch represents a ConfigSwitch struct. Switch settings
func (ConfigSwitch) MarshalJSON ¶
func (c ConfigSwitch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConfigSwitch. It customizes the JSON marshaling process for ConfigSwitch objects.
func (*ConfigSwitch) UnmarshalJSON ¶
func (c *ConfigSwitch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConfigSwitch. It customizes the JSON unmarshaling process for ConfigSwitch objects.
type ConfigSwitchLocalAccountsUser ¶
type ConfigSwitchLocalAccountsUser struct {
Password *string `json:"password,omitempty"`
Role *ConfigSwitchLocalAccountsUserRoleEnum `json:"role,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( ConfigSwitchLocalAccountsUserRoleEnum_NONE ConfigSwitchLocalAccountsUserRoleEnum = "none" ConfigSwitchLocalAccountsUserRoleEnum_ADMIN ConfigSwitchLocalAccountsUserRoleEnum = "admin" ConfigSwitchLocalAccountsUserRoleEnum_READ ConfigSwitchLocalAccountsUserRoleEnum = "read" ConfigSwitchLocalAccountsUserRoleEnum_HELPDESK ConfigSwitchLocalAccountsUserRoleEnum = "helpdesk" )
type ConfigSwitchRadius ¶
type ConfigSwitchRadius struct {
Enabled *bool `json:"enabled,omitempty"`
// Junos Radius config
RadiusConfig *RadiusConfig `json:"radius_config,omitempty"`
UseDifferentRadius *string `json:"use_different_radius,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ConfigSwitchRadius represents a ConfigSwitchRadius struct. by default, `radius_config` will be used. if a different one has to be used set `use_different_radius
func (ConfigSwitchRadius) MarshalJSON ¶
func (c ConfigSwitchRadius) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConfigSwitchRadius. It customizes the JSON marshaling process for ConfigSwitchRadius objects.
func (*ConfigSwitchRadius) UnmarshalJSON ¶
func (c *ConfigSwitchRadius) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConfigSwitchRadius. It customizes the JSON unmarshaling process for ConfigSwitchRadius objects.
type ConfigVcPortMember ¶
type ConfigVcPortMember struct {
Member float64 `json:"member"`
VcPorts []string `json:"vc_ports,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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]interface{} `json:"band24_channels,omitempty"`
Band24Enabled *bool `json:"band24_enabled,omitempty"`
// Property key is the channel width
Band5Channels map[string]interface{} `json:"band5_channels,omitempty"`
Band5Enabled *bool `json:"band5_enabled,omitempty"`
// Property key is the channel width
Band6Channels map[string]interface{} `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]any `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) 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 ConstApLed ¶
type ConstApLed struct {
Code string `json:"code"`
Description string `json:"description"`
Key string `json:"key"`
Name string `json:"name"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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,omitempty"`
Band24 *ConstDeviceApBand24 `json:"band24,omitempty"`
Band5 *ConstDeviceApBand5 `json:"band5,omitempty"`
Band6 *ConstDeviceApBand5 `json:"band6,omitempty"`
Band24Usages *RadioBand24UsageEnum `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]interface{} `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"`
Type *string `json:"type,omitempty"`
Unmanaged *bool `json:"unmanaged,omitempty"`
Vble *ConstDeviceApVble `json:"vble,omitempty"`
AdditionalProperties map[string]any `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) 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 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]any `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) 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 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]any `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) 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 ConstDeviceApExtios ¶
type ConstDeviceApExtios struct {
DefaultDir *ConstDeviceApExtiosDefaultDirEnum `json:"default_dir,omitempty"`
Input *bool `json:"input,omitempty"`
Output *bool `json:"output,omitempty"`
AdditionalProperties map[string]any `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) 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.
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]any `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) 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"`
Type *string `json:"type,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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 {
ApType *string `json:"ap_type,omitempty"`
Band24 *ConstDeviceApBand24 `json:"band24,omitempty"`
Band5 *ConstDeviceApBand5 `json:"band5,omitempty"`
Band6 *ConstDeviceApBand5 `json:"band6,omitempty"`
Band24Usages *RadioBand24UsageEnum `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]interface{} `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"`
Type *string `json:"type,omitempty"`
Unmanaged *bool `json:"unmanaged,omitempty"`
Vble *ConstDeviceApVble `json:"vble,omitempty"`
Alias *string `json:"alias,omitempty"`
// Object Key is the interface type name (e.g. "lan_ports", "wan_ports", ...)
Defaults *ConstDeviceSwitchDefault1 `json:"defaults,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"`
HasSnapshot *bool `json:"has_snapshot,omitempty"`
HasVc *bool `json:"has_vc,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"`
HaNode0Fpc *int `json:"ha_node0_fpc,omitempty"`
HaNode1Fpc *int `json:"ha_node1_fpc,omitempty"`
HasFxp0 *bool `json:"has_fxp0,omitempty"`
HasHaControl *bool `json:"has_ha_control,omitempty"`
HasHaData *bool `json:"has_ha_data,omitempty"`
IrbDisabledByDefault *bool `json:"irb_disabled_by_default,omitempty"`
// Object Key is the interface name (e.g. "ge-0/0/1", ...)
Ports *ConstDeviceGatewayPorts `json:"ports,omitempty"`
T128Device *bool `json:"t128_device,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ConstDeviceModel represents a ConstDeviceModel struct.
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) 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"`
Type *string `json:"type,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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 ConstDeviceSwitchDefault1 ¶
type ConstDeviceSwitchDefault1 struct {
Ports *string `json:"_ports,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ConstDeviceSwitchDefault1 represents a ConstDeviceSwitchDefault1 struct. Object Key is the interface type name (e.g. "lan_ports", "wan_ports", ...)
func (ConstDeviceSwitchDefault1) MarshalJSON ¶
func (c ConstDeviceSwitchDefault1) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstDeviceSwitchDefault1. It customizes the JSON marshaling process for ConstDeviceSwitchDefault1 objects.
func (*ConstDeviceSwitchDefault1) UnmarshalJSON ¶
func (c *ConstDeviceSwitchDefault1) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstDeviceSwitchDefault1. It customizes the JSON unmarshaling process for ConstDeviceSwitchDefault1 objects.
type ConstDeviceUnknown ¶
type ConstDeviceUnknown struct {
ApType *string `json:"ap_type,omitempty"`
Description *string `json:"description,omitempty"`
Display *string `json:"display,omitempty"`
HasExtio *bool `json:"has_extio,omitempty"`
HasVble *bool `json:"has_vble,omitempty"`
HasWifiBand24 *bool `json:"has_wifi_band24,omitempty"`
HasWifiBand5 *bool `json:"has_wifi_band5,omitempty"`
Model *string `json:"model,omitempty"`
Unmanaged *bool `json:"unmanaged,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ConstDeviceUnknown represents a ConstDeviceUnknown struct.
func (ConstDeviceUnknown) MarshalJSON ¶
func (c ConstDeviceUnknown) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstDeviceUnknown. It customizes the JSON marshaling process for ConstDeviceUnknown objects.
func (*ConstDeviceUnknown) UnmarshalJSON ¶
func (c *ConstDeviceUnknown) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstDeviceUnknown. It customizes the JSON unmarshaling process for ConstDeviceUnknown objects.
type ConstEvent ¶
type ConstEvent struct {
Description *string `json:"description,omitempty"`
Display string `json:"display"`
Example *interface{} `json:"example,omitempty"`
Key string `json:"key"`
AdditionalProperties map[string]any `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) 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 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]any `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) 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 []ConstInsightMetricsPropertyExample `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, ...)
ReportDuration map[string]ConstInsightMetricsPropertyReportDuration `json:"report_duration,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]any `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) 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. This is Array of a container for any-of cases.
func (*ConstInsightMetricsPropertyExample) AsBoolean ¶
func (c *ConstInsightMetricsPropertyExample) AsBoolean() ( *bool, bool)
func (*ConstInsightMetricsPropertyExample) AsNumber ¶
func (c *ConstInsightMetricsPropertyExample) AsNumber() ( *int, 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 converts the ConstInsightMetricsPropertyExample object to a string representation.
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 ConstInsightMetricsPropertyInterval ¶
type ConstInsightMetricsPropertyInterval struct {
Interval *int `json:"interval,omitempty"`
MaxAge *int `json:"max_age,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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 {
Interval *int `json:"interval,omitempty"`
MaxAge *int `json:"max_age,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( ConstInsightMetricsPropertyScopeEnum_SITE ConstInsightMetricsPropertyScopeEnum = "site" ConstInsightMetricsPropertyScopeEnum_AP ConstInsightMetricsPropertyScopeEnum = "ap" ConstInsightMetricsPropertyScopeEnum_CLIENT ConstInsightMetricsPropertyScopeEnum = "client" ConstInsightMetricsPropertyScopeEnum_ENUMSWITCH ConstInsightMetricsPropertyScopeEnum = "switch" ConstInsightMetricsPropertyScopeEnum_DEVICE ConstInsightMetricsPropertyScopeEnum = "device" ConstInsightMetricsPropertyScopeEnum_MXEDGE ConstInsightMetricsPropertyScopeEnum = "mxedge" )
type ConstLanguage ¶
type ConstLanguage struct {
Display string `json:"display"`
DisplayNative string `json:"display_native"`
Key string `json:"key"`
AdditionalProperties map[string]any `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) 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]any `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) 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 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]any `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) 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]any `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) 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"`
Timestamp *float64 `json:"timestamp,omitempty"`
Type *string `json:"type,omitempty"`
Username *string `json:"username,omitempty"`
Wcid *uuid.UUID `json:"wcid,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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 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]any `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) 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 CountOrgDevicesMxtunnelStatusEnum ¶
type CountOrgDevicesMxtunnelStatusEnum string
CountOrgDevicesMxtunnelStatusEnum is a string enum.
const ( CountOrgDevicesMxtunnelStatusEnum_UP CountOrgDevicesMxtunnelStatusEnum = "up" CountOrgDevicesMxtunnelStatusEnum_DOWN CountOrgDevicesMxtunnelStatusEnum = "down" )
type CountOrgSwitchPortsAuthStateEnum ¶
type CountOrgSwitchPortsAuthStateEnum string
CountOrgSwitchPortsAuthStateEnum is a string enum.
const ( CountOrgSwitchPortsAuthStateEnum_INIT CountOrgSwitchPortsAuthStateEnum = "init" CountOrgSwitchPortsAuthStateEnum_AUTHENTICATED CountOrgSwitchPortsAuthStateEnum = "authenticated" CountOrgSwitchPortsAuthStateEnum_AUTHENTICATING CountOrgSwitchPortsAuthStateEnum = "authenticating" CountOrgSwitchPortsAuthStateEnum_HELD CountOrgSwitchPortsAuthStateEnum = "held" )
type CountOrgSwitchPortsStpRoleEnum ¶
type CountOrgSwitchPortsStpRoleEnum string
CountOrgSwitchPortsStpRoleEnum is a string enum.
const ( CountOrgSwitchPortsStpRoleEnum_DESIGNATED CountOrgSwitchPortsStpRoleEnum = "designated" CountOrgSwitchPortsStpRoleEnum_BACKUP CountOrgSwitchPortsStpRoleEnum = "backup" CountOrgSwitchPortsStpRoleEnum_ALTERNATE CountOrgSwitchPortsStpRoleEnum = "alternate" CountOrgSwitchPortsStpRoleEnum_ROOT CountOrgSwitchPortsStpRoleEnum = "root" CountOrgSwitchPortsStpRoleEnum_ROOTPREVENTED CountOrgSwitchPortsStpRoleEnum = "root-prevented" )
type CountOrgSwitchPortsStpStateEnum ¶
type CountOrgSwitchPortsStpStateEnum string
CountOrgSwitchPortsStpStateEnum is a string enum.
const ( CountOrgSwitchPortsStpStateEnum_FORWARDING CountOrgSwitchPortsStpStateEnum = "forwarding" CountOrgSwitchPortsStpStateEnum_BLOCKING CountOrgSwitchPortsStpStateEnum = "blocking" CountOrgSwitchPortsStpStateEnum_LEARNING CountOrgSwitchPortsStpStateEnum = "learning" CountOrgSwitchPortsStpStateEnum_LISTENING CountOrgSwitchPortsStpStateEnum = "listening" CountOrgSwitchPortsStpStateEnum_DISABLED CountOrgSwitchPortsStpStateEnum = "disabled" )
type CountResult ¶
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) 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 CountSiteCallsDistrinctEnum ¶
type CountSiteCallsDistrinctEnum string
CountSiteCallsDistrinctEnum is a string enum.
const (
CountSiteCallsDistrinctEnum_MAC CountSiteCallsDistrinctEnum = "mac"
)
type CountSiteSwOrGwPortsAuthStateEnum ¶
type CountSiteSwOrGwPortsAuthStateEnum string
CountSiteSwOrGwPortsAuthStateEnum is a string enum.
const ( CountSiteSwOrGwPortsAuthStateEnum_INIT CountSiteSwOrGwPortsAuthStateEnum = "init" CountSiteSwOrGwPortsAuthStateEnum_AUTHENTICATED CountSiteSwOrGwPortsAuthStateEnum = "authenticated" CountSiteSwOrGwPortsAuthStateEnum_AUTHENTICATING CountSiteSwOrGwPortsAuthStateEnum = "authenticating" CountSiteSwOrGwPortsAuthStateEnum_HELD CountSiteSwOrGwPortsAuthStateEnum = "held" )
type CountSiteSwOrGwPortsStpRoleEnum ¶
type CountSiteSwOrGwPortsStpRoleEnum string
CountSiteSwOrGwPortsStpRoleEnum is a string enum.
const ( CountSiteSwOrGwPortsStpRoleEnum_DESIGNATED CountSiteSwOrGwPortsStpRoleEnum = "designated" CountSiteSwOrGwPortsStpRoleEnum_BACKUP CountSiteSwOrGwPortsStpRoleEnum = "backup" CountSiteSwOrGwPortsStpRoleEnum_ALTERNATE CountSiteSwOrGwPortsStpRoleEnum = "alternate" CountSiteSwOrGwPortsStpRoleEnum_ROOT CountSiteSwOrGwPortsStpRoleEnum = "root" CountSiteSwOrGwPortsStpRoleEnum_ROOTPREVENTED CountSiteSwOrGwPortsStpRoleEnum = "root-prevented" )
type CountSiteSwOrGwPortsStpStateEnum ¶
type CountSiteSwOrGwPortsStpStateEnum string
CountSiteSwOrGwPortsStpStateEnum is a string enum.
const ( CountSiteSwOrGwPortsStpStateEnum_FORWARDING CountSiteSwOrGwPortsStpStateEnum = "forwarding" CountSiteSwOrGwPortsStpStateEnum_BLOCKING CountSiteSwOrGwPortsStpStateEnum = "blocking" CountSiteSwOrGwPortsStpStateEnum_LEARNING CountSiteSwOrGwPortsStpStateEnum = "learning" CountSiteSwOrGwPortsStpStateEnum_LISTENING CountSiteSwOrGwPortsStpStateEnum = "listening" CountSiteSwOrGwPortsStpStateEnum_DISABLED CountSiteSwOrGwPortsStpStateEnum = "disabled" )
type CountSiteSwitchPortsAuthStateEnum ¶
type CountSiteSwitchPortsAuthStateEnum string
CountSiteSwitchPortsAuthStateEnum is a string enum.
const ( CountSiteSwitchPortsAuthStateEnum_INIT CountSiteSwitchPortsAuthStateEnum = "init" CountSiteSwitchPortsAuthStateEnum_AUTHENTICATED CountSiteSwitchPortsAuthStateEnum = "authenticated" CountSiteSwitchPortsAuthStateEnum_AUTHENTICATING CountSiteSwitchPortsAuthStateEnum = "authenticating" CountSiteSwitchPortsAuthStateEnum_HELD CountSiteSwitchPortsAuthStateEnum = "held" )
type CountSiteSwitchPortsStpRoleEnum ¶
type CountSiteSwitchPortsStpRoleEnum string
CountSiteSwitchPortsStpRoleEnum is a string enum.
const ( CountSiteSwitchPortsStpRoleEnum_DESIGNATED CountSiteSwitchPortsStpRoleEnum = "designated" CountSiteSwitchPortsStpRoleEnum_BACKUP CountSiteSwitchPortsStpRoleEnum = "backup" CountSiteSwitchPortsStpRoleEnum_ALTERNATE CountSiteSwitchPortsStpRoleEnum = "alternate" CountSiteSwitchPortsStpRoleEnum_ROOT CountSiteSwitchPortsStpRoleEnum = "root" CountSiteSwitchPortsStpRoleEnum_ROOTPREVENTED CountSiteSwitchPortsStpRoleEnum = "root-prevented" )
type CountSiteSwitchPortsStpStateEnum ¶
type CountSiteSwitchPortsStpStateEnum string
CountSiteSwitchPortsStpStateEnum is a string enum.
const ( CountSiteSwitchPortsStpStateEnum_FORWARDING CountSiteSwitchPortsStpStateEnum = "forwarding" CountSiteSwitchPortsStpStateEnum_BLOCKING CountSiteSwitchPortsStpStateEnum = "blocking" CountSiteSwitchPortsStpStateEnum_LEARNING CountSiteSwitchPortsStpStateEnum = "learning" CountSiteSwitchPortsStpStateEnum_LISTENING CountSiteSwitchPortsStpStateEnum = "listening" CountSiteSwitchPortsStpStateEnum_DISABLED CountSiteSwitchPortsStpStateEnum = "disabled" )
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"`
// Percentage of CPU time being used by user processe
User Optional[float64] `json:"user"`
AdditionalProperties map[string]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for CpuStat. It customizes the JSON unmarshaling process for CpuStat objects.
type CreateOrgDeviceProfilesResponse ¶
type CreateOrgDeviceProfilesResponse struct {
// contains filtered or unexported fields
}
CreateOrgDeviceProfilesResponse represents a CreateOrgDeviceProfilesResponse struct. This is a container for any-of cases.
func (*CreateOrgDeviceProfilesResponse) AsDeviceprofileAp ¶
func (c *CreateOrgDeviceProfilesResponse) AsDeviceprofileAp() ( *DeviceprofileAp, bool)
func (*CreateOrgDeviceProfilesResponse) AsDeviceprofileGateway ¶ added in v0.2.8
func (c *CreateOrgDeviceProfilesResponse) AsDeviceprofileGateway() ( *DeviceprofileGateway, bool)
func (CreateOrgDeviceProfilesResponse) MarshalJSON ¶
func (c CreateOrgDeviceProfilesResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CreateOrgDeviceProfilesResponse. It customizes the JSON marshaling process for CreateOrgDeviceProfilesResponse objects.
func (CreateOrgDeviceProfilesResponse) String ¶
func (c CreateOrgDeviceProfilesResponse) String() string
String converts the CreateOrgDeviceProfilesResponse object to a string representation.
func (*CreateOrgDeviceProfilesResponse) UnmarshalJSON ¶
func (c *CreateOrgDeviceProfilesResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CreateOrgDeviceProfilesResponse. It customizes the JSON unmarshaling process for CreateOrgDeviceProfilesResponse objects.
type DayOfWeekEnum ¶
type DayOfWeekEnum string
DayOfWeekEnum is a string enum.
const ( DayOfWeekEnum_ANY DayOfWeekEnum = "any" DayOfWeekEnum_MON DayOfWeekEnum = "mon" DayOfWeekEnum_TUE DayOfWeekEnum = "tue" DayOfWeekEnum_WED DayOfWeekEnum = "wed" DayOfWeekEnum_THU DayOfWeekEnum = "thu" DayOfWeekEnum_FRI DayOfWeekEnum = "fri" DayOfWeekEnum_SAT DayOfWeekEnum = "sat" DayOfWeekEnum_SUN DayOfWeekEnum = "sun" )
type DaysNumber ¶
type DaysNumber struct {
Days *int `json:"days,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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"`
// BLE AP settings
BleConfig *BleConfig `json:"ble_config,omitempty"`
Centrak *ApCentrak `json:"centrak,omitempty"`
ClientBridge *ApClientBridge `json:"client_bridge,omitempty"`
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"`
ForSite *bool `json:"for_site,omitempty"`
// height, in meters, optional
Height *float64 `json:"height,omitempty"`
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"`
// 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"`
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")
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
Type *DeviceTypeApEnum `json:"type,omitempty"`
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"`
// a 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]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for DeviceAp. It customizes the JSON unmarshaling process for DeviceAp 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"`
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"`
ExtraRoutes map[string]GatewayExtraRoute `json:"extra_routes,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
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"`
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]RoutingPolicy `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]TunnelConfigs `json:"tunnel_configs,omitempty"`
TunnelProviderOptions *TunnelProviderOptions `json:"tunnel_provider_options,omitempty"`
// Device Type
Type *DeviceTypeGatewayEnum `json:"type,omitempty"`
// a 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]any `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) 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]any `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) 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 {
CreatedTime *float64 `json:"created_time,omitempty"`
DeviceMac *string `json:"device_mac,omitempty"`
Id *string `json:"id,omitempty"`
Mac *string `json:"mac,omitempty"`
Model *string `json:"model,omitempty"`
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"`
Vendor *string `json:"vendor,omitempty"`
AdditionalProperties map[string]any `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) 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 DeviceOtherStats ¶
type DeviceOtherStats struct {
ConfigStatus *string `json:"config_status,omitempty"`
LastConfig *int `json:"last_config,omitempty"`
LastSeen *int `json:"last_seen,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 *DeviceOtherStatsVendorSpecific `json:"vendor_specific,omitempty"`
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
DeviceOtherStats represents a DeviceOtherStats struct.
func (DeviceOtherStats) MarshalJSON ¶
func (d DeviceOtherStats) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DeviceOtherStats. It customizes the JSON marshaling process for DeviceOtherStats objects.
func (*DeviceOtherStats) UnmarshalJSON ¶
func (d *DeviceOtherStats) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DeviceOtherStats. It customizes the JSON unmarshaling process for DeviceOtherStats objects.
type DeviceOtherStatsVendorSpecific ¶
type DeviceOtherStatsVendorSpecific struct {
Ports map[string]DeviceOtherStatsVendorSpecificPort `json:"ports,omitempty"`
TargetVersion *string `json:"target_version,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
DeviceOtherStatsVendorSpecific represents a DeviceOtherStatsVendorSpecific struct. when `vendor`==`cradlepoint`
func (DeviceOtherStatsVendorSpecific) MarshalJSON ¶
func (d DeviceOtherStatsVendorSpecific) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DeviceOtherStatsVendorSpecific. It customizes the JSON marshaling process for DeviceOtherStatsVendorSpecific objects.
func (*DeviceOtherStatsVendorSpecific) UnmarshalJSON ¶
func (d *DeviceOtherStatsVendorSpecific) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DeviceOtherStatsVendorSpecific. It customizes the JSON unmarshaling process for DeviceOtherStatsVendorSpecific objects.
type DeviceOtherStatsVendorSpecificPort ¶
type DeviceOtherStatsVendorSpecificPort struct {
BytesIn *int `json:"bytes_in,omitempty"`
BytesOut *int `json:"bytes_out,omitempty"`
HealthCategory *string `json:"health_category,omitempty"`
HealthScore *int `json:"health_score,omitempty"`
Id *string `json:"id,omitempty"`
Mode *string `json:"mode,omitempty"`
Model *string `json:"model,omitempty"`
State *string `json:"state,omitempty"`
Type *string `json:"type,omitempty"`
Uptime *float64 `json:"uptime,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
DeviceOtherStatsVendorSpecificPort represents a DeviceOtherStatsVendorSpecificPort struct.
func (DeviceOtherStatsVendorSpecificPort) MarshalJSON ¶
func (d DeviceOtherStatsVendorSpecificPort) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DeviceOtherStatsVendorSpecificPort. It customizes the JSON marshaling process for DeviceOtherStatsVendorSpecificPort objects.
func (*DeviceOtherStatsVendorSpecificPort) UnmarshalJSON ¶
func (d *DeviceOtherStatsVendorSpecificPort) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DeviceOtherStatsVendorSpecificPort. It customizes the JSON unmarshaling process for DeviceOtherStatsVendorSpecificPort objects.
type DeviceStatusEnum ¶
type DeviceStatusEnum string
DeviceStatusEnum is a string enum.
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"`
CreatedTime *float64 `json:"created_time,omitempty"`
DeviceprofileId *uuid.UUID `json:"deviceprofile_id,omitempty"`
DhcpSnooping *DhcpSnooping `json:"dhcp_snooping,omitempty"`
DhcpdConfig *DhcpdConfig `json:"dhcpd_config,omitempty"`
// for a claimed switch, we control the configs by default. This option (disables the behavior)
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"`
ExtraRoutes map[string]ExtraRouteProperties `json:"extra_routes,omitempty"`
// Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64")
ExtraRoutes6 map[string]ExtraRoute6Properties `json:"extra_routes6,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
Image1Url Optional[string] `json:"image1_url"`
Image2Url Optional[string] `json:"image2_url"`
Image3Url Optional[string] `json:"image3_url"`
// Junos IP Config
IpConfig *JunosIpConfig `json:"ip_config,omitempty"`
// device MAC address
Mac *string `json:"mac,omitempty"`
// for an adopted switch, we don’t overwrite their existing configs automatically
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"`
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"`
// - 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 config
OspfConfig *OspfConfig `json:"ospf_config,omitempty"`
// Property key is the 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 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.
PortMirroring map[string]SwitchPortMirroringProperty `json:"port_mirroring,omitempty"`
PortUsages map[string]SwitchPortUsage `json:"port_usages,omitempty"`
// Junos Radius config
RadiusConfig *RadiusConfig `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"`
// 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"`
SwitchMgmt *SwitchMgmt `json:"switch_mgmt,omitempty"`
// Device Type
Type *DeviceTypeSwitchEnum `json:"type,omitempty"`
// whether to use it for snmp / syslog / tacplus / radius
UseRouterIdAsSourceIp *bool `json:"use_router_id_as_source_ip,omitempty"`
// a 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]VrfInstance `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]any `json:"_"`
}
DeviceSwitch represents a DeviceSwitch struct. Switch Configuration. 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
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) 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
const (
DeviceTypeApEnum_AP DeviceTypeApEnum = "ap"
)
type DeviceTypeEnum ¶
type DeviceTypeEnum string
DeviceTypeEnum is a string enum.
const ( DeviceTypeEnum_AP DeviceTypeEnum = "ap" DeviceTypeEnum_ENUMSWITCH DeviceTypeEnum = "switch" DeviceTypeEnum_GATEWAY DeviceTypeEnum = "gateway" )
type DeviceTypeGatewayEnum ¶
type DeviceTypeGatewayEnum string
DeviceTypeGatewayEnum is a string enum. Device Type
const (
DeviceTypeGatewayEnum_GATEWAY DeviceTypeGatewayEnum = "gateway"
)
type DeviceTypeSwitchEnum ¶
type DeviceTypeSwitchEnum string
DeviceTypeSwitchEnum is a string enum. Device Type
const (
DeviceTypeSwitchEnum_ENUMSWITCH DeviceTypeSwitchEnum = "switch"
)
type DeviceTypeWithAllEnum ¶
type DeviceTypeWithAllEnum string
DeviceTypeWithAllEnum is a string enum.
const ( DeviceTypeWithAllEnum_AP DeviceTypeWithAllEnum = "ap" DeviceTypeWithAllEnum_ENUMSWITCH DeviceTypeWithAllEnum = "switch" DeviceTypeWithAllEnum_GATEWAY DeviceTypeWithAllEnum = "gateway" DeviceTypeWithAllEnum_ALL DeviceTypeWithAllEnum = "all" )
type DeviceUpgrade ¶
type DeviceUpgrade struct {
// Reboot device immediately after upgrade is completed (Available on Junos OS devices)
Reboot *bool `json:"reboot,omitempty"`
// reboot start time in epoch
RebootAt *int `json:"reboot_at,omitempty"`
// Perform recovery snapshot after device is rebooted (Available on Junos OS devices)
Snapshot *bool `json:"snapshot,omitempty"`
// firmware download start time in epoch
StartTime *float64 `json:"start_time,omitempty"`
// specific version / `stable`, default is to use the latest
Version string `json:"version"`
AdditionalProperties map[string]any `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) 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 DeviceUpgradeRrmMeshUpgradeEnum ¶
type DeviceUpgradeRrmMeshUpgradeEnum string
DeviceUpgradeRrmMeshUpgradeEnum is a string enum. sequential or parallel (default parallel). Whether to upgrade mesh AP’s parallelly or sequentially at the end of the upgrade
const ( DeviceUpgradeRrmMeshUpgradeEnum_SEQUENTIAL DeviceUpgradeRrmMeshUpgradeEnum = "sequential" DeviceUpgradeRrmMeshUpgradeEnum_PARALLEL DeviceUpgradeRrmMeshUpgradeEnum = "parallel" )
type DeviceUpgradeRrmNodeOrderEnum ¶
type DeviceUpgradeRrmNodeOrderEnum string
DeviceUpgradeRrmNodeOrderEnum is a string enum. Used in rrm to determine whether to start upgrade from fringe or center AP’s
const ( DeviceUpgradeRrmNodeOrderEnum_FRINGETOCENTER DeviceUpgradeRrmNodeOrderEnum = "fringe_to_center" DeviceUpgradeRrmNodeOrderEnum_CENTERTOFRINGE DeviceUpgradeRrmNodeOrderEnum = "center_to_fringe" )
type DeviceUpgradeStatusEnum ¶
type DeviceUpgradeStatusEnum string
DeviceUpgradeStatusEnum is a string enum. status upgrade is in
const ( DeviceUpgradeStatusEnum_DOWNLOADING DeviceUpgradeStatusEnum = "downloading" DeviceUpgradeStatusEnum_COMPLETED DeviceUpgradeStatusEnum = "completed" DeviceUpgradeStatusEnum_CREATED DeviceUpgradeStatusEnum = "created" DeviceUpgradeStatusEnum_DOWNLOADED DeviceUpgradeStatusEnum = "downloaded" DeviceUpgradeStatusEnum_UPGRADING DeviceUpgradeStatusEnum = "upgrading" DeviceUpgradeStatusEnum_CANCELLED DeviceUpgradeStatusEnum = "cancelled" DeviceUpgradeStatusEnum_FAILED DeviceUpgradeStatusEnum = "failed" )
type DeviceUpgradeStrategyEnum ¶
type DeviceUpgradeStrategyEnum string
DeviceUpgradeStrategyEnum is a string enum. `big_bang` (upgrade all at once), `serial` (one at a time), `canary` or `rrm`
const ( DeviceUpgradeStrategyEnum_BIGBANG DeviceUpgradeStrategyEnum = "big_bang" DeviceUpgradeStrategyEnum_CANARY DeviceUpgradeStrategyEnum = "canary" DeviceUpgradeStrategyEnum_SERIAL DeviceUpgradeStrategyEnum = "serial" DeviceUpgradeStrategyEnum_RRM DeviceUpgradeStrategyEnum = "rrm" )
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]any `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) 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 {
// Aeroscout AP settings
Aeroscout *ApAeroscout `json:"aeroscout,omitempty"`
// BLE AP settings
BleConfig *BleConfig `json:"ble_config,omitempty"`
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"`
Id *uuid.UUID `json:"id,omitempty"`
// IoT AP settings
IotConfig *ApIot `json:"iot_config,omitempty"`
// IP AP settings
IpConfig *ApIpConfig `json:"ip_config,omitempty"`
// LED AP settings
Led *ApLed `json:"led,omitempty"`
// Mesh AP settings
Mesh *ApMesh `json:"mesh,omitempty"`
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name Optional[string] `json:"name"`
// 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"`
// whether to enable power out through module port (for APH) or eth1 (for APL/BT11)
PoePassthrough *bool `json:"poe_passthrough,omitempty"`
// Property key is the interface(s) name (e.g. "eth1,eth2")
PortConfig *PortConfig `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
Type *DeviceTypeApEnum `json:"type,omitempty"`
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"`
// a 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"`
// 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"`
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"`
ExtraRoutes map[string]GatewayExtraRoute `json:"extra_routes,omitempty"`
// Gateway matching
GatewayMatching *GatewayMatching `json:"gateway_matching,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"`
Networks []Network `json:"networks,omitempty"`
NtpOverride *bool `json:"ntpOverride,omitempty"`
// out-of-band (vme/em0/fxp0) IP config
OobIpConfig *GatewayOobIpConfig `json:"oob_ip_config,omitempty"`
// Property key is the path name
PathPreferences map[string]GatewayPathPreferences `json:"path_preferences,omitempty"`
// auto assigned if not set
RouterId *string `json:"router_id,omitempty"`
// Property key is the routing policy name
RoutingPolicies map[string]RoutingPolicy `json:"routing_policies,omitempty"`
ServicePolicies []ServicePolicy `json:"service_policies,omitempty"`
// Property key is the tunnel name
TunnelConfigs map[string]TunnelConfigs `json:"tunnel_configs,omitempty"`
TunnelProviderOptions *TunnelProviderOptions `json:"tunnel_provider_options,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
Deviceprofile represents a Deviceprofile struct.
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) 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 Deviceprofile2 ¶
type Deviceprofile2 struct {
// contains filtered or unexported fields
}
Deviceprofile2 represents a Deviceprofile2 struct.
func (*Deviceprofile2) AsDeviceprofileAp ¶
func (d *Deviceprofile2) AsDeviceprofileAp() ( *DeviceprofileAp, bool)
func (*Deviceprofile2) AsDeviceprofileGateway ¶ added in v0.2.8
func (d *Deviceprofile2) AsDeviceprofileGateway() ( *DeviceprofileGateway, bool)
func (Deviceprofile2) MarshalJSON ¶
func (d Deviceprofile2) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for Deviceprofile2. It customizes the JSON marshaling process for Deviceprofile2 objects.
func (Deviceprofile2) String ¶
func (d Deviceprofile2) String() string
String converts the Deviceprofile2 object to a string representation.
func (*Deviceprofile2) UnmarshalJSON ¶
func (d *Deviceprofile2) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for Deviceprofile2. It customizes the JSON unmarshaling process for Deviceprofile2 objects.
type DeviceprofileAp ¶
type DeviceprofileAp struct {
// Aeroscout AP settings
Aeroscout *ApAeroscout `json:"aeroscout,omitempty"`
// BLE AP settings
BleConfig *BleConfig `json:"ble_config,omitempty"`
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"`
Id *uuid.UUID `json:"id,omitempty"`
// IoT AP settings
IotConfig *ApIot `json:"iot_config,omitempty"`
// IP AP settings
IpConfig *ApIpConfig `json:"ip_config,omitempty"`
// LED AP settings
Led *ApLed `json:"led,omitempty"`
// Mesh AP settings
Mesh *ApMesh `json:"mesh,omitempty"`
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"`
// Property key is the interface(s) name (e.g. "eth1,eth2")
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
Type *DeviceTypeApEnum `json:"type,omitempty"`
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"`
// a 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]any `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) 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"`
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"`
ExtraRoutes map[string]GatewayExtraRoute `json:"extra_routes,omitempty"`
// Gateway matching
GatewayMatching *GatewayMatching `json:"gateway_matching,omitempty"`
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"`
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]RoutingPolicy `json:"routing_policies,omitempty"`
ServicePolicies []ServicePolicy `json:"service_policies,omitempty"`
// Property key is the tunnel name
TunnelConfigs map[string]TunnelConfigs `json:"tunnel_configs,omitempty"`
TunnelProviderOptions *TunnelProviderOptions `json:"tunnel_provider_options,omitempty"`
// Device Type
Type *DeviceTypeGatewayEnum `json:"type,omitempty"`
AdditionalProperties map[string]any `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) 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 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]any `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) 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 `true`, disable the DHCP server
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]any `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) 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 DhcpdConfig1 ¶
type DhcpdConfig1 struct {
// if set to `true`, disable the DHCP server
Enabled *bool `json:"enabled,omitempty"`
// if `type`==`local` - optional, if not defined, system one will be used
DnsServers []string `json:"dns_servers,omitempty"`
// if `type`==`local` - optional, if not defined, system one will be used
DnsSuffix []string `json:"dns_suffix,omitempty"`
// Property key is the MAC Address
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 `type`==`local`
IpEnd *string `json:"ip_end,omitempty"`
// if `type6`==`local`
IpEnd6 *string `json:"ip_end6,omitempty"`
// if `type`==`local`
IpStart *string `json:"ip_start,omitempty"`
// if `type6`==`local`
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"`
// 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"`
// DHCP Server (local) or DHCP Relay (relay)
Type *DhcpdConfigTypeEnum `json:"type,omitempty"`
// DHCP Server (local) or DHCP Relay (relay)
Type6 *DhcpdConfigTypeEnum `json:"type6,omitempty"`
// 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
VendorEncapulated map[string]DhcpdConfigVendorOption `json:"vendor_encapulated,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
DhcpdConfig1 represents a DhcpdConfig1 struct.
func (DhcpdConfig1) MarshalJSON ¶
func (d DhcpdConfig1) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DhcpdConfig1. It customizes the JSON marshaling process for DhcpdConfig1 objects.
func (*DhcpdConfig1) UnmarshalJSON ¶
func (d *DhcpdConfig1) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DhcpdConfig1. It customizes the JSON unmarshaling process for DhcpdConfig1 objects.
type DhcpdConfigFixedBinding ¶
type DhcpdConfigFixedBinding struct {
Ip *string `json:"ip,omitempty"`
Name *string `json:"name,omitempty"`
AdditionalProperties map[string]any `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) 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 {
Type *DhcpdConfigOptionTypeEnum `json:"type,omitempty"`
Value *string `json:"value,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( DhcpdConfigOptionTypeEnum_ENUMSTRING DhcpdConfigOptionTypeEnum = "string" DhcpdConfigOptionTypeEnum_BOOLEAN DhcpdConfigOptionTypeEnum = "boolean" DhcpdConfigOptionTypeEnum_IP DhcpdConfigOptionTypeEnum = "ip" DhcpdConfigOptionTypeEnum_HEX DhcpdConfigOptionTypeEnum = "hex" DhcpdConfigOptionTypeEnum_ENUMINT16 DhcpdConfigOptionTypeEnum = "int16" DhcpdConfigOptionTypeEnum_ENUMINT32 DhcpdConfigOptionTypeEnum = "int32" DhcpdConfigOptionTypeEnum_ENUMUINT16 DhcpdConfigOptionTypeEnum = "uint16" DhcpdConfigOptionTypeEnum_ENUMUINT32 DhcpdConfigOptionTypeEnum = "uint32" )
type DhcpdConfigProperty ¶
type DhcpdConfigProperty struct {
// if `type`==`local` - optional, if not defined, system one will be used
DnsServers []string `json:"dns_servers,omitempty"`
// if `type`==`local` - optional, if not defined, system one will be used
DnsSuffix []string `json:"dns_suffix,omitempty"`
// Property key is the MAC Address
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 `type`==`local`
IpEnd *string `json:"ip_end,omitempty"`
// if `type6`==`local`
IpEnd6 *string `json:"ip_end6,omitempty"`
// if `type`==`local`
IpStart *string `json:"ip_start,omitempty"`
// if `type6`==`local`
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"`
// 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"`
// DHCP Server (local) or DHCP Relay (relay)
Type *DhcpdConfigTypeEnum `json:"type,omitempty"`
// DHCP Server (local) or DHCP Relay (relay)
Type6 *DhcpdConfigTypeEnum `json:"type6,omitempty"`
// 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
VendorEncapulated map[string]DhcpdConfigVendorOption `json:"vendor_encapulated,omitempty"`
AdditionalProperties map[string]any `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) 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. DHCP Server (local) or DHCP Relay (relay)
const ( DhcpdConfigTypeEnum_LOCAL DhcpdConfigTypeEnum = "local" DhcpdConfigTypeEnum_RELAY DhcpdConfigTypeEnum = "relay" DhcpdConfigTypeEnum_NONE DhcpdConfigTypeEnum = "none" )
type DhcpdConfigVendorOption ¶
type DhcpdConfigVendorOption struct {
Type *DhcpdConfigVendorOptionTypeEnum `json:"type,omitempty"`
Value *string `json:"value,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( DhcpdConfigVendorOptionTypeEnum_ENUMSTRING DhcpdConfigVendorOptionTypeEnum = "string" DhcpdConfigVendorOptionTypeEnum_BOOLEAN DhcpdConfigVendorOptionTypeEnum = "boolean" DhcpdConfigVendorOptionTypeEnum_IP DhcpdConfigVendorOptionTypeEnum = "ip" DhcpdConfigVendorOptionTypeEnum_HEX DhcpdConfigVendorOptionTypeEnum = "hex" DhcpdConfigVendorOptionTypeEnum_ENUMINT16 DhcpdConfigVendorOptionTypeEnum = "int16" DhcpdConfigVendorOptionTypeEnum_ENUMINT32 DhcpdConfigVendorOptionTypeEnum = "int32" DhcpdConfigVendorOptionTypeEnum_ENUMUINT16 DhcpdConfigVendorOptionTypeEnum = "uint16" DhcpdConfigVendorOptionTypeEnum_ENUMUINT32 DhcpdConfigVendorOptionTypeEnum = "uint32" )
type DhcpdStat ¶
type DhcpdStat struct {
NumIps *int `json:"num_ips,omitempty"`
NumLeased *int `json:"num_leased,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
DhcpdStat represents a DhcpdStat struct. Property key is the network name
func (DhcpdStat) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for DhcpdStat. It customizes the JSON marshaling process for DhcpdStat objects.
func (*DhcpdStat) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for DhcpdStat. It customizes the JSON unmarshaling process for DhcpdStat objects.
type DhcpdStatLan ¶
type DhcpdStatLan struct {
NumIps *int `json:"num_ips,omitempty"`
NumLeased *int `json:"num_leased,omitempty"`
AdditionalProperties map[string]any `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) 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"`
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"`
Timestamp *float64 `json:"timestamp,omitempty"`
Vendor *string `json:"vendor,omitempty"`
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]any `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) 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"`
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]any `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) 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"`
Timestamp *int `json:"timestamp,omitempty"`
Type *string `json:"type,omitempty"`
Vendor *string `json:"vendor,omitempty"`
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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.
const ( DiscoveredSwitchMetricTypeEnum_INACTIVEWIREDVLANS DiscoveredSwitchMetricTypeEnum = "inactive_wired_vlans" DiscoveredSwitchMetricTypeEnum_SWITCHAPAFFINITY DiscoveredSwitchMetricTypeEnum = "switch_ap_affinity" DiscoveredSwitchMetricTypeEnum_POECOMPLIANCE DiscoveredSwitchMetricTypeEnum = "poe_compliance" DiscoveredSwitchMetricTypeEnum_VERSIONCOMPLIANCE DiscoveredSwitchMetricTypeEnum = "version_compliance" )
type DiscoveredSwitchesMetricScopeEnum ¶
type DiscoveredSwitchesMetricScopeEnum string
DiscoveredSwitchesMetricScopeEnum is a string enum.
const ( DiscoveredSwitchesMetricScopeEnum_SITE DiscoveredSwitchesMetricScopeEnum = "site" DiscoveredSwitchesMetricScopeEnum_ENUMSWITCH DiscoveredSwitchesMetricScopeEnum = "switch" )
type Dot11BandEnum ¶
type Dot11BandEnum string
Dot11BandEnum is a string enum.
const ( Dot11BandEnum_ENUM24 Dot11BandEnum = "24" Dot11BandEnum_ENUM5 Dot11BandEnum = "5" Dot11BandEnum_ENUM6 Dot11BandEnum = "6" )
type Dot11Bandwidth5Enum ¶
type Dot11Bandwidth5Enum int
Dot11Bandwidth5Enum is a int enum. channel width for the 5GHz band
const ( 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
const ( Dot11Bandwidth6Enum_ENUM20 Dot11Bandwidth6Enum = 20 Dot11Bandwidth6Enum_ENUM40 Dot11Bandwidth6Enum = 40 Dot11Bandwidth6Enum_ENUM80 Dot11Bandwidth6Enum = 80 Dot11Bandwidth6Enum_ENUM160 Dot11Bandwidth6Enum = 160 )
type Dot11Bandwidth24Enum ¶
type Dot11Bandwidth24Enum int
Dot11Bandwidth24Enum is a int enum. channel width for the 2.4GHz band
const ( Dot11Bandwidth24Enum_ENUM20 Dot11Bandwidth24Enum = 20 Dot11Bandwidth24Enum_ENUM40 Dot11Bandwidth24Enum = 40 )
type Dot11BandwidthEnum ¶
type Dot11BandwidthEnum int
Dot11BandwidthEnum is a int enum. channel width for the band * `80` is only applicable for band_5 and band_6 * `160` is only for band_6
const ( 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.
const ( Dot11ProtoEnum_A Dot11ProtoEnum = "a" Dot11ProtoEnum_B Dot11ProtoEnum = "b" Dot11ProtoEnum_G Dot11ProtoEnum = "g" Dot11ProtoEnum_N Dot11ProtoEnum = "n" Dot11ProtoEnum_AC Dot11ProtoEnum = "ac" Dot11ProtoEnum_AX Dot11ProtoEnum = "ax" )
type DswitchesComplianceMajorVersion ¶
type DswitchesComplianceMajorVersion struct {
MajorCount float64 `json:"major_count"`
Model string `json:"model"`
SystemNames []string `json:"system_names,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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.
const ( DynamicPskSourceEnum_RADIUS DynamicPskSourceEnum = "radius" DynamicPskSourceEnum_CLOUDPSKS DynamicPskSourceEnum = "cloud_psks" )
type EmailString ¶
type EmailString struct {
Email string `json:"email"`
AdditionalProperties map[string]any `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) 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"`
// timestamp of the event in nsec
Timestamp float64 `json:"timestamp"`
Type *EventFastroamTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( EventFastroamTypeEnum_SUCCESS EventFastroamTypeEnum = "success" EventFastroamTypeEnum_FAIL EventFastroamTypeEnum = "fail" EventFastroamTypeEnum_NONE EventFastroamTypeEnum = "none" EventFastroamTypeEnum_POOR EventFastroamTypeEnum = "poor" EventFastroamTypeEnum_PINGPONG EventFastroamTypeEnum = "pingpong" EventFastroamTypeEnum_SLOW EventFastroamTypeEnum = "slow" )
type EventNacClient ¶
type EventNacClient struct {
Ap *string `json:"ap,omitempty"`
// authentication type, e.g. “eap-tls”, “eap-ttls”, “eap-teap”, “mab”, “psk”, “device-auth”
AuthType *string `json:"auth_type,omitempty"`
Bssid *string `json:"bssid,omitempty"`
DeviceMac *string `json:"device_mac,omitempty"`
// NAC Policy Dry Run Rule ID, if present and matched
DryrunNacruleId *uuid.UUID `json:"dryrun_nacrule_id,omitempty"`
DryrunNacruleMatched *bool `json:"dryrun_nacrule_matched,omitempty"`
IdpId *uuid.UUID `json:"idp_id,omitempty"`
IdpRole []string `json:"idp_role,omitempty"`
// 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"`
NacruleMatched *bool `json:"nacrule_matched,omitempty"`
NasVendor *string `json:"nas_vendor,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
PortId *string `json:"port_id,omitempty"`
// Type of client i.e wired, wireless
PortType *string `json:"port_type,omitempty"`
RandomMac *bool `json:"random_mac,omitempty"`
RespAttrs []string `json:"resp_attrs,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Ssid *string `json:"ssid,omitempty"`
Timestamp *float64 `json:"timestamp,omitempty"`
// event type, e.g. NAC_CLIENT_PERMIT
Type *string `json:"type,omitempty"`
// labels derived from usermac entry
UsermacLabels []string `json:"usermac_labels,omitempty"`
// Username presented by the client
Username *string `json:"username,omitempty"`
// Vlan ID
Vlan *string `json:"vlan,omitempty"`
// Vlan source, e.g. "nactag", "usermac"
VlanSource *string `json:"vlan_source,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
EventNacClient represents a EventNacClient struct.
func (EventNacClient) MarshalJSON ¶
func (e EventNacClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EventNacClient. It customizes the JSON marshaling process for EventNacClient objects.
func (*EventNacClient) UnmarshalJSON ¶
func (e *EventNacClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EventNacClient. It customizes the JSON unmarshaling process for EventNacClient objects.
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"`
Timestamp *float64 `json:"timestamp,omitempty"`
Type *string `json:"type,omitempty"`
Vendor *string `json:"vendor,omitempty"`
AdditionalProperties map[string]any `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) 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 EventsClient ¶
type EventsClient struct {
Ap *string `json:"ap,omitempty"`
Band Dot11BandEnum `json:"band"`
Bssid *string `json:"bssid,omitempty"`
Channel *int `json:"channel,omitempty"`
Proto Dot11ProtoEnum `json:"proto"`
Ssid *string `json:"ssid,omitempty"`
Text *string `json:"text,omitempty"`
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]any `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) 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]any `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) 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 EventsDeviceAp ¶
type EventsDeviceAp struct {
Ap *string `json:"ap,omitempty"`
Apfw *string `json:"apfw,omitempty"`
Count *int `json:"count,omitempty"`
DeviceType *string `json:"device_type,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"`
Text *string `json:"text,omitempty"`
Timestamp float64 `json:"timestamp"`
Type *string `json:"type,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
EventsDeviceAp represents a EventsDeviceAp struct. ap events
func (EventsDeviceAp) MarshalJSON ¶
func (e EventsDeviceAp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EventsDeviceAp. It customizes the JSON marshaling process for EventsDeviceAp objects.
func (*EventsDeviceAp) UnmarshalJSON ¶
func (e *EventsDeviceAp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EventsDeviceAp. It customizes the JSON unmarshaling process for EventsDeviceAp 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"`
Timestamp float64 `json:"timestamp"`
AdditionalProperties map[string]any `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) 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"`
Timestamp float64 `json:"timestamp"`
Type string `json:"type"`
AdditionalProperties map[string]any `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) 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"`
Role *EvpnConfigRoleEnum `json:"role,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( EvpnConfigRoleEnum_CORE EvpnConfigRoleEnum = "core" EvpnConfigRoleEnum_DISTRIBUTION EvpnConfigRoleEnum = "distribution" EvpnConfigRoleEnum_ACCESS EvpnConfigRoleEnum = "access" )
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"`
Overlay *EvpnOptionsOverlay `json:"overlay,omitempty"`
// by default, JUNOS uses 00-00-5e-00-01-01 as the virtual-gateway-address's v4_mac
// if enabled, 00-00-5e-00-XX-YY will be used (where XX=vlan_id/256, YY=vlan_id%256)
PerVlanVgaV4Mac *bool `json:"per_vlan_vga_v4_mac,omitempty"`
// optional, where virtual-gateway should reside
RoutedAt *EvpnOptionsRoutedAtEnum `json:"routed_at,omitempty"`
Underlay *EvpnOptionsUnderlay `json:"underlay,omitempty"`
// optional, for EX9200 only to seggregate virtual-switches
VsInstances map[string]EvpnOptionsVsInstance `json:"vs_instances,omitempty"`
AdditionalProperties map[string]any `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) 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 {
// optional, these are defaults
As *int `json:"as,omitempty"`
AdditionalProperties map[string]any `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) 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
const ( EvpnOptionsRoutedAtEnum_EDGE EvpnOptionsRoutedAtEnum = "edge" EvpnOptionsRoutedAtEnum_CORE EvpnOptionsRoutedAtEnum = "core" EvpnOptionsRoutedAtEnum_DISTRIBUTION EvpnOptionsRoutedAtEnum = "distribution" )
type EvpnOptionsUnderlay ¶
type EvpnOptionsUnderlay struct {
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]any `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) 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]any `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) 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 {
// Switch settings
Config *ConfigSwitch `json:"config,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Overwrite *bool `json:"overwrite,omitempty"`
// Property key is the pod number
PodNames map[string]string `json:"pod_names,omitempty"`
Switches []EvpnTopologySwitch `json:"switches"`
AdditionalProperties map[string]any `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) 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 EvpnTopologySwitch ¶
type EvpnTopologySwitch struct {
// Switch Configuration.
// 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
Config *DeviceSwitch `json:"config,omitempty"`
DeviceprofileId *uuid.UUID `json:"deviceprofile_id,omitempty"`
Downlinks []string `json:"downlinks,omitempty"`
Esilaglinks []string `json:"esilaglinks,omitempty"`
EvpnId *int `json:"evpn_id,omitempty"`
Mac *string `json:"mac,omitempty"`
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
Role *EvpnTopologySwitchRoleEnum `json:"role,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"`
// if not specified in the request, suggested ones will be used
Uplinks []string `json:"uplinks,omitempty"`
AdditionalProperties map[string]any `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) 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 EvpnTopologySwitchRoleEnum ¶
type EvpnTopologySwitchRoleEnum string
EvpnTopologySwitchRoleEnum is a string enum. use `role`==`none` to remove a switch from the topology
const ( EvpnTopologySwitchRoleEnum_CORE EvpnTopologySwitchRoleEnum = "core" EvpnTopologySwitchRoleEnum_DISTRIBUTION EvpnTopologySwitchRoleEnum = "distribution" EvpnTopologySwitchRoleEnum_ACCESS EvpnTopologySwitchRoleEnum = "access" EvpnTopologySwitchRoleEnum_COLLAPSEDCORE EvpnTopologySwitchRoleEnum = "collapsed-core" EvpnTopologySwitchRoleEnum_NONE EvpnTopologySwitchRoleEnum = "none" EvpnTopologySwitchRoleEnum_ESILAGACCESS EvpnTopologySwitchRoleEnum = "esilag-access" )
type ExtraRoute6Properties ¶
type ExtraRoute6Properties struct {
// this takes precedence
Discard *bool `json:"discard,omitempty"`
Metric Optional[int] `json:"metric"`
NextQualified map[string]ExtraRoute6PropertiesNextQualifiedProperties `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]any `json:"_"`
}
ExtraRoute6Properties represents a ExtraRoute6Properties struct.
func (ExtraRoute6Properties) MarshalJSON ¶
func (e ExtraRoute6Properties) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ExtraRoute6Properties. It customizes the JSON marshaling process for ExtraRoute6Properties objects.
func (*ExtraRoute6Properties) UnmarshalJSON ¶
func (e *ExtraRoute6Properties) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ExtraRoute6Properties. It customizes the JSON unmarshaling process for ExtraRoute6Properties objects.
type ExtraRoute6PropertiesNextQualifiedProperties ¶
type ExtraRoute6PropertiesNextQualifiedProperties struct {
Metric Optional[int] `json:"metric"`
Preference Optional[int] `json:"preference"`
AdditionalProperties map[string]any `json:"_"`
}
ExtraRoute6PropertiesNextQualifiedProperties represents a ExtraRoute6PropertiesNextQualifiedProperties struct.
func (ExtraRoute6PropertiesNextQualifiedProperties) MarshalJSON ¶
func (e ExtraRoute6PropertiesNextQualifiedProperties) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ExtraRoute6PropertiesNextQualifiedProperties. It customizes the JSON marshaling process for ExtraRoute6PropertiesNextQualifiedProperties objects.
func (*ExtraRoute6PropertiesNextQualifiedProperties) UnmarshalJSON ¶
func (e *ExtraRoute6PropertiesNextQualifiedProperties) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ExtraRoute6PropertiesNextQualifiedProperties. It customizes the JSON unmarshaling process for ExtraRoute6PropertiesNextQualifiedProperties objects.
type ExtraRouteProperties ¶
type ExtraRouteProperties struct {
// this takes precedence
Discard *bool `json:"discard,omitempty"`
Metric Optional[int] `json:"metric"`
NextQualified map[string]ExtraRoutePropertiesNextQualifiedProperties `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]any `json:"_"`
}
ExtraRouteProperties represents a ExtraRouteProperties struct.
func (ExtraRouteProperties) MarshalJSON ¶
func (e ExtraRouteProperties) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ExtraRouteProperties. It customizes the JSON marshaling process for ExtraRouteProperties objects.
func (*ExtraRouteProperties) UnmarshalJSON ¶
func (e *ExtraRouteProperties) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ExtraRouteProperties. It customizes the JSON unmarshaling process for ExtraRouteProperties objects.
type ExtraRoutePropertiesNextQualifiedProperties ¶
type ExtraRoutePropertiesNextQualifiedProperties struct {
Metric Optional[int] `json:"metric"`
Preference Optional[int] `json:"preference"`
AdditionalProperties map[string]any `json:"_"`
}
ExtraRoutePropertiesNextQualifiedProperties represents a ExtraRoutePropertiesNextQualifiedProperties struct.
func (ExtraRoutePropertiesNextQualifiedProperties) MarshalJSON ¶
func (e ExtraRoutePropertiesNextQualifiedProperties) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ExtraRoutePropertiesNextQualifiedProperties. It customizes the JSON marshaling process for ExtraRoutePropertiesNextQualifiedProperties objects.
func (*ExtraRoutePropertiesNextQualifiedProperties) UnmarshalJSON ¶
func (e *ExtraRoutePropertiesNextQualifiedProperties) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ExtraRoutePropertiesNextQualifiedProperties. It customizes the JSON unmarshaling process for ExtraRoutePropertiesNextQualifiedProperties objects.
type ExtraRoutes ¶
type ExtraRoutes struct {
Via *string `json:"via,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ExtraRoutes represents a ExtraRoutes struct.
func (ExtraRoutes) MarshalJSON ¶
func (e ExtraRoutes) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ExtraRoutes. It customizes the JSON marshaling process for ExtraRoutes objects.
func (*ExtraRoutes) UnmarshalJSON ¶
func (e *ExtraRoutes) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ExtraRoutes. It customizes the JSON unmarshaling process for ExtraRoutes objects.
type FastRoamResultEnum ¶
type FastRoamResultEnum string
FastRoamResultEnum is a string enum.
const ( FastRoamResultEnum_SUCCESS FastRoamResultEnum = "success" FastRoamResultEnum_FAIL FastRoamResultEnum = "fail" FastRoamResultEnum_NONE FastRoamResultEnum = "none" )
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 FwupdateStat ¶
type FwupdateStat struct {
Progress Optional[int] `json:"progress"`
Status Optional[string] `json:"status"`
StatusId Optional[int] `json:"status_id"`
Timestamp Optional[float64] `json:"timestamp"`
WillRetry Optional[bool] `json:"will_retry"`
AdditionalProperties map[string]any `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) 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 GatewayCluster ¶
type GatewayCluster struct {
Nodes []GatewayClusterNode `json:"nodes"`
AdditionalProperties map[string]any `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) 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 {
// when replacing a noce, either mac has to remain the same as existing cluster
Mac string `json:"mac"`
AdditionalProperties map[string]any `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) 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 GatewayClusterSwap ¶
type GatewayClusterSwap struct {
// when `op` ==`replacement_nodeX`, new node1
// 's MAC, the device has to be standalone and assigned to the same site
Mac *string `json:"mac,omitempty"`
Op GatewayClusterSwapOpEnum `json:"op"`
AdditionalProperties map[string]any `json:"_"`
}
GatewayClusterSwap represents a GatewayClusterSwap struct.
func (GatewayClusterSwap) MarshalJSON ¶
func (g GatewayClusterSwap) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayClusterSwap. It customizes the JSON marshaling process for GatewayClusterSwap objects.
func (*GatewayClusterSwap) UnmarshalJSON ¶
func (g *GatewayClusterSwap) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayClusterSwap. It customizes the JSON unmarshaling process for GatewayClusterSwap objects.
type GatewayClusterSwapOpEnum ¶
type GatewayClusterSwapOpEnum string
GatewayClusterSwapOpEnum is a string enum.
const ( GatewayClusterSwapOpEnum_SWAP GatewayClusterSwapOpEnum = "swap" GatewayClusterSwapOpEnum_REPLACENODE1 GatewayClusterSwapOpEnum = "replace_node1" )
type GatewayComplianceMajorVersionProperties ¶
type GatewayComplianceMajorVersionProperties struct {
MajorCount *int `json:"major_count,omitempty"`
MajorVersion *string `json:"major_version,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `json:"_"`
}
GatewayExtraRoute represents a GatewayExtraRoute struct. Property key is the destination CIDR (e.g. "10.0.0.0/8")
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) 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"`
Netmask *string `json:"netmask,omitempty"`
// optional list of secondary IPs in CIDR format
SecondaryIps []string `json:"secondary_ips,omitempty"`
Type *IpTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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"`
PortConfig map[string]JunosPortConfig `json:"port_config,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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 GatewayOobIpConfig ¶
type GatewayOobIpConfig struct {
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"`
// for HA Cluster, node1 can have different IP Config
Node1 *GatewayOobIpConfigNode1 `json:"node1,omitempty"`
Type *IpTypeEnum `json:"type,omitempty"`
// f 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]any `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) 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 {
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"`
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"`
AdditionalProperties map[string]any `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) 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"`
Strategy *GatewayPathStrategyEnum `json:"strategy,omitempty"`
AdditionalProperties map[string]any `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) 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"`
// if `type`==`local`, if a different gateway is desired
GatewayIp *string `json:"gateway_ip,omitempty"`
// when `type`==`vpn`, if this vpn path can be used for internet
InternetAccess *bool `json:"internet_access,omitempty"`
Name *string `json:"name,omitempty"`
// if `type`==`local`
Networks []string `json:"networks,omitempty"`
// if `type`==`local`, if destination IP is to be replaced
TargetIps []string `json:"target_ips,omitempty"`
Type *GatewayPathTypeEnum `json:"type,omitempty"`
// Spoke's outgoing wan
WanName *string `json:"wan_name,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( GatewayPathStrategyEnum_ORDERED GatewayPathStrategyEnum = "ordered" GatewayPathStrategyEnum_WEIGHTED GatewayPathStrategyEnum = "weighted" GatewayPathStrategyEnum_ECMP GatewayPathStrategyEnum = "ecmp" )
type GatewayPathTypeEnum ¶
type GatewayPathTypeEnum string
GatewayPathTypeEnum is a string enum.
const ( GatewayPathTypeEnum_LOCAL GatewayPathTypeEnum = "local" GatewayPathTypeEnum_WAN GatewayPathTypeEnum = "wan" GatewayPathTypeEnum_VPN GatewayPathTypeEnum = "vpn" GatewayPathTypeEnum_TUNNEL GatewayPathTypeEnum = "tunnel" )
type GatewayPortConfig ¶
type GatewayPortConfig struct {
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`==`lte`
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"`
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`
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`
Networks []string `json:"networks,omitempty"`
// for Q-in-Q
OuterVlanId *int `json:"outer_vlan_id,omitempty"`
PoeDisabled *bool `json:"poe_disabled,omitempty"`
// if `usage`==`lan`
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
RethIdx *int `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
Usage GatewayPortUsageEnum `json:"usage"`
// if WAN interface is on a VLAN
VlanId *int `json:"vlan_id,omitempty"`
VpnPaths map[string]GatewayPortVpnPath `json:"vpn_paths,omitempty"`
// when `wan_type`==`broadband`
WanArpPolicer *GatewayPortWanArpPolicerEnum `json:"wan_arp_policer,omitempty"`
// optional, if spoke should reach this port by a different IP
WanExtIp *string `json:"wan_ext_ip,omitempty"`
// optional, by default, source-NAT is performed on all WAN Ports using the interface-ip
WanSourceNat *GatewayPortWanSourceNat `json:"wan_source_nat,omitempty"`
// if `usage`==`wan`
WanType *GatewayPortWanTypeEnum `json:"wan_type,omitempty"`
AdditionalProperties map[string]any `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) 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)
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"`
// if `type`==`pppoe`
PoserPassword *string `json:"poser_password,omitempty"`
// if `type`==`pppoe`
PppoeAuth *GatewayWanPpoeAuthEnum `json:"pppoe_auth,omitempty"`
// if `type`==`pppoe`
PppoeUsername *string `json:"pppoe_username,omitempty"`
Type *GatewayWanTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]any `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) 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 GatewayPortDslTypeEnum ¶
type GatewayPortDslTypeEnum string
GatewayPortDslTypeEnum is a string enum. if `wan_type`==`lte`
const ( GatewayPortDslTypeEnum_VDSL GatewayPortDslTypeEnum = "vdsl" GatewayPortDslTypeEnum_ADSL GatewayPortDslTypeEnum = "adsl" )
type GatewayPortDuplexEnum ¶
type GatewayPortDuplexEnum string
GatewayPortDuplexEnum is a string enum.
const ( GatewayPortDuplexEnum_HALF GatewayPortDuplexEnum = "half" GatewayPortDuplexEnum_FULL GatewayPortDuplexEnum = "full" GatewayPortDuplexEnum_AUTO GatewayPortDuplexEnum = "auto" )
type GatewayPortLteAuthEnum ¶
type GatewayPortLteAuthEnum string
GatewayPortLteAuthEnum is a string enum. if `wan_type`==`lte`
const ( GatewayPortLteAuthEnum_NONE GatewayPortLteAuthEnum = "none" GatewayPortLteAuthEnum_CHAP GatewayPortLteAuthEnum = "chap" GatewayPortLteAuthEnum_PAP GatewayPortLteAuthEnum = "pap" )
type GatewayPortMirroring ¶
type GatewayPortMirroring struct {
PortMirror *GatewayPortMirroringPortMirror `json:"port_mirror,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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 GatewayPortUsage1Enum ¶
type GatewayPortUsage1Enum string
GatewayPortUsage1Enum is a string enum. port usage name. If EVPN is used, use `evpn_uplink`or `evpn_downlink`
const ( GatewayPortUsage1Enum_LAN GatewayPortUsage1Enum = "lan" GatewayPortUsage1Enum_WAN GatewayPortUsage1Enum = "wan" GatewayPortUsage1Enum_HADATA GatewayPortUsage1Enum = "ha_data" GatewayPortUsage1Enum_HACONTROL GatewayPortUsage1Enum = "ha_control" )
type GatewayPortUsageEnum ¶
type GatewayPortUsageEnum string
GatewayPortUsageEnum is a string enum. port usage name
const ( GatewayPortUsageEnum_LAN GatewayPortUsageEnum = "lan" GatewayPortUsageEnum_WAN GatewayPortUsageEnum = "wan" GatewayPortUsageEnum_HADATA GatewayPortUsageEnum = "ha_data" GatewayPortUsageEnum_HACONTROL GatewayPortUsageEnum = "ha_control" )
type GatewayPortVpnPath ¶
type GatewayPortVpnPath struct {
BfdProfile *GatewayPortVpnPathBfdProfileEnum `json:"bfd_profile,omitempty"`
// whether to use tunnel mode. SSR only
BfdUseTunnelMode *bool `json:"bfd_use_tunnel_mode,omitempty"`
// for a given VPN, when `path_selection.strategy`==`simple`, the preference for a path (lower is preferred)
Preference *int `json:"preference,omitempty"`
Role *GatewayPortVpnPathRoleEnum `json:"role,omitempty"`
TrafficShaping *GatewayTrafficShaping `json:"traffic_shaping,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( GatewayPortVpnPathBfdProfileEnum_LTE GatewayPortVpnPathBfdProfileEnum = "lte" GatewayPortVpnPathBfdProfileEnum_BROADBAND GatewayPortVpnPathBfdProfileEnum = "broadband" )
type GatewayPortVpnPathRoleEnum ¶
type GatewayPortVpnPathRoleEnum string
GatewayPortVpnPathRoleEnum is a string enum.
const ( GatewayPortVpnPathRoleEnum_SPOKE GatewayPortVpnPathRoleEnum = "spoke" GatewayPortVpnPathRoleEnum_HUB GatewayPortVpnPathRoleEnum = "hub" )
type GatewayPortWanArpPolicerEnum ¶
type GatewayPortWanArpPolicerEnum string
GatewayPortWanArpPolicerEnum is a string enum. when `wan_type`==`broadband`
const ( GatewayPortWanArpPolicerEnum_RECOMMENDED GatewayPortWanArpPolicerEnum = "recommended" GatewayPortWanArpPolicerEnum_ENUMDEFAULT GatewayPortWanArpPolicerEnum = "default" GatewayPortWanArpPolicerEnum_MAX GatewayPortWanArpPolicerEnum = "max" )
type GatewayPortWanSourceNat ¶
type GatewayPortWanSourceNat struct {
// or to disable the source-nat
Disabled *bool `json:"disabled,omitempty"`
// if alternative nat_pool is desired
NatPool *string `json:"nat_pool,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
GatewayPortWanSourceNat represents a GatewayPortWanSourceNat struct. 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) 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. if `usage`==`wan`
const ( GatewayPortWanTypeEnum_BROADBAND GatewayPortWanTypeEnum = "broadband" GatewayPortWanTypeEnum_DSL GatewayPortWanTypeEnum = "dsl" GatewayPortWanTypeEnum_LTE GatewayPortWanTypeEnum = "lte" )
type GatewaySearch ¶
type GatewaySearch struct {
ExtIp *string `json:"ext_ip,omitempty"`
Hostname []string `json:"hostname,omitempty"`
Ip *string `json:"ip,omitempty"`
LastHostname *string `json:"last_hostname,omitempty"`
Mac *string `json:"mac,omitempty"`
Model *string `json:"model,omitempty"`
NumMembers *int `json:"num_members,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Timestamp *float64 `json:"timestamp,omitempty"`
Type *string `json:"type,omitempty"`
Uptime *int `json:"uptime,omitempty"`
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]any `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) 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 GatewayStats ¶
type GatewayStats struct {
ApRedundancy *ApRedundancy `json:"ap_redundancy,omitempty"`
ArpTableStats *ArpTableStats `json:"arp_table_stats,omitempty"`
CertExpiry *int64 `json:"cert_expiry,omitempty"`
ClusterConfig *ClusterConfigStats `json:"cluster_config,omitempty"`
ClusterStat *GatewayStatsCluster `json:"cluster_stat,omitempty"`
ConductorName *string `json:"conductor_name,omitempty"`
ConfigStatus *string `json:"config_status,omitempty"`
Cpu2Stat *CpuStat `json:"cpu2_stat,omitempty"`
CpuStat *CpuStat `json:"cpu_stat,omitempty"`
CreatedTime *float64 `json:"created_time,omitempty"`
DeviceprofileId Optional[uuid.UUID] `json:"deviceprofile_id"`
// 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"`
// serial
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 *float64 `json:"last_seen,omitempty"`
// device mac
Mac string `json:"mac"`
// serial
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"`
ModifiedTime *float64 `json:"modified_time,omitempty"`
Module2Stat []ModuleStatItem `json:"module2_stat,omitempty"`
ModuleStat []ModuleStatItem `json:"module_stat,omitempty"`
// device name if configured
Name *string `json:"name,omitempty"`
NodeName *string `json:"node_name,omitempty"`
// serial
OrgId *uuid.UUID `json:"org_id,omitempty"`
RouteSummaryStats *RouteSummaryStats `json:"route_summary_stats,omitempty"`
// device name if configured
RouterName *string `json:"router_name,omitempty"`
// serial
Serial *string `json:"serial,omitempty"`
Service2Stat map[string]ServiceStatProperty `json:"service2_stat,omitempty"`
ServiceStat map[string]ServiceStatProperty `json:"service_stat,omitempty"`
ServiceStatus *GatewayStatsServiceStatus `json:"service_status,omitempty"`
// serial
SiteId *uuid.UUID `json:"site_id,omitempty"`
Spu2Stat []GatewayStatsSpuItem `json:"spu2_stat,omitempty"`
SpuStat []GatewayStatsSpuItem `json:"spu_stat,omitempty"`
Status *string `json:"status,omitempty"`
Type *string `json:"type,omitempty"`
Uptime *float64 `json:"uptime,omitempty"`
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
GatewayStats represents a GatewayStats struct. Gateway statistics
func (GatewayStats) MarshalJSON ¶
func (g GatewayStats) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayStats. It customizes the JSON marshaling process for GatewayStats objects.
func (*GatewayStats) UnmarshalJSON ¶
func (g *GatewayStats) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayStats. It customizes the JSON unmarshaling process for GatewayStats objects.
type GatewayStatsCluster ¶
type GatewayStatsCluster struct {
State Optional[string] `json:"state"`
AdditionalProperties map[string]any `json:"_"`
}
GatewayStatsCluster represents a GatewayStatsCluster struct.
func (GatewayStatsCluster) MarshalJSON ¶
func (g GatewayStatsCluster) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayStatsCluster. It customizes the JSON marshaling process for GatewayStatsCluster objects.
func (*GatewayStatsCluster) UnmarshalJSON ¶
func (g *GatewayStatsCluster) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayStatsCluster. It customizes the JSON unmarshaling process for GatewayStatsCluster objects.
type GatewayStatsServiceStatus ¶
type GatewayStatsServiceStatus 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]any `json:"_"`
}
GatewayStatsServiceStatus represents a GatewayStatsServiceStatus struct.
func (GatewayStatsServiceStatus) MarshalJSON ¶
func (g GatewayStatsServiceStatus) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayStatsServiceStatus. It customizes the JSON marshaling process for GatewayStatsServiceStatus objects.
func (*GatewayStatsServiceStatus) UnmarshalJSON ¶
func (g *GatewayStatsServiceStatus) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayStatsServiceStatus. It customizes the JSON unmarshaling process for GatewayStatsServiceStatus objects.
type GatewayStatsSpuItem ¶
type GatewayStatsSpuItem 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"`
SpuValidSession *int `json:"spu_valid_session,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
GatewayStatsSpuItem represents a GatewayStatsSpuItem struct.
func (GatewayStatsSpuItem) MarshalJSON ¶
func (g GatewayStatsSpuItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayStatsSpuItem. It customizes the JSON marshaling process for GatewayStatsSpuItem objects.
func (*GatewayStatsSpuItem) UnmarshalJSON ¶
func (g *GatewayStatsSpuItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayStatsSpuItem. It customizes the JSON unmarshaling process for GatewayStatsSpuItem 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"`
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"`
ExtraRoutes map[string]GatewayExtraRoute `json:"extra_routes,omitempty"`
// Gateway matching
GatewayMatching *GatewayMatching `json:"gateway_matching,omitempty"`
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"`
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]RoutingPolicy `json:"routing_policies,omitempty"`
ServicePolicies []ServicePolicy `json:"service_policies,omitempty"`
// Property key is the tunnel name
TunnelConfigs map[string]TunnelConfigs `json:"tunnel_configs,omitempty"`
TunnelProviderOptions *TunnelProviderOptions `json:"tunnel_provider_options,omitempty"`
Type *GatewayTemplateTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]any `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) 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 GatewayTemplateProbeTypeEnum ¶
type GatewayTemplateProbeTypeEnum string
GatewayTemplateProbeTypeEnum is a string enum.
const ( GatewayTemplateProbeTypeEnum_ICMP GatewayTemplateProbeTypeEnum = "icmp" GatewayTemplateProbeTypeEnum_HTTP GatewayTemplateProbeTypeEnum = "http" )
type GatewayTemplateTunnelIkeDhGroupEnum ¶
type GatewayTemplateTunnelIkeDhGroupEnum string
GatewayTemplateTunnelIkeDhGroupEnum is a string 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 ( GatewayTemplateTunnelIkeDhGroupEnum_ENUM1 GatewayTemplateTunnelIkeDhGroupEnum = "1" GatewayTemplateTunnelIkeDhGroupEnum_ENUM2 GatewayTemplateTunnelIkeDhGroupEnum = "2" GatewayTemplateTunnelIkeDhGroupEnum_ENUM5 GatewayTemplateTunnelIkeDhGroupEnum = "5" GatewayTemplateTunnelIkeDhGroupEnum_ENUM14 GatewayTemplateTunnelIkeDhGroupEnum = "14" GatewayTemplateTunnelIkeDhGroupEnum_ENUM15 GatewayTemplateTunnelIkeDhGroupEnum = "15" GatewayTemplateTunnelIkeDhGroupEnum_ENUM16 GatewayTemplateTunnelIkeDhGroupEnum = "16" GatewayTemplateTunnelIkeDhGroupEnum_ENUM19 GatewayTemplateTunnelIkeDhGroupEnum = "19" GatewayTemplateTunnelIkeDhGroupEnum_ENUM20 GatewayTemplateTunnelIkeDhGroupEnum = "20" GatewayTemplateTunnelIkeDhGroupEnum_ENUM21 GatewayTemplateTunnelIkeDhGroupEnum = "21" GatewayTemplateTunnelIkeDhGroupEnum_ENUM24 GatewayTemplateTunnelIkeDhGroupEnum = "24" )
type GatewayTemplateTunnelIkeModeEnum ¶
type GatewayTemplateTunnelIkeModeEnum string
GatewayTemplateTunnelIkeModeEnum is a string enum. Only if: * `provider`== `custom-ipsec`
const ( GatewayTemplateTunnelIkeModeEnum_MAIN GatewayTemplateTunnelIkeModeEnum = "main" GatewayTemplateTunnelIkeModeEnum_AGGRESSIVE GatewayTemplateTunnelIkeModeEnum = "aggressive" )
type GatewayTemplateTunnelIkeProposal ¶
type GatewayTemplateTunnelIkeProposal struct {
AuthAlgo *TunnelConfigsAuthAlgoEnum `json:"auth_algo,omitempty"`
// * 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 *GatewayTemplateTunnelIkeDhGroupEnum `json:"dh_group,omitempty"`
EncAlgo Optional[TunnelConfigsEncAlgoEnum] `json:"enc_algo"`
AdditionalProperties map[string]any `json:"_"`
}
GatewayTemplateTunnelIkeProposal represents a GatewayTemplateTunnelIkeProposal struct.
func (GatewayTemplateTunnelIkeProposal) MarshalJSON ¶
func (g GatewayTemplateTunnelIkeProposal) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayTemplateTunnelIkeProposal. It customizes the JSON marshaling process for GatewayTemplateTunnelIkeProposal objects.
func (*GatewayTemplateTunnelIkeProposal) UnmarshalJSON ¶
func (g *GatewayTemplateTunnelIkeProposal) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayTemplateTunnelIkeProposal. It customizes the JSON unmarshaling process for GatewayTemplateTunnelIkeProposal objects.
type GatewayTemplateTunnelIpsecProposal ¶
type GatewayTemplateTunnelIpsecProposal struct {
AuthAlgo *TunnelConfigsAuthAlgoEnum `json:"auth_algo,omitempty"`
// Only if:
// * `provider`== `custom-ipsec`
// Values:
// * 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 *TunnelConfigsDhGroupEnum `json:"dh_group,omitempty"`
EncAlgo Optional[TunnelConfigsEncAlgoEnum] `json:"enc_algo"`
AdditionalProperties map[string]any `json:"_"`
}
GatewayTemplateTunnelIpsecProposal represents a GatewayTemplateTunnelIpsecProposal struct.
func (GatewayTemplateTunnelIpsecProposal) MarshalJSON ¶
func (g GatewayTemplateTunnelIpsecProposal) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayTemplateTunnelIpsecProposal. It customizes the JSON marshaling process for GatewayTemplateTunnelIpsecProposal objects.
func (*GatewayTemplateTunnelIpsecProposal) UnmarshalJSON ¶
func (g *GatewayTemplateTunnelIpsecProposal) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayTemplateTunnelIpsecProposal. It customizes the JSON unmarshaling process for GatewayTemplateTunnelIpsecProposal objects.
type GatewayTemplateTunnelModeEnum ¶
type GatewayTemplateTunnelModeEnum string
GatewayTemplateTunnelModeEnum is a string enum.
const ( GatewayTemplateTunnelModeEnum_ACTIVESTANDBY GatewayTemplateTunnelModeEnum = "active-standby" GatewayTemplateTunnelModeEnum_ACTIVEACTIVE GatewayTemplateTunnelModeEnum = "active-active" )
type GatewayTemplateTunnelNode ¶
type GatewayTemplateTunnelNode struct {
Hosts []string `json:"hosts,omitempty"`
// Only if:
// * `provider`== `zscaler-gre`
// * `provider`== `custom-gre`
InternalIps []string `json:"internal_ips,omitempty"`
ProbeIps []string `json:"probe_ips,omitempty"`
// Only if:
// * `provider`== `custom-ipsec`
RemoteIds []string `json:"remote_ids,omitempty"`
WanNames []string `json:"wan_names,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
GatewayTemplateTunnelNode represents a GatewayTemplateTunnelNode struct.
func (GatewayTemplateTunnelNode) MarshalJSON ¶
func (g GatewayTemplateTunnelNode) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayTemplateTunnelNode. It customizes the JSON marshaling process for GatewayTemplateTunnelNode objects.
func (*GatewayTemplateTunnelNode) UnmarshalJSON ¶
func (g *GatewayTemplateTunnelNode) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayTemplateTunnelNode. It customizes the JSON unmarshaling process for GatewayTemplateTunnelNode objects.
type GatewayTemplateTunnelProbe ¶
type GatewayTemplateTunnelProbe 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"`
Type *GatewayTemplateProbeTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
GatewayTemplateTunnelProbe represents a GatewayTemplateTunnelProbe struct. Only if: * `provider`== `custom-ipsec`
func (GatewayTemplateTunnelProbe) MarshalJSON ¶
func (g GatewayTemplateTunnelProbe) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayTemplateTunnelProbe. It customizes the JSON marshaling process for GatewayTemplateTunnelProbe objects.
func (*GatewayTemplateTunnelProbe) UnmarshalJSON ¶
func (g *GatewayTemplateTunnelProbe) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayTemplateTunnelProbe. It customizes the JSON unmarshaling process for GatewayTemplateTunnelProbe objects.
type GatewayTemplateTunnelProtocolEnum ¶
type GatewayTemplateTunnelProtocolEnum string
GatewayTemplateTunnelProtocolEnum is a string enum. Only if: * `provider`== `custom-ipsec`
const ( GatewayTemplateTunnelProtocolEnum_IPSEC GatewayTemplateTunnelProtocolEnum = "ipsec" GatewayTemplateTunnelProtocolEnum_GRE GatewayTemplateTunnelProtocolEnum = "gre" )
type GatewayTemplateTunnelVersionEnum ¶
type GatewayTemplateTunnelVersionEnum string
GatewayTemplateTunnelVersionEnum is a string enum. Only if: * `provider`== `custom-gre` * `provider`== `custom-ipsec`
const ( GatewayTemplateTunnelVersionEnum_ENUM1 GatewayTemplateTunnelVersionEnum = "1" GatewayTemplateTunnelVersionEnum_ENUM2 GatewayTemplateTunnelVersionEnum = "2" )
type GatewayTemplateTypeEnum ¶
type GatewayTemplateTypeEnum string
GatewayTemplateTypeEnum is a string enum.
const ( GatewayTemplateTypeEnum_STANDALONE GatewayTemplateTypeEnum = "standalone" GatewayTemplateTypeEnum_SPOKE GatewayTemplateTypeEnum = "spoke" )
type GatewayTrafficShaping ¶
type GatewayTrafficShaping struct {
// percentages for differet 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"`
AdditionalProperties map[string]any `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) 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 GatewayWanPpoeAuthEnum ¶
type GatewayWanPpoeAuthEnum string
GatewayWanPpoeAuthEnum is a string enum. if `type`==`pppoe`
const ( GatewayWanPpoeAuthEnum_NONE GatewayWanPpoeAuthEnum = "none" GatewayWanPpoeAuthEnum_CHAP GatewayWanPpoeAuthEnum = "chap" GatewayWanPpoeAuthEnum_PAP GatewayWanPpoeAuthEnum = "pap" )
type GatewayWanTypeEnum ¶
type GatewayWanTypeEnum string
GatewayWanTypeEnum is a string enum.
const ( GatewayWanTypeEnum_DHCP GatewayWanTypeEnum = "dhcp" GatewayWanTypeEnum_STATIC GatewayWanTypeEnum = "static" GatewayWanTypeEnum_PPPOE GatewayWanTypeEnum = "pppoe" )
type GetOrgDeviceProfileResponse ¶
type GetOrgDeviceProfileResponse struct {
// contains filtered or unexported fields
}
GetOrgDeviceProfileResponse represents a GetOrgDeviceProfileResponse struct. This is a container for any-of cases.
func (*GetOrgDeviceProfileResponse) AsDeviceprofileAp ¶
func (g *GetOrgDeviceProfileResponse) AsDeviceprofileAp() ( *DeviceprofileAp, bool)
func (*GetOrgDeviceProfileResponse) AsDeviceprofileGateway ¶ added in v0.2.8
func (g *GetOrgDeviceProfileResponse) AsDeviceprofileGateway() ( *DeviceprofileGateway, bool)
func (GetOrgDeviceProfileResponse) MarshalJSON ¶
func (g GetOrgDeviceProfileResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GetOrgDeviceProfileResponse. It customizes the JSON marshaling process for GetOrgDeviceProfileResponse objects.
func (GetOrgDeviceProfileResponse) String ¶
func (g GetOrgDeviceProfileResponse) String() string
String converts the GetOrgDeviceProfileResponse object to a string representation.
func (*GetOrgDeviceProfileResponse) UnmarshalJSON ¶
func (g *GetOrgDeviceProfileResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GetOrgDeviceProfileResponse. It customizes the JSON unmarshaling process for GetOrgDeviceProfileResponse objects.
type GetOrgMxedgeUpgradeInfoChannelEnum ¶
type GetOrgMxedgeUpgradeInfoChannelEnum string
GetOrgMxedgeUpgradeInfoChannelEnum is a string enum.
const ( GetOrgMxedgeUpgradeInfoChannelEnum_STABLE GetOrgMxedgeUpgradeInfoChannelEnum = "stable" GetOrgMxedgeUpgradeInfoChannelEnum_BETA GetOrgMxedgeUpgradeInfoChannelEnum = "beta" GetOrgMxedgeUpgradeInfoChannelEnum_ALPHA GetOrgMxedgeUpgradeInfoChannelEnum = "alpha" )
type GetOrgSitesSleResponse ¶
type GetOrgSitesSleResponse struct {
// contains filtered or unexported fields
}
GetOrgSitesSleResponse represents a GetOrgSitesSleResponse struct. This is a container for any-of cases.
func (*GetOrgSitesSleResponse) AsOrgSiteSleWifi ¶
func (g *GetOrgSitesSleResponse) AsOrgSiteSleWifi() ( *OrgSiteSleWifi, bool)
func (*GetOrgSitesSleResponse) AsOrgSiteWanWifi ¶
func (g *GetOrgSitesSleResponse) AsOrgSiteWanWifi() ( *OrgSiteWanWifi, bool)
func (*GetOrgSitesSleResponse) AsOrgSiteWiredWifi ¶
func (g *GetOrgSitesSleResponse) AsOrgSiteWiredWifi() ( *OrgSiteWiredWifi, bool)
func (GetOrgSitesSleResponse) MarshalJSON ¶
func (g GetOrgSitesSleResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GetOrgSitesSleResponse. It customizes the JSON marshaling process for GetOrgSitesSleResponse objects.
func (GetOrgSitesSleResponse) String ¶
func (g GetOrgSitesSleResponse) String() string
String converts the GetOrgSitesSleResponse object to a string representation.
func (*GetOrgSitesSleResponse) UnmarshalJSON ¶
func (g *GetOrgSitesSleResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GetOrgSitesSleResponse. It customizes the JSON unmarshaling process for GetOrgSitesSleResponse objects.
type GetSiteDeviceResponse ¶
type GetSiteDeviceResponse struct {
// contains filtered or unexported fields
}
GetSiteDeviceResponse represents a GetSiteDeviceResponse struct. This is a container for one-of cases.
func (*GetSiteDeviceResponse) AsDeviceAp ¶
func (g *GetSiteDeviceResponse) AsDeviceAp() ( *DeviceAp, bool)
func (*GetSiteDeviceResponse) AsDeviceGateway ¶
func (g *GetSiteDeviceResponse) AsDeviceGateway() ( *DeviceGateway, bool)
func (*GetSiteDeviceResponse) AsDeviceSwitch ¶
func (g *GetSiteDeviceResponse) AsDeviceSwitch() ( *DeviceSwitch, bool)
func (GetSiteDeviceResponse) MarshalJSON ¶
func (g GetSiteDeviceResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GetSiteDeviceResponse. It customizes the JSON marshaling process for GetSiteDeviceResponse objects.
func (GetSiteDeviceResponse) String ¶
func (g GetSiteDeviceResponse) String() string
String converts the GetSiteDeviceResponse object to a string representation.
func (*GetSiteDeviceResponse) UnmarshalJSON ¶
func (g *GetSiteDeviceResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GetSiteDeviceResponse. It customizes the JSON unmarshaling process for GetSiteDeviceResponse objects.
type GetSiteDeviceStatsResponse ¶
type GetSiteDeviceStatsResponse struct {
// contains filtered or unexported fields
}
GetSiteDeviceStatsResponse represents a GetSiteDeviceStatsResponse struct. This is a container for any-of cases.
func (*GetSiteDeviceStatsResponse) AsApStats ¶
func (g *GetSiteDeviceStatsResponse) AsApStats() ( *ApStats, bool)
func (*GetSiteDeviceStatsResponse) AsGatewayStats ¶
func (g *GetSiteDeviceStatsResponse) AsGatewayStats() ( *GatewayStats, bool)
func (*GetSiteDeviceStatsResponse) AsSwitchStats ¶
func (g *GetSiteDeviceStatsResponse) AsSwitchStats() ( *SwitchStats, bool)
func (GetSiteDeviceStatsResponse) MarshalJSON ¶
func (g GetSiteDeviceStatsResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GetSiteDeviceStatsResponse. It customizes the JSON marshaling process for GetSiteDeviceStatsResponse objects.
func (GetSiteDeviceStatsResponse) String ¶
func (g GetSiteDeviceStatsResponse) String() string
String converts the GetSiteDeviceStatsResponse object to a string representation.
func (*GetSiteDeviceStatsResponse) UnmarshalJSON ¶
func (g *GetSiteDeviceStatsResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GetSiteDeviceStatsResponse. It customizes the JSON unmarshaling process for GetSiteDeviceStatsResponse objects.
type Guest ¶
type Guest struct {
// 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
Mac *string `json:"mac,omitempty"`
// minutes, the maximum is 259200 (180 days)
Minutes *int `json:"minutes,omitempty"`
// optional, the info provided by user
Name *string `json:"name,omitempty"`
Ssid *string `json:"ssid,omitempty"`
WlanId *uuid.UUID `json:"wlan_id,omitempty"`
AdditionalProperties map[string]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Guest. It customizes the JSON unmarshaling process for Guest objects.
type HaClusterConfig ¶
type HaClusterConfig struct {
// if the device is claimed
DisableAutoConfig *bool `json:"disable_auto_config,omitempty"`
// if the device is adopted
Managed *bool `json:"managed,omitempty"`
Nodes []HaClusterConfigNode `json:"nodes,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `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) 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
Node *HaClusterNodeEnum `json:"node,omitempty"`
AdditionalProperties map[string]any `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) 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
const ( HaClusterNodeEnum_NODE0 HaClusterNodeEnum = "node0" HaClusterNodeEnum_NODE1 HaClusterNodeEnum = "node1" )
type Hours ¶
type Hours struct {
Fri *string `json:"fri,omitempty"`
Mon *string `json:"mon,omitempty"`
Sat *string `json:"sat,omitempty"`
Sun *string `json:"sun,omitempty"`
Thu *string `json:"thu,omitempty"`
Tue *string `json:"tue,omitempty"`
Wed *string `json:"wed,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
Hours represents a Hours struct. hours of operation filter, the available days (mon, tue, wed, thu, fri, sat, sun). **Note**: If the dow is not defined then it’s treated as 00:00-23:59.
func (Hours) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Hours. It customizes the JSON marshaling process for Hours objects.
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"`
// `strict` (default) / `standard` / or keys from from idp_profiles
Profile *string `json:"profile,omitempty"`
AdditionalProperties map[string]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for IdpConfig. It customizes the JSON unmarshaling process for IdpConfig objects.
type IdpProfile ¶
type IdpProfile struct {
BaseProfile *IdpProfileBaseProfileEnum `json:"base_profile,omitempty"`
CreatedTime *float64 `json:"created_time,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
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]any `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) 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. - alert (default) - drop: siliently dropping packets - close: notify client/server to close connection
const ( IdpProfileActionEnum_ALERT IdpProfileActionEnum = "alert" IdpProfileActionEnum_DROP IdpProfileActionEnum = "drop" IdpProfileActionEnum_CLOSE IdpProfileActionEnum = "close" )
type IdpProfileBaseProfileEnum ¶
type IdpProfileBaseProfileEnum string
IdpProfileBaseProfileEnum is a string enum.
const ( IdpProfileBaseProfileEnum_CRITICAL IdpProfileBaseProfileEnum = "critical" IdpProfileBaseProfileEnum_STRICT IdpProfileBaseProfileEnum = "strict" IdpProfileBaseProfileEnum_STANDARD IdpProfileBaseProfileEnum = "standard" )
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]any `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) 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.
const ( IdpProfileMatchingSeverityValueEnum_CRITICAL IdpProfileMatchingSeverityValueEnum = "critical" IdpProfileMatchingSeverityValueEnum_MAJOR IdpProfileMatchingSeverityValueEnum = "major" IdpProfileMatchingSeverityValueEnum_MINOR IdpProfileMatchingSeverityValueEnum = "minor" IdpProfileMatchingSeverityValueEnum_INFO IdpProfileMatchingSeverityValueEnum = "info" )
type IdpProfileOverwrite ¶
type IdpProfileOverwrite struct {
// - alert (default)
// - drop: siliently 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]any `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) 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 IfStat ¶
type IfStat 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"`
RxBytes *int `json:"rx_bytes,omitempty"`
RxPkts *int `json:"rx_pkts,omitempty"`
ServpInfo *IfStatPropertyServpInfo `json:"servp_info,omitempty"`
TxBytes *int `json:"tx_bytes,omitempty"`
TxPkts *int `json:"tx_pkts,omitempty"`
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]any `json:"_"`
}
IfStat represents a IfStat struct. Property key is the interface name
func (IfStat) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for IfStat. It customizes the JSON marshaling process for IfStat objects.
func (*IfStat) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for IfStat. It customizes the JSON unmarshaling process for IfStat objects.
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"`
RxBytes *int `json:"rx_bytes,omitempty"`
RxPkts *int `json:"rx_pkts,omitempty"`
ServpInfo *IfStatPropertyServpInfo `json:"servp_info,omitempty"`
TxBytes *int `json:"tx_bytes,omitempty"`
TxPkts *int `json:"tx_pkts,omitempty"`
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]any `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) 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]any `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) 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 describing your upload
Json *string `json:"json,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( ImportSiteAssetsUpsertEnum_TRUE ImportSiteAssetsUpsertEnum = "True" ImportSiteAssetsUpsertEnum_FALSE ImportSiteAssetsUpsertEnum = "False" )
type ImportSiteDevicesResponse ¶
type ImportSiteDevicesResponse struct {
// contains filtered or unexported fields
}
ImportSiteDevicesResponse represents a ImportSiteDevicesResponse struct. This is Array of a container for any-of cases.
func (*ImportSiteDevicesResponse) AsDeviceAp ¶
func (i *ImportSiteDevicesResponse) AsDeviceAp() ( *DeviceAp, bool)
func (*ImportSiteDevicesResponse) AsDeviceGateway ¶
func (i *ImportSiteDevicesResponse) AsDeviceGateway() ( *DeviceGateway, bool)
func (*ImportSiteDevicesResponse) AsDeviceSwitch ¶
func (i *ImportSiteDevicesResponse) AsDeviceSwitch() ( *DeviceSwitch, bool)
func (ImportSiteDevicesResponse) MarshalJSON ¶
func (i ImportSiteDevicesResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ImportSiteDevicesResponse. It customizes the JSON marshaling process for ImportSiteDevicesResponse objects.
func (ImportSiteDevicesResponse) String ¶
func (i ImportSiteDevicesResponse) String() string
String converts the ImportSiteDevicesResponse object to a string representation.
func (*ImportSiteDevicesResponse) UnmarshalJSON ¶
func (i *ImportSiteDevicesResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ImportSiteDevicesResponse. It customizes the JSON unmarshaling process for ImportSiteDevicesResponse objects.
type InsightMetrics ¶
type InsightMetrics struct {
End int `json:"end"`
Interval int `json:"interval"`
// results depends on the `metric`
Results []interface{} `json:"results"`
Start int `json:"start"`
AdditionalProperties map[string]any `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) 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 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]any `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) 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]any `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) 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"`
LastSeen *float64 `json:"last_seen,omitempty"`
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]any `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) 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]any `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) 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"`
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]any `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) 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 {
Id *uuid.UUID `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
AdditionalProperties map[string]any `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) 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"`
// whether the device is connected
Connected *bool `json:"connected,omitempty"`
// inventory created time, 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"`
// device id
Id *string `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"`
// inventory last modified 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"`
Type *DeviceTypeEnum `json:"type,omitempty"`
// only if `type`==`switch`, MAC Address of the Virtual Chassis
VcMac *string `json:"vc_mac,omitempty"`
AdditionalProperties map[string]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Inventory. It customizes the JSON unmarshaling process for Inventory objects.
type InventoryUpdate ¶
type InventoryUpdate struct {
// if `op`==`assign`, a **cloud-ready** switch/gateway will be managed/configured by Mist by default, this disabled the behavior
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, this enables the behavior
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"`
// * if `op`== `upgrade_to_mist`: Upgrade to mist-managed
// * if `op`== `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.
// * if `op`== `assign`: Assign inventory to a site
// * if `op`== `unassign`: Unassign inventory from a site
// * if `op`== `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]any `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) 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. * if `op`== `upgrade_to_mist`: Upgrade to mist-managed * if `op`== `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. * if `op`== `assign`: Assign inventory to a site * if `op`== `unassign`: Unassign inventory from a site * if `op`== `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_UNASSIGN InventoryUpdateOperationEnum = "unassign" InventoryUpdateOperationEnum_DELETE InventoryUpdateOperationEnum = "delete" InventoryUpdateOperationEnum_UPGRADETOMIST InventoryUpdateOperationEnum = "upgrade_to_mist" InventoryUpdateOperationEnum_DOWNGRADETOJSI InventoryUpdateOperationEnum = "downgrade_to_jsi" )
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]any `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) 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.
const ( IpType6Enum_DISABLED IpType6Enum = "disabled" IpType6Enum_STATIC IpType6Enum = "static" IpType6Enum_DHCP IpType6Enum = "dhcp" IpType6Enum_AUTOCONF IpType6Enum = "autoconf" )
type IpTypeEnum ¶
type IpTypeEnum string
IpTypeEnum is a string enum.
const ( IpTypeEnum_STATIC IpTypeEnum = "static" IpTypeEnum_DHCP IpTypeEnum = "dhcp" )
type JseDevice ¶
type JseDevice struct {
// when available
ExtIp *string `json:"ext_ip,omitempty"`
LastSeen *float64 `json:"last_seen,omitempty"`
Mac *string `json:"mac,omitempty"`
Model *string `json:"model,omitempty"`
Serial *string `json:"serial,omitempty"`
AdditionalProperties map[string]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for JseDevice. It customizes the JSON unmarshaling process for JseDevice objects.
type JseInventoryItem ¶
type JseInventoryItem struct {
ContractEndTime *int `json:"contract_end_time,omitempty"`
ContractId *string `json:"contract_id,omitempty"`
ContractSku *string `json:"contract_sku,omitempty"`
ContractStartTime *int `json:"contract_start_time,omitempty"`
// Contract type (Maintenance / Subscription / Premium / Gov AdvCare / Gov TAC / High Sec / AdvCare / Gov Premium)
ContractType *string `json:"contract_type,omitempty"`
// po number associated with this SKU
CustomerPo *string `json:"customer_po,omitempty"`
// distributor name
Distributor *string `json:"distributor,omitempty"`
// end of life time
EolTime *int `json:"eol_time,omitempty"`
// end of support time
EosTime *int `json:"eos_time,omitempty"`
// address where the device is installed. It is a combination of address , region , country , zip
InstalledAddress *string `json:"installed_address,omitempty"`
// model of the install base inventory
Model *string `json:"model,omitempty"`
// order ID associated with this SKU
OrderId *string `json:"order_id,omitempty"`
// reseller name
Reseller *string `json:"reseller,omitempty"`
// serial Number of the inventory
Serial *string `json:"serial,omitempty"`
// Shipped date
ShippedTime *float64 `json:"shipped_time,omitempty"`
// serviceable device stock
Sku *string `json:"sku,omitempty"`
Type *DeviceTypeEnum `json:"type,omitempty"`
WarrantyEndTime *int `json:"warranty_end_time,omitempty"`
WarrantyStartTime *int `json:"warranty_start_time,omitempty"`
WarrantyType *string `json:"warranty_type,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
JseInventoryItem represents a JseInventoryItem struct.
func (JseInventoryItem) MarshalJSON ¶
func (j JseInventoryItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for JseInventoryItem. It customizes the JSON marshaling process for JseInventoryItem objects.
func (*JseInventoryItem) UnmarshalJSON ¶
func (j *JseInventoryItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for JseInventoryItem. It customizes the JSON unmarshaling process for JseInventoryItem objects.
type JuniperAccount ¶
type JuniperAccount struct {
LinkedBy *string `json:"linked_by,omitempty"`
Name *string `json:"name,omitempty"`
AdditionalProperties map[string]any `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) 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 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"`
// the 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"`
Type *IpTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]any `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) 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 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"`
Type *IpTypeEnum `json:"type,omitempty"`
Type6 *IpType6Enum `json:"type6,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
JunosOtherIpConfig represents a JunosOtherIpConfig struct. optional, if it's required to have switch's L3 presense 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) 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"`
// if want 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"`
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"`
// prevent helpdesk to override the port config
NoLocalOverwrite *bool `json:"no_local_overwrite,omitempty"`
PoeDisabled *bool `json:"poe_disabled,omitempty"`
Speed *JunosPortConfigSpeedEnum `json:"speed,omitempty"`
// port usage name.
// If EVPN is used, use `evpn_uplink`or `evpn_downlink`
Usage string `json:"usage"`
AdditionalProperties map[string]any `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) 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.
const ( JunosPortConfigDuplexEnum_AUTO JunosPortConfigDuplexEnum = "auto" JunosPortConfigDuplexEnum_FULL JunosPortConfigDuplexEnum = "full" JunosPortConfigDuplexEnum_HALF JunosPortConfigDuplexEnum = "half" )
type JunosPortConfigSpeedEnum ¶
type JunosPortConfigSpeedEnum string
JunosPortConfigSpeedEnum is a string enum.
const ( JunosPortConfigSpeedEnum_AUTO JunosPortConfigSpeedEnum = "auto" JunosPortConfigSpeedEnum_ENUM10M JunosPortConfigSpeedEnum = "10m" JunosPortConfigSpeedEnum_ENUM100M JunosPortConfigSpeedEnum = "100m" JunosPortConfigSpeedEnum_ENUM1G JunosPortConfigSpeedEnum = "1g" JunosPortConfigSpeedEnum_ENUM25G JunosPortConfigSpeedEnum = "2.5g" JunosPortConfigSpeedEnum_ENUM5G JunosPortConfigSpeedEnum = "5g" )
type L2TpStateEnum ¶
type L2TpStateEnum string
L2TpStateEnum is a string enum.
const ( L2TpStateEnum_IDLE L2TpStateEnum = "idle" L2TpStateEnum_WAITCTRLREPLY L2TpStateEnum = "wait-ctrl-reply" L2TpStateEnum_WAITCTRLCONN L2TpStateEnum = "wait-ctrl-conn" L2TpStateEnum_ESTABLISHED L2TpStateEnum = "established" L2TpStateEnum_ESTABLISHEDWITHSESSION L2TpStateEnum = "established_with_session" )
type LastTrouble ¶
type LastTrouble struct {
// Code definitions list at /api/v1/consts/ap_led_status
Code *string `json:"code,omitempty"`
Timestamp *int `json:"timestamp,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `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) 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]any `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) 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"`
Licenses []LicenseSub `json:"licenses,omitempty"`
// Property key is license type (e.g. SUB-MAN) and Property value is the number of licenses consumed.
Summary map[string]int `json:"summary,omitempty"`
AdditionalProperties map[string]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for License. It customizes the JSON unmarshaling process for License objects.
type LicenseAmendment ¶
type LicenseAmendment struct {
CreatedTime *float64 `json:"created_time,omitempty"`
EndTime *int `json:"end_time,omitempty"`
Id *string `json:"id,omitempty"`
ModifiedTime *float64 `json:"modified_time,omitempty"`
Quantity *int `json:"quantity,omitempty"`
StartTime *int `json:"start_time,omitempty"`
SubscriptionId *string `json:"subscription_id,omitempty"`
Type *LicenseTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]any `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) 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 {
CreatedTime *float64 `json:"created_time,omitempty"`
// end date of the license term
EndTime *int `json:"end_time,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
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 *LicenseTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]any `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) 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 LicenseTypeEnum ¶
type LicenseTypeEnum string
LicenseTypeEnum is a string enum.
const ( LicenseTypeEnum_SUBMAN LicenseTypeEnum = "SUB-MAN" LicenseTypeEnum_SUBAST LicenseTypeEnum = "SUB-AST" LicenseTypeEnum_SUBVNA LicenseTypeEnum = "SUB-VNA" LicenseTypeEnum_SUBDATA LicenseTypeEnum = "SUB-DATA" LicenseTypeEnum_SUBENG LicenseTypeEnum = "SUB-ENG" LicenseTypeEnum_SUBPMA LicenseTypeEnum = "SUB-PMA" LicenseTypeEnum_SUBEX12 LicenseTypeEnum = "SUB-EX12" LicenseTypeEnum_SUBEX24 LicenseTypeEnum = "SUB-EX24" LicenseTypeEnum_SUBEX48 LicenseTypeEnum = "SUB-EX48" LicenseTypeEnum_SUBSVNA LicenseTypeEnum = "SUB-SVNA" LicenseTypeEnum_SUBME LicenseTypeEnum = "SUB-ME" LicenseTypeEnum_SUBWAN1 LicenseTypeEnum = "SUB-WAN1" LicenseTypeEnum_SUBWAN2 LicenseTypeEnum = "SUB-WAN2" LicenseTypeEnum_SUBWVNA1 LicenseTypeEnum = "SUB-WVNA1" LicenseTypeEnum_SUBWVNA2 LicenseTypeEnum = "SUB-WVNA2" LicenseTypeEnum_SUBSRX1 LicenseTypeEnum = "SUB-SRX1" LicenseTypeEnum_SUBSRX2 LicenseTypeEnum = "SUB-SRX2" )
type LicenseUsageOrg ¶
type LicenseUsageOrg struct {
ForSite *bool `json:"for_site,omitempty"`
// 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"`
// subscriptions and their quantities. Property key is the service name (e.g. "SUB-MAN")
Usages map[string]int `json:"usages"`
AdditionalProperties map[string]any `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) 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]any `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) 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 ListDeviceModelsResponse ¶
type ListDeviceModelsResponse struct {
// contains filtered or unexported fields
}
ListDeviceModelsResponse represents a ListDeviceModelsResponse struct. This is Array of a container for any-of cases.
func (*ListDeviceModelsResponse) AsConstDeviceAp ¶
func (l *ListDeviceModelsResponse) AsConstDeviceAp() ( *ConstDeviceAp, bool)
func (*ListDeviceModelsResponse) AsConstDeviceGateway ¶
func (l *ListDeviceModelsResponse) AsConstDeviceGateway() ( *ConstDeviceGateway, bool)
func (*ListDeviceModelsResponse) AsConstDeviceSwitch ¶
func (l *ListDeviceModelsResponse) AsConstDeviceSwitch() ( *ConstDeviceSwitch, bool)
func (*ListDeviceModelsResponse) AsConstDeviceUnknown ¶
func (l *ListDeviceModelsResponse) AsConstDeviceUnknown() ( *ConstDeviceUnknown, bool)
func (ListDeviceModelsResponse) MarshalJSON ¶
func (l ListDeviceModelsResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ListDeviceModelsResponse. It customizes the JSON marshaling process for ListDeviceModelsResponse objects.
func (ListDeviceModelsResponse) String ¶
func (l ListDeviceModelsResponse) String() string
String converts the ListDeviceModelsResponse object to a string representation.
func (*ListDeviceModelsResponse) UnmarshalJSON ¶
func (l *ListDeviceModelsResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ListDeviceModelsResponse. It customizes the JSON unmarshaling process for ListDeviceModelsResponse objects.
type ListMspLogsSortEnum ¶
type ListMspLogsSortEnum string
ListMspLogsSortEnum is a string enum.
const ( ListMspLogsSortEnum_TIMESTAMP ListMspLogsSortEnum = "timestamp" ListMspLogsSortEnum_ENUMTIMESTAMP ListMspLogsSortEnum = "-timestamp" ListMspLogsSortEnum_SITEID ListMspLogsSortEnum = "site_id" ListMspLogsSortEnum_ADMINID ListMspLogsSortEnum = "admin_id" )
type ListOrgDeviceProfilesResponse ¶
type ListOrgDeviceProfilesResponse struct {
// contains filtered or unexported fields
}
ListOrgDeviceProfilesResponse represents a ListOrgDeviceProfilesResponse struct. This is Array of a container for any-of cases.
func (*ListOrgDeviceProfilesResponse) AsDeviceprofileAp ¶
func (l *ListOrgDeviceProfilesResponse) AsDeviceprofileAp() ( *DeviceprofileAp, bool)
func (*ListOrgDeviceProfilesResponse) AsDeviceprofileGateway ¶ added in v0.2.8
func (l *ListOrgDeviceProfilesResponse) AsDeviceprofileGateway() ( *DeviceprofileGateway, bool)
func (ListOrgDeviceProfilesResponse) MarshalJSON ¶
func (l ListOrgDeviceProfilesResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ListOrgDeviceProfilesResponse. It customizes the JSON marshaling process for ListOrgDeviceProfilesResponse objects.
func (ListOrgDeviceProfilesResponse) String ¶
func (l ListOrgDeviceProfilesResponse) String() string
String converts the ListOrgDeviceProfilesResponse object to a string representation.
func (*ListOrgDeviceProfilesResponse) UnmarshalJSON ¶
func (l *ListOrgDeviceProfilesResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ListOrgDeviceProfilesResponse. It customizes the JSON unmarshaling process for ListOrgDeviceProfilesResponse objects.
type ListOrgDevicesStatsResponse ¶
type ListOrgDevicesStatsResponse struct {
// contains filtered or unexported fields
}
ListOrgDevicesStatsResponse represents a ListOrgDevicesStatsResponse struct. This is Array of a container for any-of cases.
func (*ListOrgDevicesStatsResponse) AsApStats ¶
func (l *ListOrgDevicesStatsResponse) AsApStats() ( *ApStats, bool)
func (*ListOrgDevicesStatsResponse) AsGatewayStats ¶
func (l *ListOrgDevicesStatsResponse) AsGatewayStats() ( *GatewayStats, bool)
func (*ListOrgDevicesStatsResponse) AsSwitchStats ¶
func (l *ListOrgDevicesStatsResponse) AsSwitchStats() ( *SwitchStats, bool)
func (ListOrgDevicesStatsResponse) MarshalJSON ¶
func (l ListOrgDevicesStatsResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ListOrgDevicesStatsResponse. It customizes the JSON marshaling process for ListOrgDevicesStatsResponse objects.
func (ListOrgDevicesStatsResponse) String ¶
func (l ListOrgDevicesStatsResponse) String() string
String converts the ListOrgDevicesStatsResponse object to a string representation.
func (*ListOrgDevicesStatsResponse) UnmarshalJSON ¶
func (l *ListOrgDevicesStatsResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ListOrgDevicesStatsResponse. It customizes the JSON unmarshaling process for ListOrgDevicesStatsResponse objects.
type ListOrgLogsSortEnum ¶
type ListOrgLogsSortEnum string
ListOrgLogsSortEnum is a string enum.
const ( ListOrgLogsSortEnum_TIMESTAMP ListOrgLogsSortEnum = "timestamp" ListOrgLogsSortEnum_ENUMTIMESTAMP ListOrgLogsSortEnum = "-timestamp" ListOrgLogsSortEnum_SITEID ListOrgLogsSortEnum = "site_id" ListOrgLogsSortEnum_ADMINID ListOrgLogsSortEnum = "admin_id" )
type ListSiteDeviceProfilesDerivedResponse ¶
type ListSiteDeviceProfilesDerivedResponse struct {
// contains filtered or unexported fields
}
ListSiteDeviceProfilesDerivedResponse represents a ListSiteDeviceProfilesDerivedResponse struct. This is Array of a container for any-of cases.
func (*ListSiteDeviceProfilesDerivedResponse) AsDeviceprofileAp ¶
func (l *ListSiteDeviceProfilesDerivedResponse) AsDeviceprofileAp() ( *DeviceprofileAp, bool)
func (*ListSiteDeviceProfilesDerivedResponse) AsDeviceprofileGateway ¶ added in v0.2.8
func (l *ListSiteDeviceProfilesDerivedResponse) AsDeviceprofileGateway() ( *DeviceprofileGateway, bool)
func (ListSiteDeviceProfilesDerivedResponse) MarshalJSON ¶
func (l ListSiteDeviceProfilesDerivedResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ListSiteDeviceProfilesDerivedResponse. It customizes the JSON marshaling process for ListSiteDeviceProfilesDerivedResponse objects.
func (ListSiteDeviceProfilesDerivedResponse) String ¶
func (l ListSiteDeviceProfilesDerivedResponse) String() string
String converts the ListSiteDeviceProfilesDerivedResponse object to a string representation.
func (*ListSiteDeviceProfilesDerivedResponse) UnmarshalJSON ¶
func (l *ListSiteDeviceProfilesDerivedResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ListSiteDeviceProfilesDerivedResponse. It customizes the JSON unmarshaling process for ListSiteDeviceProfilesDerivedResponse objects.
type ListSiteDevicesResponse ¶
type ListSiteDevicesResponse struct {
// contains filtered or unexported fields
}
ListSiteDevicesResponse represents a ListSiteDevicesResponse struct. This is Array of a container for any-of cases.
func (*ListSiteDevicesResponse) AsDeviceAp ¶
func (l *ListSiteDevicesResponse) AsDeviceAp() ( *DeviceAp, bool)
func (*ListSiteDevicesResponse) AsDeviceGateway ¶
func (l *ListSiteDevicesResponse) AsDeviceGateway() ( *DeviceGateway, bool)
func (*ListSiteDevicesResponse) AsDeviceSwitch ¶
func (l *ListSiteDevicesResponse) AsDeviceSwitch() ( *DeviceSwitch, bool)
func (ListSiteDevicesResponse) MarshalJSON ¶
func (l ListSiteDevicesResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ListSiteDevicesResponse. It customizes the JSON marshaling process for ListSiteDevicesResponse objects.
func (ListSiteDevicesResponse) String ¶
func (l ListSiteDevicesResponse) String() string
String converts the ListSiteDevicesResponse object to a string representation.
func (*ListSiteDevicesResponse) UnmarshalJSON ¶
func (l *ListSiteDevicesResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ListSiteDevicesResponse. It customizes the JSON unmarshaling process for ListSiteDevicesResponse objects.
type ListSiteDevicesStatsResponse ¶
type ListSiteDevicesStatsResponse struct {
// contains filtered or unexported fields
}
ListSiteDevicesStatsResponse represents a ListSiteDevicesStatsResponse struct. This is Array of a container for any-of cases.
func (*ListSiteDevicesStatsResponse) AsApStats ¶
func (l *ListSiteDevicesStatsResponse) AsApStats() ( *ApStats, bool)
func (*ListSiteDevicesStatsResponse) AsGatewayStats ¶
func (l *ListSiteDevicesStatsResponse) AsGatewayStats() ( *GatewayStats, bool)
func (*ListSiteDevicesStatsResponse) AsSwitchStats ¶
func (l *ListSiteDevicesStatsResponse) AsSwitchStats() ( *SwitchStats, bool)
func (ListSiteDevicesStatsResponse) MarshalJSON ¶
func (l ListSiteDevicesStatsResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ListSiteDevicesStatsResponse. It customizes the JSON marshaling process for ListSiteDevicesStatsResponse objects.
func (ListSiteDevicesStatsResponse) String ¶
func (l ListSiteDevicesStatsResponse) String() string
String converts the ListSiteDevicesStatsResponse object to a string representation.
func (*ListSiteDevicesStatsResponse) UnmarshalJSON ¶
func (l *ListSiteDevicesStatsResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ListSiteDevicesStatsResponse. It customizes the JSON unmarshaling process for ListSiteDevicesStatsResponse objects.
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]any `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) 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 Login ¶
type Login struct {
Email string `json:"email"`
Password string `json:"password"`
TwoFactor *string `json:"two_factor,omitempty"`
AdditionalProperties map[string]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Login. It customizes the JSON unmarshaling process for Login objects.
type MacAddresses ¶
type MacAddresses struct {
Macs []string `json:"macs"`
AdditionalProperties map[string]any `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) 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]any `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) 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 {
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"`
// when type=image, height of the image map
Height *int `json:"height,omitempty"`
HeightM *float64 `json:"height_m,omitempty"`
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"`
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"`
// the user-annotated x origin, pixels
OriginX *int `json:"origin_x,omitempty"`
// the 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"`
Type *MapTypeEnum `json:"type,omitempty"`
// when type=image, the url
Url *string `json:"url,omitempty"`
// whether this map uses autooreintation values or ignores them
UseAutoOrientation *bool `json:"use_auto_orientation,omitempty"`
// whether this map uses autoplacement values or ignores them
UseAutoPlacement *bool `json:"use_auto_placement,omitempty"`
// when type=google
View Optional[MapViewEnum] `json:"view"`
// a 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"`
// a 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]any `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) 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"`
VendorName MapImportJsonVendorNameEnum `json:"vendor_name"`
AdditionalProperties map[string]any `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) 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.
const ( MapImportJsonVendorNameEnum_EKAHAU MapImportJsonVendorNameEnum = "ekahau" MapImportJsonVendorNameEnum_IBWAVE MapImportJsonVendorNameEnum = "ibwave" )
type MapJibestream ¶
type MapJibestream struct {
// the client id
ClientId uuid.UUID `json:"client_id"`
// the client secret
ClientSecret string `json:"client_secret"`
// the jibestream customer record id
CustomerId int `json:"customer_id"`
// the map contents endpoint host
EndpointUrl string `json:"endpoint_url"`
// the 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’
VendorName string `json:"vendor_name"`
// the venue or organization id
VenueId int `json:"venue_id"`
AdditionalProperties map[string]any `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) 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 MapMicello ¶
type MapMicello struct {
// the 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’
VendorName string `json:"vendor_name"`
AdditionalProperties map[string]any `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) 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 MapNode ¶
type MapNode struct {
Edges map[string]string `json:"edges,omitempty"`
Name string `json:"name"`
Position *MapNodePosition `json:"position,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `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) 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"`
VendorName MapOrgImportFileJsonVendorNameEnum `json:"vendor_name"`
AdditionalProperties map[string]any `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) 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.
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]any `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) 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]any `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) 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]any `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) 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]any `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) 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"`
Id *uuid.UUID `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Nodes []MapNode `json:"nodes,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( MapTypeEnum_IMAGE MapTypeEnum = "image" MapTypeEnum_GOOGLE MapTypeEnum = "google" )
type MapViewEnum ¶
type MapViewEnum string
MapViewEnum is a string enum. when type=google
const ( MapViewEnum_ROADMAP MapViewEnum = "roadmap" MapViewEnum_SATELLITE MapViewEnum = "satellite" MapViewEnum_HYBRID MapViewEnum = "hybrid" MapViewEnum_TERRAIN MapViewEnum = "terrain" )
type MapWallPath ¶
type MapWallPath struct {
Coordinate *string `json:"coordinate,omitempty"`
Nodes []MapNode `json:"nodes,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
MapWallPath represents a MapWallPath struct. a 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) 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]any `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) 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]any `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) 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]any `json:"_"`
}
MapWayfindingPath represents a MapWayfindingPath struct. a 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) 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 MarvisClient ¶
type MarvisClient struct {
Diabled *bool `json:"diabled,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
// in MDM, add `--provision_url <provision_url>` to the instlal command
ProvisionUrl *string `json:"provision_url,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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.
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 converts the MistDevice object to a string representation.
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 MlOverwriteAdditionalProperties ¶
type MlOverwriteAdditionalProperties struct {
Int *int `json:"int,omitempty"`
Ple *int `json:"ple,omitempty"`
AdditionalProperties map[string]any `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) 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 ModuleStatItem ¶
type ModuleStatItem struct {
BackupVersion Optional[string] `json:"backup_version"`
BiosVersion Optional[string] `json:"bios_version"`
CpldVersion Optional[string] `json:"cpld_version"`
// 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"`
LastSeen Optional[float64] `json:"last_seen"`
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"`
UbootVersion Optional[string] `json:"uboot_version"`
Uptime Optional[int] `json:"uptime"`
VcLinks []ModuleStatItemVcLinksItem `json:"vc_links,omitempty"`
VcMode Optional[string] `json:"vc_mode"`
// master / backup / linecard
VcRole Optional[string] `json:"vc_role"`
VcState Optional[string] `json:"vc_state"`
Version Optional[string] `json:"version"`
AdditionalProperties map[string]any `json:"_"`
}
ModuleStatItem represents a ModuleStatItem struct.
func (ModuleStatItem) MarshalJSON ¶
func (m ModuleStatItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ModuleStatItem. It customizes the JSON marshaling process for ModuleStatItem objects.
func (*ModuleStatItem) UnmarshalJSON ¶
func (m *ModuleStatItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ModuleStatItem. It customizes the JSON unmarshaling process for ModuleStatItem 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]any `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) 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"`
Status *string `json:"status,omitempty"`
AdditionalProperties map[string]any `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) 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 ModuleStatItemPicsItem ¶
type ModuleStatItemPicsItem struct {
Index *int `json:"index,omitempty"`
ModelNumber *string `json:"model_number,omitempty"`
PortGroups []ModuleStatItemPicsItemPortGroupsItem `json:"port_groups,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `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) 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]any `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) 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"`
CreatedTime *float64 `json:"created_time,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
// For advanced tier (uMSPs) only
LogoUrl *string `json:"logo_url,omitempty"`
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name *string `json:"name,omitempty"`
Tier *MspTierEnum `json:"tier,omitempty"`
// For advanced tier (uMSPs) only
Url *string `json:"url,omitempty"`
AdditionalProperties map[string]any `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) 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 *string `json:"dst_org_id,omitempty"`
// required if `op`== `annotate`
Notes *string `json:"notes,omitempty"`
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]any `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) 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.
const ( MspLicenseActionOperationEnum_AMEND MspLicenseActionOperationEnum = "amend" MspLicenseActionOperationEnum_UNAMEND MspLicenseActionOperationEnum = "unamend" MspLicenseActionOperationEnum_DELETE MspLicenseActionOperationEnum = "delete" MspLicenseActionOperationEnum_ANNOTATE MspLicenseActionOperationEnum = "annotate" )
type MspLogo ¶
type MspLogo struct {
LogoUrl *string `json:"logo_url,omitempty"`
AdditionalProperties map[string]any `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) 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.
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.
const ( MspMarvisSuggestionsCountDistinctEnum_ORGID MspMarvisSuggestionsCountDistinctEnum = "org_id" MspMarvisSuggestionsCountDistinctEnum_STATUS MspMarvisSuggestionsCountDistinctEnum = "status" )
type MspOrgChange ¶
type MspOrgChange struct {
Op MspOrgChangeOperationEnum `json:"op"`
// list of org_id
OrgIds []string `json:"org_ids"`
AdditionalProperties map[string]any `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) 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.
const ( MspOrgChangeOperationEnum_ASSIGN MspOrgChangeOperationEnum = "assign" MspOrgChangeOperationEnum_UNASSIGN MspOrgChangeOperationEnum = "unassign" )
type MspSearchTypeEnum ¶
type MspSearchTypeEnum string
MspSearchTypeEnum is a string enum.
const (
MspSearchTypeEnum_ORGS MspSearchTypeEnum = "orgs"
)
type MspTicketsCountDistinctEnum ¶
type MspTicketsCountDistinctEnum string
MspTicketsCountDistinctEnum is a string enum.
const ( MspTicketsCountDistinctEnum_STATUS MspTicketsCountDistinctEnum = "status" MspTicketsCountDistinctEnum_ENUMTYPE MspTicketsCountDistinctEnum = "type" MspTicketsCountDistinctEnum_ORGID MspTicketsCountDistinctEnum = "org_id" )
type MspTierEnum ¶
type MspTierEnum string
MspTierEnum is a string enum.
const ( MspTierEnum_BASE MspTierEnum = "base" MspTierEnum_ADVANCED MspTierEnum = "advanced" )
type Mxcluster ¶
type Mxcluster struct {
CreatedTime *float64 `json:"created_time,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
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"`
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.
// * When `shuffle`, the ordering of tunterm_hosts is randomized by the device’s MAC.
// * When `shuffle-by-site`, we 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).
// * When `ordered`, the order is 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]any `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) 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]any `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) 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 {
// 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, airnonet) etc.
Vendor *MxclusterNacClientVendorEnum `json:"vendor,omitempty"`
AdditionalProperties map[string]any `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) 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, airnonet) etc.
const ( MxclusterNacClientVendorEnum_GENERIC MxclusterNacClientVendorEnum = "generic" MxclusterNacClientVendorEnum_JUNIPER MxclusterNacClientVendorEnum = "juniper" MxclusterNacClientVendorEnum_ARUBA MxclusterNacClientVendorEnum = "aruba" MxclusterNacClientVendorEnum_PALOALTO MxclusterNacClientVendorEnum = "paloalto" MxclusterNacClientVendorEnum_CISCOAIRONET MxclusterNacClientVendorEnum = "cisco-aironet" MxclusterNacClientVendorEnum_CISCOIOS MxclusterNacClientVendorEnum = "cisco-ios" MxclusterNacClientVendorEnum_CISCOMERAKI MxclusterNacClientVendorEnum = "cisco-meraki" )
type MxclusterRadAuthServerKeywrapFormatEnum ¶
type MxclusterRadAuthServerKeywrapFormatEnum string
MxclusterRadAuthServerKeywrapFormatEnum is a string enum. if used for Mist APs
const ( MxclusterRadAuthServerKeywrapFormatEnum_HEX MxclusterRadAuthServerKeywrapFormatEnum = "hex" MxclusterRadAuthServerKeywrapFormatEnum_ASCII MxclusterRadAuthServerKeywrapFormatEnum = "ascii" )
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"`
// 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"`
// ordered (default) / unordered. When ordered, Mist Edge will prefer and go back to the first radius server if possible
ServerSelection *MxclusterRadsecServerSelectionEnum `json:"server_selection,omitempty"`
// Specify source address to use when connecting to RADIUS servers
Source *MxclusterRadsecSourceEnum `json:"source,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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"`
// if used for Mist APs, enable keywrap algorithm. Default is false
KeywrapEnabled *bool `json:"keywrap_enabled,omitempty"`
// if used for Mist APs
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"`
// 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]any `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) 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 MxclusterRadsecServerSelectionEnum ¶
type MxclusterRadsecServerSelectionEnum string
MxclusterRadsecServerSelectionEnum is a string enum. ordered (default) / unordered. When ordered, Mist Edge will prefer and go back to the first radius server if possible
const ( MxclusterRadsecServerSelectionEnum_ORDERED MxclusterRadsecServerSelectionEnum = "ordered" MxclusterRadsecServerSelectionEnum_UNORDERED MxclusterRadsecServerSelectionEnum = "unordered" )
type MxclusterRadsecSourceEnum ¶
type MxclusterRadsecSourceEnum string
MxclusterRadsecSourceEnum is a string enum. Specify source address to use when connecting to RADIUS servers
const ( MxclusterRadsecSourceEnum_ANY MxclusterRadsecSourceEnum = "any" MxclusterRadsecSourceEnum_OOB MxclusterRadsecSourceEnum = "oob" MxclusterRadsecSourceEnum_OOB6 MxclusterRadsecSourceEnum = "oob6" MxclusterRadsecSourceEnum_TUNNEL MxclusterRadsecSourceEnum = "tunnel" MxclusterRadsecSourceEnum_TUNNEL6 MxclusterRadsecSourceEnum = "tunnel6" )
type MxclusterRadsecTls ¶
type MxclusterRadsecTls struct {
Keypair *string `json:"keypair,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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. * When `shuffle`, the ordering of tunterm_hosts is randomized by the device’s MAC. * When `shuffle-by-site`, we 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). * When `ordered`, the order is decided by tunterm_hosts_order
const ( MxclusterTuntermHostsSelectionEnum_SHUFFLE MxclusterTuntermHostsSelectionEnum = "shuffle" MxclusterTuntermHostsSelectionEnum_SHUFFLEBYSITE MxclusterTuntermHostsSelectionEnum = "shuffle-by-site" MxclusterTuntermHostsSelectionEnum_ORDERED MxclusterTuntermHostsSelectionEnum = "ordered" )
type Mxedge ¶
type Mxedge struct {
CreatedTime *float64 `json:"created_time,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
Magic *string `json:"magic,omitempty"`
Model string `json:"model"`
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"`
// ip configuration 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"`
// ip configuration 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"`
// ip configs 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]any `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) 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]any `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) 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"`
Secret *string `json:"secret,omitempty"`
AdditionalProperties map[string]any `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) 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 {
MxclusterId *string `json:"mxcluster_id,omitempty"`
MxedgeId *string `json:"mxedge_id,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
Service *string `json:"service,omitempty"`
Timestamp *float64 `json:"timestamp,omitempty"`
Type *string `json:"type,omitempty"`
AdditionalProperties map[string]any `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) 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 MxedgeForSiteEnum ¶
type MxedgeForSiteEnum string
MxedgeForSiteEnum is a string enum.
const ( MxedgeForSiteEnum_ANY MxedgeForSiteEnum = "any" MxedgeForSiteEnum_TRUE MxedgeForSiteEnum = "true" MxedgeForSiteEnum_FALSE MxedgeForSiteEnum = "false" )
type MxedgeMgmt ¶
type MxedgeMgmt struct {
FipsEnabled *bool `json:"fips_enabled,omitempty"`
MistPassword *string `json:"mist_password,omitempty"`
OobIpType *MxedgeMgmtOobIpTypeEnum `json:"oob_ip_type,omitempty"`
OobIpType6 *MxedgeMgmtOobIpType6Enum `json:"oob_ip_type6,omitempty"`
RootPassword *string `json:"root_password,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( MxedgeMgmtOobIpType6Enum_AUTOCONF MxedgeMgmtOobIpType6Enum = "autoconf" MxedgeMgmtOobIpType6Enum_DHCP MxedgeMgmtOobIpType6Enum = "dhcp" MxedgeMgmtOobIpType6Enum_STATIC MxedgeMgmtOobIpType6Enum = "static" MxedgeMgmtOobIpType6Enum_DISABLED MxedgeMgmtOobIpType6Enum = "disabled" )
type MxedgeMgmtOobIpTypeEnum ¶
type MxedgeMgmtOobIpTypeEnum string
MxedgeMgmtOobIpTypeEnum is a string enum.
const ( MxedgeMgmtOobIpTypeEnum_DHCP MxedgeMgmtOobIpTypeEnum = "dhcp" MxedgeMgmtOobIpTypeEnum_STATIC MxedgeMgmtOobIpTypeEnum = "static" MxedgeMgmtOobIpTypeEnum_DISABLED MxedgeMgmtOobIpTypeEnum = "disabled" )
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"`
Type *IpTypeEnum `json:"type,omitempty"`
Type6 *IpTypeEnum `json:"type6,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
MxedgeOobIpConfig represents a MxedgeOobIpConfig struct. ip configuration 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) 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.
const ( MxedgeServiceActionEnum_RESTART MxedgeServiceActionEnum = "restart" MxedgeServiceActionEnum_START MxedgeServiceActionEnum = "start" MxedgeServiceActionEnum_STOP MxedgeServiceActionEnum = "stop" )
type MxedgeServiceNameEnum ¶
type MxedgeServiceNameEnum string
MxedgeServiceNameEnum is a string enum.
const ( MxedgeServiceNameEnum_TUNTERM MxedgeServiceNameEnum = "tunterm" MxedgeServiceNameEnum_RADSECPROXY MxedgeServiceNameEnum = "radsecproxy" MxedgeServiceNameEnum_MXAGENT MxedgeServiceNameEnum = "mxagent" MxedgeServiceNameEnum_MXOCPROXY MxedgeServiceNameEnum = "mxocproxy" MxedgeServiceNameEnum_MXDAS MxedgeServiceNameEnum = "mxdas" )
type MxedgeStats ¶
type MxedgeStats struct {
// CPU/core stats list
CpuStat *MxedgeStatsCpuStat `json:"cpu_stat,omitempty"`
CreatedTime *float64 `json:"created_time,omitempty"`
// alue indicating fips configuration on the device
FipsEnabled *bool `json:"fips_enabled,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
// OOBM IP stats
IpStat *MxedgeStatsIpStat `json:"ip_stat,omitempty"`
// Stat for LAG (Link Aggregation Group). Property key is the LAG name
LagStat map[string]MxedgeStatsLagStat `json:"lag_stat,omitempty"`
LastSeen *float64 `json:"last_seen,omitempty"`
Mac *string `json:"mac,omitempty"`
// Memory usage
MemoryStat *MxedgeStatsMemoryStat `json:"memory_stat,omitempty"`
Model *string `json:"model,omitempty"`
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"`
// ip configuration of the Mist Edge out-of_band management interface
OobIpConfig *MxedgeOobIpConfig `json:"oob_ip_config,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
PortStat map[string]MxedgeStatsPortStat `json:"port_stat,omitempty"`
SensorStat *interface{} `json:"sensor_stat,omitempty"`
Serial Optional[string] `json:"serial"`
// stat for each services
ServiceStat map[string]MxedgeStatsServiceStat `json:"service_stat,omitempty"`
Services []string `json:"services,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Status *string `json:"status,omitempty"`
TuntermIpConfig *MxedgeStatsTuntermIpConfig `json:"tunterm_ip_config,omitempty"`
TuntermPortConfig *MxedgeStatsTuntermPortConfig `json:"tunterm_port_config,omitempty"`
TuntermRegistered *bool `json:"tunterm_registered,omitempty"`
TuntermStat *MxedgeStatsTuntermStat `json:"tunterm_stat,omitempty"`
Uptime *int `json:"uptime,omitempty"`
// Virtualization environment
VirtualizationType *string `json:"virtualization_type,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
MxedgeStats represents a MxedgeStats struct.
func (MxedgeStats) MarshalJSON ¶
func (m MxedgeStats) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeStats. It customizes the JSON marshaling process for MxedgeStats objects.
func (*MxedgeStats) UnmarshalJSON ¶
func (m *MxedgeStats) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeStats. It customizes the JSON unmarshaling process for MxedgeStats objects.
type MxedgeStatsCpuStat ¶
type MxedgeStatsCpuStat 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]any `json:"_"`
}
MxedgeStatsCpuStat represents a MxedgeStatsCpuStat struct. CPU/core stats list
func (MxedgeStatsCpuStat) MarshalJSON ¶
func (m MxedgeStatsCpuStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeStatsCpuStat. It customizes the JSON marshaling process for MxedgeStatsCpuStat objects.
func (*MxedgeStatsCpuStat) UnmarshalJSON ¶
func (m *MxedgeStatsCpuStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeStatsCpuStat. It customizes the JSON unmarshaling process for MxedgeStatsCpuStat objects.
type MxedgeStatsIpStat ¶
type MxedgeStatsIpStat struct {
Ip *string `json:"ip,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"`
AdditionalProperties map[string]any `json:"_"`
}
MxedgeStatsIpStat represents a MxedgeStatsIpStat struct. OOBM IP stats
func (MxedgeStatsIpStat) MarshalJSON ¶
func (m MxedgeStatsIpStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeStatsIpStat. It customizes the JSON marshaling process for MxedgeStatsIpStat objects.
func (*MxedgeStatsIpStat) UnmarshalJSON ¶
func (m *MxedgeStatsIpStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeStatsIpStat. It customizes the JSON unmarshaling process for MxedgeStatsIpStat objects.
type MxedgeStatsLagStat ¶
type MxedgeStatsLagStat struct {
// list of ports active on the LAG defined by the LACP
ActivePorts []string `json:"active_ports,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
MxedgeStatsLagStat represents a MxedgeStatsLagStat struct.
func (MxedgeStatsLagStat) MarshalJSON ¶
func (m MxedgeStatsLagStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeStatsLagStat. It customizes the JSON marshaling process for MxedgeStatsLagStat objects.
func (*MxedgeStatsLagStat) UnmarshalJSON ¶
func (m *MxedgeStatsLagStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeStatsLagStat. It customizes the JSON unmarshaling process for MxedgeStatsLagStat objects.
type MxedgeStatsMemoryStat ¶
type MxedgeStatsMemoryStat struct {
// The amount of memory, in kibibytes, 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 kibibytes, of temporary storage for raw disk blocks.
Buffers *int `json:"buffers,omitempty"`
// The amount of physical RAM, in kibibytes, used as cache memory.
Cached *int `json:"cached,omitempty"`
// The amount of physical RAM, in kibibytes, left unused by the system
Free *int64 `json:"free,omitempty"`
// The amount of memory, in kibibytes, 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 kibibytes, 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 kibibytes.
SwapFree *int `json:"swap_free,omitempty"`
// The total amount of swap available, in kibibytes.
SwapTotal *int `json:"swap_total,omitempty"`
// Total amount of usable RAM, in kibibytes, 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]any `json:"_"`
}
MxedgeStatsMemoryStat represents a MxedgeStatsMemoryStat struct. Memory usage
func (MxedgeStatsMemoryStat) MarshalJSON ¶
func (m MxedgeStatsMemoryStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeStatsMemoryStat. It customizes the JSON marshaling process for MxedgeStatsMemoryStat objects.
func (*MxedgeStatsMemoryStat) UnmarshalJSON ¶
func (m *MxedgeStatsMemoryStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeStatsMemoryStat. It customizes the JSON unmarshaling process for MxedgeStatsMemoryStat objects.
type MxedgeStatsPortStat ¶
type MxedgeStatsPortStat struct {
FullDuplex *bool `json:"full_duplex,omitempty"`
Mac *string `json:"mac,omitempty"`
RxBytes *float64 `json:"rx_bytes,omitempty"`
RxErrors *int `json:"rx_errors,omitempty"`
RxPkts *int `json:"rx_pkts,omitempty"`
Speed *int `json:"speed,omitempty"`
State *string `json:"state,omitempty"`
TxBytes *int `json:"tx_bytes,omitempty"`
TxErrors *int `json:"tx_errors,omitempty"`
TxPkts *int `json:"tx_pkts,omitempty"`
Up *bool `json:"up,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
MxedgeStatsPortStat represents a MxedgeStatsPortStat struct.
func (MxedgeStatsPortStat) MarshalJSON ¶
func (m MxedgeStatsPortStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeStatsPortStat. It customizes the JSON marshaling process for MxedgeStatsPortStat objects.
func (*MxedgeStatsPortStat) UnmarshalJSON ¶
func (m *MxedgeStatsPortStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeStatsPortStat. It customizes the JSON unmarshaling process for MxedgeStatsPortStat objects.
type MxedgeStatsServiceStat ¶
type MxedgeStatsServiceStat 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]any `json:"_"`
}
MxedgeStatsServiceStat represents a MxedgeStatsServiceStat struct.
func (MxedgeStatsServiceStat) MarshalJSON ¶
func (m MxedgeStatsServiceStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeStatsServiceStat. It customizes the JSON marshaling process for MxedgeStatsServiceStat objects.
func (*MxedgeStatsServiceStat) UnmarshalJSON ¶
func (m *MxedgeStatsServiceStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeStatsServiceStat. It customizes the JSON unmarshaling process for MxedgeStatsServiceStat objects.
type MxedgeStatsTuntermIpConfig ¶
type MxedgeStatsTuntermIpConfig struct {
Gateway *string `json:"gateway,omitempty"`
Ip *string `json:"ip,omitempty"`
Netmask *string `json:"netmask,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
MxedgeStatsTuntermIpConfig represents a MxedgeStatsTuntermIpConfig struct.
func (MxedgeStatsTuntermIpConfig) MarshalJSON ¶
func (m MxedgeStatsTuntermIpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeStatsTuntermIpConfig. It customizes the JSON marshaling process for MxedgeStatsTuntermIpConfig objects.
func (*MxedgeStatsTuntermIpConfig) UnmarshalJSON ¶
func (m *MxedgeStatsTuntermIpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeStatsTuntermIpConfig. It customizes the JSON unmarshaling process for MxedgeStatsTuntermIpConfig objects.
type MxedgeStatsTuntermPortConfig ¶
type MxedgeStatsTuntermPortConfig struct {
DownstreamPorts []string `json:"downstream_ports,omitempty"`
SeparateUpstreamDownstream *bool `json:"separate_upstream_downstream,omitempty"`
UpstreamPorts []string `json:"upstream_ports,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
MxedgeStatsTuntermPortConfig represents a MxedgeStatsTuntermPortConfig struct.
func (MxedgeStatsTuntermPortConfig) MarshalJSON ¶
func (m MxedgeStatsTuntermPortConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeStatsTuntermPortConfig. It customizes the JSON marshaling process for MxedgeStatsTuntermPortConfig objects.
func (*MxedgeStatsTuntermPortConfig) UnmarshalJSON ¶
func (m *MxedgeStatsTuntermPortConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeStatsTuntermPortConfig. It customizes the JSON unmarshaling process for MxedgeStatsTuntermPortConfig objects.
type MxedgeStatsTuntermStat ¶
type MxedgeStatsTuntermStat struct {
MonitoringFailed *bool `json:"monitoring_failed,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
MxedgeStatsTuntermStat represents a MxedgeStatsTuntermStat struct.
func (MxedgeStatsTuntermStat) MarshalJSON ¶
func (m MxedgeStatsTuntermStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeStatsTuntermStat. It customizes the JSON marshaling process for MxedgeStatsTuntermStat objects.
func (*MxedgeStatsTuntermStat) UnmarshalJSON ¶
func (m *MxedgeStatsTuntermStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeStatsTuntermStat. It customizes the JSON unmarshaling process for MxedgeStatsTuntermStat objects.
type MxedgeTuntermDhcpdConfig ¶
type MxedgeTuntermDhcpdConfig struct {
Enabled *bool `json:"enabled,omitempty"`
// list of DHCP servers; required if `type`==`relay`
Servers []string `json:"servers,omitempty"`
Type *MxedgeTuntermDhcpdTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]any `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) 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"`
Type *MxedgeTuntermDhcpdConfigTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]any `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) 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.
const (
MxedgeTuntermDhcpdConfigTypeEnum_RELAY MxedgeTuntermDhcpdConfigTypeEnum = "relay"
)
type MxedgeTuntermDhcpdTypeEnum ¶
type MxedgeTuntermDhcpdTypeEnum string
MxedgeTuntermDhcpdTypeEnum is a string enum.
const (
MxedgeTuntermDhcpdTypeEnum_RELAY MxedgeTuntermDhcpdTypeEnum = "relay"
)
type MxedgeTuntermExtraRoute ¶
type MxedgeTuntermExtraRoute struct {
Via *string `json:"via,omitempty"`
AdditionalProperties map[string]any `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) 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"`
// the list of vlans on which tunterm performs IGMP snooping
VlanIds []int `json:"vlan_ids,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `json:"_"`
}
MxedgeTuntermIpConfig represents a MxedgeTuntermIpConfig struct. ip configuration 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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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 []MxedgeTuntermSwitchConfigVlanIds `json:"vlan_ids,omitempty"`
AdditionalProperties map[string]any `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) 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 MxedgeTuntermSwitchConfigVlanIds ¶
type MxedgeTuntermSwitchConfigVlanIds struct {
// contains filtered or unexported fields
}
MxedgeTuntermSwitchConfigVlanIds represents a MxedgeTuntermSwitchConfigVlanIds struct. This is Array of a container for any-of cases.
func (*MxedgeTuntermSwitchConfigVlanIds) AsNumber ¶
func (m *MxedgeTuntermSwitchConfigVlanIds) AsNumber() ( *int, bool)
func (*MxedgeTuntermSwitchConfigVlanIds) AsString ¶
func (m *MxedgeTuntermSwitchConfigVlanIds) AsString() ( *string, bool)
func (MxedgeTuntermSwitchConfigVlanIds) MarshalJSON ¶
func (m MxedgeTuntermSwitchConfigVlanIds) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeTuntermSwitchConfigVlanIds. It customizes the JSON marshaling process for MxedgeTuntermSwitchConfigVlanIds objects.
func (MxedgeTuntermSwitchConfigVlanIds) String ¶
func (m MxedgeTuntermSwitchConfigVlanIds) String() string
String converts the MxedgeTuntermSwitchConfigVlanIds object to a string representation.
func (*MxedgeTuntermSwitchConfigVlanIds) UnmarshalJSON ¶
func (m *MxedgeTuntermSwitchConfigVlanIds) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeTuntermSwitchConfigVlanIds. It customizes the JSON unmarshaling process for MxedgeTuntermSwitchConfigVlanIds objects.
type MxedgeTuntermSwitchConfigs ¶
type MxedgeTuntermSwitchConfigs struct {
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]any `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) 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, stable (default) / beta / alpha
const ( MxedgeUpgradeChannelEnum_STABLE MxedgeUpgradeChannelEnum = "stable" MxedgeUpgradeChannelEnum_BETA MxedgeUpgradeChannelEnum = "beta" MxedgeUpgradeChannelEnum_ALPHA MxedgeUpgradeChannelEnum = "alpha" )
type MxedgeUpgradeInfoItems ¶
type MxedgeUpgradeInfoItems struct {
Default *bool `json:"default,omitempty"`
Package string `json:"package"`
Version string `json:"version"`
AdditionalProperties map[string]any `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) 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"`
// upgrade channel to follow, stable (default) / beta / alpha
Channel *MxedgeUpgradeChannelEnum `json:"channel,omitempty"`
// distro upgrade, optional, to specific codename (e.g. bullseye) with highest qualified versions
Distro *string `json:"distro,omitempty"`
// list of mxedge IDs to upgrade. If not specified, it means all the org mxedges.
MxedgeIds []uuid.UUID `json:"mxedge_ids"`
// * `big_bang`: upgrade all at once
// * `serial`: one at a time
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
Versions *MxedgeUpgradeVersion `json:"versions,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `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) 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. * `big_bang`: upgrade all at once * `serial`: one at a time
const ( 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]any `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
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) 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"`
Tuntnerm *string `json:"tuntnerm,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `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) 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"`
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"`
Id *uuid.UUID `json:"id,omitempty"`
Ipsec *MxtunnelIpsec `json:"ipsec,omitempty"`
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"`
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]any `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) 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]any `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) 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]any `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) 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.
const ( MxtunnelProtocolEnum_UDP MxtunnelProtocolEnum = "udp" MxtunnelProtocolEnum_IP MxtunnelProtocolEnum = "ip" )
type MxtunnelStats ¶
type MxtunnelStats struct {
Ap *string `json:"ap,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
LastSeen *float64 `json:"last_seen,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,omitempty"`
RemotePort *int `json:"remote_port,omitempty"`
RxControlPkts *int `json:"rx_control_pkts,omitempty"`
// list of sessions
Sessions []MxtunnelStatsSession `json:"sessions,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
State *MxtunnelStatsStateEnum `json:"state,omitempty"`
TxControlPkts *int `json:"tx_control_pkts,omitempty"`
Uptime *int `json:"uptime,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
MxtunnelStats represents a MxtunnelStats struct. MxTunnels statistics
func (MxtunnelStats) MarshalJSON ¶
func (m MxtunnelStats) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxtunnelStats. It customizes the JSON marshaling process for MxtunnelStats objects.
func (*MxtunnelStats) UnmarshalJSON ¶
func (m *MxtunnelStats) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxtunnelStats. It customizes the JSON unmarshaling process for MxtunnelStats objects.
type MxtunnelStatsSession ¶
type MxtunnelStatsSession 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]any `json:"_"`
}
MxtunnelStatsSession represents a MxtunnelStatsSession struct.
func (MxtunnelStatsSession) MarshalJSON ¶
func (m MxtunnelStatsSession) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxtunnelStatsSession. It customizes the JSON marshaling process for MxtunnelStatsSession objects.
func (*MxtunnelStatsSession) UnmarshalJSON ¶
func (m *MxtunnelStatsSession) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxtunnelStatsSession. It customizes the JSON unmarshaling process for MxtunnelStatsSession objects.
type MxtunnelStatsStateEnum ¶
type MxtunnelStatsStateEnum string
MxtunnelStatsStateEnum is a string enum.
const ( MxtunnelStatsStateEnum_IDLE MxtunnelStatsStateEnum = "idle" MxtunnelStatsStateEnum_WAITCTRLREPLY MxtunnelStatsStateEnum = "wait-ctrl-reply" MxtunnelStatsStateEnum_WAITCTRLCONN MxtunnelStatsStateEnum = "wait-ctrl-conn" MxtunnelStatsStateEnum_ESTABLISHED MxtunnelStatsStateEnum = "established" MxtunnelStatsStateEnum_ESTABLISHEDWITHSESSION MxtunnelStatsStateEnum = "established_with_session" )
type NacCrlFile ¶
type NacCrlFile struct {
// Time at which the file was first uploaded, in epoch
CreatedTime *float64 `json:"created_time,omitempty"`
// ID for file upload, used to identify file even for deletion
Id *string `json:"id,omitempty"`
// Time at which the file was last updated, in epoch
ModifiedTime *float64 `json:"modified_time,omitempty"`
// Name for the .crl file issuer if set
Name *string `json:"name,omitempty"`
// Download URL for the .crl file
Url *string `json:"url,omitempty"`
AdditionalProperties map[string]any `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) 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 {
AccessType *NacPortalAccessTypeEnum `json:"access_type,omitempty"`
// background image
BgImageUrl *string `json:"bg_image_url,omitempty"`
// in days
CertExpireTime *int `json:"cert_expire_time,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"`
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"`
AdditionalProperties map[string]any `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) 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.
const ( NacPortalAccessTypeEnum_WIRELESS NacPortalAccessTypeEnum = "wireless" NacPortalAccessTypeEnum_ENUMWIRELESSWIRED NacPortalAccessTypeEnum = "wireless+wired" )
type NacPortalSso ¶
type NacPortalSso struct {
IdpCert *string `json:"idp_cert,omitempty"`
IdpSignAlgo *string `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]any `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) 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 NacPortalSsoRoleMatching ¶
type NacPortalSsoRoleMatching struct {
Assigned *string `json:"assigned,omitempty"`
Match *string `json:"match,omitempty"`
AdditionalProperties map[string]any `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) 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 NacRule ¶
type NacRule struct {
Action NacRuleActionEnum `json:"action"`
// all optional, this goes into Access-Accept
ApplyTags []string `json:"apply_tags,omitempty"`
CreatedTime *float64 `json:"created_time,omitempty"`
// enabled or not
Enabled *bool `json:"enabled,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
Matching *NacRuleMatching `json:"matching,omitempty"`
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name string `json:"name"`
NotMatching *NacRuleMatching `json:"not_matching,omitempty"`
// the order of the rule, lower value implies higher priority
Order *int `json:"order,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( NacRuleActionEnum_ALLOW NacRuleActionEnum = "allow" NacRuleActionEnum_BLOCK NacRuleActionEnum = "block" )
type NacRuleMatching ¶
type NacRuleMatching struct {
AuthType *NacRuleMatchingAuthTypeEnum `json:"auth_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]any `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) 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 NacRuleMatchingAuthTypeEnum ¶
type NacRuleMatchingAuthTypeEnum string
NacRuleMatchingAuthTypeEnum is a string enum.
const ( NacRuleMatchingAuthTypeEnum_CERT NacRuleMatchingAuthTypeEnum = "cert" NacRuleMatchingAuthTypeEnum_IDP NacRuleMatchingAuthTypeEnum = "idp" NacRuleMatchingAuthTypeEnum_MAB NacRuleMatchingAuthTypeEnum = "mab" NacRuleMatchingAuthTypeEnum_PSK NacRuleMatchingAuthTypeEnum = "psk" NacRuleMatchingAuthTypeEnum_DEVICEAUTH NacRuleMatchingAuthTypeEnum = "device-auth" NacRuleMatchingAuthTypeEnum_EAPTLS NacRuleMatchingAuthTypeEnum = "eap-tls" NacRuleMatchingAuthTypeEnum_EAPTTLS NacRuleMatchingAuthTypeEnum = "eap-ttls" NacRuleMatchingAuthTypeEnum_EAPTEAP NacRuleMatchingAuthTypeEnum = "eap-teap" )
type NacRuleMatchingPortTypeEnum ¶
type NacRuleMatchingPortTypeEnum string
NacRuleMatchingPortTypeEnum is a string enum.
const ( NacRuleMatchingPortTypeEnum_WIRELESS NacRuleMatchingPortTypeEnum = "wireless" NacRuleMatchingPortTypeEnum_WIRED NacRuleMatchingPortTypeEnum = "wired" )
type NacTag ¶
type NacTag struct {
// can be set to true to allow the override by usermac result
AllowUsermacOverride *bool `json:"allow_usermac_override,omitempty"`
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 *int `json:"gbp_tag,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
// if `type`==`match`
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` or `match`==`usermac_label`
MatchAll *bool `json:"match_all,omitempty"`
ModifiedTime *float64 `json:"modified_time,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"`
Type NacTagTypeEnum `json:"type"`
// if `type`==`match`
Values []string `json:"values,omitempty"`
// if `type`==`vlan`
Vlan *string `json:"vlan,omitempty"`
AdditionalProperties map[string]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for NacTag. It customizes the JSON unmarshaling process for NacTag objects.
type NacTagMatchEnum ¶
type NacTagMatchEnum string
NacTagMatchEnum is a string enum. if `type`==`match`
const ( NacTagMatchEnum_CERTCN NacTagMatchEnum = "cert_cn" NacTagMatchEnum_CERTISSUER NacTagMatchEnum = "cert_issuer" NacTagMatchEnum_CERTSAN NacTagMatchEnum = "cert_san" NacTagMatchEnum_CERTSERIAL NacTagMatchEnum = "cert_serial" NacTagMatchEnum_CERTSUB NacTagMatchEnum = "cert_sub" NacTagMatchEnum_CLIENTMAC NacTagMatchEnum = "client_mac" NacTagMatchEnum_IDPROLE NacTagMatchEnum = "idp_role" NacTagMatchEnum_MDMSTATUS NacTagMatchEnum = "mdm_status" 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.
const ( NacTagTypeEnum_EGRESSVLANNAMES NacTagTypeEnum = "egress_vlan_names" NacTagTypeEnum_MATCH NacTagTypeEnum = "match" NacTagTypeEnum_VLAN NacTagTypeEnum = "vlan" NacTagTypeEnum_GBPTAG NacTagTypeEnum = "gbp_tag" NacTagTypeEnum_RADIUSATTRS NacTagTypeEnum = "radius_attrs" NacTagTypeEnum_RADIUSGROUP NacTagTypeEnum = "radius_group" NacTagTypeEnum_RADIUSVENDORATTRS NacTagTypeEnum = "radius_vendor_attrs" NacTagTypeEnum_SESSIONTIMEOUT NacTagTypeEnum = "session_timeout" )
type NameString ¶
type NameString struct {
Name *string `json:"name,omitempty"`
AdditionalProperties map[string]any `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) 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 {
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"`
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"`
ModifiedTime *float64 `json:"modified_time,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"`
Tenants map[string]NetworkTenant `json:"tenants,omitempty"`
VlanId *NetworkVlanId `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]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Network. It customizes the JSON unmarshaling process for Network objects.
type NetworkDestinationNatProperty ¶
type NetworkDestinationNatProperty struct {
InternalIp *string `json:"internal_ip,omitempty"`
Name *string `json:"name,omitempty"`
Port *int `json:"port,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
NetworkDestinationNatProperty represents a NetworkDestinationNatProperty struct.
func (NetworkDestinationNatProperty) MarshalJSON ¶
func (n NetworkDestinationNatProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NetworkDestinationNatProperty. It customizes the JSON marshaling process for NetworkDestinationNatProperty objects.
func (*NetworkDestinationNatProperty) UnmarshalJSON ¶
func (n *NetworkDestinationNatProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NetworkDestinationNatProperty. It customizes the JSON unmarshaling process for NetworkDestinationNatProperty objects.
type NetworkInternalAccess ¶
type NetworkInternalAccess struct {
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]any `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) 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 may be an IP/Port (i.e. "63.16.0.3:443"), or a port (i.e. ":2222")
DestinationNat map[string]NetworkDestinationNatProperty `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 IP Address (i.e. "172.16.0.1"), and IP Address and Port (i.e. "172.16.0.1:8443") or a CIDR (i.e. "172.16.0.12/20")
StaticNat map[string]NetworkStaticNatProperty `json:"static_nat,omitempty"`
AdditionalProperties map[string]any `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) 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 NetworkSourceNat ¶
type NetworkSourceNat struct {
ExternalIp *string `json:"external_ip,omitempty"`
AdditionalProperties map[string]any `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) 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 NetworkStaticNatProperty ¶
type NetworkStaticNatProperty struct {
InternalIp *string `json:"internal_ip,omitempty"`
Name *string `json:"name,omitempty"`
// If not set, we configure the nat policies against all WAN ports for simplicity
WanName *string `json:"wan_name,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
NetworkStaticNatProperty represents a NetworkStaticNatProperty struct.
func (NetworkStaticNatProperty) MarshalJSON ¶
func (n NetworkStaticNatProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NetworkStaticNatProperty. It customizes the JSON marshaling process for NetworkStaticNatProperty objects.
func (*NetworkStaticNatProperty) UnmarshalJSON ¶
func (n *NetworkStaticNatProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NetworkStaticNatProperty. It customizes the JSON unmarshaling process for NetworkStaticNatProperty 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"`
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"`
ExtraRoutes map[string]ExtraRouteProperties `json:"extra_routes,omitempty"`
// Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64")
ExtraRoutes6 map[string]ExtraRoute6Properties `json:"extra_routes6,omitempty"`
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"`
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"`
// 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.
PortMirroring map[string]SwitchPortMirroringProperty `json:"port_mirroring,omitempty"`
PortUsages map[string]SwitchPortUsage `json:"port_usages,omitempty"`
// Junos Radius config
RadiusConfig *RadiusConfig `json:"radius_config,omitempty"`
RemoteSyslog *RemoteSyslog `json:"remote_syslog,omitempty"`
SnmpConfig *SnmpConfig `json:"snmp_config,omitempty"`
// Switch template
SwitchMatching *SwitchMatching `json:"switch_matching,omitempty"`
SwitchMgmt *SwitchMgmt `json:"switch_mgmt,omitempty"`
VrfConfig *VrfConfig `json:"vrf_config,omitempty"`
// Property key is the network name
VrfInstances map[string]VrfInstance `json:"vrf_instances,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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 NetworkVlanId ¶ added in v0.2.20
type NetworkVlanId struct {
// contains filtered or unexported fields
}
NetworkVlanId represents a NetworkVlanId struct. This is a container for one-of cases.
func (*NetworkVlanId) AsNumber ¶ added in v0.2.20
func (n *NetworkVlanId) AsNumber() ( *int, bool)
func (*NetworkVlanId) AsString ¶ added in v0.2.20
func (n *NetworkVlanId) AsString() ( *string, bool)
func (NetworkVlanId) MarshalJSON ¶ added in v0.2.20
func (n NetworkVlanId) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NetworkVlanId. It customizes the JSON marshaling process for NetworkVlanId objects.
func (NetworkVlanId) String ¶ added in v0.2.20
func (n NetworkVlanId) String() string
String converts the NetworkVlanId object to a string representation.
func (*NetworkVlanId) UnmarshalJSON ¶ added in v0.2.20
func (n *NetworkVlanId) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NetworkVlanId. It customizes the JSON unmarshaling process for NetworkVlanId 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 may be an IP/Port (i.e. "63.16.0.3:443"), or a port (i.e. ":2222")
DestinationNat map[string]NetworkDestinationNatProperty `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 IP Address (i.e. "172.16.0.1"), and IP Address and Port (i.e. "172.16.0.1:8443") or a CIDR (i.e. "172.16.0.12/20")
StaticNat map[string]NetworkStaticNatProperty `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]any `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) 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 NoteString ¶
type NoteString struct {
// Some text note describing the intent
Note *string `json:"note,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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 OauthAppNameEnum ¶
type OauthAppNameEnum string
OauthAppNameEnum is a string enum.
const ( OauthAppNameEnum_ZOOM OauthAppNameEnum = "zoom" OauthAppNameEnum_TEAMS OauthAppNameEnum = "teams" OauthAppNameEnum_INTUNE OauthAppNameEnum = "intune" OauthAppNameEnum_JAMF OauthAppNameEnum = "jamf" OauthAppNameEnum_VMWARE OauthAppNameEnum = "vmware" )
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"`
CreatedTime *float64 `json:"created_time,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
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]any `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) 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"`
CreatedTime *float64 `json:"created_time,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
Key *string `json:"key,omitempty"`
LastUsed Optional[float64] `json:"last_used"`
// name of the token
Name Optional[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"`
// to restrict where the API can be called from
SrcIps []string `json:"src_ips,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
OrgApitoken represents a OrgApitoken struct. Org API Token
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) 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.
const ( OrgAssetCountDistinctEnum_SITEID OrgAssetCountDistinctEnum = "site_id" OrgAssetCountDistinctEnum_MAC OrgAssetCountDistinctEnum = "mac" OrgAssetCountDistinctEnum_MAPID OrgAssetCountDistinctEnum = "map_id" OrgAssetCountDistinctEnum_IBEACONUUID OrgAssetCountDistinctEnum = "ibeacon_uuid" OrgAssetCountDistinctEnum_IBEACONMAJOR OrgAssetCountDistinctEnum = "ibeacon_major" OrgAssetCountDistinctEnum_IBEACONMINOR OrgAssetCountDistinctEnum = "ibeacon_minor" )
type OrgAutoRules ¶
type OrgAutoRules struct {
// "[0:3]" // "abcdef" -> "abc"
// "split(.)[1]" // "a.b.c" -> "b"
// "split(-)[1][0:3]" // "a1234-b5678-c90" -> "b56"
Expression Optional[string] `json:"expression"`
// optional/additional filter
MatchDeviceType *OrgAutoRulesMatchDeviceTypeEnum `json:"match_device_type,omitempty"`
// optional/additional filter
MatchModel *string `json:"match_model,omitempty"`
Model *string `json:"model,omitempty"`
Prefix Optional[string] `json:"prefix"`
Src OrgAutoRulesSrcEnum `json:"src"`
Subnet *string `json:"subnet,omitempty"`
Suffix Optional[string] `json:"suffix"`
Value *string `json:"value,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
OrgAutoRules represents a OrgAutoRules struct. auto_rules in org settings
func (OrgAutoRules) MarshalJSON ¶
func (o OrgAutoRules) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgAutoRules. It customizes the JSON marshaling process for OrgAutoRules objects.
func (*OrgAutoRules) UnmarshalJSON ¶
func (o *OrgAutoRules) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgAutoRules. It customizes the JSON unmarshaling process for OrgAutoRules objects.
type OrgAutoRulesMatchDeviceTypeEnum ¶
type OrgAutoRulesMatchDeviceTypeEnum string
OrgAutoRulesMatchDeviceTypeEnum is a string enum. optional/additional filter
const ( OrgAutoRulesMatchDeviceTypeEnum_AP OrgAutoRulesMatchDeviceTypeEnum = "ap" OrgAutoRulesMatchDeviceTypeEnum_ENUMSWITCH OrgAutoRulesMatchDeviceTypeEnum = "switch" OrgAutoRulesMatchDeviceTypeEnum_GATEWAY OrgAutoRulesMatchDeviceTypeEnum = "gateway" OrgAutoRulesMatchDeviceTypeEnum_OTHER OrgAutoRulesMatchDeviceTypeEnum = "other" )
type OrgAutoRulesSrcEnum ¶
type OrgAutoRulesSrcEnum string
OrgAutoRulesSrcEnum is a string enum.
const ( OrgAutoRulesSrcEnum_NAME OrgAutoRulesSrcEnum = "name" OrgAutoRulesSrcEnum_SUBNET OrgAutoRulesSrcEnum = "subnet" OrgAutoRulesSrcEnum_LLDPSYSTEMNAME OrgAutoRulesSrcEnum = "lldp_system_name" OrgAutoRulesSrcEnum_DNSSUFFIX OrgAutoRulesSrcEnum = "dns_suffix" OrgAutoRulesSrcEnum_MODEL OrgAutoRulesSrcEnum = "model" OrgAutoRulesSrcEnum_LLDPPORTDESC OrgAutoRulesSrcEnum = "lldp_port_desc" )
type OrgClientSessionsCountDistinctEnum ¶
type OrgClientSessionsCountDistinctEnum string
OrgClientSessionsCountDistinctEnum is a string enum.
const ( OrgClientSessionsCountDistinctEnum_SSID OrgClientSessionsCountDistinctEnum = "ssid" OrgClientSessionsCountDistinctEnum_AP OrgClientSessionsCountDistinctEnum = "ap" OrgClientSessionsCountDistinctEnum_IP OrgClientSessionsCountDistinctEnum = "ip" OrgClientSessionsCountDistinctEnum_VLAN OrgClientSessionsCountDistinctEnum = "vlan" OrgClientSessionsCountDistinctEnum_HOSTNAME OrgClientSessionsCountDistinctEnum = "hostname" OrgClientSessionsCountDistinctEnum_OS OrgClientSessionsCountDistinctEnum = "os" OrgClientSessionsCountDistinctEnum_MODEL OrgClientSessionsCountDistinctEnum = "model" OrgClientSessionsCountDistinctEnum_DEVICE OrgClientSessionsCountDistinctEnum = "device" )
type OrgClientsCountDistinctEnum ¶
type OrgClientsCountDistinctEnum string
OrgClientsCountDistinctEnum is a string enum.
const ( OrgClientsCountDistinctEnum_MAC OrgClientsCountDistinctEnum = "mac" OrgClientsCountDistinctEnum_HOSTNAME OrgClientsCountDistinctEnum = "hostname" OrgClientsCountDistinctEnum_DEVICE OrgClientsCountDistinctEnum = "device" OrgClientsCountDistinctEnum_OS OrgClientsCountDistinctEnum = "os" OrgClientsCountDistinctEnum_MODEL OrgClientsCountDistinctEnum = "model" OrgClientsCountDistinctEnum_AP OrgClientsCountDistinctEnum = "ap" OrgClientsCountDistinctEnum_VLAN OrgClientsCountDistinctEnum = "vlan" OrgClientsCountDistinctEnum_SSID OrgClientsCountDistinctEnum = "ssid" OrgClientsCountDistinctEnum_IP OrgClientsCountDistinctEnum = "ip" )
type OrgCrlImportFile ¶
type OrgCrlImportFile struct {
// a binary .crl file
File *[]byte `json:"file,omitempty"`
// json string with name for .crl file (optional)
Json *string `json:"json,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for OrgDevice. It customizes the JSON unmarshaling process for OrgDevice objects.
type OrgDeviceUpgrade ¶
type OrgDeviceUpgrade struct {
Id *uuid.UUID `json:"id,omitempty"`
SiteUpgrades []OrgDeviceUpgradeSiteUpgrade `json:"site_upgrades,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
OrgDeviceUpgrade represents a OrgDeviceUpgrade struct.
func (OrgDeviceUpgrade) MarshalJSON ¶
func (o OrgDeviceUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgDeviceUpgrade. It customizes the JSON marshaling process for OrgDeviceUpgrade objects.
func (*OrgDeviceUpgrade) UnmarshalJSON ¶
func (o *OrgDeviceUpgrade) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgDeviceUpgrade. It customizes the JSON unmarshaling process for OrgDeviceUpgrade objects.
type OrgDeviceUpgradeSiteUpgrade ¶
type OrgDeviceUpgradeSiteUpgrade struct {
SiteId *uuid.UUID `json:"site_id,omitempty"`
UpgradeId *uuid.UUID `json:"upgrade_id,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
OrgDeviceUpgradeSiteUpgrade represents a OrgDeviceUpgradeSiteUpgrade struct.
func (OrgDeviceUpgradeSiteUpgrade) MarshalJSON ¶
func (o OrgDeviceUpgradeSiteUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgDeviceUpgradeSiteUpgrade. It customizes the JSON marshaling process for OrgDeviceUpgradeSiteUpgrade objects.
func (*OrgDeviceUpgradeSiteUpgrade) UnmarshalJSON ¶
func (o *OrgDeviceUpgradeSiteUpgrade) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgDeviceUpgradeSiteUpgrade. It customizes the JSON unmarshaling process for OrgDeviceUpgradeSiteUpgrade objects.
type OrgDevicesCountDistinctEnum ¶
type OrgDevicesCountDistinctEnum string
OrgDevicesCountDistinctEnum is a string enum.
const ( OrgDevicesCountDistinctEnum_HOSTNAME OrgDevicesCountDistinctEnum = "hostname" OrgDevicesCountDistinctEnum_SITEID OrgDevicesCountDistinctEnum = "site_id" OrgDevicesCountDistinctEnum_MODEL OrgDevicesCountDistinctEnum = "model" OrgDevicesCountDistinctEnum_MAC OrgDevicesCountDistinctEnum = "mac" OrgDevicesCountDistinctEnum_VERSION OrgDevicesCountDistinctEnum = "version" OrgDevicesCountDistinctEnum_IP OrgDevicesCountDistinctEnum = "ip" OrgDevicesCountDistinctEnum_MXTUNNELSTATUS OrgDevicesCountDistinctEnum = "mxtunnel_status" OrgDevicesCountDistinctEnum_MXEDGEID OrgDevicesCountDistinctEnum = "mxedge_id" OrgDevicesCountDistinctEnum_LLDPSYSTEMNAME OrgDevicesCountDistinctEnum = "lldp_system_name" OrgDevicesCountDistinctEnum_LLDPSYSTEMDESC OrgDevicesCountDistinctEnum = "lldp_system_desc" OrgDevicesCountDistinctEnum_LLDPPORTID OrgDevicesCountDistinctEnum = "lldp_port_id" OrgDevicesCountDistinctEnum_LLDPMGMTADDR OrgDevicesCountDistinctEnum = "lldp_mgmt_addr" )
type OrgDevicesEventsCountDistinctEnum ¶
type OrgDevicesEventsCountDistinctEnum string
OrgDevicesEventsCountDistinctEnum is a string enum.
const ( OrgDevicesEventsCountDistinctEnum_ORGID OrgDevicesEventsCountDistinctEnum = "org_id" OrgDevicesEventsCountDistinctEnum_SITEID OrgDevicesEventsCountDistinctEnum = "site_id" OrgDevicesEventsCountDistinctEnum_AP OrgDevicesEventsCountDistinctEnum = "ap" OrgDevicesEventsCountDistinctEnum_APFW OrgDevicesEventsCountDistinctEnum = "apfw" OrgDevicesEventsCountDistinctEnum_MODEL OrgDevicesEventsCountDistinctEnum = "model" OrgDevicesEventsCountDistinctEnum_TEXT OrgDevicesEventsCountDistinctEnum = "text" OrgDevicesEventsCountDistinctEnum_TIMESTAMP OrgDevicesEventsCountDistinctEnum = "timestamp" OrgDevicesEventsCountDistinctEnum_ENUMTYPE OrgDevicesEventsCountDistinctEnum = "type" )
type OrgDevicesLastConfigsCountDistinctEnum ¶
type OrgDevicesLastConfigsCountDistinctEnum string
OrgDevicesLastConfigsCountDistinctEnum is a string enum.
const ( OrgDevicesLastConfigsCountDistinctEnum_MAC OrgDevicesLastConfigsCountDistinctEnum = "mac" OrgDevicesLastConfigsCountDistinctEnum_VERSION OrgDevicesLastConfigsCountDistinctEnum = "version" OrgDevicesLastConfigsCountDistinctEnum_NAME OrgDevicesLastConfigsCountDistinctEnum = "name" OrgDevicesLastConfigsCountDistinctEnum_SITEID OrgDevicesLastConfigsCountDistinctEnum = "site_id" )
type OrgEvent ¶
type OrgEvent struct {
OrgId *uuid.UUID `json:"org_id,omitempty"`
Text *string `json:"text,omitempty"`
Timestamp *float64 `json:"timestamp,omitempty"`
Type *string `json:"type,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( OrgGuestsCountDistinctEnum_AUTHMETHOD OrgGuestsCountDistinctEnum = "auth_method" OrgGuestsCountDistinctEnum_SSID OrgGuestsCountDistinctEnum = "ssid" OrgGuestsCountDistinctEnum_COMPANY OrgGuestsCountDistinctEnum = "company" )
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
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]any `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) 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
const ( OrgLicenseActionOperationEnum_AMEND OrgLicenseActionOperationEnum = "amend" OrgLicenseActionOperationEnum_UNAMEND OrgLicenseActionOperationEnum = "unamend" OrgLicenseActionOperationEnum_DELETE OrgLicenseActionOperationEnum = "delete" OrgLicenseActionOperationEnum_ANNOTATE OrgLicenseActionOperationEnum = "annotate" )
type OrgLogsCountDistinctEnum ¶
type OrgLogsCountDistinctEnum string
OrgLogsCountDistinctEnum is a string enum.
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.
const ( OrgMxedgeCountDistinctEnum_MODEL OrgMxedgeCountDistinctEnum = "model" OrgMxedgeCountDistinctEnum_MXCLUSTERID OrgMxedgeCountDistinctEnum = "mxcluster_id" OrgMxedgeCountDistinctEnum_DISTRO OrgMxedgeCountDistinctEnum = "distro" OrgMxedgeCountDistinctEnum_TUNTERMVERSION OrgMxedgeCountDistinctEnum = "tunterm_version" OrgMxedgeCountDistinctEnum_SITEID OrgMxedgeCountDistinctEnum = "site_id" )
type OrgMxedgeEventsCountDistinctEnum ¶
type OrgMxedgeEventsCountDistinctEnum string
OrgMxedgeEventsCountDistinctEnum is a string enum.
const ( OrgMxedgeEventsCountDistinctEnum_MXEDGEID OrgMxedgeEventsCountDistinctEnum = "mxedge_id" OrgMxedgeEventsCountDistinctEnum_ENUMTYPE OrgMxedgeEventsCountDistinctEnum = "type" OrgMxedgeEventsCountDistinctEnum_MXCLUSTERID OrgMxedgeEventsCountDistinctEnum = "mxcluster_id" OrgMxedgeEventsCountDistinctEnum_ENUMPACKAGE OrgMxedgeEventsCountDistinctEnum = "package" )
type OrgNacClientEventsCountDistinctEnum ¶
type OrgNacClientEventsCountDistinctEnum string
OrgNacClientEventsCountDistinctEnum is a string enum.
const ( OrgNacClientEventsCountDistinctEnum_ENUMTYPE OrgNacClientEventsCountDistinctEnum = "type" OrgNacClientEventsCountDistinctEnum_NACRULEID OrgNacClientEventsCountDistinctEnum = "nacrule_id" OrgNacClientEventsCountDistinctEnum_DRYRUNNACRULEID OrgNacClientEventsCountDistinctEnum = "dryrun_nacrule_id" OrgNacClientEventsCountDistinctEnum_AUTHTYPE OrgNacClientEventsCountDistinctEnum = "auth_type" OrgNacClientEventsCountDistinctEnum_VLAN OrgNacClientEventsCountDistinctEnum = "vlan" OrgNacClientEventsCountDistinctEnum_NASVENDOR OrgNacClientEventsCountDistinctEnum = "nas_vendor" OrgNacClientEventsCountDistinctEnum_USERNAME OrgNacClientEventsCountDistinctEnum = "username" OrgNacClientEventsCountDistinctEnum_AP OrgNacClientEventsCountDistinctEnum = "ap" OrgNacClientEventsCountDistinctEnum_MAC OrgNacClientEventsCountDistinctEnum = "mac" OrgNacClientEventsCountDistinctEnum_SSID OrgNacClientEventsCountDistinctEnum = "ssid" )
type OrgNacClientsCountDistinctEnum ¶
type OrgNacClientsCountDistinctEnum string
OrgNacClientsCountDistinctEnum is a string enum.
const ( OrgNacClientsCountDistinctEnum_ENUMTYPE OrgNacClientsCountDistinctEnum = "type" OrgNacClientsCountDistinctEnum_LASTNACRULEID OrgNacClientsCountDistinctEnum = "last_nacrule_id" OrgNacClientsCountDistinctEnum_AUTHTYPE OrgNacClientsCountDistinctEnum = "auth_type" OrgNacClientsCountDistinctEnum_LASTVLAN OrgNacClientsCountDistinctEnum = "last_vlan" OrgNacClientsCountDistinctEnum_LASTNASVENDOR OrgNacClientsCountDistinctEnum = "last_nas_vendor" OrgNacClientsCountDistinctEnum_LASTUSERNAME OrgNacClientsCountDistinctEnum = "last_username" OrgNacClientsCountDistinctEnum_LASTAP OrgNacClientsCountDistinctEnum = "last_ap" OrgNacClientsCountDistinctEnum_MAC OrgNacClientsCountDistinctEnum = "mac" OrgNacClientsCountDistinctEnum_LASTSSID OrgNacClientsCountDistinctEnum = "last_ssid" OrgNacClientsCountDistinctEnum_LASTSTATUS OrgNacClientsCountDistinctEnum = "last_status" OrgNacClientsCountDistinctEnum_MDMCOMPLIANCE OrgNacClientsCountDistinctEnum = "mdm_compliance" OrgNacClientsCountDistinctEnum_MDMPROVIDER OrgNacClientsCountDistinctEnum = "mdm_provider" )
type OrgOtherdevicesEventsCountDistinctEnum ¶
type OrgOtherdevicesEventsCountDistinctEnum string
OrgOtherdevicesEventsCountDistinctEnum is a string enum.
const ( OrgOtherdevicesEventsCountDistinctEnum_MAC OrgOtherdevicesEventsCountDistinctEnum = "mac" OrgOtherdevicesEventsCountDistinctEnum_ENUMTYPE OrgOtherdevicesEventsCountDistinctEnum = "type" OrgOtherdevicesEventsCountDistinctEnum_VENDOR OrgOtherdevicesEventsCountDistinctEnum = "vendor" OrgOtherdevicesEventsCountDistinctEnum_SITEID OrgOtherdevicesEventsCountDistinctEnum = "site_id" )
type OrgPskPortalLogsCountDistinctEnum ¶
type OrgPskPortalLogsCountDistinctEnum string
OrgPskPortalLogsCountDistinctEnum is a string enum.
const ( OrgPskPortalLogsCountDistinctEnum_ADMINID OrgPskPortalLogsCountDistinctEnum = "admin_id" OrgPskPortalLogsCountDistinctEnum_ADMINNAME OrgPskPortalLogsCountDistinctEnum = "admin_name" OrgPskPortalLogsCountDistinctEnum_PSKNAME OrgPskPortalLogsCountDistinctEnum = "psk_name" OrgPskPortalLogsCountDistinctEnum_PSKID OrgPskPortalLogsCountDistinctEnum = "psk_id" OrgPskPortalLogsCountDistinctEnum_PSKPORTALID OrgPskPortalLogsCountDistinctEnum = "pskportal_id" OrgPskPortalLogsCountDistinctEnum_USERID OrgPskPortalLogsCountDistinctEnum = "user_id" )
type OrgServicePolicy ¶ added in v0.2.14
type OrgServicePolicy struct {
Action *AllowDenyEnum `json:"action,omitempty"`
// For SRX Only
Appqoe *ServicePolicyAppqoe `json:"appqoe,omitempty"`
CreatedTime *float64 `json:"created_time,omitempty"`
Ewf []ServicePolicyEwfRule `json:"ewf,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
Idp *IdpConfig `json:"idp,omitempty"`
// access within the same VRF
LocalRouting *bool `json:"local_routing,omitempty"`
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`
PathPreferences *string `json:"path_preferences,omitempty"`
Services []string `json:"services,omitempty"`
Tenants []string `json:"tenants,omitempty"`
AdditionalProperties map[string]any `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) 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"`
// list of PEM-encoded ca certs
Cacerts []string `json:"cacerts,omitempty"`
Celona *OrgSettingCelona `json:"celona,omitempty"`
Cloudshark *OrgSettingCloudshark `json:"cloudshark,omitempty"`
Cradlepoint *AccountCradlepointConfig `json:"cradlepoint,omitempty"`
CreatedTime *float64 `json:"created_time,omitempty"`
// common device cert, optional
DeviceCert *OrgSettingDeviceCert `json:"device_cert,omitempty"`
// enable threshold-based device down delivery via
// 1) device-updowns webhooks topic,
// 2) 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 *int `json:"device_updown_threshold,omitempty"`
// 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"`
Id *uuid.UUID `json:"id,omitempty"`
Installer *OrgSettingInstaller `json:"installer,omitempty"`
Jcloud *OrgSettingJcloud `json:"jcloud,omitempty"`
Juniper *AccountJuniperInfo `json:"juniper,omitempty"`
// management-related properties
Mgmt *OrgSettingMgmt `json:"mgmt,omitempty"`
MistNac *OrgSettingMistNac `json:"mist_nac,omitempty"`
ModifiedTime *float64 `json:"modified_time,omitempty"`
MspId *uuid.UUID `json:"msp_id,omitempty"`
MxedgeFipsEnabled *bool `json:"mxedge_fips_enabled,omitempty"`
MxedgeMgmt *MxedgeMgmt `json:"mxedge_mgmt,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 encountring over X failures
SimpleAlert *SimpleAlert `json:"simple_alert,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"`
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]any `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) 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/secrests for read-only users
NoReveal *bool `json:"no_reveal,omitempty"`
AdditionalProperties map[string]any `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) 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 OrgSettingAutoDeviceNaming ¶
type OrgSettingAutoDeviceNaming struct {
Enable *bool `json:"enable,omitempty"`
Rules Optional[[]OrgAutoRules] `json:"rules"`
AdditionalProperties map[string]any `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) 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 OrgSettingAutoDeviceprofileAssignment ¶
type OrgSettingAutoDeviceprofileAssignment struct {
Enable *bool `json:"enable,omitempty"`
Rules Optional[[]OrgAutoRules] `json:"rules"`
AdditionalProperties map[string]any `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) 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[[]OrgAutoRules] `json:"rules"`
AdditionalProperties map[string]any `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) 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 OrgSettingCelona ¶
type OrgSettingCelona struct {
ApiKey *string `json:"api_key,omitempty"`
ApiPrefix *string `json:"api_prefix,omitempty"`
AdditionalProperties map[string]any `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) 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 Enteprise
Url *string `json:"url,omitempty"`
AdditionalProperties map[string]any `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) 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 OrgSettingDeviceCert ¶
type OrgSettingDeviceCert struct {
Cert *string `json:"cert,omitempty"`
Key *string `json:"key,omitempty"`
AdditionalProperties map[string]any `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) 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"`
AppUsage *bool `json:"app_usage,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
HostOutPolicies *OrgSettingGatewayMgmtHostOutPolicies `json:"host_out_policies,omitempty"`
OverlayIp *OrgSettingGatewayMgmtOverlayIp `json:"overlay_ip,omitempty"`
AdditionalProperties map[string]any `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) 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 /api/v1/const/applications
Apps []string `json:"apps,omitempty"`
AdditionalProperties map[string]any `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) 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 OrgSettingGatewayMgmtHostOutPolicies ¶
type OrgSettingGatewayMgmtHostOutPolicies struct {
Dns *OrgSettingGatewayMgmtHostOutPoliciesDns `json:"dns,omitempty"`
Mist *OrgSettingGatewayMgmtHostOutPoliciesMist `json:"mist,omitempty"`
Ntp *OrgSettingGatewayMgmtHostOutPoliciesNtp `json:"ntp,omitempty"`
AdditionalProperties map[string]any `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
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) 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 OrgSettingGatewayMgmtHostOutPoliciesDns ¶
type OrgSettingGatewayMgmtHostOutPoliciesDns struct {
PathPreference *string `json:"path_preference,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
OrgSettingGatewayMgmtHostOutPoliciesDns represents a OrgSettingGatewayMgmtHostOutPoliciesDns struct.
func (OrgSettingGatewayMgmtHostOutPoliciesDns) MarshalJSON ¶
func (o OrgSettingGatewayMgmtHostOutPoliciesDns) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingGatewayMgmtHostOutPoliciesDns. It customizes the JSON marshaling process for OrgSettingGatewayMgmtHostOutPoliciesDns objects.
func (*OrgSettingGatewayMgmtHostOutPoliciesDns) UnmarshalJSON ¶
func (o *OrgSettingGatewayMgmtHostOutPoliciesDns) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingGatewayMgmtHostOutPoliciesDns. It customizes the JSON unmarshaling process for OrgSettingGatewayMgmtHostOutPoliciesDns objects.
type OrgSettingGatewayMgmtHostOutPoliciesMist ¶
type OrgSettingGatewayMgmtHostOutPoliciesMist struct {
PathPreference *string `json:"path_preference,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
OrgSettingGatewayMgmtHostOutPoliciesMist represents a OrgSettingGatewayMgmtHostOutPoliciesMist struct.
func (OrgSettingGatewayMgmtHostOutPoliciesMist) MarshalJSON ¶
func (o OrgSettingGatewayMgmtHostOutPoliciesMist) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingGatewayMgmtHostOutPoliciesMist. It customizes the JSON marshaling process for OrgSettingGatewayMgmtHostOutPoliciesMist objects.
func (*OrgSettingGatewayMgmtHostOutPoliciesMist) UnmarshalJSON ¶
func (o *OrgSettingGatewayMgmtHostOutPoliciesMist) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingGatewayMgmtHostOutPoliciesMist. It customizes the JSON unmarshaling process for OrgSettingGatewayMgmtHostOutPoliciesMist objects.
type OrgSettingGatewayMgmtHostOutPoliciesNtp ¶
type OrgSettingGatewayMgmtHostOutPoliciesNtp struct {
PathPreference *string `json:"path_preference,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
OrgSettingGatewayMgmtHostOutPoliciesNtp represents a OrgSettingGatewayMgmtHostOutPoliciesNtp struct.
func (OrgSettingGatewayMgmtHostOutPoliciesNtp) MarshalJSON ¶
func (o OrgSettingGatewayMgmtHostOutPoliciesNtp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingGatewayMgmtHostOutPoliciesNtp. It customizes the JSON marshaling process for OrgSettingGatewayMgmtHostOutPoliciesNtp objects.
func (*OrgSettingGatewayMgmtHostOutPoliciesNtp) UnmarshalJSON ¶
func (o *OrgSettingGatewayMgmtHostOutPoliciesNtp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingGatewayMgmtHostOutPoliciesNtp. It customizes the JSON unmarshaling process for OrgSettingGatewayMgmtHostOutPoliciesNtp 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]any `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) 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]any `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) 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]any `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) 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 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]any `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) 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"`
// 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 compliancy 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"`
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
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 a 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]any `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) 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"`
Id *uuid.UUID `json:"id,omitempty"`
// which realm should trigger this IDP.
// we extract user realm from
// 1. Username-AVP (`mist.com` from john@mist.com)
// 2. Cert CN
UserRealms []string `json:"user_realms,omitempty"`
AdditionalProperties map[string]any `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) 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
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]any `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) 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"`
// days, required if password policy is enabled
Freshness *int `json:"freshness,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]any `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) 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]any `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) 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 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]any `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) 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 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]any `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) 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"`
// equiring /12 or bigger to support 16 private IPs for 65535 gateways
StSubnet *string `json:"st_subnet,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `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) 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]any `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) 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.
const ( OrgSiteSleTypeEnum_WAN OrgSiteSleTypeEnum = "wan" OrgSiteSleTypeEnum_WIRED OrgSiteSleTypeEnum = "wired" OrgSiteSleTypeEnum_WIFI OrgSiteSleTypeEnum = "wifi" )
type OrgSiteSleWanResult ¶
type OrgSiteSleWanResult struct {
ApplicationHealth *float64 `json:"application_health,omitempty"`
GatewayHealth *float64 `json:"gateway-health,omitempty"`
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]any `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) 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]any `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) 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,omitempty"`
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]any `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) 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 OrgSiteSleWifiResult1 ¶
type OrgSiteSleWifiResult1 struct {
ApAvailability *float64 `json:"ap-availability,omitempty"`
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"`
NumSwitches *float64 `json:"num_switches,omitempty"`
SwitchHealth *float64 `json:"switch_health,omitempty"`
SwitchStc *float64 `json:"switch_stc,omitempty"`
SwitchThroughput *float64 `json:"switch_throughput,omitempty"`
ApplicationHealth *float64 `json:"application_health,omitempty"`
GatewayHealth *float64 `json:"gateway-health,omitempty"`
NumGateways *float64 `json:"num_gateways,omitempty"`
WanLinkHealth *float64 `json:"wan-link-health,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
OrgSiteSleWifiResult1 represents a OrgSiteSleWifiResult1 struct.
func (OrgSiteSleWifiResult1) MarshalJSON ¶
func (o OrgSiteSleWifiResult1) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSiteSleWifiResult1. It customizes the JSON marshaling process for OrgSiteSleWifiResult1 objects.
func (*OrgSiteSleWifiResult1) UnmarshalJSON ¶
func (o *OrgSiteSleWifiResult1) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSiteSleWifiResult1. It customizes the JSON unmarshaling process for OrgSiteSleWifiResult1 objects.
type OrgSiteSleWiredResult ¶
type OrgSiteSleWiredResult struct {
NumClients *float64 `json:"num_clients,omitempty"`
NumSwitches *float64 `json:"num_switches,omitempty"`
SiteId uuid.UUID `json:"site_id"`
SwitchHealth *float64 `json:"switch_health,omitempty"`
SwitchStc *float64 `json:"switch_stc,omitempty"`
SwitchThroughput *float64 `json:"switch_throughput,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `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) 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.
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_ROGUEENABLED OrgSitesCountDistinctEnum = "rogue_enabled" OrgSitesCountDistinctEnum_REMOTESYSLOGENABLED OrgSitesCountDistinctEnum = "remote_syslog_enabled" OrgSitesCountDistinctEnum_RTSAENABLED OrgSitesCountDistinctEnum = "rtsa_enabled" OrgSitesCountDistinctEnum_VNAENABLED OrgSitesCountDistinctEnum = "vna_enabled" OrgSitesCountDistinctEnum_WIFIENABLED OrgSitesCountDistinctEnum = "wifi_enabled" )
type OrgSleStat ¶
type OrgSleStat struct {
Path string `json:"path"`
UserMinutes *OrgSleStatUserMinutes `json:"user_minutes,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
OrgSleStat represents a OrgSleStat struct.
func (OrgSleStat) MarshalJSON ¶
func (o OrgSleStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSleStat. It customizes the JSON marshaling process for OrgSleStat objects.
func (*OrgSleStat) UnmarshalJSON ¶
func (o *OrgSleStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSleStat. It customizes the JSON unmarshaling process for OrgSleStat objects.
type OrgSleStatUserMinutes ¶
type OrgSleStatUserMinutes struct {
Ok float64 `json:"ok"`
Total float64 `json:"total"`
AdditionalProperties map[string]any `json:"_"`
}
OrgSleStatUserMinutes represents a OrgSleStatUserMinutes struct.
func (OrgSleStatUserMinutes) MarshalJSON ¶
func (o OrgSleStatUserMinutes) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSleStatUserMinutes. It customizes the JSON marshaling process for OrgSleStatUserMinutes objects.
func (*OrgSleStatUserMinutes) UnmarshalJSON ¶
func (o *OrgSleStatUserMinutes) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSleStatUserMinutes. It customizes the JSON unmarshaling process for OrgSleStatUserMinutes objects.
type OrgStats ¶
type OrgStats struct {
AlarmtemplateId uuid.UUID `json:"alarmtemplate_id"`
AllowMist bool `json:"allow_mist"`
CreatedTime float64 `json:"created_time"`
Id uuid.UUID `json:"id"`
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 []OrgSleStat `json:"sle"`
AdditionalProperties map[string]any `json:"_"`
}
OrgStats represents a OrgStats struct. Org statistics
func (OrgStats) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for OrgStats. It customizes the JSON marshaling process for OrgStats objects.
func (*OrgStats) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for OrgStats. It customizes the JSON unmarshaling process for OrgStats objects.
type OrgSwitchPortCountDistinctEnum ¶
type OrgSwitchPortCountDistinctEnum string
OrgSwitchPortCountDistinctEnum is a string enum.
const ( OrgSwitchPortCountDistinctEnum_PORTID OrgSwitchPortCountDistinctEnum = "port_id" OrgSwitchPortCountDistinctEnum_PORTMAC OrgSwitchPortCountDistinctEnum = "port_mac" OrgSwitchPortCountDistinctEnum_FULLDUPLEX OrgSwitchPortCountDistinctEnum = "full_duplex" OrgSwitchPortCountDistinctEnum_MAC OrgSwitchPortCountDistinctEnum = "mac" OrgSwitchPortCountDistinctEnum_NEIGHBORMAC OrgSwitchPortCountDistinctEnum = "neighbor_mac" OrgSwitchPortCountDistinctEnum_NEIGHBORPORTDESC OrgSwitchPortCountDistinctEnum = "neighbor_port_desc" OrgSwitchPortCountDistinctEnum_NEIGHBORSYSTEMNAME OrgSwitchPortCountDistinctEnum = "neighbor_system_name" OrgSwitchPortCountDistinctEnum_POEDISABLED OrgSwitchPortCountDistinctEnum = "poe_disabled" OrgSwitchPortCountDistinctEnum_POEMODE OrgSwitchPortCountDistinctEnum = "poe_mode" OrgSwitchPortCountDistinctEnum_POEON OrgSwitchPortCountDistinctEnum = "poe_on" OrgSwitchPortCountDistinctEnum_SPEED OrgSwitchPortCountDistinctEnum = "speed" OrgSwitchPortCountDistinctEnum_UP OrgSwitchPortCountDistinctEnum = "up" )
type OrgTicketsCountDistinctEnum ¶
type OrgTicketsCountDistinctEnum string
OrgTicketsCountDistinctEnum is a string enum.
const ( OrgTicketsCountDistinctEnum_STATUS OrgTicketsCountDistinctEnum = "status" OrgTicketsCountDistinctEnum_ENUMTYPE OrgTicketsCountDistinctEnum = "type" )
type OrgTunnelCountDistinctEnum ¶
type OrgTunnelCountDistinctEnum string
OrgTunnelCountDistinctEnum is a string enum.
const ( OrgTunnelCountDistinctEnum_AUTHALGO OrgTunnelCountDistinctEnum = "auth_algo" OrgTunnelCountDistinctEnum_WXTUNNELID OrgTunnelCountDistinctEnum = "wxtunnel_id" OrgTunnelCountDistinctEnum_AP OrgTunnelCountDistinctEnum = "ap" OrgTunnelCountDistinctEnum_REMOTEIP OrgTunnelCountDistinctEnum = "remote_ip" OrgTunnelCountDistinctEnum_REMOTEPORT OrgTunnelCountDistinctEnum = "remote_port" OrgTunnelCountDistinctEnum_STATE OrgTunnelCountDistinctEnum = "state" OrgTunnelCountDistinctEnum_MXEDGEID OrgTunnelCountDistinctEnum = "mxedge_id" OrgTunnelCountDistinctEnum_MXCLUSTERID OrgTunnelCountDistinctEnum = "mxcluster_id" OrgTunnelCountDistinctEnum_SITEID OrgTunnelCountDistinctEnum = "site_id" OrgTunnelCountDistinctEnum_PEERMXEDGEID OrgTunnelCountDistinctEnum = "peer_mxedge_id" OrgTunnelCountDistinctEnum_MAC OrgTunnelCountDistinctEnum = "mac" OrgTunnelCountDistinctEnum_NODE OrgTunnelCountDistinctEnum = "node" OrgTunnelCountDistinctEnum_PEERIP OrgTunnelCountDistinctEnum = "peer_ip" OrgTunnelCountDistinctEnum_PEERHOST OrgTunnelCountDistinctEnum = "peer_host" OrgTunnelCountDistinctEnum_IP OrgTunnelCountDistinctEnum = "ip" OrgTunnelCountDistinctEnum_TUNNELNAME OrgTunnelCountDistinctEnum = "tunnel_name" OrgTunnelCountDistinctEnum_PROTOCOL OrgTunnelCountDistinctEnum = "protocol" OrgTunnelCountDistinctEnum_ENCRYPTALGO OrgTunnelCountDistinctEnum = "encrypt_algo" OrgTunnelCountDistinctEnum_IKEVERSION OrgTunnelCountDistinctEnum = "ike_version" OrgTunnelCountDistinctEnum_LASTEVENT OrgTunnelCountDistinctEnum = "last_event" OrgTunnelCountDistinctEnum_UP OrgTunnelCountDistinctEnum = "up" )
type OrgTunnelTypeCountEnum ¶
type OrgTunnelTypeCountEnum string
OrgTunnelTypeCountEnum is a string enum.
const ( OrgTunnelTypeCountEnum_WXTUNNEL OrgTunnelTypeCountEnum = "wxtunnel" OrgTunnelTypeCountEnum_WAN OrgTunnelTypeCountEnum = "wan" )
type OrgWanClientsCountDistinctEnum ¶
type OrgWanClientsCountDistinctEnum string
OrgWanClientsCountDistinctEnum is a string enum.
const ( OrgWanClientsCountDistinctEnum_HOSTNAME OrgWanClientsCountDistinctEnum = "hostname" OrgWanClientsCountDistinctEnum_IP OrgWanClientsCountDistinctEnum = "ip" OrgWanClientsCountDistinctEnum_MFG OrgWanClientsCountDistinctEnum = "mfg" OrgWanClientsCountDistinctEnum_MAC OrgWanClientsCountDistinctEnum = "mac" )
type OrgWanClientsEventsCountDistinctEnum ¶
type OrgWanClientsEventsCountDistinctEnum string
OrgWanClientsEventsCountDistinctEnum is a string enum.
const ( OrgWanClientsEventsCountDistinctEnum_ENUMTYPE OrgWanClientsEventsCountDistinctEnum = "type" OrgWanClientsEventsCountDistinctEnum_HOSTNAME OrgWanClientsEventsCountDistinctEnum = "hostname" OrgWanClientsEventsCountDistinctEnum_IP OrgWanClientsEventsCountDistinctEnum = "ip" OrgWanClientsEventsCountDistinctEnum_MFG OrgWanClientsEventsCountDistinctEnum = "mfg" OrgWanClientsEventsCountDistinctEnum_MAC OrgWanClientsEventsCountDistinctEnum = "mac" )
type OrgWiredClientsCountDistinctEnum ¶
type OrgWiredClientsCountDistinctEnum string
OrgWiredClientsCountDistinctEnum is a string enum.
const ( OrgWiredClientsCountDistinctEnum_PORTID OrgWiredClientsCountDistinctEnum = "port_id" OrgWiredClientsCountDistinctEnum_VLAN OrgWiredClientsCountDistinctEnum = "vlan" OrgWiredClientsCountDistinctEnum_MAC OrgWiredClientsCountDistinctEnum = "mac" OrgWiredClientsCountDistinctEnum_DEVICEMAC OrgWiredClientsCountDistinctEnum = "device_mac" OrgWiredClientsCountDistinctEnum_SITEID OrgWiredClientsCountDistinctEnum = "site_id" OrgWiredClientsCountDistinctEnum_ENUMTYPE OrgWiredClientsCountDistinctEnum = "type" )
type Orggroup ¶
type Orggroup struct {
CreatedTime *float64 `json:"created_time,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
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]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Orggroup. It customizes the JSON unmarshaling process for Orggroup objects.
type OspfAreas ¶
type OspfAreas struct {
IncludeLoopback *bool `json:"include_loopback,omitempty"`
// Networks to participate in an OSPF area.
// Property key is the network name
Networks map[string]OspfAreasNetwork `json:"networks,omitempty"`
// OSPF type, default (default) / stub / nssa
Type *OspfAreasTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
OspfAreas represents a OspfAreas struct. Junos OSPF areas
func (OspfAreas) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for OspfAreas. It customizes the JSON marshaling process for OspfAreas objects.
func (*OspfAreas) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for OspfAreas. It customizes the JSON unmarshaling process for OspfAreas objects.
type OspfAreasNetwork ¶
type OspfAreasNetwork struct {
// if `auth_type`==`md5`. Property key is the key number
AuthKeys map[string]string `json:"auth_keys,omitempty"`
// if `auth_type`==`password`, the password, max length is 8
AuthPassword *string `json:"auth_password,omitempty"`
// auth type
AuthType *OspfAreasNetworkAuthTypeEnum `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)
InterfaceType *OspfAreasNetworkInterfaceTypeEnum `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]any `json:"_"`
}
OspfAreasNetwork represents a OspfAreasNetwork struct.
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) 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 OspfAreasNetworkAuthTypeEnum ¶
type OspfAreasNetworkAuthTypeEnum string
OspfAreasNetworkAuthTypeEnum is a string enum. auth type
const ( OspfAreasNetworkAuthTypeEnum_NONE OspfAreasNetworkAuthTypeEnum = "none" OspfAreasNetworkAuthTypeEnum_MD5 OspfAreasNetworkAuthTypeEnum = "md5" OspfAreasNetworkAuthTypeEnum_PASSWORD OspfAreasNetworkAuthTypeEnum = "password" )
type OspfAreasNetworkInterfaceTypeEnum ¶
type OspfAreasNetworkInterfaceTypeEnum string
OspfAreasNetworkInterfaceTypeEnum is a string enum. interface type (nbma = non-broadcast multi-access)
const ( OspfAreasNetworkInterfaceTypeEnum_BROADCAST OspfAreasNetworkInterfaceTypeEnum = "broadcast" OspfAreasNetworkInterfaceTypeEnum_NBMA OspfAreasNetworkInterfaceTypeEnum = "nbma" OspfAreasNetworkInterfaceTypeEnum_P2P OspfAreasNetworkInterfaceTypeEnum = "p2p" OspfAreasNetworkInterfaceTypeEnum_P2MP OspfAreasNetworkInterfaceTypeEnum = "p2mp" )
type OspfAreasTypeEnum ¶
type OspfAreasTypeEnum string
OspfAreasTypeEnum is a string enum. OSPF type, default (default) / stub / nssa
const ( OspfAreasTypeEnum_ENUMDEFAULT OspfAreasTypeEnum = "default" OspfAreasTypeEnum_STUB OspfAreasTypeEnum = "stub" OspfAreasTypeEnum_NSSA OspfAreasTypeEnum = "nssa" )
type OspfConfig ¶
type OspfConfig struct {
// OSPF areas to run on this device and the corresponding per-area-specific configs. Property key is the area
Areas map[string]OspfConfigArea `json:"areas,omitempty"`
// whether to rung OSPF on this device
Enabled *bool `json:"enabled,omitempty"`
// Bandwidth for calculating metric defaults (9600..4000000000000)
ReferenceBandwidth *string `json:"reference_bandwidth,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
OspfConfig represents a OspfConfig struct. Junos OSPF config
func (OspfConfig) MarshalJSON ¶
func (o OspfConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OspfConfig. It customizes the JSON marshaling process for OspfConfig objects.
func (*OspfConfig) UnmarshalJSON ¶
func (o *OspfConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OspfConfig. It customizes the JSON unmarshaling process for OspfConfig objects.
type OspfConfigArea ¶
type OspfConfigArea struct {
// for a stub/nssa area, where to avoid forwarding type-3 LSA to this area
NoSummary *bool `json:"no_summary,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
OspfConfigArea represents a OspfConfigArea struct.
func (OspfConfigArea) MarshalJSON ¶
func (o OspfConfigArea) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OspfConfigArea. It customizes the JSON marshaling process for OspfConfigArea objects.
func (*OspfConfigArea) UnmarshalJSON ¶
func (o *OspfConfigArea) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OspfConfigArea. It customizes the JSON unmarshaling process for OspfConfigArea objects.
type OtherDeviceUpdate ¶
type OtherDeviceUpdate struct {
DeviceMac *string `json:"device_mac,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
AdditionalProperties map[string]any `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) 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 {
// The mac address of the peer device.
Macs []string `json:"macs,omitempty"`
// The operation being performed
Op OtherDeviceUpdateOperationEnum `json:"op"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
AdditionalProperties map[string]any `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) 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
const ( OtherDeviceUpdateOperationEnum_ASSIGN OtherDeviceUpdateOperationEnum = "assign" OtherDeviceUpdateOperationEnum_UNASSIGN OtherDeviceUpdateOperationEnum = "unassign" )
type PcapBucket ¶
type PcapBucket struct {
Bucket string `json:"bucket"`
AdditionalProperties map[string]any `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) 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]any `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) 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.
const ( PcapTypeEnum_NEWASSOC PcapTypeEnum = "new_assoc" PcapTypeEnum_CLIENT PcapTypeEnum = "client" PcapTypeEnum_WIRED PcapTypeEnum = "wired" PcapTypeEnum_WIRELESS PcapTypeEnum = "wireless" PcapTypeEnum_RADIOTAP PcapTypeEnum = "radiotap" PcapTypeEnum_ENUMRADIOTAPWIRED PcapTypeEnum = "radiotap,wired" PcapTypeEnum_GATEWAY PcapTypeEnum = "gateway" )
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]any `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) 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 PortConfig ¶
type PortConfig struct {
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`==`lte`
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"`
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`
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`
Networks []string `json:"networks,omitempty"`
// for Q-in-Q
OuterVlanId *int `json:"outer_vlan_id,omitempty"`
PoeDisabled *bool `json:"poe_disabled,omitempty"`
// if `usage`==`lan`
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
RethIdx *int `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
Usage GatewayPortUsageEnum `json:"usage"`
// if WAN interface is on a VLAN
VlanId *int `json:"vlan_id,omitempty"`
VpnPaths map[string]GatewayPortVpnPath `json:"vpn_paths,omitempty"`
// when `wan_type`==`broadband`
WanArpPolicer *GatewayPortWanArpPolicerEnum `json:"wan_arp_policer,omitempty"`
// optional, if spoke should reach this port by a different IP
WanExtIp *string `json:"wan_ext_ip,omitempty"`
// optional, by default, source-NAT is performed on all WAN Ports using the interface-ip
WanSourceNat *GatewayPortWanSourceNat `json:"wan_source_nat,omitempty"`
// if `usage`==`wan`
WanType *GatewayPortWanTypeEnum `json:"wan_type,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
PortConfig represents a PortConfig struct. Property key is the interface(s) name (e.g. "eth1,eth2")
func (PortConfig) MarshalJSON ¶
func (p PortConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PortConfig. It customizes the JSON marshaling process for PortConfig objects.
func (*PortConfig) UnmarshalJSON ¶
func (p *PortConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PortConfig. It customizes the JSON unmarshaling process for PortConfig objects.
type PortConfig1 ¶
type PortConfig1 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"`
// if want 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"`
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"`
// prevent helpdesk to override the port config
NoLocalOverwrite *bool `json:"no_local_overwrite,omitempty"`
PoeDisabled *bool `json:"poe_disabled,omitempty"`
Speed *JunosPortConfigSpeedEnum `json:"speed,omitempty"`
// port usage name.
// If EVPN is used, use `evpn_uplink`or `evpn_downlink`
Usage GatewayPortUsage1Enum `json:"usage"`
// port admin up (true) / down (false)
Disabled *bool `json:"disabled,omitempty"`
// if `wan_type`==`lte`
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"`
// Junos IP Config
IpConfig *GatewayPortConfigIpConfig `json:"ip_config,omitempty"`
// if `wan_type`==`lte`
LteApn *string `json:"lte_apn,omitempty"`
// if `wan_type`==`lte`
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"`
// name that we'll use to derive config
Name *string `json:"name,omitempty"`
// if `usage`==`lan`
Networks []string `json:"networks,omitempty"`
// for Q-in-Q
OuterVlanId *int `json:"outer_vlan_id,omitempty"`
// if `usage`==`lan`
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
RethIdx *int `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"`
// 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"`
// if WAN interface is on a VLAN
VlanId *int `json:"vlan_id,omitempty"`
VpnPaths map[string]GatewayPortVpnPath `json:"vpn_paths,omitempty"`
// when `wan_type`==`broadband`
WanArpPolicer *GatewayPortWanArpPolicerEnum `json:"wan_arp_policer,omitempty"`
// optional, if spoke should reach this port by a different IP
WanExtIp *string `json:"wan_ext_ip,omitempty"`
// optional, by default, source-NAT is performed on all WAN Ports using the interface-ip
WanSourceNat *GatewayPortWanSourceNat `json:"wan_source_nat,omitempty"`
// if `usage`==`wan`
WanType *GatewayPortWanTypeEnum `json:"wan_type,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
PortConfig1 represents a PortConfig1 struct. eth0 is not allowed here. Property key is the interface(s) name (e.g. "eth1" or"eth1,eth2")
func (PortConfig1) MarshalJSON ¶
func (p PortConfig1) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PortConfig1. It customizes the JSON marshaling process for PortConfig1 objects.
func (*PortConfig1) UnmarshalJSON ¶
func (p *PortConfig1) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PortConfig1. It customizes the JSON unmarshaling process for PortConfig1 objects.
type PortalTemplate ¶
type PortalTemplate struct {
AccessCodeAlternateEmail *string `json:"accessCodeAlternateEmail,omitempty"`
// defines alignment on portal. “left” is default.
Alignment *string `json:"alignment,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"`
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"`
CreatedTime *float64 `json:"created_time,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"`
EmailCancel *string `json:"emailCancel,omitempty"`
EmailCodeError *string `json:"emailCodeError,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"`
EmailSubmit *string `json:"emailSubmit,omitempty"`
EmailTitle *string `json:"emailTitle,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"`
ForSite *bool `json:"for_site,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
Message *string `json:"message,omitempty"`
ModifiedTime *float64 `json:"modified_time,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"`
// whether to display “Do Not Store My Personal Information”
Optout *bool `json:"optout,omitempty"`
OptoutLabel *string `json:"optoutLabel,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
PageTitle string `json:"pageTitle"`
PassphraseCancel *string `json:"passphraseCancel,omitempty"`
// error message when invalid passphrase is provided
PassphraseError *string `json:"passphraseError,omitempty"`
PassphraseLabel *string `json:"passphraseLabel,omitempty"`
PassphraseMessage *string `json:"passphraseMessage,omitempty"`
PassphraseSubmit *string `json:"passphraseSubmit,omitempty"`
// Title for passphrase details page
PassphraseTitle *string `json:"passphraseTitle,omitempty"`
// whether to show “Powered by Mist”
PoweredBy *bool `json:"poweredBy,omitempty"`
PrivacyPolicy *bool `json:"privacyPolicy,omitempty"`
// prefix of the label of the link to go to /privacy_notice
PrivacyPolicyAcceptLabel *string `json:"privacyPolicyAcceptLabel,omitempty"`
// error message when privacy notice is not accepted
PrivacyPolicyError *string `json:"privacyPolicyError,omitempty"`
// label of the link to go to /privacy_notice,
PrivacyPolicyLink *string `json:"privacyPolicyLink,omitempty"`
// privacy notice text
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"`
SiteId *uuid.UUID `json:"site_id,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"`
// “Country Code”
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 place holders 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 *float64 `json:"smsValidityDuration,omitempty"`
SponsorAutoApproved *string `json:"sponsorAutoApproved,omitempty"`
SponsorAutoApprovedNote *string `json:"sponsorAutoApprovedNote,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”
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"`
// 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"`
SponsorsAutoApprovedNote *string `json:"sponsorsAutoApprovedNote,omitempty"`
SponsorsError *string `json:"sponsorsError,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"`
AdditionalProperties map[string]any `json:"_"`
}
PortalTemplate represents a PortalTemplate struct. Portal Template
func (PortalTemplate) MarshalJSON ¶
func (p PortalTemplate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PortalTemplate. It customizes the JSON marshaling process for PortalTemplate objects.
func (*PortalTemplate) UnmarshalJSON ¶
func (p *PortalTemplate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PortalTemplate. It customizes the JSON unmarshaling process for PortalTemplate objects.
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
Role PrivilegeMspRoleEnum `json:"role"`
Scope PrivilegeMspScopeEnum `json:"scope"`
// Custom roles restrict Org users to specific UI views. This is useful for limiting UI access of Org users.
// You can invite a new user or update existing users in your Org to this custom role. For this, specify view along with role when assigning privileges.
// Below are the list of supported UI views. Note that this is UI only feature
// Custom roles restrict Org users to specific UI views. This is useful for limiting UI access of Org users.
// You can invite a new user or update existing users in your Org to this custom role. For this, specify `view` along with `role` when assigning privileges.
// Below are the list of supported UI views. Note that this is UI only feature
// | UI View | Description |
// | --- | --- |
// | `reporting` | full access to all analytics tools |
// | `marketing` | can view analytics and location maps |
// | `location` | can view and manage location maps |
// | `security` | can view and manage WLAN, rogues and authentication |
// | `switch_admin` | can view and manage Switch ports |
// | `mxedge_admin` | can view and manage Mist edges and Mist tunnels |
// | `lobby_admin` | full access to Org and Site Pre-shared keys |
Views *PrivilegeMspViewEnum `json:"views,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
PrivilegeMsp represents a PrivilegeMsp struct. Privilieges 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) 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
const ( PrivilegeMspRoleEnum_ADMIN PrivilegeMspRoleEnum = "admin" PrivilegeMspRoleEnum_WRITE PrivilegeMspRoleEnum = "write" PrivilegeMspRoleEnum_READ PrivilegeMspRoleEnum = "read" PrivilegeMspRoleEnum_HELPDESK PrivilegeMspRoleEnum = "helpdesk" PrivilegeMspRoleEnum_INSTALLER PrivilegeMspRoleEnum = "installer" )
type PrivilegeMspScopeEnum ¶
type PrivilegeMspScopeEnum string
PrivilegeMspScopeEnum is a string enum.
const ( PrivilegeMspScopeEnum_ORG PrivilegeMspScopeEnum = "org" PrivilegeMspScopeEnum_MSP PrivilegeMspScopeEnum = "msp" PrivilegeMspScopeEnum_ORGGROUP PrivilegeMspScopeEnum = "orggroup" )
type PrivilegeMspViewEnum ¶
type PrivilegeMspViewEnum string
PrivilegeMspViewEnum is a string enum. Custom roles restrict Org users to specific UI views. This is useful for limiting UI access of Org users. You can invite a new user or update existing users in your Org to this custom role. For this, specify view along with role when assigning privileges. Below are the list of supported UI views. Note that this is UI only feature Custom roles restrict Org users to specific UI views. This is useful for limiting UI access of Org users. You can invite a new user or update existing users in your Org to this custom role. For this, specify `view` along with `role` when assigning privileges. Below are the list of supported UI views. Note that this is UI only feature | UI View | Description | | --- | --- | | `reporting` | full access to all analytics tools | | `marketing` | can view analytics and location maps | | `location` | can view and manage location maps | | `security` | can view and manage WLAN, rogues and authentication | | `switch_admin` | can view and manage Switch ports | | `mxedge_admin` | can view and manage Mist edges and Mist tunnels | | `lobby_admin` | full access to Org and Site Pre-shared keys |
const ( PrivilegeMspViewEnum_REPORTING PrivilegeMspViewEnum = "reporting" PrivilegeMspViewEnum_MARKETING PrivilegeMspViewEnum = "marketing" PrivilegeMspViewEnum_LOCATION PrivilegeMspViewEnum = "location" PrivilegeMspViewEnum_SECURITY PrivilegeMspViewEnum = "security" PrivilegeMspViewEnum_SWITCHADMIN PrivilegeMspViewEnum = "switch_admin" PrivilegeMspViewEnum_MXEDGEADMIN PrivilegeMspViewEnum = "mxedge_admin" PrivilegeMspViewEnum_LOBBYADMIN PrivilegeMspViewEnum = "lobby_admin" )
type PrivilegeOrg ¶
type PrivilegeOrg struct {
// access permissions
Role PrivilegeOrgRoleEnum `json:"role"`
Scope PrivilegeOrgScopeEnum `json:"scope"`
// if `scope`==`site`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// if `scope`==`sitegroup`
SitegroupId *uuid.UUID `json:"sitegroup_id,omitempty"`
// Custom roles restrict Org users to specific UI views. This is useful for limiting UI access of Org users.
// You can invite a new user or update existing users in your Org to this custom role. For this, specify view along with role when assigning privileges.
// Below are the list of supported UI views. Note that this is UI only feature
// Custom roles restrict Org users to specific UI views. This is useful for limiting UI access of Org users.
// You can invite a new user or update existing users in your Org to this custom role. For this, specify `view` along with `role` when assigning privileges.
// Below are the list of supported UI views. Note that this is UI only feature
// | UI View | Description |
// | --- | --- |
// | `reporting` | full access to all analytics tools |
// | `marketing` | can view analytics and location maps |
// | `location` | can view and manage location maps |
// | `security` | can view and manage WLAN, rogues and authentication |
// | `switch_admin` | can view and manage Switch ports |
// | `mxedge_admin` | can view and manage Mist edges and Mist tunnels |
// | `lobby_admin` | full access to Org and Site Pre-shared keys |
Views *PrivilegeOrgViewsEnum `json:"views,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
PrivilegeOrg represents a PrivilegeOrg struct. Privilieges 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) 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
const ( PrivilegeOrgRoleEnum_ADMIN PrivilegeOrgRoleEnum = "admin" PrivilegeOrgRoleEnum_WRITE PrivilegeOrgRoleEnum = "write" PrivilegeOrgRoleEnum_READ PrivilegeOrgRoleEnum = "read" PrivilegeOrgRoleEnum_HELPDESK PrivilegeOrgRoleEnum = "helpdesk" PrivilegeOrgRoleEnum_INSTALLER PrivilegeOrgRoleEnum = "installer" )
type PrivilegeOrgScopeEnum ¶
type PrivilegeOrgScopeEnum string
PrivilegeOrgScopeEnum is a string enum.
const ( PrivilegeOrgScopeEnum_ORG PrivilegeOrgScopeEnum = "org" PrivilegeOrgScopeEnum_SITE PrivilegeOrgScopeEnum = "site" PrivilegeOrgScopeEnum_SITEGROUP PrivilegeOrgScopeEnum = "sitegroup" )
type PrivilegeOrgViewsEnum ¶
type PrivilegeOrgViewsEnum string
PrivilegeOrgViewsEnum is a string enum. Custom roles restrict Org users to specific UI views. This is useful for limiting UI access of Org users. You can invite a new user or update existing users in your Org to this custom role. For this, specify view along with role when assigning privileges. Below are the list of supported UI views. Note that this is UI only feature Custom roles restrict Org users to specific UI views. This is useful for limiting UI access of Org users. You can invite a new user or update existing users in your Org to this custom role. For this, specify `view` along with `role` when assigning privileges. Below are the list of supported UI views. Note that this is UI only feature | UI View | Description | | --- | --- | | `reporting` | full access to all analytics tools | | `marketing` | can view analytics and location maps | | `location` | can view and manage location maps | | `security` | can view and manage WLAN, rogues and authentication | | `switch_admin` | can view and manage Switch ports | | `mxedge_admin` | can view and manage Mist edges and Mist tunnels | | `lobby_admin` | full access to Org and Site Pre-shared keys |
const ( PrivilegeOrgViewsEnum_REPORTING PrivilegeOrgViewsEnum = "reporting" PrivilegeOrgViewsEnum_MARKETING PrivilegeOrgViewsEnum = "marketing" PrivilegeOrgViewsEnum_LOCATION PrivilegeOrgViewsEnum = "location" PrivilegeOrgViewsEnum_SECURITY PrivilegeOrgViewsEnum = "security" PrivilegeOrgViewsEnum_SWITCHADMIN PrivilegeOrgViewsEnum = "switch_admin" PrivilegeOrgViewsEnum_MXEDGEADMIN PrivilegeOrgViewsEnum = "mxedge_admin" PrivilegeOrgViewsEnum_LOBBYADMIN PrivilegeOrgViewsEnum = "lobby_admin" )
type PrivilegeSelf ¶
type PrivilegeSelf struct {
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"`
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
Role PrivilegeSelfRoleEnum `json:"role"`
Scope PrivilegeSelfScopeEnum `json:"scope"`
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.
// You can invite a new user or update existing users in your Org to this custom role. For this, specify view along with role when assigning privileges.
// Below are the list of supported UI views. Note that this is UI only feature
// Custom roles restrict Org users to specific UI views. This is useful for limiting UI access of Org users.
// You can invite a new user or update existing users in your Org to this custom role. For this, specify `view` along with `role` when assigning privileges.
// Below are the list of supported UI views. Note that this is UI only feature
// | UI View | Description |
// | --- | --- |
// | `reporting` | full access to all analytics tools |
// | `marketing` | can view analytics and location maps |
// | `location` | can view and manage location maps |
// | `security` | can view and manage WLAN, rogues and authentication |
// | `switch_admin` | can view and manage Switch ports |
// | `mxedge_admin` | can view and manage Mist edges and Mist tunnels |
// | `lobby_admin` | full access to Org and Site Pre-shared keys |
Views *PrivilegeSelfViewsEnum `json:"views,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
PrivilegeSelf represents a PrivilegeSelf struct. Privilieges settings
func (PrivilegeSelf) MarshalJSON ¶
func (p PrivilegeSelf) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PrivilegeSelf. It customizes the JSON marshaling process for PrivilegeSelf objects.
func (*PrivilegeSelf) UnmarshalJSON ¶
func (p *PrivilegeSelf) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PrivilegeSelf. It customizes the JSON unmarshaling process for PrivilegeSelf objects.
type PrivilegeSelfRoleEnum ¶
type PrivilegeSelfRoleEnum string
PrivilegeSelfRoleEnum is a string enum. access permissions
const ( PrivilegeSelfRoleEnum_ADMIN PrivilegeSelfRoleEnum = "admin" PrivilegeSelfRoleEnum_WRITE PrivilegeSelfRoleEnum = "write" PrivilegeSelfRoleEnum_READ PrivilegeSelfRoleEnum = "read" PrivilegeSelfRoleEnum_HELPDESK PrivilegeSelfRoleEnum = "helpdesk" PrivilegeSelfRoleEnum_INSTALLER PrivilegeSelfRoleEnum = "installer" )
type PrivilegeSelfScopeEnum ¶
type PrivilegeSelfScopeEnum string
PrivilegeSelfScopeEnum is a string enum.
const ( PrivilegeSelfScopeEnum_MSP PrivilegeSelfScopeEnum = "msp" PrivilegeSelfScopeEnum_ORG PrivilegeSelfScopeEnum = "org" PrivilegeSelfScopeEnum_ORGGROUP PrivilegeSelfScopeEnum = "orggroup" PrivilegeSelfScopeEnum_SITE PrivilegeSelfScopeEnum = "site" PrivilegeSelfScopeEnum_SITEGROUP PrivilegeSelfScopeEnum = "sitegroup" )
type PrivilegeSelfViewsEnum ¶
type PrivilegeSelfViewsEnum string
PrivilegeSelfViewsEnum is a string enum. Custom roles restrict Org users to specific UI views. This is useful for limiting UI access of Org users. You can invite a new user or update existing users in your Org to this custom role. For this, specify view along with role when assigning privileges. Below are the list of supported UI views. Note that this is UI only feature Custom roles restrict Org users to specific UI views. This is useful for limiting UI access of Org users. You can invite a new user or update existing users in your Org to this custom role. For this, specify `view` along with `role` when assigning privileges. Below are the list of supported UI views. Note that this is UI only feature | UI View | Description | | --- | --- | | `reporting` | full access to all analytics tools | | `marketing` | can view analytics and location maps | | `location` | can view and manage location maps | | `security` | can view and manage WLAN, rogues and authentication | | `switch_admin` | can view and manage Switch ports | | `mxedge_admin` | can view and manage Mist edges and Mist tunnels | | `lobby_admin` | full access to Org and Site Pre-shared keys |
const ( PrivilegeSelfViewsEnum_REPORTING PrivilegeSelfViewsEnum = "reporting" PrivilegeSelfViewsEnum_MARKETING PrivilegeSelfViewsEnum = "marketing" PrivilegeSelfViewsEnum_LOCATION PrivilegeSelfViewsEnum = "location" PrivilegeSelfViewsEnum_SECURITY PrivilegeSelfViewsEnum = "security" PrivilegeSelfViewsEnum_SWITCHADMIN PrivilegeSelfViewsEnum = "switch_admin" PrivilegeSelfViewsEnum_MXEDGEADMIN PrivilegeSelfViewsEnum = "mxedge_admin" PrivilegeSelfViewsEnum_LOBBYADMIN PrivilegeSelfViewsEnum = "lobby_admin" )
type ProtectRe ¶
type ProtectRe struct {
// optionally, services we'll allow
AllowedServices []string `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"`
// host/subnets we'll allow traffic to/from
TrustedHosts []string `json:"trusted_hosts,omitempty"`
AdditionalProperties map[string]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for ProtectRe. It customizes the JSON unmarshaling process for ProtectRe objects.
type ProtectReCustom ¶
type ProtectReCustom struct {
// matched dst port, "0" means any
PortRange *string `json:"port_range,omitempty"`
Protocol *ProtectReCustomProtocolEnum `json:"protocol,omitempty"`
Subnet []string `json:"subnet,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( ProtectReCustomProtocolEnum_TCP ProtectReCustomProtocolEnum = "tcp" ProtectReCustomProtocolEnum_UDP ProtectReCustomProtocolEnum = "udp" ProtectReCustomProtocolEnum_ICMP ProtectReCustomProtocolEnum = "icmp" ProtectReCustomProtocolEnum_ANY ProtectReCustomProtocolEnum = "any" )
type Proxy ¶
type Proxy struct {
Url *string `json:"url,omitempty"`
AdditionalProperties map[string]any `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) 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"`
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"`
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(11:22:*) 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"`
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"`
Usage *PskUsageEnum `json:"usage,omitempty"`
// VLAN for this PSK key
VlanId *PskVlanId `json:"vlan_id,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for PskIdList. It customizes the JSON unmarshaling process for PskIdList objects.
type PskPortal ¶
type PskPortal struct {
// Note: `sponsor` not yet available
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"`
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"`
Id *string `json:"id,omitempty"`
// `max_usage`==`0` means unlimited
MaxUsage *int `json:"max_usage,omitempty"`
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
Type *PskPortalTypeEnum `json:"type,omitempty"`
VlanId *PskPortalVlanId `json:"vlan_id,omitempty"`
AdditionalProperties map[string]any `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) 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. Note: `sponsor` not yet available
const ( PskPortalAuthEnum_SSO PskPortalAuthEnum = "sso" PskPortalAuthEnum_SPONSOR PskPortalAuthEnum = "sponsor" )
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]any `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) 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 {
AlphabertsEnabled *bool `json:"alphaberts_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"`
// 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`
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]any `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) 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"`
IdpSignAlgo *string `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]any `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) 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 PskPortalTemplate ¶
type PskPortalTemplate struct {
// defines alignment on portal
Alignment *PskPortalTemplateAlignmentEnum `json:"alignment,omitempty"`
Color *string `json:"color,omitempty"`
// custom logo. 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"`
AdditionalProperties map[string]any `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) 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 PskPortalTemplateAlignmentEnum ¶
type PskPortalTemplateAlignmentEnum string
PskPortalTemplateAlignmentEnum is a string enum. defines alignment on portal
const ( PskPortalTemplateAlignmentEnum_LEFT PskPortalTemplateAlignmentEnum = "left" PskPortalTemplateAlignmentEnum_CENTER PskPortalTemplateAlignmentEnum = "center" PskPortalTemplateAlignmentEnum_RIGHT PskPortalTemplateAlignmentEnum = "right" )
type PskPortalTypeEnum ¶
type PskPortalTypeEnum string
PskPortalTypeEnum is a string enum. for personal psk portal
const ( PskPortalTypeEnum_BYOD PskPortalTypeEnum = "byod" PskPortalTypeEnum_ADMIN PskPortalTypeEnum = "admin" )
type PskPortalVlanId ¶ added in v0.2.20
type PskPortalVlanId struct {
// contains filtered or unexported fields
}
PskPortalVlanId represents a PskPortalVlanId struct. This is a container for one-of cases.
func (*PskPortalVlanId) AsNumber ¶ added in v0.2.20
func (p *PskPortalVlanId) AsNumber() ( *int, bool)
func (*PskPortalVlanId) AsString ¶ added in v0.2.20
func (p *PskPortalVlanId) AsString() ( *string, bool)
func (PskPortalVlanId) MarshalJSON ¶ added in v0.2.20
func (p PskPortalVlanId) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PskPortalVlanId. It customizes the JSON marshaling process for PskPortalVlanId objects.
func (PskPortalVlanId) String ¶ added in v0.2.20
func (p PskPortalVlanId) String() string
String converts the PskPortalVlanId object to a string representation.
func (*PskPortalVlanId) UnmarshalJSON ¶ added in v0.2.20
func (p *PskPortalVlanId) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PskPortalVlanId. It customizes the JSON unmarshaling process for PskPortalVlanId objects.
type PskUsageEnum ¶
type PskUsageEnum string
PskUsageEnum is a string enum.
const ( PskUsageEnum_MULTI PskUsageEnum = "multi" PskUsageEnum_SINGLE PskUsageEnum = "single" PskUsageEnum_MACS PskUsageEnum = "macs" )
type PskVlanId ¶ added in v0.2.20
type PskVlanId struct {
// contains filtered or unexported fields
}
PskVlanId represents a PskVlanId struct. This is a container for one-of cases.
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 converts the PskVlanId object to a string representation.
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]any `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) 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"`
// hours of operation filter, the available days (mon, tue, wed, thu, fri, sat, sun).
// **Note**: If the dow is not defined then it’s treated as 00:00-23:59.
Hours *Hours `json:"hours,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( RadioBand24UsageEnum_ENUM24 RadioBand24UsageEnum = "24" RadioBand24UsageEnum_ENUM5 RadioBand24UsageEnum = "5" RadioBand24UsageEnum_ENUM6 RadioBand24UsageEnum = "6" RadioBand24UsageEnum_AUTO RadioBand24UsageEnum = "auto" )
type RadioBandAntennaModeEnum ¶
type RadioBandAntennaModeEnum string
RadioBandAntennaModeEnum is a string enum.
const ( RadioBandAntennaModeEnum_ENUMDEFAULT RadioBandAntennaModeEnum = "default" RadioBandAntennaModeEnum_ENUM1X1 RadioBandAntennaModeEnum = "1x1" RadioBandAntennaModeEnum_ENUM2X2 RadioBandAntennaModeEnum = "2x2" RadioBandAntennaModeEnum_ENUM3X3 RadioBandAntennaModeEnum = "3x3" RadioBandAntennaModeEnum_ENUM4X4 RadioBandAntennaModeEnum = "4x4" )
type RadioBandPreambleEnum ¶
type RadioBandPreambleEnum string
RadioBandPreambleEnum is a string enum.
const ( RadioBandPreambleEnum_SHORT RadioBandPreambleEnum = "short" RadioBandPreambleEnum_LONG RadioBandPreambleEnum = "long" RadioBandPreambleEnum_AUTO RadioBandPreambleEnum = "auto" )
type RadiusAcctServer ¶
type RadiusAcctServer struct {
// ip / hostname of RADIUS server
Host string `json:"host"`
KeywrapEnabled *bool `json:"keywrap_enabled,omitempty"`
KeywrapFormat *RadiusKeywrapFormatEnum `json:"keywrap_format,omitempty"`
KeywrapKek *string `json:"keywrap_kek,omitempty"`
KeywrapMack *string `json:"keywrap_mack,omitempty"`
// Acct port of RADIUS server
Port *int `json:"port,omitempty"`
// secret of RADIUS server
Secret string `json:"secret"`
AdditionalProperties map[string]any `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) 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 RadiusAuthServer ¶
type RadiusAuthServer struct {
// ip / hostname of RADIUS server
Host string `json:"host"`
KeywrapEnabled *bool `json:"keywrap_enabled,omitempty"`
KeywrapFormat *RadiusKeywrapFormatEnum `json:"keywrap_format,omitempty"`
KeywrapKek *string `json:"keywrap_kek,omitempty"`
KeywrapMack *string `json:"keywrap_mack,omitempty"`
// Auth port of RADIUS server
Port *int `json:"port,omitempty"`
// secret of RADIUS server
Secret string `json:"secret"`
AdditionalProperties map[string]any `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) 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 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]any `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) 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.
const ( RadiusKeywrapFormatEnum_HEX RadiusKeywrapFormatEnum = "hex" RadiusKeywrapFormatEnum_ASCII RadiusKeywrapFormatEnum = "ascii" )
type Radsec ¶
type Radsec struct {
CoaEnabled *bool `json:"coa_enabled,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
IdleTimeout *int `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 radsecproxy
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]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Radsec. It customizes the JSON unmarshaling process for Radsec objects.
type RadsecServer ¶
type RadsecServer struct {
Host *string `json:"host,omitempty"`
Port *int `json:"port,omitempty"`
AdditionalProperties map[string]any `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) 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 Recaptcha ¶
type Recaptcha struct {
// flavor of the captcha
Flavor *RecaptchaFlavorEnum `json:"flavor,omitempty"`
Required *bool `json:"required,omitempty"`
Sitekey *string `json:"sitekey,omitempty"`
AdditionalProperties map[string]any `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) 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
const ( RecaptchaFlavorEnum_HCAPTCHA RecaptchaFlavorEnum = "hcaptcha" RecaptchaFlavorEnum_GOOGLE RecaptchaFlavorEnum = "google" )
type Recover ¶
type Recover struct {
Email string `json:"email"`
// see https://www.google.com/recaptcha/
Recaptcha *string `json:"recaptcha,omitempty"`
// flavor of the captcha
RecaptchaFlavor *RecaptchaFlavorEnum `json:"recaptcha_flavor,omitempty"`
AdditionalProperties map[string]any `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) 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"`
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"`
TimeFormat *RemoteSyslogTimeFormatEnum `json:"time_format,omitempty"`
Users []RemoteSyslogUser `json:"users,omitempty"`
AdditionalProperties map[string]any `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) 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 *int `json:"files,omitempty"`
Size *string `json:"size,omitempty"`
AdditionalProperties map[string]any `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) 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 RemoteSyslogConsole ¶
type RemoteSyslogConsole struct {
Contents []RemoteSyslogContent `json:"contents,omitempty"`
AdditionalProperties map[string]any `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) 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 {
Facility *RemoteSyslogFacilityEnum `json:"facility,omitempty"`
Severity *RemoteSyslogSeverityEnum `json:"severity,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( RemoteSyslogFacilityEnum_ANY RemoteSyslogFacilityEnum = "any" RemoteSyslogFacilityEnum_AUTHORIZATION RemoteSyslogFacilityEnum = "authorization" RemoteSyslogFacilityEnum_CONFLICTLOG RemoteSyslogFacilityEnum = "conflict-log" RemoteSyslogFacilityEnum_CHANGELOG RemoteSyslogFacilityEnum = "change-log" RemoteSyslogFacilityEnum_CONFIG RemoteSyslogFacilityEnum = "config" RemoteSyslogFacilityEnum_DAEMON RemoteSyslogFacilityEnum = "daemon" RemoteSyslogFacilityEnum_DFC RemoteSyslogFacilityEnum = "dfc" RemoteSyslogFacilityEnum_KERNEL RemoteSyslogFacilityEnum = "kernel" RemoteSyslogFacilityEnum_INTERACTIVECOMMANDS RemoteSyslogFacilityEnum = "interactive-commands" RemoteSyslogFacilityEnum_FTP RemoteSyslogFacilityEnum = "ftp" RemoteSyslogFacilityEnum_FIREWALL RemoteSyslogFacilityEnum = "firewall" RemoteSyslogFacilityEnum_EXTERNAL RemoteSyslogFacilityEnum = "external" RemoteSyslogFacilityEnum_PFE RemoteSyslogFacilityEnum = "pfe" RemoteSyslogFacilityEnum_NTP RemoteSyslogFacilityEnum = "ntp" RemoteSyslogFacilityEnum_SECURITY RemoteSyslogFacilityEnum = "security" RemoteSyslogFacilityEnum_USER RemoteSyslogFacilityEnum = "user" )
type RemoteSyslogFileConfig ¶
type RemoteSyslogFileConfig struct {
Archive *RemoteSyslogArchive `json:"archive,omitempty"`
Contents []RemoteSyslogContent `json:"contents,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]any `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) 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"`
Facility *RemoteSyslogFacilityEnum `json:"facility,omitempty"`
Host *string `json:"host,omitempty"`
Match *string `json:"match,omitempty"`
Port *int `json:"port,omitempty"`
Protocol *RemoteSyslogServerProtocolEnum `json:"protocol,omitempty"`
RoutingInstance *string `json:"routing_instance,omitempty"`
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]any `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) 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 RemoteSyslogServerProtocolEnum ¶
type RemoteSyslogServerProtocolEnum string
RemoteSyslogServerProtocolEnum is a string enum.
const ( RemoteSyslogServerProtocolEnum_UDP RemoteSyslogServerProtocolEnum = "udp" RemoteSyslogServerProtocolEnum_TCP RemoteSyslogServerProtocolEnum = "tcp" )
type RemoteSyslogSeverityEnum ¶
type RemoteSyslogSeverityEnum string
RemoteSyslogSeverityEnum is a string enum.
const ( RemoteSyslogSeverityEnum_ANY RemoteSyslogSeverityEnum = "any" RemoteSyslogSeverityEnum_ALERT RemoteSyslogSeverityEnum = "alert" RemoteSyslogSeverityEnum_EMERGENCY RemoteSyslogSeverityEnum = "emergency" RemoteSyslogSeverityEnum_CRITICAL RemoteSyslogSeverityEnum = "critical" RemoteSyslogSeverityEnum_WARNING RemoteSyslogSeverityEnum = "warning" RemoteSyslogSeverityEnum_INFO RemoteSyslogSeverityEnum = "info" RemoteSyslogSeverityEnum_NOTICE RemoteSyslogSeverityEnum = "notice" RemoteSyslogSeverityEnum_ENUMERROR RemoteSyslogSeverityEnum = "error" )
type RemoteSyslogTimeFormatEnum ¶
type RemoteSyslogTimeFormatEnum string
RemoteSyslogTimeFormatEnum is a string enum.
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]any `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) 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"`
// the 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]any `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) 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 ReponseRouter128TRegisterCmd ¶
type ReponseRouter128TRegisterCmd struct {
ConductorCmd *string `json:"conductor_cmd,omitempty"`
RegistrationCode *string `json:"registration_code,omitempty"`
RouterShellCmd *string `json:"router_shell_cmd,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ReponseRouter128TRegisterCmd represents a ReponseRouter128TRegisterCmd struct.
func (ReponseRouter128TRegisterCmd) MarshalJSON ¶
func (r ReponseRouter128TRegisterCmd) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ReponseRouter128TRegisterCmd. It customizes the JSON marshaling process for ReponseRouter128TRegisterCmd objects.
func (*ReponseRouter128TRegisterCmd) UnmarshalJSON ¶
func (r *ReponseRouter128TRegisterCmd) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ReponseRouter128TRegisterCmd. It customizes the JSON unmarshaling process for ReponseRouter128TRegisterCmd objects.
type ReponseSynthetictest ¶
type ReponseSynthetictest struct {
Id *uuid.UUID `json:"id,omitempty"`
Message *string `json:"message,omitempty"`
Status *string `json:"status,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ReponseSynthetictest represents a ReponseSynthetictest struct.
func (ReponseSynthetictest) MarshalJSON ¶
func (r ReponseSynthetictest) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ReponseSynthetictest. It customizes the JSON marshaling process for ReponseSynthetictest objects.
func (*ReponseSynthetictest) UnmarshalJSON ¶
func (r *ReponseSynthetictest) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ReponseSynthetictest. It customizes the JSON unmarshaling process for ReponseSynthetictest objects.
type ReponseSynthetictestSearch ¶
type ReponseSynthetictestSearch 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]any `json:"_"`
}
ReponseSynthetictestSearch represents a ReponseSynthetictestSearch struct.
func (ReponseSynthetictestSearch) MarshalJSON ¶
func (r ReponseSynthetictestSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ReponseSynthetictestSearch. It customizes the JSON marshaling process for ReponseSynthetictestSearch objects.
func (*ReponseSynthetictestSearch) UnmarshalJSON ¶
func (r *ReponseSynthetictestSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ReponseSynthetictestSearch. It customizes the JSON unmarshaling process for ReponseSynthetictestSearch objects.
type RepsonseCount ¶
type RepsonseCount 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]any `json:"_"`
}
RepsonseCount represents a RepsonseCount struct.
func (RepsonseCount) MarshalJSON ¶
func (r RepsonseCount) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RepsonseCount. It customizes the JSON marshaling process for RepsonseCount objects.
func (*RepsonseCount) UnmarshalJSON ¶
func (r *RepsonseCount) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RepsonseCount. It customizes the JSON unmarshaling process for RepsonseCount objects.
type ResolutionEnum ¶
type ResolutionEnum string
ResolutionEnum is a string enum.
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]any `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) 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]any `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) 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 ResponseAutoOrientation ¶
type ResponseAutoOrientation struct {
// The state of auto orient for a given map derived from an Enum
State *AutoOrientationStateEnum `json:"state,omitempty"`
// Time when auto orient process was last queued for this map
TimeQueued *float64 `json:"time_queued,omitempty"`
AdditionalProperties map[string]any `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) 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 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 *float64 `json:"start_time,omitempty"`
// the status of autoplacement for a given map
Status *AutoPlacementInfoStatusEnum `json:"status,omitempty"`
AdditionalProperties map[string]any `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) 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 ResponseCertificate ¶
type ResponseCertificate struct {
Cert string `json:"cert"`
AdditionalProperties map[string]any `json:"_"`
}
ResponseCertificate represents a ResponseCertificate struct.
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) 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"`
LicenseAdded []ResponseClaimLicenseLicenseItem `json:"license_added"`
LicenseDuplicated []ResponseClaimLicenseLicenseItem `json:"license_duplicated"`
LicenseError []ResponseClaimLicenseLicenseErrorItem `json:"license_error"`
AdditionalProperties map[string]any `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) 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]any `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) 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 ResponseClaimLicenseLicenseErrorItem ¶
type ResponseClaimLicenseLicenseErrorItem struct {
Order string `json:"order"`
Reason string `json:"reason"`
AdditionalProperties map[string]any `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) 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]any `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) 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 {
Id uuid.UUID `json:"id"`
Magic string `json:"magic"`
AdditionalProperties map[string]any `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) 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]any `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) 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"`
Results []ClientNac `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `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) 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"`
Timestamp float64 `json:"timestamp"`
WlanId uuid.UUID `json:"wlan_id"`
AdditionalProperties map[string]any `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) 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]any `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) 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"`
Timestamp float64 `json:"timestamp"`
Version string `json:"version"`
Wlans []ResponseConfigHistorySearchItemWlan `json:"wlans,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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"`
Id uuid.UUID `json:"id"`
Ssid string `json:"ssid"`
VlanIds []string `json:"vlan_ids,omitempty"`
AdditionalProperties map[string]any `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) 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 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]any `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) 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]any `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) 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"`
Timestamp *int `json:"timestamp,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `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) 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 []EventsDeviceAp `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]any `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) 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"`
Results []ResponseDeviceMetricsResults `json:"results"`
Rt []string `json:"rt,omitempty"`
Start int `json:"start"`
AdditionalProperties map[string]any `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) 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 ResponseDeviceMetricsResults ¶
type ResponseDeviceMetricsResults struct {
// contains filtered or unexported fields
}
ResponseDeviceMetricsResults represents a ResponseDeviceMetricsResults struct. This is Array of a container for one-of cases.
func (*ResponseDeviceMetricsResults) AsNumber ¶
func (r *ResponseDeviceMetricsResults) AsNumber() ( *int, bool)
func (*ResponseDeviceMetricsResults) AsString ¶
func (r *ResponseDeviceMetricsResults) AsString() ( *string, bool)
func (ResponseDeviceMetricsResults) MarshalJSON ¶
func (r ResponseDeviceMetricsResults) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDeviceMetricsResults. It customizes the JSON marshaling process for ResponseDeviceMetricsResults objects.
func (ResponseDeviceMetricsResults) String ¶
func (r ResponseDeviceMetricsResults) String() string
String converts the ResponseDeviceMetricsResults object to a string representation.
func (*ResponseDeviceMetricsResults) UnmarshalJSON ¶
func (r *ResponseDeviceMetricsResults) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseDeviceMetricsResults. It customizes the JSON unmarshaling process for ResponseDeviceMetricsResults objects.
type ResponseDeviceRadioChannels ¶
type ResponseDeviceRadioChannels struct {
Band2440mhzAllowed bool `json:"band24_40mhz_allowed"`
// Property key is the channel width
Band24Channels map[string]interface{} `json:"band24_channels"`
Band24Enabled bool `json:"band24_enabled"`
// Property key is the channel width
Band5Channels map[string]interface{} `json:"band5_channels"`
Band5Enabled bool `json:"band5_enabled"`
// Property key is the channel width
Band6Channels map[string]interface{} `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]any `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) 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 []ResponseDeviceSearchResults `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]any `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) 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 ResponseDeviceSearchResults ¶
type ResponseDeviceSearchResults struct {
// contains filtered or unexported fields
}
ResponseDeviceSearchResults represents a ResponseDeviceSearchResults struct. This is Array of a container for any-of cases.
func (*ResponseDeviceSearchResults) AsApSearch ¶
func (r *ResponseDeviceSearchResults) AsApSearch() ( *ApSearch, bool)
func (*ResponseDeviceSearchResults) AsGatewaySearch ¶
func (r *ResponseDeviceSearchResults) AsGatewaySearch() ( *GatewaySearch, bool)
func (*ResponseDeviceSearchResults) AsSwitchSearch ¶
func (r *ResponseDeviceSearchResults) AsSwitchSearch() ( *SwitchSearch, bool)
func (ResponseDeviceSearchResults) MarshalJSON ¶
func (r ResponseDeviceSearchResults) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDeviceSearchResults. It customizes the JSON marshaling process for ResponseDeviceSearchResults objects.
func (ResponseDeviceSearchResults) String ¶
func (r ResponseDeviceSearchResults) String() string
String converts the ResponseDeviceSearchResults object to a string representation.
func (*ResponseDeviceSearchResults) UnmarshalJSON ¶
func (r *ResponseDeviceSearchResults) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseDeviceSearchResults. It customizes the JSON unmarshaling process for ResponseDeviceSearchResults objects.
type ResponseDeviceSearchResultsItems ¶
type ResponseDeviceSearchResultsItems struct {
// Bandwith of band_24
Band24Bandwith *string `json:"band_24_bandwith,omitempty"`
// Channel of band_24
Band24Channel *int `json:"band_24_channel,omitempty"`
Band24Power *int `json:"band_24_power,omitempty"`
// Bandwith of band_5
Band5Bandwith *string `json:"band_5_bandwith,omitempty"`
// Channel of band_5
Band5Channel *int `json:"band_5_channel,omitempty"`
Band5Power *int `json:"band_5_power,omitempty"`
Band6Bandwith *string `json:"band_6_bandwith,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"`
// ip address
Ip *string `json:"ip,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"`
// MxTunnel status
MxtunnelStatus *string `json:"mxtunnel_status,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
PowerConstrained *bool `json:"power_constrained,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Sku *string `json:"sku,omitempty"`
Timestamp *float64 `json:"timestamp,omitempty"`
Uptime *int `json:"uptime,omitempty"`
// version
Version *string `json:"version,omitempty"`
LastHostname *string `json:"last_hostname,omitempty"`
NumMembers *int `json:"num_members,omitempty"`
Type *string `json:"type,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ResponseDeviceSearchResultsItems represents a ResponseDeviceSearchResultsItems struct.
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) 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 ResponseDeviceSnapshot ¶
type ResponseDeviceSnapshot struct {
// the internal status id
StatusId *string `json:"status_id,omitempty"`
Staus *ResponseDeviceSnapshotStatusEnum `json:"staus,omitempty"`
Timestamp *float64 `json:"timestamp,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ResponseDeviceSnapshot represents a ResponseDeviceSnapshot struct.
func (ResponseDeviceSnapshot) MarshalJSON ¶
func (r ResponseDeviceSnapshot) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDeviceSnapshot. It customizes the JSON marshaling process for ResponseDeviceSnapshot objects.
func (*ResponseDeviceSnapshot) UnmarshalJSON ¶
func (r *ResponseDeviceSnapshot) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseDeviceSnapshot. It customizes the JSON unmarshaling process for ResponseDeviceSnapshot objects.
type ResponseDeviceSnapshotStatusEnum ¶
type ResponseDeviceSnapshotStatusEnum string
ResponseDeviceSnapshotStatusEnum is a string enum.
const ( ResponseDeviceSnapshotStatusEnum_STARTING ResponseDeviceSnapshotStatusEnum = "starting" ResponseDeviceSnapshotStatusEnum_INPROGRESS ResponseDeviceSnapshotStatusEnum = "inprogress" ResponseDeviceSnapshotStatusEnum_SUCCESS ResponseDeviceSnapshotStatusEnum = "success" ResponseDeviceSnapshotStatusEnum_ENUMERROR ResponseDeviceSnapshotStatusEnum = "error" ResponseDeviceSnapshotStatusEnum_SCHEDULED ResponseDeviceSnapshotStatusEnum = "scheduled" )
type ResponseDeviceUpgrade ¶
type ResponseDeviceUpgrade struct {
Counts *ResponseDeviceUpgradeCounts `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 for the upgrade
Id uuid.UUID `json:"id"`
// percentage of failures allowed
MaxFailurePercentage *int `json:"max_failure_percentage,omitempty"`
// number of failures allowed within a canary phase or serial rollout
MaxFailures []int `json:"max_failures,omitempty"`
// reboot start time in epoch
RebootAt *int `json:"reboot_at,omitempty"`
// firmware download start time in epoch
StartTime *float64 `json:"start_time,omitempty"`
// status upgrade is in
Status *DeviceUpgradeStatusEnum `json:"status,omitempty"`
// `big_bang` (upgrade all at once), `serial` (one at a time), `canary` or `rrm`
Strategy *DeviceUpgradeStrategyEnum `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]any `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) 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 ResponseDeviceUpgradeCounts ¶
type ResponseDeviceUpgradeCounts 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 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]any `json:"_"`
}
ResponseDeviceUpgradeCounts represents a ResponseDeviceUpgradeCounts struct.
func (ResponseDeviceUpgradeCounts) MarshalJSON ¶
func (r ResponseDeviceUpgradeCounts) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDeviceUpgradeCounts. It customizes the JSON marshaling process for ResponseDeviceUpgradeCounts objects.
func (*ResponseDeviceUpgradeCounts) UnmarshalJSON ¶
func (r *ResponseDeviceUpgradeCounts) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseDeviceUpgradeCounts. It customizes the JSON unmarshaling process for ResponseDeviceUpgradeCounts 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]any `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) 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]any `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) 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]any `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) 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"`
Results []EventsDeviceAp `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]any `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) 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"`
// the 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]any `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) 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"`
Results []EventNacClient `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]any `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) 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"`
Results []OrgEvent `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]any `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) 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"`
Results *EventOtherdevice `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]any `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) 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"`
Results []ServicePathEvent `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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"`
// the 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]any `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) 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]any `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) 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]any `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) 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"`
Results []Guest `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]any `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) 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]any `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) 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"`
Results []InsightRogueClient `json:"results"`
Start int `json:"start"`
AdditionalProperties map[string]any `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) 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"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `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) 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 calulate the pixel location from top-left).
BeamsMeans [][]float64 `json:"beams_means"`
End int `json:"end"`
// the 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]any `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) 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 []ResponseLogSearchItem `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]any `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) 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 ResponseLogSearchItem ¶
type ResponseLogSearchItem struct {
// admin id
AdminId *uuid.UUID `json:"admin_id"`
// name of the admin that performs the action
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"`
Id *uuid.UUID `json:"id,omitempty"`
// log message
Message string `json:"message"`
// org id
OrgId uuid.UUID `json:"org_id"`
SiteId uuid.UUID `json:"site_id"`
// start time, in epoch
Timestamp float64 `json:"timestamp"`
AdditionalProperties map[string]any `json:"_"`
}
ResponseLogSearchItem represents a ResponseLogSearchItem struct.
func (ResponseLogSearchItem) MarshalJSON ¶
func (r ResponseLogSearchItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseLogSearchItem. It customizes the JSON marshaling process for ResponseLogSearchItem objects.
func (*ResponseLogSearchItem) UnmarshalJSON ¶
func (r *ResponseLogSearchItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseLogSearchItem. It customizes the JSON unmarshaling process for ResponseLogSearchItem objects.
type ResponseLoginLookup ¶
type ResponseLoginLookup struct {
SsoUrl *string `json:"sso_url,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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 {
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]any `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) 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.
const ( ResponseMapImportApActionEnum_PLACED ResponseMapImportApActionEnum = "placed" ResponseMapImportApActionEnum_ASSIGNEDPLACED ResponseMapImportApActionEnum = "assigned-placed" ResponseMapImportApActionEnum_NAMEDPLACED ResponseMapImportApActionEnum = "named-placed" ResponseMapImportApActionEnum_ASSIGNEDNAMEDPLACED ResponseMapImportApActionEnum = "assigned-named-placed" ResponseMapImportApActionEnum_IGNORED ResponseMapImportApActionEnum = "ignored" )
type ResponseMapImportFloorplan ¶
type ResponseMapImportFloorplan struct {
Action string `json:"action"`
Id uuid.UUID `json:"id"`
MapId uuid.UUID `json:"map_id"`
Name string `json:"name"`
Reason *string `json:"reason,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `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) 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]any `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) 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"`
Page *int `json:"page,omitempty"`
Results []MxedgeEvent `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
AdditionalProperties map[string]any `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) 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"`
Results []MxedgeStats `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]any `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) 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"`
Id string `json:"id"`
Status string `json:"status"`
Strategy string `json:"strategy"`
Versions interface{} `json:"versions"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `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) 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 ResponseOauthAppLink ¶
type ResponseOauthAppLink struct {
// List of linked account details
Accounts []ResponseOauthAppLinkAccounts `json:"accounts,omitempty"`
// Basic Auth application linked status in mist portal enabled for VMware
Linked *bool `json:"linked,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ResponseOauthAppLink represents a ResponseOauthAppLink struct.
func (ResponseOauthAppLink) MarshalJSON ¶
func (r ResponseOauthAppLink) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseOauthAppLink. It customizes the JSON marshaling process for ResponseOauthAppLink objects.
func (*ResponseOauthAppLink) UnmarshalJSON ¶
func (r *ResponseOauthAppLink) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseOauthAppLink. It customizes the JSON unmarshaling process for ResponseOauthAppLink objects.
type ResponseOauthAppLinkAccounts ¶
type ResponseOauthAppLinkAccounts struct {
// contains filtered or unexported fields
}
ResponseOauthAppLinkAccounts represents a ResponseOauthAppLinkAccounts struct. This is Array of a container for any-of cases.
func (*ResponseOauthAppLinkAccounts) AsAccountJamfInfo ¶
func (r *ResponseOauthAppLinkAccounts) AsAccountJamfInfo() ( *AccountJamfInfo, bool)
func (*ResponseOauthAppLinkAccounts) AsAccountOauthInfo ¶
func (r *ResponseOauthAppLinkAccounts) AsAccountOauthInfo() ( *AccountOauthInfo, bool)
func (*ResponseOauthAppLinkAccounts) AsAccountVmwareInfo ¶
func (r *ResponseOauthAppLinkAccounts) AsAccountVmwareInfo() ( *AccountVmwareInfo, bool)
func (ResponseOauthAppLinkAccounts) MarshalJSON ¶
func (r ResponseOauthAppLinkAccounts) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseOauthAppLinkAccounts. It customizes the JSON marshaling process for ResponseOauthAppLinkAccounts objects.
func (ResponseOauthAppLinkAccounts) String ¶
func (r ResponseOauthAppLinkAccounts) String() string
String converts the ResponseOauthAppLinkAccounts object to a string representation.
func (*ResponseOauthAppLinkAccounts) UnmarshalJSON ¶
func (r *ResponseOauthAppLinkAccounts) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseOauthAppLinkAccounts. It customizes the JSON unmarshaling process for ResponseOauthAppLinkAccounts objects.
type ResponseOauthAppLinkItem ¶
type ResponseOauthAppLinkItem struct {
// customer account client id
ClientId *string `json:"client_id,omitempty"`
// This error is provided when the Jamf account fails to fetch token/data
Error *string `json:"error,omitempty"`
// customer account Jamf instance URL
InstanceUrl *string `json:"instance_url,omitempty"`
// Is the last data pull for Jamf account is successful or not
LastStatus *string `json:"last_status,omitempty"`
// Last data pull timestamp, background jobs that pull Jamf account data
LastSync *int64 `json:"last_sync,omitempty"`
// First name of the user who linked the Jamf account
LinkedBy *string `json:"linked_by,omitempty"`
// Name of the company whose Jamf account mist has subscribed to
Name *string `json:"name,omitempty"`
// smart group membership for determining compliance status
SmartgroupName *string `json:"smartgroup_name,omitempty"`
// Linked app(zoom/teams/intune) account id
AccountId *string `json:"account_id,omitempty"`
// Name of the company whose account mist has subscribed to
Company *string `json:"company,omitempty"`
Errors []string `json:"errors,omitempty"`
// Zoom daily api request quota, https://developers.zoom.us/docs/api/rest/rate-limits/
MaxDailyApiRequests *int `json:"max_daily_api_requests,omitempty"`
// This error is provided when the VMware account fails to fetch token/data
LinkedTimestamp *int `json:"linked_timestamp,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ResponseOauthAppLinkItem represents a ResponseOauthAppLinkItem struct.
func (ResponseOauthAppLinkItem) MarshalJSON ¶
func (r ResponseOauthAppLinkItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseOauthAppLinkItem. It customizes the JSON marshaling process for ResponseOauthAppLinkItem objects.
func (*ResponseOauthAppLinkItem) UnmarshalJSON ¶
func (r *ResponseOauthAppLinkItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseOauthAppLinkItem. It customizes the JSON unmarshaling process for ResponseOauthAppLinkItem objects.
type ResponseOrgDevices ¶
type ResponseOrgDevices struct {
Results []OrgDevice `json:"results"`
AdditionalProperties map[string]any `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) 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 ResponseOrgInventoryChange ¶
type ResponseOrgInventoryChange struct {
Error []string `json:"error"`
Op ResponseOrgInventoryChangeOpEnum `json:"op"`
Reason []string `json:"reason"`
Success []string `json:"success"`
AdditionalProperties map[string]any `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) 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.
const ( ResponseOrgInventoryChangeOpEnum_ASSIGN ResponseOrgInventoryChangeOpEnum = "assign" ResponseOrgInventoryChangeOpEnum_UNASSIGN ResponseOrgInventoryChangeOpEnum = "unassign" ResponseOrgInventoryChangeOpEnum_DELETE ResponseOrgInventoryChangeOpEnum = "delete" ResponseOrgInventoryChangeOpEnum_UPGRADETOMIST ResponseOrgInventoryChangeOpEnum = "upgrade_to_mist" ResponseOrgInventoryChangeOpEnum_DOWNGRADETOJSI ResponseOrgInventoryChangeOpEnum = "downgrade_to_jsi" )
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]any `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) 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"`
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]any `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) 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 {
End *float64 `json:"end,omitempty"`
Interval *int `json:"interval,omitempty"`
Limit *int `json:"limit,omitempty"`
Page *int `json:"page,omitempty"`
Results []OrgSiteSleWifiResult1 `json:"results,omitempty"`
Start *float64 `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ResponseOrgSiteSle represents a ResponseOrgSiteSle struct.
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) 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]any `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) 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"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
AdditionalProperties map[string]any `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) 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 ResponsePcapAp ¶
type ResponsePcapAp struct {
Band *int `json:"band,omitempty"`
Bandwidth *int `json:"bandwidth,omitempty"`
Channel *int `json:"channel,omitempty"`
TcpdumpExpresssion Optional[string] `json:"tcpdump_expresssion"`
AdditionalProperties map[string]any `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) 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]any `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) 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"`
Results []ResponsePcapSearchItem `json:"results"`
Start int `json:"start"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]any `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) 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"`
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"`
Timestamp float64 `json:"timestamp"`
Type string `json:"type"`
Url string `json:"url"`
AdditionalProperties map[string]any `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) 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"`
Bandwith *string `json:"bandwith,omitempty"`
Channel *int `json:"channel,omitempty"`
TcpdumpExpression Optional[string] `json:"tcpdump_expression"`
AdditionalProperties map[string]any `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) 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"`
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"`
Timestamp float64 `json:"timestamp"`
Type string `json:"type"`
AdditionalProperties map[string]any `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) 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"`
// List of target Gateways to capture packets if a gateway capture type is specified
Gateways []string `json:"gateways,omitempty"`
// unique id for the capture
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"`
// 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"`
// List of target Switches to capture packets if a switch capture type is specified
Switches []string `json:"switches,omitempty"`
// tcpdump expression provided by the user (common)
TcpdumpExpression *string `json:"tcpdump_expression,omitempty"`
Type PcapTypeEnum `json:"type"`
// 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]any `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) 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 []SwitchPortStats `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]any `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) 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"`
Results []ResponsePskPortalLogsSearchItem `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]any `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) 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 {
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"`
Timestamp *float64 `json:"timestamp,omitempty"`
AdditionalProperties map[string]any `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) 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 ResponseRrmConsideration ¶
type ResponseRrmConsideration struct {
Results []RrmConsideration `json:"results"`
AdditionalProperties map[string]any `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) 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"`
// the 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]any `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) 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 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]any `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) 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"`
Results []BgpStats `json:"results,omitempty"`
Start *float64 `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]any `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) 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 {
Id uuid.UUID `json:"id"`
Text string `json:"text"`
Type string `json:"type"`
AdditionalProperties map[string]any `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) 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"`
Results []ResponseSearchVarItem `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]any `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) 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 {
CreatedTime *float64 `json:"created_time,omitempty"`
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]any `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) 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]any `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) 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"`
Id string `json:"id"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `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) 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]any `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) 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 {
Counts *ResponseSiteDeviceUpgradeCounts `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 for the upgrade
Id uuid.UUID `json:"id"`
// percentage of failures allowed
MaxFailurePercentage *int `json:"max_failure_percentage,omitempty"`
// number of failures allowed within a canary phase or serial rollout
MaxFailures []int `json:"max_failures,omitempty"`
// reboot start time in epoch
RebootAt *int `json:"reboot_at,omitempty"`
// firmware download start time in epoch
StartTime *float64 `json:"start_time,omitempty"`
// status upgrade is in
Status *DeviceUpgradeStatusEnum `json:"status,omitempty"`
// `big_bang` (upgrade all at once), `serial` (one at a time), `canary` or `rrm`
Strategy *DeviceUpgradeStrategyEnum `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]any `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) 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 ResponseSiteDeviceUpgradeCounts ¶
type ResponseSiteDeviceUpgradeCounts 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]any `json:"_"`
}
ResponseSiteDeviceUpgradeCounts represents a ResponseSiteDeviceUpgradeCounts struct.
func (ResponseSiteDeviceUpgradeCounts) MarshalJSON ¶
func (r ResponseSiteDeviceUpgradeCounts) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSiteDeviceUpgradeCounts. It customizes the JSON marshaling process for ResponseSiteDeviceUpgradeCounts objects.
func (*ResponseSiteDeviceUpgradeCounts) UnmarshalJSON ¶
func (r *ResponseSiteDeviceUpgradeCounts) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSiteDeviceUpgradeCounts. It customizes the JSON unmarshaling process for ResponseSiteDeviceUpgradeCounts 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]any `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) 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 *string `json:"country_code"`
HoneypotEnabled bool `json:"honeypot_enabled"`
Id uuid.UUID `json:"id"`
Name string `json:"name"`
OrgId uuid.UUID `json:"org_id"`
SiteId uuid.UUID `json:"site_id"`
Timestamp float64 `json:"timestamp"`
Timezone string `json:"timezone"`
VnaEnabled bool `json:"vna_enabled"`
WifiEnabled bool `json:"wifi_enabled"`
AdditionalProperties map[string]any `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) 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]any `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) 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"`
Timestamp float64 `json:"timestamp"`
AdditionalProperties map[string]any `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) 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 ResponseSsrUpgradeStatus ¶
type ResponseSsrUpgradeStatus struct {
Channel string `json:"channel"`
DeviceType *string `json:"device_type,omitempty"`
Id string `json:"id"`
Status string `json:"status"`
Targets ResponseSsrUpgradeStatusTargets `json:"targets"`
Versions interface{} `json:"versions"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `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) 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 []CallStats `json:"results,omitempty"`
Start *float64 `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]any `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) 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 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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"`
Results []SwitchPortStats `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]any `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) 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 ResponseTroubleshoot ¶
type ResponseTroubleshoot struct {
End *int `json:"end,omitempty"`
Results []ResponseTroubleshootItem `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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 []ResponseTunnelSearchResults `json:"results"`
Start int `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]any `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) 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 {
Ap *string `json:"ap,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
LastSeen *float64 `json:"last_seen,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,omitempty"`
RemotePort *int `json:"remote_port,omitempty"`
RxControlPkts *int `json:"rx_control_pkts,omitempty"`
// list of sessions
Sessions []MxtunnelStatsSession `json:"sessions,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
State *MxtunnelStatsStateEnum `json:"state,omitempty"`
TxControlPkts *int `json:"tx_control_pkts,omitempty"`
// duration from first (or last) SA was established
Uptime *int `json:"uptime,omitempty"`
// 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"`
// peer host
PeerHost *string `json:"peer_host,omitempty"`
// peer ip address
PeerIp *string `json:"peer_ip,omitempty"`
Priority *WanTunnelStatsPriorityEnum `json:"priority,omitempty"`
Protocol *WanTunnelProtocolEnum `json:"protocol,omitempty"`
RxBytes *int `json:"rx_bytes,omitempty"`
RxPkts *int `json:"rx_pkts,omitempty"`
// Mist Tunnel Name
TunnelName *string `json:"tunnel_name,omitempty"`
TxBytes *int `json:"tx_bytes,omitempty"`
TxPkts *int `json:"tx_pkts,omitempty"`
Up *bool `json:"up,omitempty"`
// wan interface name
WanName *string `json:"wan_name,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ResponseTunnelSearchItem represents a ResponseTunnelSearchItem struct.
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) 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 ResponseTunnelSearchResults ¶
type ResponseTunnelSearchResults struct {
// contains filtered or unexported fields
}
ResponseTunnelSearchResults represents a ResponseTunnelSearchResults struct. This is Array of a container for any-of cases.
func (*ResponseTunnelSearchResults) AsMxtunnelStats ¶
func (r *ResponseTunnelSearchResults) AsMxtunnelStats() ( *MxtunnelStats, bool)
func (*ResponseTunnelSearchResults) AsWanTunnelStats ¶
func (r *ResponseTunnelSearchResults) AsWanTunnelStats() ( *WanTunnelStats, bool)
func (ResponseTunnelSearchResults) MarshalJSON ¶
func (r ResponseTunnelSearchResults) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseTunnelSearchResults. It customizes the JSON marshaling process for ResponseTunnelSearchResults objects.
func (ResponseTunnelSearchResults) String ¶
func (r ResponseTunnelSearchResults) String() string
String converts the ResponseTunnelSearchResults object to a string representation.
func (*ResponseTunnelSearchResults) UnmarshalJSON ¶
func (r *ResponseTunnelSearchResults) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseTunnelSearchResults. It customizes the JSON unmarshaling process for ResponseTunnelSearchResults objects.
type ResponseTwoFactorJson ¶
type ResponseTwoFactorJson struct {
TwoFactorSecret *string `json:"two_factor_secret,omitempty"`
AdditionalProperties map[string]any `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) 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 ResponseUpgradeDevice ¶
type ResponseUpgradeDevice struct {
Status UpgradeInfoStatusEnum `json:"status"`
// timestamp
Timestamp float64 `json:"timestamp"`
AdditionalProperties map[string]any `json:"_"`
}
ResponseUpgradeDevice represents a ResponseUpgradeDevice struct.
func (ResponseUpgradeDevice) MarshalJSON ¶
func (r ResponseUpgradeDevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseUpgradeDevice. It customizes the JSON marshaling process for ResponseUpgradeDevice objects.
func (*ResponseUpgradeDevice) UnmarshalJSON ¶
func (r *ResponseUpgradeDevice) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseUpgradeDevice. It customizes the JSON unmarshaling process for ResponseUpgradeDevice objects.
type ResponseUpgradeOrgDevice ¶
type ResponseUpgradeOrgDevice struct {
SiteId *uuid.UUID `json:"site_id,omitempty"`
Upgrade *UpgradeOrgDeviceUpgrade `json:"upgrade,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ResponseUpgradeOrgDevice represents a ResponseUpgradeOrgDevice struct.
func (ResponseUpgradeOrgDevice) MarshalJSON ¶
func (r ResponseUpgradeOrgDevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseUpgradeOrgDevice. It customizes the JSON marshaling process for ResponseUpgradeOrgDevice objects.
func (*ResponseUpgradeOrgDevice) UnmarshalJSON ¶
func (r *ResponseUpgradeOrgDevice) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseUpgradeOrgDevice. It customizes the JSON unmarshaling process for ResponseUpgradeOrgDevice 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"`
Id *uuid.UUID `json:"id,omitempty"`
// `big_bang` (upgrade all at once), `serial` (one at a time), `canary` or `rrm`
Strategy *DeviceUpgradeStrategyEnum `json:"strategy,omitempty"`
// version to upgrade to
TargetVersion *string `json:"target_version,omitempty"`
Upgrades []ResponseUpgradeOrgDevice `json:"upgrades,omitempty"`
AdditionalProperties map[string]any `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) 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 ResponseUpgradeSiteDevices ¶
type ResponseUpgradeSiteDevices struct {
UpgradeId uuid.UUID `json:"upgrade_id"`
AdditionalProperties map[string]any `json:"_"`
}
ResponseUpgradeSiteDevices represents a ResponseUpgradeSiteDevices struct.
func (ResponseUpgradeSiteDevices) MarshalJSON ¶
func (r ResponseUpgradeSiteDevices) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseUpgradeSiteDevices. It customizes the JSON marshaling process for ResponseUpgradeSiteDevices objects.
func (*ResponseUpgradeSiteDevices) UnmarshalJSON ¶
func (r *ResponseUpgradeSiteDevices) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseUpgradeSiteDevices. It customizes the JSON unmarshaling process for ResponseUpgradeSiteDevices 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]any `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) 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 {
// Virtual Chassis
Id *VirtualChassisConfig `json:"id,omitempty"`
AdditionalProperties map[string]any `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) 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 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]any `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) 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"`
Timestamp *int `json:"timestamp,omitempty"`
User *string `json:"user,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( RfClientTypeEnum_SDKCLIENT RfClientTypeEnum = "sdkclient" RfClientTypeEnum_CLIENT RfClientTypeEnum = "client" RfClientTypeEnum_ASSET RfClientTypeEnum = "asset" )
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"`
Type RfClientTypeEnum `json:"type"`
AdditionalProperties map[string]any `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) 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"`
Id *string `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"`
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]any `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) 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"`
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"`
CreatedTime *float64 `json:"created_time,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
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"`
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]any `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) 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"`
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]any `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) 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 RftemplateRadioBand5 ¶
type RftemplateRadioBand5 struct {
AllowRrmDisable *bool `json:"allow_rrm_disable,omitempty"`
AntGain Optional[int] `json:"ant_gain"`
AntennaMode *RadioBandAntennaModeEnum `json:"antenna_mode,omitempty"`
// channel width for the 5GHz band
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"`
Preamble *RadioBandPreambleEnum `json:"preamble,omitempty"`
AdditionalProperties map[string]any `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) 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"`
AntennaMode *RadioBandAntennaModeEnum `json:"antenna_mode,omitempty"`
// channel width for the 6GHz band
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"`
Preamble *RadioBandPreambleEnum `json:"preamble,omitempty"`
// for 6GHz Only, standard-power operation, AFC (Automatic Frequency Coordination) will be performed and we'll fallback to Low Power Indoor if AFC failed
StandardPower *bool `json:"standard_power,omitempty"`
AdditionalProperties map[string]any `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) 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 RftemplateRadioBand24 ¶
type RftemplateRadioBand24 struct {
AllowRrmDisable *bool `json:"allow_rrm_disable,omitempty"`
AntGain Optional[int] `json:"ant_gain"`
AntennaMode *RadioBandAntennaModeEnum `json:"antenna_mode,omitempty"`
// channel width for the 2.4GHz band
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. 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"`
Preamble *RadioBandPreambleEnum `json:"preamble,omitempty"`
AdditionalProperties map[string]any `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) 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 RogueDetails ¶
type RogueDetails struct {
Manufacture string `json:"manufacture"`
SeenAsClient bool `json:"seen_as_client"`
AdditionalProperties map[string]any `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) 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.
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]any `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) 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]any `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) 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 RoutingPolicy ¶
type RoutingPolicy struct {
// zero or more criteria/filter can be specified to match the term, all criteria have to be met
Terms []RoutingPolicyTerm `json:"terms,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
RoutingPolicy represents a RoutingPolicy struct.
func (RoutingPolicy) MarshalJSON ¶
func (r RoutingPolicy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RoutingPolicy. It customizes the JSON marshaling process for RoutingPolicy objects.
func (*RoutingPolicy) UnmarshalJSON ¶
func (r *RoutingPolicy) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RoutingPolicy. It customizes the JSON unmarshaling process for RoutingPolicy objects.
type RoutingPolicyTerm ¶
type RoutingPolicyTerm struct {
// when used as import policy
Action *RoutingPolicyTermAction `json:"action,omitempty"`
// zero or more criteria/filter can be specified to match the term, all criteria have to be met
Matching *RoutingPolicyTermMatching `json:"matching,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
RoutingPolicyTerm represents a RoutingPolicyTerm struct.
func (RoutingPolicyTerm) MarshalJSON ¶
func (r RoutingPolicyTerm) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RoutingPolicyTerm. It customizes the JSON marshaling process for RoutingPolicyTerm objects.
func (*RoutingPolicyTerm) UnmarshalJSON ¶
func (r *RoutingPolicyTerm) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RoutingPolicyTerm. It customizes the JSON unmarshaling process for RoutingPolicyTerm objects.
type RoutingPolicyTermAction ¶
type RoutingPolicyTermAction 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
ExportCommunitites []string `json:"export_communitites,omitempty"`
// optional, for an import policy, local_preference can be changed
LocalPreference *string `json:"local_preference,omitempty"`
// when used as export policy, optional. By default, the local AS will be prepended, to change it
PrependAsPath []string `json:"prepend_as_path,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
RoutingPolicyTermAction represents a RoutingPolicyTermAction struct. when used as import policy
func (RoutingPolicyTermAction) MarshalJSON ¶
func (r RoutingPolicyTermAction) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RoutingPolicyTermAction. It customizes the JSON marshaling process for RoutingPolicyTermAction objects.
func (*RoutingPolicyTermAction) UnmarshalJSON ¶
func (r *RoutingPolicyTermAction) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RoutingPolicyTermAction. It customizes the JSON unmarshaling process for RoutingPolicyTermAction objects.
type RoutingPolicyTermMatching ¶
type RoutingPolicyTermMatching struct {
// takes regular expression
AsPath []string `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"`
// `direct`, `bgp`, `osp`, ...
Protocol []string `json:"protocol,omitempty"`
RouteExists *RoutingPolicyTermMatchingRouteExists `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 *RoutingPolicyTermMatchingVpnPathSla `json:"vpn_path_sla,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
RoutingPolicyTermMatching represents a RoutingPolicyTermMatching struct. zero or more criteria/filter can be specified to match the term, all criteria have to be met
func (RoutingPolicyTermMatching) MarshalJSON ¶
func (r RoutingPolicyTermMatching) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RoutingPolicyTermMatching. It customizes the JSON marshaling process for RoutingPolicyTermMatching objects.
func (*RoutingPolicyTermMatching) UnmarshalJSON ¶
func (r *RoutingPolicyTermMatching) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RoutingPolicyTermMatching. It customizes the JSON unmarshaling process for RoutingPolicyTermMatching objects.
type RoutingPolicyTermMatchingRouteExists ¶
type RoutingPolicyTermMatchingRouteExists 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]any `json:"_"`
}
RoutingPolicyTermMatchingRouteExists represents a RoutingPolicyTermMatchingRouteExists struct.
func (RoutingPolicyTermMatchingRouteExists) MarshalJSON ¶
func (r RoutingPolicyTermMatchingRouteExists) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RoutingPolicyTermMatchingRouteExists. It customizes the JSON marshaling process for RoutingPolicyTermMatchingRouteExists objects.
func (*RoutingPolicyTermMatchingRouteExists) UnmarshalJSON ¶
func (r *RoutingPolicyTermMatchingRouteExists) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RoutingPolicyTermMatchingRouteExists. It customizes the JSON unmarshaling process for RoutingPolicyTermMatchingRouteExists objects.
type RoutingPolicyTermMatchingVpnPathSla ¶
type RoutingPolicyTermMatchingVpnPathSla struct {
MaxJitter Optional[int] `json:"max_jitter"`
MaxLatency Optional[int] `json:"max_latency"`
MaxLoss Optional[int] `json:"max_loss"`
AdditionalProperties map[string]any `json:"_"`
}
RoutingPolicyTermMatchingVpnPathSla represents a RoutingPolicyTermMatchingVpnPathSla struct.
func (RoutingPolicyTermMatchingVpnPathSla) MarshalJSON ¶
func (r RoutingPolicyTermMatchingVpnPathSla) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RoutingPolicyTermMatchingVpnPathSla. It customizes the JSON marshaling process for RoutingPolicyTermMatchingVpnPathSla objects.
func (*RoutingPolicyTermMatchingVpnPathSla) UnmarshalJSON ¶
func (r *RoutingPolicyTermMatchingVpnPathSla) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RoutingPolicyTermMatchingVpnPathSla. It customizes the JSON unmarshaling process for RoutingPolicyTermMatchingVpnPathSla 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"`
Status RrmStatusEnum `json:"status"`
// time where the status was updated
Timestamp float64 `json:"timestamp"`
AdditionalProperties map[string]any `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) 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 * `80` is only applicable for band_5 and band_6 * `160` is only for band_6
Bandwidth *Dot11BandwidthEnum `json:"bandwidth,omitempty"`
// proposed channel
Channel *int `json:"channel,omitempty"`
// channel width for the band * `80` is only applicable for band_5 and band_6 * `160` is only for band_6
CurrBandwidht *Dot11BandwidthEnum `json:"curr_bandwidht,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]any `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) 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 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"`
// average number of neighbors
Neighbors float64 `json:"neighbors"`
// average noise in dBm
Noise float64 `json:"noise"`
AdditionalProperties map[string]any `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) 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]any `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) 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"`
// the 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"`
// utilization score, 0-1, lower means less utilization (cleaner RF)
UtilScore float64 `json:"util_score"`
// non-wifi 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]any `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) 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"`
Band Dot11BandEnum `json:"band"`
// channel width for the band * `80` is only applicable for band_5 and band_6 * `160` is only for band_6
Bandwidth Dot11BandwidthEnum `json:"bandwidth"`
// channel for the band from rrm
Channel int `json:"channel"`
// schedule-site_rrm / triggered-site_rrm / interference-ap-co-channel / rrm-radar
Event RrmEventTypeEnum `json:"event"`
// tx power of the radio
Power int `json:"power"`
// (previously) channel width for the band , 0 means no previously available
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"`
// timestamp of the event
Timestamp float64 `json:"timestamp"`
Usage string `json:"usage"`
AdditionalProperties map[string]any `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) 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
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. schedule-site_rrm / triggered-site_rrm / interference-ap-co-channel / rrm-radar
const ( RrmEventTypeEnum_TRIGGEREDSITERRM RrmEventTypeEnum = "triggered-site_rrm" RrmEventTypeEnum_INTERFERENCEAPCOCHANNEL RrmEventTypeEnum = "interference-ap-co-channel" RrmEventTypeEnum_RRMRADAR RrmEventTypeEnum = "rrm-radar" RrmEventTypeEnum_SCHEDULEDSITERRM RrmEventTypeEnum = "scheduled-site_rrm" RrmEventTypeEnum_INTERFERENCEAPNONWIFI RrmEventTypeEnum = "interference-ap-non-wifi" RrmEventTypeEnum_RADARDETECTED RrmEventTypeEnum = "radar-detected" RrmEventTypeEnum_NEIGHBORAPDOWN RrmEventTypeEnum = "neighbor-ap-down" RrmEventTypeEnum_NEIGHBORAPRECOVERED RrmEventTypeEnum = "neighbor-ap-recovered" )
type RrmNeighbors ¶
type RrmNeighbors struct {
Mac *string `json:"mac,omitempty"`
Neighbors []RrmNeighborsNeighbor `json:"neighbors,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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.
const ( RrmStatusEnum_UNKNOWN RrmStatusEnum = "unknown" RrmStatusEnum_UPDATING RrmStatusEnum = "updating" RrmStatusEnum_READY RrmStatusEnum = "ready" )
type RssiZone ¶
type RssiZone struct {
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"`
Id *uuid.UUID `json:"id,omitempty"`
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]any `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) 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]any `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) 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 ScanDataItemBandEnum ¶
type ScanDataItemBandEnum string
ScanDataItemBandEnum is a string enum. 5GHz or 2.4GHz band, associated with the BSSID scanned
const ( ScanDataItemBandEnum_ENUM24 ScanDataItemBandEnum = "2.4" ScanDataItemBandEnum_ENUM5 ScanDataItemBandEnum = "5" )
type SdkInviteSms ¶
type SdkInviteSms struct {
Number string `json:"number"`
AdditionalProperties map[string]any `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) 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 SdkclientStat ¶
type SdkclientStat struct {
Id uuid.UUID `json:"id"`
// last seen timestamp
LastSeen 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 SdkclientStatNetworkConnection `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]any `json:"_"`
}
SdkclientStat represents a SdkclientStat struct. SDK Client statistics
func (SdkclientStat) MarshalJSON ¶
func (s SdkclientStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SdkclientStat. It customizes the JSON marshaling process for SdkclientStat objects.
func (*SdkclientStat) UnmarshalJSON ¶
func (s *SdkclientStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SdkclientStat. It customizes the JSON unmarshaling process for SdkclientStat objects.
type SdkclientStatNetworkConnection ¶
type SdkclientStatNetworkConnection struct {
Mac string `json:"mac"`
Rssi float64 `json:"rssi"`
SignalLevel float64 `json:"signal_level"`
Type string `json:"type"`
AdditionalProperties map[string]any `json:"_"`
}
SdkclientStatNetworkConnection represents a SdkclientStatNetworkConnection struct. various network connection info for the SDK client (if known, else omitted), with RSSI in dBm, and signal level as
func (SdkclientStatNetworkConnection) MarshalJSON ¶
func (s SdkclientStatNetworkConnection) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SdkclientStatNetworkConnection. It customizes the JSON marshaling process for SdkclientStatNetworkConnection objects.
func (*SdkclientStatNetworkConnection) UnmarshalJSON ¶
func (s *SdkclientStatNetworkConnection) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SdkclientStatNetworkConnection. It customizes the JSON unmarshaling process for SdkclientStatNetworkConnection objects.
type SdkclientWirelessStatsVbeacon ¶
type SdkclientWirelessStatsVbeacon struct {
Id uuid.UUID `json:"id"`
Since float64 `json:"since"`
AdditionalProperties map[string]any `json:"_"`
}
SdkclientWirelessStatsVbeacon represents a SdkclientWirelessStatsVbeacon struct.
func (SdkclientWirelessStatsVbeacon) MarshalJSON ¶
func (s SdkclientWirelessStatsVbeacon) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SdkclientWirelessStatsVbeacon. It customizes the JSON marshaling process for SdkclientWirelessStatsVbeacon objects.
func (*SdkclientWirelessStatsVbeacon) UnmarshalJSON ¶
func (s *SdkclientWirelessStatsVbeacon) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SdkclientWirelessStatsVbeacon. It customizes the JSON unmarshaling process for SdkclientWirelessStatsVbeacon objects.
type SdkclientWirelessStatsZone ¶
type SdkclientWirelessStatsZone struct {
Id uuid.UUID `json:"id"`
Since float64 `json:"since"`
AdditionalProperties map[string]any `json:"_"`
}
SdkclientWirelessStatsZone represents a SdkclientWirelessStatsZone struct.
func (SdkclientWirelessStatsZone) MarshalJSON ¶
func (s SdkclientWirelessStatsZone) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SdkclientWirelessStatsZone. It customizes the JSON marshaling process for SdkclientWirelessStatsZone objects.
func (*SdkclientWirelessStatsZone) UnmarshalJSON ¶
func (s *SdkclientWirelessStatsZone) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SdkclientWirelessStatsZone. It customizes the JSON unmarshaling process for SdkclientWirelessStatsZone objects.
type Sdkinvite ¶
type Sdkinvite struct {
CreatedTime *float64 `json:"created_time,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
ExpireTime *int `json:"expire_time,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
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]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Sdkinvite. It customizes the JSON unmarshaling process for Sdkinvite objects.
type SdkstatsWirelessClient ¶
type SdkstatsWirelessClient struct {
Id uuid.UUID `json:"id"`
// last seen timestamp
LastSeen 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 *SdkclientStatNetworkConnection `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 []SdkclientWirelessStatsVbeacon `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 []SdkclientWirelessStatsZone `json:"zones,omitempty"`
AdditionalProperties map[string]any `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) 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 Sdktemplate ¶
type Sdktemplate struct {
BgImage *string `json:"bg_image,omitempty"`
BtnFlrBgcolor *string `json:"btn_flr_bgcolor,omitempty"`
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"`
Id *uuid.UUID `json:"id,omitempty"`
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]any `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) 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"`
Results *EventsClientWan `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]any `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) 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 SearchOrgDevicesMxtunnelStatusEnum ¶
type SearchOrgDevicesMxtunnelStatusEnum string
SearchOrgDevicesMxtunnelStatusEnum is a string enum.
const ( SearchOrgDevicesMxtunnelStatusEnum_UP SearchOrgDevicesMxtunnelStatusEnum = "up" SearchOrgDevicesMxtunnelStatusEnum_DOWN SearchOrgDevicesMxtunnelStatusEnum = "down" )
type SearchOrgSwOrGwPortsAuthStateEnum ¶
type SearchOrgSwOrGwPortsAuthStateEnum string
SearchOrgSwOrGwPortsAuthStateEnum is a string enum.
const ( SearchOrgSwOrGwPortsAuthStateEnum_INIT SearchOrgSwOrGwPortsAuthStateEnum = "init" SearchOrgSwOrGwPortsAuthStateEnum_AUTHENTICATED SearchOrgSwOrGwPortsAuthStateEnum = "authenticated" SearchOrgSwOrGwPortsAuthStateEnum_AUTHENTICATING SearchOrgSwOrGwPortsAuthStateEnum = "authenticating" SearchOrgSwOrGwPortsAuthStateEnum_HELD SearchOrgSwOrGwPortsAuthStateEnum = "held" )
type SearchOrgSwOrGwPortsStpRoleEnum ¶
type SearchOrgSwOrGwPortsStpRoleEnum string
SearchOrgSwOrGwPortsStpRoleEnum is a string enum.
const ( SearchOrgSwOrGwPortsStpRoleEnum_DESIGNATED SearchOrgSwOrGwPortsStpRoleEnum = "designated" SearchOrgSwOrGwPortsStpRoleEnum_BACKUP SearchOrgSwOrGwPortsStpRoleEnum = "backup" SearchOrgSwOrGwPortsStpRoleEnum_ALTERNATE SearchOrgSwOrGwPortsStpRoleEnum = "alternate" SearchOrgSwOrGwPortsStpRoleEnum_ROOT SearchOrgSwOrGwPortsStpRoleEnum = "root" SearchOrgSwOrGwPortsStpRoleEnum_ROOTPREVENTED SearchOrgSwOrGwPortsStpRoleEnum = "root-prevented" )
type SearchOrgSwOrGwPortsStpStateEnum ¶
type SearchOrgSwOrGwPortsStpStateEnum string
SearchOrgSwOrGwPortsStpStateEnum is a string enum.
const ( SearchOrgSwOrGwPortsStpStateEnum_FORWARDING SearchOrgSwOrGwPortsStpStateEnum = "forwarding" SearchOrgSwOrGwPortsStpStateEnum_BLOCKING SearchOrgSwOrGwPortsStpStateEnum = "blocking" SearchOrgSwOrGwPortsStpStateEnum_LEARNING SearchOrgSwOrGwPortsStpStateEnum = "learning" SearchOrgSwOrGwPortsStpStateEnum_LISTENING SearchOrgSwOrGwPortsStpStateEnum = "listening" SearchOrgSwOrGwPortsStpStateEnum_DISABLED SearchOrgSwOrGwPortsStpStateEnum = "disabled" )
type SearchSiteDevicesDescSortEnum ¶
type SearchSiteDevicesDescSortEnum string
SearchSiteDevicesDescSortEnum is a string enum.
const ( SearchSiteDevicesDescSortEnum_TIMESTAMP SearchSiteDevicesDescSortEnum = "timestamp" SearchSiteDevicesDescSortEnum_MAC SearchSiteDevicesDescSortEnum = "mac" SearchSiteDevicesDescSortEnum_MODEL SearchSiteDevicesDescSortEnum = "model" SearchSiteDevicesDescSortEnum_SKU SearchSiteDevicesDescSortEnum = "sku" )
type SearchSiteDevicesMxtunnelStatusEnum ¶
type SearchSiteDevicesMxtunnelStatusEnum string
SearchSiteDevicesMxtunnelStatusEnum is a string enum.
const ( SearchSiteDevicesMxtunnelStatusEnum_UP SearchSiteDevicesMxtunnelStatusEnum = "up" SearchSiteDevicesMxtunnelStatusEnum_DOWN SearchSiteDevicesMxtunnelStatusEnum = "down" )
type SearchSiteDevicesSortEnum ¶
type SearchSiteDevicesSortEnum string
SearchSiteDevicesSortEnum is a string enum.
const ( SearchSiteDevicesSortEnum_TIMESTAMP SearchSiteDevicesSortEnum = "timestamp" SearchSiteDevicesSortEnum_MAC SearchSiteDevicesSortEnum = "mac" SearchSiteDevicesSortEnum_MODEL SearchSiteDevicesSortEnum = "model" SearchSiteDevicesSortEnum_SKU SearchSiteDevicesSortEnum = "sku" )
type SearchSiteSwOrGwPortsAuthStateEnum ¶
type SearchSiteSwOrGwPortsAuthStateEnum string
SearchSiteSwOrGwPortsAuthStateEnum is a string enum.
const ( SearchSiteSwOrGwPortsAuthStateEnum_INIT SearchSiteSwOrGwPortsAuthStateEnum = "init" SearchSiteSwOrGwPortsAuthStateEnum_AUTHENTICATED SearchSiteSwOrGwPortsAuthStateEnum = "authenticated" SearchSiteSwOrGwPortsAuthStateEnum_AUTHENTICATING SearchSiteSwOrGwPortsAuthStateEnum = "authenticating" SearchSiteSwOrGwPortsAuthStateEnum_HELD SearchSiteSwOrGwPortsAuthStateEnum = "held" )
type SearchSiteSwOrGwPortsDeviceTypeEnum ¶
type SearchSiteSwOrGwPortsDeviceTypeEnum string
SearchSiteSwOrGwPortsDeviceTypeEnum is a string enum.
const ( SearchSiteSwOrGwPortsDeviceTypeEnum_AP SearchSiteSwOrGwPortsDeviceTypeEnum = "ap" SearchSiteSwOrGwPortsDeviceTypeEnum_BLE SearchSiteSwOrGwPortsDeviceTypeEnum = "ble" SearchSiteSwOrGwPortsDeviceTypeEnum_ENUMSWITCH SearchSiteSwOrGwPortsDeviceTypeEnum = "switch" SearchSiteSwOrGwPortsDeviceTypeEnum_GATEWAY SearchSiteSwOrGwPortsDeviceTypeEnum = "gateway" SearchSiteSwOrGwPortsDeviceTypeEnum_MXEDGE SearchSiteSwOrGwPortsDeviceTypeEnum = "mxedge" SearchSiteSwOrGwPortsDeviceTypeEnum_NAC SearchSiteSwOrGwPortsDeviceTypeEnum = "nac" )
type SearchSiteSwOrGwPortsStpRoleEnum ¶
type SearchSiteSwOrGwPortsStpRoleEnum string
SearchSiteSwOrGwPortsStpRoleEnum is a string enum.
const ( SearchSiteSwOrGwPortsStpRoleEnum_DESIGNATED SearchSiteSwOrGwPortsStpRoleEnum = "designated" SearchSiteSwOrGwPortsStpRoleEnum_BACKUP SearchSiteSwOrGwPortsStpRoleEnum = "backup" SearchSiteSwOrGwPortsStpRoleEnum_ALTERNATE SearchSiteSwOrGwPortsStpRoleEnum = "alternate" SearchSiteSwOrGwPortsStpRoleEnum_ROOT SearchSiteSwOrGwPortsStpRoleEnum = "root" SearchSiteSwOrGwPortsStpRoleEnum_ROOTPREVENTED SearchSiteSwOrGwPortsStpRoleEnum = "root-prevented" )
type SearchSiteSwOrGwPortsStpStateEnum ¶
type SearchSiteSwOrGwPortsStpStateEnum string
SearchSiteSwOrGwPortsStpStateEnum is a string enum.
const ( SearchSiteSwOrGwPortsStpStateEnum_FORWARDING SearchSiteSwOrGwPortsStpStateEnum = "forwarding" SearchSiteSwOrGwPortsStpStateEnum_BLOCKING SearchSiteSwOrGwPortsStpStateEnum = "blocking" SearchSiteSwOrGwPortsStpStateEnum_LEARNING SearchSiteSwOrGwPortsStpStateEnum = "learning" SearchSiteSwOrGwPortsStpStateEnum_LISTENING SearchSiteSwOrGwPortsStpStateEnum = "listening" SearchSiteSwOrGwPortsStpStateEnum_DISABLED SearchSiteSwOrGwPortsStpStateEnum = "disabled" )
type SearchSiteSwitchPortsAuthStateEnum ¶
type SearchSiteSwitchPortsAuthStateEnum string
SearchSiteSwitchPortsAuthStateEnum is a string enum.
const ( SearchSiteSwitchPortsAuthStateEnum_INIT SearchSiteSwitchPortsAuthStateEnum = "init" SearchSiteSwitchPortsAuthStateEnum_AUTHENTICATED SearchSiteSwitchPortsAuthStateEnum = "authenticated" SearchSiteSwitchPortsAuthStateEnum_AUTHENTICATING SearchSiteSwitchPortsAuthStateEnum = "authenticating" SearchSiteSwitchPortsAuthStateEnum_HELD SearchSiteSwitchPortsAuthStateEnum = "held" )
type SearchSiteSwitchPortsStpRoleEnum ¶
type SearchSiteSwitchPortsStpRoleEnum string
SearchSiteSwitchPortsStpRoleEnum is a string enum.
const ( SearchSiteSwitchPortsStpRoleEnum_DESIGNATED SearchSiteSwitchPortsStpRoleEnum = "designated" SearchSiteSwitchPortsStpRoleEnum_BACKUP SearchSiteSwitchPortsStpRoleEnum = "backup" SearchSiteSwitchPortsStpRoleEnum_ALTERNATE SearchSiteSwitchPortsStpRoleEnum = "alternate" SearchSiteSwitchPortsStpRoleEnum_ROOT SearchSiteSwitchPortsStpRoleEnum = "root" SearchSiteSwitchPortsStpRoleEnum_ROOTPREVENTED SearchSiteSwitchPortsStpRoleEnum = "root-prevented" )
type SearchSiteSwitchPortsStpStateEnum ¶
type SearchSiteSwitchPortsStpStateEnum string
SearchSiteSwitchPortsStpStateEnum is a string enum.
const ( SearchSiteSwitchPortsStpStateEnum_FORWARDING SearchSiteSwitchPortsStpStateEnum = "forwarding" SearchSiteSwitchPortsStpStateEnum_BLOCKING SearchSiteSwitchPortsStpStateEnum = "blocking" SearchSiteSwitchPortsStpStateEnum_LEARNING SearchSiteSwitchPortsStpStateEnum = "learning" SearchSiteSwitchPortsStpStateEnum_LISTENING SearchSiteSwitchPortsStpStateEnum = "listening" SearchSiteSwitchPortsStpStateEnum_DISABLED SearchSiteSwitchPortsStpStateEnum = "disabled" )
type SearchWanClient ¶
type SearchWanClient struct {
End *int `json:"end,omitempty"`
Limit *int `json:"limit,omitempty"`
Results *ClientsWanStats `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]any `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) 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 {
Results []WanUsages `json:"results,omitempty"`
AdditionalProperties map[string]any `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) 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"`
Results []WebhookDelivery `json:"results,omitempty"`
Start *int `json:"start,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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 SearchWirelssClientSession ¶
type SearchWirelssClientSession struct {
End float64 `json:"end"`
Limit int `json:"limit"`
Next *string `json:"next,omitempty"`
Results []WirelssClientSession `json:"results"`
Start float64 `json:"start"`
Total int `json:"total"`
AdditionalProperties map[string]any `json:"_"`
}
SearchWirelssClientSession represents a SearchWirelssClientSession struct.
func (SearchWirelssClientSession) MarshalJSON ¶
func (s SearchWirelssClientSession) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SearchWirelssClientSession. It customizes the JSON marshaling process for SearchWirelssClientSession objects.
func (*SearchWirelssClientSession) UnmarshalJSON ¶
func (s *SearchWirelssClientSession) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SearchWirelssClientSession. It customizes the JSON unmarshaling process for SearchWirelssClientSession objects.
type SearchWxtagAppsItem ¶
type SearchWxtagAppsItem struct {
Group string `json:"group"`
Key string `json:"key"`
Name string `json:"name"`
AdditionalProperties map[string]any `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) 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 Secpolicy ¶
type Secpolicy struct {
CreatedTime *float64 `json:"created_time,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
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]any `json:"_"`
}
Secpolicy represents a Secpolicy struct. Security Policy is designed to audit / catch discripancies 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) 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`, ip subnets
Addresses []string `json:"addresses,omitempty"`
// when `type`==`app_categories`
// list of application categories are available through /api/v1/const/app_categories
AppCategories []string `json:"app_categories,omitempty"`
// when `type`==`app_categories`
// list of application categories are available through /api/v1/const/app_subcategories
AppSubcategories []string `json:"app_subcategories,omitempty"`
// when `type`==`apps`
// list of applications are available through:
// - /api/v1/const/applications,
// - /api/v1/const/gateway_applications
// - /insight/top_app_by-bytes?wired=true
Apps []string `json:"apps,omitempty"`
CreatedTime *float64 `json:"created_time,omitempty"`
Description *string `json:"description,omitempty"`
// when `traffic_type`==`custom`
Dscp *int `json:"dscp,omitempty"`
FailoverPolicy *ServiceFailoverPolicyEnum `json:"failover_policy,omitempty"`
// if `type`==`custom`, web filtering
Hostnames []string `json:"hostnames,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
// when `traffic_type`==`custom`, for uplink selection
MaxJitter *int `json:"max_jitter,omitempty"`
// when `traffic_type`==`custom`, for uplink selection
MaxLatency *int `json:"max_latency,omitempty"`
// when `traffic_type`==`custom`, for uplink selection
MaxLoss *int `json:"max_loss,omitempty"`
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name *string `json:"name,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// whether to enable measure SLE
SleEnabled *bool `json:"sle_enabled,omitempty"`
Specs []ServiceSpec `json:"specs,omitempty"`
SsrRelaxedTcpStateEnforcement *bool `json:"ssr_relaxed_tcp_state_enforcement,omitempty"`
// when `traffic_type`==`custom`
TrafficClass *ServiceTrafficClassEnum `json:"traffic_class,omitempty"`
// values from `/api/v1/consts/traffic_types`
// * when `type`==`apps`, we'll choose traffic_type automatically
// * when `type`==`addresses` or `type`==`hostnames`, you can provide your own settings (optional)
TrafficType *string `json:"traffic_type,omitempty"`
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]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Service. It customizes the JSON unmarshaling process for Service objects.
type ServiceFailoverPolicyEnum ¶
type ServiceFailoverPolicyEnum string
ServiceFailoverPolicyEnum is a string enum.
const ( ServiceFailoverPolicyEnum_REVERTABLE ServiceFailoverPolicyEnum = "revertable" ServiceFailoverPolicyEnum_NONREVERTABLE ServiceFailoverPolicyEnum = "non_revertable" ServiceFailoverPolicyEnum_NONE ServiceFailoverPolicyEnum = "none" )
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]any `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) 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"`
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]any `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) 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 {
Action *AllowDenyEnum `json:"action,omitempty"`
// For 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`
PathPreferences *string `json:"path_preferences,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"`
Tenants []string `json:"tenants,omitempty"`
AdditionalProperties map[string]any `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) 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 ServicePolicyAppqoe ¶
type ServicePolicyAppqoe struct {
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ServicePolicyAppqoe represents a ServicePolicyAppqoe struct. For 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) 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"`
Profile *ServicePolicyEwfRuleProfileEnum `json:"profile,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( ServicePolicyEwfRuleProfileEnum_STRICT ServicePolicyEwfRuleProfileEnum = "strict" ServicePolicyEwfRuleProfileEnum_STANDARD ServicePolicyEwfRuleProfileEnum = "standard" )
type ServiceSpec ¶
type ServiceSpec struct {
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]any `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) 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 ServiceStat ¶
type ServiceStat 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]any `json:"_"`
}
ServiceStat represents a ServiceStat struct.
func (ServiceStat) MarshalJSON ¶
func (s ServiceStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServiceStat. It customizes the JSON marshaling process for ServiceStat objects.
func (*ServiceStat) UnmarshalJSON ¶
func (s *ServiceStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ServiceStat. It customizes the JSON unmarshaling process for ServiceStat 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]any `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) 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`
const ( ServiceTrafficClassEnum_BESTEFFORT ServiceTrafficClassEnum = "best_effort" ServiceTrafficClassEnum_HIGH ServiceTrafficClassEnum = "high" ServiceTrafficClassEnum_MEDIUM ServiceTrafficClassEnum = "medium" ServiceTrafficClassEnum_LOW ServiceTrafficClassEnum = "low" )
type ServiceTypeEnum ¶
type ServiceTypeEnum string
ServiceTypeEnum is a string enum.
const ( ServiceTypeEnum_APPS ServiceTypeEnum = "apps" ServiceTypeEnum_APPCATEGORIES ServiceTypeEnum = "app_categories" ServiceTypeEnum_CUSTOM ServiceTypeEnum = "custom" ServiceTypeEnum_URLS ServiceTypeEnum = "urls" )
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]any `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 encountring 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) 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]any `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) 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]any `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) 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]any `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) 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 *string `json:"address,omitempty"`
// 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"`
CreatedTime *float64 `json:"created_time,omitempty"`
// Gateway Template ID, used by gateways
GatewaytemplateId Optional[uuid.UUID] `json:"gatewaytemplate_id"`
Id *uuid.UUID `json:"id,omitempty"`
Latlng *LatLng `json:"latlng,omitempty"`
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 *string `json:"notes,omitempty"`
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"`
AdditionalProperties map[string]any `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) 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]any `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) 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.
const ( SiteAppsCountDistinctEnum_AP SiteAppsCountDistinctEnum = "ap" SiteAppsCountDistinctEnum_WCID SiteAppsCountDistinctEnum = "wcid" SiteAppsCountDistinctEnum_SSID SiteAppsCountDistinctEnum = "ssid" SiteAppsCountDistinctEnum_ENUMWLANIDAPP SiteAppsCountDistinctEnum = "wlan_id app" SiteAppsCountDistinctEnum_DEVICEMAC SiteAppsCountDistinctEnum = "device_mac" SiteAppsCountDistinctEnum_SRCIP SiteAppsCountDistinctEnum = "src_ip" SiteAppsCountDistinctEnum_PORTID SiteAppsCountDistinctEnum = "port_id" SiteAppsCountDistinctEnum_APP SiteAppsCountDistinctEnum = "app" SiteAppsCountDistinctEnum_CATEGORY SiteAppsCountDistinctEnum = "category" SiteAppsCountDistinctEnum_SERVICE SiteAppsCountDistinctEnum = "service" )
type SiteAssetsCountDistinctEnum ¶
type SiteAssetsCountDistinctEnum string
SiteAssetsCountDistinctEnum is a string enum.
const ( SiteAssetsCountDistinctEnum_MAC SiteAssetsCountDistinctEnum = "mac" SiteAssetsCountDistinctEnum_MAPID SiteAssetsCountDistinctEnum = "map_id" SiteAssetsCountDistinctEnum_IBEACONUUID SiteAssetsCountDistinctEnum = "ibeacon_uuid" SiteAssetsCountDistinctEnum_IBEACONMAJOR SiteAssetsCountDistinctEnum = "ibeacon_major" SiteAssetsCountDistinctEnum_IBEACONMINOR SiteAssetsCountDistinctEnum = "ibeacon_minor" SiteAssetsCountDistinctEnum_EDDYSTONEUIDNAMESPACE SiteAssetsCountDistinctEnum = "eddystone_uid_namespace" SiteAssetsCountDistinctEnum_EDDYSTONEUIDINSTANCE SiteAssetsCountDistinctEnum = "eddystone_uid_instance" SiteAssetsCountDistinctEnum_EDDYSTONEURL SiteAssetsCountDistinctEnum = "eddystone_url" SiteAssetsCountDistinctEnum_BY SiteAssetsCountDistinctEnum = "by" SiteAssetsCountDistinctEnum_NAME SiteAssetsCountDistinctEnum = "name" SiteAssetsCountDistinctEnum_DEVICENAME SiteAssetsCountDistinctEnum = "device_name" )
type SiteAutoUpgradeVersionEnum ¶
type SiteAutoUpgradeVersionEnum string
SiteAutoUpgradeVersionEnum is a string enum. desired version
const ( SiteAutoUpgradeVersionEnum_BETA SiteAutoUpgradeVersionEnum = "beta" SiteAutoUpgradeVersionEnum_STABLE SiteAutoUpgradeVersionEnum = "stable" SiteAutoUpgradeVersionEnum_CUSTOM SiteAutoUpgradeVersionEnum = "custom" )
type SiteClientEventsCountDistinctEnum ¶
type SiteClientEventsCountDistinctEnum string
SiteClientEventsCountDistinctEnum is a string enum.
const ( SiteClientEventsCountDistinctEnum_ENUMTYPE SiteClientEventsCountDistinctEnum = "type" SiteClientEventsCountDistinctEnum_PROTO SiteClientEventsCountDistinctEnum = "proto" SiteClientEventsCountDistinctEnum_BAND SiteClientEventsCountDistinctEnum = "band" SiteClientEventsCountDistinctEnum_CHANNEL SiteClientEventsCountDistinctEnum = "channel" SiteClientEventsCountDistinctEnum_WLANID SiteClientEventsCountDistinctEnum = "wlan_id" SiteClientEventsCountDistinctEnum_SSID SiteClientEventsCountDistinctEnum = "ssid" )
type SiteClientSessionsCountDistinctEnum ¶
type SiteClientSessionsCountDistinctEnum string
SiteClientSessionsCountDistinctEnum is a string enum.
const ( SiteClientSessionsCountDistinctEnum_SSID SiteClientSessionsCountDistinctEnum = "ssid" SiteClientSessionsCountDistinctEnum_WLANID SiteClientSessionsCountDistinctEnum = "wlan_id" SiteClientSessionsCountDistinctEnum_AP SiteClientSessionsCountDistinctEnum = "ap" SiteClientSessionsCountDistinctEnum_MAC SiteClientSessionsCountDistinctEnum = "mac" SiteClientSessionsCountDistinctEnum_CLIENTFAMILY SiteClientSessionsCountDistinctEnum = "client_family" SiteClientSessionsCountDistinctEnum_CLIENTMANUFACTURE SiteClientSessionsCountDistinctEnum = "client_manufacture" SiteClientSessionsCountDistinctEnum_CLIENTMODEL SiteClientSessionsCountDistinctEnum = "client_model" SiteClientSessionsCountDistinctEnum_CLIENTOS SiteClientSessionsCountDistinctEnum = "client_os" )
type SiteClientsCountDistinctEnum ¶
type SiteClientsCountDistinctEnum string
SiteClientsCountDistinctEnum is a string enum.
const ( SiteClientsCountDistinctEnum_SSID SiteClientsCountDistinctEnum = "ssid" SiteClientsCountDistinctEnum_AP SiteClientsCountDistinctEnum = "ap" SiteClientsCountDistinctEnum_IP SiteClientsCountDistinctEnum = "ip" SiteClientsCountDistinctEnum_VLAN SiteClientsCountDistinctEnum = "vlan" SiteClientsCountDistinctEnum_HOSTNAME SiteClientsCountDistinctEnum = "hostname" SiteClientsCountDistinctEnum_OS SiteClientsCountDistinctEnum = "os" SiteClientsCountDistinctEnum_MODEL SiteClientsCountDistinctEnum = "model" SiteClientsCountDistinctEnum_DEVICE SiteClientsCountDistinctEnum = "device" )
type SiteDeviceEventsCountDistinctEnum ¶
type SiteDeviceEventsCountDistinctEnum string
SiteDeviceEventsCountDistinctEnum is a string enum.
const ( SiteDeviceEventsCountDistinctEnum_MODEL SiteDeviceEventsCountDistinctEnum = "model" SiteDeviceEventsCountDistinctEnum_ENUMTYPE SiteDeviceEventsCountDistinctEnum = "type" SiteDeviceEventsCountDistinctEnum_TYPECODE SiteDeviceEventsCountDistinctEnum = "type_code" SiteDeviceEventsCountDistinctEnum_MAC SiteDeviceEventsCountDistinctEnum = "mac" )
type SiteDeviceLastConfigCountDistinctEnum ¶
type SiteDeviceLastConfigCountDistinctEnum string
SiteDeviceLastConfigCountDistinctEnum is a string enum.
const ( SiteDeviceLastConfigCountDistinctEnum_VERSION SiteDeviceLastConfigCountDistinctEnum = "version" SiteDeviceLastConfigCountDistinctEnum_NAME SiteDeviceLastConfigCountDistinctEnum = "name" SiteDeviceLastConfigCountDistinctEnum_SITEID SiteDeviceLastConfigCountDistinctEnum = "site_id" SiteDeviceLastConfigCountDistinctEnum_MAC SiteDeviceLastConfigCountDistinctEnum = "mac" )
type SiteDevicesCountDistinctEnum ¶
type SiteDevicesCountDistinctEnum string
SiteDevicesCountDistinctEnum is a string enum.
const ( SiteDevicesCountDistinctEnum_MODEL SiteDevicesCountDistinctEnum = "model" SiteDevicesCountDistinctEnum_VERSION SiteDevicesCountDistinctEnum = "version" SiteDevicesCountDistinctEnum_MAPID SiteDevicesCountDistinctEnum = "map_id" SiteDevicesCountDistinctEnum_HOSTNAME SiteDevicesCountDistinctEnum = "hostname" SiteDevicesCountDistinctEnum_MXTUNNELSTATUS SiteDevicesCountDistinctEnum = "mxtunnel_status" SiteDevicesCountDistinctEnum_MXEDGEID SiteDevicesCountDistinctEnum = "mxedge_id" SiteDevicesCountDistinctEnum_LLDPSYSTEMNAME SiteDevicesCountDistinctEnum = "lldp_system_name" SiteDevicesCountDistinctEnum_LLDPSYSTEMDESC SiteDevicesCountDistinctEnum = "lldp_system_desc" SiteDevicesCountDistinctEnum_LLDPPORTID SiteDevicesCountDistinctEnum = "lldp_port_id" SiteDevicesCountDistinctEnum_LLDPMGMTADDR SiteDevicesCountDistinctEnum = "lldp_mgmt_addr" )
type SiteDiscoveredSwitchesCountDistinctEnum ¶
type SiteDiscoveredSwitchesCountDistinctEnum string
SiteDiscoveredSwitchesCountDistinctEnum is a string enum.
const ( SiteDiscoveredSwitchesCountDistinctEnum_SYSTEMNAME SiteDiscoveredSwitchesCountDistinctEnum = "system_name" SiteDiscoveredSwitchesCountDistinctEnum_VERSION SiteDiscoveredSwitchesCountDistinctEnum = "version" SiteDiscoveredSwitchesCountDistinctEnum_MODEL SiteDiscoveredSwitchesCountDistinctEnum = "model" SiteDiscoveredSwitchesCountDistinctEnum_MGMTADDR SiteDiscoveredSwitchesCountDistinctEnum = "mgmt_addr" )
type SiteEngagement ¶
type SiteEngagement struct {
DwellTagNames *SiteEngagementDwellTagNames `json:"dwell_tag_names,omitempty"`
// add tags to visits within the duration (in seconds), available tags (passerby, bounce, engaged, stationed)
DwellTags *SiteEngagementDwellTags `json:"dwell_tags,omitempty"`
// hours of operation filter, the available days (mon, tue, wed, thu, fri, sat, sun).
// **Note**: If the dow is not defined then it’s treated as 00:00-23:59.
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]any `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 **Note**: default values for `dwell_tags`: passerby (1,300) bounce (301, 14400) engaged (14401, 28800) stationed (28801, 42000) **Note**: default values for `dwell_tag_names`: passerby = “Passerby”, bounce = “Visitor”, engaged = “Associates”, stationed = “Assets”
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) 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]any `json:"_"`
}
SiteEngagementDwellTagNames represents a SiteEngagementDwellTagNames struct.
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) 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]any `json:"_"`
}
SiteEngagementDwellTags represents a SiteEngagementDwellTags struct. add tags to visits within the duration (in seconds), available tags (passerby, bounce, engaged, stationed)
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) 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.
const ( SiteGuestsCountDistinctEnum_AUTHMETHOD SiteGuestsCountDistinctEnum = "auth_method" SiteGuestsCountDistinctEnum_SSID SiteGuestsCountDistinctEnum = "ssid" SiteGuestsCountDistinctEnum_COMPANY SiteGuestsCountDistinctEnum = "company" )
type SiteMxedgeEventsCountDistinctEnum ¶
type SiteMxedgeEventsCountDistinctEnum string
SiteMxedgeEventsCountDistinctEnum is a string enum.
const ( SiteMxedgeEventsCountDistinctEnum_MXEDGEID SiteMxedgeEventsCountDistinctEnum = "mxedge_id" SiteMxedgeEventsCountDistinctEnum_ENUMTYPE SiteMxedgeEventsCountDistinctEnum = "type" SiteMxedgeEventsCountDistinctEnum_MXCLUSTERID SiteMxedgeEventsCountDistinctEnum = "mxcluster_id" SiteMxedgeEventsCountDistinctEnum_ENUMPACKAGE SiteMxedgeEventsCountDistinctEnum = "package" )
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 radsecproxy
Clusters []SiteMxtunnelCluster `json:"clusters,omitempty"`
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"`
Id *uuid.UUID `json:"id,omitempty"`
ModifiedTime *float64 `json:"modified_time,omitempty"`
// 0 to enable PMTU, 552-1500 to start PMTU with a lower MTU
Mtu *int `json:"mtu,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
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]any `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) 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 radsecproxy
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"`
Protocol *SiteMxtunnelProtocolEnum `json:"protocol,omitempty"`
VlanIds []int `json:"vlan_ids,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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.
const ( SiteMxtunnelProtocolEnum_UDP SiteMxtunnelProtocolEnum = "udp" SiteMxtunnelProtocolEnum_IP SiteMxtunnelProtocolEnum = "ip" )
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]any `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) 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.
const ( SiteNacClientEventsCountDistinctEnum_ENUMTYPE SiteNacClientEventsCountDistinctEnum = "type" SiteNacClientEventsCountDistinctEnum_NACRULEID SiteNacClientEventsCountDistinctEnum = "nacrule_id" SiteNacClientEventsCountDistinctEnum_DRYRUNNACRULEID SiteNacClientEventsCountDistinctEnum = "dryrun_nacrule_id" SiteNacClientEventsCountDistinctEnum_AUTHTYPE SiteNacClientEventsCountDistinctEnum = "auth_type" SiteNacClientEventsCountDistinctEnum_VLAN SiteNacClientEventsCountDistinctEnum = "vlan" SiteNacClientEventsCountDistinctEnum_NASVENDOR SiteNacClientEventsCountDistinctEnum = "nas_vendor" SiteNacClientEventsCountDistinctEnum_USERNAME SiteNacClientEventsCountDistinctEnum = "username" SiteNacClientEventsCountDistinctEnum_AP SiteNacClientEventsCountDistinctEnum = "ap" SiteNacClientEventsCountDistinctEnum_MAC SiteNacClientEventsCountDistinctEnum = "mac" SiteNacClientEventsCountDistinctEnum_SSID SiteNacClientEventsCountDistinctEnum = "ssid" )
type SiteNacClientsCountDistinctEnum ¶
type SiteNacClientsCountDistinctEnum string
SiteNacClientsCountDistinctEnum is a string enum.
const ( SiteNacClientsCountDistinctEnum_ENUMTYPE SiteNacClientsCountDistinctEnum = "type" SiteNacClientsCountDistinctEnum_LASTNACRULEID SiteNacClientsCountDistinctEnum = "last_nacrule_id" SiteNacClientsCountDistinctEnum_AUTHTYPE SiteNacClientsCountDistinctEnum = "auth_type" SiteNacClientsCountDistinctEnum_LASTVLAN SiteNacClientsCountDistinctEnum = "last_vlan" SiteNacClientsCountDistinctEnum_LASTNASVENDOR SiteNacClientsCountDistinctEnum = "last_nas_vendor" SiteNacClientsCountDistinctEnum_LASTUSERNAME SiteNacClientsCountDistinctEnum = "last_username" SiteNacClientsCountDistinctEnum_LASTAP SiteNacClientsCountDistinctEnum = "last_ap" SiteNacClientsCountDistinctEnum_MAC SiteNacClientsCountDistinctEnum = "mac" SiteNacClientsCountDistinctEnum_LASTSSID SiteNacClientsCountDistinctEnum = "last_ssid" SiteNacClientsCountDistinctEnum_LASTSTATUS SiteNacClientsCountDistinctEnum = "last_status" SiteNacClientsCountDistinctEnum_MDMCOMPLIANCE SiteNacClientsCountDistinctEnum = "mdm_compliance" SiteNacClientsCountDistinctEnum_MDMPROVIDER SiteNacClientsCountDistinctEnum = "mdm_provider" )
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 WiFi 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 WiFi clients should be included in the zone occupancy calculation
UnconnectedClientsEnabled *bool `json:"unconnected_clients_enabled,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( SiteOtherDeviceEventsCountDistinctEnum_MAC SiteOtherDeviceEventsCountDistinctEnum = "mac" SiteOtherDeviceEventsCountDistinctEnum_ENUMTYPE SiteOtherDeviceEventsCountDistinctEnum = "type" SiteOtherDeviceEventsCountDistinctEnum_VENDOR SiteOtherDeviceEventsCountDistinctEnum = "vendor" SiteOtherDeviceEventsCountDistinctEnum_SITEID SiteOtherDeviceEventsCountDistinctEnum = "site_id" )
type SitePortsCountDistinctEnum ¶
type SitePortsCountDistinctEnum string
SitePortsCountDistinctEnum is a string enum.
const ( SitePortsCountDistinctEnum_PORTID SitePortsCountDistinctEnum = "port_id" SitePortsCountDistinctEnum_PORTMAC SitePortsCountDistinctEnum = "port_mac" 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_SPEED SitePortsCountDistinctEnum = "speed" SitePortsCountDistinctEnum_UP SitePortsCountDistinctEnum = "up" )
type SiteRogue ¶
type SiteRogue struct {
// whether or not rogue detection is enabled
Enabled *bool `json:"enabled,omitempty"`
// whether or not honeypot detection is enabled
HoneypotEnabled *bool `json:"honeypot_enabled,omitempty"`
// minimum duration for a bssid to be considered rogue
MinDuration *int `json:"min_duration,omitempty"`
// minimum RSSI for an AP to be considered rogue (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]any `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) 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.
const ( SiteRogueEventsCountDistinctEnum_BSSID SiteRogueEventsCountDistinctEnum = "bssid" SiteRogueEventsCountDistinctEnum_SSID SiteRogueEventsCountDistinctEnum = "ssid" SiteRogueEventsCountDistinctEnum_AP SiteRogueEventsCountDistinctEnum = "ap" SiteRogueEventsCountDistinctEnum_ENUMTYPE SiteRogueEventsCountDistinctEnum = "type" )
type SiteServiceEventsCountDistinctEnum ¶
type SiteServiceEventsCountDistinctEnum string
SiteServiceEventsCountDistinctEnum is a string enum.
const ( SiteServiceEventsCountDistinctEnum_ENUMTYPE SiteServiceEventsCountDistinctEnum = "type" SiteServiceEventsCountDistinctEnum_MAC SiteServiceEventsCountDistinctEnum = "mac" SiteServiceEventsCountDistinctEnum_VPNNAME SiteServiceEventsCountDistinctEnum = "vpn_name" SiteServiceEventsCountDistinctEnum_VPNPATH SiteServiceEventsCountDistinctEnum = "vpn_path" SiteServiceEventsCountDistinctEnum_POLICY SiteServiceEventsCountDistinctEnum = "policy" SiteServiceEventsCountDistinctEnum_PORTID SiteServiceEventsCountDistinctEnum = "port_id" SiteServiceEventsCountDistinctEnum_MODEL SiteServiceEventsCountDistinctEnum = "model" SiteServiceEventsCountDistinctEnum_SITEID SiteServiceEventsCountDistinctEnum = "site_id" )
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"`
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"`
CreatedTime *float64 `json:"created_time,omitempty"`
// you can define some URLs that's critical to site operaitons the latency will be captured and considered for site health
CriticalUrlMonitoring *SiteSettingCriticalUrlMonitoring `json:"critical_url_monitoring,omitempty"`
// sending AP_DISCONNECTED event in device-updowns only if AP_CONNECTED is not seen within the threshold, in minutes
DeviceUpdownThreshold *int `json:"device_updown_threshold,omitempty"`
DhcpSnooping *DhcpSnooping `json:"dhcp_snooping,omitempty"`
// if some system-default port usages are not desired - namely, ap / iot / uplink
DisabledSystemDefinedPortUsages []string `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"`
// **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
// **Note**: default values for `dwell_tags`: passerby (1,300) bounce (301, 14400) engaged (14401, 28800) stationed (28801, 42000)
// **Note**: default values for `dwell_tag_names`: passerby = “Passerby”, bounce = “Visitor”, engaged = “Associates”, stationed = “Assets”
Engagement *SiteEngagement `json:"engagement,omitempty"`
// EVPN Options
EvpnOptions *EvpnOptions `json:"evpn_options,omitempty"`
ExtraRoutes map[string]ExtraRouteProperties `json:"extra_routes,omitempty"`
// Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64")
ExtraRoutes6 map[string]ExtraRoute6Properties `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"`
Id *uuid.UUID `json:"id,omitempty"`
// LED AP settings
Led *ApLed `json:"led,omitempty"`
// enable mist_nac to use radsec
MistNac *SwitchMistNac `json:"mist_nac,omitempty"`
ModifiedTime *float64 `json:"modified_time,omitempty"`
// site mist edges form a cluster of radsecproxy 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"`
// OSPF Areas can be configured both in Site Level (Switch/Gateway Template) or Device (Switch/Gateway) Level
OspfAreas map[string]OspfAreas `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.
PortMirroring map[string]SwitchPortMirroringProperty `json:"port_mirroring,omitempty"`
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 *RadiusConfig `json:"radius_config,omitempty"`
RemoteSyslog *RemoteSyslog `json:"remote_syslog,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"`
// 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 encountring over X failures
SimpleAlert *SimpleAlert `json:"simple_alert,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Skyatp *SiteSettingSkyatp `json:"skyatp,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 *SiteSettingSsr `json:"ssr,omitempty"`
StatusPortal *SiteSettingStatusPortal `json:"status_portal,omitempty"`
// Network Template
Switch *NetworkTemplate `json:"switch,omitempty"`
// Switch template
SwitchMatching *SwitchMatching `json:"switch_matching,omitempty"`
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"`
UplinkPortConfig *ApUplinkPortConfig `json:"uplink_port_config,omitempty"`
// a 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"`
VrfConfig *VrfConfig `json:"vrf_config,omitempty"`
// Property key is the network name
VrfInstances map[string]VrfInstance `json:"vrf_instances,omitempty"`
// Property key is the vrrp group
VrrpGroups map[string]VrrpGroup `json:"vrrp_groups,omitempty"`
VsInstance *VsInstance `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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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"`
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
Version *SiteAutoUpgradeVersionEnum `json:"version,omitempty"`
AdditionalProperties map[string]any `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) 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 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]any `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) 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]any `json:"_"`
}
SiteSettingCriticalUrlMonitoring represents a SiteSettingCriticalUrlMonitoring struct. you can define some URLs that's critical to site operaitons 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) 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 *SiteSettingCriticalUrlMonitoringMonitorVlanId `json:"vlan_id,omitempty"`
AdditionalProperties map[string]any `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) 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 SiteSettingCriticalUrlMonitoringMonitorVlanId ¶ added in v0.2.20
type SiteSettingCriticalUrlMonitoringMonitorVlanId struct {
// contains filtered or unexported fields
}
SiteSettingCriticalUrlMonitoringMonitorVlanId represents a SiteSettingCriticalUrlMonitoringMonitorVlanId struct. This is a container for one-of cases.
func (*SiteSettingCriticalUrlMonitoringMonitorVlanId) AsNumber ¶ added in v0.2.20
func (s *SiteSettingCriticalUrlMonitoringMonitorVlanId) AsNumber() ( *int, bool)
func (*SiteSettingCriticalUrlMonitoringMonitorVlanId) AsString ¶ added in v0.2.20
func (s *SiteSettingCriticalUrlMonitoringMonitorVlanId) AsString() ( *string, bool)
func (SiteSettingCriticalUrlMonitoringMonitorVlanId) MarshalJSON ¶ added in v0.2.20
func (s SiteSettingCriticalUrlMonitoringMonitorVlanId) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingCriticalUrlMonitoringMonitorVlanId. It customizes the JSON marshaling process for SiteSettingCriticalUrlMonitoringMonitorVlanId objects.
func (SiteSettingCriticalUrlMonitoringMonitorVlanId) String ¶ added in v0.2.20
func (s SiteSettingCriticalUrlMonitoringMonitorVlanId) String() string
String converts the SiteSettingCriticalUrlMonitoringMonitorVlanId object to a string representation.
func (*SiteSettingCriticalUrlMonitoringMonitorVlanId) UnmarshalJSON ¶ added in v0.2.20
func (s *SiteSettingCriticalUrlMonitoringMonitorVlanId) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingCriticalUrlMonitoringMonitorVlanId. It customizes the JSON unmarshaling process for SiteSettingCriticalUrlMonitoringMonitorVlanId 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"`
// he rollback timer for commit confirmed
ConfigRevertTimer *int `json:"config_revert_timer,omitempty"`
ProbeHosts []string `json:"probe_hosts,omitempty"`
// for 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]any `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) 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 {
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]any `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) 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 SiteSettingMxedge ¶
type SiteSettingMxedge struct {
// configure cloud-assisted dynamic authorization service on this cluster of mist edges
MistDas *MxedgeDas `json:"mist_das,omitempty"`
// MxEdge Radsec Configuration
Radsec *MxclusterRadsec `json:"radsec,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
SiteSettingMxedge represents a SiteSettingMxedge struct. site mist edges form a cluster of radsecproxy 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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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 SiteSettingSsr ¶
type SiteSettingSsr struct {
ConductorHosts []string `json:"conductor_hosts,omitempty"`
DisableStats *bool `json:"disable_stats,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
SiteSettingSsr represents a SiteSettingSsr struct.
func (SiteSettingSsr) MarshalJSON ¶
func (s SiteSettingSsr) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingSsr. It customizes the JSON marshaling process for SiteSettingSsr objects.
func (*SiteSettingSsr) UnmarshalJSON ¶
func (s *SiteSettingSsr) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingSsr. It customizes the JSON unmarshaling process for SiteSettingSsr objects.
type SiteSettingStatusPortal ¶
type SiteSettingStatusPortal struct {
Enabled *bool `json:"enabled,omitempty"`
Hostnames []string `json:"hostnames,omitempty"`
AdditionalProperties map[string]any `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) 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 SiteSettingTuntermMulticastConfig ¶
type SiteSettingTuntermMulticastConfig struct {
Mdns *SiteSettingTuntermMulticastConfigMdns `json:"mdns,omitempty"`
MulticastAll *bool `json:"multicast_all,omitempty"`
Ssdp *SiteSettingTuntermMulticastConfigSsdp `json:"ssdp,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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.
const ( SiteSkyAtpEventsCountDistinctEnum_ENUMTYPE SiteSkyAtpEventsCountDistinctEnum = "type" SiteSkyAtpEventsCountDistinctEnum_MAC SiteSkyAtpEventsCountDistinctEnum = "mac" SiteSkyAtpEventsCountDistinctEnum_DEVICEMAC SiteSkyAtpEventsCountDistinctEnum = "device_mac" SiteSkyAtpEventsCountDistinctEnum_THREATLEVEL SiteSkyAtpEventsCountDistinctEnum = "threat_level" )
type SiteSleHistogramScopeParametersEnum ¶
type SiteSleHistogramScopeParametersEnum string
SiteSleHistogramScopeParametersEnum is a string enum.
const ( SiteSleHistogramScopeParametersEnum_SITE SiteSleHistogramScopeParametersEnum = "site" SiteSleHistogramScopeParametersEnum_AP SiteSleHistogramScopeParametersEnum = "ap" SiteSleHistogramScopeParametersEnum_ENUMSWITCH SiteSleHistogramScopeParametersEnum = "switch" SiteSleHistogramScopeParametersEnum_GATEWAY SiteSleHistogramScopeParametersEnum = "gateway" SiteSleHistogramScopeParametersEnum_CLIENT SiteSleHistogramScopeParametersEnum = "client" )
type SiteSleImpactSummaryFieldsParameterEnum ¶
type SiteSleImpactSummaryFieldsParameterEnum string
SiteSleImpactSummaryFieldsParameterEnum is a string enum.
const ( SiteSleImpactSummaryFieldsParameterEnum_WLAN SiteSleImpactSummaryFieldsParameterEnum = "wlan" SiteSleImpactSummaryFieldsParameterEnum_DEVICETYPE SiteSleImpactSummaryFieldsParameterEnum = "device_type" SiteSleImpactSummaryFieldsParameterEnum_DEVICEOS SiteSleImpactSummaryFieldsParameterEnum = "device_os" SiteSleImpactSummaryFieldsParameterEnum_BAND SiteSleImpactSummaryFieldsParameterEnum = "band" SiteSleImpactSummaryFieldsParameterEnum_AP SiteSleImpactSummaryFieldsParameterEnum = "ap" SiteSleImpactSummaryFieldsParameterEnum_SERVER SiteSleImpactSummaryFieldsParameterEnum = "server" SiteSleImpactSummaryFieldsParameterEnum_MXEDGE SiteSleImpactSummaryFieldsParameterEnum = "mxedge" SiteSleImpactSummaryFieldsParameterEnum_ENUMSWITCH SiteSleImpactSummaryFieldsParameterEnum = "switch" SiteSleImpactSummaryFieldsParameterEnum_CLIENT SiteSleImpactSummaryFieldsParameterEnum = "client" SiteSleImpactSummaryFieldsParameterEnum_VLAN SiteSleImpactSummaryFieldsParameterEnum = "vlan" SiteSleImpactSummaryFieldsParameterEnum_ENUMINTERFACE SiteSleImpactSummaryFieldsParameterEnum = "interface" SiteSleImpactSummaryFieldsParameterEnum_CHASSIS SiteSleImpactSummaryFieldsParameterEnum = "chassis" SiteSleImpactSummaryFieldsParameterEnum_GATEWAY SiteSleImpactSummaryFieldsParameterEnum = "gateway" SiteSleImpactSummaryFieldsParameterEnum_PEERPATH SiteSleImpactSummaryFieldsParameterEnum = "peer_path" SiteSleImpactSummaryFieldsParameterEnum_GATEWAYZONES SiteSleImpactSummaryFieldsParameterEnum = "gateway_zones" )
type SiteSleImpactSummaryScopeParametersEnum ¶
type SiteSleImpactSummaryScopeParametersEnum string
SiteSleImpactSummaryScopeParametersEnum is a string enum.
const ( SiteSleImpactSummaryScopeParametersEnum_SITE SiteSleImpactSummaryScopeParametersEnum = "site" SiteSleImpactSummaryScopeParametersEnum_AP SiteSleImpactSummaryScopeParametersEnum = "ap" SiteSleImpactSummaryScopeParametersEnum_ENUMSWITCH SiteSleImpactSummaryScopeParametersEnum = "switch" SiteSleImpactSummaryScopeParametersEnum_GATEWAY SiteSleImpactSummaryScopeParametersEnum = "gateway" SiteSleImpactSummaryScopeParametersEnum_CLIENT SiteSleImpactSummaryScopeParametersEnum = "client" )
type SiteSleImpactedApsScopeParametersEnum ¶
type SiteSleImpactedApsScopeParametersEnum string
SiteSleImpactedApsScopeParametersEnum is a string enum.
const (
SiteSleImpactedApsScopeParametersEnum_SITE SiteSleImpactedApsScopeParametersEnum = "site"
)
type SiteSleImpactedChassisScopeParametersEnum ¶
type SiteSleImpactedChassisScopeParametersEnum string
SiteSleImpactedChassisScopeParametersEnum is a string enum.
const ( SiteSleImpactedChassisScopeParametersEnum_SITE SiteSleImpactedChassisScopeParametersEnum = "site" SiteSleImpactedChassisScopeParametersEnum_ENUMSWITCH SiteSleImpactedChassisScopeParametersEnum = "switch" SiteSleImpactedChassisScopeParametersEnum_GATEWAY SiteSleImpactedChassisScopeParametersEnum = "gateway" )
type SiteSleImpactedClientsScopeParametersEnum ¶
type SiteSleImpactedClientsScopeParametersEnum string
SiteSleImpactedClientsScopeParametersEnum is a string enum.
const ( SiteSleImpactedClientsScopeParametersEnum_SITE SiteSleImpactedClientsScopeParametersEnum = "site" SiteSleImpactedClientsScopeParametersEnum_ENUMSWITCH SiteSleImpactedClientsScopeParametersEnum = "switch" SiteSleImpactedClientsScopeParametersEnum_GATEWAY SiteSleImpactedClientsScopeParametersEnum = "gateway" )
type SiteSleImpactedGatewaysScopeParametersEnum ¶
type SiteSleImpactedGatewaysScopeParametersEnum string
SiteSleImpactedGatewaysScopeParametersEnum is a string enum.
const (
SiteSleImpactedGatewaysScopeParametersEnum_SITE SiteSleImpactedGatewaysScopeParametersEnum = "site"
)
type SiteSleImpactedInterfacesScopeParametersEnum ¶
type SiteSleImpactedInterfacesScopeParametersEnum string
SiteSleImpactedInterfacesScopeParametersEnum is a string enum.
const ( SiteSleImpactedInterfacesScopeParametersEnum_SITE SiteSleImpactedInterfacesScopeParametersEnum = "site" SiteSleImpactedInterfacesScopeParametersEnum_ENUMSWITCH SiteSleImpactedInterfacesScopeParametersEnum = "switch" SiteSleImpactedInterfacesScopeParametersEnum_GATEWAY SiteSleImpactedInterfacesScopeParametersEnum = "gateway" )
type SiteSleImpactedSwitchesScopeParametersEnum ¶
type SiteSleImpactedSwitchesScopeParametersEnum string
SiteSleImpactedSwitchesScopeParametersEnum is a string enum.
const (
SiteSleImpactedSwitchesScopeParametersEnum_SITE SiteSleImpactedSwitchesScopeParametersEnum = "site"
)
type SiteSleImpactedUsersScopeParameterEnum ¶
type SiteSleImpactedUsersScopeParameterEnum string
SiteSleImpactedUsersScopeParameterEnum is a string enum.
const ( SiteSleImpactedUsersScopeParameterEnum_SITE SiteSleImpactedUsersScopeParameterEnum = "site" SiteSleImpactedUsersScopeParameterEnum_AP SiteSleImpactedUsersScopeParameterEnum = "ap" )
type SiteSleMetricClassifiersScopeParametersEnum ¶
type SiteSleMetricClassifiersScopeParametersEnum string
SiteSleMetricClassifiersScopeParametersEnum is a string enum.
const ( SiteSleMetricClassifiersScopeParametersEnum_SITE SiteSleMetricClassifiersScopeParametersEnum = "site" SiteSleMetricClassifiersScopeParametersEnum_AP SiteSleMetricClassifiersScopeParametersEnum = "ap" SiteSleMetricClassifiersScopeParametersEnum_ENUMSWITCH SiteSleMetricClassifiersScopeParametersEnum = "switch" SiteSleMetricClassifiersScopeParametersEnum_GATEWAY SiteSleMetricClassifiersScopeParametersEnum = "gateway" SiteSleMetricClassifiersScopeParametersEnum_CLIENT SiteSleMetricClassifiersScopeParametersEnum = "client" )
type SiteSleMetricSummaryScopeParametersEnum ¶
type SiteSleMetricSummaryScopeParametersEnum string
SiteSleMetricSummaryScopeParametersEnum is a string enum.
const ( SiteSleMetricSummaryScopeParametersEnum_SITE SiteSleMetricSummaryScopeParametersEnum = "site" SiteSleMetricSummaryScopeParametersEnum_AP SiteSleMetricSummaryScopeParametersEnum = "ap" SiteSleMetricSummaryScopeParametersEnum_ENUMSWITCH SiteSleMetricSummaryScopeParametersEnum = "switch" SiteSleMetricSummaryScopeParametersEnum_GATEWAY SiteSleMetricSummaryScopeParametersEnum = "gateway" SiteSleMetricSummaryScopeParametersEnum_CLIENT SiteSleMetricSummaryScopeParametersEnum = "client" )
type SiteSleMetrics ¶
type SiteSleMetrics struct {
Enabled []string `json:"enabled"`
Supported []string `json:"supported"`
AdditionalProperties map[string]any `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) 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.
const ( SiteSleMetricsScopeParametersEnum_SITE SiteSleMetricsScopeParametersEnum = "site" SiteSleMetricsScopeParametersEnum_AP SiteSleMetricsScopeParametersEnum = "ap" SiteSleMetricsScopeParametersEnum_ENUMSWITCH SiteSleMetricsScopeParametersEnum = "switch" SiteSleMetricsScopeParametersEnum_GATEWAY SiteSleMetricsScopeParametersEnum = "gateway" SiteSleMetricsScopeParametersEnum_CLIENT SiteSleMetricsScopeParametersEnum = "client" )
type SiteSleScopeEnum ¶
type SiteSleScopeEnum string
SiteSleScopeEnum is a string enum.
const ( SiteSleScopeEnum_SITE SiteSleScopeEnum = "site" SiteSleScopeEnum_ENUMSWITCH SiteSleScopeEnum = "switch" SiteSleScopeEnum_GATEWAY SiteSleScopeEnum = "gateway" )
type SiteSleThresholdScopeParameterEnum ¶
type SiteSleThresholdScopeParameterEnum string
SiteSleThresholdScopeParameterEnum is a string enum.
const ( SiteSleThresholdScopeParameterEnum_SITE SiteSleThresholdScopeParameterEnum = "site" SiteSleThresholdScopeParameterEnum_AP SiteSleThresholdScopeParameterEnum = "ap" SiteSleThresholdScopeParameterEnum_ENUMSWITCH SiteSleThresholdScopeParameterEnum = "switch" SiteSleThresholdScopeParameterEnum_GATEWAY SiteSleThresholdScopeParameterEnum = "gateway" SiteSleThresholdScopeParameterEnum_CLIENT SiteSleThresholdScopeParameterEnum = "client" )
type SiteSwitchPortsCountDistinctEnum ¶
type SiteSwitchPortsCountDistinctEnum string
SiteSwitchPortsCountDistinctEnum is a string enum.
const ( SiteSwitchPortsCountDistinctEnum_PORTID SiteSwitchPortsCountDistinctEnum = "port_id" SiteSwitchPortsCountDistinctEnum_PORTMAC SiteSwitchPortsCountDistinctEnum = "port_mac" SiteSwitchPortsCountDistinctEnum_FULLDUPLEX SiteSwitchPortsCountDistinctEnum = "full_duplex" SiteSwitchPortsCountDistinctEnum_MAC SiteSwitchPortsCountDistinctEnum = "mac" SiteSwitchPortsCountDistinctEnum_NEIGHBORMAC SiteSwitchPortsCountDistinctEnum = "neighbor_mac" SiteSwitchPortsCountDistinctEnum_NEIGHBORPORTDESC SiteSwitchPortsCountDistinctEnum = "neighbor_port_desc" SiteSwitchPortsCountDistinctEnum_NEIGHBORSYSTEMNAME SiteSwitchPortsCountDistinctEnum = "neighbor_system_name" SiteSwitchPortsCountDistinctEnum_POEDISABLED SiteSwitchPortsCountDistinctEnum = "poe_disabled" SiteSwitchPortsCountDistinctEnum_POEMODE SiteSwitchPortsCountDistinctEnum = "poe_mode" SiteSwitchPortsCountDistinctEnum_POEON SiteSwitchPortsCountDistinctEnum = "poe_on" SiteSwitchPortsCountDistinctEnum_SPEED SiteSwitchPortsCountDistinctEnum = "speed" SiteSwitchPortsCountDistinctEnum_UP SiteSwitchPortsCountDistinctEnum = "up" )
type SiteSystemEventsCountDistinctEnum ¶
type SiteSystemEventsCountDistinctEnum string
SiteSystemEventsCountDistinctEnum is a string enum.
const (
SiteSystemEventsCountDistinctEnum_ENUMTYPE SiteSystemEventsCountDistinctEnum = "type"
)
type SiteTemplate ¶
type SiteTemplate struct {
AutoUpgrade *SiteTemplateAutoUpgrade `json:"auto_upgrade,omitempty"`
Name *string `json:"name,omitempty"`
// a 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]any `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) 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 {
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]any `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) 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.
const ( SiteWanClientEventsDistinctEnum_ENUMTYPE SiteWanClientEventsDistinctEnum = "type" SiteWanClientEventsDistinctEnum_HOSTNAME SiteWanClientEventsDistinctEnum = "hostname" SiteWanClientEventsDistinctEnum_IP SiteWanClientEventsDistinctEnum = "ip" SiteWanClientEventsDistinctEnum_MFG SiteWanClientEventsDistinctEnum = "mfg" SiteWanClientEventsDistinctEnum_MAC SiteWanClientEventsDistinctEnum = "mac" )
type SiteWanClientsCountDistinctEnum ¶
type SiteWanClientsCountDistinctEnum string
SiteWanClientsCountDistinctEnum is a string enum.
const ( SiteWanClientsCountDistinctEnum_HOSTNAME SiteWanClientsCountDistinctEnum = "hostname" SiteWanClientsCountDistinctEnum_IP SiteWanClientsCountDistinctEnum = "ip" SiteWanClientsCountDistinctEnum_MFG SiteWanClientsCountDistinctEnum = "mfg" SiteWanClientsCountDistinctEnum_MAC SiteWanClientsCountDistinctEnum = "mac" )
type SiteWids ¶
type SiteWids struct {
RepeatedAuthFailures *SiteWidsRepeatedAuthFailures `json:"repeated_auth_failures,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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 WIFI 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 distrupt 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"`
// default / enabled / disabled
ProxyArp Optional[SiteWifiProxyArpEnum] `json:"proxy_arp"`
AdditionalProperties map[string]any `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) 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. default / enabled / disabled
const ( SiteWifiProxyArpEnum_ENUMDEFAULT SiteWifiProxyArpEnum = "default" SiteWifiProxyArpEnum_ENABLED SiteWifiProxyArpEnum = "enabled" SiteWifiProxyArpEnum_DISABLED SiteWifiProxyArpEnum = "disabled" )
type SiteWiredClientsCountDistinctEnum ¶
type SiteWiredClientsCountDistinctEnum string
SiteWiredClientsCountDistinctEnum is a string enum.
const ( SiteWiredClientsCountDistinctEnum_PORTID SiteWiredClientsCountDistinctEnum = "port_id" SiteWiredClientsCountDistinctEnum_VLAN SiteWiredClientsCountDistinctEnum = "vlan" SiteWiredClientsCountDistinctEnum_MAC SiteWiredClientsCountDistinctEnum = "mac" )
type SiteZoneCountDistinctEnum ¶
type SiteZoneCountDistinctEnum string
SiteZoneCountDistinctEnum is a string enum.
const ( SiteZoneCountDistinctEnum_USERTYPE SiteZoneCountDistinctEnum = "user_type" SiteZoneCountDistinctEnum_USER SiteZoneCountDistinctEnum = "user" SiteZoneCountDistinctEnum_SCOPEID SiteZoneCountDistinctEnum = "scope_id" SiteZoneCountDistinctEnum_SCOPE SiteZoneCountDistinctEnum = "scope" )
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]any `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) 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 {
CreatedTime *float64 `json:"created_time,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
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]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Sitegroup. It customizes the JSON unmarshaling process for Sitegroup 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]any `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) 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]any `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) 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 []float64 `json:"degraded"`
Duration []float64 `json:"duration"`
Total []float64 `json:"total"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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"`
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"`
AdditionalProperties map[string]any `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) 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 SleImpactedUsersUser ¶
type SleImpactedUsersUser struct {
ApMac string `json:"ap_mac"`
ApName string `json:"ap_name"`
Degraded float64 `json:"degraded"`
DeviceOs string `json:"device_os"`
DeviceType string `json:"device_type"`
Duration float64 `json:"duration"`
Mac string `json:"mac"`
Name string `json:"name"`
Ssid string `json:"ssid"`
Total float64 `json:"total"`
WlanId string `json:"wlan_id"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `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) 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.
const ( SleSummaryScopeEnum_SITE SleSummaryScopeEnum = "site" SleSummaryScopeEnum_AP SleSummaryScopeEnum = "ap" SleSummaryScopeEnum_ENUMSWITCH SleSummaryScopeEnum = "switch" SleSummaryScopeEnum_GATEWAY SleSummaryScopeEnum = "gateway" SleSummaryScopeEnum_CLIENT SleSummaryScopeEnum = "client" )
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]any `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) 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 []float64 `json:"degraded"`
Total []float64 `json:"total"`
Value []float64 `json:"value"`
AdditionalProperties map[string]any `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) 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]any `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) 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 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 *SnmpConfigEngineIdEnum `json:"engine_id,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]any `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) 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]any `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) 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 SnmpConfigEngineIdEnum ¶
type SnmpConfigEngineIdEnum string
SnmpConfigEngineIdEnum is a string enum.
const ( SnmpConfigEngineIdEnum_LOCAL SnmpConfigEngineIdEnum = "local" SnmpConfigEngineIdEnum_ENGINEIDSUFFIX SnmpConfigEngineIdEnum = "engine-id-suffix" SnmpConfigEngineIdEnum_USEDEFAULTIPADDRESS SnmpConfigEngineIdEnum = "use-default-ip-address" SnmpConfigEngineIdEnum_USEMACADDRESS SnmpConfigEngineIdEnum = "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"`
Version *SnmpConfigTrapVerionEnum `json:"version,omitempty"`
AdditionalProperties map[string]any `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) 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 SnmpConfigTrapVerionEnum ¶
type SnmpConfigTrapVerionEnum string
SnmpConfigTrapVerionEnum is a string enum.
const ( SnmpConfigTrapVerionEnum_V1 SnmpConfigTrapVerionEnum = "v1" SnmpConfigTrapVerionEnum_V2 SnmpConfigTrapVerionEnum = "v2" SnmpConfigTrapVerionEnum_ALL SnmpConfigTrapVerionEnum = "all" )
type SnmpConfigV2CConfig ¶
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]any `json:"_"`
}
SnmpConfigV2CConfig represents a SnmpConfigV2CConfig struct.
func (SnmpConfigV2CConfig) MarshalJSON ¶
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) UnmarshalJSON ¶
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]any `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) 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 {
// required only if `engine_type`==`remote_engine`
EngineId *string `json:"engine-id,omitempty"`
EngineType *SnmpUsmEngineTypeEnum `json:"engine_type,omitempty"`
Users []SnmpUsmpUser `json:"users,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( SnmpUsmEngineTypeEnum_REMOTEENGINE SnmpUsmEngineTypeEnum = "remote_engine" SnmpUsmEngineTypeEnum_LOCALENGINE SnmpUsmEngineTypeEnum = "local_engine" )
type SnmpUsmpUser ¶
type SnmpUsmpUser 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
AuthenticationType *SnmpUsmpUserAuthenticationTypeEnum `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"`
EncryptionType *SnmpUsmpUserEncryptionTypeEnum `json:"encryption_type,omitempty"`
Name *string `json:"name,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
SnmpUsmpUser represents a SnmpUsmpUser struct.
func (SnmpUsmpUser) MarshalJSON ¶
func (s SnmpUsmpUser) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SnmpUsmpUser. It customizes the JSON marshaling process for SnmpUsmpUser objects.
func (*SnmpUsmpUser) UnmarshalJSON ¶
func (s *SnmpUsmpUser) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SnmpUsmpUser. It customizes the JSON unmarshaling process for SnmpUsmpUser objects.
type SnmpUsmpUserAuthenticationTypeEnum ¶
type SnmpUsmpUserAuthenticationTypeEnum string
SnmpUsmpUserAuthenticationTypeEnum is a string enum. sha224, sha256, sha384, sha512 are supported in 21.1 and newer release
const ( SnmpUsmpUserAuthenticationTypeEnum_AUTHENTICATIONMD5 SnmpUsmpUserAuthenticationTypeEnum = "authentication_md5" SnmpUsmpUserAuthenticationTypeEnum_AUTHENTICATIONSHA SnmpUsmpUserAuthenticationTypeEnum = "authentication_sha" SnmpUsmpUserAuthenticationTypeEnum_AUTHENTICATIONSHA224 SnmpUsmpUserAuthenticationTypeEnum = "authentication_sha224" SnmpUsmpUserAuthenticationTypeEnum_AUTHENTICATIONSHA256 SnmpUsmpUserAuthenticationTypeEnum = "authentication_sha256" SnmpUsmpUserAuthenticationTypeEnum_AUTHENTICATIONSHA384 SnmpUsmpUserAuthenticationTypeEnum = "authentication_sha384" SnmpUsmpUserAuthenticationTypeEnum_AUTHENTICATIONSHA512 SnmpUsmpUserAuthenticationTypeEnum = "authentication_sha512" SnmpUsmpUserAuthenticationTypeEnum_AUTHENTICATIONNONE SnmpUsmpUserAuthenticationTypeEnum = "authentication_none" )
type SnmpUsmpUserEncryptionTypeEnum ¶
type SnmpUsmpUserEncryptionTypeEnum string
SnmpUsmpUserEncryptionTypeEnum is a string enum.
const ( SnmpUsmpUserEncryptionTypeEnum_PRIVACYAES128 SnmpUsmpUserEncryptionTypeEnum = "privacy-aes128" SnmpUsmpUserEncryptionTypeEnum_PRIVACYDES SnmpUsmpUserEncryptionTypeEnum = "privacy-des" SnmpUsmpUserEncryptionTypeEnum_PRIVACY3DES SnmpUsmpUserEncryptionTypeEnum = "privacy-3des" SnmpUsmpUserEncryptionTypeEnum_PRIVACYNONE SnmpUsmpUserEncryptionTypeEnum = "privacy-none" )
type SnmpVacm ¶
type SnmpVacm struct {
Access []SnmpVacmAccessItem `json:"access,omitempty"`
SecurityToGroup *SnmpVacmSecurityToGroup `json:"security_to_group,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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"`
SecurityLevel *SnmpVacmAccessItemPrefixListItemLevelEnum `json:"security_level,omitempty"`
SecurityModel *SnmpVacmAccessItemPrefixListItemModelEnum `json:"security_model,omitempty"`
Type *SnmpVacmAccessItemTypeEnum `json:"type,omitempty"`
// refer to view name
WriteView *string `json:"write_view,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( SnmpVacmAccessItemPrefixListItemLevelEnum_PRIVACY SnmpVacmAccessItemPrefixListItemLevelEnum = "privacy" SnmpVacmAccessItemPrefixListItemLevelEnum_AUTHENTICATION SnmpVacmAccessItemPrefixListItemLevelEnum = "authentication" SnmpVacmAccessItemPrefixListItemLevelEnum_NONE SnmpVacmAccessItemPrefixListItemLevelEnum = "none" )
type SnmpVacmAccessItemPrefixListItemModelEnum ¶
type SnmpVacmAccessItemPrefixListItemModelEnum string
SnmpVacmAccessItemPrefixListItemModelEnum is a string enum.
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.
const (
SnmpVacmAccessItemTypeEnum_DEFAULTCONTEXTPREFIX SnmpVacmAccessItemTypeEnum = "default_context_prefix"
)
type SnmpVacmSecurityModelEnum ¶
type SnmpVacmSecurityModelEnum string
SnmpVacmSecurityModelEnum is a string enum.
const ( SnmpVacmSecurityModelEnum_USM SnmpVacmSecurityModelEnum = "usm" SnmpVacmSecurityModelEnum_V1 SnmpVacmSecurityModelEnum = "v1" SnmpVacmSecurityModelEnum_V2C SnmpVacmSecurityModelEnum = "v2c" )
type SnmpVacmSecurityToGroup ¶
type SnmpVacmSecurityToGroup struct {
Content []SnmpVacmSecurityToGroupContentItem `json:"content,omitempty"`
SecurityModel *SnmpVacmSecurityModelEnum `json:"security_model,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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"`
Type *Snmpv3ConfigNotifyTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( Snmpv3ConfigNotifyTypeEnum_TRAP Snmpv3ConfigNotifyTypeEnum = "trap" Snmpv3ConfigNotifyTypeEnum_INFORM Snmpv3ConfigNotifyTypeEnum = "inform" )
type Snmpv3ConfigTargetAddressItem ¶
type Snmpv3ConfigTargetAddressItem struct {
Address *string `json:"address,omitempty"`
AddressMask *string `json:"address_mask,omitempty"`
Port *int `json:"port,omitempty"`
// <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]any `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) 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 {
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"`
SecurityLevel *Snmpv3ConfigTargetParamSecurityLevelEnum `json:"security_level,omitempty"`
SecurityModel *Snmpv3ConfigTargetParamSecurityModelEnum `json:"security_model,omitempty"`
// refer to security_name in usm
SecurityName *string `json:"security_name,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( Snmpv3ConfigTargetParamMessProcessModelEnum_V1 Snmpv3ConfigTargetParamMessProcessModelEnum = "v1" Snmpv3ConfigTargetParamMessProcessModelEnum_V2C Snmpv3ConfigTargetParamMessProcessModelEnum = "v2c" Snmpv3ConfigTargetParamMessProcessModelEnum_V3 Snmpv3ConfigTargetParamMessProcessModelEnum = "v3" )
type Snmpv3ConfigTargetParamSecurityLevelEnum ¶
type Snmpv3ConfigTargetParamSecurityLevelEnum string
Snmpv3ConfigTargetParamSecurityLevelEnum is a string enum.
const ( Snmpv3ConfigTargetParamSecurityLevelEnum_AUTHENTICATION Snmpv3ConfigTargetParamSecurityLevelEnum = "authentication" Snmpv3ConfigTargetParamSecurityLevelEnum_NONE Snmpv3ConfigTargetParamSecurityLevelEnum = "none" Snmpv3ConfigTargetParamSecurityLevelEnum_PRIVACY Snmpv3ConfigTargetParamSecurityLevelEnum = "privacy" )
type Snmpv3ConfigTargetParamSecurityModelEnum ¶
type Snmpv3ConfigTargetParamSecurityModelEnum string
Snmpv3ConfigTargetParamSecurityModelEnum is a string enum.
const ( Snmpv3ConfigTargetParamSecurityModelEnum_USM Snmpv3ConfigTargetParamSecurityModelEnum = "usm" Snmpv3ConfigTargetParamSecurityModelEnum_V1 Snmpv3ConfigTargetParamSecurityModelEnum = "v1" Snmpv3ConfigTargetParamSecurityModelEnum_V2C Snmpv3ConfigTargetParamSecurityModelEnum = "v2c" )
type Sso ¶
type Sso struct {
CreatedTime *float64 `json:"created_time,omitempty"`
// optional, 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"`
// 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"`
Domain *string `json:"domain,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
// if `idp_type`==`saml`. IDP Cert (used to verify the signed response)
IdpCert *string `json:"idp_cert,omitempty"`
// if `idp_type`==`saml`. Signing algorithm for SAML Assertion
IdpSignAlgo *string `json:"idp_sign_algo,omitempty"`
// IDP Single-Sign-On URL
IdpSsoUrl *string `json:"idp_sso_url,omitempty"`
IdpType *SsoIdpTypeEnum `json:"idp_type,omitempty"`
// 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"`
// if `idp_type`==`ldap`
LdapBaseDn *string `json:"ldap_base_dn,omitempty"`
// if `idp_type`==`ldap`
LdapBindDn *string `json:"ldap_bind_dn,omitempty"`
// if `idp_type`==`ldap`
LdapBindPassword *string `json:"ldap_bind_password,omitempty"`
// if `idp_type`==`ldap`
LdapCerts []string `json:"ldap_certs,omitempty"`
// if `idp_type`==`ldap`
LdapClientCert *string `json:"ldap_client_cert,omitempty"`
// if `idp_type`==`ldap`
LdapClientKey *string `json:"ldap_client_key,omitempty"`
// Only if `ldap_type`==`custom`
LdapGroupAttr *string `json:"ldap_group_attr,omitempty"`
// Only if `ldap_type`==`custom`
LdapGroupDn *string `json:"ldap_group_dn,omitempty"`
// Only if `ldap_type`==`custom`
LdapGroupFilter *string `json:"ldap_group_filter,omitempty"`
// whether to recursively resolve LDAP groups
LdapResolveGroups *bool `json:"ldap_resolve_groups,omitempty"`
// if `idp_type`==`ldap`
LdapServerHosts []string `json:"ldap_server_hosts,omitempty"`
// if `idp_type`==`ldap`
LdapType *SsoLdapTypeEnum `json:"ldap_type,omitempty"`
// Only if `ldap_type`==`custom`
LdapUserFilter *string `json:"ldap_user_filter,omitempty"`
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`
NameidFormat *SsoNameidFormatEnum `json:"nameid_format,omitempty"`
// if `oauth_type`==`okta`, Client Credentials
OauthCcClientId *string `json:"oauth_cc_client_id,omitempty"`
// if `oauth_type`==`okta`, 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"`
// ropc = Resource Owner Password Credentials
OauthRopcClientId *string `json:"oauth_ropc_client_id,omitempty"`
// oauth_ropc_client_secret can be empty if oauth_type is azure or azure-gov
OauthRopcClientSecret *string `json:"oauth_ropc_client_secret,omitempty"`
// if `oauth_type`==`okta`, oauth_tenant_id
OauthTenantId *string `json:"oauth_tenant_id,omitempty"`
OauthType *SsoOauthTypeEnum `json:"oauth_type,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// optional, 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><li>E.g. if role attribute is “CN=cn,OU=ou1,OU=ou2” then parsed role value is “cn”</li></ul></td></tr></table>
RoleAttrExtraction *string `json:"role_attr_extraction,omitempty"`
// name of the attribute in SAML Assertion to extract role from
RoleAttrFrom *string `json:"role_attr_from,omitempty"`
// indicates if SCIM provisioning is enabled for the OAuth IDP
ScimEnabled *bool `json:"scim_enabled,omitempty"`
// scim_secret_token (generated by caller, crypto-random) 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"`
Type *string `json:"type,omitempty"`
AdditionalProperties map[string]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Sso. It customizes the JSON unmarshaling process for Sso objects.
type SsoIdpTypeEnum ¶
type SsoIdpTypeEnum string
SsoIdpTypeEnum is a string enum.
const ( SsoIdpTypeEnum_SAML SsoIdpTypeEnum = "saml" SsoIdpTypeEnum_LDAP SsoIdpTypeEnum = "ldap" SsoIdpTypeEnum_OAUTH SsoIdpTypeEnum = "oauth" SsoIdpTypeEnum_MXEDGEPROXY SsoIdpTypeEnum = "mxedge_proxy" )
type SsoLdapTypeEnum ¶
type SsoLdapTypeEnum string
SsoLdapTypeEnum is a string enum. if `idp_type`==`ldap`
const ( SsoLdapTypeEnum_AZURE SsoLdapTypeEnum = "azure" SsoLdapTypeEnum_OKTA SsoLdapTypeEnum = "okta" SsoLdapTypeEnum_GOOGLE SsoLdapTypeEnum = "google" SsoLdapTypeEnum_CUSTOM SsoLdapTypeEnum = "custom" )
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]any `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) 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]any `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) 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"`
Secret *string `json:"secret,omitempty"`
AdditionalProperties map[string]any `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) 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`
const ( SsoNameidFormatEnum_EMAIL SsoNameidFormatEnum = "email" SsoNameidFormatEnum_UNSPECIFIED SsoNameidFormatEnum = "unspecified" )
type SsoOauthTypeEnum ¶
type SsoOauthTypeEnum string
SsoOauthTypeEnum is a string enum.
const ( SsoOauthTypeEnum_AZURE SsoOauthTypeEnum = "azure" SsoOauthTypeEnum_AZUREGOV SsoOauthTypeEnum = "azure-gov" SsoOauthTypeEnum_OKTA SsoOauthTypeEnum = "okta" )
type SsoRoleMsp ¶
type SsoRoleMsp struct {
CreatedTime *float64 `json:"created_time,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
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"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
AdditionalProperties map[string]any `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) 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 {
CreatedTime *float64 `json:"created_time,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
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"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
AdditionalProperties map[string]any `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) 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 SsoSamlMetadata ¶
type SsoSamlMetadata struct {
AcsUrl string `json:"acs_url"`
EntityId string `json:"entity_id"`
LogoutUrl string `json:"logout_url"`
MetadataXml string `json:"metadata_xml"`
AdditionalProperties map[string]any `json:"_"`
}
SsoSamlMetadata represents a SsoSamlMetadata struct.
func (SsoSamlMetadata) MarshalJSON ¶
func (s SsoSamlMetadata) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SsoSamlMetadata. It customizes the JSON marshaling process for SsoSamlMetadata objects.
func (*SsoSamlMetadata) UnmarshalJSON ¶
func (s *SsoSamlMetadata) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SsoSamlMetadata. It customizes the JSON unmarshaling process for SsoSamlMetadata objects.
type SsrUpgrade ¶
type SsrUpgrade struct {
// upgrade channel to follow
Channel *SsrUpgradeChannelEnum `json:"channel,omitempty"`
// eboot 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]any `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) 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
const ( SsrUpgradeChannelEnum_STABLE SsrUpgradeChannelEnum = "stable" SsrUpgradeChannelEnum_BETA SsrUpgradeChannelEnum = "beta" SsrUpgradeChannelEnum_ALPHA SsrUpgradeChannelEnum = "alpha" )
type SsrUpgradeMulti ¶
type SsrUpgradeMulti struct {
// upgrade channel to follow
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"`
// * `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]any `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) 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 SsrUpgradeResponse ¶
type SsrUpgradeResponse struct {
Channel string `json:"channel"`
Counts SsrUpgradeResponseCounts `json:"counts"`
DeviceType string `json:"device_type"`
Id string `json:"id"`
Status string `json:"status"`
Strategy string `json:"strategy"`
Versions map[string]string `json:"versions"`
AdditionalProperties map[string]any `json:"_"`
}
SsrUpgradeResponse represents a SsrUpgradeResponse struct.
func (SsrUpgradeResponse) MarshalJSON ¶
func (s SsrUpgradeResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SsrUpgradeResponse. It customizes the JSON marshaling process for SsrUpgradeResponse objects.
func (*SsrUpgradeResponse) UnmarshalJSON ¶
func (s *SsrUpgradeResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SsrUpgradeResponse. It customizes the JSON unmarshaling process for SsrUpgradeResponse objects.
type SsrUpgradeResponseCounts ¶
type SsrUpgradeResponseCounts struct {
Failed int `json:"failed"`
Queued int `json:"queued"`
Success int `json:"success"`
Upgrading int `json:"upgrading"`
AdditionalProperties map[string]any `json:"_"`
}
SsrUpgradeResponseCounts represents a SsrUpgradeResponseCounts struct.
func (SsrUpgradeResponseCounts) MarshalJSON ¶
func (s SsrUpgradeResponseCounts) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SsrUpgradeResponseCounts. It customizes the JSON marshaling process for SsrUpgradeResponseCounts objects.
func (*SsrUpgradeResponseCounts) UnmarshalJSON ¶
func (s *SsrUpgradeResponseCounts) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SsrUpgradeResponseCounts. It customizes the JSON unmarshaling process for SsrUpgradeResponseCounts objects.
type SsrUpgradeStrategyEnum ¶
type SsrUpgradeStrategyEnum string
SsrUpgradeStrategyEnum is a string 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"`
Version string `json:"version"`
AdditionalProperties map[string]any `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) 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 StatDeviceStatusFilterEnum ¶
type StatDeviceStatusFilterEnum string
StatDeviceStatusFilterEnum is a string enum.
const ( StatDeviceStatusFilterEnum_ALL StatDeviceStatusFilterEnum = "all" StatDeviceStatusFilterEnum_CONNECTED StatDeviceStatusFilterEnum = "connected" StatDeviceStatusFilterEnum_DISCONNECTED StatDeviceStatusFilterEnum = "disconnected" )
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"`
IbeaconMajor *int `json:"ibeacon_major,omitempty"`
IbeaconMinor *int `json:"ibeacon_minor,omitempty"`
IbeaconUuid *uuid.UUID `json:"ibeacon_uuid,omitempty"`
// last seen timestamp
LastSeen *float64 `json:"last_seen,omitempty"`
// 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"`
Temperatur *float64 `json:"temperatur,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]any `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) 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 StatsClientAnyOf ¶
type StatsClientAnyOf struct {
// contains filtered or unexported fields
}
StatsClientAnyOf represents a StatsClientAnyOf struct.
func (*StatsClientAnyOf) AsArrayOfClientWirelessStats ¶
func (s *StatsClientAnyOf) AsArrayOfClientWirelessStats() ( *[]ClientWirelessStats, bool)
func (*StatsClientAnyOf) AsStatsWiredClient ¶
func (s *StatsClientAnyOf) AsStatsWiredClient() ( *StatsWiredClient, bool)
func (StatsClientAnyOf) MarshalJSON ¶
func (s StatsClientAnyOf) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsClientAnyOf. It customizes the JSON marshaling process for StatsClientAnyOf objects.
func (StatsClientAnyOf) String ¶
func (s StatsClientAnyOf) String() string
String converts the StatsClientAnyOf object to a string representation.
func (*StatsClientAnyOf) UnmarshalJSON ¶
func (s *StatsClientAnyOf) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsClientAnyOf. It customizes the JSON unmarshaling process for StatsClientAnyOf objects.
type StatsDevice ¶
type StatsDevice struct {
AutoPlacement *ApStatsAutoPlacement `json:"auto_placement,omitempty"`
AutoUpgradeStat *ApStatsAutoUpgrade `json:"auto_upgrade_stat,omitempty"`
BleStat *ApStatsBle `json:"ble_stat,omitempty"`
CertExpiry Optional[int64] `json:"cert_expiry"`
ConfigReverted Optional[bool] `json:"config_reverted"`
CpuSystem Optional[int64] `json:"cpu_system"`
CpuUtil Optional[int] `json:"cpu_util"`
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 *ApStatsEnvStat `json:"env_stat,omitempty"`
EslStat Optional[ApStatsEslStat] `json:"esl_stat"`
EvpntopoId Optional[uuid.UUID] `json:"evpntopo_id"`
// IP address
ExtIp Optional[string] `json:"ext_ip"`
Fwupdate *FwupdateStat `json:"fwupdate,omitempty"`
// device hardware revision number
HwRev Optional[string] `json:"hw_rev"`
// serial
Id *uuid.UUID `json:"id,omitempty"`
InactiveWiredVlans []int `json:"inactive_wired_vlans,omitempty"`
IotStat map[string]ApStatsIotStatAdditionalProperties `json:"iot_stat,omitempty"`
// IP address
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]ApStatsL2TpStat `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 Stat (neighbor information, power negotiations)
LldpStat *ApStatsLldpStat `json:"lldp_stat,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"`
// serial
MapId Optional[uuid.UUID] `json:"map_id"`
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"`
ModifiedTime *float64 `json:"modified_time,omitempty"`
Mount Optional[string] `json:"mount"`
// device name if configured
Name Optional[string] `json:"name"`
Notes Optional[string] `json:"notes"`
// how many wireless clients are currently connected
NumClients Optional[int] `json:"num_clients"`
// serial
OrgId Optional[uuid.UUID] `json:"org_id"`
// Property key is the port name (e.g. `eth0`)
PortStat Optional[map[string]ApStatsPortStat] `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 *ApStatsRadioConfig `json:"radio_config,omitempty"`
RadioStat *ApStatsRadioStat `json:"radio_stat,omitempty"`
RxBps Optional[float64] `json:"rx_bps"`
RxBytes Optional[int64] `json:"rx_bytes"`
RxPkts Optional[int] `json:"rx_pkts"`
// serial
Serial Optional[string] `json:"serial"`
// serial
SiteId *uuid.UUID `json:"site_id,omitempty"`
Status Optional[string] `json:"status"`
SwitchRedundancy *ApStatsSwitchRedundancy `json:"switch_redundancy,omitempty"`
TxBps Optional[float64] `json:"tx_bps"`
TxBytes Optional[float64] `json:"tx_bytes"`
TxPkts Optional[float64] `json:"tx_pkts"`
// device type, ap / ble /switch / gateway
Type Optional[string] `json:"type"`
// how long, in seconds, has the device been up (or rebooted)
Uptime Optional[float64] `json:"uptime"`
UsbStat *ApStatsUsbStat `json:"usb_stat,omitempty"`
Version Optional[string] `json:"version"`
X Optional[float64] `json:"x"`
Y Optional[float64] `json:"y"`
ApRedundancy *SwitchStatsApRedundancy1 `json:"ap_redundancy,omitempty"`
ArpTableStats *ArpTableStats `json:"arp_table_stats,omitempty"`
Clients []SwitchStatsClientItem `json:"clients,omitempty"`
ClientsStats *SwitchStatsClientsStats `json:"clients_stats,omitempty"`
ConfigStatus *string `json:"config_status,omitempty"`
CpuStat *CpuStat `json:"cpu_stat,omitempty"`
// Property key is the network name
DhcpdStat *DhcpdStat `json:"dhcpd_stat,omitempty"`
FwVersionsOutofsync *bool `json:"fw_versions_outofsync,omitempty"`
// whether the switch supports packet capture
HasPcap *bool `json:"has_pcap,omitempty"`
// hostname reported by the device
Hostname *string `json:"hostname,omitempty"`
// Property key is the interface name
IfStat *IfStat `json:"if_stat,omitempty"`
MacTableStats *MacTableStats `json:"mac_table_stats,omitempty"`
// memory usage stat (for virtual chassis, memory usage of master RE)
MemoryStat *MemoryStat `json:"memory_stat,omitempty"`
ModuleStat []ModuleStatItem `json:"module_stat,omitempty"`
RouteSummaryStats *RouteSummaryStats `json:"route_summary_stats,omitempty"`
ServiceStat *ServiceStat `json:"service_stat,omitempty"`
VcMac Optional[string] `json:"vc_mac"`
VcSetupInfo *SwitchStatsVcSetupInfo `json:"vc_setup_info,omitempty"`
ClusterConfig *ClusterConfigStats `json:"cluster_config,omitempty"`
ClusterStat *GatewayStatsCluster `json:"cluster_stat,omitempty"`
ConductorName *string `json:"conductor_name,omitempty"`
Cpu2Stat *CpuStat `json:"cpu2_stat,omitempty"`
// Property key is the network name
Dhcpd2Stat map[string]DhcpdStatLan `json:"dhcpd2_stat,omitempty"`
// Property key is the interface name
If2Stat map[string]IfStatProperty `json:"if2_stat,omitempty"`
Ip2Stat *IpStat `json:"ip2_stat,omitempty"`
IsHa Optional[bool] `json:"is_ha"`
// memory usage stat (for virtual chassis, memory usage of master RE)
Memory2Stat *MemoryStat `json:"memory2_stat,omitempty"`
Module2Stat []ModuleStatItem `json:"module2_stat,omitempty"`
NodeName *string `json:"node_name,omitempty"`
// device name if configured
RouterName *string `json:"router_name,omitempty"`
Service2Stat map[string]ServiceStatProperty `json:"service2_stat,omitempty"`
ServiceStatus *GatewayStatsServiceStatus `json:"service_status,omitempty"`
Spu2Stat []GatewayStatsSpuItem `json:"spu2_stat,omitempty"`
SpuStat []GatewayStatsSpuItem `json:"spu_stat,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
StatsDevice represents a StatsDevice struct.
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) 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 StatsSite ¶
type StatsSite struct {
Address string `json:"address"`
AlarmtemplateId uuid.UUID `json:"alarmtemplate_id"`
CountryCode string `json:"country_code"`
CreatedTime float64 `json:"created_time"`
Id uuid.UUID `json:"id"`
Lat float64 `json:"lat"`
Latlng LatLng `json:"latlng"`
Lng float64 `json:"lng"`
ModifiedTime float64 `json:"modified_time"`
MspId string `json:"msp_id"`
Name string `json:"name"`
NetworktemplateId uuid.UUID `json:"networktemplate_id"`
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 uuid.UUID `json:"rftemplate_id"`
SecpolicyId *interface{} `json:"secpolicy_id,omitempty"`
SitegroupIds []uuid.UUID `json:"sitegroup_ids"`
Timezone string `json:"timezone"`
Tzoffset int `json:"tzoffset"`
AdditionalProperties map[string]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for StatsSite. It customizes the JSON unmarshaling process for StatsSite objects.
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 sent to client since client connects
RxBytes *float64 `json:"rx_bytes,omitempty"`
// amount of traffic sent to client since client connects
RxPkts *float64 `json:"rx_pkts,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// amount of traffic received from client since client connects
TxBytes *float64 `json:"tx_bytes,omitempty"`
// amount of traffic received from client since client connects
TxPkts *float64 `json:"tx_pkts,omitempty"`
// 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]any `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) 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 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"`
// poch_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
Scope *SuppressedAlarmScopeEnum `json:"scope,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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
const ( SuppressedAlarmScopeEnum_ORG SuppressedAlarmScopeEnum = "org" SuppressedAlarmScopeEnum_SITE SuppressedAlarmScopeEnum = "site" )
type SwitchMatching ¶
type SwitchMatching struct {
Enable *bool `json:"enable,omitempty"`
Rules []SwitchMatchingRule `json:"rules,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
SwitchMatching represents a SwitchMatching struct. Switch template
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) 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"`
// role to match
MatchRole *string `json:"match_role,omitempty"`
Name *string `json:"name,omitempty"`
// Propery key is the interface name or interface range
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.
PortMirroring map[string]SwitchPortMirroringProperty `json:"port_mirroring,omitempty"`
// Switch settings
SwitchMgmt *ConfigSwitch `json:"switch_mgmt,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
SwitchMatchingRule represents a SwitchMatchingRule struct. property key define the type of matching, value is the string to match. e.g: `match_name[0:3]`, `match_name[2:6]`, `match_model`, `match_model[0-6]`
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) 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 SwitchMetricScopeEnum ¶
type SwitchMetricScopeEnum string
SwitchMetricScopeEnum is a string enum.
const ( SwitchMetricScopeEnum_SITE SwitchMetricScopeEnum = "site" SwitchMetricScopeEnum_ENUMSWITCH SwitchMetricScopeEnum = "switch" )
type SwitchMetricTypeEnum ¶
type SwitchMetricTypeEnum string
SwitchMetricTypeEnum is a string enum.
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]any `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) 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]any `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) 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 {
ConfigRevert *int `json:"config_revert,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"`
RootPassword *string `json:"root_password,omitempty"`
Tacacs *Tacacs `json:"tacacs,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
SwitchMgmt represents a SwitchMgmt struct.
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) 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 SwitchMistNac ¶
type SwitchMistNac struct {
Enabled *bool `json:"enabled,omitempty"`
Network *string `json:"network,omitempty"`
AdditionalProperties map[string]any `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) 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 {
// 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
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"`
VlanId SwitchNetworkVlanId `json:"vlan_id"`
AdditionalProperties map[string]any `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) 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 SwitchNetworkVlanId ¶ added in v0.2.20
type SwitchNetworkVlanId struct {
// contains filtered or unexported fields
}
SwitchNetworkVlanId represents a SwitchNetworkVlanId struct. This is a container for one-of cases.
func (*SwitchNetworkVlanId) AsNumber ¶ added in v0.2.20
func (s *SwitchNetworkVlanId) AsNumber() ( *int, bool)
func (*SwitchNetworkVlanId) AsString ¶ added in v0.2.20
func (s *SwitchNetworkVlanId) AsString() ( *string, bool)
func (SwitchNetworkVlanId) MarshalJSON ¶ added in v0.2.20
func (s SwitchNetworkVlanId) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchNetworkVlanId. It customizes the JSON marshaling process for SwitchNetworkVlanId objects.
func (SwitchNetworkVlanId) String ¶ added in v0.2.20
func (s SwitchNetworkVlanId) String() string
String converts the SwitchNetworkVlanId object to a string representation.
func (*SwitchNetworkVlanId) UnmarshalJSON ¶ added in v0.2.20
func (s *SwitchNetworkVlanId) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchNetworkVlanId. It customizes the JSON unmarshaling process for SwitchNetworkVlanId 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"`
Type *IpTypeEnum `json:"type,omitempty"`
// f 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]any `json:"_"`
}
SwitchOobIpConfig represents a SwitchOobIpConfig struct. - 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) 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 SwitchOobIpConfig1 ¶
type SwitchOobIpConfig1 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"`
Type *IpTypeEnum `json:"type,omitempty"`
// f 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"`
// for HA Cluster, node1 can have different IP Config
Node1 *GatewayOobIpConfigNode1 `json:"node1,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
SwitchOobIpConfig1 represents a SwitchOobIpConfig1 struct. - 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 (SwitchOobIpConfig1) MarshalJSON ¶
func (s SwitchOobIpConfig1) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchOobIpConfig1. It customizes the JSON marshaling process for SwitchOobIpConfig1 objects.
func (*SwitchOobIpConfig1) UnmarshalJSON ¶
func (s *SwitchOobIpConfig1) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchOobIpConfig1. It customizes the JSON unmarshaling process for SwitchOobIpConfig1 objects.
type SwitchPortMirroring ¶
type SwitchPortMirroring struct {
PortMirror *GatewayPortMirroringPortMirror `json:"port_mirror,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
SwitchPortMirroring represents a SwitchPortMirroring struct. 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.
func (SwitchPortMirroring) MarshalJSON ¶
func (s SwitchPortMirroring) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchPortMirroring. It customizes the JSON marshaling process for SwitchPortMirroring objects.
func (*SwitchPortMirroring) UnmarshalJSON ¶
func (s *SwitchPortMirroring) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchPortMirroring. It customizes the JSON unmarshaling process for SwitchPortMirroring objects.
type SwitchPortMirroringProperty ¶
type SwitchPortMirroringProperty struct {
// at least one of the `ingress_port_ids`, `egress_port_ids` or `ingress_networks ` should be specified
InputNetworksIngress []string `json:"input_networks_ingress,omitempty"`
// at least one of the `ingress_port_ids`, `egress_port_ids` or `ingress_networks ` should be specified
InputPortIdsEgress []string `json:"input_port_ids_egress,omitempty"`
// at least one of the `ingress_port_ids`, `egress_port_ids` or `ingress_networks ` should be specified
InputPortIdsIngress []string `json:"input_port_ids_ingress,omitempty"`
OutputNetwork *string `json:"output_network,omitempty"`
// exaclty on of the `output_port_id` or `output_network` should be provided
OutputPortId *string `json:"output_port_id,omitempty"`
AdditionalProperties map[string]any `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) 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 SwitchPortStats ¶
type SwitchPortStats struct {
// Indicates if interface is active/inactive
Active *bool `json:"active,omitempty"`
// if `up`==`true` and has Authenticator role
AuthState *SwitchPortStatsAuthStateEnum `json:"auth_state,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"`
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 configured not be disabled.
PoeDisabled *bool `json:"poe_disabled,omitempty"`
PoeMode *SwitchPortStatsPoeModeEnum `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
PortUsage *SwitchPortStatsPortUsageEnum `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"`
// Input rate
RxBps *int `json:"rx_bps,omitempty"`
// rx bytes
RxBytes int64 `json:"rx_bytes"`
// Input errors
RxErrors *int `json:"rx_errors,omitempty"`
// Multicast input packets
RxMcastPkts *int `json:"rx_mcast_pkts,omitempty"`
// rx packets
RxPkts int `json:"rx_pkts"`
SiteId uuid.UUID `json:"site_id"`
// port speed
Speed *int `json:"speed,omitempty"`
// if `up`==`true`
StpRole *SwitchPortStatsStpRoleEnum `json:"stp_role,omitempty"`
// if `up`==`true`
StpState *SwitchPortStatsStpStateEnum `json:"stp_state,omitempty"`
// Broadcast output packets
TxBcastPkts *int `json:"tx_bcast_pkts,omitempty"`
// Output rate
TxBps *int `json:"tx_bps,omitempty"`
// tx bytes
TxBytes int64 `json:"tx_bytes"`
// Output errors
TxErrors *int `json:"tx_errors,omitempty"`
// Multicast output packets
TxMcastPkts *int `json:"tx_mcast_pkts,omitempty"`
// tx packets
TxPkts int `json:"tx_pkts"`
// device type
Type *SwitchPortStatsTypeEnum `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]any `json:"_"`
}
SwitchPortStats represents a SwitchPortStats struct. Switch port statistics
func (SwitchPortStats) MarshalJSON ¶
func (s SwitchPortStats) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchPortStats. It customizes the JSON marshaling process for SwitchPortStats objects.
func (*SwitchPortStats) UnmarshalJSON ¶
func (s *SwitchPortStats) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchPortStats. It customizes the JSON unmarshaling process for SwitchPortStats objects.
type SwitchPortStatsAuthStateEnum ¶
type SwitchPortStatsAuthStateEnum string
SwitchPortStatsAuthStateEnum is a string enum. if `up`==`true` and has Authenticator role
const ( SwitchPortStatsAuthStateEnum_INIT SwitchPortStatsAuthStateEnum = "init" SwitchPortStatsAuthStateEnum_AUTHENTICATED SwitchPortStatsAuthStateEnum = "authenticated" SwitchPortStatsAuthStateEnum_AUTHENTICATING SwitchPortStatsAuthStateEnum = "authenticating" SwitchPortStatsAuthStateEnum_HELD SwitchPortStatsAuthStateEnum = "held" )
type SwitchPortStatsPoeModeEnum ¶
type SwitchPortStatsPoeModeEnum string
SwitchPortStatsPoeModeEnum is a string enum.
const ( SwitchPortStatsPoeModeEnum_ENUM8023AF SwitchPortStatsPoeModeEnum = "802.3af" SwitchPortStatsPoeModeEnum_ENUM8023AT SwitchPortStatsPoeModeEnum = "802.3at" SwitchPortStatsPoeModeEnum_ENUM8023BT SwitchPortStatsPoeModeEnum = "802.3bt" )
type SwitchPortStatsPortUsageEnum ¶
type SwitchPortStatsPortUsageEnum string
SwitchPortStatsPortUsageEnum is a string enum. gateway port usage
const (
SwitchPortStatsPortUsageEnum_LAN SwitchPortStatsPortUsageEnum = "lan"
)
type SwitchPortStatsStpRoleEnum ¶
type SwitchPortStatsStpRoleEnum string
SwitchPortStatsStpRoleEnum is a string enum. if `up`==`true`
const ( SwitchPortStatsStpRoleEnum_DESIGNATED SwitchPortStatsStpRoleEnum = "designated" SwitchPortStatsStpRoleEnum_BACKUP SwitchPortStatsStpRoleEnum = "backup" SwitchPortStatsStpRoleEnum_ALTERNATE SwitchPortStatsStpRoleEnum = "alternate" SwitchPortStatsStpRoleEnum_ROOT SwitchPortStatsStpRoleEnum = "root" SwitchPortStatsStpRoleEnum_ROOTPREVENTED SwitchPortStatsStpRoleEnum = "root-prevented" )
type SwitchPortStatsStpStateEnum ¶
type SwitchPortStatsStpStateEnum string
SwitchPortStatsStpStateEnum is a string enum. if `up`==`true`
const ( SwitchPortStatsStpStateEnum_FORWARDING SwitchPortStatsStpStateEnum = "forwarding" SwitchPortStatsStpStateEnum_BLOCKING SwitchPortStatsStpStateEnum = "blocking" SwitchPortStatsStpStateEnum_LEARNING SwitchPortStatsStpStateEnum = "learning" SwitchPortStatsStpStateEnum_LISTENING SwitchPortStatsStpStateEnum = "listening" SwitchPortStatsStpStateEnum_DISABLED SwitchPortStatsStpStateEnum = "disabled" )
type SwitchPortStatsTypeEnum ¶
type SwitchPortStatsTypeEnum string
SwitchPortStatsTypeEnum is a string enum. device type
const ( SwitchPortStatsTypeEnum_AP SwitchPortStatsTypeEnum = "ap" SwitchPortStatsTypeEnum_BLE SwitchPortStatsTypeEnum = "ble" SwitchPortStatsTypeEnum_ENUMSWITCH SwitchPortStatsTypeEnum = "switch" SwitchPortStatsTypeEnum_GATEWAY SwitchPortStatsTypeEnum = "gateway" SwitchPortStatsTypeEnum_MXEDGE SwitchPortStatsTypeEnum = "mxedge" SwitchPortStatsTypeEnum_NAC SwitchPortStatsTypeEnum = "nac" )
type SwitchPortUsage ¶
type SwitchPortUsage struct {
// Only if `mode`==`trunk` whether to trunk all network/vlans
AllNetworks *bool `json:"all_networks,omitempty"`
// Only if `mode`!=`dynamic` if DHCP snooping is enabled, whether DHCP server is allowed on the interfaces with. All the interfaces from port configs using this port usage are effected. Please notice that allow_dhcpd is a tri_state.
// When it is not defined, it means using the system’s default setting which depends on whether the port is a access or trunk port.
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
BypassAuthWhenServerDownForUnkonwnClient *bool `json:"bypass_auth_when_server_down_for_unkonwn_client,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
Duplex *SwitchPortUsageDuplexEnum `json:"duplex,omitempty"`
// Only if `mode`!=`dynamic` 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"`
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_switch_link is used together with "isolation" under networks
// NOTE: inter_switch_link works only between Juniper device. 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"`
// if `enable_mac_auth` ==`true`. This type is ignored if mist_nac is enabled.
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 or higher, with upper bound constrained by platform
MacLimit *int `json:"mac_limit,omitempty"`
// `mode`==`dynamic` must only be used with the port usage with the name `dynamic`
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 *int `json:"mtu,omitempty"`
// Only if `mode`==`trunk`, the list of network/vlans
Networks []string `json:"networks,omitempty"`
// Only if `mode`!=`dynamic` and `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"`
// Only if `mode`!=`dynamic` if dot1x is desired, set to dot1x
PortAuth *string `json:"port_auth,omitempty"`
// 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
ReauthInterval *int `json:"reauth_interval,omitempty"`
// Only if `mode`!=`dynamic` and `port_auth`==`dot1x` when radius server reject / fails
RejectedNetwork Optional[string] `json:"rejected_network"`
// Only if `mode`==`dynamic` Control when the DPC port should be changed to the default port usage
// Configuring to none will 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` speed, default is auto to automatically negotiate speed
Speed *string `json:"speed,omitempty"`
// Switch storm control
// Only if `mode`!=`dynamic`
StormControl *SwitchPortUsageStormControl `json:"storm_control,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` 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]any `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) 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 SwitchPortUsageDuplexEnum ¶
type SwitchPortUsageDuplexEnum string
SwitchPortUsageDuplexEnum is a string enum. Only if `mode`!=`dynamic` link connection mode
const ( SwitchPortUsageDuplexEnum_HALF SwitchPortUsageDuplexEnum = "half" SwitchPortUsageDuplexEnum_FULL SwitchPortUsageDuplexEnum = "full" SwitchPortUsageDuplexEnum_AUTO SwitchPortUsageDuplexEnum = "auto" )
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 Configuring to none will let the DPC port keep at the current port usage.
const ( SwitchPortUsageDynamicResetDefaultWhenEnum_NONE SwitchPortUsageDynamicResetDefaultWhenEnum = "none" SwitchPortUsageDynamicResetDefaultWhenEnum_LINKDOWN SwitchPortUsageDynamicResetDefaultWhenEnum = "link_down" )
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"`
Src SwitchPortUsageDynamicRuleSrcEnum `json:"src"`
// `port_usage` name
Usage *string `json:"usage,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( SwitchPortUsageDynamicRuleSrcEnum_LLDPCHASSISID SwitchPortUsageDynamicRuleSrcEnum = "lldp_chassis_id" SwitchPortUsageDynamicRuleSrcEnum_LLDPSYSTEMNAME SwitchPortUsageDynamicRuleSrcEnum = "lldp_system_name" SwitchPortUsageDynamicRuleSrcEnum_LLDPSERIALNUMBER SwitchPortUsageDynamicRuleSrcEnum = "lldp_serial_number" SwitchPortUsageDynamicRuleSrcEnum_LLDPHARDWAREREVISION SwitchPortUsageDynamicRuleSrcEnum = "lldp_hardware_revision" SwitchPortUsageDynamicRuleSrcEnum_LLDPMANUFACTURERNAME SwitchPortUsageDynamicRuleSrcEnum = "lldp_manufacturer_name" SwitchPortUsageDynamicRuleSrcEnum_LLDPOUI SwitchPortUsageDynamicRuleSrcEnum = "lldp_oui" SwitchPortUsageDynamicRuleSrcEnum_RADIUSUSERNAME SwitchPortUsageDynamicRuleSrcEnum = "radius_username" SwitchPortUsageDynamicRuleSrcEnum_RADIUSUSERMAC SwitchPortUsageDynamicRuleSrcEnum = "radius_usermac" SwitchPortUsageDynamicRuleSrcEnum_RADIUSDYNAMICFILTER SwitchPortUsageDynamicRuleSrcEnum = "radius_dynamicfilter" SwitchPortUsageDynamicRuleSrcEnum_LINKPEERMAC SwitchPortUsageDynamicRuleSrcEnum = "link_peermac" )
type SwitchPortUsageMacAuthProtocolEnum ¶
type SwitchPortUsageMacAuthProtocolEnum string
SwitchPortUsageMacAuthProtocolEnum is a string enum. if `enable_mac_auth` ==`true`. This type is ignored if mist_nac is enabled.
const ( SwitchPortUsageMacAuthProtocolEnum_PAP SwitchPortUsageMacAuthProtocolEnum = "pap" SwitchPortUsageMacAuthProtocolEnum_EAPPEAP SwitchPortUsageMacAuthProtocolEnum = "eap-peap" SwitchPortUsageMacAuthProtocolEnum_EAPMD5 SwitchPortUsageMacAuthProtocolEnum = "eap-md5" )
type SwitchPortUsageModeEnum ¶
type SwitchPortUsageModeEnum string
SwitchPortUsageModeEnum is a string enum. `mode`==`dynamic` must only be used with the port usage with the name `dynamic`
const ( SwitchPortUsageModeEnum_ACCESS SwitchPortUsageModeEnum = "access" SwitchPortUsageModeEnum_TRUNK SwitchPortUsageModeEnum = "trunk" SwitchPortUsageModeEnum_INET SwitchPortUsageModeEnum = "inet" SwitchPortUsageModeEnum_DYNAMIC SwitchPortUsageModeEnum = "dynamic" )
type SwitchPortUsageStormControl ¶
type SwitchPortUsageStormControl struct {
// 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]any `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) 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 SwitchSearch ¶
type SwitchSearch struct {
ExtIp *string `json:"ext_ip,omitempty"`
Hostname []string `json:"hostname,omitempty"`
Ip *string `json:"ip,omitempty"`
LastHostname *string `json:"last_hostname,omitempty"`
Mac *string `json:"mac,omitempty"`
Model *string `json:"model,omitempty"`
NumMembers *int `json:"num_members,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
Timestamp *float64 `json:"timestamp,omitempty"`
Type *string `json:"type,omitempty"`
Uptime *int `json:"uptime,omitempty"`
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]any `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) 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 SwitchStats ¶
type SwitchStats struct {
ApRedundancy *SwitchStatsApRedundancy `json:"ap_redundancy,omitempty"`
ArpTableStats *ArpTableStats `json:"arp_table_stats,omitempty"`
CertExpiry *int64 `json:"cert_expiry,omitempty"`
Clients []SwitchStatsClientItem `json:"clients,omitempty"`
ClientsStats *SwitchStatsClientsStats `json:"clients_stats,omitempty"`
ConfigStatus *string `json:"config_status,omitempty"`
CpuStat *CpuStat `json:"cpu_stat,omitempty"`
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"`
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"`
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"`
LastSeen *float64 `json:"last_seen,omitempty"`
// 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"`
ModifiedTime *float64 `json:"modified_time,omitempty"`
ModuleStat []ModuleStatItem `json:"module_stat,omitempty"`
// device name if configured
Name *string `json:"name,omitempty"`
OrgId *uuid.UUID `json:"org_id,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"`
Type *string `json:"type,omitempty"`
Uptime *float64 `json:"uptime,omitempty"`
VcMac Optional[string] `json:"vc_mac"`
VcSetupInfo *SwitchStatsVcSetupInfo `json:"vc_setup_info,omitempty"`
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
SwitchStats represents a SwitchStats struct. Switch statistics
func (SwitchStats) MarshalJSON ¶
func (s SwitchStats) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchStats. It customizes the JSON marshaling process for SwitchStats objects.
func (*SwitchStats) UnmarshalJSON ¶
func (s *SwitchStats) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchStats. It customizes the JSON unmarshaling process for SwitchStats objects.
type SwitchStatsApRedundancy ¶
type SwitchStatsApRedundancy struct {
// for a VC / stacked switches.
Modules map[string]SwitchStatsApRedundancyModule `json:"modules,omitempty"`
NumAps *int `json:"num_aps,omitempty"`
NumApsWithSwitchRedundancy *int `json:"num_aps_with_switch_redundancy,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
SwitchStatsApRedundancy represents a SwitchStatsApRedundancy struct.
func (SwitchStatsApRedundancy) MarshalJSON ¶
func (s SwitchStatsApRedundancy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchStatsApRedundancy. It customizes the JSON marshaling process for SwitchStatsApRedundancy objects.
func (*SwitchStatsApRedundancy) UnmarshalJSON ¶
func (s *SwitchStatsApRedundancy) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchStatsApRedundancy. It customizes the JSON unmarshaling process for SwitchStatsApRedundancy objects.
type SwitchStatsApRedundancy1 ¶
type SwitchStatsApRedundancy1 struct {
// for a VC / stacked switches.
Modules *ApRedundancyModules `json:"modules,omitempty"`
NumAps *int `json:"num_aps,omitempty"`
NumApsWithSwitchRedundancy *int `json:"num_aps_with_switch_redundancy,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
SwitchStatsApRedundancy1 represents a SwitchStatsApRedundancy1 struct.
func (SwitchStatsApRedundancy1) MarshalJSON ¶
func (s SwitchStatsApRedundancy1) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchStatsApRedundancy1. It customizes the JSON marshaling process for SwitchStatsApRedundancy1 objects.
func (*SwitchStatsApRedundancy1) UnmarshalJSON ¶
func (s *SwitchStatsApRedundancy1) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchStatsApRedundancy1. It customizes the JSON unmarshaling process for SwitchStatsApRedundancy1 objects.
type SwitchStatsApRedundancyModule ¶
type SwitchStatsApRedundancyModule struct {
NumAps *int `json:"num_aps,omitempty"`
NumApsWithSwitchRedundancy *int `json:"num_aps_with_switch_redundancy,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
SwitchStatsApRedundancyModule represents a SwitchStatsApRedundancyModule struct.
func (SwitchStatsApRedundancyModule) MarshalJSON ¶
func (s SwitchStatsApRedundancyModule) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchStatsApRedundancyModule. It customizes the JSON marshaling process for SwitchStatsApRedundancyModule objects.
func (*SwitchStatsApRedundancyModule) UnmarshalJSON ¶
func (s *SwitchStatsApRedundancyModule) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchStatsApRedundancyModule. It customizes the JSON unmarshaling process for SwitchStatsApRedundancyModule objects.
type SwitchStatsClientItem ¶
type SwitchStatsClientItem 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]any `json:"_"`
}
SwitchStatsClientItem represents a SwitchStatsClientItem struct.
func (SwitchStatsClientItem) MarshalJSON ¶
func (s SwitchStatsClientItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchStatsClientItem. It customizes the JSON marshaling process for SwitchStatsClientItem objects.
func (*SwitchStatsClientItem) UnmarshalJSON ¶
func (s *SwitchStatsClientItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchStatsClientItem. It customizes the JSON unmarshaling process for SwitchStatsClientItem objects.
type SwitchStatsClientsStats ¶
type SwitchStatsClientsStats struct {
Total *SwitchStatsClientsStatsTotal `json:"total,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
SwitchStatsClientsStats represents a SwitchStatsClientsStats struct.
func (SwitchStatsClientsStats) MarshalJSON ¶
func (s SwitchStatsClientsStats) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchStatsClientsStats. It customizes the JSON marshaling process for SwitchStatsClientsStats objects.
func (*SwitchStatsClientsStats) UnmarshalJSON ¶
func (s *SwitchStatsClientsStats) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchStatsClientsStats. It customizes the JSON unmarshaling process for SwitchStatsClientsStats objects.
type SwitchStatsClientsStatsTotal ¶
type SwitchStatsClientsStatsTotal struct {
NumAps []int `json:"num_aps,omitempty"`
NumWiredClients *int `json:"num_wired_clients,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
SwitchStatsClientsStatsTotal represents a SwitchStatsClientsStatsTotal struct.
func (SwitchStatsClientsStatsTotal) MarshalJSON ¶
func (s SwitchStatsClientsStatsTotal) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchStatsClientsStatsTotal. It customizes the JSON marshaling process for SwitchStatsClientsStatsTotal objects.
func (*SwitchStatsClientsStatsTotal) UnmarshalJSON ¶
func (s *SwitchStatsClientsStatsTotal) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchStatsClientsStatsTotal. It customizes the JSON unmarshaling process for SwitchStatsClientsStatsTotal objects.
type SwitchStatsVcSetupInfo ¶
type SwitchStatsVcSetupInfo struct {
ConfigType *string `json:"config_type,omitempty"`
ErrMissingDevIdFpc *bool `json:"err_missing_dev_id_fpc,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
SwitchStatsVcSetupInfo represents a SwitchStatsVcSetupInfo struct.
func (SwitchStatsVcSetupInfo) MarshalJSON ¶
func (s SwitchStatsVcSetupInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchStatsVcSetupInfo. It customizes the JSON marshaling process for SwitchStatsVcSetupInfo objects.
func (*SwitchStatsVcSetupInfo) UnmarshalJSON ¶
func (s *SwitchStatsVcSetupInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchStatsVcSetupInfo. It customizes the JSON unmarshaling process for SwitchStatsVcSetupInfo objects.
type SwitchStpConfig ¶
type SwitchStpConfig struct {
Type *SwitchStpConfigTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]any `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) 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 SwitchStpConfigTypeEnum ¶
type SwitchStpConfigTypeEnum string
SwitchStpConfigTypeEnum is a string enum.
const ( SwitchStpConfigTypeEnum_RSTP SwitchStpConfigTypeEnum = "rstp" SwitchStpConfigTypeEnum_VSTP SwitchStpConfigTypeEnum = "vstp" )
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]any `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) 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,omitempty"`
MemberId *int `json:"member_id,omitempty"`
// Both vc_role master and backup will be matched to routing-engine role in Junos preprovisioned VC config
VcRole *SwitchVirtualChassisMemberVcRoleEnum `json:"vc_role,omitempty"`
AdditionalProperties map[string]any `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) 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
const ( SwitchVirtualChassisMemberVcRoleEnum_MASTER SwitchVirtualChassisMemberVcRoleEnum = "master" SwitchVirtualChassisMemberVcRoleEnum_LINECARD SwitchVirtualChassisMemberVcRoleEnum = "linecard" SwitchVirtualChassisMemberVcRoleEnum_BACKUP SwitchVirtualChassisMemberVcRoleEnum = "backup" )
type Synthetictest ¶
type Synthetictest struct {
Email *string `json:"email,omitempty"`
AdditionalProperties map[string]any `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) 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 {
Disabled *bool `json:"disabled,omitempty"`
Vlans []SynthetictestProperties `json:"vlans,omitempty"`
WanSpeedtest *SynthetictestConfigWanSpeedtest `json:"wan_speedtest,omitempty"`
AdditionalProperties map[string]any `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) 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 SynthetictestConfigWanSpeedtest ¶ added in v0.2.12
type SynthetictestConfigWanSpeedtest struct {
Enabled *bool `json:"enabled,omitempty"`
// any / HH:MM (24-hour format)
TimeOdFay *string `json:"time_od_fay,omitempty"`
AdditionalProperties map[string]any `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) 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`==`dns`
Hostname *string `json:"hostname,omitempty"`
// if `type`==`arp`
Ip *string `json:"ip,omitempty"`
// if `type`==`radius`
Password *string `json:"password,omitempty"`
// if `type`==`ssr`
PortId *string `json:"port_id,omitempty"`
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]any `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) 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 SynthetictestDeviceVlanId ¶ added in v0.2.20
type SynthetictestDeviceVlanId struct {
// contains filtered or unexported fields
}
SynthetictestDeviceVlanId represents a SynthetictestDeviceVlanId struct. This is a container for one-of cases.
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 converts the SynthetictestDeviceVlanId object to a string representation.
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"`
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"`
Timestamp *float64 `json:"timestamp,omitempty"`
TxMbps *int `json:"tx_mbps,omitempty"`
Type *SynthetictestTypeEnum `json:"type,omitempty"`
VlanId *int `json:"vlan_id,omitempty"`
AdditionalProperties map[string]any `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) 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 SynthetictestProperties ¶
type SynthetictestProperties struct {
CustomTestUrls []string `json:"custom_test_urls,omitempty"`
// for some vlans where we don't want this to run
Disabled *bool `json:"disabled,omitempty"`
VlanIds []int `json:"vlan_ids,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
SynthetictestProperties represents a SynthetictestProperties struct.
func (SynthetictestProperties) MarshalJSON ¶
func (s SynthetictestProperties) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SynthetictestProperties. It customizes the JSON marshaling process for SynthetictestProperties objects.
func (*SynthetictestProperties) UnmarshalJSON ¶
func (s *SynthetictestProperties) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SynthetictestProperties. It customizes the JSON unmarshaling process for SynthetictestProperties objects.
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]any `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) 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.
const ( SynthetictestTypeEnum_DNS SynthetictestTypeEnum = "dns" SynthetictestTypeEnum_ARP SynthetictestTypeEnum = "arp" SynthetictestTypeEnum_DHCP SynthetictestTypeEnum = "dhcp" SynthetictestTypeEnum_CURL SynthetictestTypeEnum = "curl" SynthetictestTypeEnum_RADIUS SynthetictestTypeEnum = "radius" SynthetictestTypeEnum_SPEEDTEST SynthetictestTypeEnum = "speedtest" SynthetictestTypeEnum_DHCP6 SynthetictestTypeEnum = "dhcp6" )
type Tacacs ¶
type Tacacs struct {
AcctServers []TacacsAcctServer `json:"acct_servers,omitempty"`
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]any `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) 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]any `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) 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]any `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) 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.
const ( TacacsDefaultRoleEnum_ADMIN TacacsDefaultRoleEnum = "admin" TacacsDefaultRoleEnum_NONE TacacsDefaultRoleEnum = "none" TacacsDefaultRoleEnum_READ TacacsDefaultRoleEnum = "read" TacacsDefaultRoleEnum_HELPDESK TacacsDefaultRoleEnum = "helpdesk" )
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"`
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"`
Id *uuid.UUID `json:"id,omitempty"`
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name string `json:"name"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `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) 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 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]any `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) 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]any `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) 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"`
Id *uuid.UUID `json:"id,omitempty"`
Requester *string `json:"requester,omitempty"`
// email of the requester
RequesterEmail *string `json:"requester_email,omitempty"`
// Status 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]any `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) 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]any `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) 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]any `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) 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]any `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) 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"`
CreatedAt *int `json:"created_at,omitempty"`
FileName *string `json:"file_name,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
SizeInBytes *int `json:"size_in_bytes,omitempty"`
AdditionalProperties map[string]any `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) 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. Status 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_OPEN TicketStatusEnum = "open" TicketStatusEnum_PENDING TicketStatusEnum = "pending" TicketStatusEnum_SOLVED TicketStatusEnum = "solved" TicketStatusEnum_CLOSED TicketStatusEnum = "closed" )
type TicketUploadAttachmentsFile ¶
type TicketUploadAttachmentsFile struct {
// ekahau or ibwave file
File *[]byte `json:"file,omitempty"`
AdditionalProperties map[string]any `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) 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 {
AudioIn *CallTroubleshootData `json:"audio_in,omitempty"`
AudioOut *CallTroubleshootData `json:"audio_out,omitempty"`
Timestamp *int `json:"timestamp,omitempty"`
VideoIn *CallTroubleshootData `json:"video_in,omitempty"`
VideoOut *CallTroubleshootData `json:"video_out,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( TroubleshootTypeEnum_WIRELESS TroubleshootTypeEnum = "wireless" TroubleshootTypeEnum_WIRED TroubleshootTypeEnum = "wired" TroubleshootTypeEnum_WAN TroubleshootTypeEnum = "wan" )
type TunnelConfigs ¶
type TunnelConfigs struct {
AutoProvision *TunnelConfigsAutoProvision `json:"auto_provision,omitempty"`
// Only if:
// * `provider`== `custom-ipsec`
IkeLifetime *int `json:"ike_lifetime,omitempty"`
// Only if:
// * `provider`== `custom-ipsec`
IkeMode *GatewayTemplateTunnelIkeModeEnum `json:"ike_mode,omitempty"`
// if `provider`== `custom-ipsec`
IkeProposals []GatewayTemplateTunnelIkeProposal `json:"ike_proposals,omitempty"`
// if `provider`== `custom-ipsec`
IpsecLifetime *int `json:"ipsec_lifetime,omitempty"`
// Only if:
// * `provider`== `custom-ipsec`
IpsecProposals []GatewayTemplateTunnelIpsecProposal `json:"ipsec_proposals,omitempty"`
// Only if:
// * `provider`== `zscaler-ipsec`
// * `provider`==`jse-ipsec`
// * `provider`== `custom-ipsec`
LocalId *string `json:"local_id,omitempty"`
Mode *GatewayTemplateTunnelModeEnum `json:"mode,omitempty"`
Primary *GatewayTemplateTunnelNode `json:"primary,omitempty"`
// Only if:
// * `provider`== `custom-ipsec`
Probe *GatewayTemplateTunnelProbe `json:"probe,omitempty"`
// Only if:
// * `provider`== `custom-ipsec`
Protocol *GatewayTemplateTunnelProtocolEnum `json:"protocol,omitempty"`
Provider *TunnelProviderOptionsNameEnum `json:"provider,omitempty"`
// Only if:
// * `provider`== `zscaler-ipsec`
// * `provider`==`jse-ipsec`
// * `provider`== `custom-ipsec`
Psk *string `json:"psk,omitempty"`
Secondary *GatewayTemplateTunnelNode `json:"secondary,omitempty"`
// Only if:
// * `provider`== `custom-gre`
// * `provider`== `custom-ipsec`
Version *GatewayTemplateTunnelVersionEnum `json:"version,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
TunnelConfigs represents a TunnelConfigs struct.
func (TunnelConfigs) MarshalJSON ¶
func (t TunnelConfigs) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TunnelConfigs. It customizes the JSON marshaling process for TunnelConfigs objects.
func (*TunnelConfigs) UnmarshalJSON ¶
func (t *TunnelConfigs) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TunnelConfigs. It customizes the JSON unmarshaling process for TunnelConfigs objects.
type TunnelConfigsAuthAlgoEnum ¶
type TunnelConfigsAuthAlgoEnum string
TunnelConfigsAuthAlgoEnum is a string enum.
const ( TunnelConfigsAuthAlgoEnum_SHA1 TunnelConfigsAuthAlgoEnum = "sha1" TunnelConfigsAuthAlgoEnum_SHA2 TunnelConfigsAuthAlgoEnum = "sha2" TunnelConfigsAuthAlgoEnum_MD5 TunnelConfigsAuthAlgoEnum = "md5" )
type TunnelConfigsAutoProvision ¶
type TunnelConfigsAutoProvision struct {
Enable *bool `json:"enable,omitempty"`
Latlng *LatLng `json:"latlng,omitempty"`
Primary *TunnelConfigsAutoProvisionNode `json:"primary,omitempty"`
Region *TunnelConfigsAutoProvisionRegionEnum `json:"region,omitempty"`
Secondary *TunnelConfigsAutoProvisionNode `json:"secondary,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
TunnelConfigsAutoProvision represents a TunnelConfigsAutoProvision struct.
func (TunnelConfigsAutoProvision) MarshalJSON ¶
func (t TunnelConfigsAutoProvision) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TunnelConfigsAutoProvision. It customizes the JSON marshaling process for TunnelConfigsAutoProvision objects.
func (*TunnelConfigsAutoProvision) UnmarshalJSON ¶
func (t *TunnelConfigsAutoProvision) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TunnelConfigsAutoProvision. It customizes the JSON unmarshaling process for TunnelConfigsAutoProvision objects.
type TunnelConfigsAutoProvisionNode ¶
type TunnelConfigsAutoProvisionNode struct {
NumHosts *string `json:"num_hosts,omitempty"`
// optional, only needed if `vars_only`==`false`
WanNames []string `json:"wan_names,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
TunnelConfigsAutoProvisionNode represents a TunnelConfigsAutoProvisionNode struct.
func (TunnelConfigsAutoProvisionNode) MarshalJSON ¶
func (t TunnelConfigsAutoProvisionNode) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TunnelConfigsAutoProvisionNode. It customizes the JSON marshaling process for TunnelConfigsAutoProvisionNode objects.
func (*TunnelConfigsAutoProvisionNode) UnmarshalJSON ¶
func (t *TunnelConfigsAutoProvisionNode) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TunnelConfigsAutoProvisionNode. It customizes the JSON unmarshaling process for TunnelConfigsAutoProvisionNode objects.
type TunnelConfigsAutoProvisionRegionEnum ¶
type TunnelConfigsAutoProvisionRegionEnum string
TunnelConfigsAutoProvisionRegionEnum is a string enum.
const ( TunnelConfigsAutoProvisionRegionEnum_AUTO TunnelConfigsAutoProvisionRegionEnum = "auto" TunnelConfigsAutoProvisionRegionEnum_EMEA TunnelConfigsAutoProvisionRegionEnum = "EMEA" TunnelConfigsAutoProvisionRegionEnum_AMERICAS TunnelConfigsAutoProvisionRegionEnum = "Americas" TunnelConfigsAutoProvisionRegionEnum_APAC TunnelConfigsAutoProvisionRegionEnum = "APAC" )
type TunnelConfigsDhGroupEnum ¶
type TunnelConfigsDhGroupEnum string
TunnelConfigsDhGroupEnum is a string enum. Only if: * `provider`== `custom-ipsec` Values: * 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 ( TunnelConfigsDhGroupEnum_ENUM1 TunnelConfigsDhGroupEnum = "1" TunnelConfigsDhGroupEnum_ENUM2 TunnelConfigsDhGroupEnum = "2" TunnelConfigsDhGroupEnum_ENUM5 TunnelConfigsDhGroupEnum = "5" TunnelConfigsDhGroupEnum_ENUM14 TunnelConfigsDhGroupEnum = "14" TunnelConfigsDhGroupEnum_ENUM15 TunnelConfigsDhGroupEnum = "15" TunnelConfigsDhGroupEnum_ENUM16 TunnelConfigsDhGroupEnum = "16" TunnelConfigsDhGroupEnum_ENUM19 TunnelConfigsDhGroupEnum = "19" TunnelConfigsDhGroupEnum_ENUM20 TunnelConfigsDhGroupEnum = "20" TunnelConfigsDhGroupEnum_ENUM21 TunnelConfigsDhGroupEnum = "21" TunnelConfigsDhGroupEnum_ENUM24 TunnelConfigsDhGroupEnum = "24" )
type TunnelConfigsEncAlgoEnum ¶
type TunnelConfigsEncAlgoEnum string
TunnelConfigsEncAlgoEnum is a string enum.
const ( TunnelConfigsEncAlgoEnum_AES256 TunnelConfigsEncAlgoEnum = "aes256" TunnelConfigsEncAlgoEnum_ENUM3DES TunnelConfigsEncAlgoEnum = "3des" TunnelConfigsEncAlgoEnum_AES128 TunnelConfigsEncAlgoEnum = "aes128" TunnelConfigsEncAlgoEnum_AESGCM256 TunnelConfigsEncAlgoEnum = "aes_gcm256" TunnelConfigsEncAlgoEnum_AESGCM128 TunnelConfigsEncAlgoEnum = "aes_gcm128" )
type TunnelProviderOptions ¶
type TunnelProviderOptions struct {
// for jse-ipsec, this allow provisioning of adequate resource on JSE. Make sure adequate licenses are added
Jse *TunnelProviderOptionsJse `json:"jse,omitempty"`
// for zscaler-ipsec and zscaler-gre
Zscaler *TunnelProviderOptionsZscaler `json:"zscaler,omitempty"`
AdditionalProperties map[string]any `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) 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 {
Name *string `json:"name,omitempty"`
NumUsers *int `json:"num_users,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
TunnelProviderOptionsJse represents a TunnelProviderOptionsJse struct. for jse-ipsec, this allow 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) 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 TunnelProviderOptionsNameEnum ¶
type TunnelProviderOptionsNameEnum string
TunnelProviderOptionsNameEnum is a string enum.
const ( TunnelProviderOptionsNameEnum_ZSCALERIPSEC TunnelProviderOptionsNameEnum = "zscaler-ipsec" TunnelProviderOptionsNameEnum_ZSCALERGRE TunnelProviderOptionsNameEnum = "zscaler-gre" TunnelProviderOptionsNameEnum_CUSTOMERGRE TunnelProviderOptionsNameEnum = "customer-gre" TunnelProviderOptionsNameEnum_JSEIPSEC TunnelProviderOptionsNameEnum = "jse-ipsec" TunnelProviderOptionsNameEnum_CUSTOMIPSEC TunnelProviderOptionsNameEnum = "custom-ipsec" )
type TunnelProviderOptionsZscaler ¶
type TunnelProviderOptionsZscaler struct {
AupAcceptanceRequired *bool `json:"aup_acceptance_required,omitempty"`
// days before AUP is requested again
AupExpire *int `json:"aup_expire,omitempty"`
// proxy HTTPs traffic, requiring Zscaler cert to be installed in browser
AupSslProxy *bool `json:"aup_ssl_proxy,omitempty"`
// the download bandwidth cap of the link, in Mbps
DownloadMbps *int `json:"download_mbps,omitempty"`
// if `use_xff`==`true`, display Acceptable Use Policy (AUP)
EnableAup *bool `json:"enable_aup,omitempty"`
// when `enforce_authentication`==`false`, display caution notification for non-authenticated users
EnableCaution *bool `json:"enable_caution,omitempty"`
EnforceAuthentication *bool `json:"enforce_authentication,omitempty"`
Name *string `json:"name,omitempty"`
// if `use_xff`==`true`
SubLocations []TunnelProviderOptionsZscalerSubLocation `json:"sub_locations,omitempty"`
// the download bandwidth cap of the link, in Mbps
UploadMbps *int `json:"upload_mbps,omitempty"`
// location uses proxy chaining to forward traffic
UseXff *bool `json:"use_xff,omitempty"`
AdditionalProperties map[string]any `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) 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 {
AupAcceptanceRequired *bool `json:"aup_acceptance_required,omitempty"`
// days before AUP is requested again
AupExpire *int `json:"aup_expire,omitempty"`
// proxy HTTPs traffic, requiring Zscaler cert to be installed in browser
AupSslProxy *bool `json:"aup_ssl_proxy,omitempty"`
// the download bandwidth cap of the link, in Mbps
DownloadMbps *int `json:"download_mbps,omitempty"`
// if `use_xff`==`true`, display Acceptable Use Policy (AUP)
EnableAup *bool `json:"enable_aup,omitempty"`
// when `enforce_authentication`==`false`, display caution notification for non-authenticated users
EnableCaution *bool `json:"enable_caution,omitempty"`
EnforceAuthentication *bool `json:"enforce_authentication,omitempty"`
Subnets []string `json:"subnets,omitempty"`
// the download bandwidth cap of the link, in Mbps
UploadMbps *int `json:"upload_mbps,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( TunnelTypeEnum_WXTUNNEL TunnelTypeEnum = "wxtunnel" TunnelTypeEnum_WAN TunnelTypeEnum = "wan" )
type TuntermDhcpdConfig ¶
type TuntermDhcpdConfig struct {
Enabled *bool `json:"enabled,omitempty"`
Servers []string `json:"servers,omitempty"`
Type *TuntermDhcpdTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]any `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) 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"`
Type *TuntermDhcpdTypeEnum `json:"type,omitempty"`
AdditionalProperties map[string]any `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) 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.
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"`
Protocol *TunternMonitoringProtocolEnum `json:"protocol,omitempty"`
Timeout *int `json:"timeout,omitempty"`
AdditionalProperties map[string]any `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) 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 TuntermPortConfig ¶
type TuntermPortConfig struct {
// list of ports to be used for downstream (to AP) purpose
DownstreamPorts []string `json:"downstream_ports,omitempty"`
// weather 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 *int `json:"upstream_port_vlan_id,omitempty"`
// list of ports to be used for upstrea purpose (to LAN)
UpstreamPorts []string `json:"upstream_ports,omitempty"`
AdditionalProperties map[string]any `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) 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 TunternMonitoringProtocolEnum ¶
type TunternMonitoringProtocolEnum string
TunternMonitoringProtocolEnum is a string enum.
const ( TunternMonitoringProtocolEnum_ARP TunternMonitoringProtocolEnum = "arp" TunternMonitoringProtocolEnum_PING TunternMonitoringProtocolEnum = "ping" TunternMonitoringProtocolEnum_TCP TunternMonitoringProtocolEnum = "tcp" )
type TwoFactorCode ¶
type TwoFactorCode struct {
TwoFactor string `json:"two_factor"`
AdditionalProperties map[string]any `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) 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]any `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) 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 {
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"`
Id *uuid.UUID `json:"id,omitempty"`
IsCustomDataboard *bool `json:"isCustomDataboard,omitempty"`
IsScopeLinked *bool `json:"isScopeLinked,omitempty"`
IsTimeRangeLinked *bool `json:"isTimeRangeLinked,omitempty"`
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]any `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) 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]any `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) 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"`
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]any `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) 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]any `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) 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]any `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) 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 UnconnectedClientStat ¶
type UnconnectedClientStat struct {
// mac address of the AP that heard the client
ApMac string `json:"ap_mac"`
// last seen timestamp
LastSeen 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 observered 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]any `json:"_"`
}
UnconnectedClientStat represents a UnconnectedClientStat struct. Unconnected clients statistics
func (UnconnectedClientStat) MarshalJSON ¶
func (u UnconnectedClientStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UnconnectedClientStat. It customizes the JSON marshaling process for UnconnectedClientStat objects.
func (*UnconnectedClientStat) UnmarshalJSON ¶
func (u *UnconnectedClientStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UnconnectedClientStat. It customizes the JSON unmarshaling process for UnconnectedClientStat objects.
type UpdateOrgDeviceProfileResponse ¶
type UpdateOrgDeviceProfileResponse struct {
// contains filtered or unexported fields
}
UpdateOrgDeviceProfileResponse represents a UpdateOrgDeviceProfileResponse struct. This is a container for any-of cases.
func (*UpdateOrgDeviceProfileResponse) AsDeviceprofileAp ¶
func (u *UpdateOrgDeviceProfileResponse) AsDeviceprofileAp() ( *DeviceprofileAp, bool)
func (*UpdateOrgDeviceProfileResponse) AsDeviceprofileGateway ¶ added in v0.2.8
func (u *UpdateOrgDeviceProfileResponse) AsDeviceprofileGateway() ( *DeviceprofileGateway, bool)
func (UpdateOrgDeviceProfileResponse) MarshalJSON ¶
func (u UpdateOrgDeviceProfileResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpdateOrgDeviceProfileResponse. It customizes the JSON marshaling process for UpdateOrgDeviceProfileResponse objects.
func (UpdateOrgDeviceProfileResponse) String ¶
func (u UpdateOrgDeviceProfileResponse) String() string
String converts the UpdateOrgDeviceProfileResponse object to a string representation.
func (*UpdateOrgDeviceProfileResponse) UnmarshalJSON ¶
func (u *UpdateOrgDeviceProfileResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UpdateOrgDeviceProfileResponse. It customizes the JSON unmarshaling process for UpdateOrgDeviceProfileResponse objects.
type UpdateSiteDeviceResponse ¶
type UpdateSiteDeviceResponse struct {
// contains filtered or unexported fields
}
UpdateSiteDeviceResponse represents a UpdateSiteDeviceResponse struct. This is a container for one-of cases.
func (*UpdateSiteDeviceResponse) AsDeviceAp ¶
func (u *UpdateSiteDeviceResponse) AsDeviceAp() ( *DeviceAp, bool)
func (*UpdateSiteDeviceResponse) AsDeviceGateway ¶
func (u *UpdateSiteDeviceResponse) AsDeviceGateway() ( *DeviceGateway, bool)
func (*UpdateSiteDeviceResponse) AsDeviceSwitch ¶
func (u *UpdateSiteDeviceResponse) AsDeviceSwitch() ( *DeviceSwitch, bool)
func (UpdateSiteDeviceResponse) MarshalJSON ¶
func (u UpdateSiteDeviceResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpdateSiteDeviceResponse. It customizes the JSON marshaling process for UpdateSiteDeviceResponse objects.
func (UpdateSiteDeviceResponse) String ¶
func (u UpdateSiteDeviceResponse) String() string
String converts the UpdateSiteDeviceResponse object to a string representation.
func (*UpdateSiteDeviceResponse) UnmarshalJSON ¶
func (u *UpdateSiteDeviceResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UpdateSiteDeviceResponse. It customizes the JSON unmarshaling process for UpdateSiteDeviceResponse 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]any `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) 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]any `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) 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 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]any `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) 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]any `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) 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.
const ( UpgradeInfoStatusEnum_STARTING UpgradeInfoStatusEnum = "starting" UpgradeInfoStatusEnum_INPROGRESS UpgradeInfoStatusEnum = "inprogress" UpgradeInfoStatusEnum_SUCCESS UpgradeInfoStatusEnum = "success" UpgradeInfoStatusEnum_ENUMERROR UpgradeInfoStatusEnum = "error" UpgradeInfoStatusEnum_SCHEDULED UpgradeInfoStatusEnum = "scheduled" )
type UpgradeOrgDeviceTargets ¶
type UpgradeOrgDeviceTargets 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 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]any `json:"_"`
}
UpgradeOrgDeviceTargets represents a UpgradeOrgDeviceTargets struct.
func (UpgradeOrgDeviceTargets) MarshalJSON ¶
func (u UpgradeOrgDeviceTargets) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpgradeOrgDeviceTargets. It customizes the JSON marshaling process for UpgradeOrgDeviceTargets objects.
func (*UpgradeOrgDeviceTargets) UnmarshalJSON ¶
func (u *UpgradeOrgDeviceTargets) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UpgradeOrgDeviceTargets. It customizes the JSON unmarshaling process for UpgradeOrgDeviceTargets objects.
type UpgradeOrgDeviceUpgrade ¶
type UpgradeOrgDeviceUpgrade struct {
Id *uuid.UUID `json:"id,omitempty"`
StartTime *float64 `json:"start_time,omitempty"`
// status upgrade is in
Status *DeviceUpgradeStatusEnum `json:"status,omitempty"`
Targets *UpgradeOrgDeviceTargets `json:"targets,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
UpgradeOrgDeviceUpgrade represents a UpgradeOrgDeviceUpgrade struct.
func (UpgradeOrgDeviceUpgrade) MarshalJSON ¶
func (u UpgradeOrgDeviceUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpgradeOrgDeviceUpgrade. It customizes the JSON marshaling process for UpgradeOrgDeviceUpgrade objects.
func (*UpgradeOrgDeviceUpgrade) UnmarshalJSON ¶
func (u *UpgradeOrgDeviceUpgrade) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UpgradeOrgDeviceUpgrade. It customizes the JSON unmarshaling process for UpgradeOrgDeviceUpgrade objects.
type UpgradeOrgDevices ¶
type UpgradeOrgDevices 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"`
// whether to allow local AP-to-AP FW upgrade
EnableP2p *bool `json:"enable_p2p,omitempty"`
// true will force upgrade when requested version is same as running version
Force *bool `json:"force,omitempty"`
// percentage of failures allowed across the entire upgrade(not applicable for `big_bang`)
MaxFailurePercentage *float64 `json:"max_failure_percentage,omitempty"`
// 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 []string `json:"models,omitempty"`
P2pClusterSize *int `json:"p2p_cluster_size,omitempty"`
// number of parallel p2p download batches to creat
P2pParallelism *int `json:"p2p_parallelism,omitempty"`
// Reboot device immediately after upgrade is completed (Available on Junos OS devices)
Reboot *bool `json:"reboot,omitempty"`
// reboot start time in epoch seconds, default is `start_time`
RebootAt *float64 `json:"reboot_at,omitempty"`
// percentage of AP’s that need to be present in the first rrm batch
RrmFirstBatchPercentage *int `json:"rrm_first_batch_percentage,omitempty"`
// max percentage of AP’s that need to be present in each rrm batch
RrmMaxBatchPercentage *int `json:"rrm_max_batch_percentage,omitempty"`
// sequential or parallel (default parallel). Whether to upgrade mesh AP’s parallelly or sequentially at the end of the upgrade
RrmMeshUpgrade *DeviceUpgradeRrmMeshUpgradeEnum `json:"rrm_mesh_upgrade,omitempty"`
// Used in rrm to determine whether to start upgrade from fringe or center AP’s
RrmNodeOrder *DeviceUpgradeRrmNodeOrderEnum `json:"rrm_node_order,omitempty"`
// true will make rrm batch sizes slowly ramp up
RrmSlowRamp *bool `json:"rrm_slow_ramp,omitempty"`
SiteIds []uuid.UUID `json:"site_ids,omitempty"`
// Perform recovery snapshot after device is rebooted (Available on Junos OS devices)
Snapshot *bool `json:"snapshot,omitempty"`
// upgrade start time in epoch seconds, default is now
StartTime *float64 `json:"start_time,omitempty"`
// `big_bang` (upgrade all at once), `serial` (one at a time), `canary` or `rrm`
Strategy *DeviceUpgradeStrategyEnum `json:"strategy,omitempty"`
// specific version / stable
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]any `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) 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 UpgradeSiteDevices ¶
type UpgradeSiteDevices struct {
// phases for canary deployment. Each phase represents percentage of AP’s that need to be upgraded. default is [1, 10, 50, 100]
CanaryPhases []int `json:"canary_phases,omitempty"`
DeviceIds []uuid.UUID `json:"device_ids,omitempty"`
// whether to allow local AP-to-AP FW upgrade
EnableP2p *bool `json:"enable_p2p,omitempty"`
// true will force upgrade when requested version is same as running version
Force *bool `json:"force,omitempty"`
// percentage of failures allowed across the entire upgrade(not applicable for `big_bang`)
MaxFailurePercentage *float64 `json:"max_failure_percentage,omitempty"`
// number of failures allowed within each phase(applicable for `canary` or `rrm`). Will be used if provided, else max_failure_percentage will be used
MaxFailures []int `json:"max_failures,omitempty"`
Models []string `json:"models,omitempty"`
P2pClusterSize *int `json:"p2p_cluster_size,omitempty"`
// number of parallel p2p download batches to creat
P2pParallelism *int `json:"p2p_parallelism,omitempty"`
// Reboot device immediately after upgrade is completed (Available on Junos OS devices)
Reboot *bool `json:"reboot,omitempty"`
// reboot start time in epoch seconds, default is `start_time`
RebootAt *float64 `json:"reboot_at,omitempty"`
// percentage of AP’s that need to be present in the first rrm batch
RrmFirstBatchPercentage *int `json:"rrm_first_batch_percentage,omitempty"`
// max percentage of AP’s that need to be present in each rrm batch
RrmMaxBatchPercentage *int `json:"rrm_max_batch_percentage,omitempty"`
// sequential or parallel (default parallel). Whether to upgrade mesh AP’s parallelly or sequentially at the end of the upgrade
RrmMeshUpgrade *string `json:"rrm_mesh_upgrade,omitempty"`
// Used in rrm to determine whether to start upgrade from fringe or center AP’s
RrmNodeOrder *UpgradeSiteDevicesRrmNodeOrderEnum `json:"rrm_node_order,omitempty"`
// true will make rrm batch sizes slowly ramp up
RrmSlowRamp *bool `json:"rrm_slow_ramp,omitempty"`
// Perform recovery snapshot after device is rebooted (Available on Junos OS devices)
Snapshot *bool `json:"snapshot,omitempty"`
// upgrade start time in epoch seconds, default is now
StartTime *float64 `json:"start_time,omitempty"`
// `big_bang` (upgrade all at once), `serial` (one at a time), `canary` or `rrm`
Strategy *DeviceUpgradeStrategyEnum `json:"strategy,omitempty"`
// specific version / stable
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]any `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) 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 UpgradeSiteDevicesRrmNodeOrderEnum ¶
type UpgradeSiteDevicesRrmNodeOrderEnum string
UpgradeSiteDevicesRrmNodeOrderEnum is a string enum. Used in rrm to determine whether to start upgrade from fringe or center AP’s
const ( UpgradeSiteDevicesRrmNodeOrderEnum_FRINGETOCENTER UpgradeSiteDevicesRrmNodeOrderEnum = "fringe_to_center" UpgradeSiteDevicesRrmNodeOrderEnum_CENTERTOFRINGE UpgradeSiteDevicesRrmNodeOrderEnum = "center_to_fringe" )
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.
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]any `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) 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.
const ( UseAutoApValuesForEnum_PLACEMENT UseAutoApValuesForEnum = "placement" UseAutoApValuesForEnum_ORIENTATION UseAutoApValuesForEnum = "orientation" )
type UserApitoken ¶
type UserApitoken struct {
CreatedTime *float64 `json:"created_time,omitempty"`
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]any `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) 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 {
Id *uuid.UUID `json:"id,omitempty"`
Labels []string `json:"labels,omitempty"`
// only non-local-admin MAC is accepted
Mac *string `json:"mac,omitempty"`
Notes *string `json:"notes,omitempty"`
Vlan *int `json:"vlan,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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 UserMacsSearch ¶
type UserMacsSearch struct {
Limit *int `json:"limit,omitempty"`
Page *int `json:"page,omitempty"`
Results []UserMac `json:"results,omitempty"`
Total *int `json:"total,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
UserMacsSearch represents a UserMacsSearch struct.
func (UserMacsSearch) MarshalJSON ¶
func (u UserMacsSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UserMacsSearch. It customizes the JSON marshaling process for UserMacsSearch objects.
func (*UserMacsSearch) UnmarshalJSON ¶
func (u *UserMacsSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UserMacsSearch. It customizes the JSON unmarshaling process for UserMacsSearch objects.
type UsernamePassword ¶
type UsernamePassword struct {
Password *string `json:"password,omitempty"`
Username *string `json:"username,omitempty"`
AdditionalProperties map[string]any `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) 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 {
// the port to bounce
Port *string `json:"port,omitempty"`
// list of ports to bounce
Ports []string `json:"ports,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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. Both vlan and ip cannot be specified.
Ip *string `json:"ip,omitempty"`
// only for HA
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. Both vlan and ip cannot 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]any `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) 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"`
Type UtilsClearBgpTypeEnum `json:"type"`
// vrf name
Vrf *string `json:"vrf,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( UtilsClearBgpTypeEnum_HARD UtilsClearBgpTypeEnum = "hard" UtilsClearBgpTypeEnum_SOFT UtilsClearBgpTypeEnum = "soft" UtilsClearBgpTypeEnum_IN UtilsClearBgpTypeEnum = "in" UtilsClearBgpTypeEnum_OUT UtilsClearBgpTypeEnum = "out" )
type UtilsClearBpdu ¶
type UtilsClearBpdu struct {
// the port on which to clear the detected BPDU error, or `all` for all ports
Port *string `json:"port,omitempty"`
AdditionalProperties map[string]any `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) 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 {
// a list of ports on which to clear mac addresses. must include logical unit number
Ports []string `json:"ports,omitempty"`
AdditionalProperties map[string]any `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) 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 UtilsDevicesRestart ¶
type UtilsDevicesRestart struct {
// optional for VC member
Member *string `json:"member,omitempty"`
// 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]any `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) 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]any `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) 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 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]any `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) 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]any `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) 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
Node *HaClusterNodeEnum `json:"node,omitempty"`
Size *int `json:"size,omitempty"`
AdditionalProperties map[string]any `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) 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
Node *HaClusterNodeEnum `json:"node,omitempty"`
// The nework interface on which to release the current DHCP release
Port string `json:"port"`
AdditionalProperties map[string]any `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) 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 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]any `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) 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 changng TX Power (will not disconnect clients)
TxpowerOnly *bool `json:"txpower_only,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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 choice: process, outbound-ssh, and full (default)
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]any `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) 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 choice: process, outbound-ssh, and full (default)
const ( UtilsSendSupportLogsInfoEnum_PROCESS UtilsSendSupportLogsInfoEnum = "process" UtilsSendSupportLogsInfoEnum_OUTBOUNDSSH UtilsSendSupportLogsInfoEnum = "outbound-ssh" UtilsSendSupportLogsInfoEnum_MESSAGES UtilsSendSupportLogsInfoEnum = "messages" UtilsSendSupportLogsInfoEnum_CODEDUMPS UtilsSendSupportLogsInfoEnum = "code-dumps" UtilsSendSupportLogsInfoEnum_FULL UtilsSendSupportLogsInfoEnum = "full" UtilsSendSupportLogsInfoEnum_VARLOGS UtilsSendSupportLogsInfoEnum = "var-logs" UtilsSendSupportLogsInfoEnum_JMALOGS UtilsSendSupportLogsInfoEnum = "jma-logs" )
type UtilsServicePing ¶
type UtilsServicePing struct {
Count *int `json:"count,omitempty"`
Host string `json:"host"`
// 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]any `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) 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]any `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) 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 UtilsShowBgpRummary ¶
type UtilsShowBgpRummary struct {
// only for HA
Node *HaClusterNodeEnum `json:"node,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
UtilsShowBgpRummary represents a UtilsShowBgpRummary struct.
func (UtilsShowBgpRummary) MarshalJSON ¶
func (u UtilsShowBgpRummary) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsShowBgpRummary. It customizes the JSON marshaling process for UtilsShowBgpRummary objects.
func (*UtilsShowBgpRummary) UnmarshalJSON ¶
func (u *UtilsShowBgpRummary) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsShowBgpRummary. It customizes the JSON unmarshaling process for UtilsShowBgpRummary objects.
type UtilsShowEvpnDatabase ¶
type UtilsShowEvpnDatabase struct {
// client mac filter
Mac *string `json:"mac,omitempty"`
// interface name
PortId *string `json:"port_id,omitempty"`
AdditionalProperties map[string]any `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) 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
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]any `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) 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 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"`
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]any `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) 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.
const ( UtilsShowRouteProtocolEnum_BGP UtilsShowRouteProtocolEnum = "bgp" UtilsShowRouteProtocolEnum_ANY UtilsShowRouteProtocolEnum = "any" UtilsShowRouteProtocolEnum_OSPF UtilsShowRouteProtocolEnum = "ospf" UtilsShowRouteProtocolEnum_STATIC UtilsShowRouteProtocolEnum = "static" UtilsShowRouteProtocolEnum_DIRECT UtilsShowRouteProtocolEnum = "direct" UtilsShowRouteProtocolEnum_EVPN UtilsShowRouteProtocolEnum = "evpn" )
type UtilsShowServicePath ¶
type UtilsShowServicePath struct {
// only for HA
Node *HaClusterNodeEnum `json:"node,omitempty"`
ServiceName *string `json:"service_name,omitempty"`
AdditionalProperties map[string]any `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) 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
Node *HaClusterNodeEnum `json:"node,omitempty"`
// The exact service name for which to display the active sessions
ServiceName *string `json:"service_name,omitempty"`
AdditionalProperties map[string]any `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) 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"`
// when `protocol`==`udp`, the udp port to use
Port *int `json:"port,omitempty"`
Protocol *UtilsTracerouteProtocolEnum `json:"protocol,omitempty"`
// 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]any `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) 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.
const (
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]any `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) 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 UtilsZeroiseFips ¶
type UtilsZeroiseFips struct {
// FIPS zeroize password
Password string `json:"password"`
AdditionalProperties map[string]any `json:"_"`
}
UtilsZeroiseFips represents a UtilsZeroiseFips struct.
func (UtilsZeroiseFips) MarshalJSON ¶
func (u UtilsZeroiseFips) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsZeroiseFips. It customizes the JSON marshaling process for UtilsZeroiseFips objects.
func (*UtilsZeroiseFips) UnmarshalJSON ¶
func (u *UtilsZeroiseFips) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsZeroiseFips. It customizes the JSON unmarshaling process for UtilsZeroiseFips objects.
type VarSourceEnum ¶
type VarSourceEnum string
VarSourceEnum is a string enum.
const ( VarSourceEnum_SITE VarSourceEnum = "site" VarSourceEnum_DEVICEPROFILE VarSourceEnum = "deviceprofile" )
type Vbeacon ¶
type Vbeacon struct {
CreatedTime *float64 `json:"created_time,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
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"`
// a 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"`
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"`
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"`
// the 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]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Vbeacon. It customizes the JSON unmarshaling process for Vbeacon objects.
type VersionString ¶
type VersionString struct {
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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,omitempty"`
// to create a preprovisionned virtual chassis
Member *int `json:"member,omitempty"`
VcPorts []string `json:"vc_ports,omitempty"`
VcRole *VirtualChassisConfigMemberVcRoleEnum `json:"vc_role,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( VirtualChassisConfigMemberVcRoleEnum_MASTER VirtualChassisConfigMemberVcRoleEnum = "master" VirtualChassisConfigMemberVcRoleEnum_BACKUP VirtualChassisConfigMemberVcRoleEnum = "backup" VirtualChassisConfigMemberVcRoleEnum_LINECARD VirtualChassisConfigMemberVcRoleEnum = "linecard" )
type VirtualChassisMemberUpdate ¶
type VirtualChassisMemberUpdate struct {
// Required if `op`==`add` or `op`==`preprovision`.
Mac *string `json:"mac,omitempty"`
// Required if `op`==`remove` or `op`==`preprovision`. Optional if `op`==`add`
Member *int `json:"member,omitempty"`
// Required if `op`==`add` or `op`==`preprovision`
VcPorts []string `json:"vc_ports,omitempty"`
// Required if `op`==`add` or `op`==`preprovision`
VcRole *VirtualChassisMemberUpdateVcRoleEnum `json:"vc_role,omitempty"`
AdditionalProperties map[string]any `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) 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`
const ( VirtualChassisMemberUpdateVcRoleEnum_MASTER VirtualChassisMemberUpdateVcRoleEnum = "master" VirtualChassisMemberUpdateVcRoleEnum_BACKUP VirtualChassisMemberUpdateVcRoleEnum = "backup" VirtualChassisMemberUpdateVcRoleEnum_LINECARD VirtualChassisMemberUpdateVcRoleEnum = "linecard" )
type VirtualChassisPort ¶
type VirtualChassisPort struct {
Members []ConfigVcPortMember `json:"members"`
Op VirtualChassisPortOperationEnum `json:"op"`
AdditionalProperties map[string]any `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) 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.
const ( VirtualChassisPortOperationEnum_SET VirtualChassisPortOperationEnum = "set" VirtualChassisPortOperationEnum_DELETE VirtualChassisPortOperationEnum = "delete" )
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"`
Op *VirtualChassisUpdateOpEnum `json:"op,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( VirtualChassisUpdateOpEnum_ADD VirtualChassisUpdateOpEnum = "add" VirtualChassisUpdateOpEnum_REMOVE VirtualChassisUpdateOpEnum = "remove" VirtualChassisUpdateOpEnum_RENUMBER VirtualChassisUpdateOpEnum = "renumber" VirtualChassisUpdateOpEnum_PREPROVISION VirtualChassisUpdateOpEnum = "preprovision" )
type VisitsScopeEnum ¶
type VisitsScopeEnum string
VisitsScopeEnum is a string enum.
const ( VisitsScopeEnum_SITE VisitsScopeEnum = "site" VisitsScopeEnum_ENUMMAP VisitsScopeEnum = "map" VisitsScopeEnum_ZONE VisitsScopeEnum = "zone" VisitsScopeEnum_RSSIZONE VisitsScopeEnum = "rssizone" )
type Vpn ¶
type Vpn struct {
CreatedTime *float64 `json:"created_time,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
ModifiedTime *float64 `json:"modified_time,omitempty"`
Name string `json:"name"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
Paths map[string]VpnPath `json:"paths"`
AdditionalProperties map[string]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Vpn. It customizes the JSON unmarshaling process for Vpn objects.
type VpnPath ¶
type VpnPath struct {
BfdProfile *VpnPathBfdProfileEnum `json:"bfd_profile,omitempty"`
// if different from the wan port
Ip *string `json:"ip,omitempty"`
Pod *int `json:"pod,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( VpnPathBfdProfileEnum_BROADBAND VpnPathBfdProfileEnum = "broadband" VpnPathBfdProfileEnum_LTE VpnPathBfdProfileEnum = "lte" )
type VpnPeerStat ¶
type VpnPeerStat struct {
// Redundancy status of the associated interface
IsActive *bool `json:"is_active,omitempty"`
LastSeen *float64 `json:"last_seen,omitempty"`
Latency *float64 `json:"latency,omitempty"`
// router mac address
Mac *string `json:"mac,omitempty"`
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]any `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) 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]any `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) 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 VrfConfig ¶
type VrfConfig struct {
// whether to enable VRF (when supported on the device)
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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 VrfInstance ¶
type VrfInstance struct {
// Property key is the destination CIDR (e.g. "10.0.0.0/8")
ExtraRoutes map[string]VrfExtraRoute `json:"extra_routes,omitempty"`
Networks []string `json:"networks,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
VrfInstance represents a VrfInstance struct.
func (VrfInstance) MarshalJSON ¶
func (v VrfInstance) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VrfInstance. It customizes the JSON marshaling process for VrfInstance objects.
func (*VrfInstance) UnmarshalJSON ¶
func (v *VrfInstance) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VrfInstance. It customizes the JSON unmarshaling process for VrfInstance 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]any `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) 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 {
Priority *int `json:"priority,omitempty"`
AdditionalProperties map[string]any `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) 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"`
AuthType *VrrpGroupAuthTypeEnum `json:"auth_type,omitempty"`
// Property key is the network name
Networks map[string]VrrpGroupNetwork `json:"networks,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( VrrpGroupAuthTypeEnum_MD5 VrrpGroupAuthTypeEnum = "md5" VrrpGroupAuthTypeEnum_SIMPLE VrrpGroupAuthTypeEnum = "simple" )
type VrrpGroupNetwork ¶
type VrrpGroupNetwork struct {
Ip *string `json:"ip,omitempty"`
AdditionalProperties map[string]any `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) 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 VsInstance ¶
type VsInstance struct {
Networks []string `json:"networks,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
VsInstance represents a VsInstance struct.
func (VsInstance) MarshalJSON ¶
func (v VsInstance) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VsInstance. It customizes the JSON marshaling process for VsInstance objects.
func (*VsInstance) UnmarshalJSON ¶
func (v *VsInstance) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VsInstance. It customizes the JSON unmarshaling process for VsInstance objects.
type WanTunnelProtocolEnum ¶
type WanTunnelProtocolEnum string
WanTunnelProtocolEnum is a string enum.
const ( WanTunnelProtocolEnum_IPSEC WanTunnelProtocolEnum = "ipsec" WanTunnelProtocolEnum_GRE WanTunnelProtocolEnum = "gre" )
type WanTunnelStats ¶
type WanTunnelStats 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,omitempty"`
Priority *WanTunnelStatsPriorityEnum `json:"priority,omitempty"`
Protocol *WanTunnelProtocolEnum `json:"protocol,omitempty"`
RxBytes *int `json:"rx_bytes,omitempty"`
RxPkts *int `json:"rx_pkts,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// Mist Tunnel Name
TunnelName *string `json:"tunnel_name,omitempty"`
TxBytes *int `json:"tx_bytes,omitempty"`
TxPkts *int `json:"tx_pkts,omitempty"`
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]any `json:"_"`
}
WanTunnelStats represents a WanTunnelStats struct.
func (WanTunnelStats) MarshalJSON ¶
func (w WanTunnelStats) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WanTunnelStats. It customizes the JSON marshaling process for WanTunnelStats objects.
func (*WanTunnelStats) UnmarshalJSON ¶
func (w *WanTunnelStats) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WanTunnelStats. It customizes the JSON unmarshaling process for WanTunnelStats objects.
type WanTunnelStatsPriorityEnum ¶
type WanTunnelStatsPriorityEnum string
WanTunnelStatsPriorityEnum is a string enum.
const ( WanTunnelStatsPriorityEnum_PRIMARY WanTunnelStatsPriorityEnum = "primary" WanTunnelStatsPriorityEnum_SECONDARY WanTunnelStatsPriorityEnum = "secondary" )
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]any `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) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for WanUsages. It customizes the JSON unmarshaling process for WanUsages objects.
type WanUsagesCountDisctinctEnum ¶
type WanUsagesCountDisctinctEnum string
WanUsagesCountDisctinctEnum is a string enum.
const ( WanUsagesCountDisctinctEnum_MAC WanUsagesCountDisctinctEnum = "mac" WanUsagesCountDisctinctEnum_PEERMAC WanUsagesCountDisctinctEnum = "peer_mac" WanUsagesCountDisctinctEnum_PORTID WanUsagesCountDisctinctEnum = "port_id" WanUsagesCountDisctinctEnum_PEERPORTID WanUsagesCountDisctinctEnum = "peer_port_id" WanUsagesCountDisctinctEnum_POLICY WanUsagesCountDisctinctEnum = "policy" WanUsagesCountDisctinctEnum_TENANT WanUsagesCountDisctinctEnum = "tenant" WanUsagesCountDisctinctEnum_PATHTYPE WanUsagesCountDisctinctEnum = "path_type" )
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 converts the WayfindingImportJson object to a string representation.
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 {
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"`
Id *uuid.UUID `json:"id,omitempty"`
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`
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"`
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"`
// N.B. For org webhooks, only device_events/alarms/audits/client-join/client-sessions/nac-sessions/nac_events topics are supported.
Topics []WebhookTopicEnum `json:"topics,omitempty"`
Type *WebhookTypeEnum `json:"type,omitempty"`
Url Optional[string] `json:"url"`
// when url uses HTTPS, whether to verify the certificate
VerifyCert *bool `json:"verify_cert,omitempty"`
AdditionalProperties map[string]any `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) 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"`
Id uuid.UUID `json:"id"`
LastSeen float64 `json:"last_seen"`
// only for HA
Node *HaClusterNodeEnum `json:"node,omitempty"`
OrgId uuid.UUID `json:"org_id"`
SiteId uuid.UUID `json:"site_id"`
Ssids []string `json:"ssids,omitempty"`
Timestamp int `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]any `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) 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"`
// topic subscribed to
Topic string `json:"topic"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookAlarms represents a WebhookAlarms struct. **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 https://api.mist.com/api/v1/const/alarm_defs, 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) 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 WebhookAssetRaw ¶
type WebhookAssetRaw struct {
// list of events
Events []WebhookAssetRawEvent `json:"events"`
// topic subscribed to
Topic string `json:"topic"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookAssetRaw represents a WebhookAssetRaw struct. asset raw webhook sample
func (WebhookAssetRaw) MarshalJSON ¶
func (w WebhookAssetRaw) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookAssetRaw. It customizes the JSON marshaling process for WebhookAssetRaw objects.
func (*WebhookAssetRaw) UnmarshalJSON ¶
func (w *WebhookAssetRaw) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookAssetRaw. It customizes the JSON unmarshaling process for WebhookAssetRaw objects.
type WebhookAssetRawEvent ¶
type WebhookAssetRawEvent struct {
// asset id
AssetId uuid.UUID `json:"asset_id"`
// antenna index, from 1-8, clock-wise starting from the LED
Beam int `json:"beam"`
// device where the asset reading is from
DeviceId uuid.UUID `json:"device_id"`
// iBeacon major
IbeaconMajor *int `json:"ibeacon_major,omitempty"`
// iBeacon minor
IbeaconMinor *int `json:"ibeacon_minor,omitempty"`
// iBeacon UUID
IbeaconUuid *uuid.UUID `json:"ibeacon_uuid,omitempty"`
// MAC of the beacon
Mac string `json:"mac"`
// map id
MapId uuid.UUID `json:"map_id"`
// optional, BLE manufacturing company ID
MfgCompanyId float64 `json:"mfg_company_id"`
// optional, BLE manufacturing data in hex byte-string format (ie: “112233AABBCC”)
MfgData string `json:"mfg_data"`
// signal strength
Rssi float64 `json:"rssi"`
// optional, data from service data
ServiceDataData *string `json:"service_data_data,omitempty"`
// optional, last data transmit time from service data
ServiceDataLastRxTime *int `json:"service_data_last_rx_time,omitempty"`
// optional, data transmit count from service data
ServiceDataRxCnt *int `json:"service_data_rx_cnt,omitempty"`
// optional, UUID from service data
ServiceDataUuid *uuid.UUID `json:"service_data_uuid,omitempty"`
// list of service data packets heard from the asset/ beacon
ServicePackets []ServicePacket `json:"service_packets,omitempty"`
SiteId uuid.UUID `json:"site_id"`
Timestamp float64 `json:"timestamp"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookAssetRawEvent represents a WebhookAssetRawEvent struct.
func (WebhookAssetRawEvent) MarshalJSON ¶
func (w WebhookAssetRawEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookAssetRawEvent. It customizes the JSON marshaling process for WebhookAssetRawEvent objects.
func (*WebhookAssetRawEvent) UnmarshalJSON ¶
func (w *WebhookAssetRawEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookAssetRawEvent. It customizes the JSON unmarshaling process for WebhookAssetRawEvent objects.
type WebhookAuditEvent ¶
type WebhookAuditEvent struct {
AdminName string `json:"admin_name"`
DeviceId uuid.UUID `json:"device_id"`
Id uuid.UUID `json:"id"`
Message string `json:"message"`
OrgId uuid.UUID `json:"org_id"`
SiteId uuid.UUID `json:"site_id"`
SrcIp string `json:"src_ip"`
Timestamp float64 `json:"timestamp"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookAuditEvent represents a WebhookAuditEvent struct.
func (WebhookAuditEvent) MarshalJSON ¶
func (w WebhookAuditEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookAuditEvent. It customizes the JSON marshaling process for WebhookAuditEvent objects.
func (*WebhookAuditEvent) UnmarshalJSON ¶
func (w *WebhookAuditEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookAuditEvent. It customizes the JSON unmarshaling process for WebhookAuditEvent objects.
type WebhookAudits ¶
type WebhookAudits struct {
Events []WebhookAuditEvent `json:"events"`
Topic string `json:"topic"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookAudits represents a WebhookAudits struct. audit webhook sample
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) 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 WebhookClientInfo ¶
type WebhookClientInfo struct {
Events []WebhookClientInfoEvent `json:"events,omitempty"`
Topic *WebhookClientInfoTopicEnum `json:"topic,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookClientInfo represents a WebhookClientInfo struct.
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) 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"`
// the client’s mac
Mac *string `json:"mac,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// time at which IP address was assigned E.g. 1703003956
Timestamp *float64 `json:"timestamp,omitempty"`
AdditionalProperties map[string]any `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) 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.
const (
WebhookClientInfoTopicEnum_CLIENTINFO WebhookClientInfoTopicEnum = "client-info"
)
type WebhookClientJoin ¶
type WebhookClientJoin struct {
Events []WebhookClientJoinEvent `json:"events"`
Topic string `json:"topic"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookClientJoin represents a WebhookClientJoin struct. client join webhook sample
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) 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"`
// the client’s mac
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"`
Timestamp float64 `json:"timestamp"`
// schema version of this message
Version float64 `json:"version"`
WlanId uuid.UUID `json:"wlan_id"`
AdditionalProperties map[string]any `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) 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 WebhookClientLatency ¶
type WebhookClientLatency struct {
Events []WebhookClientLatencyEvent `json:"events,omitempty"`
Topic *string `json:"topic,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookClientLatency represents a WebhookClientLatency struct.
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) 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"`
Timestamp *int `json:"timestamp,omitempty"`
AdditionalProperties map[string]any `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) 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 WebhookClientSessions ¶
type WebhookClientSessions struct {
Events []WebhookClientSessionsEvent `json:"events"`
Topic string `json:"topic"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookClientSessions represents a WebhookClientSessions struct. client session webhook sample
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) 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"`
// the duration of the roamed or complete session indicated by termination_reason field.
Duration int `json:"duration"`
// the client’s mac
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"`
Timestamp float64 `json:"timestamp"`
// schema version of this message
Version float64 `json:"version"`
WlanId uuid.UUID `json:"wlan_id"`
AdditionalProperties map[string]any `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) 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 WebhookDelivery ¶
type WebhookDelivery struct {
// error message, if there is one
Error *string `json:"error,omitempty"`
// delivery ID
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
Status *WebhookDeliveryStatusEnum `json:"status,omitempty"`
StatusCode *int `json:"status_code,omitempty"`
Timestamp *float64 `json:"timestamp,omitempty"`
// webhook topic
Topic *WebhookDeliveryTopicEnum `json:"topic,omitempty"`
WebhookId *uuid.UUID `json:"webhook_id,omitempty"`
AdditionalProperties map[string]any `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) 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
const ( WebhookDeliveryDistinctEnum_STATUS WebhookDeliveryDistinctEnum = "status" WebhookDeliveryDistinctEnum_TOPIC WebhookDeliveryDistinctEnum = "topic" WebhookDeliveryDistinctEnum_STATUSCODE WebhookDeliveryDistinctEnum = "status_code" WebhookDeliveryDistinctEnum_WEBHOOKID WebhookDeliveryDistinctEnum = "webhook_id" )
type WebhookDeliveryStatusEnum ¶
type WebhookDeliveryStatusEnum string
WebhookDeliveryStatusEnum is a string enum. webhook delivery status
const ( WebhookDeliveryStatusEnum_SUCCESS WebhookDeliveryStatusEnum = "success" WebhookDeliveryStatusEnum_FAILURE WebhookDeliveryStatusEnum = "failure" )
type WebhookDeliveryTopicEnum ¶
type WebhookDeliveryTopicEnum string
WebhookDeliveryTopicEnum is a string enum. webhook topic
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 {
// list of events
Events []WebhookDeviceEventsEvent `json:"events"`
// topic subscribed to
Topic string `json:"topic"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookDeviceEvents represents a WebhookDeviceEvents struct. device event webhook sample
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) 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 WebhookDeviceEventsEvent ¶
type WebhookDeviceEventsEvent 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"`
// (optional) audit id
AuditId *uuid.UUID `json:"audit_id,omitempty"`
// device name
DeviceName string `json:"device_name"`
DeviceType WebhookDeviceEventsEventDeviceTypeEnum `json:"device_type"`
// (optional) event advisory (notice/warn)
EvType WebhookDeviceEventsEventEvTypeEnum `json:"ev_type"`
// device mac
Mac string `json:"mac"`
OrgId uuid.UUID `json:"org_id"`
// (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"`
// time the event occurred e.g. 1565987313
Timestamp int `json:"timestamp"`
// event type
Type string `json:"type"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookDeviceEventsEvent represents a WebhookDeviceEventsEvent struct.
func (WebhookDeviceEventsEvent) MarshalJSON ¶
func (w WebhookDeviceEventsEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookDeviceEventsEvent. It customizes the JSON marshaling process for WebhookDeviceEventsEvent objects.
func (*WebhookDeviceEventsEvent) UnmarshalJSON ¶
func (w *WebhookDeviceEventsEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookDeviceEventsEvent. It customizes the JSON unmarshaling process for WebhookDeviceEventsEvent objects.
type WebhookDeviceEventsEventDeviceTypeEnum ¶
type WebhookDeviceEventsEventDeviceTypeEnum string
WebhookDeviceEventsEventDeviceTypeEnum is a string enum.
const ( WebhookDeviceEventsEventDeviceTypeEnum_AP WebhookDeviceEventsEventDeviceTypeEnum = "ap" WebhookDeviceEventsEventDeviceTypeEnum_ENUMSWITCH WebhookDeviceEventsEventDeviceTypeEnum = "switch" WebhookDeviceEventsEventDeviceTypeEnum_GATEWAY WebhookDeviceEventsEventDeviceTypeEnum = "gateway" )
type WebhookDeviceEventsEventEvTypeEnum ¶
type WebhookDeviceEventsEventEvTypeEnum string
WebhookDeviceEventsEventEvTypeEnum is a string enum. (optional) event advisory (notice/warn)
const ( WebhookDeviceEventsEventEvTypeEnum_NOTICE WebhookDeviceEventsEventEvTypeEnum = "notice" WebhookDeviceEventsEventEvTypeEnum_WARN WebhookDeviceEventsEventEvTypeEnum = "warn" )
type WebhookDeviceUpdowns ¶
type WebhookDeviceUpdowns struct {
Events []WebhookDeviceUpdownsEvent `json:"events"`
Topic string `json:"topic"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookDeviceUpdowns represents a WebhookDeviceUpdowns struct. device up/down webhook sample
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) 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"`
Timestamp float64 `json:"timestamp"`
Type string `json:"type"`
AdditionalProperties map[string]any `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) 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 WebhookDiscoveredRawRssi ¶
type WebhookDiscoveredRawRssi struct {
Events []WebhookDiscoveredRawRssiEvent `json:"events,omitempty"`
Topic string `json:"topic"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookDiscoveredRawRssi represents a WebhookDiscoveredRawRssi struct.
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) 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"`
IbeaconMajor *int `json:"ibeacon_major,omitempty"`
IbeaconMinor *int `json:"ibeacon_minor,omitempty"`
IbeaconUuid *uuid.UUID `json:"ibeacon_uuid,omitempty"`
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"`
Timestamp *int `json:"timestamp,omitempty"`
AdditionalProperties map[string]any `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) 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 WebhookLocation ¶
type WebhookLocation struct {
// list of events
Events []WebhookLocationEvent `json:"events"`
// topic subscribed to
Topic string `json:"topic"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookLocation represents a WebhookLocation struct. location webhook sample
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) 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"`
// topic subscribed to
Topic string `json:"topic"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookLocationAsset represents a WebhookLocationAsset struct. Location Asset sample
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) 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"`
IbeaconMajor *int `json:"ibeacon_major,omitempty"`
IbeaconMinor *int `json:"ibeacon_minor,omitempty"`
IbeaconUuid *uuid.UUID `json:"ibeacon_uuid,omitempty"`
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"`
Timestamp *int `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]any `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) 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 WebhookLocationCentrak ¶
type WebhookLocationCentrak struct {
// list of events
Events []WebhookLocationCentrakEvent `json:"events"`
// topic subscribed to
Topic string `json:"topic"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookLocationCentrak represents a WebhookLocationCentrak struct. location webhook sample
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) 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 {
// 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"`
// timestamp of the event, epoch
Timestamp *int `json:"timestamp,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]any `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) 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 WebhookLocationClient ¶
type WebhookLocationClient struct {
// list of events
Events []WebhookLocationClientEvent `json:"events"`
// topic subscribed to
Topic string `json:"topic"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookLocationClient represents a WebhookLocationClient struct. Location Client sample
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) 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"`
Timestamp *int `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]any `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) 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 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"`
IbeaconMajor *int `json:"ibeacon_major,omitempty"`
IbeaconMinor *int `json:"ibeacon_minor,omitempty"`
IbeaconUuid *uuid.UUID `json:"ibeacon_uuid,omitempty"`
// unique id of the client (a client would have different id for different org)
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"`
// timestamp of the event, epoch
Timestamp int `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]any `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) 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"`
// topic subscribed to
Topic string `json:"topic"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookLocationSdk represents a WebhookLocationSdk struct. Location SDK sample
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) 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 {
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"`
Timestamp *int `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]any `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) 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 WebhookLocationUnclient ¶
type WebhookLocationUnclient struct {
// list of events
Events []WebhookLocationUnclientEvent `json:"events"`
// topic subscribed to
Topic string `json:"topic"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookLocationUnclient represents a WebhookLocationUnclient struct. Location Unconnected Client sample
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) 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"`
Timestamp *int `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]any `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) 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 WebhookNacAccounting ¶
type WebhookNacAccounting struct {
Events []WebhookNacAccountingEvent `json:"events,omitempty"`
Topic *string `json:"topic,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookNacAccounting represents a WebhookNacAccounting struct. nac-accounting webhook sample
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) 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"`
// radius authentication type
AuthType *string `json:"auth_type,omitempty"`
// it’s the 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"`
// the client’s mac
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"`
// number of packets received
RxPkts *int `json:"rx_pkts,omitempty"`
SiteId *uuid.UUID `json:"site_id,omitempty"`
// ESSID
Ssid *string `json:"ssid,omitempty"`
// sampling time (in epoch)
Timestamp *float64 `json:"timestamp,omitempty"`
// number of packets sent
TxPkts *int `json:"tx_pkts,omitempty"`
// 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]any `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) 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 WebhookNacEvents ¶
type WebhookNacEvents struct {
Events []WebhookNacEventsEvent `json:"events,omitempty"`
Topic *string `json:"topic,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookNacEvents represents a WebhookNacEvents struct.
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) 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 WebhookNacEventsEvent ¶
type WebhookNacEventsEvent struct {
// random mac
Ap *string `json:"ap,omitempty"`
// authentication type, e.g. "eap-tls", "eap-ttls", "eap-teap", "mab", "device-auth"
AuthType *string `json:"auth_type,omitempty"`
// BSSID
Bssid *string `json:"bssid,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"`
// SSO ID, if present and used
IdpId *uuid.UUID `json:"idp_id,omitempty"`
// IDP returned roles/groups for the user
IdpRole []string `json:"idp_role,omitempty"`
// MAC address
Mac *string `json:"mac,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 of NAS device
NasVendor *string `json:"nas_vendor,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// AP MAC
RandomMac *bool `json:"random_mac,omitempty"`
// Radius attributes returned by NAC to NAS Devive
RespAttrs []string `json:"resp_attrs,omitempty"`
// site id if assigned, null if not assigned
SiteId *uuid.UUID `json:"site_id,omitempty"`
// SSID
Ssid *string `json:"ssid,omitempty"`
// start time, in epoch
Timestamp *float64 `json:"timestamp,omitempty"`
// event type, e.g. NAC_CLIENT_PERMIT
Type *string `json:"type,omitempty"`
// Username presented by the client
Username *string `json:"username,omitempty"`
// Vlan ID
Vlan *string `json:"vlan,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookNacEventsEvent represents a WebhookNacEventsEvent struct.
func (WebhookNacEventsEvent) MarshalJSON ¶
func (w WebhookNacEventsEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookNacEventsEvent. It customizes the JSON marshaling process for WebhookNacEventsEvent objects.
func (*WebhookNacEventsEvent) UnmarshalJSON ¶
func (w *WebhookNacEventsEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookNacEventsEvent. It customizes the JSON unmarshaling process for WebhookNacEventsEvent objects.
type WebhookOauth2GrantTypeEnum ¶
type WebhookOauth2GrantTypeEnum string
WebhookOauth2GrantTypeEnum is a string enum. required when `type`==`oauth2`
const ( WebhookOauth2GrantTypeEnum_CLIENTCREDENTIALS WebhookOauth2GrantTypeEnum = "client_credentials" WebhookOauth2GrantTypeEnum_PASSWORD WebhookOauth2GrantTypeEnum = "password" )
type WebhookOccupancyAlertTypeEnum ¶
type WebhookOccupancyAlertTypeEnum string
WebhookOccupancyAlertTypeEnum is a string enum. event type (COMPLIANCE-VIOLATION / COMPLIANCE-OK)
const ( WebhookOccupancyAlertTypeEnum_COMPLIANCEVIOLATION WebhookOccupancyAlertTypeEnum = "COMPLIANCE-VIOLATION" WebhookOccupancyAlertTypeEnum_COMPLIANCEOK WebhookOccupancyAlertTypeEnum = "COMPLIANCE-OK" )
type WebhookOccupancyAlerts ¶
type WebhookOccupancyAlerts struct {
Events []WebhookOccupancyAlertsEvent `json:"events"`
Topic string `json:"topic"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookOccupancyAlerts represents a WebhookOccupancyAlerts struct. occupancy alert webhook sample
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) 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]any `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) 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"`
Timestamp float64 `json:"timestamp"`
// event type (COMPLIANCE-VIOLATION / COMPLIANCE-OK)
Type WebhookOccupancyAlertTypeEnum `json:"type"`
ZoneId uuid.UUID `json:"zone_id"`
ZoneName string `json:"zone_name"`
AdditionalProperties map[string]any `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) 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 WebhookPing ¶
type WebhookPing struct {
Events []WebhookPingEvent `json:"events"`
Topic string `json:"topic"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookPing represents a WebhookPing struct. ping webhook
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) 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 {
Id uuid.UUID `json:"id"`
Name string `json:"name"`
SiteId uuid.UUID `json:"site_id"`
Timestamp float64 `json:"timestamp"`
AdditionalProperties map[string]any `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) 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 WebhookSdkclientScanData ¶
type WebhookSdkclientScanData struct {
Events []WebhookSdkclientScanDataEvent `json:"events"`
Topic string `json:"topic"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookSdkclientScanData represents a WebhookSdkclientScanData struct.
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) 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"`
// time client last seen with scan data
LastSeen float64 `json:"last_seen"`
// the client’s mac
Mac string `json:"mac"`
ScanData []WebhookSdkclientScanDataEventScanDataItem `json:"scan_data,omitempty"`
SiteId uuid.UUID `json:"site_id"`
AdditionalProperties map[string]any `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) 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
Band ScanDataItemBandEnum `json:"band"`
// BSSID found during client’s background scan for wifi
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"`
// time the scan of the particular BSSID occurred
Timestamp float64 `json:"timestamp"`
AdditionalProperties map[string]any `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) 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 WebhookSiteSle ¶
type WebhookSiteSle struct {
Events []WebhookSiteSleEvent `json:"events,omitempty"`
Topic *string `json:"topic,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookSiteSle represents a WebhookSiteSle struct.
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) 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"`
Timestamp *int `json:"timestamp,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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 WebhookTopicEnum ¶
type WebhookTopicEnum string
WebhookTopicEnum is a string enum.
const ( WebhookTopicEnum_ALARMS WebhookTopicEnum = "alarms" WebhookTopicEnum_AUDITS WebhookTopicEnum = "audits" WebhookTopicEnum_CLIENTINFO WebhookTopicEnum = "client-info" WebhookTopicEnum_CLIENTJOIN WebhookTopicEnum = "client-join" WebhookTopicEnum_CLIENTLATENCY WebhookTopicEnum = "client-latency" WebhookTopicEnum_CLIENTSESSIONS WebhookTopicEnum = "client-sessions" WebhookTopicEnum_DEVICEEVENTS WebhookTopicEnum = "device_events" WebhookTopicEnum_DEVICEUPDOWNS WebhookTopicEnum = "device-updowns" WebhookTopicEnum_MXEDGEEVENTS WebhookTopicEnum = "mxedge_events" WebhookTopicEnum_NACACCOUNTING WebhookTopicEnum = "nac-accounting" WebhookTopicEnum_NACEVENTS WebhookTopicEnum = "nac_events" WebhookTopicEnum_OCCUPANCYALERTS WebhookTopicEnum = "occupancy-alerts" WebhookTopicEnum_RSSIZONE WebhookTopicEnum = "rssizone" WebhookTopicEnum_SDKCLIENTSCANDATA WebhookTopicEnum = "sdkclient_scan_data" WebhookTopicEnum_SITESLE WebhookTopicEnum = "site_sle" WebhookTopicEnum_VBEACON WebhookTopicEnum = "vbeacon" WebhookTopicEnum_ZONE WebhookTopicEnum = "zone" WebhookTopicEnum_LOCATION WebhookTopicEnum = "location" WebhookTopicEnum_LOCATIONASSET WebhookTopicEnum = "location_asset" WebhookTopicEnum_LOCATIONCENTRAK WebhookTopicEnum = "location_centrak" WebhookTopicEnum_LOCATIONCLIENT WebhookTopicEnum = "location_client" WebhookTopicEnum_LOCATIONUNCLIENT WebhookTopicEnum = "location_unclient" WebhookTopicEnum_LOCATIONSDK WebhookTopicEnum = "location_sdk" WebhookTopicEnum_ASSETRAW WebhookTopicEnum = "asset-raw" WebhookTopicEnum_ASSETRAWRSSI WebhookTopicEnum = "asset-raw-rssi" WebhookTopicEnum_DISCOVEREDRAWRSSI WebhookTopicEnum = "discovered-raw-rssi" WebhookTopicEnum_WIFICONNRAW WebhookTopicEnum = "wifi-conn-raw" WebhookTopicEnum_WIFIUNCONNRAW WebhookTopicEnum = "wifi-unconn-raw" )
type WebhookTypeEnum ¶
type WebhookTypeEnum string
WebhookTypeEnum is a string enum.
const ( WebhookTypeEnum_HTTPPOST WebhookTypeEnum = "http-post" WebhookTypeEnum_SPLUNK WebhookTypeEnum = "splunk" WebhookTypeEnum_GOOGLEPUBSUB WebhookTypeEnum = "google-pubsub" WebhookTypeEnum_AWSSNS WebhookTypeEnum = "aws-sns" WebhookTypeEnum_OAUTH2 WebhookTypeEnum = "oauth2" )
type WebhookZone ¶
type WebhookZone struct {
// list of events
Events []WebhookZoneEvent `json:"events"`
// topic subscribed to
Topic string `json:"topic"`
AdditionalProperties map[string]any `json:"_"`
}
WebhookZone represents a WebhookZone struct. zone webhook sample
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) 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 {
// uuid of named asset
AssetId *uuid.UUID `json:"asset_id,omitempty"`
// uuid of SDK-client
Id uuid.UUID `json:"id"`
// mac address of wifi 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"`
// timestamp of the event, epoch
Timestamp int `json:"timestamp"`
// enter / exit
Trigger WebhookZoneEventTriggerEnum `json:"trigger"`
Type string `json:"type"`
// zone id
ZoneId uuid.UUID `json:"zone_id"`
AdditionalProperties map[string]any `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) 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. enter / exit
const ( WebhookZoneEventTriggerEnum_ENTER WebhookZoneEventTriggerEnum = "enter" WebhookZoneEventTriggerEnum_EXIT WebhookZoneEventTriggerEnum = "exit" )
type WebsocketSession ¶
type WebsocketSession struct {
Session string `json:"session"`
AdditionalProperties map[string]any `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) 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]any `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) 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]any `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) 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 {
DeviceMac []string `json:"device_mac,omitempty"`
DeviceMacPort []WiredClientResponseDeviceMacPortItem `json:"device_mac_port,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"`
Timestamp *float64 `json:"timestamp,omitempty"`
Vlan []int `json:"vlan,omitempty"`
AdditionalProperties map[string]any `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) 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]any `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) 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 WirelssClientSession ¶
type WirelssClientSession struct {
Ap string `json:"ap"`
Band string `json:"band"`
ClientManufacture *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"`
Timestamp float64 `json:"timestamp"`
WlanId uuid.UUID `json:"wlan_id"`
AdditionalProperties map[string]any `json:"_"`
}
WirelssClientSession represents a WirelssClientSession struct.
func (WirelssClientSession) MarshalJSON ¶
func (w WirelssClientSession) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WirelssClientSession. It customizes the JSON marshaling process for WirelssClientSession objects.
func (*WirelssClientSession) UnmarshalJSON ¶
func (w *WirelssClientSession) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WirelssClientSession. It customizes the JSON unmarshaling process for WirelssClientSession 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`==`tru`e, 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"`
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
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 compability. 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"`
// kbps
ClientLimitDown *int `json:"client_limit_down,omitempty"`
// if downlink limiting per-client is enabled
ClientLimitDownEnabled *bool `json:"client_limit_down_enabled,omitempty"`
// kbps
ClientLimitUp *int `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 Optional[[]CoaServer] `json:"coa_servers"`
CreatedTime *float64 `json:"created_time,omitempty"`
// some old WLAN drivers may not be compatible
Disable11ax *bool `json:"disable_11ax,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"`
// 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 ans 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 orwarded), 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"`
Id *uuid.UUID `json:"id,omitempty"`
InjectDhcpOption82 *WlanInjectDhcpOption82 `json:"inject_dhcp_option_82,omitempty"`
// where this WLAN will be connected to
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"`
MistNac *WlanMistNac `json:"mist_nac,omitempty"`
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_medge`, 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
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"`
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"`
Rateset map[string]WlanDatarates `json:"rateset,omitempty"`
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"`
// the 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 ‘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 *WlanVlanId `json:"vlan_id,omitempty"`
// vlan_ids to use when there’s no match from RA
VlanIds []WlanVlanIds `json:"vlan_ids,omitempty"`
// vlan pooling allows AP to place client on different VLAN using a deterministic algorithm
VlanPooling *bool `json:"vlan_pooling,omitempty"`
// kbps
WlanLimitDown Optional[int] `json:"wlan_limit_down"`
// if downlink limiting for whole wlan is enabled
WlanLimitDownEnabled *bool `json:"wlan_limit_down_enabled,omitempty"`
// kbps
WlanLimitUp Optional[int] `json:"wlan_limit_up"`
// 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]any `json:"_"`
}
Wlan represents a Wlan struct. WLAN **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) 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]any `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) 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]any `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) 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]any `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) 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 *int `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]any `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) 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 *int `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]any `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) 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.
const ( WlanApplyToEnum_SITE WlanApplyToEnum = "site" WlanApplyToEnum_WXTAGS WlanApplyToEnum = "wxtags" WlanApplyToEnum_APS WlanApplyToEnum = "aps" )
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"`
// whether to only use multi_psk
MultiPskOnly *bool `json:"multi_psk_only,omitempty"`
// `enabled` means transition mode
Owe *WlanAuthOweEnum `json:"owe,omitempty"`
// when type=psk / eap, one or more of wpa2-ccmp / wpa1-tkip / wpa1-ccmp / wpa2-tkip
Pairwise []WlanAuthPairwiseItemEnum `json:"pairwise,omitempty"`
// whether private wlan is enabled. only applicable to multi_psk mode
PrivateWlan *bool `json:"private_wlan,omitempty"`
// when type=psk, 8-64 characters, or 64 hex characters
Psk Optional[string] `json:"psk"`
Type WlanAuthTypeEnum `json:"type"`
// enable WEP as secondary auth
WepAsSecondaryAuth *bool `json:"wep_as_secondary_auth,omitempty"`
AdditionalProperties map[string]any `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) 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. `enabled` means transition mode
const ( WlanAuthOweEnum_ENABLED WlanAuthOweEnum = "enabled" WlanAuthOweEnum_DISABLED WlanAuthOweEnum = "disabled" WlanAuthOweEnum_REQUIRED WlanAuthOweEnum = "required" )
type WlanAuthPairwiseItemEnum ¶
type WlanAuthPairwiseItemEnum string
WlanAuthPairwiseItemEnum is a string enum.
const ( WlanAuthPairwiseItemEnum_WPA1CCMP WlanAuthPairwiseItemEnum = "wpa1-ccmp" WlanAuthPairwiseItemEnum_WPA2TKIP WlanAuthPairwiseItemEnum = "wpa2-tkip" WlanAuthPairwiseItemEnum_WPA1TKIP WlanAuthPairwiseItemEnum = "wpa1-tkip" WlanAuthPairwiseItemEnum_WPA2CCMP WlanAuthPairwiseItemEnum = "wpa2-ccmp" 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
const ( WlanAuthServerSelectionEnum_ORDERED WlanAuthServerSelectionEnum = "ordered" WlanAuthServerSelectionEnum_UNORDERED WlanAuthServerSelectionEnum = "unordered" )
type WlanAuthTypeEnum ¶
type WlanAuthTypeEnum string
WlanAuthTypeEnum is a string enum.
const ( WlanAuthTypeEnum_OPEN WlanAuthTypeEnum = "open" WlanAuthTypeEnum_PSK WlanAuthTypeEnum = "psk" WlanAuthTypeEnum_WEP WlanAuthTypeEnum = "wep" WlanAuthTypeEnum_EAP WlanAuthTypeEnum = "eap" WlanAuthTypeEnum_EAP192 WlanAuthTypeEnum = "eap192" WlanAuthTypeEnum_PSKTKIP WlanAuthTypeEnum = "psk-tkip" WlanAuthTypeEnum_PSKWPA2TKIP WlanAuthTypeEnum = "psk-wpa2-tkip" )
type WlanBonjour ¶
type WlanBonjour struct {
// additional VLAN IDs (on the LAN side or from other WLANs) should we be forwarding bonjour queries/responses
AdditionalVlanIds []WlanBonjourAdditionalVlanIds `json:"additional_vlan_ids"`
// 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"`
AdditionalProperties map[string]any `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) 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 WlanBonjourAdditionalVlanIds ¶ added in v0.2.23
type WlanBonjourAdditionalVlanIds struct {
// contains filtered or unexported fields
}
WlanBonjourAdditionalVlanIds represents a WlanBonjourAdditionalVlanIds struct. This is Array of a container for one-of cases.
func (*WlanBonjourAdditionalVlanIds) AsNumber ¶ added in v0.2.23
func (w *WlanBonjourAdditionalVlanIds) AsNumber() ( *int, bool)
func (*WlanBonjourAdditionalVlanIds) AsString ¶ added in v0.2.23
func (w *WlanBonjourAdditionalVlanIds) AsString() ( *string, bool)
func (WlanBonjourAdditionalVlanIds) MarshalJSON ¶ added in v0.2.23
func (w WlanBonjourAdditionalVlanIds) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanBonjourAdditionalVlanIds. It customizes the JSON marshaling process for WlanBonjourAdditionalVlanIds objects.
func (WlanBonjourAdditionalVlanIds) String ¶ added in v0.2.23
func (w WlanBonjourAdditionalVlanIds) String() string
String converts the WlanBonjourAdditionalVlanIds object to a string representation.
func (*WlanBonjourAdditionalVlanIds) UnmarshalJSON ¶ added in v0.2.23
func (w *WlanBonjourAdditionalVlanIds) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanBonjourAdditionalVlanIds. It customizes the JSON unmarshaling process for WlanBonjourAdditionalVlanIds 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
Scope *WlanBonjourServicePropertiesScopeEnum `json:"scope,omitempty"`
AdditionalProperties map[string]any `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) 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
const ( WlanBonjourServicePropertiesScopeEnum_SAMESITE WlanBonjourServicePropertiesScopeEnum = "same_site" WlanBonjourServicePropertiesScopeEnum_SAMEMAP WlanBonjourServicePropertiesScopeEnum = "same_map" WlanBonjourServicePropertiesScopeEnum_SAMEAP WlanBonjourServicePropertiesScopeEnum = "same_ap" )
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]any `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) 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 {
// 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"`
// 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"`
// * `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[string] `json:"template"`
// 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 *string `json:"vht,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( WlanDataratesLegacyItemEnum_ENUM1 WlanDataratesLegacyItemEnum = "1" WlanDataratesLegacyItemEnum_ENUM1B WlanDataratesLegacyItemEnum = "1b" WlanDataratesLegacyItemEnum_ENUM2 WlanDataratesLegacyItemEnum = "2" WlanDataratesLegacyItemEnum_ENUM2B WlanDataratesLegacyItemEnum = "2b" WlanDataratesLegacyItemEnum_ENUM55 WlanDataratesLegacyItemEnum = "5.5" WlanDataratesLegacyItemEnum_ENUM55B WlanDataratesLegacyItemEnum = "5.5b" WlanDataratesLegacyItemEnum_ENUM11 WlanDataratesLegacyItemEnum = "11" WlanDataratesLegacyItemEnum_ENUM11B WlanDataratesLegacyItemEnum = "11b" WlanDataratesLegacyItemEnum_ENUM6 WlanDataratesLegacyItemEnum = "6" WlanDataratesLegacyItemEnum_ENUM6B WlanDataratesLegacyItemEnum = "6b" WlanDataratesLegacyItemEnum_ENUM9 WlanDataratesLegacyItemEnum = "9" WlanDataratesLegacyItemEnum_ENUM9B WlanDataratesLegacyItemEnum = "9b" WlanDataratesLegacyItemEnum_ENUM12 WlanDataratesLegacyItemEnum = "12" WlanDataratesLegacyItemEnum_ENUM12B WlanDataratesLegacyItemEnum = "12b" WlanDataratesLegacyItemEnum_ENUM18 WlanDataratesLegacyItemEnum = "18" WlanDataratesLegacyItemEnum_ENUM18B WlanDataratesLegacyItemEnum = "18b" WlanDataratesLegacyItemEnum_ENUM24 WlanDataratesLegacyItemEnum = "24" WlanDataratesLegacyItemEnum_ENUM24B WlanDataratesLegacyItemEnum = "24b" WlanDataratesLegacyItemEnum_ENUM36 WlanDataratesLegacyItemEnum = "36" WlanDataratesLegacyItemEnum_ENUM36B WlanDataratesLegacyItemEnum = "36b" WlanDataratesLegacyItemEnum_ENUM48 WlanDataratesLegacyItemEnum = "48" WlanDataratesLegacyItemEnum_ENUM48B WlanDataratesLegacyItemEnum = "48b" WlanDataratesLegacyItemEnum_ENUM54 WlanDataratesLegacyItemEnum = "54" WlanDataratesLegacyItemEnum_ENUM54B WlanDataratesLegacyItemEnum = "54b" )
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]any `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) 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 *WlanDynamicPskDefaultVlanId `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"`
Source *DynamicPskSourceEnum `json:"source,omitempty"`
VlanIds []WlanDynamicPskVlanIds `json:"vlan_ids,omitempty"`
AdditionalProperties map[string]any `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 ans 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) 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 WlanDynamicPskDefaultVlanId ¶ added in v0.2.23
type WlanDynamicPskDefaultVlanId struct {
// contains filtered or unexported fields
}
WlanDynamicPskDefaultVlanId represents a WlanDynamicPskDefaultVlanId struct. This is a container for one-of cases.
func (*WlanDynamicPskDefaultVlanId) AsNumber ¶ added in v0.2.23
func (w *WlanDynamicPskDefaultVlanId) AsNumber() ( *int, bool)
func (*WlanDynamicPskDefaultVlanId) AsString ¶ added in v0.2.23
func (w *WlanDynamicPskDefaultVlanId) AsString() ( *string, bool)
func (WlanDynamicPskDefaultVlanId) MarshalJSON ¶ added in v0.2.23
func (w WlanDynamicPskDefaultVlanId) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanDynamicPskDefaultVlanId. It customizes the JSON marshaling process for WlanDynamicPskDefaultVlanId objects.
func (WlanDynamicPskDefaultVlanId) String ¶ added in v0.2.23
func (w WlanDynamicPskDefaultVlanId) String() string
String converts the WlanDynamicPskDefaultVlanId object to a string representation.
func (*WlanDynamicPskDefaultVlanId) UnmarshalJSON ¶ added in v0.2.23
func (w *WlanDynamicPskDefaultVlanId) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanDynamicPskDefaultVlanId. It customizes the JSON unmarshaling process for WlanDynamicPskDefaultVlanId objects.
type WlanDynamicPskVlanIds ¶ added in v0.2.23
type WlanDynamicPskVlanIds struct {
// contains filtered or unexported fields
}
WlanDynamicPskVlanIds represents a WlanDynamicPskVlanIds struct. This is Array of a container for one-of cases.
func (*WlanDynamicPskVlanIds) AsNumber ¶ added in v0.2.23
func (w *WlanDynamicPskVlanIds) AsNumber() ( *int, bool)
func (*WlanDynamicPskVlanIds) AsString ¶ added in v0.2.23
func (w *WlanDynamicPskVlanIds) AsString() ( *string, bool)
func (WlanDynamicPskVlanIds) MarshalJSON ¶ added in v0.2.23
func (w WlanDynamicPskVlanIds) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanDynamicPskVlanIds. It customizes the JSON marshaling process for WlanDynamicPskVlanIds objects.
func (WlanDynamicPskVlanIds) String ¶ added in v0.2.23
func (w WlanDynamicPskVlanIds) String() string
String converts the WlanDynamicPskVlanIds object to a string representation.
func (*WlanDynamicPskVlanIds) UnmarshalJSON ¶ added in v0.2.23
func (w *WlanDynamicPskVlanIds) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanDynamicPskVlanIds. It customizes the JSON unmarshaling process for WlanDynamicPskVlanIds objects.
type WlanDynamicVlan ¶
type WlanDynamicVlan struct {
// vlan_id to use when there’s no match from RADIUS
DefaultVlanId Optional[WlanDynamicVlanDefaultVlanId] `json:"default_vlan_id"`
// whether to enable dynamic vlan
Enabled *bool `json:"enabled,omitempty"`
// vlan_ids to be locally bridged
LocalVlanIds []WlanDynamicVlanLocalVlanIds `json:"local_vlan_ids,omitempty"`
// standard (using Tunnel-Private-Group-ID, widely supported), airespace-interface-name (Airespace/Cisco)
Type *WlanDynamicVlanTypeEnum `json:"type,omitempty"`
// map between vlan_id (as string) to airespace interface names (comma-separated) or null for stndard 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]any `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) 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. This is a container for one-of cases.
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 converts the WlanDynamicVlanDefaultVlanId object to a string representation.
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 WlanDynamicVlanLocalVlanIds ¶ added in v0.2.23
type WlanDynamicVlanLocalVlanIds struct {
// contains filtered or unexported fields
}
WlanDynamicVlanLocalVlanIds represents a WlanDynamicVlanLocalVlanIds struct. This is Array of a container for one-of cases.
func (*WlanDynamicVlanLocalVlanIds) AsNumber ¶ added in v0.2.23
func (w *WlanDynamicVlanLocalVlanIds) AsNumber() ( *int, bool)
func (*WlanDynamicVlanLocalVlanIds) AsString ¶ added in v0.2.23
func (w *WlanDynamicVlanLocalVlanIds) AsString() ( *string, bool)
func (WlanDynamicVlanLocalVlanIds) MarshalJSON ¶ added in v0.2.23
func (w WlanDynamicVlanLocalVlanIds) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanDynamicVlanLocalVlanIds. It customizes the JSON marshaling process for WlanDynamicVlanLocalVlanIds objects.
func (WlanDynamicVlanLocalVlanIds) String ¶ added in v0.2.23
func (w WlanDynamicVlanLocalVlanIds) String() string
String converts the WlanDynamicVlanLocalVlanIds object to a string representation.
func (*WlanDynamicVlanLocalVlanIds) UnmarshalJSON ¶ added in v0.2.23
func (w *WlanDynamicVlanLocalVlanIds) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanDynamicVlanLocalVlanIds. It customizes the JSON unmarshaling process for WlanDynamicVlanLocalVlanIds objects.
type WlanDynamicVlanTypeEnum ¶
type WlanDynamicVlanTypeEnum string
WlanDynamicVlanTypeEnum is a string enum. standard (using Tunnel-Private-Group-ID, widely supported), airespace-interface-name (Airespace/Cisco)
const ( WlanDynamicVlanTypeEnum_STANDARD WlanDynamicVlanTypeEnum = "standard" WlanDynamicVlanTypeEnum_AIRESPACEINTERFACENAME WlanDynamicVlanTypeEnum = "airespace-interface-name" )
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]any `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) 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.
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 {
CircuitId *string `json:"circuit_id,omitempty"`
// whether to inject option 82 when forwarding DHCP packets
Enabled *bool `json:"enabled,omitempty"`
AdditionalProperties map[string]any `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) 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
const ( WlanInterfaceEnum_ALL WlanInterfaceEnum = "all" WlanInterfaceEnum_ETH0 WlanInterfaceEnum = "eth0" WlanInterfaceEnum_ETH1 WlanInterfaceEnum = "eth1" WlanInterfaceEnum_ETH2 WlanInterfaceEnum = "eth2" WlanInterfaceEnum_ETH3 WlanInterfaceEnum = "eth3" WlanInterfaceEnum_WXTUNNEL WlanInterfaceEnum = "wxtunnel" WlanInterfaceEnum_MXTUNNEL WlanInterfaceEnum = "mxtunnel" WlanInterfaceEnum_SITEMXEDGE WlanInterfaceEnum = "site_mxedge" )
type WlanMistNac ¶
type WlanMistNac struct {
// 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"`
AdditionalProperties map[string]any `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) 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 {
// amazon OAuth2 client id. This is optional. If not provided, it will use a default one.
AmazonClientId Optional[string] `json:"amazon_client_id"`
// amazon OAuth2 client secret. If amazon_client_id was provided, provide a correspoinding value. Else leave blank.
AmazonClientSecret Optional[string] `json:"amazon_client_secret"`
// 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"`
// interval for which guest remains authorized using amazon auth (in minutes), if not provided, uses expire`
AmazonExpire Optional[float64] `json:"amazon_expire"`
// authentication scheme
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[float64] `json:"azure_expire"`
// Required if `azure_enabled`==`true`.
// Azure active directory tenant id.
AzureTenantId Optional[string] `json:"azure_tenant_id"`
// when `sms_provider`==`broadnet`
BroadnetPassword *string `json:"broadnet_password,omitempty"`
// when `sms_provider`==`broadnet`
BroadnetSid *string `json:"broadnet_sid,omitempty"`
// when `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"`
// when `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 *float64 `json:"expire,omitempty"`
// 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 correspoinding value. Else leave blank.
FacebookClientSecret Optional[string] `json:"facebook_client_secret"`
// 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"`
// interval for which guest remains authorized using facebook auth (in minutes), if not provided, uses expire`
FacebookExpire Optional[float64] `json:"facebook_expire"`
// whether to forward the user to another URL after authorized
Forward *bool `json:"forward,omitempty"`
// the 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"`
// Google OAuth2 app secret. If google_client_id was provided, provide a correspoinding value. Else leave blank.
GoogleClientSecret Optional[string] `json:"google_client_secret"`
// 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"`
// interval for which guest remains authorized using google auth (in minutes), if not provided, uses expire`
GoogleExpire Optional[float64] `json:"google_expire"`
// when `sms_provider`==`gupshup`
GupshupPassword *string `json:"gupshup_password,omitempty"`
// when `sms_provider`==`gupshup`
GupshupUserid *string `json:"gupshup_userid,omitempty"`
// microsoft 365 OAuth2 client id. This is optional. If not provided, it will use a default one.
MicrosoftClientId Optional[string] `json:"microsoft_client_id"`
// microsoft 365 OAuth2 client secret. If microsoft_client_id was provided, provide a correspoinding value. Else leave blank.
MicrosoftClientSecret Optional[string] `json:"microsoft_client_secret"`
// 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"`
// interval for which guest remains authorized using microsoft auth (in minutes), if not provided, uses expire`
MicrosoftExpire Optional[float64] `json:"microsoft_expire"`
// whether password is enabled
PassphraseEnabled *bool `json:"passphrase_enabled,omitempty"`
// interval for which guest remains authorized using passphrase auth (in minutes), if not provided, uses `expire`
PassphraseExpire Optional[float64] `json:"passphrase_expire"`
// passphrase
Password Optional[string] `json:"password"`
// api secret (auto-generated) that can be used to sign guest authorization requests
PortalApiSecret *string `json:"portal_api_secret,omitempty"`
// Url of portal background image
PortalImage *string `json:"portal_image,omitempty"`
// for SAML, this is used as the ACS URL
PortalSsoUrl *string `json:"portal_sso_url,omitempty"`
// 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, behaviour is acc to `sponsor_email_domains`
PredefinedSponsorsEnabled *bool `json:"predefined_sponsors_enabled,omitempty"`
Privacy *bool `json:"privacy,omitempty"`
// when `sms_provider`==`puzzel`
PuzzelPassword *string `json:"puzzel_password,omitempty"`
// when `sms_provider`==`puzzel`
PuzzelServiceId *string `json:"puzzel_service_id,omitempty"`
// when `sms_provider`==`puzzel`
PuzzelUsername *string `json:"puzzel_username,omitempty"`
SmsMessageFormat *string `json:"smsMessageFormat,omitempty"`
// whether sms is enabled as a login method
SmsEnabled *bool `json:"sms_enabled,omitempty"`
// interval for which guest remains authorized using sms auth (in minutes), if not provided, uses expire`
SmsExpire Optional[float64] `json:"sms_expire"`
SmsProvider *WlanPortalSmsProviderEnum `json:"sms_provider,omitempty"`
// 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"`
// interval for which guest remains authorized using sponsor auth (in minutes), if not provided, uses expire`
SponsorExpire Optional[float64] `json:"sponsor_expire"`
// how long to remain valid sponsored guest request approve/deny link received in email, in minutes.
SponsorLinkValidityDuration *int `json:"sponsor_link_validity_duration,omitempty"`
// 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"`
// 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
Sponsors map[string]string `json:"sponsors,omitempty"`
// 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"`
SsoForcedRole *string `json:"sso_forced_role,omitempty"`
// IDP Cert (used to verify the signed response)
SsoIdpCert *string `json:"sso_idp_cert,omitempty"`
// signing algorithm for SAML Assertion
SsoIdpSignAlgo *string `json:"sso_idp_sign_algo,omitempty"`
// IDP Single-Sign-On URL
SsoIdpSsoUrl *string `json:"sso_idp_sso_url,omitempty"`
// IDP issuer URL
SsoIssuer *string `json:"sso_issuer,omitempty"`
SsoNameidFormat *WlanPortalSsoNameidFormatEnum `json:"sso_nameid_format,omitempty"`
// when `sms_provider`==`telstra`, Client ID provided by Telstra
TelstraClientId *string `json:"telstra_client_id,omitempty"`
// when `sms_provider`==`telstra`, Client secret provided by Telstra
TelstraClientSecret *string `json:"telstra_client_secret,omitempty"`
// when `sms_provider`==`twilio`, Auth token account with twilio account
TwilioAuthToken Optional[string] `json:"twilio_auth_token"`
// when `sms_provider`==`twilio`, Twilio phone number associated with the account. See example for accepted format.
TwilioPhoneNumber Optional[string] `json:"twilio_phone_number"`
// when `sms_provider`==`twilio`, Account SID provided by Twilio
TwilioSid Optional[string] `json:"twilio_sid"`
AdditionalProperties map[string]any `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) 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
const ( WlanPortalAuthEnum_NONE WlanPortalAuthEnum = "none" WlanPortalAuthEnum_EXTERNAL WlanPortalAuthEnum = "external" WlanPortalAuthEnum_SSO WlanPortalAuthEnum = "sso" )
type WlanPortalSmsProviderEnum ¶
type WlanPortalSmsProviderEnum string
WlanPortalSmsProviderEnum is a string enum.
const ( WlanPortalSmsProviderEnum_MANUAL WlanPortalSmsProviderEnum = "manual" WlanPortalSmsProviderEnum_TWILIO WlanPortalSmsProviderEnum = "twilio" WlanPortalSmsProviderEnum_BROADNET WlanPortalSmsProviderEnum = "broadnet" WlanPortalSmsProviderEnum_CLICKATELL WlanPortalSmsProviderEnum = "clickatell" WlanPortalSmsProviderEnum_PUZZEL WlanPortalSmsProviderEnum = "puzzel" WlanPortalSmsProviderEnum_GUPSHUP WlanPortalSmsProviderEnum = "gupshup" WlanPortalSmsProviderEnum_TELSTRA WlanPortalSmsProviderEnum = "telstra" )
type WlanPortalSsoNameidFormatEnum ¶
type WlanPortalSsoNameidFormatEnum string
WlanPortalSsoNameidFormatEnum is a string enum.
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]any `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) 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 {
// “Please provide valid alternate email”
AccessCodeAlternateEmail *string `json:"accessCodeAlternateEmail,omitempty"`
// defines alignment on portal. “left” is default.
Alignment *string `json:"alignment,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"`
// “Connect to WiFi with”
AuthLabel *string `json:"authLabel,omitempty"`
// label of the link to go back to /logon
BackLink *string `json:"backLink,omitempty"`
// “#1074bc”
Color *string `json:"color,omitempty"`
// “#0b5183”
ColorDark *string `json:"colorDark,omitempty"`
// “#3589c6”
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"`
// 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"`
// “Please provide valid alternate email”
EmailCodeError *string `json:"emailCodeError,omitempty"`
// “Confirmation Code”
EmailCodeFieldLabel *string `json:"emailCodeFieldLabel,omitempty"`
// “Enter the access number that was sent to your email address.”
EmailCodeMessage *string `json:"emailCodeMessage,omitempty"`
// “Sign In
EmailCodeSubmit *string `json:"emailCodeSubmit,omitempty"`
// “Access Code”
EmailCodeTitle *string `json:"emailCodeTitle,omitempty"`
// error message when email not provided
EmailError *string `json:"emailError,omitempty"`
// “Enter your email address”
EmailFieldLabel *string `json:"emailFieldLabel,omitempty"`
// label of email field
EmailLabel *string `json:"emailLabel,omitempty"`
// “We will email you an authentication code which you can use to connect to the WiFi network.”
EmailMessage *string `json:"emailMessage,omitempty"`
// Label for confirmation code submit button using email auth
EmailSubmit *string `json:"emailSubmit,omitempty"`
// “Sign in with Email”
EmailTitle *string `json:"emailTitle,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"`
// “Please enjoy the complimentary Wifi”
Message *string `json:"message,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"`
// whether to display “Do Not Store My Personal Information”
Optout *bool `json:"optout,omitempty"`
// Default value for the \"Do not store\" checkbox"
OptoutDefault *bool `json:"optoutDefault,omitempty"`
// label for “Do Not Store My Personal Information”
OptoutLabel *string `json:"optoutLabel,omitempty"`
// “Welcome”
PageTitle string `json:"pageTitle"`
// “Cancel”
PassphraseCancel *string `json:"passphraseCancel,omitempty"`
// error message when invalid passphrase is provided
PassphraseError *string `json:"passphraseError,omitempty"`
// Passphrase
PassphraseLabel *string `json:"passphraseLabel,omitempty"`
// “Login using passphrase”
PassphraseMessage *string `json:"passphraseMessage,omitempty"`
// “Sign in”
PassphraseSubmit *string `json:"passphraseSubmit,omitempty"`
// Title for passphrase details page
PassphraseTitle *string `json:"passphraseTitle,omitempty"`
// whether to show “Powered by Mist”
PoweredBy *bool `json:"poweredBy,omitempty"`
// label to denote required field
RequiredFieldLabel *string `json:"requiredFieldLabel,omitempty"`
// label of the button to /signin
SignInLabel *string `json:"signInLabel,omitempty"`
// “Please Select”
SmsCarrierDefault *string `json:"smsCarrierDefault,omitempty"`
// “Please select a mobile carrier”
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"`
// “Confirmation Code”
SmsCodeFieldLabel *string `json:"smsCodeFieldLabel,omitempty"`
// “Enter the confirmation code”
SmsCodeMessage *string `json:"smsCodeMessage,omitempty"`
// Label for confirmation code submit button
SmsCodeSubmit *string `json:"smsCodeSubmit,omitempty"`
// “Access Code”
SmsCodeTitle *string `json:"smsCodeTitle,omitempty"`
// “Country Code”
SmsCountryFieldLabel *string `json:"smsCountryFieldLabel,omitempty"`
// “+1”
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 place holders and should be retained as is.
SmsMessageFormat *string `json:"smsMessageFormat,omitempty"`
// label for canceling mobile details for SMS auth
SmsNumberCancel *string `json:"smsNumberCancel,omitempty"`
// “Invalid Mobile Number”
SmsNumberError *string `json:"smsNumberError,omitempty"`
// label for field to provide mobile number
SmsNumberFieldLabel *string `json:"smsNumberFieldLabel,omitempty"`
// “2125551212 (digits only)”
SmsNumberFormat *string `json:"smsNumberFormat,omitempty"`
// “We will send an access code to your mobile number which you can use to connect to the WiFi network. Message and data rates may apply.”
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"`
// “username”
SmsUsernameFormat *string `json:"smsUsernameFormat,omitempty"`
// how long confirmation code should be considered valid (in minutes)
SmsValidityDuration *int `json:"smsValidityDuration,omitempty"`
// “Go back and edit request form”
SponsorBackLink *string `json:"sponsorBackLink,omitempty"`
// “Cancel”
SponsorCancel *string `json:"sponsorCancel,omitempty"`
// label for Sponsor Email
SponsorEmail *string `json:"sponsorEmail,omitempty"`
// “Please provide valid sponsor email”
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"`
// “Your request was approved by”
SponsorInfoApproved *string `json:"sponsorInfoApproved,omitempty"`
// “Your request was denied by”
SponsorInfoDenied *string `json:"sponsorInfoDenied,omitempty"`
// “Your notification has been sent to”
SponsorInfoPending *string `json:"sponsorInfoPending,omitempty"`
// label for Sponsor Name
SponsorName *string `json:"sponsorName,omitempty"`
// “Please provide sponsor’s name”
SponsorNameError *string `json:"sponsorNameError,omitempty"`
// “Please wait for them to acknowledge.”
SponsorNotePending *string `json:"sponsorNotePending,omitempty"`
// ‘submit button label request Wifi Access and notify sponsor about guest request
SponsorRequestAccess *string `json:"sponsorRequestAccess,omitempty"`
// “Select Sponsor”
SponsorSelectEmail *string `json:"sponsorSelectEmail,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"`
// “Please select a sponsor”
SponsorsError *string `json:"sponsorsError,omitempty"`
// “Your request was approved”
SponsorsInfoApproved *string `json:"sponsorsInfoApproved,omitempty"`
// “Your request was denied”
SponsorsInfoDenied *string `json:"sponsorsInfoDenied,omitempty"`
// “Your notification has been sent to the sponsors”
SponsorsInfoPending *string `json:"sponsorsInfoPending,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"`
AdditionalProperties map[string]any `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) 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 WlanQos ¶
type WlanQos struct {
Class *WlanQosClassEnum `json:"class,omitempty"`
// whether to overwrite QoS
Overwrite *bool `json:"overwrite,omitempty"`
AdditionalProperties map[string]any `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) 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.
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.
const ( WlanRoamModeEnum_NONE WlanRoamModeEnum = "none" WlanRoamModeEnum_OKC WlanRoamModeEnum = "OKC" WlanRoamModeEnum_ENUM11R WlanRoamModeEnum = "11r" )
type WlanSchedule ¶
type WlanSchedule struct {
Enabled *bool `json:"enabled,omitempty"`
// hours of operation filter, the available days (mon, tue, wed, thu, fri, sat, sun).
// **Note**: If the dow is not defined then it’s treated as 00:00-23:59.
Hours *Hours `json:"hours,omitempty"`
AdditionalProperties map[string]any `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) 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 WlanVlanId ¶ added in v0.2.24
type WlanVlanId struct {
// contains filtered or unexported fields
}
WlanVlanId represents a WlanVlanId struct. This is a container for one-of cases.
func (*WlanVlanId) AsNumber ¶ added in v0.2.24
func (w *WlanVlanId) AsNumber() ( *int, bool)
func (*WlanVlanId) AsString ¶ added in v0.2.24
func (w *WlanVlanId) AsString() ( *string, bool)
func (WlanVlanId) MarshalJSON ¶ added in v0.2.24
func (w WlanVlanId) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanVlanId. It customizes the JSON marshaling process for WlanVlanId objects.
func (WlanVlanId) String ¶ added in v0.2.24
func (w WlanVlanId) String() string
String converts the WlanVlanId object to a string representation.
func (*WlanVlanId) UnmarshalJSON ¶ added in v0.2.24
func (w *WlanVlanId) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanVlanId. It customizes the JSON unmarshaling process for WlanVlanId objects.
type WlanVlanIds ¶ added in v0.2.23
type WlanVlanIds struct {
// contains filtered or unexported fields
}
WlanVlanIds represents a WlanVlanIds struct. This is Array of a container for one-of cases.
func (*WlanVlanIds) AsNumber ¶ added in v0.2.23
func (w *WlanVlanIds) AsNumber() ( *int, 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 converts the WlanVlanIds object to a string representation.
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
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"`
CreatedTime *float64 `json:"created_time,omitempty"`
DstAllowWxtags []string `json:"dst_allow_wxtags,omitempty"`
// tag list to indicate these tags are blocked access
Enabled *bool `json:"enabled,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
ModifiedTime *float64 `json:"modified_time,omitempty"`
// the 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]any `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) 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
const ( WxlanRuleActionEnum_ALLOW WxlanRuleActionEnum = "allow" WxlanRuleActionEnum_BLOCK WxlanRuleActionEnum = "block" )
type WxlanTag ¶
type WxlanTag struct {
CreatedTime *float64 `json:"created_time,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
LastIps []string `json:"last_ips,omitempty"`
Mac Optional[string] `json:"mac"`
Match *WxlanTagMatchEnum `json:"match,omitempty"`
ModifiedTime *float64 `json:"modified_time,omitempty"`
// The name
Name string `json:"name"`
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`==`specs`
Specs []WxlanTagSpec `json:"specs,omitempty"`
Subnet *string `json:"subnet,omitempty"`
Type WxlanTagTypeEnum `json:"type"`
// if `type`!=`vlan_id` and `type`!=`specs`, list of values to match
Values []string `json:"values,omitempty"`
// if `type`==`vlan_id`
VlanId *WxlanTagVlanId `json:"vlan_id,omitempty"`
AdditionalProperties map[string]any `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: thie 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) 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.
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_RADIUSATTR WxlanTagMatchEnum = "radius_attr" WxlanTagMatchEnum_RADIUSGROUP WxlanTagMatchEnum = "radius_group" WxlanTagMatchEnum_RADIUSUSERNAME WxlanTagMatchEnum = "radius_username" WxlanTagMatchEnum_WLANID WxlanTagMatchEnum = "wlan_id" WxlanTagMatchEnum_PSKNAME WxlanTagMatchEnum = "psk_name" WxlanTagMatchEnum_PSKROLE WxlanTagMatchEnum = "psk_role" )
type WxlanTagOperationEnum ¶
type WxlanTagOperationEnum string
WxlanTagOperationEnum is a string enum.
const ( WxlanTagOperationEnum_IN WxlanTagOperationEnum = "in" WxlanTagOperationEnum_NOTIN WxlanTagOperationEnum = "not_in" )
type WxlanTagSpec ¶
type WxlanTagSpec struct {
// matched dst 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 dst subnet
Subnets []string `json:"subnets,omitempty"`
AdditionalProperties map[string]any `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) 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.
const ( WxlanTagTypeEnum_MATCH WxlanTagTypeEnum = "match" WxlanTagTypeEnum_CLIENT WxlanTagTypeEnum = "client" WxlanTagTypeEnum_RESOURCE WxlanTagTypeEnum = "resource" WxlanTagTypeEnum_SUBNET WxlanTagTypeEnum = "subnet" WxlanTagTypeEnum_SPEC WxlanTagTypeEnum = "spec" WxlanTagTypeEnum_VLAN WxlanTagTypeEnum = "vlan" )
type WxlanTagVlanId ¶ added in v0.2.20
type WxlanTagVlanId struct {
// contains filtered or unexported fields
}
WxlanTagVlanId represents a WxlanTagVlanId struct. This is a container for one-of cases.
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 converts the WxlanTagVlanId object to a string representation.
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 {
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"`
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"`
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 “0” 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]any `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) 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]any `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) 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]any `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) 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"`
Ethertype *WxlanTunnelSessionEthertypeEnum `json:"ethertype,omitempty"`
// 1-4294967295
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-4294967295
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]any `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) 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.
const ( WxlanTunnelSessionEthertypeEnum_ETHERNET WxlanTunnelSessionEthertypeEnum = "ethernet" WxlanTunnelSessionEthertypeEnum_VLAN WxlanTunnelSessionEthertypeEnum = "vlan" )
type WxruleStat ¶
type WxruleStat struct {
Action WxruleStatsActionEnum `json:"action"`
ClientMac []string `json:"client_mac"`
Name string `json:"name"`
Order int `json:"order"`
Usage map[string]WxruleStatsUsageProperties `json:"usage"`
AdditionalProperties map[string]any `json:"_"`
}
WxruleStat represents a WxruleStat struct. Wxrule statistics
func (WxruleStat) MarshalJSON ¶
func (w WxruleStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WxruleStat. It customizes the JSON marshaling process for WxruleStat objects.
func (*WxruleStat) UnmarshalJSON ¶
func (w *WxruleStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WxruleStat. It customizes the JSON unmarshaling process for WxruleStat objects.
type WxruleStatsActionEnum ¶
type WxruleStatsActionEnum string
WxruleStatsActionEnum is a string enum.
const ( WxruleStatsActionEnum_ALLOW WxruleStatsActionEnum = "allow" WxruleStatsActionEnum_BLOCK WxruleStatsActionEnum = "block" )
type WxruleStatsUsageProperties ¶
type WxruleStatsUsageProperties struct {
NumFlows *int `json:"num_flows,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
WxruleStatsUsageProperties represents a WxruleStatsUsageProperties struct.
func (WxruleStatsUsageProperties) MarshalJSON ¶
func (w WxruleStatsUsageProperties) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WxruleStatsUsageProperties. It customizes the JSON marshaling process for WxruleStatsUsageProperties objects.
func (*WxruleStatsUsageProperties) UnmarshalJSON ¶
func (w *WxruleStatsUsageProperties) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WxruleStatsUsageProperties. It customizes the JSON unmarshaling process for WxruleStatsUsageProperties objects.
type WxtagClient ¶
type WxtagClient struct {
Mac string `json:"mac"`
Since float64 `json:"since"`
AdditionalProperties map[string]any `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) 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 WxtagMatching ¶
type WxtagMatching struct {
Mac string `json:"mac"`
Since int `json:"since"`
AdditionalProperties map[string]any `json:"_"`
}
WxtagMatching represents a WxtagMatching struct.
func (WxtagMatching) MarshalJSON ¶
func (w WxtagMatching) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WxtagMatching. It customizes the JSON marshaling process for WxtagMatching objects.
func (*WxtagMatching) UnmarshalJSON ¶
func (w *WxtagMatching) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WxtagMatching. It customizes the JSON unmarshaling process for WxtagMatching objects.
type Zone ¶
type Zone struct {
CreatedTime *float64 `json:"created_time,omitempty"`
ForSite *bool `json:"for_site,omitempty"`
Id *uuid.UUID `json:"id,omitempty"`
// map where this zone is defined
MapId *uuid.UUID `json:"map_id,omitempty"`
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]any `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) 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.
const ( ZoneScopeEnum_SITE ZoneScopeEnum = "site" ZoneScopeEnum_ENUMMAP ZoneScopeEnum = "map" ZoneScopeEnum_ZONE ZoneScopeEnum = "zone" ZoneScopeEnum_RSSIZONE ZoneScopeEnum = "rssizone" )
type ZoneStats ¶
type ZoneStats struct {
// ble asset wait time right now
AssetsWaits *ZoneStatsAssetsWaits `json:"assets_waits,omitempty"`
// client wait time right now
ClientsWaits *ZoneStatsClientsWaits `json:"clients_waits,omitempty"`
CreatedTime *float64 `json:"created_time,omitempty"`
// id of the zone
Id uuid.UUID `json:"id"`
// map_id of the zone
MapId uuid.UUID `json:"map_id"`
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 wifi clients (unconnected + connected)
NumClients *int `json:"num_clients,omitempty"`
// number of sdk clients
NumSdkclients *int `json:"num_sdkclients,omitempty"`
OccupancyLimit *int `json:"occupancy_limit,omitempty"`
OrgId *uuid.UUID `json:"org_id,omitempty"`
// sdkclient wait time right now
SdkclientsWaits *ZoneStatsSdkclientsWaits `json:"sdkclients_waits,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"`
VerticesM []ZoneVertexM `json:"vertices_m,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ZoneStats represents a ZoneStats struct. Zone statistics
func (ZoneStats) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for ZoneStats. It customizes the JSON marshaling process for ZoneStats objects.
func (*ZoneStats) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for ZoneStats. It customizes the JSON unmarshaling process for ZoneStats objects.
type ZoneStatsAssetsWaits ¶
type ZoneStatsAssetsWaits 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]any `json:"_"`
}
ZoneStatsAssetsWaits represents a ZoneStatsAssetsWaits struct. ble asset wait time right now
func (ZoneStatsAssetsWaits) MarshalJSON ¶
func (z ZoneStatsAssetsWaits) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ZoneStatsAssetsWaits. It customizes the JSON marshaling process for ZoneStatsAssetsWaits objects.
func (*ZoneStatsAssetsWaits) UnmarshalJSON ¶
func (z *ZoneStatsAssetsWaits) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ZoneStatsAssetsWaits. It customizes the JSON unmarshaling process for ZoneStatsAssetsWaits objects.
type ZoneStatsClientsWaits ¶
type ZoneStatsClientsWaits 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]any `json:"_"`
}
ZoneStatsClientsWaits represents a ZoneStatsClientsWaits struct. client wait time right now
func (ZoneStatsClientsWaits) MarshalJSON ¶
func (z ZoneStatsClientsWaits) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ZoneStatsClientsWaits. It customizes the JSON marshaling process for ZoneStatsClientsWaits objects.
func (*ZoneStatsClientsWaits) UnmarshalJSON ¶
func (z *ZoneStatsClientsWaits) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ZoneStatsClientsWaits. It customizes the JSON unmarshaling process for ZoneStatsClientsWaits objects.
type ZoneStatsDetails ¶
type ZoneStatsDetails struct {
// list of ble assets currently in the zone and when they entered
Assets []string `json:"assets,omitempty"`
// client wait time right now
ClientWaits ZoneStatsDetailsClientWaits `json:"client_waits"`
// list of clients currently in the zone and when they entered
Clients []string `json:"clients,omitempty"`
// id of the zone
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"`
// sdkclient wait time right now
NumSdkclients int `json:"num_sdkclients"`
// list of sdkclients currently in the zone and when they entered
Sdkclients []string `json:"sdkclients,omitempty"`
AdditionalProperties map[string]any `json:"_"`
}
ZoneStatsDetails represents a ZoneStatsDetails struct. Zone details statistics
func (ZoneStatsDetails) MarshalJSON ¶
func (z ZoneStatsDetails) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ZoneStatsDetails. It customizes the JSON marshaling process for ZoneStatsDetails objects.
func (*ZoneStatsDetails) UnmarshalJSON ¶
func (z *ZoneStatsDetails) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ZoneStatsDetails. It customizes the JSON unmarshaling process for ZoneStatsDetails objects.
type ZoneStatsDetailsClientWaits ¶
type ZoneStatsDetailsClientWaits 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]any `json:"_"`
}
ZoneStatsDetailsClientWaits represents a ZoneStatsDetailsClientWaits struct. client wait time right now
func (ZoneStatsDetailsClientWaits) MarshalJSON ¶
func (z ZoneStatsDetailsClientWaits) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ZoneStatsDetailsClientWaits. It customizes the JSON marshaling process for ZoneStatsDetailsClientWaits objects.
func (*ZoneStatsDetailsClientWaits) UnmarshalJSON ¶
func (z *ZoneStatsDetailsClientWaits) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ZoneStatsDetailsClientWaits. It customizes the JSON unmarshaling process for ZoneStatsDetailsClientWaits objects.
type ZoneStatsSdkclientsWaits ¶
type ZoneStatsSdkclientsWaits 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]any `json:"_"`
}
ZoneStatsSdkclientsWaits represents a ZoneStatsSdkclientsWaits struct. sdkclient wait time right now
func (ZoneStatsSdkclientsWaits) MarshalJSON ¶
func (z ZoneStatsSdkclientsWaits) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ZoneStatsSdkclientsWaits. It customizes the JSON marshaling process for ZoneStatsSdkclientsWaits objects.
func (*ZoneStatsSdkclientsWaits) UnmarshalJSON ¶
func (z *ZoneStatsSdkclientsWaits) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ZoneStatsSdkclientsWaits. It customizes the JSON unmarshaling process for ZoneStatsSdkclientsWaits objects.
type ZoneTypeEnum ¶
type ZoneTypeEnum string
ZoneTypeEnum is a string enum.
const ( ZoneTypeEnum_ZONES ZoneTypeEnum = "zones" ZoneTypeEnum_RSSIZONES ZoneTypeEnum = "rssizones" )
type ZoneVertex ¶
type ZoneVertex struct {
// x in pixel
X float64 `json:"x"`
// y in pixel
Y float64 `json:"y"`
AdditionalProperties map[string]any `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) 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]any `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) 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
¶
- account_cradlepoint_config.go
- account_jamf_config.go
- account_jamf_info.go
- account_jse_config.go
- account_jse_info.go
- account_juniper_config.go
- account_juniper_info.go
- account_oauth_add.go
- account_oauth_config.go
- account_oauth_info.go
- account_vmware_config.go
- account_vmware_info.go
- account_zscaler_config.go
- account_zscaler_info.go
- acl_policy.go
- acl_policy_action.go
- acl_tag.go
- acl_tag_spec.go
- admin.go
- admin_invite.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_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_ip_config_1.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_stats.go
- ap_redundancy.go
- ap_redundancy_module.go
- ap_redundancy_modules.go
- ap_search.go
- ap_stat_mesh_downlink.go
- ap_stat_mesh_uplink.go
- ap_stats.go
- ap_stats_auto_placement.go
- ap_stats_auto_placement_info.go
- ap_stats_auto_placement_info_probability_surface.go
- ap_stats_auto_upgrade.go
- ap_stats_ble.go
- ap_stats_env_stat.go
- ap_stats_esl_stat.go
- ap_stats_iot_stat_additional_properties.go
- ap_stats_l_2_tp_stat.go
- ap_stats_l_2_tp_stat_session.go
- ap_stats_lldp_stat.go
- ap_stats_port_stat.go
- ap_stats_radio_config.go
- ap_stats_radio_config_band.go
- ap_stats_radio_stat.go
- ap_stats_switch_redundancy.go
- ap_stats_usb_stat.go
- ap_switch.go
- ap_switch_setting.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
- 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
- beacon.go
- beacon_stats_items.go
- bgp_config.go
- bgp_config_community.go
- bgp_config_neighbors.go
- bgp_stats.go
- ble_config.go
- call_stats.go
- call_troubleshoot.go
- call_troubleshoot_data.go
- call_troubleshoot_summar.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_switches.go
- capture_wired.go
- capture_wireless.go
- claim_activation.go
- client_nac.go
- client_wireless.go
- client_wireless_stats.go
- client_wireless_stats_airwatch.go
- client_wireless_stats_guest.go
- client_wireless_stats_rssi_zone.go
- client_wireless_stats_vbeacon.go
- client_wireless_stats_wxrule_usage.go
- client_wireless_stats_zone.go
- clients_wan_stats.go
- cluster_config_stats.go
- cluster_config_stats_control_link_info.go
- cluster_config_stats_ethernet_connection_item.go
- cluster_config_stats_fabric_link_info.go
- cluster_config_stats_redundancy_group_info_item.go
- coa_server.go
- code_string.go
- config_device.go
- config_switch.go
- config_switch_local_accounts_user.go
- config_switch_radius.go
- config_vc_port_member.go
- const_alarm_definition.go
- const_ap_channel.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_device_switch_default_1.go
- const_device_unknown.go
- const_event.go
- const_gateway_applications_definition.go
- const_insight_metrics_property.go
- const_insight_metrics_property_example.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_mxedge_model.go
- const_mxedge_model_port.go
- const_nac_event.go
- const_other_device_model.go
- const_traffic_type.go
- count_result.go
- cpu_stat.go
- create_org_device_profiles_response.go
- days_number.go
- delivery.go
- device_ap.go
- device_gateway.go
- device_id_string.go
- device_other.go
- device_other_stats.go
- device_other_stats_vendor_specific.go
- device_other_stats_vendor_specific_port.go
- device_switch.go
- device_upgrade.go
- device_version_item.go
- deviceprofile.go
- deviceprofile_2.go
- deviceprofile_ap.go
- deviceprofile_gateway.go
- dhcp_snooping.go
- dhcpd_config.go
- dhcpd_config_1.go
- dhcpd_config_fixed_binding.go
- dhcpd_config_option.go
- dhcpd_config_property.go
- dhcpd_config_vendor_option.go
- dhcpd_stat.go
- dhcpd_stat_lan.go
- discovered_switch.go
- discovered_switch_ap.go
- discovered_switch_metric.go
- discovered_switch_metric_ap.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_nac_client.go
- event_otherdevice.go
- events_client.go
- events_client_wan.go
- events_device_ap.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_switch.go
- extra_route_6_properties.go
- extra_route_6_properties_next_qualified_properties.go
- extra_route_properties.go
- extra_route_properties_next_qualified_properties.go
- extra_routes.go
- fwupdate_stat.go
- gateway_cluster.go
- gateway_cluster_node.go
- gateway_cluster_swap.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_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_mirroring.go
- gateway_port_mirroring_port_mirror.go
- gateway_port_vpn_path.go
- gateway_port_wan_source_nat.go
- gateway_search.go
- gateway_stats.go
- gateway_stats_cluster.go
- gateway_stats_service_status.go
- gateway_stats_spu_item.go
- gateway_template.go
- gateway_template_tunnel_ike_proposal.go
- gateway_template_tunnel_ipsec_proposal.go
- gateway_template_tunnel_node.go
- gateway_template_tunnel_probe.go
- gateway_traffic_shaping.go
- get_org_device_profile_response.go
- get_org_sites_sle_response.go
- get_site_device_response.go
- get_site_device_stats_response.go
- guest.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.go
- if_stat_property.go
- if_stat_property_servp_info.go
- image_import.go
- import_site_devices_response.go
- insight_metrics.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_update.go
- ip_stat.go
- jse_device.go
- jse_inventory_item.go
- juniper_account.go
- junos_ip_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
- list_device_models_response.go
- list_org_device_profiles_response.go
- list_org_devices_stats_response.go
- list_site_device_profiles_derived_response.go
- list_site_devices_response.go
- list_site_devices_stats_response.go
- locate_switch.go
- login.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_client.go
- memory_stat.go
- mist_device.go
- ml_overwrite_additional_properties.go
- module_stat_item.go
- module_stat_item_errors_items.go
- module_stat_item_fans_items.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_mgmt.go
- mxedge_oob_ip_config.go
- mxedge_stats.go
- mxedge_stats_cpu_stat.go
- mxedge_stats_ip_stat.go
- mxedge_stats_lag_stat.go
- mxedge_stats_memory_stat.go
- mxedge_stats_port_stat.go
- mxedge_stats_service_stat.go
- mxedge_stats_tunterm_ip_config.go
- mxedge_stats_tunterm_port_config.go
- mxedge_stats_tunterm_stat.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_config_vlan_ids.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
- mxtunnel_stats.go
- mxtunnel_stats_session.go
- nac_crl_file.go
- nac_portal.go
- nac_portal_sso.go
- nac_portal_sso_role_matching.go
- nac_rule.go
- nac_rule_matching.go
- nac_tag.go
- name_string.go
- network.go
- network_destination_nat_property.go
- network_internal_access.go
- network_internet_access.go
- network_source_nat.go
- network_static_nat_property.go
- network_template.go
- network_tenant.go
- network_vlan_id.go
- network_vpn_access_config.go
- note_string.go
- notes_string.go
- org.go
- org_apitoken.go
- org_auto_rules.go
- org_crl_import_file.go
- org_device.go
- org_device_upgrade.go
- org_device_upgrade_site_upgrade.go
- org_event.go
- org_license_action.go
- org_service_policy.go
- org_setting.go
- org_setting_api_policy.go
- org_setting_auto_device_naming.go
- org_setting_auto_deviceprofile_assignment.go
- org_setting_auto_site_assignment.go
- org_setting_celona.go
- org_setting_cloudshark.go
- org_setting_device_cert.go
- org_setting_gateway_mgmt.go
- org_setting_gateway_mgmt_app_probing.go
- org_setting_gateway_mgmt_host_out_policies.go
- org_setting_gateway_mgmt_host_out_policies_dns.go
- org_setting_gateway_mgmt_host_out_policies_mist.go
- org_setting_gateway_mgmt_host_out_policies_ntp.go
- org_setting_gateway_mgmt_overlay_ip.go
- org_setting_installer.go
- org_setting_jcloud.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_security.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_wifi_result_1.go
- org_site_sle_wired_result.go
- org_site_wan_wifi.go
- org_site_wired_wifi.go
- org_sle_stat.go
- org_sle_stat_user_minutes.go
- org_stats.go
- orggroup.go
- ospf_areas.go
- ospf_areas_network.go
- ospf_config.go
- ospf_config_area.go
- other_device_update.go
- other_device_update_multi.go
- pcap_bucket.go
- pcap_bucket_verify.go
- pma_dashboard.go
- port_config.go
- port_config_1.go
- portal_template.go
- privilege_msp.go
- privilege_org.go
- privilege_self.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_portal_vlan_id.go
- psk_vlan_id.go
- psks_import_file.go
- push_policy_push_window.go
- radius_acct_server.go
- radius_auth_server.go
- radius_config.go
- radsec.go
- radsec_server.go
- recaptcha.go
- recover.go
- remote_syslog.go
- remote_syslog_archive.go
- remote_syslog_console.go
- remote_syslog_content.go
- remote_syslog_file_config.go
- remote_syslog_server.go
- remote_syslog_user.go
- replace_device.go
- reponse_router_128_t_register_cmd.go
- reponse_synthetictest.go
- reponse_synthetictest_search.go
- repsonse_count.go
- response_anomaly_search.go
- response_assign_success.go
- response_auto_orientation.go
- response_auto_placement_info.go
- response_certificate.go
- response_claim_license.go
- response_claim_license_inventory_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_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.go
- response_device_radio_channels.go
- response_device_search.go
- response_device_search_results.go
- response_device_search_results_items.go
- response_device_snapshot.go
- response_device_upgrade.go
- response_device_upgrade_counts.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_log_search_item.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_oauth_app_link.go
- response_oauth_app_link_accounts.go
- response_oauth_app_link_item.go
- response_org_devices.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_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_rrm_consideration.go
- response_rrm_neighbors.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_upgrade_counts.go
- response_site_search.go
- response_site_search_item.go
- response_sso_failure_search.go
- response_sso_failure_search_item.go
- response_ssr_upgrade_status.go
- response_ssr_upgrade_status_targets.go
- response_stats_assets.go
- response_stats_calls.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_troubleshoot.go
- response_troubleshoot_item.go
- response_tunnel_search.go
- response_tunnel_search_item.go
- response_tunnel_search_results.go
- response_two_factor_json.go
- response_upgrade_device.go
- response_upgrade_org_device.go
- response_upgrade_org_devices.go
- response_upgrade_site_devices.go
- response_verify_token_success.go
- response_virtual_chassis_config.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.go
- routing_policy_term.go
- routing_policy_term_action.go
- routing_policy_term_matching.go
- routing_policy_term_matching_route_exists.go
- routing_policy_term_matching_vpn_path_sla.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
- sdk_invite_sms.go
- sdkclient_stat.go
- sdkclient_stat_network_connection.go
- sdkclient_wireless_stats_vbeacon.go
- sdkclient_wireless_stats_zone.go
- sdkinvite.go
- sdkstats_wireless_client.go
- sdktemplate.go
- search_events_wan_client.go
- search_wan_client.go
- search_wan_usage.go
- search_webhook_delivery.go
- search_wired_client.go
- search_wirelss_client_session.go
- search_wxtag_apps_item.go
- secpolicy.go
- service.go
- service_packet.go
- service_path_event.go
- service_policy.go
- service_policy_appqoe.go
- service_policy_ewf_rule.go
- service_spec.go
- service_stat.go
- service_stat_property.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_config_push_policy.go
- site_setting_critical_url_monitoring.go
- site_setting_critical_url_monitoring_monitor.go
- site_setting_critical_url_monitoring_monitor_vlan_id.go
- site_setting_gateway_mgmt.go
- site_setting_gateway_mgmt_auto_signature_update.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_ssr.go
- site_setting_status_portal.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
- 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_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_user.go
- sle_summary.go
- sle_summary_impact.go
- sle_summary_sle.go
- sle_summary_sle_samples.go
- sle_threshold.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_usmp_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
- sso.go
- sso_mxedge_proxy.go
- sso_mxedge_proxy_acct_server.go
- sso_mxedge_proxy_auth_server.go
- sso_role_msp.go
- sso_role_org.go
- sso_saml_metadata.go
- ssr_upgrade.go
- ssr_upgrade_multi.go
- ssr_upgrade_response.go
- ssr_upgrade_response_counts.go
- ssr_version.go
- stats_asset.go
- stats_client_any_of.go
- stats_device.go
- stats_site.go
- stats_wired_client.go
- suppressed_alarm.go
- suppressed_alarm_applies.go
- switch_matching.go
- switch_matching_rule.go
- switch_metrics_active_ports_summary_details.go
- switch_metrics_compliance_major_version.go
- switch_mgmt.go
- switch_mist_nac.go
- switch_network.go
- switch_network_vlan_id.go
- switch_oob_ip_config.go
- switch_oob_ip_config_1.go
- switch_port_mirroring.go
- switch_port_mirroring_property.go
- switch_port_stats.go
- switch_port_usage.go
- switch_port_usage_dynamic_rule.go
- switch_port_usage_storm_control.go
- switch_search.go
- switch_stats.go
- switch_stats_ap_redundancy.go
- switch_stats_ap_redundancy_1.go
- switch_stats_ap_redundancy_module.go
- switch_stats_client_item.go
- switch_stats_clients_stats.go
- switch_stats_clients_stats_total.go
- switch_stats_vc_setup_info.go
- switch_stp_config.go
- switch_virtual_chassis.go
- switch_virtual_chassis_member.go
- synthetictest.go
- synthetictest_config.go
- synthetictest_config_wan_speedtest.go
- synthetictest_device.go
- synthetictest_device_vlan_id.go
- synthetictest_info.go
- synthetictest_properties.go
- synthetictest_radius_server.go
- tacacs.go
- tacacs_acct_server.go
- tacacs_auth_server.go
- template.go
- template_applies.go
- template_exceptions.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_configs.go
- tunnel_configs_auto_provision.go
- tunnel_configs_auto_provision_node.go
- tunnel_provider_options.go
- tunnel_provider_options_jse.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
- 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
- unconnected_client_stat.go
- update_org_device_profile_response.go
- update_site_device_response.go
- upgrade_bios.go
- upgrade_bios_multi.go
- upgrade_fpga.go
- upgrade_fpga_multi.go
- upgrade_org_device_targets.go
- upgrade_org_device_upgrade.go
- upgrade_org_devices.go
- upgrade_site_devices.go
- use_auto_ap_values.go
- user_apitoken.go
- user_mac.go
- user_mac_import.go
- user_macs_search.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_devices_restart.go
- utils_devices_restart_multi.go
- utils_mac_table.go
- utils_monitor_traffic.go
- utils_ping.go
- utils_release_dhcp.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_rummary.go
- utils_show_evpn_database.go
- utils_show_forwarding_table.go
- utils_show_route.go
- utils_show_service_path.go
- utils_show_session.go
- utils_traceroute.go
- utils_tunterm_bounce_port.go
- utils_zeroise_fips.go
- vbeacon.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
- vpn.go
- vpn_path.go
- vpn_peer_stat.go
- vpn_peer_stat_search.go
- vrf_config.go
- vrf_extra_route.go
- vrf_instance.go
- vrrp_config.go
- vrrp_config_group.go
- vrrp_group.go
- vrrp_group_network.go
- vs_instance.go
- wan_tunnel_stats.go
- wan_usages.go
- wayfinding_import_json.go
- webhook.go
- webhook_alarm_event.go
- webhook_alarms.go
- webhook_asset_raw.go
- webhook_asset_raw_event.go
- webhook_audit_event.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_events_event.go
- webhook_device_updowns.go
- webhook_device_updowns_event.go
- webhook_discovered_raw_rssi.go
- webhook_discovered_raw_rssi_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_nac_accounting.go
- webhook_nac_accounting_event.go
- webhook_nac_events.go
- webhook_nac_events_event.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_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_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
- wirelss_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_additional_vlan_ids.go
- wlan_bonjour_service_properties.go
- wlan_cisco_cwa.go
- wlan_datarates.go
- wlan_dns_server_rewrite.go
- wlan_dynamic_psk.go
- wlan_dynamic_psk_default_vlan_id.go
- wlan_dynamic_psk_vlan_ids.go
- wlan_dynamic_vlan.go
- wlan_dynamic_vlan_default_vlan_id.go
- wlan_dynamic_vlan_local_vlan_ids.go
- wlan_hotspot_20.go
- wlan_inject_dhcp_option_82.go
- wlan_mist_nac.go
- wlan_portal.go
- wlan_portal_template.go
- wlan_portal_template_setting.go
- wlan_qos.go
- wlan_schedule.go
- wlan_vlan_id.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
- wxrule_stat.go
- wxrule_stats_usage_properties.go
- wxtag_client.go
- wxtag_matching.go
- zone.go
- zone_stats.go
- zone_stats_assets_waits.go
- zone_stats_clients_waits.go
- zone_stats_details.go
- zone_stats_details_client_waits.go
- zone_stats_sdkclients_waits.go
- zone_vertex.go
- zone_vertex_m.go