Documentation
¶
Index ¶
- Variables
- func DetectConflictingProperties[T any](dstMap map[string]T, structProperties ...string) error
- func ExtractAdditionalProperties[T any](input []byte, keysToRemove ...string) (map[string]T, error)
- func MergeAdditionalProperties[T any](destinationMap map[string]any, sourceMap map[string]T)
- func ToPointer[T any](value T) *T
- type AccountCradlepointConfig
- type AccountCrowdstrikeConfig
- type AccountJamfConfig
- type AccountJseConfig
- type AccountJseInfo
- type AccountJuniperConfig
- type AccountJuniperInfo
- type AccountMobicontrolConfig
- type AccountOauthAdd
- func (a *AccountOauthAdd) AsAccountCrowdstrikeConfig() (*AccountCrowdstrikeConfig, bool)
- func (a *AccountOauthAdd) AsAccountJamfConfig() (*AccountJamfConfig, bool)
- func (a *AccountOauthAdd) AsAccountMobicontrolConfig() (*AccountMobicontrolConfig, bool)
- func (a *AccountOauthAdd) AsAccountVmwareConfig() (*AccountVmwareConfig, bool)
- func (a *AccountOauthAdd) AsAccountZdxConfig() (*AccountZdxConfig, bool)
- func (a AccountOauthAdd) MarshalJSON() ([]byte, error)
- func (a AccountOauthAdd) String() string
- func (a *AccountOauthAdd) UnmarshalJSON(input []byte) error
- type AccountOauthConfig
- type AccountOauthInfo
- type AccountOauthInfoAccount
- type AccountVmwareConfig
- type AccountZdxConfig
- type AccountZdxInfo
- type AccountZscalerConfig
- type AccountZscalerInfo
- type AclPolicy
- type AclPolicyAction
- type AclTag
- type AclTagSpec
- type AclTagTypeEnum
- type Admin
- type AdminComplianceStatusEnum
- type AdminInvite
- type AdminPrivilege
- type AdminPrivilegeRoleEnum
- type AdminPrivilegeScopeEnum
- type AdminPrivilegeViewEnum
- 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 ApIotOutput
- type ApIotPullupEnum
- type ApIpConfig
- type ApLed
- type ApMesh
- type ApMeshRoleEnum
- type ApPortConfig
- type ApPortConfigDynamicVlan
- type ApPortConfigForwardingEnum
- type ApPortConfigMacAuthProtocolEnum
- type ApPortConfigPortAuthEnum
- type ApPwrConfig
- type ApRadio
- type ApRadioAntennaModeEnum
- type ApRadioBand24
- type ApRadioBand5
- type ApRadioBand6
- type ApRadioMac
- type ApRadioStat
- type ApRedundancy
- type ApRedundancyModule
- type ApSearch
- type ApSearchWlan
- type ApStatMeshDownlink
- type ApStatMeshUplink
- type ApSwitch
- type ApSwitchSetting
- type 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 Avprofile
- type AvprofileFallbackActionEnum
- type AvprofileProtocolsEnum
- type Beacon
- type BeaconTypeEnum
- type BgpConfig
- type BgpConfigNeighbors
- type BgpConfigTypeEnum
- type BgpConfigViaEnum
- type BgpStats
- type BgpStatsStateEnum
- type BinaryStream
- type BleConfig
- type BleConfigBeaconRateModeEnum
- type BleConfigPowerModeEnum
- type CallTroubleshoot
- type CallTroubleshootData
- type CallTroubleshootSummar
- type CallTroubleshootSummary
- type CallTroubleshootSummaryData
- type CaptureClient
- type CaptureClientTypeEnum
- type CaptureGateway
- type CaptureGatewayFormatEnum
- type CaptureGatewayGateways
- type CaptureGatewayGatewaysPort
- type CaptureGatewayTypeEnum
- type CaptureMxedge
- type CaptureMxedgeFormatEnum
- type CaptureMxedgeMxedges
- type CaptureMxedgeMxedgesInterfaces
- type CaptureMxedgeTypeEnum
- type CaptureNewAssoc
- type CaptureNewAssocTypeEnum
- type CaptureOrg
- type CaptureRadiotap
- type CaptureRadiotapBandEnum
- type CaptureRadiotapFormatEnum
- type CaptureRadiotapTypeEnum
- type CaptureRadiotapwired
- type CaptureRadiotapwiredBandEnum
- type CaptureRadiotapwiredFormatEnum
- type CaptureRadiotapwiredTypeEnum
- type CaptureScan
- type CaptureScanAps
- type CaptureScanApsBandEnum
- type CaptureScanBandEnum
- type CaptureScanFormatEnum
- type CaptureScanTypeEnum
- type CaptureSite
- func (c *CaptureSite) AsCaptureClient() (*CaptureClient, bool)
- func (c *CaptureSite) AsCaptureGateway() (*CaptureGateway, bool)
- func (c *CaptureSite) AsCaptureNewAssoc() (*CaptureNewAssoc, bool)
- func (c *CaptureSite) AsCaptureRadiotap() (*CaptureRadiotap, bool)
- func (c *CaptureSite) AsCaptureRadiotapwired() (*CaptureRadiotapwired, bool)
- func (c *CaptureSite) AsCaptureScan() (*CaptureScan, bool)
- func (c *CaptureSite) AsCaptureSwitch() (*CaptureSwitch, bool)
- func (c *CaptureSite) AsCaptureWired() (*CaptureWired, bool)
- func (c *CaptureSite) AsCaptureWireless() (*CaptureWireless, bool)
- func (c CaptureSite) MarshalJSON() ([]byte, error)
- func (c CaptureSite) String() string
- func (c *CaptureSite) UnmarshalJSON(input []byte) error
- type CaptureSwitch
- type CaptureSwitchFormatEnum
- type CaptureSwitchPortsTcpdumpExpression
- type CaptureSwitchSwitches
- type CaptureSwitchTypeEnum
- type CaptureWired
- type CaptureWiredFormatEnum
- type CaptureWiredTypeEnum
- type CaptureWireless
- type CaptureWirelessBandEnum
- type CaptureWirelessFormatEnum
- type CaptureWirelessTypeEnum
- type ClaimActivation
- type ClaimTypeEnum
- type ClientCertSerialNumbers
- type ClientNac
- type ClientWireless
- type CoaServer
- type CodeString
- type ConfigDevice
- func (c *ConfigDevice) AsDeviceAp() (*DeviceAp, bool)
- func (c *ConfigDevice) AsDeviceGateway() (*DeviceGateway, bool)
- func (c *ConfigDevice) AsDeviceSwitch() (*DeviceSwitch, bool)
- func (c ConfigDevice) MarshalJSON() ([]byte, error)
- func (c ConfigDevice) String() string
- func (c *ConfigDevice) UnmarshalJSON(input []byte) error
- type ConfigSwitchLocalAccountsUser
- type ConfigSwitchLocalAccountsUserRoleEnum
- type ConfigVcPortMember
- type ConstAlarmDefinition
- type ConstApChannel
- type ConstApLed
- type ConstAppCategoryDefinition
- type ConstAppCategoryDefinitionFilters
- type ConstAppSubcategoryDefinition
- type ConstApplicationDefinition
- type ConstCountry
- type ConstDeviceAp
- type ConstDeviceApBand24
- type ConstDeviceApBand24UsageEnum
- type ConstDeviceApBand5
- type ConstDeviceApExtios
- type ConstDeviceApExtiosDefaultDirEnum
- type ConstDeviceApVble
- type ConstDeviceGateway
- type ConstDeviceGatewayPorts
- type ConstDeviceModel
- func (c *ConstDeviceModel) AsConstDeviceAp() (*ConstDeviceAp, bool)
- func (c *ConstDeviceModel) AsConstDeviceGateway() (*ConstDeviceGateway, bool)
- func (c *ConstDeviceModel) AsConstDeviceSwitch() (*ConstDeviceSwitch, bool)
- func (c ConstDeviceModel) MarshalJSON() ([]byte, error)
- func (c ConstDeviceModel) String() string
- func (c *ConstDeviceModel) UnmarshalJSON(input []byte) error
- type ConstDeviceSwitch
- type ConstDeviceSwitchDefault
- type ConstDeviceTypeApEnum
- type ConstDeviceTypeGatewayEnum
- type ConstDeviceTypeSwitchEnum
- type ConstEvent
- type 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 ConstMarvisClientVersion
- type ConstMxedgeModel
- type ConstMxedgeModelPort
- type ConstNacEvent
- type ConstOtherDeviceModel
- type ConstState
- type ConstTrafficType
- type ConstWebhookTopic
- type CountOrgDevicesMxtunnelStatusEnum
- type CountPortsAuthStateEnum
- type CountPortsStpRoleEnum
- type CountPortsStpStateEnum
- type CountResult
- type CountSiteCallsDistrinctEnum
- type CpuStat
- type DayOfWeekEnum
- type DaysNumber
- type Delivery
- type DeviceAp
- type DeviceGateway
- type DeviceIdString
- type DeviceOther
- 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 DeviceprofileAp
- type DeviceprofileGateway
- type DhcpClientOption
- type DhcpSnooping
- type DhcpdConfig
- type DhcpdConfigFixedBinding
- type DhcpdConfigOption
- type DhcpdConfigOptionTypeEnum
- type DhcpdConfigProperty
- type DhcpdConfigTypeEnum
- type DhcpdConfigVendorOption
- type DhcpdConfigVendorOptionTypeEnum
- type DhcpdStatLan
- type DiscoveredSwitch
- type DiscoveredSwitchAp
- type DiscoveredSwitchMetric
- type DiscoveredSwitchMetricAp
- type DiscoveredSwitchMetricTypeEnum
- type DiscoveredSwitchesMetricScopeEnum
- type Dot11BandEnum
- type Dot11Bandwidth24Enum
- type Dot11Bandwidth5Enum
- type Dot11Bandwidth6Enum
- type Dot11BandwidthEnum
- type Dot11ProtoEnum
- type 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 EvpnTopologySwitchConfig
- type EvpnTopologySwitchConfigDhcpdConfig
- type EvpnTopologySwitchConfigVrfConfig
- type EvpnTopologySwitchRoleEnum
- type ExtraRoute
- type ExtraRoute6
- type ExtraRoute6NextQualifiedProperties
- type ExtraRouteNextQualifiedProperties
- type FastRoamResultEnum
- type FileWrapper
- type FwupdateStat
- type FwupdateStatStatusEnum
- type GatewayCluster
- type GatewayClusterNode
- 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 GatewayPortUsageEnum
- type GatewayPortVpnPath
- type GatewayPortVpnPathBfdProfileEnum
- type GatewayPortVpnPathRoleEnum
- type GatewayPortWanArpPolicerEnum
- type GatewayPortWanSourceNat
- type GatewayPortWanTypeEnum
- type GatewaySearch
- 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 GatewayVrfInstance
- type GatewayWanPpoeAuthEnum
- type GatewayWanProbeOverride
- type GatewayWanProbeOverrideProbeProfileEnum
- type GatewayWanTypeEnum
- type GetOrgMxedgeUpgradeInfoChannelEnum
- type Guest
- type GuestOrg
- type HaClusterConfig
- type HaClusterConfigNode
- type HaClusterDelete
- type HaClusterNode
- type HaClusterNodeEnum
- type Hours
- type IdpConfig
- type IdpMachineCertLookupFieldEnum
- type IdpProfile
- type IdpProfileActionEnum
- type IdpProfileBaseProfileEnum
- type IdpProfileMatching
- type IdpProfileMatchingSeverityValueEnum
- type IdpProfileOverwrite
- type IdpUserCertLookupFieldEnum
- type IfStatProperty
- type IfStatPropertyServpInfo
- type ImageImport
- type ImportSiteAssetsUpsertEnum
- type InsightMetrics
- type InsightRogueAp
- type InsightRogueClient
- type InstallerDevice
- type InstallerProvisionDevice
- type InstallerSite
- type InstallersItem
- type Inventory
- type InventoryCountDistinctEnum
- type InventorySearch
- type InventorySearchResult
- type InventorySearchResultMember
- type InventoryUpdate
- type InventoryUpdateOperationEnum
- type IpStat
- type IpType6Enum
- type IpTypeEnum
- type IssuedClientCertificate
- type IssuedClientCertificatesResults
- type JseDevice
- type JseInventoryItem
- type JseInventoryItemTypeEnum
- type JuniperAccount
- type JunosIpConfig
- type JunosLocalPortConfig
- 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 ListMspLogsSortEnum
- type ListOrgLogsSortEnum
- type LocateSwitch
- type Login
- type MacAddresses
- type MacTableStats
- type Map
- type MapImportJson
- type MapImportJsonVendorNameEnum
- type MapJibestream
- type MapJibestreamVendorNameEnum
- type MapMicello
- type MapMicelloVendorNameEnum
- type MapNode
- type MapNodePosition
- type MapOrgImportFile
- type MapOrgImportFileJson
- type MapOrgImportFileJsonVendorNameEnum
- type MapSiteImportFile
- type MapSiteReplaceFile
- type MapSiteReplaceFileJson
- type MapSiteReplaceFileJsonTransform
- type MapSitesurveyPathItems
- type MapTypeEnum
- type MapViewEnum
- type MapWallPath
- type MapWayfinding
- type MapWayfindingMicello
- type MapWayfindingPath
- type MarvisClient
- type MemoryStat
- type MfaSecretTypeEnum
- type MistDevice
- func (m *MistDevice) AsDeviceAp() (*DeviceAp, bool)
- func (m *MistDevice) AsDeviceGateway() (*DeviceGateway, bool)
- func (m *MistDevice) AsDeviceSwitch() (*DeviceSwitch, bool)
- func (m MistDevice) MarshalJSON() ([]byte, error)
- func (m MistDevice) String() string
- func (m *MistDevice) UnmarshalJSON(input []byte) error
- type MistNacedge
- type MlOverwriteAdditionalProperties
- type 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 MxclusterRadsecNasIpSourceEnum
- type MxclusterRadsecServerSelectionEnum
- type MxclusterRadsecSrcIpSourceEnum
- 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 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 MxedgeTuntermSwitchConfigVlanId
- func (m *MxedgeTuntermSwitchConfigVlanId) AsNumber() (*int, bool)
- func (m *MxedgeTuntermSwitchConfigVlanId) AsString() (*string, bool)
- func (m MxedgeTuntermSwitchConfigVlanId) MarshalJSON() ([]byte, error)
- func (m MxedgeTuntermSwitchConfigVlanId) String() string
- func (m *MxedgeTuntermSwitchConfigVlanId) 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 NacCrlFile
- type NacPortal
- type NacPortalAccessTypeEnum
- type NacPortalEapTypeEnum
- type NacPortalSso
- type NacPortalSsoIdpSignAlgoEnum
- type NacPortalSsoRoleMatching
- type NacPortalTemplate
- type NacPortalTypeEnum
- type NacRule
- type NacRuleActionEnum
- type NacRuleMatching
- type NacRuleMatchingAuthTypeEnum
- type NacRuleMatchingPortTypeEnum
- type NacTag
- type NacTagMatchEnum
- type NacTagTypeEnum
- type NacTagUsernameAttrEnum
- type NameString
- type Network
- type NetworkDestinationNatProperty
- type NetworkInternalAccess
- type NetworkInternetAccess
- type NetworkMulticast
- type NetworkMulticastGroup
- type NetworkSourceNat
- type NetworkStaticNatProperty
- type NetworkTemplate
- type NetworkTenant
- type NetworkVpnAccessConfig
- type NoteString
- type NotesString
- type OauthAppNameEnum
- type OauthPingIdentityRegionEnum
- type OpticPortConfigPort
- type Optional
- type OptionalStatVpnPeer
- type OptionalStatWanTunnel
- type OptionalStatsBgp
- type OptionalStatsPort
- 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 OrgServicePoliciesSecintel
- type OrgServicePolicy
- type OrgServicePolicyAntivirus
- type OrgServicePolicySslProxy
- type OrgSetting
- type OrgSettingApiPolicy
- type OrgSettingAutoDeviceNaming
- type OrgSettingAutoDeviceprofileAssignment
- type OrgSettingAutoSiteAssignment
- type OrgSettingCelona
- type OrgSettingCloudshark
- type OrgSettingCradlepoint
- type OrgSettingDeviceCert
- type OrgSettingGatewayMgmt
- type OrgSettingGatewayMgmtAppProbing
- type OrgSettingGatewayMgmtHostOutPolicies
- type OrgSettingGatewayMgmtHostOutPoliciesDns
- type OrgSettingGatewayMgmtHostOutPoliciesMist
- type OrgSettingGatewayMgmtHostOutPoliciesNtp
- type OrgSettingGatewayMgmtOverlayIp
- type OrgSettingInstaller
- type OrgSettingJcloud
- type OrgSettingJcloudRa
- type OrgSettingMgmt
- type OrgSettingMistNac
- type OrgSettingMistNacIdp
- type OrgSettingMistNacIpVersionEnum
- type OrgSettingMistNacServerCert
- type OrgSettingPasswordPolicy
- type OrgSettingPcap
- type OrgSettingScep
- type OrgSettingSecurity
- type OrgSettingSwitchMgmt
- type OrgSettingVpnOptions
- type OrgSettingWanPma
- type OrgSettingWiredPma
- type OrgSettingWirelessPma
- type OrgSiteSleTypeEnum
- type OrgSiteSleWanResult
- type OrgSiteSleWifi
- type OrgSiteSleWifiResult
- type OrgSiteSleWiredResult
- type OrgSiteWanWifi
- type OrgSiteWiredWifi
- type OrgSitesCountDistinctEnum
- type OrgSslProxyCert
- type OrgTicketsCountDistinctEnum
- type OrgTunnelCountDistinctEnum
- type OrgTunnelTypeCountEnum
- type OrgWanClientsCountDistinctEnum
- type OrgWanClientsEventsCountDistinctEnum
- type OrgWiredClientsCountDistinctEnum
- type Orggroup
- type OspfArea
- type OspfAreaNetworkAuthTypeEnum
- type OspfAreaNetworkInterfaceTypeEnum
- type OspfAreaTypeEnum
- type OspfAreasNetwork
- type OtherDeviceUpdate
- type OtherDeviceUpdateMulti
- type OtherDeviceUpdateOperationEnum
- type PcapBucket
- type PcapBucketVerify
- type PcapTypeEnum
- type PmaDashboard
- type PortalTemplateAlignmentEnum
- type PrivilegeMsp
- type PrivilegeMspRoleEnum
- type PrivilegeMspScopeEnum
- type PrivilegeOrg
- type PrivilegeOrgRoleEnum
- type PrivilegeOrgScopeEnum
- type ProtectRe
- type ProtectReAllowedServiceEnum
- type ProtectReCustom
- type ProtectReCustomProtocolEnum
- type Proxy
- type Psk
- type PskIdList
- type PskPortal
- type PskPortalAuthEnum
- type PskPortalImage
- type PskPortalPassphraseRules
- type PskPortalSso
- type PskPortalSsoIdpSignAlgoEnum
- type PskPortalTemplate
- type PskPortalTypeEnum
- type PskUsageEnum
- type PskVlanId
- type PsksImportFile
- type PushPolicyPushWindow
- type RadioBand24UsageEnum
- type 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 ResponseAsyncLicense
- type ResponseAsyncLicenseDetail
- type ResponseAsyncLicenseStatusEnum
- type ResponseAutoOrientation
- type ResponseAutoPlacementInfo
- type ResponseAutoZone
- type ResponseAutoZoneStatusEnum
- type ResponseAutoZoneZone
- type ResponseAutoZoneZoneVertex
- 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 ResponseDeviceMetricsResultsItems
- func (r *ResponseDeviceMetricsResultsItems) AsNumber() (*int, bool)
- func (r *ResponseDeviceMetricsResultsItems) AsString() (*string, bool)
- func (r ResponseDeviceMetricsResultsItems) MarshalJSON() ([]byte, error)
- func (r ResponseDeviceMetricsResultsItems) String() string
- func (r *ResponseDeviceMetricsResultsItems) UnmarshalJSON(input []byte) error
- type ResponseDeviceRadioChannels
- type ResponseDeviceSearch
- type ResponseDeviceSearchResultsItems
- func (r *ResponseDeviceSearchResultsItems) AsApSearch() (*ApSearch, bool)
- func (r *ResponseDeviceSearchResultsItems) AsGatewaySearch() (*GatewaySearch, bool)
- func (r *ResponseDeviceSearchResultsItems) AsSwitchSearch() (*SwitchSearch, bool)
- func (r ResponseDeviceSearchResultsItems) MarshalJSON() ([]byte, error)
- func (r ResponseDeviceSearchResultsItems) String() string
- func (r *ResponseDeviceSearchResultsItems) UnmarshalJSON(input []byte) error
- type 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
- func (r *ResponseOauthAppLink) AsAccountOauthInfo() (*AccountOauthInfo, bool)
- func (r *ResponseOauthAppLink) AsAccountZdxInfo() (*AccountZdxInfo, bool)
- func (r ResponseOauthAppLink) MarshalJSON() ([]byte, error)
- func (r ResponseOauthAppLink) String() string
- func (r *ResponseOauthAppLink) UnmarshalJSON(input []byte) error
- type ResponseOrgDevices
- type ResponseOrgInventoryChange
- type ResponseOrgInventoryChangeOpEnum
- type ResponseOrgSearch
- type ResponseOrgSearchItem
- type ResponseOrgSiteSle
- func (r *ResponseOrgSiteSle) AsOrgSiteSleWifi() (*OrgSiteSleWifi, bool)
- func (r *ResponseOrgSiteSle) AsOrgSiteWanWifi() (*OrgSiteWanWifi, bool)
- func (r *ResponseOrgSiteSle) AsOrgSiteWiredWifi() (*OrgSiteWiredWifi, bool)
- func (r ResponseOrgSiteSle) MarshalJSON() ([]byte, error)
- func (r ResponseOrgSiteSle) String() string
- func (r *ResponseOrgSiteSle) UnmarshalJSON(input []byte) error
- type ResponseOrgSuppressAlarm
- type ResponseOrgSuppressAlarmItem
- type 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 ResponseStatsCallsSummary
- type ResponseSwitchMetrics
- type ResponseSwitchMetricsActivePortsSummary
- type ResponseSwitchMetricsConfigSuccess
- type ResponseSwitchMetricsConfigSuccessDetails
- type ResponseSwitchMetricsVersionCompliance
- type ResponseSwitchMetricsVersionComplianceDetails
- type ResponseSwitchPortSearch
- type ResponseTroubleshoot
- type ResponseTroubleshootItem
- type ResponseTunnelSearch
- type ResponseTunnelSearchItem
- func (r *ResponseTunnelSearchItem) AsStatsMxtunnel() (*StatsMxtunnel, bool)
- func (r *ResponseTunnelSearchItem) AsStatsWanTunnel() (*StatsWanTunnel, bool)
- func (r ResponseTunnelSearchItem) MarshalJSON() ([]byte, error)
- func (r ResponseTunnelSearchItem) String() string
- func (r *ResponseTunnelSearchItem) UnmarshalJSON(input []byte) error
- type ResponseTwoFactorJson
- type ResponseUpgradeDevice
- type ResponseUpgradeOrgDevice
- type ResponseUpgradeOrgDevices
- type ResponseUpgradeSiteDevices
- type ResponseVerifyTokenSuccess
- type ResponseVirtualChassisConfig
- type ResponseWiredCoa
- type ResponseZoneSearch
- type ResponseZoneSearchItem
- type RfClientTypeEnum
- type RfDiag
- type RfDiagInfoItem
- type RfTemplate
- type RfTemplateModelSpecificProperty
- type RftemplateRadioBand24
- type RftemplateRadioBand5
- type RftemplateRadioBand6
- type RogueDetails
- type RogueTypeEnum
- type RootPasswordString
- type RouteSummaryStats
- type 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 SamlMetadata
- type ScanDataItemBandEnum
- type SdkInviteSms
- type Sdkinvite
- type SdkstatsWirelessClient
- type SdkstatsWirelessClientVbeacon
- type SdkstatsWirelessClientZone
- 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 SearchWanClient
- type SearchWanUsage
- type SearchWebhookDelivery
- type SearchWiredClient
- type SearchWirelssClientSession
- type SearchWxtagAppsItem
- type SecintelProfile
- type SecintelProfileProfile
- type SecintelProfileProfileActionEnum
- type SecintelProfileProfileCategoryEnum
- type Secpolicy
- type Service
- type ServiceDscp
- type ServiceFailoverPolicyEnum
- type ServiceMaxJitter
- type ServiceMaxLatency
- type ServiceMaxLoss
- type ServicePacket
- type ServicePathEvent
- type ServicePolicy
- type ServicePolicyAppqoe
- type ServicePolicyEwfRule
- type ServicePolicyEwfRuleProfileEnum
- type ServiceSpec
- 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 SiteSettingGatewayMgmt
- type SiteSettingGatewayMgmtAutoSignatureUpdate
- type SiteSettingJuniperSrx
- type SiteSettingJuniperSrxGateway
- 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 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 SslProxyCiphersCatagoryEnum
- type Sso
- type SsoIdpSignAlgoEnum
- type SsoIdpTypeEnum
- type SsoLdapTypeEnum
- type SsoMxedgeProxy
- type SsoMxedgeProxyAcctServer
- type SsoMxedgeProxyAuthServer
- type SsoNameidFormatEnum
- type SsoOauthTypeEnum
- type SsoRoleMsp
- type SsoRoleOrg
- type SsrUpgrade
- type SsrUpgradeChannelEnum
- type SsrUpgradeMulti
- type SsrUpgradeResponse
- type SsrUpgradeResponseCounts
- type SsrUpgradeStrategyEnum
- type SsrVersion
- type StatDeviceStatusFilterEnum
- type StatsAp
- type StatsApAutoPlacement
- type StatsApAutoPlacementInfo
- type StatsApAutoPlacementInfoProbabilitySurface
- type StatsApAutoUpgrade
- type StatsApBle
- type StatsApEnvStat
- type StatsApEslStat
- type StatsApGpsStat
- type StatsApGpsStatSrcEnum
- type StatsApIotStatAdditionalProperties
- type StatsApL2tpStat
- type StatsApL2tpStatSession
- type StatsApLldpStat
- type StatsApPortStat
- type StatsApRadioConfig
- type StatsApRadioConfigBand
- type StatsApRadioStat
- type StatsApSwitchRedundancy
- type StatsApUsbStat
- type StatsAsset
- type StatsBeacon
- type StatsCall
- type StatsClient
- type StatsClusterConfig
- type StatsClusterConfigControlLinkInfo
- type StatsClusterConfigEthernetConnectionItem
- type StatsClusterConfigFabricLinkInfo
- type StatsClusterConfigRedundancyGroupInfoItem
- type StatsDevice
- func (s *StatsDevice) AsStatsAp() (*StatsAp, bool)
- func (s *StatsDevice) AsStatsGateway() (*StatsGateway, bool)
- func (s *StatsDevice) AsStatsSwitch() (*StatsSwitch, bool)
- func (s StatsDevice) MarshalJSON() ([]byte, error)
- func (s StatsDevice) String() string
- func (s *StatsDevice) UnmarshalJSON(input []byte) error
- type StatsDeviceOther
- type StatsDeviceOtherVendorSpecific
- type StatsDeviceOtherVendorSpecificPort
- type StatsGateway
- type StatsGatewayCluster
- type StatsGatewayServiceStatus
- type StatsGatewaySpuItem
- type StatsMxedge
- type StatsMxedgeCpuStat
- type StatsMxedgeIpStat
- type StatsMxedgeLagStat
- type StatsMxedgeMemoryStat
- type StatsMxedgeOobIpStat
- type StatsMxedgePortStat
- type StatsMxedgeServiceStat
- type StatsMxedgeTuntermIpConfig
- type StatsMxedgeTuntermPortConfig
- type StatsMxedgeTuntermStat
- type StatsMxtunnel
- type StatsMxtunnelSession
- type StatsMxtunnelStateEnum
- type StatsOrg
- type StatsOrgSle
- type StatsOrgSleUserMinutes
- type StatsRssiZone
- type StatsRssiZonesDevice
- type StatsSdkclient
- type StatsSdkclientNetworkConnection
- type StatsSite
- type StatsSwitch
- type StatsSwitchApRedundancy
- type StatsSwitchApRedundancyModule
- type StatsSwitchClientItem
- type StatsSwitchClientsStats
- type StatsSwitchClientsStatsTotal
- type StatsSwitchPort
- type StatsSwitchPortAuthStateEnum
- type StatsSwitchPortPoeModeEnum
- type StatsSwitchPortPortUsageEnum
- type StatsSwitchPortStpRoleEnum
- type StatsSwitchPortStpStateEnum
- type StatsSwitchPortTypeEnum
- type StatsSwitchVcSetupInfo
- type StatsUnconnectedClient
- type StatsWanClient
- type StatsWanTunnel
- type StatsWanTunnelPriorityEnum
- type StatsWiredClient
- type StatsWirelessClient
- type StatsWirelessClientAirwatch
- type StatsWirelessClientGuest
- type StatsWirelessClientRssiZone
- type StatsWirelessClientVbeacon
- type StatsWirelessClientWxruleUsage
- type StatsWirelessClientZone
- type StatsWxrule
- type StatsWxruleActionEnum
- type StatsWxruleUsageProperties
- type StatsZone
- type StatsZoneAssetsWaits
- type StatsZoneClientsWaits
- type StatsZoneDetails
- type StatsZoneDetailsClientWaits
- type StatsZoneSdkclientsWaits
- type SuppressedAlarm
- type SuppressedAlarmApplies
- type SuppressedAlarmScopeEnum
- type SwitchDhcpdConfig
- type SwitchDhcpdConfigProperty
- type SwitchDhcpdConfigTypeEnum
- type SwitchMatching
- type SwitchMatchingRule
- type SwitchMatchingRuleIpConfig
- type SwitchMatchingRuleOobIpConfig
- type SwitchMetricScopeEnum
- type SwitchMetricTypeEnum
- type SwitchMetricsActivePortsSummaryDetails
- type SwitchMetricsComplianceMajorVersion
- type SwitchMgmt
- type SwitchMistNac
- type SwitchNetwork
- type SwitchOobIpConfig
- type SwitchPortLocalUsageDot1xEnum
- type SwitchPortLocalUsageDuplexEnum
- type SwitchPortLocalUsageMacAuthProtocolEnum
- type SwitchPortLocalUsageModeEnum
- type SwitchPortLocalUsageStormControl
- type SwitchPortMirroringProperty
- type SwitchPortUsage
- type SwitchPortUsageDot1xEnum
- type SwitchPortUsageDuplexEnum
- type SwitchPortUsageDynamicResetDefaultWhenEnum
- type SwitchPortUsageDynamicRule
- type SwitchPortUsageDynamicRuleSrcEnum
- type SwitchPortUsageMacAuthProtocolEnum
- type SwitchPortUsageModeEnum
- type SwitchPortUsageSpeedEnum
- type SwitchPortUsageStormControl
- type SwitchRadius
- type SwitchRadiusConfig
- type SwitchSearch
- type SwitchStpConfig
- type SwitchVirtualChassis
- type SwitchVirtualChassisMember
- type SwitchVirtualChassisMemberVcRoleEnum
- type SwitchVrfInstance
- type Synthetictest
- type SynthetictestConfig
- type SynthetictestConfigWanSpeedtest
- type SynthetictestDevice
- type SynthetictestDeviceProtocolEnum
- type SynthetictestDeviceVlanId
- func (s *SynthetictestDeviceVlanId) AsNumber() (*int, bool)
- func (s *SynthetictestDeviceVlanId) AsString() (*string, bool)
- func (s SynthetictestDeviceVlanId) MarshalJSON() ([]byte, error)
- func (s SynthetictestDeviceVlanId) String() string
- func (s *SynthetictestDeviceVlanId) UnmarshalJSON(input []byte) error
- type SynthetictestInfo
- type SynthetictestInfoDeviceTypeEnum
- type SynthetictestProperties
- type SynthetictestProtocolEnum
- type SynthetictestRadiusServer
- type SynthetictestTypeEnum
- type SystemDefinedPortUsagesEnum
- 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 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 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 UtilsClearSession
- type UtilsDevicesRestart
- type UtilsDevicesRestartMulti
- type UtilsMacTable
- type UtilsMonitorTraffic
- type UtilsPing
- type UtilsReleaseDhcp
- type UtilsReleaseDhcpLeases
- type UtilsResetRadioConfig
- type UtilsRrmOptimize
- type UtilsSendBleBeacon
- type UtilsSendSupportLogs
- type UtilsSendSupportLogsInfoEnum
- type UtilsServicePing
- type UtilsShowArp
- type UtilsShowBgpRummary
- type UtilsShowDhcpLeases
- type UtilsShowEvpnDatabase
- type UtilsShowForwardingTable
- type UtilsShowOspfDatabase
- type UtilsShowOspfInterfaces
- type UtilsShowOspfNeighbors
- type UtilsShowOspfSummary
- type UtilsShowRoute
- type UtilsShowRouteProtocolEnum
- type UtilsShowServicePath
- type UtilsShowSession
- type UtilsTraceroute
- type UtilsTracerouteProtocolEnum
- type UtilsTuntermBouncePort
- type 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 VlanIdWithVariable
- type Vpn
- type VpnLinksSteering
- type VpnPath
- type VpnPathBfdProfileEnum
- type VpnPathSelection
- type VpnPathSelectionStrategyEnum
- type VpnPeerStat
- type VpnPeerStatSearch
- type VpnTypeEnum
- type VrfConfig
- type VrfExtraRoute
- type VrrpConfig
- type VrrpConfigGroup
- type VrrpGroup
- type VrrpGroupAuthTypeEnum
- type VrrpGroupNetwork
- type VsInstanceProperty
- type WanExtraRoutes
- type WanTunnelProtocolEnum
- type WanUsages
- type 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 WebhookSdkclientScanDataTopicEnum
- type WebhookSiteSle
- type WebhookSiteSleEvent
- type WebhookSiteSleEventSle
- 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 WlanBonjourServiceProperties
- type WlanBonjourServicePropertiesScopeEnum
- type WlanCiscoCwa
- type WlanDatarates
- type WlanDataratesLegacyItemEnum
- type WlanDataratesTemplateEnum
- type WlanDnsServerRewrite
- type WlanDynamicPsk
- type WlanDynamicVlan
- type WlanDynamicVlanDefaultVlanId
- func (w *WlanDynamicVlanDefaultVlanId) AsNumber() (*int, bool)
- func (w *WlanDynamicVlanDefaultVlanId) AsString() (*string, bool)
- func (w WlanDynamicVlanDefaultVlanId) MarshalJSON() ([]byte, error)
- func (w WlanDynamicVlanDefaultVlanId) String() string
- func (w *WlanDynamicVlanDefaultVlanId) UnmarshalJSON(input []byte) error
- type WlanDynamicVlanDefaultVlanIdDeprecated
- func (w *WlanDynamicVlanDefaultVlanIdDeprecated) AsNumber() (*int, bool)
- func (w *WlanDynamicVlanDefaultVlanIdDeprecated) AsString() (*string, bool)
- func (w WlanDynamicVlanDefaultVlanIdDeprecated) MarshalJSON() ([]byte, error)
- func (w WlanDynamicVlanDefaultVlanIdDeprecated) String() string
- func (w *WlanDynamicVlanDefaultVlanIdDeprecated) UnmarshalJSON(input []byte) error
- type WlanDynamicVlanTypeEnum
- type WlanHotspot20
- type WlanHotspot20OperatorsItemEnum
- type WlanInjectDhcpOption82
- type WlanInterfaceEnum
- type WlanMistNac
- type WlanPortal
- type WlanPortalAuthEnum
- type WlanPortalIdpSignAlgoEnum
- type WlanPortalSmsProviderEnum
- type WlanPortalSponsors
- func (w *WlanPortalSponsors) AsArrayOfString() (*[]string, bool)
- func (w *WlanPortalSponsors) AsMapOfString() (*map[string]string, bool)
- func (w WlanPortalSponsors) MarshalJSON() ([]byte, error)
- func (w WlanPortalSponsors) String() string
- func (w *WlanPortalSponsors) UnmarshalJSON(input []byte) error
- type WlanPortalSsoNameidFormatEnum
- type WlanPortalTemplate
- type WlanPortalTemplateSetting
- type WlanPortalTemplateSettingLocale
- type WlanQos
- type WlanQosClassEnum
- type WlanRoamModeEnum
- type WlanSchedule
- type WlanVlanIds
- type WxlanRule
- type WxlanRuleActionEnum
- type WxlanTag
- type WxlanTagMatchEnum
- type WxlanTagOperationEnum
- type WxlanTagSpec
- type WxlanTagTypeEnum
- type WxlanTagVlanId
- type WxlanTunnel
- type WxlanTunnelDmvpn
- type WxlanTunnelIpsec
- type WxlanTunnelSession
- type WxlanTunnelSessionEthertypeEnum
- type WxtagClient
- type WxtagMatching
- type Zone
- type ZoneScopeEnum
- type ZoneTypeEnum
- type ZoneVertex
- type ZoneVertexM
Constants ¶
This section is empty.
Variables ¶
var AccountOauthAddContainer internalAccountOauthAdd
var CaptureOrgContainer internalCaptureOrg
var CaptureSiteContainer internalCaptureSite
var ConfigDeviceContainer internalConfigDevice
var ConstDeviceModelContainer internalConstDeviceModel
var ConstInsightMetricsPropertyExampleContainer internalConstInsightMetricsPropertyExample
var DEFAULT_DATE = utilities.DEFAULT_DATE
DEFAULT_DATE is a utility.
var DeviceprofileContainer internalDeviceprofile
var ExtractTimeTypeAdditionalProperties = utilities.ExtractTimeTypeAdditionalProperties
ExtractTimeTypeAdditionalProperties is a utility.
var GetFile = https.GetFile
GetFile retrieves a file from the given filePath and returns it as a FileWrapper. It makes an HTTP GET request to the filePath to fetch the file's content and metadata. OR It uses os.ReadFile to read the file's content and metadata.
var GetFileWithContentType = https.GetFileWithContentType
GetFileWithContentType retrieves a file from the given filePath using GetFile and returns it as a FileWrapper. It also sets the provided "content-type" in the file headers.
var MergeTimeTypeAdditionalProperties = utilities.MergeTimeTypeAdditionalProperties
MergeTimeTypeAdditionalProperties is a utility.
var MistDeviceContainer internalMistDevice
var MxedgeTuntermSwitchConfigVlanIdContainer internalMxedgeTuntermSwitchConfigVlanId
var NewTypeHolder = utilities.NewTypeHolder
NewTypeHolder is a utility.
var NewTypeHolderDiscriminator = utilities.NewTypeHolderDiscriminator
NewTypeHolderDiscriminator is a utility.
var PskVlanIdContainer internalPskVlanId
var ResponseDeviceMetricsResultsItemsContainer internalResponseDeviceMetricsResultsItems
var ResponseDeviceSearchResultsItemsContainer internalResponseDeviceSearchResultsItems
var ResponseOauthAppLinkContainer internalResponseOauthAppLink
var ResponseOrgSiteSleContainer internalResponseOrgSiteSle
var ResponseTunnelSearchItemContainer internalResponseTunnelSearchItem
var ServiceDscpContainer internalServiceDscp
var ServiceMaxJitterContainer internalServiceMaxJitter
var ServiceMaxLatencyContainer internalServiceMaxLatency
var ServiceMaxLossContainer internalServiceMaxLoss
var StatsClientContainer internalStatsClient
var StatsDeviceContainer internalStatsDevice
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 UnmarshallAnyOf = utilities.UnmarshallAnyOf
UnmarshallAnyOf is a utility.
var UnmarshallAnyOfWithDiscriminator = utilities.UnmarshallAnyOfWithDiscriminator
UnmarshallAnyOfWithDiscriminator is a utility.
var UnmarshallOneOf = utilities.UnmarshallOneOf
UnmarshallOneOf is a utility.
var UnmarshallOneOfWithDiscriminator = utilities.UnmarshallOneOfWithDiscriminator
UnmarshallOneOfWithDiscriminator is a utility.
var VlanIdWithVariableContainer internalVlanIdWithVariable
var WayfindingImportJsonContainer internalWayfindingImportJson
var WlanDynamicVlanDefaultVlanIdContainer internalWlanDynamicVlanDefaultVlanId
var WlanDynamicVlanDefaultVlanIdDeprecatedContainer internalWlanDynamicVlanDefaultVlanIdDeprecated
var WlanPortalSponsorsContainer internalWlanPortalSponsors
var WlanVlanIdsContainer internalWlanVlanIds
var WxlanTagVlanIdContainer internalWxlanTagVlanId
Functions ¶
func DetectConflictingProperties ¶ added in v0.4.14
DetectConflictingProperties is a utility function.
func ExtractAdditionalProperties ¶ added in v0.4.14
func ExtractAdditionalProperties[T any]( input []byte, keysToRemove ...string) ( map[string]T, error)
ExtractAdditionalProperties is a utility function.
func MergeAdditionalProperties ¶ added in v0.4.14
MergeAdditionalProperties is a utility function.
Types ¶
type AccountCradlepointConfig ¶
type AccountCradlepointConfig struct { CpApiId *string `json:"cp_api_id,omitempty"` CpApiKey *string `json:"cp_api_key,omitempty"` EcmApiId *string `json:"ecm_api_id,omitempty"` EcmApiKey *string `json:"ecm_api_key,omitempty"` EnableLldp *bool `json:"enable_lldp,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
AccountCradlepointConfig represents a AccountCradlepointConfig struct.
func (AccountCradlepointConfig) MarshalJSON ¶
func (a AccountCradlepointConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountCradlepointConfig. It customizes the JSON marshaling process for AccountCradlepointConfig objects.
func (*AccountCradlepointConfig) UnmarshalJSON ¶
func (a *AccountCradlepointConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountCradlepointConfig. It customizes the JSON unmarshaling process for AccountCradlepointConfig objects.
type AccountCrowdstrikeConfig ¶ added in v0.4.17
type AccountCrowdstrikeConfig struct { // customer account api client ID ClientId string `json:"client_id"` // customer account api client Secret ClientSecret string `json:"client_secret"` // customer id of an admin CustomerId string `json:"customer_id"` AdditionalProperties map[string]interface{} `json:"_"` }
AccountCrowdstrikeConfig represents a AccountCrowdstrikeConfig struct. OAuth linked CrowdStrike apps account details
func (AccountCrowdstrikeConfig) MarshalJSON ¶ added in v0.4.17
func (a AccountCrowdstrikeConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountCrowdstrikeConfig. It customizes the JSON marshaling process for AccountCrowdstrikeConfig objects.
func (*AccountCrowdstrikeConfig) UnmarshalJSON ¶ added in v0.4.17
func (a *AccountCrowdstrikeConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountCrowdstrikeConfig. It customizes the JSON unmarshaling process for AccountCrowdstrikeConfig objects.
type AccountJamfConfig ¶
type AccountJamfConfig struct { // customer account api client id. Required if `app_name`==`crowdstrike` ClientId string `json:"client_id"` // customer account api client secret ClientSecret string `json:"client_secret"` // customer account Jamf instance URL InstanceUrl string `json:"instance_url"` // smart group membership for determining compliance status SmartgroupName string `json:"smartgroup_name"` AdditionalProperties map[string]interface{} `json:"_"` }
AccountJamfConfig represents a AccountJamfConfig struct. OAuth linked Jamf apps account details
func (AccountJamfConfig) MarshalJSON ¶
func (a AccountJamfConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountJamfConfig. It customizes the JSON marshaling process for AccountJamfConfig objects.
func (*AccountJamfConfig) UnmarshalJSON ¶
func (a *AccountJamfConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountJamfConfig. It customizes the JSON unmarshaling process for AccountJamfConfig objects.
type AccountJseConfig ¶
type AccountJseConfig struct { CloudName *string `json:"cloud_name,omitempty"` Password string `json:"password"` Username string `json:"username"` AdditionalProperties map[string]interface{} `json:"_"` }
AccountJseConfig represents a AccountJseConfig struct.
func (AccountJseConfig) MarshalJSON ¶
func (a AccountJseConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountJseConfig. It customizes the JSON marshaling process for AccountJseConfig objects.
func (*AccountJseConfig) 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]interface{} `json:"_"` }
AccountJseInfo represents a AccountJseInfo struct.
func (AccountJseInfo) MarshalJSON ¶
func (a AccountJseInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountJseInfo. It customizes the JSON marshaling process for AccountJseInfo objects.
func (*AccountJseInfo) UnmarshalJSON ¶
func (a *AccountJseInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountJseInfo. It customizes the JSON unmarshaling process for AccountJseInfo objects.
type AccountJuniperConfig ¶
type AccountJuniperConfig struct { // customer account password Password string `json:"password"` // customer account user name Username string `json:"username"` AdditionalProperties map[string]interface{} `json:"_"` }
AccountJuniperConfig represents a AccountJuniperConfig struct.
func (AccountJuniperConfig) MarshalJSON ¶
func (a AccountJuniperConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountJuniperConfig. It customizes the JSON marshaling process for AccountJuniperConfig objects.
func (*AccountJuniperConfig) UnmarshalJSON ¶
func (a *AccountJuniperConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountJuniperConfig. It customizes the JSON unmarshaling process for AccountJuniperConfig objects.
type AccountJuniperInfo ¶
type AccountJuniperInfo struct { Accounts []JuniperAccount `json:"accounts,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
AccountJuniperInfo represents a AccountJuniperInfo struct.
func (AccountJuniperInfo) MarshalJSON ¶
func (a AccountJuniperInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountJuniperInfo. It customizes the JSON marshaling process for AccountJuniperInfo objects.
func (*AccountJuniperInfo) UnmarshalJSON ¶
func (a *AccountJuniperInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountJuniperInfo. It customizes the JSON unmarshaling process for AccountJuniperInfo objects.
type AccountMobicontrolConfig ¶ added in v0.2.38
type AccountMobicontrolConfig struct { // customer account Client ID ClientId string `json:"client_id"` // customer account Client Secret ClientSecret string `json:"client_secret"` // customer account MobiControl instance URL InstanceUrl string `json:"instance_url"` // customer account password instance URL Password string `json:"password"` // customer account username Username string `json:"username"` AdditionalProperties map[string]interface{} `json:"_"` }
AccountMobicontrolConfig represents a AccountMobicontrolConfig struct.
func (AccountMobicontrolConfig) MarshalJSON ¶ added in v0.2.38
func (a AccountMobicontrolConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountMobicontrolConfig. It customizes the JSON marshaling process for AccountMobicontrolConfig objects.
func (*AccountMobicontrolConfig) UnmarshalJSON ¶ added in v0.2.38
func (a *AccountMobicontrolConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountMobicontrolConfig. It customizes the JSON unmarshaling process for AccountMobicontrolConfig objects.
type AccountOauthAdd ¶
type AccountOauthAdd struct {
// contains filtered or unexported fields
}
AccountOauthAdd represents a AccountOauthAdd struct.
func (*AccountOauthAdd) AsAccountCrowdstrikeConfig ¶ added in v0.4.17
func (a *AccountOauthAdd) AsAccountCrowdstrikeConfig() ( *AccountCrowdstrikeConfig, bool)
func (*AccountOauthAdd) AsAccountJamfConfig ¶
func (a *AccountOauthAdd) AsAccountJamfConfig() ( *AccountJamfConfig, bool)
func (*AccountOauthAdd) AsAccountMobicontrolConfig ¶ added in v0.2.38
func (a *AccountOauthAdd) AsAccountMobicontrolConfig() ( *AccountMobicontrolConfig, bool)
func (*AccountOauthAdd) AsAccountVmwareConfig ¶
func (a *AccountOauthAdd) AsAccountVmwareConfig() ( *AccountVmwareConfig, bool)
func (*AccountOauthAdd) AsAccountZdxConfig ¶ added in v0.4.17
func (a *AccountOauthAdd) AsAccountZdxConfig() ( *AccountZdxConfig, bool)
func (AccountOauthAdd) MarshalJSON ¶
func (a AccountOauthAdd) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountOauthAdd. It customizes the JSON marshaling process for AccountOauthAdd objects.
func (AccountOauthAdd) String ¶
func (a AccountOauthAdd) String() string
String 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]interface{} `json:"_"` }
AccountOauthConfig represents a AccountOauthConfig struct. OAuth linked apps (zoom/teams/intune) account details
func (AccountOauthConfig) MarshalJSON ¶
func (a AccountOauthConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountOauthConfig. It customizes the JSON marshaling process for AccountOauthConfig objects.
func (*AccountOauthConfig) UnmarshalJSON ¶
func (a *AccountOauthConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountOauthConfig. It customizes the JSON unmarshaling process for AccountOauthConfig objects.
type AccountOauthInfo ¶
type AccountOauthInfo struct { // List of linked account details Accounts []AccountOauthInfoAccount `json:"accounts"` AuthorizationUrl *string `json:"authorization_url,omitempty"` Linked bool `json:"linked"` AdditionalProperties map[string]interface{} `json:"_"` }
AccountOauthInfo represents a AccountOauthInfo struct.
func (AccountOauthInfo) MarshalJSON ¶
func (a AccountOauthInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountOauthInfo. It customizes the JSON marshaling process for AccountOauthInfo objects.
func (*AccountOauthInfo) UnmarshalJSON ¶
func (a *AccountOauthInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountOauthInfo. It customizes the JSON unmarshaling process for AccountOauthInfo objects.
type AccountOauthInfoAccount ¶ added in v0.4.17
type AccountOauthInfoAccount struct { // Linked app(zoom/teams/intune) account id AccountId *string `json:"account_id,omitempty"` // customer account Client ID ClientId *string `json:"client_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"` // customer account instance URL InstanceUrl *string `json:"instance_url,omitempty"` // Is the last data pull for account is successful or not LastStatus *string `json:"last_status,omitempty"` // Last data pull timestamp, background jobs that pull account data LastSync *int64 `json:"last_sync,omitempty"` // First name of the user who linked the account LinkedBy *string `json:"linked_by,omitempty"` LinkedTimestamp *float64 `json:"linked_timestamp,omitempty"` // Zoom daily api request quota, https://developers.zoom.us/docs/api/rest/rate-limits/ MaxDailyApiRequests *int `json:"max_daily_api_requests,omitempty"` // Name of the company whose account mist has subscribed to Name *string `json:"name,omitempty"` // customer account password instance URL Password *string `json:"password,omitempty"` // smart group membership for determining compliance status SmartgroupName *string `json:"smartgroup_name,omitempty"` // customer account username Username *string `json:"username,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
AccountOauthInfoAccount represents a AccountOauthInfoAccount struct. OAuth linked apps account info
func (AccountOauthInfoAccount) MarshalJSON ¶ added in v0.4.17
func (a AccountOauthInfoAccount) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountOauthInfoAccount. It customizes the JSON marshaling process for AccountOauthInfoAccount objects.
func (*AccountOauthInfoAccount) UnmarshalJSON ¶ added in v0.4.17
func (a *AccountOauthInfoAccount) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountOauthInfoAccount. It customizes the JSON unmarshaling process for AccountOauthInfoAccount objects.
type 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]interface{} `json:"_"` }
AccountVmwareConfig represents a AccountVmwareConfig struct.
func (AccountVmwareConfig) MarshalJSON ¶
func (a AccountVmwareConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountVmwareConfig. It customizes the JSON marshaling process for AccountVmwareConfig objects.
func (*AccountVmwareConfig) UnmarshalJSON ¶
func (a *AccountVmwareConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountVmwareConfig. It customizes the JSON unmarshaling process for AccountVmwareConfig objects.
type AccountZdxConfig ¶ added in v0.4.17
type AccountZdxConfig struct { // ZDX cloud name. Refer https://help.zscaler.com/zdx/getting-started-zdx-api for ZDX cloud name CloudName *string `json:"cloud_name,omitempty"` // Customer account API key ID KeyId string `json:"key_id"` // Customer account API key Secret KeySecret string `json:"key_secret"` // ZDX organization id ZdxOrgId string `json:"zdx_org_id"` AdditionalProperties map[string]interface{} `json:"_"` }
AccountZdxConfig represents a AccountZdxConfig struct. OAuth linked ZDX apps account details
func (AccountZdxConfig) MarshalJSON ¶ added in v0.4.17
func (a AccountZdxConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountZdxConfig. It customizes the JSON marshaling process for AccountZdxConfig objects.
func (*AccountZdxConfig) UnmarshalJSON ¶ added in v0.4.17
func (a *AccountZdxConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountZdxConfig. It customizes the JSON unmarshaling process for AccountZdxConfig objects.
type AccountZdxInfo ¶ added in v0.4.17
type AccountZdxInfo struct { // Generated account id (uuid) AccountId string `json:"account_id"` // ZDX cloud name CloudName string `json:"cloud_name"` // Customer account API key ID KeyId string `json:"key_id"` // Bearer token for the webhook url WebhookToken string `json:"webhook_token"` // Webhook url to notify Mist about a ZDX alert WebhookUrl string `json:"webhook_url"` // ZDX organization id ZdxOrgId string `json:"zdx_org_id"` AdditionalProperties map[string]interface{} `json:"_"` }
AccountZdxInfo represents a AccountZdxInfo struct.
func (AccountZdxInfo) MarshalJSON ¶ added in v0.4.17
func (a AccountZdxInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountZdxInfo. It customizes the JSON marshaling process for AccountZdxInfo objects.
func (*AccountZdxInfo) UnmarshalJSON ¶ added in v0.4.17
func (a *AccountZdxInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountZdxInfo. It customizes the JSON unmarshaling process for AccountZdxInfo objects.
type AccountZscalerConfig ¶
type AccountZscalerConfig struct { CloudName string `json:"cloud_name"` PartnerKey string `json:"partner_key"` // customer account password Password string `json:"password"` // customer account user name Username string `json:"username"` AdditionalProperties map[string]interface{} `json:"_"` }
AccountZscalerConfig represents a AccountZscalerConfig struct. OAuth linked Zscaler apps account details
func (AccountZscalerConfig) MarshalJSON ¶
func (a AccountZscalerConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountZscalerConfig. It customizes the JSON marshaling process for AccountZscalerConfig objects.
func (*AccountZscalerConfig) UnmarshalJSON ¶
func (a *AccountZscalerConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AccountZscalerConfig. It customizes the JSON unmarshaling process for AccountZscalerConfig objects.
type AccountZscalerInfo ¶
type AccountZscalerInfo struct { CloudName *string `json:"cloud_name,omitempty"` PartnerKey *string `json:"partner_key,omitempty"` // customer account user name Username *string `json:"username,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
AccountZscalerInfo represents a AccountZscalerInfo struct. OAuth linked Zscaler apps account details
func (AccountZscalerInfo) MarshalJSON ¶
func (a AccountZscalerInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AccountZscalerInfo. It customizes the JSON marshaling process for AccountZscalerInfo objects.
func (*AccountZscalerInfo) 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]interface{} `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 { // enum: `allow`, `deny` Action *AllowDenyEnum `json:"action,omitempty"` DstTag string `json:"dst_tag"` AdditionalProperties map[string]interface{} `json:"_"` }
AclPolicyAction represents a AclPolicyAction struct.
func (AclPolicyAction) MarshalJSON ¶
func (a AclPolicyAction) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AclPolicyAction. It customizes the JSON marshaling process for AclPolicyAction objects.
func (*AclPolicyAction) 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`==`gbp_resource` // - `type`==`static_gbp` (applying gbp tag against matching conditions) GbpTag *int `json:"gbp_tag,omitempty"` // required if // - `type`==`mac` // - `type`==`static_gbp` if from matching mac Macs []string `json:"macs,omitempty"` // if: // * `type`==`mac` (optional. default is `any`) // * `type`==`subnet` (optional. default is `any`) // * `type`==`network` // * `type`==`resource` (optional. default is `any`) // * `type`==`static_gbp` if from matching network (vlan)' Network *string `json:"network,omitempty"` // required if: // * `type`==`radius_group` // * `type`==`static_gbp` // if from matching radius_group RadiusGroup *string `json:"radius_group,omitempty"` // if `type`==`resource` or `type`==`gbp_resource`. Empty means unrestricted, i.e. any Specs []AclTagSpec `json:"specs,omitempty"` // if // - `type`==`subnet` // - `type`==`resource` (optional. default is `any`) // - `type`==`static_gbp` if from matching subnet Subnets []string `json:"subnets,omitempty"` // enum: // * `any`: matching anything not identified // * `dynamic_gbp`: from the gbp_tag received from RADIUS // * `gbp_resource`: can only be used in `dst_tags` // * `mac` // * `network` // * `radius_group` // * `resource`: can only be used in `dst_tags` // * `static_gbp`: applying gbp tag against matching conditions // * `subnet`' Type AclTagTypeEnum `json:"type"` AdditionalProperties map[string]interface{} `json:"_"` }
AclTag represents a AclTag struct. resource tags (`type`==`resource` or `type`==`gbp_resource`) can only be used in `dst_tags`
func (AclTag) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for AclTag. It customizes the JSON marshaling process for AclTag objects.
func (*AclTag) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for AclTag. It customizes the JSON unmarshaling process for AclTag objects.
type AclTagSpec ¶
type AclTagSpec struct { // matched dst port, "0" means any PortRange *string `json:"port_range,omitempty"` // `tcp` / `udp` / `icmp` / `icmp6` / `gre` / `any` / `:protocol_number`, `protocol_number` is between 1-254, default is `any` `protocol_number` is between 1-254 Protocol *string `json:"protocol,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
AclTagSpec represents a AclTagSpec struct.
func (AclTagSpec) MarshalJSON ¶
func (a AclTagSpec) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AclTagSpec. It customizes the JSON marshaling process for AclTagSpec objects.
func (*AclTagSpec) UnmarshalJSON ¶
func (a *AclTagSpec) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AclTagSpec. It customizes the JSON unmarshaling process for AclTagSpec objects.
type AclTagTypeEnum ¶
type AclTagTypeEnum string
AclTagTypeEnum is a string enum. enum: * `any`: matching anything not identified * `dynamic_gbp`: from the gbp_tag received from RADIUS * `gbp_resource`: can only be used in `dst_tags` * `mac` * `network` * `radius_group` * `resource`: can only be used in `dst_tags` * `static_gbp`: applying gbp tag against matching conditions * `subnet`'
const ( AclTagTypeEnum_ANY AclTagTypeEnum = "any" AclTagTypeEnum_DYNAMICGBP AclTagTypeEnum = "dynamic_gbp" AclTagTypeEnum_GBPRESOURCE AclTagTypeEnum = "gbp_resource" AclTagTypeEnum_MAC AclTagTypeEnum = "mac" AclTagTypeEnum_NETWORK AclTagTypeEnum = "network" AclTagTypeEnum_RADIUSGROUP AclTagTypeEnum = "radius_group" AclTagTypeEnum_RESOURCE AclTagTypeEnum = "resource" AclTagTypeEnum_STATICGBP AclTagTypeEnum = "static_gbp" AclTagTypeEnum_SUBNET AclTagTypeEnum = "subnet" )
type Admin ¶
type Admin struct { // ID of the administrator AdminId *uuid.UUID `json:"admin_id,omitempty"` // trade compliance status. enum: `blocked`, `restricted` ComplianceStatus *AdminComplianceStatusEnum `json:"compliance_status,omitempty"` // if admin account is not an Org API Token Email *string `json:"email,omitempty"` // if admin account is not an Org API Token EnableTwoFactor *bool `json:"enable_two_factor,omitempty"` ExpireTime *int `json:"expire_time,omitempty"` // if admin account is not an Org API Token // for an invite, this is the original first name used FirstName *string `json:"first_name,omitempty"` // if admin account is not an Org API Token, how long the invite should be valid Hours *int `json:"hours,omitempty"` // if admin account is not an Org API Token // for an invite, this is the original last name used LastName *string `json:"last_name,omitempty"` // for Org API Token Only Name *string `json:"name,omitempty"` // optional, whether to store privacy-consent information. When it doesn’t exist, it’s assumed true on EU (i.e. no tracking, the user has to opt-in); otherwise, the user would have to opt-out NoTracking Optional[bool] `json:"no_tracking"` // if admin account is not an Org API Token OauthGoogle *bool `json:"oauth_google,omitempty"` // password last modified time, in epoch PasswordModifiedTime *float64 `json:"password_modified_time,omitempty"` // if admin account is not an Org API Token // phone number (numbers only, including country code) Phone *string `json:"phone,omitempty"` // if admin account is not an Org API Token // secondary phone number (numbers only, including country code) Phone2 *string `json:"phone2,omitempty"` // list of privileges the admin has Privileges []AdminPrivilege `json:"privileges,omitempty"` SessionExpiry *int64 `json:"session_expiry,omitempty"` Tags []string `json:"tags,omitempty"` // if admin account is not an Org API Token // two factor status TwoFactorVerified *bool `json:"two_factor_verified,omitempty"` // if admin account is not an Org API Token // an admin login via_sso is more restircted. (password and email // cannot be changed) ViaSso *bool `json:"via_sso,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Admin represents a Admin struct.
func (Admin) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Admin. It customizes the JSON marshaling process for Admin objects.
func (*Admin) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Admin. It customizes the JSON unmarshaling process for Admin objects.
type AdminComplianceStatusEnum ¶
type AdminComplianceStatusEnum string
AdminComplianceStatusEnum is a string enum. trade compliance status. enum: `blocked`, `restricted`
const ( AdminComplianceStatusEnum_BLOCKED AdminComplianceStatusEnum = "blocked" AdminComplianceStatusEnum_RESTRICTED AdminComplianceStatusEnum = "restricted" )
type AdminInvite ¶
type AdminInvite struct { // skip creating initial setup if true AccountOnly *bool `json:"account_only,omitempty"` // whether to allow Mist to look at this org AllowMist *bool `json:"allow_mist,omitempty"` // city of registering user City *string `json:"city,omitempty"` // country/region name or ISO code of registering user Country *string `json:"country,omitempty"` Email string `json:"email"` FirstName string `json:"first_name"` // required initially InviteCode *string `json:"invite_code,omitempty"` LastName string `json:"last_name"` OrgName string `json:"org_name"` Password string `json:"password"` // reCAPTCHA , see https://www.google.com/recaptcha/ Recaptcha string `json:"recaptcha"` // flavor of the captcha. enum: `google`, `hcaptcha` RecaptchaFlavor *RecaptchaFlavorEnum `json:"recaptcha_flavor,omitempty"` // 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 name or ISO code of registering user, optional (depends on country/region) State *string `json:"state,omitempty"` // street address of registering user StreetAddress *string `json:"street_address,omitempty"` // street address 2 of registering user StreetAddress2 *string `json:"street_address 2,omitempty"` // zipcode of registering user Zipcode *string `json:"zipcode,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
AdminInvite represents a AdminInvite struct.
func (AdminInvite) MarshalJSON ¶
func (a AdminInvite) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AdminInvite. It customizes the JSON marshaling process for AdminInvite objects.
func (*AdminInvite) UnmarshalJSON ¶
func (a *AdminInvite) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AdminInvite. It customizes the JSON unmarshaling process for AdminInvite objects.
type AdminPrivilege ¶ added in v0.3.31
type AdminPrivilege struct { // required if `scope`==`msp` MspId *uuid.UUID `json:"msp_id,omitempty"` // logo of the MSP (if the MSP belongs to an Advanced tier) MspLogoUrl *string `json:"msp_logo_url,omitempty"` // name of the MSP (if the org belongs to an MSP) MspName Optional[string] `json:"msp_name"` // custom url of the MSP (if the MSP belongs to an Advanced tier) MspUrl *string `json:"msp_url,omitempty"` // name of the org/site/MSP depending on object scope Name *string `json:"name,omitempty"` // required if `scope`==`org` OrgId *uuid.UUID `json:"org_id,omitempty"` // name of the org (for a site belonging to org) OrgName *string `json:"org_name,omitempty"` // if `scope`==`orggroup` OrggroupIds []uuid.UUID `json:"orggroup_ids,omitempty"` // access permissions. enum: `admin`, `helpdesk`, `installer`, `read`, `write` Role AdminPrivilegeRoleEnum `json:"role"` // enum: `msp`, `org`, `orggroup`, `site`, `sitegroup` Scope AdminPrivilegeScopeEnum `json:"scope"` // required if `scope`==`site` SiteId *uuid.UUID `json:"site_id,omitempty"` SitegroupIds []uuid.UUID `json:"sitegroup_ids,omitempty"` // Custom roles restrict Org users to specific UI views. This is useful for limiting UI access of Org users. // 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 | Required Role | Description | // | --- | --- | --- | // | `reporting` | `read` | full access to all analytics tools | // | `marketing` | `read` | can view analytics and location maps | // | `super_observer` | `read` | can view all the organization except the subscription page | // | `location` | `write` | can view and manage location maps, can view analytics | // | `security` | `write` | can view and manage site labels, policies and security | // | `switch_admin` | `helpdesk` | can view and manage Switch ports, can view wired clients | // | `mxedge_admin` | `admin` | can view and manage Mist edges and Mist tunnels | // | `lobby_admin` | `admin` | full access to Org and Site Pre-shared keys | Views *AdminPrivilegeViewEnum `json:"views,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
AdminPrivilege represents a AdminPrivilege struct. Privilieges settings
func (AdminPrivilege) MarshalJSON ¶ added in v0.3.31
func (a AdminPrivilege) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AdminPrivilege. It customizes the JSON marshaling process for AdminPrivilege objects.
func (*AdminPrivilege) UnmarshalJSON ¶ added in v0.3.31
func (a *AdminPrivilege) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AdminPrivilege. It customizes the JSON unmarshaling process for AdminPrivilege objects.
type AdminPrivilegeRoleEnum ¶ added in v0.3.31
type AdminPrivilegeRoleEnum string
AdminPrivilegeRoleEnum is a string enum. access permissions. enum: `admin`, `helpdesk`, `installer`, `read`, `write`
const ( AdminPrivilegeRoleEnum_ADMIN AdminPrivilegeRoleEnum = "admin" AdminPrivilegeRoleEnum_HELPDESK AdminPrivilegeRoleEnum = "helpdesk" AdminPrivilegeRoleEnum_INSTALLER AdminPrivilegeRoleEnum = "installer" AdminPrivilegeRoleEnum_READ AdminPrivilegeRoleEnum = "read" AdminPrivilegeRoleEnum_WRITE AdminPrivilegeRoleEnum = "write" )
type AdminPrivilegeScopeEnum ¶ added in v0.3.31
type AdminPrivilegeScopeEnum string
AdminPrivilegeScopeEnum is a string enum. enum: `msp`, `org`, `orggroup`, `site`, `sitegroup`
const ( AdminPrivilegeScopeEnum_MSP AdminPrivilegeScopeEnum = "msp" AdminPrivilegeScopeEnum_ORG AdminPrivilegeScopeEnum = "org" AdminPrivilegeScopeEnum_ORGGROUP AdminPrivilegeScopeEnum = "orggroup" AdminPrivilegeScopeEnum_SITE AdminPrivilegeScopeEnum = "site" AdminPrivilegeScopeEnum_SITEGROUP AdminPrivilegeScopeEnum = "sitegroup" )
type AdminPrivilegeViewEnum ¶ added in v0.3.31
type AdminPrivilegeViewEnum string
AdminPrivilegeViewEnum is a string enum. 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 | Required Role | Description | | --- | --- | --- | | `reporting` | `read` | full access to all analytics tools | | `marketing` | `read` | can view analytics and location maps | | `super_observer` | `read` | can view all the organization except the subscription page | | `location` | `write` | can view and manage location maps, can view analytics | | `security` | `write` | can view and manage site labels, policies and security | | `switch_admin` | `helpdesk` | can view and manage Switch ports, can view wired clients | | `mxedge_admin` | `admin` | can view and manage Mist edges and Mist tunnels | | `lobby_admin` | `admin` | full access to Org and Site Pre-shared keys |
const ( AdminPrivilegeViewEnum_LOBBYADMIN AdminPrivilegeViewEnum = "lobby_admin" AdminPrivilegeViewEnum_LOCATION AdminPrivilegeViewEnum = "location" AdminPrivilegeViewEnum_MARKETING AdminPrivilegeViewEnum = "marketing" AdminPrivilegeViewEnum_MXEDGEADMIN AdminPrivilegeViewEnum = "mxedge_admin" AdminPrivilegeViewEnum_REPORTING AdminPrivilegeViewEnum = "reporting" AdminPrivilegeViewEnum_SECURITY AdminPrivilegeViewEnum = "security" AdminPrivilegeViewEnum_SUPEROBSERVER AdminPrivilegeViewEnum = "super_observer" AdminPrivilegeViewEnum_SWITCHADMIN AdminPrivilegeViewEnum = "switch_admin" )
type Alarm ¶
type Alarm struct { // UUID of the admin who acked the alarm AckAdminId *uuid.UUID `json:"ack_admin_id,omitempty"` // Name & Email ID of the admin who acked the alarm AckAdminName *string `json:"ack_admin_name,omitempty"` // Whether the alarm is acked or not Acked *bool `json:"acked,omitempty"` // Epoch (seconds) when the alarm was acked AckedTime *int `json:"acked_time,omitempty"` // additional information: List of MACs of the APs Aps []string `json:"aps,omitempty"` // List of BSSIDs Bssids []string `json:"bssids,omitempty"` // Number of incident within an alarm window Count int `json:"count"` // additional information: List of MACs of the gateways Gateways []string `json:"gateways,omitempty"` // Group of the alarm Group string `json:"group"` // additional information: List of Hostnames of the devices (AP/Switch/Gateway) Hostnames []string `json:"hostnames,omitempty"` // Unique ID of the object instance in the Mist Organnization 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]interface{} `json:"_"` }
Alarm represents a Alarm struct. additional information per alarm type
func (Alarm) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Alarm. It customizes the JSON marshaling process for Alarm objects.
func (*Alarm) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Alarm. It customizes the JSON unmarshaling process for Alarm objects.
type AlarmAck ¶
type AlarmAck struct { AlarmIds []uuid.UUID `json:"alarm_ids"` // Some text note describing the intent Note *string `json:"note,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
AlarmAck represents a AlarmAck struct.
func (AlarmAck) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for AlarmAck. It customizes the JSON marshaling process for AlarmAck objects.
func (*AlarmAck) 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. enum: `acked`, `group`, `severity`, `type`
const ( AlarmCountDisctinctEnum_ACKED AlarmCountDisctinctEnum = "acked" AlarmCountDisctinctEnum_GROUP AlarmCountDisctinctEnum = "group" AlarmCountDisctinctEnum_SEVERITY AlarmCountDisctinctEnum = "severity" AlarmCountDisctinctEnum_ENUMTYPE AlarmCountDisctinctEnum = "type" )
type AlarmSearchResult ¶
type AlarmSearchResult struct { // Component of the alarm Component *string `json:"component,omitempty"` End int `json:"end"` Limit int `json:"limit"` Next *string `json:"next,omitempty"` Page *int `json:"page,omitempty"` Results []Alarm `json:"results"` Start int `json:"start"` Total int `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
AlarmSearchResult represents a AlarmSearchResult struct.
func (AlarmSearchResult) MarshalJSON ¶
func (a AlarmSearchResult) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AlarmSearchResult. It customizes the JSON marshaling process for AlarmSearchResult objects.
func (*AlarmSearchResult) 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 { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // Delivery object to configure the alarm delivery Delivery Delivery `json:"delivery"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` // Some string to name the alarm template Name *string `json:"name,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` // Alarm Rules object to configure the individual alarm keys/types. Property key is the alarm name. Rules map[string]AlarmTemplateRule `json:"rules"` AdditionalProperties map[string]interface{} `json:"_"` }
AlarmTemplate represents a AlarmTemplate struct. Alarm Template
func (AlarmTemplate) MarshalJSON ¶
func (a AlarmTemplate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AlarmTemplate. It customizes the JSON marshaling process for AlarmTemplate objects.
func (*AlarmTemplate) UnmarshalJSON ¶
func (a *AlarmTemplate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AlarmTemplate. It customizes the JSON unmarshaling process for AlarmTemplate objects.
type AlarmTemplateRule ¶
type AlarmTemplateRule struct { // Delivery object to configure the alarm delivery Delivery *Delivery `json:"delivery,omitempty"` Enabled *bool `json:"enabled,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
AlarmTemplateRule represents a AlarmTemplateRule struct.
func (AlarmTemplateRule) MarshalJSON ¶
func (a AlarmTemplateRule) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AlarmTemplateRule. It customizes the JSON marshaling process for AlarmTemplateRule objects.
func (*AlarmTemplateRule) UnmarshalJSON ¶
func (a *AlarmTemplateRule) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AlarmTemplateRule. It customizes the JSON unmarshaling process for AlarmTemplateRule objects.
type Alarms ¶
type Alarms struct { AlarmIds []uuid.UUID `json:"alarm_ids"` // Some text note describing the intent Note *string `json:"note,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Alarms represents a Alarms struct.
func (Alarms) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Alarms. It customizes the JSON marshaling process for Alarms objects.
func (*Alarms) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Alarms. It customizes the JSON unmarshaling process for Alarms objects.
type AllowDenyEnum ¶
type AllowDenyEnum string
AllowDenyEnum is a string enum. enum: `allow`, `deny`
const ( AllowDenyEnum_ALLOW AllowDenyEnum = "allow" AllowDenyEnum_DENY AllowDenyEnum = "deny" )
type Anomaly ¶
type Anomaly struct { Events []string `json:"events"` Since *float64 `json:"since,omitempty"` SleBaseline float64 `json:"sle_baseline"` SleDeviation float64 `json:"sle_deviation"` Timestamp float64 `json:"timestamp"` AdditionalProperties map[string]interface{} `json:"_"` }
Anomaly represents a Anomaly struct. Anomaly
func (Anomaly) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Anomaly. It customizes the JSON marshaling process for Anomaly objects.
func (*Anomaly) 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]interface{} `json:"_"` }
ApAeroscout represents a ApAeroscout struct. Aeroscout AP settings
func (ApAeroscout) MarshalJSON ¶
func (a ApAeroscout) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApAeroscout. It customizes the JSON marshaling process for ApAeroscout objects.
func (*ApAeroscout) 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]interface{} `json:"_"` }
ApCentrak represents a ApCentrak struct.
func (ApCentrak) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for ApCentrak. It customizes the JSON marshaling process for ApCentrak objects.
func (*ApCentrak) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for ApCentrak. It customizes the JSON unmarshaling process for ApCentrak objects.
type ApClientBridge ¶
type ApClientBridge struct { Auth *ApClientBridgeAuth `json:"auth,omitempty"` // when acted as client bridge: // * only 5G radio can be used // * will not serve as AP on any radios Enabled *bool `json:"enabled,omitempty"` Ssid *string `json:"ssid,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ApClientBridge represents a ApClientBridge struct.
func (ApClientBridge) MarshalJSON ¶
func (a ApClientBridge) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApClientBridge. It customizes the JSON marshaling process for ApClientBridge objects.
func (*ApClientBridge) UnmarshalJSON ¶
func (a *ApClientBridge) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApClientBridge. It customizes the JSON unmarshaling process for ApClientBridge objects.
type ApClientBridgeAuth ¶
type ApClientBridgeAuth struct { Psk *string `json:"psk,omitempty"` // wpa2-AES/CCMPp is assumed when `type`==`psk`. enum: `open`, `psk` Type *ApClientBridgeAuthTypeEnum `json:"type,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ApClientBridgeAuth represents a ApClientBridgeAuth struct.
func (ApClientBridgeAuth) MarshalJSON ¶
func (a ApClientBridgeAuth) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApClientBridgeAuth. It customizes the JSON marshaling process for ApClientBridgeAuth objects.
func (*ApClientBridgeAuth) UnmarshalJSON ¶
func (a *ApClientBridgeAuth) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApClientBridgeAuth. It customizes the JSON unmarshaling process for ApClientBridgeAuth objects.
type ApClientBridgeAuthTypeEnum ¶
type ApClientBridgeAuthTypeEnum string
ApClientBridgeAuthTypeEnum is a string enum. wpa2-AES/CCMPp is assumed when `type`==`psk`. enum: `open`, `psk`
const ( ApClientBridgeAuthTypeEnum_OPEN ApClientBridgeAuthTypeEnum = "open" ApClientBridgeAuthTypeEnum_PSK ApClientBridgeAuthTypeEnum = "psk" )
type ApEslConfig ¶
type ApEslConfig struct { // Only if `type`==`imagotag` or `type`==`native` Cacert *string `json:"cacert,omitempty"` // Only if `type`==`imagotag` or `type`==`native` Channel *int `json:"channel,omitempty"` // usb_config is ignored if esl_config enabled Enabled *bool `json:"enabled,omitempty"` // Only if `type`==`imagotag` or `type`==`native` Host *string `json:"host,omitempty"` // Only if `type`==`imagotag` or `type`==`native` Port *int `json:"port,omitempty"` // note: ble_config will be ingored if esl_config is enabled and with native mode. enum: `hanshow`, `imagotag`, `native`, `solum` Type *ApEslTypeEnum `json:"type,omitempty"` // Only if `type`==`imagotag` or `type`==`native` VerifyCert *bool `json:"verify_cert,omitempty"` // Only if `type`==`solum` or `type`==`hanshow` VlanId *int `json:"vlan_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ApEslConfig represents a ApEslConfig struct.
func (ApEslConfig) MarshalJSON ¶
func (a ApEslConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApEslConfig. It customizes the JSON marshaling process for ApEslConfig objects.
func (*ApEslConfig) 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. enum: `hanshow`, `imagotag`, `native`, `solum`
const ( ApEslTypeEnum_HANSHOW ApEslTypeEnum = "hanshow" ApEslTypeEnum_IMAGOTAG ApEslTypeEnum = "imagotag" ApEslTypeEnum_NATIVE ApEslTypeEnum = "native" ApEslTypeEnum_SOLUM ApEslTypeEnum = "solum" )
type ApIot ¶
type ApIot struct { // IoT output AP settings A1 *ApIotOutput `json:"A1,omitempty"` // IoT output AP settings A2 *ApIotOutput `json:"A2,omitempty"` // IoT output AP settings A3 *ApIotOutput `json:"A3,omitempty"` // IoT output AP settings A4 *ApIotOutput `json:"A4,omitempty"` // IoT Input AP settings DI1 *ApIotInput `json:"DI1,omitempty"` // IoT Input AP settings DI2 *ApIotInput `json:"DI2,omitempty"` // IoT output AP settings DO *ApIotOutput `json:"DO,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ApIot represents a ApIot struct. IoT AP settings
func (ApIot) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for ApIot. It customizes the JSON marshaling process for ApIot objects.
func (*ApIot) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for ApIot. It customizes the JSON unmarshaling process for ApIot objects.
type ApIotInput ¶
type ApIotInput struct { // whether to enable a pin Enabled *bool `json:"enabled,omitempty"` // optional; descriptive pin name Name *string `json:"name,omitempty"` // the type of pull-up the pin uses. enum: `external`, `internal`, `none` Pullup *ApIotPullupEnum `json:"pullup,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ApIotInput represents a ApIotInput struct. IoT Input AP settings
func (ApIotInput) MarshalJSON ¶
func (a ApIotInput) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApIotInput. It customizes the JSON marshaling process for ApIotInput objects.
func (*ApIotInput) UnmarshalJSON ¶
func (a *ApIotInput) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApIotInput. It customizes the JSON unmarshaling process for ApIotInput objects.
type ApIotOutput ¶
type ApIotOutput struct { // whether to enable a pin Enabled *bool `json:"enabled,omitempty"` // optional; descriptive pin name Name *string `json:"name,omitempty"` // whether the pin is configured as an output. DO and A1-A4 can be repurposed by changing Output *bool `json:"output,omitempty"` // the type of pull-up the pin uses. enum: `external`, `internal`, `none` Pullup *ApIotPullupEnum `json:"pullup,omitempty"` // output pin signal level, default 0 Value *int `json:"value,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ApIotOutput represents a ApIotOutput struct. IoT output AP settings
func (ApIotOutput) MarshalJSON ¶
func (a ApIotOutput) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApIotOutput. It customizes the JSON marshaling process for ApIotOutput objects.
func (*ApIotOutput) UnmarshalJSON ¶
func (a *ApIotOutput) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApIotOutput. It customizes the JSON unmarshaling process for ApIotOutput objects.
type ApIotPullupEnum ¶ added in v0.2.35
type ApIotPullupEnum string
ApIotPullupEnum is a string enum. the type of pull-up the pin uses. enum: `external`, `internal`, `none`
const ( ApIotPullupEnum_EXTERNAL ApIotPullupEnum = "external" ApIotPullupEnum_INTERNAL ApIotPullupEnum = "internal" ApIotPullupEnum_NONE ApIotPullupEnum = "none" )
type ApIpConfig ¶
type ApIpConfig struct { // if `type`==`static` Dns []string `json:"dns,omitempty"` // required if `type`==`static` DnsSuffix []string `json:"dns_suffix,omitempty"` // required if `type`==`static` Gateway *string `json:"gateway,omitempty"` Gateway6 *string `json:"gateway6,omitempty"` // required if `type`==`static` Ip *string `json:"ip,omitempty"` Ip6 *string `json:"ip6,omitempty"` Mtu *int `json:"mtu,omitempty"` // required if `type`==`static` Netmask *string `json:"netmask,omitempty"` Netmask6 *string `json:"netmask6,omitempty"` // enum: `dhcp`, `static` Type *IpTypeEnum `json:"type,omitempty"` // enum: `autoconf`, `dhcp`, `disabled`, `static` Type6 *IpType6Enum `json:"type6,omitempty"` // management vlan id, default is 1 (untagged) VlanId *int `json:"vlan_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ApIpConfig represents a ApIpConfig struct. IP AP settings
func (ApIpConfig) MarshalJSON ¶
func (a ApIpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApIpConfig. It customizes the JSON marshaling process for ApIpConfig objects.
func (*ApIpConfig) UnmarshalJSON ¶
func (a *ApIpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApIpConfig. It customizes the JSON unmarshaling process for ApIpConfig objects.
type ApLed ¶
type ApLed struct { Brightness *int `json:"brightness,omitempty"` Enabled *bool `json:"enabled,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ApLed represents a ApLed struct. LED AP settings
func (ApLed) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for ApLed. It customizes the JSON marshaling process for ApLed objects.
func (*ApLed) 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"` // enum: `base`, `remote` Role *ApMeshRoleEnum `json:"role,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ApMesh represents a ApMesh struct. Mesh AP settings
func (ApMesh) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for ApMesh. It customizes the JSON marshaling process for ApMesh objects.
func (*ApMesh) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for ApMesh. It customizes the JSON unmarshaling process for ApMesh objects.
type ApMeshRoleEnum ¶
type ApMeshRoleEnum string
ApMeshRoleEnum is a string enum. enum: `base`, `remote`
const ( ApMeshRoleEnum_BASE ApMeshRoleEnum = "base" ApMeshRoleEnum_REMOTE ApMeshRoleEnum = "remote" )
type ApPortConfig ¶
type ApPortConfig struct { Disabled *bool `json:"disabled,omitempty"` // optional dynamic vlan DynamicVlan *ApPortConfigDynamicVlan `json:"dynamic_vlan,omitempty"` EnableMacAuth *bool `json:"enable_mac_auth,omitempty"` // enum: `all`, `limited`, `mxtunnel`, `site_mxedge`, `wxtunnel` Forwarding *ApPortConfigForwardingEnum `json:"forwarding,omitempty"` // when `true`, we'll do dot1x then mac_auth. enable this to prefer mac_auth MacAuthPreferred *bool `json:"mac_auth_preferred,omitempty"` // if `enable_mac_auth`==`true`, allows user to select an authentication protocol. enum: `eap-md5`, `eap-peap`, `pap` MacAuthProtocol *ApPortConfigMacAuthProtocolEnum `json:"mac_auth_protocol,omitempty"` MistNac *WlanMistNac `json:"mist_nac,omitempty"` // if `forwarding`==`mxtunnel`, vlan_ids comes from mxtunnel MxTunnelId *uuid.UUID `json:"mx_tunnel_id,omitempty"` // if `forwarding`==`site_mxedge`, vlan_ids comes from site_mxedge (`mxtunnels` under site setting) MxtunnelName *string `json:"mxtunnel_name,omitempty"` // When doing port auth. enum: `dot1x`, `none` PortAuth *ApPortConfigPortAuthEnum `json:"port_auth,omitempty"` // if `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]interface{} `json:"_"` }
ApPortConfig represents a ApPortConfig struct.
func (ApPortConfig) MarshalJSON ¶
func (a ApPortConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApPortConfig. It customizes the JSON marshaling process for ApPortConfig objects.
func (*ApPortConfig) UnmarshalJSON ¶
func (a *ApPortConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApPortConfig. It customizes the JSON unmarshaling process for ApPortConfig objects.
type ApPortConfigDynamicVlan ¶
type ApPortConfigDynamicVlan struct { DefaultVlanId *int `json:"default_vlan_id,omitempty"` Enabled *bool `json:"enabled,omitempty"` Type *string `json:"type,omitempty"` Vlans map[string]string `json:"vlans,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ApPortConfigDynamicVlan represents a ApPortConfigDynamicVlan struct. optional dynamic vlan
func (ApPortConfigDynamicVlan) MarshalJSON ¶
func (a ApPortConfigDynamicVlan) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApPortConfigDynamicVlan. It customizes the JSON marshaling process for ApPortConfigDynamicVlan objects.
func (*ApPortConfigDynamicVlan) UnmarshalJSON ¶
func (a *ApPortConfigDynamicVlan) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApPortConfigDynamicVlan. It customizes the JSON unmarshaling process for ApPortConfigDynamicVlan objects.
type ApPortConfigForwardingEnum ¶
type ApPortConfigForwardingEnum string
ApPortConfigForwardingEnum is a string enum. enum: `all`, `limited`, `mxtunnel`, `site_mxedge`, `wxtunnel`
const ( ApPortConfigForwardingEnum_ALL ApPortConfigForwardingEnum = "all" ApPortConfigForwardingEnum_LIMITED ApPortConfigForwardingEnum = "limited" ApPortConfigForwardingEnum_MXTUNNEL ApPortConfigForwardingEnum = "mxtunnel" ApPortConfigForwardingEnum_SITEMXEDGE ApPortConfigForwardingEnum = "site_mxedge" ApPortConfigForwardingEnum_WXTUNNEL ApPortConfigForwardingEnum = "wxtunnel" )
type ApPortConfigMacAuthProtocolEnum ¶
type ApPortConfigMacAuthProtocolEnum string
ApPortConfigMacAuthProtocolEnum is a string enum. if `enable_mac_auth`==`true`, allows user to select an authentication protocol. enum: `eap-md5`, `eap-peap`, `pap`
const ( ApPortConfigMacAuthProtocolEnum_EAPMD5 ApPortConfigMacAuthProtocolEnum = "eap-md5" ApPortConfigMacAuthProtocolEnum_EAPPEAP ApPortConfigMacAuthProtocolEnum = "eap-peap" ApPortConfigMacAuthProtocolEnum_PAP ApPortConfigMacAuthProtocolEnum = "pap" )
type ApPortConfigPortAuthEnum ¶
type ApPortConfigPortAuthEnum string
ApPortConfigPortAuthEnum is a string enum. When doing port auth. enum: `dot1x`, `none`
const ( ApPortConfigPortAuthEnum_DOT1X ApPortConfigPortAuthEnum = "dot1x" ApPortConfigPortAuthEnum_NONE ApPortConfigPortAuthEnum = "none" )
type ApPwrConfig ¶
type ApPwrConfig struct { // additional power to request during negotiating with PSE over PoE, in mW Base *int `json:"base,omitempty"` // whether to enable power out to peripheral, meanwhile will reduce power to wifi (only for AP45 at power mode) PreferUsbOverWifi *bool `json:"prefer_usb_over_wifi,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ApPwrConfig represents a ApPwrConfig struct. power related configs
func (ApPwrConfig) MarshalJSON ¶
func (a ApPwrConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApPwrConfig. It customizes the JSON marshaling process for ApPwrConfig objects.
func (*ApPwrConfig) UnmarshalJSON ¶
func (a *ApPwrConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApPwrConfig. It customizes the JSON unmarshaling process for ApPwrConfig objects.
type ApRadio ¶
type ApRadio struct { AllowRrmDisable *bool `json:"allow_rrm_disable,omitempty"` // antenna gain for 2.4G - for models with external antenna only AntGain24 *int `json:"ant_gain_24,omitempty"` // antenna gain for 5G - for models with external antenna only AntGain5 *int `json:"ant_gain_5,omitempty"` // antenna gain for 6G - for models with external antenna only AntGain6 *int `json:"ant_gain_6,omitempty"` // enum: `1x1`, `2x2`, `3x3`, `4x4`, `default` AntennaMode *ApRadioAntennaModeEnum `json:"antenna_mode,omitempty"` // Radio Band AP settings Band24 *ApRadioBand24 `json:"band_24,omitempty"` // enum: `24`, `5`, `6`, `auto` Band24Usage *RadioBand24UsageEnum `json:"band_24_usage,omitempty"` // Radio Band AP settings Band5 *ApRadioBand5 `json:"band_5,omitempty"` // Radio Band AP settings Band5On24Radio *ApRadioBand5 `json:"band_5_on_24_radio,omitempty"` // Radio Band AP settings Band6 *ApRadioBand6 `json:"band_6,omitempty"` // 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]interface{} `json:"_"` }
ApRadio represents a ApRadio struct. Radio AP settings
func (ApRadio) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for ApRadio. It customizes the JSON marshaling process for ApRadio objects.
func (*ApRadio) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for ApRadio. It customizes the JSON unmarshaling process for ApRadio objects.
type ApRadioAntennaModeEnum ¶
type ApRadioAntennaModeEnum string
ApRadioAntennaModeEnum is a string enum. enum: `1x1`, `2x2`, `3x3`, `4x4`, `default`
const ( ApRadioAntennaModeEnum_ENUM1X1 ApRadioAntennaModeEnum = "1x1" ApRadioAntennaModeEnum_ENUM2X2 ApRadioAntennaModeEnum = "2x2" ApRadioAntennaModeEnum_ENUM3X3 ApRadioAntennaModeEnum = "3x3" ApRadioAntennaModeEnum_ENUM4X4 ApRadioAntennaModeEnum = "4x4" ApRadioAntennaModeEnum_ENUMDEFAULT ApRadioAntennaModeEnum = "default" )
type ApRadioBand24 ¶
type ApRadioBand24 struct { AllowRrmDisable *bool `json:"allow_rrm_disable,omitempty"` AntGain Optional[int] `json:"ant_gain"` // enum: `1x1`, `2x2`, `3x3`, `4x4`, `default` AntennaMode *RadioBandAntennaModeEnum `json:"antenna_mode,omitempty"` // channel width for the 2.4GHz band. enum: `20`, `40` Bandwidth *Dot11Bandwidth24Enum `json:"bandwidth,omitempty"` // For Device. (primary) channel for the band, 0 means using the Site Setting Channel Optional[int] `json:"channel"` // For RFTemplates. List of channels, null or empty array means auto Channels Optional[[]int] `json:"channels"` // whether to disable the radio Disabled *bool `json:"disabled,omitempty"` // TX power of the radio. For Devices, 0 means auto. -1 / -2 / -3 / …: treated as 0 / -1 / -2 / … Power Optional[int] `json:"power"` // when power=0, max tx power to use, HW-specific values will be used if not set PowerMax Optional[int] `json:"power_max"` // when power=0, min tx power to use, HW-specific values will be used if not set PowerMin Optional[int] `json:"power_min"` // enum: `auto`, `long`, `short` Preamble *RadioBandPreambleEnum `json:"preamble,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ApRadioBand24 represents a ApRadioBand24 struct. Radio Band AP settings
func (ApRadioBand24) MarshalJSON ¶
func (a ApRadioBand24) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApRadioBand24. It customizes the JSON marshaling process for ApRadioBand24 objects.
func (*ApRadioBand24) UnmarshalJSON ¶
func (a *ApRadioBand24) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApRadioBand24. It customizes the JSON unmarshaling process for ApRadioBand24 objects.
type ApRadioBand5 ¶
type ApRadioBand5 struct { AllowRrmDisable *bool `json:"allow_rrm_disable,omitempty"` AntGain Optional[int] `json:"ant_gain"` // enum: `1x1`, `2x2`, `3x3`, `4x4`, `default` AntennaMode *RadioBandAntennaModeEnum `json:"antenna_mode,omitempty"` // channel width for the 5GHz band. enum: `20`, `40`, `80` Bandwidth *Dot11Bandwidth5Enum `json:"bandwidth,omitempty"` // For Device. (primary) channel for the band, 0 means using the Site Setting Channel Optional[int] `json:"channel"` // For RFTemplates. List of channels, null or empty array means auto Channels Optional[[]int] `json:"channels"` // whether to disable the radio Disabled *bool `json:"disabled,omitempty"` // TX power of the radio. For Devices, 0 means auto. -1 / -2 / -3 / …: treated as 0 / -1 / -2 / … Power Optional[int] `json:"power"` // when power=0, max tx power to use, HW-specific values will be used if not set PowerMax Optional[int] `json:"power_max"` // when power=0, min tx power to use, HW-specific values will be used if not set PowerMin Optional[int] `json:"power_min"` // enum: `auto`, `long`, `short` Preamble *RadioBandPreambleEnum `json:"preamble,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ApRadioBand5 represents a ApRadioBand5 struct. Radio Band AP settings
func (ApRadioBand5) MarshalJSON ¶
func (a ApRadioBand5) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApRadioBand5. It customizes the JSON marshaling process for ApRadioBand5 objects.
func (*ApRadioBand5) UnmarshalJSON ¶
func (a *ApRadioBand5) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApRadioBand5. It customizes the JSON unmarshaling process for ApRadioBand5 objects.
type ApRadioBand6 ¶
type ApRadioBand6 struct { AllowRrmDisable *bool `json:"allow_rrm_disable,omitempty"` AntGain Optional[int] `json:"ant_gain"` // enum: `1x1`, `2x2`, `3x3`, `4x4`, `default` AntennaMode *RadioBandAntennaModeEnum `json:"antenna_mode,omitempty"` // channel width for the 6GHz band. enum: `20`, `40`, `80`, `160` Bandwidth *Dot11Bandwidth6Enum `json:"bandwidth,omitempty"` // For Device. (primary) channel for the band, 0 means using the Site Setting Channel Optional[int] `json:"channel"` // For RFTemplates. List of channels, null or empty array means auto Channels Optional[[]int] `json:"channels"` // whether to disable the radio Disabled *bool `json:"disabled,omitempty"` // TX power of the radio. For Devices, 0 means auto. -1 / -2 / -3 / …: treated as 0 / -1 / -2 / … Power Optional[int] `json:"power"` // when power=0, max tx power to use, HW-specific values will be used if not set PowerMax Optional[int] `json:"power_max"` // when power=0, min tx power to use, HW-specific values will be used if not set PowerMin Optional[int] `json:"power_min"` // enum: `auto`, `long`, `short` Preamble *RadioBandPreambleEnum `json:"preamble,omitempty"` // for 6GHz Only, standard-power operation, AFC (Automatic Frequency Coordination) will be performed and we'll fallback to Low Power Indoor if AFC failed StandardPower *bool `json:"standard_power,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ApRadioBand6 represents a ApRadioBand6 struct. Radio Band AP settings
func (ApRadioBand6) MarshalJSON ¶
func (a ApRadioBand6) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApRadioBand6. It customizes the JSON marshaling process for ApRadioBand6 objects.
func (*ApRadioBand6) UnmarshalJSON ¶
func (a *ApRadioBand6) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApRadioBand6. It customizes the JSON unmarshaling process for ApRadioBand6 objects.
type ApRadioMac ¶
type ApRadioMac struct { Mac string `json:"mac"` RadioMacs []string `json:"radio_macs"` AdditionalProperties map[string]interface{} `json:"_"` }
ApRadioMac represents a ApRadioMac struct.
func (ApRadioMac) MarshalJSON ¶
func (a ApRadioMac) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApRadioMac. It customizes the JSON marshaling process for ApRadioMac objects.
func (*ApRadioMac) UnmarshalJSON ¶
func (a *ApRadioMac) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApRadioMac. It customizes the JSON unmarshaling process for ApRadioMac objects.
type ApRadioStat ¶ added in v0.3.0
type ApRadioStat struct { // channel width for the band.enum: `20`, `40`, `80` (only applicable for band_5 and band_6), `160` (only for band_6) Bandwidth *Dot11BandwidthEnum `json:"bandwidth,omitempty"` // current channel the radio is running on Channel Optional[int] `json:"channel"` // Use dynamic chaining for downlink 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"` // how many WLANs are applied to the radio NumWlans *int `json:"num_wlans,omitempty"` // 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]interface{} `json:"_"` }
ApRadioStat represents a ApRadioStat struct. radio stat
func (ApRadioStat) MarshalJSON ¶ added in v0.3.0
func (a ApRadioStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApRadioStat. It customizes the JSON marshaling process for ApRadioStat objects.
func (*ApRadioStat) UnmarshalJSON ¶ added in v0.3.0
func (a *ApRadioStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApRadioStat. It customizes the JSON unmarshaling process for ApRadioStat objects.
type ApRedundancy ¶
type ApRedundancy struct { // Property key is the node id Modules map[string]ApRedundancyModule `json:"modules,omitempty"` NumAps *int `json:"num_aps,omitempty"` NumApsWithSwitchRedundancy *int `json:"num_aps_with_switch_redundancy,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ApRedundancy represents a ApRedundancy struct.
func (ApRedundancy) MarshalJSON ¶
func (a ApRedundancy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApRedundancy. It customizes the JSON marshaling process for ApRedundancy objects.
func (*ApRedundancy) UnmarshalJSON ¶
func (a *ApRedundancy) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApRedundancy. It customizes the JSON unmarshaling process for ApRedundancy objects.
type ApRedundancyModule ¶
type ApRedundancyModule struct { NumAps *int `json:"num_aps,omitempty"` NumApsWithSwitchRedundancy *int `json:"num_aps_with_switch_redundancy,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ApRedundancyModule represents a ApRedundancyModule struct.
func (ApRedundancyModule) MarshalJSON ¶
func (a ApRedundancyModule) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApRedundancyModule. It customizes the JSON marshaling process for ApRedundancyModule objects.
func (*ApRedundancyModule) UnmarshalJSON ¶
func (a *ApRedundancyModule) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApRedundancyModule. It customizes the JSON unmarshaling process for ApRedundancyModule objects.
type ApSearch ¶
type ApSearch struct { // bandwidth of band_24 Band24Bandwidth *string `json:"band_24_bandwidth,omitempty"` // Channel of band_24 Band24Channel *int `json:"band_24_channel,omitempty"` Band24Power *int `json:"band_24_power,omitempty"` // bandwidth of band_5 Band5Bandwidth *string `json:"band_5_bandwidth,omitempty"` // Channel of band_5 Band5Channel *int `json:"band_5_channel,omitempty"` Band5Power *int `json:"band_5_power,omitempty"` Band6Bandwidth *string `json:"band_6_bandwidth,omitempty"` // Channel of band_6 Band6Channel *int `json:"band_6_channel,omitempty"` Band6Power *int `json:"band_6_power,omitempty"` // Port speed of eth0 Eth0PortSpeed *int `json:"eth0_port_speed,omitempty"` ExtIp *string `json:"ext_ip,omitempty"` // partial / full hostname Hostname []string `json:"hostname,omitempty"` InactiveWiredVlans []int `json:"inactive_wired_vlans,omitempty"` // ip address Ip *string `json:"ip,omitempty"` LastHostname *string `json:"last_hostname,omitempty"` // LLDP management ip address LldpMgmtAddr *string `json:"lldp_mgmt_addr,omitempty"` LldpPortDesc *string `json:"lldp_port_desc,omitempty"` // LLDP port id LldpPortId *string `json:"lldp_port_id,omitempty"` LldpPowerAllocated *int `json:"lldp_power_allocated,omitempty"` LldpPowerDraw *int `json:"lldp_power_draw,omitempty"` // LLDP system description LldpSystemDesc *string `json:"lldp_system_desc,omitempty"` // LLDP system name LldpSystemName *string `json:"lldp_system_name,omitempty"` // device model Mac *string `json:"mac,omitempty"` Model *string `json:"model,omitempty"` // Mist Edge id, if AP is connecting to a Mist Edge MxedgeId *string `json:"mxedge_id,omitempty"` // Comma separated list of Mist Edge ids, if AP is connecting to a Mist Edge MxedgeIds *string `json:"mxedge_ids,omitempty"` // MxTunnel status MxtunnelStatus string `json:"mxtunnel_status"` OrgId *uuid.UUID `json:"org_id,omitempty"` PowerConstrained bool `json:"power_constrained"` PowerOpmode string `json:"power_opmode"` SiteId *uuid.UUID `json:"site_id,omitempty"` Sku *string `json:"sku,omitempty"` Timestamp *float64 `json:"timestamp,omitempty"` Uptime *int `json:"uptime,omitempty"` // version Version *string `json:"version,omitempty"` Wlans []ApSearchWlan `json:"wlans"` AdditionalProperties map[string]interface{} `json:"_"` }
ApSearch represents a ApSearch struct.
func (ApSearch) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for ApSearch. It customizes the JSON marshaling process for ApSearch objects.
func (*ApSearch) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for ApSearch. It customizes the JSON unmarshaling process for ApSearch objects.
type ApSearchWlan ¶ added in v0.4.18
type ApSearchWlan struct { Id *uuid.UUID `json:"id,omitempty"` Ssid *string `json:"ssid,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ApSearchWlan represents a ApSearchWlan struct.
func (ApSearchWlan) MarshalJSON ¶ added in v0.4.18
func (a ApSearchWlan) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApSearchWlan. It customizes the JSON marshaling process for ApSearchWlan objects.
func (*ApSearchWlan) UnmarshalJSON ¶ added in v0.4.18
func (a *ApSearchWlan) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApSearchWlan. It customizes the JSON unmarshaling process for ApSearchWlan objects.
type ApStatMeshDownlink ¶
type ApStatMeshDownlink struct { Band *string `json:"band,omitempty"` Channel *int `json:"channel,omitempty"` IdleTime *int `json:"idle_time,omitempty"` 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]interface{} `json:"_"` }
ApStatMeshDownlink represents a ApStatMeshDownlink struct.
func (ApStatMeshDownlink) MarshalJSON ¶
func (a ApStatMeshDownlink) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApStatMeshDownlink. It customizes the JSON marshaling process for ApStatMeshDownlink objects.
func (*ApStatMeshDownlink) 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]interface{} `json:"_"` }
ApStatMeshUplink represents a ApStatMeshUplink struct.
func (ApStatMeshUplink) MarshalJSON ¶
func (a ApStatMeshUplink) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApStatMeshUplink. It customizes the JSON marshaling process for ApStatMeshUplink objects.
func (*ApStatMeshUplink) UnmarshalJSON ¶
func (a *ApStatMeshUplink) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApStatMeshUplink. It customizes the JSON unmarshaling process for ApStatMeshUplink objects.
type ApSwitch ¶
type ApSwitch struct { Enabled *bool `json:"enabled,omitempty"` Eth0 *ApSwitchSetting `json:"eth0,omitempty"` Eth1 *ApSwitchSetting `json:"eth1,omitempty"` Eth2 *ApSwitchSetting `json:"eth2,omitempty"` Eth3 *ApSwitchSetting `json:"eth3,omitempty"` Module *ApSwitchSetting `json:"module,omitempty"` Wds *ApSwitchSetting `json:"wds,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ApSwitch represents a ApSwitch struct. for people who want to fully control the vlans (advanced)
func (ApSwitch) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for ApSwitch. It customizes the JSON marshaling process for ApSwitch objects.
func (*ApSwitch) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for ApSwitch. It customizes the JSON unmarshaling process for ApSwitch objects.
type ApSwitchSetting ¶
type ApSwitchSetting struct { EnableVlan *bool `json:"enable_vlan,omitempty"` // native VLAN id, optional PortVlanId *int `json:"port_vlan_id,omitempty"` // list of VLAN ids this VlanIds []int `json:"vlan_ids,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ApSwitchSetting represents a ApSwitchSetting struct.
func (ApSwitchSetting) MarshalJSON ¶
func (a ApSwitchSetting) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApSwitchSetting. It customizes the JSON marshaling process for ApSwitchSetting objects.
func (*ApSwitchSetting) 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"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` ForSite *bool `json:"for_site,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` Wifi *ApTemplateWifi `json:"wifi,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ApTemplate represents a ApTemplate struct.
func (ApTemplate) MarshalJSON ¶
func (a ApTemplate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApTemplate. It customizes the JSON marshaling process for ApTemplate objects.
func (*ApTemplate) UnmarshalJSON ¶
func (a *ApTemplate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApTemplate. It customizes the JSON unmarshaling process for ApTemplate objects.
type ApTemplateMatching ¶
type ApTemplateMatching struct { Enabled *bool `json:"enabled,omitempty"` Rules []ApTemplateMatchingRule `json:"rules,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ApTemplateMatching represents a ApTemplateMatching struct.
func (ApTemplateMatching) MarshalJSON ¶
func (a ApTemplateMatching) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApTemplateMatching. It customizes the JSON marshaling process for ApTemplateMatching objects.
func (*ApTemplateMatching) UnmarshalJSON ¶
func (a *ApTemplateMatching) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApTemplateMatching. It customizes the JSON unmarshaling process for ApTemplateMatching objects.
type ApTemplateMatchingRule ¶
type ApTemplateMatchingRule struct { MatchModel *string `json:"match_model,omitempty"` Name *string `json:"name,omitempty"` // Property key is the interface(s) name (e.g. "eth1,eth2") PortConfig map[string]ApPortConfig `json:"port_config,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ApTemplateMatchingRule represents a ApTemplateMatchingRule struct.
func (ApTemplateMatchingRule) MarshalJSON ¶
func (a ApTemplateMatchingRule) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApTemplateMatchingRule. It customizes the JSON marshaling process for ApTemplateMatchingRule objects.
func (*ApTemplateMatchingRule) UnmarshalJSON ¶
func (a *ApTemplateMatchingRule) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApTemplateMatchingRule. It customizes the JSON unmarshaling process for ApTemplateMatchingRule objects.
type ApTemplateWifi ¶
type ApTemplateWifi struct { CiscoEnabled *bool `json:"cisco_enabled,omitempty"` Disable11k *bool `json:"disable_11k,omitempty"` DisableRadiosWhenPowerConstrained *bool `json:"disable_radios_when_power_constrained,omitempty"` EnableArpSpoof *bool `json:"enable_arp_spoof,omitempty"` Enabled *bool `json:"enabled,omitempty"` LocateConnected *bool `json:"locate_connected,omitempty"` LocateUnconnected *bool `json:"locate_unconnected,omitempty"` MeshAllowDfs *bool `json:"mesh_allow_dfs,omitempty"` MeshEnableCrm *bool `json:"mesh_enable_crm,omitempty"` MeshEnabled *bool `json:"mesh_enabled,omitempty"` ProxyArp *bool `json:"proxy_arp,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ApTemplateWifi represents a ApTemplateWifi struct.
func (ApTemplateWifi) MarshalJSON ¶
func (a ApTemplateWifi) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApTemplateWifi. It customizes the JSON marshaling process for ApTemplateWifi objects.
func (*ApTemplateWifi) 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]interface{} `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. enum: `hanshow`, `imagotag`, `solum` Type *ApUsbTypeEnum `json:"type,omitempty"` // only if `type`==`imagotag`, whether to turn on SSL verification VerifyCert *bool `json:"verify_cert,omitempty"` // only if `type`==`solum` or `type`==`hanshow` VlanId *int `json:"vlan_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ApUsb represents a ApUsb struct. USB AP settings Note: if native imagotag is enabled, BLE will be disabled automatically Note: legacy, new config moved to ESL Config.
func (ApUsb) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for ApUsb. It customizes the JSON marshaling process for ApUsb objects.
func (*ApUsb) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for ApUsb. It customizes the JSON unmarshaling process for ApUsb objects.
type ApUsbTypeEnum ¶
type ApUsbTypeEnum string
ApUsbTypeEnum is a string enum. usb config type. enum: `hanshow`, `imagotag`, `solum`
const ( ApUsbTypeEnum_HANSHOW ApUsbTypeEnum = "hanshow" ApUsbTypeEnum_IMAGOTAG ApUsbTypeEnum = "imagotag" ApUsbTypeEnum_SOLUM ApUsbTypeEnum = "solum" )
type ApiResponse ¶
type ApiResponse[T any] struct { https.ApiResponse[T] }
ApiResponse is a generic struct that represents an API response containing data and the HTTP response. The `Data` field holds the data of any type `T` returned by the API. The `Response` field contains the underlying HTTP response associated with the API call.
func NewApiResponse ¶
func NewApiResponse[T any]( data T, response *http.Response) ApiResponse[T]
NewApiResponse creates a new instance of ApiResponse. It takes the `data` of type `T` and the `response` as parameters, and returns an ApiResponse[T] struct.
type AppProbing ¶
type AppProbing struct { // app-keys from /api/v1/const/applications Apps []string `json:"apps,omitempty"` CustomApps []AppProbingCustomApp `json:"custom_apps,omitempty"` Enabled *bool `json:"enabled,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
AppProbing represents a AppProbing struct.
func (AppProbing) MarshalJSON ¶
func (a AppProbing) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AppProbing. It customizes the JSON marshaling process for AppProbing objects.
func (*AppProbing) UnmarshalJSON ¶
func (a *AppProbing) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AppProbing. It customizes the JSON unmarshaling process for AppProbing objects.
type AppProbingCustomApp ¶
type AppProbingCustomApp struct { // required if `protocol`==`icmp` Address *string `json:"address,omitempty"` AppType *string `json:"app_type,omitempty"` // if `protocol`==`http` Hostnames []string `json:"hostnames,omitempty"` Key *string `json:"key,omitempty"` Name *string `json:"name,omitempty"` Network *string `json:"network,omitempty"` // if `protocol`==`icmp` PacketSize *int `json:"packetSize,omitempty"` // enum: `http`, `icmp` Protocol *AppProbingCustomAppProtocolEnum `json:"protocol,omitempty"` // if `protocol`==`http` Url *string `json:"url,omitempty"` Vrf *string `json:"vrf,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
AppProbingCustomApp represents a AppProbingCustomApp struct.
func (AppProbingCustomApp) MarshalJSON ¶
func (a AppProbingCustomApp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AppProbingCustomApp. It customizes the JSON marshaling process for AppProbingCustomApp objects.
func (*AppProbingCustomApp) UnmarshalJSON ¶
func (a *AppProbingCustomApp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AppProbingCustomApp. It customizes the JSON unmarshaling process for AppProbingCustomApp objects.
type AppProbingCustomAppProtocolEnum ¶
type AppProbingCustomAppProtocolEnum string
AppProbingCustomAppProtocolEnum is a string enum. enum: `http`, `icmp`
const ( AppProbingCustomAppProtocolEnum_HTTP AppProbingCustomAppProtocolEnum = "http" AppProbingCustomAppProtocolEnum_ICMP AppProbingCustomAppProtocolEnum = "icmp" )
type ArpTableStats ¶
type ArpTableStats struct { ArpTableCount *int `json:"arp_table_count,omitempty"` MaxEntriesSupported *int `json:"max_entries_supported,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ArpTableStats represents a ArpTableStats struct.
func (ArpTableStats) MarshalJSON ¶
func (a ArpTableStats) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ArpTableStats. It customizes the JSON marshaling process for ArpTableStats objects.
func (*ArpTableStats) UnmarshalJSON ¶
func (a *ArpTableStats) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ArpTableStats. It customizes the JSON unmarshaling process for ArpTableStats objects.
type Asset ¶
type Asset struct { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` ForSite *bool `json:"for_site,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // bluetooth MAC Mac string `json:"mac"` MapId *uuid.UUID `json:"map_id,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` // name / label of the device Name string `json:"name"` OrgId *uuid.UUID `json:"org_id,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` TagId *uuid.UUID `json:"tag_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Asset represents a Asset struct. Asset
func (Asset) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Asset. It customizes the JSON marshaling process for Asset objects.
func (*Asset) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Asset. It customizes the JSON unmarshaling process for Asset objects.
type AssetFilter ¶
type AssetFilter struct { ApMac *string `json:"ap_mac,omitempty"` Beam *int `json:"beam,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` 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"` // Unique ID of the object instance in the Mist Organnization 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]interface{} `json:"_"` }
AssetFilter represents a AssetFilter struct. Asset Filter
func (AssetFilter) MarshalJSON ¶
func (a AssetFilter) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AssetFilter. It customizes the JSON marshaling process for AssetFilter objects.
func (*AssetFilter) UnmarshalJSON ¶
func (a *AssetFilter) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AssetFilter. It customizes the JSON unmarshaling process for AssetFilter objects.
type AssetImport ¶
type AssetImport struct { Mac string `json:"mac"` Name string `json:"name"` AdditionalProperties map[string]interface{} `json:"_"` }
AssetImport represents a AssetImport struct.
func (AssetImport) MarshalJSON ¶
func (a AssetImport) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AssetImport. It customizes the JSON marshaling process for AssetImport objects.
func (*AssetImport) UnmarshalJSON ¶
func (a *AssetImport) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AssetImport. It customizes the JSON unmarshaling process for AssetImport objects.
type AssetOfInterest ¶
type AssetOfInterest struct { ApMac *string `json:"ap_mac,omitempty"` Beam *float64 `json:"beam,omitempty"` By *string `json:"by,omitempty"` CurrSite *string `json:"curr_site,omitempty"` DeviceName *string `json:"device_name,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `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]interface{} `json:"_"` }
AssetOfInterest represents a AssetOfInterest struct.
func (AssetOfInterest) MarshalJSON ¶
func (a AssetOfInterest) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AssetOfInterest. It customizes the JSON marshaling process for AssetOfInterest objects.
func (*AssetOfInterest) UnmarshalJSON ¶
func (a *AssetOfInterest) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AssetOfInterest. It customizes the JSON unmarshaling process for AssetOfInterest objects.
type AssetRssiZone ¶
type AssetRssiZone struct { // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` Since *float64 `json:"since,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
AssetRssiZone represents a AssetRssiZone struct.
func (AssetRssiZone) MarshalJSON ¶
func (a AssetRssiZone) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AssetRssiZone. It customizes the JSON marshaling process for AssetRssiZone objects.
func (*AssetRssiZone) UnmarshalJSON ¶
func (a *AssetRssiZone) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AssetRssiZone. It customizes the JSON unmarshaling process for AssetRssiZone objects.
type AssetZone ¶
type AssetZone struct { // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` Since *float64 `json:"since,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
AssetZone represents a AssetZone struct.
func (AssetZone) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for AssetZone. It customizes the JSON marshaling process for AssetZone objects.
func (*AssetZone) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for AssetZone. It customizes the JSON unmarshaling process for AssetZone objects.
type AssetsImportFile ¶
type AssetsImportFile struct { // CSV file File *[]byte `json:"file,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
AssetsImportFile represents a AssetsImportFile struct.
func (AssetsImportFile) MarshalJSON ¶
func (a AssetsImportFile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AssetsImportFile. It customizes the JSON marshaling process for AssetsImportFile objects.
func (*AssetsImportFile) UnmarshalJSON ¶
func (a *AssetsImportFile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AssetsImportFile. It customizes the JSON unmarshaling process for AssetsImportFile objects.
type AuditLog ¶
type AuditLog struct { // ID of the administrator AdminId uuid.UUID `json:"admin_id"` AdminName string `json:"admin_name"` // field values after the change After *interface{} `json:"after,omitempty"` // field values prior to the change Before *interface{} `json:"before,omitempty"` ForSite *bool `json:"for_site,omitempty"` // Unique ID of the object instance in the Mist Organnization 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]interface{} `json:"_"` }
AuditLog represents a AuditLog struct.
func (AuditLog) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for AuditLog. It customizes the JSON marshaling process for AuditLog objects.
func (*AuditLog) 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]interface{} `json:"_"` }
AutoOrient represents a AutoOrient struct.
func (AutoOrient) MarshalJSON ¶
func (a AutoOrient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AutoOrient. It customizes the JSON marshaling process for AutoOrient objects.
func (*AutoOrient) 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. enum: `Enqueued`, `Not Started`, `Oriented`
const ( AutoOrientationStateEnum_ENQUEUED AutoOrientationStateEnum = "Enqueued" AutoOrientationStateEnum_ENUMNOTSTARTED AutoOrientationStateEnum = "Not Started" 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]interface{} `json:"_"` }
AutoPlacement represents a AutoPlacement struct.
func (AutoPlacement) MarshalJSON ¶
func (a AutoPlacement) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AutoPlacement. It customizes the JSON marshaling process for AutoPlacement objects.
func (*AutoPlacement) UnmarshalJSON ¶
func (a *AutoPlacement) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AutoPlacement. It customizes the JSON unmarshaling process for AutoPlacement objects.
type AutoPlacementInfoStatusEnum ¶
type AutoPlacementInfoStatusEnum string
AutoPlacementInfoStatusEnum is a string enum. the status of autoplacement for a given map. enum: `done`, `error`, `inprogress`, `pending`
const ( AutoPlacementInfoStatusEnum_DONE AutoPlacementInfoStatusEnum = "done" AutoPlacementInfoStatusEnum_ENUMERROR AutoPlacementInfoStatusEnum = "error" AutoPlacementInfoStatusEnum_INPROGRESS AutoPlacementInfoStatusEnum = "inprogress" AutoPlacementInfoStatusEnum_PENDING AutoPlacementInfoStatusEnum = "pending" )
type AutoPreemption ¶
type AutoPreemption struct { // enum: `any`, `fri`, `mon`, `sat`, `sun`, `thu`, `tue`, `wed` DayOfWeek *DayOfWeekEnum `json:"day_of_week,omitempty"` // whether auto preemption should happen Enabled *bool `json:"enabled,omitempty"` // any / HH:MM (24-hour format) TimeOfDay *string `json:"time_of_day,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
AutoPreemption represents a AutoPreemption struct. schedule to preempt ap’s which are not connected to preferred peer
func (AutoPreemption) MarshalJSON ¶
func (a AutoPreemption) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AutoPreemption. It customizes the JSON marshaling process for AutoPreemption objects.
func (*AutoPreemption) UnmarshalJSON ¶
func (a *AutoPreemption) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AutoPreemption. It customizes the JSON unmarshaling process for AutoPreemption objects.
type Avprofile ¶ added in v0.2.38
type Avprofile struct { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // enum: `block`, `permit` FallbackAction *AvprofileFallbackActionEnum `json:"fallback_action,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // in KB MexFilesize *int `json:"mex_filesize,omitempty"` MimeWhitelist []string `json:"mime_whitelist,omitempty"` ModifiedTime *float64 `json:"modified_time,omitempty"` Name string `json:"name"` OrgId *uuid.UUID `json:"org_id,omitempty"` Protocols []AvprofileProtocolsEnum `json:"protocols,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` UrlWhitelist []string `json:"url_whitelist,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Avprofile represents a Avprofile struct.
func (Avprofile) MarshalJSON ¶ added in v0.2.38
MarshalJSON implements the json.Marshaler interface for Avprofile. It customizes the JSON marshaling process for Avprofile objects.
func (*Avprofile) UnmarshalJSON ¶ added in v0.2.38
UnmarshalJSON implements the json.Unmarshaler interface for Avprofile. It customizes the JSON unmarshaling process for Avprofile objects.
type AvprofileFallbackActionEnum ¶ added in v0.2.38
type AvprofileFallbackActionEnum string
AvprofileFallbackActionEnum is a string enum. enum: `block`, `permit`
const ( AvprofileFallbackActionEnum_BLOCK AvprofileFallbackActionEnum = "block" AvprofileFallbackActionEnum_PERMIT AvprofileFallbackActionEnum = "permit" )
type AvprofileProtocolsEnum ¶ added in v0.2.38
type AvprofileProtocolsEnum string
AvprofileProtocolsEnum is a string enum. enum: `ftp`, `http`, `imap`, `pop3`, `smtp`
const ( AvprofileProtocolsEnum_FTP AvprofileProtocolsEnum = "ftp" AvprofileProtocolsEnum_HTTP AvprofileProtocolsEnum = "http" AvprofileProtocolsEnum_IMAP AvprofileProtocolsEnum = "imap" AvprofileProtocolsEnum_POP3 AvprofileProtocolsEnum = "pop3" AvprofileProtocolsEnum_SMTP AvprofileProtocolsEnum = "smtp" )
type Beacon ¶
type Beacon struct { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // Eddystone-UID instance (6 bytes) in hexstring format EddystoneInstance *string `json:"eddystone_instance,omitempty"` // Eddystone-UID namespace (10 bytes) in hexstring format EddystoneNamespace *string `json:"eddystone_namespace,omitempty"` // Eddystone-URL url EddystoneUrl *string `json:"eddystone_url,omitempty"` ForSite *bool `json:"for_site,omitempty"` // 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"` // Unique ID of the object instance in the Mist Organnization 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"` // enum: `eddystone-uid`, `eddystone-url`, `ibeacon` Type *BeaconTypeEnum `json:"type,omitempty"` // x in pixel X *float64 `json:"x,omitempty"` // y in pixel Y *float64 `json:"y,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Beacon represents a Beacon struct. Beacon
func (Beacon) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Beacon. It customizes the JSON marshaling process for Beacon objects.
func (*Beacon) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Beacon. It customizes the JSON unmarshaling process for Beacon objects.
type BeaconTypeEnum ¶
type BeaconTypeEnum string
BeaconTypeEnum is a string enum. enum: `eddystone-uid`, `eddystone-url`, `ibeacon`
const ( BeaconTypeEnum_EDDYSTONEUID BeaconTypeEnum = "eddystone-uid" BeaconTypeEnum_EDDYSTONEURL BeaconTypeEnum = "eddystone-url" BeaconTypeEnum_IBEACON BeaconTypeEnum = "ibeacon" )
type 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"` // 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"` // if `type`==`tunnel` TunnelName *string `json:"tunnel_name,omitempty"` // enum: `external`, `internal` Type *BgpConfigTypeEnum `json:"type,omitempty"` // network name. enum: `lan`, `tunnel`, `vpn`, `wan` Via *BgpConfigViaEnum `json:"via,omitempty"` VpnName *string `json:"vpn_name,omitempty"` // if `via`==`wan` WanName *string `json:"wan_name,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
BgpConfig represents a BgpConfig struct. BFD is enabled when either bfd_minimum_interval or bfd_multiplier is configured
func (BgpConfig) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for BgpConfig. It customizes the JSON marshaling process for BgpConfig objects.
func (*BgpConfig) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for BgpConfig. It customizes the JSON unmarshaling process for BgpConfig objects.
type BgpConfigNeighbors ¶
type BgpConfigNeighbors struct { // If true, the BGP session to this neighbor will be administratively disabled/shutdown Disabled *bool `json:"disabled,omitempty"` ExportPolicy *string `json:"export_policy,omitempty"` HoldTime *int `json:"hold_time,omitempty"` ImportPolicy *string `json:"import_policy,omitempty"` // assuming BGP neighbor is directly connected MultihopTtl *int `json:"multihop_ttl,omitempty"` NeighborAs *int `json:"neighbor_as,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
BgpConfigNeighbors represents a BgpConfigNeighbors struct.
func (BgpConfigNeighbors) MarshalJSON ¶
func (b BgpConfigNeighbors) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for BgpConfigNeighbors. It customizes the JSON marshaling process for BgpConfigNeighbors objects.
func (*BgpConfigNeighbors) 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. enum: `external`, `internal`
const ( BgpConfigTypeEnum_EXTERNAL BgpConfigTypeEnum = "external" BgpConfigTypeEnum_INTERNAL BgpConfigTypeEnum = "internal" )
type BgpConfigViaEnum ¶
type BgpConfigViaEnum string
BgpConfigViaEnum is a string enum. network name. enum: `lan`, `tunnel`, `vpn`, `wan`
const ( BgpConfigViaEnum_LAN BgpConfigViaEnum = "lan" BgpConfigViaEnum_TUNNEL BgpConfigViaEnum = "tunnel" 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"` Model *string `json:"model,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"` // enum: `active`, `connect`, `established`, `idle`, `open_config`, `open_sent` 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]interface{} `json:"_"` }
BgpStats represents a BgpStats struct.
func (BgpStats) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for BgpStats. It customizes the JSON marshaling process for BgpStats objects.
func (*BgpStats) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for BgpStats. It customizes the JSON unmarshaling process for BgpStats objects.
type BgpStatsStateEnum ¶
type BgpStatsStateEnum string
BgpStatsStateEnum is a string enum. enum: `active`, `connect`, `established`, `idle`, `open_config`, `open_sent`
const ( BgpStatsStateEnum_ACTIVE BgpStatsStateEnum = "active" BgpStatsStateEnum_CONNECT BgpStatsStateEnum = "connect" BgpStatsStateEnum_ESTABLISHED BgpStatsStateEnum = "established" BgpStatsStateEnum_IDLE BgpStatsStateEnum = "idle" BgpStatsStateEnum_OPENCONFIG BgpStatsStateEnum = "open_config" BgpStatsStateEnum_OPENSENT BgpStatsStateEnum = "open_sent" )
type BinaryStream ¶ added in v0.3.2
type BinaryStream struct { // file to updload File []byte `json:"file"` AdditionalProperties map[string]interface{} `json:"_"` }
BinaryStream represents a BinaryStream struct.
func (BinaryStream) MarshalJSON ¶ added in v0.3.2
func (b BinaryStream) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for BinaryStream. It customizes the JSON marshaling process for BinaryStream objects.
func (*BinaryStream) UnmarshalJSON ¶ added in v0.3.2
func (b *BinaryStream) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for BinaryStream. It customizes the JSON unmarshaling process for BinaryStream objects.
type BleConfig ¶
type BleConfig struct { // whether Mist beacons is enabled BeaconEnabled *bool `json:"beacon_enabled,omitempty"` // required if `beacon_rate_mode`==`custom`, 1-10, in number-beacons-per-second BeaconRate *int `json:"beacon_rate,omitempty"` // enum: `custom`, `default` BeaconRateMode *BleConfigBeaconRateModeEnum `json:"beacon_rate_mode,omitempty"` // list of AP BLE location beam numbers (1-8) which should be disabled at the AP and not transmit location information (where beam 1 is oriented at the top the AP, growing counter-clock-wise, with 9 being the omni BLE beam) BeamDisabled []int `json:"beam_disabled,omitempty"` // can be enabled if `beacon_enabled`==`true`, whether to send custom packet CustomBlePacketEnabled *bool `json:"custom_ble_packet_enabled,omitempty"` // The custom frame to be sent out in this beacon. The frame must be a hexstring CustomBlePacketFrame *string `json:"custom_ble_packet_frame,omitempty"` // Frequency (msec) of data emitted by custom ble beacon CustomBlePacketFreqMsec *int `json:"custom_ble_packet_freq_msec,omitempty"` // advertised TX Power, -100 to 20 (dBm), omit this attribute to use default EddystoneUidAdvPower *int `json:"eddystone_uid_adv_power,omitempty"` EddystoneUidBeams *string `json:"eddystone_uid_beams,omitempty"` // only if `beacon_enabled`==`false`, Whether Eddystone-UID beacon is enabled EddystoneUidEnabled *bool `json:"eddystone_uid_enabled,omitempty"` // Frequency (msec) of data 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`; else use `power_mode` as default Power *int `json:"power,omitempty"` // enum: `custom`, `default` PowerMode *BleConfigPowerModeEnum `json:"power_mode,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
BleConfig represents a BleConfig struct. BLE AP settings
func (BleConfig) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for BleConfig. It customizes the JSON marshaling process for BleConfig objects.
func (*BleConfig) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for BleConfig. It customizes the JSON unmarshaling process for BleConfig objects.
type BleConfigBeaconRateModeEnum ¶
type BleConfigBeaconRateModeEnum string
BleConfigBeaconRateModeEnum is a string enum. enum: `custom`, `default`
const ( BleConfigBeaconRateModeEnum_CUSTOM BleConfigBeaconRateModeEnum = "custom" BleConfigBeaconRateModeEnum_ENUMDEFAULT BleConfigBeaconRateModeEnum = "default" )
type BleConfigPowerModeEnum ¶
type BleConfigPowerModeEnum string
BleConfigPowerModeEnum is a string enum. enum: `custom`, `default`
const ( BleConfigPowerModeEnum_CUSTOM BleConfigPowerModeEnum = "custom" BleConfigPowerModeEnum_ENUMDEFAULT BleConfigPowerModeEnum = "default" )
type CallTroubleshoot ¶
type CallTroubleshoot struct { Mac *string `json:"mac,omitempty"` MeetingId *uuid.UUID `json:"meeting_id,omitempty"` Results []TroubleshootCallItem `json:"results,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
CallTroubleshoot represents a CallTroubleshoot struct.
func (CallTroubleshoot) MarshalJSON ¶
func (c CallTroubleshoot) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CallTroubleshoot. It customizes the JSON marshaling process for CallTroubleshoot objects.
func (*CallTroubleshoot) 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]interface{} `json:"_"` }
CallTroubleshootData represents a CallTroubleshootData struct.
func (CallTroubleshootData) MarshalJSON ¶
func (c CallTroubleshootData) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CallTroubleshootData. It customizes the JSON marshaling process for CallTroubleshootData objects.
func (*CallTroubleshootData) 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]interface{} `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]interface{} `json:"_"` }
CallTroubleshootSummary represents a CallTroubleshootSummary struct.
func (CallTroubleshootSummary) MarshalJSON ¶
func (c CallTroubleshootSummary) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CallTroubleshootSummary. It customizes the JSON marshaling process for CallTroubleshootSummary objects.
func (*CallTroubleshootSummary) 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]interface{} `json:"_"` }
CallTroubleshootSummaryData represents a CallTroubleshootSummaryData struct.
func (CallTroubleshootSummaryData) MarshalJSON ¶
func (c CallTroubleshootSummaryData) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CallTroubleshootSummaryData. It customizes the JSON marshaling process for CallTroubleshootSummaryData objects.
func (*CallTroubleshootSummaryData) 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"` // enum: `client` Type string `json:"type"` AdditionalProperties map[string]interface{} `json:"_"` }
CaptureClient represents a CaptureClient struct. Initiate a Client Packet Capture
func (CaptureClient) MarshalJSON ¶
func (c CaptureClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureClient. It customizes the JSON marshaling process for CaptureClient objects.
func (*CaptureClient) UnmarshalJSON ¶
func (c *CaptureClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureClient. It customizes the JSON unmarshaling process for CaptureClient objects.
type CaptureClientTypeEnum ¶ added in v0.2.38
type CaptureClientTypeEnum string
CaptureClientTypeEnum is a string enum. enum: `client`
const (
CaptureClientTypeEnum_CLIENT CaptureClientTypeEnum = "client"
)
type CaptureGateway ¶
type CaptureGateway struct { // duration of the capture, in seconds Duration *int `json:"duration,omitempty"` // enum: `stream` Format *CaptureGatewayFormatEnum `json:"format,omitempty"` // List of SSRs. Property key is the SSR MAC Gateways map[string]CaptureGatewayGateways `json:"gateways"` // 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"` // Property key is the port ID Ports map[string]CaptureGatewayGatewaysPort `json:"ports,omitempty"` // enum: `gateway` Type string `json:"type"` AdditionalProperties map[string]interface{} `json:"_"` }
CaptureGateway represents a CaptureGateway struct. Initiate a Gateway (SSR) 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. enum: `stream`
const (
CaptureGatewayFormatEnum_STREAM CaptureGatewayFormatEnum = "stream"
)
type CaptureGatewayGateways ¶
type CaptureGatewayGateways struct { // Property key is the port ID Ports map[string]CaptureGatewayGatewaysPort `json:"ports,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
CaptureGatewayGateways represents a CaptureGatewayGateways struct.
func (CaptureGatewayGateways) MarshalJSON ¶
func (c CaptureGatewayGateways) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureGatewayGateways. It customizes the JSON marshaling process for CaptureGatewayGateways objects.
func (*CaptureGatewayGateways) UnmarshalJSON ¶
func (c *CaptureGatewayGateways) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureGatewayGateways. It customizes the JSON unmarshaling process for CaptureGatewayGateways objects.
type CaptureGatewayGatewaysPort ¶
type CaptureGatewayGatewaysPort struct { // tcpdump expression per port TcpdumpExpression *string `json:"tcpdump_expression,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
CaptureGatewayGatewaysPort represents a CaptureGatewayGatewaysPort struct.
func (CaptureGatewayGatewaysPort) MarshalJSON ¶
func (c CaptureGatewayGatewaysPort) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureGatewayGatewaysPort. It customizes the JSON marshaling process for CaptureGatewayGatewaysPort objects.
func (*CaptureGatewayGatewaysPort) UnmarshalJSON ¶
func (c *CaptureGatewayGatewaysPort) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureGatewayGatewaysPort. It customizes the JSON unmarshaling process for CaptureGatewayGatewaysPort objects.
type CaptureGatewayTypeEnum ¶ added in v0.2.38
type CaptureGatewayTypeEnum string
CaptureGatewayTypeEnum is a string enum. enum: `gateway`
const (
CaptureGatewayTypeEnum_GATEWAY CaptureGatewayTypeEnum = "gateway"
)
type CaptureMxedge ¶
type CaptureMxedge struct { // duration of the capture, in seconds Duration *int `json:"duration,omitempty"` // pcap format. enum: // * `stream`: to Mist cloud // * `tzsp`: tream packets (over UDP as TZSP packets) to a remote host (typically running Wireshark) Format *CaptureMxedgeFormatEnum `json:"format,omitempty"` // max_len of each packet to capture MaxPktLen *int `json:"max_pkt_len,omitempty"` Mxedges map[string]CaptureMxedgeMxedges `json:"mxedges,omitempty"` // number of packets to capture, 0 for unlimited NumPackets *int `json:"num_packets,omitempty"` // enum: `mxedge` Type string `json:"type"` // Required if `format`==`tzsp`. Remote host accessible to mxedges over the network for receiving the captured packets. TzspHost *string `json:"tzsp_host,omitempty"` // if `format`==`tzsp`. Port on remote host for receiving the captured packets TzspPort *int `json:"tzsp_port,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
CaptureMxedge represents a CaptureMxedge struct. Initiate a Wireless Packet Capture
func (CaptureMxedge) MarshalJSON ¶
func (c CaptureMxedge) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureMxedge. It customizes the JSON marshaling process for CaptureMxedge objects.
func (*CaptureMxedge) UnmarshalJSON ¶
func (c *CaptureMxedge) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureMxedge. It customizes the JSON unmarshaling process for CaptureMxedge objects.
type CaptureMxedgeFormatEnum ¶
type CaptureMxedgeFormatEnum string
CaptureMxedgeFormatEnum is a string enum. pcap format. enum: * `stream`: to Mist cloud * `tzsp`: tream packets (over UDP as TZSP packets) to a remote host (typically running Wireshark)
const ( CaptureMxedgeFormatEnum_STREAM CaptureMxedgeFormatEnum = "stream" CaptureMxedgeFormatEnum_TZSP CaptureMxedgeFormatEnum = "tzsp" )
type CaptureMxedgeMxedges ¶
type CaptureMxedgeMxedges struct { Interfaces map[string]CaptureMxedgeMxedgesInterfaces `json:"interfaces,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
CaptureMxedgeMxedges represents a CaptureMxedgeMxedges struct. Property key is the Mx Edge ID, currently limited to one mxedge per org capture session
func (CaptureMxedgeMxedges) MarshalJSON ¶
func (c CaptureMxedgeMxedges) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureMxedgeMxedges. It customizes the JSON marshaling process for CaptureMxedgeMxedges objects.
func (*CaptureMxedgeMxedges) UnmarshalJSON ¶
func (c *CaptureMxedgeMxedges) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureMxedgeMxedges. It customizes the JSON unmarshaling process for CaptureMxedgeMxedges objects.
type CaptureMxedgeMxedgesInterfaces ¶
type CaptureMxedgeMxedgesInterfaces struct { // tcpdump expression common for wired,radiotap TcpdumpExpression *string `json:"tcpdump_expression,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
CaptureMxedgeMxedgesInterfaces represents a CaptureMxedgeMxedgesInterfaces struct. Property key is the Port name (e.g. "port1", "kni0", "lacp0", "ipsec", "drop", "oobm"), currently limited to specifying one interface per mxedge
func (CaptureMxedgeMxedgesInterfaces) MarshalJSON ¶
func (c CaptureMxedgeMxedgesInterfaces) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureMxedgeMxedgesInterfaces. It customizes the JSON marshaling process for CaptureMxedgeMxedgesInterfaces objects.
func (*CaptureMxedgeMxedgesInterfaces) UnmarshalJSON ¶
func (c *CaptureMxedgeMxedgesInterfaces) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureMxedgeMxedgesInterfaces. It customizes the JSON unmarshaling process for CaptureMxedgeMxedgesInterfaces objects.
type CaptureMxedgeTypeEnum ¶ added in v0.2.38
type CaptureMxedgeTypeEnum string
CaptureMxedgeTypeEnum is a string enum. enum: `mxedge`
const (
CaptureMxedgeTypeEnum_MXEDGE CaptureMxedgeTypeEnum = "mxedge"
)
type CaptureNewAssoc ¶
type CaptureNewAssoc struct { ApMac *string `json:"ap_mac,omitempty"` // client mac, required if `type`==`client`; optional otherwise ClientMac *string `json:"client_mac,omitempty"` // duration of the capture, in seconds Duration *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"` // enum: `new_assoc` Type string `json:"type"` AdditionalProperties map[string]interface{} `json:"_"` }
CaptureNewAssoc represents a CaptureNewAssoc struct. Initiate a packet Capture for New Wireless Client Associations
func (CaptureNewAssoc) MarshalJSON ¶
func (c CaptureNewAssoc) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureNewAssoc. It customizes the JSON marshaling process for CaptureNewAssoc objects.
func (*CaptureNewAssoc) UnmarshalJSON ¶
func (c *CaptureNewAssoc) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureNewAssoc. It customizes the JSON unmarshaling process for CaptureNewAssoc objects.
type CaptureNewAssocTypeEnum ¶ added in v0.2.38
type CaptureNewAssocTypeEnum string
CaptureNewAssocTypeEnum is a string enum. enum: `new_assoc`
const (
CaptureNewAssocTypeEnum_NEWASSOC CaptureNewAssocTypeEnum = "new_assoc"
)
type CaptureOrg ¶
type CaptureOrg struct {
// contains filtered or unexported fields
}
CaptureOrg represents a CaptureOrg struct.
func (*CaptureOrg) AsCaptureMxedge ¶
func (c *CaptureOrg) AsCaptureMxedge() ( *CaptureMxedge, bool)
func (CaptureOrg) MarshalJSON ¶
func (c CaptureOrg) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureOrg. It customizes the JSON marshaling process for CaptureOrg objects.
func (CaptureOrg) String ¶
func (c CaptureOrg) String() string
String 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"` // enum: `24`, `24,5,6`, `5`, `6` Band *CaptureRadiotapBandEnum `json:"band,omitempty"` ClientMac *string `json:"client_mac,omitempty"` // duration of the capture, in seconds Duration *int `json:"duration,omitempty"` // enum: `pcap`, `stream` 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"` // enum: `radiotap` Type string `json:"type"` // wlan id associated with the respective ssid. WlanId *uuid.UUID `json:"wlan_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
CaptureRadiotap represents a CaptureRadiotap struct. Initiate a Radiotap Packet Capture
func (CaptureRadiotap) MarshalJSON ¶
func (c CaptureRadiotap) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureRadiotap. It customizes the JSON marshaling process for CaptureRadiotap objects.
func (*CaptureRadiotap) UnmarshalJSON ¶
func (c *CaptureRadiotap) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureRadiotap. It customizes the JSON unmarshaling process for CaptureRadiotap objects.
type CaptureRadiotapBandEnum ¶
type CaptureRadiotapBandEnum string
CaptureRadiotapBandEnum is a string enum. enum: `24`, `24,5,6`, `5`, `6`
const ( CaptureRadiotapBandEnum_ENUM24 CaptureRadiotapBandEnum = "24" CaptureRadiotapBandEnum_ENUM2456 CaptureRadiotapBandEnum = "24,5,6" CaptureRadiotapBandEnum_ENUM5 CaptureRadiotapBandEnum = "5" CaptureRadiotapBandEnum_ENUM6 CaptureRadiotapBandEnum = "6" )
type CaptureRadiotapFormatEnum ¶
type CaptureRadiotapFormatEnum string
CaptureRadiotapFormatEnum is a string enum. enum: `pcap`, `stream`
const ( CaptureRadiotapFormatEnum_PCAP CaptureRadiotapFormatEnum = "pcap" CaptureRadiotapFormatEnum_STREAM CaptureRadiotapFormatEnum = "stream" )
type CaptureRadiotapTypeEnum ¶ added in v0.2.38
type CaptureRadiotapTypeEnum string
CaptureRadiotapTypeEnum is a string enum. enum: `radiotap`
const (
CaptureRadiotapTypeEnum_RADIOTAP CaptureRadiotapTypeEnum = "radiotap"
)
type CaptureRadiotapwired ¶
type CaptureRadiotapwired struct { ApMac Optional[string] `json:"ap_mac"` // only used for radiotap. enum: `24`, `24,5,6`, `5`, `6` Band *CaptureRadiotapwiredBandEnum `json:"band,omitempty"` ClientMac Optional[string] `json:"client_mac"` // duration of the capture, in seconds Duration *int `json:"duration,omitempty"` // enum: `pcap`, `stream` 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"` // enum: `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]interface{} `json:"_"` }
CaptureRadiotapwired represents a CaptureRadiotapwired struct. Initiate a Radiotap Packet Capture and Wired Packet Capture
func (CaptureRadiotapwired) MarshalJSON ¶
func (c CaptureRadiotapwired) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureRadiotapwired. It customizes the JSON marshaling process for CaptureRadiotapwired objects.
func (*CaptureRadiotapwired) UnmarshalJSON ¶
func (c *CaptureRadiotapwired) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureRadiotapwired. It customizes the JSON unmarshaling process for CaptureRadiotapwired objects.
type CaptureRadiotapwiredBandEnum ¶
type CaptureRadiotapwiredBandEnum string
CaptureRadiotapwiredBandEnum is a string enum. only used for radiotap. enum: `24`, `24,5,6`, `5`, `6`
const ( CaptureRadiotapwiredBandEnum_ENUM24 CaptureRadiotapwiredBandEnum = "24" CaptureRadiotapwiredBandEnum_ENUM2456 CaptureRadiotapwiredBandEnum = "24,5,6" CaptureRadiotapwiredBandEnum_ENUM5 CaptureRadiotapwiredBandEnum = "5" CaptureRadiotapwiredBandEnum_ENUM6 CaptureRadiotapwiredBandEnum = "6" )
type CaptureRadiotapwiredFormatEnum ¶
type CaptureRadiotapwiredFormatEnum string
CaptureRadiotapwiredFormatEnum is a string enum. enum: `pcap`, `stream`
const ( CaptureRadiotapwiredFormatEnum_PCAP CaptureRadiotapwiredFormatEnum = "pcap" CaptureRadiotapwiredFormatEnum_STREAM CaptureRadiotapwiredFormatEnum = "stream" )
type CaptureRadiotapwiredTypeEnum ¶ added in v0.2.38
type CaptureRadiotapwiredTypeEnum string
CaptureRadiotapwiredTypeEnum is a string enum. enum: `radiotap,wired`
const (
CaptureRadiotapwiredTypeEnum_ENUMRADIOTAPWIRED CaptureRadiotapwiredTypeEnum = "radiotap,wired"
)
type CaptureScan ¶
type CaptureScan struct { // filter by ap_mac ApMac Optional[string] `json:"ap_mac"` // dictionary key is AP mac and value is a dictionary which contains key “band”, “bandwidth”, “channel” and “tcpdump_expression”. In case keys are missed we will take parent value if parent values are not set we will use default value Aps map[string]CaptureScanAps `json:"aps,omitempty"` // Only Single value allowed, default value gets applied when user provides wrong values. enum: `24`, `5`, `6` Band Optional[CaptureScanBandEnum] `json:"band"` // channel width for the band.enum: `20`, `40`, `80` (only applicable for band_5 and band_6), `160` (only for band_6) Bandwidth *Dot11BandwidthEnum `json:"bandwidth,omitempty"` // specify the channel value where scan PCAP has to be started, default value gets applied when user provides wrong values Channel *int `json:"channel,omitempty"` // filter by client mac ClientMac Optional[string] `json:"client_mac"` // duration of the capture, in seconds Duration *int `json:"duration,omitempty"` // enum: `pcap`, `stream` 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"` // enum: `scan` Type string `json:"type"` // specify the bandwidth value with respect to the channel. Width *string `json:"width,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
CaptureScan represents a CaptureScan struct. Initiate a Scan Radio Packet Capture
func (CaptureScan) MarshalJSON ¶
func (c CaptureScan) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureScan. It customizes the JSON marshaling process for CaptureScan objects.
func (*CaptureScan) UnmarshalJSON ¶
func (c *CaptureScan) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureScan. It customizes the JSON unmarshaling process for CaptureScan objects.
type CaptureScanAps ¶
type CaptureScanAps struct { // Only Single value allowed. enum: `24`, `5`, `6` Band *CaptureScanApsBandEnum `json:"band,omitempty"` // specify the channel value where scan PCAP has to be started Channel *string `json:"channel,omitempty"` // tcpdump expression, port specific if specified under ports dict, otherwise applicable across ports if specified at top level of payload. Port specific value overrides top level value when both exist. TcpdumpExpression *string `json:"tcpdump_expression,omitempty"` // specify the bandwidth value with respect to the channel. Width *string `json:"width,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
CaptureScanAps represents a CaptureScanAps struct. Property key is the AP MAC address (e.g. "5c5b35000001"). All optionals, parent parameters will be used if not defined
func (CaptureScanAps) MarshalJSON ¶
func (c CaptureScanAps) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureScanAps. It customizes the JSON marshaling process for CaptureScanAps objects.
func (*CaptureScanAps) UnmarshalJSON ¶
func (c *CaptureScanAps) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureScanAps. It customizes the JSON unmarshaling process for CaptureScanAps objects.
type CaptureScanApsBandEnum ¶
type CaptureScanApsBandEnum string
CaptureScanApsBandEnum is a string enum. Only Single value allowed. enum: `24`, `5`, `6`
const ( CaptureScanApsBandEnum_ENUM24 CaptureScanApsBandEnum = "24" CaptureScanApsBandEnum_ENUM5 CaptureScanApsBandEnum = "5" CaptureScanApsBandEnum_ENUM6 CaptureScanApsBandEnum = "6" )
type CaptureScanBandEnum ¶
type CaptureScanBandEnum string
CaptureScanBandEnum is a string enum. Only Single value allowed, default value gets applied when user provides wrong values. enum: `24`, `5`, `6`
const ( CaptureScanBandEnum_ENUM24 CaptureScanBandEnum = "24" CaptureScanBandEnum_ENUM5 CaptureScanBandEnum = "5" CaptureScanBandEnum_ENUM6 CaptureScanBandEnum = "6" )
type CaptureScanFormatEnum ¶
type CaptureScanFormatEnum string
CaptureScanFormatEnum is a string enum. enum: `pcap`, `stream`
const ( CaptureScanFormatEnum_PCAP CaptureScanFormatEnum = "pcap" CaptureScanFormatEnum_STREAM CaptureScanFormatEnum = "stream" )
type CaptureScanTypeEnum ¶ added in v0.2.38
type CaptureScanTypeEnum string
CaptureScanTypeEnum is a string enum. enum: `scan`
const (
CaptureScanTypeEnum_SCAN CaptureScanTypeEnum = "scan"
)
type CaptureSite ¶
type CaptureSite struct {
// contains filtered or unexported fields
}
CaptureSite represents a CaptureSite struct.
func (*CaptureSite) AsCaptureClient ¶
func (c *CaptureSite) AsCaptureClient() ( *CaptureClient, bool)
func (*CaptureSite) AsCaptureGateway ¶
func (c *CaptureSite) AsCaptureGateway() ( *CaptureGateway, bool)
func (*CaptureSite) AsCaptureNewAssoc ¶
func (c *CaptureSite) AsCaptureNewAssoc() ( *CaptureNewAssoc, bool)
func (*CaptureSite) AsCaptureRadiotap ¶
func (c *CaptureSite) AsCaptureRadiotap() ( *CaptureRadiotap, bool)
func (*CaptureSite) AsCaptureRadiotapwired ¶
func (c *CaptureSite) AsCaptureRadiotapwired() ( *CaptureRadiotapwired, bool)
func (*CaptureSite) AsCaptureScan ¶
func (c *CaptureSite) AsCaptureScan() ( *CaptureScan, bool)
func (*CaptureSite) AsCaptureSwitch ¶
func (c *CaptureSite) AsCaptureSwitch() ( *CaptureSwitch, bool)
func (*CaptureSite) AsCaptureWired ¶
func (c *CaptureSite) AsCaptureWired() ( *CaptureWired, bool)
func (*CaptureSite) AsCaptureWireless ¶
func (c *CaptureSite) AsCaptureWireless() ( *CaptureWireless, bool)
func (CaptureSite) MarshalJSON ¶
func (c CaptureSite) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureSite. It customizes the JSON marshaling process for CaptureSite objects.
func (CaptureSite) String ¶
func (c CaptureSite) String() string
String 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"` // enum: `stream` 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"` // Property key is the port name. 6 ports max per switch supported, or 5 max with irb port auto-included into capture request Ports map[string]CaptureSwitchPortsTcpdumpExpression `json:"ports,omitempty"` // Property key is the switch mac Switches map[string]CaptureSwitchSwitches `json:"switches"` // tcpdump expression, port specific if specified under ports dict, otherwise applicable across ports if specified at top level of payload. Port specific value overrides top level value when both exist. TcpdumpExpression *string `json:"tcpdump_expression,omitempty"` // enum: `switch` Type string `json:"type"` AdditionalProperties map[string]interface{} `json:"_"` }
CaptureSwitch represents a CaptureSwitch struct. Initiate a Switch (Junos) Packet Capture
func (CaptureSwitch) MarshalJSON ¶
func (c CaptureSwitch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureSwitch. It customizes the JSON marshaling process for CaptureSwitch objects.
func (*CaptureSwitch) UnmarshalJSON ¶
func (c *CaptureSwitch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureSwitch. It customizes the JSON unmarshaling process for CaptureSwitch objects.
type CaptureSwitchFormatEnum ¶
type CaptureSwitchFormatEnum string
CaptureSwitchFormatEnum is a string enum. enum: `stream`
const (
CaptureSwitchFormatEnum_STREAM CaptureSwitchFormatEnum = "stream"
)
type CaptureSwitchPortsTcpdumpExpression ¶ added in v0.2.38
type CaptureSwitchPortsTcpdumpExpression struct { // tcpdump expression, port specific if specified under ports dict, otherwise applicable across ports if specified at top level of payload. Port specific value overrides top level value when both exist. TcpdumpExpression *string `json:"tcpdump_expression,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
CaptureSwitchPortsTcpdumpExpression represents a CaptureSwitchPortsTcpdumpExpression struct.
func (CaptureSwitchPortsTcpdumpExpression) MarshalJSON ¶ added in v0.2.38
func (c CaptureSwitchPortsTcpdumpExpression) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureSwitchPortsTcpdumpExpression. It customizes the JSON marshaling process for CaptureSwitchPortsTcpdumpExpression objects.
func (*CaptureSwitchPortsTcpdumpExpression) UnmarshalJSON ¶ added in v0.2.38
func (c *CaptureSwitchPortsTcpdumpExpression) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureSwitchPortsTcpdumpExpression. It customizes the JSON unmarshaling process for CaptureSwitchPortsTcpdumpExpression objects.
type CaptureSwitchSwitches ¶
type CaptureSwitchSwitches struct { // Property key is the port name. 6 ports max per switch supported, or 5 max with irb port auto-included into capture request Ports map[string]CaptureSwitchPortsTcpdumpExpression `json:"ports,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
CaptureSwitchSwitches represents a CaptureSwitchSwitches struct.
func (CaptureSwitchSwitches) MarshalJSON ¶
func (c CaptureSwitchSwitches) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureSwitchSwitches. It customizes the JSON marshaling process for CaptureSwitchSwitches objects.
func (*CaptureSwitchSwitches) UnmarshalJSON ¶
func (c *CaptureSwitchSwitches) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureSwitchSwitches. It customizes the JSON unmarshaling process for CaptureSwitchSwitches objects.
type CaptureSwitchTypeEnum ¶ added in v0.2.38
type CaptureSwitchTypeEnum string
CaptureSwitchTypeEnum is a string enum. enum: `switch`
const (
CaptureSwitchTypeEnum_ENUMSWITCH CaptureSwitchTypeEnum = "switch"
)
type CaptureWired ¶
type CaptureWired struct { ApMac Optional[string] `json:"ap_mac"` // duration of the capture, in seconds Duration *int `json:"duration,omitempty"` // pcap format. enum: `pcap`, `stream` 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"` // enum: `wired` Type string `json:"type"` AdditionalProperties map[string]interface{} `json:"_"` }
CaptureWired represents a CaptureWired struct. Initiate a Wired Packet Capture
func (CaptureWired) MarshalJSON ¶
func (c CaptureWired) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureWired. It customizes the JSON marshaling process for CaptureWired objects.
func (*CaptureWired) UnmarshalJSON ¶
func (c *CaptureWired) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureWired. It customizes the JSON unmarshaling process for CaptureWired objects.
type CaptureWiredFormatEnum ¶
type CaptureWiredFormatEnum string
CaptureWiredFormatEnum is a string enum. pcap format. enum: `pcap`, `stream`
const ( CaptureWiredFormatEnum_PCAP CaptureWiredFormatEnum = "pcap" CaptureWiredFormatEnum_STREAM CaptureWiredFormatEnum = "stream" )
type CaptureWiredTypeEnum ¶ added in v0.2.38
type CaptureWiredTypeEnum string
CaptureWiredTypeEnum is a string enum. enum: `wired`
const (
CaptureWiredTypeEnum_WIRED CaptureWiredTypeEnum = "wired"
)
type CaptureWireless ¶
type CaptureWireless struct { ApMac Optional[string] `json:"ap_mac"` // enum: `24`, `24,5,6`, `5`, `6` Band *CaptureWirelessBandEnum `json:"band,omitempty"` // duration of the capture, in seconds Duration *int `json:"duration,omitempty"` // pcap format. enum: `pcap`, `stream` 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"` // enum: `wireless` Type string `json:"type"` // WLAN ID WlanId *uuid.UUID `json:"wlan_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
CaptureWireless represents a CaptureWireless struct. Initiate a Wireless Packet Capture
func (CaptureWireless) MarshalJSON ¶
func (c CaptureWireless) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CaptureWireless. It customizes the JSON marshaling process for CaptureWireless objects.
func (*CaptureWireless) UnmarshalJSON ¶
func (c *CaptureWireless) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CaptureWireless. It customizes the JSON unmarshaling process for CaptureWireless objects.
type CaptureWirelessBandEnum ¶
type CaptureWirelessBandEnum string
CaptureWirelessBandEnum is a string enum. enum: `24`, `24,5,6`, `5`, `6`
const ( CaptureWirelessBandEnum_ENUM24 CaptureWirelessBandEnum = "24" CaptureWirelessBandEnum_ENUM2456 CaptureWirelessBandEnum = "24,5,6" CaptureWirelessBandEnum_ENUM5 CaptureWirelessBandEnum = "5" CaptureWirelessBandEnum_ENUM6 CaptureWirelessBandEnum = "6" )
type CaptureWirelessFormatEnum ¶
type CaptureWirelessFormatEnum string
CaptureWirelessFormatEnum is a string enum. pcap format. enum: `pcap`, `stream`
const ( CaptureWirelessFormatEnum_PCAP CaptureWirelessFormatEnum = "pcap" CaptureWirelessFormatEnum_STREAM CaptureWirelessFormatEnum = "stream" )
type CaptureWirelessTypeEnum ¶ added in v0.2.38
type CaptureWirelessTypeEnum string
CaptureWirelessTypeEnum is a string enum. enum: `wireless`
const (
CaptureWirelessTypeEnum_WIRELESS CaptureWirelessTypeEnum = "wireless"
)
type ClaimActivation ¶
type ClaimActivation struct { // whether to do a async claim process Async *bool `json:"async,omitempty"` // activation code Code string `json:"code"` // enum: `ap`, `gateway`, `switch` DeviceType *DeviceTypeEnum `json:"device_type,omitempty"` // what to claim. enum: `all`, `inventory`, `license` Type ClaimTypeEnum `json:"type"` AdditionalProperties map[string]interface{} `json:"_"` }
ClaimActivation represents a ClaimActivation struct.
func (ClaimActivation) MarshalJSON ¶
func (c ClaimActivation) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ClaimActivation. It customizes the JSON marshaling process for ClaimActivation objects.
func (*ClaimActivation) UnmarshalJSON ¶
func (c *ClaimActivation) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ClaimActivation. It customizes the JSON unmarshaling process for ClaimActivation objects.
type ClaimTypeEnum ¶
type ClaimTypeEnum string
ClaimTypeEnum is a string enum. what to claim. enum: `all`, `inventory`, `license`
const ( ClaimTypeEnum_ALL ClaimTypeEnum = "all" ClaimTypeEnum_INVENTORY ClaimTypeEnum = "inventory" ClaimTypeEnum_LICENSE ClaimTypeEnum = "license" )
type ClientCertSerialNumbers ¶ added in v0.2.38
type ClientCertSerialNumbers struct { SerialNumbers []string `json:"serial_numbers,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ClientCertSerialNumbers represents a ClientCertSerialNumbers struct.
func (ClientCertSerialNumbers) MarshalJSON ¶ added in v0.2.38
func (c ClientCertSerialNumbers) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ClientCertSerialNumbers. It customizes the JSON marshaling process for ClientCertSerialNumbers objects.
func (*ClientCertSerialNumbers) UnmarshalJSON ¶ added in v0.2.38
func (c *ClientCertSerialNumbers) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ClientCertSerialNumbers. It customizes the JSON unmarshaling process for ClientCertSerialNumbers objects.
type ClientNac ¶
type ClientNac struct { Ap []string `json:"ap,omitempty"` // Type of authentication used by the client AuthType *string `json:"auth_type,omitempty"` CertCn []string `json:"cert_cn,omitempty"` CertIssuer []string `json:"cert_issuer,omitempty"` CertSerial []string `json:"cert_serial,omitempty"` CertSubject []string `json:"cert_subject,omitempty"` ClientIp []string `json:"client_ip,omitempty"` DeviceMac *string `json:"device_mac,omitempty"` Group *string `json:"group,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"` LastCertSerial *string `json:"last_cert_serial,omitempty"` LastCertSubject *string `json:"last_cert_subject,omitempty"` LastClientIp *string `json:"last_client_ip,omitempty"` LastNacruleId *string `json:"last_nacrule_id,omitempty"` LastNacruleName *string `json:"last_nacrule_name,omitempty"` LastNasVendor *string `json:"last_nas_vendor,omitempty"` LastPortId *string `json:"last_port_id,omitempty"` LastSsid *string `json:"last_ssid,omitempty"` LastStatus *string `json:"last_status,omitempty"` LastUsername *string `json:"last_username,omitempty"` LastVlan *string `json:"last_vlan,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"` PortId []string `json:"port_id,omitempty"` // whether the client is using randomized MAC Address or not RandomMac *bool `json:"random_mac,omitempty"` RespAttr []string `json:"resp_attr,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` Ssid []string `json:"ssid,omitempty"` Timestamp *float64 `json:"timestamp,omitempty"` // Type of client (wired, wireless) Type *string `json:"type,omitempty"` // List of usernames that have been assigned to the client Username []string `json:"username,omitempty"` // List of vlans that have been assigned to the client Vlan []string `json:"vlan,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ClientNac represents a ClientNac struct.
func (ClientNac) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for ClientNac. It customizes the JSON marshaling process for ClientNac objects.
func (*ClientNac) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for ClientNac. It customizes the JSON unmarshaling process for ClientNac objects.
type ClientWireless ¶
type ClientWireless struct { // List of AP MAC Addresses the client was connected to Ap []string `json:"ap,omitempty"` // only when client has the Marvis Client app running. List of the versions of the Marvis Client AppVersion []string `json:"app_version,omitempty"` // Wi-Fi Radio band Band *string `json:"band,omitempty"` // only when client has the Marvis Client app running. List of the type of device type detected Device []string `json:"device,omitempty"` Ftc *bool `json:"ftc,omitempty"` // only when client has the Marvis Client app running. Type of Wi-Fi adapter Hardware *string `json:"hardware,omitempty"` // list of hostname detected for this client Hostname []string `json:"hostname,omitempty"` // list if the ip addresses detected for this client Ip []string `json:"ip,omitempty"` // latest AP where the client is/was connected to LastAp *string `json:"last_ap,omitempty"` // latest type of device we identified (e.g. iPhone, Mac, …) LastDevice *string `json:"last_device,omitempty"` // only when client has the Marvis Client app running. Same as "firmware" LastFirmware *string `json:"last_firmware,omitempty"` // latest hostname we detected for the client LastHostname *string `json:"last_hostname,omitempty"` // latest ip address we detected for the client LastIp *string `json:"last_ip,omitempty"` // only when client has the Marvis Client app running. latest client hardware model we detected for the client LastModel *string `json:"last_model,omitempty"` // only when client has the Marvis Client app running. Latest version of OS Type we detected for the client LastOs *string `json:"last_os,omitempty"` // only when client has the Marvis Client app running. Latest version of OS Version we detected for the client LastOsVersion *string `json:"last_os_version,omitempty"` // only for PPSK authentication. Latest PPSK ID used by the client LastPskId *uuid.UUID `json:"last_psk_id,omitempty"` // only for PPSK authentication. Latest PPSK Name used by the client LastPskName *string `json:"last_psk_name,omitempty"` // Name of the latest SSID (WLAN) the client is/was connected to client LastSsid *string `json:"last_ssid,omitempty"` // only for 802.1X authentication. 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"` OrgId *uuid.UUID `json:"org_id,omitempty"` // only when client is having the Marvis Client app running. List of OS detected for the client Os []string `json:"os,omitempty"` // only when client is having the Marvis Client app running. List of OS version detected for the client OsVersion []string `json:"os_version,omitempty"` // 802.11 amendment Protocol *string `json:"protocol,omitempty"` // list of IDs of the PPSK used by the client PskId []uuid.UUID `json:"psk_id,omitempty"` // list of names of the PPSK used by the client PskName []string `json:"psk_name,omitempty"` // whether the client is using randomized MAC Address or not RandomMac *bool `json:"random_mac,omitempty"` // only when client has the Marvis Client app running. List of Marvis Client SDK version detected for the client SdkVersion []string `json:"sdk_version,omitempty"` // Mist Site ID where the client is connected SiteId *uuid.UUID `json:"site_id,omitempty"` // list of Mist Site IDs where the client was connected SiteIds []uuid.UUID `json:"site_ids,omitempty"` // list of the WLAN names the client was connected to Ssid []string `json:"ssid,omitempty"` // when the data has been updated Timestamp *float64 `json:"timestamp,omitempty"` // only for 802.1X authentication. List of usernames used by the client Username []string `json:"username,omitempty"` // list of vlans that have been assigned to the client Vlan []int `json:"vlan,omitempty"` // list of IDs of WLANs the client was connected to WlanId []uuid.UUID `json:"wlan_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ClientWireless represents a ClientWireless struct.
func (ClientWireless) MarshalJSON ¶
func (c ClientWireless) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ClientWireless. It customizes the JSON marshaling process for ClientWireless objects.
func (*ClientWireless) UnmarshalJSON ¶
func (c *ClientWireless) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ClientWireless. It customizes the JSON unmarshaling process for ClientWireless objects.
type CoaServer ¶
type CoaServer struct { // whether to disable Event-Timestamp Check DisableEventTimestampCheck *bool `json:"disable_event_timestamp_check,omitempty"` Enabled *bool `json:"enabled,omitempty"` Ip string `json:"ip"` Port *int `json:"port,omitempty"` Secret string `json:"secret"` AdditionalProperties map[string]interface{} `json:"_"` }
CoaServer represents a CoaServer struct. CoA Server
func (CoaServer) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for CoaServer. It customizes the JSON marshaling process for CoaServer objects.
func (*CoaServer) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for CoaServer. It customizes the JSON unmarshaling process for CoaServer objects.
type CodeString ¶
type CodeString struct { Code string `json:"code"` AdditionalProperties map[string]interface{} `json:"_"` }
CodeString represents a CodeString struct.
func (CodeString) MarshalJSON ¶
func (c CodeString) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CodeString. It customizes the JSON marshaling process for CodeString objects.
func (*CodeString) UnmarshalJSON ¶
func (c *CodeString) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CodeString. It customizes the JSON unmarshaling process for CodeString objects.
type ConfigDevice ¶
type ConfigDevice struct {
// contains filtered or unexported fields
}
ConfigDevice represents a ConfigDevice struct.
func (*ConfigDevice) AsDeviceAp ¶ added in v0.3.0
func (c *ConfigDevice) AsDeviceAp() ( *DeviceAp, bool)
func (*ConfigDevice) AsDeviceGateway ¶ added in v0.3.0
func (c *ConfigDevice) AsDeviceGateway() ( *DeviceGateway, bool)
func (*ConfigDevice) AsDeviceSwitch ¶ added in v0.3.0
func (c *ConfigDevice) AsDeviceSwitch() ( *DeviceSwitch, bool)
func (ConfigDevice) MarshalJSON ¶
func (c ConfigDevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConfigDevice. It customizes the JSON marshaling process for ConfigDevice objects.
func (ConfigDevice) String ¶ added in v0.3.0
func (c ConfigDevice) String() string
String converts the ConfigDevice object to a string representation.
func (*ConfigDevice) UnmarshalJSON ¶
func (c *ConfigDevice) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConfigDevice. It customizes the JSON unmarshaling process for ConfigDevice objects.
type ConfigSwitchLocalAccountsUser ¶
type ConfigSwitchLocalAccountsUser struct { Password *string `json:"password,omitempty"` // enum: `admin`, `helpdesk`, `none`, `read` Role *ConfigSwitchLocalAccountsUserRoleEnum `json:"role,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ConfigSwitchLocalAccountsUser represents a ConfigSwitchLocalAccountsUser struct.
func (ConfigSwitchLocalAccountsUser) MarshalJSON ¶
func (c ConfigSwitchLocalAccountsUser) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConfigSwitchLocalAccountsUser. It customizes the JSON marshaling process for ConfigSwitchLocalAccountsUser objects.
func (*ConfigSwitchLocalAccountsUser) UnmarshalJSON ¶
func (c *ConfigSwitchLocalAccountsUser) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConfigSwitchLocalAccountsUser. It customizes the JSON unmarshaling process for ConfigSwitchLocalAccountsUser objects.
type ConfigSwitchLocalAccountsUserRoleEnum ¶
type ConfigSwitchLocalAccountsUserRoleEnum string
ConfigSwitchLocalAccountsUserRoleEnum is a string enum. enum: `admin`, `helpdesk`, `none`, `read`
const ( ConfigSwitchLocalAccountsUserRoleEnum_ADMIN ConfigSwitchLocalAccountsUserRoleEnum = "admin" ConfigSwitchLocalAccountsUserRoleEnum_HELPDESK ConfigSwitchLocalAccountsUserRoleEnum = "helpdesk" ConfigSwitchLocalAccountsUserRoleEnum_NONE ConfigSwitchLocalAccountsUserRoleEnum = "none" ConfigSwitchLocalAccountsUserRoleEnum_READ ConfigSwitchLocalAccountsUserRoleEnum = "read" )
type ConfigVcPortMember ¶
type ConfigVcPortMember struct { Member float64 `json:"member"` VcPorts []string `json:"vc_ports,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ConfigVcPortMember represents a ConfigVcPortMember struct.
func (ConfigVcPortMember) MarshalJSON ¶
func (c ConfigVcPortMember) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConfigVcPortMember. It customizes the JSON marshaling process for ConfigVcPortMember objects.
func (*ConfigVcPortMember) UnmarshalJSON ¶
func (c *ConfigVcPortMember) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConfigVcPortMember. It customizes the JSON unmarshaling process for ConfigVcPortMember objects.
type ConstAlarmDefinition ¶
type ConstAlarmDefinition struct { // Description of the alarm type Display string `json:"display"` Example *interface{} `json:"example,omitempty"` // List of fields available in an alarm details payload (in REST APIs & Webhooks); e.g. `aps`, `switches`, `gateways`, `hostnames`, `ssids`, `bssids` Fields []string `json:"fields"` // Group to which the alarm belongs Group string `json:"group"` // Key name of the alarm type Key string `json:"key"` // Marvis defined category to which the alarm belongs MarvisSuggestionCategory *string `json:"marvis_suggestion_category,omitempty"` // Severity of the alarm Severity string `json:"severity"` AdditionalProperties map[string]interface{} `json:"_"` }
ConstAlarmDefinition represents a ConstAlarmDefinition struct.
func (ConstAlarmDefinition) MarshalJSON ¶
func (c ConstAlarmDefinition) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstAlarmDefinition. It customizes the JSON marshaling process for ConstAlarmDefinition objects.
func (*ConstAlarmDefinition) 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]interface{} `json:"_"` }
ConstApChannel represents a ConstApChannel struct.
func (ConstApChannel) MarshalJSON ¶
func (c ConstApChannel) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstApChannel. It customizes the JSON marshaling process for ConstApChannel objects.
func (*ConstApChannel) 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]interface{} `json:"_"` }
ConstApLed represents a ConstApLed struct.
func (ConstApLed) MarshalJSON ¶
func (c ConstApLed) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstApLed. It customizes the JSON marshaling process for ConstApLed objects.
func (*ConstApLed) UnmarshalJSON ¶
func (c *ConstApLed) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstApLed. It customizes the JSON unmarshaling process for ConstApLed objects.
type ConstAppCategoryDefinition ¶
type ConstAppCategoryDefinition struct { // Description of the app category Display string `json:"display"` Filters *ConstAppCategoryDefinitionFilters `json:"filters,omitempty"` // List of other App Categories contained by this one Includes []string `json:"includes,omitempty"` // Key name of the app category Key string `json:"key"` AdditionalProperties map[string]interface{} `json:"_"` }
ConstAppCategoryDefinition represents a ConstAppCategoryDefinition struct.
func (ConstAppCategoryDefinition) MarshalJSON ¶
func (c ConstAppCategoryDefinition) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstAppCategoryDefinition. It customizes the JSON marshaling process for ConstAppCategoryDefinition objects.
func (*ConstAppCategoryDefinition) UnmarshalJSON ¶
func (c *ConstAppCategoryDefinition) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstAppCategoryDefinition. It customizes the JSON unmarshaling process for ConstAppCategoryDefinition objects.
type ConstAppCategoryDefinitionFilters ¶
type ConstAppCategoryDefinitionFilters struct { Srx []string `json:"srx,omitempty"` Ssr []string `json:"ssr,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ConstAppCategoryDefinitionFilters represents a ConstAppCategoryDefinitionFilters struct.
func (ConstAppCategoryDefinitionFilters) MarshalJSON ¶
func (c ConstAppCategoryDefinitionFilters) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstAppCategoryDefinitionFilters. It customizes the JSON marshaling process for ConstAppCategoryDefinitionFilters objects.
func (*ConstAppCategoryDefinitionFilters) UnmarshalJSON ¶
func (c *ConstAppCategoryDefinitionFilters) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstAppCategoryDefinitionFilters. It customizes the JSON unmarshaling process for ConstAppCategoryDefinitionFilters objects.
type ConstAppSubcategoryDefinition ¶
type ConstAppSubcategoryDefinition struct { // Description of the app subcategory Display string `json:"display"` // Key name of the app subcategory Key string `json:"key"` // Type of traffic (QoS) of the app subcategory TrafficType string `json:"traffic_type"` AdditionalProperties map[string]interface{} `json:"_"` }
ConstAppSubcategoryDefinition represents a ConstAppSubcategoryDefinition struct.
func (ConstAppSubcategoryDefinition) MarshalJSON ¶
func (c ConstAppSubcategoryDefinition) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstAppSubcategoryDefinition. It customizes the JSON marshaling process for ConstAppSubcategoryDefinition objects.
func (*ConstAppSubcategoryDefinition) UnmarshalJSON ¶
func (c *ConstAppSubcategoryDefinition) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstAppSubcategoryDefinition. It customizes the JSON unmarshaling process for ConstAppSubcategoryDefinition objects.
type ConstApplicationDefinition ¶
type ConstApplicationDefinition struct { AppId *bool `json:"app_id,omitempty"` AppImageUrl *string `json:"app_image_url,omitempty"` AppProbe *bool `json:"app_probe,omitempty"` Category *string `json:"category,omitempty"` Group *string `json:"group,omitempty"` Key *string `json:"key,omitempty"` Name *string `json:"name,omitempty"` SignatureBased *bool `json:"signature_based,omitempty"` SsrAppId *bool `json:"ssr_app_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ConstApplicationDefinition represents a ConstApplicationDefinition struct.
func (ConstApplicationDefinition) MarshalJSON ¶
func (c ConstApplicationDefinition) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstApplicationDefinition. It customizes the JSON marshaling process for ConstApplicationDefinition objects.
func (*ConstApplicationDefinition) UnmarshalJSON ¶
func (c *ConstApplicationDefinition) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstApplicationDefinition. It customizes the JSON unmarshaling process for ConstApplicationDefinition objects.
type ConstCountry ¶
type ConstCountry struct { // country code, in two-character Alpha2 string `json:"alpha2"` Certified bool `json:"certified"` Name string `json:"name"` // country code, ISO 3166-1 numeric Numeric float64 `json:"numeric"` AdditionalProperties map[string]interface{} `json:"_"` }
ConstCountry represents a ConstCountry struct.
func (ConstCountry) MarshalJSON ¶
func (c ConstCountry) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstCountry. It customizes the JSON marshaling process for ConstCountry objects.
func (*ConstCountry) UnmarshalJSON ¶
func (c *ConstCountry) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstCountry. It customizes the JSON unmarshaling process for ConstCountry objects.
type ConstDeviceAp ¶
type ConstDeviceAp struct { ApType string `json:"ap_type"` Band24 *ConstDeviceApBand24 `json:"band24,omitempty"` Band5 *ConstDeviceApBand5 `json:"band5,omitempty"` Band6 *ConstDeviceApBand5 `json:"band6,omitempty"` Band24Usages []ConstDeviceApBand24UsageEnum `json:"band_24_usages,omitempty"` CeDfsOk *bool `json:"ce_dfs_ok,omitempty"` CiscoPace *bool `json:"cisco_pace,omitempty"` Description *string `json:"description,omitempty"` // Property key is a list of country codes (e.g. "GB, DE") DisallowedChannels map[string]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"` // Device Type. enum: `ap` Type string `json:"type"` Unmanaged *bool `json:"unmanaged,omitempty"` Vble *ConstDeviceApVble `json:"vble,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ConstDeviceAp represents a ConstDeviceAp struct.
func (ConstDeviceAp) MarshalJSON ¶
func (c ConstDeviceAp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstDeviceAp. It customizes the JSON marshaling process for ConstDeviceAp objects.
func (*ConstDeviceAp) UnmarshalJSON ¶
func (c *ConstDeviceAp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstDeviceAp. It customizes the JSON unmarshaling process for ConstDeviceAp objects.
type ConstDeviceApBand24 ¶
type ConstDeviceApBand24 struct { Band5ChannelsOp *string `json:"band5_channels_op,omitempty"` MaxClients *int `json:"max_clients,omitempty"` MaxPower *int `json:"max_power,omitempty"` MinPower *int `json:"min_power,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ConstDeviceApBand24 represents a ConstDeviceApBand24 struct.
func (ConstDeviceApBand24) MarshalJSON ¶
func (c ConstDeviceApBand24) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstDeviceApBand24. It customizes the JSON marshaling process for ConstDeviceApBand24 objects.
func (*ConstDeviceApBand24) UnmarshalJSON ¶
func (c *ConstDeviceApBand24) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstDeviceApBand24. It customizes the JSON unmarshaling process for ConstDeviceApBand24 objects.
type ConstDeviceApBand24UsageEnum ¶ added in v0.4.18
type ConstDeviceApBand24UsageEnum string
ConstDeviceApBand24UsageEnum is a string enum. enum: `24`, `5`, `6`
const ( ConstDeviceApBand24UsageEnum_ENUM24 ConstDeviceApBand24UsageEnum = "24" ConstDeviceApBand24UsageEnum_ENUM5 ConstDeviceApBand24UsageEnum = "5" ConstDeviceApBand24UsageEnum_ENUM6 ConstDeviceApBand24UsageEnum = "6" )
type ConstDeviceApBand5 ¶
type ConstDeviceApBand5 struct { MaxClients *int `json:"max_clients,omitempty"` MaxPower *int `json:"max_power,omitempty"` MinPower *int `json:"min_power,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ConstDeviceApBand5 represents a ConstDeviceApBand5 struct.
func (ConstDeviceApBand5) MarshalJSON ¶
func (c ConstDeviceApBand5) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstDeviceApBand5. It customizes the JSON marshaling process for ConstDeviceApBand5 objects.
func (*ConstDeviceApBand5) UnmarshalJSON ¶
func (c *ConstDeviceApBand5) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstDeviceApBand5. It customizes the JSON unmarshaling process for ConstDeviceApBand5 objects.
type ConstDeviceApExtios ¶
type ConstDeviceApExtios struct { // enum: `IN`, `OUT` DefaultDir *ConstDeviceApExtiosDefaultDirEnum `json:"default_dir,omitempty"` Input *bool `json:"input,omitempty"` Output *bool `json:"output,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ConstDeviceApExtios represents a ConstDeviceApExtios struct.
func (ConstDeviceApExtios) MarshalJSON ¶
func (c ConstDeviceApExtios) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstDeviceApExtios. It customizes the JSON marshaling process for ConstDeviceApExtios objects.
func (*ConstDeviceApExtios) UnmarshalJSON ¶
func (c *ConstDeviceApExtios) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstDeviceApExtios. It customizes the JSON unmarshaling process for ConstDeviceApExtios objects.
type ConstDeviceApExtiosDefaultDirEnum ¶
type ConstDeviceApExtiosDefaultDirEnum string
ConstDeviceApExtiosDefaultDirEnum is a string enum. enum: `IN`, `OUT`
const ( ConstDeviceApExtiosDefaultDirEnum_IN ConstDeviceApExtiosDefaultDirEnum = "IN" ConstDeviceApExtiosDefaultDirEnum_OUT ConstDeviceApExtiosDefaultDirEnum = "OUT" )
type ConstDeviceApVble ¶
type ConstDeviceApVble struct { BeaconRate *int `json:"beacon_rate,omitempty"` Beams *int `json:"beams,omitempty"` Power *int `json:"power,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ConstDeviceApVble represents a ConstDeviceApVble struct.
func (ConstDeviceApVble) MarshalJSON ¶
func (c ConstDeviceApVble) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstDeviceApVble. It customizes the JSON marshaling process for ConstDeviceApVble objects.
func (*ConstDeviceApVble) UnmarshalJSON ¶
func (c *ConstDeviceApVble) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstDeviceApVble. It customizes the JSON unmarshaling process for ConstDeviceApVble objects.
type ConstDeviceGateway ¶
type ConstDeviceGateway struct { // Object Key is the interface type name (e.g. "lan_ports", "wan_ports", ...) Defaults map[string]string `json:"defaults,omitempty"` Description *string `json:"description,omitempty"` Experimental *bool `json:"experimental,omitempty"` FansPluggable *bool `json:"fans_pluggable,omitempty"` HaNode0Fpc *int `json:"ha_node0_fpc,omitempty"` HaNode1Fpc *int `json:"ha_node1_fpc,omitempty"` HasBgp *bool `json:"has_bgp,omitempty"` HasFxp0 *bool `json:"has_fxp0,omitempty"` HasHaControl *bool `json:"has_ha_control,omitempty"` HasHaData *bool `json:"has_ha_data,omitempty"` HasIrb *bool `json:"has_irb,omitempty"` HasPoeOut *bool `json:"has_poe_out,omitempty"` HasSnapshot *bool `json:"has_snapshot,omitempty"` IrbDisabledByDefault *bool `json:"irb_disabled_by_default,omitempty"` Model *string `json:"model,omitempty"` NumberFans *int `json:"number_fans,omitempty"` OcDevice *bool `json:"oc_device,omitempty"` // Object Key is the PIC number Pic map[string]string `json:"pic,omitempty"` // Object Key is the interface name (e.g. "ge-0/0/1", ...) Ports *ConstDeviceGatewayPorts `json:"ports,omitempty"` SubRequired *string `json:"sub_required,omitempty"` T128Device *bool `json:"t128_device,omitempty"` // Device Type. enum: `gateway` Type string `json:"type"` AdditionalProperties map[string]interface{} `json:"_"` }
ConstDeviceGateway represents a ConstDeviceGateway struct.
func (ConstDeviceGateway) MarshalJSON ¶
func (c ConstDeviceGateway) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstDeviceGateway. It customizes the JSON marshaling process for ConstDeviceGateway objects.
func (*ConstDeviceGateway) UnmarshalJSON ¶
func (c *ConstDeviceGateway) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstDeviceGateway. It customizes the JSON unmarshaling process for ConstDeviceGateway objects.
type ConstDeviceGatewayPorts ¶
type ConstDeviceGatewayPorts struct { Display *string `json:"display,omitempty"` PciAddress *string `json:"pci_address,omitempty"` Speed *int `json:"speed,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ConstDeviceGatewayPorts represents a ConstDeviceGatewayPorts struct. Object Key is the interface name (e.g. "ge-0/0/1", ...)
func (ConstDeviceGatewayPorts) MarshalJSON ¶
func (c ConstDeviceGatewayPorts) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstDeviceGatewayPorts. It customizes the JSON marshaling process for ConstDeviceGatewayPorts objects.
func (*ConstDeviceGatewayPorts) UnmarshalJSON ¶
func (c *ConstDeviceGatewayPorts) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstDeviceGatewayPorts. It customizes the JSON unmarshaling process for ConstDeviceGatewayPorts objects.
type ConstDeviceModel ¶
type ConstDeviceModel struct {
// contains filtered or unexported fields
}
ConstDeviceModel represents a ConstDeviceModel struct.
func (*ConstDeviceModel) AsConstDeviceAp ¶ added in v0.3.0
func (c *ConstDeviceModel) AsConstDeviceAp() ( *ConstDeviceAp, bool)
func (*ConstDeviceModel) AsConstDeviceGateway ¶ added in v0.3.0
func (c *ConstDeviceModel) AsConstDeviceGateway() ( *ConstDeviceGateway, bool)
func (*ConstDeviceModel) AsConstDeviceSwitch ¶ added in v0.3.0
func (c *ConstDeviceModel) AsConstDeviceSwitch() ( *ConstDeviceSwitch, bool)
func (ConstDeviceModel) MarshalJSON ¶
func (c ConstDeviceModel) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstDeviceModel. It customizes the JSON marshaling process for ConstDeviceModel objects.
func (ConstDeviceModel) String ¶ added in v0.3.0
func (c ConstDeviceModel) String() string
String converts the ConstDeviceModel object to a string representation.
func (*ConstDeviceModel) UnmarshalJSON ¶
func (c *ConstDeviceModel) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstDeviceModel. It customizes the JSON unmarshaling process for ConstDeviceModel objects.
type ConstDeviceSwitch ¶
type ConstDeviceSwitch struct { Alias *string `json:"alias,omitempty"` Defaults *ConstDeviceSwitchDefault `json:"defaults,omitempty"` Description *string `json:"description,omitempty"` Display *string `json:"display,omitempty"` EvolvedOs *bool `json:"evolved_os,omitempty"` EvpnRiType *string `json:"evpn_ri_type,omitempty"` Experimental *bool `json:"experimental,omitempty"` FansPluggable *bool `json:"fans_pluggable,omitempty"` HasBgp *bool `json:"has_bgp,omitempty"` HasEts *bool `json:"has_ets,omitempty"` HasEvpn *bool `json:"has_evpn,omitempty"` HasIrb *bool `json:"has_irb,omitempty"` HasPoeOut *bool `json:"has_poe_out,omitempty"` HasSnapshot *bool `json:"has_snapshot,omitempty"` HasVc *bool `json:"has_vc,omitempty"` Model *string `json:"model,omitempty"` Modular *bool `json:"modular,omitempty"` NoShapingRate *bool `json:"no_shaping_rate,omitempty"` NumberFans *int `json:"number_fans,omitempty"` OcDevice *bool `json:"oc_device,omitempty"` OobInterface *string `json:"oob_interface,omitempty"` PacketActionDropOnly *bool `json:"packet_action_drop_only,omitempty"` // Object Key is the PIC number Pic map[string]string `json:"pic,omitempty"` SubRequired *string `json:"sub_required,omitempty"` // Device Type. enum: `switch` Type string `json:"type"` AdditionalProperties map[string]interface{} `json:"_"` }
ConstDeviceSwitch represents a ConstDeviceSwitch struct.
func (ConstDeviceSwitch) MarshalJSON ¶
func (c ConstDeviceSwitch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstDeviceSwitch. It customizes the JSON marshaling process for ConstDeviceSwitch objects.
func (*ConstDeviceSwitch) UnmarshalJSON ¶
func (c *ConstDeviceSwitch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstDeviceSwitch. It customizes the JSON unmarshaling process for ConstDeviceSwitch objects.
type ConstDeviceSwitchDefault ¶
type ConstDeviceSwitchDefault struct { Ports *string `json:"_ports,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ConstDeviceSwitchDefault represents a ConstDeviceSwitchDefault struct.
func (ConstDeviceSwitchDefault) MarshalJSON ¶
func (c ConstDeviceSwitchDefault) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstDeviceSwitchDefault. It customizes the JSON marshaling process for ConstDeviceSwitchDefault objects.
func (*ConstDeviceSwitchDefault) UnmarshalJSON ¶
func (c *ConstDeviceSwitchDefault) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstDeviceSwitchDefault. It customizes the JSON unmarshaling process for ConstDeviceSwitchDefault objects.
type ConstDeviceTypeApEnum ¶ added in v0.3.15
type ConstDeviceTypeApEnum string
ConstDeviceTypeApEnum is a string enum. Device Type. enum: `ap`
const (
ConstDeviceTypeApEnum_AP ConstDeviceTypeApEnum = "ap"
)
type ConstDeviceTypeGatewayEnum ¶ added in v0.3.15
type ConstDeviceTypeGatewayEnum string
ConstDeviceTypeGatewayEnum is a string enum. Device Type. enum: `gateway`
const (
ConstDeviceTypeGatewayEnum_GATEWAY ConstDeviceTypeGatewayEnum = "gateway"
)
type ConstDeviceTypeSwitchEnum ¶ added in v0.3.15
type ConstDeviceTypeSwitchEnum string
ConstDeviceTypeSwitchEnum is a string enum. Device Type. enum: `switch`
const (
ConstDeviceTypeSwitchEnum_ENUMSWITCH ConstDeviceTypeSwitchEnum = "switch"
)
type ConstEvent ¶
type ConstEvent struct { Description *string `json:"description,omitempty"` Display string `json:"display"` Example *interface{} `json:"example,omitempty"` Key string `json:"key"` AdditionalProperties map[string]interface{} `json:"_"` }
ConstEvent represents a ConstEvent struct.
func (ConstEvent) MarshalJSON ¶
func (c ConstEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstEvent. It customizes the JSON marshaling process for ConstEvent objects.
func (*ConstEvent) 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]interface{} `json:"_"` }
ConstGatewayApplicationsDefinition represents a ConstGatewayApplicationsDefinition struct.
func (ConstGatewayApplicationsDefinition) MarshalJSON ¶
func (c ConstGatewayApplicationsDefinition) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstGatewayApplicationsDefinition. It customizes the JSON marshaling process for ConstGatewayApplicationsDefinition objects.
func (*ConstGatewayApplicationsDefinition) 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]interface{} `json:"_"` }
ConstInsightMetricsProperty represents a ConstInsightMetricsProperty struct.
func (ConstInsightMetricsProperty) MarshalJSON ¶
func (c ConstInsightMetricsProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstInsightMetricsProperty. It customizes the JSON marshaling process for ConstInsightMetricsProperty objects.
func (*ConstInsightMetricsProperty) UnmarshalJSON ¶
func (c *ConstInsightMetricsProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstInsightMetricsProperty. It customizes the JSON unmarshaling process for ConstInsightMetricsProperty objects.
type ConstInsightMetricsPropertyExample ¶
type ConstInsightMetricsPropertyExample struct {
// contains filtered or unexported fields
}
ConstInsightMetricsPropertyExample represents a ConstInsightMetricsPropertyExample struct.
func (*ConstInsightMetricsPropertyExample) AsBoolean ¶
func (c *ConstInsightMetricsPropertyExample) AsBoolean() ( *bool, bool)
func (*ConstInsightMetricsPropertyExample) AsNumber ¶
func (c *ConstInsightMetricsPropertyExample) AsNumber() ( *int, bool)
func (*ConstInsightMetricsPropertyExample) 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]interface{} `json:"_"` }
ConstInsightMetricsPropertyInterval represents a ConstInsightMetricsPropertyInterval struct.
func (ConstInsightMetricsPropertyInterval) MarshalJSON ¶
func (c ConstInsightMetricsPropertyInterval) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstInsightMetricsPropertyInterval. It customizes the JSON marshaling process for ConstInsightMetricsPropertyInterval objects.
func (*ConstInsightMetricsPropertyInterval) UnmarshalJSON ¶
func (c *ConstInsightMetricsPropertyInterval) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstInsightMetricsPropertyInterval. It customizes the JSON unmarshaling process for ConstInsightMetricsPropertyInterval objects.
type ConstInsightMetricsPropertyParam ¶
type ConstInsightMetricsPropertyParam struct { Required *bool `json:"required,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ConstInsightMetricsPropertyParam represents a ConstInsightMetricsPropertyParam struct.
func (ConstInsightMetricsPropertyParam) MarshalJSON ¶
func (c ConstInsightMetricsPropertyParam) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstInsightMetricsPropertyParam. It customizes the JSON marshaling process for ConstInsightMetricsPropertyParam objects.
func (*ConstInsightMetricsPropertyParam) 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]interface{} `json:"_"` }
ConstInsightMetricsPropertyReportDuration represents a ConstInsightMetricsPropertyReportDuration struct.
func (ConstInsightMetricsPropertyReportDuration) MarshalJSON ¶
func (c ConstInsightMetricsPropertyReportDuration) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstInsightMetricsPropertyReportDuration. It customizes the JSON marshaling process for ConstInsightMetricsPropertyReportDuration objects.
func (*ConstInsightMetricsPropertyReportDuration) UnmarshalJSON ¶
func (c *ConstInsightMetricsPropertyReportDuration) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstInsightMetricsPropertyReportDuration. It customizes the JSON unmarshaling process for ConstInsightMetricsPropertyReportDuration objects.
type ConstInsightMetricsPropertyScopeEnum ¶
type ConstInsightMetricsPropertyScopeEnum string
ConstInsightMetricsPropertyScopeEnum is a string enum. enum: `ap`, `client`, `device`, `mxedge`, `site`, `switch`
const ( ConstInsightMetricsPropertyScopeEnum_AP ConstInsightMetricsPropertyScopeEnum = "ap" ConstInsightMetricsPropertyScopeEnum_CLIENT ConstInsightMetricsPropertyScopeEnum = "client" ConstInsightMetricsPropertyScopeEnum_DEVICE ConstInsightMetricsPropertyScopeEnum = "device" ConstInsightMetricsPropertyScopeEnum_MXEDGE ConstInsightMetricsPropertyScopeEnum = "mxedge" ConstInsightMetricsPropertyScopeEnum_SITE ConstInsightMetricsPropertyScopeEnum = "site" ConstInsightMetricsPropertyScopeEnum_ENUMSWITCH ConstInsightMetricsPropertyScopeEnum = "switch" )
type ConstLanguage ¶
type ConstLanguage struct { Display string `json:"display"` DisplayNative string `json:"display_native"` Key string `json:"key"` AdditionalProperties map[string]interface{} `json:"_"` }
ConstLanguage represents a ConstLanguage struct.
func (ConstLanguage) MarshalJSON ¶
func (c ConstLanguage) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstLanguage. It customizes the JSON marshaling process for ConstLanguage objects.
func (*ConstLanguage) UnmarshalJSON ¶
func (c *ConstLanguage) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstLanguage. It customizes the JSON unmarshaling process for ConstLanguage objects.
type ConstLicenseType ¶
type ConstLicenseType struct { Description *string `json:"description,omitempty"` Includes []string `json:"includes,omitempty"` Key *string `json:"key,omitempty"` Name *string `json:"name,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ConstLicenseType represents a ConstLicenseType struct.
func (ConstLicenseType) MarshalJSON ¶
func (c ConstLicenseType) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstLicenseType. It customizes the JSON marshaling process for ConstLicenseType objects.
func (*ConstLicenseType) UnmarshalJSON ¶
func (c *ConstLicenseType) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstLicenseType. It customizes the JSON unmarshaling process for ConstLicenseType objects.
type ConstMarvisClientVersion ¶ added in v0.4.0
type ConstMarvisClientVersion struct { Label *string `json:"label,omitempty"` Notes *string `json:"notes,omitempty"` // Client OS Os *string `json:"os,omitempty"` // Client download url Url *string `json:"url,omitempty"` // Client version Version *string `json:"version,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ConstMarvisClientVersion represents a ConstMarvisClientVersion struct.
func (ConstMarvisClientVersion) MarshalJSON ¶ added in v0.4.0
func (c ConstMarvisClientVersion) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstMarvisClientVersion. It customizes the JSON marshaling process for ConstMarvisClientVersion objects.
func (*ConstMarvisClientVersion) UnmarshalJSON ¶ added in v0.4.0
func (c *ConstMarvisClientVersion) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstMarvisClientVersion. It customizes the JSON unmarshaling process for ConstMarvisClientVersion objects.
type ConstMxedgeModel ¶
type ConstMxedgeModel struct { CustomPorts *bool `json:"custom_ports,omitempty"` Display *string `json:"display,omitempty"` Model *string `json:"model,omitempty"` Ports map[string]ConstMxedgeModelPort `json:"ports,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ConstMxedgeModel represents a ConstMxedgeModel struct.
func (ConstMxedgeModel) MarshalJSON ¶
func (c ConstMxedgeModel) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstMxedgeModel. It customizes the JSON marshaling process for ConstMxedgeModel objects.
func (*ConstMxedgeModel) UnmarshalJSON ¶
func (c *ConstMxedgeModel) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstMxedgeModel. It customizes the JSON unmarshaling process for ConstMxedgeModel objects.
type ConstMxedgeModelPort ¶
type ConstMxedgeModelPort struct { Display *string `json:"display,omitempty"` Speed *int `json:"speed,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ConstMxedgeModelPort represents a ConstMxedgeModelPort struct.
func (ConstMxedgeModelPort) MarshalJSON ¶
func (c ConstMxedgeModelPort) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstMxedgeModelPort. It customizes the JSON marshaling process for ConstMxedgeModelPort objects.
func (*ConstMxedgeModelPort) 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]interface{} `json:"_"` }
ConstNacEvent represents a ConstNacEvent struct.
func (ConstNacEvent) MarshalJSON ¶
func (c ConstNacEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstNacEvent. It customizes the JSON marshaling process for ConstNacEvent objects.
func (*ConstNacEvent) UnmarshalJSON ¶
func (c *ConstNacEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstNacEvent. It customizes the JSON unmarshaling process for ConstNacEvent objects.
type ConstOtherDeviceModel ¶
type ConstOtherDeviceModel struct { VendorModelId *string `json:"_vendor_model_id,omitempty"` Display *string `json:"display,omitempty"` Model *string `json:"model,omitempty"` Type *string `json:"type,omitempty"` Vendor *string `json:"vendor,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ConstOtherDeviceModel represents a ConstOtherDeviceModel struct.
func (ConstOtherDeviceModel) MarshalJSON ¶
func (c ConstOtherDeviceModel) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstOtherDeviceModel. It customizes the JSON marshaling process for ConstOtherDeviceModel objects.
func (*ConstOtherDeviceModel) UnmarshalJSON ¶
func (c *ConstOtherDeviceModel) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstOtherDeviceModel. It customizes the JSON unmarshaling process for ConstOtherDeviceModel objects.
type ConstState ¶ added in v0.3.17
type ConstState struct { IsoCode *string `json:"iso_code,omitempty"` Name *string `json:"name,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ConstState represents a ConstState struct.
func (ConstState) MarshalJSON ¶ added in v0.3.17
func (c ConstState) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstState. It customizes the JSON marshaling process for ConstState objects.
func (*ConstState) UnmarshalJSON ¶ added in v0.3.17
func (c *ConstState) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstState. It customizes the JSON unmarshaling process for ConstState objects.
type ConstTrafficType ¶
type ConstTrafficType struct { Display *string `json:"display,omitempty"` Dscp *int `json:"dscp,omitempty"` FailoverPolicy *string `json:"failover_policy,omitempty"` MaxJitter *int `json:"max_jitter,omitempty"` MaxLatency *int `json:"max_latency,omitempty"` MaxLoss *int `json:"max_loss,omitempty"` Name *string `json:"name,omitempty"` TrafficClass *string `json:"traffic_class,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ConstTrafficType represents a ConstTrafficType struct.
func (ConstTrafficType) MarshalJSON ¶
func (c ConstTrafficType) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstTrafficType. It customizes the JSON marshaling process for ConstTrafficType objects.
func (*ConstTrafficType) UnmarshalJSON ¶
func (c *ConstTrafficType) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstTrafficType. It customizes the JSON unmarshaling process for ConstTrafficType objects.
type ConstWebhookTopic ¶ added in v0.4.0
type ConstWebhookTopic struct { // can be used in org webhooks, optional ForOrg *bool `json:"for_org,omitempty"` // supports webhook delivery results /api/v1/:scope/:scope_id/webhooks/:webhook_id/events/search HasDeliveryResults *bool `json:"has_delivery_results,omitempty"` // internal topic (not selectable in site/org webhooks) Internal *bool `json:"internal,omitempty"` // webhook topic name Key *string `json:"key,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ConstWebhookTopic represents a ConstWebhookTopic struct.
func (ConstWebhookTopic) MarshalJSON ¶ added in v0.4.0
func (c ConstWebhookTopic) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ConstWebhookTopic. It customizes the JSON marshaling process for ConstWebhookTopic objects.
func (*ConstWebhookTopic) UnmarshalJSON ¶ added in v0.4.0
func (c *ConstWebhookTopic) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConstWebhookTopic. It customizes the JSON unmarshaling process for ConstWebhookTopic objects.
type CountOrgDevicesMxtunnelStatusEnum ¶
type CountOrgDevicesMxtunnelStatusEnum string
CountOrgDevicesMxtunnelStatusEnum is a string enum. enum: `down`, `up`
const ( CountOrgDevicesMxtunnelStatusEnum_DOWN CountOrgDevicesMxtunnelStatusEnum = "down" CountOrgDevicesMxtunnelStatusEnum_UP CountOrgDevicesMxtunnelStatusEnum = "up" )
type CountPortsAuthStateEnum ¶ added in v0.2.35
type CountPortsAuthStateEnum string
CountPortsAuthStateEnum is a string enum. enum: `authenticated`, `authenticating`, `held`, `init`
const ( CountPortsAuthStateEnum_AUTHENTICATED CountPortsAuthStateEnum = "authenticated" CountPortsAuthStateEnum_AUTHENTICATING CountPortsAuthStateEnum = "authenticating" CountPortsAuthStateEnum_HELD CountPortsAuthStateEnum = "held" CountPortsAuthStateEnum_INIT CountPortsAuthStateEnum = "init" )
type CountPortsStpRoleEnum ¶ added in v0.2.35
type CountPortsStpRoleEnum string
CountPortsStpRoleEnum is a string enum. enum: `alternate`, `backup`, `designated`, `root`, `root-prevented`
const ( CountPortsStpRoleEnum_ALTERNATE CountPortsStpRoleEnum = "alternate" CountPortsStpRoleEnum_BACKUP CountPortsStpRoleEnum = "backup" CountPortsStpRoleEnum_DESIGNATED CountPortsStpRoleEnum = "designated" CountPortsStpRoleEnum_ROOT CountPortsStpRoleEnum = "root" CountPortsStpRoleEnum_ROOTPREVENTED CountPortsStpRoleEnum = "root-prevented" )
type CountPortsStpStateEnum ¶ added in v0.2.35
type CountPortsStpStateEnum string
CountPortsStpStateEnum is a string enum. enum: `blocking`, `disabled`, `forwarding`, `learning`, `listening`
const ( CountPortsStpStateEnum_BLOCKING CountPortsStpStateEnum = "blocking" CountPortsStpStateEnum_DISABLED CountPortsStpStateEnum = "disabled" CountPortsStpStateEnum_FORWARDING CountPortsStpStateEnum = "forwarding" CountPortsStpStateEnum_LEARNING CountPortsStpStateEnum = "learning" CountPortsStpStateEnum_LISTENING CountPortsStpStateEnum = "listening" )
type CountResult ¶
type CountResult struct { Count int `json:"count"` AdditionalProperties map[string]string `json:"_"` }
CountResult represents a CountResult struct.
func (CountResult) MarshalJSON ¶
func (c CountResult) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CountResult. It customizes the JSON marshaling process for CountResult objects.
func (*CountResult) 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. enum: `mac`
const (
CountSiteCallsDistrinctEnum_MAC CountSiteCallsDistrinctEnum = "mac"
)
type CpuStat ¶
type CpuStat struct { // Percentage of CPU time that is idle Idle Optional[float64] `json:"idle"` // Percentage of CPU time being used by interrupts Interrupt Optional[float64] `json:"interrupt"` // Load averages for the last 1, 5, and 15 minutes LoadAvg []float64 `json:"load_avg,omitempty"` // Percentage of CPU time being used by system processes System Optional[float64] `json:"system"` // Percentage of CPU time being used by user processe User Optional[float64] `json:"user"` AdditionalProperties map[string]interface{} `json:"_"` }
CpuStat represents a CpuStat struct.
func (CpuStat) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for CpuStat. It customizes the JSON marshaling process for CpuStat objects.
func (*CpuStat) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for CpuStat. It customizes the JSON unmarshaling process for CpuStat objects.
type DayOfWeekEnum ¶
type DayOfWeekEnum string
DayOfWeekEnum is a string enum. enum: `any`, `fri`, `mon`, `sat`, `sun`, `thu`, `tue`, `wed`
const ( DayOfWeekEnum_ANY DayOfWeekEnum = "any" DayOfWeekEnum_FRI DayOfWeekEnum = "fri" DayOfWeekEnum_MON DayOfWeekEnum = "mon" DayOfWeekEnum_SAT DayOfWeekEnum = "sat" DayOfWeekEnum_SUN DayOfWeekEnum = "sun" DayOfWeekEnum_THU DayOfWeekEnum = "thu" DayOfWeekEnum_TUE DayOfWeekEnum = "tue" DayOfWeekEnum_WED DayOfWeekEnum = "wed" )
type DaysNumber ¶
type DaysNumber struct { Days *int `json:"days,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
DaysNumber represents a DaysNumber struct.
func (DaysNumber) MarshalJSON ¶
func (d DaysNumber) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DaysNumber. It customizes the JSON marshaling process for DaysNumber objects.
func (*DaysNumber) UnmarshalJSON ¶
func (d *DaysNumber) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DaysNumber. It customizes the JSON unmarshaling process for DaysNumber objects.
type Delivery ¶
type Delivery struct { // List of additional email string to deliver the alarms via emails AdditionalEmails []string `json:"additional_emails,omitempty"` // Whether to enable the alarm delivery via emails or not Enabled bool `json:"enabled"` // Whether to deliver the alarms via emails to Org admins or not ToOrgAdmins *bool `json:"to_org_admins,omitempty"` // Whether to deliver the alarms via emails to Site admins or not ToSiteAdmins *bool `json:"to_site_admins,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Delivery represents a Delivery struct. Delivery object to configure the alarm delivery
func (Delivery) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Delivery. It customizes the JSON marshaling process for Delivery objects.
func (*Delivery) 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"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` DeviceprofileId Optional[uuid.UUID] `json:"deviceprofile_id"` // whether to disable eth1 port DisableEth1 *bool `json:"disable_eth1,omitempty"` // whether to disable eth2 port DisableEth2 *bool `json:"disable_eth2,omitempty"` // whether to disable eth3 port DisableEth3 *bool `json:"disable_eth3,omitempty"` // whether to disable module port DisableModule *bool `json:"disable_module,omitempty"` EslConfig *ApEslConfig `json:"esl_config,omitempty"` // for some AP models, flow_control can be enabled to address some switch compatibility issue FlowControl *bool `json:"flow_control,omitempty"` ForSite *bool `json:"for_site,omitempty"` // height, in meters, optional Height *float64 `json:"height,omitempty"` // Unique ID of the object instance in the Mist Organnization 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"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` Name *string `json:"name,omitempty"` // any notes about this AP Notes *string `json:"notes,omitempty"` NtpServers []string `json:"ntp_servers,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` // orientation, 0-359, in degrees, up is 0, right is 90. Orientation *int `json:"orientation,omitempty"` // whether to enable power out through module port (for APH) or eth1 (for APL/BT11) PoePassthrough *bool `json:"poe_passthrough,omitempty"` // eth0 is not allowed here. Property key is the interface(s) name (e.g. `eth1` or `eth1,eth2`) PortConfig map[string]ApPortConfig `json:"port_config,omitempty"` // power related configs PwrConfig *ApPwrConfig `json:"pwr_config,omitempty"` // Radio AP settings RadioConfig *ApRadio `json:"radio_config,omitempty"` // device Serial Serial *string `json:"serial,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` // Device Type. enum: `ap` Type string `json:"type"` 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]interface{} `json:"_"` }
DeviceAp represents a DeviceAp struct. AP
func (DeviceAp) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for DeviceAp. It customizes the JSON marshaling process for DeviceAp objects.
func (*DeviceAp) 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"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` DeviceprofileId *uuid.UUID `json:"deviceprofile_id,omitempty"` DhcpdConfig *DhcpdConfig `json:"dhcpd_config,omitempty"` // Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting DnsServers []string `json:"dns_servers,omitempty"` // Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting DnsSuffix []string `json:"dns_suffix,omitempty"` // Property key is the destination CIDR (e.g. "10.0.0.0/8") ExtraRoutes map[string]GatewayExtraRoute `json:"extra_routes,omitempty"` // Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64") ExtraRoutes6 map[string]GatewayExtraRoute `json:"extra_routes6,omitempty"` ForSite *bool `json:"for_site,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // Property key is the profile name IdpProfiles map[string]IdpProfile `json:"idp_profiles,omitempty"` Image1Url Optional[string] `json:"image1_url"` Image2Url Optional[string] `json:"image2_url"` Image3Url Optional[string] `json:"image3_url"` // Property key is the network name IpConfigs map[string]GatewayIpConfigProperty `json:"ip_configs,omitempty"` // device MAC address Mac *string `json:"mac,omitempty"` Managed *bool `json:"managed,omitempty"` // map where the device belongs to MapId *uuid.UUID `json:"map_id,omitempty"` // device Model Model *string `json:"model,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` MspId *uuid.UUID `json:"msp_id,omitempty"` Name *string `json:"name,omitempty"` Networks []Network `json:"networks,omitempty"` Notes *string `json:"notes,omitempty"` NtpServers []string `json:"ntp_servers,omitempty"` // out-of-band (vme/em0/fxp0) IP config OobIpConfig *GatewayOobIpConfig `json:"oob_ip_config,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` // Property key is the path name PathPreferences map[string]GatewayPathPreferences `json:"path_preferences,omitempty"` // Property key is the port name or range (e.g. "ge-0/0/0-10") PortConfig map[string]GatewayPortConfig `json:"port_config,omitempty"` PortMirroring *GatewayPortMirroring `json:"port_mirroring,omitempty"` // auto assigned if not set RouterId *string `json:"router_id,omitempty"` // Property key is the routing policy name RoutingPolicies map[string]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. enum: `gateway` Type string `json:"type"` // 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"` VrfConfig *VrfConfig `json:"vrf_config,omitempty"` // Property key is the network name VrfInstances map[string]GatewayVrfInstance `json:"vrf_instances,omitempty"` // x in pixel X *float64 `json:"x,omitempty"` // y in pixel Y *float64 `json:"y,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
DeviceGateway represents a DeviceGateway struct. device gateway
func (DeviceGateway) MarshalJSON ¶
func (d DeviceGateway) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DeviceGateway. It customizes the JSON marshaling process for DeviceGateway objects.
func (*DeviceGateway) UnmarshalJSON ¶
func (d *DeviceGateway) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DeviceGateway. It customizes the JSON unmarshaling process for DeviceGateway objects.
type DeviceIdString ¶
type DeviceIdString struct { DeviceId uuid.UUID `json:"device_id"` AdditionalProperties map[string]interface{} `json:"_"` }
DeviceIdString represents a DeviceIdString struct.
func (DeviceIdString) MarshalJSON ¶
func (d DeviceIdString) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DeviceIdString. It customizes the JSON marshaling process for DeviceIdString objects.
func (*DeviceIdString) UnmarshalJSON ¶
func (d *DeviceIdString) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DeviceIdString. It customizes the JSON unmarshaling process for DeviceIdString objects.
type DeviceOther ¶
type DeviceOther struct { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` DeviceMac *string `json:"device_mac,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` Mac *string `json:"mac,omitempty"` Model *string `json:"model,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` Name *string `json:"name,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` Serial *string `json:"serial,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` Vendor *string `json:"vendor,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
DeviceOther represents a DeviceOther struct.
func (DeviceOther) MarshalJSON ¶
func (d DeviceOther) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DeviceOther. It customizes the JSON marshaling process for DeviceOther objects.
func (*DeviceOther) 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 DeviceStatusEnum ¶
type DeviceStatusEnum string
DeviceStatusEnum is a string enum. enum: `all`, `connected`, `disconnected`
const ( DeviceStatusEnum_ALL DeviceStatusEnum = "all" DeviceStatusEnum_CONNECTED DeviceStatusEnum = "connected" DeviceStatusEnum_DISCONNECTED DeviceStatusEnum = "disconnected" )
type DeviceSwitch ¶
type DeviceSwitch struct { AclPolicies []AclPolicy `json:"acl_policies,omitempty"` // ACL Tags to identify traffic source or destination. Key name is the tag name AclTags map[string]AclTag `json:"acl_tags,omitempty"` // additional CLI commands to append to the generated Junos config. **Note**: no check is done AdditionalConfigCmds []string `json:"additional_config_cmds,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` DeviceprofileId *uuid.UUID `json:"deviceprofile_id,omitempty"` DhcpSnooping *DhcpSnooping `json:"dhcp_snooping,omitempty"` DhcpdConfig *SwitchDhcpdConfig `json:"dhcpd_config,omitempty"` // 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]ExtraRoute `json:"extra_routes,omitempty"` // Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64") ExtraRoutes6 map[string]ExtraRoute6 `json:"extra_routes6,omitempty"` // Unique ID of the object instance in the Mist Organnization 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"` // Local port override, overriding the port configuration from `port_config`. Property key is the port name or range (e.g. "ge-0/0/0-10") LocalPortConfig map[string]JunosLocalPortConfig `json:"local_port_config,omitempty"` // device MAC address Mac *string `json:"mac,omitempty"` // 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"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` Name *string `json:"name,omitempty"` // Property key is network name Networks map[string]SwitchNetwork `json:"networks,omitempty"` Notes *string `json:"notes,omitempty"` // list of NTP servers specific to this device. By default, those in Site Settings will be used NtpServers []string `json:"ntp_servers,omitempty"` // - If HA configuration: key parameter will be nodeX (eg: node1) // - If there are 2 routing engines, re1 mgmt IP has to be set separately (if desired): key parameter = `re1` OobIpConfig *SwitchOobIpConfig `json:"oob_ip_config,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` // Junos OSPF areas OspfAreas map[string]OspfArea `json:"ospf_areas,omitempty"` // Property key is the network name. Defines the additional IP Addresses configured on the device. OtherIpConfigs map[string]JunosOtherIpConfig `json:"other_ip_configs,omitempty"` // Property key is the port name or range (e.g. "ge-0/0/0-10") PortConfig map[string]JunosPortConfig `json:"port_config,omitempty"` // Property key is the port mirroring instance name // port_mirroring can be added under device/site settings. It takes interface and ports as input for ingress, interface as input for egress and can take interface and port as output. A maximum 4 port mirrorings is allowed PortMirroring map[string]SwitchPortMirroringProperty `json:"port_mirroring,omitempty"` // Property key is the port usage name. Defines the profiles of port configuration configured on the switch PortUsages map[string]SwitchPortUsage `json:"port_usages,omitempty"` // Junos Radius config RadiusConfig *SwitchRadiusConfig `json:"radius_config,omitempty"` RemoteSyslog *RemoteSyslog `json:"remote_syslog,omitempty"` Role *string `json:"role,omitempty"` // used for OSPF / BGP / EVPN RouterId *string `json:"router_id,omitempty"` // device Serial Serial *string `json:"serial,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` SnmpConfig *SnmpConfig `json:"snmp_config,omitempty"` StpConfig *SwitchStpConfig `json:"stp_config,omitempty"` // Switch settings SwitchMgmt *SwitchMgmt `json:"switch_mgmt,omitempty"` // Device Type. enum: `switch` Type string `json:"type"` // whether to use it for snmp / syslog / tacplus / radius UseRouterIdAsSourceIp *bool `json:"use_router_id_as_source_ip,omitempty"` // 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]SwitchVrfInstance `json:"vrf_instances,omitempty"` // Junos VRRP config VrrpConfig *VrrpConfig `json:"vrrp_config,omitempty"` // x in pixel X *float64 `json:"x,omitempty"` // y in pixel Y *float64 `json:"y,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
DeviceSwitch represents a DeviceSwitch struct. 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. enum: `ap`
const (
DeviceTypeApEnum_AP DeviceTypeApEnum = "ap"
)
type DeviceTypeEnum ¶
type DeviceTypeEnum string
DeviceTypeEnum is a string enum. enum: `ap`, `gateway`, `switch`
const ( DeviceTypeEnum_AP DeviceTypeEnum = "ap" DeviceTypeEnum_GATEWAY DeviceTypeEnum = "gateway" DeviceTypeEnum_ENUMSWITCH DeviceTypeEnum = "switch" )
type DeviceTypeGatewayEnum ¶
type DeviceTypeGatewayEnum string
DeviceTypeGatewayEnum is a string enum. Device Type. enum: `gateway`
const (
DeviceTypeGatewayEnum_GATEWAY DeviceTypeGatewayEnum = "gateway"
)
type DeviceTypeSwitchEnum ¶
type DeviceTypeSwitchEnum string
DeviceTypeSwitchEnum is a string enum. Device Type. enum: `switch`
const (
DeviceTypeSwitchEnum_ENUMSWITCH DeviceTypeSwitchEnum = "switch"
)
type DeviceTypeWithAllEnum ¶
type DeviceTypeWithAllEnum string
DeviceTypeWithAllEnum is a string enum. enum: `all`, `ap`, `gateway`, `switch`
const ( DeviceTypeWithAllEnum_ALL DeviceTypeWithAllEnum = "all" DeviceTypeWithAllEnum_AP DeviceTypeWithAllEnum = "ap" DeviceTypeWithAllEnum_GATEWAY DeviceTypeWithAllEnum = "gateway" DeviceTypeWithAllEnum_ENUMSWITCH DeviceTypeWithAllEnum = "switch" )
type DeviceUpgrade ¶
type DeviceUpgrade struct { // 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]interface{} `json:"_"` }
DeviceUpgrade represents a DeviceUpgrade struct.
func (DeviceUpgrade) MarshalJSON ¶
func (d DeviceUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DeviceUpgrade. It customizes the JSON marshaling process for DeviceUpgrade objects.
func (*DeviceUpgrade) 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. Whether to upgrade mesh AP’s parallelly or sequentially at the end of the upgrade. enum: `parallel`, `sequential`
const ( DeviceUpgradeRrmMeshUpgradeEnum_PARALLEL DeviceUpgradeRrmMeshUpgradeEnum = "parallel" DeviceUpgradeRrmMeshUpgradeEnum_SEQUENTIAL DeviceUpgradeRrmMeshUpgradeEnum = "sequential" )
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. enum: `center_to_fringe`, `fringe_to_center`
const ( DeviceUpgradeRrmNodeOrderEnum_CENTERTOFRINGE DeviceUpgradeRrmNodeOrderEnum = "center_to_fringe" DeviceUpgradeRrmNodeOrderEnum_FRINGETOCENTER DeviceUpgradeRrmNodeOrderEnum = "fringe_to_center" )
type DeviceUpgradeStatusEnum ¶
type DeviceUpgradeStatusEnum string
DeviceUpgradeStatusEnum is a string enum. status upgrade is in. enum: `cancelled`, `completed`, `created`, `downloaded`, `downloading`, `failed`, `upgrading`
const ( DeviceUpgradeStatusEnum_CANCELLED DeviceUpgradeStatusEnum = "cancelled" DeviceUpgradeStatusEnum_COMPLETED DeviceUpgradeStatusEnum = "completed" DeviceUpgradeStatusEnum_CREATED DeviceUpgradeStatusEnum = "created" DeviceUpgradeStatusEnum_DOWNLOADED DeviceUpgradeStatusEnum = "downloaded" DeviceUpgradeStatusEnum_DOWNLOADING DeviceUpgradeStatusEnum = "downloading" DeviceUpgradeStatusEnum_FAILED DeviceUpgradeStatusEnum = "failed" DeviceUpgradeStatusEnum_UPGRADING DeviceUpgradeStatusEnum = "upgrading" )
type DeviceUpgradeStrategyEnum ¶
type DeviceUpgradeStrategyEnum string
DeviceUpgradeStrategyEnum is a string enum. enum: `big_bang` (upgrade all at once), `canary`, `rrm`, `serial` (one at a time)
const ( DeviceUpgradeStrategyEnum_BIGBANG DeviceUpgradeStrategyEnum = "big_bang" DeviceUpgradeStrategyEnum_CANARY DeviceUpgradeStrategyEnum = "canary" DeviceUpgradeStrategyEnum_RRM DeviceUpgradeStrategyEnum = "rrm" DeviceUpgradeStrategyEnum_SERIAL DeviceUpgradeStrategyEnum = "serial" )
type DeviceVersionItem ¶
type DeviceVersionItem struct { // Device model (as seen in the device stats) Model string `json:"model"` // annotation, stable / beta / alpha. Or it can be empty or nothing which is likely a dev build Tag *string `json:"tag,omitempty"` // firmware version Version string `json:"version"` AdditionalProperties map[string]interface{} `json:"_"` }
DeviceVersionItem represents a DeviceVersionItem struct.
func (DeviceVersionItem) MarshalJSON ¶
func (d DeviceVersionItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DeviceVersionItem. It customizes the JSON marshaling process for DeviceVersionItem objects.
func (*DeviceVersionItem) UnmarshalJSON ¶
func (d *DeviceVersionItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DeviceVersionItem. It customizes the JSON unmarshaling process for DeviceVersionItem objects.
type Deviceprofile ¶
type Deviceprofile struct {
// contains filtered or unexported fields
}
Deviceprofile represents a Deviceprofile struct.
func (*Deviceprofile) AsDeviceprofileAp ¶ added in v0.3.0
func (d *Deviceprofile) AsDeviceprofileAp() ( *DeviceprofileAp, bool)
func (*Deviceprofile) AsDeviceprofileGateway ¶ added in v0.3.0
func (d *Deviceprofile) AsDeviceprofileGateway() ( *DeviceprofileGateway, bool)
func (Deviceprofile) MarshalJSON ¶
func (d Deviceprofile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for Deviceprofile. It customizes the JSON marshaling process for Deviceprofile objects.
func (Deviceprofile) String ¶ added in v0.3.0
func (d Deviceprofile) String() string
String converts the Deviceprofile object to a string representation.
func (*Deviceprofile) UnmarshalJSON ¶
func (d *Deviceprofile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for Deviceprofile. It customizes the JSON unmarshaling process for Deviceprofile objects.
type DeviceprofileAp ¶
type DeviceprofileAp struct { // Aeroscout AP settings Aeroscout *ApAeroscout `json:"aeroscout,omitempty"` // BLE AP settings BleConfig *BleConfig `json:"ble_config,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // whether to disable eth1 port DisableEth1 *bool `json:"disable_eth1,omitempty"` // whether to disable eth2 port DisableEth2 *bool `json:"disable_eth2,omitempty"` // whether to disable eth3 port DisableEth3 *bool `json:"disable_eth3,omitempty"` // whether to disable module port DisableModule *bool `json:"disable_module,omitempty"` EslConfig *ApEslConfig `json:"esl_config,omitempty"` ForSite *bool `json:"for_site,omitempty"` // Unique ID of the object instance in the Mist Organnization 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"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` Name *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. enum: `ap` Type string `json:"type"` 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]interface{} `json:"_"` }
DeviceprofileAp represents a DeviceprofileAp struct. Device Profile
func (DeviceprofileAp) MarshalJSON ¶
func (d DeviceprofileAp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DeviceprofileAp. It customizes the JSON marshaling process for DeviceprofileAp objects.
func (*DeviceprofileAp) UnmarshalJSON ¶
func (d *DeviceprofileAp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DeviceprofileAp. It customizes the JSON unmarshaling process for DeviceprofileAp objects.
type DeviceprofileGateway ¶ added in v0.2.8
type DeviceprofileGateway struct { // additional CLI commands to append to the generated Junos config. **Note**: no check is done AdditionalConfigCmds []string `json:"additional_config_cmds,omitempty"` BgpConfig map[string]BgpConfig `json:"bgp_config,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` DhcpdConfig *DhcpdConfig `json:"dhcpd_config,omitempty"` DnsOverride *bool `json:"dnsOverride,omitempty"` // Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting DnsServers []string `json:"dns_servers,omitempty"` // Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting DnsSuffix []string `json:"dns_suffix,omitempty"` // Property key is the destination CIDR (e.g. "10.0.0.0/8") ExtraRoutes map[string]GatewayExtraRoute `json:"extra_routes,omitempty"` // Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64") ExtraRoutes6 map[string]GatewayExtraRoute `json:"extra_routes6,omitempty"` // Gateway matching GatewayMatching *GatewayMatching `json:"gateway_matching,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // Property key is the profile name IdpProfiles map[string]IdpProfile `json:"idp_profiles,omitempty"` // Property key is the network name IpConfigs map[string]GatewayIpConfigProperty `json:"ip_configs,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` Name string `json:"name"` Networks []Network `json:"networks,omitempty"` NtpOverride *bool `json:"ntpOverride,omitempty"` // list of NTP servers specific to this device. By default, those in Site Settings will be used NtpServers []string `json:"ntp_servers,omitempty"` // out-of-band (vme/em0/fxp0) IP config OobIpConfig *GatewayOobIpConfig `json:"oob_ip_config,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` // Property key is the path name PathPreferences map[string]GatewayPathPreferences `json:"path_preferences,omitempty"` // Property key is the port(s) name or range (e.g. "ge-0/0/0-10") PortConfig map[string]GatewayPortConfig `json:"port_config,omitempty"` // auto assigned if not set RouterId *string `json:"router_id,omitempty"` // Property key is the routing policy name RoutingPolicies map[string]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. enum: `gateway` Type string `json:"type"` VrfConfig *VrfConfig `json:"vrf_config,omitempty"` // Property key is the network name VrfInstances map[string]GatewayVrfInstance `json:"vrf_instances,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
DeviceprofileGateway represents a DeviceprofileGateway struct. Gateway Template is applied to a site for gateway(s) in a site.
func (DeviceprofileGateway) MarshalJSON ¶ added in v0.2.8
func (d DeviceprofileGateway) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DeviceprofileGateway. It customizes the JSON marshaling process for DeviceprofileGateway objects.
func (*DeviceprofileGateway) 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 DhcpClientOption ¶ added in v0.3.17
type DhcpClientOption struct { Code *string `json:"code,omitempty"` Data *string `json:"data,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
DhcpClientOption represents a DhcpClientOption struct.
func (DhcpClientOption) MarshalJSON ¶ added in v0.3.17
func (d DhcpClientOption) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DhcpClientOption. It customizes the JSON marshaling process for DhcpClientOption objects.
func (*DhcpClientOption) UnmarshalJSON ¶ added in v0.3.17
func (d *DhcpClientOption) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DhcpClientOption. It customizes the JSON unmarshaling process for DhcpClientOption objects.
type DhcpSnooping ¶
type DhcpSnooping struct { AllNetworks *bool `json:"all_networks,omitempty"` // Enable for dynamic ARP inspection check EnableArpSpoofCheck *bool `json:"enable_arp_spoof_check,omitempty"` // Enable for check for forging source IP address EnableIpSourceGuard *bool `json:"enable_ip_source_guard,omitempty"` Enabled *bool `json:"enabled,omitempty"` // if `all_networks`==`false`, list of network with DHCP snooping enabled Networks []string `json:"networks,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
DhcpSnooping represents a DhcpSnooping struct.
func (DhcpSnooping) MarshalJSON ¶
func (d DhcpSnooping) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DhcpSnooping. It customizes the JSON marshaling process for DhcpSnooping objects.
func (*DhcpSnooping) UnmarshalJSON ¶
func (d *DhcpSnooping) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DhcpSnooping. It customizes the JSON unmarshaling process for DhcpSnooping objects.
type DhcpdConfig ¶
type DhcpdConfig struct { // if set to `false`, disable the DHCP server Enabled *bool `json:"enabled,omitempty"` AdditionalProperties map[string]DhcpdConfigProperty `json:"_"` }
DhcpdConfig represents a DhcpdConfig struct.
func (DhcpdConfig) MarshalJSON ¶
func (d DhcpdConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DhcpdConfig. It customizes the JSON marshaling process for DhcpdConfig objects.
func (*DhcpdConfig) UnmarshalJSON ¶
func (d *DhcpdConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DhcpdConfig. It customizes the JSON unmarshaling process for DhcpdConfig objects.
type DhcpdConfigFixedBinding ¶
type DhcpdConfigFixedBinding struct { Ip *string `json:"ip,omitempty"` Name *string `json:"name,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
DhcpdConfigFixedBinding represents a DhcpdConfigFixedBinding struct.
func (DhcpdConfigFixedBinding) MarshalJSON ¶
func (d DhcpdConfigFixedBinding) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DhcpdConfigFixedBinding. It customizes the JSON marshaling process for DhcpdConfigFixedBinding objects.
func (*DhcpdConfigFixedBinding) UnmarshalJSON ¶
func (d *DhcpdConfigFixedBinding) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DhcpdConfigFixedBinding. It customizes the JSON unmarshaling process for DhcpdConfigFixedBinding objects.
type DhcpdConfigOption ¶
type DhcpdConfigOption struct { // enum: `boolean`, `hex`, `int16`, `int32`, `ip`, `string`, `uint16`, `uint32` Type *DhcpdConfigOptionTypeEnum `json:"type,omitempty"` Value *string `json:"value,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
DhcpdConfigOption represents a DhcpdConfigOption struct.
func (DhcpdConfigOption) MarshalJSON ¶
func (d DhcpdConfigOption) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DhcpdConfigOption. It customizes the JSON marshaling process for DhcpdConfigOption objects.
func (*DhcpdConfigOption) UnmarshalJSON ¶
func (d *DhcpdConfigOption) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DhcpdConfigOption. It customizes the JSON unmarshaling process for DhcpdConfigOption objects.
type DhcpdConfigOptionTypeEnum ¶
type DhcpdConfigOptionTypeEnum string
DhcpdConfigOptionTypeEnum is a string enum. enum: `boolean`, `hex`, `int16`, `int32`, `ip`, `string`, `uint16`, `uint32`
const ( DhcpdConfigOptionTypeEnum_BOOLEAN DhcpdConfigOptionTypeEnum = "boolean" DhcpdConfigOptionTypeEnum_HEX DhcpdConfigOptionTypeEnum = "hex" DhcpdConfigOptionTypeEnum_ENUMINT16 DhcpdConfigOptionTypeEnum = "int16" DhcpdConfigOptionTypeEnum_ENUMINT32 DhcpdConfigOptionTypeEnum = "int32" DhcpdConfigOptionTypeEnum_IP DhcpdConfigOptionTypeEnum = "ip" DhcpdConfigOptionTypeEnum_ENUMSTRING DhcpdConfigOptionTypeEnum = "string" DhcpdConfigOptionTypeEnum_ENUMUINT16 DhcpdConfigOptionTypeEnum = "uint16" DhcpdConfigOptionTypeEnum_ENUMUINT32 DhcpdConfigOptionTypeEnum = "uint32" )
type DhcpdConfigProperty ¶
type DhcpdConfigProperty struct { // if `type`==`local` or `type6`==`local` - optional, if not defined, system one will be used DnsServers []string `json:"dns_servers,omitempty"` // if `type`==`local` or `type6`==`local` - optional, if not defined, system one will be used DnsSuffix []string `json:"dns_suffix,omitempty"` // if `type`==`local` or `type6`==`local`. Property key is the MAC Address. Format is `[0-9a-f]{12}` (e.g "5684dae9ac8b") FixedBindings map[string]DhcpdConfigFixedBinding `json:"fixed_bindings,omitempty"` // if `type`==`local` - optional, `ip` will be used if not provided Gateway *string `json:"gateway,omitempty"` // if `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"` // if `type`==`local` or `type6`==`local`. Property key is the DHCP option number Options map[string]DhcpdConfigOption `json:"options,omitempty"` // `server_id_override`==`true` means the device, when acts as DHCP relay and forwards DHCP responses from DHCP server to clients, // should overwrite the Sever Identifier option (i.e. DHCP option 54) in DHCP responses with its own IP address. ServerIdOverride *bool `json:"server_id_override,omitempty"` // if `type`==`relay` Servers []string `json:"servers,omitempty"` // if `type6`==`relay` Servers6 []string `json:"servers6,omitempty"` // enum: `local` (DHCP Server), `none`, `relay` (DHCP Relay) Type *DhcpdConfigTypeEnum `json:"type,omitempty"` // enum: `local` (DHCP Server), `none`, `relay` (DHCP Relay) Type6 *DhcpdConfigTypeEnum `json:"type6,omitempty"` // if `type`==`local` or `type6`==`local`. Property key is <enterprise number>:<sub option code>, with // * enterprise number: 1-65535 (https://www.iana.org/assignments/enterprise-numbers/enterprise-numbers) // * sub option code: 1-255, sub-option code' VendorEncapsulated map[string]DhcpdConfigVendorOption `json:"vendor_encapsulated,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
DhcpdConfigProperty represents a DhcpdConfigProperty struct.
func (DhcpdConfigProperty) MarshalJSON ¶
func (d DhcpdConfigProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DhcpdConfigProperty. It customizes the JSON marshaling process for DhcpdConfigProperty objects.
func (*DhcpdConfigProperty) UnmarshalJSON ¶
func (d *DhcpdConfigProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DhcpdConfigProperty. It customizes the JSON unmarshaling process for DhcpdConfigProperty objects.
type DhcpdConfigTypeEnum ¶
type DhcpdConfigTypeEnum string
DhcpdConfigTypeEnum is a string enum. enum: `local` (DHCP Server), `none`, `relay` (DHCP Relay)
const ( DhcpdConfigTypeEnum_LOCAL DhcpdConfigTypeEnum = "local" DhcpdConfigTypeEnum_NONE DhcpdConfigTypeEnum = "none" DhcpdConfigTypeEnum_RELAY DhcpdConfigTypeEnum = "relay" )
type DhcpdConfigVendorOption ¶
type DhcpdConfigVendorOption struct { // enum: `boolean`, `hex`, `int16`, `int32`, `ip`, `string`, `uint16`, `uint32` Type *DhcpdConfigVendorOptionTypeEnum `json:"type,omitempty"` Value *string `json:"value,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
DhcpdConfigVendorOption represents a DhcpdConfigVendorOption struct.
func (DhcpdConfigVendorOption) MarshalJSON ¶
func (d DhcpdConfigVendorOption) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DhcpdConfigVendorOption. It customizes the JSON marshaling process for DhcpdConfigVendorOption objects.
func (*DhcpdConfigVendorOption) UnmarshalJSON ¶
func (d *DhcpdConfigVendorOption) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DhcpdConfigVendorOption. It customizes the JSON unmarshaling process for DhcpdConfigVendorOption objects.
type DhcpdConfigVendorOptionTypeEnum ¶
type DhcpdConfigVendorOptionTypeEnum string
DhcpdConfigVendorOptionTypeEnum is a string enum. enum: `boolean`, `hex`, `int16`, `int32`, `ip`, `string`, `uint16`, `uint32`
const ( DhcpdConfigVendorOptionTypeEnum_BOOLEAN DhcpdConfigVendorOptionTypeEnum = "boolean" DhcpdConfigVendorOptionTypeEnum_HEX DhcpdConfigVendorOptionTypeEnum = "hex" DhcpdConfigVendorOptionTypeEnum_ENUMINT16 DhcpdConfigVendorOptionTypeEnum = "int16" DhcpdConfigVendorOptionTypeEnum_ENUMINT32 DhcpdConfigVendorOptionTypeEnum = "int32" DhcpdConfigVendorOptionTypeEnum_IP DhcpdConfigVendorOptionTypeEnum = "ip" DhcpdConfigVendorOptionTypeEnum_ENUMSTRING DhcpdConfigVendorOptionTypeEnum = "string" DhcpdConfigVendorOptionTypeEnum_ENUMUINT16 DhcpdConfigVendorOptionTypeEnum = "uint16" DhcpdConfigVendorOptionTypeEnum_ENUMUINT32 DhcpdConfigVendorOptionTypeEnum = "uint32" )
type DhcpdStatLan ¶
type DhcpdStatLan struct { NumIps *int `json:"num_ips,omitempty"` NumLeased *int `json:"num_leased,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
DhcpdStatLan represents a DhcpdStatLan struct.
func (DhcpdStatLan) MarshalJSON ¶
func (d DhcpdStatLan) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DhcpdStatLan. It customizes the JSON marshaling process for DhcpdStatLan objects.
func (*DhcpdStatLan) 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]interface{} `json:"_"` }
DiscoveredSwitch represents a DiscoveredSwitch struct.
func (DiscoveredSwitch) MarshalJSON ¶
func (d DiscoveredSwitch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DiscoveredSwitch. It customizes the JSON marshaling process for DiscoveredSwitch objects.
func (*DiscoveredSwitch) 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]interface{} `json:"_"` }
DiscoveredSwitchAp represents a DiscoveredSwitchAp struct.
func (DiscoveredSwitchAp) MarshalJSON ¶
func (d DiscoveredSwitchAp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DiscoveredSwitchAp. It customizes the JSON marshaling process for DiscoveredSwitchAp objects.
func (*DiscoveredSwitchAp) 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]interface{} `json:"_"` }
DiscoveredSwitchMetric represents a DiscoveredSwitchMetric struct.
func (DiscoveredSwitchMetric) MarshalJSON ¶
func (d DiscoveredSwitchMetric) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DiscoveredSwitchMetric. It customizes the JSON marshaling process for DiscoveredSwitchMetric objects.
func (*DiscoveredSwitchMetric) UnmarshalJSON ¶
func (d *DiscoveredSwitchMetric) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DiscoveredSwitchMetric. It customizes the JSON unmarshaling process for DiscoveredSwitchMetric objects.
type DiscoveredSwitchMetricAp ¶
type DiscoveredSwitchMetricAp struct { Hostname *string `json:"hostname,omitempty"` Mac *string `json:"mac,omitempty"` PoeStatus *bool `json:"poe_status,omitempty"` Port *string `json:"port,omitempty"` PortId *string `json:"port_id,omitempty"` PowerDraw *int `json:"power_draw,omitempty"` When *string `json:"when,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
DiscoveredSwitchMetricAp represents a DiscoveredSwitchMetricAp struct.
func (DiscoveredSwitchMetricAp) MarshalJSON ¶
func (d DiscoveredSwitchMetricAp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DiscoveredSwitchMetricAp. It customizes the JSON marshaling process for DiscoveredSwitchMetricAp objects.
func (*DiscoveredSwitchMetricAp) UnmarshalJSON ¶
func (d *DiscoveredSwitchMetricAp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DiscoveredSwitchMetricAp. It customizes the JSON unmarshaling process for DiscoveredSwitchMetricAp objects.
type DiscoveredSwitchMetricTypeEnum ¶
type DiscoveredSwitchMetricTypeEnum string
DiscoveredSwitchMetricTypeEnum is a string enum. enum: `inactive_wired_vlans`, `poe_compliance`, `switch_ap_affinity`, `version_compliance`
const ( DiscoveredSwitchMetricTypeEnum_INACTIVEWIREDVLANS DiscoveredSwitchMetricTypeEnum = "inactive_wired_vlans" DiscoveredSwitchMetricTypeEnum_POECOMPLIANCE DiscoveredSwitchMetricTypeEnum = "poe_compliance" DiscoveredSwitchMetricTypeEnum_SWITCHAPAFFINITY DiscoveredSwitchMetricTypeEnum = "switch_ap_affinity" DiscoveredSwitchMetricTypeEnum_VERSIONCOMPLIANCE DiscoveredSwitchMetricTypeEnum = "version_compliance" )
type DiscoveredSwitchesMetricScopeEnum ¶
type DiscoveredSwitchesMetricScopeEnum string
DiscoveredSwitchesMetricScopeEnum is a string enum. enum: `site`, `switch`
const ( DiscoveredSwitchesMetricScopeEnum_SITE DiscoveredSwitchesMetricScopeEnum = "site" DiscoveredSwitchesMetricScopeEnum_ENUMSWITCH DiscoveredSwitchesMetricScopeEnum = "switch" )
type Dot11BandEnum ¶
type Dot11BandEnum string
Dot11BandEnum is a string enum. enum: `24`, `5`, `6`
const ( Dot11BandEnum_ENUM24 Dot11BandEnum = "24" Dot11BandEnum_ENUM5 Dot11BandEnum = "5" Dot11BandEnum_ENUM6 Dot11BandEnum = "6" )
type Dot11Bandwidth24Enum ¶
type Dot11Bandwidth24Enum int
Dot11Bandwidth24Enum is a int enum. channel width for the 2.4GHz band. enum: `20`, `40`
const ( Dot11Bandwidth24Enum_ENUM20 Dot11Bandwidth24Enum = 20 Dot11Bandwidth24Enum_ENUM40 Dot11Bandwidth24Enum = 40 )
type Dot11Bandwidth5Enum ¶
type Dot11Bandwidth5Enum int
Dot11Bandwidth5Enum is a int enum. channel width for the 5GHz band. enum: `20`, `40`, `80`
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. enum: `20`, `40`, `80`, `160`
const ( Dot11Bandwidth6Enum_ENUM20 Dot11Bandwidth6Enum = 20 Dot11Bandwidth6Enum_ENUM40 Dot11Bandwidth6Enum = 40 Dot11Bandwidth6Enum_ENUM80 Dot11Bandwidth6Enum = 80 Dot11Bandwidth6Enum_ENUM160 Dot11Bandwidth6Enum = 160 )
type Dot11BandwidthEnum ¶
type Dot11BandwidthEnum int
Dot11BandwidthEnum is a int enum. channel width for the band.enum: `20`, `40`, `80` (only applicable for band_5 and band_6), `160` (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. enum: `a`, `ac`, `ax`, `b`, `g`, `n`
const ( Dot11ProtoEnum_A Dot11ProtoEnum = "a" Dot11ProtoEnum_AC Dot11ProtoEnum = "ac" Dot11ProtoEnum_AX Dot11ProtoEnum = "ax" Dot11ProtoEnum_B Dot11ProtoEnum = "b" Dot11ProtoEnum_G Dot11ProtoEnum = "g" Dot11ProtoEnum_N Dot11ProtoEnum = "n" )
type DswitchesComplianceMajorVersion ¶
type DswitchesComplianceMajorVersion struct { MajorCount float64 `json:"major_count"` Model string `json:"model"` SystemNames []string `json:"system_names,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
DswitchesComplianceMajorVersion represents a DswitchesComplianceMajorVersion struct.
func (DswitchesComplianceMajorVersion) MarshalJSON ¶
func (d DswitchesComplianceMajorVersion) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DswitchesComplianceMajorVersion. It customizes the JSON marshaling process for DswitchesComplianceMajorVersion objects.
func (*DswitchesComplianceMajorVersion) UnmarshalJSON ¶
func (d *DswitchesComplianceMajorVersion) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DswitchesComplianceMajorVersion. It customizes the JSON unmarshaling process for DswitchesComplianceMajorVersion objects.
type DswitchesMetricsInactiveWiredVlans ¶
type DswitchesMetricsInactiveWiredVlans struct { Details interface{} `json:"details"` Score float64 `json:"score"` AdditionalProperties map[string]interface{} `json:"_"` }
DswitchesMetricsInactiveWiredVlans represents a DswitchesMetricsInactiveWiredVlans struct.
func (DswitchesMetricsInactiveWiredVlans) MarshalJSON ¶
func (d DswitchesMetricsInactiveWiredVlans) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DswitchesMetricsInactiveWiredVlans. It customizes the JSON marshaling process for DswitchesMetricsInactiveWiredVlans objects.
func (*DswitchesMetricsInactiveWiredVlans) UnmarshalJSON ¶
func (d *DswitchesMetricsInactiveWiredVlans) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DswitchesMetricsInactiveWiredVlans. It customizes the JSON unmarshaling process for DswitchesMetricsInactiveWiredVlans objects.
type DswitchesMetricsPoeCompliance ¶
type DswitchesMetricsPoeCompliance struct { Details DswitchesMetricsPoeComplianceDetails `json:"details"` Score float64 `json:"score"` AdditionalProperties map[string]interface{} `json:"_"` }
DswitchesMetricsPoeCompliance represents a DswitchesMetricsPoeCompliance struct.
func (DswitchesMetricsPoeCompliance) MarshalJSON ¶
func (d DswitchesMetricsPoeCompliance) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DswitchesMetricsPoeCompliance. It customizes the JSON marshaling process for DswitchesMetricsPoeCompliance objects.
func (*DswitchesMetricsPoeCompliance) UnmarshalJSON ¶
func (d *DswitchesMetricsPoeCompliance) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DswitchesMetricsPoeCompliance. It customizes the JSON unmarshaling process for DswitchesMetricsPoeCompliance objects.
type DswitchesMetricsPoeComplianceDetails ¶
type DswitchesMetricsPoeComplianceDetails struct { TotalAps int `json:"total_aps"` TotalPower float64 `json:"total_power"` AdditionalProperties map[string]interface{} `json:"_"` }
DswitchesMetricsPoeComplianceDetails represents a DswitchesMetricsPoeComplianceDetails struct.
func (DswitchesMetricsPoeComplianceDetails) MarshalJSON ¶
func (d DswitchesMetricsPoeComplianceDetails) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DswitchesMetricsPoeComplianceDetails. It customizes the JSON marshaling process for DswitchesMetricsPoeComplianceDetails objects.
func (*DswitchesMetricsPoeComplianceDetails) UnmarshalJSON ¶
func (d *DswitchesMetricsPoeComplianceDetails) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DswitchesMetricsPoeComplianceDetails. It customizes the JSON unmarshaling process for DswitchesMetricsPoeComplianceDetails objects.
type DswitchesMetricsSwitchApAffinity ¶
type DswitchesMetricsSwitchApAffinity struct { Details DswitchesMetricsSwitchApAffinityDetails `json:"details"` Score float64 `json:"score"` AdditionalProperties map[string]interface{} `json:"_"` }
DswitchesMetricsSwitchApAffinity represents a DswitchesMetricsSwitchApAffinity struct.
func (DswitchesMetricsSwitchApAffinity) MarshalJSON ¶
func (d DswitchesMetricsSwitchApAffinity) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DswitchesMetricsSwitchApAffinity. It customizes the JSON marshaling process for DswitchesMetricsSwitchApAffinity objects.
func (*DswitchesMetricsSwitchApAffinity) UnmarshalJSON ¶
func (d *DswitchesMetricsSwitchApAffinity) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DswitchesMetricsSwitchApAffinity. It customizes the JSON unmarshaling process for DswitchesMetricsSwitchApAffinity objects.
type DswitchesMetricsSwitchApAffinityDetails ¶
type DswitchesMetricsSwitchApAffinityDetails struct { SystemName []string `json:"system_name"` Threshold float64 `json:"threshold"` AdditionalProperties map[string]interface{} `json:"_"` }
DswitchesMetricsSwitchApAffinityDetails represents a DswitchesMetricsSwitchApAffinityDetails struct.
func (DswitchesMetricsSwitchApAffinityDetails) MarshalJSON ¶
func (d DswitchesMetricsSwitchApAffinityDetails) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DswitchesMetricsSwitchApAffinityDetails. It customizes the JSON marshaling process for DswitchesMetricsSwitchApAffinityDetails objects.
func (*DswitchesMetricsSwitchApAffinityDetails) UnmarshalJSON ¶
func (d *DswitchesMetricsSwitchApAffinityDetails) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DswitchesMetricsSwitchApAffinityDetails. It customizes the JSON unmarshaling process for DswitchesMetricsSwitchApAffinityDetails objects.
type DswitchesMetricsVersionCompliance ¶
type DswitchesMetricsVersionCompliance struct { Details DswitchesMetricsVersionComplianceDetails `json:"details"` Score float64 `json:"score"` AdditionalProperties map[string]interface{} `json:"_"` }
DswitchesMetricsVersionCompliance represents a DswitchesMetricsVersionCompliance struct.
func (DswitchesMetricsVersionCompliance) MarshalJSON ¶
func (d DswitchesMetricsVersionCompliance) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DswitchesMetricsVersionCompliance. It customizes the JSON marshaling process for DswitchesMetricsVersionCompliance objects.
func (*DswitchesMetricsVersionCompliance) UnmarshalJSON ¶
func (d *DswitchesMetricsVersionCompliance) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DswitchesMetricsVersionCompliance. It customizes the JSON unmarshaling process for DswitchesMetricsVersionCompliance objects.
type DswitchesMetricsVersionComplianceDetails ¶
type DswitchesMetricsVersionComplianceDetails struct { MajorVersions []DswitchesComplianceMajorVersion `json:"major_versions"` TotalSwitchCount int `json:"total_switch_count"` AdditionalProperties map[string]interface{} `json:"_"` }
DswitchesMetricsVersionComplianceDetails represents a DswitchesMetricsVersionComplianceDetails struct.
func (DswitchesMetricsVersionComplianceDetails) MarshalJSON ¶
func (d DswitchesMetricsVersionComplianceDetails) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for DswitchesMetricsVersionComplianceDetails. It customizes the JSON marshaling process for DswitchesMetricsVersionComplianceDetails objects.
func (*DswitchesMetricsVersionComplianceDetails) UnmarshalJSON ¶
func (d *DswitchesMetricsVersionComplianceDetails) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for DswitchesMetricsVersionComplianceDetails. It customizes the JSON unmarshaling process for DswitchesMetricsVersionComplianceDetails objects.
type DynamicPskSourceEnum ¶
type DynamicPskSourceEnum string
DynamicPskSourceEnum is a string enum. enum: `cloud_psks`, `radius`
const ( DynamicPskSourceEnum_CLOUDPSKS DynamicPskSourceEnum = "cloud_psks" DynamicPskSourceEnum_RADIUS DynamicPskSourceEnum = "radius" )
type EmailString ¶
type EmailString struct { Email string `json:"email"` AdditionalProperties map[string]interface{} `json:"_"` }
EmailString represents a EmailString struct.
func (EmailString) MarshalJSON ¶
func (e EmailString) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EmailString. It customizes the JSON marshaling process for EmailString objects.
func (*EmailString) 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"` // enum: `fail`, `none`, `pingpong`, `poor`, `slow`, `success` Type *EventFastroamTypeEnum `json:"type,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
EventFastroam represents a EventFastroam struct.
func (EventFastroam) MarshalJSON ¶
func (e EventFastroam) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EventFastroam. It customizes the JSON marshaling process for EventFastroam objects.
func (*EventFastroam) UnmarshalJSON ¶
func (e *EventFastroam) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EventFastroam. It customizes the JSON unmarshaling process for EventFastroam objects.
type EventFastroamTypeEnum ¶
type EventFastroamTypeEnum string
EventFastroamTypeEnum is a string enum. enum: `fail`, `none`, `pingpong`, `poor`, `slow`, `success`
const ( EventFastroamTypeEnum_FAIL EventFastroamTypeEnum = "fail" EventFastroamTypeEnum_NONE EventFastroamTypeEnum = "none" EventFastroamTypeEnum_PINGPONG EventFastroamTypeEnum = "pingpong" EventFastroamTypeEnum_POOR EventFastroamTypeEnum = "poor" EventFastroamTypeEnum_SLOW EventFastroamTypeEnum = "slow" EventFastroamTypeEnum_SUCCESS EventFastroamTypeEnum = "success" )
type EventNacClient ¶
type EventNacClient struct { Ap *string `json:"ap,omitempty"` // authentication type, e.g. "eap-tls", "peap-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 UsermacLabel []string `json:"usermac_label,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]interface{} `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]interface{} `json:"_"` }
EventOtherdevice represents a EventOtherdevice struct.
func (EventOtherdevice) MarshalJSON ¶
func (e EventOtherdevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EventOtherdevice. It customizes the JSON marshaling process for EventOtherdevice objects.
func (*EventOtherdevice) 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"` // enum: `24`, `5`, `6` Band Dot11BandEnum `json:"band"` Bssid *string `json:"bssid,omitempty"` Channel *int `json:"channel,omitempty"` // enum: `a`, `ac`, `ax`, `b`, `g`, `n` 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]interface{} `json:"_"` }
EventsClient represents a EventsClient struct. client events
func (EventsClient) MarshalJSON ¶
func (e EventsClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EventsClient. It customizes the JSON marshaling process for EventsClient objects.
func (*EventsClient) UnmarshalJSON ¶
func (e *EventsClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EventsClient. It customizes the JSON unmarshaling process for EventsClient objects.
type EventsClientWan ¶
type EventsClientWan struct { When *string `json:"When,omitempty"` EvType *string `json:"ev_type,omitempty"` Metadata *interface{} `json:"metadata,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` RandomMac *bool `json:"random_mac,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` Text *string `json:"text,omitempty"` Wcid *uuid.UUID `json:"wcid,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
EventsClientWan represents a EventsClientWan struct.
func (EventsClientWan) MarshalJSON ¶
func (e EventsClientWan) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EventsClientWan. It customizes the JSON marshaling process for EventsClientWan objects.
func (*EventsClientWan) 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]interface{} `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]interface{} `json:"_"` }
EventsRogue represents a EventsRogue struct. rogue events
func (EventsRogue) MarshalJSON ¶
func (e EventsRogue) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EventsRogue. It customizes the JSON marshaling process for EventsRogue objects.
func (*EventsRogue) 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]interface{} `json:"_"` }
EventsSkyatp represents a EventsSkyatp struct. SkyATP events
func (EventsSkyatp) MarshalJSON ¶
func (e EventsSkyatp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EventsSkyatp. It customizes the JSON marshaling process for EventsSkyatp objects.
func (*EventsSkyatp) UnmarshalJSON ¶
func (e *EventsSkyatp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EventsSkyatp. It customizes the JSON unmarshaling process for EventsSkyatp objects.
type EvpnConfig ¶
type EvpnConfig struct { Enabled *bool `json:"enabled,omitempty"` // enum: `access`, `collapsed-core`, `core`, `distribution`, `esilag-access`, `none` Role *EvpnConfigRoleEnum `json:"role,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
EvpnConfig represents a EvpnConfig struct. EVPN Junos settings
func (EvpnConfig) MarshalJSON ¶
func (e EvpnConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EvpnConfig. It customizes the JSON marshaling process for EvpnConfig objects.
func (*EvpnConfig) UnmarshalJSON ¶
func (e *EvpnConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EvpnConfig. It customizes the JSON unmarshaling process for EvpnConfig objects.
type EvpnConfigRoleEnum ¶
type EvpnConfigRoleEnum string
EvpnConfigRoleEnum is a string enum. enum: `access`, `collapsed-core`, `core`, `distribution`, `esilag-access`, `none`
const ( EvpnConfigRoleEnum_ACCESS EvpnConfigRoleEnum = "access" EvpnConfigRoleEnum_COLLAPSEDCORE EvpnConfigRoleEnum = "collapsed-core" EvpnConfigRoleEnum_CORE EvpnConfigRoleEnum = "core" EvpnConfigRoleEnum_DISTRIBUTION EvpnConfigRoleEnum = "distribution" EvpnConfigRoleEnum_ESILAGACCESS EvpnConfigRoleEnum = "esilag-access" EvpnConfigRoleEnum_NONE EvpnConfigRoleEnum = "none" )
type EvpnOptions ¶
type EvpnOptions struct { // optional, for dhcp_relay, unique loopback IPs are required for ERB or IPClos where we can set option-82 server_id-overrides AutoLoopbackSubnet *string `json:"auto_loopback_subnet,omitempty"` // optional, for dhcp_relay, unique loopback IPs are required for ERB or IPClos where we can set option-82 server_id-overrides AutoLoopbackSubnet6 *string `json:"auto_loopback_subnet6,omitempty"` // optional, this generates router_id automatically, if specified, `router_id_prefix` is ignored AutoRouterIdSubnet *string `json:"auto_router_id_subnet,omitempty"` // optional, this generates router_id automatically, if specified, `router_id_prefix` is ignored AutoRouterIdSubnet6 *string `json:"auto_router_id_subnet6,omitempty"` // optional, for ERB or CLOS, you can either use esilag to upstream routers or to also be the virtual-gateway // when `routed_at` != `core`, whether to do virtual-gateway at core as well CoreAsBorder *bool `json:"core_as_border,omitempty"` Overlay *EvpnOptionsOverlay `json:"overlay,omitempty"` // only for by Core-Distribution architecture when `evpn_options.routed_at`==`core`. By default, JUNOS uses 00-00-5e-00-01-01 as the virtual-gateway-address's // v4_mac. If enabled, 00-00-5e-00-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. enum: `core`, `distribution`, `edge` 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]interface{} `json:"_"` }
EvpnOptions represents a EvpnOptions struct. EVPN Options
func (EvpnOptions) MarshalJSON ¶
func (e EvpnOptions) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EvpnOptions. It customizes the JSON marshaling process for EvpnOptions objects.
func (*EvpnOptions) UnmarshalJSON ¶
func (e *EvpnOptions) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EvpnOptions. It customizes the JSON unmarshaling process for EvpnOptions objects.
type EvpnOptionsOverlay ¶
type EvpnOptionsOverlay struct { // Overlay BGP Local AS Number As *int `json:"as,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
EvpnOptionsOverlay represents a EvpnOptionsOverlay struct.
func (EvpnOptionsOverlay) MarshalJSON ¶
func (e EvpnOptionsOverlay) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EvpnOptionsOverlay. It customizes the JSON marshaling process for EvpnOptionsOverlay objects.
func (*EvpnOptionsOverlay) UnmarshalJSON ¶
func (e *EvpnOptionsOverlay) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EvpnOptionsOverlay. It customizes the JSON unmarshaling process for EvpnOptionsOverlay objects.
type EvpnOptionsRoutedAtEnum ¶
type EvpnOptionsRoutedAtEnum string
EvpnOptionsRoutedAtEnum is a string enum. optional, where virtual-gateway should reside. enum: `core`, `distribution`, `edge`
const ( EvpnOptionsRoutedAtEnum_CORE EvpnOptionsRoutedAtEnum = "core" EvpnOptionsRoutedAtEnum_DISTRIBUTION EvpnOptionsRoutedAtEnum = "distribution" EvpnOptionsRoutedAtEnum_EDGE EvpnOptionsRoutedAtEnum = "edge" )
type EvpnOptionsUnderlay ¶
type EvpnOptionsUnderlay struct { // Underlay BGP Base AS Number AsBase *int `json:"as_base,omitempty"` RoutedIdPrefix *string `json:"routed_id_prefix,omitempty"` // underlay subnet, by default, `10.255.240.0/20`, or `fd31:5700::/64` for ipv6 Subnet *string `json:"subnet,omitempty"` // if v6 is desired for underlay UseIpv6 *bool `json:"use_ipv6,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
EvpnOptionsUnderlay represents a EvpnOptionsUnderlay struct.
func (EvpnOptionsUnderlay) MarshalJSON ¶
func (e EvpnOptionsUnderlay) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EvpnOptionsUnderlay. It customizes the JSON marshaling process for EvpnOptionsUnderlay objects.
func (*EvpnOptionsUnderlay) UnmarshalJSON ¶
func (e *EvpnOptionsUnderlay) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EvpnOptionsUnderlay. It customizes the JSON unmarshaling process for EvpnOptionsUnderlay objects.
type EvpnOptionsVsInstance ¶
type EvpnOptionsVsInstance struct { Networks []string `json:"networks,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
EvpnOptionsVsInstance represents a EvpnOptionsVsInstance struct.
func (EvpnOptionsVsInstance) MarshalJSON ¶
func (e EvpnOptionsVsInstance) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EvpnOptionsVsInstance. It customizes the JSON marshaling process for EvpnOptionsVsInstance objects.
func (*EvpnOptionsVsInstance) 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 { // EVPN Options EvpnOptions *EvpnOptions `json:"evpn_options,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` Name *string `json:"name,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` Overwrite *bool `json:"overwrite,omitempty"` // Property key is the pod number PodNames map[string]string `json:"pod_names,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` Switches []EvpnTopologySwitch `json:"switches"` AdditionalProperties map[string]interface{} `json:"_"` }
EvpnTopology represents a EvpnTopology struct.
func (EvpnTopology) MarshalJSON ¶
func (e EvpnTopology) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EvpnTopology. It customizes the JSON marshaling process for EvpnTopology objects.
func (*EvpnTopology) 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 { Config *EvpnTopologySwitchConfig `json:"config,omitempty"` DeviceprofileId *uuid.UUID `json:"deviceprofile_id,omitempty"` DownlinkIps []string `json:"downlink_ips,omitempty"` Downlinks []string `json:"downlinks,omitempty"` Esilaglinks []string `json:"esilaglinks,omitempty"` EvpnId *int `json:"evpn_id,omitempty"` Mac string `json:"mac"` Model *string `json:"model,omitempty"` // optionally, for distribution / access / esilag-access, they can be placed into different pods. e.g. // * for CLOS, to group dist / access switches into pods // * for ERB/CRB, to group dist / esilag-access into pods Pod *int `json:"pod,omitempty"` // by default, core switches are assumed to be connecting all pods. // if you want to limit the pods, you can specify pods. Pods []int `json:"pods,omitempty"` // use `role`==`none` to remove a switch from the topology. enum: `access`, `collapsed-core`, `core`, `distribution`, `esilag-access`, `none` Role EvpnTopologySwitchRoleEnum `json:"role"` RouterId *string `json:"router_id,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` SuggestedDownlinks []string `json:"suggested_downlinks,omitempty"` SuggestedEsilaglinks []string `json:"suggested_esilaglinks,omitempty"` SuggestedUplinks []string `json:"suggested_uplinks,omitempty"` Uplinks []string `json:"uplinks,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
EvpnTopologySwitch represents a EvpnTopologySwitch struct.
func (EvpnTopologySwitch) MarshalJSON ¶
func (e EvpnTopologySwitch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EvpnTopologySwitch. It customizes the JSON marshaling process for EvpnTopologySwitch objects.
func (*EvpnTopologySwitch) UnmarshalJSON ¶
func (e *EvpnTopologySwitch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EvpnTopologySwitch. It customizes the JSON unmarshaling process for EvpnTopologySwitch objects.
type EvpnTopologySwitchConfig ¶ added in v0.4.4
type EvpnTopologySwitchConfig struct { DhcpdConfig *EvpnTopologySwitchConfigDhcpdConfig `json:"dhcpd_config,omitempty"` // Property key is network name Networks map[string]SwitchNetwork `json:"networks,omitempty"` // additional IP Addresses configured on the switch. Property key is the port network name OtherIpConfigs map[string]JunosOtherIpConfig `json:"other_ip_configs,omitempty"` // Property key is the port name or range (e.g. "ge-0/0/0-10") PortConfig map[string]JunosPortConfig `json:"port_config,omitempty"` // Property key is the port usage name. Defines the profiles of port configuration configured on the switch PortUsages map[string]SwitchPortUsage `json:"port_usages,omitempty"` // used for OSPF / BGP / EVPN RouterId *string `json:"router_id,omitempty"` VrfConfig *EvpnTopologySwitchConfigVrfConfig `json:"vrf_config,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
EvpnTopologySwitchConfig represents a EvpnTopologySwitchConfig struct.
func (EvpnTopologySwitchConfig) MarshalJSON ¶ added in v0.4.4
func (e EvpnTopologySwitchConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EvpnTopologySwitchConfig. It customizes the JSON marshaling process for EvpnTopologySwitchConfig objects.
func (*EvpnTopologySwitchConfig) UnmarshalJSON ¶ added in v0.4.4
func (e *EvpnTopologySwitchConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EvpnTopologySwitchConfig. It customizes the JSON unmarshaling process for EvpnTopologySwitchConfig objects.
type EvpnTopologySwitchConfigDhcpdConfig ¶ added in v0.4.6
type EvpnTopologySwitchConfigDhcpdConfig struct { // If DHCPD is enabled on the switch Enabled *bool `json:"enabled,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
EvpnTopologySwitchConfigDhcpdConfig represents a EvpnTopologySwitchConfigDhcpdConfig struct.
func (EvpnTopologySwitchConfigDhcpdConfig) MarshalJSON ¶ added in v0.4.6
func (e EvpnTopologySwitchConfigDhcpdConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EvpnTopologySwitchConfigDhcpdConfig. It customizes the JSON marshaling process for EvpnTopologySwitchConfigDhcpdConfig objects.
func (*EvpnTopologySwitchConfigDhcpdConfig) UnmarshalJSON ¶ added in v0.4.6
func (e *EvpnTopologySwitchConfigDhcpdConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EvpnTopologySwitchConfigDhcpdConfig. It customizes the JSON unmarshaling process for EvpnTopologySwitchConfigDhcpdConfig objects.
type EvpnTopologySwitchConfigVrfConfig ¶ added in v0.4.6
type EvpnTopologySwitchConfigVrfConfig struct { // whether to enable VRF (when supported on the device) Enabled *bool `json:"enabled,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
EvpnTopologySwitchConfigVrfConfig represents a EvpnTopologySwitchConfigVrfConfig struct.
func (EvpnTopologySwitchConfigVrfConfig) MarshalJSON ¶ added in v0.4.6
func (e EvpnTopologySwitchConfigVrfConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for EvpnTopologySwitchConfigVrfConfig. It customizes the JSON marshaling process for EvpnTopologySwitchConfigVrfConfig objects.
func (*EvpnTopologySwitchConfigVrfConfig) UnmarshalJSON ¶ added in v0.4.6
func (e *EvpnTopologySwitchConfigVrfConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for EvpnTopologySwitchConfigVrfConfig. It customizes the JSON unmarshaling process for EvpnTopologySwitchConfigVrfConfig objects.
type EvpnTopologySwitchRoleEnum ¶
type EvpnTopologySwitchRoleEnum string
EvpnTopologySwitchRoleEnum is a string enum. use `role`==`none` to remove a switch from the topology. enum: `access`, `collapsed-core`, `core`, `distribution`, `esilag-access`, `none`
const ( EvpnTopologySwitchRoleEnum_ACCESS EvpnTopologySwitchRoleEnum = "access" EvpnTopologySwitchRoleEnum_COLLAPSEDCORE EvpnTopologySwitchRoleEnum = "collapsed-core" EvpnTopologySwitchRoleEnum_CORE EvpnTopologySwitchRoleEnum = "core" EvpnTopologySwitchRoleEnum_DISTRIBUTION EvpnTopologySwitchRoleEnum = "distribution" EvpnTopologySwitchRoleEnum_ESILAGACCESS EvpnTopologySwitchRoleEnum = "esilag-access" EvpnTopologySwitchRoleEnum_NONE EvpnTopologySwitchRoleEnum = "none" )
type ExtraRoute ¶ added in v0.2.25
type ExtraRoute struct { // this takes precedence Discard *bool `json:"discard,omitempty"` Metric Optional[int] `json:"metric"` NextQualified map[string]ExtraRouteNextQualifiedProperties `json:"next_qualified,omitempty"` NoResolve *bool `json:"no_resolve,omitempty"` Preference Optional[int] `json:"preference"` // next-hop IP Address Via *string `json:"via,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ExtraRoute represents a ExtraRoute struct.
func (ExtraRoute) MarshalJSON ¶ added in v0.2.25
func (e ExtraRoute) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ExtraRoute. It customizes the JSON marshaling process for ExtraRoute objects.
func (*ExtraRoute) UnmarshalJSON ¶ added in v0.2.25
func (e *ExtraRoute) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ExtraRoute. It customizes the JSON unmarshaling process for ExtraRoute objects.
type ExtraRoute6 ¶ added in v0.2.25
type ExtraRoute6 struct { // this takes precedence Discard *bool `json:"discard,omitempty"` Metric Optional[int] `json:"metric"` NextQualified map[string]ExtraRoute6NextQualifiedProperties `json:"next_qualified,omitempty"` NoResolve *bool `json:"no_resolve,omitempty"` Preference Optional[int] `json:"preference"` // next-hop IP Address Via *string `json:"via,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ExtraRoute6 represents a ExtraRoute6 struct.
func (ExtraRoute6) MarshalJSON ¶ added in v0.2.25
func (e ExtraRoute6) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ExtraRoute6. It customizes the JSON marshaling process for ExtraRoute6 objects.
func (*ExtraRoute6) UnmarshalJSON ¶ added in v0.2.25
func (e *ExtraRoute6) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ExtraRoute6. It customizes the JSON unmarshaling process for ExtraRoute6 objects.
type ExtraRoute6NextQualifiedProperties ¶ added in v0.2.25
type ExtraRoute6NextQualifiedProperties struct { Metric Optional[int] `json:"metric"` Preference Optional[int] `json:"preference"` AdditionalProperties map[string]interface{} `json:"_"` }
ExtraRoute6NextQualifiedProperties represents a ExtraRoute6NextQualifiedProperties struct.
func (ExtraRoute6NextQualifiedProperties) MarshalJSON ¶ added in v0.2.25
func (e ExtraRoute6NextQualifiedProperties) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ExtraRoute6NextQualifiedProperties. It customizes the JSON marshaling process for ExtraRoute6NextQualifiedProperties objects.
func (*ExtraRoute6NextQualifiedProperties) UnmarshalJSON ¶ added in v0.2.25
func (e *ExtraRoute6NextQualifiedProperties) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ExtraRoute6NextQualifiedProperties. It customizes the JSON unmarshaling process for ExtraRoute6NextQualifiedProperties objects.
type ExtraRouteNextQualifiedProperties ¶ added in v0.2.25
type ExtraRouteNextQualifiedProperties struct { Metric Optional[int] `json:"metric"` Preference Optional[int] `json:"preference"` AdditionalProperties map[string]interface{} `json:"_"` }
ExtraRouteNextQualifiedProperties represents a ExtraRouteNextQualifiedProperties struct.
func (ExtraRouteNextQualifiedProperties) MarshalJSON ¶ added in v0.2.25
func (e ExtraRouteNextQualifiedProperties) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ExtraRouteNextQualifiedProperties. It customizes the JSON marshaling process for ExtraRouteNextQualifiedProperties objects.
func (*ExtraRouteNextQualifiedProperties) UnmarshalJSON ¶ added in v0.2.25
func (e *ExtraRouteNextQualifiedProperties) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ExtraRouteNextQualifiedProperties. It customizes the JSON unmarshaling process for ExtraRouteNextQualifiedProperties objects.
type FastRoamResultEnum ¶
type FastRoamResultEnum string
FastRoamResultEnum is a string enum. enum: `fail`, `none`, `success`
const ( FastRoamResultEnum_FAIL FastRoamResultEnum = "fail" FastRoamResultEnum_NONE FastRoamResultEnum = "none" FastRoamResultEnum_SUCCESS FastRoamResultEnum = "success" )
type FileWrapper ¶
type FileWrapper = https.FileWrapper
FileWrapper is a struct that represents a file along with its metadata such as the file content, file name, and file headers.
type FwupdateStat ¶
type FwupdateStat struct { Progress Optional[int] `json:"progress"` // enum: `inprogress`, `failed`, `upgraded` Status Optional[FwupdateStatStatusEnum] `json:"status"` StatusId Optional[int] `json:"status_id"` Timestamp Optional[float64] `json:"timestamp"` WillRetry Optional[bool] `json:"will_retry"` AdditionalProperties map[string]interface{} `json:"_"` }
FwupdateStat represents a FwupdateStat struct.
func (FwupdateStat) MarshalJSON ¶
func (f FwupdateStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for FwupdateStat. It customizes the JSON marshaling process for FwupdateStat objects.
func (*FwupdateStat) UnmarshalJSON ¶
func (f *FwupdateStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for FwupdateStat. It customizes the JSON unmarshaling process for FwupdateStat objects.
type FwupdateStatStatusEnum ¶ added in v0.4.17
type FwupdateStatStatusEnum string
FwupdateStatStatusEnum is a string enum. enum: `inprogress`, `failed`, `upgraded`
const ( FwupdateStatStatusEnum_INPROGRESS FwupdateStatStatusEnum = "inprogress" FwupdateStatStatusEnum_FAILED FwupdateStatStatusEnum = "failed" FwupdateStatStatusEnum_UPGRADED FwupdateStatStatusEnum = "upgraded" )
type GatewayCluster ¶
type GatewayCluster struct { // when replacing a node, either mac has to remain the same as existing cluster Nodes []GatewayClusterNode `json:"nodes"` AdditionalProperties map[string]interface{} `json:"_"` }
GatewayCluster represents a GatewayCluster struct.
func (GatewayCluster) MarshalJSON ¶
func (g GatewayCluster) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayCluster. It customizes the JSON marshaling process for GatewayCluster objects.
func (*GatewayCluster) UnmarshalJSON ¶
func (g *GatewayCluster) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayCluster. It customizes the JSON unmarshaling process for GatewayCluster objects.
type GatewayClusterNode ¶
type GatewayClusterNode struct { // Gateway MAC Address. Format is `[0-9a-f]{12}` (e.g "5684dae9ac8b") Mac string `json:"mac"` AdditionalProperties map[string]interface{} `json:"_"` }
GatewayClusterNode represents a GatewayClusterNode struct.
func (GatewayClusterNode) MarshalJSON ¶
func (g GatewayClusterNode) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayClusterNode. It customizes the JSON marshaling process for GatewayClusterNode objects.
func (*GatewayClusterNode) UnmarshalJSON ¶
func (g *GatewayClusterNode) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayClusterNode. It customizes the JSON unmarshaling process for GatewayClusterNode objects.
type GatewayComplianceMajorVersionProperties ¶
type GatewayComplianceMajorVersionProperties struct { MajorCount *int `json:"major_count,omitempty"` MajorVersion *string `json:"major_version,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
GatewayComplianceMajorVersionProperties represents a GatewayComplianceMajorVersionProperties struct.
func (GatewayComplianceMajorVersionProperties) MarshalJSON ¶
func (g GatewayComplianceMajorVersionProperties) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayComplianceMajorVersionProperties. It customizes the JSON marshaling process for GatewayComplianceMajorVersionProperties objects.
func (*GatewayComplianceMajorVersionProperties) UnmarshalJSON ¶
func (g *GatewayComplianceMajorVersionProperties) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayComplianceMajorVersionProperties. It customizes the JSON unmarshaling process for GatewayComplianceMajorVersionProperties objects.
type GatewayComplianceVersion ¶
type GatewayComplianceVersion struct { MajorVersion map[string]GatewayComplianceMajorVersionProperties `json:"major_version,omitempty"` Score *float64 `json:"score,omitempty"` Type *string `json:"type,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
GatewayComplianceVersion represents a GatewayComplianceVersion struct. version compliance score, major version for gateway, type
func (GatewayComplianceVersion) MarshalJSON ¶
func (g GatewayComplianceVersion) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayComplianceVersion. It customizes the JSON marshaling process for GatewayComplianceVersion objects.
func (*GatewayComplianceVersion) UnmarshalJSON ¶
func (g *GatewayComplianceVersion) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayComplianceVersion. It customizes the JSON unmarshaling process for GatewayComplianceVersion objects.
type GatewayExtraRoute ¶
type GatewayExtraRoute struct { Via *string `json:"via,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
GatewayExtraRoute represents a GatewayExtraRoute struct.
func (GatewayExtraRoute) MarshalJSON ¶
func (g GatewayExtraRoute) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayExtraRoute. It customizes the JSON marshaling process for GatewayExtraRoute objects.
func (*GatewayExtraRoute) 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"` // enum: `dhcp`, `static` Type *IpTypeEnum `json:"type,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
GatewayIpConfigProperty represents a GatewayIpConfigProperty struct.
func (GatewayIpConfigProperty) MarshalJSON ¶
func (g GatewayIpConfigProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayIpConfigProperty. It customizes the JSON marshaling process for GatewayIpConfigProperty objects.
func (*GatewayIpConfigProperty) UnmarshalJSON ¶
func (g *GatewayIpConfigProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayIpConfigProperty. It customizes the JSON unmarshaling process for GatewayIpConfigProperty objects.
type GatewayMatching ¶
type GatewayMatching struct { Enable *bool `json:"enable,omitempty"` Rules []GatewayMatchingRule `json:"rules,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
GatewayMatching represents a GatewayMatching struct. Gateway matching
func (GatewayMatching) MarshalJSON ¶
func (g GatewayMatching) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayMatching. It customizes the JSON marshaling process for GatewayMatching objects.
func (*GatewayMatching) 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]string `json:"_"` }
GatewayMatchingRule represents a GatewayMatchingRule struct.
func (GatewayMatchingRule) MarshalJSON ¶
func (g GatewayMatchingRule) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayMatchingRule. It customizes the JSON marshaling process for GatewayMatchingRule objects.
func (*GatewayMatchingRule) UnmarshalJSON ¶
func (g *GatewayMatchingRule) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayMatchingRule. It customizes the JSON unmarshaling process for GatewayMatchingRule objects.
type GatewayMetrics ¶
type GatewayMetrics struct { // config success score ConfigSuccess *float64 `json:"config_success,omitempty"` // version compliance score, major version for gateway, type VersionCompliance *GatewayComplianceVersion `json:"version_compliance,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
GatewayMetrics represents a GatewayMetrics struct.
func (GatewayMetrics) MarshalJSON ¶
func (g GatewayMetrics) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayMetrics. It customizes the JSON marshaling process for GatewayMetrics objects.
func (*GatewayMetrics) 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 { // if `type`==`static` Gateway *string `json:"gateway,omitempty"` // if `type`==`static` Ip *string `json:"ip,omitempty"` // if `type`==`static` Netmask *string `json:"netmask,omitempty"` // for HA Cluster, node1 can have different IP Config Node1 *GatewayOobIpConfigNode1 `json:"node1,omitempty"` // enum: `dhcp`, `static` Type *IpTypeEnum `json:"type,omitempty"` // if supported on the platform. If enabled, DNS will be using this routing-instance, too UseMgmtVrf *bool `json:"use_mgmt_vrf,omitempty"` // for host-out traffic (NTP/TACPLUS/RADIUS/SYSLOG/SNMP), if alternative source network/ip is desired UseMgmtVrfForHostOut *bool `json:"use_mgmt_vrf_for_host_out,omitempty"` VlanId *string `json:"vlan_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
GatewayOobIpConfig represents a GatewayOobIpConfig struct. out-of-band (vme/em0/fxp0) IP config
func (GatewayOobIpConfig) MarshalJSON ¶
func (g GatewayOobIpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayOobIpConfig. It customizes the JSON marshaling process for GatewayOobIpConfig objects.
func (*GatewayOobIpConfig) UnmarshalJSON ¶
func (g *GatewayOobIpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayOobIpConfig. It customizes the JSON unmarshaling process for GatewayOobIpConfig objects.
type GatewayOobIpConfigNode1 ¶
type GatewayOobIpConfigNode1 struct { // if `type`==`static` Gateway *string `json:"gateway,omitempty"` Ip *string `json:"ip,omitempty"` // used only if `subnet` is not specified in `networks` Netmask *string `json:"netmask,omitempty"` // enum: `dhcp`, `static` Type *IpTypeEnum `json:"type,omitempty"` // if supported on the platform. If enabled, DNS will be using this routing-instance, too UseMgmtVrf *bool `json:"use_mgmt_vrf,omitempty"` // whether to use `mgmt_junos` for host-out traffic (NTP/TACPLUS/RADIUS/SYSLOG/SNMP), if alternative source network/ip is desired UseMgmtVrfForHostOut *bool `json:"use_mgmt_vrf_for_host_out,omitempty"` VlanId *string `json:"vlan_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
GatewayOobIpConfigNode1 represents a GatewayOobIpConfigNode1 struct. for HA Cluster, node1 can have different IP Config
func (GatewayOobIpConfigNode1) MarshalJSON ¶
func (g GatewayOobIpConfigNode1) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayOobIpConfigNode1. It customizes the JSON marshaling process for GatewayOobIpConfigNode1 objects.
func (*GatewayOobIpConfigNode1) UnmarshalJSON ¶
func (g *GatewayOobIpConfigNode1) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayOobIpConfigNode1. It customizes the JSON unmarshaling process for GatewayOobIpConfigNode1 objects.
type GatewayPathPreferences ¶
type GatewayPathPreferences struct { Paths []GatewayPathPreferencesPath `json:"paths,omitempty"` // enum: `ecmp`, `ordered`, `weighted` Strategy *GatewayPathStrategyEnum `json:"strategy,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
GatewayPathPreferences represents a GatewayPathPreferences struct.
func (GatewayPathPreferences) MarshalJSON ¶
func (g GatewayPathPreferences) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayPathPreferences. It customizes the JSON marshaling process for GatewayPathPreferences objects.
func (*GatewayPathPreferences) UnmarshalJSON ¶
func (g *GatewayPathPreferences) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayPathPreferences. It customizes the JSON unmarshaling process for GatewayPathPreferences objects.
type GatewayPathPreferencesPath ¶
type GatewayPathPreferencesPath struct { Cost *int `json:"cost,omitempty"` // For SSR Only. `true`, if this specific path is undesired Disabled *bool `json:"disabled,omitempty"` // only if `type`==`local`, if a different gateway is desired GatewayIp *string `json:"gateway_ip,omitempty"` // only if `type`==`vpn`, if this vpn path can be used for internet InternetAccess *bool `json:"internet_access,omitempty"` // required when // * `type`==`vpn`: the name of the VPN Path to use // * `type`==`wan`: the name of the WAN interface to use' Name *string `json:"name,omitempty"` // required when `type`==`local` Networks []string `json:"networks,omitempty"` // if `type`==`local`, if destination IP is to be replaced TargetIps []string `json:"target_ips,omitempty"` // enum: `local`, `tunnel`, `vpn`, `wan` Type *GatewayPathTypeEnum `json:"type,omitempty"` // optional if `type`==`vpn` WanName *string `json:"wan_name,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
GatewayPathPreferencesPath represents a GatewayPathPreferencesPath struct.
func (GatewayPathPreferencesPath) MarshalJSON ¶
func (g GatewayPathPreferencesPath) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayPathPreferencesPath. It customizes the JSON marshaling process for GatewayPathPreferencesPath objects.
func (*GatewayPathPreferencesPath) UnmarshalJSON ¶
func (g *GatewayPathPreferencesPath) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayPathPreferencesPath. It customizes the JSON unmarshaling process for GatewayPathPreferencesPath objects.
type GatewayPathStrategyEnum ¶
type GatewayPathStrategyEnum string
GatewayPathStrategyEnum is a string enum. enum: `ecmp`, `ordered`, `weighted`
const ( GatewayPathStrategyEnum_ECMP GatewayPathStrategyEnum = "ecmp" GatewayPathStrategyEnum_ORDERED GatewayPathStrategyEnum = "ordered" GatewayPathStrategyEnum_WEIGHTED GatewayPathStrategyEnum = "weighted" )
type GatewayPathTypeEnum ¶
type GatewayPathTypeEnum string
GatewayPathTypeEnum is a string enum. enum: `local`, `tunnel`, `vpn`, `wan`
const ( GatewayPathTypeEnum_LOCAL GatewayPathTypeEnum = "local" GatewayPathTypeEnum_TUNNEL GatewayPathTypeEnum = "tunnel" GatewayPathTypeEnum_VPN GatewayPathTypeEnum = "vpn" GatewayPathTypeEnum_WAN GatewayPathTypeEnum = "wan" )
type GatewayPortConfig ¶
type GatewayPortConfig struct { // if `aggregated`==`true`. To disable LCP support for the AE interface AeDisableLacp *bool `json:"ae_disable_lacp,omitempty"` // if `aggregated`==`true`. Users could force to use the designated AE name (must be an integer between 0 and 127) AeIdx Optional[string] `json:"ae_idx"` // For SRX Only, if `aggregated`==`true`.Sets the state of the interface as UP when the peer has limited LACP capability.\n // Use case: When a device connected to this AE port is ZTPing for the first time, it will not have LACP configured on the other end\n // Note: Turning this on will enable force-up on one of the interfaces in the bundle only AeLacpForceUp *bool `json:"ae_lacp_force_up,omitempty"` Aggregated *bool `json:"aggregated,omitempty"` // if want to generate port up/down alarm, set it to true Critical *bool `json:"critical,omitempty"` Description *string `json:"description,omitempty"` DisableAutoneg *bool `json:"disable_autoneg,omitempty"` // port admin up (true) / down (false) Disabled *bool `json:"disabled,omitempty"` // if `wan_type`==`dsl`. enum: `adsl`, `vdsl` DslType *GatewayPortDslTypeEnum `json:"dsl_type,omitempty"` // if `wan_type`==`dsl` // 16 bit int DslVci *int `json:"dsl_vci,omitempty"` // if `wan_type`==`dsl` // 8 bit int DslVpi *int `json:"dsl_vpi,omitempty"` // enum: `auto`, `full`, `half` Duplex *GatewayPortDuplexEnum `json:"duplex,omitempty"` // Junos IP Config IpConfig *GatewayPortConfigIpConfig `json:"ip_config,omitempty"` // if `wan_type`==`lte` LteApn *string `json:"lte_apn,omitempty"` // if `wan_type`==`lte`. enum: `chap`, `none`, `pap` LteAuth *GatewayPortLteAuthEnum `json:"lte_auth,omitempty"` LteBackup *bool `json:"lte_backup,omitempty"` // if `wan_type`==`lte` LtePassword *string `json:"lte_password,omitempty"` // if `wan_type`==`lte` LteUsername *string `json:"lte_username,omitempty"` Mtu *int `json:"mtu,omitempty"` // name that we'll use to derive config Name *string `json:"name,omitempty"` // if `usage`==`lan` 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. enum: `ha_control`, `ha_data`, `lan`, `wan` Usage GatewayPortUsageEnum `json:"usage"` // if WAN interface is on a VLAN VlanId *int `json:"vlan_id,omitempty"` // Property key is the VPN name VpnPaths map[string]GatewayPortVpnPath `json:"vpn_paths,omitempty"` // when `wan_type`==`broadband`. enum: `default`, `max`, `recommended` 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"` // Property Key is the destianation CIDR (e.g "100.100.100.0/24") WanExtraRoutes map[string]WanExtraRoutes `json:"wan_extra_routes,omitempty"` // if some networks are connected to this WAN port, it can be added here so policies can be defined WanNetworks []string `json:"wan_networks,omitempty"` // if `usage`==`wan` WanProbeOverride *GatewayWanProbeOverride `json:"wan_probe_override,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`. enum: `broadband`, `dsl`, `lte` WanType *GatewayPortWanTypeEnum `json:"wan_type,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
GatewayPortConfig represents a GatewayPortConfig struct. Gateway port config
func (GatewayPortConfig) MarshalJSON ¶
func (g GatewayPortConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayPortConfig. It customizes the JSON marshaling process for GatewayPortConfig objects.
func (*GatewayPortConfig) 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`. enum: `chap`, `none`, `pap` PppoeAuth *GatewayWanPpoeAuthEnum `json:"pppoe_auth,omitempty"` // if `type`==`pppoe` PppoeUsername *string `json:"pppoe_username,omitempty"` // enum: `dhcp`, `pppoe`, `static` Type *GatewayWanTypeEnum `json:"type,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
GatewayPortConfigIpConfig represents a GatewayPortConfigIpConfig struct. Junos IP Config
func (GatewayPortConfigIpConfig) MarshalJSON ¶
func (g GatewayPortConfigIpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayPortConfigIpConfig. It customizes the JSON marshaling process for GatewayPortConfigIpConfig objects.
func (*GatewayPortConfigIpConfig) 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`==`dsl`. enum: `adsl`, `vdsl`
const ( GatewayPortDslTypeEnum_ADSL GatewayPortDslTypeEnum = "adsl" GatewayPortDslTypeEnum_VDSL GatewayPortDslTypeEnum = "vdsl" )
type GatewayPortDuplexEnum ¶
type GatewayPortDuplexEnum string
GatewayPortDuplexEnum is a string enum. enum: `auto`, `full`, `half`
const ( GatewayPortDuplexEnum_AUTO GatewayPortDuplexEnum = "auto" GatewayPortDuplexEnum_FULL GatewayPortDuplexEnum = "full" GatewayPortDuplexEnum_HALF GatewayPortDuplexEnum = "half" )
type GatewayPortLteAuthEnum ¶
type GatewayPortLteAuthEnum string
GatewayPortLteAuthEnum is a string enum. if `wan_type`==`lte`. enum: `chap`, `none`, `pap`
const ( GatewayPortLteAuthEnum_CHAP GatewayPortLteAuthEnum = "chap" GatewayPortLteAuthEnum_NONE GatewayPortLteAuthEnum = "none" GatewayPortLteAuthEnum_PAP GatewayPortLteAuthEnum = "pap" )
type GatewayPortMirroring ¶
type GatewayPortMirroring struct { PortMirror *GatewayPortMirroringPortMirror `json:"port_mirror,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
GatewayPortMirroring represents a GatewayPortMirroring struct.
func (GatewayPortMirroring) MarshalJSON ¶
func (g GatewayPortMirroring) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayPortMirroring. It customizes the JSON marshaling process for GatewayPortMirroring objects.
func (*GatewayPortMirroring) UnmarshalJSON ¶
func (g *GatewayPortMirroring) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayPortMirroring. It customizes the JSON unmarshaling process for GatewayPortMirroring objects.
type GatewayPortMirroringPortMirror ¶
type GatewayPortMirroringPortMirror struct { FamilyType *string `json:"family_type,omitempty"` IngressPortIds []string `json:"ingress_port_ids,omitempty"` OutputPortId *string `json:"output_port_id,omitempty"` Rate *int `json:"rate,omitempty"` RunLength *int `json:"run_length,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
GatewayPortMirroringPortMirror represents a GatewayPortMirroringPortMirror struct.
func (GatewayPortMirroringPortMirror) MarshalJSON ¶
func (g GatewayPortMirroringPortMirror) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayPortMirroringPortMirror. It customizes the JSON marshaling process for GatewayPortMirroringPortMirror objects.
func (*GatewayPortMirroringPortMirror) UnmarshalJSON ¶
func (g *GatewayPortMirroringPortMirror) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayPortMirroringPortMirror. It customizes the JSON unmarshaling process for GatewayPortMirroringPortMirror objects.
type GatewayPortUsageEnum ¶
type GatewayPortUsageEnum string
GatewayPortUsageEnum is a string enum. port usage name. enum: `ha_control`, `ha_data`, `lan`, `wan`
const ( GatewayPortUsageEnum_HACONTROL GatewayPortUsageEnum = "ha_control" GatewayPortUsageEnum_HADATA GatewayPortUsageEnum = "ha_data" GatewayPortUsageEnum_LAN GatewayPortUsageEnum = "lan" GatewayPortUsageEnum_WAN GatewayPortUsageEnum = "wan" )
type GatewayPortVpnPath ¶
type GatewayPortVpnPath struct { // Only if the VPN `type`==`hub_spoke`. enum: `broadband`, `lte` BfdProfile *GatewayPortVpnPathBfdProfileEnum `json:"bfd_profile,omitempty"` // Only if the VPN `type`==`hub_spoke`. Whether to use tunnel mode. SSR only BfdUseTunnelMode *bool `json:"bfd_use_tunnel_mode,omitempty"` // Only if the VPN `type`==`mesh` LinkName *string `json:"link_name,omitempty"` // Only if the VPN `type`==`hub_spoke`. For a given VPN, when `path_selection.strategy`==`simple`, the preference for a path (lower is preferred) Preference *int `json:"preference,omitempty"` // Only if the VPN `type`==`hub_spoke`. enum: `hub`, `spoke` Role *GatewayPortVpnPathRoleEnum `json:"role,omitempty"` TrafficShaping *GatewayTrafficShaping `json:"traffic_shaping,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
GatewayPortVpnPath represents a GatewayPortVpnPath struct.
func (GatewayPortVpnPath) MarshalJSON ¶
func (g GatewayPortVpnPath) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayPortVpnPath. It customizes the JSON marshaling process for GatewayPortVpnPath objects.
func (*GatewayPortVpnPath) UnmarshalJSON ¶
func (g *GatewayPortVpnPath) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayPortVpnPath. It customizes the JSON unmarshaling process for GatewayPortVpnPath objects.
type GatewayPortVpnPathBfdProfileEnum ¶
type GatewayPortVpnPathBfdProfileEnum string
GatewayPortVpnPathBfdProfileEnum is a string enum. Only if the VPN `type`==`hub_spoke`. enum: `broadband`, `lte`
const ( GatewayPortVpnPathBfdProfileEnum_BROADBAND GatewayPortVpnPathBfdProfileEnum = "broadband" GatewayPortVpnPathBfdProfileEnum_LTE GatewayPortVpnPathBfdProfileEnum = "lte" )
type GatewayPortVpnPathRoleEnum ¶
type GatewayPortVpnPathRoleEnum string
GatewayPortVpnPathRoleEnum is a string enum. Only if the VPN `type`==`hub_spoke`. enum: `hub`, `spoke`
const ( GatewayPortVpnPathRoleEnum_HUB GatewayPortVpnPathRoleEnum = "hub" GatewayPortVpnPathRoleEnum_SPOKE GatewayPortVpnPathRoleEnum = "spoke" )
type GatewayPortWanArpPolicerEnum ¶
type GatewayPortWanArpPolicerEnum string
GatewayPortWanArpPolicerEnum is a string enum. when `wan_type`==`broadband`. enum: `default`, `max`, `recommended`
const ( GatewayPortWanArpPolicerEnum_ENUMDEFAULT GatewayPortWanArpPolicerEnum = "default" GatewayPortWanArpPolicerEnum_MAX GatewayPortWanArpPolicerEnum = "max" GatewayPortWanArpPolicerEnum_RECOMMENDED GatewayPortWanArpPolicerEnum = "recommended" )
type GatewayPortWanSourceNat ¶
type GatewayPortWanSourceNat struct { // or to disable the source-nat Disabled *bool `json:"disabled,omitempty"` // if alternative nat_pool is desired NatPool *string `json:"nat_pool,omitempty"` AdditionalProperties map[string]interface{} `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`. enum: `broadband`, `dsl`, `lte`
const ( GatewayPortWanTypeEnum_BROADBAND GatewayPortWanTypeEnum = "broadband" GatewayPortWanTypeEnum_DSL GatewayPortWanTypeEnum = "dsl" GatewayPortWanTypeEnum_LTE GatewayPortWanTypeEnum = "lte" )
type GatewaySearch ¶
type GatewaySearch struct { Clustered *bool `json:"clustered,omitempty"` EvpnMissingLinks *bool `json:"evpn_missing_links,omitempty"` EvpntopoId *string `json:"evpntopo_id,omitempty"` ExtIp *string `json:"ext_ip,omitempty"` Hostname []string `json:"hostname,omitempty"` Ip *string `json:"ip,omitempty"` LastHostname *string `json:"last_hostname,omitempty"` LastTroubleCode *string `json:"last_trouble_code,omitempty"` LastTroubleTimestamp *int `json:"last_trouble_timestamp,omitempty"` Mac *string `json:"mac,omitempty"` Managed *bool `json:"managed,omitempty"` Model *string `json:"model,omitempty"` Node *string `json:"node,omitempty"` Node0Mac *string `json:"node0_mac,omitempty"` Node1Mac *string `json:"node1_mac,omitempty"` NumMembers *int `json:"num_members,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` Role *string `json:"role,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` T128agentVersion *string `json:"t128agent_version,omitempty"` TimeDrifted *bool `json:"time_drifted,omitempty"` Timestamp *float64 `json:"timestamp,omitempty"` // Device Type. enum: `gateway` Type string `json:"type"` Uptime *int `json:"uptime,omitempty"` Version *string `json:"version,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
GatewaySearch represents a GatewaySearch struct.
func (GatewaySearch) MarshalJSON ¶
func (g GatewaySearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewaySearch. It customizes the JSON marshaling process for GatewaySearch objects.
func (*GatewaySearch) UnmarshalJSON ¶
func (g *GatewaySearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewaySearch. It customizes the JSON unmarshaling process for GatewaySearch objects.
type GatewayTemplate ¶
type GatewayTemplate struct { // additional CLI commands to append to the generated Junos config. **Note**: no check is done AdditionalConfigCmds []string `json:"additional_config_cmds,omitempty"` BgpConfig map[string]BgpConfig `json:"bgp_config,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` DhcpdConfig *DhcpdConfig `json:"dhcpd_config,omitempty"` DnsOverride *bool `json:"dnsOverride,omitempty"` // Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting DnsServers []string `json:"dns_servers,omitempty"` // Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting DnsSuffix []string `json:"dns_suffix,omitempty"` // Property key is the destination CIDR (e.g. "10.0.0.0/8") ExtraRoutes map[string]GatewayExtraRoute `json:"extra_routes,omitempty"` // Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64") ExtraRoutes6 map[string]GatewayExtraRoute `json:"extra_routes6,omitempty"` // Gateway matching GatewayMatching *GatewayMatching `json:"gateway_matching,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // Property key is the profile name IdpProfiles map[string]IdpProfile `json:"idp_profiles,omitempty"` // Property key is the network name IpConfigs map[string]GatewayIpConfigProperty `json:"ip_configs,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` Name string `json:"name"` Networks []Network `json:"networks,omitempty"` NtpOverride *bool `json:"ntpOverride,omitempty"` // list of NTP servers specific to this device. By default, those in Site Settings will be used NtpServers []string `json:"ntp_servers,omitempty"` // out-of-band (vme/em0/fxp0) IP config OobIpConfig *GatewayOobIpConfig `json:"oob_ip_config,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` // Property key is the path name PathPreferences map[string]GatewayPathPreferences `json:"path_preferences,omitempty"` // Property key is the port(s) name or range (e.g. "ge-0/0/0-10") PortConfig map[string]GatewayPortConfig `json:"port_config,omitempty"` // auto assigned if not set RouterId *string `json:"router_id,omitempty"` // Property key is the routing policy name RoutingPolicies map[string]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"` // enum: `spoke`, `standalone` Type *GatewayTemplateTypeEnum `json:"type,omitempty"` VrfConfig *VrfConfig `json:"vrf_config,omitempty"` // Property key is the network name VrfInstances map[string]GatewayVrfInstance `json:"vrf_instances,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
GatewayTemplate represents a GatewayTemplate struct. Gateway Template is applied to a site for gateway(s) in a site.
func (GatewayTemplate) MarshalJSON ¶
func (g GatewayTemplate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayTemplate. It customizes the JSON marshaling process for GatewayTemplate objects.
func (*GatewayTemplate) 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. enum: `http`, `icmp`
const ( GatewayTemplateProbeTypeEnum_HTTP GatewayTemplateProbeTypeEnum = "http" GatewayTemplateProbeTypeEnum_ICMP GatewayTemplateProbeTypeEnum = "icmp" )
type GatewayTemplateTunnelIkeDhGroupEnum ¶
type GatewayTemplateTunnelIkeDhGroupEnum string
GatewayTemplateTunnelIkeDhGroupEnum is a string enum. enum: * 1 * 2 (1024-bit) * 5 * 14 (default, 2048-bit) * 15 (3072-bit) * 16 (4096-bit) * 19 (256-bit ECP) * 20 (384-bit ECP) * 21 (521-bit ECP) * 24 (2048-bit ECP)
const ( GatewayTemplateTunnelIkeDhGroupEnum_ENUM1 GatewayTemplateTunnelIkeDhGroupEnum = "1" GatewayTemplateTunnelIkeDhGroupEnum_ENUM14 GatewayTemplateTunnelIkeDhGroupEnum = "14" GatewayTemplateTunnelIkeDhGroupEnum_ENUM15 GatewayTemplateTunnelIkeDhGroupEnum = "15" GatewayTemplateTunnelIkeDhGroupEnum_ENUM16 GatewayTemplateTunnelIkeDhGroupEnum = "16" GatewayTemplateTunnelIkeDhGroupEnum_ENUM19 GatewayTemplateTunnelIkeDhGroupEnum = "19" GatewayTemplateTunnelIkeDhGroupEnum_ENUM2 GatewayTemplateTunnelIkeDhGroupEnum = "2" GatewayTemplateTunnelIkeDhGroupEnum_ENUM20 GatewayTemplateTunnelIkeDhGroupEnum = "20" GatewayTemplateTunnelIkeDhGroupEnum_ENUM21 GatewayTemplateTunnelIkeDhGroupEnum = "21" GatewayTemplateTunnelIkeDhGroupEnum_ENUM24 GatewayTemplateTunnelIkeDhGroupEnum = "24" GatewayTemplateTunnelIkeDhGroupEnum_ENUM5 GatewayTemplateTunnelIkeDhGroupEnum = "5" )
type GatewayTemplateTunnelIkeModeEnum ¶
type GatewayTemplateTunnelIkeModeEnum string
GatewayTemplateTunnelIkeModeEnum is a string enum. Only if `provider`== `custom-ipsec`. enum: `aggressive`, `main`
const ( GatewayTemplateTunnelIkeModeEnum_AGGRESSIVE GatewayTemplateTunnelIkeModeEnum = "aggressive" GatewayTemplateTunnelIkeModeEnum_MAIN GatewayTemplateTunnelIkeModeEnum = "main" )
type GatewayTemplateTunnelIkeProposal ¶
type GatewayTemplateTunnelIkeProposal struct { // enum: `md5`, `sha1`, `sha2` AuthAlgo *TunnelConfigsAuthAlgoEnum `json:"auth_algo,omitempty"` // enum: // * 1 // * 2 (1024-bit) // * 5 // * 14 (default, 2048-bit) // * 15 (3072-bit) // * 16 (4096-bit) // * 19 (256-bit ECP) // * 20 (384-bit ECP) // * 21 (521-bit ECP) // * 24 (2048-bit ECP) DhGroup *GatewayTemplateTunnelIkeDhGroupEnum `json:"dh_group,omitempty"` // enum: `3des`, `aes128`, `aes256`, `aes_gcm128`, `aes_gcm256` EncAlgo Optional[TunnelConfigsEncAlgoEnum] `json:"enc_algo"` AdditionalProperties map[string]interface{} `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 { // enum: `md5`, `sha1`, `sha2` AuthAlgo *TunnelConfigsAuthAlgoEnum `json:"auth_algo,omitempty"` // Only if `provider`== `custom-ipsec`. enum: // * 1 // * 2 (1024-bit) // * 5 // * 14 (default, 2048-bit) // * 15 (3072-bit) // * 16 (4096-bit) // * 19 (256-bit ECP) // * 20 (384-bit ECP) // * 21 (521-bit ECP) // * 24 (2048-bit ECP) DhGroup *TunnelConfigsDhGroupEnum `json:"dh_group,omitempty"` // enum: `3des`, `aes128`, `aes256`, `aes_gcm128`, `aes_gcm256` EncAlgo Optional[TunnelConfigsEncAlgoEnum] `json:"enc_algo"` AdditionalProperties map[string]interface{} `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. enum: `active-active`, `active-standby`
const ( GatewayTemplateTunnelModeEnum_ACTIVEACTIVE GatewayTemplateTunnelModeEnum = "active-active" GatewayTemplateTunnelModeEnum_ACTIVESTANDBY GatewayTemplateTunnelModeEnum = "active-standby" )
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]interface{} `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"` // enum: `http`, `icmp` Type *GatewayTemplateProbeTypeEnum `json:"type,omitempty"` AdditionalProperties map[string]interface{} `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`. enum: `gre`, `ipsec`
const ( GatewayTemplateTunnelProtocolEnum_GRE GatewayTemplateTunnelProtocolEnum = "gre" GatewayTemplateTunnelProtocolEnum_IPSEC GatewayTemplateTunnelProtocolEnum = "ipsec" )
type GatewayTemplateTunnelVersionEnum ¶
type GatewayTemplateTunnelVersionEnum string
GatewayTemplateTunnelVersionEnum is a string enum. Only if `provider`== `custom-gre` or `provider`== `custom-ipsec`. enum: `1`, `2`
const ( GatewayTemplateTunnelVersionEnum_ENUM1 GatewayTemplateTunnelVersionEnum = "1" GatewayTemplateTunnelVersionEnum_ENUM2 GatewayTemplateTunnelVersionEnum = "2" )
type GatewayTemplateTypeEnum ¶
type GatewayTemplateTypeEnum string
GatewayTemplateTypeEnum is a string enum. enum: `spoke`, `standalone`
const ( GatewayTemplateTypeEnum_SPOKE GatewayTemplateTypeEnum = "spoke" GatewayTemplateTypeEnum_STANDALONE GatewayTemplateTypeEnum = "standalone" )
type GatewayTrafficShaping ¶
type GatewayTrafficShaping struct { // percentages for 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]interface{} `json:"_"` }
GatewayTrafficShaping represents a GatewayTrafficShaping struct.
func (GatewayTrafficShaping) MarshalJSON ¶
func (g GatewayTrafficShaping) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayTrafficShaping. It customizes the JSON marshaling process for GatewayTrafficShaping objects.
func (*GatewayTrafficShaping) UnmarshalJSON ¶
func (g *GatewayTrafficShaping) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayTrafficShaping. It customizes the JSON unmarshaling process for GatewayTrafficShaping objects.
type GatewayVrfInstance ¶ added in v0.2.31
type GatewayVrfInstance struct { Networks []string `json:"networks,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
GatewayVrfInstance represents a GatewayVrfInstance struct.
func (GatewayVrfInstance) MarshalJSON ¶ added in v0.2.31
func (g GatewayVrfInstance) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayVrfInstance. It customizes the JSON marshaling process for GatewayVrfInstance objects.
func (*GatewayVrfInstance) UnmarshalJSON ¶ added in v0.2.31
func (g *GatewayVrfInstance) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayVrfInstance. It customizes the JSON unmarshaling process for GatewayVrfInstance objects.
type GatewayWanPpoeAuthEnum ¶
type GatewayWanPpoeAuthEnum string
GatewayWanPpoeAuthEnum is a string enum. if `type`==`pppoe`. enum: `chap`, `none`, `pap`
const ( GatewayWanPpoeAuthEnum_CHAP GatewayWanPpoeAuthEnum = "chap" GatewayWanPpoeAuthEnum_NONE GatewayWanPpoeAuthEnum = "none" GatewayWanPpoeAuthEnum_PAP GatewayWanPpoeAuthEnum = "pap" )
type GatewayWanProbeOverride ¶ added in v0.4.0
type GatewayWanProbeOverride struct { Ips []string `json:"ips,omitempty"` // enum: `broadband`, `lte` ProbeProfile *GatewayWanProbeOverrideProbeProfileEnum `json:"probe_profile,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
GatewayWanProbeOverride represents a GatewayWanProbeOverride struct. if `usage`==`wan`
func (GatewayWanProbeOverride) MarshalJSON ¶ added in v0.4.0
func (g GatewayWanProbeOverride) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for GatewayWanProbeOverride. It customizes the JSON marshaling process for GatewayWanProbeOverride objects.
func (*GatewayWanProbeOverride) UnmarshalJSON ¶ added in v0.4.0
func (g *GatewayWanProbeOverride) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GatewayWanProbeOverride. It customizes the JSON unmarshaling process for GatewayWanProbeOverride objects.
type GatewayWanProbeOverrideProbeProfileEnum ¶ added in v0.4.0
type GatewayWanProbeOverrideProbeProfileEnum string
GatewayWanProbeOverrideProbeProfileEnum is a string enum. enum: `broadband`, `lte`
const ( GatewayWanProbeOverrideProbeProfileEnum_BROADBAND GatewayWanProbeOverrideProbeProfileEnum = "broadband" GatewayWanProbeOverrideProbeProfileEnum_LTE GatewayWanProbeOverrideProbeProfileEnum = "lte" )
type GatewayWanTypeEnum ¶
type GatewayWanTypeEnum string
GatewayWanTypeEnum is a string enum. enum: `dhcp`, `pppoe`, `static`
const ( GatewayWanTypeEnum_DHCP GatewayWanTypeEnum = "dhcp" GatewayWanTypeEnum_PPPOE GatewayWanTypeEnum = "pppoe" GatewayWanTypeEnum_STATIC GatewayWanTypeEnum = "static" )
type GetOrgMxedgeUpgradeInfoChannelEnum ¶
type GetOrgMxedgeUpgradeInfoChannelEnum string
GetOrgMxedgeUpgradeInfoChannelEnum is a string enum. enum: `alpha`, `beta`, `stable`
const ( GetOrgMxedgeUpgradeInfoChannelEnum_ALPHA GetOrgMxedgeUpgradeInfoChannelEnum = "alpha" GetOrgMxedgeUpgradeInfoChannelEnum_BETA GetOrgMxedgeUpgradeInfoChannelEnum = "beta" GetOrgMxedgeUpgradeInfoChannelEnum_STABLE GetOrgMxedgeUpgradeInfoChannelEnum = "stable" )
type Guest ¶
type Guest struct { // if `auth_method`==`email`, the email address where the authorization code has been sent to AccessCodeEmail *string `json:"access_code_email,omitempty"` // the MAC Address of the AP the guest was connected to during the registration process ApMac *string `json:"ap_mac,omitempty"` // type of guest authorization AuthMethod *string `json:"auth_method,omitempty"` // whether the guest is current authorized Authorized *bool `json:"authorized,omitempty"` // when the authorization would expire AuthorizedExpiringTime *float64 `json:"authorized_expiring_time,omitempty"` // when the guest was authorized AuthorizedTime *float64 `json:"authorized_time,omitempty"` // optional, the info provided by user Company *string `json:"company,omitempty"` // optional, the info provided by user Email *string `json:"email,omitempty"` // optional, the info provided by user Field1 *string `json:"field1,omitempty"` Field2 *string `json:"field2,omitempty"` Field3 *string `json:"field3,omitempty"` Field4 *string `json:"field4,omitempty"` // mac Mac *string `json:"mac,omitempty"` // Authorization duration, in minutes. Default is 1440 minutes (1 day), maximum is 259200 (180 days) Minutes *int `json:"minutes,omitempty"` // optional, the info provided by user Name *string `json:"name,omitempty"` // if the client is using a randomized MAC Address to connect the SSID RandomMac *bool `json:"random_mac,omitempty"` // name of the SSID Ssid *string `json:"ssid,omitempty"` // ID of the SSID WlanId *uuid.UUID `json:"wlan_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Guest represents a Guest struct. Guest
func (Guest) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Guest. It customizes the JSON marshaling process for Guest objects.
func (*Guest) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Guest. It customizes the JSON unmarshaling process for Guest objects.
type GuestOrg ¶ added in v0.3.41
type GuestOrg struct { // if `auth_method`==`email`, the email address where the authorization code has been sent to AccessCodeEmail *string `json:"access_code_email,omitempty"` // based on the WLAN portal configuration (field `allow_wlan_id_roam`), if the user is also authorized on other Guest WLANs of the same Org without reauthentication AllowWlanIdRoam *bool `json:"allow_wlan_id_roam,omitempty"` // the MAC Address of the AP the guest was connected to during the registration process ApMac *string `json:"ap_mac,omitempty"` // type of guest authorization AuthMethod *string `json:"auth_method,omitempty"` // whether the guest is current authorized Authorized *bool `json:"authorized,omitempty"` // when the authorization would expire AuthorizedExpiringTime *float64 `json:"authorized_expiring_time,omitempty"` // when the guest was authorized AuthorizedTime *float64 `json:"authorized_time,omitempty"` // optional, the info provided by user Company *string `json:"company,omitempty"` // based on the WLAN portal configuration (field `cross_site`), if the user is also authorized on other sites (same `wlan.ssid`) of the same Org without reauthentication CrossSite *bool `json:"cross_site,omitempty"` // optional, the info provided by user Email *string `json:"email,omitempty"` // optional, the info provided by user Field1 *string `json:"field1,omitempty"` Field2 *string `json:"field2,omitempty"` Field3 *string `json:"field3,omitempty"` Field4 *string `json:"field4,omitempty"` // mac Mac *string `json:"mac,omitempty"` // Authorization duration, in minutes. Default is 1440 minutes (1 day), maximum is 259200 (180 days) Minutes *int `json:"minutes,omitempty"` // optional, the info provided by user Name *string `json:"name,omitempty"` // if the client is using a randomized MAC Address to connect the SSID RandomMac *bool `json:"random_mac,omitempty"` // name of the SSID Ssid *string `json:"ssid,omitempty"` // ID of the WLAN WlanId uuid.UUID `json:"wlan_id"` AdditionalProperties map[string]interface{} `json:"_"` }
GuestOrg represents a GuestOrg struct. Guest
func (GuestOrg) MarshalJSON ¶ added in v0.3.41
MarshalJSON implements the json.Marshaler interface for GuestOrg. It customizes the JSON marshaling process for GuestOrg objects.
func (*GuestOrg) UnmarshalJSON ¶ added in v0.3.41
UnmarshalJSON implements the json.Unmarshaler interface for GuestOrg. It customizes the JSON unmarshaling process for GuestOrg 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]interface{} `json:"_"` }
HaClusterConfig represents a HaClusterConfig struct.
func (HaClusterConfig) MarshalJSON ¶
func (h HaClusterConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for HaClusterConfig. It customizes the JSON marshaling process for HaClusterConfig objects.
func (*HaClusterConfig) UnmarshalJSON ¶
func (h *HaClusterConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for HaClusterConfig. It customizes the JSON unmarshaling process for HaClusterConfig objects.
type HaClusterConfigNode ¶
type HaClusterConfigNode struct { // node mac, should be unassigned Mac *string `json:"mac,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
HaClusterConfigNode represents a HaClusterConfigNode struct.
func (HaClusterConfigNode) MarshalJSON ¶
func (h HaClusterConfigNode) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for HaClusterConfigNode. It customizes the JSON marshaling process for HaClusterConfigNode objects.
func (*HaClusterConfigNode) UnmarshalJSON ¶
func (h *HaClusterConfigNode) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for HaClusterConfigNode. It customizes the JSON unmarshaling process for HaClusterConfigNode objects.
type HaClusterDelete ¶
type HaClusterDelete struct { // node0 mac address Mac *string `json:"mac,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
HaClusterDelete represents a HaClusterDelete struct.
func (HaClusterDelete) MarshalJSON ¶
func (h HaClusterDelete) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for HaClusterDelete. It customizes the JSON marshaling process for HaClusterDelete objects.
func (*HaClusterDelete) UnmarshalJSON ¶
func (h *HaClusterDelete) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for HaClusterDelete. It customizes the JSON unmarshaling process for HaClusterDelete objects.
type HaClusterNode ¶
type HaClusterNode struct { // only for HA. enum: `node0`, `node1` Node *HaClusterNodeEnum `json:"node,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
HaClusterNode represents a HaClusterNode struct.
func (HaClusterNode) MarshalJSON ¶
func (h HaClusterNode) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for HaClusterNode. It customizes the JSON marshaling process for HaClusterNode objects.
func (*HaClusterNode) UnmarshalJSON ¶
func (h *HaClusterNode) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for HaClusterNode. It customizes the JSON unmarshaling process for HaClusterNode objects.
type HaClusterNodeEnum ¶
type HaClusterNodeEnum string
HaClusterNodeEnum is a string enum. only for HA. enum: `node0`, `node1`
const ( HaClusterNodeEnum_NODE0 HaClusterNodeEnum = "node0" HaClusterNodeEnum_NODE1 HaClusterNodeEnum = "node1" )
type Hours ¶
type Hours struct { 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]interface{} `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\u2019\ 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"` // enum: `Custom`, `strict` (default), `standard` or keys from from idp_profiles Profile *string `json:"profile,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
IdpConfig represents a IdpConfig struct.
func (IdpConfig) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for IdpConfig. It customizes the JSON marshaling process for IdpConfig objects.
func (*IdpConfig) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for IdpConfig. It customizes the JSON unmarshaling process for IdpConfig objects.
type IdpMachineCertLookupFieldEnum ¶ added in v0.2.38
type IdpMachineCertLookupFieldEnum string
IdpMachineCertLookupFieldEnum is a string enum. allow customer to choose the EAP-TLS client certificate's field to use for IDP Machine Groups lookup. enum: `automatic`, `cn`, `dns`
const ( IdpMachineCertLookupFieldEnum_AUTOMATIC IdpMachineCertLookupFieldEnum = "automatic" IdpMachineCertLookupFieldEnum_CN IdpMachineCertLookupFieldEnum = "cn" IdpMachineCertLookupFieldEnum_DNS IdpMachineCertLookupFieldEnum = "dns" )
type IdpProfile ¶
type IdpProfile struct { // enum: `critical`, `standard`, `strict` BaseProfile *IdpProfileBaseProfileEnum `json:"base_profile,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` Name *string `json:"name,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` Overwrites []IdpProfileOverwrite `json:"overwrites,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
IdpProfile represents a IdpProfile struct.
func (IdpProfile) MarshalJSON ¶
func (i IdpProfile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for IdpProfile. It customizes the JSON marshaling process for IdpProfile objects.
func (*IdpProfile) UnmarshalJSON ¶
func (i *IdpProfile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for IdpProfile. It customizes the JSON unmarshaling process for IdpProfile objects.
type IdpProfileActionEnum ¶
type IdpProfileActionEnum string
IdpProfileActionEnum is a string enum. enum: * alert (default) * drop: siliently dropping packets * close: notify client/server to close connection
const ( IdpProfileActionEnum_ALERT IdpProfileActionEnum = "alert" IdpProfileActionEnum_CLOSE IdpProfileActionEnum = "close" IdpProfileActionEnum_DROP IdpProfileActionEnum = "drop" )
type IdpProfileBaseProfileEnum ¶
type IdpProfileBaseProfileEnum string
IdpProfileBaseProfileEnum is a string enum. enum: `critical`, `standard`, `strict`
const ( IdpProfileBaseProfileEnum_CRITICAL IdpProfileBaseProfileEnum = "critical" IdpProfileBaseProfileEnum_STANDARD IdpProfileBaseProfileEnum = "standard" IdpProfileBaseProfileEnum_STRICT IdpProfileBaseProfileEnum = "strict" )
type IdpProfileMatching ¶
type IdpProfileMatching struct { AttackName []string `json:"attack_name,omitempty"` DstSubnet []string `json:"dst_subnet,omitempty"` Severity []IdpProfileMatchingSeverityValueEnum `json:"severity,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
IdpProfileMatching represents a IdpProfileMatching struct.
func (IdpProfileMatching) MarshalJSON ¶
func (i IdpProfileMatching) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for IdpProfileMatching. It customizes the JSON marshaling process for IdpProfileMatching objects.
func (*IdpProfileMatching) UnmarshalJSON ¶
func (i *IdpProfileMatching) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for IdpProfileMatching. It customizes the JSON unmarshaling process for IdpProfileMatching objects.
type IdpProfileMatchingSeverityValueEnum ¶
type IdpProfileMatchingSeverityValueEnum string
IdpProfileMatchingSeverityValueEnum is a string enum. enum: `critical`, `info`, `major`, `minor`
const ( IdpProfileMatchingSeverityValueEnum_CRITICAL IdpProfileMatchingSeverityValueEnum = "critical" IdpProfileMatchingSeverityValueEnum_INFO IdpProfileMatchingSeverityValueEnum = "info" IdpProfileMatchingSeverityValueEnum_MAJOR IdpProfileMatchingSeverityValueEnum = "major" IdpProfileMatchingSeverityValueEnum_MINOR IdpProfileMatchingSeverityValueEnum = "minor" )
type IdpProfileOverwrite ¶
type IdpProfileOverwrite struct { // enum: // * alert (default) // * drop: 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]interface{} `json:"_"` }
IdpProfileOverwrite represents a IdpProfileOverwrite struct.
func (IdpProfileOverwrite) MarshalJSON ¶
func (i IdpProfileOverwrite) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for IdpProfileOverwrite. It customizes the JSON marshaling process for IdpProfileOverwrite objects.
func (*IdpProfileOverwrite) UnmarshalJSON ¶
func (i *IdpProfileOverwrite) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for IdpProfileOverwrite. It customizes the JSON unmarshaling process for IdpProfileOverwrite objects.
type IdpUserCertLookupFieldEnum ¶ added in v0.2.38
type IdpUserCertLookupFieldEnum string
IdpUserCertLookupFieldEnum is a string enum. allow customer to choose the EAP-TLS client certificate's field to use for IDP User Groups lookup. enum: `automatic`, `cn`, `email`, `upn`
const ( IdpUserCertLookupFieldEnum_AUTOMATIC IdpUserCertLookupFieldEnum = "automatic" IdpUserCertLookupFieldEnum_CN IdpUserCertLookupFieldEnum = "cn" IdpUserCertLookupFieldEnum_EMAIL IdpUserCertLookupFieldEnum = "email" IdpUserCertLookupFieldEnum_UPN IdpUserCertLookupFieldEnum = "upn" )
type IfStatProperty ¶
type IfStatProperty struct { AddressMode *string `json:"address_mode,omitempty"` Ips []string `json:"ips,omitempty"` NatAddresses []string `json:"nat_addresses,omitempty"` NetworkName *string `json:"network_name,omitempty"` PortId *string `json:"port_id,omitempty"` PortUsage *string `json:"port_usage,omitempty"` RedundancyState *string `json:"redundancy_state,omitempty"` 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]interface{} `json:"_"` }
IfStatProperty represents a IfStatProperty struct.
func (IfStatProperty) MarshalJSON ¶
func (i IfStatProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for IfStatProperty. It customizes the JSON marshaling process for IfStatProperty objects.
func (*IfStatProperty) UnmarshalJSON ¶
func (i *IfStatProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for IfStatProperty. It customizes the JSON unmarshaling process for IfStatProperty objects.
type IfStatPropertyServpInfo ¶
type IfStatPropertyServpInfo struct { Asn *string `json:"asn,omitempty"` City *string `json:"city,omitempty"` CountryCode *string `json:"country_code,omitempty"` Latitude *float64 `json:"latitude,omitempty"` Longitude *float64 `json:"longitude,omitempty"` Org *string `json:"org,omitempty"` RegionCode *string `json:"region_code,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
IfStatPropertyServpInfo represents a IfStatPropertyServpInfo struct.
func (IfStatPropertyServpInfo) MarshalJSON ¶
func (i IfStatPropertyServpInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for IfStatPropertyServpInfo. It customizes the JSON marshaling process for IfStatPropertyServpInfo objects.
func (*IfStatPropertyServpInfo) UnmarshalJSON ¶
func (i *IfStatPropertyServpInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for IfStatPropertyServpInfo. It customizes the JSON unmarshaling process for IfStatPropertyServpInfo objects.
type ImageImport ¶
type ImageImport struct { // binary file File []byte `json:"file"` Json *string `json:"json,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ImageImport represents a ImageImport struct.
func (ImageImport) MarshalJSON ¶
func (i ImageImport) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ImageImport. It customizes the JSON marshaling process for ImageImport objects.
func (*ImageImport) UnmarshalJSON ¶
func (i *ImageImport) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ImageImport. It customizes the JSON unmarshaling process for ImageImport objects.
type ImportSiteAssetsUpsertEnum ¶
type ImportSiteAssetsUpsertEnum string
ImportSiteAssetsUpsertEnum is a string enum. enum: `False`, `True`
const ( ImportSiteAssetsUpsertEnum_FALSE ImportSiteAssetsUpsertEnum = "False" ImportSiteAssetsUpsertEnum_TRUE ImportSiteAssetsUpsertEnum = "True" )
type InsightMetrics ¶
type InsightMetrics struct { End int `json:"end"` Interval int `json:"interval"` // results depends on the `metric` Results []interface{} `json:"results"` Start int `json:"start"` AdditionalProperties map[string]interface{} `json:"_"` }
InsightMetrics represents a InsightMetrics struct.
func (InsightMetrics) MarshalJSON ¶
func (i InsightMetrics) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InsightMetrics. It customizes the JSON marshaling process for InsightMetrics objects.
func (*InsightMetrics) 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]interface{} `json:"_"` }
InsightRogueAp represents a InsightRogueAp struct.
func (InsightRogueAp) MarshalJSON ¶
func (i InsightRogueAp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InsightRogueAp. It customizes the JSON marshaling process for InsightRogueAp objects.
func (*InsightRogueAp) UnmarshalJSON ¶
func (i *InsightRogueAp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InsightRogueAp. It customizes the JSON unmarshaling process for InsightRogueAp objects.
type InsightRogueClient ¶
type InsightRogueClient struct { Annotation string `json:"annotation"` ApMac string `json:"ap_mac"` AvgRssi float64 `json:"avg_rssi"` Band string `json:"band"` Bssid string `json:"bssid"` ClientMac string `json:"client_mac"` NumAps int `json:"num_aps"` AdditionalProperties map[string]interface{} `json:"_"` }
InsightRogueClient represents a InsightRogueClient struct.
func (InsightRogueClient) MarshalJSON ¶
func (i InsightRogueClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InsightRogueClient. It customizes the JSON marshaling process for InsightRogueClient objects.
func (*InsightRogueClient) 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]interface{} `json:"_"` }
InstallerDevice represents a InstallerDevice struct.
func (InstallerDevice) MarshalJSON ¶
func (i InstallerDevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InstallerDevice. It customizes the JSON marshaling process for InstallerDevice objects.
func (*InstallerDevice) UnmarshalJSON ¶
func (i *InstallerDevice) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InstallerDevice. It customizes the JSON unmarshaling process for InstallerDevice objects.
type InstallerProvisionDevice ¶
type InstallerProvisionDevice struct { DeviceprofileName *string `json:"deviceprofile_name,omitempty"` ForSite *bool `json:"for_site,omitempty"` Height *float64 `json:"height,omitempty"` MapId *uuid.UUID `json:"map_id,omitempty"` Name string `json:"name"` Orientation *int `json:"orientation,omitempty"` // Onlif this is to replace an existing device ReplacingMac *string `json:"replacing_mac,omitempty"` // optional role for switch / gateway Role *string `json:"role,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` SiteName *string `json:"site_name,omitempty"` X *float64 `json:"x,omitempty"` Y *float64 `json:"y,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
InstallerProvisionDevice represents a InstallerProvisionDevice struct. Provision Device
func (InstallerProvisionDevice) MarshalJSON ¶
func (i InstallerProvisionDevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InstallerProvisionDevice. It customizes the JSON marshaling process for InstallerProvisionDevice objects.
func (*InstallerProvisionDevice) UnmarshalJSON ¶
func (i *InstallerProvisionDevice) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InstallerProvisionDevice. It customizes the JSON unmarshaling process for InstallerProvisionDevice objects.
type InstallerSite ¶
type InstallerSite struct { Address string `json:"address"` CountryCode string `json:"country_code"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` Latlng LatLng `json:"latlng"` Name string `json:"name"` RftemplateName *string `json:"rftemplate_name,omitempty"` SitegroupNames []string `json:"sitegroup_names,omitempty"` Timezone *string `json:"timezone,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
InstallerSite represents a InstallerSite struct.
func (InstallerSite) MarshalJSON ¶
func (i InstallerSite) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InstallerSite. It customizes the JSON marshaling process for InstallerSite objects.
func (*InstallerSite) UnmarshalJSON ¶
func (i *InstallerSite) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InstallerSite. It customizes the JSON unmarshaling process for InstallerSite objects.
type InstallersItem ¶
type InstallersItem struct { // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` Name *string `json:"name,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
InstallersItem represents a InstallersItem struct.
func (InstallersItem) MarshalJSON ¶
func (i InstallersItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InstallersItem. It customizes the JSON marshaling process for InstallersItem objects.
func (*InstallersItem) 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"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // deviceprofile id if assigned, null if not assigned DeviceprofileId Optional[string] `json:"deviceprofile_id"` // hostname reported by the device Hostname *string `json:"hostname,omitempty"` // device hardware revision number HwRev *string `json:"hw_rev,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` Jsi *bool `json:"jsi,omitempty"` // device MAC address Mac *string `json:"mac,omitempty"` // device claim code Magic *string `json:"magic,omitempty"` // device model Model *string `json:"model,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` // device name if configured Name *string `json:"name,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` // device serial Serial *string `json:"serial,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` // device stock keeping unit Sku *string `json:"sku,omitempty"` // enum: `ap`, `gateway`, `switch` Type *DeviceTypeEnum `json:"type,omitempty"` // if `type`==`switch` and device part of a Virtual Chassis, MAC Address of the Virtual Chassis. if `type`==`gateway` and device part of a Clust, MAC Address of the Cluster VcMac *string `json:"vc_mac,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Inventory represents a Inventory struct.
func (Inventory) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Inventory. It customizes the JSON marshaling process for Inventory objects.
func (*Inventory) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Inventory. It customizes the JSON unmarshaling process for Inventory objects.
type InventoryCountDistinctEnum ¶ added in v0.4.0
type InventoryCountDistinctEnum string
InventoryCountDistinctEnum is a string enum. enum: `model`, `status`, `site_id`, `sku`, `version`
const ( InventoryCountDistinctEnum_MODEL InventoryCountDistinctEnum = "model" InventoryCountDistinctEnum_STATUS InventoryCountDistinctEnum = "status" InventoryCountDistinctEnum_SITEID InventoryCountDistinctEnum = "site_id" InventoryCountDistinctEnum_SKU InventoryCountDistinctEnum = "sku" InventoryCountDistinctEnum_VERSION InventoryCountDistinctEnum = "version" )
type InventorySearch ¶ added in v0.4.0
type InventorySearch struct { Limit *int `json:"limit,omitempty"` Page *int `json:"page,omitempty"` Results []InventorySearchResult `json:"results,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
InventorySearch represents a InventorySearch struct.
func (InventorySearch) MarshalJSON ¶ added in v0.4.0
func (i InventorySearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InventorySearch. It customizes the JSON marshaling process for InventorySearch objects.
func (*InventorySearch) UnmarshalJSON ¶ added in v0.4.0
func (i *InventorySearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InventorySearch. It customizes the JSON unmarshaling process for InventorySearch objects.
type InventorySearchResult ¶ added in v0.4.0
type InventorySearchResult struct { Mac *string `json:"mac,omitempty"` Master *bool `json:"master,omitempty"` Members []InventorySearchResultMember `json:"members,omitempty"` Model *string `json:"model,omitempty"` Name *string `json:"name,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` Serial *string `json:"serial,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` Sku *string `json:"sku,omitempty"` Status *string `json:"status,omitempty"` // enum: `ap`, `gateway`, `switch` Type *DeviceTypeEnum `json:"type,omitempty"` VcMac *string `json:"vc_mac,omitempty"` Version *string `json:"version,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
InventorySearchResult represents a InventorySearchResult struct.
func (InventorySearchResult) MarshalJSON ¶ added in v0.4.0
func (i InventorySearchResult) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InventorySearchResult. It customizes the JSON marshaling process for InventorySearchResult objects.
func (*InventorySearchResult) UnmarshalJSON ¶ added in v0.4.0
func (i *InventorySearchResult) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InventorySearchResult. It customizes the JSON unmarshaling process for InventorySearchResult objects.
type InventorySearchResultMember ¶ added in v0.4.0
type InventorySearchResultMember struct { Mac *string `json:"mac,omitempty"` Model *string `json:"model,omitempty"` Serial *string `json:"serial,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
InventorySearchResultMember represents a InventorySearchResultMember struct.
func (InventorySearchResultMember) MarshalJSON ¶ added in v0.4.0
func (i InventorySearchResultMember) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InventorySearchResultMember. It customizes the JSON marshaling process for InventorySearchResultMember objects.
func (*InventorySearchResultMember) UnmarshalJSON ¶ added in v0.4.0
func (i *InventorySearchResultMember) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InventorySearchResultMember. It customizes the JSON unmarshaling process for InventorySearchResultMember objects.
type InventoryUpdate ¶
type InventoryUpdate struct { // if `op`==`assign`, 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"` // enum: // * `upgrade_to_mist`: Upgrade to mist-managed // * `downgrade_to_jsi`: Downgrade to basic monitoring. When downgrading a VC member to jsi, we will move the cloud connection of the VC to jsi-terminator and keep all VC device/inventories intact for pain-free upgrading back to mist. // * `assign`: Assign inventory to a site // * `unassign`: Unassign inventory from a site // * `delete`: Delete multiple inventory from org. If the device is already assigned to a site, it will be unassigned Op InventoryUpdateOperationEnum `json:"op"` // if `op`==`delete`, list of serial numbers, e.g. ["FXLH2015150025"] Serials []string `json:"serials,omitempty"` // if `op`==`assign`, target site id SiteId *uuid.UUID `json:"site_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
InventoryUpdate represents a InventoryUpdate struct.
func (InventoryUpdate) MarshalJSON ¶
func (i InventoryUpdate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InventoryUpdate. It customizes the JSON marshaling process for InventoryUpdate objects.
func (*InventoryUpdate) UnmarshalJSON ¶
func (i *InventoryUpdate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InventoryUpdate. It customizes the JSON unmarshaling process for InventoryUpdate objects.
type InventoryUpdateOperationEnum ¶
type InventoryUpdateOperationEnum string
InventoryUpdateOperationEnum is a string enum. enum: * `upgrade_to_mist`: Upgrade to mist-managed * `downgrade_to_jsi`: Downgrade to basic monitoring. When downgrading a VC member to jsi, we will move the cloud connection of the VC to jsi-terminator and keep all VC device/inventories intact for pain-free upgrading back to mist. * `assign`: Assign inventory to a site * `unassign`: Unassign inventory from a site * `delete`: Delete multiple inventory from org. If the device is already assigned to a site, it will be unassigned
const ( InventoryUpdateOperationEnum_ASSIGN InventoryUpdateOperationEnum = "assign" InventoryUpdateOperationEnum_DELETE InventoryUpdateOperationEnum = "delete" InventoryUpdateOperationEnum_DOWNGRADETOJSI InventoryUpdateOperationEnum = "downgrade_to_jsi" InventoryUpdateOperationEnum_UNASSIGN InventoryUpdateOperationEnum = "unassign" InventoryUpdateOperationEnum_UPGRADETOMIST InventoryUpdateOperationEnum = "upgrade_to_mist" )
type IpStat ¶
type IpStat struct { DhcpServer Optional[string] `json:"dhcp_server"` Dns []string `json:"dns,omitempty"` DnsSuffix []string `json:"dns_suffix,omitempty"` Gateway Optional[string] `json:"gateway"` Gateway6 Optional[string] `json:"gateway6"` Ip Optional[string] `json:"ip"` Ip6 Optional[string] `json:"ip6"` Ips map[string]string `json:"ips,omitempty"` Netmask Optional[string] `json:"netmask"` Netmask6 Optional[string] `json:"netmask6"` AdditionalProperties map[string]interface{} `json:"_"` }
IpStat represents a IpStat struct.
func (IpStat) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for IpStat. It customizes the JSON marshaling process for IpStat objects.
func (*IpStat) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for IpStat. It customizes the JSON unmarshaling process for IpStat objects.
type IpType6Enum ¶
type IpType6Enum string
IpType6Enum is a string enum. enum: `autoconf`, `dhcp`, `disabled`, `static`
const ( IpType6Enum_AUTOCONF IpType6Enum = "autoconf" IpType6Enum_DHCP IpType6Enum = "dhcp" IpType6Enum_DISABLED IpType6Enum = "disabled" IpType6Enum_STATIC IpType6Enum = "static" )
type IpTypeEnum ¶
type IpTypeEnum string
IpTypeEnum is a string enum. enum: `dhcp`, `static`
const ( IpTypeEnum_DHCP IpTypeEnum = "dhcp" IpTypeEnum_STATIC IpTypeEnum = "static" )
type IssuedClientCertificate ¶ added in v0.2.38
type IssuedClientCertificate struct { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` DeviceId *uuid.UUID `json:"device_id,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` SerialNumber *string `json:"serial_number,omitempty"` SsoNameId *string `json:"sso_name_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
IssuedClientCertificate represents a IssuedClientCertificate struct.
func (IssuedClientCertificate) MarshalJSON ¶ added in v0.2.38
func (i IssuedClientCertificate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for IssuedClientCertificate. It customizes the JSON marshaling process for IssuedClientCertificate objects.
func (*IssuedClientCertificate) UnmarshalJSON ¶ added in v0.2.38
func (i *IssuedClientCertificate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for IssuedClientCertificate. It customizes the JSON unmarshaling process for IssuedClientCertificate objects.
type IssuedClientCertificatesResults ¶ added in v0.2.38
type IssuedClientCertificatesResults struct { Results []IssuedClientCertificate `json:"results,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
IssuedClientCertificatesResults represents a IssuedClientCertificatesResults struct.
func (IssuedClientCertificatesResults) MarshalJSON ¶ added in v0.2.38
func (i IssuedClientCertificatesResults) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for IssuedClientCertificatesResults. It customizes the JSON marshaling process for IssuedClientCertificatesResults objects.
func (*IssuedClientCertificatesResults) UnmarshalJSON ¶ added in v0.2.38
func (i *IssuedClientCertificatesResults) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for IssuedClientCertificatesResults. It customizes the JSON unmarshaling process for IssuedClientCertificatesResults objects.
type 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]interface{} `json:"_"` }
JseDevice represents a JseDevice struct.
func (JseDevice) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for JseDevice. It customizes the JSON marshaling process for JseDevice objects.
func (*JseDevice) 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"` // enum: `ap`, `gateway`, `switch` Type *JseInventoryItemTypeEnum `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]interface{} `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 JseInventoryItemTypeEnum ¶ added in v0.2.38
type JseInventoryItemTypeEnum string
JseInventoryItemTypeEnum is a string enum. enum: `ap`, `gateway`, `switch`
const ( JseInventoryItemTypeEnum_AP JseInventoryItemTypeEnum = "ap" JseInventoryItemTypeEnum_GATEWAY JseInventoryItemTypeEnum = "gateway" JseInventoryItemTypeEnum_ENUMSWITCH JseInventoryItemTypeEnum = "switch" )
type JuniperAccount ¶
type JuniperAccount struct { LinkedBy *string `json:"linked_by,omitempty"` Name *string `json:"name,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
JuniperAccount represents a JuniperAccount struct.
func (JuniperAccount) MarshalJSON ¶
func (j JuniperAccount) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for JuniperAccount. It customizes the JSON marshaling process for JuniperAccount objects.
func (*JuniperAccount) 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"` // enum: `dhcp`, `static` Type *IpTypeEnum `json:"type,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
JunosIpConfig represents a JunosIpConfig struct. Junos IP Config
func (JunosIpConfig) MarshalJSON ¶
func (j JunosIpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for JunosIpConfig. It customizes the JSON marshaling process for JunosIpConfig objects.
func (*JunosIpConfig) UnmarshalJSON ¶
func (j *JunosIpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for JunosIpConfig. It customizes the JSON unmarshaling process for JunosIpConfig objects.
type JunosLocalPortConfig ¶ added in v0.4.0
type JunosLocalPortConfig struct { // Only if `mode`==`trunk` whether to trunk all network/vlans AllNetworks *bool `json:"all_networks,omitempty"` // 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"` AllowMultipleSupplicants *bool `json:"allow_multiple_supplicants,omitempty"` // Only if `port_auth`==`dot1x` bypass auth for known clients if set to true when RADIUS server is down BypassAuthWhenServerDown *bool `json:"bypass_auth_when_server_down,omitempty"` // Only if `port_auth`=`dot1x` bypass auth for all (including unknown clients) if set to true when RADIUS server is down BypassAuthWhenServerDownForUnkonwnClient *bool `json:"bypass_auth_when_server_down_for_unkonwn_client,omitempty"` Description *string `json:"description,omitempty"` // Only if `mode`!=`dynamic` if speed and duplex are specified, whether to disable autonegotiation DisableAutoneg *bool `json:"disable_autoneg,omitempty"` // whether the port is disabled Disabled *bool `json:"disabled,omitempty"` // link connection mode. enum: `auto`, `full`, `half` Duplex *SwitchPortLocalUsageDuplexEnum `json:"duplex,omitempty"` // Only if `port_auth`==`dot1x`, if dynamic vlan is used, specify the possible networks/vlans RADIUS can return DynamicVlanNetworks []string `json:"dynamic_vlan_networks,omitempty"` // Only if `port_auth`==`dot1x` whether to enable MAC Auth EnableMacAuth *bool `json:"enable_mac_auth,omitempty"` EnableQos *bool `json:"enable_qos,omitempty"` // Only if `port_auth`==`dot1x` which network to put the device into if the device cannot do dot1x. default is null (i.e. not allowed) GuestNetwork Optional[string] `json:"guest_network"` // inter_switch_link is used together with "isolation" under networks // NOTE: inter_switch_link works only between Juniper device. This has to be applied to both ports connected together InterSwitchLink *bool `json:"inter_switch_link,omitempty"` // Only if `enable_mac_auth`==`true` MacAuthOnly *bool `json:"mac_auth_only,omitempty"` // Only if `enable_mac_auth`==`true` + `mac_auth_only`==`false`, dot1x will be given priority then mac_auth. Enable this to prefer mac_auth over dot1x. MacAuthPreferred *bool `json:"mac_auth_preferred,omitempty"` // Only if `enable_mac_auth` ==`true`. This type is ignored if mist_nac is enabled. enum: `eap-md5`, `eap-peap`, `pap` MacAuthProtocol *SwitchPortLocalUsageMacAuthProtocolEnum `json:"mac_auth_protocol,omitempty"` // max number of mac addresses, default is 0 for unlimited, otherwise range is 1 or higher, with upper bound constrained by platform MacLimit *int `json:"mac_limit,omitempty"` // enum: `access`, `inet`, `trunk` Mode *SwitchPortLocalUsageModeEnum `json:"mode,omitempty"` // media maximum transmission unit (MTU) is the largest data unit that can be forwarded without fragmentation. The default value is 1514. Mtu *int `json:"mtu,omitempty"` // Only if `mode`==`trunk`, the list of network/vlans Networks []string `json:"networks,omitempty"` // Additional note for the port config override Note *string `json:"note,omitempty"` // Only if `mode`==`access` and `port_auth`!=`dot1x` whether the port should retain dynamically learned MAC addresses PersistMac *bool `json:"persist_mac,omitempty"` // whether PoE capabilities are disabled for a port PoeDisabled *bool `json:"poe_disabled,omitempty"` // if dot1x is desired, set to dot1x. enum: `dot1x` PortAuth Optional[SwitchPortLocalUsageDot1xEnum] `json:"port_auth"` // native network/vlan for untagged traffic PortNetwork *string `json:"port_network,omitempty"` // Only if `port_auth`=`dot1x` reauthentication interval range ReauthInterval *int `json:"reauth_interval,omitempty"` // Only if `port_auth`==`dot1x` sets server fail fallback vlan ServerFailNetwork Optional[string] `json:"server_fail_network"` // Only if `port_auth`==`dot1x` when radius server reject / fails ServerRejectNetwork Optional[string] `json:"server_reject_network"` // enum: `100m`, `10m`, `1g`, `2.5g`, `5g`, `10g`, `25g`, `40g`, `100g`,`auto` Speed *JunosPortConfigSpeedEnum `json:"speed,omitempty"` // Switch storm control StormControl *SwitchPortLocalUsageStormControl `json:"storm_control,omitempty"` // when enabled, the port is not expected to receive BPDU frames StpEdge *bool `json:"stp_edge,omitempty"` StpNoRootPort *bool `json:"stp_no_root_port,omitempty"` StpP2p *bool `json:"stp_p2p,omitempty"` // port usage name. Usage string `json:"usage"` // if this is connected to a vstp network UseVstp *bool `json:"use_vstp,omitempty"` // network/vlan for voip traffic, must also set port_network. to authenticate device, set port_auth VoipNetwork *string `json:"voip_network,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
JunosLocalPortConfig represents a JunosLocalPortConfig struct. Switch port config
func (JunosLocalPortConfig) MarshalJSON ¶ added in v0.4.0
func (j JunosLocalPortConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for JunosLocalPortConfig. It customizes the JSON marshaling process for JunosLocalPortConfig objects.
func (*JunosLocalPortConfig) UnmarshalJSON ¶ added in v0.4.0
func (j *JunosLocalPortConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for JunosLocalPortConfig. It customizes the JSON unmarshaling process for JunosLocalPortConfig objects.
type JunosOtherIpConfig ¶
type JunosOtherIpConfig struct { // for EVPN, if anycast is desired EvpnAnycast *bool `json:"evpn_anycast,omitempty"` // required if `type`==`static` Ip *string `json:"ip,omitempty"` // required if `type6`==`static` Ip6 *string `json:"ip6,omitempty"` // optional, `subnet` from `network` definition will be used if defined Netmask *string `json:"netmask,omitempty"` // optional, `subnet` from `network` definition will be used if defined Netmask6 *string `json:"netmask6,omitempty"` // enum: `dhcp`, `static` Type *IpTypeEnum `json:"type,omitempty"` // enum: `autoconf`, `dhcp`, `disabled`, `static` Type6 *IpType6Enum `json:"type6,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
JunosOtherIpConfig represents a JunosOtherIpConfig struct. optional, if it's required to have switch's L3 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"` // enum: `auto`, `full`, `half` Duplex *JunosPortConfigDuplexEnum `json:"duplex,omitempty"` // Enable dynamic usage for this port. Set to `dynamic` to enable. DynamicUsage Optional[string] `json:"dynamic_usage"` Esilag *bool `json:"esilag,omitempty"` // media maximum transmission unit (MTU) is the largest data unit that can be forwarded without fragmentation Mtu *int `json:"mtu,omitempty"` // prevent helpdesk to override the port config NoLocalOverwrite *bool `json:"no_local_overwrite,omitempty"` PoeDisabled *bool `json:"poe_disabled,omitempty"` // enum: `100m`, `10m`, `1g`, `2.5g`, `5g`, `10g`, `25g`, `40g`, `100g`,`auto` 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]interface{} `json:"_"` }
JunosPortConfig represents a JunosPortConfig struct. Switch port config
func (JunosPortConfig) MarshalJSON ¶
func (j JunosPortConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for JunosPortConfig. It customizes the JSON marshaling process for JunosPortConfig objects.
func (*JunosPortConfig) UnmarshalJSON ¶
func (j *JunosPortConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for JunosPortConfig. It customizes the JSON unmarshaling process for JunosPortConfig objects.
type JunosPortConfigDuplexEnum ¶
type JunosPortConfigDuplexEnum string
JunosPortConfigDuplexEnum is a string enum. enum: `auto`, `full`, `half`
const ( JunosPortConfigDuplexEnum_AUTO JunosPortConfigDuplexEnum = "auto" JunosPortConfigDuplexEnum_FULL JunosPortConfigDuplexEnum = "full" JunosPortConfigDuplexEnum_HALF JunosPortConfigDuplexEnum = "half" )
type JunosPortConfigSpeedEnum ¶
type JunosPortConfigSpeedEnum string
JunosPortConfigSpeedEnum is a string enum. enum: `100m`, `10m`, `1g`, `2.5g`, `5g`, `10g`, `25g`, `40g`, `100g`,`auto`
const ( JunosPortConfigSpeedEnum_ENUM10M JunosPortConfigSpeedEnum = "10m" JunosPortConfigSpeedEnum_ENUM100M JunosPortConfigSpeedEnum = "100m" JunosPortConfigSpeedEnum_ENUM1G JunosPortConfigSpeedEnum = "1g" JunosPortConfigSpeedEnum_ENUM25G JunosPortConfigSpeedEnum = "2.5g" JunosPortConfigSpeedEnum_ENUM5G JunosPortConfigSpeedEnum = "5g" JunosPortConfigSpeedEnum_ENUM10G JunosPortConfigSpeedEnum = "10g" JunosPortConfigSpeedEnum_ENUM25G1 JunosPortConfigSpeedEnum = "25g" JunosPortConfigSpeedEnum_ENUM40G JunosPortConfigSpeedEnum = "40g" JunosPortConfigSpeedEnum_ENUM100G JunosPortConfigSpeedEnum = "100g" JunosPortConfigSpeedEnum_AUTO JunosPortConfigSpeedEnum = "auto" )
type L2tpStateEnum ¶ added in v0.2.38
type L2tpStateEnum string
L2tpStateEnum is a string enum. enum: `established`, `established_with_session`, `idle`, `wait-ctrl-conn`, `wait-ctrl-reply`
const ( L2tpStateEnum_ESTABLISHED L2tpStateEnum = "established" L2tpStateEnum_ESTABLISHEDWITHSESSION L2tpStateEnum = "established_with_session" L2tpStateEnum_IDLE L2tpStateEnum = "idle" L2tpStateEnum_WAITCTRLCONN L2tpStateEnum = "wait-ctrl-conn" L2tpStateEnum_WAITCTRLREPLY L2tpStateEnum = "wait-ctrl-reply" )
type 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]interface{} `json:"_"` }
LastTrouble represents a LastTrouble struct. last trouble code of switch
func (LastTrouble) MarshalJSON ¶
func (l LastTrouble) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for LastTrouble. It customizes the JSON marshaling process for LastTrouble objects.
func (*LastTrouble) UnmarshalJSON ¶
func (l *LastTrouble) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for LastTrouble. It customizes the JSON unmarshaling process for LastTrouble objects.
type LatLng ¶
type LatLng struct { Lat float64 `json:"lat"` Lng float64 `json:"lng"` AdditionalProperties map[string]interface{} `json:"_"` }
LatLng represents a LatLng struct.
func (LatLng) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for LatLng. It customizes the JSON marshaling process for LatLng objects.
func (*LatLng) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for LatLng. It customizes the JSON unmarshaling process for LatLng objects.
type LatlngBr ¶
type LatlngBr struct { Lat *string `json:"lat,omitempty"` Lng *string `json:"lng,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
LatlngBr represents a LatlngBr struct. when type=google, latitude / longitude of the bottom-right corner
func (LatlngBr) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for LatlngBr. It customizes the JSON marshaling process for LatlngBr objects.
func (*LatlngBr) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for LatlngBr. It customizes the JSON unmarshaling process for LatlngBr objects.
type LatlngTl ¶
type LatlngTl struct { Lat *string `json:"lat,omitempty"` Lng *string `json:"lng,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
LatlngTl represents a LatlngTl struct. when type=google, latitude / longitude of the top-left corner
func (LatlngTl) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for LatlngTl. It customizes the JSON marshaling process for LatlngTl objects.
func (*LatlngTl) 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]interface{} `json:"_"` }
License represents a License struct. License
func (License) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for License. It customizes the JSON marshaling process for License objects.
func (*License) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for License. It customizes the JSON unmarshaling process for License objects.
type LicenseAmendment ¶
type LicenseAmendment struct { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` EndTime *int `json:"end_time,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` Quantity *int `json:"quantity,omitempty"` StartTime *int `json:"start_time,omitempty"` SubscriptionId *string `json:"subscription_id,omitempty"` // enum: `SUB-AST`, `SUB-DATA`, `SUB-ENG`, `SUB-EX12`, `SUB-EX24`, `SUB-EX48`, `SUB-MAN`, `SUB-ME`, `SUB-PMA`, `SUB-SRX1`, `SUB-SRX2`, `SUB-SVNA`, `SUB-VNA`, `SUB-WAN1`, `SUB-WAN2`, `SUB-WVNA1`, `SUB-WVNA2` Type *LicenseTypeEnum `json:"type,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
LicenseAmendment represents a LicenseAmendment struct.
func (LicenseAmendment) MarshalJSON ¶
func (l LicenseAmendment) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for LicenseAmendment. It customizes the JSON marshaling process for LicenseAmendment objects.
func (*LicenseAmendment) UnmarshalJSON ¶
func (l *LicenseAmendment) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for LicenseAmendment. It customizes the JSON unmarshaling process for LicenseAmendment objects.
type LicenseSub ¶
type LicenseSub struct { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // end date of the license term EndTime *int `json:"end_time,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` OrderId *string `json:"order_id,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` // number of devices entitled for this license Quantity *int `json:"quantity,omitempty"` // Number of licenses left in this subscription RemainingQuantity *int `json:"remaining_quantity,omitempty"` // start date of the license term StartTime *int `json:"start_time,omitempty"` SubscriptionId *string `json:"subscription_id,omitempty"` // enum: `SUB-AST`, `SUB-DATA`, `SUB-ENG`, `SUB-EX12`, `SUB-EX24`, `SUB-EX48`, `SUB-MAN`, `SUB-ME`, `SUB-PMA`, `SUB-SRX1`, `SUB-SRX2`, `SUB-SVNA`, `SUB-VNA`, `SUB-WAN1`, `SUB-WAN2`, `SUB-WVNA1`, `SUB-WVNA2` Type *LicenseTypeEnum `json:"type,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
LicenseSub represents a LicenseSub struct.
func (LicenseSub) MarshalJSON ¶
func (l LicenseSub) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for LicenseSub. It customizes the JSON marshaling process for LicenseSub objects.
func (*LicenseSub) 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. enum: `SUB-AST`, `SUB-DATA`, `SUB-ENG`, `SUB-EX12`, `SUB-EX24`, `SUB-EX48`, `SUB-MAN`, `SUB-ME`, `SUB-PMA`, `SUB-SRX1`, `SUB-SRX2`, `SUB-SVNA`, `SUB-VNA`, `SUB-WAN1`, `SUB-WAN2`, `SUB-WVNA1`, `SUB-WVNA2`
const ( LicenseTypeEnum_SUBAST LicenseTypeEnum = "SUB-AST" LicenseTypeEnum_SUBDATA LicenseTypeEnum = "SUB-DATA" LicenseTypeEnum_SUBENG LicenseTypeEnum = "SUB-ENG" LicenseTypeEnum_SUBEX12 LicenseTypeEnum = "SUB-EX12" LicenseTypeEnum_SUBEX24 LicenseTypeEnum = "SUB-EX24" LicenseTypeEnum_SUBEX48 LicenseTypeEnum = "SUB-EX48" LicenseTypeEnum_SUBMAN LicenseTypeEnum = "SUB-MAN" LicenseTypeEnum_SUBME LicenseTypeEnum = "SUB-ME" LicenseTypeEnum_SUBPMA LicenseTypeEnum = "SUB-PMA" LicenseTypeEnum_SUBSRX1 LicenseTypeEnum = "SUB-SRX1" LicenseTypeEnum_SUBSRX2 LicenseTypeEnum = "SUB-SRX2" LicenseTypeEnum_SUBSVNA LicenseTypeEnum = "SUB-SVNA" LicenseTypeEnum_SUBVNA LicenseTypeEnum = "SUB-VNA" LicenseTypeEnum_SUBWAN1 LicenseTypeEnum = "SUB-WAN1" LicenseTypeEnum_SUBWAN2 LicenseTypeEnum = "SUB-WAN2" LicenseTypeEnum_SUBWVNA1 LicenseTypeEnum = "SUB-WVNA1" LicenseTypeEnum_SUBWVNA2 LicenseTypeEnum = "SUB-WVNA2" )
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]interface{} `json:"_"` }
LicenseUsageOrg represents a LicenseUsageOrg struct.
func (LicenseUsageOrg) MarshalJSON ¶
func (l LicenseUsageOrg) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for LicenseUsageOrg. It customizes the JSON marshaling process for LicenseUsageOrg objects.
func (*LicenseUsageOrg) UnmarshalJSON ¶
func (l *LicenseUsageOrg) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for LicenseUsageOrg. It customizes the JSON unmarshaling process for LicenseUsageOrg objects.
type LicenseUsageSite ¶
type LicenseUsageSite struct { // license entitlement for the entire org OrgEntitled map[string]int `json:"org_entitled"` // eligibility for the Switch SLE SvnaEnabled bool `json:"svna_enabled"` TrialEnabled bool `json:"trial_enabled"` // subscriptions and their quantities Usages map[string]int `json:"usages"` // eligibility for the AP/Client SLE VnaEligible bool `json:"vna_eligible"` // if True, Conversational Assistant and Marvis Action available VnaUi bool `json:"vna_ui"` // eligibility for the WAN SLE WvnaEligible bool `json:"wvna_eligible"` AdditionalProperties map[string]interface{} `json:"_"` }
LicenseUsageSite represents a LicenseUsageSite struct.
func (LicenseUsageSite) MarshalJSON ¶
func (l LicenseUsageSite) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for LicenseUsageSite. It customizes the JSON marshaling process for LicenseUsageSite objects.
func (*LicenseUsageSite) UnmarshalJSON ¶
func (l *LicenseUsageSite) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for LicenseUsageSite. It customizes the JSON unmarshaling process for LicenseUsageSite objects.
type ListMspLogsSortEnum ¶
type ListMspLogsSortEnum string
ListMspLogsSortEnum is a string enum. enum: `-timestamp`, `admin_id`, `site_id`, `timestamp`
const ( ListMspLogsSortEnum_ENUMTIMESTAMP ListMspLogsSortEnum = "-timestamp" ListMspLogsSortEnum_ADMINID ListMspLogsSortEnum = "admin_id" ListMspLogsSortEnum_SITEID ListMspLogsSortEnum = "site_id" ListMspLogsSortEnum_TIMESTAMP ListMspLogsSortEnum = "timestamp" )
type ListOrgLogsSortEnum ¶
type ListOrgLogsSortEnum string
ListOrgLogsSortEnum is a string enum. enum: `-timestamp`, `admin_id`, `site_id`, `timestamp`
const ( ListOrgLogsSortEnum_ENUMTIMESTAMP ListOrgLogsSortEnum = "-timestamp" ListOrgLogsSortEnum_ADMINID ListOrgLogsSortEnum = "admin_id" ListOrgLogsSortEnum_SITEID ListOrgLogsSortEnum = "site_id" ListOrgLogsSortEnum_TIMESTAMP ListOrgLogsSortEnum = "timestamp" )
type LocateSwitch ¶
type LocateSwitch struct { // minutes the leds should keep flashing Duration *int `json:"duration,omitempty"` // for virtual chassis, the MAC of the member Mac *string `json:"mac,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
LocateSwitch represents a LocateSwitch struct.
func (LocateSwitch) MarshalJSON ¶
func (l LocateSwitch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for LocateSwitch. It customizes the JSON marshaling process for LocateSwitch objects.
func (*LocateSwitch) 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]interface{} `json:"_"` }
Login represents a Login struct.
func (Login) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Login. It customizes the JSON marshaling process for Login objects.
func (*Login) 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]interface{} `json:"_"` }
MacAddresses represents a MacAddresses struct.
func (MacAddresses) MarshalJSON ¶
func (m MacAddresses) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MacAddresses. It customizes the JSON marshaling process for MacAddresses objects.
func (*MacAddresses) UnmarshalJSON ¶
func (m *MacAddresses) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MacAddresses. It customizes the JSON unmarshaling process for MacAddresses objects.
type MacTableStats ¶
type MacTableStats struct { MacTableCount *int `json:"mac_table_count,omitempty"` MaxMacEntriesSupported *int `json:"max_mac_entries_supported,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MacTableStats represents a MacTableStats struct.
func (MacTableStats) MarshalJSON ¶
func (m MacTableStats) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MacTableStats. It customizes the JSON marshaling process for MacTableStats objects.
func (*MacTableStats) UnmarshalJSON ¶
func (m *MacTableStats) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MacTableStats. It customizes the JSON unmarshaling process for MacTableStats objects.
type Map ¶
type Map struct { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // name/val pair objects for location engine to use Flags map[string]int `json:"flags,omitempty"` ForSite *bool `json:"for_site,omitempty"` // when type=image, height of the image map Height *int `json:"height,omitempty"` HeightM *float64 `json:"height_m,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // when type=google, latitude / longitude of the bottom-right corner LatlngBr *LatlngBr `json:"latlng_br,omitempty"` // when type=google, latitude / longitude of the top-left corner LatlngTl *LatlngTl `json:"latlng_tl,omitempty"` // whether this map is considered locked down Locked *bool `json:"locked,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` // The name of the map Name *string `json:"name,omitempty"` OccupancyLimit *int `json:"occupancy_limit,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` // orientation of the map, 0 means up is north, 90 means up is west Orientation *int `json:"orientation,omitempty"` // 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"` // enum: `google`, `image` 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"` // if `type`==`google`. enum: `hybrid`, `roadmap`, `satellite`, `terrain` 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]interface{} `json:"_"` }
Map represents a Map struct. Map
func (Map) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Map. It customizes the JSON marshaling process for Map objects.
func (*Map) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Map. It customizes the JSON unmarshaling process for Map objects.
type MapImportJson ¶
type MapImportJson struct { ImportAllFloorplans *bool `json:"import_all_floorplans,omitempty"` ImportHeight *bool `json:"import_height,omitempty"` ImportOrientation *bool `json:"import_orientation,omitempty"` // enum: `ekahau`, `ibwave` VendorName MapImportJsonVendorNameEnum `json:"vendor_name"` AdditionalProperties map[string]interface{} `json:"_"` }
MapImportJson represents a MapImportJson struct.
func (MapImportJson) MarshalJSON ¶
func (m MapImportJson) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapImportJson. It customizes the JSON marshaling process for MapImportJson objects.
func (*MapImportJson) UnmarshalJSON ¶
func (m *MapImportJson) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapImportJson. It customizes the JSON unmarshaling process for MapImportJson objects.
type MapImportJsonVendorNameEnum ¶
type MapImportJsonVendorNameEnum string
MapImportJsonVendorNameEnum is a string enum. enum: `ekahau`, `ibwave`
const ( MapImportJsonVendorNameEnum_EKAHAU MapImportJsonVendorNameEnum = "ekahau" MapImportJsonVendorNameEnum_IBWAVE MapImportJsonVendorNameEnum = "ibwave" )
type MapJibestream ¶
type MapJibestream struct { // 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’. enum: `jibestream` VendorName string `json:"vendor_name"` // the venue or organization id VenueId int `json:"venue_id"` AdditionalProperties map[string]interface{} `json:"_"` }
MapJibestream represents a MapJibestream struct.
func (MapJibestream) MarshalJSON ¶
func (m MapJibestream) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapJibestream. It customizes the JSON marshaling process for MapJibestream objects.
func (*MapJibestream) UnmarshalJSON ¶
func (m *MapJibestream) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapJibestream. It customizes the JSON unmarshaling process for MapJibestream objects.
type MapJibestreamVendorNameEnum ¶ added in v0.2.38
type MapJibestreamVendorNameEnum string
MapJibestreamVendorNameEnum is a string enum. the vendor ‘jibestream’. enum: `jibestream`
const (
MapJibestreamVendorNameEnum_JIBESTREAM MapJibestreamVendorNameEnum = "jibestream"
)
type MapMicello ¶
type MapMicello struct { // 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’. enum: `micello` VendorName string `json:"vendor_name"` AdditionalProperties map[string]interface{} `json:"_"` }
MapMicello represents a MapMicello struct.
func (MapMicello) MarshalJSON ¶
func (m MapMicello) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapMicello. It customizes the JSON marshaling process for MapMicello objects.
func (*MapMicello) UnmarshalJSON ¶
func (m *MapMicello) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapMicello. It customizes the JSON unmarshaling process for MapMicello objects.
type MapMicelloVendorNameEnum ¶ added in v0.2.38
type MapMicelloVendorNameEnum string
MapMicelloVendorNameEnum is a string enum. the vendor ‘micello’. enum: `micello`
const (
MapMicelloVendorNameEnum_MICELLO MapMicelloVendorNameEnum = "micello"
)
type MapNode ¶
type MapNode struct { Edges map[string]string `json:"edges,omitempty"` Name string `json:"name"` Position *MapNodePosition `json:"position,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MapNode represents a MapNode struct. Nodes on maps
func (MapNode) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for MapNode. It customizes the JSON marshaling process for MapNode objects.
func (*MapNode) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for MapNode. It customizes the JSON unmarshaling process for MapNode objects.
type MapNodePosition ¶
type MapNodePosition struct { X float64 `json:"x"` Y float64 `json:"y"` AdditionalProperties map[string]interface{} `json:"_"` }
MapNodePosition represents a MapNodePosition struct.
func (MapNodePosition) MarshalJSON ¶
func (m MapNodePosition) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapNodePosition. It customizes the JSON marshaling process for MapNodePosition objects.
func (*MapNodePosition) UnmarshalJSON ¶
func (m *MapNodePosition) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapNodePosition. It customizes the JSON unmarshaling process for MapNodePosition objects.
type MapOrgImportFile ¶
type MapOrgImportFile struct { // whether to auto assign device to deviceprofile by name AutoDeviceprofileAssignment *bool `json:"auto_deviceprofile_assignment,omitempty"` // csv file for ap name mapping, optional Csv *[]byte `json:"csv,omitempty"` // ekahau or ibwave file File *[]byte `json:"file,omitempty"` Json *MapOrgImportFileJson `json:"json,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MapOrgImportFile represents a MapOrgImportFile struct.
func (MapOrgImportFile) MarshalJSON ¶
func (m MapOrgImportFile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapOrgImportFile. It customizes the JSON marshaling process for MapOrgImportFile objects.
func (*MapOrgImportFile) UnmarshalJSON ¶
func (m *MapOrgImportFile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapOrgImportFile. It customizes the JSON unmarshaling process for MapOrgImportFile objects.
type MapOrgImportFileJson ¶
type MapOrgImportFileJson struct { ImportAllFloorplans *bool `json:"import_all_floorplans,omitempty"` ImportHeight *bool `json:"import_height,omitempty"` ImportOrientation *bool `json:"import_orientation,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` // enum: `ekahau`, `ibwave` VendorName MapOrgImportFileJsonVendorNameEnum `json:"vendor_name"` AdditionalProperties map[string]interface{} `json:"_"` }
MapOrgImportFileJson represents a MapOrgImportFileJson struct.
func (MapOrgImportFileJson) MarshalJSON ¶
func (m MapOrgImportFileJson) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapOrgImportFileJson. It customizes the JSON marshaling process for MapOrgImportFileJson objects.
func (*MapOrgImportFileJson) UnmarshalJSON ¶
func (m *MapOrgImportFileJson) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapOrgImportFileJson. It customizes the JSON unmarshaling process for MapOrgImportFileJson objects.
type MapOrgImportFileJsonVendorNameEnum ¶
type MapOrgImportFileJsonVendorNameEnum string
MapOrgImportFileJsonVendorNameEnum is a string enum. enum: `ekahau`, `ibwave`
const ( MapOrgImportFileJsonVendorNameEnum_EKAHAU MapOrgImportFileJsonVendorNameEnum = "ekahau" MapOrgImportFileJsonVendorNameEnum_IBWAVE MapOrgImportFileJsonVendorNameEnum = "ibwave" )
type MapSiteImportFile ¶
type MapSiteImportFile struct { // whether to auto assign device to deviceprofile by name AutoDeviceprofileAssignment *bool `json:"auto_deviceprofile_assignment,omitempty"` // csv file for ap name mapping, optional Csv *[]byte `json:"csv,omitempty"` // ekahau or ibwave file File *[]byte `json:"file,omitempty"` Json *MapImportJson `json:"json,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MapSiteImportFile represents a MapSiteImportFile struct.
func (MapSiteImportFile) MarshalJSON ¶
func (m MapSiteImportFile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapSiteImportFile. It customizes the JSON marshaling process for MapSiteImportFile objects.
func (*MapSiteImportFile) UnmarshalJSON ¶
func (m *MapSiteImportFile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapSiteImportFile. It customizes the JSON unmarshaling process for MapSiteImportFile objects.
type MapSiteReplaceFile ¶
type MapSiteReplaceFile struct { File []byte `json:"file"` Json *MapSiteReplaceFileJson `json:"json,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MapSiteReplaceFile represents a MapSiteReplaceFile struct.
func (MapSiteReplaceFile) MarshalJSON ¶
func (m MapSiteReplaceFile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapSiteReplaceFile. It customizes the JSON marshaling process for MapSiteReplaceFile objects.
func (*MapSiteReplaceFile) UnmarshalJSON ¶
func (m *MapSiteReplaceFile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapSiteReplaceFile. It customizes the JSON unmarshaling process for MapSiteReplaceFile objects.
type MapSiteReplaceFileJson ¶
type MapSiteReplaceFileJson struct { // If `transform` is provided, all the locations of the objects on the map (AP, Zone, Vbeacon, Beacon) will be transformed as well (relative to the new Map) Transform *MapSiteReplaceFileJsonTransform `json:"transform,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MapSiteReplaceFileJson represents a MapSiteReplaceFileJson struct.
func (MapSiteReplaceFileJson) MarshalJSON ¶
func (m MapSiteReplaceFileJson) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapSiteReplaceFileJson. It customizes the JSON marshaling process for MapSiteReplaceFileJson objects.
func (*MapSiteReplaceFileJson) UnmarshalJSON ¶
func (m *MapSiteReplaceFileJson) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapSiteReplaceFileJson. It customizes the JSON unmarshaling process for MapSiteReplaceFileJson objects.
type MapSiteReplaceFileJsonTransform ¶
type MapSiteReplaceFileJsonTransform struct { // whether to rotate the replacing image, in degrees Rotation *float64 `json:"rotation,omitempty"` // whether to scale the replacing image Scale *float64 `json:"scale,omitempty"` // where the (0, 0) of the new image is relative to the original map X *float64 `json:"x,omitempty"` // where the (0, 0) of the new image is relative to the original map Y *float64 `json:"y,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MapSiteReplaceFileJsonTransform represents a MapSiteReplaceFileJsonTransform struct. If `transform` is provided, all the locations of the objects on the map (AP, Zone, Vbeacon, Beacon) will be transformed as well (relative to the new Map)
func (MapSiteReplaceFileJsonTransform) MarshalJSON ¶
func (m MapSiteReplaceFileJsonTransform) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapSiteReplaceFileJsonTransform. It customizes the JSON marshaling process for MapSiteReplaceFileJsonTransform objects.
func (*MapSiteReplaceFileJsonTransform) UnmarshalJSON ¶
func (m *MapSiteReplaceFileJsonTransform) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapSiteReplaceFileJsonTransform. It customizes the JSON unmarshaling process for MapSiteReplaceFileJsonTransform objects.
type MapSitesurveyPathItems ¶
type MapSitesurveyPathItems struct { Coordinate *string `json:"coordinate,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` Name *string `json:"name,omitempty"` Nodes []MapNode `json:"nodes,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MapSitesurveyPathItems represents a MapSitesurveyPathItems struct.
func (MapSitesurveyPathItems) MarshalJSON ¶
func (m MapSitesurveyPathItems) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapSitesurveyPathItems. It customizes the JSON marshaling process for MapSitesurveyPathItems objects.
func (*MapSitesurveyPathItems) UnmarshalJSON ¶
func (m *MapSitesurveyPathItems) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapSitesurveyPathItems. It customizes the JSON unmarshaling process for MapSitesurveyPathItems objects.
type MapTypeEnum ¶
type MapTypeEnum string
MapTypeEnum is a string enum. enum: `google`, `image`
const ( MapTypeEnum_GOOGLE MapTypeEnum = "google" MapTypeEnum_IMAGE MapTypeEnum = "image" )
type MapViewEnum ¶
type MapViewEnum string
MapViewEnum is a string enum. if `type`==`google`. enum: `hybrid`, `roadmap`, `satellite`, `terrain`
const ( MapViewEnum_HYBRID MapViewEnum = "hybrid" MapViewEnum_ROADMAP MapViewEnum = "roadmap" MapViewEnum_SATELLITE MapViewEnum = "satellite" MapViewEnum_TERRAIN MapViewEnum = "terrain" )
type MapWallPath ¶
type MapWallPath struct { Coordinate *string `json:"coordinate,omitempty"` Nodes []MapNode `json:"nodes,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MapWallPath represents a MapWallPath struct. 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]interface{} `json:"_"` }
MapWayfinding represents a MapWayfinding struct. properties related to wayfinding
func (MapWayfinding) MarshalJSON ¶
func (m MapWayfinding) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapWayfinding. It customizes the JSON marshaling process for MapWayfinding objects.
func (*MapWayfinding) UnmarshalJSON ¶
func (m *MapWayfinding) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapWayfinding. It customizes the JSON unmarshaling process for MapWayfinding objects.
type MapWayfindingMicello ¶
type MapWayfindingMicello struct { AccountKey *string `json:"account_key,omitempty"` DefaultLevelId *int `json:"default_level_id,omitempty"` MapId *string `json:"map_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MapWayfindingMicello represents a MapWayfindingMicello struct.
func (MapWayfindingMicello) MarshalJSON ¶
func (m MapWayfindingMicello) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MapWayfindingMicello. It customizes the JSON marshaling process for MapWayfindingMicello objects.
func (*MapWayfindingMicello) UnmarshalJSON ¶
func (m *MapWayfindingMicello) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MapWayfindingMicello. It customizes the JSON unmarshaling process for MapWayfindingMicello objects.
type MapWayfindingPath ¶
type MapWayfindingPath struct { Coordinate *string `json:"coordinate,omitempty"` Nodes []MapNode `json:"nodes,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MapWayfindingPath represents a MapWayfindingPath struct. 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"` // Unique ID of the object instance in the Mist Organnization 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]interface{} `json:"_"` }
MarvisClient represents a MarvisClient struct.
func (MarvisClient) MarshalJSON ¶
func (m MarvisClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MarvisClient. It customizes the JSON marshaling process for MarvisClient objects.
func (*MarvisClient) UnmarshalJSON ¶
func (m *MarvisClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MarvisClient. It customizes the JSON unmarshaling process for MarvisClient objects.
type MemoryStat ¶
type MemoryStat struct { Usage float64 `json:"usage"` AdditionalProperties map[string]interface{} `json:"_"` }
MemoryStat represents a MemoryStat struct. memory usage stat (for virtual chassis, memory usage of master RE)
func (MemoryStat) MarshalJSON ¶
func (m MemoryStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MemoryStat. It customizes the JSON marshaling process for MemoryStat objects.
func (*MemoryStat) UnmarshalJSON ¶
func (m *MemoryStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MemoryStat. It customizes the JSON unmarshaling process for MemoryStat objects.
type MfaSecretTypeEnum ¶
type MfaSecretTypeEnum string
MfaSecretTypeEnum is a string enum. enum: `qrcode`
const (
MfaSecretTypeEnum_QRCODE MfaSecretTypeEnum = "qrcode"
)
type MistDevice ¶
type MistDevice struct {
// contains filtered or unexported fields
}
MistDevice represents a MistDevice struct.
func (*MistDevice) AsDeviceAp ¶
func (m *MistDevice) AsDeviceAp() ( *DeviceAp, bool)
func (*MistDevice) AsDeviceGateway ¶
func (m *MistDevice) AsDeviceGateway() ( *DeviceGateway, bool)
func (*MistDevice) AsDeviceSwitch ¶
func (m *MistDevice) AsDeviceSwitch() ( *DeviceSwitch, bool)
func (MistDevice) MarshalJSON ¶
func (m MistDevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MistDevice. It customizes the JSON marshaling process for MistDevice objects.
func (MistDevice) String ¶
func (m MistDevice) String() string
String 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 MistNacedge ¶ added in v0.3.17
type MistNacedge struct { // cache of last auth result; in seconds AuthTtl *int `json:"auth_ttl,omitempty"` // default vlan for all dot1x devices, if different from default_vlan DefaultDot1xVlan *string `json:"default_dot1x_vlan,omitempty"` // Default vlan to assign for devices not in the cache DefaultVlan *string `json:"default_vlan,omitempty"` Enabled *bool `json:"enabled,omitempty"` // list of NAC Edges in this site MxedgeHosts []string `json:"mxedge_hosts,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MistNacedge represents a MistNacedge struct.
func (MistNacedge) MarshalJSON ¶ added in v0.3.17
func (m MistNacedge) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MistNacedge. It customizes the JSON marshaling process for MistNacedge objects.
func (*MistNacedge) UnmarshalJSON ¶ added in v0.3.17
func (m *MistNacedge) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MistNacedge. It customizes the JSON unmarshaling process for MistNacedge objects.
type MlOverwriteAdditionalProperties ¶
type MlOverwriteAdditionalProperties struct { Int *int `json:"int,omitempty"` Ple *int `json:"ple,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MlOverwriteAdditionalProperties represents a MlOverwriteAdditionalProperties struct.
func (MlOverwriteAdditionalProperties) MarshalJSON ¶
func (m MlOverwriteAdditionalProperties) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MlOverwriteAdditionalProperties. It customizes the JSON marshaling process for MlOverwriteAdditionalProperties objects.
func (*MlOverwriteAdditionalProperties) 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]interface{} `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]interface{} `json:"_"` }
ModuleStatItemErrorsItems represents a ModuleStatItemErrorsItems struct.
func (ModuleStatItemErrorsItems) MarshalJSON ¶
func (m ModuleStatItemErrorsItems) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ModuleStatItemErrorsItems. It customizes the JSON marshaling process for ModuleStatItemErrorsItems objects.
func (*ModuleStatItemErrorsItems) 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]interface{} `json:"_"` }
ModuleStatItemFansItems represents a ModuleStatItemFansItems struct.
func (ModuleStatItemFansItems) MarshalJSON ¶
func (m ModuleStatItemFansItems) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ModuleStatItemFansItems. It customizes the JSON marshaling process for ModuleStatItemFansItems objects.
func (*ModuleStatItemFansItems) 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]interface{} `json:"_"` }
ModuleStatItemPicsItem represents a ModuleStatItemPicsItem struct.
func (ModuleStatItemPicsItem) MarshalJSON ¶
func (m ModuleStatItemPicsItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ModuleStatItemPicsItem. It customizes the JSON marshaling process for ModuleStatItemPicsItem objects.
func (*ModuleStatItemPicsItem) UnmarshalJSON ¶
func (m *ModuleStatItemPicsItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ModuleStatItemPicsItem. It customizes the JSON unmarshaling process for ModuleStatItemPicsItem objects.
type ModuleStatItemPicsItemPortGroupsItem ¶
type ModuleStatItemPicsItemPortGroupsItem struct { Count *int `json:"count,omitempty"` Type *string `json:"type,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ModuleStatItemPicsItemPortGroupsItem represents a ModuleStatItemPicsItemPortGroupsItem struct.
func (ModuleStatItemPicsItemPortGroupsItem) MarshalJSON ¶
func (m ModuleStatItemPicsItemPortGroupsItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ModuleStatItemPicsItemPortGroupsItem. It customizes the JSON marshaling process for ModuleStatItemPicsItemPortGroupsItem objects.
func (*ModuleStatItemPicsItemPortGroupsItem) 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]interface{} `json:"_"` }
ModuleStatItemPoe represents a ModuleStatItemPoe struct.
func (ModuleStatItemPoe) MarshalJSON ¶
func (m ModuleStatItemPoe) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ModuleStatItemPoe. It customizes the JSON marshaling process for ModuleStatItemPoe objects.
func (*ModuleStatItemPoe) UnmarshalJSON ¶
func (m *ModuleStatItemPoe) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ModuleStatItemPoe. It customizes the JSON unmarshaling process for ModuleStatItemPoe objects.
type ModuleStatItemPsusItem ¶
type ModuleStatItemPsusItem struct { Name *string `json:"name,omitempty"` Status *string `json:"status,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ModuleStatItemPsusItem represents a ModuleStatItemPsusItem struct.
func (ModuleStatItemPsusItem) MarshalJSON ¶
func (m ModuleStatItemPsusItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ModuleStatItemPsusItem. It customizes the JSON marshaling process for ModuleStatItemPsusItem objects.
func (*ModuleStatItemPsusItem) UnmarshalJSON ¶
func (m *ModuleStatItemPsusItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ModuleStatItemPsusItem. It customizes the JSON unmarshaling process for ModuleStatItemPsusItem objects.
type ModuleStatItemTemperaturesItem ¶
type ModuleStatItemTemperaturesItem struct { Celsius *float64 `json:"celsius,omitempty"` Name *string `json:"name,omitempty"` Status *string `json:"status,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ModuleStatItemTemperaturesItem represents a ModuleStatItemTemperaturesItem struct.
func (ModuleStatItemTemperaturesItem) MarshalJSON ¶
func (m ModuleStatItemTemperaturesItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ModuleStatItemTemperaturesItem. It customizes the JSON marshaling process for ModuleStatItemTemperaturesItem objects.
func (*ModuleStatItemTemperaturesItem) UnmarshalJSON ¶
func (m *ModuleStatItemTemperaturesItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ModuleStatItemTemperaturesItem. It customizes the JSON unmarshaling process for ModuleStatItemTemperaturesItem objects.
type ModuleStatItemVcLinksItem ¶
type ModuleStatItemVcLinksItem struct { NeighborModuleIdx *int `json:"neighbor_module_idx,omitempty"` NeighborPortId *string `json:"neighbor_port_id,omitempty"` PortId *string `json:"port_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ModuleStatItemVcLinksItem represents a ModuleStatItemVcLinksItem struct.
func (ModuleStatItemVcLinksItem) MarshalJSON ¶
func (m ModuleStatItemVcLinksItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ModuleStatItemVcLinksItem. It customizes the JSON marshaling process for ModuleStatItemVcLinksItem objects.
func (*ModuleStatItemVcLinksItem) UnmarshalJSON ¶
func (m *ModuleStatItemVcLinksItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ModuleStatItemVcLinksItem. It customizes the JSON unmarshaling process for ModuleStatItemVcLinksItem objects.
type Msp ¶
type Msp struct { AllowMist *bool `json:"allow_mist,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // For advanced tier (uMSPs) only LogoUrl *string `json:"logo_url,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` Name *string `json:"name,omitempty"` // enum: `advanced`, `base` Tier *MspTierEnum `json:"tier,omitempty"` // For advanced tier (uMSPs) only Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Msp represents a Msp struct.
func (Msp) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Msp. It customizes the JSON marshaling process for Msp objects.
func (*Msp) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Msp. It customizes the JSON unmarshaling process for Msp objects.
type MspLicenseAction ¶
type MspLicenseAction struct { // required if `op`==`unamend` AmendmentId *string `json:"amendment_id,omitempty"` // required if `op`==`amend`, destination org id DstOrgId *uuid.UUID `json:"dst_org_id,omitempty"` // required if `op`== `annotate` Notes *string `json:"notes,omitempty"` // enum: `amend`, `annotate`, `delete`, `unamend` Op MspLicenseActionOperationEnum `json:"op"` // required if `op`==`amend` Quantity *float64 `json:"quantity,omitempty"` // required if `op`== `annotate` SubscriptionId *string `json:"subscription_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MspLicenseAction represents a MspLicenseAction struct.
func (MspLicenseAction) MarshalJSON ¶
func (m MspLicenseAction) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MspLicenseAction. It customizes the JSON marshaling process for MspLicenseAction objects.
func (*MspLicenseAction) UnmarshalJSON ¶
func (m *MspLicenseAction) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MspLicenseAction. It customizes the JSON unmarshaling process for MspLicenseAction objects.
type MspLicenseActionOperationEnum ¶
type MspLicenseActionOperationEnum string
MspLicenseActionOperationEnum is a string enum. enum: `amend`, `annotate`, `delete`, `unamend`
const ( MspLicenseActionOperationEnum_AMEND MspLicenseActionOperationEnum = "amend" MspLicenseActionOperationEnum_ANNOTATE MspLicenseActionOperationEnum = "annotate" MspLicenseActionOperationEnum_DELETE MspLicenseActionOperationEnum = "delete" MspLicenseActionOperationEnum_UNAMEND MspLicenseActionOperationEnum = "unamend" )
type MspLogo ¶
type MspLogo struct { LogoUrl *string `json:"logo_url,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MspLogo represents a MspLogo struct.
func (MspLogo) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for MspLogo. It customizes the JSON marshaling process for MspLogo objects.
func (*MspLogo) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for MspLogo. It customizes the JSON unmarshaling process for MspLogo objects.
type MspLogsCountDistinctEnum ¶
type MspLogsCountDistinctEnum string
MspLogsCountDistinctEnum is a string enum. enum: `admin_id`, `admin_name`, `message`, `org_id`
const ( MspLogsCountDistinctEnum_ADMINID MspLogsCountDistinctEnum = "admin_id" MspLogsCountDistinctEnum_ADMINNAME MspLogsCountDistinctEnum = "admin_name" MspLogsCountDistinctEnum_MESSAGE MspLogsCountDistinctEnum = "message" MspLogsCountDistinctEnum_ORGID MspLogsCountDistinctEnum = "org_id" )
type MspMarvisSuggestionsCountDistinctEnum ¶
type MspMarvisSuggestionsCountDistinctEnum string
MspMarvisSuggestionsCountDistinctEnum is a string enum. enum: `org_id`, `status`
const ( MspMarvisSuggestionsCountDistinctEnum_ORGID MspMarvisSuggestionsCountDistinctEnum = "org_id" MspMarvisSuggestionsCountDistinctEnum_STATUS MspMarvisSuggestionsCountDistinctEnum = "status" )
type MspOrgChange ¶
type MspOrgChange struct { // enum: `assign`, `unassign` Op MspOrgChangeOperationEnum `json:"op"` // list of org_id OrgIds []string `json:"org_ids"` AdditionalProperties map[string]interface{} `json:"_"` }
MspOrgChange represents a MspOrgChange struct.
func (MspOrgChange) MarshalJSON ¶
func (m MspOrgChange) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MspOrgChange. It customizes the JSON marshaling process for MspOrgChange objects.
func (*MspOrgChange) UnmarshalJSON ¶
func (m *MspOrgChange) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MspOrgChange. It customizes the JSON unmarshaling process for MspOrgChange objects.
type MspOrgChangeOperationEnum ¶
type MspOrgChangeOperationEnum string
MspOrgChangeOperationEnum is a string enum. enum: `assign`, `unassign`
const ( MspOrgChangeOperationEnum_ASSIGN MspOrgChangeOperationEnum = "assign" MspOrgChangeOperationEnum_UNASSIGN MspOrgChangeOperationEnum = "unassign" )
type MspSearchTypeEnum ¶
type MspSearchTypeEnum string
MspSearchTypeEnum is a string enum. enum: `orgs`
const (
MspSearchTypeEnum_ORGS MspSearchTypeEnum = "orgs"
)
type MspTicketsCountDistinctEnum ¶
type MspTicketsCountDistinctEnum string
MspTicketsCountDistinctEnum is a string enum. enum: `org_id`, `status`, `type`
const ( MspTicketsCountDistinctEnum_ORGID MspTicketsCountDistinctEnum = "org_id" MspTicketsCountDistinctEnum_STATUS MspTicketsCountDistinctEnum = "status" MspTicketsCountDistinctEnum_ENUMTYPE MspTicketsCountDistinctEnum = "type" )
type MspTierEnum ¶
type MspTierEnum string
MspTierEnum is a string enum. enum: `advanced`, `base`
const ( MspTierEnum_ADVANCED MspTierEnum = "advanced" MspTierEnum_BASE MspTierEnum = "base" )
type Mxcluster ¶
type Mxcluster struct { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` ForSite *bool `json:"for_site,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // configure cloud-assisted dynamic authorization service on this cluster of mist edges MistDas *MxedgeDas `json:"mist_das,omitempty"` MistNac *MxclusterNac `json:"mist_nac,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` MxedgeMgmt *MxedgeMgmt `json:"mxedge_mgmt,omitempty"` Name *string `json:"name,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` // Proxy Configuration to talk to Mist Proxy *Proxy `json:"proxy,omitempty"` // MxEdge Radsec Configuration Radsec *MxclusterRadsec `json:"radsec,omitempty"` RadsecTls *MxclusterRadsecTls `json:"radsec_tls,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` // list of subnets where we allow AP to establish Mist Tunnels from TuntermApSubnets []string `json:"tunterm_ap_subnets,omitempty"` // DHCP server/relay configuration of Mist Tunneled VLANs. Property key is the VLAN ID TuntermDhcpdConfig *TuntermDhcpdConfig `json:"tunterm_dhcpd_config,omitempty"` // extra routes for Mist Tunneled VLANs. Property key is a CIDR TuntermExtraRoutes map[string]MxclusterTuntermExtraRoute `json:"tunterm_extra_routes,omitempty"` // hostnames or IPs where a Mist Tunnel will use as the Peer (i.e. they are reachable from AP) TuntermHosts []string `json:"tunterm_hosts,omitempty"` // list of index of tunterm_hosts TuntermHostsOrder []int `json:"tunterm_hosts_order,omitempty"` // Ordering of tunterm_hosts for mxedge within the same mxcluster. enum: // * `shuffle`: the ordering of tunterm_hosts is randomized by the device”s MAC // * `shuffle-by-site`: shuffle by site_id+tunnel_id (so when client connects to a specific Tunnel, it will go to the same (order of) mxedge, and we load-balancing between tunnels) // * `ordered`: order decided by tunterm_hosts_order TuntermHostsSelection *MxclusterTuntermHostsSelectionEnum `json:"tunterm_hosts_selection,omitempty"` TuntermMonitoring [][]TuntermMonitoringItem `json:"tunterm_monitoring,omitempty"` TuntermMonitoringDisabled *bool `json:"tunterm_monitoring_disabled,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Mxcluster represents a Mxcluster struct. mxCluster
func (Mxcluster) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Mxcluster. It customizes the JSON marshaling process for Mxcluster objects.
func (*Mxcluster) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Mxcluster. It customizes the JSON unmarshaling process for Mxcluster objects.
type MxclusterNac ¶
type MxclusterNac struct { AcctServerPort *int `json:"acct_server_port,omitempty"` AuthServerPort *int `json:"auth_server_port,omitempty"` // Property key is the RADIUS Client IP/Subnet. ClientIps map[string]MxclusterNacClientIp `json:"client_ips,omitempty"` Enabled *bool `json:"enabled,omitempty"` Secret *string `json:"secret,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MxclusterNac represents a MxclusterNac struct.
func (MxclusterNac) MarshalJSON ¶
func (m MxclusterNac) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxclusterNac. It customizes the JSON marshaling process for MxclusterNac objects.
func (*MxclusterNac) UnmarshalJSON ¶
func (m *MxclusterNac) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxclusterNac. It customizes the JSON unmarshaling process for MxclusterNac objects.
type MxclusterNacClientIp ¶
type MxclusterNacClientIp struct { // whether to require Message-Authenticator in requests RequireMessageAuthenticator *bool `json:"require_message_authenticator,omitempty"` // if different from above Secret *string `json:"secret,omitempty"` // present only for 3rd party clients SiteId *uuid.UUID `json:"site_id,omitempty"` // convention to be followed is : "<vendor>-<variant>" // <variant> could be an os/platform/model/company // for ex: for cisco vendor, there could variants wrt os (such as ios, nxos etc), platforms (asa etc), or acquired companies (such as meraki, airnonet) etc. // enum: `aruba`, `cisco-aironet`, `cisco-ios`, `cisco-meraki`, `generic`, `juniper`, `paloalto` Vendor *MxclusterNacClientVendorEnum `json:"vendor,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MxclusterNacClientIp represents a MxclusterNacClientIp struct.
func (MxclusterNacClientIp) MarshalJSON ¶
func (m MxclusterNacClientIp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxclusterNacClientIp. It customizes the JSON marshaling process for MxclusterNacClientIp objects.
func (*MxclusterNacClientIp) 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. enum: `aruba`, `cisco-aironet`, `cisco-ios`, `cisco-meraki`, `generic`, `juniper`, `paloalto`
const ( MxclusterNacClientVendorEnum_ARUBA MxclusterNacClientVendorEnum = "aruba" MxclusterNacClientVendorEnum_CISCOAIRONET MxclusterNacClientVendorEnum = "cisco-aironet" MxclusterNacClientVendorEnum_CISCOIOS MxclusterNacClientVendorEnum = "cisco-ios" MxclusterNacClientVendorEnum_CISCOMERAKI MxclusterNacClientVendorEnum = "cisco-meraki" MxclusterNacClientVendorEnum_GENERIC MxclusterNacClientVendorEnum = "generic" MxclusterNacClientVendorEnum_JUNIPER MxclusterNacClientVendorEnum = "juniper" MxclusterNacClientVendorEnum_PALOALTO MxclusterNacClientVendorEnum = "paloalto" )
type MxclusterRadAuthServerKeywrapFormatEnum ¶
type MxclusterRadAuthServerKeywrapFormatEnum string
MxclusterRadAuthServerKeywrapFormatEnum is a string enum. if used for Mist APs. enum: `ascii`, `hex`
const ( MxclusterRadAuthServerKeywrapFormatEnum_ASCII MxclusterRadAuthServerKeywrapFormatEnum = "ascii" MxclusterRadAuthServerKeywrapFormatEnum_HEX MxclusterRadAuthServerKeywrapFormatEnum = "hex" )
type MxclusterRadsec ¶
type MxclusterRadsec struct { // list of RADIUS accounting servers, optional, order matters where the first one is treated as primary AcctServers []MxclusterRadsecAcctServer `json:"acct_servers,omitempty"` // list of RADIUS authentication servers, order matters where the first one is treated as primary AuthServers []MxclusterRadsecAuthServer `json:"auth_servers,omitempty"` // whether to enable service on Mist Edge i.e. RADIUS proxy over TLS Enabled *bool `json:"enabled,omitempty"` // whether to match ssid in request message to select from a subset of RADIUS servers MatchSsid *bool `json:"match_ssid,omitempty"` // SSpecify NAS-IP-ADDRESS, NAS-IPv6-ADDRESS to use with auth_servers. enum: `any`, `oob`, `oob6`, `tunnel`, `tunnel6` NasIpSource *MxclusterRadsecNasIpSourceEnum `json:"nas_ip_source,omitempty"` // hostnames or IPs for Mist AP to use as the TLS Server (i.e. they are reachable from AP) in addition to `tunterm_hosts` ProxyHosts []string `json:"proxy_hosts,omitempty"` // When ordered, Mist Edge will prefer and go back to the first radius server if possible. enum: `ordered`, `unordered` ServerSelection *MxclusterRadsecServerSelectionEnum `json:"server_selection,omitempty"` // Specify IP address to connect to auth_servers and acct_servers. enum: `any`, `oob`, `oob6`, `tunnel`, `tunnel6` SrcIpSource *MxclusterRadsecSrcIpSourceEnum `json:"src_ip_source,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MxclusterRadsec represents a MxclusterRadsec struct. MxEdge Radsec Configuration
func (MxclusterRadsec) MarshalJSON ¶
func (m MxclusterRadsec) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxclusterRadsec. It customizes the JSON marshaling process for MxclusterRadsec objects.
func (*MxclusterRadsec) UnmarshalJSON ¶
func (m *MxclusterRadsec) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxclusterRadsec. It customizes the JSON unmarshaling process for MxclusterRadsec objects.
type MxclusterRadsecAcctServer ¶
type MxclusterRadsecAcctServer struct { // ip / hostname of RADIUS server Host *string `json:"host,omitempty"` // Acct port of RADIUS server Port *int `json:"port,omitempty"` // secret of RADIUS server Secret *string `json:"secret,omitempty"` // list of ssids that will use this server if match_ssid is true and match is found Ssids []string `json:"ssids,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MxclusterRadsecAcctServer represents a MxclusterRadsecAcctServer struct.
func (MxclusterRadsecAcctServer) MarshalJSON ¶
func (m MxclusterRadsecAcctServer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxclusterRadsecAcctServer. It customizes the JSON marshaling process for MxclusterRadsecAcctServer objects.
func (*MxclusterRadsecAcctServer) UnmarshalJSON ¶
func (m *MxclusterRadsecAcctServer) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxclusterRadsecAcctServer. It customizes the JSON unmarshaling process for MxclusterRadsecAcctServer objects.
type MxclusterRadsecAuthServer ¶
type MxclusterRadsecAuthServer struct { // ip / hostname of RADIUS server Host *string `json:"host,omitempty"` // whether to enable inband status check InbandStatusCheck *bool `json:"inband_status_check,omitempty"` // inband status interval, in seconds InbandStatusInterval *int `json:"inband_status_interval,omitempty"` // if used for Mist APs, enable keywrap algorithm. Default is false KeywrapEnabled *bool `json:"keywrap_enabled,omitempty"` // if used for Mist APs. enum: `ascii`, `hex` KeywrapFormat Optional[MxclusterRadAuthServerKeywrapFormatEnum] `json:"keywrap_format"` // if used for Mist APs, encryption key KeywrapKek *string `json:"keywrap_kek,omitempty"` // if used for Mist APs, Message Authentication Code Key KeywrapMack *string `json:"keywrap_mack,omitempty"` // Auth port of RADIUS server Port *int `json:"port,omitempty"` // secret of RADIUS server Secret *string `json:"secret,omitempty"` // list of ssids that will use this server if match_ssid is true and match is found Ssids []string `json:"ssids,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
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 MxclusterRadsecNasIpSourceEnum ¶ added in v0.3.17
type MxclusterRadsecNasIpSourceEnum string
MxclusterRadsecNasIpSourceEnum is a string enum. SSpecify NAS-IP-ADDRESS, NAS-IPv6-ADDRESS to use with auth_servers. enum: `any`, `oob`, `oob6`, `tunnel`, `tunnel6`
const ( MxclusterRadsecNasIpSourceEnum_ANY MxclusterRadsecNasIpSourceEnum = "any" MxclusterRadsecNasIpSourceEnum_OOB MxclusterRadsecNasIpSourceEnum = "oob" MxclusterRadsecNasIpSourceEnum_OOB6 MxclusterRadsecNasIpSourceEnum = "oob6" MxclusterRadsecNasIpSourceEnum_TUNNEL MxclusterRadsecNasIpSourceEnum = "tunnel" MxclusterRadsecNasIpSourceEnum_TUNNEL6 MxclusterRadsecNasIpSourceEnum = "tunnel6" )
type MxclusterRadsecServerSelectionEnum ¶
type MxclusterRadsecServerSelectionEnum string
MxclusterRadsecServerSelectionEnum is a string enum. When ordered, Mist Edge will prefer and go back to the first radius server if possible. enum: `ordered`, `unordered`
const ( MxclusterRadsecServerSelectionEnum_ORDERED MxclusterRadsecServerSelectionEnum = "ordered" MxclusterRadsecServerSelectionEnum_UNORDERED MxclusterRadsecServerSelectionEnum = "unordered" )
type MxclusterRadsecSrcIpSourceEnum ¶ added in v0.3.17
type MxclusterRadsecSrcIpSourceEnum string
MxclusterRadsecSrcIpSourceEnum is a string enum. Specify IP address to connect to auth_servers and acct_servers. enum: `any`, `oob`, `oob6`, `tunnel`, `tunnel6`
const ( MxclusterRadsecSrcIpSourceEnum_ANY MxclusterRadsecSrcIpSourceEnum = "any" MxclusterRadsecSrcIpSourceEnum_OOB MxclusterRadsecSrcIpSourceEnum = "oob" MxclusterRadsecSrcIpSourceEnum_OOB6 MxclusterRadsecSrcIpSourceEnum = "oob6" MxclusterRadsecSrcIpSourceEnum_TUNNEL MxclusterRadsecSrcIpSourceEnum = "tunnel" MxclusterRadsecSrcIpSourceEnum_TUNNEL6 MxclusterRadsecSrcIpSourceEnum = "tunnel6" )
type MxclusterRadsecTls ¶
type MxclusterRadsecTls struct { Keypair *string `json:"keypair,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MxclusterRadsecTls represents a MxclusterRadsecTls struct.
func (MxclusterRadsecTls) MarshalJSON ¶
func (m MxclusterRadsecTls) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxclusterRadsecTls. It customizes the JSON marshaling process for MxclusterRadsecTls objects.
func (*MxclusterRadsecTls) UnmarshalJSON ¶
func (m *MxclusterRadsecTls) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxclusterRadsecTls. It customizes the JSON unmarshaling process for MxclusterRadsecTls objects.
type MxclusterTuntermExtraRoute ¶
type MxclusterTuntermExtraRoute struct { Via *string `json:"via,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MxclusterTuntermExtraRoute represents a MxclusterTuntermExtraRoute struct.
func (MxclusterTuntermExtraRoute) MarshalJSON ¶
func (m MxclusterTuntermExtraRoute) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxclusterTuntermExtraRoute. It customizes the JSON marshaling process for MxclusterTuntermExtraRoute objects.
func (*MxclusterTuntermExtraRoute) UnmarshalJSON ¶
func (m *MxclusterTuntermExtraRoute) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxclusterTuntermExtraRoute. It customizes the JSON unmarshaling process for MxclusterTuntermExtraRoute objects.
type MxclusterTuntermHostsSelectionEnum ¶
type MxclusterTuntermHostsSelectionEnum string
MxclusterTuntermHostsSelectionEnum is a string enum. Ordering of tunterm_hosts for mxedge within the same mxcluster. enum: * `shuffle`: the ordering of tunterm_hosts is randomized by the device”s MAC * `shuffle-by-site`: shuffle by site_id+tunnel_id (so when client connects to a specific Tunnel, it will go to the same (order of) mxedge, and we load-balancing between tunnels) * `ordered`: order decided by tunterm_hosts_order
const ( MxclusterTuntermHostsSelectionEnum_ORDERED MxclusterTuntermHostsSelectionEnum = "ordered" MxclusterTuntermHostsSelectionEnum_SHUFFLE MxclusterTuntermHostsSelectionEnum = "shuffle" MxclusterTuntermHostsSelectionEnum_SHUFFLEBYSITE MxclusterTuntermHostsSelectionEnum = "shuffle-by-site" )
type Mxedge ¶
type Mxedge struct { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` ForSite *bool `json:"for_site,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` Magic *string `json:"magic,omitempty"` Model string `json:"model"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` MxagentRegistered *bool `json:"mxagent_registered,omitempty"` // MxCluster this MxEdge belongs to MxclusterId *uuid.UUID `json:"mxcluster_id,omitempty"` MxedgeMgmt *MxedgeMgmt `json:"mxedge_mgmt,omitempty"` Name string `json:"name"` Note *string `json:"note,omitempty"` NtpServers []string `json:"ntp_servers,omitempty"` // 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]interface{} `json:"_"` }
Mxedge represents a Mxedge struct. MxEdge
func (Mxedge) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Mxedge. It customizes the JSON marshaling process for Mxedge objects.
func (*Mxedge) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Mxedge. It customizes the JSON unmarshaling process for Mxedge objects.
type MxedgeDas ¶
type MxedgeDas struct { // dynamic authorization clients configured to send CoA|DM to mist edges on port 3799 CoaServers []MxedgeDasCoaServer `json:"coa_servers,omitempty"` Enabled *bool `json:"enabled,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MxedgeDas represents a MxedgeDas struct. configure cloud-assisted dynamic authorization service on this cluster of mist edges
func (MxedgeDas) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for MxedgeDas. It customizes the JSON marshaling process for MxedgeDas objects.
func (*MxedgeDas) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeDas. It customizes the JSON unmarshaling process for MxedgeDas objects.
type MxedgeDasCoaServer ¶
type MxedgeDasCoaServer struct { // whether to disable Event-Timestamp Check DisableEventTimestampCheck *bool `json:"disable_event_timestamp_check,omitempty"` Enabled *bool `json:"enabled,omitempty"` // this server configured to send CoA|DM to mist edges Host *string `json:"host,omitempty"` // mist edges will allow this host on this port Port *int `json:"port,omitempty"` // whether to require Message-Authenticator in requests RequireMessageAuthenticator *bool `json:"require_message_authenticator,omitempty"` Secret *string `json:"secret,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MxedgeDasCoaServer represents a MxedgeDasCoaServer struct.
func (MxedgeDasCoaServer) MarshalJSON ¶
func (m MxedgeDasCoaServer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeDasCoaServer. It customizes the JSON marshaling process for MxedgeDasCoaServer objects.
func (*MxedgeDasCoaServer) 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 { // component like PS1, PS2 Component *string `json:"component,omitempty"` 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]interface{} `json:"_"` }
MxedgeEvent represents a MxedgeEvent struct.
func (MxedgeEvent) MarshalJSON ¶
func (m MxedgeEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeEvent. It customizes the JSON marshaling process for MxedgeEvent objects.
func (*MxedgeEvent) 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. enum: `any`, `false`, `true`
const ( MxedgeForSiteEnum_ANY MxedgeForSiteEnum = "any" MxedgeForSiteEnum_FALSE MxedgeForSiteEnum = "false" MxedgeForSiteEnum_TRUE MxedgeForSiteEnum = "true" )
type MxedgeMgmt ¶
type MxedgeMgmt struct { FipsEnabled *bool `json:"fips_enabled,omitempty"` MistPassword *string `json:"mist_password,omitempty"` // enum: `dhcp`, `disabled`, `static` OobIpType *MxedgeMgmtOobIpTypeEnum `json:"oob_ip_type,omitempty"` // enum: `autoconf`, `dhcp`, `disabled`, `static` OobIpType6 *MxedgeMgmtOobIpType6Enum `json:"oob_ip_type6,omitempty"` RootPassword *string `json:"root_password,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MxedgeMgmt represents a MxedgeMgmt struct.
func (MxedgeMgmt) MarshalJSON ¶
func (m MxedgeMgmt) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeMgmt. It customizes the JSON marshaling process for MxedgeMgmt objects.
func (*MxedgeMgmt) UnmarshalJSON ¶
func (m *MxedgeMgmt) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeMgmt. It customizes the JSON unmarshaling process for MxedgeMgmt objects.
type MxedgeMgmtOobIpType6Enum ¶
type MxedgeMgmtOobIpType6Enum string
MxedgeMgmtOobIpType6Enum is a string enum. enum: `autoconf`, `dhcp`, `disabled`, `static`
const ( MxedgeMgmtOobIpType6Enum_AUTOCONF MxedgeMgmtOobIpType6Enum = "autoconf" MxedgeMgmtOobIpType6Enum_DHCP MxedgeMgmtOobIpType6Enum = "dhcp" MxedgeMgmtOobIpType6Enum_DISABLED MxedgeMgmtOobIpType6Enum = "disabled" MxedgeMgmtOobIpType6Enum_STATIC MxedgeMgmtOobIpType6Enum = "static" )
type MxedgeMgmtOobIpTypeEnum ¶
type MxedgeMgmtOobIpTypeEnum string
MxedgeMgmtOobIpTypeEnum is a string enum. enum: `dhcp`, `disabled`, `static`
const ( MxedgeMgmtOobIpTypeEnum_DHCP MxedgeMgmtOobIpTypeEnum = "dhcp" MxedgeMgmtOobIpTypeEnum_DISABLED MxedgeMgmtOobIpTypeEnum = "disabled" MxedgeMgmtOobIpTypeEnum_STATIC MxedgeMgmtOobIpTypeEnum = "static" )
type MxedgeOobIpConfig ¶
type MxedgeOobIpConfig struct { Autoconf6 *bool `json:"autoconf6,omitempty"` Dhcp6 *bool `json:"dhcp6,omitempty"` // IPv4 ignored if `type`!=`static` // IPv6 ignored if `type6`!=`static` Dns []string `json:"dns,omitempty"` // if `type`=`static` Gateway *string `json:"gateway,omitempty"` Gateway6 *string `json:"gateway6,omitempty"` // if `type`=`static` Ip *string `json:"ip,omitempty"` Ip6 *string `json:"ip6,omitempty"` // if `type`=`static` Netmask *string `json:"netmask,omitempty"` Netmask6 *string `json:"netmask6,omitempty"` // enum: `dhcp`, `static` Type *IpTypeEnum `json:"type,omitempty"` // enum: `dhcp`, `static` Type6 *IpTypeEnum `json:"type6,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MxedgeOobIpConfig represents a MxedgeOobIpConfig struct. 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. enum: `restart`, `start`, `stop`
const ( MxedgeServiceActionEnum_RESTART MxedgeServiceActionEnum = "restart" MxedgeServiceActionEnum_START MxedgeServiceActionEnum = "start" MxedgeServiceActionEnum_STOP MxedgeServiceActionEnum = "stop" )
type MxedgeServiceNameEnum ¶
type MxedgeServiceNameEnum string
MxedgeServiceNameEnum is a string enum. enum: `mxagent`, `mxdas`, `mxocproxy`, `radsecproxy`, `tunterm`
const ( MxedgeServiceNameEnum_MXAGENT MxedgeServiceNameEnum = "mxagent" MxedgeServiceNameEnum_MXDAS MxedgeServiceNameEnum = "mxdas" MxedgeServiceNameEnum_MXNACEDGE MxedgeServiceNameEnum = "mxnacedge" MxedgeServiceNameEnum_MXOCPROXY MxedgeServiceNameEnum = "mxocproxy" MxedgeServiceNameEnum_RADSECPROXY MxedgeServiceNameEnum = "radsecproxy" MxedgeServiceNameEnum_TUNTERM MxedgeServiceNameEnum = "tunterm" )
type MxedgeTuntermDhcpdConfig ¶
type MxedgeTuntermDhcpdConfig struct { Enabled *bool `json:"enabled,omitempty"` // list of DHCP servers; required if `type`==`relay` Servers []string `json:"servers,omitempty"` // enum: `relay` Type *MxedgeTuntermDhcpdTypeEnum `json:"type,omitempty"` AdditionalProperties map[string]MxedgeTuntermDhcpdConfigProperty `json:"_"` }
MxedgeTuntermDhcpdConfig represents a MxedgeTuntermDhcpdConfig struct. global and per-VLAN. Property key is the VLAN ID
func (MxedgeTuntermDhcpdConfig) MarshalJSON ¶
func (m MxedgeTuntermDhcpdConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeTuntermDhcpdConfig. It customizes the JSON marshaling process for MxedgeTuntermDhcpdConfig objects.
func (*MxedgeTuntermDhcpdConfig) UnmarshalJSON ¶
func (m *MxedgeTuntermDhcpdConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeTuntermDhcpdConfig. It customizes the JSON unmarshaling process for MxedgeTuntermDhcpdConfig objects.
type MxedgeTuntermDhcpdConfigProperty ¶
type MxedgeTuntermDhcpdConfigProperty struct { Enabled *bool `json:"enabled,omitempty"` // list of DHCP servers; required if `type`==`relay` Servers []string `json:"servers,omitempty"` // enum: `relay` Type *MxedgeTuntermDhcpdConfigTypeEnum `json:"type,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MxedgeTuntermDhcpdConfigProperty represents a MxedgeTuntermDhcpdConfigProperty struct.
func (MxedgeTuntermDhcpdConfigProperty) MarshalJSON ¶
func (m MxedgeTuntermDhcpdConfigProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeTuntermDhcpdConfigProperty. It customizes the JSON marshaling process for MxedgeTuntermDhcpdConfigProperty objects.
func (*MxedgeTuntermDhcpdConfigProperty) UnmarshalJSON ¶
func (m *MxedgeTuntermDhcpdConfigProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeTuntermDhcpdConfigProperty. It customizes the JSON unmarshaling process for MxedgeTuntermDhcpdConfigProperty objects.
type MxedgeTuntermDhcpdConfigTypeEnum ¶
type MxedgeTuntermDhcpdConfigTypeEnum string
MxedgeTuntermDhcpdConfigTypeEnum is a string enum. enum: `relay`
const (
MxedgeTuntermDhcpdConfigTypeEnum_RELAY MxedgeTuntermDhcpdConfigTypeEnum = "relay"
)
type MxedgeTuntermDhcpdTypeEnum ¶
type MxedgeTuntermDhcpdTypeEnum string
MxedgeTuntermDhcpdTypeEnum is a string enum. enum: `relay`
const (
MxedgeTuntermDhcpdTypeEnum_RELAY MxedgeTuntermDhcpdTypeEnum = "relay"
)
type MxedgeTuntermExtraRoute ¶
type MxedgeTuntermExtraRoute struct { Via *string `json:"via,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MxedgeTuntermExtraRoute represents a MxedgeTuntermExtraRoute struct.
func (MxedgeTuntermExtraRoute) MarshalJSON ¶
func (m MxedgeTuntermExtraRoute) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeTuntermExtraRoute. It customizes the JSON marshaling process for MxedgeTuntermExtraRoute objects.
func (*MxedgeTuntermExtraRoute) 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]interface{} `json:"_"` }
MxedgeTuntermIgmpSnoopingConfig represents a MxedgeTuntermIgmpSnoopingConfig struct.
func (MxedgeTuntermIgmpSnoopingConfig) MarshalJSON ¶
func (m MxedgeTuntermIgmpSnoopingConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeTuntermIgmpSnoopingConfig. It customizes the JSON marshaling process for MxedgeTuntermIgmpSnoopingConfig objects.
func (*MxedgeTuntermIgmpSnoopingConfig) UnmarshalJSON ¶
func (m *MxedgeTuntermIgmpSnoopingConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeTuntermIgmpSnoopingConfig. It customizes the JSON unmarshaling process for MxedgeTuntermIgmpSnoopingConfig objects.
type MxedgeTuntermIgmpSnoopingQuerier ¶
type MxedgeTuntermIgmpSnoopingQuerier struct { // querier’s query response interval, in tenths-of-seconds MaxResponseTime *int `json:"max_response_time,omitempty"` // the MTU we use (needed when forming large IGMPv3 Reports) Mtu *int `json:"mtu,omitempty"` // querier’s query interval, in seconds QueryInterval *int `json:"query_interval,omitempty"` // querier’s robustness Robustness *int `json:"robustness,omitempty"` // querier’s maximum protocol version Version *int `json:"version,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MxedgeTuntermIgmpSnoopingQuerier represents a MxedgeTuntermIgmpSnoopingQuerier struct.
func (MxedgeTuntermIgmpSnoopingQuerier) MarshalJSON ¶
func (m MxedgeTuntermIgmpSnoopingQuerier) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeTuntermIgmpSnoopingQuerier. It customizes the JSON marshaling process for MxedgeTuntermIgmpSnoopingQuerier objects.
func (*MxedgeTuntermIgmpSnoopingQuerier) UnmarshalJSON ¶
func (m *MxedgeTuntermIgmpSnoopingQuerier) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeTuntermIgmpSnoopingQuerier. It customizes the JSON unmarshaling process for MxedgeTuntermIgmpSnoopingQuerier objects.
type MxedgeTuntermIpConfig ¶
type MxedgeTuntermIpConfig struct { Gateway string `json:"gateway"` Gateway6 *string `json:"gateway6,omitempty"` // untagged VLAN Ip string `json:"ip"` Ip6 *string `json:"ip6,omitempty"` Netmask string `json:"netmask"` Netmask6 *string `json:"netmask6,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MxedgeTuntermIpConfig represents a MxedgeTuntermIpConfig struct. 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]interface{} `json:"_"` }
MxedgeTuntermMulticastConfig represents a MxedgeTuntermMulticastConfig struct.
func (MxedgeTuntermMulticastConfig) MarshalJSON ¶
func (m MxedgeTuntermMulticastConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeTuntermMulticastConfig. It customizes the JSON marshaling process for MxedgeTuntermMulticastConfig objects.
func (*MxedgeTuntermMulticastConfig) UnmarshalJSON ¶
func (m *MxedgeTuntermMulticastConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeTuntermMulticastConfig. It customizes the JSON unmarshaling process for MxedgeTuntermMulticastConfig objects.
type MxedgeTuntermMulticastMdns ¶
type MxedgeTuntermMulticastMdns struct { Enabled *bool `json:"enabled,omitempty"` VlanIds []string `json:"vlan_ids,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MxedgeTuntermMulticastMdns represents a MxedgeTuntermMulticastMdns struct.
func (MxedgeTuntermMulticastMdns) MarshalJSON ¶
func (m MxedgeTuntermMulticastMdns) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeTuntermMulticastMdns. It customizes the JSON marshaling process for MxedgeTuntermMulticastMdns objects.
func (*MxedgeTuntermMulticastMdns) UnmarshalJSON ¶
func (m *MxedgeTuntermMulticastMdns) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeTuntermMulticastMdns. It customizes the JSON unmarshaling process for MxedgeTuntermMulticastMdns objects.
type MxedgeTuntermMulticastSsdp ¶
type MxedgeTuntermMulticastSsdp struct { Enabled *bool `json:"enabled,omitempty"` VlanIds []string `json:"vlan_ids,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MxedgeTuntermMulticastSsdp represents a MxedgeTuntermMulticastSsdp struct.
func (MxedgeTuntermMulticastSsdp) MarshalJSON ¶
func (m MxedgeTuntermMulticastSsdp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeTuntermMulticastSsdp. It customizes the JSON marshaling process for MxedgeTuntermMulticastSsdp objects.
func (*MxedgeTuntermMulticastSsdp) UnmarshalJSON ¶
func (m *MxedgeTuntermMulticastSsdp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeTuntermMulticastSsdp. It customizes the JSON unmarshaling process for MxedgeTuntermMulticastSsdp objects.
type MxedgeTuntermOtherIpConfig ¶
type MxedgeTuntermOtherIpConfig struct { Ip string `json:"ip"` Netmask string `json:"netmask"` AdditionalProperties map[string]interface{} `json:"_"` }
MxedgeTuntermOtherIpConfig represents a MxedgeTuntermOtherIpConfig struct.
func (MxedgeTuntermOtherIpConfig) MarshalJSON ¶
func (m MxedgeTuntermOtherIpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeTuntermOtherIpConfig. It customizes the JSON marshaling process for MxedgeTuntermOtherIpConfig objects.
func (*MxedgeTuntermOtherIpConfig) 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 []MxedgeTuntermSwitchConfigVlanId `json:"vlan_ids,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MxedgeTuntermSwitchConfig represents a MxedgeTuntermSwitchConfig struct.
func (MxedgeTuntermSwitchConfig) MarshalJSON ¶
func (m MxedgeTuntermSwitchConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeTuntermSwitchConfig. It customizes the JSON marshaling process for MxedgeTuntermSwitchConfig objects.
func (*MxedgeTuntermSwitchConfig) 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 MxedgeTuntermSwitchConfigVlanId ¶ added in v0.2.38
type MxedgeTuntermSwitchConfigVlanId struct {
// contains filtered or unexported fields
}
MxedgeTuntermSwitchConfigVlanId represents a MxedgeTuntermSwitchConfigVlanId struct.
func (*MxedgeTuntermSwitchConfigVlanId) AsNumber ¶ added in v0.2.38
func (m *MxedgeTuntermSwitchConfigVlanId) AsNumber() ( *int, bool)
func (*MxedgeTuntermSwitchConfigVlanId) AsString ¶ added in v0.2.38
func (m *MxedgeTuntermSwitchConfigVlanId) AsString() ( *string, bool)
func (MxedgeTuntermSwitchConfigVlanId) MarshalJSON ¶ added in v0.2.38
func (m MxedgeTuntermSwitchConfigVlanId) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeTuntermSwitchConfigVlanId. It customizes the JSON marshaling process for MxedgeTuntermSwitchConfigVlanId objects.
func (MxedgeTuntermSwitchConfigVlanId) String ¶ added in v0.2.38
func (m MxedgeTuntermSwitchConfigVlanId) String() string
String converts the MxedgeTuntermSwitchConfigVlanId object to a string representation.
func (*MxedgeTuntermSwitchConfigVlanId) UnmarshalJSON ¶ added in v0.2.38
func (m *MxedgeTuntermSwitchConfigVlanId) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeTuntermSwitchConfigVlanId. It customizes the JSON unmarshaling process for MxedgeTuntermSwitchConfigVlanId objects.
type MxedgeTuntermSwitchConfigs ¶
type MxedgeTuntermSwitchConfigs struct { Enabled *bool `json:"enabled,omitempty"` AdditionalProperties map[string]MxedgeTuntermSwitchConfig `json:"_"` }
MxedgeTuntermSwitchConfigs represents a MxedgeTuntermSwitchConfigs struct. if custom vlan settings are desired
func (MxedgeTuntermSwitchConfigs) MarshalJSON ¶
func (m MxedgeTuntermSwitchConfigs) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeTuntermSwitchConfigs. It customizes the JSON marshaling process for MxedgeTuntermSwitchConfigs objects.
func (*MxedgeTuntermSwitchConfigs) UnmarshalJSON ¶
func (m *MxedgeTuntermSwitchConfigs) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeTuntermSwitchConfigs. It customizes the JSON unmarshaling process for MxedgeTuntermSwitchConfigs objects.
type MxedgeUpgradeChannelEnum ¶
type MxedgeUpgradeChannelEnum string
MxedgeUpgradeChannelEnum is a string enum. upgrade channel to follow. enum: `alpha`, `beta`, `stable`
const ( MxedgeUpgradeChannelEnum_ALPHA MxedgeUpgradeChannelEnum = "alpha" MxedgeUpgradeChannelEnum_BETA MxedgeUpgradeChannelEnum = "beta" MxedgeUpgradeChannelEnum_STABLE MxedgeUpgradeChannelEnum = "stable" )
type MxedgeUpgradeInfoItems ¶
type MxedgeUpgradeInfoItems struct { Default *bool `json:"default,omitempty"` Distro *string `json:"distro,omitempty"` Package string `json:"package"` Version string `json:"version"` AdditionalProperties map[string]interface{} `json:"_"` }
MxedgeUpgradeInfoItems represents a MxedgeUpgradeInfoItems struct.
func (MxedgeUpgradeInfoItems) MarshalJSON ¶
func (m MxedgeUpgradeInfoItems) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeUpgradeInfoItems. It customizes the JSON marshaling process for MxedgeUpgradeInfoItems objects.
func (*MxedgeUpgradeInfoItems) UnmarshalJSON ¶
func (m *MxedgeUpgradeInfoItems) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeUpgradeInfoItems. It customizes the JSON unmarshaling process for MxedgeUpgradeInfoItems objects.
type MxedgeUpgradeMulti ¶
type MxedgeUpgradeMulti struct { // whether downgrade is allowed when running version is higher than expected version for each service AllowDowngrades *MxedgeUpgradeMultiAllowDowngrades `json:"allow_downgrades,omitempty"` // Only if `strategy`==`canary`. Phases for canary deployment. Each phase represents percentage of devices that need to be upgraded in that phase. default is [1, 10, 50, 100] CanaryPhases []int `json:"canary_phases,omitempty"` // upgrade channel to follow. enum: `alpha`, `beta`, `stable` Channel *MxedgeUpgradeChannelEnum `json:"channel,omitempty"` // distro upgrade, optional, to specific codename (e.g. bullseye) with highest qualified versions Distro *string `json:"distro,omitempty"` // Failure threshold before we stop the upgrade and mark it as failed MaxFailurePercentage *int `json:"max_failure_percentage,omitempty"` // list of mxedge IDs to upgrade. If not specified, it means all the org mxedges. MxedgeIds []uuid.UUID `json:"mxedge_ids"` // upgrade start time in epoch seconds, default is now StartTime *float64 `json:"start_time,omitempty"` // enum: // * `big_bang`: upgrade all at once, no orchestration // * `serial`: one at a time' // * `canary`: upgrade in phases Strategy *MxedgeUpgradeStrategyEnum `json:"strategy,omitempty"` // version to upgrade for each service, `current` / `latest` / `default` / specific version (e.g. `2.5.100`).\nIgnored if distro upgrade, `tunterm`, `radsecproxy`, `mxagent`, `mxocproxy`, `mxdas` or `mxnacedge` Versions *MxedgeUpgradeVersion `json:"versions,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MxedgeUpgradeMulti represents a MxedgeUpgradeMulti struct.
func (MxedgeUpgradeMulti) MarshalJSON ¶
func (m MxedgeUpgradeMulti) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeUpgradeMulti. It customizes the JSON marshaling process for MxedgeUpgradeMulti objects.
func (*MxedgeUpgradeMulti) UnmarshalJSON ¶
func (m *MxedgeUpgradeMulti) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeUpgradeMulti. It customizes the JSON unmarshaling process for MxedgeUpgradeMulti objects.
type MxedgeUpgradeMultiAllowDowngrades ¶
type MxedgeUpgradeMultiAllowDowngrades struct { Mxagent *bool `json:"mxagent,omitempty"` Mxdas *bool `json:"mxdas,omitempty"` Mxocproxy *bool `json:"mxocproxy,omitempty"` Radsecproxy *bool `json:"radsecproxy,omitempty"` Tunterm *bool `json:"tunterm,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MxedgeUpgradeMultiAllowDowngrades represents a MxedgeUpgradeMultiAllowDowngrades struct. whether downgrade is allowed when running version is higher than expected version for each service
func (MxedgeUpgradeMultiAllowDowngrades) MarshalJSON ¶
func (m MxedgeUpgradeMultiAllowDowngrades) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeUpgradeMultiAllowDowngrades. It customizes the JSON marshaling process for MxedgeUpgradeMultiAllowDowngrades objects.
func (*MxedgeUpgradeMultiAllowDowngrades) UnmarshalJSON ¶
func (m *MxedgeUpgradeMultiAllowDowngrades) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeUpgradeMultiAllowDowngrades. It customizes the JSON unmarshaling process for MxedgeUpgradeMultiAllowDowngrades objects.
type MxedgeUpgradeResponseCounts ¶
type MxedgeUpgradeResponseCounts struct { Failed int `json:"failed"` Queued int `json:"queued"` Success int `json:"success"` Upgrading int `json:"upgrading"` AdditionalProperties map[string]interface{} `json:"_"` }
MxedgeUpgradeResponseCounts represents a MxedgeUpgradeResponseCounts struct.
func (MxedgeUpgradeResponseCounts) MarshalJSON ¶
func (m MxedgeUpgradeResponseCounts) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeUpgradeResponseCounts. It customizes the JSON marshaling process for MxedgeUpgradeResponseCounts objects.
func (*MxedgeUpgradeResponseCounts) UnmarshalJSON ¶
func (m *MxedgeUpgradeResponseCounts) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeUpgradeResponseCounts. It customizes the JSON unmarshaling process for MxedgeUpgradeResponseCounts objects.
type MxedgeUpgradeStrategyEnum ¶
type MxedgeUpgradeStrategyEnum string
MxedgeUpgradeStrategyEnum is a string enum. enum: * `big_bang`: upgrade all at once, no orchestration * `serial`: one at a time' * `canary`: upgrade in phases
const ( MxedgeUpgradeStrategyEnum_CANARY MxedgeUpgradeStrategyEnum = "canary" MxedgeUpgradeStrategyEnum_BIGBANG MxedgeUpgradeStrategyEnum = "big_bang" MxedgeUpgradeStrategyEnum_SERIAL MxedgeUpgradeStrategyEnum = "serial" )
type MxedgeUpgradeVersion ¶
type MxedgeUpgradeVersion struct { Mxagent string `json:"mxagent"` Mxdas *string `json:"mxdas,omitempty"` Mxocproxy *string `json:"mxocproxy,omitempty"` Radsecproxy *string `json:"radsecproxy,omitempty"` Tunterm string `json:"tunterm"` AdditionalProperties map[string]interface{} `json:"_"` }
MxedgeUpgradeVersion represents a MxedgeUpgradeVersion struct. version to upgrade for each service, `current` / `latest` / `default` / specific version (e.g. `2.5.100`).\nIgnored if distro upgrade, `tunterm`, `radsecproxy`, `mxagent`, `mxocproxy`, `mxdas` or `mxnacedge`
func (MxedgeUpgradeVersion) MarshalJSON ¶
func (m MxedgeUpgradeVersion) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeUpgradeVersion. It customizes the JSON marshaling process for MxedgeUpgradeVersion objects.
func (*MxedgeUpgradeVersion) 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]interface{} `json:"_"` }
MxedgeVersions represents a MxedgeVersions struct.
func (MxedgeVersions) MarshalJSON ¶
func (m MxedgeVersions) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgeVersions. It customizes the JSON marshaling process for MxedgeVersions objects.
func (*MxedgeVersions) UnmarshalJSON ¶
func (m *MxedgeVersions) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgeVersions. It customizes the JSON unmarshaling process for MxedgeVersions objects.
type MxedgesAssign ¶
type MxedgesAssign struct { MxedgeIds []uuid.UUID `json:"mxedge_ids"` SiteId uuid.UUID `json:"site_id"` AdditionalProperties map[string]interface{} `json:"_"` }
MxedgesAssign represents a MxedgesAssign struct.
func (MxedgesAssign) MarshalJSON ¶
func (m MxedgesAssign) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgesAssign. It customizes the JSON marshaling process for MxedgesAssign objects.
func (*MxedgesAssign) UnmarshalJSON ¶
func (m *MxedgesAssign) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgesAssign. It customizes the JSON unmarshaling process for MxedgesAssign objects.
type MxedgesUnassign ¶
type MxedgesUnassign struct { MxedgeIds []uuid.UUID `json:"mxedge_ids"` AdditionalProperties map[string]interface{} `json:"_"` }
MxedgesUnassign represents a MxedgesUnassign struct.
func (MxedgesUnassign) MarshalJSON ¶
func (m MxedgesUnassign) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxedgesUnassign. It customizes the JSON marshaling process for MxedgesUnassign objects.
func (*MxedgesUnassign) UnmarshalJSON ¶
func (m *MxedgesUnassign) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxedgesUnassign. It customizes the JSON unmarshaling process for MxedgesUnassign objects.
type Mxtunnel ¶
type Mxtunnel struct { // list of anchor mxtunnels used for forming edge to edge tunnels AnchorMxtunnelIds []uuid.UUID `json:"anchor_mxtunnel_ids,omitempty"` // schedule to preempt ap’s which are not connected to preferred peer AutoPreemption *AutoPreemption `json:"auto_preemption,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` ForSite *bool `json:"for_site,omitempty"` // in seconds, used as heartbeat to detect if a tunnel is alive. AP will try another peer after missing N hellos specified by `hello_retries`. HelloInterval Optional[int] `json:"hello_interval"` HelloRetries Optional[int] `json:"hello_retries"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` Ipsec *MxtunnelIpsec `json:"ipsec,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` // 0 to enable PMTU, 552-1500 to start PMTU with a lower MTU Mtu *int `json:"mtu,omitempty"` // list of mxclusters to deploy this tunnel to MxclusterIds []uuid.UUID `json:"mxcluster_ids,omitempty"` Name Optional[string] `json:"name"` OrgId *uuid.UUID `json:"org_id,omitempty"` // enum: `ip`, `udp` Protocol *MxtunnelProtocolEnum `json:"protocol,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` // list of vlan_ids that will be used VlanIds []int `json:"vlan_ids,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Mxtunnel represents a Mxtunnel struct. MxTunnel
func (Mxtunnel) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Mxtunnel. It customizes the JSON marshaling process for Mxtunnel objects.
func (*Mxtunnel) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Mxtunnel. It customizes the JSON unmarshaling process for Mxtunnel objects.
type MxtunnelIpsec ¶
type MxtunnelIpsec struct { DnsServers Optional[[]string] `json:"dns_servers"` DnsSuffix []string `json:"dns_suffix,omitempty"` Enabled *bool `json:"enabled,omitempty"` ExtraRoutes []MxtunnelIpsecExtraRoute `json:"extra_routes,omitempty"` SplitTunnel *bool `json:"split_tunnel,omitempty"` UseMxedge *bool `json:"use_mxedge,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MxtunnelIpsec represents a MxtunnelIpsec struct.
func (MxtunnelIpsec) MarshalJSON ¶
func (m MxtunnelIpsec) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxtunnelIpsec. It customizes the JSON marshaling process for MxtunnelIpsec objects.
func (*MxtunnelIpsec) UnmarshalJSON ¶
func (m *MxtunnelIpsec) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxtunnelIpsec. It customizes the JSON unmarshaling process for MxtunnelIpsec objects.
type MxtunnelIpsecExtraRoute ¶
type MxtunnelIpsecExtraRoute struct { Dest *string `json:"dest,omitempty"` NextHop *string `json:"next_hop,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
MxtunnelIpsecExtraRoute represents a MxtunnelIpsecExtraRoute struct.
func (MxtunnelIpsecExtraRoute) MarshalJSON ¶
func (m MxtunnelIpsecExtraRoute) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MxtunnelIpsecExtraRoute. It customizes the JSON marshaling process for MxtunnelIpsecExtraRoute objects.
func (*MxtunnelIpsecExtraRoute) UnmarshalJSON ¶
func (m *MxtunnelIpsecExtraRoute) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MxtunnelIpsecExtraRoute. It customizes the JSON unmarshaling process for MxtunnelIpsecExtraRoute objects.
type MxtunnelProtocolEnum ¶
type MxtunnelProtocolEnum string
MxtunnelProtocolEnum is a string enum. enum: `ip`, `udp`
const ( MxtunnelProtocolEnum_IP MxtunnelProtocolEnum = "ip" MxtunnelProtocolEnum_UDP MxtunnelProtocolEnum = "udp" )
type NacCrlFile ¶
type NacCrlFile struct { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // Unique ID for the uploaded CRL file, used to reference the file Id *string `json:"id,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` // Issuer name for the CRL file Name *string `json:"name,omitempty"` // URL to download the uploaded CRL file Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
NacCrlFile represents a NacCrlFile struct.
func (NacCrlFile) MarshalJSON ¶
func (n NacCrlFile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NacCrlFile. It customizes the JSON marshaling process for NacCrlFile objects.
func (*NacCrlFile) UnmarshalJSON ¶
func (n *NacCrlFile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NacCrlFile. It customizes the JSON unmarshaling process for NacCrlFile objects.
type NacPortal ¶
type NacPortal struct { // if `type`==`marvis_client`. enum: `wireless`, `wireless+wired` AccessType *NacPortalAccessTypeEnum `json:"access_type,omitempty"` // background image BgImageUrl *string `json:"bg_image_url,omitempty"` // in days CertExpireTime *int `json:"cert_expire_time,omitempty"` // enum: `wpa2`, `wpa3` EapType *NacPortalEapTypeEnum `json:"eap_type,omitempty"` // model, version, fingering, events (connecting, disconnect, roaming), which ap EnableTelemetry *bool `json:"enable_telemetry,omitempty"` // in days ExpiryNotificationTime *int `json:"expiry_notification_time,omitempty"` // portal wlan settings GuestPortalConfig *WlanPortal `json:"guest_portal_config,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"` // enum: `guest`, `marvis_client` Type *NacPortalTypeEnum `json:"type,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
NacPortal represents a NacPortal struct.
func (NacPortal) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for NacPortal. It customizes the JSON marshaling process for NacPortal objects.
func (*NacPortal) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for NacPortal. It customizes the JSON unmarshaling process for NacPortal objects.
type NacPortalAccessTypeEnum ¶
type NacPortalAccessTypeEnum string
NacPortalAccessTypeEnum is a string enum. if `type`==`marvis_client`. enum: `wireless`, `wireless+wired`
const ( NacPortalAccessTypeEnum_WIRELESS NacPortalAccessTypeEnum = "wireless" NacPortalAccessTypeEnum_ENUMWIRELESSWIRED NacPortalAccessTypeEnum = "wireless+wired" )
type NacPortalEapTypeEnum ¶ added in v0.3.17
type NacPortalEapTypeEnum string
NacPortalEapTypeEnum is a string enum. enum: `wpa2`, `wpa3`
const ( NacPortalEapTypeEnum_WPA2 NacPortalEapTypeEnum = "wpa2" NacPortalEapTypeEnum_WPA3 NacPortalEapTypeEnum = "wpa3" )
type NacPortalSso ¶
type NacPortalSso struct { IdpCert *string `json:"idp_cert,omitempty"` // Signing algorithm for SAML Assertion. enum: `sha1`, `sha256`, `sha384`, `sha512`. IdpSignAlgo *NacPortalSsoIdpSignAlgoEnum `json:"idp_sign_algo,omitempty"` IdpSsoUrl *string `json:"idp_sso_url,omitempty"` Issuer *string `json:"issuer,omitempty"` NameidFormat *string `json:"nameid_format,omitempty"` SsoRoleMatching []NacPortalSsoRoleMatching `json:"sso_role_matching,omitempty"` // if it's desired to inject a role into Cert's Subject (so it can be used later on in policy) UseSsoRoleForCert *bool `json:"use_sso_role_for_cert,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
NacPortalSso represents a NacPortalSso struct.
func (NacPortalSso) MarshalJSON ¶
func (n NacPortalSso) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NacPortalSso. It customizes the JSON marshaling process for NacPortalSso objects.
func (*NacPortalSso) UnmarshalJSON ¶
func (n *NacPortalSso) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NacPortalSso. It customizes the JSON unmarshaling process for NacPortalSso objects.
type NacPortalSsoIdpSignAlgoEnum ¶ added in v0.3.33
type NacPortalSsoIdpSignAlgoEnum string
NacPortalSsoIdpSignAlgoEnum is a string enum. Signing algorithm for SAML Assertion. enum: `sha1`, `sha256`, `sha384`, `sha512`.
const ( NacPortalSsoIdpSignAlgoEnum_SHA1 NacPortalSsoIdpSignAlgoEnum = "sha1" NacPortalSsoIdpSignAlgoEnum_SHA256 NacPortalSsoIdpSignAlgoEnum = "sha256" NacPortalSsoIdpSignAlgoEnum_SHA384 NacPortalSsoIdpSignAlgoEnum = "sha384" NacPortalSsoIdpSignAlgoEnum_SHA512 NacPortalSsoIdpSignAlgoEnum = "sha512" )
type NacPortalSsoRoleMatching ¶
type NacPortalSsoRoleMatching struct { Assigned *string `json:"assigned,omitempty"` Match *string `json:"match,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
NacPortalSsoRoleMatching represents a NacPortalSsoRoleMatching struct.
func (NacPortalSsoRoleMatching) MarshalJSON ¶
func (n NacPortalSsoRoleMatching) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NacPortalSsoRoleMatching. It customizes the JSON marshaling process for NacPortalSsoRoleMatching objects.
func (*NacPortalSsoRoleMatching) UnmarshalJSON ¶
func (n *NacPortalSsoRoleMatching) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NacPortalSsoRoleMatching. It customizes the JSON unmarshaling process for NacPortalSsoRoleMatching objects.
type NacPortalTemplate ¶ added in v0.2.38
type NacPortalTemplate struct { // defines alignment on portal. enum: `center`, `left`, `right` Alignment *PortalTemplateAlignmentEnum `json:"alignment,omitempty"` Color *string `json:"color,omitempty"` // custom logo custom logo with “data:image/png;base64,” format. default null, uses Juniper Mist Logo. Logo *string `json:"logo,omitempty"` // whether to hide “Powered by Juniper Mist” and email footers PoweredBy *bool `json:"poweredBy,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
NacPortalTemplate represents a NacPortalTemplate struct.
func (NacPortalTemplate) MarshalJSON ¶ added in v0.2.38
func (n NacPortalTemplate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NacPortalTemplate. It customizes the JSON marshaling process for NacPortalTemplate objects.
func (*NacPortalTemplate) UnmarshalJSON ¶ added in v0.2.38
func (n *NacPortalTemplate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NacPortalTemplate. It customizes the JSON unmarshaling process for NacPortalTemplate objects.
type NacPortalTypeEnum ¶ added in v0.2.38
type NacPortalTypeEnum string
NacPortalTypeEnum is a string enum. enum: `guest`, `marvis_client`
const ( NacPortalTypeEnum_GUEST NacPortalTypeEnum = "guest" NacPortalTypeEnum_MARVISCLIENT NacPortalTypeEnum = "marvis_client" )
type NacRule ¶
type NacRule struct { // enum: `allow`, `block` Action NacRuleActionEnum `json:"action"` // all optional, this goes into Access-Accept ApplyTags []string `json:"apply_tags,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // enabled or not Enabled *bool `json:"enabled,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` Matching *NacRuleMatching `json:"matching,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` Name string `json:"name"` NotMatching *NacRuleMatching `json:"not_matching,omitempty"` // 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]interface{} `json:"_"` }
NacRule represents a NacRule struct.
func (NacRule) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for NacRule. It customizes the JSON marshaling process for NacRule objects.
func (*NacRule) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for NacRule. It customizes the JSON unmarshaling process for NacRule objects.
type NacRuleActionEnum ¶
type NacRuleActionEnum string
NacRuleActionEnum is a string enum. enum: `allow`, `block`
const ( NacRuleActionEnum_ALLOW NacRuleActionEnum = "allow" NacRuleActionEnum_BLOCK NacRuleActionEnum = "block" )
type NacRuleMatching ¶
type NacRuleMatching struct { // enum: `cert`, `device-auth`, `eap-teap`, `eap-tls`, `eap-ttls`, `idp`, `mab`, `peap-tls`, `psk` 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]interface{} `json:"_"` }
NacRuleMatching represents a NacRuleMatching struct.
func (NacRuleMatching) MarshalJSON ¶
func (n NacRuleMatching) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NacRuleMatching. It customizes the JSON marshaling process for NacRuleMatching objects.
func (*NacRuleMatching) 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. enum: `cert`, `device-auth`, `eap-teap`, `eap-tls`, `eap-ttls`, `idp`, `mab`, `peap-tls`, `psk`
const ( NacRuleMatchingAuthTypeEnum_CERT NacRuleMatchingAuthTypeEnum = "cert" NacRuleMatchingAuthTypeEnum_DEVICEAUTH NacRuleMatchingAuthTypeEnum = "device-auth" NacRuleMatchingAuthTypeEnum_EAPTEAP NacRuleMatchingAuthTypeEnum = "eap-teap" NacRuleMatchingAuthTypeEnum_EAPTLS NacRuleMatchingAuthTypeEnum = "eap-tls" NacRuleMatchingAuthTypeEnum_EAPTTLS NacRuleMatchingAuthTypeEnum = "eap-ttls" NacRuleMatchingAuthTypeEnum_IDP NacRuleMatchingAuthTypeEnum = "idp" NacRuleMatchingAuthTypeEnum_MAB NacRuleMatchingAuthTypeEnum = "mab" NacRuleMatchingAuthTypeEnum_PEAPTLS NacRuleMatchingAuthTypeEnum = "peap-tls" NacRuleMatchingAuthTypeEnum_PSK NacRuleMatchingAuthTypeEnum = "psk" )
type NacRuleMatchingPortTypeEnum ¶
type NacRuleMatchingPortTypeEnum string
NacRuleMatchingPortTypeEnum is a string enum. enum: `wired`, `wireless`
const ( NacRuleMatchingPortTypeEnum_WIRED NacRuleMatchingPortTypeEnum = "wired" NacRuleMatchingPortTypeEnum_WIRELESS NacRuleMatchingPortTypeEnum = "wireless" )
type NacTag ¶
type NacTag struct { // can be set to true to allow the override by usermac result AllowUsermacOverride *bool `json:"allow_usermac_override,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // if `type`==`egress_vlan_names`, list of egress vlans to return EgressVlanNames []string `json:"egress_vlan_names,omitempty"` // if `type`==`gbp_tag` GbpTag *int `json:"gbp_tag,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // if `type`==`match`. enum: `cert_cn`, `cert_issuer`, `cert_san`, `cert_serial`, `cert_sub`, `cert_template`, `client_mac`, `idp_role`, `ingress_vlan`, `mdm_status`, `nas_ip`, `radius_group`, `realm`, `ssid`, `user_name`, `usermac_label` Match *NacTagMatchEnum `json:"match,omitempty"` // This field is applicable only when `type`==`match` // * `false`: means it is sufficient to match any of the values (i.e., match-any behavior) // * `true`: means all values should be matched (i.e., match-all behavior) // Currently it makes sense to set this field to `true` only if the `match`==`idp_role` or `match`==`usermac_label` MatchAll *bool `json:"match_all,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` Name string `json:"name"` OrgId *uuid.UUID `json:"org_id,omitempty"` // if `type`==`radius_attrs`, user can specify a list of one or more standard attributes in the field "radius_attrs". // It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected. // Note that it is allowed to have more than one radius_attrs in the result of a given rule. RadiusAttrs []string `json:"radius_attrs,omitempty"` // if `type`==`radius_group` RadiusGroup *string `json:"radius_group,omitempty"` // if `type`==`radius_vendor_attrs`, user can specify a list of one or more vendor-specific attributes in the field "radius_vendor_attrs". // It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected. // Note that it is allowed to have more than one radius_vendor_attrs in the result of a given rule. RadiusVendorAttrs []string `json:"radius_vendor_attrs,omitempty"` // if `type`==`session_timeout, in seconds SessionTimeout *int `json:"session_timeout,omitempty"` // enum: `egress_vlan_names`, `gbp_tag`, `match`, `radius_attrs`, `radius_group`, `radius_vendor_attrs`, `session_timeout`, `username_attr`, `vlan` Type NacTagTypeEnum `json:"type"` // enum: `automatic`, `cn`, `dns`, `email`, `upn` UsernameAttr *NacTagUsernameAttrEnum `json:"username_attr,omitempty"` // if `type`==`match` Values []string `json:"values,omitempty"` // if `type`==`vlan` Vlan *string `json:"vlan,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
NacTag represents a NacTag struct.
func (NacTag) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for NacTag. It customizes the JSON marshaling process for NacTag objects.
func (*NacTag) 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`. enum: `cert_cn`, `cert_issuer`, `cert_san`, `cert_serial`, `cert_sub`, `cert_template`, `client_mac`, `idp_role`, `ingress_vlan`, `mdm_status`, `nas_ip`, `radius_group`, `realm`, `ssid`, `user_name`, `usermac_label`
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_CERTTEMPLATE NacTagMatchEnum = "cert_template" NacTagMatchEnum_CLIENTMAC NacTagMatchEnum = "client_mac" NacTagMatchEnum_IDPROLE NacTagMatchEnum = "idp_role" NacTagMatchEnum_INGRESSVLAN NacTagMatchEnum = "ingress_vlan" NacTagMatchEnum_MDMSTATUS NacTagMatchEnum = "mdm_status" NacTagMatchEnum_NASIP NacTagMatchEnum = "nas_ip" NacTagMatchEnum_RADIUSGROUP NacTagMatchEnum = "radius_group" NacTagMatchEnum_REALM NacTagMatchEnum = "realm" NacTagMatchEnum_SSID NacTagMatchEnum = "ssid" NacTagMatchEnum_USERNAME NacTagMatchEnum = "user_name" NacTagMatchEnum_USERMACLABEL NacTagMatchEnum = "usermac_label" )
type NacTagTypeEnum ¶
type NacTagTypeEnum string
NacTagTypeEnum is a string enum. enum: `egress_vlan_names`, `gbp_tag`, `match`, `radius_attrs`, `radius_group`, `radius_vendor_attrs`, `session_timeout`, `username_attr`, `vlan`
const ( NacTagTypeEnum_EGRESSVLANNAMES NacTagTypeEnum = "egress_vlan_names" NacTagTypeEnum_GBPTAG NacTagTypeEnum = "gbp_tag" NacTagTypeEnum_MATCH NacTagTypeEnum = "match" NacTagTypeEnum_RADIUSATTRS NacTagTypeEnum = "radius_attrs" NacTagTypeEnum_RADIUSGROUP NacTagTypeEnum = "radius_group" NacTagTypeEnum_RADIUSVENDORATTRS NacTagTypeEnum = "radius_vendor_attrs" NacTagTypeEnum_SESSIONTIMEOUT NacTagTypeEnum = "session_timeout" NacTagTypeEnum_USERNAMEATTR NacTagTypeEnum = "username_attr" NacTagTypeEnum_VLAN NacTagTypeEnum = "vlan" )
type NacTagUsernameAttrEnum ¶ added in v0.2.38
type NacTagUsernameAttrEnum string
NacTagUsernameAttrEnum is a string enum. enum: `automatic`, `cn`, `dns`, `email`, `upn`
const ( NacTagUsernameAttrEnum_AUTOMATIC NacTagUsernameAttrEnum = "automatic" NacTagUsernameAttrEnum_CN NacTagUsernameAttrEnum = "cn" NacTagUsernameAttrEnum_DNS NacTagUsernameAttrEnum = "dns" NacTagUsernameAttrEnum_EMAIL NacTagUsernameAttrEnum = "email" NacTagUsernameAttrEnum_UPN NacTagUsernameAttrEnum = "upn" )
type NameString ¶
type NameString struct { Name *string `json:"name,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
NameString represents a NameString struct.
func (NameString) MarshalJSON ¶
func (n NameString) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NameString. It customizes the JSON marshaling process for NameString objects.
func (*NameString) UnmarshalJSON ¶
func (n *NameString) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NameString. It customizes the JSON unmarshaling process for NameString objects.
type Network ¶
type Network struct { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // whether to disallow Mist Devices in the network DisallowMistServices *bool `json:"disallow_mist_services,omitempty"` Gateway *string `json:"gateway,omitempty"` Gateway6 *string `json:"gateway6,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` InternalAccess *NetworkInternalAccess `json:"internal_access,omitempty"` // whether this network has direct internet access InternetAccess *NetworkInternetAccess `json:"internet_access,omitempty"` // whether to allow clients in the network to talk to each other Isolation *bool `json:"isolation,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` // whether to enable multicast support (only PIM-sparse mode is supported) Multicast *NetworkMulticast `json:"multicast,omitempty"` Name string `json:"name"` OrgId *uuid.UUID `json:"org_id,omitempty"` // for a Network (usually LAN), it can be routable to other networks (e.g. OSPF) RoutedForNetworks []string `json:"routed_for_networks,omitempty"` Subnet *string `json:"subnet,omitempty"` Subnet6 *string `json:"subnet6,omitempty"` Tenants map[string]NetworkTenant `json:"tenants,omitempty"` VlanId *VlanIdWithVariable `json:"vlan_id,omitempty"` // Property key is the VPN name. Whether this network can be accessed from vpn VpnAccess map[string]NetworkVpnAccessConfig `json:"vpn_access,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Network represents a Network struct. Networks are usually subnets that have cross-site significance. `networks`in Org Settings will got merged into `networks`in Site Setting. For gateways, they can be used to define Service Routes.
func (Network) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Network. It customizes the JSON marshaling process for Network objects.
func (*Network) 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"` // If not set, we configure the nat policies against all WAN ports for simplicity WanName *string `json:"wan_name,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
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]interface{} `json:"_"` }
NetworkInternalAccess represents a NetworkInternalAccess struct.
func (NetworkInternalAccess) MarshalJSON ¶
func (n NetworkInternalAccess) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NetworkInternalAccess. It customizes the JSON marshaling process for NetworkInternalAccess objects.
func (*NetworkInternalAccess) 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]interface{} `json:"_"` }
NetworkInternetAccess represents a NetworkInternetAccess struct. whether this network has direct internet access
func (NetworkInternetAccess) MarshalJSON ¶
func (n NetworkInternetAccess) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NetworkInternetAccess. It customizes the JSON marshaling process for NetworkInternetAccess objects.
func (*NetworkInternetAccess) 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 NetworkMulticast ¶ added in v0.4.0
type NetworkMulticast struct { // if the network will only be the soruce of the multicast traffic, IGMP can be disabled DisableIgmp *bool `json:"disable_igmp,omitempty"` Enabled *bool `json:"enabled,omitempty"` // Group address to RP (rendezvous point) mapping. Property Key is the CIDR (example "225.1.0.3/32") Groups map[string]NetworkMulticastGroup `json:"groups,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
NetworkMulticast represents a NetworkMulticast struct. whether to enable multicast support (only PIM-sparse mode is supported)
func (NetworkMulticast) MarshalJSON ¶ added in v0.4.0
func (n NetworkMulticast) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NetworkMulticast. It customizes the JSON marshaling process for NetworkMulticast objects.
func (*NetworkMulticast) UnmarshalJSON ¶ added in v0.4.0
func (n *NetworkMulticast) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NetworkMulticast. It customizes the JSON unmarshaling process for NetworkMulticast objects.
type NetworkMulticastGroup ¶ added in v0.4.0
type NetworkMulticastGroup struct { // RP (rendezvous point) IP Address RpIp *string `json:"rp_ip,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
NetworkMulticastGroup represents a NetworkMulticastGroup struct.
func (NetworkMulticastGroup) MarshalJSON ¶ added in v0.4.0
func (n NetworkMulticastGroup) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NetworkMulticastGroup. It customizes the JSON marshaling process for NetworkMulticastGroup objects.
func (*NetworkMulticastGroup) UnmarshalJSON ¶ added in v0.4.0
func (n *NetworkMulticastGroup) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NetworkMulticastGroup. It customizes the JSON unmarshaling process for NetworkMulticastGroup objects.
type NetworkSourceNat ¶
type NetworkSourceNat struct { ExternalIp *string `json:"external_ip,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
NetworkSourceNat represents a NetworkSourceNat struct. if `routed`==`false` (usually at Spoke), but some hosts needs to be reachable from Hub
func (NetworkSourceNat) MarshalJSON ¶
func (n NetworkSourceNat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NetworkSourceNat. It customizes the JSON marshaling process for NetworkSourceNat objects.
func (*NetworkSourceNat) 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]interface{} `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"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` DhcpSnooping *DhcpSnooping `json:"dhcp_snooping,omitempty"` // Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting DnsServers []string `json:"dns_servers,omitempty"` // Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting DnsSuffix []string `json:"dns_suffix,omitempty"` ExtraRoutes map[string]ExtraRoute `json:"extra_routes,omitempty"` // Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64") ExtraRoutes6 map[string]ExtraRoute6 `json:"extra_routes6,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // Org Networks that we'd like to import ImportOrgNetworks []string `json:"import_org_networks,omitempty"` // enable mist_nac to use radsec MistNac *SwitchMistNac `json:"mist_nac,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` Name *string `json:"name,omitempty"` // Property key is network name Networks map[string]SwitchNetwork `json:"networks,omitempty"` // list of NTP servers specific to this device. By default, those in Site Settings will be used NtpServers []string `json:"ntp_servers,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` // Junos OSPF areas OspfAreas map[string]OspfArea `json:"ospf_areas,omitempty"` // Property key is the port mirroring instance name // port_mirroring can be added under device/site settings. It takes interface and ports as input for ingress, interface as input for egress and can take interface and port as output. A maximum 4 port mirrorings is allowed PortMirroring map[string]SwitchPortMirroringProperty `json:"port_mirroring,omitempty"` // Property key is the port usage name. Defines the profiles of port configuration configured on the switch PortUsages map[string]SwitchPortUsage `json:"port_usages,omitempty"` // Junos Radius config RadiusConfig *SwitchRadiusConfig `json:"radius_config,omitempty"` RemoteSyslog *RemoteSyslog `json:"remote_syslog,omitempty"` // by default, when we configure a device, we only clean up config we generates. Remove existing configs if enabled RemoveExistingConfigs *bool `json:"remove_existing_configs,omitempty"` SnmpConfig *SnmpConfig `json:"snmp_config,omitempty"` // defines custom switch configuration based on different criterias SwitchMatching *SwitchMatching `json:"switch_matching,omitempty"` // Switch settings SwitchMgmt *SwitchMgmt `json:"switch_mgmt,omitempty"` VrfConfig *VrfConfig `json:"vrf_config,omitempty"` // Property key is the network name VrfInstances map[string]SwitchVrfInstance `json:"vrf_instances,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
NetworkTemplate represents a NetworkTemplate struct. Network Template
func (NetworkTemplate) MarshalJSON ¶
func (n NetworkTemplate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NetworkTemplate. It customizes the JSON marshaling process for NetworkTemplate objects.
func (*NetworkTemplate) UnmarshalJSON ¶
func (n *NetworkTemplate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NetworkTemplate. It customizes the JSON unmarshaling process for NetworkTemplate objects.
type NetworkTenant ¶
type NetworkTenant struct { Addresses []string `json:"addresses,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
NetworkTenant represents a NetworkTenant struct.
func (NetworkTenant) MarshalJSON ¶
func (n NetworkTenant) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NetworkTenant. It customizes the JSON marshaling process for NetworkTenant objects.
func (*NetworkTenant) UnmarshalJSON ¶
func (n *NetworkTenant) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NetworkTenant. It customizes the JSON unmarshaling process for NetworkTenant objects.
type NetworkVpnAccessConfig ¶
type NetworkVpnAccessConfig struct { // if `routed`==`true`, whether to advertise an aggregated subnet toward HUB this is useful when there are multiple networks on SPOKE's side AdvertisedSubnet *string `json:"advertised_subnet,omitempty"` // whether to allow ping from vpn into this routed network AllowPing *bool `json:"allow_ping,omitempty"` // Property key 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]interface{} `json:"_"` }
NetworkVpnAccessConfig represents a NetworkVpnAccessConfig struct.
func (NetworkVpnAccessConfig) MarshalJSON ¶
func (n NetworkVpnAccessConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NetworkVpnAccessConfig. It customizes the JSON marshaling process for NetworkVpnAccessConfig objects.
func (*NetworkVpnAccessConfig) 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]interface{} `json:"_"` }
NoteString represents a NoteString struct.
func (NoteString) MarshalJSON ¶
func (n NoteString) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NoteString. It customizes the JSON marshaling process for NoteString objects.
func (*NoteString) UnmarshalJSON ¶
func (n *NoteString) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NoteString. It customizes the JSON unmarshaling process for NoteString objects.
type NotesString ¶
type NotesString struct { Notes *string `json:"notes,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
NotesString represents a NotesString struct.
func (NotesString) MarshalJSON ¶
func (n NotesString) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for NotesString. It customizes the JSON marshaling process for NotesString objects.
func (*NotesString) 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. enum: `crowdstrike`, `intune`, `jamf`, `mobicontrol`, `teams`, `vmware`, `zdx`, `zoom`
const ( OauthAppNameEnum_CROWDSTRIKE OauthAppNameEnum = "crowdstrike" OauthAppNameEnum_INTUNE OauthAppNameEnum = "intune" OauthAppNameEnum_JAMF OauthAppNameEnum = "jamf" OauthAppNameEnum_MOBICONTROL OauthAppNameEnum = "mobicontrol" OauthAppNameEnum_TEAMS OauthAppNameEnum = "teams" OauthAppNameEnum_VMWARE OauthAppNameEnum = "vmware" OauthAppNameEnum_ZDX OauthAppNameEnum = "zdx" OauthAppNameEnum_ZOOM OauthAppNameEnum = "zoom" )
type OauthPingIdentityRegionEnum ¶ added in v0.4.0
type OauthPingIdentityRegionEnum string
OauthPingIdentityRegionEnum is a string enum. enum: `us` (United States, default), `ca` (Canada), `eu` (Europe), `asia` (Asia), `au` (Australia)
const ( OauthPingIdentityRegionEnum_ASIA OauthPingIdentityRegionEnum = "asia" OauthPingIdentityRegionEnum_AU OauthPingIdentityRegionEnum = "au" OauthPingIdentityRegionEnum_CA OauthPingIdentityRegionEnum = "ca" OauthPingIdentityRegionEnum_EU OauthPingIdentityRegionEnum = "eu" OauthPingIdentityRegionEnum_US OauthPingIdentityRegionEnum = "us" )
type OpticPortConfigPort ¶ added in v0.4.0
type OpticPortConfigPort struct { // enable channelization Channelized *bool `json:"channelized,omitempty"` // interface speed (e.g. `25g`, `50g`), use the chassis speed by default Speed *string `json:"speed,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OpticPortConfigPort represents a OpticPortConfigPort struct.
func (OpticPortConfigPort) MarshalJSON ¶ added in v0.4.0
func (o OpticPortConfigPort) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OpticPortConfigPort. It customizes the JSON marshaling process for OpticPortConfigPort objects.
func (*OpticPortConfigPort) UnmarshalJSON ¶ added in v0.4.0
func (o *OpticPortConfigPort) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OpticPortConfigPort. It customizes the JSON unmarshaling process for OpticPortConfigPort objects.
type Optional ¶
Optional is a generic struct that allows any type to be used as optional and nullable. Optional.set is true when Optional.value is to be used.
func EmptyOptional ¶
EmptyOptional creates and returns an Optional instance with empty value.
func NewOptional ¶
NewOptional creates and returns an Optional instance with the given value set.
func (*Optional[T]) IsValueSet ¶
IsValueSet returns true if a value is set in the Optional, false otherwise.
func (*Optional[T]) SetValue ¶
func (o *Optional[T]) SetValue(value *T)
SetValue sets the value of the Optional.
func (*Optional[T]) ShouldSetValue ¶
ShouldSetValue sets whether the value should be used or not.
type OptionalStatVpnPeer ¶ added in v0.3.17
type OptionalStatVpnPeer struct { // Redundancy status of the associated interface IsActive *bool `json:"is_active,omitempty"` LastSeen *float64 `json:"last_seen,omitempty"` Latency *float64 `json:"latency,omitempty"` Mos *float64 `json:"mos,omitempty"` Mtu *int `json:"mtu,omitempty"` // peer router mac address PeerMac *string `json:"peer_mac,omitempty"` // peer router device interface PeerPortId *string `json:"peer_port_id,omitempty"` PeerRouterName *string `json:"peer_router_name,omitempty"` PeerSiteId *uuid.UUID `json:"peer_site_id,omitempty"` // router device interface PortId *string `json:"port_id,omitempty"` RouterName *string `json:"router_name,omitempty"` // `ipsec`for SRX, `svr` for 128T Type *string `json:"type,omitempty"` Up *bool `json:"up,omitempty"` Uptime *int `json:"uptime,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OptionalStatVpnPeer represents a OptionalStatVpnPeer struct.
func (OptionalStatVpnPeer) MarshalJSON ¶ added in v0.3.17
func (o OptionalStatVpnPeer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OptionalStatVpnPeer. It customizes the JSON marshaling process for OptionalStatVpnPeer objects.
func (*OptionalStatVpnPeer) UnmarshalJSON ¶ added in v0.3.17
func (o *OptionalStatVpnPeer) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OptionalStatVpnPeer. It customizes the JSON unmarshaling process for OptionalStatVpnPeer objects.
type OptionalStatWanTunnel ¶ added in v0.3.17
type OptionalStatWanTunnel struct { // authentication algorithm AuthAlgo *string `json:"auth_algo,omitempty"` // encryption algorithm EncryptAlgo *string `json:"encrypt_algo,omitempty"` // ike version IkeVersion *string `json:"ike_version,omitempty"` // ip address Ip *string `json:"ip,omitempty"` // reason of why the tunnel is down LastEvent *string `json:"last_event,omitempty"` // indicates when the port was last flapped LastFlapped *float64 `json:"last_flapped,omitempty"` // node0/node1 Node *string `json:"node,omitempty"` // peer host PeerHost *string `json:"peer_host,omitempty"` // peer ip address PeerIp *string `json:"peer_ip,omitempty"` // enum: `primary`, `secondary` Priority *StatsWanTunnelPriorityEnum `json:"priority,omitempty"` // enum: `gre`, `ipsec` Protocol *WanTunnelProtocolEnum `json:"protocol,omitempty"` 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"` // duration from first (or last) SA was established Uptime *int `json:"uptime,omitempty"` // wan interface name WanName *string `json:"wan_name,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OptionalStatWanTunnel represents a OptionalStatWanTunnel struct.
func (OptionalStatWanTunnel) MarshalJSON ¶ added in v0.3.17
func (o OptionalStatWanTunnel) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OptionalStatWanTunnel. It customizes the JSON marshaling process for OptionalStatWanTunnel objects.
func (*OptionalStatWanTunnel) UnmarshalJSON ¶ added in v0.3.17
func (o *OptionalStatWanTunnel) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OptionalStatWanTunnel. It customizes the JSON unmarshaling process for OptionalStatWanTunnel objects.
type OptionalStatsBgp ¶ added in v0.3.17
type OptionalStatsBgp 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"` 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"` RxPkts *int `json:"rx_pkts,omitempty"` // number of received routes RxRoutes *int `json:"rx_routes,omitempty"` // enum: `active`, `connect`, `established`, `idle`, `open_config`, `open_sent` 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]interface{} `json:"_"` }
OptionalStatsBgp represents a OptionalStatsBgp struct. only present when `bgp_peers` in `fields` query parameter
func (OptionalStatsBgp) MarshalJSON ¶ added in v0.3.17
func (o OptionalStatsBgp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OptionalStatsBgp. It customizes the JSON marshaling process for OptionalStatsBgp objects.
func (*OptionalStatsBgp) UnmarshalJSON ¶ added in v0.3.17
func (o *OptionalStatsBgp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OptionalStatsBgp. It customizes the JSON unmarshaling process for OptionalStatsBgp objects.
type OptionalStatsPort ¶ added in v0.3.17
type OptionalStatsPort struct { // Indicates if interface is active/inactive Active *bool `json:"active,omitempty"` // if `up`==`true` and has Authenticator role. enum: `authenticated`, `authenticating`, `held`, `init` AuthState *StatsSwitchPortAuthStateEnum `json:"auth_state,omitempty"` ForSite *bool `json:"for_site,omitempty"` // indicates full or half duplex FullDuplex *bool `json:"full_duplex,omitempty"` // Last sampled jitter of the interface Jitter *float64 `json:"jitter,omitempty"` // Last sampled latency of the interface Latency *float64 `json:"latency,omitempty"` // Last sampled loss of the interface Loss *float64 `json:"loss,omitempty"` // LTE ICCID value, Check for null/empty LteIccid Optional[string] `json:"lte_iccid"` // LTE IMEI value, Check for null/empty LteImei Optional[string] `json:"lte_imei"` // LTE IMSI value, Check for null/empty LteImsi Optional[string] `json:"lte_imsi"` // Number of mac addresses in the forwarding table MacCount *int `json:"mac_count,omitempty"` // Limit on number of dynamically learned macs MacLimit *int `json:"mac_limit,omitempty"` // chassis identifier of the chassis type listed NeighborMac string `json:"neighbor_mac"` // description supplied by the system on the interface E.g. “GigabitEthernet2/0/39” NeighborPortDesc *string `json:"neighbor_port_desc,omitempty"` // name supplied by the system on the interface E.g. neighbor system name E.g. “Kumar-Acc-SW.mist.local” NeighborSystemName *string `json:"neighbor_system_name,omitempty"` // is the POE configured not be disabled. PoeDisabled *bool `json:"poe_disabled,omitempty"` // enum: `802.3af`, `802.3at`, `802.3bt` PoeMode *StatsSwitchPortPoeModeEnum `json:"poe_mode,omitempty"` // is the device attached to POE PoeOn *bool `json:"poe_on,omitempty"` PortId string `json:"port_id"` // interface mac address PortMac string `json:"port_mac"` // gateway port usage. enum: `lan` PortUsage *StatsSwitchPortPortUsageEnum `json:"port_usage,omitempty"` // Amount of power being used by the interface at the time the command is executed. Unit in watts. PowerDraw *float64 `json:"power_draw,omitempty"` // Broadcast input packets RxBcastPkts *int `json:"rx_bcast_pkts,omitempty"` // 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"` // port speed Speed *int `json:"speed,omitempty"` // if `up`==`true`. enum: `alternate`, `backup`, `designated`, `root`, `root-prevented` StpRole *StatsSwitchPortStpRoleEnum `json:"stp_role,omitempty"` // if `up`==`true`. enum: `blocking`, `disabled`, `forwarding`, `learning`, `listening` StpState *StatsSwitchPortStpStateEnum `json:"stp_state,omitempty"` // Broadcast output packets TxBcastPkts *int `json:"tx_bcast_pkts,omitempty"` // 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. enum: `ap`, `ble`, `gateway`, `mxedge`, `nac`, `switch` Type *StatsSwitchPortTypeEnum `json:"type,omitempty"` // indicates if interface is unconfigured Unconfigured *bool `json:"unconfigured,omitempty"` // indicates if interface is up Up *bool `json:"up,omitempty"` // Optic Slot ModelName, Check for null/empty XcvrModel *string `json:"xcvr_model,omitempty"` // Optic Slot Partnumber, Check for null/empty XcvrPartNumber *string `json:"xcvr_part_number,omitempty"` // Optic Slot SerialNumber, Check for null/empty XcvrSerial *string `json:"xcvr_serial,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OptionalStatsPort represents a OptionalStatsPort struct. Port statistics
func (OptionalStatsPort) MarshalJSON ¶ added in v0.3.17
func (o OptionalStatsPort) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OptionalStatsPort. It customizes the JSON marshaling process for OptionalStatsPort objects.
func (*OptionalStatsPort) UnmarshalJSON ¶ added in v0.3.17
func (o *OptionalStatsPort) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OptionalStatsPort. It customizes the JSON unmarshaling process for OptionalStatsPort objects.
type Org ¶
type Org struct { AlarmtemplateId Optional[uuid.UUID] `json:"alarmtemplate_id"` AllowMist *bool `json:"allow_mist,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` MspId *uuid.UUID `json:"msp_id,omitempty"` // logo uploaded by the MSP with advanced tier, only present if provided MspLogoUrl *string `json:"msp_logo_url,omitempty"` // name of the msp the org belongs to MspName *string `json:"msp_name,omitempty"` Name string `json:"name"` OrggroupIds []uuid.UUID `json:"orggroup_ids,omitempty"` SessionExpiry *int `json:"session_expiry,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Org represents a Org struct.
func (Org) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Org. It customizes the JSON marshaling process for Org objects.
func (*Org) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Org. It customizes the JSON unmarshaling process for Org objects.
type OrgApitoken ¶
type OrgApitoken struct { // email of the token creator / null if creator is deleted CreatedBy Optional[string] `json:"created_by"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` Key *string `json:"key,omitempty"` LastUsed Optional[float64] `json:"last_used"` // name of the token Name string `json:"name"` OrgId *uuid.UUID `json:"org_id,omitempty"` // list of privileges the token has on the orgs/sites Privileges []PrivilegeOrg `json:"privileges,omitempty"` // list of allowed IP addresses from where the token can be used from. At most 10 IP addresses can be specified, cannot be changed once the API Token is created. SrcIps []string `json:"src_ips,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgApitoken represents a OrgApitoken struct. Org API Token **Note:** `privilege` field is required to create the object, but may not be returned in the POST API Response (only in the afterward GET)
func (OrgApitoken) MarshalJSON ¶
func (o OrgApitoken) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgApitoken. It customizes the JSON marshaling process for OrgApitoken objects.
func (*OrgApitoken) UnmarshalJSON ¶
func (o *OrgApitoken) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgApitoken. It customizes the JSON unmarshaling process for OrgApitoken objects.
type OrgAssetCountDistinctEnum ¶
type OrgAssetCountDistinctEnum string
OrgAssetCountDistinctEnum is a string enum. enum: `ibeacon_major`, `ibeacon_minor`, `ibeacon_uuid`, `mac`, `map_id`, `site_id`
const ( OrgAssetCountDistinctEnum_IBEACONMAJOR OrgAssetCountDistinctEnum = "ibeacon_major" OrgAssetCountDistinctEnum_IBEACONMINOR OrgAssetCountDistinctEnum = "ibeacon_minor" OrgAssetCountDistinctEnum_IBEACONUUID OrgAssetCountDistinctEnum = "ibeacon_uuid" OrgAssetCountDistinctEnum_MAC OrgAssetCountDistinctEnum = "mac" OrgAssetCountDistinctEnum_MAPID OrgAssetCountDistinctEnum = "map_id" OrgAssetCountDistinctEnum_SITEID OrgAssetCountDistinctEnum = "site_id" )
type OrgAutoRules ¶
type OrgAutoRules struct { // if `src`==`geoip`. By default, a claimed device only gets assigned if the site exists to auto-create the site, enable this CreateNewSiteIfNeeded *bool `json:"create_new_site_if_needed,omitempty"` // if `src`==`name`, `src`==`lldp_system_name`, `src`==`dns_suffix` // "[0:3]" // "abcdef" -> "abc" // "split(.)[1]" // "a.b.c" -> "b" // "split(-)[1][0:3]" // "a1234-b5678-c90" -> "b56"' Expression Optional[string] `json:"expression"` // if `src`==`geoip` and `create_new_site_if_needed`==`true`. If a gateway template is desired for this newly created site GatewaytemplateId *string `json:"gatewaytemplate_id,omitempty"` // if `src`==`geoip` MatchCountry *string `json:"match_country,omitempty"` // optional/additional filter. enum: `ap`, `gateway`, `other`, `switch` MatchDeviceType *OrgAutoRulesMatchDeviceTypeEnum `json:"match_device_type,omitempty"` // optional/additional filter MatchModel *string `json:"match_model,omitempty"` // if `src`==`model` Model *string `json:"model,omitempty"` // if `src`==`name` Prefix Optional[string] `json:"prefix"` // enum: `dns_suffix`, `geoip`, `lldp_port_desc`, `lldp_system_name`, `model`, `name`, `subnet` Src OrgAutoRulesSrcEnum `json:"src"` // if `src`==`subnet` Subnet *string `json:"subnet,omitempty"` // if `src`==`name` Suffix Optional[string] `json:"suffix"` // if // * `src`==`model` // * `src`==`geoip: site name for the device to be assigned to ("city" / "city+country" / ...) Value *string `json:"value,omitempty"` AdditionalProperties map[string]interface{} `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. enum: `ap`, `gateway`, `other`, `switch`
const ( OrgAutoRulesMatchDeviceTypeEnum_AP OrgAutoRulesMatchDeviceTypeEnum = "ap" OrgAutoRulesMatchDeviceTypeEnum_GATEWAY OrgAutoRulesMatchDeviceTypeEnum = "gateway" OrgAutoRulesMatchDeviceTypeEnum_OTHER OrgAutoRulesMatchDeviceTypeEnum = "other" OrgAutoRulesMatchDeviceTypeEnum_ENUMSWITCH OrgAutoRulesMatchDeviceTypeEnum = "switch" )
type OrgAutoRulesSrcEnum ¶
type OrgAutoRulesSrcEnum string
OrgAutoRulesSrcEnum is a string enum. enum: `dns_suffix`, `geoip`, `lldp_port_desc`, `lldp_system_name`, `model`, `name`, `subnet`
const ( OrgAutoRulesSrcEnum_DNSSUFFIX OrgAutoRulesSrcEnum = "dns_suffix" OrgAutoRulesSrcEnum_GEOIP OrgAutoRulesSrcEnum = "geoip" OrgAutoRulesSrcEnum_LLDPPORTDESC OrgAutoRulesSrcEnum = "lldp_port_desc" OrgAutoRulesSrcEnum_LLDPSYSTEMNAME OrgAutoRulesSrcEnum = "lldp_system_name" OrgAutoRulesSrcEnum_MODEL OrgAutoRulesSrcEnum = "model" OrgAutoRulesSrcEnum_NAME OrgAutoRulesSrcEnum = "name" OrgAutoRulesSrcEnum_SUBNET OrgAutoRulesSrcEnum = "subnet" )
type OrgClientSessionsCountDistinctEnum ¶
type OrgClientSessionsCountDistinctEnum string
OrgClientSessionsCountDistinctEnum is a string enum. enum: `ap`, `device`, `hostname`, `ip`, `model`, `os`, `ssid`, `vlan`
const ( OrgClientSessionsCountDistinctEnum_AP OrgClientSessionsCountDistinctEnum = "ap" OrgClientSessionsCountDistinctEnum_DEVICE OrgClientSessionsCountDistinctEnum = "device" OrgClientSessionsCountDistinctEnum_HOSTNAME OrgClientSessionsCountDistinctEnum = "hostname" OrgClientSessionsCountDistinctEnum_IP OrgClientSessionsCountDistinctEnum = "ip" OrgClientSessionsCountDistinctEnum_MODEL OrgClientSessionsCountDistinctEnum = "model" OrgClientSessionsCountDistinctEnum_OS OrgClientSessionsCountDistinctEnum = "os" OrgClientSessionsCountDistinctEnum_SSID OrgClientSessionsCountDistinctEnum = "ssid" OrgClientSessionsCountDistinctEnum_VLAN OrgClientSessionsCountDistinctEnum = "vlan" )
type OrgClientsCountDistinctEnum ¶
type OrgClientsCountDistinctEnum string
OrgClientsCountDistinctEnum is a string enum. enum: `ap`, `device`, `hostname`, `ip`, `mac`, `model`, `os`, `ssid`, `vlan`
const ( OrgClientsCountDistinctEnum_AP OrgClientsCountDistinctEnum = "ap" OrgClientsCountDistinctEnum_DEVICE OrgClientsCountDistinctEnum = "device" OrgClientsCountDistinctEnum_HOSTNAME OrgClientsCountDistinctEnum = "hostname" OrgClientsCountDistinctEnum_IP OrgClientsCountDistinctEnum = "ip" OrgClientsCountDistinctEnum_MAC OrgClientsCountDistinctEnum = "mac" OrgClientsCountDistinctEnum_MODEL OrgClientsCountDistinctEnum = "model" OrgClientsCountDistinctEnum_OS OrgClientsCountDistinctEnum = "os" OrgClientsCountDistinctEnum_SSID OrgClientsCountDistinctEnum = "ssid" OrgClientsCountDistinctEnum_VLAN OrgClientsCountDistinctEnum = "vlan" )
type OrgCrlImportFile ¶
type OrgCrlImportFile struct { // a PEM or DER formatted CRL file File *[]byte `json:"file,omitempty"` // a JSON string with "name" field for CRL file issuer (optional) Json *string `json:"json,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgCrlImportFile represents a OrgCrlImportFile struct.
func (OrgCrlImportFile) MarshalJSON ¶
func (o OrgCrlImportFile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgCrlImportFile. It customizes the JSON marshaling process for OrgCrlImportFile objects.
func (*OrgCrlImportFile) UnmarshalJSON ¶
func (o *OrgCrlImportFile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgCrlImportFile. It customizes the JSON unmarshaling process for OrgCrlImportFile objects.
type OrgDevice ¶
type OrgDevice struct { Mac string `json:"mac"` Name string `json:"name"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgDevice represents a OrgDevice struct.
func (OrgDevice) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for OrgDevice. It customizes the JSON marshaling process for OrgDevice objects.
func (*OrgDevice) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for OrgDevice. It customizes the JSON unmarshaling process for OrgDevice objects.
type OrgDeviceUpgrade ¶
type OrgDeviceUpgrade struct { // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` SiteUpgrades []OrgDeviceUpgradeSiteUpgrade `json:"site_upgrades,omitempty"` AdditionalProperties map[string]interface{} `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]interface{} `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. enum: `hostname`, `ip`, `lldp_mgmt_addr`, `lldp_port_id`, `lldp_system_desc`, `lldp_system_name`, `mac`, `model`, `mxedge_id`, `mxtunnel_status`, `site_id`, `version`
const ( OrgDevicesCountDistinctEnum_HOSTNAME OrgDevicesCountDistinctEnum = "hostname" OrgDevicesCountDistinctEnum_IP OrgDevicesCountDistinctEnum = "ip" OrgDevicesCountDistinctEnum_LLDPMGMTADDR OrgDevicesCountDistinctEnum = "lldp_mgmt_addr" OrgDevicesCountDistinctEnum_LLDPPORTID OrgDevicesCountDistinctEnum = "lldp_port_id" OrgDevicesCountDistinctEnum_LLDPSYSTEMDESC OrgDevicesCountDistinctEnum = "lldp_system_desc" OrgDevicesCountDistinctEnum_LLDPSYSTEMNAME OrgDevicesCountDistinctEnum = "lldp_system_name" OrgDevicesCountDistinctEnum_MAC OrgDevicesCountDistinctEnum = "mac" OrgDevicesCountDistinctEnum_MODEL OrgDevicesCountDistinctEnum = "model" OrgDevicesCountDistinctEnum_MXEDGEID OrgDevicesCountDistinctEnum = "mxedge_id" OrgDevicesCountDistinctEnum_MXTUNNELSTATUS OrgDevicesCountDistinctEnum = "mxtunnel_status" OrgDevicesCountDistinctEnum_SITEID OrgDevicesCountDistinctEnum = "site_id" OrgDevicesCountDistinctEnum_VERSION OrgDevicesCountDistinctEnum = "version" )
type OrgDevicesEventsCountDistinctEnum ¶
type OrgDevicesEventsCountDistinctEnum string
OrgDevicesEventsCountDistinctEnum is a string enum. enum: `ap`, `apfw`, `model`, `org_id`, `site_id`, `text`, `timestamp`, `type`
const ( OrgDevicesEventsCountDistinctEnum_AP OrgDevicesEventsCountDistinctEnum = "ap" OrgDevicesEventsCountDistinctEnum_APFW OrgDevicesEventsCountDistinctEnum = "apfw" OrgDevicesEventsCountDistinctEnum_MODEL OrgDevicesEventsCountDistinctEnum = "model" OrgDevicesEventsCountDistinctEnum_ORGID OrgDevicesEventsCountDistinctEnum = "org_id" OrgDevicesEventsCountDistinctEnum_SITEID OrgDevicesEventsCountDistinctEnum = "site_id" OrgDevicesEventsCountDistinctEnum_TEXT OrgDevicesEventsCountDistinctEnum = "text" OrgDevicesEventsCountDistinctEnum_TIMESTAMP OrgDevicesEventsCountDistinctEnum = "timestamp" OrgDevicesEventsCountDistinctEnum_ENUMTYPE OrgDevicesEventsCountDistinctEnum = "type" )
type OrgDevicesLastConfigsCountDistinctEnum ¶
type OrgDevicesLastConfigsCountDistinctEnum string
OrgDevicesLastConfigsCountDistinctEnum is a string enum. enum: `mac`, `name`, `site_id`, `version`
const ( OrgDevicesLastConfigsCountDistinctEnum_MAC OrgDevicesLastConfigsCountDistinctEnum = "mac" OrgDevicesLastConfigsCountDistinctEnum_NAME OrgDevicesLastConfigsCountDistinctEnum = "name" OrgDevicesLastConfigsCountDistinctEnum_SITEID OrgDevicesLastConfigsCountDistinctEnum = "site_id" OrgDevicesLastConfigsCountDistinctEnum_VERSION OrgDevicesLastConfigsCountDistinctEnum = "version" )
type OrgEvent ¶
type OrgEvent struct { OrgId *uuid.UUID `json:"org_id,omitempty"` Text *string `json:"text,omitempty"` Timestamp *float64 `json:"timestamp,omitempty"` Type *string `json:"type,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgEvent represents a OrgEvent struct.
func (OrgEvent) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for OrgEvent. It customizes the JSON marshaling process for OrgEvent objects.
func (*OrgEvent) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for OrgEvent. It customizes the JSON unmarshaling process for OrgEvent objects.
type OrgGuestsCountDistinctEnum ¶
type OrgGuestsCountDistinctEnum string
OrgGuestsCountDistinctEnum is a string enum. enum: `auth_method`, `company`, `ssid`
const ( OrgGuestsCountDistinctEnum_AUTHMETHOD OrgGuestsCountDistinctEnum = "auth_method" OrgGuestsCountDistinctEnum_COMPANY OrgGuestsCountDistinctEnum = "company" OrgGuestsCountDistinctEnum_SSID OrgGuestsCountDistinctEnum = "ssid" )
type OrgLicenseAction ¶
type OrgLicenseAction struct { // if `op`==`unamend`, the ID of the operation to cancel AmendmentId *uuid.UUID `json:"amendment_id,omitempty"` // if `op`==`amend`, the id of the org where the license is moved DstOrgId *uuid.UUID `json:"dst_org_id,omitempty"` // if `op`==`annotate` Notes *string `json:"notes,omitempty"` // to move a license, use the `amend` operation. enum: `amend`, `annotate`, `delete`, `unamend` Op OrgLicenseActionOperationEnum `json:"op"` // if `op`==`amend`, the number of licenses to move Quantity *int `json:"quantity,omitempty"` // if `op`==`amend` or `op`==`delete`, the ID of the subscription to use SubscriptionId *string `json:"subscription_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgLicenseAction represents a OrgLicenseAction struct.
func (OrgLicenseAction) MarshalJSON ¶
func (o OrgLicenseAction) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgLicenseAction. It customizes the JSON marshaling process for OrgLicenseAction objects.
func (*OrgLicenseAction) UnmarshalJSON ¶
func (o *OrgLicenseAction) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgLicenseAction. It customizes the JSON unmarshaling process for OrgLicenseAction objects.
type OrgLicenseActionOperationEnum ¶
type OrgLicenseActionOperationEnum string
OrgLicenseActionOperationEnum is a string enum. to move a license, use the `amend` operation. enum: `amend`, `annotate`, `delete`, `unamend`
const ( OrgLicenseActionOperationEnum_AMEND OrgLicenseActionOperationEnum = "amend" OrgLicenseActionOperationEnum_ANNOTATE OrgLicenseActionOperationEnum = "annotate" OrgLicenseActionOperationEnum_DELETE OrgLicenseActionOperationEnum = "delete" OrgLicenseActionOperationEnum_UNAMEND OrgLicenseActionOperationEnum = "unamend" )
type OrgLogsCountDistinctEnum ¶
type OrgLogsCountDistinctEnum string
OrgLogsCountDistinctEnum is a string enum. enum: `admin_id`, `admin_name`, `message`, `site_id`
const ( OrgLogsCountDistinctEnum_ADMINID OrgLogsCountDistinctEnum = "admin_id" OrgLogsCountDistinctEnum_ADMINNAME OrgLogsCountDistinctEnum = "admin_name" OrgLogsCountDistinctEnum_MESSAGE OrgLogsCountDistinctEnum = "message" OrgLogsCountDistinctEnum_SITEID OrgLogsCountDistinctEnum = "site_id" )
type OrgMxedgeCountDistinctEnum ¶
type OrgMxedgeCountDistinctEnum string
OrgMxedgeCountDistinctEnum is a string enum. enum: `distro`, `model`, `mxcluster_id`, `site_id`, `tunterm_version`
const ( OrgMxedgeCountDistinctEnum_DISTRO OrgMxedgeCountDistinctEnum = "distro" OrgMxedgeCountDistinctEnum_MODEL OrgMxedgeCountDistinctEnum = "model" OrgMxedgeCountDistinctEnum_MXCLUSTERID OrgMxedgeCountDistinctEnum = "mxcluster_id" OrgMxedgeCountDistinctEnum_SITEID OrgMxedgeCountDistinctEnum = "site_id" OrgMxedgeCountDistinctEnum_TUNTERMVERSION OrgMxedgeCountDistinctEnum = "tunterm_version" )
type OrgMxedgeEventsCountDistinctEnum ¶
type OrgMxedgeEventsCountDistinctEnum string
OrgMxedgeEventsCountDistinctEnum is a string enum. enum: `mxcluster_id`, `mxedge_id`, `package`, `type`
const ( OrgMxedgeEventsCountDistinctEnum_MXCLUSTERID OrgMxedgeEventsCountDistinctEnum = "mxcluster_id" OrgMxedgeEventsCountDistinctEnum_MXEDGEID OrgMxedgeEventsCountDistinctEnum = "mxedge_id" OrgMxedgeEventsCountDistinctEnum_ENUMPACKAGE OrgMxedgeEventsCountDistinctEnum = "package" OrgMxedgeEventsCountDistinctEnum_ENUMTYPE OrgMxedgeEventsCountDistinctEnum = "type" )
type OrgNacClientEventsCountDistinctEnum ¶
type OrgNacClientEventsCountDistinctEnum string
OrgNacClientEventsCountDistinctEnum is a string enum. enum: `ap`, `auth_type`, `dryrun_nacrule_id`, `mac`, `nacrule_id`, `nas_vendor`, `ssid`, `type`, `username`, `vlan`
const ( OrgNacClientEventsCountDistinctEnum_AP OrgNacClientEventsCountDistinctEnum = "ap" OrgNacClientEventsCountDistinctEnum_AUTHTYPE OrgNacClientEventsCountDistinctEnum = "auth_type" OrgNacClientEventsCountDistinctEnum_DRYRUNNACRULEID OrgNacClientEventsCountDistinctEnum = "dryrun_nacrule_id" OrgNacClientEventsCountDistinctEnum_MAC OrgNacClientEventsCountDistinctEnum = "mac" OrgNacClientEventsCountDistinctEnum_NACRULEID OrgNacClientEventsCountDistinctEnum = "nacrule_id" OrgNacClientEventsCountDistinctEnum_NASVENDOR OrgNacClientEventsCountDistinctEnum = "nas_vendor" OrgNacClientEventsCountDistinctEnum_SSID OrgNacClientEventsCountDistinctEnum = "ssid" OrgNacClientEventsCountDistinctEnum_ENUMTYPE OrgNacClientEventsCountDistinctEnum = "type" OrgNacClientEventsCountDistinctEnum_USERNAME OrgNacClientEventsCountDistinctEnum = "username" OrgNacClientEventsCountDistinctEnum_VLAN OrgNacClientEventsCountDistinctEnum = "vlan" )
type OrgNacClientsCountDistinctEnum ¶
type OrgNacClientsCountDistinctEnum string
OrgNacClientsCountDistinctEnum is a string enum. enum: `auth_type`, `last_ap`, `last_nacrule_id`, `last_nas_vendor`, `last_ssid`, `last_status`, `last_username`, `last_vlan`, `mac`, `mdm_compliance`, `mdm_provider`, `type`
const ( OrgNacClientsCountDistinctEnum_AUTHTYPE OrgNacClientsCountDistinctEnum = "auth_type" OrgNacClientsCountDistinctEnum_LASTAP OrgNacClientsCountDistinctEnum = "last_ap" OrgNacClientsCountDistinctEnum_LASTNACRULEID OrgNacClientsCountDistinctEnum = "last_nacrule_id" OrgNacClientsCountDistinctEnum_LASTNASVENDOR OrgNacClientsCountDistinctEnum = "last_nas_vendor" OrgNacClientsCountDistinctEnum_LASTSSID OrgNacClientsCountDistinctEnum = "last_ssid" OrgNacClientsCountDistinctEnum_LASTSTATUS OrgNacClientsCountDistinctEnum = "last_status" OrgNacClientsCountDistinctEnum_LASTUSERNAME OrgNacClientsCountDistinctEnum = "last_username" OrgNacClientsCountDistinctEnum_LASTVLAN OrgNacClientsCountDistinctEnum = "last_vlan" OrgNacClientsCountDistinctEnum_MAC OrgNacClientsCountDistinctEnum = "mac" OrgNacClientsCountDistinctEnum_MDMCOMPLIANCE OrgNacClientsCountDistinctEnum = "mdm_compliance" OrgNacClientsCountDistinctEnum_MDMPROVIDER OrgNacClientsCountDistinctEnum = "mdm_provider" OrgNacClientsCountDistinctEnum_ENUMTYPE OrgNacClientsCountDistinctEnum = "type" )
type OrgOtherdevicesEventsCountDistinctEnum ¶
type OrgOtherdevicesEventsCountDistinctEnum string
OrgOtherdevicesEventsCountDistinctEnum is a string enum. enum: `mac`, `site_id`, `type`, `vendor`
const ( OrgOtherdevicesEventsCountDistinctEnum_MAC OrgOtherdevicesEventsCountDistinctEnum = "mac" OrgOtherdevicesEventsCountDistinctEnum_SITEID OrgOtherdevicesEventsCountDistinctEnum = "site_id" OrgOtherdevicesEventsCountDistinctEnum_ENUMTYPE OrgOtherdevicesEventsCountDistinctEnum = "type" OrgOtherdevicesEventsCountDistinctEnum_VENDOR OrgOtherdevicesEventsCountDistinctEnum = "vendor" )
type OrgPskPortalLogsCountDistinctEnum ¶
type OrgPskPortalLogsCountDistinctEnum string
OrgPskPortalLogsCountDistinctEnum is a string enum. enum: `admin_id`, `admin_name`, `psk_id`, `psk_name`, `pskportal_id`, `user_id`
const ( OrgPskPortalLogsCountDistinctEnum_ADMINID OrgPskPortalLogsCountDistinctEnum = "admin_id" OrgPskPortalLogsCountDistinctEnum_ADMINNAME OrgPskPortalLogsCountDistinctEnum = "admin_name" OrgPskPortalLogsCountDistinctEnum_PSKID OrgPskPortalLogsCountDistinctEnum = "psk_id" OrgPskPortalLogsCountDistinctEnum_PSKNAME OrgPskPortalLogsCountDistinctEnum = "psk_name" OrgPskPortalLogsCountDistinctEnum_PSKPORTALID OrgPskPortalLogsCountDistinctEnum = "pskportal_id" OrgPskPortalLogsCountDistinctEnum_USERID OrgPskPortalLogsCountDistinctEnum = "user_id" )
type OrgServicePoliciesSecintel ¶ added in v0.3.17
type OrgServicePoliciesSecintel struct { Enabled *bool `json:"enabled,omitempty"` // enum: `default`, `standard`, `strict` Profile *SecintelProfileProfileActionEnum `json:"profile,omitempty"` // org-level secintel Profile can be used, this takes precendence over 'profile' SecintelprofileId *string `json:"secintelprofile_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgServicePoliciesSecintel represents a OrgServicePoliciesSecintel struct. For SRX Only
func (OrgServicePoliciesSecintel) MarshalJSON ¶ added in v0.3.17
func (o OrgServicePoliciesSecintel) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgServicePoliciesSecintel. It customizes the JSON marshaling process for OrgServicePoliciesSecintel objects.
func (*OrgServicePoliciesSecintel) UnmarshalJSON ¶ added in v0.3.17
func (o *OrgServicePoliciesSecintel) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgServicePoliciesSecintel. It customizes the JSON unmarshaling process for OrgServicePoliciesSecintel objects.
type OrgServicePolicy ¶ added in v0.2.14
type OrgServicePolicy struct { // enum: `allow`, `deny` Action *AllowDenyEnum `json:"action,omitempty"` // for SRX-only Antivirus *OrgServicePolicyAntivirus `json:"antivirus,omitempty"` // For SRX Only Appqoe *ServicePolicyAppqoe `json:"appqoe,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` Ewf []ServicePolicyEwfRule `json:"ewf,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` Idp *IdpConfig `json:"idp,omitempty"` // access within the same VRF LocalRouting *bool `json:"local_routing,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` Name *string `json:"name,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` // by default, we derive all paths available and use them // optionally, you can customize by using `path_preference` PathPreference *string `json:"path_preference,omitempty"` // For SRX Only Secintel *OrgServicePoliciesSecintel `json:"secintel,omitempty"` Services []string `json:"services,omitempty"` // for SRX-only SslProxy *OrgServicePolicySslProxy `json:"ssl_proxy,omitempty"` Tenants []string `json:"tenants,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgServicePolicy represents a OrgServicePolicy struct.
func (OrgServicePolicy) MarshalJSON ¶ added in v0.2.14
func (o OrgServicePolicy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgServicePolicy. It customizes the JSON marshaling process for OrgServicePolicy objects.
func (*OrgServicePolicy) 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 OrgServicePolicyAntivirus ¶ added in v0.2.38
type OrgServicePolicyAntivirus struct { // org-level AV Profile can be used, this takes precendence over 'profile' AvprofileId *uuid.UUID `json:"avprofile_id,omitempty"` Enabled *bool `json:"enabled,omitempty"` // default / noftp / httponly / or keys from av_profiles Profile *string `json:"profile,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgServicePolicyAntivirus represents a OrgServicePolicyAntivirus struct. for SRX-only
func (OrgServicePolicyAntivirus) MarshalJSON ¶ added in v0.2.38
func (o OrgServicePolicyAntivirus) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgServicePolicyAntivirus. It customizes the JSON marshaling process for OrgServicePolicyAntivirus objects.
func (*OrgServicePolicyAntivirus) UnmarshalJSON ¶ added in v0.2.38
func (o *OrgServicePolicyAntivirus) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgServicePolicyAntivirus. It customizes the JSON unmarshaling process for OrgServicePolicyAntivirus objects.
type OrgServicePolicySslProxy ¶ added in v0.2.38
type OrgServicePolicySslProxy struct { // enum: `medium`, `strong`, `weak` CiphersCatagory *SslProxyCiphersCatagoryEnum `json:"ciphers_catagory,omitempty"` Enabled *bool `json:"enabled,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgServicePolicySslProxy represents a OrgServicePolicySslProxy struct. for SRX-only
func (OrgServicePolicySslProxy) MarshalJSON ¶ added in v0.2.38
func (o OrgServicePolicySslProxy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgServicePolicySslProxy. It customizes the JSON marshaling process for OrgServicePolicySslProxy objects.
func (*OrgServicePolicySslProxy) UnmarshalJSON ¶ added in v0.2.38
func (o *OrgServicePolicySslProxy) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgServicePolicySslProxy. It customizes the JSON unmarshaling process for OrgServicePolicySslProxy 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 *OrgSettingCradlepoint `json:"cradlepoint,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // common device cert, optional DeviceCert *OrgSettingDeviceCert `json:"device_cert,omitempty"` // enable threshold-based device down delivery via // * device-updowns webhooks topic, // * Mist Alert Framework; e.g. send AP/SW/GW down event only if AP/SW/GW Up is not seen within the threshold in minutes; 0 - 240, default is 0 (trigger immediate) DeviceUpdownThreshold Optional[int] `json:"device_updown_threshold"` // whether to disallow Mist to analyze pcap files (this is required for marvis pcap) DisablePcap *bool `json:"disable_pcap,omitempty"` // whether to disable remote shell access for an entire org DisableRemoteShell *bool `json:"disable_remote_shell,omitempty"` ForSite *bool `json:"for_site,omitempty"` GatewayMgmt *OrgSettingGatewayMgmt `json:"gateway_mgmt,omitempty"` // enable threshold-based device down delivery for Gateway devices only. When configured it takes effect for GW devices and `device_updown_threshold` is ignored. GatewayUpdownThreshold Optional[int] `json:"gateway_updown_threshold"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` Installer *OrgSettingInstaller `json:"installer,omitempty"` Jcloud *OrgSettingJcloud `json:"jcloud,omitempty"` // JCloud Routing Assurance connexion JcloudRa *OrgSettingJcloudRa `json:"jcloud_ra,omitempty"` Juniper *AccountJuniperInfo `json:"juniper,omitempty"` // management-related properties Mgmt *OrgSettingMgmt `json:"mgmt,omitempty"` MistNac *OrgSettingMistNac `json:"mist_nac,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` MspId *uuid.UUID `json:"msp_id,omitempty"` MxedgeFipsEnabled *bool `json:"mxedge_fips_enabled,omitempty"` MxedgeMgmt *MxedgeMgmt `json:"mxedge_mgmt,omitempty"` // Property key is the interface name or range (e.g. `et-0/0/47`, `et-0/0/48-49`) OpticPortConfig map[string]OpticPortConfigPort `json:"optic_port_config,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` // password policy PasswordPolicy *OrgSettingPasswordPolicy `json:"password_policy,omitempty"` Pcap *OrgSettingPcap `json:"pcap,omitempty"` PcapBucketVerified *bool `json:"pcap_bucket_verified,omitempty"` Security *OrgSettingSecurity `json:"security,omitempty"` // Set of heuristic rules will be enabled when marvis subscription is not available. // It triggers when, in a Z minute window, there are more than Y distinct client 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]interface{} `json:"_"` }
OrgSetting represents a OrgSetting struct. Org Settings
func (OrgSetting) MarshalJSON ¶
func (o OrgSetting) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSetting. It customizes the JSON marshaling process for OrgSetting objects.
func (*OrgSetting) UnmarshalJSON ¶
func (o *OrgSetting) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSetting. It customizes the JSON unmarshaling process for OrgSetting objects.
type OrgSettingApiPolicy ¶
type OrgSettingApiPolicy struct { // by default, API hides password/secrets when the user doesn't have write access // * `true`: API will hide passwords/secrets for all users // * `false`: API will hide passwords/secrets for read-only users NoReveal *bool `json:"no_reveal,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgSettingApiPolicy represents a OrgSettingApiPolicy struct.
func (OrgSettingApiPolicy) MarshalJSON ¶
func (o OrgSettingApiPolicy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingApiPolicy. It customizes the JSON marshaling process for OrgSettingApiPolicy objects.
func (*OrgSettingApiPolicy) 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]interface{} `json:"_"` }
OrgSettingAutoDeviceNaming represents a OrgSettingAutoDeviceNaming struct.
func (OrgSettingAutoDeviceNaming) MarshalJSON ¶
func (o OrgSettingAutoDeviceNaming) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingAutoDeviceNaming. It customizes the JSON marshaling process for OrgSettingAutoDeviceNaming objects.
func (*OrgSettingAutoDeviceNaming) 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]interface{} `json:"_"` }
OrgSettingAutoDeviceprofileAssignment represents a OrgSettingAutoDeviceprofileAssignment struct.
func (OrgSettingAutoDeviceprofileAssignment) MarshalJSON ¶
func (o OrgSettingAutoDeviceprofileAssignment) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingAutoDeviceprofileAssignment. It customizes the JSON marshaling process for OrgSettingAutoDeviceprofileAssignment objects.
func (*OrgSettingAutoDeviceprofileAssignment) 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]interface{} `json:"_"` }
OrgSettingAutoSiteAssignment represents a OrgSettingAutoSiteAssignment struct.
func (OrgSettingAutoSiteAssignment) MarshalJSON ¶
func (o OrgSettingAutoSiteAssignment) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingAutoSiteAssignment. It customizes the JSON marshaling process for OrgSettingAutoSiteAssignment objects.
func (*OrgSettingAutoSiteAssignment) 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]interface{} `json:"_"` }
OrgSettingCelona represents a OrgSettingCelona struct.
func (OrgSettingCelona) MarshalJSON ¶
func (o OrgSettingCelona) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingCelona. It customizes the JSON marshaling process for OrgSettingCelona objects.
func (*OrgSettingCelona) 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]interface{} `json:"_"` }
OrgSettingCloudshark represents a OrgSettingCloudshark struct.
func (OrgSettingCloudshark) MarshalJSON ¶
func (o OrgSettingCloudshark) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingCloudshark. It customizes the JSON marshaling process for OrgSettingCloudshark objects.
func (*OrgSettingCloudshark) UnmarshalJSON ¶
func (o *OrgSettingCloudshark) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingCloudshark. It customizes the JSON unmarshaling process for OrgSettingCloudshark objects.
type OrgSettingCradlepoint ¶ added in v0.2.38
type OrgSettingCradlepoint struct { CpApiId *string `json:"cp_api_id,omitempty"` CpApiKey *string `json:"cp_api_key,omitempty"` EcmApiId *string `json:"ecm_api_id,omitempty"` EcmApiKey *string `json:"ecm_api_key,omitempty"` EnableLldp *bool `json:"enable_lldp,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgSettingCradlepoint represents a OrgSettingCradlepoint struct.
func (OrgSettingCradlepoint) MarshalJSON ¶ added in v0.2.38
func (o OrgSettingCradlepoint) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingCradlepoint. It customizes the JSON marshaling process for OrgSettingCradlepoint objects.
func (*OrgSettingCradlepoint) UnmarshalJSON ¶ added in v0.2.38
func (o *OrgSettingCradlepoint) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingCradlepoint. It customizes the JSON unmarshaling process for OrgSettingCradlepoint objects.
type OrgSettingDeviceCert ¶
type OrgSettingDeviceCert struct { Cert *string `json:"cert,omitempty"` Key *string `json:"key,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgSettingDeviceCert represents a OrgSettingDeviceCert struct. common device cert, optional
func (OrgSettingDeviceCert) MarshalJSON ¶
func (o OrgSettingDeviceCert) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingDeviceCert. It customizes the JSON marshaling process for OrgSettingDeviceCert objects.
func (*OrgSettingDeviceCert) UnmarshalJSON ¶
func (o *OrgSettingDeviceCert) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingDeviceCert. It customizes the JSON unmarshaling process for OrgSettingDeviceCert objects.
type OrgSettingGatewayMgmt ¶
type OrgSettingGatewayMgmt struct { AppProbing *OrgSettingGatewayMgmtAppProbing `json:"app_probing,omitempty"` // consumes uplink bandwidth, requires WA license AppUsage *bool `json:"app_usage,omitempty"` // optional, for some of the host-out traffic, the path preference can be specified by default, ECMP will be used from all available route/path available services: dns/mist/ntp/pim HostOutPolicies *OrgSettingGatewayMgmtHostOutPolicies `json:"host_out_policies,omitempty"` OverlayIp *OrgSettingGatewayMgmtOverlayIp `json:"overlay_ip,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgSettingGatewayMgmt represents a OrgSettingGatewayMgmt struct.
func (OrgSettingGatewayMgmt) MarshalJSON ¶
func (o OrgSettingGatewayMgmt) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingGatewayMgmt. It customizes the JSON marshaling process for OrgSettingGatewayMgmt objects.
func (*OrgSettingGatewayMgmt) 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]interface{} `json:"_"` }
OrgSettingGatewayMgmtAppProbing represents a OrgSettingGatewayMgmtAppProbing struct.
func (OrgSettingGatewayMgmtAppProbing) MarshalJSON ¶
func (o OrgSettingGatewayMgmtAppProbing) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingGatewayMgmtAppProbing. It customizes the JSON marshaling process for OrgSettingGatewayMgmtAppProbing objects.
func (*OrgSettingGatewayMgmtAppProbing) 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"` Pim *OrgSettingGatewayMgmtHostOutPoliciesNtp `json:"pim,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgSettingGatewayMgmtHostOutPolicies represents a OrgSettingGatewayMgmtHostOutPolicies struct. optional, for some of the host-out traffic, the path preference can be specified by default, ECMP will be used from all available route/path available services: dns/mist/ntp/pim
func (OrgSettingGatewayMgmtHostOutPolicies) MarshalJSON ¶
func (o OrgSettingGatewayMgmtHostOutPolicies) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingGatewayMgmtHostOutPolicies. It customizes the JSON marshaling process for OrgSettingGatewayMgmtHostOutPolicies objects.
func (*OrgSettingGatewayMgmtHostOutPolicies) 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]interface{} `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]interface{} `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]interface{} `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]interface{} `json:"_"` }
OrgSettingGatewayMgmtOverlayIp represents a OrgSettingGatewayMgmtOverlayIp struct.
func (OrgSettingGatewayMgmtOverlayIp) MarshalJSON ¶
func (o OrgSettingGatewayMgmtOverlayIp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingGatewayMgmtOverlayIp. It customizes the JSON marshaling process for OrgSettingGatewayMgmtOverlayIp objects.
func (*OrgSettingGatewayMgmtOverlayIp) UnmarshalJSON ¶
func (o *OrgSettingGatewayMgmtOverlayIp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingGatewayMgmtOverlayIp. It customizes the JSON unmarshaling process for OrgSettingGatewayMgmtOverlayIp objects.
type OrgSettingInstaller ¶
type OrgSettingInstaller struct { AllowAllDevices *bool `json:"allow_all_devices,omitempty"` AllowAllSites *bool `json:"allow_all_sites,omitempty"` ExtraSiteIds []uuid.UUID `json:"extra_site_ids,omitempty"` GracePeriod *int `json:"grace_period,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgSettingInstaller represents a OrgSettingInstaller struct.
func (OrgSettingInstaller) MarshalJSON ¶
func (o OrgSettingInstaller) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingInstaller. It customizes the JSON marshaling process for OrgSettingInstaller objects.
func (*OrgSettingInstaller) UnmarshalJSON ¶
func (o *OrgSettingInstaller) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingInstaller. It customizes the JSON unmarshaling process for OrgSettingInstaller objects.
type OrgSettingJcloud ¶
type OrgSettingJcloud struct { // JCloud Org Token OrgApitoken *string `json:"org_apitoken,omitempty"` // JCloud Org Token Name OrgApitokenName *string `json:"org_apitoken_name,omitempty"` // JCloud Org ID OrgId *string `json:"org_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgSettingJcloud represents a OrgSettingJcloud struct.
func (OrgSettingJcloud) MarshalJSON ¶
func (o OrgSettingJcloud) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingJcloud. It customizes the JSON marshaling process for OrgSettingJcloud objects.
func (*OrgSettingJcloud) UnmarshalJSON ¶
func (o *OrgSettingJcloud) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingJcloud. It customizes the JSON unmarshaling process for OrgSettingJcloud objects.
type OrgSettingJcloudRa ¶ added in v0.4.0
type OrgSettingJcloudRa struct { // JCloud Routing Assurance Org Token OrgApitoken *string `json:"org_apitoken,omitempty"` // JCloud Routing Assurance Org Token Name OrgApitokenName *string `json:"org_apitoken_name,omitempty"` // JCloud Routing Assurance Org ID OrgId *string `json:"org_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgSettingJcloudRa represents a OrgSettingJcloudRa struct. JCloud Routing Assurance connexion
func (OrgSettingJcloudRa) MarshalJSON ¶ added in v0.4.0
func (o OrgSettingJcloudRa) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingJcloudRa. It customizes the JSON marshaling process for OrgSettingJcloudRa objects.
func (*OrgSettingJcloudRa) UnmarshalJSON ¶ added in v0.4.0
func (o *OrgSettingJcloudRa) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingJcloudRa. It customizes the JSON unmarshaling process for OrgSettingJcloudRa objects.
type OrgSettingMgmt ¶
type OrgSettingMgmt struct { // list of Mist Tunnels MxtunnelIds []uuid.UUID `json:"mxtunnel_ids,omitempty"` // whether to use Mist Tunnel for mgmt connectivity, this takes precedence over use_wxtunnel UseMxtunnel *bool `json:"use_mxtunnel,omitempty"` // whether to use wxtunnel for mgmt connectivity UseWxtunnel *bool `json:"use_wxtunnel,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgSettingMgmt represents a OrgSettingMgmt struct. management-related properties
func (OrgSettingMgmt) MarshalJSON ¶
func (o OrgSettingMgmt) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingMgmt. It customizes the JSON marshaling process for OrgSettingMgmt objects.
func (*OrgSettingMgmt) UnmarshalJSON ¶
func (o *OrgSettingMgmt) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingMgmt. It customizes the JSON unmarshaling process for OrgSettingMgmt objects.
type OrgSettingMistNac ¶
type OrgSettingMistNac struct { // list of PEM-encoded ca certs Cacerts []string `json:"cacerts,omitempty"` // use this IDP when no explicit realm present in the incoming username/CN OR when no IDP is explicitly mapped to the incoming realm. DefaultIdpId *string `json:"default_idp_id,omitempty"` // to disable RSAE_PSS_SHA256, RSAE_PSS_SHA384, RSAE_PSS_SHA512 from server side. see https://www.openssl.org/docs/man3.0/man1/openssl-ciphers.html DisableRsaeAlgorithms *bool `json:"disable_rsae_algorithms,omitempty"` // eap ssl security level // see https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_set_security_level.html#DEFAULT-CALLBACK-BEHAVIOUR EapSslSecurityLevel *int `json:"eap_ssl_security_level,omitempty"` // By default NAC POD failover considers all NAC pods available around the globe, i.e. EU, US, or APAC based, failover happens based on geo IP of the originating site. // For strict GDPR 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"` // allow customer to choose the EAP-TLS client certificate's field to use for IDP Machine Groups lookup. enum: `automatic`, `cn`, `dns` IdpMachineCertLookupField *IdpMachineCertLookupFieldEnum `json:"idp_machine_cert_lookup_field,omitempty"` // allow customer to choose the EAP-TLS client certificate's field // to use for IDP User Groups lookup. enum: `automatic`, `cn`, `email`, `upn` IdpUserCertLookupField *IdpUserCertLookupFieldEnum `json:"idp_user_cert_lookup_field,omitempty"` Idps []OrgSettingMistNacIdp `json:"idps,omitempty"` // radius server cert to be presented in EAP TLS ServerCert *OrgSettingMistNacServerCert `json:"server_cert,omitempty"` // by default NAS devices(switches/aps) and proxies(mxedge) are configured to reach mist-nac via IPv4. enum: `v4`, `v6` UseIpVersion *OrgSettingMistNacIpVersionEnum `json:"use_ip_version,omitempty"` // By default NAS devices (switches/aps) and proxies(mxedge) are configured to use port TCP2083(radsec) to reach mist-nac. // Set `use_ssl_port`==`true` to override that port with TCP43 (ssl), // This is 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]interface{} `json:"_"` }
OrgSettingMistNac represents a OrgSettingMistNac struct.
func (OrgSettingMistNac) MarshalJSON ¶
func (o OrgSettingMistNac) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingMistNac. It customizes the JSON marshaling process for OrgSettingMistNac objects.
func (*OrgSettingMistNac) UnmarshalJSON ¶
func (o *OrgSettingMistNac) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingMistNac. It customizes the JSON unmarshaling process for OrgSettingMistNac objects.
type OrgSettingMistNacIdp ¶
type OrgSettingMistNacIdp struct { // when the IDP of mxedge_proxy type, exclude the following realms from proxying in addition to other valid home realms in this org ExcludeRealms []string `json:"exclude_realms,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // which realm should trigger this IDP. User Realm is extracted from: // * Username-AVP (`mist.com` from john@mist.com) // * Cert CN UserRealms []string `json:"user_realms,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgSettingMistNacIdp represents a OrgSettingMistNacIdp struct.
func (OrgSettingMistNacIdp) MarshalJSON ¶
func (o OrgSettingMistNacIdp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingMistNacIdp. It customizes the JSON marshaling process for OrgSettingMistNacIdp objects.
func (*OrgSettingMistNacIdp) UnmarshalJSON ¶
func (o *OrgSettingMistNacIdp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingMistNacIdp. It customizes the JSON unmarshaling process for OrgSettingMistNacIdp objects.
type OrgSettingMistNacIpVersionEnum ¶
type OrgSettingMistNacIpVersionEnum string
OrgSettingMistNacIpVersionEnum is a string enum. by default NAS devices(switches/aps) and proxies(mxedge) are configured to reach mist-nac via IPv4. enum: `v4`, `v6`
const ( OrgSettingMistNacIpVersionEnum_V4 OrgSettingMistNacIpVersionEnum = "v4" OrgSettingMistNacIpVersionEnum_V6 OrgSettingMistNacIpVersionEnum = "v6" )
type OrgSettingMistNacServerCert ¶
type OrgSettingMistNacServerCert struct { Cert *string `json:"cert,omitempty"` Key *string `json:"key,omitempty"` // private key password (optional) Password *string `json:"password,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgSettingMistNacServerCert represents a OrgSettingMistNacServerCert struct. radius server cert to be presented in EAP TLS
func (OrgSettingMistNacServerCert) MarshalJSON ¶
func (o OrgSettingMistNacServerCert) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingMistNacServerCert. It customizes the JSON marshaling process for OrgSettingMistNacServerCert objects.
func (*OrgSettingMistNacServerCert) UnmarshalJSON ¶
func (o *OrgSettingMistNacServerCert) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingMistNacServerCert. It customizes the JSON unmarshaling process for OrgSettingMistNacServerCert objects.
type OrgSettingPasswordPolicy ¶
type OrgSettingPasswordPolicy struct { // whether the policy is enabled Enabled *bool `json:"enabled,omitempty"` // password expiry in days ExpiryInDays *int `json:"expiry_in_days,omitempty"` // required password length MinLength *int `json:"min_length,omitempty"` // whether to require special character RequiresSpecialChar *bool `json:"requires_special_char,omitempty"` // whether to require two-factor auth RequiresTwoFactorAuth *bool `json:"requires_two_factor_auth,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgSettingPasswordPolicy represents a OrgSettingPasswordPolicy struct. password policy
func (OrgSettingPasswordPolicy) MarshalJSON ¶
func (o OrgSettingPasswordPolicy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingPasswordPolicy. It customizes the JSON marshaling process for OrgSettingPasswordPolicy objects.
func (*OrgSettingPasswordPolicy) UnmarshalJSON ¶
func (o *OrgSettingPasswordPolicy) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingPasswordPolicy. It customizes the JSON unmarshaling process for OrgSettingPasswordPolicy objects.
type OrgSettingPcap ¶
type OrgSettingPcap struct { Bucket *string `json:"bucket,omitempty"` // max_len of non-management packets to capture MaxPktLen *int `json:"max_pkt_len,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgSettingPcap represents a OrgSettingPcap struct.
func (OrgSettingPcap) MarshalJSON ¶
func (o OrgSettingPcap) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingPcap. It customizes the JSON marshaling process for OrgSettingPcap objects.
func (*OrgSettingPcap) UnmarshalJSON ¶
func (o *OrgSettingPcap) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingPcap. It customizes the JSON unmarshaling process for OrgSettingPcap objects.
type OrgSettingScep ¶ added in v0.2.38
type OrgSettingScep struct { Enabled *bool `json:"enabled,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgSettingScep represents a OrgSettingScep struct.
func (OrgSettingScep) MarshalJSON ¶ added in v0.2.38
func (o OrgSettingScep) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingScep. It customizes the JSON marshaling process for OrgSettingScep objects.
func (*OrgSettingScep) UnmarshalJSON ¶ added in v0.2.38
func (o *OrgSettingScep) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingScep. It customizes the JSON unmarshaling process for OrgSettingScep objects.
type OrgSettingSecurity ¶
type OrgSettingSecurity struct { // whether to disable local SSH (by default, local SSH is enabled with allow_mist in Org is enabled DisableLocalSsh *bool `json:"disable_local_ssh,omitempty"` // password required to zeroize devices (FIPS) on site level FipsZeroizePassword *string `json:"fips_zeroize_password,omitempty"` // whether to allow certain SSH keys to SSH into the AP (see Site:Setting) LimitSshAccess *bool `json:"limit_ssh_access,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgSettingSecurity represents a OrgSettingSecurity struct.
func (OrgSettingSecurity) MarshalJSON ¶
func (o OrgSettingSecurity) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingSecurity. It customizes the JSON marshaling process for OrgSettingSecurity objects.
func (*OrgSettingSecurity) 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]interface{} `json:"_"` }
OrgSettingSwitchMgmt represents a OrgSettingSwitchMgmt struct.
func (OrgSettingSwitchMgmt) MarshalJSON ¶
func (o OrgSettingSwitchMgmt) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingSwitchMgmt. It customizes the JSON marshaling process for OrgSettingSwitchMgmt objects.
func (*OrgSettingSwitchMgmt) 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]interface{} `json:"_"` }
OrgSettingVpnOptions represents a OrgSettingVpnOptions struct.
func (OrgSettingVpnOptions) MarshalJSON ¶
func (o OrgSettingVpnOptions) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingVpnOptions. It customizes the JSON marshaling process for OrgSettingVpnOptions objects.
func (*OrgSettingVpnOptions) UnmarshalJSON ¶
func (o *OrgSettingVpnOptions) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingVpnOptions. It customizes the JSON unmarshaling process for OrgSettingVpnOptions objects.
type OrgSettingWanPma ¶
type OrgSettingWanPma struct { Enabled *bool `json:"enabled,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgSettingWanPma represents a OrgSettingWanPma struct.
func (OrgSettingWanPma) MarshalJSON ¶
func (o OrgSettingWanPma) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingWanPma. It customizes the JSON marshaling process for OrgSettingWanPma objects.
func (*OrgSettingWanPma) UnmarshalJSON ¶
func (o *OrgSettingWanPma) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingWanPma. It customizes the JSON unmarshaling process for OrgSettingWanPma objects.
type OrgSettingWiredPma ¶
type OrgSettingWiredPma struct { Enabled *bool `json:"enabled,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgSettingWiredPma represents a OrgSettingWiredPma struct.
func (OrgSettingWiredPma) MarshalJSON ¶
func (o OrgSettingWiredPma) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingWiredPma. It customizes the JSON marshaling process for OrgSettingWiredPma objects.
func (*OrgSettingWiredPma) UnmarshalJSON ¶
func (o *OrgSettingWiredPma) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingWiredPma. It customizes the JSON unmarshaling process for OrgSettingWiredPma objects.
type OrgSettingWirelessPma ¶
type OrgSettingWirelessPma struct { Enabled *bool `json:"enabled,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgSettingWirelessPma represents a OrgSettingWirelessPma struct.
func (OrgSettingWirelessPma) MarshalJSON ¶
func (o OrgSettingWirelessPma) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSettingWirelessPma. It customizes the JSON marshaling process for OrgSettingWirelessPma objects.
func (*OrgSettingWirelessPma) UnmarshalJSON ¶
func (o *OrgSettingWirelessPma) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSettingWirelessPma. It customizes the JSON unmarshaling process for OrgSettingWirelessPma objects.
type OrgSiteSleTypeEnum ¶
type OrgSiteSleTypeEnum string
OrgSiteSleTypeEnum is a string enum. enum: `wan`, `wifi`, `wired`
const ( OrgSiteSleTypeEnum_WAN OrgSiteSleTypeEnum = "wan" OrgSiteSleTypeEnum_WIFI OrgSiteSleTypeEnum = "wifi" OrgSiteSleTypeEnum_WIRED OrgSiteSleTypeEnum = "wired" )
type OrgSiteSleWanResult ¶
type OrgSiteSleWanResult struct { ApplicationHealth *float64 `json:"application_health,omitempty"` GatewayHealth float64 `json:"gateway-health"` NumClients *float64 `json:"num_clients,omitempty"` NumGateways *float64 `json:"num_gateways,omitempty"` SiteId uuid.UUID `json:"site_id"` WanLinkHealth *float64 `json:"wan-link-health,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgSiteSleWanResult represents a OrgSiteSleWanResult struct.
func (OrgSiteSleWanResult) MarshalJSON ¶
func (o OrgSiteSleWanResult) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSiteSleWanResult. It customizes the JSON marshaling process for OrgSiteSleWanResult objects.
func (*OrgSiteSleWanResult) UnmarshalJSON ¶
func (o *OrgSiteSleWanResult) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSiteSleWanResult. It customizes the JSON unmarshaling process for OrgSiteSleWanResult objects.
type OrgSiteSleWifi ¶
type OrgSiteSleWifi struct { End float64 `json:"end"` Interval int `json:"interval"` Limit int `json:"limit"` Page int `json:"page"` Results []OrgSiteSleWifiResult `json:"results"` Start float64 `json:"start"` Total int `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgSiteSleWifi represents a OrgSiteSleWifi struct.
func (OrgSiteSleWifi) MarshalJSON ¶
func (o OrgSiteSleWifi) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSiteSleWifi. It customizes the JSON marshaling process for OrgSiteSleWifi objects.
func (*OrgSiteSleWifi) UnmarshalJSON ¶
func (o *OrgSiteSleWifi) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSiteSleWifi. It customizes the JSON unmarshaling process for OrgSiteSleWifi objects.
type OrgSiteSleWifiResult ¶
type OrgSiteSleWifiResult struct { ApAvailability float64 `json:"ap-availability"` ApHealth *float64 `json:"ap-health,omitempty"` Capacity *float64 `json:"capacity,omitempty"` Coverage *float64 `json:"coverage,omitempty"` NumAps *float64 `json:"num_aps,omitempty"` NumClients *float64 `json:"num_clients,omitempty"` Roaming *float64 `json:"roaming,omitempty"` SiteId uuid.UUID `json:"site_id"` SuccessfulConnect *float64 `json:"successful-connect,omitempty"` Throughput *float64 `json:"throughput,omitempty"` TimeToConnect *float64 `json:"time-to-connect,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgSiteSleWifiResult represents a OrgSiteSleWifiResult struct.
func (OrgSiteSleWifiResult) MarshalJSON ¶
func (o OrgSiteSleWifiResult) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSiteSleWifiResult. It customizes the JSON marshaling process for OrgSiteSleWifiResult objects.
func (*OrgSiteSleWifiResult) UnmarshalJSON ¶
func (o *OrgSiteSleWifiResult) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSiteSleWifiResult. It customizes the JSON unmarshaling process for OrgSiteSleWifiResult objects.
type OrgSiteSleWiredResult ¶
type OrgSiteSleWiredResult struct { NumClients *float64 `json:"num_clients,omitempty"` NumSwitches *float64 `json:"num_switches,omitempty"` SiteId uuid.UUID `json:"site_id"` SwitchBandwidth *float64 `json:"switch-bandwidth,omitempty"` SwitchHealth float64 `json:"switch-health"` SwitchThroughput *float64 `json:"switch-throughput,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgSiteSleWiredResult represents a OrgSiteSleWiredResult struct.
func (OrgSiteSleWiredResult) MarshalJSON ¶
func (o OrgSiteSleWiredResult) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSiteSleWiredResult. It customizes the JSON marshaling process for OrgSiteSleWiredResult objects.
func (*OrgSiteSleWiredResult) UnmarshalJSON ¶
func (o *OrgSiteSleWiredResult) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSiteSleWiredResult. It customizes the JSON unmarshaling process for OrgSiteSleWiredResult objects.
type OrgSiteWanWifi ¶
type OrgSiteWanWifi struct { End float64 `json:"end"` Interval int `json:"interval"` Limit int `json:"limit"` Page int `json:"page"` Results []OrgSiteSleWanResult `json:"results"` Start float64 `json:"start"` Total int `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgSiteWanWifi represents a OrgSiteWanWifi struct.
func (OrgSiteWanWifi) MarshalJSON ¶
func (o OrgSiteWanWifi) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSiteWanWifi. It customizes the JSON marshaling process for OrgSiteWanWifi objects.
func (*OrgSiteWanWifi) UnmarshalJSON ¶
func (o *OrgSiteWanWifi) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSiteWanWifi. It customizes the JSON unmarshaling process for OrgSiteWanWifi objects.
type OrgSiteWiredWifi ¶
type OrgSiteWiredWifi struct { End float64 `json:"end"` Interval int `json:"interval"` Limit int `json:"limit"` Page int `json:"page"` Results []OrgSiteSleWiredResult `json:"results"` Start float64 `json:"start"` Total int `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgSiteWiredWifi represents a OrgSiteWiredWifi struct.
func (OrgSiteWiredWifi) MarshalJSON ¶
func (o OrgSiteWiredWifi) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSiteWiredWifi. It customizes the JSON marshaling process for OrgSiteWiredWifi objects.
func (*OrgSiteWiredWifi) UnmarshalJSON ¶
func (o *OrgSiteWiredWifi) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSiteWiredWifi. It customizes the JSON unmarshaling process for OrgSiteWiredWifi objects.
type OrgSitesCountDistinctEnum ¶
type OrgSitesCountDistinctEnum string
OrgSitesCountDistinctEnum is a string enum. enum: `analytic_enabled`, `app_waking`, `asset_enabled`, `auto_upgrade_enabled`, `auto_upgrade_version`, `country_code`, `honeypot_enabled`, `id`, `locate_unconnected`, `mesh_enabled`, `name`, `remote_syslog_enabled`, `rogue_enabled`, `rtsa_enabled`, `vna_enabled`, `wifi_enabled`
const ( OrgSitesCountDistinctEnum_ANALYTICENABLED OrgSitesCountDistinctEnum = "analytic_enabled" OrgSitesCountDistinctEnum_APPWAKING OrgSitesCountDistinctEnum = "app_waking" OrgSitesCountDistinctEnum_ASSETENABLED OrgSitesCountDistinctEnum = "asset_enabled" OrgSitesCountDistinctEnum_AUTOUPGRADEENABLED OrgSitesCountDistinctEnum = "auto_upgrade_enabled" OrgSitesCountDistinctEnum_AUTOUPGRADEVERSION OrgSitesCountDistinctEnum = "auto_upgrade_version" OrgSitesCountDistinctEnum_COUNTRYCODE OrgSitesCountDistinctEnum = "country_code" OrgSitesCountDistinctEnum_HONEYPOTENABLED OrgSitesCountDistinctEnum = "honeypot_enabled" OrgSitesCountDistinctEnum_ID OrgSitesCountDistinctEnum = "id" OrgSitesCountDistinctEnum_LOCATEUNCONNECTED OrgSitesCountDistinctEnum = "locate_unconnected" OrgSitesCountDistinctEnum_MESHENABLED OrgSitesCountDistinctEnum = "mesh_enabled" OrgSitesCountDistinctEnum_NAME OrgSitesCountDistinctEnum = "name" OrgSitesCountDistinctEnum_REMOTESYSLOGENABLED OrgSitesCountDistinctEnum = "remote_syslog_enabled" OrgSitesCountDistinctEnum_ROGUEENABLED OrgSitesCountDistinctEnum = "rogue_enabled" OrgSitesCountDistinctEnum_RTSAENABLED OrgSitesCountDistinctEnum = "rtsa_enabled" OrgSitesCountDistinctEnum_VNAENABLED OrgSitesCountDistinctEnum = "vna_enabled" OrgSitesCountDistinctEnum_WIFIENABLED OrgSitesCountDistinctEnum = "wifi_enabled" )
type OrgSslProxyCert ¶ added in v0.2.38
type OrgSslProxyCert struct { Cert *string `json:"cert,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OrgSslProxyCert represents a OrgSslProxyCert struct.
func (OrgSslProxyCert) MarshalJSON ¶ added in v0.2.38
func (o OrgSslProxyCert) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OrgSslProxyCert. It customizes the JSON marshaling process for OrgSslProxyCert objects.
func (*OrgSslProxyCert) UnmarshalJSON ¶ added in v0.2.38
func (o *OrgSslProxyCert) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OrgSslProxyCert. It customizes the JSON unmarshaling process for OrgSslProxyCert objects.
type OrgTicketsCountDistinctEnum ¶
type OrgTicketsCountDistinctEnum string
OrgTicketsCountDistinctEnum is a string enum. enum: `status`, `type`
const ( OrgTicketsCountDistinctEnum_STATUS OrgTicketsCountDistinctEnum = "status" OrgTicketsCountDistinctEnum_ENUMTYPE OrgTicketsCountDistinctEnum = "type" )
type OrgTunnelCountDistinctEnum ¶
type OrgTunnelCountDistinctEnum string
OrgTunnelCountDistinctEnum is a string enum. enum: `ap`, `auth_algo`, `encrypt_algo`, `ike_version`, `ip`, `last_event`, `mac`, `mxcluster_id`, `mxedge_id`, `node`, `peer_host`, `peer_ip`, `peer_mxedge_id`, `protocol`, `remote_ip`, `remote_port`, `site_id`, `state`, `tunnel_name`, `up`, `wxtunnel_id`
const ( OrgTunnelCountDistinctEnum_AP OrgTunnelCountDistinctEnum = "ap" OrgTunnelCountDistinctEnum_AUTHALGO OrgTunnelCountDistinctEnum = "auth_algo" OrgTunnelCountDistinctEnum_ENCRYPTALGO OrgTunnelCountDistinctEnum = "encrypt_algo" OrgTunnelCountDistinctEnum_IKEVERSION OrgTunnelCountDistinctEnum = "ike_version" OrgTunnelCountDistinctEnum_IP OrgTunnelCountDistinctEnum = "ip" OrgTunnelCountDistinctEnum_LASTEVENT OrgTunnelCountDistinctEnum = "last_event" OrgTunnelCountDistinctEnum_MAC OrgTunnelCountDistinctEnum = "mac" OrgTunnelCountDistinctEnum_MXCLUSTERID OrgTunnelCountDistinctEnum = "mxcluster_id" OrgTunnelCountDistinctEnum_MXEDGEID OrgTunnelCountDistinctEnum = "mxedge_id" OrgTunnelCountDistinctEnum_NODE OrgTunnelCountDistinctEnum = "node" OrgTunnelCountDistinctEnum_PEERHOST OrgTunnelCountDistinctEnum = "peer_host" OrgTunnelCountDistinctEnum_PEERIP OrgTunnelCountDistinctEnum = "peer_ip" OrgTunnelCountDistinctEnum_PEERMXEDGEID OrgTunnelCountDistinctEnum = "peer_mxedge_id" OrgTunnelCountDistinctEnum_PROTOCOL OrgTunnelCountDistinctEnum = "protocol" OrgTunnelCountDistinctEnum_REMOTEIP OrgTunnelCountDistinctEnum = "remote_ip" OrgTunnelCountDistinctEnum_REMOTEPORT OrgTunnelCountDistinctEnum = "remote_port" OrgTunnelCountDistinctEnum_SITEID OrgTunnelCountDistinctEnum = "site_id" OrgTunnelCountDistinctEnum_STATE OrgTunnelCountDistinctEnum = "state" OrgTunnelCountDistinctEnum_TUNNELNAME OrgTunnelCountDistinctEnum = "tunnel_name" OrgTunnelCountDistinctEnum_UP OrgTunnelCountDistinctEnum = "up" OrgTunnelCountDistinctEnum_WXTUNNELID OrgTunnelCountDistinctEnum = "wxtunnel_id" )
type OrgTunnelTypeCountEnum ¶
type OrgTunnelTypeCountEnum string
OrgTunnelTypeCountEnum is a string enum. enum: `wan`, `wxtunnel`
const ( OrgTunnelTypeCountEnum_WAN OrgTunnelTypeCountEnum = "wan" OrgTunnelTypeCountEnum_WXTUNNEL OrgTunnelTypeCountEnum = "wxtunnel" )
type OrgWanClientsCountDistinctEnum ¶
type OrgWanClientsCountDistinctEnum string
OrgWanClientsCountDistinctEnum is a string enum. enum: `hostname`, `ip`, `mac`, `mfg`, `network`
const ( OrgWanClientsCountDistinctEnum_HOSTNAME OrgWanClientsCountDistinctEnum = "hostname" OrgWanClientsCountDistinctEnum_IP OrgWanClientsCountDistinctEnum = "ip" OrgWanClientsCountDistinctEnum_MAC OrgWanClientsCountDistinctEnum = "mac" OrgWanClientsCountDistinctEnum_MFG OrgWanClientsCountDistinctEnum = "mfg" OrgWanClientsCountDistinctEnum_NETWORK OrgWanClientsCountDistinctEnum = "network" )
type OrgWanClientsEventsCountDistinctEnum ¶
type OrgWanClientsEventsCountDistinctEnum string
OrgWanClientsEventsCountDistinctEnum is a string enum. enum: `hostname`, `ip`, `mac`, `mfg`, `type`
const ( OrgWanClientsEventsCountDistinctEnum_HOSTNAME OrgWanClientsEventsCountDistinctEnum = "hostname" OrgWanClientsEventsCountDistinctEnum_IP OrgWanClientsEventsCountDistinctEnum = "ip" OrgWanClientsEventsCountDistinctEnum_MAC OrgWanClientsEventsCountDistinctEnum = "mac" OrgWanClientsEventsCountDistinctEnum_MFG OrgWanClientsEventsCountDistinctEnum = "mfg" OrgWanClientsEventsCountDistinctEnum_ENUMTYPE OrgWanClientsEventsCountDistinctEnum = "type" )
type OrgWiredClientsCountDistinctEnum ¶
type OrgWiredClientsCountDistinctEnum string
OrgWiredClientsCountDistinctEnum is a string enum. enum: `device_mac`, `mac`, `port_id`, `site_id`, `type`, `vlan`
const ( OrgWiredClientsCountDistinctEnum_DEVICEMAC OrgWiredClientsCountDistinctEnum = "device_mac" OrgWiredClientsCountDistinctEnum_MAC OrgWiredClientsCountDistinctEnum = "mac" OrgWiredClientsCountDistinctEnum_PORTID OrgWiredClientsCountDistinctEnum = "port_id" OrgWiredClientsCountDistinctEnum_SITEID OrgWiredClientsCountDistinctEnum = "site_id" OrgWiredClientsCountDistinctEnum_ENUMTYPE OrgWiredClientsCountDistinctEnum = "type" OrgWiredClientsCountDistinctEnum_VLAN OrgWiredClientsCountDistinctEnum = "vlan" )
type Orggroup ¶
type Orggroup struct { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` MspId *uuid.UUID `json:"msp_id,omitempty"` Name string `json:"name"` OrgIds []uuid.UUID `json:"org_ids,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Orggroup represents a Orggroup struct. Organizations Group
func (Orggroup) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Orggroup. It customizes the JSON marshaling process for Orggroup objects.
func (*Orggroup) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Orggroup. It customizes the JSON unmarshaling process for Orggroup objects.
type OspfArea ¶ added in v0.3.21
type OspfArea struct { IncludeLoopback *bool `json:"include_loopback,omitempty"` Networks map[string]OspfAreasNetwork `json:"networks,omitempty"` // OSPF type. enum: `default`, `nssa`, `stub` Type *OspfAreaTypeEnum `json:"type,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OspfArea represents a OspfArea struct. Property key is the OSPF Area (Area should be a number (0-255) / IP address)
func (OspfArea) MarshalJSON ¶ added in v0.3.21
MarshalJSON implements the json.Marshaler interface for OspfArea. It customizes the JSON marshaling process for OspfArea objects.
func (*OspfArea) UnmarshalJSON ¶ added in v0.3.21
UnmarshalJSON implements the json.Unmarshaler interface for OspfArea. It customizes the JSON unmarshaling process for OspfArea objects.
type OspfAreaNetworkAuthTypeEnum ¶ added in v0.3.21
type OspfAreaNetworkAuthTypeEnum string
OspfAreaNetworkAuthTypeEnum is a string enum. auth type. enum: `md5`, `none`, `password`
const ( OspfAreaNetworkAuthTypeEnum_MD5 OspfAreaNetworkAuthTypeEnum = "md5" OspfAreaNetworkAuthTypeEnum_NONE OspfAreaNetworkAuthTypeEnum = "none" OspfAreaNetworkAuthTypeEnum_PASSWORD OspfAreaNetworkAuthTypeEnum = "password" )
type OspfAreaNetworkInterfaceTypeEnum ¶ added in v0.3.21
type OspfAreaNetworkInterfaceTypeEnum string
OspfAreaNetworkInterfaceTypeEnum is a string enum. interface type (nbma = non-broadcast multi-access). enum: `broadcast`, `nbma`, `p2mp`, `p2p`
const ( OspfAreaNetworkInterfaceTypeEnum_BROADCAST OspfAreaNetworkInterfaceTypeEnum = "broadcast" OspfAreaNetworkInterfaceTypeEnum_NBMA OspfAreaNetworkInterfaceTypeEnum = "nbma" OspfAreaNetworkInterfaceTypeEnum_P2MP OspfAreaNetworkInterfaceTypeEnum = "p2mp" OspfAreaNetworkInterfaceTypeEnum_P2P OspfAreaNetworkInterfaceTypeEnum = "p2p" )
type OspfAreaTypeEnum ¶ added in v0.3.21
type OspfAreaTypeEnum string
OspfAreaTypeEnum is a string enum. OSPF type. enum: `default`, `nssa`, `stub`
const ( OspfAreaTypeEnum_ENUMDEFAULT OspfAreaTypeEnum = "default" OspfAreaTypeEnum_NSSA OspfAreaTypeEnum = "nssa" OspfAreaTypeEnum_STUB OspfAreaTypeEnum = "stub" )
type OspfAreasNetwork ¶
type OspfAreasNetwork struct { // Required if `auth_type`==`md5`. Property key is the key number AuthKeys map[string]string `json:"auth_keys,omitempty"` // Required if `auth_type`==`password`, the password, max length is 8 AuthPassword *string `json:"auth_password,omitempty"` // auth type. enum: `md5`, `none`, `password` AuthType *OspfAreaNetworkAuthTypeEnum `json:"auth_type,omitempty"` BfdMinimumInterval *int `json:"bfd_minimum_interval,omitempty"` DeadInterval *int `json:"dead_interval,omitempty"` ExportPolicy *string `json:"export_policy,omitempty"` HelloInterval *int `json:"hello_interval,omitempty"` ImportPolicy *string `json:"import_policy,omitempty"` // interface type (nbma = non-broadcast multi-access). enum: `broadcast`, `nbma`, `p2mp`, `p2p` InterfaceType *OspfAreaNetworkInterfaceTypeEnum `json:"interface_type,omitempty"` Metric Optional[int] `json:"metric"` // by default, we'll re-advertise all learned OSPF routes toward overlay NoReadvertiseToOverlay *bool `json:"no_readvertise_to_overlay,omitempty"` // whether to send OSPF-Hello Passive *bool `json:"passive,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OspfAreasNetwork represents a OspfAreasNetwork struct. Property key is the network name. Networks to participate in an OSPF area
func (OspfAreasNetwork) MarshalJSON ¶
func (o OspfAreasNetwork) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OspfAreasNetwork. It customizes the JSON marshaling process for OspfAreasNetwork objects.
func (*OspfAreasNetwork) 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 OtherDeviceUpdate ¶
type OtherDeviceUpdate struct { DeviceMac *string `json:"device_mac,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OtherDeviceUpdate represents a OtherDeviceUpdate struct.
func (OtherDeviceUpdate) MarshalJSON ¶
func (o OtherDeviceUpdate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OtherDeviceUpdate. It customizes the JSON marshaling process for OtherDeviceUpdate objects.
func (*OtherDeviceUpdate) 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. enum: `assign`, `unassign` Op OtherDeviceUpdateOperationEnum `json:"op"` SiteId *uuid.UUID `json:"site_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
OtherDeviceUpdateMulti represents a OtherDeviceUpdateMulti struct.
func (OtherDeviceUpdateMulti) MarshalJSON ¶
func (o OtherDeviceUpdateMulti) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OtherDeviceUpdateMulti. It customizes the JSON marshaling process for OtherDeviceUpdateMulti objects.
func (*OtherDeviceUpdateMulti) UnmarshalJSON ¶
func (o *OtherDeviceUpdateMulti) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OtherDeviceUpdateMulti. It customizes the JSON unmarshaling process for OtherDeviceUpdateMulti objects.
type OtherDeviceUpdateOperationEnum ¶
type OtherDeviceUpdateOperationEnum string
OtherDeviceUpdateOperationEnum is a string enum. The operation being performed. enum: `assign`, `unassign`
const ( OtherDeviceUpdateOperationEnum_ASSIGN OtherDeviceUpdateOperationEnum = "assign" OtherDeviceUpdateOperationEnum_UNASSIGN OtherDeviceUpdateOperationEnum = "unassign" )
type PcapBucket ¶
type PcapBucket struct { Bucket string `json:"bucket"` AdditionalProperties map[string]interface{} `json:"_"` }
PcapBucket represents a PcapBucket struct.
func (PcapBucket) MarshalJSON ¶
func (p PcapBucket) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PcapBucket. It customizes the JSON marshaling process for PcapBucket objects.
func (*PcapBucket) UnmarshalJSON ¶
func (p *PcapBucket) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PcapBucket. It customizes the JSON unmarshaling process for PcapBucket objects.
type PcapBucketVerify ¶
type PcapBucketVerify struct { Bucket string `json:"bucket"` VerifyToken string `json:"verify_token"` AdditionalProperties map[string]interface{} `json:"_"` }
PcapBucketVerify represents a PcapBucketVerify struct.
func (PcapBucketVerify) MarshalJSON ¶
func (p PcapBucketVerify) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PcapBucketVerify. It customizes the JSON marshaling process for PcapBucketVerify objects.
func (*PcapBucketVerify) UnmarshalJSON ¶
func (p *PcapBucketVerify) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PcapBucketVerify. It customizes the JSON unmarshaling process for PcapBucketVerify objects.
type PcapTypeEnum ¶
type PcapTypeEnum string
PcapTypeEnum is a string enum. enum: `client`, `gateway`, `new_assoc`, `radiotap`, `radiotap,wired`, `wired`, `wireless`
const ( PcapTypeEnum_CLIENT PcapTypeEnum = "client" PcapTypeEnum_GATEWAY PcapTypeEnum = "gateway" PcapTypeEnum_NEWASSOC PcapTypeEnum = "new_assoc" PcapTypeEnum_RADIOTAP PcapTypeEnum = "radiotap" PcapTypeEnum_ENUMRADIOTAPWIRED PcapTypeEnum = "radiotap,wired" PcapTypeEnum_WIRED PcapTypeEnum = "wired" PcapTypeEnum_WIRELESS PcapTypeEnum = "wireless" )
type PmaDashboard ¶
type PmaDashboard struct { // description of the dashboard Description *string `json:"description,omitempty"` // group label name Label *string `json:"label,omitempty"` // name of the dashboard Name *string `json:"name,omitempty"` // url to access dashboard. Url will redirect the user to the dashboard Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
PmaDashboard represents a PmaDashboard struct.
func (PmaDashboard) MarshalJSON ¶
func (p PmaDashboard) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PmaDashboard. It customizes the JSON marshaling process for PmaDashboard objects.
func (*PmaDashboard) 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 PortalTemplateAlignmentEnum ¶ added in v0.2.38
type PortalTemplateAlignmentEnum string
PortalTemplateAlignmentEnum is a string enum. defines alignment on portal. enum: `center`, `left`, `right`
const ( PortalTemplateAlignmentEnum_CENTER PortalTemplateAlignmentEnum = "center" PortalTemplateAlignmentEnum_LEFT PortalTemplateAlignmentEnum = "left" PortalTemplateAlignmentEnum_RIGHT PortalTemplateAlignmentEnum = "right" )
type PrivilegeMsp ¶
type PrivilegeMsp struct { // if `scope`==`org` OrgId *uuid.UUID `json:"org_id,omitempty"` // name of the org (for a site belonging to org) OrgName *string `json:"org_name,omitempty"` // if `scope`==`orggroup` OrggroupId *uuid.UUID `json:"orggroup_id,omitempty"` // access permissions. enum: `admin`, `helpdesk`, `installer`, `read`, `write` Role PrivilegeMspRoleEnum `json:"role"` // enum: `msp`, `org`, `orggroup` Scope PrivilegeMspScopeEnum `json:"scope"` // Custom roles restrict Org users to specific UI views. This is useful for limiting UI access of Org users. // 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 | Required Role | Description | // | --- | --- | --- | // | `reporting` | `read` | full access to all analytics tools | // | `marketing` | `read` | can view analytics and location maps | // | `super_observer` | `read` | can view all the organization except the subscription page | // | `location` | `write` | can view and manage location maps, can view analytics | // | `security` | `write` | can view and manage site labels, policies and security | // | `switch_admin` | `helpdesk` | can view and manage Switch ports, can view wired clients | // | `mxedge_admin` | `admin` | can view and manage Mist edges and Mist tunnels | // | `lobby_admin` | `admin` | full access to Org and Site Pre-shared keys | Views *AdminPrivilegeViewEnum `json:"views,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
PrivilegeMsp represents a PrivilegeMsp struct. 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. enum: `admin`, `helpdesk`, `installer`, `read`, `write`
const ( PrivilegeMspRoleEnum_ADMIN PrivilegeMspRoleEnum = "admin" PrivilegeMspRoleEnum_HELPDESK PrivilegeMspRoleEnum = "helpdesk" PrivilegeMspRoleEnum_INSTALLER PrivilegeMspRoleEnum = "installer" PrivilegeMspRoleEnum_READ PrivilegeMspRoleEnum = "read" PrivilegeMspRoleEnum_WRITE PrivilegeMspRoleEnum = "write" )
type PrivilegeMspScopeEnum ¶
type PrivilegeMspScopeEnum string
PrivilegeMspScopeEnum is a string enum. enum: `msp`, `org`, `orggroup`
const ( PrivilegeMspScopeEnum_MSP PrivilegeMspScopeEnum = "msp" PrivilegeMspScopeEnum_ORG PrivilegeMspScopeEnum = "org" PrivilegeMspScopeEnum_ORGGROUP PrivilegeMspScopeEnum = "orggroup" )
type PrivilegeOrg ¶
type PrivilegeOrg struct { // if `scope`==`org` OrgId *uuid.UUID `json:"org_id,omitempty"` // access permissions. enum: `admin`, `helpdesk`, `installer`, `read`, `write` Role PrivilegeOrgRoleEnum `json:"role"` // enum: `org`, `site`, `sitegroup` Scope PrivilegeOrgScopeEnum `json:"scope"` // if `scope`==`site` SiteId *uuid.UUID `json:"site_id,omitempty"` // if `scope`==`sitegroup` SitegroupId *uuid.UUID `json:"sitegroup_id,omitempty"` AdditionalProperties map[string]interface{} `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. enum: `admin`, `helpdesk`, `installer`, `read`, `write`
const ( PrivilegeOrgRoleEnum_ADMIN PrivilegeOrgRoleEnum = "admin" PrivilegeOrgRoleEnum_HELPDESK PrivilegeOrgRoleEnum = "helpdesk" PrivilegeOrgRoleEnum_INSTALLER PrivilegeOrgRoleEnum = "installer" PrivilegeOrgRoleEnum_READ PrivilegeOrgRoleEnum = "read" PrivilegeOrgRoleEnum_WRITE PrivilegeOrgRoleEnum = "write" )
type PrivilegeOrgScopeEnum ¶
type PrivilegeOrgScopeEnum string
PrivilegeOrgScopeEnum is a string enum. enum: `org`, `site`, `sitegroup`
const ( PrivilegeOrgScopeEnum_ORG PrivilegeOrgScopeEnum = "org" PrivilegeOrgScopeEnum_SITE PrivilegeOrgScopeEnum = "site" PrivilegeOrgScopeEnum_SITEGROUP PrivilegeOrgScopeEnum = "sitegroup" )
type ProtectRe ¶
type ProtectRe struct { // optionally, services we'll allow AllowedServices []ProtectReAllowedServiceEnum `json:"allowed_services,omitempty"` Custom []ProtectReCustom `json:"custom,omitempty"` // when enabled, all traffic that is not essential to our operation will be dropped // e.g. ntp / dns / traffic to mist will be allowed by default // if dhcpd is enabled, we'll make sure it works Enabled *bool `json:"enabled,omitempty"` // host/subnets we'll allow traffic to/from TrustedHosts []string `json:"trusted_hosts,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ProtectRe represents a ProtectRe struct. restrict inbound-traffic to host when enabled, all traffic that is not essential to our operation will be dropped e.g. ntp / dns / traffic to mist will be allowed by default, if dhcpd is enabled, we'll make sure it works
func (ProtectRe) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for ProtectRe. It customizes the JSON marshaling process for ProtectRe objects.
func (*ProtectRe) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for ProtectRe. It customizes the JSON unmarshaling process for ProtectRe objects.
type ProtectReAllowedServiceEnum ¶ added in v0.3.23
type ProtectReAllowedServiceEnum string
ProtectReAllowedServiceEnum is a string enum. enum: `icmp`, `ssh`
const ( ProtectReAllowedServiceEnum_ICMP ProtectReAllowedServiceEnum = "icmp" ProtectReAllowedServiceEnum_SSH ProtectReAllowedServiceEnum = "ssh" )
type ProtectReCustom ¶
type ProtectReCustom struct { // matched dst port, "0" means any PortRange *string `json:"port_range,omitempty"` // enum: `any`, `icmp`, `tcp`, `udp` Protocol *ProtectReCustomProtocolEnum `json:"protocol,omitempty"` Subnets []string `json:"subnets,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ProtectReCustom represents a ProtectReCustom struct. custom acls
func (ProtectReCustom) MarshalJSON ¶
func (p ProtectReCustom) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ProtectReCustom. It customizes the JSON marshaling process for ProtectReCustom objects.
func (*ProtectReCustom) UnmarshalJSON ¶
func (p *ProtectReCustom) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ProtectReCustom. It customizes the JSON unmarshaling process for ProtectReCustom objects.
type ProtectReCustomProtocolEnum ¶
type ProtectReCustomProtocolEnum string
ProtectReCustomProtocolEnum is a string enum. enum: `any`, `icmp`, `tcp`, `udp`
const ( ProtectReCustomProtocolEnum_ANY ProtectReCustomProtocolEnum = "any" ProtectReCustomProtocolEnum_ICMP ProtectReCustomProtocolEnum = "icmp" ProtectReCustomProtocolEnum_TCP ProtectReCustomProtocolEnum = "tcp" ProtectReCustomProtocolEnum_UDP ProtectReCustomProtocolEnum = "udp" )
type Proxy ¶
type Proxy struct { Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Proxy represents a Proxy struct. Proxy Configuration to talk to Mist
func (Proxy) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Proxy. It customizes the JSON marshaling process for Proxy objects.
func (*Proxy) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Proxy. It customizes the JSON unmarshaling process for Proxy objects.
type Psk ¶
type Psk struct { // sso id for psk created from psk portal AdminSsoId *string `json:"admin_sso_id,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // email to send psk expiring notifications to Email *string `json:"email,omitempty"` // Expire time for this PSK key (epoch time in seconds). Default `null` (as no expiration) ExpireTime Optional[int] `json:"expire_time"` // Number of days before psk is expired. Used as to when to start sending reminder notification when the psk is about to expire ExpiryNotificationTime *int `json:"expiry_notification_time,omitempty"` // Unique ID of the object instance in the Mist Organnization 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"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` Name string `json:"name"` Note *string `json:"note,omitempty"` // If set to true, reminder notification will be sent when psk is about to expire NotifyExpiry *bool `json:"notify_expiry,omitempty"` // If set to true, notification will be sent when psk is created or edited NotifyOnCreateOrEdit *bool `json:"notify_on_create_or_edit,omitempty"` // previous passphrase of the PSK if it has been rotated OldPassphrase *string `json:"old_passphrase,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` // passphrase of the PSK (8-63 character or 64 in hex) Passphrase string `json:"passphrase"` Role *string `json:"role,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` // SSID this PSK should be applicable to Ssid string `json:"ssid"` // enum: `macs`, `multi`, `single` Usage *PskUsageEnum `json:"usage,omitempty"` // VLAN for this PSK key VlanId *PskVlanId `json:"vlan_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Psk represents a Psk struct. PSK
func (Psk) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Psk. It customizes the JSON marshaling process for Psk objects.
func (*Psk) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Psk. It customizes the JSON unmarshaling process for Psk objects.
type PskIdList ¶
type PskIdList struct { PskIds []uuid.UUID `json:"psk_ids,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
PskIdList represents a PskIdList struct.
func (PskIdList) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for PskIdList. It customizes the JSON marshaling process for PskIdList objects.
func (*PskIdList) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for PskIdList. It customizes the JSON unmarshaling process for PskIdList objects.
type PskPortal ¶
type PskPortal struct { // enum: `sponsor`, `sso` Auth *PskPortalAuthEnum `json:"auth,omitempty"` BgImageUrl *string `json:"bg_image_url,omitempty"` // used to cleanup exited psk when portal delete or ssid changed CleanupPsk *bool `json:"cleanup_psk,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // unit min ExpireTime *int `json:"expire_time,omitempty"` // Number of days before psk is expired. Used as to when to start sending reminder notification when the psk is about to expire ExpiryNotificationTime *int `json:"expiry_notification_time,omitempty"` // only if `type`==`admin` HidePsksCreatedByOtherAdmins *bool `json:"hide_psks_created_by_other_admins,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // `max_usage`==`0` means unlimited MaxUsage *int `json:"max_usage,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` Name string `json:"name"` // optional, will include the link in the notification email the customer can either provide their own url or use the one generate from mist, or do a url shorterner against either NotificationRenewUrl *string `json:"notification_renew_url,omitempty"` // If set to true, reminder notification will be sent when psk is about to expire NotifyExpiry *bool `json:"notify_expiry,omitempty"` NotifyOnCreateOrEdit *bool `json:"notify_on_create_or_edit,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` PassphraseRules *PskPortalPassphraseRules `json:"passphrase_rules,omitempty"` // what information to ask for (email is required by default) RequiredFields []string `json:"required_fields,omitempty"` Role *string `json:"role,omitempty"` // intended SSID Ssid string `json:"ssid"` // if `auth`==`sso` Sso *PskPortalSso `json:"sso,omitempty"` // UI customization TemplateUrl *string `json:"template_url,omitempty"` ThumbnailUrl *string `json:"thumbnail_url,omitempty"` // for personal psk portal. enum: `admin`, `byod` Type *PskPortalTypeEnum `json:"type,omitempty"` VlanId *VlanIdWithVariable `json:"vlan_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
PskPortal represents a PskPortal struct.
func (PskPortal) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for PskPortal. It customizes the JSON marshaling process for PskPortal objects.
func (*PskPortal) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for PskPortal. It customizes the JSON unmarshaling process for PskPortal objects.
type PskPortalAuthEnum ¶
type PskPortalAuthEnum string
PskPortalAuthEnum is a string enum. enum: `sponsor`, `sso`
const ( PskPortalAuthEnum_SPONSOR PskPortalAuthEnum = "sponsor" PskPortalAuthEnum_SSO PskPortalAuthEnum = "sso" )
type PskPortalImage ¶
type PskPortalImage struct { // Binary file File *[]byte `json:"file,omitempty"` // JSON string describing the upload Json *string `json:"json,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
PskPortalImage represents a PskPortalImage struct.
func (PskPortalImage) MarshalJSON ¶
func (p PskPortalImage) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PskPortalImage. It customizes the JSON marshaling process for PskPortalImage objects.
func (*PskPortalImage) 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]interface{} `json:"_"` }
PskPortalPassphraseRules represents a PskPortalPassphraseRules struct.
func (PskPortalPassphraseRules) MarshalJSON ¶
func (p PskPortalPassphraseRules) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PskPortalPassphraseRules. It customizes the JSON marshaling process for PskPortalPassphraseRules objects.
func (*PskPortalPassphraseRules) UnmarshalJSON ¶
func (p *PskPortalPassphraseRules) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PskPortalPassphraseRules. It customizes the JSON unmarshaling process for PskPortalPassphraseRules objects.
type PskPortalSso ¶
type PskPortalSso struct { // // allowed roles for accessing psk portal, if none, any role is permitted AllowedRoles []string `json:"allowed_roles,omitempty"` IdpCert *string `json:"idp_cert,omitempty"` // Signing algorithm for SAML Assertion. enum: `sha1`, `sha256`, `sha384`, `sha512`. enum: `sha1`, `sha256`, `sha384`, `sha512` IdpSignAlgo *PskPortalSsoIdpSignAlgoEnum `json:"idp_sign_algo,omitempty"` IdpSsoUrl *string `json:"idp_sso_url,omitempty"` Issuer *string `json:"issuer,omitempty"` NameidFormat *string `json:"nameid_format,omitempty"` // Property key is the role name, property value is the SSO Attribute RoleMapping map[string]string `json:"role_mapping,omitempty"` // if enabled, the `role` above will be ignored UseSsoRoleForPskRole *bool `json:"use_sso_role_for_psk_role,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
PskPortalSso represents a PskPortalSso struct. if `auth`==`sso`
func (PskPortalSso) MarshalJSON ¶
func (p PskPortalSso) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PskPortalSso. It customizes the JSON marshaling process for PskPortalSso objects.
func (*PskPortalSso) UnmarshalJSON ¶
func (p *PskPortalSso) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PskPortalSso. It customizes the JSON unmarshaling process for PskPortalSso objects.
type PskPortalSsoIdpSignAlgoEnum ¶ added in v0.3.33
type PskPortalSsoIdpSignAlgoEnum string
PskPortalSsoIdpSignAlgoEnum is a string enum. Signing algorithm for SAML Assertion. enum: `sha1`, `sha256`, `sha384`, `sha512`. enum: `sha1`, `sha256`, `sha384`, `sha512`
const ( PskPortalSsoIdpSignAlgoEnum_SHA1 PskPortalSsoIdpSignAlgoEnum = "sha1" PskPortalSsoIdpSignAlgoEnum_SHA256 PskPortalSsoIdpSignAlgoEnum = "sha256" PskPortalSsoIdpSignAlgoEnum_SHA384 PskPortalSsoIdpSignAlgoEnum = "sha384" PskPortalSsoIdpSignAlgoEnum_SHA512 PskPortalSsoIdpSignAlgoEnum = "sha512" )
type PskPortalTemplate ¶
type PskPortalTemplate struct { // defines alignment on portal. enum: `center`, `left`, `right` Alignment *PortalTemplateAlignmentEnum `json:"alignment,omitempty"` Color *string `json:"color,omitempty"` // custom logo with “data:image/png;base64,” format. default null, uses Juniper Mist Logo Logo Optional[string] `json:"logo"` // whether to hide "Powered by Juniper Mist" and email footers PoweredBy *bool `json:"poweredBy,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
PskPortalTemplate represents a PskPortalTemplate struct.
func (PskPortalTemplate) MarshalJSON ¶
func (p PskPortalTemplate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PskPortalTemplate. It customizes the JSON marshaling process for PskPortalTemplate objects.
func (*PskPortalTemplate) UnmarshalJSON ¶
func (p *PskPortalTemplate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PskPortalTemplate. It customizes the JSON unmarshaling process for PskPortalTemplate objects.
type PskPortalTypeEnum ¶
type PskPortalTypeEnum string
PskPortalTypeEnum is a string enum. for personal psk portal. enum: `admin`, `byod`
const ( PskPortalTypeEnum_ADMIN PskPortalTypeEnum = "admin" PskPortalTypeEnum_BYOD PskPortalTypeEnum = "byod" )
type PskUsageEnum ¶
type PskUsageEnum string
PskUsageEnum is a string enum. enum: `macs`, `multi`, `single`
const ( PskUsageEnum_MACS PskUsageEnum = "macs" PskUsageEnum_MULTI PskUsageEnum = "multi" PskUsageEnum_SINGLE PskUsageEnum = "single" )
type PskVlanId ¶ added in v0.2.20
type PskVlanId struct {
// contains filtered or unexported fields
}
PskVlanId represents a PskVlanId struct. VLAN for this PSK key
func (PskVlanId) MarshalJSON ¶ added in v0.2.20
MarshalJSON implements the json.Marshaler interface for PskVlanId. It customizes the JSON marshaling process for PskVlanId objects.
func (PskVlanId) String ¶ added in v0.2.20
String 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]interface{} `json:"_"` }
PsksImportFile represents a PsksImportFile struct.
func (PsksImportFile) MarshalJSON ¶
func (p PsksImportFile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PsksImportFile. It customizes the JSON marshaling process for PsksImportFile objects.
func (*PsksImportFile) 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\u2019\ s treated as 00:00-23:59. Hours *Hours `json:"hours,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
PushPolicyPushWindow represents a PushPolicyPushWindow struct. if enabled, new config will only be pushed to device within the specified time window
func (PushPolicyPushWindow) MarshalJSON ¶
func (p PushPolicyPushWindow) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PushPolicyPushWindow. It customizes the JSON marshaling process for PushPolicyPushWindow objects.
func (*PushPolicyPushWindow) UnmarshalJSON ¶
func (p *PushPolicyPushWindow) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PushPolicyPushWindow. It customizes the JSON unmarshaling process for PushPolicyPushWindow objects.
type RadioBand24UsageEnum ¶
type RadioBand24UsageEnum string
RadioBand24UsageEnum is a string enum. enum: `24`, `5`, `6`, `auto`
const ( RadioBand24UsageEnum_ENUM24 RadioBand24UsageEnum = "24" RadioBand24UsageEnum_ENUM5 RadioBand24UsageEnum = "5" RadioBand24UsageEnum_ENUM6 RadioBand24UsageEnum = "6" RadioBand24UsageEnum_AUTO RadioBand24UsageEnum = "auto" )
type RadioBandAntennaModeEnum ¶
type RadioBandAntennaModeEnum string
RadioBandAntennaModeEnum is a string enum. enum: `1x1`, `2x2`, `3x3`, `4x4`, `default`
const ( RadioBandAntennaModeEnum_ENUM1X1 RadioBandAntennaModeEnum = "1x1" RadioBandAntennaModeEnum_ENUM2X2 RadioBandAntennaModeEnum = "2x2" RadioBandAntennaModeEnum_ENUM3X3 RadioBandAntennaModeEnum = "3x3" RadioBandAntennaModeEnum_ENUM4X4 RadioBandAntennaModeEnum = "4x4" RadioBandAntennaModeEnum_ENUMDEFAULT RadioBandAntennaModeEnum = "default" )
type RadioBandPreambleEnum ¶
type RadioBandPreambleEnum string
RadioBandPreambleEnum is a string enum. enum: `auto`, `long`, `short`
const ( RadioBandPreambleEnum_AUTO RadioBandPreambleEnum = "auto" RadioBandPreambleEnum_LONG RadioBandPreambleEnum = "long" RadioBandPreambleEnum_SHORT RadioBandPreambleEnum = "short" )
type RadiusAcctServer ¶
type RadiusAcctServer struct { // ip / hostname of RADIUS server Host string `json:"host"` KeywrapEnabled *bool `json:"keywrap_enabled,omitempty"` // enum: `ascii`, `hex` KeywrapFormat *RadiusKeywrapFormatEnum `json:"keywrap_format,omitempty"` KeywrapKek *string `json:"keywrap_kek,omitempty"` KeywrapMack *string `json:"keywrap_mack,omitempty"` // Acct port of RADIUS server Port *int `json:"port,omitempty"` // secret of RADIUS server Secret string `json:"secret"` AdditionalProperties map[string]interface{} `json:"_"` }
RadiusAcctServer represents a RadiusAcctServer struct.
func (RadiusAcctServer) MarshalJSON ¶
func (r RadiusAcctServer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RadiusAcctServer. It customizes the JSON marshaling process for RadiusAcctServer objects.
func (*RadiusAcctServer) 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"` // enum: `ascii`, `hex` 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"` // whether to require Message-Authenticator in requests RequireMessageAuthenticator *bool `json:"require_message_authenticator,omitempty"` // secret of RADIUS server Secret string `json:"secret"` AdditionalProperties map[string]interface{} `json:"_"` }
RadiusAuthServer represents a RadiusAuthServer struct. Authentication Server
func (RadiusAuthServer) MarshalJSON ¶
func (r RadiusAuthServer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RadiusAuthServer. It customizes the JSON marshaling process for RadiusAuthServer objects.
func (*RadiusAuthServer) 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]interface{} `json:"_"` }
RadiusConfig represents a RadiusConfig struct. Junos Radius config
func (RadiusConfig) MarshalJSON ¶
func (r RadiusConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RadiusConfig. It customizes the JSON marshaling process for RadiusConfig objects.
func (*RadiusConfig) UnmarshalJSON ¶
func (r *RadiusConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RadiusConfig. It customizes the JSON unmarshaling process for RadiusConfig objects.
type RadiusKeywrapFormatEnum ¶
type RadiusKeywrapFormatEnum string
RadiusKeywrapFormatEnum is a string enum. enum: `ascii`, `hex`
const ( RadiusKeywrapFormatEnum_ASCII RadiusKeywrapFormatEnum = "ascii" RadiusKeywrapFormatEnum_HEX RadiusKeywrapFormatEnum = "hex" )
type Radsec ¶
type Radsec struct { CoaEnabled *bool `json:"coa_enabled,omitempty"` Enabled *bool `json:"enabled,omitempty"` 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]interface{} `json:"_"` }
Radsec represents a Radsec struct. Radsec settings
func (Radsec) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Radsec. It customizes the JSON marshaling process for Radsec objects.
func (*Radsec) 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]interface{} `json:"_"` }
RadsecServer represents a RadsecServer struct.
func (RadsecServer) MarshalJSON ¶
func (r RadsecServer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RadsecServer. It customizes the JSON marshaling process for RadsecServer objects.
func (*RadsecServer) 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. enum: `google`, `hcaptcha` Flavor *RecaptchaFlavorEnum `json:"flavor,omitempty"` Required *bool `json:"required,omitempty"` Sitekey *string `json:"sitekey,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Recaptcha represents a Recaptcha struct.
func (Recaptcha) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Recaptcha. It customizes the JSON marshaling process for Recaptcha objects.
func (*Recaptcha) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Recaptcha. It customizes the JSON unmarshaling process for Recaptcha objects.
type RecaptchaFlavorEnum ¶
type RecaptchaFlavorEnum string
RecaptchaFlavorEnum is a string enum. flavor of the captcha. enum: `google`, `hcaptcha`
const ( RecaptchaFlavorEnum_GOOGLE RecaptchaFlavorEnum = "google" RecaptchaFlavorEnum_HCAPTCHA RecaptchaFlavorEnum = "hcaptcha" )
type Recover ¶
type Recover struct { Email string `json:"email"` // see https://www.google.com/recaptcha/ Recaptcha *string `json:"recaptcha,omitempty"` // flavor of the captcha. enum: `google`, `hcaptcha` RecaptchaFlavor *RecaptchaFlavorEnum `json:"recaptcha_flavor,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Recover represents a Recover struct.
func (Recover) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Recover. It customizes the JSON marshaling process for Recover objects.
func (*Recover) 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"` // enum: `millisecond`, `year`, `year millisecond` TimeFormat *RemoteSyslogTimeFormatEnum `json:"time_format,omitempty"` Users []RemoteSyslogUser `json:"users,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
RemoteSyslog represents a RemoteSyslog struct.
func (RemoteSyslog) MarshalJSON ¶
func (r RemoteSyslog) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RemoteSyslog. It customizes the JSON marshaling process for RemoteSyslog objects.
func (*RemoteSyslog) 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]interface{} `json:"_"` }
RemoteSyslogArchive represents a RemoteSyslogArchive struct.
func (RemoteSyslogArchive) MarshalJSON ¶
func (r RemoteSyslogArchive) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RemoteSyslogArchive. It customizes the JSON marshaling process for RemoteSyslogArchive objects.
func (*RemoteSyslogArchive) 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]interface{} `json:"_"` }
RemoteSyslogConsole represents a RemoteSyslogConsole struct.
func (RemoteSyslogConsole) MarshalJSON ¶
func (r RemoteSyslogConsole) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RemoteSyslogConsole. It customizes the JSON marshaling process for RemoteSyslogConsole objects.
func (*RemoteSyslogConsole) UnmarshalJSON ¶
func (r *RemoteSyslogConsole) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RemoteSyslogConsole. It customizes the JSON unmarshaling process for RemoteSyslogConsole objects.
type RemoteSyslogContent ¶
type RemoteSyslogContent struct { // enum: `any`, `authorization`, `change-log`, `config`, `conflict-log`, `daemon`, `dfc`, `external`, `firewall`, `ftp`, `interactive-commands`, `kernel`, `ntp`, `pfe`, `security`, `user` Facility *RemoteSyslogFacilityEnum `json:"facility,omitempty"` // enum: `alert`, `any`, `critical`, `emergency`, `error`, `info`, `notice`, `warning` Severity *RemoteSyslogSeverityEnum `json:"severity,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
RemoteSyslogContent represents a RemoteSyslogContent struct.
func (RemoteSyslogContent) MarshalJSON ¶
func (r RemoteSyslogContent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RemoteSyslogContent. It customizes the JSON marshaling process for RemoteSyslogContent objects.
func (*RemoteSyslogContent) UnmarshalJSON ¶
func (r *RemoteSyslogContent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RemoteSyslogContent. It customizes the JSON unmarshaling process for RemoteSyslogContent objects.
type RemoteSyslogFacilityEnum ¶
type RemoteSyslogFacilityEnum string
RemoteSyslogFacilityEnum is a string enum. enum: `any`, `authorization`, `change-log`, `config`, `conflict-log`, `daemon`, `dfc`, `external`, `firewall`, `ftp`, `interactive-commands`, `kernel`, `ntp`, `pfe`, `security`, `user`
const ( RemoteSyslogFacilityEnum_ANY RemoteSyslogFacilityEnum = "any" RemoteSyslogFacilityEnum_AUTHORIZATION RemoteSyslogFacilityEnum = "authorization" RemoteSyslogFacilityEnum_CHANGELOG RemoteSyslogFacilityEnum = "change-log" RemoteSyslogFacilityEnum_CONFIG RemoteSyslogFacilityEnum = "config" RemoteSyslogFacilityEnum_CONFLICTLOG RemoteSyslogFacilityEnum = "conflict-log" RemoteSyslogFacilityEnum_DAEMON RemoteSyslogFacilityEnum = "daemon" RemoteSyslogFacilityEnum_DFC RemoteSyslogFacilityEnum = "dfc" RemoteSyslogFacilityEnum_EXTERNAL RemoteSyslogFacilityEnum = "external" RemoteSyslogFacilityEnum_FIREWALL RemoteSyslogFacilityEnum = "firewall" RemoteSyslogFacilityEnum_FTP RemoteSyslogFacilityEnum = "ftp" RemoteSyslogFacilityEnum_INTERACTIVECOMMANDS RemoteSyslogFacilityEnum = "interactive-commands" RemoteSyslogFacilityEnum_KERNEL RemoteSyslogFacilityEnum = "kernel" RemoteSyslogFacilityEnum_NTP RemoteSyslogFacilityEnum = "ntp" RemoteSyslogFacilityEnum_PFE RemoteSyslogFacilityEnum = "pfe" RemoteSyslogFacilityEnum_SECURITY RemoteSyslogFacilityEnum = "security" RemoteSyslogFacilityEnum_USER RemoteSyslogFacilityEnum = "user" )
type RemoteSyslogFileConfig ¶
type RemoteSyslogFileConfig struct { Archive *RemoteSyslogArchive `json:"archive,omitempty"` Contents []RemoteSyslogContent `json:"contents,omitempty"` ExplicitPriority *bool `json:"explicit_priority,omitempty"` File *string `json:"file,omitempty"` Match *string `json:"match,omitempty"` StructuredData *bool `json:"structured_data,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
RemoteSyslogFileConfig represents a RemoteSyslogFileConfig struct.
func (RemoteSyslogFileConfig) MarshalJSON ¶
func (r RemoteSyslogFileConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RemoteSyslogFileConfig. It customizes the JSON marshaling process for RemoteSyslogFileConfig objects.
func (*RemoteSyslogFileConfig) UnmarshalJSON ¶
func (r *RemoteSyslogFileConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RemoteSyslogFileConfig. It customizes the JSON unmarshaling process for RemoteSyslogFileConfig objects.
type RemoteSyslogServer ¶
type RemoteSyslogServer struct { Contents []RemoteSyslogContent `json:"contents,omitempty"` ExplicitPriority *bool `json:"explicit_priority,omitempty"` // enum: `any`, `authorization`, `change-log`, `config`, `conflict-log`, `daemon`, `dfc`, `external`, `firewall`, `ftp`, `interactive-commands`, `kernel`, `ntp`, `pfe`, `security`, `user` Facility *RemoteSyslogFacilityEnum `json:"facility,omitempty"` Host *string `json:"host,omitempty"` Match *string `json:"match,omitempty"` Port *int `json:"port,omitempty"` // enum: `tcp`, `udp` Protocol *RemoteSyslogServerProtocolEnum `json:"protocol,omitempty"` RoutingInstance *string `json:"routing_instance,omitempty"` // enum: `alert`, `any`, `critical`, `emergency`, `error`, `info`, `notice`, `warning` Severity *RemoteSyslogSeverityEnum `json:"severity,omitempty"` // if source_address is configured, will use the vlan firstly otherwise use source_ip SourceAddress *string `json:"source_address,omitempty"` StructuredData *bool `json:"structured_data,omitempty"` Tag *string `json:"tag,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
RemoteSyslogServer represents a RemoteSyslogServer struct.
func (RemoteSyslogServer) MarshalJSON ¶
func (r RemoteSyslogServer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RemoteSyslogServer. It customizes the JSON marshaling process for RemoteSyslogServer objects.
func (*RemoteSyslogServer) 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. enum: `tcp`, `udp`
const ( RemoteSyslogServerProtocolEnum_TCP RemoteSyslogServerProtocolEnum = "tcp" RemoteSyslogServerProtocolEnum_UDP RemoteSyslogServerProtocolEnum = "udp" )
type RemoteSyslogSeverityEnum ¶
type RemoteSyslogSeverityEnum string
RemoteSyslogSeverityEnum is a string enum. enum: `alert`, `any`, `critical`, `emergency`, `error`, `info`, `notice`, `warning`
const ( RemoteSyslogSeverityEnum_ALERT RemoteSyslogSeverityEnum = "alert" RemoteSyslogSeverityEnum_ANY RemoteSyslogSeverityEnum = "any" RemoteSyslogSeverityEnum_CRITICAL RemoteSyslogSeverityEnum = "critical" RemoteSyslogSeverityEnum_EMERGENCY RemoteSyslogSeverityEnum = "emergency" RemoteSyslogSeverityEnum_ENUMERROR RemoteSyslogSeverityEnum = "error" RemoteSyslogSeverityEnum_INFO RemoteSyslogSeverityEnum = "info" RemoteSyslogSeverityEnum_NOTICE RemoteSyslogSeverityEnum = "notice" RemoteSyslogSeverityEnum_WARNING RemoteSyslogSeverityEnum = "warning" )
type RemoteSyslogTimeFormatEnum ¶
type RemoteSyslogTimeFormatEnum string
RemoteSyslogTimeFormatEnum is a string enum. enum: `millisecond`, `year`, `year millisecond`
const ( RemoteSyslogTimeFormatEnum_MILLISECOND RemoteSyslogTimeFormatEnum = "millisecond" RemoteSyslogTimeFormatEnum_YEAR RemoteSyslogTimeFormatEnum = "year" RemoteSyslogTimeFormatEnum_ENUMYEARMILLISECOND RemoteSyslogTimeFormatEnum = "year millisecond" )
type RemoteSyslogUser ¶
type RemoteSyslogUser struct { Contents []RemoteSyslogContent `json:"contents,omitempty"` Match *string `json:"match,omitempty"` User *string `json:"user,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
RemoteSyslogUser represents a RemoteSyslogUser struct.
func (RemoteSyslogUser) MarshalJSON ¶
func (r RemoteSyslogUser) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RemoteSyslogUser. It customizes the JSON marshaling process for RemoteSyslogUser objects.
func (*RemoteSyslogUser) 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]interface{} `json:"_"` }
ReplaceDevice represents a ReplaceDevice struct.
func (ReplaceDevice) MarshalJSON ¶
func (r ReplaceDevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ReplaceDevice. It customizes the JSON marshaling process for ReplaceDevice objects.
func (*ReplaceDevice) 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 ¶ added in v0.2.38
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]interface{} `json:"_"` }
ReponseRouter128tRegisterCmd represents a ReponseRouter128tRegisterCmd struct.
func (ReponseRouter128tRegisterCmd) MarshalJSON ¶ added in v0.2.38
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 ¶ added in v0.2.38
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 { // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` Message *string `json:"message,omitempty"` Status *string `json:"status,omitempty"` AdditionalProperties map[string]interface{} `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]interface{} `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]interface{} `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. enum: `default`, `fine`
const ( ResolutionEnum_ENUMDEFAULT ResolutionEnum = "default" ResolutionEnum_FINE ResolutionEnum = "fine" )
type ResponseAnomalySearch ¶
type ResponseAnomalySearch struct { End int `json:"end"` Limit int `json:"limit"` Page int `json:"page"` Results []Anomaly `json:"results"` Start int `json:"start"` Total *int `json:"total,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseAnomalySearch represents a ResponseAnomalySearch struct.
func (ResponseAnomalySearch) MarshalJSON ¶
func (r ResponseAnomalySearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseAnomalySearch. It customizes the JSON marshaling process for ResponseAnomalySearch objects.
func (*ResponseAnomalySearch) UnmarshalJSON ¶
func (r *ResponseAnomalySearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseAnomalySearch. It customizes the JSON unmarshaling process for ResponseAnomalySearch objects.
type ResponseAssignSuccess ¶
type ResponseAssignSuccess struct { Success []string `json:"success"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseAssignSuccess represents a ResponseAssignSuccess struct.
func (ResponseAssignSuccess) MarshalJSON ¶
func (r ResponseAssignSuccess) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseAssignSuccess. It customizes the JSON marshaling process for ResponseAssignSuccess objects.
func (*ResponseAssignSuccess) UnmarshalJSON ¶
func (r *ResponseAssignSuccess) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseAssignSuccess. It customizes the JSON unmarshaling process for ResponseAssignSuccess objects.
type ResponseAsyncLicense ¶ added in v0.4.17
type ResponseAsyncLicense struct { Completed []string `json:"completed,omitempty"` // detail claim status per device Detail *ResponseAsyncLicenseDetail `json:"detail,omitempty"` // current failed number of device Failed *int `json:"failed,omitempty"` // current incompleted lists (macs) Incompleted []string `json:"incompleted,omitempty"` // current proceseed number of device Processed *int `json:"processed,omitempty"` // epoch time of aysnc claim scheduled ScheduledAt *int `json:"scheduled_at,omitempty"` // processing status of async. enum: `prepared`, `ongoing`, `done` Status *ResponseAsyncLicenseStatusEnum `json:"status,omitempty"` // current succeed number of device Succeed *int `json:"succeed,omitempty"` // epoch time of last reporting time Timestamp *int `json:"timestamp,omitempty"` // total number of device included in claim Total *int `json:"total,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseAsyncLicense represents a ResponseAsyncLicense struct.
func (ResponseAsyncLicense) MarshalJSON ¶ added in v0.4.17
func (r ResponseAsyncLicense) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseAsyncLicense. It customizes the JSON marshaling process for ResponseAsyncLicense objects.
func (*ResponseAsyncLicense) UnmarshalJSON ¶ added in v0.4.17
func (r *ResponseAsyncLicense) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseAsyncLicense. It customizes the JSON unmarshaling process for ResponseAsyncLicense objects.
type ResponseAsyncLicenseDetail ¶ added in v0.4.17
type ResponseAsyncLicenseDetail struct { // device MAC Address Mac *string `json:"mac,omitempty"` Status *string `json:"status,omitempty"` Timestamp *float64 `json:"timestamp,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseAsyncLicenseDetail represents a ResponseAsyncLicenseDetail struct. detail claim status per device
func (ResponseAsyncLicenseDetail) MarshalJSON ¶ added in v0.4.17
func (r ResponseAsyncLicenseDetail) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseAsyncLicenseDetail. It customizes the JSON marshaling process for ResponseAsyncLicenseDetail objects.
func (*ResponseAsyncLicenseDetail) UnmarshalJSON ¶ added in v0.4.17
func (r *ResponseAsyncLicenseDetail) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseAsyncLicenseDetail. It customizes the JSON unmarshaling process for ResponseAsyncLicenseDetail objects.
type ResponseAsyncLicenseStatusEnum ¶ added in v0.4.17
type ResponseAsyncLicenseStatusEnum string
ResponseAsyncLicenseStatusEnum is a string enum. processing status of async. enum: `prepared`, `ongoing`, `done`
const ( ResponseAsyncLicenseStatusEnum_PREPARED ResponseAsyncLicenseStatusEnum = "prepared" ResponseAsyncLicenseStatusEnum_ONGOING ResponseAsyncLicenseStatusEnum = "ongoing" ResponseAsyncLicenseStatusEnum_DONE ResponseAsyncLicenseStatusEnum = "done" )
type ResponseAutoOrientation ¶
type ResponseAutoOrientation struct { // The state of auto orient for a given map derived from an Enum. enum: `Enqueued`, `Not Started`, `Oriented` 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]interface{} `json:"_"` }
ResponseAutoOrientation represents a ResponseAutoOrientation struct.
func (ResponseAutoOrientation) MarshalJSON ¶
func (r ResponseAutoOrientation) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseAutoOrientation. It customizes the JSON marshaling process for ResponseAutoOrientation objects.
func (*ResponseAutoOrientation) 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. enum: `done`, `error`, `inprogress`, `pending` Status *AutoPlacementInfoStatusEnum `json:"status,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseAutoPlacementInfo represents a ResponseAutoPlacementInfo struct.
func (ResponseAutoPlacementInfo) MarshalJSON ¶
func (r ResponseAutoPlacementInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseAutoPlacementInfo. It customizes the JSON marshaling process for ResponseAutoPlacementInfo objects.
func (*ResponseAutoPlacementInfo) UnmarshalJSON ¶
func (r *ResponseAutoPlacementInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseAutoPlacementInfo. It customizes the JSON unmarshaling process for ResponseAutoPlacementInfo objects.
type ResponseAutoZone ¶ added in v0.4.0
type ResponseAutoZone struct { // The status for the auto zones service for a given map. enum: // * not_started: The auto zones service has not been run on this map or the results were cleared by the user // * in_progress: The auto zones service is currently in progress // * awaiting_review: The auto zones service has completed and suggested location zones to be added to the map // * error: There was an error with the auto zones service Status *ResponseAutoZoneStatusEnum `json:"status,omitempty"` Zones []ResponseAutoZoneZone `json:"zones,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseAutoZone represents a ResponseAutoZone struct.
func (ResponseAutoZone) MarshalJSON ¶ added in v0.4.0
func (r ResponseAutoZone) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseAutoZone. It customizes the JSON marshaling process for ResponseAutoZone objects.
func (*ResponseAutoZone) UnmarshalJSON ¶ added in v0.4.0
func (r *ResponseAutoZone) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseAutoZone. It customizes the JSON unmarshaling process for ResponseAutoZone objects.
type ResponseAutoZoneStatusEnum ¶ added in v0.4.0
type ResponseAutoZoneStatusEnum string
ResponseAutoZoneStatusEnum is a string enum. The status for the auto zones service for a given map. enum: * not_started: The auto zones service has not been run on this map or the results were cleared by the user * in_progress: The auto zones service is currently in progress * awaiting_review: The auto zones service has completed and suggested location zones to be added to the map * error: There was an error with the auto zones service
const ( ResponseAutoZoneStatusEnum_INPROGRESS ResponseAutoZoneStatusEnum = "in_progress" ResponseAutoZoneStatusEnum_AWAITINGREVIEW ResponseAutoZoneStatusEnum = "awaiting_review" ResponseAutoZoneStatusEnum_NOTSTARTED ResponseAutoZoneStatusEnum = "not_started" ResponseAutoZoneStatusEnum_ENUMERROR ResponseAutoZoneStatusEnum = "error" )
type ResponseAutoZoneZone ¶ added in v0.4.0
type ResponseAutoZoneZone struct { // The name of the suggested zone Name *string `json:"name,omitempty"` // A list of of points comprising the zones map location in pixels Vertices []ResponseAutoZoneZoneVertex `json:"vertices,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseAutoZoneZone represents a ResponseAutoZoneZone struct. A list of suggested zones to review and accept for a given map
func (ResponseAutoZoneZone) MarshalJSON ¶ added in v0.4.0
func (r ResponseAutoZoneZone) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseAutoZoneZone. It customizes the JSON marshaling process for ResponseAutoZoneZone objects.
func (*ResponseAutoZoneZone) UnmarshalJSON ¶ added in v0.4.0
func (r *ResponseAutoZoneZone) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseAutoZoneZone. It customizes the JSON unmarshaling process for ResponseAutoZoneZone objects.
type ResponseAutoZoneZoneVertex ¶ added in v0.4.4
type ResponseAutoZoneZoneVertex struct { X *int `json:"x,omitempty"` Y *int `json:"y,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseAutoZoneZoneVertex represents a ResponseAutoZoneZoneVertex struct.
func (ResponseAutoZoneZoneVertex) MarshalJSON ¶ added in v0.4.4
func (r ResponseAutoZoneZoneVertex) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseAutoZoneZoneVertex. It customizes the JSON marshaling process for ResponseAutoZoneZoneVertex objects.
func (*ResponseAutoZoneZoneVertex) UnmarshalJSON ¶ added in v0.4.4
func (r *ResponseAutoZoneZoneVertex) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseAutoZoneZoneVertex. It customizes the JSON unmarshaling process for ResponseAutoZoneZoneVertex objects.
type ResponseCertificate ¶
type ResponseCertificate struct { Cert string `json:"cert"` AdditionalProperties map[string]interface{} `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]interface{} `json:"_"` }
ResponseClaimLicense represents a ResponseClaimLicense struct.
func (ResponseClaimLicense) MarshalJSON ¶
func (r ResponseClaimLicense) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseClaimLicense. It customizes the JSON marshaling process for ResponseClaimLicense objects.
func (*ResponseClaimLicense) UnmarshalJSON ¶
func (r *ResponseClaimLicense) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseClaimLicense. It customizes the JSON unmarshaling process for ResponseClaimLicense objects.
type ResponseClaimLicenseInventoryItem ¶
type ResponseClaimLicenseInventoryItem struct { Mac string `json:"mac"` Magic string `json:"magic"` Model string `json:"model"` Serial string `json:"serial"` Type string `json:"type"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseClaimLicenseInventoryItem represents a ResponseClaimLicenseInventoryItem struct.
func (ResponseClaimLicenseInventoryItem) MarshalJSON ¶
func (r ResponseClaimLicenseInventoryItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseClaimLicenseInventoryItem. It customizes the JSON marshaling process for ResponseClaimLicenseInventoryItem objects.
func (*ResponseClaimLicenseInventoryItem) 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]interface{} `json:"_"` }
ResponseClaimLicenseLicenseErrorItem represents a ResponseClaimLicenseLicenseErrorItem struct.
func (ResponseClaimLicenseLicenseErrorItem) MarshalJSON ¶
func (r ResponseClaimLicenseLicenseErrorItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseClaimLicenseLicenseErrorItem. It customizes the JSON marshaling process for ResponseClaimLicenseLicenseErrorItem objects.
func (*ResponseClaimLicenseLicenseErrorItem) UnmarshalJSON ¶
func (r *ResponseClaimLicenseLicenseErrorItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseClaimLicenseLicenseErrorItem. It customizes the JSON unmarshaling process for ResponseClaimLicenseLicenseErrorItem objects.
type ResponseClaimLicenseLicenseItem ¶
type ResponseClaimLicenseLicenseItem struct { End int `json:"end"` Quantity int `json:"quantity"` Start int `json:"start"` Type string `json:"type"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseClaimLicenseLicenseItem represents a ResponseClaimLicenseLicenseItem struct.
func (ResponseClaimLicenseLicenseItem) MarshalJSON ¶
func (r ResponseClaimLicenseLicenseItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseClaimLicenseLicenseItem. It customizes the JSON marshaling process for ResponseClaimLicenseLicenseItem objects.
func (*ResponseClaimLicenseLicenseItem) UnmarshalJSON ¶
func (r *ResponseClaimLicenseLicenseItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseClaimLicenseLicenseItem. It customizes the JSON unmarshaling process for ResponseClaimLicenseLicenseItem objects.
type ResponseClaimMxEdge ¶
type ResponseClaimMxEdge struct { // Unique ID of the object instance in the Mist Organnization Id uuid.UUID `json:"id"` Magic string `json:"magic"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseClaimMxEdge represents a ResponseClaimMxEdge struct.
func (ResponseClaimMxEdge) MarshalJSON ¶
func (r ResponseClaimMxEdge) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseClaimMxEdge. It customizes the JSON marshaling process for ResponseClaimMxEdge objects.
func (*ResponseClaimMxEdge) UnmarshalJSON ¶
func (r *ResponseClaimMxEdge) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseClaimMxEdge. It customizes the JSON unmarshaling process for ResponseClaimMxEdge objects.
type ResponseClientEventsSearch ¶
type ResponseClientEventsSearch struct { End int `json:"end"` Limit int `json:"limit"` Next *string `json:"next,omitempty"` Results []EventsClient `json:"results"` Start int `json:"start"` Total int `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseClientEventsSearch represents a ResponseClientEventsSearch struct.
func (ResponseClientEventsSearch) MarshalJSON ¶
func (r ResponseClientEventsSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseClientEventsSearch. It customizes the JSON marshaling process for ResponseClientEventsSearch objects.
func (*ResponseClientEventsSearch) 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]interface{} `json:"_"` }
ResponseClientNacSearch represents a ResponseClientNacSearch struct.
func (ResponseClientNacSearch) MarshalJSON ¶
func (r ResponseClientNacSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseClientNacSearch. It customizes the JSON marshaling process for ResponseClientNacSearch objects.
func (*ResponseClientNacSearch) UnmarshalJSON ¶
func (r *ResponseClientNacSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseClientNacSearch. It customizes the JSON unmarshaling process for ResponseClientNacSearch objects.
type ResponseClientSearch ¶
type ResponseClientSearch struct { End float64 `json:"end"` Limit int `json:"limit"` Next *string `json:"next,omitempty"` Results []ClientWireless `json:"results"` Start float64 `json:"start"` Total int `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseClientSearch represents a ResponseClientSearch struct.
func (ResponseClientSearch) MarshalJSON ¶
func (r ResponseClientSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseClientSearch. It customizes the JSON marshaling process for ResponseClientSearch objects.
func (*ResponseClientSearch) UnmarshalJSON ¶
func (r *ResponseClientSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseClientSearch. It customizes the JSON unmarshaling process for ResponseClientSearch objects.
type ResponseClientSessionsSearch ¶
type ResponseClientSessionsSearch struct { End int `json:"end"` Limit int `json:"limit"` Next *string `json:"next,omitempty"` Results []ResponseClientSessionsSearchItem `json:"results"` Start int `json:"start"` Total int `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseClientSessionsSearch represents a ResponseClientSessionsSearch struct.
func (ResponseClientSessionsSearch) MarshalJSON ¶
func (r ResponseClientSessionsSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseClientSessionsSearch. It customizes the JSON marshaling process for ResponseClientSessionsSearch objects.
func (*ResponseClientSessionsSearch) 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]interface{} `json:"_"` }
ResponseClientSessionsSearchItem represents a ResponseClientSessionsSearchItem struct.
func (ResponseClientSessionsSearchItem) MarshalJSON ¶
func (r ResponseClientSessionsSearchItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseClientSessionsSearchItem. It customizes the JSON marshaling process for ResponseClientSessionsSearchItem objects.
func (*ResponseClientSessionsSearchItem) UnmarshalJSON ¶
func (r *ResponseClientSessionsSearchItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseClientSessionsSearchItem. It customizes the JSON unmarshaling process for ResponseClientSessionsSearchItem objects.
type ResponseConfigHistorySearch ¶
type ResponseConfigHistorySearch struct { End int `json:"end"` Limit int `json:"limit"` Next *string `json:"next,omitempty"` Results []ResponseConfigHistorySearchItem `json:"results"` Start int `json:"start"` Total int `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseConfigHistorySearch represents a ResponseConfigHistorySearch struct.
func (ResponseConfigHistorySearch) MarshalJSON ¶
func (r ResponseConfigHistorySearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseConfigHistorySearch. It customizes the JSON marshaling process for ResponseConfigHistorySearch objects.
func (*ResponseConfigHistorySearch) 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]interface{} `json:"_"` }
ResponseConfigHistorySearchItem represents a ResponseConfigHistorySearchItem struct.
func (ResponseConfigHistorySearchItem) MarshalJSON ¶
func (r ResponseConfigHistorySearchItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseConfigHistorySearchItem. It customizes the JSON marshaling process for ResponseConfigHistorySearchItem objects.
func (*ResponseConfigHistorySearchItem) UnmarshalJSON ¶
func (r *ResponseConfigHistorySearchItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseConfigHistorySearchItem. It customizes the JSON unmarshaling process for ResponseConfigHistorySearchItem objects.
type ResponseConfigHistorySearchItemRadio ¶
type ResponseConfigHistorySearchItemRadio struct { Band string `json:"band"` Channel int `json:"channel"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseConfigHistorySearchItemRadio represents a ResponseConfigHistorySearchItemRadio struct.
func (ResponseConfigHistorySearchItemRadio) MarshalJSON ¶
func (r ResponseConfigHistorySearchItemRadio) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseConfigHistorySearchItemRadio. It customizes the JSON marshaling process for ResponseConfigHistorySearchItemRadio objects.
func (*ResponseConfigHistorySearchItemRadio) UnmarshalJSON ¶
func (r *ResponseConfigHistorySearchItemRadio) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseConfigHistorySearchItemRadio. It customizes the JSON unmarshaling process for ResponseConfigHistorySearchItemRadio objects.
type ResponseConfigHistorySearchItemWlan ¶
type ResponseConfigHistorySearchItemWlan struct { Auth string `json:"auth"` Bands []string `json:"bands,omitempty"` // Unique ID of the object instance in the Mist Organnization Id uuid.UUID `json:"id"` Ssid string `json:"ssid"` VlanIds []string `json:"vlan_ids,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseConfigHistorySearchItemWlan represents a ResponseConfigHistorySearchItemWlan struct.
func (ResponseConfigHistorySearchItemWlan) MarshalJSON ¶
func (r ResponseConfigHistorySearchItemWlan) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseConfigHistorySearchItemWlan. It customizes the JSON marshaling process for ResponseConfigHistorySearchItemWlan objects.
func (*ResponseConfigHistorySearchItemWlan) 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]interface{} `json:"_"` }
ResponseCountMarvisActions represents a ResponseCountMarvisActions struct.
func (ResponseCountMarvisActions) MarshalJSON ¶
func (r ResponseCountMarvisActions) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseCountMarvisActions. It customizes the JSON marshaling process for ResponseCountMarvisActions objects.
func (*ResponseCountMarvisActions) UnmarshalJSON ¶
func (r *ResponseCountMarvisActions) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseCountMarvisActions. It customizes the JSON unmarshaling process for ResponseCountMarvisActions objects.
type ResponseCountMarvisActionsResult ¶
type ResponseCountMarvisActionsResult struct { Count *int `json:"count,omitempty"` AdditionalProperties map[string]string `json:"_"` }
ResponseCountMarvisActionsResult represents a ResponseCountMarvisActionsResult struct.
func (ResponseCountMarvisActionsResult) MarshalJSON ¶
func (r ResponseCountMarvisActionsResult) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseCountMarvisActionsResult. It customizes the JSON marshaling process for ResponseCountMarvisActionsResult objects.
func (*ResponseCountMarvisActionsResult) 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]interface{} `json:"_"` }
ResponseDeviceBiosUpgrade represents a ResponseDeviceBiosUpgrade struct.
func (ResponseDeviceBiosUpgrade) MarshalJSON ¶
func (r ResponseDeviceBiosUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDeviceBiosUpgrade. It customizes the JSON marshaling process for ResponseDeviceBiosUpgrade objects.
func (*ResponseDeviceBiosUpgrade) UnmarshalJSON ¶
func (r *ResponseDeviceBiosUpgrade) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseDeviceBiosUpgrade. It customizes the JSON unmarshaling process for ResponseDeviceBiosUpgrade objects.
type ResponseDeviceConfigCli ¶
type ResponseDeviceConfigCli struct { Cli []string `json:"cli"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseDeviceConfigCli represents a ResponseDeviceConfigCli struct.
func (ResponseDeviceConfigCli) MarshalJSON ¶
func (r ResponseDeviceConfigCli) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDeviceConfigCli. It customizes the JSON marshaling process for ResponseDeviceConfigCli objects.
func (*ResponseDeviceConfigCli) UnmarshalJSON ¶
func (r *ResponseDeviceConfigCli) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseDeviceConfigCli. It customizes the JSON unmarshaling process for ResponseDeviceConfigCli objects.
type ResponseDeviceConfigCmd ¶
type ResponseDeviceConfigCmd struct { Cmd string `json:"cmd"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseDeviceConfigCmd represents a ResponseDeviceConfigCmd struct.
func (ResponseDeviceConfigCmd) MarshalJSON ¶
func (r ResponseDeviceConfigCmd) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDeviceConfigCmd. It customizes the JSON marshaling process for ResponseDeviceConfigCmd objects.
func (*ResponseDeviceConfigCmd) 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]interface{} `json:"_"` }
ResponseDeviceEventsSearch represents a ResponseDeviceEventsSearch struct.
func (ResponseDeviceEventsSearch) MarshalJSON ¶
func (r ResponseDeviceEventsSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDeviceEventsSearch. It customizes the JSON marshaling process for ResponseDeviceEventsSearch objects.
func (*ResponseDeviceEventsSearch) 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 []ResponseDeviceMetricsResultsItems `json:"results"` Rt []string `json:"rt,omitempty"` Start int `json:"start"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseDeviceMetrics represents a ResponseDeviceMetrics struct.
func (ResponseDeviceMetrics) MarshalJSON ¶
func (r ResponseDeviceMetrics) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDeviceMetrics. It customizes the JSON marshaling process for ResponseDeviceMetrics objects.
func (*ResponseDeviceMetrics) UnmarshalJSON ¶
func (r *ResponseDeviceMetrics) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseDeviceMetrics. It customizes the JSON unmarshaling process for ResponseDeviceMetrics objects.
type ResponseDeviceMetricsResultsItems ¶ added in v0.2.38
type ResponseDeviceMetricsResultsItems struct {
// contains filtered or unexported fields
}
ResponseDeviceMetricsResultsItems represents a ResponseDeviceMetricsResultsItems struct.
func (*ResponseDeviceMetricsResultsItems) AsNumber ¶ added in v0.2.38
func (r *ResponseDeviceMetricsResultsItems) AsNumber() ( *int, bool)
func (*ResponseDeviceMetricsResultsItems) AsString ¶ added in v0.2.38
func (r *ResponseDeviceMetricsResultsItems) AsString() ( *string, bool)
func (ResponseDeviceMetricsResultsItems) MarshalJSON ¶ added in v0.2.38
func (r ResponseDeviceMetricsResultsItems) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDeviceMetricsResultsItems. It customizes the JSON marshaling process for ResponseDeviceMetricsResultsItems objects.
func (ResponseDeviceMetricsResultsItems) String ¶ added in v0.2.38
func (r ResponseDeviceMetricsResultsItems) String() string
String converts the ResponseDeviceMetricsResultsItems object to a string representation.
func (*ResponseDeviceMetricsResultsItems) UnmarshalJSON ¶ added in v0.2.38
func (r *ResponseDeviceMetricsResultsItems) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseDeviceMetricsResultsItems. It customizes the JSON unmarshaling process for ResponseDeviceMetricsResultsItems objects.
type ResponseDeviceRadioChannels ¶
type ResponseDeviceRadioChannels struct { Band2440mhzAllowed bool `json:"band24_40mhz_allowed"` // Property key is the channel width Band24Channels map[string]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]interface{} `json:"_"` }
ResponseDeviceRadioChannels represents a ResponseDeviceRadioChannels struct.
func (ResponseDeviceRadioChannels) MarshalJSON ¶
func (r ResponseDeviceRadioChannels) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDeviceRadioChannels. It customizes the JSON marshaling process for ResponseDeviceRadioChannels objects.
func (*ResponseDeviceRadioChannels) UnmarshalJSON ¶
func (r *ResponseDeviceRadioChannels) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseDeviceRadioChannels. It customizes the JSON unmarshaling process for ResponseDeviceRadioChannels objects.
type ResponseDeviceSearch ¶
type ResponseDeviceSearch struct { End int `json:"end"` Limit int `json:"limit"` Next *string `json:"next,omitempty"` Results []ResponseDeviceSearchResultsItems `json:"results"` Start int `json:"start"` Total int `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseDeviceSearch represents a ResponseDeviceSearch struct.
func (ResponseDeviceSearch) MarshalJSON ¶
func (r ResponseDeviceSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDeviceSearch. It customizes the JSON marshaling process for ResponseDeviceSearch objects.
func (*ResponseDeviceSearch) UnmarshalJSON ¶
func (r *ResponseDeviceSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseDeviceSearch. It customizes the JSON unmarshaling process for ResponseDeviceSearch objects.
type ResponseDeviceSearchResultsItems ¶
type ResponseDeviceSearchResultsItems struct {
// contains filtered or unexported fields
}
ResponseDeviceSearchResultsItems represents a ResponseDeviceSearchResultsItems struct.
func (*ResponseDeviceSearchResultsItems) AsApSearch ¶ added in v0.3.0
func (r *ResponseDeviceSearchResultsItems) AsApSearch() ( *ApSearch, bool)
func (*ResponseDeviceSearchResultsItems) AsGatewaySearch ¶ added in v0.3.0
func (r *ResponseDeviceSearchResultsItems) AsGatewaySearch() ( *GatewaySearch, bool)
func (*ResponseDeviceSearchResultsItems) AsSwitchSearch ¶ added in v0.3.0
func (r *ResponseDeviceSearchResultsItems) AsSwitchSearch() ( *SwitchSearch, bool)
func (ResponseDeviceSearchResultsItems) MarshalJSON ¶
func (r ResponseDeviceSearchResultsItems) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDeviceSearchResultsItems. It customizes the JSON marshaling process for ResponseDeviceSearchResultsItems objects.
func (ResponseDeviceSearchResultsItems) String ¶ added in v0.3.0
func (r ResponseDeviceSearchResultsItems) String() string
String converts the ResponseDeviceSearchResultsItems object to a string representation.
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"` // enum: `error`, `inprogress`, `scheduled`, `starting`, `success` Staus *ResponseDeviceSnapshotStatusEnum `json:"staus,omitempty"` Timestamp *float64 `json:"timestamp,omitempty"` AdditionalProperties map[string]interface{} `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. enum: `error`, `inprogress`, `scheduled`, `starting`, `success`
const ( ResponseDeviceSnapshotStatusEnum_ENUMERROR ResponseDeviceSnapshotStatusEnum = "error" ResponseDeviceSnapshotStatusEnum_INPROGRESS ResponseDeviceSnapshotStatusEnum = "inprogress" ResponseDeviceSnapshotStatusEnum_SCHEDULED ResponseDeviceSnapshotStatusEnum = "scheduled" ResponseDeviceSnapshotStatusEnum_STARTING ResponseDeviceSnapshotStatusEnum = "starting" ResponseDeviceSnapshotStatusEnum_SUCCESS ResponseDeviceSnapshotStatusEnum = "success" )
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 of the object instance in the Mist Organnization 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. enum: `cancelled`, `completed`, `created`, `downloaded`, `downloading`, `failed`, `upgrading` Status *DeviceUpgradeStatusEnum `json:"status,omitempty"` // enum: `big_bang` (upgrade all at once), `canary`, `rrm`, `serial` (one at a time) 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]interface{} `json:"_"` }
ResponseDeviceUpgrade represents a ResponseDeviceUpgrade struct.
func (ResponseDeviceUpgrade) MarshalJSON ¶
func (r ResponseDeviceUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDeviceUpgrade. It customizes the JSON marshaling process for ResponseDeviceUpgrade objects.
func (*ResponseDeviceUpgrade) 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]interface{} `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]interface{} `json:"_"` }
ResponseDiscoveredSwitchMetrics represents a ResponseDiscoveredSwitchMetrics struct.
func (ResponseDiscoveredSwitchMetrics) MarshalJSON ¶
func (r ResponseDiscoveredSwitchMetrics) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDiscoveredSwitchMetrics. It customizes the JSON marshaling process for ResponseDiscoveredSwitchMetrics objects.
func (*ResponseDiscoveredSwitchMetrics) UnmarshalJSON ¶
func (r *ResponseDiscoveredSwitchMetrics) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseDiscoveredSwitchMetrics. It customizes the JSON unmarshaling process for ResponseDiscoveredSwitchMetrics objects.
type ResponseDiscoveredSwitches ¶
type ResponseDiscoveredSwitches struct { End float64 `json:"end"` Limit int `json:"limit"` Next *string `json:"next,omitempty"` Results []DiscoveredSwitch `json:"results"` Start float64 `json:"start"` Total int `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseDiscoveredSwitches represents a ResponseDiscoveredSwitches struct.
func (ResponseDiscoveredSwitches) MarshalJSON ¶
func (r ResponseDiscoveredSwitches) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDiscoveredSwitches. It customizes the JSON marshaling process for ResponseDiscoveredSwitches objects.
func (*ResponseDiscoveredSwitches) UnmarshalJSON ¶
func (r *ResponseDiscoveredSwitches) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseDiscoveredSwitches. It customizes the JSON unmarshaling process for ResponseDiscoveredSwitches objects.
type ResponseDswitchesMetrics ¶
type ResponseDswitchesMetrics struct { InactiveWiredVlans DswitchesMetricsInactiveWiredVlans `json:"inactive_wired_vlans"` PoeCompliance DswitchesMetricsPoeCompliance `json:"poe_compliance"` SwitchApAffinity DswitchesMetricsSwitchApAffinity `json:"switch_ap_affinity"` VersionCompliance DswitchesMetricsVersionCompliance `json:"version_compliance"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseDswitchesMetrics represents a ResponseDswitchesMetrics struct.
func (ResponseDswitchesMetrics) MarshalJSON ¶
func (r ResponseDswitchesMetrics) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseDswitchesMetrics. It customizes the JSON marshaling process for ResponseDswitchesMetrics objects.
func (*ResponseDswitchesMetrics) 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]interface{} `json:"_"` }
ResponseEventsDevices represents a ResponseEventsDevices struct.
func (ResponseEventsDevices) MarshalJSON ¶
func (r ResponseEventsDevices) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseEventsDevices. It customizes the JSON marshaling process for ResponseEventsDevices objects.
func (*ResponseEventsDevices) 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]interface{} `json:"_"` }
ResponseEventsFastroam represents a ResponseEventsFastroam struct.
func (ResponseEventsFastroam) MarshalJSON ¶
func (r ResponseEventsFastroam) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseEventsFastroam. It customizes the JSON marshaling process for ResponseEventsFastroam objects.
func (*ResponseEventsFastroam) 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]interface{} `json:"_"` }
ResponseEventsNacClientSearch represents a ResponseEventsNacClientSearch struct.
func (ResponseEventsNacClientSearch) MarshalJSON ¶
func (r ResponseEventsNacClientSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseEventsNacClientSearch. It customizes the JSON marshaling process for ResponseEventsNacClientSearch objects.
func (*ResponseEventsNacClientSearch) 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]interface{} `json:"_"` }
ResponseEventsOrgsSearch represents a ResponseEventsOrgsSearch struct.
func (ResponseEventsOrgsSearch) MarshalJSON ¶
func (r ResponseEventsOrgsSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseEventsOrgsSearch. It customizes the JSON marshaling process for ResponseEventsOrgsSearch objects.
func (*ResponseEventsOrgsSearch) 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]interface{} `json:"_"` }
ResponseEventsOtherDevicesSearch represents a ResponseEventsOtherDevicesSearch struct.
func (ResponseEventsOtherDevicesSearch) MarshalJSON ¶
func (r ResponseEventsOtherDevicesSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseEventsOtherDevicesSearch. It customizes the JSON marshaling process for ResponseEventsOtherDevicesSearch objects.
func (*ResponseEventsOtherDevicesSearch) 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]interface{} `json:"_"` }
ResponseEventsPathSearch represents a ResponseEventsPathSearch struct.
func (ResponseEventsPathSearch) MarshalJSON ¶
func (r ResponseEventsPathSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseEventsPathSearch. It customizes the JSON marshaling process for ResponseEventsPathSearch objects.
func (*ResponseEventsPathSearch) UnmarshalJSON ¶
func (r *ResponseEventsPathSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseEventsPathSearch. It customizes the JSON unmarshaling process for ResponseEventsPathSearch objects.
type ResponseEventsRogueSearch ¶
type ResponseEventsRogueSearch struct { End int `json:"end"` Limit int `json:"limit"` Next *string `json:"next,omitempty"` Results []EventsRogue `json:"results"` Start int `json:"start"` Total int `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseEventsRogueSearch represents a ResponseEventsRogueSearch struct.
func (ResponseEventsRogueSearch) MarshalJSON ¶
func (r ResponseEventsRogueSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseEventsRogueSearch. It customizes the JSON marshaling process for ResponseEventsRogueSearch objects.
func (*ResponseEventsRogueSearch) 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]interface{} `json:"_"` }
ResponseEventsRrm represents a ResponseEventsRrm struct.
func (ResponseEventsRrm) MarshalJSON ¶
func (r ResponseEventsRrm) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseEventsRrm. It customizes the JSON marshaling process for ResponseEventsRrm objects.
func (*ResponseEventsRrm) UnmarshalJSON ¶
func (r *ResponseEventsRrm) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseEventsRrm. It customizes the JSON unmarshaling process for ResponseEventsRrm objects.
type ResponseEventsSearch ¶
type ResponseEventsSearch struct { End int `json:"end"` Limit int `json:"limit"` Next *string `json:"next,omitempty"` Results []EventsClient `json:"results"` Start int `json:"start"` Total int `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseEventsSearch represents a ResponseEventsSearch struct.
func (ResponseEventsSearch) MarshalJSON ¶
func (r ResponseEventsSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseEventsSearch. It customizes the JSON marshaling process for ResponseEventsSearch objects.
func (*ResponseEventsSearch) UnmarshalJSON ¶
func (r *ResponseEventsSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseEventsSearch. It customizes the JSON unmarshaling process for ResponseEventsSearch objects.
type ResponseEventsSkyAtpSearch ¶
type ResponseEventsSkyAtpSearch struct { End int `json:"end"` Limit int `json:"limit"` Next *string `json:"next,omitempty"` Results []EventsSkyatp `json:"results"` Start int `json:"start"` Total int `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseEventsSkyAtpSearch represents a ResponseEventsSkyAtpSearch struct.
func (ResponseEventsSkyAtpSearch) MarshalJSON ¶
func (r ResponseEventsSkyAtpSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseEventsSkyAtpSearch. It customizes the JSON marshaling process for ResponseEventsSkyAtpSearch objects.
func (*ResponseEventsSkyAtpSearch) 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]interface{} `json:"_"` }
ResponseGuestSearch represents a ResponseGuestSearch struct.
func (ResponseGuestSearch) MarshalJSON ¶
func (r ResponseGuestSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseGuestSearch. It customizes the JSON marshaling process for ResponseGuestSearch objects.
func (*ResponseGuestSearch) UnmarshalJSON ¶
func (r *ResponseGuestSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseGuestSearch. It customizes the JSON unmarshaling process for ResponseGuestSearch objects.
type ResponseInsightRogue ¶
type ResponseInsightRogue struct { End int `json:"end"` Limit int `json:"limit"` // link to next set of results. If more results aren’t present, next is null. Next *string `json:"next,omitempty"` Results []InsightRogueAp `json:"results"` Start int `json:"start"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseInsightRogue represents a ResponseInsightRogue struct.
func (ResponseInsightRogue) MarshalJSON ¶
func (r ResponseInsightRogue) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseInsightRogue. It customizes the JSON marshaling process for ResponseInsightRogue objects.
func (*ResponseInsightRogue) 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]interface{} `json:"_"` }
ResponseInsightRogueClient represents a ResponseInsightRogueClient struct.
func (ResponseInsightRogueClient) MarshalJSON ¶
func (r ResponseInsightRogueClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseInsightRogueClient. It customizes the JSON marshaling process for ResponseInsightRogueClient objects.
func (*ResponseInsightRogueClient) UnmarshalJSON ¶
func (r *ResponseInsightRogueClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseInsightRogueClient. It customizes the JSON unmarshaling process for ResponseInsightRogueClient objects.
type ResponseInventory ¶
type ResponseInventory struct { Added []string `json:"added,omitempty"` Duplicated []string `json:"duplicated,omitempty"` Error []string `json:"error,omitempty"` InventoryAdded []ResponseInventoryInventoryAddedItems `json:"inventory_added,omitempty"` InventoryDuplicated []ResponseInventoryInventoryDuplicatedItems `json:"inventory_duplicated,omitempty"` Reason []string `json:"reason,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseInventory represents a ResponseInventory struct.
func (ResponseInventory) MarshalJSON ¶
func (r ResponseInventory) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseInventory. It customizes the JSON marshaling process for ResponseInventory objects.
func (*ResponseInventory) UnmarshalJSON ¶
func (r *ResponseInventory) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseInventory. It customizes the JSON unmarshaling process for ResponseInventory objects.
type ResponseInventoryInventoryAddedItems ¶
type ResponseInventoryInventoryAddedItems struct { Mac string `json:"mac"` Magic string `json:"magic"` Model string `json:"model"` Serial string `json:"serial"` Type string `json:"type"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseInventoryInventoryAddedItems represents a ResponseInventoryInventoryAddedItems struct.
func (ResponseInventoryInventoryAddedItems) MarshalJSON ¶
func (r ResponseInventoryInventoryAddedItems) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseInventoryInventoryAddedItems. It customizes the JSON marshaling process for ResponseInventoryInventoryAddedItems objects.
func (*ResponseInventoryInventoryAddedItems) UnmarshalJSON ¶
func (r *ResponseInventoryInventoryAddedItems) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseInventoryInventoryAddedItems. It customizes the JSON unmarshaling process for ResponseInventoryInventoryAddedItems objects.
type ResponseInventoryInventoryDuplicatedItems ¶
type ResponseInventoryInventoryDuplicatedItems struct { Mac string `json:"mac"` Magic string `json:"magic"` Model string `json:"model"` Serial string `json:"serial"` Type string `json:"type"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseInventoryInventoryDuplicatedItems represents a ResponseInventoryInventoryDuplicatedItems struct.
func (ResponseInventoryInventoryDuplicatedItems) MarshalJSON ¶
func (r ResponseInventoryInventoryDuplicatedItems) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseInventoryInventoryDuplicatedItems. It customizes the JSON marshaling process for ResponseInventoryInventoryDuplicatedItems objects.
func (*ResponseInventoryInventoryDuplicatedItems) 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]interface{} `json:"_"` }
ResponseLocationCoverage represents a ResponseLocationCoverage struct.
func (ResponseLocationCoverage) MarshalJSON ¶
func (r ResponseLocationCoverage) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseLocationCoverage. It customizes the JSON marshaling process for ResponseLocationCoverage objects.
func (*ResponseLocationCoverage) 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]interface{} `json:"_"` }
ResponseLogSearch represents a ResponseLogSearch struct.
func (ResponseLogSearch) MarshalJSON ¶
func (r ResponseLogSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseLogSearch. It customizes the JSON marshaling process for ResponseLogSearch objects.
func (*ResponseLogSearch) 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"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // log message Message string `json:"message"` OrgId uuid.UUID `json:"org_id"` SiteId *uuid.UUID `json:"site_id"` // sender source ip address SrcIp *string `json:"src_ip,omitempty"` // start time, in epoch Timestamp float64 `json:"timestamp"` AdditionalProperties map[string]interface{} `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]interface{} `json:"_"` }
ResponseLoginLookup represents a ResponseLoginLookup struct.
func (ResponseLoginLookup) MarshalJSON ¶
func (r ResponseLoginLookup) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseLoginLookup. It customizes the JSON marshaling process for ResponseLoginLookup objects.
func (*ResponseLoginLookup) UnmarshalJSON ¶
func (r *ResponseLoginLookup) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseLoginLookup. It customizes the JSON unmarshaling process for ResponseLoginLookup objects.
type ResponseLoginOauthUrl ¶
type ResponseLoginOauthUrl struct { AuthorizationUrl string `json:"authorization_url"` ClientId string `json:"client_id"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseLoginOauthUrl represents a ResponseLoginOauthUrl struct.
func (ResponseLoginOauthUrl) MarshalJSON ¶
func (r ResponseLoginOauthUrl) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseLoginOauthUrl. It customizes the JSON marshaling process for ResponseLoginOauthUrl objects.
func (*ResponseLoginOauthUrl) UnmarshalJSON ¶
func (r *ResponseLoginOauthUrl) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseLoginOauthUrl. It customizes the JSON unmarshaling process for ResponseLoginOauthUrl objects.
type ResponseLoginSuccess ¶
type ResponseLoginSuccess struct { Email *string `json:"email,omitempty"` TwoFactorPassed *bool `json:"two_factor_passed,omitempty"` TwoFactorRequired *bool `json:"two_factor_required,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseLoginSuccess represents a ResponseLoginSuccess struct.
func (ResponseLoginSuccess) MarshalJSON ¶
func (r ResponseLoginSuccess) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseLoginSuccess. It customizes the JSON marshaling process for ResponseLoginSuccess objects.
func (*ResponseLoginSuccess) UnmarshalJSON ¶
func (r *ResponseLoginSuccess) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseLoginSuccess. It customizes the JSON unmarshaling process for ResponseLoginSuccess objects.
type ResponseLogout ¶
type ResponseLogout struct { // if configured in SSO as custom_logout_url ForwardUrl *string `json:"forward_url,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseLogout represents a ResponseLogout struct.
func (ResponseLogout) MarshalJSON ¶
func (r ResponseLogout) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseLogout. It customizes the JSON marshaling process for ResponseLogout objects.
func (*ResponseLogout) UnmarshalJSON ¶
func (r *ResponseLogout) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseLogout. It customizes the JSON unmarshaling process for ResponseLogout objects.
type ResponseMapImport ¶
type ResponseMapImport struct { Aps []ResponseMapImportAp `json:"aps"` Floorplans []ResponseMapImportFloorplan `json:"floorplans"` ForSite *bool `json:"for_site,omitempty"` SiteId uuid.UUID `json:"site_id"` Summary ResponseMapImportSummary `json:"summary"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseMapImport represents a ResponseMapImport struct.
func (ResponseMapImport) MarshalJSON ¶
func (r ResponseMapImport) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseMapImport. It customizes the JSON marshaling process for ResponseMapImport objects.
func (*ResponseMapImport) UnmarshalJSON ¶
func (r *ResponseMapImport) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseMapImport. It customizes the JSON unmarshaling process for ResponseMapImport objects.
type ResponseMapImportAp ¶
type ResponseMapImportAp struct { // enum: `assigned-named-placed`, `assigned-placed`, `ignored`, `named-placed`, `placed` Action ResponseMapImportApActionEnum `json:"action"` FloorplanId uuid.UUID `json:"floorplan_id"` Height *float64 `json:"height,omitempty"` Mac string `json:"mac"` MapId uuid.UUID `json:"map_id"` Orientation int `json:"orientation"` Reason *string `json:"reason,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseMapImportAp represents a ResponseMapImportAp struct.
func (ResponseMapImportAp) MarshalJSON ¶
func (r ResponseMapImportAp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseMapImportAp. It customizes the JSON marshaling process for ResponseMapImportAp objects.
func (*ResponseMapImportAp) UnmarshalJSON ¶
func (r *ResponseMapImportAp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseMapImportAp. It customizes the JSON unmarshaling process for ResponseMapImportAp objects.
type ResponseMapImportApActionEnum ¶
type ResponseMapImportApActionEnum string
ResponseMapImportApActionEnum is a string enum. enum: `assigned-named-placed`, `assigned-placed`, `ignored`, `named-placed`, `placed`
const ( ResponseMapImportApActionEnum_ASSIGNEDNAMEDPLACED ResponseMapImportApActionEnum = "assigned-named-placed" ResponseMapImportApActionEnum_ASSIGNEDPLACED ResponseMapImportApActionEnum = "assigned-placed" ResponseMapImportApActionEnum_IGNORED ResponseMapImportApActionEnum = "ignored" ResponseMapImportApActionEnum_NAMEDPLACED ResponseMapImportApActionEnum = "named-placed" ResponseMapImportApActionEnum_PLACED ResponseMapImportApActionEnum = "placed" )
type ResponseMapImportFloorplan ¶
type ResponseMapImportFloorplan struct { Action string `json:"action"` // Unique ID of the object instance in the Mist Organnization Id uuid.UUID `json:"id"` MapId uuid.UUID `json:"map_id"` Name string `json:"name"` Reason *string `json:"reason,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseMapImportFloorplan represents a ResponseMapImportFloorplan struct.
func (ResponseMapImportFloorplan) MarshalJSON ¶
func (r ResponseMapImportFloorplan) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseMapImportFloorplan. It customizes the JSON marshaling process for ResponseMapImportFloorplan objects.
func (*ResponseMapImportFloorplan) UnmarshalJSON ¶
func (r *ResponseMapImportFloorplan) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseMapImportFloorplan. It customizes the JSON unmarshaling process for ResponseMapImportFloorplan objects.
type ResponseMapImportSummary ¶
type ResponseMapImportSummary struct { NumApAssigned int `json:"num_ap_assigned"` NumInvAssigned int `json:"num_inv_assigned"` NumMapAssigned int `json:"num_map_assigned"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseMapImportSummary represents a ResponseMapImportSummary struct.
func (ResponseMapImportSummary) MarshalJSON ¶
func (r ResponseMapImportSummary) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseMapImportSummary. It customizes the JSON marshaling process for ResponseMapImportSummary objects.
func (*ResponseMapImportSummary) UnmarshalJSON ¶
func (r *ResponseMapImportSummary) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseMapImportSummary. It customizes the JSON unmarshaling process for ResponseMapImportSummary objects.
type ResponseMobileVerifySecret ¶
type ResponseMobileVerifySecret struct { Name string `json:"name"` OrgId uuid.UUID `json:"org_id"` Secret string `json:"secret"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseMobileVerifySecret represents a ResponseMobileVerifySecret struct.
func (ResponseMobileVerifySecret) MarshalJSON ¶
func (r ResponseMobileVerifySecret) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseMobileVerifySecret. It customizes the JSON marshaling process for ResponseMobileVerifySecret objects.
func (*ResponseMobileVerifySecret) UnmarshalJSON ¶
func (r *ResponseMobileVerifySecret) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseMobileVerifySecret. It customizes the JSON unmarshaling process for ResponseMobileVerifySecret objects.
type ResponseMspInventoryDevice ¶
type ResponseMspInventoryDevice struct { ForSite *bool `json:"for_site,omitempty"` Mac string `json:"mac"` Model string `json:"model"` OrgId uuid.UUID `json:"org_id"` Serial string `json:"serial"` SiteId uuid.UUID `json:"site_id"` Type string `json:"type"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseMspInventoryDevice represents a ResponseMspInventoryDevice struct.
func (ResponseMspInventoryDevice) MarshalJSON ¶
func (r ResponseMspInventoryDevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseMspInventoryDevice. It customizes the JSON marshaling process for ResponseMspInventoryDevice objects.
func (*ResponseMspInventoryDevice) 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]interface{} `json:"_"` }
ResponseMxedgeEventsSearch represents a ResponseMxedgeEventsSearch struct.
func (ResponseMxedgeEventsSearch) MarshalJSON ¶
func (r ResponseMxedgeEventsSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseMxedgeEventsSearch. It customizes the JSON marshaling process for ResponseMxedgeEventsSearch objects.
func (*ResponseMxedgeEventsSearch) 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 []StatsMxedge `json:"results,omitempty"` Start *int `json:"start,omitempty"` Total *int `json:"total,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseMxedgeSearch represents a ResponseMxedgeSearch struct.
func (ResponseMxedgeSearch) MarshalJSON ¶
func (r ResponseMxedgeSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseMxedgeSearch. It customizes the JSON marshaling process for ResponseMxedgeSearch objects.
func (*ResponseMxedgeSearch) UnmarshalJSON ¶
func (r *ResponseMxedgeSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseMxedgeSearch. It customizes the JSON unmarshaling process for ResponseMxedgeSearch objects.
type ResponseMxedgeUpgrade ¶
type ResponseMxedgeUpgrade struct { Channel string `json:"channel"` Counts MxedgeUpgradeResponseCounts `json:"counts"` // Unique ID of the object instance in the Mist Organnization Id uuid.UUID `json:"id"` Status string `json:"status"` Strategy string `json:"strategy"` Versions interface{} `json:"versions"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseMxedgeUpgrade represents a ResponseMxedgeUpgrade struct.
func (ResponseMxedgeUpgrade) MarshalJSON ¶
func (r ResponseMxedgeUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseMxedgeUpgrade. It customizes the JSON marshaling process for ResponseMxedgeUpgrade objects.
func (*ResponseMxedgeUpgrade) UnmarshalJSON ¶
func (r *ResponseMxedgeUpgrade) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseMxedgeUpgrade. It customizes the JSON unmarshaling process for ResponseMxedgeUpgrade objects.
type ResponseMxtunnelsPreemptAps ¶
type ResponseMxtunnelsPreemptAps struct { PreemptedAps []string `json:"preempted_aps"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseMxtunnelsPreemptAps represents a ResponseMxtunnelsPreemptAps struct.
func (ResponseMxtunnelsPreemptAps) MarshalJSON ¶
func (r ResponseMxtunnelsPreemptAps) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseMxtunnelsPreemptAps. It customizes the JSON marshaling process for ResponseMxtunnelsPreemptAps objects.
func (*ResponseMxtunnelsPreemptAps) UnmarshalJSON ¶
func (r *ResponseMxtunnelsPreemptAps) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseMxtunnelsPreemptAps. It customizes the JSON unmarshaling process for ResponseMxtunnelsPreemptAps objects.
type ResponseNacCrlFiles ¶
type ResponseNacCrlFiles struct { Results []NacCrlFile `json:"results,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseNacCrlFiles represents a ResponseNacCrlFiles struct.
func (ResponseNacCrlFiles) MarshalJSON ¶
func (r ResponseNacCrlFiles) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseNacCrlFiles. It customizes the JSON marshaling process for ResponseNacCrlFiles objects.
func (*ResponseNacCrlFiles) 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 {
// contains filtered or unexported fields
}
ResponseOauthAppLink represents a ResponseOauthAppLink struct.
func (*ResponseOauthAppLink) AsAccountOauthInfo ¶ added in v0.4.17
func (r *ResponseOauthAppLink) AsAccountOauthInfo() ( *AccountOauthInfo, bool)
func (*ResponseOauthAppLink) AsAccountZdxInfo ¶ added in v0.4.17
func (r *ResponseOauthAppLink) AsAccountZdxInfo() ( *AccountZdxInfo, bool)
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) String ¶ added in v0.4.17
func (r ResponseOauthAppLink) String() string
String converts the ResponseOauthAppLink object to a string representation.
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 ResponseOrgDevices ¶
type ResponseOrgDevices struct { Results []OrgDevice `json:"results"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseOrgDevices represents a ResponseOrgDevices struct.
func (ResponseOrgDevices) MarshalJSON ¶
func (r ResponseOrgDevices) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseOrgDevices. It customizes the JSON marshaling process for ResponseOrgDevices objects.
func (*ResponseOrgDevices) 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"` // enum: `assign`, `delete`, `downgrade_to_jsi`, `unassign`, `upgrade_to_mist` Op ResponseOrgInventoryChangeOpEnum `json:"op"` Reason []string `json:"reason"` Success []string `json:"success"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseOrgInventoryChange represents a ResponseOrgInventoryChange struct.
func (ResponseOrgInventoryChange) MarshalJSON ¶
func (r ResponseOrgInventoryChange) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseOrgInventoryChange. It customizes the JSON marshaling process for ResponseOrgInventoryChange objects.
func (*ResponseOrgInventoryChange) UnmarshalJSON ¶
func (r *ResponseOrgInventoryChange) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseOrgInventoryChange. It customizes the JSON unmarshaling process for ResponseOrgInventoryChange objects.
type ResponseOrgInventoryChangeOpEnum ¶
type ResponseOrgInventoryChangeOpEnum string
ResponseOrgInventoryChangeOpEnum is a string enum. enum: `assign`, `delete`, `downgrade_to_jsi`, `unassign`, `upgrade_to_mist`
const ( ResponseOrgInventoryChangeOpEnum_ASSIGN ResponseOrgInventoryChangeOpEnum = "assign" ResponseOrgInventoryChangeOpEnum_DELETE ResponseOrgInventoryChangeOpEnum = "delete" ResponseOrgInventoryChangeOpEnum_DOWNGRADETOJSI ResponseOrgInventoryChangeOpEnum = "downgrade_to_jsi" ResponseOrgInventoryChangeOpEnum_UNASSIGN ResponseOrgInventoryChangeOpEnum = "unassign" ResponseOrgInventoryChangeOpEnum_UPGRADETOMIST ResponseOrgInventoryChangeOpEnum = "upgrade_to_mist" )
type ResponseOrgSearch ¶
type ResponseOrgSearch struct { End float64 `json:"end"` Limit int `json:"limit"` Next *string `json:"next,omitempty"` Results []ResponseOrgSearchItem `json:"results"` Start float64 `json:"start"` Total int `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseOrgSearch represents a ResponseOrgSearch struct.
func (ResponseOrgSearch) MarshalJSON ¶
func (r ResponseOrgSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseOrgSearch. It customizes the JSON marshaling process for ResponseOrgSearch objects.
func (*ResponseOrgSearch) 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]interface{} `json:"_"` }
ResponseOrgSearchItem represents a ResponseOrgSearchItem struct.
func (ResponseOrgSearchItem) MarshalJSON ¶
func (r ResponseOrgSearchItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseOrgSearchItem. It customizes the JSON marshaling process for ResponseOrgSearchItem objects.
func (*ResponseOrgSearchItem) UnmarshalJSON ¶
func (r *ResponseOrgSearchItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseOrgSearchItem. It customizes the JSON unmarshaling process for ResponseOrgSearchItem objects.
type ResponseOrgSiteSle ¶
type ResponseOrgSiteSle struct {
// contains filtered or unexported fields
}
ResponseOrgSiteSle represents a ResponseOrgSiteSle struct.
func (*ResponseOrgSiteSle) AsOrgSiteSleWifi ¶ added in v0.3.0
func (r *ResponseOrgSiteSle) AsOrgSiteSleWifi() ( *OrgSiteSleWifi, bool)
func (*ResponseOrgSiteSle) AsOrgSiteWanWifi ¶ added in v0.3.0
func (r *ResponseOrgSiteSle) AsOrgSiteWanWifi() ( *OrgSiteWanWifi, bool)
func (*ResponseOrgSiteSle) AsOrgSiteWiredWifi ¶ added in v0.3.0
func (r *ResponseOrgSiteSle) AsOrgSiteWiredWifi() ( *OrgSiteWiredWifi, bool)
func (ResponseOrgSiteSle) MarshalJSON ¶
func (r ResponseOrgSiteSle) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseOrgSiteSle. It customizes the JSON marshaling process for ResponseOrgSiteSle objects.
func (ResponseOrgSiteSle) String ¶ added in v0.3.0
func (r ResponseOrgSiteSle) String() string
String converts the ResponseOrgSiteSle object to a string representation.
func (*ResponseOrgSiteSle) UnmarshalJSON ¶
func (r *ResponseOrgSiteSle) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseOrgSiteSle. It customizes the JSON unmarshaling process for ResponseOrgSiteSle objects.
type ResponseOrgSuppressAlarm ¶
type ResponseOrgSuppressAlarm struct { Results []ResponseOrgSuppressAlarmItem `json:"results,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseOrgSuppressAlarm represents a ResponseOrgSuppressAlarm struct.
func (ResponseOrgSuppressAlarm) MarshalJSON ¶
func (r ResponseOrgSuppressAlarm) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseOrgSuppressAlarm. It customizes the JSON marshaling process for ResponseOrgSuppressAlarm objects.
func (*ResponseOrgSuppressAlarm) UnmarshalJSON ¶
func (r *ResponseOrgSuppressAlarm) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseOrgSuppressAlarm. It customizes the JSON unmarshaling process for ResponseOrgSuppressAlarm objects.
type ResponseOrgSuppressAlarmItem ¶
type ResponseOrgSuppressAlarmItem struct { // duration, in seconds. Maximum duration is 86400 * 14 (14 days). 0 is to un-suppress alarms. Duration *int `json:"duration,omitempty"` ExpireTime *int `json:"expire_time,omitempty"` ScheduledTime *int `json:"scheduled_time,omitempty"` // level of scope. enum: `org`, `site` Scope *SuppressedAlarmScopeEnum `json:"scope,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseOrgSuppressAlarmItem represents a ResponseOrgSuppressAlarmItem struct.
func (ResponseOrgSuppressAlarmItem) MarshalJSON ¶
func (r ResponseOrgSuppressAlarmItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseOrgSuppressAlarmItem. It customizes the JSON marshaling process for ResponseOrgSuppressAlarmItem objects.
func (*ResponseOrgSuppressAlarmItem) 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]interface{} `json:"_"` }
ResponsePcapAp represents a ResponsePcapAp struct.
func (ResponsePcapAp) MarshalJSON ¶
func (r ResponsePcapAp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponsePcapAp. It customizes the JSON marshaling process for ResponsePcapAp objects.
func (*ResponsePcapAp) UnmarshalJSON ¶
func (r *ResponsePcapAp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponsePcapAp. It customizes the JSON unmarshaling process for ResponsePcapAp objects.
type ResponsePcapBucketConfig ¶
type ResponsePcapBucketConfig struct { Bucket *string `json:"bucket,omitempty"` Detail *string `json:"detail,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponsePcapBucketConfig represents a ResponsePcapBucketConfig struct.
func (ResponsePcapBucketConfig) MarshalJSON ¶
func (r ResponsePcapBucketConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponsePcapBucketConfig. It customizes the JSON marshaling process for ResponsePcapBucketConfig objects.
func (*ResponsePcapBucketConfig) 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]interface{} `json:"_"` }
ResponsePcapSearch represents a ResponsePcapSearch struct.
func (ResponsePcapSearch) MarshalJSON ¶
func (r ResponsePcapSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponsePcapSearch. It customizes the JSON marshaling process for ResponsePcapSearch objects.
func (*ResponsePcapSearch) UnmarshalJSON ¶
func (r *ResponsePcapSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponsePcapSearch. It customizes the JSON unmarshaling process for ResponsePcapSearch objects.
type ResponsePcapSearchItem ¶
type ResponsePcapSearchItem struct { ApMacs []string `json:"ap_macs,omitempty"` Aps []string `json:"aps,omitempty"` Duration *float64 `json:"duration,omitempty"` Format *string `json:"format,omitempty"` // Unique ID of the object instance in the Mist Organnization 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]interface{} `json:"_"` }
ResponsePcapSearchItem represents a ResponsePcapSearchItem struct.
func (ResponsePcapSearchItem) MarshalJSON ¶
func (r ResponsePcapSearchItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponsePcapSearchItem. It customizes the JSON marshaling process for ResponsePcapSearchItem objects.
func (*ResponsePcapSearchItem) UnmarshalJSON ¶
func (r *ResponsePcapSearchItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponsePcapSearchItem. It customizes the JSON unmarshaling process for ResponsePcapSearchItem objects.
type ResponsePcapSearchItemPcapApsItem ¶
type ResponsePcapSearchItemPcapApsItem struct { Band *string `json:"band,omitempty"` Bandwidth *string `json:"bandwidth,omitempty"` Channel *int `json:"channel,omitempty"` TcpdumpExpression Optional[string] `json:"tcpdump_expression"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponsePcapSearchItemPcapApsItem represents a ResponsePcapSearchItemPcapApsItem struct.
func (ResponsePcapSearchItemPcapApsItem) MarshalJSON ¶
func (r ResponsePcapSearchItemPcapApsItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponsePcapSearchItemPcapApsItem. It customizes the JSON marshaling process for ResponsePcapSearchItemPcapApsItem objects.
func (*ResponsePcapSearchItemPcapApsItem) UnmarshalJSON ¶
func (r *ResponsePcapSearchItemPcapApsItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponsePcapSearchItemPcapApsItem. It customizes the JSON unmarshaling process for ResponsePcapSearchItemPcapApsItem objects.
type ResponsePcapStart ¶
type ResponsePcapStart struct { ApCount *int `json:"ap_count,omitempty"` Aps []string `json:"aps,omitempty"` ClientMac Optional[string] `json:"client_mac"` Duration *float64 `json:"duration,omitempty"` Enabled *bool `json:"enabled,omitempty"` Expiry *float64 `json:"expiry,omitempty"` Format *string `json:"format,omitempty"` // Unique ID of the object instance in the Mist Organnization 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]interface{} `json:"_"` }
ResponsePcapStart represents a ResponsePcapStart struct.
func (ResponsePcapStart) MarshalJSON ¶
func (r ResponsePcapStart) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponsePcapStart. It customizes the JSON marshaling process for ResponsePcapStart objects.
func (*ResponsePcapStart) UnmarshalJSON ¶
func (r *ResponsePcapStart) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponsePcapStart. It customizes the JSON unmarshaling process for ResponsePcapStart objects.
type ResponsePcapStatus ¶
type ResponsePcapStatus struct { ApMac Optional[string] `json:"ap_mac"` // List of target APs to capture packets Aps []string `json:"aps,omitempty"` ClientMac Optional[string] `json:"client_mac"` Duration *int `json:"duration,omitempty"` // List of APs where configuration attempt failed Failed []string `json:"failed,omitempty"` // pcap format. enum: // * `stream`: to Mist cloud // * `tzsp`: tream packets (over UDP as TZSP packets) to a remote host (typically running Wireshark) Format *CaptureMxedgeFormatEnum `json:"format,omitempty"` // Information on gateways to capture packets on if a gateway capture type is specified Gateways []string `json:"gateways,omitempty"` // Unique ID of the object instance in the Mist Organnization 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"` // nformation on mxedges to capture packets on if a mxedge capture type is specified Mxedges []string `json:"mxedges,omitempty"` // total number of packets captured by all AP, not applicable for type [client, new_assoc] NumPackets *int `json:"num_packets,omitempty"` // List of target APs successfully configured to capture packets Ok []string `json:"ok,omitempty"` PcapAps map[string]ResponsePcapAp `json:"pcap_aps,omitempty"` // when `type`==`radiotap`, radiotap_tcpdump_expression expression provided by the user RadiotapTcpdumpExpression *string `json:"radiotap_tcpdump_expression,omitempty"` // when `type`==`scan`, scan_tcpdump_expression provided by the user ScanTcpdumpExpression *string `json:"scan_tcpdump_expression,omitempty"` Ssid Optional[string] `json:"ssid"` StartedTime *int `json:"started_time,omitempty"` // Information on switches to capture packets on if a switch capture type is specified. irb port interface is automatically added to capture as needed to ensure all desired packets are captured. Switches []string `json:"switches,omitempty"` // tcpdump expression provided by the user (common) TcpdumpExpression *string `json:"tcpdump_expression,omitempty"` // enum: `client`, `gateway`, `new_assoc`, `radiotap`, `radiotap,wired`, `wired`, `wireless` Type PcapTypeEnum `json:"type"` // Required if `format`==`tzsp`. Remote host accessible to mxedges over the network for receiving the captured packets. TzspHost *string `json:"tzsp_host,omitempty"` // if `format`==`tzsp`. Port on remote host for receiving the captured packets TzspPort *int `json:"tzsp_port,omitempty"` // when `type`==`wired`, wired_tcpdump_expression provided by the user WiredTcpdumpExpression *string `json:"wired_tcpdump_expression,omitempty"` // when `type`==`‘wireless’`, wireless_tcpdump_expression provided by the user WirelessTcpdumpExpression *string `json:"wireless_tcpdump_expression,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponsePcapStatus represents a ResponsePcapStatus struct.
func (ResponsePcapStatus) MarshalJSON ¶
func (r ResponsePcapStatus) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponsePcapStatus. It customizes the JSON marshaling process for ResponsePcapStatus objects.
func (*ResponsePcapStatus) UnmarshalJSON ¶
func (r *ResponsePcapStatus) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponsePcapStatus. It customizes the JSON unmarshaling process for ResponsePcapStatus objects.
type ResponsePortStatsSearch ¶
type ResponsePortStatsSearch struct { End int `json:"end"` Limit int `json:"limit"` Next *string `json:"next,omitempty"` Results []StatsSwitchPort `json:"results"` Start int `json:"start"` Total int `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponsePortStatsSearch represents a ResponsePortStatsSearch struct.
func (ResponsePortStatsSearch) MarshalJSON ¶
func (r ResponsePortStatsSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponsePortStatsSearch. It customizes the JSON marshaling process for ResponsePortStatsSearch objects.
func (*ResponsePortStatsSearch) 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]interface{} `json:"_"` }
ResponsePskPortalLogsSearch represents a ResponsePskPortalLogsSearch struct.
func (ResponsePskPortalLogsSearch) MarshalJSON ¶
func (r ResponsePskPortalLogsSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponsePskPortalLogsSearch. It customizes the JSON marshaling process for ResponsePskPortalLogsSearch objects.
func (*ResponsePskPortalLogsSearch) UnmarshalJSON ¶
func (r *ResponsePskPortalLogsSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponsePskPortalLogsSearch. It customizes the JSON unmarshaling process for ResponsePskPortalLogsSearch objects.
type ResponsePskPortalLogsSearchItem ¶
type ResponsePskPortalLogsSearchItem struct { // Unique ID of the object instance in the Mist Organnization 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]interface{} `json:"_"` }
ResponsePskPortalLogsSearchItem represents a ResponsePskPortalLogsSearchItem struct.
func (ResponsePskPortalLogsSearchItem) MarshalJSON ¶
func (r ResponsePskPortalLogsSearchItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponsePskPortalLogsSearchItem. It customizes the JSON marshaling process for ResponsePskPortalLogsSearchItem objects.
func (*ResponsePskPortalLogsSearchItem) 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]interface{} `json:"_"` }
ResponseRrmConsideration represents a ResponseRrmConsideration struct.
func (ResponseRrmConsideration) MarshalJSON ¶
func (r ResponseRrmConsideration) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseRrmConsideration. It customizes the JSON marshaling process for ResponseRrmConsideration objects.
func (*ResponseRrmConsideration) 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]interface{} `json:"_"` }
ResponseRrmNeighbors represents a ResponseRrmNeighbors struct.
func (ResponseRrmNeighbors) MarshalJSON ¶
func (r ResponseRrmNeighbors) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseRrmNeighbors. It customizes the JSON marshaling process for ResponseRrmNeighbors objects.
func (*ResponseRrmNeighbors) 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]interface{} `json:"_"` }
ResponseSearch represents a ResponseSearch struct.
func (ResponseSearch) MarshalJSON ¶
func (r ResponseSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSearch. It customizes the JSON marshaling process for ResponseSearch objects.
func (*ResponseSearch) 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]interface{} `json:"_"` }
ResponseSearchBgps represents a ResponseSearchBgps struct.
func (ResponseSearchBgps) MarshalJSON ¶
func (r ResponseSearchBgps) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSearchBgps. It customizes the JSON marshaling process for ResponseSearchBgps objects.
func (*ResponseSearchBgps) UnmarshalJSON ¶
func (r *ResponseSearchBgps) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSearchBgps. It customizes the JSON unmarshaling process for ResponseSearchBgps objects.
type ResponseSearchItem ¶
type ResponseSearchItem struct { // Unique ID of the object instance in the Mist Organnization Id uuid.UUID `json:"id"` Text string `json:"text"` Type string `json:"type"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseSearchItem represents a ResponseSearchItem struct.
func (ResponseSearchItem) MarshalJSON ¶
func (r ResponseSearchItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSearchItem. It customizes the JSON marshaling process for ResponseSearchItem objects.
func (*ResponseSearchItem) 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]interface{} `json:"_"` }
ResponseSearchVar represents a ResponseSearchVar struct.
func (ResponseSearchVar) MarshalJSON ¶
func (r ResponseSearchVar) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSearchVar. It customizes the JSON marshaling process for ResponseSearchVar objects.
func (*ResponseSearchVar) UnmarshalJSON ¶
func (r *ResponseSearchVar) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSearchVar. It customizes the JSON unmarshaling process for ResponseSearchVar objects.
type ResponseSearchVarItem ¶
type ResponseSearchVarItem struct { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` Src *string `json:"src,omitempty"` Var *string `json:"var,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseSearchVarItem represents a ResponseSearchVarItem struct.
func (ResponseSearchVarItem) MarshalJSON ¶
func (r ResponseSearchVarItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSearchVarItem. It customizes the JSON marshaling process for ResponseSearchVarItem objects.
func (*ResponseSearchVarItem) UnmarshalJSON ¶
func (r *ResponseSearchVarItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSearchVarItem. It customizes the JSON unmarshaling process for ResponseSearchVarItem objects.
type ResponseSelfAuditLogs ¶
type ResponseSelfAuditLogs struct { End int `json:"end"` Limit int `json:"limit"` Page int `json:"page"` Results []AuditLog `json:"results"` Start int `json:"start"` Total int `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseSelfAuditLogs represents a ResponseSelfAuditLogs struct.
func (ResponseSelfAuditLogs) MarshalJSON ¶
func (r ResponseSelfAuditLogs) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSelfAuditLogs. It customizes the JSON marshaling process for ResponseSelfAuditLogs objects.
func (*ResponseSelfAuditLogs) UnmarshalJSON ¶
func (r *ResponseSelfAuditLogs) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSelfAuditLogs. It customizes the JSON unmarshaling process for ResponseSelfAuditLogs objects.
type ResponseSelfOauthLinkSuccess ¶
type ResponseSelfOauthLinkSuccess struct { Action string `json:"action"` // Unique ID of the object instance in the Mist Organnization Id uuid.UUID `json:"id"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseSelfOauthLinkSuccess represents a ResponseSelfOauthLinkSuccess struct.
func (ResponseSelfOauthLinkSuccess) MarshalJSON ¶
func (r ResponseSelfOauthLinkSuccess) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSelfOauthLinkSuccess. It customizes the JSON marshaling process for ResponseSelfOauthLinkSuccess objects.
func (*ResponseSelfOauthLinkSuccess) UnmarshalJSON ¶
func (r *ResponseSelfOauthLinkSuccess) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSelfOauthLinkSuccess. It customizes the JSON unmarshaling process for ResponseSelfOauthLinkSuccess objects.
type ResponseSelfOauthUrl ¶
type ResponseSelfOauthUrl struct { AuthorizationUrl string `json:"authorization_url"` Linked bool `json:"linked"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseSelfOauthUrl represents a ResponseSelfOauthUrl struct.
func (ResponseSelfOauthUrl) MarshalJSON ¶
func (r ResponseSelfOauthUrl) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSelfOauthUrl. It customizes the JSON marshaling process for ResponseSelfOauthUrl objects.
func (*ResponseSelfOauthUrl) UnmarshalJSON ¶
func (r *ResponseSelfOauthUrl) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSelfOauthUrl. It customizes the JSON unmarshaling process for ResponseSelfOauthUrl objects.
type ResponseSelfSubscription ¶
type ResponseSelfSubscription struct { OrgId uuid.UUID `json:"org_id"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseSelfSubscription represents a ResponseSelfSubscription struct.
func (ResponseSelfSubscription) MarshalJSON ¶
func (r ResponseSelfSubscription) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSelfSubscription. It customizes the JSON marshaling process for ResponseSelfSubscription objects.
func (*ResponseSelfSubscription) UnmarshalJSON ¶
func (r *ResponseSelfSubscription) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSelfSubscription. It customizes the JSON unmarshaling process for ResponseSelfSubscription objects.
type ResponseSetDevicesMap ¶
type ResponseSetDevicesMap struct { Locked []string `json:"locked,omitempty"` Moved []string `json:"moved,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseSetDevicesMap represents a ResponseSetDevicesMap struct.
func (ResponseSetDevicesMap) MarshalJSON ¶
func (r ResponseSetDevicesMap) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSetDevicesMap. It customizes the JSON marshaling process for ResponseSetDevicesMap objects.
func (*ResponseSetDevicesMap) 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 of the object instance in the Mist Organnization 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. enum: `cancelled`, `completed`, `created`, `downloaded`, `downloading`, `failed`, `upgrading` Status *DeviceUpgradeStatusEnum `json:"status,omitempty"` // enum: `big_bang` (upgrade all at once), `canary`, `rrm`, `serial` (one at a time) 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]interface{} `json:"_"` }
ResponseSiteDeviceUpgrade represents a ResponseSiteDeviceUpgrade struct.
func (ResponseSiteDeviceUpgrade) MarshalJSON ¶
func (r ResponseSiteDeviceUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSiteDeviceUpgrade. It customizes the JSON marshaling process for ResponseSiteDeviceUpgrade objects.
func (*ResponseSiteDeviceUpgrade) 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]interface{} `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]interface{} `json:"_"` }
ResponseSiteSearch represents a ResponseSiteSearch struct.
func (ResponseSiteSearch) MarshalJSON ¶
func (r ResponseSiteSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSiteSearch. It customizes the JSON marshaling process for ResponseSiteSearch objects.
func (*ResponseSiteSearch) 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"` // Unique ID of the object instance in the Mist Organnization 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]interface{} `json:"_"` }
ResponseSiteSearchItem represents a ResponseSiteSearchItem struct.
func (ResponseSiteSearchItem) MarshalJSON ¶
func (r ResponseSiteSearchItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSiteSearchItem. It customizes the JSON marshaling process for ResponseSiteSearchItem objects.
func (*ResponseSiteSearchItem) UnmarshalJSON ¶
func (r *ResponseSiteSearchItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSiteSearchItem. It customizes the JSON unmarshaling process for ResponseSiteSearchItem objects.
type ResponseSsoFailureSearch ¶
type ResponseSsoFailureSearch struct { Results []ResponseSsoFailureSearchItem `json:"results"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseSsoFailureSearch represents a ResponseSsoFailureSearch struct.
func (ResponseSsoFailureSearch) MarshalJSON ¶
func (r ResponseSsoFailureSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSsoFailureSearch. It customizes the JSON marshaling process for ResponseSsoFailureSearch objects.
func (*ResponseSsoFailureSearch) 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]interface{} `json:"_"` }
ResponseSsoFailureSearchItem represents a ResponseSsoFailureSearchItem struct.
func (ResponseSsoFailureSearchItem) MarshalJSON ¶
func (r ResponseSsoFailureSearchItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSsoFailureSearchItem. It customizes the JSON marshaling process for ResponseSsoFailureSearchItem objects.
func (*ResponseSsoFailureSearchItem) 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"` // Unique ID of the object instance in the Mist Organnization Id uuid.UUID `json:"id"` Status string `json:"status"` Targets ResponseSsrUpgradeStatusTargets `json:"targets"` Versions interface{} `json:"versions"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseSsrUpgradeStatus represents a ResponseSsrUpgradeStatus struct.
func (ResponseSsrUpgradeStatus) MarshalJSON ¶
func (r ResponseSsrUpgradeStatus) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSsrUpgradeStatus. It customizes the JSON marshaling process for ResponseSsrUpgradeStatus objects.
func (*ResponseSsrUpgradeStatus) UnmarshalJSON ¶
func (r *ResponseSsrUpgradeStatus) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSsrUpgradeStatus. It customizes the JSON unmarshaling process for ResponseSsrUpgradeStatus objects.
type ResponseSsrUpgradeStatusTargets ¶
type ResponseSsrUpgradeStatusTargets struct { Failed []string `json:"failed"` Queued []string `json:"queued"` Success []string `json:"success"` Upgrading []string `json:"upgrading"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseSsrUpgradeStatusTargets represents a ResponseSsrUpgradeStatusTargets struct.
func (ResponseSsrUpgradeStatusTargets) MarshalJSON ¶
func (r ResponseSsrUpgradeStatusTargets) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSsrUpgradeStatusTargets. It customizes the JSON marshaling process for ResponseSsrUpgradeStatusTargets objects.
func (*ResponseSsrUpgradeStatusTargets) UnmarshalJSON ¶
func (r *ResponseSsrUpgradeStatusTargets) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSsrUpgradeStatusTargets. It customizes the JSON unmarshaling process for ResponseSsrUpgradeStatusTargets objects.
type ResponseStatsAssets ¶
type ResponseStatsAssets struct { End int `json:"end"` Limit int `json:"limit"` Next *string `json:"next,omitempty"` Results []StatsAsset `json:"results"` Start int `json:"start"` Total int `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseStatsAssets represents a ResponseStatsAssets struct.
func (ResponseStatsAssets) MarshalJSON ¶
func (r ResponseStatsAssets) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseStatsAssets. It customizes the JSON marshaling process for ResponseStatsAssets objects.
func (*ResponseStatsAssets) UnmarshalJSON ¶
func (r *ResponseStatsAssets) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseStatsAssets. It customizes the JSON unmarshaling process for ResponseStatsAssets objects.
type ResponseStatsCalls ¶
type ResponseStatsCalls struct { End *float64 `json:"end,omitempty"` Limit *int `json:"limit,omitempty"` Next *string `json:"next,omitempty"` Results []StatsCall `json:"results,omitempty"` Start *float64 `json:"start,omitempty"` Total *int `json:"total,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseStatsCalls represents a ResponseStatsCalls struct.
func (ResponseStatsCalls) MarshalJSON ¶
func (r ResponseStatsCalls) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseStatsCalls. It customizes the JSON marshaling process for ResponseStatsCalls objects.
func (*ResponseStatsCalls) UnmarshalJSON ¶
func (r *ResponseStatsCalls) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseStatsCalls. It customizes the JSON unmarshaling process for ResponseStatsCalls objects.
type ResponseStatsCallsSummary ¶ added in v0.4.0
type ResponseStatsCallsSummary struct { BadMinutesClient *float64 `json:"bad_minutes_client,omitempty"` BadMinutesSiteWan *float64 `json:"bad_minutes_site_wan,omitempty"` BadMinutesWireless *float64 `json:"bad_minutes_wireless,omitempty"` NumAps *int `json:"num_aps,omitempty"` NumUsers *int `json:"num_users,omitempty"` TotalMinutes *float64 `json:"total_minutes,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseStatsCallsSummary represents a ResponseStatsCallsSummary struct.
func (ResponseStatsCallsSummary) MarshalJSON ¶ added in v0.4.0
func (r ResponseStatsCallsSummary) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseStatsCallsSummary. It customizes the JSON marshaling process for ResponseStatsCallsSummary objects.
func (*ResponseStatsCallsSummary) UnmarshalJSON ¶ added in v0.4.0
func (r *ResponseStatsCallsSummary) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseStatsCallsSummary. It customizes the JSON unmarshaling process for ResponseStatsCallsSummary objects.
type ResponseSwitchMetrics ¶
type ResponseSwitchMetrics struct { ActivePortsSummary *ResponseSwitchMetricsActivePortsSummary `json:"active_ports_summary,omitempty"` ConfigSuccess *ResponseSwitchMetricsConfigSuccess `json:"config_success,omitempty"` VersionCompliance *ResponseSwitchMetricsVersionCompliance `json:"version_compliance,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseSwitchMetrics represents a ResponseSwitchMetrics struct.
func (ResponseSwitchMetrics) MarshalJSON ¶
func (r ResponseSwitchMetrics) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSwitchMetrics. It customizes the JSON marshaling process for ResponseSwitchMetrics objects.
func (*ResponseSwitchMetrics) UnmarshalJSON ¶
func (r *ResponseSwitchMetrics) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSwitchMetrics. It customizes the JSON unmarshaling process for ResponseSwitchMetrics objects.
type ResponseSwitchMetricsActivePortsSummary ¶
type ResponseSwitchMetricsActivePortsSummary struct { Details *SwitchMetricsActivePortsSummaryDetails `json:"details,omitempty"` Score *int `json:"score,omitempty"` TotalSwitchCount *int `json:"total_switch_count,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseSwitchMetricsActivePortsSummary represents a ResponseSwitchMetricsActivePortsSummary struct.
func (ResponseSwitchMetricsActivePortsSummary) MarshalJSON ¶
func (r ResponseSwitchMetricsActivePortsSummary) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSwitchMetricsActivePortsSummary. It customizes the JSON marshaling process for ResponseSwitchMetricsActivePortsSummary objects.
func (*ResponseSwitchMetricsActivePortsSummary) UnmarshalJSON ¶
func (r *ResponseSwitchMetricsActivePortsSummary) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSwitchMetricsActivePortsSummary. It customizes the JSON unmarshaling process for ResponseSwitchMetricsActivePortsSummary objects.
type ResponseSwitchMetricsConfigSuccess ¶
type ResponseSwitchMetricsConfigSuccess struct { Details *ResponseSwitchMetricsConfigSuccessDetails `json:"details,omitempty"` Score *int `json:"score,omitempty"` TotalSwitchCount *int `json:"total_switch_count,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseSwitchMetricsConfigSuccess represents a ResponseSwitchMetricsConfigSuccess struct.
func (ResponseSwitchMetricsConfigSuccess) MarshalJSON ¶
func (r ResponseSwitchMetricsConfigSuccess) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSwitchMetricsConfigSuccess. It customizes the JSON marshaling process for ResponseSwitchMetricsConfigSuccess objects.
func (*ResponseSwitchMetricsConfigSuccess) UnmarshalJSON ¶
func (r *ResponseSwitchMetricsConfigSuccess) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSwitchMetricsConfigSuccess. It customizes the JSON unmarshaling process for ResponseSwitchMetricsConfigSuccess objects.
type ResponseSwitchMetricsConfigSuccessDetails ¶
type ResponseSwitchMetricsConfigSuccessDetails struct { ConfigSuccessCount *int `json:"config_success_count,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseSwitchMetricsConfigSuccessDetails represents a ResponseSwitchMetricsConfigSuccessDetails struct.
func (ResponseSwitchMetricsConfigSuccessDetails) MarshalJSON ¶
func (r ResponseSwitchMetricsConfigSuccessDetails) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSwitchMetricsConfigSuccessDetails. It customizes the JSON marshaling process for ResponseSwitchMetricsConfigSuccessDetails objects.
func (*ResponseSwitchMetricsConfigSuccessDetails) UnmarshalJSON ¶
func (r *ResponseSwitchMetricsConfigSuccessDetails) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSwitchMetricsConfigSuccessDetails. It customizes the JSON unmarshaling process for ResponseSwitchMetricsConfigSuccessDetails objects.
type ResponseSwitchMetricsVersionCompliance ¶
type ResponseSwitchMetricsVersionCompliance struct { Details *ResponseSwitchMetricsVersionComplianceDetails `json:"details,omitempty"` Score *int `json:"score,omitempty"` TotalSwitchCount *int `json:"total_switch_count,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseSwitchMetricsVersionCompliance represents a ResponseSwitchMetricsVersionCompliance struct.
func (ResponseSwitchMetricsVersionCompliance) MarshalJSON ¶
func (r ResponseSwitchMetricsVersionCompliance) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSwitchMetricsVersionCompliance. It customizes the JSON marshaling process for ResponseSwitchMetricsVersionCompliance objects.
func (*ResponseSwitchMetricsVersionCompliance) UnmarshalJSON ¶
func (r *ResponseSwitchMetricsVersionCompliance) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseSwitchMetricsVersionCompliance. It customizes the JSON unmarshaling process for ResponseSwitchMetricsVersionCompliance objects.
type ResponseSwitchMetricsVersionComplianceDetails ¶
type ResponseSwitchMetricsVersionComplianceDetails struct { MajorVersions []SwitchMetricsComplianceMajorVersion `json:"major_versions,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseSwitchMetricsVersionComplianceDetails represents a ResponseSwitchMetricsVersionComplianceDetails struct.
func (ResponseSwitchMetricsVersionComplianceDetails) MarshalJSON ¶
func (r ResponseSwitchMetricsVersionComplianceDetails) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSwitchMetricsVersionComplianceDetails. It customizes the JSON marshaling process for ResponseSwitchMetricsVersionComplianceDetails objects.
func (*ResponseSwitchMetricsVersionComplianceDetails) 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 []StatsSwitchPort `json:"results"` Start int `json:"start"` Total int `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseSwitchPortSearch represents a ResponseSwitchPortSearch struct.
func (ResponseSwitchPortSearch) MarshalJSON ¶
func (r ResponseSwitchPortSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseSwitchPortSearch. It customizes the JSON marshaling process for ResponseSwitchPortSearch objects.
func (*ResponseSwitchPortSearch) 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]interface{} `json:"_"` }
ResponseTroubleshoot represents a ResponseTroubleshoot struct.
func (ResponseTroubleshoot) MarshalJSON ¶
func (r ResponseTroubleshoot) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseTroubleshoot. It customizes the JSON marshaling process for ResponseTroubleshoot objects.
func (*ResponseTroubleshoot) UnmarshalJSON ¶
func (r *ResponseTroubleshoot) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseTroubleshoot. It customizes the JSON unmarshaling process for ResponseTroubleshoot objects.
type ResponseTroubleshootItem ¶
type ResponseTroubleshootItem struct { Category *string `json:"category,omitempty"` Reason *string `json:"reason,omitempty"` Recommendation *string `json:"recommendation,omitempty"` Text *string `json:"text,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseTroubleshootItem represents a ResponseTroubleshootItem struct.
func (ResponseTroubleshootItem) MarshalJSON ¶
func (r ResponseTroubleshootItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseTroubleshootItem. It customizes the JSON marshaling process for ResponseTroubleshootItem objects.
func (*ResponseTroubleshootItem) UnmarshalJSON ¶
func (r *ResponseTroubleshootItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseTroubleshootItem. It customizes the JSON unmarshaling process for ResponseTroubleshootItem objects.
type ResponseTunnelSearch ¶
type ResponseTunnelSearch struct { End int `json:"end"` Limit int `json:"limit"` Next *string `json:"next,omitempty"` Results []ResponseTunnelSearchItem `json:"results"` Start int `json:"start"` Total int `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseTunnelSearch represents a ResponseTunnelSearch struct.
func (ResponseTunnelSearch) MarshalJSON ¶
func (r ResponseTunnelSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseTunnelSearch. It customizes the JSON marshaling process for ResponseTunnelSearch objects.
func (*ResponseTunnelSearch) UnmarshalJSON ¶
func (r *ResponseTunnelSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseTunnelSearch. It customizes the JSON unmarshaling process for ResponseTunnelSearch objects.
type ResponseTunnelSearchItem ¶
type ResponseTunnelSearchItem struct {
// contains filtered or unexported fields
}
ResponseTunnelSearchItem represents a ResponseTunnelSearchItem struct.
func (*ResponseTunnelSearchItem) AsStatsMxtunnel ¶ added in v0.3.0
func (r *ResponseTunnelSearchItem) AsStatsMxtunnel() ( *StatsMxtunnel, bool)
func (*ResponseTunnelSearchItem) AsStatsWanTunnel ¶ added in v0.3.0
func (r *ResponseTunnelSearchItem) AsStatsWanTunnel() ( *StatsWanTunnel, bool)
func (ResponseTunnelSearchItem) MarshalJSON ¶
func (r ResponseTunnelSearchItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseTunnelSearchItem. It customizes the JSON marshaling process for ResponseTunnelSearchItem objects.
func (ResponseTunnelSearchItem) String ¶ added in v0.3.0
func (r ResponseTunnelSearchItem) String() string
String converts the ResponseTunnelSearchItem object to a string representation.
func (*ResponseTunnelSearchItem) UnmarshalJSON ¶
func (r *ResponseTunnelSearchItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseTunnelSearchItem. It customizes the JSON unmarshaling process for ResponseTunnelSearchItem objects.
type ResponseTwoFactorJson ¶
type ResponseTwoFactorJson struct { TwoFactorSecret *string `json:"two_factor_secret,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseTwoFactorJson represents a ResponseTwoFactorJson struct.
func (ResponseTwoFactorJson) MarshalJSON ¶
func (r ResponseTwoFactorJson) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseTwoFactorJson. It customizes the JSON marshaling process for ResponseTwoFactorJson objects.
func (*ResponseTwoFactorJson) 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 { // enum: `error`, `inprogress`, `scheduled`, `starting`, `success` Status UpgradeInfoStatusEnum `json:"status"` // timestamp Timestamp float64 `json:"timestamp"` AdditionalProperties map[string]interface{} `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]interface{} `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"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // enum: `big_bang` (upgrade all at once), `canary`, `rrm`, `serial` (one at a time) Strategy *DeviceUpgradeStrategyEnum `json:"strategy,omitempty"` // version to upgrade to TargetVersion *string `json:"target_version,omitempty"` Upgrades []ResponseUpgradeOrgDevice `json:"upgrades,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseUpgradeOrgDevices represents a ResponseUpgradeOrgDevices struct.
func (ResponseUpgradeOrgDevices) MarshalJSON ¶
func (r ResponseUpgradeOrgDevices) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseUpgradeOrgDevices. It customizes the JSON marshaling process for ResponseUpgradeOrgDevices objects.
func (*ResponseUpgradeOrgDevices) 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]interface{} `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]interface{} `json:"_"` }
ResponseVerifyTokenSuccess represents a ResponseVerifyTokenSuccess struct.
func (ResponseVerifyTokenSuccess) MarshalJSON ¶
func (r ResponseVerifyTokenSuccess) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseVerifyTokenSuccess. It customizes the JSON marshaling process for ResponseVerifyTokenSuccess objects.
func (*ResponseVerifyTokenSuccess) 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]interface{} `json:"_"` }
ResponseVirtualChassisConfig represents a ResponseVirtualChassisConfig struct.
func (ResponseVirtualChassisConfig) MarshalJSON ¶
func (r ResponseVirtualChassisConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseVirtualChassisConfig. It customizes the JSON marshaling process for ResponseVirtualChassisConfig objects.
func (*ResponseVirtualChassisConfig) UnmarshalJSON ¶
func (r *ResponseVirtualChassisConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseVirtualChassisConfig. It customizes the JSON unmarshaling process for ResponseVirtualChassisConfig objects.
type ResponseWiredCoa ¶ added in v0.2.38
type ResponseWiredCoa struct { DeviceMac *string `json:"device_mac,omitempty"` PortId *string `json:"port_id,omitempty"` Session *uuid.UUID `json:"session,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseWiredCoa represents a ResponseWiredCoa struct.
func (ResponseWiredCoa) MarshalJSON ¶ added in v0.2.38
func (r ResponseWiredCoa) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseWiredCoa. It customizes the JSON marshaling process for ResponseWiredCoa objects.
func (*ResponseWiredCoa) UnmarshalJSON ¶ added in v0.2.38
func (r *ResponseWiredCoa) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseWiredCoa. It customizes the JSON unmarshaling process for ResponseWiredCoa objects.
type ResponseZoneSearch ¶
type ResponseZoneSearch struct { End *float64 `json:"end,omitempty"` Limit *int `json:"limit,omitempty"` Next *string `json:"next,omitempty"` Results []ResponseZoneSearchItem `json:"results,omitempty"` Start *float64 `json:"start,omitempty"` Total *int `json:"total,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ResponseZoneSearch represents a ResponseZoneSearch struct.
func (ResponseZoneSearch) MarshalJSON ¶
func (r ResponseZoneSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseZoneSearch. It customizes the JSON marshaling process for ResponseZoneSearch objects.
func (*ResponseZoneSearch) 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]interface{} `json:"_"` }
ResponseZoneSearchItem represents a ResponseZoneSearchItem struct.
func (ResponseZoneSearchItem) MarshalJSON ¶
func (r ResponseZoneSearchItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ResponseZoneSearchItem. It customizes the JSON marshaling process for ResponseZoneSearchItem objects.
func (*ResponseZoneSearchItem) UnmarshalJSON ¶
func (r *ResponseZoneSearchItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ResponseZoneSearchItem. It customizes the JSON unmarshaling process for ResponseZoneSearchItem objects.
type RfClientTypeEnum ¶
type RfClientTypeEnum string
RfClientTypeEnum is a string enum. enum: `asset`, `client`, `sdkclient`
const ( RfClientTypeEnum_ASSET RfClientTypeEnum = "asset" RfClientTypeEnum_CLIENT RfClientTypeEnum = "client" RfClientTypeEnum_SDKCLIENT RfClientTypeEnum = "sdkclient" )
type RfDiag ¶
type RfDiag struct { // recording length in seconds, max is 180. Default value is also 180. Duration *int `json:"duration,omitempty"` // if `type`==`client` or `asset`, mac of the device Mac *string `json:"mac,omitempty"` // name of the recording, the name of the sdk client would be a good default choice Name string `json:"name"` // if `type`==`sdkclient`, sdkclient_id of this recording SdkclientId *uuid.UUID `json:"sdkclient_id,omitempty"` // enum: `asset`, `client`, `sdkclient` Type RfClientTypeEnum `json:"type"` AdditionalProperties map[string]interface{} `json:"_"` }
RfDiag represents a RfDiag struct. RF Diag
func (RfDiag) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for RfDiag. It customizes the JSON marshaling process for RfDiag objects.
func (*RfDiag) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for RfDiag. It customizes the JSON unmarshaling process for RfDiag objects.
type RfDiagInfoItem ¶
type RfDiagInfoItem struct { // if `type`==`asset`, id of the asset AssetId *uuid.UUID `json:"asset_id,omitempty"` // if `type`==`asset`, name of the asset AssetName *string `json:"asset_name,omitempty"` // if `type`==`client`, hostname of the client ClientName *string `json:"client_name,omitempty"` // recording length in seconds, max is 120 Duration int `json:"duration"` // timestamp of end of recording EndTime int `json:"end_time"` // Number of frames in the output FrameCount int `json:"frame_count"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // if `type`==`client` or `asset`, mac of the device Mac *string `json:"mac,omitempty"` MapId uuid.UUID `json:"map_id"` Name string `json:"name"` // Optional. id of the next recoding if present. Only valid for site survey. Next *string `json:"next,omitempty"` // URL to a JSON file that contains array of raw location diag events RawEvents string `json:"raw_events"` // whether it’s ready for playback Ready bool `json:"ready"` // if `type`==`sdkclient`, sdkclient_id of this recording SdkclientId *uuid.UUID `json:"sdkclient_id,omitempty"` // if `type`==`sdkclient`, name of the sdkclient SdkclientName *string `json:"sdkclient_name,omitempty"` // if `type`==`sdkclient`, device_id of sdkclient SdkclientUuid *uuid.UUID `json:"sdkclient_uuid,omitempty"` // timestamp of the recording (the start) StartTime int `json:"start_time"` // enum: `asset`, `client`, `sdkclient` Type RfClientTypeEnum `json:"type"` // URL to a JSON file that contains an array of frames, each frame is the same format Url string `json:"url"` AdditionalProperties map[string]interface{} `json:"_"` }
RfDiagInfoItem represents a RfDiagInfoItem struct.
func (RfDiagInfoItem) MarshalJSON ¶
func (r RfDiagInfoItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RfDiagInfoItem. It customizes the JSON marshaling process for RfDiagInfoItem objects.
func (*RfDiagInfoItem) UnmarshalJSON ¶
func (r *RfDiagInfoItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RfDiagInfoItem. It customizes the JSON unmarshaling process for RfDiagInfoItem objects.
type RfTemplate ¶
type RfTemplate struct { AntGain24 *int `json:"ant_gain_24,omitempty"` AntGain5 *int `json:"ant_gain_5,omitempty"` AntGain6 *int `json:"ant_gain_6,omitempty"` // Radio Band AP settings Band24 *RftemplateRadioBand24 `json:"band_24,omitempty"` // enum: `24`, `5`, `6`, `auto` Band24Usage *RadioBand24UsageEnum `json:"band_24_usage,omitempty"` // Radio Band AP settings Band5 *RftemplateRadioBand5 `json:"band_5,omitempty"` // Radio Band AP settings Band5On24Radio *RftemplateRadioBand5 `json:"band_5_on_24_radio,omitempty"` // Radio Band AP settings Band6 *RftemplateRadioBand6 `json:"band_6,omitempty"` // optional, country code to use. If specified, this gets applied to all sites using the RF Template CountryCode *string `json:"country_code,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` ForSite *bool `json:"for_site,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // overwrites for a specific model. If a band is specified, it will shadow the default. Property key is the model name (e.g. "AP63") ModelSpecific map[string]RfTemplateModelSpecificProperty `json:"model_specific,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` // The name of the RF template Name string `json:"name"` OrgId *uuid.UUID `json:"org_id,omitempty"` // whether scanning radio is enabled ScanningEnabled *bool `json:"scanning_enabled,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
RfTemplate represents a RfTemplate struct. RF Template
func (RfTemplate) MarshalJSON ¶
func (r RfTemplate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RfTemplate. It customizes the JSON marshaling process for RfTemplate objects.
func (*RfTemplate) UnmarshalJSON ¶
func (r *RfTemplate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RfTemplate. It customizes the JSON unmarshaling process for RfTemplate objects.
type RfTemplateModelSpecificProperty ¶
type RfTemplateModelSpecificProperty struct { AntGain24 *int `json:"ant_gain_24,omitempty"` AntGain5 *int `json:"ant_gain_5,omitempty"` AntGain6 *int `json:"ant_gain_6,omitempty"` // Radio Band AP settings Band24 *RftemplateRadioBand24 `json:"band_24,omitempty"` // enum: `24`, `5`, `6`, `auto` Band24Usage *RadioBand24UsageEnum `json:"band_24_usage,omitempty"` // Radio Band AP settings Band5 *RftemplateRadioBand5 `json:"band_5,omitempty"` // Radio Band AP settings Band5On24Radio *RftemplateRadioBand5 `json:"band_5_on_24_radio,omitempty"` // Radio Band AP settings Band6 *RftemplateRadioBand6 `json:"band_6,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
RfTemplateModelSpecificProperty represents a RfTemplateModelSpecificProperty struct.
func (RfTemplateModelSpecificProperty) MarshalJSON ¶
func (r RfTemplateModelSpecificProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RfTemplateModelSpecificProperty. It customizes the JSON marshaling process for RfTemplateModelSpecificProperty objects.
func (*RfTemplateModelSpecificProperty) UnmarshalJSON ¶
func (r *RfTemplateModelSpecificProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RfTemplateModelSpecificProperty. It customizes the JSON unmarshaling process for RfTemplateModelSpecificProperty objects.
type RftemplateRadioBand24 ¶
type RftemplateRadioBand24 struct { AllowRrmDisable *bool `json:"allow_rrm_disable,omitempty"` AntGain Optional[int] `json:"ant_gain"` // enum: `1x1`, `2x2`, `3x3`, `4x4`, `default` AntennaMode *RadioBandAntennaModeEnum `json:"antenna_mode,omitempty"` // channel width for the 2.4GHz band. enum: `20`, `40` Bandwidth *Dot11Bandwidth24Enum `json:"bandwidth,omitempty"` // For RFTemplates. List of channels, null or empty array means auto Channels Optional[[]int] `json:"channels"` // whether to disable the radio Disabled *bool `json:"disabled,omitempty"` // TX power of the radio. For Devices, 0 means auto. -1 / -2 / -3 / …: treated as 0 / -1 / -2 / … Power Optional[int] `json:"power"` // when power=0, max tx power to use, HW-specific values will be used if not set PowerMax Optional[int] `json:"power_max"` // when power=0, min tx power to use, HW-specific values will be used if not set PowerMin Optional[int] `json:"power_min"` // enum: `auto`, `long`, `short` Preamble *RadioBandPreambleEnum `json:"preamble,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
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 RftemplateRadioBand5 ¶
type RftemplateRadioBand5 struct { AllowRrmDisable *bool `json:"allow_rrm_disable,omitempty"` AntGain Optional[int] `json:"ant_gain"` // enum: `1x1`, `2x2`, `3x3`, `4x4`, `default` AntennaMode *RadioBandAntennaModeEnum `json:"antenna_mode,omitempty"` // channel width for the 5GHz band. enum: `20`, `40`, `80` Bandwidth *Dot11Bandwidth5Enum `json:"bandwidth,omitempty"` // For RFTemplates. List of channels, null or empty array means auto Channels Optional[[]int] `json:"channels"` // whether to disable the radio Disabled *bool `json:"disabled,omitempty"` // TX power of the radio. For Devices, 0 means auto. -1 / -2 / -3 / …: treated as 0 / -1 / -2 / … Power Optional[int] `json:"power"` // when power=0, max tx power to use, HW-specific values will be used if not set PowerMax Optional[int] `json:"power_max"` // when power=0, min tx power to use, HW-specific values will be used if not set PowerMin Optional[int] `json:"power_min"` // enum: `auto`, `long`, `short` Preamble *RadioBandPreambleEnum `json:"preamble,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
RftemplateRadioBand5 represents a RftemplateRadioBand5 struct. Radio Band AP settings
func (RftemplateRadioBand5) MarshalJSON ¶
func (r RftemplateRadioBand5) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RftemplateRadioBand5. It customizes the JSON marshaling process for RftemplateRadioBand5 objects.
func (*RftemplateRadioBand5) UnmarshalJSON ¶
func (r *RftemplateRadioBand5) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RftemplateRadioBand5. It customizes the JSON unmarshaling process for RftemplateRadioBand5 objects.
type RftemplateRadioBand6 ¶
type RftemplateRadioBand6 struct { AllowRrmDisable *bool `json:"allow_rrm_disable,omitempty"` AntGain Optional[int] `json:"ant_gain"` // enum: `1x1`, `2x2`, `3x3`, `4x4`, `default` AntennaMode *RadioBandAntennaModeEnum `json:"antenna_mode,omitempty"` // channel width for the 6GHz band. enum: `20`, `40`, `80`, `160` Bandwidth *Dot11Bandwidth6Enum `json:"bandwidth,omitempty"` // For RFTemplates. List of channels, null or empty array means auto Channels Optional[[]int] `json:"channels"` // whether to disable the radio Disabled *bool `json:"disabled,omitempty"` // TX power of the radio. For Devices, 0 means auto. -1 / -2 / -3 / …: treated as 0 / -1 / -2 / … Power Optional[int] `json:"power"` // when power=0, max tx power to use, HW-specific values will be used if not set PowerMax Optional[int] `json:"power_max"` // when power=0, min tx power to use, HW-specific values will be used if not set PowerMin Optional[int] `json:"power_min"` // enum: `auto`, `long`, `short` Preamble *RadioBandPreambleEnum `json:"preamble,omitempty"` // for 6GHz Only, standard-power operation, AFC (Automatic Frequency Coordination) will be performed and we'll fallback to Low Power Indoor if AFC failed StandardPower *bool `json:"standard_power,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
RftemplateRadioBand6 represents a RftemplateRadioBand6 struct. Radio Band AP settings
func (RftemplateRadioBand6) MarshalJSON ¶
func (r RftemplateRadioBand6) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RftemplateRadioBand6. It customizes the JSON marshaling process for RftemplateRadioBand6 objects.
func (*RftemplateRadioBand6) UnmarshalJSON ¶
func (r *RftemplateRadioBand6) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RftemplateRadioBand6. It customizes the JSON unmarshaling process for RftemplateRadioBand6 objects.
type RogueDetails ¶
type RogueDetails struct { Manufacture string `json:"manufacture"` SeenAsClient bool `json:"seen_as_client"` AdditionalProperties map[string]interface{} `json:"_"` }
RogueDetails represents a RogueDetails struct.
func (RogueDetails) MarshalJSON ¶
func (r RogueDetails) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RogueDetails. It customizes the JSON marshaling process for RogueDetails objects.
func (*RogueDetails) UnmarshalJSON ¶
func (r *RogueDetails) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RogueDetails. It customizes the JSON unmarshaling process for RogueDetails objects.
type RogueTypeEnum ¶
type RogueTypeEnum string
RogueTypeEnum is a string enum. enum: `honeypot`, `lan`, `others`, `spoof`
const ( RogueTypeEnum_HONEYPOT RogueTypeEnum = "honeypot" RogueTypeEnum_LAN RogueTypeEnum = "lan" RogueTypeEnum_OTHERS RogueTypeEnum = "others" RogueTypeEnum_SPOOF RogueTypeEnum = "spoof" )
type RootPasswordString ¶
type RootPasswordString struct { RootPassword string `json:"root_password"` AdditionalProperties map[string]interface{} `json:"_"` }
RootPasswordString represents a RootPasswordString struct.
func (RootPasswordString) MarshalJSON ¶
func (r RootPasswordString) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RootPasswordString. It customizes the JSON marshaling process for RootPasswordString objects.
func (*RootPasswordString) UnmarshalJSON ¶
func (r *RootPasswordString) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RootPasswordString. It customizes the JSON unmarshaling process for RootPasswordString objects.
type RouteSummaryStats ¶
type RouteSummaryStats struct { FibRoutes *int `json:"fib_routes,omitempty"` MaxUnicastRoutesSupported *int `json:"max_unicast_routes_supported,omitempty"` RibRoutes *int `json:"rib_routes,omitempty"` TotalRoutes *int `json:"total_routes,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
RouteSummaryStats represents a RouteSummaryStats struct.
func (RouteSummaryStats) MarshalJSON ¶
func (r RouteSummaryStats) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RouteSummaryStats. It customizes the JSON marshaling process for RouteSummaryStats objects.
func (*RouteSummaryStats) 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]interface{} `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]interface{} `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"` // route aggregation Aggregate []string `json:"aggregate,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]interface{} `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]interface{} `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]interface{} `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]interface{} `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"` // enum: `ready`, `unknown`, `updating` Status RrmStatusEnum `json:"status"` // time where the status was updated Timestamp float64 `json:"timestamp"` AdditionalProperties map[string]interface{} `json:"_"` }
Rrm represents a Rrm struct. RRM
func (Rrm) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Rrm. It customizes the JSON marshaling process for Rrm objects.
func (*Rrm) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Rrm. It customizes the JSON unmarshaling process for Rrm objects.
type RrmBand ¶
type RrmBand struct { // channel width for the band.enum: `20`, `40`, `80` (only applicable for band_5 and band_6), `160` (only for band_6) Bandwidth *Dot11BandwidthEnum `json:"bandwidth,omitempty"` // proposed channel Channel *int `json:"channel,omitempty"` // channel width for the band.enum: `20`, `40`, `80` (only applicable for band_5 and band_6), `160` (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]interface{} `json:"_"` }
RrmBand represents a RrmBand struct.
func (RrmBand) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for RrmBand. It customizes the JSON marshaling process for RrmBand objects.
func (*RrmBand) 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]interface{} `json:"_"` }
RrmBandMetric represents a RrmBandMetric struct.
func (RrmBandMetric) MarshalJSON ¶
func (r RrmBandMetric) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RrmBandMetric. It customizes the JSON marshaling process for RrmBandMetric objects.
func (*RrmBandMetric) UnmarshalJSON ¶
func (r *RrmBandMetric) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RrmBandMetric. It customizes the JSON unmarshaling process for RrmBandMetric objects.
type RrmBandMetricInterference ¶
type RrmBandMetricInterference struct { Radar *float64 `json:"radar,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
RrmBandMetricInterference represents a RrmBandMetricInterference struct.
func (RrmBandMetricInterference) MarshalJSON ¶
func (r RrmBandMetricInterference) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RrmBandMetricInterference. It customizes the JSON marshaling process for RrmBandMetricInterference objects.
func (*RrmBandMetricInterference) 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]interface{} `json:"_"` }
RrmConsideration represents a RrmConsideration struct.
func (RrmConsideration) MarshalJSON ¶
func (r RrmConsideration) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RrmConsideration. It customizes the JSON marshaling process for RrmConsideration objects.
func (*RrmConsideration) UnmarshalJSON ¶
func (r *RrmConsideration) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RrmConsideration. It customizes the JSON unmarshaling process for RrmConsideration objects.
type RrmEvent ¶
type RrmEvent struct { ApId uuid.UUID `json:"ap_id"` // enum: `24`, `5`, `6` Band Dot11BandEnum `json:"band"` // channel width for the band.enum: `20`, `40`, `80` (only applicable for band_5 and band_6), `160` (only for band_6) Bandwidth Dot11BandwidthEnum `json:"bandwidth"` // channel for the band from rrm Channel int `json:"channel"` // enum: `interference-ap-co-channel`, `interference-ap-non-wifi`, `neighbor-ap-down`, `neighbor-ap-recovered`, `radar-detected`, `rrm-radar`, `scheduled-site_rrm`, `triggered-site_rrm` Event RrmEventTypeEnum `json:"event"` // tx power of the radio Power int `json:"power"` // (previously) channel width for the band , 0 means no previously available. enum: `0`, `20`, `40`, `80`, `160` PreBandwidth RrmEventPreBandwidthEnum `json:"pre_bandwidth"` // (previously) channel for the band, 0 means no previously available PreChannel int `json:"pre_channel"` // (previously) tx power of the radio, 0 means no previously available PrePower float64 `json:"pre_power"` PreUsage string `json:"pre_usage"` // timestamp of the event Timestamp float64 `json:"timestamp"` Usage string `json:"usage"` AdditionalProperties map[string]interface{} `json:"_"` }
RrmEvent represents a RrmEvent struct.
func (RrmEvent) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for RrmEvent. It customizes the JSON marshaling process for RrmEvent objects.
func (*RrmEvent) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for RrmEvent. It customizes the JSON unmarshaling process for RrmEvent objects.
type RrmEventPreBandwidthEnum ¶
type RrmEventPreBandwidthEnum int
RrmEventPreBandwidthEnum is a int enum. (previously) channel width for the band , 0 means no previously available. enum: `0`, `20`, `40`, `80`, `160`
const ( RrmEventPreBandwidthEnum_ENUM0 RrmEventPreBandwidthEnum = 0 RrmEventPreBandwidthEnum_ENUM20 RrmEventPreBandwidthEnum = 20 RrmEventPreBandwidthEnum_ENUM40 RrmEventPreBandwidthEnum = 40 RrmEventPreBandwidthEnum_ENUM80 RrmEventPreBandwidthEnum = 80 RrmEventPreBandwidthEnum_ENUM160 RrmEventPreBandwidthEnum = 160 )
type RrmEventTypeEnum ¶
type RrmEventTypeEnum string
RrmEventTypeEnum is a string enum. enum: `interference-ap-co-channel`, `interference-ap-non-wifi`, `neighbor-ap-down`, `neighbor-ap-recovered`, `radar-detected`, `rrm-radar`, `scheduled-site_rrm`, `triggered-site_rrm`
const ( RrmEventTypeEnum_INTERFERENCEAPCOCHANNEL RrmEventTypeEnum = "interference-ap-co-channel" RrmEventTypeEnum_INTERFERENCEAPNONWIFI RrmEventTypeEnum = "interference-ap-non-wifi" RrmEventTypeEnum_NEIGHBORAPDOWN RrmEventTypeEnum = "neighbor-ap-down" RrmEventTypeEnum_NEIGHBORAPRECOVERED RrmEventTypeEnum = "neighbor-ap-recovered" RrmEventTypeEnum_RADARDETECTED RrmEventTypeEnum = "radar-detected" RrmEventTypeEnum_RRMRADAR RrmEventTypeEnum = "rrm-radar" RrmEventTypeEnum_SCHEDULEDSITERRM RrmEventTypeEnum = "scheduled-site_rrm" RrmEventTypeEnum_TRIGGEREDSITERRM RrmEventTypeEnum = "triggered-site_rrm" )
type RrmNeighbors ¶
type RrmNeighbors struct { Mac *string `json:"mac,omitempty"` Neighbors []RrmNeighborsNeighbor `json:"neighbors,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
RrmNeighbors represents a RrmNeighbors struct.
func (RrmNeighbors) MarshalJSON ¶
func (r RrmNeighbors) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RrmNeighbors. It customizes the JSON marshaling process for RrmNeighbors objects.
func (*RrmNeighbors) UnmarshalJSON ¶
func (r *RrmNeighbors) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RrmNeighbors. It customizes the JSON unmarshaling process for RrmNeighbors objects.
type RrmNeighborsNeighbor ¶
type RrmNeighborsNeighbor struct { Mac *string `json:"mac,omitempty"` Rssi *int `json:"rssi,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
RrmNeighborsNeighbor represents a RrmNeighborsNeighbor struct.
func (RrmNeighborsNeighbor) MarshalJSON ¶
func (r RrmNeighborsNeighbor) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RrmNeighborsNeighbor. It customizes the JSON marshaling process for RrmNeighborsNeighbor objects.
func (*RrmNeighborsNeighbor) UnmarshalJSON ¶
func (r *RrmNeighborsNeighbor) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RrmNeighborsNeighbor. It customizes the JSON unmarshaling process for RrmNeighborsNeighbor objects.
type RrmStatusEnum ¶
type RrmStatusEnum string
RrmStatusEnum is a string enum. enum: `ready`, `unknown`, `updating`
const ( RrmStatusEnum_READY RrmStatusEnum = "ready" RrmStatusEnum_UNKNOWN RrmStatusEnum = "unknown" RrmStatusEnum_UPDATING RrmStatusEnum = "updating" )
type RssiZone ¶
type RssiZone struct { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // List of devices and the respective RSSI values to be considered in the zone Devices []RssiZoneDevice `json:"devices"` ForSite *bool `json:"for_site,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` // The name of the zone Name *string `json:"name,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
RssiZone represents a RssiZone struct. RSSI Zone
func (RssiZone) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for RssiZone. It customizes the JSON marshaling process for RssiZone objects.
func (*RssiZone) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for RssiZone. It customizes the JSON unmarshaling process for RssiZone objects.
type RssiZoneDevice ¶
type RssiZoneDevice struct { DeviceId uuid.UUID `json:"device_id"` // RSSI threshold Rssi int `json:"rssi"` AdditionalProperties map[string]interface{} `json:"_"` }
RssiZoneDevice represents a RssiZoneDevice struct.
func (RssiZoneDevice) MarshalJSON ¶
func (r RssiZoneDevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RssiZoneDevice. It customizes the JSON marshaling process for RssiZoneDevice objects.
func (*RssiZoneDevice) UnmarshalJSON ¶
func (r *RssiZoneDevice) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RssiZoneDevice. It customizes the JSON unmarshaling process for RssiZoneDevice objects.
type SamlMetadata ¶ added in v0.4.0
type SamlMetadata struct { // if `idp_type`==`saml` AcsUrl *string `json:"acs_url,omitempty"` // if `idp_type`==`saml` EntityId *string `json:"entity_id,omitempty"` // if `idp_type`==`saml` LogoutUrl *string `json:"logout_url,omitempty"` // if `idp_type`==`saml` Metadata *string `json:"metadata,omitempty"` // if `idp_type`==`oauth` and `scim_enabled`==`true` ScimBaseUrl *string `json:"scim_base_url,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SamlMetadata represents a SamlMetadata struct.
func (SamlMetadata) MarshalJSON ¶ added in v0.4.0
func (s SamlMetadata) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SamlMetadata. It customizes the JSON marshaling process for SamlMetadata objects.
func (*SamlMetadata) UnmarshalJSON ¶ added in v0.4.0
func (s *SamlMetadata) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SamlMetadata. It customizes the JSON unmarshaling process for SamlMetadata objects.
type ScanDataItemBandEnum ¶
type ScanDataItemBandEnum string
ScanDataItemBandEnum is a string enum. 5GHz or 2.4GHz band, associated with the BSSID scanned. enum: `2.4`, `5`
const ( ScanDataItemBandEnum_ENUM24 ScanDataItemBandEnum = "2.4" ScanDataItemBandEnum_ENUM5 ScanDataItemBandEnum = "5" )
type SdkInviteSms ¶
type SdkInviteSms struct { Number string `json:"number"` AdditionalProperties map[string]interface{} `json:"_"` }
SdkInviteSms represents a SdkInviteSms struct.
func (SdkInviteSms) MarshalJSON ¶
func (s SdkInviteSms) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SdkInviteSms. It customizes the JSON marshaling process for SdkInviteSms objects.
func (*SdkInviteSms) UnmarshalJSON ¶
func (s *SdkInviteSms) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SdkInviteSms. It customizes the JSON unmarshaling process for SdkInviteSms objects.
type Sdkinvite ¶
type Sdkinvite struct { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` Enabled *bool `json:"enabled,omitempty"` ExpireTime *int `json:"expire_time,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` // name, will show up in mobile Name string `json:"name"` OrgId *uuid.UUID `json:"org_id,omitempty"` // number of time this invite can be used Quota *int `json:"quota,omitempty"` // whether quota limiting is enabled QuotaLimited *bool `json:"quota_limited,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Sdkinvite represents a Sdkinvite struct. SDK invite
func (Sdkinvite) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Sdkinvite. It customizes the JSON marshaling process for Sdkinvite objects.
func (*Sdkinvite) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Sdkinvite. It customizes the JSON unmarshaling process for Sdkinvite objects.
type SdkstatsWirelessClient ¶
type SdkstatsWirelessClient struct { // Unique ID of the object instance in the Mist Organnization 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 *StatsSdkclientNetworkConnection `json:"network_connection,omitempty"` // uuid of the sdk client Uuid uuid.UUID `json:"uuid"` // list of beacon_id’s of the sdk client is in and since when (if known) Vbeacons []SdkstatsWirelessClientVbeacon `json:"vbeacons,omitempty"` // x (in pixels) of user location on the map (if known) X *float64 `json:"x,omitempty"` // y (in pixels) of user location on the map (if known) Y *float64 `json:"y,omitempty"` // list of zone_id’s of the sdk client is in and since when (if known) Zones []SdkstatsWirelessClientZone `json:"zones,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SdkstatsWirelessClient represents a SdkstatsWirelessClient struct. SDK Client Details statistics
func (SdkstatsWirelessClient) MarshalJSON ¶
func (s SdkstatsWirelessClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SdkstatsWirelessClient. It customizes the JSON marshaling process for SdkstatsWirelessClient objects.
func (*SdkstatsWirelessClient) UnmarshalJSON ¶
func (s *SdkstatsWirelessClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SdkstatsWirelessClient. It customizes the JSON unmarshaling process for SdkstatsWirelessClient objects.
type SdkstatsWirelessClientVbeacon ¶ added in v0.3.0
type SdkstatsWirelessClientVbeacon struct { // Unique ID of the object instance in the Mist Organnization Id uuid.UUID `json:"id"` Since float64 `json:"since"` AdditionalProperties map[string]interface{} `json:"_"` }
SdkstatsWirelessClientVbeacon represents a SdkstatsWirelessClientVbeacon struct.
func (SdkstatsWirelessClientVbeacon) MarshalJSON ¶ added in v0.3.0
func (s SdkstatsWirelessClientVbeacon) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SdkstatsWirelessClientVbeacon. It customizes the JSON marshaling process for SdkstatsWirelessClientVbeacon objects.
func (*SdkstatsWirelessClientVbeacon) UnmarshalJSON ¶ added in v0.3.0
func (s *SdkstatsWirelessClientVbeacon) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SdkstatsWirelessClientVbeacon. It customizes the JSON unmarshaling process for SdkstatsWirelessClientVbeacon objects.
type SdkstatsWirelessClientZone ¶ added in v0.3.0
type SdkstatsWirelessClientZone struct { // Unique ID of the object instance in the Mist Organnization Id uuid.UUID `json:"id"` Since float64 `json:"since"` AdditionalProperties map[string]interface{} `json:"_"` }
SdkstatsWirelessClientZone represents a SdkstatsWirelessClientZone struct.
func (SdkstatsWirelessClientZone) MarshalJSON ¶ added in v0.3.0
func (s SdkstatsWirelessClientZone) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SdkstatsWirelessClientZone. It customizes the JSON marshaling process for SdkstatsWirelessClientZone objects.
func (*SdkstatsWirelessClientZone) UnmarshalJSON ¶ added in v0.3.0
func (s *SdkstatsWirelessClientZone) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SdkstatsWirelessClientZone. It customizes the JSON unmarshaling process for SdkstatsWirelessClientZone objects.
type Sdktemplate ¶
type Sdktemplate struct { BgImage *string `json:"bg_image,omitempty"` BtnFlrBgcolor *string `json:"btn_flr_bgcolor,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // whether this is the default template when there are multiple templates Default *bool `json:"default,omitempty"` ForSite *bool `json:"for_site,omitempty"` HeaderTxt *string `json:"header_txt,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` // name for identification purpose Name string `json:"name"` OrgId *uuid.UUID `json:"org_id,omitempty"` SearchTxtcolor *string `json:"search_txtcolor,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` WelcomeMsg *string `json:"welcome_msg,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Sdktemplate represents a Sdktemplate struct. SDK Template
func (Sdktemplate) MarshalJSON ¶
func (s Sdktemplate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for Sdktemplate. It customizes the JSON marshaling process for Sdktemplate objects.
func (*Sdktemplate) 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]interface{} `json:"_"` }
SearchEventsWanClient represents a SearchEventsWanClient struct.
func (SearchEventsWanClient) MarshalJSON ¶
func (s SearchEventsWanClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SearchEventsWanClient. It customizes the JSON marshaling process for SearchEventsWanClient objects.
func (*SearchEventsWanClient) 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. enum: `down`, `up`
const ( SearchOrgDevicesMxtunnelStatusEnum_DOWN SearchOrgDevicesMxtunnelStatusEnum = "down" SearchOrgDevicesMxtunnelStatusEnum_UP SearchOrgDevicesMxtunnelStatusEnum = "up" )
type SearchOrgSwOrGwPortsAuthStateEnum ¶
type SearchOrgSwOrGwPortsAuthStateEnum string
SearchOrgSwOrGwPortsAuthStateEnum is a string enum. enum: `authenticated`, `authenticating`, `held`, `init`
const ( SearchOrgSwOrGwPortsAuthStateEnum_AUTHENTICATED SearchOrgSwOrGwPortsAuthStateEnum = "authenticated" SearchOrgSwOrGwPortsAuthStateEnum_AUTHENTICATING SearchOrgSwOrGwPortsAuthStateEnum = "authenticating" SearchOrgSwOrGwPortsAuthStateEnum_HELD SearchOrgSwOrGwPortsAuthStateEnum = "held" SearchOrgSwOrGwPortsAuthStateEnum_INIT SearchOrgSwOrGwPortsAuthStateEnum = "init" )
type SearchOrgSwOrGwPortsStpRoleEnum ¶
type SearchOrgSwOrGwPortsStpRoleEnum string
SearchOrgSwOrGwPortsStpRoleEnum is a string enum. enum: `alternate`, `backup`, `designated`, `root`, `root-prevented`
const ( SearchOrgSwOrGwPortsStpRoleEnum_ALTERNATE SearchOrgSwOrGwPortsStpRoleEnum = "alternate" SearchOrgSwOrGwPortsStpRoleEnum_BACKUP SearchOrgSwOrGwPortsStpRoleEnum = "backup" SearchOrgSwOrGwPortsStpRoleEnum_DESIGNATED SearchOrgSwOrGwPortsStpRoleEnum = "designated" SearchOrgSwOrGwPortsStpRoleEnum_ROOT SearchOrgSwOrGwPortsStpRoleEnum = "root" SearchOrgSwOrGwPortsStpRoleEnum_ROOTPREVENTED SearchOrgSwOrGwPortsStpRoleEnum = "root-prevented" )
type SearchOrgSwOrGwPortsStpStateEnum ¶
type SearchOrgSwOrGwPortsStpStateEnum string
SearchOrgSwOrGwPortsStpStateEnum is a string enum. enum: `blocking`, `disabled`, `forwarding`, `learning`, `listening`
const ( SearchOrgSwOrGwPortsStpStateEnum_BLOCKING SearchOrgSwOrGwPortsStpStateEnum = "blocking" SearchOrgSwOrGwPortsStpStateEnum_DISABLED SearchOrgSwOrGwPortsStpStateEnum = "disabled" SearchOrgSwOrGwPortsStpStateEnum_FORWARDING SearchOrgSwOrGwPortsStpStateEnum = "forwarding" SearchOrgSwOrGwPortsStpStateEnum_LEARNING SearchOrgSwOrGwPortsStpStateEnum = "learning" SearchOrgSwOrGwPortsStpStateEnum_LISTENING SearchOrgSwOrGwPortsStpStateEnum = "listening" )
type SearchSiteDevicesDescSortEnum ¶
type SearchSiteDevicesDescSortEnum string
SearchSiteDevicesDescSortEnum is a string enum. enum: `mac`, `model`, `sku`, `timestamp`
const ( SearchSiteDevicesDescSortEnum_MAC SearchSiteDevicesDescSortEnum = "mac" SearchSiteDevicesDescSortEnum_MODEL SearchSiteDevicesDescSortEnum = "model" SearchSiteDevicesDescSortEnum_SKU SearchSiteDevicesDescSortEnum = "sku" SearchSiteDevicesDescSortEnum_TIMESTAMP SearchSiteDevicesDescSortEnum = "timestamp" )
type SearchSiteDevicesMxtunnelStatusEnum ¶
type SearchSiteDevicesMxtunnelStatusEnum string
SearchSiteDevicesMxtunnelStatusEnum is a string enum. enum: `down`, `up`
const ( SearchSiteDevicesMxtunnelStatusEnum_DOWN SearchSiteDevicesMxtunnelStatusEnum = "down" SearchSiteDevicesMxtunnelStatusEnum_UP SearchSiteDevicesMxtunnelStatusEnum = "up" )
type SearchSiteDevicesSortEnum ¶
type SearchSiteDevicesSortEnum string
SearchSiteDevicesSortEnum is a string enum. enum: `mac`, `model`, `sku`, `timestamp`
const ( SearchSiteDevicesSortEnum_MAC SearchSiteDevicesSortEnum = "mac" SearchSiteDevicesSortEnum_MODEL SearchSiteDevicesSortEnum = "model" SearchSiteDevicesSortEnum_SKU SearchSiteDevicesSortEnum = "sku" SearchSiteDevicesSortEnum_TIMESTAMP SearchSiteDevicesSortEnum = "timestamp" )
type SearchSiteSwOrGwPortsAuthStateEnum ¶
type SearchSiteSwOrGwPortsAuthStateEnum string
SearchSiteSwOrGwPortsAuthStateEnum is a string enum. enum: `authenticated`, `authenticating`, `held`, `init`
const ( SearchSiteSwOrGwPortsAuthStateEnum_AUTHENTICATED SearchSiteSwOrGwPortsAuthStateEnum = "authenticated" SearchSiteSwOrGwPortsAuthStateEnum_AUTHENTICATING SearchSiteSwOrGwPortsAuthStateEnum = "authenticating" SearchSiteSwOrGwPortsAuthStateEnum_HELD SearchSiteSwOrGwPortsAuthStateEnum = "held" SearchSiteSwOrGwPortsAuthStateEnum_INIT SearchSiteSwOrGwPortsAuthStateEnum = "init" )
type SearchSiteSwOrGwPortsDeviceTypeEnum ¶
type SearchSiteSwOrGwPortsDeviceTypeEnum string
SearchSiteSwOrGwPortsDeviceTypeEnum is a string enum. enum: `ap`, `ble`, `gateway`, `mxedge`, `nac`, `switch`
const ( SearchSiteSwOrGwPortsDeviceTypeEnum_AP SearchSiteSwOrGwPortsDeviceTypeEnum = "ap" SearchSiteSwOrGwPortsDeviceTypeEnum_BLE SearchSiteSwOrGwPortsDeviceTypeEnum = "ble" SearchSiteSwOrGwPortsDeviceTypeEnum_GATEWAY SearchSiteSwOrGwPortsDeviceTypeEnum = "gateway" SearchSiteSwOrGwPortsDeviceTypeEnum_MXEDGE SearchSiteSwOrGwPortsDeviceTypeEnum = "mxedge" SearchSiteSwOrGwPortsDeviceTypeEnum_NAC SearchSiteSwOrGwPortsDeviceTypeEnum = "nac" SearchSiteSwOrGwPortsDeviceTypeEnum_ENUMSWITCH SearchSiteSwOrGwPortsDeviceTypeEnum = "switch" )
type SearchSiteSwOrGwPortsStpRoleEnum ¶
type SearchSiteSwOrGwPortsStpRoleEnum string
SearchSiteSwOrGwPortsStpRoleEnum is a string enum. enum: `alternate`, `backup`, `designated`, `root`, `root-prevented`
const ( SearchSiteSwOrGwPortsStpRoleEnum_ALTERNATE SearchSiteSwOrGwPortsStpRoleEnum = "alternate" SearchSiteSwOrGwPortsStpRoleEnum_BACKUP SearchSiteSwOrGwPortsStpRoleEnum = "backup" SearchSiteSwOrGwPortsStpRoleEnum_DESIGNATED SearchSiteSwOrGwPortsStpRoleEnum = "designated" SearchSiteSwOrGwPortsStpRoleEnum_ROOT SearchSiteSwOrGwPortsStpRoleEnum = "root" SearchSiteSwOrGwPortsStpRoleEnum_ROOTPREVENTED SearchSiteSwOrGwPortsStpRoleEnum = "root-prevented" )
type SearchSiteSwOrGwPortsStpStateEnum ¶
type SearchSiteSwOrGwPortsStpStateEnum string
SearchSiteSwOrGwPortsStpStateEnum is a string enum. enum: `blocking`, `disabled`, `forwarding`, `learning`, `listening`
const ( SearchSiteSwOrGwPortsStpStateEnum_BLOCKING SearchSiteSwOrGwPortsStpStateEnum = "blocking" SearchSiteSwOrGwPortsStpStateEnum_DISABLED SearchSiteSwOrGwPortsStpStateEnum = "disabled" SearchSiteSwOrGwPortsStpStateEnum_FORWARDING SearchSiteSwOrGwPortsStpStateEnum = "forwarding" SearchSiteSwOrGwPortsStpStateEnum_LEARNING SearchSiteSwOrGwPortsStpStateEnum = "learning" SearchSiteSwOrGwPortsStpStateEnum_LISTENING SearchSiteSwOrGwPortsStpStateEnum = "listening" )
type SearchWanClient ¶
type SearchWanClient struct { End *int `json:"end,omitempty"` Limit *int `json:"limit,omitempty"` Results []StatsWanClient `json:"results,omitempty"` Start *int `json:"start,omitempty"` Total *int `json:"total,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SearchWanClient represents a SearchWanClient struct.
func (SearchWanClient) MarshalJSON ¶
func (s SearchWanClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SearchWanClient. It customizes the JSON marshaling process for SearchWanClient objects.
func (*SearchWanClient) 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]interface{} `json:"_"` }
SearchWanUsage represents a SearchWanUsage struct.
func (SearchWanUsage) MarshalJSON ¶
func (s SearchWanUsage) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SearchWanUsage. It customizes the JSON marshaling process for SearchWanUsage objects.
func (*SearchWanUsage) 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]interface{} `json:"_"` }
SearchWebhookDelivery represents a SearchWebhookDelivery struct.
func (SearchWebhookDelivery) MarshalJSON ¶
func (s SearchWebhookDelivery) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SearchWebhookDelivery. It customizes the JSON marshaling process for SearchWebhookDelivery objects.
func (*SearchWebhookDelivery) UnmarshalJSON ¶
func (s *SearchWebhookDelivery) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SearchWebhookDelivery. It customizes the JSON unmarshaling process for SearchWebhookDelivery objects.
type SearchWiredClient ¶
type SearchWiredClient struct { End float64 `json:"end"` Limit int `json:"limit"` Next *string `json:"next,omitempty"` Results []WiredClientResponse `json:"results"` Start float64 `json:"start"` Total int `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
SearchWiredClient represents a SearchWiredClient struct.
func (SearchWiredClient) MarshalJSON ¶
func (s SearchWiredClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SearchWiredClient. It customizes the JSON marshaling process for SearchWiredClient objects.
func (*SearchWiredClient) 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]interface{} `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]interface{} `json:"_"` }
SearchWxtagAppsItem represents a SearchWxtagAppsItem struct.
func (SearchWxtagAppsItem) MarshalJSON ¶
func (s SearchWxtagAppsItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SearchWxtagAppsItem. It customizes the JSON marshaling process for SearchWxtagAppsItem objects.
func (*SearchWxtagAppsItem) UnmarshalJSON ¶
func (s *SearchWxtagAppsItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SearchWxtagAppsItem. It customizes the JSON unmarshaling process for SearchWxtagAppsItem objects.
type SecintelProfile ¶ added in v0.3.17
type SecintelProfile struct { Name *string `json:"name,omitempty"` Profiles []SecintelProfileProfile `json:"profiles,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SecintelProfile represents a SecintelProfile struct.
func (SecintelProfile) MarshalJSON ¶ added in v0.3.17
func (s SecintelProfile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SecintelProfile. It customizes the JSON marshaling process for SecintelProfile objects.
func (*SecintelProfile) UnmarshalJSON ¶ added in v0.3.17
func (s *SecintelProfile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SecintelProfile. It customizes the JSON unmarshaling process for SecintelProfile objects.
type SecintelProfileProfile ¶ added in v0.3.17
type SecintelProfileProfile struct { // enum: `default`, `standard`, `strict` Action *SecintelProfileProfileActionEnum `json:"action,omitempty"` // enum: `CC`, `IH` (Infected Host), `DNS` Category *SecintelProfileProfileCategoryEnum `json:"category,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SecintelProfileProfile represents a SecintelProfileProfile struct.
func (SecintelProfileProfile) MarshalJSON ¶ added in v0.3.17
func (s SecintelProfileProfile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SecintelProfileProfile. It customizes the JSON marshaling process for SecintelProfileProfile objects.
func (*SecintelProfileProfile) UnmarshalJSON ¶ added in v0.3.17
func (s *SecintelProfileProfile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SecintelProfileProfile. It customizes the JSON unmarshaling process for SecintelProfileProfile objects.
type SecintelProfileProfileActionEnum ¶ added in v0.3.17
type SecintelProfileProfileActionEnum string
SecintelProfileProfileActionEnum is a string enum. enum: `default`, `standard`, `strict`
const ( SecintelProfileProfileActionEnum_ENUMDEFAULT SecintelProfileProfileActionEnum = "default" SecintelProfileProfileActionEnum_STANDARD SecintelProfileProfileActionEnum = "standard" SecintelProfileProfileActionEnum_STRICT SecintelProfileProfileActionEnum = "strict" )
type SecintelProfileProfileCategoryEnum ¶ added in v0.3.17
type SecintelProfileProfileCategoryEnum string
SecintelProfileProfileCategoryEnum is a string enum. enum: `CC`, `IH` (Infected Host), `DNS`
const ( SecintelProfileProfileCategoryEnum_CC SecintelProfileProfileCategoryEnum = "CC" SecintelProfileProfileCategoryEnum_DNS SecintelProfileProfileCategoryEnum = "DNS" SecintelProfileProfileCategoryEnum_IH SecintelProfileProfileCategoryEnum = "IH" )
type Secpolicy ¶
type Secpolicy struct { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` Name *string `json:"name,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` Wlans []Wlan `json:"wlans,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Secpolicy represents a Secpolicy struct. Security Policy is designed to audit / catch 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 (e.g. 10.0.0.0/8) 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"` // 0 means unlimited ClientLimitDown *int `json:"client_limit_down,omitempty"` // 0 means unlimited ClientLimitUp *int `json:"client_limit_up,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` Description *string `json:"description,omitempty"` // for SSR only, when `traffic_type`==`custom`. 0-63 or variable Dscp *ServiceDscp `json:"dscp,omitempty"` // enum: `non_revertable`, `none`, `revertable` FailoverPolicy *ServiceFailoverPolicyEnum `json:"failover_policy,omitempty"` // if `type`==`custom`, web filtering Hostnames []string `json:"hostnames,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // for SSR only, when `traffic_type`==`custom`, for uplink selection. 0-2147483647 or variable MaxJitter *ServiceMaxJitter `json:"max_jitter,omitempty"` // for SSR only, when `traffic_type`==`custom`, for uplink selection. 0-2147483647 or variable MaxLatency *ServiceMaxLatency `json:"max_latency,omitempty"` // for SSR only, when `traffic_type`==`custom`, for uplink selection. 0-100 or variable MaxLoss *ServiceMaxLoss `json:"max_loss,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` Name *string `json:"name,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` // 0 means unlimited ServiceLimitDown *int `json:"service_limit_down,omitempty"` // 0 means unlimited ServiceLimitUp *int `json:"service_limit_up,omitempty"` // whether to enable measure SLE SleEnabled *bool `json:"sle_enabled,omitempty"` // when `type`==`custom`, optional, if it doesn't exist, http and https is assumed Specs []ServiceSpec `json:"specs,omitempty"` SsrRelaxedTcpStateEnforcement *bool `json:"ssr_relaxed_tcp_state_enforcement,omitempty"` // when `traffic_type`==`custom`. enum: `best_effort`, `high`, `low`, `medium` TrafficClass *ServiceTrafficClassEnum `json:"traffic_class,omitempty"` // values from `/api/v1/consts/traffic_types` TrafficType *string `json:"traffic_type,omitempty"` // enum: `app_categories`, `apps`, `custom`, `urls` Type *ServiceTypeEnum `json:"type,omitempty"` // when `type`==`urls`, no need for spec as URL can encode the ports being used Urls []string `json:"urls,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Service represents a Service struct. Applications used for the Gateway configurations
func (Service) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Service. It customizes the JSON marshaling process for Service objects.
func (*Service) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Service. It customizes the JSON unmarshaling process for Service objects.
type ServiceDscp ¶ added in v0.2.33
type ServiceDscp struct {
// contains filtered or unexported fields
}
ServiceDscp represents a ServiceDscp struct. for SSR only, when `traffic_type`==`custom`. 0-63 or variable
func (*ServiceDscp) AsNumber ¶ added in v0.2.33
func (s *ServiceDscp) AsNumber() ( *int, bool)
func (*ServiceDscp) AsString ¶ added in v0.2.33
func (s *ServiceDscp) AsString() ( *string, bool)
func (ServiceDscp) MarshalJSON ¶ added in v0.2.33
func (s ServiceDscp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServiceDscp. It customizes the JSON marshaling process for ServiceDscp objects.
func (ServiceDscp) String ¶ added in v0.2.33
func (s ServiceDscp) String() string
String converts the ServiceDscp object to a string representation.
func (*ServiceDscp) UnmarshalJSON ¶ added in v0.2.33
func (s *ServiceDscp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ServiceDscp. It customizes the JSON unmarshaling process for ServiceDscp objects.
type ServiceFailoverPolicyEnum ¶
type ServiceFailoverPolicyEnum string
ServiceFailoverPolicyEnum is a string enum. enum: `non_revertable`, `none`, `revertable`
const ( ServiceFailoverPolicyEnum_NONREVERTABLE ServiceFailoverPolicyEnum = "non_revertable" ServiceFailoverPolicyEnum_NONE ServiceFailoverPolicyEnum = "none" ServiceFailoverPolicyEnum_REVERTABLE ServiceFailoverPolicyEnum = "revertable" )
type ServiceMaxJitter ¶ added in v0.2.33
type ServiceMaxJitter struct {
// contains filtered or unexported fields
}
ServiceMaxJitter represents a ServiceMaxJitter struct. for SSR only, when `traffic_type`==`custom`, for uplink selection. 0-2147483647 or variable
func (*ServiceMaxJitter) AsNumber ¶ added in v0.2.33
func (s *ServiceMaxJitter) AsNumber() ( *int, bool)
func (*ServiceMaxJitter) AsString ¶ added in v0.2.33
func (s *ServiceMaxJitter) AsString() ( *string, bool)
func (ServiceMaxJitter) MarshalJSON ¶ added in v0.2.33
func (s ServiceMaxJitter) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServiceMaxJitter. It customizes the JSON marshaling process for ServiceMaxJitter objects.
func (ServiceMaxJitter) String ¶ added in v0.2.33
func (s ServiceMaxJitter) String() string
String converts the ServiceMaxJitter object to a string representation.
func (*ServiceMaxJitter) UnmarshalJSON ¶ added in v0.2.33
func (s *ServiceMaxJitter) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ServiceMaxJitter. It customizes the JSON unmarshaling process for ServiceMaxJitter objects.
type ServiceMaxLatency ¶ added in v0.2.33
type ServiceMaxLatency struct {
// contains filtered or unexported fields
}
ServiceMaxLatency represents a ServiceMaxLatency struct. for SSR only, when `traffic_type`==`custom`, for uplink selection. 0-2147483647 or variable
func (*ServiceMaxLatency) AsNumber ¶ added in v0.2.33
func (s *ServiceMaxLatency) AsNumber() ( *int, bool)
func (*ServiceMaxLatency) AsString ¶ added in v0.2.33
func (s *ServiceMaxLatency) AsString() ( *string, bool)
func (ServiceMaxLatency) MarshalJSON ¶ added in v0.2.33
func (s ServiceMaxLatency) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServiceMaxLatency. It customizes the JSON marshaling process for ServiceMaxLatency objects.
func (ServiceMaxLatency) String ¶ added in v0.2.33
func (s ServiceMaxLatency) String() string
String converts the ServiceMaxLatency object to a string representation.
func (*ServiceMaxLatency) UnmarshalJSON ¶ added in v0.2.33
func (s *ServiceMaxLatency) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ServiceMaxLatency. It customizes the JSON unmarshaling process for ServiceMaxLatency objects.
type ServiceMaxLoss ¶ added in v0.2.33
type ServiceMaxLoss struct {
// contains filtered or unexported fields
}
ServiceMaxLoss represents a ServiceMaxLoss struct. for SSR only, when `traffic_type`==`custom`, for uplink selection. 0-100 or variable
func (*ServiceMaxLoss) AsNumber ¶ added in v0.2.33
func (s *ServiceMaxLoss) AsNumber() ( *int, bool)
func (*ServiceMaxLoss) AsString ¶ added in v0.2.33
func (s *ServiceMaxLoss) AsString() ( *string, bool)
func (ServiceMaxLoss) MarshalJSON ¶ added in v0.2.33
func (s ServiceMaxLoss) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServiceMaxLoss. It customizes the JSON marshaling process for ServiceMaxLoss objects.
func (ServiceMaxLoss) String ¶ added in v0.2.33
func (s ServiceMaxLoss) String() string
String converts the ServiceMaxLoss object to a string representation.
func (*ServiceMaxLoss) UnmarshalJSON ¶ added in v0.2.33
func (s *ServiceMaxLoss) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ServiceMaxLoss. It customizes the JSON unmarshaling process for ServiceMaxLoss objects.
type ServicePacket ¶
type ServicePacket struct { // ata from service data ServiceData *string `json:"service_data,omitempty"` // UUID from service data ServiceUuid *string `json:"service_uuid,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ServicePacket represents a ServicePacket struct.
func (ServicePacket) MarshalJSON ¶
func (s ServicePacket) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServicePacket. It customizes the JSON marshaling process for ServicePacket objects.
func (*ServicePacket) 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]interface{} `json:"_"` }
ServicePathEvent represents a ServicePathEvent struct.
func (ServicePathEvent) MarshalJSON ¶
func (s ServicePathEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServicePathEvent. It customizes the JSON marshaling process for ServicePathEvent objects.
func (*ServicePathEvent) UnmarshalJSON ¶
func (s *ServicePathEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ServicePathEvent. It customizes the JSON unmarshaling process for ServicePathEvent objects.
type ServicePolicy ¶
type ServicePolicy struct { // enum: `allow`, `deny` Action *AllowDenyEnum `json:"action,omitempty"` // For SRX Only Appqoe *ServicePolicyAppqoe `json:"appqoe,omitempty"` Ewf []ServicePolicyEwfRule `json:"ewf,omitempty"` Idp *IdpConfig `json:"idp,omitempty"` // access within the same VRF LocalRouting *bool `json:"local_routing,omitempty"` Name *string `json:"name,omitempty"` // by default, we derive all paths available and use them // optionally, you can customize by using `path_preference` PathPreference *string `json:"path_preference,omitempty"` // 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]interface{} `json:"_"` }
ServicePolicy represents a ServicePolicy struct.
func (ServicePolicy) MarshalJSON ¶
func (s ServicePolicy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServicePolicy. It customizes the JSON marshaling process for ServicePolicy objects.
func (*ServicePolicy) 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]interface{} `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"` // enum: `critical`, `standard`, `strict` Profile *ServicePolicyEwfRuleProfileEnum `json:"profile,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ServicePolicyEwfRule represents a ServicePolicyEwfRule struct.
func (ServicePolicyEwfRule) MarshalJSON ¶
func (s ServicePolicyEwfRule) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServicePolicyEwfRule. It customizes the JSON marshaling process for ServicePolicyEwfRule objects.
func (*ServicePolicyEwfRule) UnmarshalJSON ¶
func (s *ServicePolicyEwfRule) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ServicePolicyEwfRule. It customizes the JSON unmarshaling process for ServicePolicyEwfRule objects.
type ServicePolicyEwfRuleProfileEnum ¶
type ServicePolicyEwfRuleProfileEnum string
ServicePolicyEwfRuleProfileEnum is a string enum. enum: `critical`, `standard`, `strict`
const ( ServicePolicyEwfRuleProfileEnum_CRITICAL ServicePolicyEwfRuleProfileEnum = "critical" ServicePolicyEwfRuleProfileEnum_STANDARD ServicePolicyEwfRuleProfileEnum = "standard" ServicePolicyEwfRuleProfileEnum_STRICT ServicePolicyEwfRuleProfileEnum = "strict" )
type ServiceSpec ¶
type ServiceSpec struct { // port number, port range, or variable PortRange *string `json:"port_range,omitempty"` // `https`/ `tcp` / `udp` / `icmp` / `gre` / `any` / `:protocol_number`. // `protocol_number` is between 1-254 Protocol *string `json:"protocol,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ServiceSpec represents a ServiceSpec struct.
func (ServiceSpec) MarshalJSON ¶
func (s ServiceSpec) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServiceSpec. It customizes the JSON marshaling process for ServiceSpec objects.
func (*ServiceSpec) UnmarshalJSON ¶
func (s *ServiceSpec) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ServiceSpec. It customizes the JSON unmarshaling process for ServiceSpec objects.
type ServiceStatProperty ¶
type ServiceStatProperty struct { AshVersion *string `json:"ash_version,omitempty"` CiaVersion *string `json:"cia_version,omitempty"` EmberVersion *string `json:"ember_version,omitempty"` IpsecClientVersion *string `json:"ipsec_client_version,omitempty"` MistAgentVersion *string `json:"mist_agent_version,omitempty"` PackageVersion *string `json:"package_version,omitempty"` TestingToolsVersion *string `json:"testing_tools_version,omitempty"` WheeljackVersion *string `json:"wheeljack_version,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
ServiceStatProperty represents a ServiceStatProperty struct.
func (ServiceStatProperty) MarshalJSON ¶
func (s ServiceStatProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ServiceStatProperty. It customizes the JSON marshaling process for ServiceStatProperty objects.
func (*ServiceStatProperty) UnmarshalJSON ¶
func (s *ServiceStatProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ServiceStatProperty. It customizes the JSON unmarshaling process for ServiceStatProperty objects.
type ServiceTrafficClassEnum ¶
type ServiceTrafficClassEnum string
ServiceTrafficClassEnum is a string enum. when `traffic_type`==`custom`. enum: `best_effort`, `high`, `low`, `medium`
const ( ServiceTrafficClassEnum_BESTEFFORT ServiceTrafficClassEnum = "best_effort" ServiceTrafficClassEnum_HIGH ServiceTrafficClassEnum = "high" ServiceTrafficClassEnum_LOW ServiceTrafficClassEnum = "low" ServiceTrafficClassEnum_MEDIUM ServiceTrafficClassEnum = "medium" )
type ServiceTypeEnum ¶
type ServiceTypeEnum string
ServiceTypeEnum is a string enum. enum: `app_categories`, `apps`, `custom`, `urls`
const ( ServiceTypeEnum_APPCATEGORIES ServiceTypeEnum = "app_categories" ServiceTypeEnum_APPS ServiceTypeEnum = "apps" ServiceTypeEnum_CUSTOM ServiceTypeEnum = "custom" ServiceTypeEnum_URLS ServiceTypeEnum = "urls" )
type SimpleAlert ¶
type SimpleAlert struct { ArpFailure *SimpleAlertArpFailure `json:"arp_failure,omitempty"` DhcpFailure *SimpleAlertDhcpFailure `json:"dhcp_failure,omitempty"` DnsFailure *SimpleAlertDnsFailure `json:"dns_failure,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SimpleAlert represents a SimpleAlert struct. Set of heuristic rules will be enabled when marvis subscription is not available. It triggers when, in a Z minute window, there are more than Y distinct client 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]interface{} `json:"_"` }
SimpleAlertArpFailure represents a SimpleAlertArpFailure struct.
func (SimpleAlertArpFailure) MarshalJSON ¶
func (s SimpleAlertArpFailure) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SimpleAlertArpFailure. It customizes the JSON marshaling process for SimpleAlertArpFailure objects.
func (*SimpleAlertArpFailure) UnmarshalJSON ¶
func (s *SimpleAlertArpFailure) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SimpleAlertArpFailure. It customizes the JSON unmarshaling process for SimpleAlertArpFailure objects.
type SimpleAlertDhcpFailure ¶
type SimpleAlertDhcpFailure struct { ClientCount *int `json:"client_count,omitempty"` // failing within minutes Duration *int `json:"duration,omitempty"` IncidentCount *int `json:"incident_count,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SimpleAlertDhcpFailure represents a SimpleAlertDhcpFailure struct.
func (SimpleAlertDhcpFailure) MarshalJSON ¶
func (s SimpleAlertDhcpFailure) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SimpleAlertDhcpFailure. It customizes the JSON marshaling process for SimpleAlertDhcpFailure objects.
func (*SimpleAlertDhcpFailure) UnmarshalJSON ¶
func (s *SimpleAlertDhcpFailure) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SimpleAlertDhcpFailure. It customizes the JSON unmarshaling process for SimpleAlertDhcpFailure objects.
type SimpleAlertDnsFailure ¶
type SimpleAlertDnsFailure struct { ClientCount *int `json:"client_count,omitempty"` // failing within minutes Duration *int `json:"duration,omitempty"` IncidentCount *int `json:"incident_count,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SimpleAlertDnsFailure represents a SimpleAlertDnsFailure struct.
func (SimpleAlertDnsFailure) MarshalJSON ¶
func (s SimpleAlertDnsFailure) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SimpleAlertDnsFailure. It customizes the JSON marshaling process for SimpleAlertDnsFailure objects.
func (*SimpleAlertDnsFailure) 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"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // Gateway Template ID, used by gateways GatewaytemplateId Optional[uuid.UUID] `json:"gatewaytemplate_id"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` Latlng *LatLng `json:"latlng,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` Name string `json:"name"` // Network Template ID, this takes precedence over Site Settings NetworktemplateId Optional[uuid.UUID] `json:"networktemplate_id"` // optional, any notes about the site Notes *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]interface{} `json:"_"` }
Site represents a Site struct. Site
func (Site) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Site. It customizes the JSON marshaling process for Site objects.
func (*Site) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Site. It customizes the JSON unmarshaling process for Site objects.
type SiteApp ¶
type SiteApp struct { Group string `json:"group"` Key string `json:"key"` Name string `json:"name"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteApp represents a SiteApp struct.
func (SiteApp) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for SiteApp. It customizes the JSON marshaling process for SiteApp objects.
func (*SiteApp) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for SiteApp. It customizes the JSON unmarshaling process for SiteApp objects.
type SiteAppsCountDistinctEnum ¶
type SiteAppsCountDistinctEnum string
SiteAppsCountDistinctEnum is a string enum. enum: `ap`, `app`, `category`, `device_mac`, `port_id`, `service`, `src_ip`, `ssid`, `wcid`, `wlan_id app`
const ( SiteAppsCountDistinctEnum_AP SiteAppsCountDistinctEnum = "ap" SiteAppsCountDistinctEnum_APP SiteAppsCountDistinctEnum = "app" SiteAppsCountDistinctEnum_CATEGORY SiteAppsCountDistinctEnum = "category" SiteAppsCountDistinctEnum_DEVICEMAC SiteAppsCountDistinctEnum = "device_mac" SiteAppsCountDistinctEnum_PORTID SiteAppsCountDistinctEnum = "port_id" SiteAppsCountDistinctEnum_SERVICE SiteAppsCountDistinctEnum = "service" SiteAppsCountDistinctEnum_SRCIP SiteAppsCountDistinctEnum = "src_ip" SiteAppsCountDistinctEnum_SSID SiteAppsCountDistinctEnum = "ssid" SiteAppsCountDistinctEnum_WCID SiteAppsCountDistinctEnum = "wcid" SiteAppsCountDistinctEnum_ENUMWLANIDAPP SiteAppsCountDistinctEnum = "wlan_id app" )
type SiteAssetsCountDistinctEnum ¶
type SiteAssetsCountDistinctEnum string
SiteAssetsCountDistinctEnum is a string enum. enum: `by`, `device_name`, `eddystone_uid_instance`, `eddystone_uid_namespace`, `eddystone_url`, `ibeacon_major`, `ibeacon_minor`, `ibeacon_uuid`, `mac`, `map_id`, `name`
const ( SiteAssetsCountDistinctEnum_BY SiteAssetsCountDistinctEnum = "by" SiteAssetsCountDistinctEnum_DEVICENAME SiteAssetsCountDistinctEnum = "device_name" SiteAssetsCountDistinctEnum_EDDYSTONEUIDINSTANCE SiteAssetsCountDistinctEnum = "eddystone_uid_instance" SiteAssetsCountDistinctEnum_EDDYSTONEUIDNAMESPACE SiteAssetsCountDistinctEnum = "eddystone_uid_namespace" SiteAssetsCountDistinctEnum_EDDYSTONEURL SiteAssetsCountDistinctEnum = "eddystone_url" SiteAssetsCountDistinctEnum_IBEACONMAJOR SiteAssetsCountDistinctEnum = "ibeacon_major" SiteAssetsCountDistinctEnum_IBEACONMINOR SiteAssetsCountDistinctEnum = "ibeacon_minor" SiteAssetsCountDistinctEnum_IBEACONUUID SiteAssetsCountDistinctEnum = "ibeacon_uuid" SiteAssetsCountDistinctEnum_MAC SiteAssetsCountDistinctEnum = "mac" SiteAssetsCountDistinctEnum_MAPID SiteAssetsCountDistinctEnum = "map_id" SiteAssetsCountDistinctEnum_NAME SiteAssetsCountDistinctEnum = "name" )
type SiteAutoUpgradeVersionEnum ¶
type SiteAutoUpgradeVersionEnum string
SiteAutoUpgradeVersionEnum is a string enum. desired version. enum: `beta`, `custom`, `stable`
const ( SiteAutoUpgradeVersionEnum_BETA SiteAutoUpgradeVersionEnum = "beta" SiteAutoUpgradeVersionEnum_CUSTOM SiteAutoUpgradeVersionEnum = "custom" SiteAutoUpgradeVersionEnum_STABLE SiteAutoUpgradeVersionEnum = "stable" )
type SiteClientEventsCountDistinctEnum ¶
type SiteClientEventsCountDistinctEnum string
SiteClientEventsCountDistinctEnum is a string enum. enum: `band`, `channel`, `proto`, `ssid`, `type`, `wlan_id`
const ( SiteClientEventsCountDistinctEnum_BAND SiteClientEventsCountDistinctEnum = "band" SiteClientEventsCountDistinctEnum_CHANNEL SiteClientEventsCountDistinctEnum = "channel" SiteClientEventsCountDistinctEnum_PROTO SiteClientEventsCountDistinctEnum = "proto" SiteClientEventsCountDistinctEnum_SSID SiteClientEventsCountDistinctEnum = "ssid" SiteClientEventsCountDistinctEnum_ENUMTYPE SiteClientEventsCountDistinctEnum = "type" SiteClientEventsCountDistinctEnum_WLANID SiteClientEventsCountDistinctEnum = "wlan_id" )
type SiteClientSessionsCountDistinctEnum ¶
type SiteClientSessionsCountDistinctEnum string
SiteClientSessionsCountDistinctEnum is a string enum. enum: `ap`, `client_family`, `client_manufacture`, `client_model`, `client_os`, `mac`, `ssid`, `wlan_id`
const ( SiteClientSessionsCountDistinctEnum_AP SiteClientSessionsCountDistinctEnum = "ap" SiteClientSessionsCountDistinctEnum_CLIENTFAMILY SiteClientSessionsCountDistinctEnum = "client_family" SiteClientSessionsCountDistinctEnum_CLIENTMANUFACTURE SiteClientSessionsCountDistinctEnum = "client_manufacture" SiteClientSessionsCountDistinctEnum_CLIENTMODEL SiteClientSessionsCountDistinctEnum = "client_model" SiteClientSessionsCountDistinctEnum_CLIENTOS SiteClientSessionsCountDistinctEnum = "client_os" SiteClientSessionsCountDistinctEnum_MAC SiteClientSessionsCountDistinctEnum = "mac" SiteClientSessionsCountDistinctEnum_SSID SiteClientSessionsCountDistinctEnum = "ssid" SiteClientSessionsCountDistinctEnum_WLANID SiteClientSessionsCountDistinctEnum = "wlan_id" )
type SiteClientsCountDistinctEnum ¶
type SiteClientsCountDistinctEnum string
SiteClientsCountDistinctEnum is a string enum. enum: `ap`, `device`, `hostname`, `ip`, `model`, `os`, `ssid`, `vlan`
const ( SiteClientsCountDistinctEnum_AP SiteClientsCountDistinctEnum = "ap" SiteClientsCountDistinctEnum_DEVICE SiteClientsCountDistinctEnum = "device" SiteClientsCountDistinctEnum_HOSTNAME SiteClientsCountDistinctEnum = "hostname" SiteClientsCountDistinctEnum_IP SiteClientsCountDistinctEnum = "ip" SiteClientsCountDistinctEnum_MODEL SiteClientsCountDistinctEnum = "model" SiteClientsCountDistinctEnum_OS SiteClientsCountDistinctEnum = "os" SiteClientsCountDistinctEnum_SSID SiteClientsCountDistinctEnum = "ssid" SiteClientsCountDistinctEnum_VLAN SiteClientsCountDistinctEnum = "vlan" )
type SiteDeviceEventsCountDistinctEnum ¶
type SiteDeviceEventsCountDistinctEnum string
SiteDeviceEventsCountDistinctEnum is a string enum. enum: `mac`, `model`, `type`, `type_code`
const ( SiteDeviceEventsCountDistinctEnum_MAC SiteDeviceEventsCountDistinctEnum = "mac" SiteDeviceEventsCountDistinctEnum_MODEL SiteDeviceEventsCountDistinctEnum = "model" SiteDeviceEventsCountDistinctEnum_ENUMTYPE SiteDeviceEventsCountDistinctEnum = "type" SiteDeviceEventsCountDistinctEnum_TYPECODE SiteDeviceEventsCountDistinctEnum = "type_code" )
type SiteDeviceLastConfigCountDistinctEnum ¶
type SiteDeviceLastConfigCountDistinctEnum string
SiteDeviceLastConfigCountDistinctEnum is a string enum. enum: `mac`, `name`, `site_id`, `version`
const ( SiteDeviceLastConfigCountDistinctEnum_MAC SiteDeviceLastConfigCountDistinctEnum = "mac" SiteDeviceLastConfigCountDistinctEnum_NAME SiteDeviceLastConfigCountDistinctEnum = "name" SiteDeviceLastConfigCountDistinctEnum_SITEID SiteDeviceLastConfigCountDistinctEnum = "site_id" SiteDeviceLastConfigCountDistinctEnum_VERSION SiteDeviceLastConfigCountDistinctEnum = "version" )
type SiteDevicesCountDistinctEnum ¶
type SiteDevicesCountDistinctEnum string
SiteDevicesCountDistinctEnum is a string enum. enum: `hostname`, `lldp_mgmt_addr`, `lldp_port_id`, `lldp_system_desc`, `lldp_system_name`, `map_id`, `model`, `mxedge_id`, `mxtunnel_status`, `version`
const ( SiteDevicesCountDistinctEnum_HOSTNAME SiteDevicesCountDistinctEnum = "hostname" SiteDevicesCountDistinctEnum_LLDPMGMTADDR SiteDevicesCountDistinctEnum = "lldp_mgmt_addr" SiteDevicesCountDistinctEnum_LLDPPORTID SiteDevicesCountDistinctEnum = "lldp_port_id" SiteDevicesCountDistinctEnum_LLDPSYSTEMDESC SiteDevicesCountDistinctEnum = "lldp_system_desc" SiteDevicesCountDistinctEnum_LLDPSYSTEMNAME SiteDevicesCountDistinctEnum = "lldp_system_name" SiteDevicesCountDistinctEnum_MAPID SiteDevicesCountDistinctEnum = "map_id" SiteDevicesCountDistinctEnum_MODEL SiteDevicesCountDistinctEnum = "model" SiteDevicesCountDistinctEnum_MXEDGEID SiteDevicesCountDistinctEnum = "mxedge_id" SiteDevicesCountDistinctEnum_MXTUNNELSTATUS SiteDevicesCountDistinctEnum = "mxtunnel_status" SiteDevicesCountDistinctEnum_VERSION SiteDevicesCountDistinctEnum = "version" )
type SiteDiscoveredSwitchesCountDistinctEnum ¶
type SiteDiscoveredSwitchesCountDistinctEnum string
SiteDiscoveredSwitchesCountDistinctEnum is a string enum. enum: `mgmt_addr`, `model`, `system_name`, `version`
const ( SiteDiscoveredSwitchesCountDistinctEnum_MGMTADDR SiteDiscoveredSwitchesCountDistinctEnum = "mgmt_addr" SiteDiscoveredSwitchesCountDistinctEnum_MODEL SiteDiscoveredSwitchesCountDistinctEnum = "model" SiteDiscoveredSwitchesCountDistinctEnum_SYSTEMNAME SiteDiscoveredSwitchesCountDistinctEnum = "system_name" SiteDiscoveredSwitchesCountDistinctEnum_VERSION SiteDiscoveredSwitchesCountDistinctEnum = "version" )
type SiteEngagement ¶
type SiteEngagement struct { 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\u2019\ 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]interface{} `json:"_"` }
SiteEngagement represents a SiteEngagement struct. **Note**: if hours does not exist, it’s treated as everyday of the week, 00:00-23:59. Currently we don’t allow multiple ranges for the same day **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]interface{} `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]interface{} `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. enum: `auth_method`, `company`, `ssid`
const ( SiteGuestsCountDistinctEnum_AUTHMETHOD SiteGuestsCountDistinctEnum = "auth_method" SiteGuestsCountDistinctEnum_COMPANY SiteGuestsCountDistinctEnum = "company" SiteGuestsCountDistinctEnum_SSID SiteGuestsCountDistinctEnum = "ssid" )
type SiteMxedgeEventsCountDistinctEnum ¶
type SiteMxedgeEventsCountDistinctEnum string
SiteMxedgeEventsCountDistinctEnum is a string enum. enum: `mxcluster_id`, `mxedge_id`, `package`, `type`
const ( SiteMxedgeEventsCountDistinctEnum_MXCLUSTERID SiteMxedgeEventsCountDistinctEnum = "mxcluster_id" SiteMxedgeEventsCountDistinctEnum_MXEDGEID SiteMxedgeEventsCountDistinctEnum = "mxedge_id" SiteMxedgeEventsCountDistinctEnum_ENUMPACKAGE SiteMxedgeEventsCountDistinctEnum = "package" SiteMxedgeEventsCountDistinctEnum_ENUMTYPE SiteMxedgeEventsCountDistinctEnum = "type" )
type SiteMxtunnel ¶
type SiteMxtunnel struct { AdditionalMxtunnels map[string]SiteMxtunnelAdditionalMxtunnel `json:"additional_mxtunnels,omitempty"` // list of subnets where we allow AP to establish Mist Tunnels from ApSubnets []string `json:"ap_subnets,omitempty"` // schedule to preempt ap’s which are not connected to preferred peer AutoPreemption *AutoPreemption `json:"auto_preemption,omitempty"` // for AP, how to connect to tunterm or radsecproxy Clusters []SiteMxtunnelCluster `json:"clusters,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` Enabled *bool `json:"enabled,omitempty"` ForSite *bool `json:"for_site,omitempty"` // in seconds, used as heartbeat to detect if a tunnel is alive. AP will try another peer after missing N hellos specified by hello_retries HelloInterval *int `json:"hello_interval,omitempty"` HelloRetries *int `json:"hello_retries,omitempty"` // hostnames or IPs where a Mist Tunnel will use as the Peer (i.e. they are reachable from AP) Hosts []string `json:"hosts,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` // 0 to enable PMTU, 552-1500 to start PMTU with a lower MTU Mtu *int `json:"mtu,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` // enum: `ip`, `udp` Protocol *MxtunnelProtocolEnum `json:"protocol,omitempty"` Radsec *SiteMxtunnelRadsec `json:"radsec,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` // list of vlan_ids that will be used VlanIds []int `json:"vlan_ids,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteMxtunnel represents a SiteMxtunnel struct. Site MxTunnel
func (SiteMxtunnel) MarshalJSON ¶
func (s SiteMxtunnel) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteMxtunnel. It customizes the JSON marshaling process for SiteMxtunnel objects.
func (*SiteMxtunnel) 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"` // enum: `ip`, `udp` Protocol *SiteMxtunnelProtocolEnum `json:"protocol,omitempty"` VlanIds []int `json:"vlan_ids,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteMxtunnelAdditionalMxtunnel represents a SiteMxtunnelAdditionalMxtunnel struct.
func (SiteMxtunnelAdditionalMxtunnel) MarshalJSON ¶
func (s SiteMxtunnelAdditionalMxtunnel) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteMxtunnelAdditionalMxtunnel. It customizes the JSON marshaling process for SiteMxtunnelAdditionalMxtunnel objects.
func (*SiteMxtunnelAdditionalMxtunnel) UnmarshalJSON ¶
func (s *SiteMxtunnelAdditionalMxtunnel) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteMxtunnelAdditionalMxtunnel. It customizes the JSON unmarshaling process for SiteMxtunnelAdditionalMxtunnel objects.
type SiteMxtunnelCluster ¶
type SiteMxtunnelCluster struct { Name *string `json:"name,omitempty"` TuntermHosts []string `json:"tunterm_hosts,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteMxtunnelCluster represents a SiteMxtunnelCluster struct.
func (SiteMxtunnelCluster) MarshalJSON ¶
func (s SiteMxtunnelCluster) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteMxtunnelCluster. It customizes the JSON marshaling process for SiteMxtunnelCluster objects.
func (*SiteMxtunnelCluster) UnmarshalJSON ¶
func (s *SiteMxtunnelCluster) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteMxtunnelCluster. It customizes the JSON unmarshaling process for SiteMxtunnelCluster objects.
type SiteMxtunnelProtocolEnum ¶
type SiteMxtunnelProtocolEnum string
SiteMxtunnelProtocolEnum is a string enum. enum: `ip`, `udp`
const ( SiteMxtunnelProtocolEnum_IP SiteMxtunnelProtocolEnum = "ip" SiteMxtunnelProtocolEnum_UDP SiteMxtunnelProtocolEnum = "udp" )
type SiteMxtunnelRadsec ¶
type SiteMxtunnelRadsec struct { AcctServers []RadiusAcctServer `json:"acct_servers,omitempty"` AuthServers []RadiusAuthServer `json:"auth_servers,omitempty"` Enabled *bool `json:"enabled,omitempty"` UseMxedge *bool `json:"use_mxedge,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteMxtunnelRadsec represents a SiteMxtunnelRadsec struct.
func (SiteMxtunnelRadsec) MarshalJSON ¶
func (s SiteMxtunnelRadsec) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteMxtunnelRadsec. It customizes the JSON marshaling process for SiteMxtunnelRadsec objects.
func (*SiteMxtunnelRadsec) UnmarshalJSON ¶
func (s *SiteMxtunnelRadsec) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteMxtunnelRadsec. It customizes the JSON unmarshaling process for SiteMxtunnelRadsec objects.
type SiteNacClientEventsCountDistinctEnum ¶
type SiteNacClientEventsCountDistinctEnum string
SiteNacClientEventsCountDistinctEnum is a string enum. enum: `ap`, `auth_type`, `dryrun_nacrule_id`, `mac`, `nacrule_id`, `nas_vendor`, `ssid`, `type`, `username`, `vlan`
const ( SiteNacClientEventsCountDistinctEnum_AP SiteNacClientEventsCountDistinctEnum = "ap" SiteNacClientEventsCountDistinctEnum_AUTHTYPE SiteNacClientEventsCountDistinctEnum = "auth_type" SiteNacClientEventsCountDistinctEnum_DRYRUNNACRULEID SiteNacClientEventsCountDistinctEnum = "dryrun_nacrule_id" SiteNacClientEventsCountDistinctEnum_MAC SiteNacClientEventsCountDistinctEnum = "mac" SiteNacClientEventsCountDistinctEnum_NACRULEID SiteNacClientEventsCountDistinctEnum = "nacrule_id" SiteNacClientEventsCountDistinctEnum_NASVENDOR SiteNacClientEventsCountDistinctEnum = "nas_vendor" SiteNacClientEventsCountDistinctEnum_SSID SiteNacClientEventsCountDistinctEnum = "ssid" SiteNacClientEventsCountDistinctEnum_ENUMTYPE SiteNacClientEventsCountDistinctEnum = "type" SiteNacClientEventsCountDistinctEnum_USERNAME SiteNacClientEventsCountDistinctEnum = "username" SiteNacClientEventsCountDistinctEnum_VLAN SiteNacClientEventsCountDistinctEnum = "vlan" )
type SiteNacClientsCountDistinctEnum ¶
type SiteNacClientsCountDistinctEnum string
SiteNacClientsCountDistinctEnum is a string enum. enum: `auth_type`, `last_ap`, `last_nacrule_id`, `last_nas_vendor`, `last_ssid`, `last_status`, `last_username`, `last_vlan`, `mac`, `mdm_compliance`, `mdm_provider`, `type`
const ( SiteNacClientsCountDistinctEnum_AUTHTYPE SiteNacClientsCountDistinctEnum = "auth_type" SiteNacClientsCountDistinctEnum_LASTAP SiteNacClientsCountDistinctEnum = "last_ap" SiteNacClientsCountDistinctEnum_LASTNACRULEID SiteNacClientsCountDistinctEnum = "last_nacrule_id" SiteNacClientsCountDistinctEnum_LASTNASVENDOR SiteNacClientsCountDistinctEnum = "last_nas_vendor" SiteNacClientsCountDistinctEnum_LASTSSID SiteNacClientsCountDistinctEnum = "last_ssid" SiteNacClientsCountDistinctEnum_LASTSTATUS SiteNacClientsCountDistinctEnum = "last_status" SiteNacClientsCountDistinctEnum_LASTUSERNAME SiteNacClientsCountDistinctEnum = "last_username" SiteNacClientsCountDistinctEnum_LASTVLAN SiteNacClientsCountDistinctEnum = "last_vlan" SiteNacClientsCountDistinctEnum_MAC SiteNacClientsCountDistinctEnum = "mac" SiteNacClientsCountDistinctEnum_MDMCOMPLIANCE SiteNacClientsCountDistinctEnum = "mdm_compliance" SiteNacClientsCountDistinctEnum_MDMPROVIDER SiteNacClientsCountDistinctEnum = "mdm_provider" SiteNacClientsCountDistinctEnum_ENUMTYPE SiteNacClientsCountDistinctEnum = "type" )
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]interface{} `json:"_"` }
SiteOccupancyAnalytics represents a SiteOccupancyAnalytics struct. Occupancy Analytics settings
func (SiteOccupancyAnalytics) MarshalJSON ¶
func (s SiteOccupancyAnalytics) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteOccupancyAnalytics. It customizes the JSON marshaling process for SiteOccupancyAnalytics objects.
func (*SiteOccupancyAnalytics) UnmarshalJSON ¶
func (s *SiteOccupancyAnalytics) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteOccupancyAnalytics. It customizes the JSON unmarshaling process for SiteOccupancyAnalytics objects.
type SiteOtherDeviceEventsCountDistinctEnum ¶
type SiteOtherDeviceEventsCountDistinctEnum string
SiteOtherDeviceEventsCountDistinctEnum is a string enum. enum: `mac`, `site_id`, `type`, `vendor`
const ( SiteOtherDeviceEventsCountDistinctEnum_MAC SiteOtherDeviceEventsCountDistinctEnum = "mac" SiteOtherDeviceEventsCountDistinctEnum_SITEID SiteOtherDeviceEventsCountDistinctEnum = "site_id" SiteOtherDeviceEventsCountDistinctEnum_ENUMTYPE SiteOtherDeviceEventsCountDistinctEnum = "type" SiteOtherDeviceEventsCountDistinctEnum_VENDOR SiteOtherDeviceEventsCountDistinctEnum = "vendor" )
type SitePortsCountDistinctEnum ¶
type SitePortsCountDistinctEnum string
SitePortsCountDistinctEnum is a string enum. enum: `full_duplex`, `mac`, `neighbor_mac`, `neighbor_port_desc`, `neighbor_system_name`, `poe_disabled`, `poe_mode`, `poe_on`, `port_id`, `port_mac`, `speed`, `up`
const ( SitePortsCountDistinctEnum_FULLDUPLEX SitePortsCountDistinctEnum = "full_duplex" SitePortsCountDistinctEnum_MAC SitePortsCountDistinctEnum = "mac" SitePortsCountDistinctEnum_NEIGHBORMAC SitePortsCountDistinctEnum = "neighbor_mac" SitePortsCountDistinctEnum_NEIGHBORPORTDESC SitePortsCountDistinctEnum = "neighbor_port_desc" SitePortsCountDistinctEnum_NEIGHBORSYSTEMNAME SitePortsCountDistinctEnum = "neighbor_system_name" SitePortsCountDistinctEnum_POEDISABLED SitePortsCountDistinctEnum = "poe_disabled" SitePortsCountDistinctEnum_POEMODE SitePortsCountDistinctEnum = "poe_mode" SitePortsCountDistinctEnum_POEON SitePortsCountDistinctEnum = "poe_on" SitePortsCountDistinctEnum_PORTID SitePortsCountDistinctEnum = "port_id" SitePortsCountDistinctEnum_PORTMAC SitePortsCountDistinctEnum = "port_mac" SitePortsCountDistinctEnum_SPEED SitePortsCountDistinctEnum = "speed" SitePortsCountDistinctEnum_UP SitePortsCountDistinctEnum = "up" )
type SiteRogue ¶
type SiteRogue struct { // 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]interface{} `json:"_"` }
SiteRogue represents a SiteRogue struct. Rogue site settings
func (SiteRogue) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for SiteRogue. It customizes the JSON marshaling process for SiteRogue objects.
func (*SiteRogue) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for SiteRogue. It customizes the JSON unmarshaling process for SiteRogue objects.
type SiteRogueEventsCountDistinctEnum ¶
type SiteRogueEventsCountDistinctEnum string
SiteRogueEventsCountDistinctEnum is a string enum. enum: `ap`, `bssid`, `ssid`, `type`
const ( SiteRogueEventsCountDistinctEnum_AP SiteRogueEventsCountDistinctEnum = "ap" SiteRogueEventsCountDistinctEnum_BSSID SiteRogueEventsCountDistinctEnum = "bssid" SiteRogueEventsCountDistinctEnum_SSID SiteRogueEventsCountDistinctEnum = "ssid" SiteRogueEventsCountDistinctEnum_ENUMTYPE SiteRogueEventsCountDistinctEnum = "type" )
type SiteServiceEventsCountDistinctEnum ¶
type SiteServiceEventsCountDistinctEnum string
SiteServiceEventsCountDistinctEnum is a string enum. enum: `mac`, `model`, `policy`, `port_id`, `site_id`, `type`, `vpn_name`, `vpn_path`
const ( SiteServiceEventsCountDistinctEnum_MAC SiteServiceEventsCountDistinctEnum = "mac" SiteServiceEventsCountDistinctEnum_MODEL SiteServiceEventsCountDistinctEnum = "model" SiteServiceEventsCountDistinctEnum_POLICY SiteServiceEventsCountDistinctEnum = "policy" SiteServiceEventsCountDistinctEnum_PORTID SiteServiceEventsCountDistinctEnum = "port_id" SiteServiceEventsCountDistinctEnum_SITEID SiteServiceEventsCountDistinctEnum = "site_id" SiteServiceEventsCountDistinctEnum_ENUMTYPE SiteServiceEventsCountDistinctEnum = "type" SiteServiceEventsCountDistinctEnum_VPNNAME SiteServiceEventsCountDistinctEnum = "vpn_name" SiteServiceEventsCountDistinctEnum_VPNPATH SiteServiceEventsCountDistinctEnum = "vpn_path" )
type SiteSetting ¶
type SiteSetting struct { AclPolicies []AclPolicy `json:"acl_policies,omitempty"` // ACL Tags to identify traffic source or destination. Key name is the tag name AclTags map[string]AclTag `json:"acl_tags,omitempty"` // additional CLI commands to append to the generated Junos config. **Note**: no check is done AdditionalConfigCmds []string `json:"additional_config_cmds,omitempty"` Analytic *SiteSettingAnalytic `json:"analytic,omitempty"` ApMatching *SiteSettingApMatching `json:"ap_matching,omitempty"` ApPortConfig *SiteSettingApPortConfig `json:"ap_port_config,omitempty"` // enable threshold-based device down delivery for AP devices only. When configured it takes effect for AP devices and `device_updown_threshold` is ignored. ApUpdownThreshold Optional[int] `json:"ap_updown_threshold"` // if we're able to determine its x/y/orientation, this will be populated AutoPlacement *SiteSettingAutoPlacement `json:"auto_placement,omitempty"` // Auto Upgrade Settings AutoUpgrade *SiteSettingAutoUpgrade `json:"auto_upgrade,omitempty"` BlacklistUrl *string `json:"blacklist_url,omitempty"` // BLE AP settings BleConfig *BleConfig `json:"ble_config,omitempty"` // whether to enable ap auto config revert ConfigAutoRevert *bool `json:"config_auto_revert,omitempty"` // mist also uses some heuristic rules to prevent destructive configs from being pushed ConfigPushPolicy *SiteSettingConfigPushPolicy `json:"config_push_policy,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // you can define some URLs that's critical to site operaitons the latency will be captured and considered for site health CriticalUrlMonitoring *SiteSettingCriticalUrlMonitoring `json:"critical_url_monitoring,omitempty"` // by default, device_updown_thresold, if set, will apply to all devices types if different values for specific device type is desired, use the following DeviceUpdownThreshold Optional[int] `json:"device_updown_threshold"` DhcpSnooping *DhcpSnooping `json:"dhcp_snooping,omitempty"` // if some system-default port usages are not desired - namely, ap / iot / uplink DisabledSystemDefinedPortUsages []SystemDefinedPortUsagesEnum `json:"disabled_system_defined_port_usages,omitempty"` // Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting DnsServers []string `json:"dns_servers,omitempty"` // Global dns settings. To keep compatibility, dns settings in `ip_config` and `oob_ip_config` will overwrite this setting DnsSuffix []string `json:"dns_suffix,omitempty"` // **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]ExtraRoute `json:"extra_routes,omitempty"` // Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64") ExtraRoutes6 map[string]ExtraRoute6 `json:"extra_routes6,omitempty"` // name/val pair objects for location engine to use Flags map[string]string `json:"flags,omitempty"` ForSite *bool `json:"for_site,omitempty"` // Gateway Template is applied to a site for gateway(s) in a site. Gateway *GatewayTemplate `json:"gateway,omitempty"` // additional CLI commands to append to the generated Junos config. **Note**: no check is done GatewayAdditionalConfigCmds []string `json:"gateway_additional_config_cmds,omitempty"` // Gateway Site settings GatewayMgmt *SiteSettingGatewayMgmt `json:"gateway_mgmt,omitempty"` // enable threshold-based device down delivery for Gateway devices only. When configured it takes effect for GW devices and `device_updown_threshold` is ignored. GatewayUpdownThreshold Optional[int] `json:"gateway_updown_threshold"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` JuniperSrx *SiteSettingJuniperSrx `json:"juniper_srx,omitempty"` // LED AP settings Led *ApLed `json:"led,omitempty"` // enable mist_nac to use radsec MistNac *SwitchMistNac `json:"mist_nac,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` // site mist edges form a cluster of 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"` // Junos OSPF areas OspfAreas map[string]OspfArea `json:"ospf_areas,omitempty"` PaloaltoNetworks *SiteSettingPaloaltoNetworks `json:"paloalto_networks,omitempty"` // whether to store the config on AP PersistConfigOnDevice *bool `json:"persist_config_on_device,omitempty"` // Property key is the port mirroring instance name // port_mirroring can be added under device/site settings. It takes interface and ports as input for ingress, interface as input for egress and can take interface and port as output. A maximum 4 port mirrorings is allowed PortMirroring map[string]SwitchPortMirroringProperty `json:"port_mirroring,omitempty"` // Property key is the port usage name. Defines the profiles of port configuration configured on the switch PortUsages map[string]SwitchPortUsage `json:"port_usages,omitempty"` // Proxy Configuration to talk to Mist Proxy *Proxy `json:"proxy,omitempty"` // Radio AP settings RadioConfig *ApRadio `json:"radio_config,omitempty"` // Junos Radius config RadiusConfig *SwitchRadiusConfig `json:"radius_config,omitempty"` RemoteSyslog *RemoteSyslog `json:"remote_syslog,omitempty"` // by default, when we configure a device, we only clean up config we generates. Remove existing configs if enabled RemoveExistingConfigs *bool `json:"remove_existing_configs,omitempty"` // whether AP should periodically connect to BLE devices and report GATT device info (device name, manufacturer name, serial number, battery %, temperature, humidity) ReportGatt *bool `json:"report_gatt,omitempty"` // Rogue site settings Rogue *SiteRogue `json:"rogue,omitempty"` // 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"` // defines custom switch configuration based on different criterias SwitchMatching *SwitchMatching `json:"switch_matching,omitempty"` // Switch settings SwitchMgmt *SwitchMgmt `json:"switch_mgmt,omitempty"` // enable threshold-based device down delivery for Switch devices only. When configured it takes effect for SW devices and `device_updown_threshold` is ignored. SwitchUpdownThreshold Optional[int] `json:"switch_updown_threshold"` SyntheticTest *SynthetictestConfig `json:"synthetic_test,omitempty"` // whether to track anonymous BLE assets (requires ‘track_asset’ enabled) TrackAnonymousDevices *bool `json:"track_anonymous_devices,omitempty"` TuntermMonitoring []TuntermMonitoringItem `json:"tunterm_monitoring,omitempty"` TuntermMonitoringDisabled *bool `json:"tunterm_monitoring_disabled,omitempty"` TuntermMulticastConfig *SiteSettingTuntermMulticastConfig `json:"tunterm_multicast_config,omitempty"` 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]SwitchVrfInstance `json:"vrf_instances,omitempty"` // Property key is the vrrp group VrrpGroups map[string]VrrpGroup `json:"vrrp_groups,omitempty"` // optional, for EX9200 only to seggregate virtual-switches. Property key is the instance name VsInstance map[string]VsInstanceProperty `json:"vs_instance,omitempty"` WanVna *SiteSettingWanVna `json:"wan_vna,omitempty"` WatchedStationUrl *string `json:"watched_station_url,omitempty"` WhitelistUrl *string `json:"whitelist_url,omitempty"` // WIDS site settings Wids *SiteWids `json:"wids,omitempty"` // Wi-Fi site settings Wifi *SiteWifi `json:"wifi,omitempty"` WiredVna *SiteSettingWiredVna `json:"wired_vna,omitempty"` // Zone Occupancy alert site settings ZoneOccupancyAlert *SiteZoneOccupancyAlert `json:"zone_occupancy_alert,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteSetting represents a SiteSetting struct. Site Settings
func (SiteSetting) MarshalJSON ¶
func (s SiteSetting) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSetting. It customizes the JSON marshaling process for SiteSetting objects.
func (*SiteSetting) UnmarshalJSON ¶
func (s *SiteSetting) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSetting. It customizes the JSON unmarshaling process for SiteSetting objects.
type SiteSettingAnalytic ¶
type SiteSettingAnalytic struct { // enable Advanced Analytic feature (using SUB-ANA license) Enabled *bool `json:"enabled,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteSettingAnalytic represents a SiteSettingAnalytic struct.
func (SiteSettingAnalytic) MarshalJSON ¶
func (s SiteSettingAnalytic) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingAnalytic. It customizes the JSON marshaling process for SiteSettingAnalytic objects.
func (*SiteSettingAnalytic) UnmarshalJSON ¶
func (s *SiteSettingAnalytic) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingAnalytic. It customizes the JSON unmarshaling process for SiteSettingAnalytic objects.
type SiteSettingApMatching ¶
type SiteSettingApMatching struct { Enabled *bool `json:"enabled,omitempty"` Rules []SiteSettingApMatchingRule `json:"rules,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteSettingApMatching represents a SiteSettingApMatching struct.
func (SiteSettingApMatching) MarshalJSON ¶
func (s SiteSettingApMatching) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingApMatching. It customizes the JSON marshaling process for SiteSettingApMatching objects.
func (*SiteSettingApMatching) UnmarshalJSON ¶
func (s *SiteSettingApMatching) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingApMatching. It customizes the JSON unmarshaling process for SiteSettingApMatching objects.
type SiteSettingApMatchingRule ¶
type SiteSettingApMatchingRule struct { MatchModel *string `json:"match_model,omitempty"` Name *string `json:"name,omitempty"` // Property key is the interface(s) (e.g. "eth1,eth2") PortConfig map[string]ApPortConfig `json:"port_config,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteSettingApMatchingRule represents a SiteSettingApMatchingRule struct.
func (SiteSettingApMatchingRule) MarshalJSON ¶
func (s SiteSettingApMatchingRule) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingApMatchingRule. It customizes the JSON marshaling process for SiteSettingApMatchingRule objects.
func (*SiteSettingApMatchingRule) UnmarshalJSON ¶
func (s *SiteSettingApMatchingRule) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingApMatchingRule. It customizes the JSON unmarshaling process for SiteSettingApMatchingRule objects.
type SiteSettingApPortConfig ¶
type SiteSettingApPortConfig struct { // Property key is the AP model (e.g "AP32") ModelSpecific map[string]ApPortConfig `json:"model_specific,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteSettingApPortConfig represents a SiteSettingApPortConfig struct.
func (SiteSettingApPortConfig) MarshalJSON ¶
func (s SiteSettingApPortConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingApPortConfig. It customizes the JSON marshaling process for SiteSettingApPortConfig objects.
func (*SiteSettingApPortConfig) UnmarshalJSON ¶
func (s *SiteSettingApPortConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingApPortConfig. It customizes the JSON unmarshaling process for SiteSettingApPortConfig objects.
type SiteSettingAutoPlacement ¶
type SiteSettingAutoPlacement struct { Orientation *int `json:"orientation,omitempty"` X *float64 `json:"x,omitempty"` Y *float64 `json:"y,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteSettingAutoPlacement represents a SiteSettingAutoPlacement struct. if we're able to determine its x/y/orientation, this will be populated
func (SiteSettingAutoPlacement) MarshalJSON ¶
func (s SiteSettingAutoPlacement) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingAutoPlacement. It customizes the JSON marshaling process for SiteSettingAutoPlacement objects.
func (*SiteSettingAutoPlacement) UnmarshalJSON ¶
func (s *SiteSettingAutoPlacement) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingAutoPlacement. It customizes the JSON unmarshaling process for SiteSettingAutoPlacement objects.
type SiteSettingAutoUpgrade ¶
type SiteSettingAutoUpgrade struct { // custom versions for different models. Property key is the model name (e.g. "AP41") CustomVersions map[string]string `json:"custom_versions,omitempty"` // enum: `any`, `fri`, `mon`, `sat`, `sun`, `thu`, `tue`, `wed` DayOfWeek *DayOfWeekEnum `json:"day_of_week,omitempty"` // whether auto upgrade should happen (Note that Mist may auto-upgrade if the version is not supported) Enabled *bool `json:"enabled,omitempty"` // any / HH:MM (24-hour format), upgrade will happen within up to 1-hour from this time TimeOfDay *string `json:"time_of_day,omitempty"` // desired version. enum: `beta`, `custom`, `stable` Version *SiteAutoUpgradeVersionEnum `json:"version,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteSettingAutoUpgrade represents a SiteSettingAutoUpgrade struct. Auto Upgrade Settings
func (SiteSettingAutoUpgrade) MarshalJSON ¶
func (s SiteSettingAutoUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingAutoUpgrade. It customizes the JSON marshaling process for SiteSettingAutoUpgrade objects.
func (*SiteSettingAutoUpgrade) 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]interface{} `json:"_"` }
SiteSettingConfigPushPolicy represents a SiteSettingConfigPushPolicy struct. mist also uses some heuristic rules to prevent destructive configs from being pushed
func (SiteSettingConfigPushPolicy) MarshalJSON ¶
func (s SiteSettingConfigPushPolicy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingConfigPushPolicy. It customizes the JSON marshaling process for SiteSettingConfigPushPolicy objects.
func (*SiteSettingConfigPushPolicy) UnmarshalJSON ¶
func (s *SiteSettingConfigPushPolicy) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingConfigPushPolicy. It customizes the JSON unmarshaling process for SiteSettingConfigPushPolicy objects.
type SiteSettingCriticalUrlMonitoring ¶
type SiteSettingCriticalUrlMonitoring struct { Enabled *bool `json:"enabled,omitempty"` Monitors []SiteSettingCriticalUrlMonitoringMonitor `json:"monitors,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteSettingCriticalUrlMonitoring represents a SiteSettingCriticalUrlMonitoring struct. you can define some URLs that's critical to site 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 *VlanIdWithVariable `json:"vlan_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteSettingCriticalUrlMonitoringMonitor represents a SiteSettingCriticalUrlMonitoringMonitor struct.
func (SiteSettingCriticalUrlMonitoringMonitor) MarshalJSON ¶
func (s SiteSettingCriticalUrlMonitoringMonitor) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingCriticalUrlMonitoringMonitor. It customizes the JSON marshaling process for SiteSettingCriticalUrlMonitoringMonitor objects.
func (*SiteSettingCriticalUrlMonitoringMonitor) 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 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"` // for both SSR and SRX disable console port DisableConsole *bool `json:"disable_console,omitempty"` // for both SSR and SRX disable management interface DisableOob *bool `json:"disable_oob,omitempty"` ProbeHosts []string `json:"probe_hosts,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"` // 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]interface{} `json:"_"` }
SiteSettingGatewayMgmt represents a SiteSettingGatewayMgmt struct. Gateway Site settings
func (SiteSettingGatewayMgmt) MarshalJSON ¶
func (s SiteSettingGatewayMgmt) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingGatewayMgmt. It customizes the JSON marshaling process for SiteSettingGatewayMgmt objects.
func (*SiteSettingGatewayMgmt) UnmarshalJSON ¶
func (s *SiteSettingGatewayMgmt) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingGatewayMgmt. It customizes the JSON unmarshaling process for SiteSettingGatewayMgmt objects.
type SiteSettingGatewayMgmtAutoSignatureUpdate ¶
type SiteSettingGatewayMgmtAutoSignatureUpdate struct { // enum: `any`, `fri`, `mon`, `sat`, `sun`, `thu`, `tue`, `wed` DayOfWeek *DayOfWeekEnum `json:"day_of_week,omitempty"` Enable *bool `json:"enable,omitempty"` // optional, Mist will decide the timing TimeOfDay *string `json:"time_of_day,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteSettingGatewayMgmtAutoSignatureUpdate represents a SiteSettingGatewayMgmtAutoSignatureUpdate struct.
func (SiteSettingGatewayMgmtAutoSignatureUpdate) MarshalJSON ¶
func (s SiteSettingGatewayMgmtAutoSignatureUpdate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingGatewayMgmtAutoSignatureUpdate. It customizes the JSON marshaling process for SiteSettingGatewayMgmtAutoSignatureUpdate objects.
func (*SiteSettingGatewayMgmtAutoSignatureUpdate) UnmarshalJSON ¶
func (s *SiteSettingGatewayMgmtAutoSignatureUpdate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingGatewayMgmtAutoSignatureUpdate. It customizes the JSON unmarshaling process for SiteSettingGatewayMgmtAutoSignatureUpdate objects.
type SiteSettingJuniperSrx ¶ added in v0.4.17
type SiteSettingJuniperSrx struct { Gateways []SiteSettingJuniperSrxGateway `json:"gateways,omitempty"` SendMistNacUserInfo *bool `json:"send_mist_nac_user_info,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteSettingJuniperSrx represents a SiteSettingJuniperSrx struct.
func (SiteSettingJuniperSrx) MarshalJSON ¶ added in v0.4.17
func (s SiteSettingJuniperSrx) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingJuniperSrx. It customizes the JSON marshaling process for SiteSettingJuniperSrx objects.
func (*SiteSettingJuniperSrx) UnmarshalJSON ¶ added in v0.4.17
func (s *SiteSettingJuniperSrx) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingJuniperSrx. It customizes the JSON unmarshaling process for SiteSettingJuniperSrx objects.
type SiteSettingJuniperSrxGateway ¶ added in v0.4.17
type SiteSettingJuniperSrxGateway struct { ApiKey *string `json:"api_key,omitempty"` ApiUrl *string `json:"api_url,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteSettingJuniperSrxGateway represents a SiteSettingJuniperSrxGateway struct.
func (SiteSettingJuniperSrxGateway) MarshalJSON ¶ added in v0.4.17
func (s SiteSettingJuniperSrxGateway) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingJuniperSrxGateway. It customizes the JSON marshaling process for SiteSettingJuniperSrxGateway objects.
func (*SiteSettingJuniperSrxGateway) UnmarshalJSON ¶ added in v0.4.17
func (s *SiteSettingJuniperSrxGateway) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingJuniperSrxGateway. It customizes the JSON unmarshaling process for SiteSettingJuniperSrxGateway objects.
type SiteSettingMxedge ¶
type SiteSettingMxedge struct { // configure cloud-assisted dynamic authorization service on this cluster of mist edges MistDas *MxedgeDas `json:"mist_das,omitempty"` MistNac *MxclusterNac `json:"mist_nac,omitempty"` MistNacedge *MistNacedge `json:"mist_nacedge,omitempty"` // MxEdge Radsec Configuration Radsec *MxclusterRadsec `json:"radsec,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteSettingMxedge represents a SiteSettingMxedge struct. site mist edges form a cluster of 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]interface{} `json:"_"` }
SiteSettingPaloaltoNetworkGateway represents a SiteSettingPaloaltoNetworkGateway struct.
func (SiteSettingPaloaltoNetworkGateway) MarshalJSON ¶
func (s SiteSettingPaloaltoNetworkGateway) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingPaloaltoNetworkGateway. It customizes the JSON marshaling process for SiteSettingPaloaltoNetworkGateway objects.
func (*SiteSettingPaloaltoNetworkGateway) UnmarshalJSON ¶
func (s *SiteSettingPaloaltoNetworkGateway) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingPaloaltoNetworkGateway. It customizes the JSON unmarshaling process for SiteSettingPaloaltoNetworkGateway objects.
type SiteSettingPaloaltoNetworks ¶
type SiteSettingPaloaltoNetworks struct { Gateways []SiteSettingPaloaltoNetworkGateway `json:"gateways,omitempty"` SendMistNacUserInfo *bool `json:"send_mist_nac_user_info,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteSettingPaloaltoNetworks represents a SiteSettingPaloaltoNetworks struct.
func (SiteSettingPaloaltoNetworks) MarshalJSON ¶
func (s SiteSettingPaloaltoNetworks) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingPaloaltoNetworks. It customizes the JSON marshaling process for SiteSettingPaloaltoNetworks objects.
func (*SiteSettingPaloaltoNetworks) UnmarshalJSON ¶
func (s *SiteSettingPaloaltoNetworks) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingPaloaltoNetworks. It customizes the JSON unmarshaling process for SiteSettingPaloaltoNetworks objects.
type SiteSettingRtsa ¶
type SiteSettingRtsa struct { AppWaking *bool `json:"app_waking,omitempty"` DisableDeadReckoning *bool `json:"disable_dead_reckoning,omitempty"` DisablePressureSensor *bool `json:"disable_pressure_sensor,omitempty"` Enabled *bool `json:"enabled,omitempty"` // asset tracking related TrackAsset *bool `json:"track_asset,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteSettingRtsa represents a SiteSettingRtsa struct. managed mobility
func (SiteSettingRtsa) MarshalJSON ¶
func (s SiteSettingRtsa) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingRtsa. It customizes the JSON marshaling process for SiteSettingRtsa objects.
func (*SiteSettingRtsa) UnmarshalJSON ¶
func (s *SiteSettingRtsa) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingRtsa. It customizes the JSON unmarshaling process for SiteSettingRtsa objects.
type SiteSettingSkyatp ¶
type SiteSettingSkyatp struct { Enabled *bool `json:"enabled,omitempty"` // whether to send IP-MAC mapping to SkyATP SendIpMacMapping *bool `json:"send_ip_mac_mapping,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteSettingSkyatp represents a SiteSettingSkyatp struct.
func (SiteSettingSkyatp) MarshalJSON ¶
func (s SiteSettingSkyatp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingSkyatp. It customizes the JSON marshaling process for SiteSettingSkyatp objects.
func (*SiteSettingSkyatp) UnmarshalJSON ¶
func (s *SiteSettingSkyatp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingSkyatp. It customizes the JSON unmarshaling process for SiteSettingSkyatp objects.
type SiteSettingSrxApp ¶
type SiteSettingSrxApp struct { Enabled *bool `json:"enabled,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteSettingSrxApp represents a SiteSettingSrxApp struct.
func (SiteSettingSrxApp) MarshalJSON ¶
func (s SiteSettingSrxApp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingSrxApp. It customizes the JSON marshaling process for SiteSettingSrxApp objects.
func (*SiteSettingSrxApp) 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]interface{} `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]interface{} `json:"_"` }
SiteSettingStatusPortal represents a SiteSettingStatusPortal struct.
func (SiteSettingStatusPortal) MarshalJSON ¶
func (s SiteSettingStatusPortal) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingStatusPortal. It customizes the JSON marshaling process for SiteSettingStatusPortal objects.
func (*SiteSettingStatusPortal) 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]interface{} `json:"_"` }
SiteSettingTuntermMulticastConfig represents a SiteSettingTuntermMulticastConfig struct.
func (SiteSettingTuntermMulticastConfig) MarshalJSON ¶
func (s SiteSettingTuntermMulticastConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingTuntermMulticastConfig. It customizes the JSON marshaling process for SiteSettingTuntermMulticastConfig objects.
func (*SiteSettingTuntermMulticastConfig) UnmarshalJSON ¶
func (s *SiteSettingTuntermMulticastConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingTuntermMulticastConfig. It customizes the JSON unmarshaling process for SiteSettingTuntermMulticastConfig objects.
type SiteSettingTuntermMulticastConfigMdns ¶
type SiteSettingTuntermMulticastConfigMdns struct { Enabled *bool `json:"enabled,omitempty"` VlanIds []int `json:"vlan_ids,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteSettingTuntermMulticastConfigMdns represents a SiteSettingTuntermMulticastConfigMdns struct.
func (SiteSettingTuntermMulticastConfigMdns) MarshalJSON ¶
func (s SiteSettingTuntermMulticastConfigMdns) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingTuntermMulticastConfigMdns. It customizes the JSON marshaling process for SiteSettingTuntermMulticastConfigMdns objects.
func (*SiteSettingTuntermMulticastConfigMdns) UnmarshalJSON ¶
func (s *SiteSettingTuntermMulticastConfigMdns) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingTuntermMulticastConfigMdns. It customizes the JSON unmarshaling process for SiteSettingTuntermMulticastConfigMdns objects.
type SiteSettingTuntermMulticastConfigSsdp ¶
type SiteSettingTuntermMulticastConfigSsdp struct { Enabled *bool `json:"enabled,omitempty"` VlanIds []int `json:"vlan_ids,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteSettingTuntermMulticastConfigSsdp represents a SiteSettingTuntermMulticastConfigSsdp struct.
func (SiteSettingTuntermMulticastConfigSsdp) MarshalJSON ¶
func (s SiteSettingTuntermMulticastConfigSsdp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingTuntermMulticastConfigSsdp. It customizes the JSON marshaling process for SiteSettingTuntermMulticastConfigSsdp objects.
func (*SiteSettingTuntermMulticastConfigSsdp) UnmarshalJSON ¶
func (s *SiteSettingTuntermMulticastConfigSsdp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingTuntermMulticastConfigSsdp. It customizes the JSON unmarshaling process for SiteSettingTuntermMulticastConfigSsdp objects.
type SiteSettingVna ¶
type SiteSettingVna struct { // enable Virtual Network Assistant (using SUB-VNA license). This applied to AP / Switch / Gateway Enabled *bool `json:"enabled,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteSettingVna represents a SiteSettingVna struct.
func (SiteSettingVna) MarshalJSON ¶
func (s SiteSettingVna) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingVna. It customizes the JSON marshaling process for SiteSettingVna objects.
func (*SiteSettingVna) UnmarshalJSON ¶
func (s *SiteSettingVna) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingVna. It customizes the JSON unmarshaling process for SiteSettingVna objects.
type SiteSettingWanVna ¶
type SiteSettingWanVna struct { Enabled *bool `json:"enabled,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteSettingWanVna represents a SiteSettingWanVna struct.
func (SiteSettingWanVna) MarshalJSON ¶
func (s SiteSettingWanVna) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingWanVna. It customizes the JSON marshaling process for SiteSettingWanVna objects.
func (*SiteSettingWanVna) UnmarshalJSON ¶
func (s *SiteSettingWanVna) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingWanVna. It customizes the JSON unmarshaling process for SiteSettingWanVna objects.
type SiteSettingWiredVna ¶
type SiteSettingWiredVna struct { Enabled *bool `json:"enabled,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteSettingWiredVna represents a SiteSettingWiredVna struct.
func (SiteSettingWiredVna) MarshalJSON ¶
func (s SiteSettingWiredVna) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSettingWiredVna. It customizes the JSON marshaling process for SiteSettingWiredVna objects.
func (*SiteSettingWiredVna) UnmarshalJSON ¶
func (s *SiteSettingWiredVna) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSettingWiredVna. It customizes the JSON unmarshaling process for SiteSettingWiredVna objects.
type SiteSkyAtpEventsCountDistinctEnum ¶
type SiteSkyAtpEventsCountDistinctEnum string
SiteSkyAtpEventsCountDistinctEnum is a string enum. enum: `device_mac`, `mac`, `threat_level`, `type`
const ( SiteSkyAtpEventsCountDistinctEnum_DEVICEMAC SiteSkyAtpEventsCountDistinctEnum = "device_mac" SiteSkyAtpEventsCountDistinctEnum_MAC SiteSkyAtpEventsCountDistinctEnum = "mac" SiteSkyAtpEventsCountDistinctEnum_THREATLEVEL SiteSkyAtpEventsCountDistinctEnum = "threat_level" SiteSkyAtpEventsCountDistinctEnum_ENUMTYPE SiteSkyAtpEventsCountDistinctEnum = "type" )
type SiteSleHistogramScopeParametersEnum ¶
type SiteSleHistogramScopeParametersEnum string
SiteSleHistogramScopeParametersEnum is a string enum. enum: `ap`, `client`, `gateway`, `site`, `switch`
const ( SiteSleHistogramScopeParametersEnum_AP SiteSleHistogramScopeParametersEnum = "ap" SiteSleHistogramScopeParametersEnum_CLIENT SiteSleHistogramScopeParametersEnum = "client" SiteSleHistogramScopeParametersEnum_GATEWAY SiteSleHistogramScopeParametersEnum = "gateway" SiteSleHistogramScopeParametersEnum_SITE SiteSleHistogramScopeParametersEnum = "site" SiteSleHistogramScopeParametersEnum_ENUMSWITCH SiteSleHistogramScopeParametersEnum = "switch" )
type SiteSleImpactSummaryFieldsParameterEnum ¶
type SiteSleImpactSummaryFieldsParameterEnum string
SiteSleImpactSummaryFieldsParameterEnum is a string enum. enum: `ap`, `band`, `chassis`, `client`, `device_os`, `device_type`, `gateway`, `gateway_zones`, `interface`, `mxedge`, `peer_path`, `server`, `switch`, `vlan`, `wlan`
const ( SiteSleImpactSummaryFieldsParameterEnum_AP SiteSleImpactSummaryFieldsParameterEnum = "ap" SiteSleImpactSummaryFieldsParameterEnum_BAND SiteSleImpactSummaryFieldsParameterEnum = "band" SiteSleImpactSummaryFieldsParameterEnum_CHASSIS SiteSleImpactSummaryFieldsParameterEnum = "chassis" SiteSleImpactSummaryFieldsParameterEnum_CLIENT SiteSleImpactSummaryFieldsParameterEnum = "client" SiteSleImpactSummaryFieldsParameterEnum_DEVICEOS SiteSleImpactSummaryFieldsParameterEnum = "device_os" SiteSleImpactSummaryFieldsParameterEnum_DEVICETYPE SiteSleImpactSummaryFieldsParameterEnum = "device_type" SiteSleImpactSummaryFieldsParameterEnum_GATEWAY SiteSleImpactSummaryFieldsParameterEnum = "gateway" SiteSleImpactSummaryFieldsParameterEnum_GATEWAYZONES SiteSleImpactSummaryFieldsParameterEnum = "gateway_zones" SiteSleImpactSummaryFieldsParameterEnum_ENUMINTERFACE SiteSleImpactSummaryFieldsParameterEnum = "interface" SiteSleImpactSummaryFieldsParameterEnum_MXEDGE SiteSleImpactSummaryFieldsParameterEnum = "mxedge" SiteSleImpactSummaryFieldsParameterEnum_PEERPATH SiteSleImpactSummaryFieldsParameterEnum = "peer_path" SiteSleImpactSummaryFieldsParameterEnum_SERVER SiteSleImpactSummaryFieldsParameterEnum = "server" SiteSleImpactSummaryFieldsParameterEnum_ENUMSWITCH SiteSleImpactSummaryFieldsParameterEnum = "switch" SiteSleImpactSummaryFieldsParameterEnum_VLAN SiteSleImpactSummaryFieldsParameterEnum = "vlan" SiteSleImpactSummaryFieldsParameterEnum_WLAN SiteSleImpactSummaryFieldsParameterEnum = "wlan" )
type SiteSleImpactSummaryScopeParametersEnum ¶
type SiteSleImpactSummaryScopeParametersEnum string
SiteSleImpactSummaryScopeParametersEnum is a string enum. enum: `ap`, `client`, `gateway`, `site`, `switch`
const ( SiteSleImpactSummaryScopeParametersEnum_AP SiteSleImpactSummaryScopeParametersEnum = "ap" SiteSleImpactSummaryScopeParametersEnum_CLIENT SiteSleImpactSummaryScopeParametersEnum = "client" SiteSleImpactSummaryScopeParametersEnum_GATEWAY SiteSleImpactSummaryScopeParametersEnum = "gateway" SiteSleImpactSummaryScopeParametersEnum_SITE SiteSleImpactSummaryScopeParametersEnum = "site" SiteSleImpactSummaryScopeParametersEnum_ENUMSWITCH SiteSleImpactSummaryScopeParametersEnum = "switch" )
type SiteSleImpactedApsScopeParametersEnum ¶
type SiteSleImpactedApsScopeParametersEnum string
SiteSleImpactedApsScopeParametersEnum is a string enum. enum: `site`
const (
SiteSleImpactedApsScopeParametersEnum_SITE SiteSleImpactedApsScopeParametersEnum = "site"
)
type SiteSleImpactedChassisScopeParametersEnum ¶
type SiteSleImpactedChassisScopeParametersEnum string
SiteSleImpactedChassisScopeParametersEnum is a string enum. enum: `gateway`, `site`, `switch`
const ( SiteSleImpactedChassisScopeParametersEnum_GATEWAY SiteSleImpactedChassisScopeParametersEnum = "gateway" SiteSleImpactedChassisScopeParametersEnum_SITE SiteSleImpactedChassisScopeParametersEnum = "site" SiteSleImpactedChassisScopeParametersEnum_ENUMSWITCH SiteSleImpactedChassisScopeParametersEnum = "switch" )
type SiteSleImpactedClientsScopeParametersEnum ¶
type SiteSleImpactedClientsScopeParametersEnum string
SiteSleImpactedClientsScopeParametersEnum is a string enum. enum: `gateway`, `site`, `switch`
const ( SiteSleImpactedClientsScopeParametersEnum_GATEWAY SiteSleImpactedClientsScopeParametersEnum = "gateway" SiteSleImpactedClientsScopeParametersEnum_SITE SiteSleImpactedClientsScopeParametersEnum = "site" SiteSleImpactedClientsScopeParametersEnum_ENUMSWITCH SiteSleImpactedClientsScopeParametersEnum = "switch" )
type SiteSleImpactedGatewaysScopeParametersEnum ¶
type SiteSleImpactedGatewaysScopeParametersEnum string
SiteSleImpactedGatewaysScopeParametersEnum is a string enum. enum: `site`
const (
SiteSleImpactedGatewaysScopeParametersEnum_SITE SiteSleImpactedGatewaysScopeParametersEnum = "site"
)
type SiteSleImpactedInterfacesScopeParametersEnum ¶
type SiteSleImpactedInterfacesScopeParametersEnum string
SiteSleImpactedInterfacesScopeParametersEnum is a string enum. enum: `gateway`, `site`, `switch`
const ( SiteSleImpactedInterfacesScopeParametersEnum_GATEWAY SiteSleImpactedInterfacesScopeParametersEnum = "gateway" SiteSleImpactedInterfacesScopeParametersEnum_SITE SiteSleImpactedInterfacesScopeParametersEnum = "site" SiteSleImpactedInterfacesScopeParametersEnum_ENUMSWITCH SiteSleImpactedInterfacesScopeParametersEnum = "switch" )
type SiteSleImpactedSwitchesScopeParametersEnum ¶
type SiteSleImpactedSwitchesScopeParametersEnum string
SiteSleImpactedSwitchesScopeParametersEnum is a string enum. enum: `site`
const (
SiteSleImpactedSwitchesScopeParametersEnum_SITE SiteSleImpactedSwitchesScopeParametersEnum = "site"
)
type SiteSleImpactedUsersScopeParameterEnum ¶
type SiteSleImpactedUsersScopeParameterEnum string
SiteSleImpactedUsersScopeParameterEnum is a string enum. enum: `ap`, `site`
const ( SiteSleImpactedUsersScopeParameterEnum_AP SiteSleImpactedUsersScopeParameterEnum = "ap" SiteSleImpactedUsersScopeParameterEnum_SITE SiteSleImpactedUsersScopeParameterEnum = "site" )
type SiteSleMetricClassifiersScopeParametersEnum ¶
type SiteSleMetricClassifiersScopeParametersEnum string
SiteSleMetricClassifiersScopeParametersEnum is a string enum. enum: `ap`, `client`, `gateway`, `site`, `switch`
const ( SiteSleMetricClassifiersScopeParametersEnum_AP SiteSleMetricClassifiersScopeParametersEnum = "ap" SiteSleMetricClassifiersScopeParametersEnum_CLIENT SiteSleMetricClassifiersScopeParametersEnum = "client" SiteSleMetricClassifiersScopeParametersEnum_GATEWAY SiteSleMetricClassifiersScopeParametersEnum = "gateway" SiteSleMetricClassifiersScopeParametersEnum_SITE SiteSleMetricClassifiersScopeParametersEnum = "site" SiteSleMetricClassifiersScopeParametersEnum_ENUMSWITCH SiteSleMetricClassifiersScopeParametersEnum = "switch" )
type SiteSleMetricSummaryScopeParametersEnum ¶
type SiteSleMetricSummaryScopeParametersEnum string
SiteSleMetricSummaryScopeParametersEnum is a string enum. enum: `ap`, `client`, `gateway`, `site`, `switch`
const ( SiteSleMetricSummaryScopeParametersEnum_AP SiteSleMetricSummaryScopeParametersEnum = "ap" SiteSleMetricSummaryScopeParametersEnum_CLIENT SiteSleMetricSummaryScopeParametersEnum = "client" SiteSleMetricSummaryScopeParametersEnum_GATEWAY SiteSleMetricSummaryScopeParametersEnum = "gateway" SiteSleMetricSummaryScopeParametersEnum_SITE SiteSleMetricSummaryScopeParametersEnum = "site" SiteSleMetricSummaryScopeParametersEnum_ENUMSWITCH SiteSleMetricSummaryScopeParametersEnum = "switch" )
type SiteSleMetrics ¶
type SiteSleMetrics struct { Enabled []string `json:"enabled"` Supported []string `json:"supported"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteSleMetrics represents a SiteSleMetrics struct.
func (SiteSleMetrics) MarshalJSON ¶
func (s SiteSleMetrics) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteSleMetrics. It customizes the JSON marshaling process for SiteSleMetrics objects.
func (*SiteSleMetrics) UnmarshalJSON ¶
func (s *SiteSleMetrics) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteSleMetrics. It customizes the JSON unmarshaling process for SiteSleMetrics objects.
type SiteSleMetricsScopeParametersEnum ¶
type SiteSleMetricsScopeParametersEnum string
SiteSleMetricsScopeParametersEnum is a string enum. enum: `ap`, `client`, `gateway`, `site`, `switch`
const ( SiteSleMetricsScopeParametersEnum_AP SiteSleMetricsScopeParametersEnum = "ap" SiteSleMetricsScopeParametersEnum_CLIENT SiteSleMetricsScopeParametersEnum = "client" SiteSleMetricsScopeParametersEnum_GATEWAY SiteSleMetricsScopeParametersEnum = "gateway" SiteSleMetricsScopeParametersEnum_SITE SiteSleMetricsScopeParametersEnum = "site" SiteSleMetricsScopeParametersEnum_ENUMSWITCH SiteSleMetricsScopeParametersEnum = "switch" )
type SiteSleScopeEnum ¶
type SiteSleScopeEnum string
SiteSleScopeEnum is a string enum. enum: `gateway`, `site`, `switch`
const ( SiteSleScopeEnum_GATEWAY SiteSleScopeEnum = "gateway" SiteSleScopeEnum_SITE SiteSleScopeEnum = "site" SiteSleScopeEnum_ENUMSWITCH SiteSleScopeEnum = "switch" )
type SiteSleThresholdScopeParameterEnum ¶
type SiteSleThresholdScopeParameterEnum string
SiteSleThresholdScopeParameterEnum is a string enum. enum: `ap`, `client`, `gateway`, `site`, `switch`
const ( SiteSleThresholdScopeParameterEnum_AP SiteSleThresholdScopeParameterEnum = "ap" SiteSleThresholdScopeParameterEnum_CLIENT SiteSleThresholdScopeParameterEnum = "client" SiteSleThresholdScopeParameterEnum_GATEWAY SiteSleThresholdScopeParameterEnum = "gateway" SiteSleThresholdScopeParameterEnum_SITE SiteSleThresholdScopeParameterEnum = "site" SiteSleThresholdScopeParameterEnum_ENUMSWITCH SiteSleThresholdScopeParameterEnum = "switch" )
type SiteSystemEventsCountDistinctEnum ¶
type SiteSystemEventsCountDistinctEnum string
SiteSystemEventsCountDistinctEnum is a string enum. enum: `type`
const (
SiteSystemEventsCountDistinctEnum_ENUMTYPE SiteSystemEventsCountDistinctEnum = "type"
)
type SiteTemplate ¶
type SiteTemplate struct { AutoUpgrade *SiteTemplateAutoUpgrade `json:"auto_upgrade,omitempty"` Name *string `json:"name,omitempty"` // 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]interface{} `json:"_"` }
SiteTemplate represents a SiteTemplate struct.
func (SiteTemplate) MarshalJSON ¶
func (s SiteTemplate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteTemplate. It customizes the JSON marshaling process for SiteTemplate objects.
func (*SiteTemplate) UnmarshalJSON ¶
func (s *SiteTemplate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteTemplate. It customizes the JSON unmarshaling process for SiteTemplate objects.
type SiteTemplateAutoUpgrade ¶
type SiteTemplateAutoUpgrade struct { // enum: `any`, `fri`, `mon`, `sat`, `sun`, `thu`, `tue`, `wed` DayOfWeek *DayOfWeekEnum `json:"day_of_week,omitempty"` Enabled *bool `json:"enabled,omitempty"` TimeOfDay *string `json:"time_of_day,omitempty"` Version *string `json:"version,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteTemplateAutoUpgrade represents a SiteTemplateAutoUpgrade struct.
func (SiteTemplateAutoUpgrade) MarshalJSON ¶
func (s SiteTemplateAutoUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteTemplateAutoUpgrade. It customizes the JSON marshaling process for SiteTemplateAutoUpgrade objects.
func (*SiteTemplateAutoUpgrade) UnmarshalJSON ¶
func (s *SiteTemplateAutoUpgrade) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteTemplateAutoUpgrade. It customizes the JSON unmarshaling process for SiteTemplateAutoUpgrade objects.
type SiteWanClientEventsDistinctEnum ¶
type SiteWanClientEventsDistinctEnum string
SiteWanClientEventsDistinctEnum is a string enum. enum: `hostname`, `ip`, `mac`, `mfg`, `type`
const ( SiteWanClientEventsDistinctEnum_HOSTNAME SiteWanClientEventsDistinctEnum = "hostname" SiteWanClientEventsDistinctEnum_IP SiteWanClientEventsDistinctEnum = "ip" SiteWanClientEventsDistinctEnum_MAC SiteWanClientEventsDistinctEnum = "mac" SiteWanClientEventsDistinctEnum_MFG SiteWanClientEventsDistinctEnum = "mfg" SiteWanClientEventsDistinctEnum_ENUMTYPE SiteWanClientEventsDistinctEnum = "type" )
type SiteWanClientsCountDistinctEnum ¶
type SiteWanClientsCountDistinctEnum string
SiteWanClientsCountDistinctEnum is a string enum. enum: `hostname`, `ip`, `mac`, `mfg`
const ( SiteWanClientsCountDistinctEnum_HOSTNAME SiteWanClientsCountDistinctEnum = "hostname" SiteWanClientsCountDistinctEnum_IP SiteWanClientsCountDistinctEnum = "ip" SiteWanClientsCountDistinctEnum_MAC SiteWanClientsCountDistinctEnum = "mac" SiteWanClientsCountDistinctEnum_MFG SiteWanClientsCountDistinctEnum = "mfg" )
type SiteWids ¶
type SiteWids struct { RepeatedAuthFailures *SiteWidsRepeatedAuthFailures `json:"repeated_auth_failures,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteWids represents a SiteWids struct. WIDS site settings
func (SiteWids) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for SiteWids. It customizes the JSON marshaling process for SiteWids objects.
func (*SiteWids) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for SiteWids. It customizes the JSON unmarshaling process for SiteWids objects.
type SiteWidsRepeatedAuthFailures ¶
type SiteWidsRepeatedAuthFailures struct { // window where a trigger will be detected and action to be taken (in seconds) Duration *int `json:"duration,omitempty"` // count of events to trigger Threshold *int `json:"threshold,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteWidsRepeatedAuthFailures represents a SiteWidsRepeatedAuthFailures struct.
func (SiteWidsRepeatedAuthFailures) MarshalJSON ¶
func (s SiteWidsRepeatedAuthFailures) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteWidsRepeatedAuthFailures. It customizes the JSON marshaling process for SiteWidsRepeatedAuthFailures objects.
func (*SiteWidsRepeatedAuthFailures) 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"` // enum: `default`, `disabled`, `enabled` ProxyArp Optional[SiteWifiProxyArpEnum] `json:"proxy_arp"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteWifi represents a SiteWifi struct. Wi-Fi site settings
func (SiteWifi) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for SiteWifi. It customizes the JSON marshaling process for SiteWifi objects.
func (*SiteWifi) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for SiteWifi. It customizes the JSON unmarshaling process for SiteWifi objects.
type SiteWifiProxyArpEnum ¶
type SiteWifiProxyArpEnum string
SiteWifiProxyArpEnum is a string enum. enum: `default`, `disabled`, `enabled`
const ( SiteWifiProxyArpEnum_ENUMDEFAULT SiteWifiProxyArpEnum = "default" SiteWifiProxyArpEnum_DISABLED SiteWifiProxyArpEnum = "disabled" SiteWifiProxyArpEnum_ENABLED SiteWifiProxyArpEnum = "enabled" )
type SiteWiredClientsCountDistinctEnum ¶
type SiteWiredClientsCountDistinctEnum string
SiteWiredClientsCountDistinctEnum is a string enum. enum: `mac`, `port_id`, `vlan`
const ( SiteWiredClientsCountDistinctEnum_MAC SiteWiredClientsCountDistinctEnum = "mac" SiteWiredClientsCountDistinctEnum_PORTID SiteWiredClientsCountDistinctEnum = "port_id" SiteWiredClientsCountDistinctEnum_VLAN SiteWiredClientsCountDistinctEnum = "vlan" )
type SiteZoneCountDistinctEnum ¶
type SiteZoneCountDistinctEnum string
SiteZoneCountDistinctEnum is a string enum. enum: `scope`, `scope_id`, `user`, `user_type`
const ( SiteZoneCountDistinctEnum_SCOPE SiteZoneCountDistinctEnum = "scope" SiteZoneCountDistinctEnum_SCOPEID SiteZoneCountDistinctEnum = "scope_id" SiteZoneCountDistinctEnum_USER SiteZoneCountDistinctEnum = "user" SiteZoneCountDistinctEnum_USERTYPE SiteZoneCountDistinctEnum = "user_type" )
type SiteZoneOccupancyAlert ¶
type SiteZoneOccupancyAlert struct { // list of email addresses to send email notifications when the alert threshold is reached EmailNotifiers []string `json:"email_notifiers,omitempty"` // indicate whether zone occupancy alert is enabled for the site Enabled *bool `json:"enabled,omitempty"` // sending zone-occupancy-alert webhook message only if a zone stays non-compliant (i.e. actual occupancy > occupancy_limit) for a minimum duration specified in the threshold, in minutes Threshold *int `json:"threshold,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SiteZoneOccupancyAlert represents a SiteZoneOccupancyAlert struct. Zone Occupancy alert site settings
func (SiteZoneOccupancyAlert) MarshalJSON ¶
func (s SiteZoneOccupancyAlert) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SiteZoneOccupancyAlert. It customizes the JSON marshaling process for SiteZoneOccupancyAlert objects.
func (*SiteZoneOccupancyAlert) UnmarshalJSON ¶
func (s *SiteZoneOccupancyAlert) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SiteZoneOccupancyAlert. It customizes the JSON unmarshaling process for SiteZoneOccupancyAlert objects.
type Sitegroup ¶
type Sitegroup struct { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` Name string `json:"name"` OrgId *uuid.UUID `json:"org_id,omitempty"` SiteIds []uuid.UUID `json:"site_ids,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Sitegroup represents a Sitegroup struct. Sites Group
func (Sitegroup) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Sitegroup. It customizes the JSON marshaling process for Sitegroup objects.
func (*Sitegroup) 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]interface{} `json:"_"` }
SleClassifier represents a SleClassifier struct.
func (SleClassifier) MarshalJSON ¶
func (s SleClassifier) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleClassifier. It customizes the JSON marshaling process for SleClassifier objects.
func (*SleClassifier) UnmarshalJSON ¶
func (s *SleClassifier) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleClassifier. It customizes the JSON unmarshaling process for SleClassifier objects.
type SleClassifierImpact ¶
type SleClassifierImpact struct { NumAps float64 `json:"num_aps"` NumUsers float64 `json:"num_users"` TotalAps float64 `json:"total_aps"` TotalUsers float64 `json:"total_users"` AdditionalProperties map[string]interface{} `json:"_"` }
SleClassifierImpact represents a SleClassifierImpact struct.
func (SleClassifierImpact) MarshalJSON ¶
func (s SleClassifierImpact) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleClassifierImpact. It customizes the JSON marshaling process for SleClassifierImpact objects.
func (*SleClassifierImpact) 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]interface{} `json:"_"` }
SleClassifierSamples represents a SleClassifierSamples struct.
func (SleClassifierSamples) MarshalJSON ¶
func (s SleClassifierSamples) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleClassifierSamples. It customizes the JSON marshaling process for SleClassifierSamples objects.
func (*SleClassifierSamples) UnmarshalJSON ¶
func (s *SleClassifierSamples) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleClassifierSamples. It customizes the JSON unmarshaling process for SleClassifierSamples objects.
type SleClassifierSummary ¶
type SleClassifierSummary struct { Classifier SleClassifier `json:"classifier"` End float64 `json:"end"` Failures []interface{} `json:"failures"` Impact SleClassifierSummaryImpact `json:"impact"` Metric string `json:"metric"` Start float64 `json:"start"` AdditionalProperties map[string]interface{} `json:"_"` }
SleClassifierSummary represents a SleClassifierSummary struct.
func (SleClassifierSummary) MarshalJSON ¶
func (s SleClassifierSummary) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleClassifierSummary. It customizes the JSON marshaling process for SleClassifierSummary objects.
func (*SleClassifierSummary) UnmarshalJSON ¶
func (s *SleClassifierSummary) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleClassifierSummary. It customizes the JSON unmarshaling process for SleClassifierSummary objects.
type SleClassifierSummaryImpact ¶
type SleClassifierSummaryImpact struct { NumAps float64 `json:"num_aps"` NumUsers float64 `json:"num_users"` TotalAps float64 `json:"total_aps"` TotalUsers float64 `json:"total_users"` AdditionalProperties map[string]interface{} `json:"_"` }
SleClassifierSummaryImpact represents a SleClassifierSummaryImpact struct.
func (SleClassifierSummaryImpact) MarshalJSON ¶
func (s SleClassifierSummaryImpact) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleClassifierSummaryImpact. It customizes the JSON marshaling process for SleClassifierSummaryImpact objects.
func (*SleClassifierSummaryImpact) UnmarshalJSON ¶
func (s *SleClassifierSummaryImpact) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleClassifierSummaryImpact. It customizes the JSON unmarshaling process for SleClassifierSummaryImpact objects.
type SleHistogram ¶
type SleHistogram struct { Data []SleHistogramDataItem `json:"data"` End float64 `json:"end"` Metric string `json:"metric"` Start float64 `json:"start"` XLabel string `json:"x_label"` YLabel string `json:"y_label"` AdditionalProperties map[string]interface{} `json:"_"` }
SleHistogram represents a SleHistogram struct.
func (SleHistogram) MarshalJSON ¶
func (s SleHistogram) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleHistogram. It customizes the JSON marshaling process for SleHistogram objects.
func (*SleHistogram) UnmarshalJSON ¶
func (s *SleHistogram) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleHistogram. It customizes the JSON unmarshaling process for SleHistogram objects.
type SleHistogramDataItem ¶
type SleHistogramDataItem struct { Range []float64 `json:"range,omitempty"` Value float64 `json:"value"` AdditionalProperties map[string]interface{} `json:"_"` }
SleHistogramDataItem represents a SleHistogramDataItem struct.
func (SleHistogramDataItem) MarshalJSON ¶
func (s SleHistogramDataItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleHistogramDataItem. It customizes the JSON marshaling process for SleHistogramDataItem objects.
func (*SleHistogramDataItem) UnmarshalJSON ¶
func (s *SleHistogramDataItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleHistogramDataItem. It customizes the JSON unmarshaling process for SleHistogramDataItem objects.
type SleImpactSummary ¶
type SleImpactSummary struct { Ap []SleImpactSummaryApItem `json:"ap"` Band []SleImpactSummaryBandItem `json:"band"` Classifier string `json:"classifier"` DeviceOs []SleImpactSummaryDeviceOsItem `json:"device_os"` DeviceType []SleImpactSummaryDeviceTypeItem `json:"device_type"` End float64 `json:"end"` Failure string `json:"failure"` Metric string `json:"metric"` Start float64 `json:"start"` Wlan []SleImpactSummaryWlanItem `json:"wlan"` AdditionalProperties map[string]interface{} `json:"_"` }
SleImpactSummary represents a SleImpactSummary struct.
func (SleImpactSummary) MarshalJSON ¶
func (s SleImpactSummary) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactSummary. It customizes the JSON marshaling process for SleImpactSummary objects.
func (*SleImpactSummary) UnmarshalJSON ¶
func (s *SleImpactSummary) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactSummary. It customizes the JSON unmarshaling process for SleImpactSummary objects.
type SleImpactSummaryApItem ¶
type SleImpactSummaryApItem struct { ApMac string `json:"ap_mac"` Degraded float64 `json:"degraded"` Duration float64 `json:"duration"` Name string `json:"name"` Total float64 `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
SleImpactSummaryApItem represents a SleImpactSummaryApItem struct.
func (SleImpactSummaryApItem) MarshalJSON ¶
func (s SleImpactSummaryApItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactSummaryApItem. It customizes the JSON marshaling process for SleImpactSummaryApItem objects.
func (*SleImpactSummaryApItem) UnmarshalJSON ¶
func (s *SleImpactSummaryApItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactSummaryApItem. It customizes the JSON unmarshaling process for SleImpactSummaryApItem objects.
type SleImpactSummaryBandItem ¶
type SleImpactSummaryBandItem struct { Band string `json:"band"` Degraded float64 `json:"degraded"` Duration float64 `json:"duration"` Name string `json:"name"` Total float64 `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
SleImpactSummaryBandItem represents a SleImpactSummaryBandItem struct.
func (SleImpactSummaryBandItem) MarshalJSON ¶
func (s SleImpactSummaryBandItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactSummaryBandItem. It customizes the JSON marshaling process for SleImpactSummaryBandItem objects.
func (*SleImpactSummaryBandItem) UnmarshalJSON ¶
func (s *SleImpactSummaryBandItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactSummaryBandItem. It customizes the JSON unmarshaling process for SleImpactSummaryBandItem objects.
type SleImpactSummaryDeviceOsItem ¶
type SleImpactSummaryDeviceOsItem struct { Degraded float64 `json:"degraded"` DeviceOs string `json:"device_os"` Duration float64 `json:"duration"` Name string `json:"name"` Total float64 `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
SleImpactSummaryDeviceOsItem represents a SleImpactSummaryDeviceOsItem struct.
func (SleImpactSummaryDeviceOsItem) MarshalJSON ¶
func (s SleImpactSummaryDeviceOsItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactSummaryDeviceOsItem. It customizes the JSON marshaling process for SleImpactSummaryDeviceOsItem objects.
func (*SleImpactSummaryDeviceOsItem) UnmarshalJSON ¶
func (s *SleImpactSummaryDeviceOsItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactSummaryDeviceOsItem. It customizes the JSON unmarshaling process for SleImpactSummaryDeviceOsItem objects.
type SleImpactSummaryDeviceTypeItem ¶
type SleImpactSummaryDeviceTypeItem struct { Degraded float64 `json:"degraded"` DeviceType string `json:"device_type"` Duration float64 `json:"duration"` Name string `json:"name"` Total float64 `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
SleImpactSummaryDeviceTypeItem represents a SleImpactSummaryDeviceTypeItem struct.
func (SleImpactSummaryDeviceTypeItem) MarshalJSON ¶
func (s SleImpactSummaryDeviceTypeItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactSummaryDeviceTypeItem. It customizes the JSON marshaling process for SleImpactSummaryDeviceTypeItem objects.
func (*SleImpactSummaryDeviceTypeItem) UnmarshalJSON ¶
func (s *SleImpactSummaryDeviceTypeItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactSummaryDeviceTypeItem. It customizes the JSON unmarshaling process for SleImpactSummaryDeviceTypeItem objects.
type SleImpactSummaryWlanItem ¶
type SleImpactSummaryWlanItem struct { Degraded float64 `json:"degraded"` Duration float64 `json:"duration"` Name string `json:"name"` Total float64 `json:"total"` WlanId string `json:"wlan_id"` AdditionalProperties map[string]interface{} `json:"_"` }
SleImpactSummaryWlanItem represents a SleImpactSummaryWlanItem struct.
func (SleImpactSummaryWlanItem) MarshalJSON ¶
func (s SleImpactSummaryWlanItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactSummaryWlanItem. It customizes the JSON marshaling process for SleImpactSummaryWlanItem objects.
func (*SleImpactSummaryWlanItem) UnmarshalJSON ¶
func (s *SleImpactSummaryWlanItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactSummaryWlanItem. It customizes the JSON unmarshaling process for SleImpactSummaryWlanItem objects.
type SleImpactedApplications ¶
type SleImpactedApplications struct { Apps []SleImpactedApplicationsApp `json:"apps,omitempty"` Classifier *string `json:"classifier,omitempty"` End *int `json:"end,omitempty"` Failure *string `json:"failure,omitempty"` Limit *string `json:"limit,omitempty"` Metric *string `json:"metric,omitempty"` Page *int `json:"page,omitempty"` Start *int `json:"start,omitempty"` TotalCount *int `json:"total_count,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SleImpactedApplications represents a SleImpactedApplications struct.
func (SleImpactedApplications) MarshalJSON ¶
func (s SleImpactedApplications) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedApplications. It customizes the JSON marshaling process for SleImpactedApplications objects.
func (*SleImpactedApplications) UnmarshalJSON ¶
func (s *SleImpactedApplications) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedApplications. It customizes the JSON unmarshaling process for SleImpactedApplications objects.
type SleImpactedApplicationsApp ¶
type SleImpactedApplicationsApp struct { App *string `json:"app,omitempty"` Degraded *int `json:"degraded,omitempty"` Duration *int `json:"duration,omitempty"` Name *string `json:"name,omitempty"` Threshold *int `json:"threshold,omitempty"` Total *int `json:"total,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SleImpactedApplicationsApp represents a SleImpactedApplicationsApp struct.
func (SleImpactedApplicationsApp) MarshalJSON ¶
func (s SleImpactedApplicationsApp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedApplicationsApp. It customizes the JSON marshaling process for SleImpactedApplicationsApp objects.
func (*SleImpactedApplicationsApp) UnmarshalJSON ¶
func (s *SleImpactedApplicationsApp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedApplicationsApp. It customizes the JSON unmarshaling process for SleImpactedApplicationsApp objects.
type SleImpactedAps ¶
type SleImpactedAps struct { Aps []SleImpactedApsAp `json:"aps"` Classifier string `json:"classifier"` End float64 `json:"end"` Failure string `json:"failure"` Limit float64 `json:"limit"` Metric string `json:"metric"` Page float64 `json:"page"` Start float64 `json:"start"` TotalCount float64 `json:"total_count"` AdditionalProperties map[string]interface{} `json:"_"` }
SleImpactedAps represents a SleImpactedAps struct.
func (SleImpactedAps) MarshalJSON ¶
func (s SleImpactedAps) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedAps. It customizes the JSON marshaling process for SleImpactedAps objects.
func (*SleImpactedAps) UnmarshalJSON ¶
func (s *SleImpactedAps) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedAps. It customizes the JSON unmarshaling process for SleImpactedAps objects.
type SleImpactedApsAp ¶
type SleImpactedApsAp struct { ApMac string `json:"ap_mac"` Degraded float64 `json:"degraded"` Duration float64 `json:"duration"` Name string `json:"name"` Total float64 `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
SleImpactedApsAp represents a SleImpactedApsAp struct.
func (SleImpactedApsAp) MarshalJSON ¶
func (s SleImpactedApsAp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedApsAp. It customizes the JSON marshaling process for SleImpactedApsAp objects.
func (*SleImpactedApsAp) UnmarshalJSON ¶
func (s *SleImpactedApsAp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedApsAp. It customizes the JSON unmarshaling process for SleImpactedApsAp objects.
type SleImpactedChassis ¶
type SleImpactedChassis struct { Chassis []SleImpactedChassisChassisItem `json:"chassis,omitempty"` Classifier *string `json:"classifier,omitempty"` End *int `json:"end,omitempty"` Failure *string `json:"failure,omitempty"` Limit *int `json:"limit,omitempty"` Metric *string `json:"metric,omitempty"` Page *int `json:"page,omitempty"` Start *int `json:"start,omitempty"` TotalCount *int `json:"total_count,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SleImpactedChassis represents a SleImpactedChassis struct.
func (SleImpactedChassis) MarshalJSON ¶
func (s SleImpactedChassis) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedChassis. It customizes the JSON marshaling process for SleImpactedChassis objects.
func (*SleImpactedChassis) UnmarshalJSON ¶
func (s *SleImpactedChassis) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedChassis. It customizes the JSON unmarshaling process for SleImpactedChassis objects.
type SleImpactedChassisChassisItem ¶
type SleImpactedChassisChassisItem struct { Chassis *string `json:"chassis,omitempty"` Degraded *float64 `json:"degraded,omitempty"` Duration *float64 `json:"duration,omitempty"` Role *string `json:"role,omitempty"` SwitchMac *string `json:"switch_mac,omitempty"` SwitchName *string `json:"switch_name,omitempty"` Total *float64 `json:"total,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SleImpactedChassisChassisItem represents a SleImpactedChassisChassisItem struct.
func (SleImpactedChassisChassisItem) MarshalJSON ¶
func (s SleImpactedChassisChassisItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedChassisChassisItem. It customizes the JSON marshaling process for SleImpactedChassisChassisItem objects.
func (*SleImpactedChassisChassisItem) 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]interface{} `json:"_"` }
SleImpactedClients represents a SleImpactedClients struct.
func (SleImpactedClients) MarshalJSON ¶
func (s SleImpactedClients) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedClients. It customizes the JSON marshaling process for SleImpactedClients objects.
func (*SleImpactedClients) UnmarshalJSON ¶
func (s *SleImpactedClients) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedClients. It customizes the JSON unmarshaling process for SleImpactedClients objects.
type SleImpactedClientsClient ¶
type SleImpactedClientsClient struct { Degraded *int `json:"degraded,omitempty"` Duration *int `json:"duration,omitempty"` Mac *string `json:"mac,omitempty"` Name *string `json:"name,omitempty"` Switches []SleImpactedClientsClientSwitch `json:"switches,omitempty"` Total *int `json:"total,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SleImpactedClientsClient represents a SleImpactedClientsClient struct.
func (SleImpactedClientsClient) MarshalJSON ¶
func (s SleImpactedClientsClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedClientsClient. It customizes the JSON marshaling process for SleImpactedClientsClient objects.
func (*SleImpactedClientsClient) UnmarshalJSON ¶
func (s *SleImpactedClientsClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedClientsClient. It customizes the JSON unmarshaling process for SleImpactedClientsClient objects.
type SleImpactedClientsClientSwitch ¶
type SleImpactedClientsClientSwitch struct { Interfaces []string `json:"interfaces,omitempty"` SwitchMac *string `json:"switch_mac,omitempty"` SwitchName *string `json:"switch_name,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SleImpactedClientsClientSwitch represents a SleImpactedClientsClientSwitch struct.
func (SleImpactedClientsClientSwitch) MarshalJSON ¶
func (s SleImpactedClientsClientSwitch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedClientsClientSwitch. It customizes the JSON marshaling process for SleImpactedClientsClientSwitch objects.
func (*SleImpactedClientsClientSwitch) UnmarshalJSON ¶
func (s *SleImpactedClientsClientSwitch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedClientsClientSwitch. It customizes the JSON unmarshaling process for SleImpactedClientsClientSwitch objects.
type SleImpactedGateways ¶
type SleImpactedGateways struct { Classifier *string `json:"classifier,omitempty"` End *int `json:"end,omitempty"` Failure *string `json:"failure,omitempty"` Gateways []SleImpactedGatewaysGateway `json:"gateways,omitempty"` Limit *int `json:"limit,omitempty"` Metric *string `json:"metric,omitempty"` Page *int `json:"page,omitempty"` Start *int `json:"start,omitempty"` TotalCount *int `json:"total_count,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SleImpactedGateways represents a SleImpactedGateways struct.
func (SleImpactedGateways) MarshalJSON ¶
func (s SleImpactedGateways) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedGateways. It customizes the JSON marshaling process for SleImpactedGateways objects.
func (*SleImpactedGateways) UnmarshalJSON ¶
func (s *SleImpactedGateways) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedGateways. It customizes the JSON unmarshaling process for SleImpactedGateways objects.
type SleImpactedGatewaysGateway ¶
type SleImpactedGatewaysGateway struct { Degraded *float64 `json:"degraded,omitempty"` Duration *int `json:"duration,omitempty"` GatewayMac *string `json:"gateway_mac,omitempty"` GatewayModel *string `json:"gateway_model,omitempty"` GatewayVersion *string `json:"gateway_version,omitempty"` Name *string `json:"name,omitempty"` Total *int `json:"total,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SleImpactedGatewaysGateway represents a SleImpactedGatewaysGateway struct.
func (SleImpactedGatewaysGateway) MarshalJSON ¶
func (s SleImpactedGatewaysGateway) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedGatewaysGateway. It customizes the JSON marshaling process for SleImpactedGatewaysGateway objects.
func (*SleImpactedGatewaysGateway) UnmarshalJSON ¶
func (s *SleImpactedGatewaysGateway) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedGatewaysGateway. It customizes the JSON unmarshaling process for SleImpactedGatewaysGateway objects.
type SleImpactedInterfaces ¶
type SleImpactedInterfaces struct { Classifier *string `json:"classifier,omitempty"` End *int `json:"end,omitempty"` Failure *string `json:"failure,omitempty"` Interfaces []SleImpactedInterfacesInterface `json:"interfaces,omitempty"` Limit *int `json:"limit,omitempty"` Metric *string `json:"metric,omitempty"` Page *int `json:"page,omitempty"` Start *int `json:"start,omitempty"` TotalCount *int `json:"total_count,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SleImpactedInterfaces represents a SleImpactedInterfaces struct.
func (SleImpactedInterfaces) MarshalJSON ¶
func (s SleImpactedInterfaces) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedInterfaces. It customizes the JSON marshaling process for SleImpactedInterfaces objects.
func (*SleImpactedInterfaces) UnmarshalJSON ¶
func (s *SleImpactedInterfaces) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedInterfaces. It customizes the JSON unmarshaling process for SleImpactedInterfaces objects.
type SleImpactedInterfacesInterface ¶
type SleImpactedInterfacesInterface struct { Degraded *float64 `json:"degraded,omitempty"` Duration *float64 `json:"duration,omitempty"` InterfaceName *string `json:"interface_name,omitempty"` SwitchMac *string `json:"switch_mac,omitempty"` SwitchName *string `json:"switch_name,omitempty"` Total *float64 `json:"total,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SleImpactedInterfacesInterface represents a SleImpactedInterfacesInterface struct.
func (SleImpactedInterfacesInterface) MarshalJSON ¶
func (s SleImpactedInterfacesInterface) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedInterfacesInterface. It customizes the JSON marshaling process for SleImpactedInterfacesInterface objects.
func (*SleImpactedInterfacesInterface) UnmarshalJSON ¶
func (s *SleImpactedInterfacesInterface) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedInterfacesInterface. It customizes the JSON unmarshaling process for SleImpactedInterfacesInterface objects.
type SleImpactedSwitches ¶
type SleImpactedSwitches struct { Classifier *string `json:"classifier,omitempty"` End *int `json:"end,omitempty"` Failure *string `json:"failure,omitempty"` Limit *int `json:"limit,omitempty"` Metric *string `json:"metric,omitempty"` Page *int `json:"page,omitempty"` Start *int `json:"start,omitempty"` Switches []SleImpactedSwitchesSwitch `json:"switches,omitempty"` TotalCount *int `json:"total_count,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SleImpactedSwitches represents a SleImpactedSwitches struct.
func (SleImpactedSwitches) MarshalJSON ¶
func (s SleImpactedSwitches) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedSwitches. It customizes the JSON marshaling process for SleImpactedSwitches objects.
func (*SleImpactedSwitches) UnmarshalJSON ¶
func (s *SleImpactedSwitches) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedSwitches. It customizes the JSON unmarshaling process for SleImpactedSwitches objects.
type SleImpactedSwitchesSwitch ¶
type SleImpactedSwitchesSwitch struct { Degraded *float64 `json:"degraded,omitempty"` Duration *float64 `json:"duration,omitempty"` Interface []string `json:"interface,omitempty"` Name *string `json:"name,omitempty"` SwitchMac *string `json:"switch_mac,omitempty"` SwitchModel *string `json:"switch_model,omitempty"` SwitchVersion *string `json:"switch_version,omitempty"` Total *float64 `json:"total,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SleImpactedSwitchesSwitch represents a SleImpactedSwitchesSwitch struct.
func (SleImpactedSwitchesSwitch) MarshalJSON ¶
func (s SleImpactedSwitchesSwitch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedSwitchesSwitch. It customizes the JSON marshaling process for SleImpactedSwitchesSwitch objects.
func (*SleImpactedSwitchesSwitch) 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]interface{} `json:"_"` }
SleImpactedUsers represents a SleImpactedUsers struct.
func (SleImpactedUsers) MarshalJSON ¶
func (s SleImpactedUsers) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedUsers. It customizes the JSON marshaling process for SleImpactedUsers objects.
func (*SleImpactedUsers) 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]interface{} `json:"_"` }
SleImpactedUsersUser represents a SleImpactedUsersUser struct.
func (SleImpactedUsersUser) MarshalJSON ¶
func (s SleImpactedUsersUser) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleImpactedUsersUser. It customizes the JSON marshaling process for SleImpactedUsersUser objects.
func (*SleImpactedUsersUser) UnmarshalJSON ¶
func (s *SleImpactedUsersUser) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleImpactedUsersUser. It customizes the JSON unmarshaling process for SleImpactedUsersUser objects.
type SleSummary ¶
type SleSummary struct { Classifiers []SleClassifier `json:"classifiers"` End float64 `json:"end"` Events []interface{} `json:"events"` Impact SleSummaryImpact `json:"impact"` Sle SleSummarySle `json:"sle"` Start float64 `json:"start"` AdditionalProperties map[string]interface{} `json:"_"` }
SleSummary represents a SleSummary struct.
func (SleSummary) MarshalJSON ¶
func (s SleSummary) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleSummary. It customizes the JSON marshaling process for SleSummary objects.
func (*SleSummary) UnmarshalJSON ¶
func (s *SleSummary) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleSummary. It customizes the JSON unmarshaling process for SleSummary objects.
type SleSummaryImpact ¶
type SleSummaryImpact struct { NumAps float64 `json:"num_aps"` NumUsers float64 `json:"num_users"` TotalAps float64 `json:"total_aps"` TotalUsers float64 `json:"total_users"` AdditionalProperties map[string]interface{} `json:"_"` }
SleSummaryImpact represents a SleSummaryImpact struct.
func (SleSummaryImpact) MarshalJSON ¶
func (s SleSummaryImpact) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleSummaryImpact. It customizes the JSON marshaling process for SleSummaryImpact objects.
func (*SleSummaryImpact) UnmarshalJSON ¶
func (s *SleSummaryImpact) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleSummaryImpact. It customizes the JSON unmarshaling process for SleSummaryImpact objects.
type SleSummaryScopeEnum ¶
type SleSummaryScopeEnum string
SleSummaryScopeEnum is a string enum. enum: `ap`, `client`, `gateway`, `site`, `switch`
const ( SleSummaryScopeEnum_AP SleSummaryScopeEnum = "ap" SleSummaryScopeEnum_CLIENT SleSummaryScopeEnum = "client" SleSummaryScopeEnum_GATEWAY SleSummaryScopeEnum = "gateway" SleSummaryScopeEnum_SITE SleSummaryScopeEnum = "site" SleSummaryScopeEnum_ENUMSWITCH SleSummaryScopeEnum = "switch" )
type SleSummarySle ¶
type SleSummarySle struct { Interval float64 `json:"interval"` Name string `json:"name"` Samples SleSummarySleSamples `json:"samples"` XLabel string `json:"x_label"` YLabel string `json:"y_label"` AdditionalProperties map[string]interface{} `json:"_"` }
SleSummarySle represents a SleSummarySle struct.
func (SleSummarySle) MarshalJSON ¶
func (s SleSummarySle) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleSummarySle. It customizes the JSON marshaling process for SleSummarySle objects.
func (*SleSummarySle) 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]interface{} `json:"_"` }
SleSummarySleSamples represents a SleSummarySleSamples struct.
func (SleSummarySleSamples) MarshalJSON ¶
func (s SleSummarySleSamples) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleSummarySleSamples. It customizes the JSON marshaling process for SleSummarySleSamples objects.
func (*SleSummarySleSamples) UnmarshalJSON ¶
func (s *SleSummarySleSamples) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SleSummarySleSamples. It customizes the JSON unmarshaling process for SleSummarySleSamples objects.
type SleThreshold ¶
type SleThreshold struct { Default *float64 `json:"default,omitempty"` Direction *string `json:"direction,omitempty"` Maximum *float64 `json:"maximum,omitempty"` Metric *string `json:"metric,omitempty"` Minimum *float64 `json:"minimum,omitempty"` Threshold *string `json:"threshold,omitempty"` Units *string `json:"units,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SleThreshold represents a SleThreshold struct.
func (SleThreshold) MarshalJSON ¶
func (s SleThreshold) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SleThreshold. It customizes the JSON marshaling process for SleThreshold objects.
func (*SleThreshold) 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"` // enum: `engine-id-suffix`, `local`, `use-default-ip-address`, `use_mac-address` 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]interface{} `json:"_"` }
SnmpConfig represents a SnmpConfig struct.
func (SnmpConfig) MarshalJSON ¶
func (s SnmpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SnmpConfig. It customizes the JSON marshaling process for SnmpConfig objects.
func (*SnmpConfig) UnmarshalJSON ¶
func (s *SnmpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SnmpConfig. It customizes the JSON unmarshaling process for SnmpConfig objects.
type SnmpConfigClientList ¶
type SnmpConfigClientList struct { ClientListName *string `json:"client_list_name,omitempty"` Clients []string `json:"clients,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SnmpConfigClientList represents a SnmpConfigClientList struct.
func (SnmpConfigClientList) MarshalJSON ¶
func (s SnmpConfigClientList) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SnmpConfigClientList. It customizes the JSON marshaling process for SnmpConfigClientList objects.
func (*SnmpConfigClientList) 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. enum: `engine-id-suffix`, `local`, `use-default-ip-address`, `use_mac-address`
const ( SnmpConfigEngineIdEnum_ENGINEIDSUFFIX SnmpConfigEngineIdEnum = "engine-id-suffix" SnmpConfigEngineIdEnum_LOCAL SnmpConfigEngineIdEnum = "local" 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"` // enum: `all`, `v1`, `v2` Version *SnmpConfigTrapVerionEnum `json:"version,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SnmpConfigTrapGroup represents a SnmpConfigTrapGroup struct.
func (SnmpConfigTrapGroup) MarshalJSON ¶
func (s SnmpConfigTrapGroup) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SnmpConfigTrapGroup. It customizes the JSON marshaling process for SnmpConfigTrapGroup objects.
func (*SnmpConfigTrapGroup) 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. enum: `all`, `v1`, `v2`
const ( SnmpConfigTrapVerionEnum_ALL SnmpConfigTrapVerionEnum = "all" SnmpConfigTrapVerionEnum_V1 SnmpConfigTrapVerionEnum = "v1" SnmpConfigTrapVerionEnum_V2 SnmpConfigTrapVerionEnum = "v2" )
type SnmpConfigV2cConfig ¶ added in v0.2.38
type SnmpConfigV2cConfig struct { Authorization *string `json:"authorization,omitempty"` // client_list_name here should refer to client_list above ClientListName *string `json:"client_list_name,omitempty"` CommunityName *string `json:"community_name,omitempty"` // view name here should be defined in views above View *string `json:"view,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SnmpConfigV2cConfig represents a SnmpConfigV2cConfig struct.
func (SnmpConfigV2cConfig) MarshalJSON ¶ added in v0.2.38
func (s SnmpConfigV2cConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SnmpConfigV2cConfig. It customizes the JSON marshaling process for SnmpConfigV2cConfig objects.
func (*SnmpConfigV2cConfig) UnmarshalJSON ¶ added in v0.2.38
func (s *SnmpConfigV2cConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SnmpConfigV2cConfig. It customizes the JSON unmarshaling process for SnmpConfigV2cConfig objects.
type SnmpConfigView ¶
type SnmpConfigView struct { // if the root oid configured is included Include *bool `json:"include,omitempty"` Oid *string `json:"oid,omitempty"` ViewName *string `json:"view_name,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SnmpConfigView represents a SnmpConfigView struct.
func (SnmpConfigView) MarshalJSON ¶
func (s SnmpConfigView) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SnmpConfigView. It customizes the JSON marshaling process for SnmpConfigView objects.
func (*SnmpConfigView) 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"` // enum: `local_engine`, `remote_engine` EngineType *SnmpUsmEngineTypeEnum `json:"engine_type,omitempty"` Users []SnmpUsmpUser `json:"users,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SnmpUsm represents a SnmpUsm struct.
func (SnmpUsm) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for SnmpUsm. It customizes the JSON marshaling process for SnmpUsm objects.
func (*SnmpUsm) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for SnmpUsm. It customizes the JSON unmarshaling process for SnmpUsm objects.
type SnmpUsmEngineTypeEnum ¶
type SnmpUsmEngineTypeEnum string
SnmpUsmEngineTypeEnum is a string enum. enum: `local_engine`, `remote_engine`
const ( SnmpUsmEngineTypeEnum_LOCALENGINE SnmpUsmEngineTypeEnum = "local_engine" SnmpUsmEngineTypeEnum_REMOTEENGINE SnmpUsmEngineTypeEnum = "remote_engine" )
type 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. enum: `authentication_md5`, `authentication_none`, `authentication_sha`, `authentication_sha224`, `authentication_sha256`, `authentication_sha384`, `authentication_sha512` 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"` // enum: `privacy-3des`, `privacy-aes128`, `privacy-des`, `privacy-none` EncryptionType *SnmpUsmpUserEncryptionTypeEnum `json:"encryption_type,omitempty"` Name *string `json:"name,omitempty"` AdditionalProperties map[string]interface{} `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. enum: `authentication_md5`, `authentication_none`, `authentication_sha`, `authentication_sha224`, `authentication_sha256`, `authentication_sha384`, `authentication_sha512`
const ( SnmpUsmpUserAuthenticationTypeEnum_AUTHENTICATIONMD5 SnmpUsmpUserAuthenticationTypeEnum = "authentication_md5" SnmpUsmpUserAuthenticationTypeEnum_AUTHENTICATIONNONE SnmpUsmpUserAuthenticationTypeEnum = "authentication_none" 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" )
type SnmpUsmpUserEncryptionTypeEnum ¶
type SnmpUsmpUserEncryptionTypeEnum string
SnmpUsmpUserEncryptionTypeEnum is a string enum. enum: `privacy-3des`, `privacy-aes128`, `privacy-des`, `privacy-none`
const ( SnmpUsmpUserEncryptionTypeEnum_PRIVACY3DES SnmpUsmpUserEncryptionTypeEnum = "privacy-3des" SnmpUsmpUserEncryptionTypeEnum_PRIVACYAES128 SnmpUsmpUserEncryptionTypeEnum = "privacy-aes128" SnmpUsmpUserEncryptionTypeEnum_PRIVACYDES SnmpUsmpUserEncryptionTypeEnum = "privacy-des" 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]interface{} `json:"_"` }
SnmpVacm represents a SnmpVacm struct.
func (SnmpVacm) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for SnmpVacm. It customizes the JSON marshaling process for SnmpVacm objects.
func (*SnmpVacm) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for SnmpVacm. It customizes the JSON unmarshaling process for SnmpVacm objects.
type SnmpVacmAccessItem ¶
type SnmpVacmAccessItem struct { GroupName *string `json:"group_name,omitempty"` PrefixList []SnmpVacmAccessItemPrefixListItem `json:"prefix_list,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SnmpVacmAccessItem represents a SnmpVacmAccessItem struct.
func (SnmpVacmAccessItem) MarshalJSON ¶
func (s SnmpVacmAccessItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SnmpVacmAccessItem. It customizes the JSON marshaling process for SnmpVacmAccessItem objects.
func (*SnmpVacmAccessItem) UnmarshalJSON ¶
func (s *SnmpVacmAccessItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SnmpVacmAccessItem. It customizes the JSON unmarshaling process for SnmpVacmAccessItem objects.
type SnmpVacmAccessItemPrefixListItem ¶
type SnmpVacmAccessItemPrefixListItem struct { // only required if `type`==`context_prefix` ContextPrefix *string `json:"context_prefix,omitempty"` // refer to view name NotifyView *string `json:"notify_view,omitempty"` // refer to view name ReadView *string `json:"read_view,omitempty"` // enum: `authentication`, `none`, `privacy` SecurityLevel *SnmpVacmAccessItemPrefixListItemLevelEnum `json:"security_level,omitempty"` // enum: `any`, `usm`, `v1`, `v2c` SecurityModel *SnmpVacmAccessItemPrefixListItemModelEnum `json:"security_model,omitempty"` // enum: `context_prefix`, `default_context_prefix` Type *SnmpVacmAccessItemTypeEnum `json:"type,omitempty"` // refer to view name WriteView *string `json:"write_view,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SnmpVacmAccessItemPrefixListItem represents a SnmpVacmAccessItemPrefixListItem struct.
func (SnmpVacmAccessItemPrefixListItem) MarshalJSON ¶
func (s SnmpVacmAccessItemPrefixListItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SnmpVacmAccessItemPrefixListItem. It customizes the JSON marshaling process for SnmpVacmAccessItemPrefixListItem objects.
func (*SnmpVacmAccessItemPrefixListItem) UnmarshalJSON ¶
func (s *SnmpVacmAccessItemPrefixListItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SnmpVacmAccessItemPrefixListItem. It customizes the JSON unmarshaling process for SnmpVacmAccessItemPrefixListItem objects.
type SnmpVacmAccessItemPrefixListItemLevelEnum ¶
type SnmpVacmAccessItemPrefixListItemLevelEnum string
SnmpVacmAccessItemPrefixListItemLevelEnum is a string enum. enum: `authentication`, `none`, `privacy`
const ( SnmpVacmAccessItemPrefixListItemLevelEnum_AUTHENTICATION SnmpVacmAccessItemPrefixListItemLevelEnum = "authentication" SnmpVacmAccessItemPrefixListItemLevelEnum_NONE SnmpVacmAccessItemPrefixListItemLevelEnum = "none" SnmpVacmAccessItemPrefixListItemLevelEnum_PRIVACY SnmpVacmAccessItemPrefixListItemLevelEnum = "privacy" )
type SnmpVacmAccessItemPrefixListItemModelEnum ¶
type SnmpVacmAccessItemPrefixListItemModelEnum string
SnmpVacmAccessItemPrefixListItemModelEnum is a string enum. enum: `any`, `usm`, `v1`, `v2c`
const ( SnmpVacmAccessItemPrefixListItemModelEnum_ANY SnmpVacmAccessItemPrefixListItemModelEnum = "any" SnmpVacmAccessItemPrefixListItemModelEnum_USM SnmpVacmAccessItemPrefixListItemModelEnum = "usm" SnmpVacmAccessItemPrefixListItemModelEnum_V1 SnmpVacmAccessItemPrefixListItemModelEnum = "v1" SnmpVacmAccessItemPrefixListItemModelEnum_V2C SnmpVacmAccessItemPrefixListItemModelEnum = "v2c" )
type SnmpVacmAccessItemTypeEnum ¶
type SnmpVacmAccessItemTypeEnum string
SnmpVacmAccessItemTypeEnum is a string enum. enum: `context_prefix`, `default_context_prefix`
const ( SnmpVacmAccessItemTypeEnum_CONTEXTPREFIX SnmpVacmAccessItemTypeEnum = "context_prefix" SnmpVacmAccessItemTypeEnum_DEFAULTCONTEXTPREFIX SnmpVacmAccessItemTypeEnum = "default_context_prefix" )
type SnmpVacmSecurityModelEnum ¶
type SnmpVacmSecurityModelEnum string
SnmpVacmSecurityModelEnum is a string enum. enum: `usm`, `v1`, `v2c`
const ( SnmpVacmSecurityModelEnum_USM SnmpVacmSecurityModelEnum = "usm" SnmpVacmSecurityModelEnum_V1 SnmpVacmSecurityModelEnum = "v1" SnmpVacmSecurityModelEnum_V2C SnmpVacmSecurityModelEnum = "v2c" )
type SnmpVacmSecurityToGroup ¶
type SnmpVacmSecurityToGroup struct { Content []SnmpVacmSecurityToGroupContentItem `json:"content,omitempty"` // enum: `usm`, `v1`, `v2c` SecurityModel *SnmpVacmSecurityModelEnum `json:"security_model,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SnmpVacmSecurityToGroup represents a SnmpVacmSecurityToGroup struct.
func (SnmpVacmSecurityToGroup) MarshalJSON ¶
func (s SnmpVacmSecurityToGroup) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SnmpVacmSecurityToGroup. It customizes the JSON marshaling process for SnmpVacmSecurityToGroup objects.
func (*SnmpVacmSecurityToGroup) UnmarshalJSON ¶
func (s *SnmpVacmSecurityToGroup) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SnmpVacmSecurityToGroup. It customizes the JSON unmarshaling process for SnmpVacmSecurityToGroup objects.
type SnmpVacmSecurityToGroupContentItem ¶
type SnmpVacmSecurityToGroupContentItem struct { // refer to group_name under access Group *string `json:"group,omitempty"` SecurityName *string `json:"security_name,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SnmpVacmSecurityToGroupContentItem represents a SnmpVacmSecurityToGroupContentItem struct.
func (SnmpVacmSecurityToGroupContentItem) MarshalJSON ¶
func (s SnmpVacmSecurityToGroupContentItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SnmpVacmSecurityToGroupContentItem. It customizes the JSON marshaling process for SnmpVacmSecurityToGroupContentItem objects.
func (*SnmpVacmSecurityToGroupContentItem) UnmarshalJSON ¶
func (s *SnmpVacmSecurityToGroupContentItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SnmpVacmSecurityToGroupContentItem. It customizes the JSON unmarshaling process for SnmpVacmSecurityToGroupContentItem objects.
type Snmpv3Config ¶
type Snmpv3Config struct { Notify []Snmpv3ConfigNotifyItems `json:"notify,omitempty"` NotifyFilter []Snmpv3ConfigNotifyFilterItem `json:"notify_filter,omitempty"` TargetAddress []Snmpv3ConfigTargetAddressItem `json:"target_address,omitempty"` TargetParameters []Snmpv3ConfigTargetParam `json:"target_parameters,omitempty"` Usm *SnmpUsm `json:"usm,omitempty"` Vacm *SnmpVacm `json:"vacm,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Snmpv3Config represents a Snmpv3Config struct.
func (Snmpv3Config) MarshalJSON ¶
func (s Snmpv3Config) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for Snmpv3Config. It customizes the JSON marshaling process for Snmpv3Config objects.
func (*Snmpv3Config) UnmarshalJSON ¶
func (s *Snmpv3Config) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for Snmpv3Config. It customizes the JSON unmarshaling process for Snmpv3Config objects.
type Snmpv3ConfigNotifyFilterItem ¶
type Snmpv3ConfigNotifyFilterItem struct { Contents []Snmpv3ConfigNotifyFilterItemContent `json:"contents,omitempty"` ProfileName *string `json:"profile_name,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Snmpv3ConfigNotifyFilterItem represents a Snmpv3ConfigNotifyFilterItem struct.
func (Snmpv3ConfigNotifyFilterItem) MarshalJSON ¶
func (s Snmpv3ConfigNotifyFilterItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for Snmpv3ConfigNotifyFilterItem. It customizes the JSON marshaling process for Snmpv3ConfigNotifyFilterItem objects.
func (*Snmpv3ConfigNotifyFilterItem) UnmarshalJSON ¶
func (s *Snmpv3ConfigNotifyFilterItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for Snmpv3ConfigNotifyFilterItem. It customizes the JSON unmarshaling process for Snmpv3ConfigNotifyFilterItem objects.
type Snmpv3ConfigNotifyFilterItemContent ¶
type Snmpv3ConfigNotifyFilterItemContent struct { Include *bool `json:"include,omitempty"` Oid *string `json:"oid,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Snmpv3ConfigNotifyFilterItemContent represents a Snmpv3ConfigNotifyFilterItemContent struct.
func (Snmpv3ConfigNotifyFilterItemContent) MarshalJSON ¶
func (s Snmpv3ConfigNotifyFilterItemContent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for Snmpv3ConfigNotifyFilterItemContent. It customizes the JSON marshaling process for Snmpv3ConfigNotifyFilterItemContent objects.
func (*Snmpv3ConfigNotifyFilterItemContent) UnmarshalJSON ¶
func (s *Snmpv3ConfigNotifyFilterItemContent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for Snmpv3ConfigNotifyFilterItemContent. It customizes the JSON unmarshaling process for Snmpv3ConfigNotifyFilterItemContent objects.
type Snmpv3ConfigNotifyItems ¶
type Snmpv3ConfigNotifyItems struct { Name *string `json:"name,omitempty"` Tag *string `json:"tag,omitempty"` // enum: `inform`, `trap` Type *Snmpv3ConfigNotifyTypeEnum `json:"type,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Snmpv3ConfigNotifyItems represents a Snmpv3ConfigNotifyItems struct.
func (Snmpv3ConfigNotifyItems) MarshalJSON ¶
func (s Snmpv3ConfigNotifyItems) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for Snmpv3ConfigNotifyItems. It customizes the JSON marshaling process for Snmpv3ConfigNotifyItems objects.
func (*Snmpv3ConfigNotifyItems) UnmarshalJSON ¶
func (s *Snmpv3ConfigNotifyItems) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for Snmpv3ConfigNotifyItems. It customizes the JSON unmarshaling process for Snmpv3ConfigNotifyItems objects.
type Snmpv3ConfigNotifyTypeEnum ¶
type Snmpv3ConfigNotifyTypeEnum string
Snmpv3ConfigNotifyTypeEnum is a string enum. enum: `inform`, `trap`
const ( Snmpv3ConfigNotifyTypeEnum_INFORM Snmpv3ConfigNotifyTypeEnum = "inform" Snmpv3ConfigNotifyTypeEnum_TRAP Snmpv3ConfigNotifyTypeEnum = "trap" )
type Snmpv3ConfigTargetAddressItem ¶
type Snmpv3ConfigTargetAddressItem struct { Address *string `json:"address,omitempty"` AddressMask *string `json:"address_mask,omitempty"` Port *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]interface{} `json:"_"` }
Snmpv3ConfigTargetAddressItem represents a Snmpv3ConfigTargetAddressItem struct.
func (Snmpv3ConfigTargetAddressItem) MarshalJSON ¶
func (s Snmpv3ConfigTargetAddressItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for Snmpv3ConfigTargetAddressItem. It customizes the JSON marshaling process for Snmpv3ConfigTargetAddressItem objects.
func (*Snmpv3ConfigTargetAddressItem) UnmarshalJSON ¶
func (s *Snmpv3ConfigTargetAddressItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for Snmpv3ConfigTargetAddressItem. It customizes the JSON unmarshaling process for Snmpv3ConfigTargetAddressItem objects.
type Snmpv3ConfigTargetParam ¶
type Snmpv3ConfigTargetParam struct { // enum: `v1`, `v2c`, `v3` MessageProcessingModel *Snmpv3ConfigTargetParamMessProcessModelEnum `json:"message_processing_model,omitempty"` Name *string `json:"name,omitempty"` // refer to profile-name in notify_filter NotifyFilter *string `json:"notify_filter,omitempty"` // enum: `authentication`, `none`, `privacy` SecurityLevel *Snmpv3ConfigTargetParamSecurityLevelEnum `json:"security_level,omitempty"` // enum: `usm`, `v1`, `v2c` SecurityModel *Snmpv3ConfigTargetParamSecurityModelEnum `json:"security_model,omitempty"` // refer to security_name in usm SecurityName *string `json:"security_name,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Snmpv3ConfigTargetParam represents a Snmpv3ConfigTargetParam struct.
func (Snmpv3ConfigTargetParam) MarshalJSON ¶
func (s Snmpv3ConfigTargetParam) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for Snmpv3ConfigTargetParam. It customizes the JSON marshaling process for Snmpv3ConfigTargetParam objects.
func (*Snmpv3ConfigTargetParam) UnmarshalJSON ¶
func (s *Snmpv3ConfigTargetParam) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for Snmpv3ConfigTargetParam. It customizes the JSON unmarshaling process for Snmpv3ConfigTargetParam objects.
type Snmpv3ConfigTargetParamMessProcessModelEnum ¶
type Snmpv3ConfigTargetParamMessProcessModelEnum string
Snmpv3ConfigTargetParamMessProcessModelEnum is a string enum. enum: `v1`, `v2c`, `v3`
const ( Snmpv3ConfigTargetParamMessProcessModelEnum_V1 Snmpv3ConfigTargetParamMessProcessModelEnum = "v1" Snmpv3ConfigTargetParamMessProcessModelEnum_V2C Snmpv3ConfigTargetParamMessProcessModelEnum = "v2c" Snmpv3ConfigTargetParamMessProcessModelEnum_V3 Snmpv3ConfigTargetParamMessProcessModelEnum = "v3" )
type Snmpv3ConfigTargetParamSecurityLevelEnum ¶
type Snmpv3ConfigTargetParamSecurityLevelEnum string
Snmpv3ConfigTargetParamSecurityLevelEnum is a string enum. enum: `authentication`, `none`, `privacy`
const ( Snmpv3ConfigTargetParamSecurityLevelEnum_AUTHENTICATION Snmpv3ConfigTargetParamSecurityLevelEnum = "authentication" Snmpv3ConfigTargetParamSecurityLevelEnum_NONE Snmpv3ConfigTargetParamSecurityLevelEnum = "none" Snmpv3ConfigTargetParamSecurityLevelEnum_PRIVACY Snmpv3ConfigTargetParamSecurityLevelEnum = "privacy" )
type Snmpv3ConfigTargetParamSecurityModelEnum ¶
type Snmpv3ConfigTargetParamSecurityModelEnum string
Snmpv3ConfigTargetParamSecurityModelEnum is a string enum. enum: `usm`, `v1`, `v2c`
const ( Snmpv3ConfigTargetParamSecurityModelEnum_USM Snmpv3ConfigTargetParamSecurityModelEnum = "usm" Snmpv3ConfigTargetParamSecurityModelEnum_V1 Snmpv3ConfigTargetParamSecurityModelEnum = "v1" Snmpv3ConfigTargetParamSecurityModelEnum_V2C Snmpv3ConfigTargetParamSecurityModelEnum = "v2c" )
type SslProxyCiphersCatagoryEnum ¶ added in v0.2.38
type SslProxyCiphersCatagoryEnum string
SslProxyCiphersCatagoryEnum is a string enum. enum: `medium`, `strong`, `weak`
const ( SslProxyCiphersCatagoryEnum_MEDIUM SslProxyCiphersCatagoryEnum = "medium" SslProxyCiphersCatagoryEnum_STRONG SslProxyCiphersCatagoryEnum = "strong" SslProxyCiphersCatagoryEnum_WEAK SslProxyCiphersCatagoryEnum = "weak" )
type Sso ¶
type Sso struct { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // if `idp_type`==`saml`, a URL we will redirect the user after user logout from Mist (for some IdP which supports a custom logout URL that is different from SP-initiated SLO process) CustomLogoutUrl *string `json:"custom_logout_url,omitempty"` // if `idp_type`==`saml`, default role to assign if there’s no match. By default, an assertion is treated as invalid when there’s no role matched DefaultRole *string `json:"default_role,omitempty"` // random string generated during the SSO creation and used to generate the SAML URLs: // * ACS URL = `/api/v1/saml/{domain}/login` (e.g. `https://api.mist.com/api/v1/saml/s4t5vwv8/login`) // * Single Logout URL = `/api/v1/saml/{domain}/logout` (e.g. `https://api.mist.com/api/v1/saml/s4t5vwv8/logout`) Domain *string `json:"domain,omitempty"` // Required if `ldap_type`==`custom`, LDAP filter that will identify the type of group GroupFilter *string `json:"group_filter,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // if `idp_type`==`saml`. IDP Cert (used to verify the signed response) IdpCert *string `json:"idp_cert,omitempty"` // Required if `idp_type`==`saml`, Signing algorithm for SAML Assertion. enum: `sha1`, `sha256`, `sha384`, `sha512` IdpSignAlgo *SsoIdpSignAlgoEnum `json:"idp_sign_algo,omitempty"` // Required if `idp_type`==`saml`, IDP Single-Sign-On URL IdpSsoUrl *string `json:"idp_sso_url,omitempty"` // * For Admin SSO, enum: `saml` // * For NAC SSO, enum: `ldap`, `mxedge_proxy`, `oauth` IdpType *SsoIdpTypeEnum `json:"idp_type,omitempty"` // if `idp_type`==`saml`, ignore any unmatched roles provided in assertion. By default, an assertion is treated as invalid for any unmatched role IgnoreUnmatchedRoles *bool `json:"ignore_unmatched_roles,omitempty"` // if `idp_type`==`saml`. IDP issuer URL Issuer *string `json:"issuer,omitempty"` // Required if `idp_type`==`ldap`, whole domain or a specific organization unit (container) in Search base to specify where users and groups are found in the LDAP tree LdapBaseDn *string `json:"ldap_base_dn,omitempty"` // Required if `idp_type`==`ldap`, the account used to authenticate against the LDAP LdapBindDn *string `json:"ldap_bind_dn,omitempty"` // Required if `idp_type`==`ldap`, the password used to authenticate against the LDAP LdapBindPassword *string `json:"ldap_bind_password,omitempty"` // Required if `idp_type`==`ldap`, list of CA certificates to validate the LDAP certificate LdapCacerts []string `json:"ldap_cacerts,omitempty"` // if `idp_type`==`ldap`, LDAPS Client certificate LdapClientCert *string `json:"ldap_client_cert,omitempty"` // if `idp_type`==`ldap`, Key for the `ldap_client_cert` LdapClientKey *string `json:"ldap_client_key,omitempty"` // if `ldap_type`==`custom` LdapGroupAttr *string `json:"ldap_group_attr,omitempty"` // if `ldap_type`==`custom` LdapGroupDn *string `json:"ldap_group_dn,omitempty"` // if `idp_type`==`ldap`, whether to recursively resolve LDAP groups LdapResolveGroups *bool `json:"ldap_resolve_groups,omitempty"` // if `idp_type`==`ldap`, list of LDAP/LDAPS server IP Addresses or Hostnames LdapServerHosts []string `json:"ldap_server_hosts,omitempty"` // if `idp_type`==`ldap`. enum: `azure`, `custom`, `google`, `okta`, `ping_identity` LdapType *SsoLdapTypeEnum `json:"ldap_type,omitempty"` // Required if `ldap_type`==`custom`, LDAP filter that will identify the type of user LdapUserFilter *string `json:"ldap_user_filter,omitempty"` // Required if `ldap_type`==`custom`,LDAP filter that will identify the type of member MemberFilter *string `json:"member_filter,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` MspId *uuid.UUID `json:"msp_id,omitempty"` // if `idp_type`==`mxedge_proxy`, this requires `mist_nac` to be enabled on the mxcluster MxedgeProxy *SsoMxedgeProxy `json:"mxedge_proxy,omitempty"` // name Name string `json:"name"` // if `idp_type`==`saml`. enum: `email`, `unspecified` NameidFormat *SsoNameidFormatEnum `json:"nameid_format,omitempty"` // Required if `idp_type`==`oauth`, Client Credentials OauthCcClientId *string `json:"oauth_cc_client_id,omitempty"` // Required if `idp_type`==`oauth`, oauth_cc_client_secret is RSA private key, of the form "-----BEGIN RSA PRIVATE KEY--...." OauthCcClientSecret *string `json:"oauth_cc_client_secret,omitempty"` // if `idp_type`==`oauth` OauthDiscoveryUrl *string `json:"oauth_discovery_url,omitempty"` // enum: `us` (United States, default), `ca` (Canada), `eu` (Europe), `asia` (Asia), `au` (Australia) OauthPingIdentityRegion *OauthPingIdentityRegionEnum `json:"oauth_ping_identity_region,omitempty"` // if `idp_type`==`oauth`, ropc = Resource Owner Password Credentials OauthRopcClientId *string `json:"oauth_ropc_client_id,omitempty"` // if `oauth_type`==`azure` or `oauth_type`==`azure-gov`. oauth_ropc_client_secret can be empty OauthRopcClientSecret *string `json:"oauth_ropc_client_secret,omitempty"` // Required if `idp_type`==`oauth`, oauth_tenant_id OauthTenantId *string `json:"oauth_tenant_id,omitempty"` // if `idp_type`==`oauth`. enum: `azure`, `azure-gov`, `okta`, `ping_identity` OauthType *SsoOauthTypeEnum `json:"oauth_type,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` // if `idp_type`==`saml`, custom role attribute parsing scheme // Supported Role Parsing Schemes // <table><tr><th>Name</th><th>Scheme</th></tr><tr><td>cn</td><td><ul><li>The expected role attribute format in SAML Assertion is “CN=cn,OU=ou1,OU=ou2,…”</li><li>CN (the key) is case insensitive and exactly 1 CN is expected (or the entire entry will be ignored)</li><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"` // if `idp_type`==`saml`, name of the attribute in SAML Assertion to extract role from RoleAttrFrom *string `json:"role_attr_from,omitempty"` // if `idp_type`==`oauth`, indicates if SCIM provisioning is enabled for the OAuth IDP ScimEnabled *bool `json:"scim_enabled,omitempty"` // if `idp_type`==`oauth`, scim_secret_token (auto-generated when not provided by caller and `scim_enabled`==`true`, empty string when `scim_enabled`==`false`) is used as the Bearer token in the Authorization header of SCIM provisioning requests by the IDP ScimSecretToken *string `json:"scim_secret_token,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Sso represents a Sso struct. SSO
func (Sso) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Sso. It customizes the JSON marshaling process for Sso objects.
func (*Sso) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Sso. It customizes the JSON unmarshaling process for Sso objects.
type SsoIdpSignAlgoEnum ¶ added in v0.3.33
type SsoIdpSignAlgoEnum string
SsoIdpSignAlgoEnum is a string enum. Required if `idp_type`==`saml`, Signing algorithm for SAML Assertion. enum: `sha1`, `sha256`, `sha384`, `sha512`
const ( SsoIdpSignAlgoEnum_SHA1 SsoIdpSignAlgoEnum = "sha1" SsoIdpSignAlgoEnum_SHA256 SsoIdpSignAlgoEnum = "sha256" SsoIdpSignAlgoEnum_SHA384 SsoIdpSignAlgoEnum = "sha384" SsoIdpSignAlgoEnum_SHA512 SsoIdpSignAlgoEnum = "sha512" )
type SsoIdpTypeEnum ¶
type SsoIdpTypeEnum string
SsoIdpTypeEnum is a string enum. * For Admin SSO, enum: `saml` * For NAC SSO, enum: `ldap`, `mxedge_proxy`, `oauth`
const ( SsoIdpTypeEnum_LDAP SsoIdpTypeEnum = "ldap" SsoIdpTypeEnum_MXEDGEPROXY SsoIdpTypeEnum = "mxedge_proxy" SsoIdpTypeEnum_OAUTH SsoIdpTypeEnum = "oauth" SsoIdpTypeEnum_SAML SsoIdpTypeEnum = "saml" )
type SsoLdapTypeEnum ¶
type SsoLdapTypeEnum string
SsoLdapTypeEnum is a string enum. if `idp_type`==`ldap`. enum: `azure`, `custom`, `google`, `okta`, `ping_identity`
const ( SsoLdapTypeEnum_AZURE SsoLdapTypeEnum = "azure" SsoLdapTypeEnum_CUSTOM SsoLdapTypeEnum = "custom" SsoLdapTypeEnum_GOOGLE SsoLdapTypeEnum = "google" SsoLdapTypeEnum_OKTA SsoLdapTypeEnum = "okta" )
type SsoMxedgeProxy ¶
type SsoMxedgeProxy struct { AcctServers []SsoMxedgeProxyAcctServer `json:"acct_servers,omitempty"` AuthServers []SsoMxedgeProxyAuthServer `json:"auth_servers,omitempty"` MxclusterId *uuid.UUID `json:"mxcluster_id,omitempty"` // Operator name as Radius attribute while proxying OperatorName *string `json:"operator_name,omitempty"` // public hostname/IPs ProxyHosts []string `json:"proxy_hosts,omitempty"` // SSIDs that support eduroam Ssids []string `json:"ssids,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SsoMxedgeProxy represents a SsoMxedgeProxy struct. if `idp_type`==`mxedge_proxy`, this requires `mist_nac` to be enabled on the mxcluster
func (SsoMxedgeProxy) MarshalJSON ¶
func (s SsoMxedgeProxy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SsoMxedgeProxy. It customizes the JSON marshaling process for SsoMxedgeProxy objects.
func (*SsoMxedgeProxy) UnmarshalJSON ¶
func (s *SsoMxedgeProxy) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SsoMxedgeProxy. It customizes the JSON unmarshaling process for SsoMxedgeProxy objects.
type SsoMxedgeProxyAcctServer ¶
type SsoMxedgeProxyAcctServer struct { Host *string `json:"host,omitempty"` Port *int `json:"port,omitempty"` Secret *string `json:"secret,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SsoMxedgeProxyAcctServer represents a SsoMxedgeProxyAcctServer struct.
func (SsoMxedgeProxyAcctServer) MarshalJSON ¶
func (s SsoMxedgeProxyAcctServer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SsoMxedgeProxyAcctServer. It customizes the JSON marshaling process for SsoMxedgeProxyAcctServer objects.
func (*SsoMxedgeProxyAcctServer) UnmarshalJSON ¶
func (s *SsoMxedgeProxyAcctServer) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SsoMxedgeProxyAcctServer. It customizes the JSON unmarshaling process for SsoMxedgeProxyAcctServer objects.
type SsoMxedgeProxyAuthServer ¶
type SsoMxedgeProxyAuthServer struct { Host *string `json:"host,omitempty"` Port *int `json:"port,omitempty"` // whether to require Message-Authenticator in requests RequireMessageAuthenticator *bool `json:"require_message_authenticator,omitempty"` Secret *string `json:"secret,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SsoMxedgeProxyAuthServer represents a SsoMxedgeProxyAuthServer struct.
func (SsoMxedgeProxyAuthServer) MarshalJSON ¶
func (s SsoMxedgeProxyAuthServer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SsoMxedgeProxyAuthServer. It customizes the JSON marshaling process for SsoMxedgeProxyAuthServer objects.
func (*SsoMxedgeProxyAuthServer) UnmarshalJSON ¶
func (s *SsoMxedgeProxyAuthServer) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SsoMxedgeProxyAuthServer. It customizes the JSON unmarshaling process for SsoMxedgeProxyAuthServer objects.
type SsoNameidFormatEnum ¶
type SsoNameidFormatEnum string
SsoNameidFormatEnum is a string enum. if `idp_type`==`saml`. enum: `email`, `unspecified`
const ( SsoNameidFormatEnum_EMAIL SsoNameidFormatEnum = "email" SsoNameidFormatEnum_UNSPECIFIED SsoNameidFormatEnum = "unspecified" )
type SsoOauthTypeEnum ¶
type SsoOauthTypeEnum string
SsoOauthTypeEnum is a string enum. if `idp_type`==`oauth`. enum: `azure`, `azure-gov`, `okta`, `ping_identity`
const ( SsoOauthTypeEnum_AZURE SsoOauthTypeEnum = "azure" SsoOauthTypeEnum_AZUREGOV SsoOauthTypeEnum = "azure-gov" SsoOauthTypeEnum_STANDARDS SsoOauthTypeEnum = "standards" SsoOauthTypeEnum_OKTA SsoOauthTypeEnum = "okta" SsoOauthTypeEnum_PINGIDENTITY SsoOauthTypeEnum = "ping_identity" )
type SsoRoleMsp ¶
type SsoRoleMsp struct { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` ForSite *bool `json:"for_site,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` MspId *uuid.UUID `json:"msp_id,omitempty"` Name string `json:"name"` OrgId *uuid.UUID `json:"org_id,omitempty"` Privileges []PrivilegeMsp `json:"privileges"` SiteId *uuid.UUID `json:"site_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SsoRoleMsp represents a SsoRoleMsp struct. SSO Role response
func (SsoRoleMsp) MarshalJSON ¶
func (s SsoRoleMsp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SsoRoleMsp. It customizes the JSON marshaling process for SsoRoleMsp objects.
func (*SsoRoleMsp) UnmarshalJSON ¶
func (s *SsoRoleMsp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SsoRoleMsp. It customizes the JSON unmarshaling process for SsoRoleMsp objects.
type SsoRoleOrg ¶
type SsoRoleOrg struct { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` ForSite *bool `json:"for_site,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` MspId *uuid.UUID `json:"msp_id,omitempty"` Name string `json:"name"` OrgId *uuid.UUID `json:"org_id,omitempty"` Privileges []PrivilegeOrg `json:"privileges"` SiteId *uuid.UUID `json:"site_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SsoRoleOrg represents a SsoRoleOrg struct. SSO Role response
func (SsoRoleOrg) MarshalJSON ¶
func (s SsoRoleOrg) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SsoRoleOrg. It customizes the JSON marshaling process for SsoRoleOrg objects.
func (*SsoRoleOrg) 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 SsrUpgrade ¶
type SsrUpgrade struct { // upgrade channel to follow. enum: `alpha`, `beta`, `stable` 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]interface{} `json:"_"` }
SsrUpgrade represents a SsrUpgrade struct.
func (SsrUpgrade) MarshalJSON ¶
func (s SsrUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SsrUpgrade. It customizes the JSON marshaling process for SsrUpgrade objects.
func (*SsrUpgrade) UnmarshalJSON ¶
func (s *SsrUpgrade) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SsrUpgrade. It customizes the JSON unmarshaling process for SsrUpgrade objects.
type SsrUpgradeChannelEnum ¶
type SsrUpgradeChannelEnum string
SsrUpgradeChannelEnum is a string enum. upgrade channel to follow. enum: `alpha`, `beta`, `stable`
const ( SsrUpgradeChannelEnum_ALPHA SsrUpgradeChannelEnum = "alpha" SsrUpgradeChannelEnum_BETA SsrUpgradeChannelEnum = "beta" SsrUpgradeChannelEnum_STABLE SsrUpgradeChannelEnum = "stable" )
type SsrUpgradeMulti ¶
type SsrUpgradeMulti struct { // upgrade channel to follow. enum: `alpha`, `beta`, `stable` Channel *SsrUpgradeChannelEnum `json:"channel,omitempty"` // list of 128T device IDs to upgrade DeviceIds []uuid.UUID `json:"device_ids"` // reboot start time in epoch seconds, default is start_time, -1 disables reboot RebootAt *int `json:"reboot_at,omitempty"` // 128T firmware download start time in epoch seconds, default is now, -1 disables download StartTime *int `json:"start_time,omitempty"` // enum: // * `big_bang`: upgrade all at once // * `serial`: one at a time Strategy *SsrUpgradeStrategyEnum `json:"strategy,omitempty"` // 128T firmware version to upgrade (e.g. 5.3.0-93) Version *string `json:"version,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SsrUpgradeMulti represents a SsrUpgradeMulti struct.
func (SsrUpgradeMulti) MarshalJSON ¶
func (s SsrUpgradeMulti) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SsrUpgradeMulti. It customizes the JSON marshaling process for SsrUpgradeMulti objects.
func (*SsrUpgradeMulti) 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"` // Unique ID of the object instance in the Mist Organnization Id uuid.UUID `json:"id"` Status string `json:"status"` Strategy string `json:"strategy"` Versions map[string]string `json:"versions"` AdditionalProperties map[string]interface{} `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]interface{} `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. 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]interface{} `json:"_"` }
SsrVersion represents a SsrVersion struct.
func (SsrVersion) MarshalJSON ¶
func (s SsrVersion) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SsrVersion. It customizes the JSON marshaling process for SsrVersion objects.
func (*SsrVersion) 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. enum: `all`, `connected`, `disconnected`
const ( StatDeviceStatusFilterEnum_ALL StatDeviceStatusFilterEnum = "all" StatDeviceStatusFilterEnum_CONNECTED StatDeviceStatusFilterEnum = "connected" StatDeviceStatusFilterEnum_DISCONNECTED StatDeviceStatusFilterEnum = "disconnected" )
type StatsAp ¶ added in v0.3.0
type StatsAp struct { AutoPlacement *StatsApAutoPlacement `json:"auto_placement,omitempty"` AutoUpgradeStat *StatsApAutoUpgrade `json:"auto_upgrade_stat,omitempty"` BleStat *StatsApBle `json:"ble_stat,omitempty"` CertExpiry Optional[float64] `json:"cert_expiry"` ConfigReverted Optional[bool] `json:"config_reverted"` CpuSystem Optional[int64] `json:"cpu_system"` CpuUtil Optional[int] `json:"cpu_util"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` DeviceprofileId Optional[uuid.UUID] `json:"deviceprofile_id"` // device environment, including CPU temperature, Ambient temperature, Humidity, Attitude, Pressure, Accelerometers, Magnetometers and vCore Voltage EnvStat *StatsApEnvStat `json:"env_stat,omitempty"` EslStat Optional[StatsApEslStat] `json:"esl_stat"` EvpntopoId Optional[uuid.UUID] `json:"evpntopo_id"` ExtIp Optional[string] `json:"ext_ip"` Fwupdate *FwupdateStat `json:"fwupdate,omitempty"` Gps *StatsApGpsStat `json:"gps,omitempty"` HwRev Optional[string] `json:"hw_rev"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` InactiveWiredVlans []int `json:"inactive_wired_vlans,omitempty"` IotStat map[string]StatsApIotStatAdditionalProperties `json:"iot_stat,omitempty"` Ip Optional[string] `json:"ip"` // IP AP settings IpConfig *ApIpConfig `json:"ip_config,omitempty"` IpStat *IpStat `json:"ip_stat,omitempty"` // l2tp tunnel status (key is the wxtunnel_id) L2tpStat map[string]StatsApL2tpStat `json:"l2tp_stat,omitempty"` // last seen timestamp LastSeen Optional[float64] `json:"last_seen"` // last trouble code of switch LastTrouble *LastTrouble `json:"last_trouble,omitempty"` // LED AP settings Led *ApLed `json:"led,omitempty"` // LLDP Stat (neighbor information, power negotiations) LldpStat *StatsApLldpStat `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"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` Mount Optional[string] `json:"mount"` Name Optional[string] `json:"name"` Notes Optional[string] `json:"notes"` // how many wireless clients are currently connected NumClients Optional[int] `json:"num_clients"` // how many WLANs are applied to the device NumWlans *int `json:"num_wlans,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` // Property key is the port name (e.g. `eth0`) PortStat Optional[map[string]StatsApPortStat] `json:"port_stat"` // in mW, surplus if positive or deficit if negative PowerBudget Optional[int] `json:"power_budget"` // whether insufficient power PowerConstrained Optional[bool] `json:"power_constrained"` // constrained mode PowerOpmode Optional[string] `json:"power_opmode"` // DC Input / PoE 802.3at / PoE 802.3af / LLDP / ? (unknown) PowerSrc Optional[string] `json:"power_src"` RadioConfig *StatsApRadioConfig `json:"radio_config,omitempty"` RadioStat *StatsApRadioStat `json:"radio_stat,omitempty"` 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 *StatsApSwitchRedundancy `json:"switch_redundancy,omitempty"` TxBps Optional[float64] `json:"tx_bps"` TxBytes Optional[float64] `json:"tx_bytes"` TxPkts Optional[float64] `json:"tx_pkts"` // Device Type. enum: `ap` Type string `json:"type"` // how long, in seconds, has the device been up (or rebooted) Uptime Optional[float64] `json:"uptime"` UsbStat *StatsApUsbStat `json:"usb_stat,omitempty"` Version Optional[string] `json:"version"` X Optional[float64] `json:"x"` Y Optional[float64] `json:"y"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsAp represents a StatsAp struct. AP statistics
func (StatsAp) MarshalJSON ¶ added in v0.3.0
MarshalJSON implements the json.Marshaler interface for StatsAp. It customizes the JSON marshaling process for StatsAp objects.
func (*StatsAp) UnmarshalJSON ¶ added in v0.3.0
UnmarshalJSON implements the json.Unmarshaler interface for StatsAp. It customizes the JSON unmarshaling process for StatsAp objects.
type StatsApAutoPlacement ¶ added in v0.3.0
type StatsApAutoPlacement struct { // Additional information about auto placements AP data Info *StatsApAutoPlacementInfo `json:"info,omitempty"` // Flag to represent if AP is recommended as an anchor by auto placement service RecommendedAnchor *bool `json:"recommended_anchor,omitempty"` // Basic Placement Status Status *string `json:"status,omitempty"` // Additional info about placement status StatusDetail *string `json:"status_detail,omitempty"` // 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]interface{} `json:"_"` }
StatsApAutoPlacement represents a StatsApAutoPlacement struct.
func (StatsApAutoPlacement) MarshalJSON ¶ added in v0.3.0
func (s StatsApAutoPlacement) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApAutoPlacement. It customizes the JSON marshaling process for StatsApAutoPlacement objects.
func (*StatsApAutoPlacement) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApAutoPlacement) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApAutoPlacement. It customizes the JSON unmarshaling process for StatsApAutoPlacement objects.
type StatsApAutoPlacementInfo ¶ added in v0.3.0
type StatsApAutoPlacementInfo struct { // All APs sharing a given cluster number can be placed relative to each other ClusterNumber *int `json:"cluster_number,omitempty"` // The orientation of an AP OrientationStats *int `json:"orientation_stats,omitempty"` // Coordinates representing a circle where the AP is most likely exists in the event of an inaccurate placement result ProbabilitySurface *StatsApAutoPlacementInfoProbabilitySurface `json:"probability_surface,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsApAutoPlacementInfo represents a StatsApAutoPlacementInfo struct. Additional information about auto placements AP data
func (StatsApAutoPlacementInfo) MarshalJSON ¶ added in v0.3.0
func (s StatsApAutoPlacementInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApAutoPlacementInfo. It customizes the JSON marshaling process for StatsApAutoPlacementInfo objects.
func (*StatsApAutoPlacementInfo) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApAutoPlacementInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApAutoPlacementInfo. It customizes the JSON unmarshaling process for StatsApAutoPlacementInfo objects.
type StatsApAutoPlacementInfoProbabilitySurface ¶ added in v0.3.0
type StatsApAutoPlacementInfoProbabilitySurface struct { // The radius representing placement uncertainty, measured in pixels Radius *float64 `json:"radius,omitempty"` // The radius representing placement uncertainty, measured in meters RadiusM *float64 `json:"radius_m,omitempty"` // Y-coordinate of the potential placement’s center, measured in pixels X *float64 `json:"x,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsApAutoPlacementInfoProbabilitySurface represents a StatsApAutoPlacementInfoProbabilitySurface struct. Coordinates representing a circle where the AP is most likely exists in the event of an inaccurate placement result
func (StatsApAutoPlacementInfoProbabilitySurface) MarshalJSON ¶ added in v0.3.0
func (s StatsApAutoPlacementInfoProbabilitySurface) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApAutoPlacementInfoProbabilitySurface. It customizes the JSON marshaling process for StatsApAutoPlacementInfoProbabilitySurface objects.
func (*StatsApAutoPlacementInfoProbabilitySurface) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApAutoPlacementInfoProbabilitySurface) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApAutoPlacementInfoProbabilitySurface. It customizes the JSON unmarshaling process for StatsApAutoPlacementInfoProbabilitySurface objects.
type StatsApAutoUpgrade ¶ added in v0.3.0
type StatsApAutoUpgrade struct { Lastcheck Optional[int64] `json:"lastcheck"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsApAutoUpgrade represents a StatsApAutoUpgrade struct.
func (StatsApAutoUpgrade) MarshalJSON ¶ added in v0.3.0
func (s StatsApAutoUpgrade) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApAutoUpgrade. It customizes the JSON marshaling process for StatsApAutoUpgrade objects.
func (*StatsApAutoUpgrade) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApAutoUpgrade) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApAutoUpgrade. It customizes the JSON unmarshaling process for StatsApAutoUpgrade objects.
type StatsApBle ¶ added in v0.3.0
type StatsApBle struct { BeaconEnabled Optional[bool] `json:"beacon_enabled"` BeaconRate Optional[int] `json:"beacon_rate"` EddystoneUidEnabled Optional[bool] `json:"eddystone_uid_enabled"` EddystoneUidFreqMsec Optional[int] `json:"eddystone_uid_freq_msec"` EddystoneUidInstance Optional[string] `json:"eddystone_uid_instance"` EddystoneUidNamespace Optional[string] `json:"eddystone_uid_namespace"` EddystoneUrlEnabled Optional[bool] `json:"eddystone_url_enabled"` // Frequency (msec) of data 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]interface{} `json:"_"` }
StatsApBle represents a StatsApBle struct.
func (StatsApBle) MarshalJSON ¶ added in v0.3.0
func (s StatsApBle) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApBle. It customizes the JSON marshaling process for StatsApBle objects.
func (*StatsApBle) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApBle) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApBle. It customizes the JSON unmarshaling process for StatsApBle objects.
type StatsApEnvStat ¶ added in v0.3.0
type StatsApEnvStat struct { AccelX Optional[float64] `json:"accel_x"` AccelY Optional[float64] `json:"accel_y"` AccelZ Optional[float64] `json:"accel_z"` AmbientTemp Optional[int] `json:"ambient_temp"` Attitude Optional[int] `json:"attitude"` CpuTemp Optional[int] `json:"cpu_temp"` Humidity Optional[int] `json:"humidity"` MagneX Optional[float64] `json:"magne_x"` MagneY Optional[float64] `json:"magne_y"` MagneZ Optional[float64] `json:"magne_z"` Pressure Optional[float64] `json:"pressure"` VcoreVoltage Optional[int] `json:"vcore_voltage"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsApEnvStat represents a StatsApEnvStat struct. device environment, including CPU temperature, Ambient temperature, Humidity, Attitude, Pressure, Accelerometers, Magnetometers and vCore Voltage
func (StatsApEnvStat) MarshalJSON ¶ added in v0.3.0
func (s StatsApEnvStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApEnvStat. It customizes the JSON marshaling process for StatsApEnvStat objects.
func (*StatsApEnvStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApEnvStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApEnvStat. It customizes the JSON unmarshaling process for StatsApEnvStat objects.
type StatsApEslStat ¶ added in v0.3.0
type StatsApEslStat struct { Channel Optional[int] `json:"channel"` Connected Optional[bool] `json:"connected"` Type Optional[string] `json:"type"` Up Optional[bool] `json:"up"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsApEslStat represents a StatsApEslStat struct.
func (StatsApEslStat) MarshalJSON ¶ added in v0.3.0
func (s StatsApEslStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApEslStat. It customizes the JSON marshaling process for StatsApEslStat objects.
func (*StatsApEslStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApEslStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApEslStat. It customizes the JSON unmarshaling process for StatsApEslStat objects.
type StatsApGpsStat ¶ added in v0.4.0
type StatsApGpsStat struct { // The estimated accuracy or accuracy of the GPS coordinates, measured in meters. Accuracy *float64 `json:"accuracy,omitempty"` // The elevation of the AP above sea level, measured in meters. Altitude *float64 `json:"altitude,omitempty"` // The geographic latitude of the AP, measured in degrees. Latitude *float64 `json:"latitude,omitempty"` // The geographic longitude of the AP, measured in degrees. Longitude *float64 `json:"longitude,omitempty"` // The origin of the GPS data. enum: // * `gps`: from this device’s GPS estimates // * `other_ap` from neighboring device GPS estimates Src *StatsApGpsStatSrcEnum `json:"src,omitempty"` // The unix timestamp when the GPS data was recorded. Timestamp *float64 `json:"timestamp,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsApGpsStat represents a StatsApGpsStat struct.
func (StatsApGpsStat) MarshalJSON ¶ added in v0.4.0
func (s StatsApGpsStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApGpsStat. It customizes the JSON marshaling process for StatsApGpsStat objects.
func (*StatsApGpsStat) UnmarshalJSON ¶ added in v0.4.0
func (s *StatsApGpsStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApGpsStat. It customizes the JSON unmarshaling process for StatsApGpsStat objects.
type StatsApGpsStatSrcEnum ¶ added in v0.4.0
type StatsApGpsStatSrcEnum string
StatsApGpsStatSrcEnum is a string enum. The origin of the GPS data. enum: * `gps`: from this device’s GPS estimates * `other_ap` from neighboring device GPS estimates
const ( StatsApGpsStatSrcEnum_GPS StatsApGpsStatSrcEnum = "gps" StatsApGpsStatSrcEnum_OTHERAP StatsApGpsStatSrcEnum = "other_ap" )
type StatsApIotStatAdditionalProperties ¶ added in v0.3.0
type StatsApIotStatAdditionalProperties struct { Value Optional[int] `json:"value"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsApIotStatAdditionalProperties represents a StatsApIotStatAdditionalProperties struct.
func (StatsApIotStatAdditionalProperties) MarshalJSON ¶ added in v0.3.0
func (s StatsApIotStatAdditionalProperties) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApIotStatAdditionalProperties. It customizes the JSON marshaling process for StatsApIotStatAdditionalProperties objects.
func (*StatsApIotStatAdditionalProperties) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApIotStatAdditionalProperties) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApIotStatAdditionalProperties. It customizes the JSON unmarshaling process for StatsApIotStatAdditionalProperties objects.
type StatsApL2tpStat ¶ added in v0.3.0
type StatsApL2tpStat struct { // list of sessions Sessions []StatsApL2tpStatSession `json:"sessions,omitempty"` // enum: `established`, `established_with_session`, `idle`, `wait-ctrl-conn`, `wait-ctrl-reply` State *L2tpStateEnum `json:"state,omitempty"` // uptime Uptime Optional[int] `json:"uptime"` // WxlanTunnel ID WxtunnelId Optional[uuid.UUID] `json:"wxtunnel_id"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsApL2tpStat represents a StatsApL2tpStat struct.
func (StatsApL2tpStat) MarshalJSON ¶ added in v0.3.0
func (s StatsApL2tpStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApL2tpStat. It customizes the JSON marshaling process for StatsApL2tpStat objects.
func (*StatsApL2tpStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApL2tpStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApL2tpStat. It customizes the JSON unmarshaling process for StatsApL2tpStat objects.
type StatsApL2tpStatSession ¶ added in v0.3.0
type StatsApL2tpStatSession struct { // remote sessions id (dynamically unless Tunnel is said to be static) LocalSid Optional[int] `json:"local_sid"` // WxlanTunnel Remote ID (user-configured) RemoteId Optional[string] `json:"remote_id"` // remote sessions id (dynamically unless Tunnel is said to be static) RemoteSid Optional[int] `json:"remote_sid"` // enum: `established`, `established_with_session`, `idle`, `wait-ctrl-conn`, `wait-ctrl-reply` State *L2tpStateEnum `json:"state,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsApL2tpStatSession represents a StatsApL2tpStatSession struct.
func (StatsApL2tpStatSession) MarshalJSON ¶ added in v0.3.0
func (s StatsApL2tpStatSession) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApL2tpStatSession. It customizes the JSON marshaling process for StatsApL2tpStatSession objects.
func (*StatsApL2tpStatSession) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApL2tpStatSession) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApL2tpStatSession. It customizes the JSON unmarshaling process for StatsApL2tpStatSession objects.
type StatsApLldpStat ¶ added in v0.3.0
type StatsApLldpStat struct { ChassisId Optional[string] `json:"chassis_id"` // whether it support LLDP-MED LldpMedSupported Optional[bool] `json:"lldp_med_supported"` // 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]interface{} `json:"_"` }
StatsApLldpStat represents a StatsApLldpStat struct. LLDP Stat (neighbor information, power negotiations)
func (StatsApLldpStat) MarshalJSON ¶ added in v0.3.0
func (s StatsApLldpStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApLldpStat. It customizes the JSON marshaling process for StatsApLldpStat objects.
func (*StatsApLldpStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApLldpStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApLldpStat. It customizes the JSON unmarshaling process for StatsApLldpStat objects.
type StatsApPortStat ¶ added in v0.3.0
type StatsApPortStat struct { FullDuplex Optional[bool] `json:"full_duplex"` 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]interface{} `json:"_"` }
StatsApPortStat represents a StatsApPortStat struct.
func (StatsApPortStat) MarshalJSON ¶ added in v0.3.0
func (s StatsApPortStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApPortStat. It customizes the JSON marshaling process for StatsApPortStat objects.
func (*StatsApPortStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApPortStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApPortStat. It customizes the JSON unmarshaling process for StatsApPortStat objects.
type StatsApRadioConfig ¶ added in v0.3.0
type StatsApRadioConfig struct { Band24 *StatsApRadioConfigBand `json:"band_24,omitempty"` Band24Usage Optional[string] `json:"band_24_usage"` Band5 *StatsApRadioConfigBand `json:"band_5,omitempty"` Band6 *StatsApRadioConfigBand `json:"band_6,omitempty"` ScanningEnabled *bool `json:"scanning_enabled,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsApRadioConfig represents a StatsApRadioConfig struct.
func (StatsApRadioConfig) MarshalJSON ¶ added in v0.3.0
func (s StatsApRadioConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApRadioConfig. It customizes the JSON marshaling process for StatsApRadioConfig objects.
func (*StatsApRadioConfig) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApRadioConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApRadioConfig. It customizes the JSON unmarshaling process for StatsApRadioConfig objects.
type StatsApRadioConfigBand ¶ added in v0.3.0
type StatsApRadioConfigBand struct { AllowRrmDisable Optional[bool] `json:"allow_rrm_disable"` Bandwidth Optional[float64] `json:"bandwidth"` Channel *int `json:"channel,omitempty"` Disabled Optional[bool] `json:"disabled"` DynamicChainingEnabled Optional[bool] `json:"dynamic_chaining_enabled"` Power Optional[float64] `json:"power"` PowerMax Optional[float64] `json:"power_max"` PowerMin Optional[float64] `json:"power_min"` RxChain Optional[int] `json:"rx_chain"` TxChain Optional[int] `json:"tx_chain"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsApRadioConfigBand represents a StatsApRadioConfigBand struct.
func (StatsApRadioConfigBand) MarshalJSON ¶ added in v0.3.0
func (s StatsApRadioConfigBand) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApRadioConfigBand. It customizes the JSON marshaling process for StatsApRadioConfigBand objects.
func (*StatsApRadioConfigBand) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApRadioConfigBand) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApRadioConfigBand. It customizes the JSON unmarshaling process for StatsApRadioConfigBand objects.
type StatsApRadioStat ¶ added in v0.3.0
type StatsApRadioStat struct { // radio stat Band24 *ApRadioStat `json:"band_24,omitempty"` // radio stat Band5 *ApRadioStat `json:"band_5,omitempty"` // radio stat Band6 *ApRadioStat `json:"band_6,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsApRadioStat represents a StatsApRadioStat struct.
func (StatsApRadioStat) MarshalJSON ¶ added in v0.3.0
func (s StatsApRadioStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApRadioStat. It customizes the JSON marshaling process for StatsApRadioStat objects.
func (*StatsApRadioStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApRadioStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApRadioStat. It customizes the JSON unmarshaling process for StatsApRadioStat objects.
type StatsApSwitchRedundancy ¶ added in v0.3.0
type StatsApSwitchRedundancy struct { NumRedundantAps Optional[int] `json:"num_redundant_aps"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsApSwitchRedundancy represents a StatsApSwitchRedundancy struct.
func (StatsApSwitchRedundancy) MarshalJSON ¶ added in v0.3.0
func (s StatsApSwitchRedundancy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApSwitchRedundancy. It customizes the JSON marshaling process for StatsApSwitchRedundancy objects.
func (*StatsApSwitchRedundancy) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApSwitchRedundancy) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApSwitchRedundancy. It customizes the JSON unmarshaling process for StatsApSwitchRedundancy objects.
type StatsApUsbStat ¶ added in v0.3.0
type StatsApUsbStat struct { Channel Optional[int] `json:"channel"` Connected Optional[bool] `json:"connected"` LastActivity Optional[int] `json:"last_activity"` Type Optional[string] `json:"type"` Up Optional[bool] `json:"up"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsApUsbStat represents a StatsApUsbStat struct.
func (StatsApUsbStat) MarshalJSON ¶ added in v0.3.0
func (s StatsApUsbStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsApUsbStat. It customizes the JSON marshaling process for StatsApUsbStat objects.
func (*StatsApUsbStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsApUsbStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsApUsbStat. It customizes the JSON unmarshaling process for StatsApUsbStat objects.
type StatsAsset ¶
type StatsAsset struct { // battery voltage, in mV BatteryVoltage *float64 `json:"battery_voltage,omitempty"` Beam *int `json:"beam,omitempty"` DeviceName *string `json:"device_name,omitempty"` Duration *int `json:"duration,omitempty"` EddystoneUidInstance *string `json:"eddystone_uid_instance,omitempty"` EddystoneUidNamespace *string `json:"eddystone_uid_namespace,omitempty"` EddystoneUrlUrl *string `json:"eddystone_url_url,omitempty"` 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]interface{} `json:"_"` }
StatsAsset represents a StatsAsset struct. Asset statistics
func (StatsAsset) MarshalJSON ¶
func (s StatsAsset) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsAsset. It customizes the JSON marshaling process for StatsAsset objects.
func (*StatsAsset) UnmarshalJSON ¶
func (s *StatsAsset) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsAsset. It customizes the JSON unmarshaling process for StatsAsset objects.
type StatsBeacon ¶ added in v0.3.0
type StatsBeacon struct { // battery voltage, in mV BatteryVoltage *float64 `json:"battery_voltage,omitempty"` EddystoneInstance *string `json:"eddystone_instance,omitempty"` EddystoneNamespace *string `json:"eddystone_namespace,omitempty"` 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]interface{} `json:"_"` }
StatsBeacon represents a StatsBeacon struct.
func (StatsBeacon) MarshalJSON ¶ added in v0.3.0
func (s StatsBeacon) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsBeacon. It customizes the JSON marshaling process for StatsBeacon objects.
func (*StatsBeacon) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsBeacon) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsBeacon. It customizes the JSON unmarshaling process for StatsBeacon objects.
type StatsCall ¶ added in v0.3.0
type StatsCall struct { App *string `json:"app,omitempty"` AudioQuality *int `json:"audio_quality,omitempty"` EndTime *int `json:"end_time,omitempty"` Mac *string `json:"mac,omitempty"` MeetingId *string `json:"meeting_id,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` Rating *int `json:"rating,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` StartTime *int `json:"start_time,omitempty"` VideoQuality *int `json:"video_quality,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsCall represents a StatsCall struct.
func (StatsCall) MarshalJSON ¶ added in v0.3.0
MarshalJSON implements the json.Marshaler interface for StatsCall. It customizes the JSON marshaling process for StatsCall objects.
func (*StatsCall) UnmarshalJSON ¶ added in v0.3.0
UnmarshalJSON implements the json.Unmarshaler interface for StatsCall. It customizes the JSON unmarshaling process for StatsCall objects.
type StatsClient ¶ added in v0.3.0
type StatsClient struct {
// contains filtered or unexported fields
}
StatsClient represents a StatsClient struct.
func (*StatsClient) AsStatsWiredClient ¶ added in v0.3.0
func (s *StatsClient) AsStatsWiredClient() ( *StatsWiredClient, bool)
func (*StatsClient) AsStatsWirelessClient ¶ added in v0.3.0
func (s *StatsClient) AsStatsWirelessClient() ( *StatsWirelessClient, bool)
func (StatsClient) MarshalJSON ¶ added in v0.3.0
func (s StatsClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsClient. It customizes the JSON marshaling process for StatsClient objects.
func (StatsClient) String ¶ added in v0.3.0
func (s StatsClient) String() string
String converts the StatsClient object to a string representation.
func (*StatsClient) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsClient. It customizes the JSON unmarshaling process for StatsClient objects.
type StatsClusterConfig ¶ added in v0.3.0
type StatsClusterConfig struct { Configuration *string `json:"configuration,omitempty"` ControlLinkInfo *StatsClusterConfigControlLinkInfo `json:"control_link_info,omitempty"` EthernetConnection []StatsClusterConfigEthernetConnectionItem `json:"ethernet_connection,omitempty"` FabricLinkInfo *StatsClusterConfigFabricLinkInfo `json:"fabric_link_info,omitempty"` LastStatusChangeReason *string `json:"last_status_change_reason,omitempty"` Operational *string `json:"operational,omitempty"` PrimaryNodeHealth *string `json:"primary_node_health,omitempty"` RedundancyGroupInformation []StatsClusterConfigRedundancyGroupInfoItem `json:"redundancy_group_information,omitempty"` SecondaryNodeHealth *string `json:"secondary_node_health,omitempty"` Status *string `json:"status,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsClusterConfig represents a StatsClusterConfig struct.
func (StatsClusterConfig) MarshalJSON ¶ added in v0.3.0
func (s StatsClusterConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsClusterConfig. It customizes the JSON marshaling process for StatsClusterConfig objects.
func (*StatsClusterConfig) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsClusterConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsClusterConfig. It customizes the JSON unmarshaling process for StatsClusterConfig objects.
type StatsClusterConfigControlLinkInfo ¶ added in v0.3.0
type StatsClusterConfigControlLinkInfo struct { Name *string `json:"name,omitempty"` Status *string `json:"status,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsClusterConfigControlLinkInfo represents a StatsClusterConfigControlLinkInfo struct.
func (StatsClusterConfigControlLinkInfo) MarshalJSON ¶ added in v0.3.0
func (s StatsClusterConfigControlLinkInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsClusterConfigControlLinkInfo. It customizes the JSON marshaling process for StatsClusterConfigControlLinkInfo objects.
func (*StatsClusterConfigControlLinkInfo) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsClusterConfigControlLinkInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsClusterConfigControlLinkInfo. It customizes the JSON unmarshaling process for StatsClusterConfigControlLinkInfo objects.
type StatsClusterConfigEthernetConnectionItem ¶ added in v0.3.0
type StatsClusterConfigEthernetConnectionItem struct { Name *string `json:"name,omitempty"` Status *string `json:"status,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsClusterConfigEthernetConnectionItem represents a StatsClusterConfigEthernetConnectionItem struct.
func (StatsClusterConfigEthernetConnectionItem) MarshalJSON ¶ added in v0.3.0
func (s StatsClusterConfigEthernetConnectionItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsClusterConfigEthernetConnectionItem. It customizes the JSON marshaling process for StatsClusterConfigEthernetConnectionItem objects.
func (*StatsClusterConfigEthernetConnectionItem) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsClusterConfigEthernetConnectionItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsClusterConfigEthernetConnectionItem. It customizes the JSON unmarshaling process for StatsClusterConfigEthernetConnectionItem objects.
type StatsClusterConfigFabricLinkInfo ¶ added in v0.3.0
type StatsClusterConfigFabricLinkInfo struct { DataPlaneNotifiedStatus *string `json:"DataPlaneNotifiedStatus,omitempty"` Interface []string `json:"Interface,omitempty"` InternalStatus *string `json:"InternalStatus,omitempty"` State *string `json:"State,omitempty"` Status *string `json:"Status,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsClusterConfigFabricLinkInfo represents a StatsClusterConfigFabricLinkInfo struct.
func (StatsClusterConfigFabricLinkInfo) MarshalJSON ¶ added in v0.3.0
func (s StatsClusterConfigFabricLinkInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsClusterConfigFabricLinkInfo. It customizes the JSON marshaling process for StatsClusterConfigFabricLinkInfo objects.
func (*StatsClusterConfigFabricLinkInfo) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsClusterConfigFabricLinkInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsClusterConfigFabricLinkInfo. It customizes the JSON unmarshaling process for StatsClusterConfigFabricLinkInfo objects.
type StatsClusterConfigRedundancyGroupInfoItem ¶ added in v0.3.0
type StatsClusterConfigRedundancyGroupInfoItem struct { Id *int `json:"Id,omitempty"` MonitoringFailure *string `json:"MonitoringFailure,omitempty"` Threshold *int `json:"Threshold,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsClusterConfigRedundancyGroupInfoItem represents a StatsClusterConfigRedundancyGroupInfoItem struct.
func (StatsClusterConfigRedundancyGroupInfoItem) MarshalJSON ¶ added in v0.3.0
func (s StatsClusterConfigRedundancyGroupInfoItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsClusterConfigRedundancyGroupInfoItem. It customizes the JSON marshaling process for StatsClusterConfigRedundancyGroupInfoItem objects.
func (*StatsClusterConfigRedundancyGroupInfoItem) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsClusterConfigRedundancyGroupInfoItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsClusterConfigRedundancyGroupInfoItem. It customizes the JSON unmarshaling process for StatsClusterConfigRedundancyGroupInfoItem objects.
type StatsDevice ¶
type StatsDevice struct {
// contains filtered or unexported fields
}
StatsDevice represents a StatsDevice struct.
func (*StatsDevice) AsStatsAp ¶ added in v0.3.0
func (s *StatsDevice) AsStatsAp() ( *StatsAp, bool)
func (*StatsDevice) AsStatsGateway ¶ added in v0.3.0
func (s *StatsDevice) AsStatsGateway() ( *StatsGateway, bool)
func (*StatsDevice) AsStatsSwitch ¶ added in v0.3.0
func (s *StatsDevice) AsStatsSwitch() ( *StatsSwitch, bool)
func (StatsDevice) MarshalJSON ¶
func (s StatsDevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsDevice. It customizes the JSON marshaling process for StatsDevice objects.
func (StatsDevice) String ¶ added in v0.3.0
func (s StatsDevice) String() string
String converts the StatsDevice object to a string representation.
func (*StatsDevice) UnmarshalJSON ¶
func (s *StatsDevice) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsDevice. It customizes the JSON unmarshaling process for StatsDevice objects.
type StatsDeviceOther ¶ added in v0.3.0
type StatsDeviceOther struct { 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 *StatsDeviceOtherVendorSpecific `json:"vendor_specific,omitempty"` Version *string `json:"version,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsDeviceOther represents a StatsDeviceOther struct.
func (StatsDeviceOther) MarshalJSON ¶ added in v0.3.0
func (s StatsDeviceOther) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsDeviceOther. It customizes the JSON marshaling process for StatsDeviceOther objects.
func (*StatsDeviceOther) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsDeviceOther) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsDeviceOther. It customizes the JSON unmarshaling process for StatsDeviceOther objects.
type StatsDeviceOtherVendorSpecific ¶ added in v0.3.0
type StatsDeviceOtherVendorSpecific struct { Ports map[string]StatsDeviceOtherVendorSpecificPort `json:"ports,omitempty"` TargetVersion *string `json:"target_version,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsDeviceOtherVendorSpecific represents a StatsDeviceOtherVendorSpecific struct. when `vendor`==`cradlepoint`
func (StatsDeviceOtherVendorSpecific) MarshalJSON ¶ added in v0.3.0
func (s StatsDeviceOtherVendorSpecific) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsDeviceOtherVendorSpecific. It customizes the JSON marshaling process for StatsDeviceOtherVendorSpecific objects.
func (*StatsDeviceOtherVendorSpecific) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsDeviceOtherVendorSpecific) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsDeviceOtherVendorSpecific. It customizes the JSON unmarshaling process for StatsDeviceOtherVendorSpecific objects.
type StatsDeviceOtherVendorSpecificPort ¶ added in v0.3.0
type StatsDeviceOtherVendorSpecificPort struct { BytesIn *int `json:"bytes_in,omitempty"` BytesOut *int `json:"bytes_out,omitempty"` HealthCategory *string `json:"health_category,omitempty"` HealthScore *int `json:"health_score,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `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]interface{} `json:"_"` }
StatsDeviceOtherVendorSpecificPort represents a StatsDeviceOtherVendorSpecificPort struct.
func (StatsDeviceOtherVendorSpecificPort) MarshalJSON ¶ added in v0.3.0
func (s StatsDeviceOtherVendorSpecificPort) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsDeviceOtherVendorSpecificPort. It customizes the JSON marshaling process for StatsDeviceOtherVendorSpecificPort objects.
func (*StatsDeviceOtherVendorSpecificPort) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsDeviceOtherVendorSpecificPort) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsDeviceOtherVendorSpecificPort. It customizes the JSON unmarshaling process for StatsDeviceOtherVendorSpecificPort objects.
type StatsGateway ¶ added in v0.3.0
type StatsGateway struct { ApRedundancy *ApRedundancy `json:"ap_redundancy,omitempty"` ArpTableStats *ArpTableStats `json:"arp_table_stats,omitempty"` // only present when `bgp_peers` in `fields` query parameter // Each port object is same as `GET /api/v1/sites/:site_id/stats/bgp_peers/search` result object, except that org_id, site_id, mac, model are removed BgpPeers []OptionalStatsBgp `json:"bgp_peers,omitempty"` CertExpiry *int64 `json:"cert_expiry,omitempty"` ClusterConfig *StatsClusterConfig `json:"cluster_config,omitempty"` ClusterStat *StatsGatewayCluster `json:"cluster_stat,omitempty"` ConductorName *string `json:"conductor_name,omitempty"` ConfigStatus *string `json:"config_status,omitempty"` Cpu2Stat *CpuStat `json:"cpu2_stat,omitempty"` CpuStat *CpuStat `json:"cpu_stat,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` DeviceprofileId Optional[uuid.UUID] `json:"deviceprofile_id"` // Property key is the network name Dhcpd2Stat map[string]DhcpdStatLan `json:"dhcpd2_stat,omitempty"` // Property key is the network name DhcpdStat map[string]DhcpdStatLan `json:"dhcpd_stat,omitempty"` EvpntopoId Optional[uuid.UUID] `json:"evpntopo_id"` // IP address ExtIp Optional[string] `json:"ext_ip"` Fwupdate *FwupdateStat `json:"fwupdate,omitempty"` HasPcap Optional[bool] `json:"has_pcap"` // hostname reported by the device Hostname *string `json:"hostname,omitempty"` // Unique ID of the object instance in the Mist Organnization 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"` // when the object has been modified for the last time, in epoch 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"` OrgId *uuid.UUID `json:"org_id,omitempty"` // only present when `ports` in `fields` query parameter // Each port object is same as `GET /api/v1/sites/:site_id/stats/ports/search` result object, except that org_id, site_id, mac, model are removed Ports []OptionalStatsPort `json:"ports,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 *StatsGatewayServiceStatus `json:"service_status,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` Spu2Stat []StatsGatewaySpuItem `json:"spu2_stat,omitempty"` SpuStat []StatsGatewaySpuItem `json:"spu_stat,omitempty"` Status *string `json:"status,omitempty"` // only present when `tunnels` in `fields` query parameter // Each port object is same as `GET /api/v1/sites/:site_id/stats/tunnels/search` result object, except that org_id, site_id, mac, model are removed Tunnels []OptionalStatWanTunnel `json:"tunnels,omitempty"` // Device Type. enum: `gateway` Type string `json:"type"` Uptime *float64 `json:"uptime,omitempty"` Version *string `json:"version,omitempty"` // only present when `vpn_peers` in `fields` query parameter // Each port object is same as `GET /api/v1/sites/:site_id/stats/vpn_peers/search` result object, except that org_id, site_id, mac, model are removed VpnPeers []OptionalStatVpnPeer `json:"vpn_peers,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsGateway represents a StatsGateway struct. Gateway statistics
func (StatsGateway) MarshalJSON ¶ added in v0.3.0
func (s StatsGateway) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsGateway. It customizes the JSON marshaling process for StatsGateway objects.
func (*StatsGateway) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsGateway) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsGateway. It customizes the JSON unmarshaling process for StatsGateway objects.
type StatsGatewayCluster ¶ added in v0.3.0
type StatsGatewayCluster struct { State Optional[string] `json:"state"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsGatewayCluster represents a StatsGatewayCluster struct.
func (StatsGatewayCluster) MarshalJSON ¶ added in v0.3.0
func (s StatsGatewayCluster) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsGatewayCluster. It customizes the JSON marshaling process for StatsGatewayCluster objects.
func (*StatsGatewayCluster) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsGatewayCluster) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsGatewayCluster. It customizes the JSON unmarshaling process for StatsGatewayCluster objects.
type StatsGatewayServiceStatus ¶ added in v0.3.0
type StatsGatewayServiceStatus struct { AppidInstallResult *string `json:"appid_install_result,omitempty"` AppidInstallTimestamp *string `json:"appid_install_timestamp,omitempty"` AppidStatus *string `json:"appid_status,omitempty"` AppidVersion *int `json:"appid_version,omitempty"` EwfStatus *string `json:"ewf_status,omitempty"` IdpInstallResult *string `json:"idp_install_result,omitempty"` IdpInstallTimestamp *string `json:"idp_install_timestamp,omitempty"` IdpPolicy *string `json:"idp_policy,omitempty"` IdpStatus *string `json:"idp_status,omitempty"` IdpUpdateTimestamp *string `json:"idp_update_timestamp,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsGatewayServiceStatus represents a StatsGatewayServiceStatus struct.
func (StatsGatewayServiceStatus) MarshalJSON ¶ added in v0.3.0
func (s StatsGatewayServiceStatus) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsGatewayServiceStatus. It customizes the JSON marshaling process for StatsGatewayServiceStatus objects.
func (*StatsGatewayServiceStatus) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsGatewayServiceStatus) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsGatewayServiceStatus. It customizes the JSON unmarshaling process for StatsGatewayServiceStatus objects.
type StatsGatewaySpuItem ¶ added in v0.3.0
type StatsGatewaySpuItem struct { SpuCpu *int `json:"spu_cpu,omitempty"` SpuCurrentSession *int `json:"spu_current_session,omitempty"` SpuMaxSession *int `json:"spu_max_session,omitempty"` SpuMemory *int `json:"spu_memory,omitempty"` SpuPendingSession *int `json:"spu_pending_session,omitempty"` SpuValidSession *int `json:"spu_valid_session,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsGatewaySpuItem represents a StatsGatewaySpuItem struct.
func (StatsGatewaySpuItem) MarshalJSON ¶ added in v0.3.0
func (s StatsGatewaySpuItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsGatewaySpuItem. It customizes the JSON marshaling process for StatsGatewaySpuItem objects.
func (*StatsGatewaySpuItem) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsGatewaySpuItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsGatewaySpuItem. It customizes the JSON unmarshaling process for StatsGatewaySpuItem objects.
type StatsMxedge ¶ added in v0.3.0
type StatsMxedge struct { // CPU/core stats list CpuStat *StatsMxedgeCpuStat `json:"cpu_stat,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // alue indicating fips configuration on the device FipsEnabled *bool `json:"fips_enabled,omitempty"` ForSite *bool `json:"for_site,omitempty"` Fwupdate *FwupdateStat `json:"fwupdate,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // IDRAC version of the mist edge device IdracVersion *string `json:"idrac_version,omitempty"` // IP stats IpStat *StatsMxedgeIpStat `json:"ip_stat,omitempty"` // Stat for LAG (Link Aggregation Group). Property key is the LAG name LagStat map[string]StatsMxedgeLagStat `json:"lag_stat,omitempty"` LastSeen *float64 `json:"last_seen,omitempty"` Mac *string `json:"mac,omitempty"` // Memory usage MemoryStat *StatsMxedgeMemoryStat `json:"memory_stat,omitempty"` Model *string `json:"model,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` MxagentRegistered *bool `json:"mxagent_registered,omitempty"` MxclusterId *uuid.UUID `json:"mxcluster_id,omitempty"` // The name of the tunnel Name *string `json:"name,omitempty"` NumTunnels *int `json:"num_tunnels,omitempty"` // ip configuration of the Mist Edge out-of_band management interface OobIpConfig *MxedgeOobIpConfig `json:"oob_ip_config,omitempty"` OobIpStat *StatsMxedgeOobIpStat `json:"oob_ip_stat,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` PortStat map[string]StatsMxedgePortStat `json:"port_stat,omitempty"` Serial Optional[string] `json:"serial"` // stat for each services ServiceStat map[string]StatsMxedgeServiceStat `json:"service_stat,omitempty"` Services []string `json:"services,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` Status *string `json:"status,omitempty"` TuntermIpConfig *StatsMxedgeTuntermIpConfig `json:"tunterm_ip_config,omitempty"` TuntermPortConfig *StatsMxedgeTuntermPortConfig `json:"tunterm_port_config,omitempty"` TuntermRegistered *bool `json:"tunterm_registered,omitempty"` TuntermStat *StatsMxedgeTuntermStat `json:"tunterm_stat,omitempty"` Uptime *int `json:"uptime,omitempty"` // Virtualization environment VirtualizationType *string `json:"virtualization_type,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsMxedge represents a StatsMxedge struct.
func (StatsMxedge) MarshalJSON ¶ added in v0.3.0
func (s StatsMxedge) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxedge. It customizes the JSON marshaling process for StatsMxedge objects.
func (*StatsMxedge) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsMxedge) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxedge. It customizes the JSON unmarshaling process for StatsMxedge objects.
type StatsMxedgeCpuStat ¶ added in v0.3.0
type StatsMxedgeCpuStat struct { Cpus map[string]CpuStat `json:"cpus,omitempty"` // percentage of Idle, Idle/(Idle + Busy) since last sampling Idle *int `json:"idle,omitempty"` // percentage of Interrupt, (Irq + SoftIrq)/(Idle + Busy) since last sampling Interrupt *int `json:"interrupt,omitempty"` // percentage of System, System/(Idle + Busy) since last sampling System *int `json:"system,omitempty"` // percentage of load, Busy/(Idle + Busy) since last sampling Usage *int `json:"usage,omitempty"` // percentage of User, User/(Idle + Busy) since last sampling User *int `json:"user,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsMxedgeCpuStat represents a StatsMxedgeCpuStat struct. CPU/core stats list
func (StatsMxedgeCpuStat) MarshalJSON ¶ added in v0.3.0
func (s StatsMxedgeCpuStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxedgeCpuStat. It customizes the JSON marshaling process for StatsMxedgeCpuStat objects.
func (*StatsMxedgeCpuStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsMxedgeCpuStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxedgeCpuStat. It customizes the JSON unmarshaling process for StatsMxedgeCpuStat objects.
type StatsMxedgeIpStat ¶ added in v0.3.0
type StatsMxedgeIpStat struct { Ip *string `json:"ip,omitempty"` Ip6 *string `json:"ip6,omitempty"` // Property key is the interface name. IPs for each net interface Ips map[string]string `json:"ips,omitempty"` // Property key is the interface name. MAC for each net interface Macs map[string]string `json:"macs,omitempty"` Netmask *string `json:"netmask,omitempty"` Netmask6 *string `json:"netmask6,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsMxedgeIpStat represents a StatsMxedgeIpStat struct. IP stats
func (StatsMxedgeIpStat) MarshalJSON ¶ added in v0.3.0
func (s StatsMxedgeIpStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxedgeIpStat. It customizes the JSON marshaling process for StatsMxedgeIpStat objects.
func (*StatsMxedgeIpStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsMxedgeIpStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxedgeIpStat. It customizes the JSON unmarshaling process for StatsMxedgeIpStat objects.
type StatsMxedgeLagStat ¶ added in v0.3.0
type StatsMxedgeLagStat struct { // list of ports active on the LAG defined by the LACP ActivePorts []string `json:"active_ports,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsMxedgeLagStat represents a StatsMxedgeLagStat struct.
func (StatsMxedgeLagStat) MarshalJSON ¶ added in v0.3.0
func (s StatsMxedgeLagStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxedgeLagStat. It customizes the JSON marshaling process for StatsMxedgeLagStat objects.
func (*StatsMxedgeLagStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsMxedgeLagStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxedgeLagStat. It customizes the JSON unmarshaling process for StatsMxedgeLagStat objects.
type StatsMxedgeMemoryStat ¶ added in v0.3.0
type StatsMxedgeMemoryStat struct { // The amount of memory, in 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]interface{} `json:"_"` }
StatsMxedgeMemoryStat represents a StatsMxedgeMemoryStat struct. Memory usage
func (StatsMxedgeMemoryStat) MarshalJSON ¶ added in v0.3.0
func (s StatsMxedgeMemoryStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxedgeMemoryStat. It customizes the JSON marshaling process for StatsMxedgeMemoryStat objects.
func (*StatsMxedgeMemoryStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsMxedgeMemoryStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxedgeMemoryStat. It customizes the JSON unmarshaling process for StatsMxedgeMemoryStat objects.
type StatsMxedgeOobIpStat ¶ added in v0.3.17
type StatsMxedgeOobIpStat struct { Dns []string `json:"dns,omitempty"` Gateway *string `json:"gateway,omitempty"` Gateway6 *string `json:"gateway6,omitempty"` Ip *string `json:"ip,omitempty"` Ip6 *string `json:"ip6,omitempty"` Netmask *string `json:"netmask,omitempty"` Netmask6 *string `json:"netmask6,omitempty"` // enum: `dhcp`, `disabled`, `static` Type *MxedgeMgmtOobIpTypeEnum `json:"type,omitempty"` // enum: `autoconf`, `dhcp`, `disabled`, `static` Type8 *MxedgeMgmtOobIpType6Enum `json:"type8,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsMxedgeOobIpStat represents a StatsMxedgeOobIpStat struct.
func (StatsMxedgeOobIpStat) MarshalJSON ¶ added in v0.3.17
func (s StatsMxedgeOobIpStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxedgeOobIpStat. It customizes the JSON marshaling process for StatsMxedgeOobIpStat objects.
func (*StatsMxedgeOobIpStat) UnmarshalJSON ¶ added in v0.3.17
func (s *StatsMxedgeOobIpStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxedgeOobIpStat. It customizes the JSON unmarshaling process for StatsMxedgeOobIpStat objects.
type StatsMxedgePortStat ¶ added in v0.3.0
type StatsMxedgePortStat struct { FullDuplex *bool `json:"full_duplex,omitempty"` 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]interface{} `json:"_"` }
StatsMxedgePortStat represents a StatsMxedgePortStat struct.
func (StatsMxedgePortStat) MarshalJSON ¶ added in v0.3.0
func (s StatsMxedgePortStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxedgePortStat. It customizes the JSON marshaling process for StatsMxedgePortStat objects.
func (*StatsMxedgePortStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsMxedgePortStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxedgePortStat. It customizes the JSON unmarshaling process for StatsMxedgePortStat objects.
type StatsMxedgeServiceStat ¶ added in v0.3.0
type StatsMxedgeServiceStat struct { // external IP from ep-terminator’s point of view. valid only for service having its own cloud connection ExtIp *string `json:"ext_ip,omitempty"` // timestamp when the last stats is seen (cloud unix time, in second). valid only for service having its own stats or whole system (last among last_seen of all services) LastSeen *float64 `json:"last_seen,omitempty"` // package/service installation state. PackageState *string `json:"package_state,omitempty"` // package/service installation state. PackageVersion *string `json:"package_version,omitempty"` // service running state. RunningState *string `json:"running_state,omitempty"` // service uptime. Uptime *int `json:"uptime,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsMxedgeServiceStat represents a StatsMxedgeServiceStat struct.
func (StatsMxedgeServiceStat) MarshalJSON ¶ added in v0.3.0
func (s StatsMxedgeServiceStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxedgeServiceStat. It customizes the JSON marshaling process for StatsMxedgeServiceStat objects.
func (*StatsMxedgeServiceStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsMxedgeServiceStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxedgeServiceStat. It customizes the JSON unmarshaling process for StatsMxedgeServiceStat objects.
type StatsMxedgeTuntermIpConfig ¶ added in v0.3.0
type StatsMxedgeTuntermIpConfig struct { Gateway *string `json:"gateway,omitempty"` Ip *string `json:"ip,omitempty"` Netmask *string `json:"netmask,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsMxedgeTuntermIpConfig represents a StatsMxedgeTuntermIpConfig struct.
func (StatsMxedgeTuntermIpConfig) MarshalJSON ¶ added in v0.3.0
func (s StatsMxedgeTuntermIpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxedgeTuntermIpConfig. It customizes the JSON marshaling process for StatsMxedgeTuntermIpConfig objects.
func (*StatsMxedgeTuntermIpConfig) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsMxedgeTuntermIpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxedgeTuntermIpConfig. It customizes the JSON unmarshaling process for StatsMxedgeTuntermIpConfig objects.
type StatsMxedgeTuntermPortConfig ¶ added in v0.3.0
type StatsMxedgeTuntermPortConfig struct { DownstreamPorts []string `json:"downstream_ports,omitempty"` SeparateUpstreamDownstream *bool `json:"separate_upstream_downstream,omitempty"` UpstreamPorts []string `json:"upstream_ports,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsMxedgeTuntermPortConfig represents a StatsMxedgeTuntermPortConfig struct.
func (StatsMxedgeTuntermPortConfig) MarshalJSON ¶ added in v0.3.0
func (s StatsMxedgeTuntermPortConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxedgeTuntermPortConfig. It customizes the JSON marshaling process for StatsMxedgeTuntermPortConfig objects.
func (*StatsMxedgeTuntermPortConfig) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsMxedgeTuntermPortConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxedgeTuntermPortConfig. It customizes the JSON unmarshaling process for StatsMxedgeTuntermPortConfig objects.
type StatsMxedgeTuntermStat ¶ added in v0.3.0
type StatsMxedgeTuntermStat struct { MonitoringFailed *bool `json:"monitoring_failed,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsMxedgeTuntermStat represents a StatsMxedgeTuntermStat struct.
func (StatsMxedgeTuntermStat) MarshalJSON ¶ added in v0.3.0
func (s StatsMxedgeTuntermStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxedgeTuntermStat. It customizes the JSON marshaling process for StatsMxedgeTuntermStat objects.
func (*StatsMxedgeTuntermStat) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsMxedgeTuntermStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxedgeTuntermStat. It customizes the JSON unmarshaling process for StatsMxedgeTuntermStat objects.
type StatsMxtunnel ¶ added in v0.3.0
type StatsMxtunnel struct { Ap *string `json:"ap,omitempty"` ForSite *bool `json:"for_site,omitempty"` Fwupdate *FwupdateStat `json:"fwupdate,omitempty"` LastSeen *float64 `json:"last_seen,omitempty"` Mtu *int `json:"mtu,omitempty"` MxclusterId *uuid.UUID `json:"mxcluster_id,omitempty"` MxedgeId *uuid.UUID `json:"mxedge_id,omitempty"` MxtunnelId *uuid.UUID `json:"mxtunnel_id,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` // MxEdge ID of the peer(mist edge to mist edge tunnel) PeerMxedgeId *uuid.UUID `json:"peer_mxedge_id,omitempty"` RemoteIp string `json:"remote_ip"` RemotePort *int `json:"remote_port,omitempty"` RxControlPkts *int `json:"rx_control_pkts,omitempty"` // list of sessions Sessions []StatsMxtunnelSession `json:"sessions,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` // enum: `established`, `established_with_sessions`, `idle`, `wait-ctrl-conn`, `wait-ctrl-reply` State *StatsMxtunnelStateEnum `json:"state,omitempty"` TxControlPkts *int `json:"tx_control_pkts,omitempty"` Uptime *int `json:"uptime,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsMxtunnel represents a StatsMxtunnel struct. MxTunnels statistics
func (StatsMxtunnel) MarshalJSON ¶ added in v0.3.0
func (s StatsMxtunnel) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxtunnel. It customizes the JSON marshaling process for StatsMxtunnel objects.
func (*StatsMxtunnel) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsMxtunnel) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxtunnel. It customizes the JSON unmarshaling process for StatsMxtunnel objects.
type StatsMxtunnelSession ¶ added in v0.3.0
type StatsMxtunnelSession struct { // remote sessions id (dynamically unless Tunnel is said to be static) LocalSid int `json:"local_sid"` // WxlanTunnel Remote ID RemoteId string `json:"remote_id"` // remote sessions id (dynamically unless Tunnel is said to be static) RemoteSid int `json:"remote_sid"` State string `json:"state"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsMxtunnelSession represents a StatsMxtunnelSession struct.
func (StatsMxtunnelSession) MarshalJSON ¶ added in v0.3.0
func (s StatsMxtunnelSession) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsMxtunnelSession. It customizes the JSON marshaling process for StatsMxtunnelSession objects.
func (*StatsMxtunnelSession) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsMxtunnelSession) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsMxtunnelSession. It customizes the JSON unmarshaling process for StatsMxtunnelSession objects.
type StatsMxtunnelStateEnum ¶ added in v0.3.0
type StatsMxtunnelStateEnum string
StatsMxtunnelStateEnum is a string enum. enum: `established`, `established_with_sessions`, `idle`, `wait-ctrl-conn`, `wait-ctrl-reply`
const ( StatsMxtunnelStateEnum_ESTABLISHED StatsMxtunnelStateEnum = "established" StatsMxtunnelStateEnum_ESTABLISHEDWITHSESSIONS StatsMxtunnelStateEnum = "established_with_sessions" StatsMxtunnelStateEnum_IDLE StatsMxtunnelStateEnum = "idle" StatsMxtunnelStateEnum_WAITCTRLCONN StatsMxtunnelStateEnum = "wait-ctrl-conn" StatsMxtunnelStateEnum_WAITCTRLREPLY StatsMxtunnelStateEnum = "wait-ctrl-reply" )
type StatsOrg ¶ added in v0.3.0
type StatsOrg struct { AlarmtemplateId uuid.UUID `json:"alarmtemplate_id"` AllowMist bool `json:"allow_mist"` // when the object has been created, in epoch CreatedTime float64 `json:"created_time"` // Unique ID of the object instance in the Mist Organnization Id uuid.UUID `json:"id"` // when the object has been modified for the last time, in epoch ModifiedTime float64 `json:"modified_time"` MspId uuid.UUID `json:"msp_id"` Name string `json:"name"` NumDevices int `json:"num_devices"` NumDevicesConnected int `json:"num_devices_connected"` NumDevicesDisconnected int `json:"num_devices_disconnected"` NumInventory int `json:"num_inventory"` NumSites int `json:"num_sites"` OrggroupIds []uuid.UUID `json:"orggroup_ids"` SessionExpiry int64 `json:"session_expiry"` Sle []StatsOrgSle `json:"sle"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsOrg represents a StatsOrg struct. Org statistics
func (StatsOrg) MarshalJSON ¶ added in v0.3.0
MarshalJSON implements the json.Marshaler interface for StatsOrg. It customizes the JSON marshaling process for StatsOrg objects.
func (*StatsOrg) UnmarshalJSON ¶ added in v0.3.0
UnmarshalJSON implements the json.Unmarshaler interface for StatsOrg. It customizes the JSON unmarshaling process for StatsOrg objects.
type StatsOrgSle ¶ added in v0.3.0
type StatsOrgSle struct { Path string `json:"path"` UserMinutes *StatsOrgSleUserMinutes `json:"user_minutes,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsOrgSle represents a StatsOrgSle struct.
func (StatsOrgSle) MarshalJSON ¶ added in v0.3.0
func (s StatsOrgSle) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsOrgSle. It customizes the JSON marshaling process for StatsOrgSle objects.
func (*StatsOrgSle) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsOrgSle) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsOrgSle. It customizes the JSON unmarshaling process for StatsOrgSle objects.
type StatsOrgSleUserMinutes ¶ added in v0.3.0
type StatsOrgSleUserMinutes struct { Ok float64 `json:"ok"` Total float64 `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsOrgSleUserMinutes represents a StatsOrgSleUserMinutes struct.
func (StatsOrgSleUserMinutes) MarshalJSON ¶ added in v0.3.0
func (s StatsOrgSleUserMinutes) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsOrgSleUserMinutes. It customizes the JSON marshaling process for StatsOrgSleUserMinutes objects.
func (*StatsOrgSleUserMinutes) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsOrgSleUserMinutes) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsOrgSleUserMinutes. It customizes the JSON unmarshaling process for StatsOrgSleUserMinutes objects.
type StatsRssiZone ¶ added in v0.4.18
type StatsRssiZone struct { // ble asset wait time right now AssetsWaits *StatsZoneAssetsWaits `json:"assets_waits,omitempty"` // client wait time right now ClientsWaits *StatsZoneClientsWaits `json:"clients_waits,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` Devices []StatsRssiZonesDevice `json:"devices"` // Unique ID of the object instance in the Mist Organnization Id uuid.UUID `json:"id"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` // name of the zone Name string `json:"name"` // number of assets NumAssets *int `json:"num_assets,omitempty"` // number of 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 *StatsZoneSdkclientsWaits `json:"sdkclients_waits,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsRssiZone represents a StatsRssiZone struct. Zone statistics
func (StatsRssiZone) MarshalJSON ¶ added in v0.4.18
func (s StatsRssiZone) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsRssiZone. It customizes the JSON marshaling process for StatsRssiZone objects.
func (*StatsRssiZone) UnmarshalJSON ¶ added in v0.4.18
func (s *StatsRssiZone) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsRssiZone. It customizes the JSON unmarshaling process for StatsRssiZone objects.
type StatsRssiZonesDevice ¶ added in v0.4.18
type StatsRssiZonesDevice struct { DeviceId *uuid.UUID `json:"device_id,omitempty"` Rssi *int `json:"rssi,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsRssiZonesDevice represents a StatsRssiZonesDevice struct.
func (StatsRssiZonesDevice) MarshalJSON ¶ added in v0.4.18
func (s StatsRssiZonesDevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsRssiZonesDevice. It customizes the JSON marshaling process for StatsRssiZonesDevice objects.
func (*StatsRssiZonesDevice) UnmarshalJSON ¶ added in v0.4.18
func (s *StatsRssiZonesDevice) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsRssiZonesDevice. It customizes the JSON unmarshaling process for StatsRssiZonesDevice objects.
type StatsSdkclient ¶ added in v0.3.0
type StatsSdkclient struct { // Unique ID of the object instance in the Mist Organnization 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 StatsSdkclientNetworkConnection `json:"network_connection"` // uuid of the sdk client Uuid uuid.UUID `json:"uuid"` // x (in pixels) of user location on the map (if known) X *float64 `json:"x,omitempty"` // y (in pixels) of user location on the map (if known) Y *float64 `json:"y,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsSdkclient represents a StatsSdkclient struct. SDK Client statistics
func (StatsSdkclient) MarshalJSON ¶ added in v0.3.0
func (s StatsSdkclient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsSdkclient. It customizes the JSON marshaling process for StatsSdkclient objects.
func (*StatsSdkclient) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsSdkclient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsSdkclient. It customizes the JSON unmarshaling process for StatsSdkclient objects.
type StatsSdkclientNetworkConnection ¶ added in v0.3.0
type StatsSdkclientNetworkConnection struct { Mac string `json:"mac"` Rssi float64 `json:"rssi"` SignalLevel float64 `json:"signal_level"` Type string `json:"type"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsSdkclientNetworkConnection represents a StatsSdkclientNetworkConnection struct. various network connection info for the SDK client (if known, else omitted), with RSSI in dBm, and signal level as
func (StatsSdkclientNetworkConnection) MarshalJSON ¶ added in v0.3.0
func (s StatsSdkclientNetworkConnection) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsSdkclientNetworkConnection. It customizes the JSON marshaling process for StatsSdkclientNetworkConnection objects.
func (*StatsSdkclientNetworkConnection) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsSdkclientNetworkConnection) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsSdkclientNetworkConnection. It customizes the JSON unmarshaling process for StatsSdkclientNetworkConnection objects.
type StatsSite ¶
type StatsSite struct { Address string `json:"address"` AlarmtemplateId *uuid.UUID `json:"alarmtemplate_id"` CountryCode string `json:"country_code"` // when the object has been created, in epoch CreatedTime float64 `json:"created_time"` // Unique ID of the object instance in the Mist Organnization Id uuid.UUID `json:"id"` Lat float64 `json:"lat"` Latlng LatLng `json:"latlng"` Lng float64 `json:"lng"` // when the object has been modified for the last time, in epoch ModifiedTime float64 `json:"modified_time"` MspId uuid.UUID `json:"msp_id"` Name string `json:"name"` 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 Optional[uuid.UUID] `json:"secpolicy_id"` SitegroupIds []uuid.UUID `json:"sitegroup_ids"` Timezone string `json:"timezone"` Tzoffset int `json:"tzoffset"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsSite represents a StatsSite struct. Site statistics
func (StatsSite) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for StatsSite. It customizes the JSON marshaling process for StatsSite objects.
func (*StatsSite) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for StatsSite. It customizes the JSON unmarshaling process for StatsSite objects.
type StatsSwitch ¶ added in v0.3.0
type StatsSwitch struct { ApRedundancy *StatsSwitchApRedundancy `json:"ap_redundancy,omitempty"` ArpTableStats *ArpTableStats `json:"arp_table_stats,omitempty"` CertExpiry *int64 `json:"cert_expiry,omitempty"` Clients []StatsSwitchClientItem `json:"clients,omitempty"` ClientsStats *StatsSwitchClientsStats `json:"clients_stats,omitempty"` ConfigStatus *string `json:"config_status,omitempty"` CpuStat *CpuStat `json:"cpu_stat,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` DeviceprofileId Optional[uuid.UUID] `json:"deviceprofile_id"` // Property key is the network name DhcpdStat map[string]DhcpdStatLan `json:"dhcpd_stat,omitempty"` EvpntopoId Optional[uuid.UUID] `json:"evpntopo_id"` FwVersionsOutofsync *bool `json:"fw_versions_outofsync,omitempty"` Fwupdate *FwupdateStat `json:"fwupdate,omitempty"` // whether the switch supports packet capture HasPcap *bool `json:"has_pcap,omitempty"` // hostname reported by the device Hostname *string `json:"hostname,omitempty"` // device hardware revision number HwRev *string `json:"hw_rev,omitempty"` // Unique ID of the object instance in the Mist Organnization 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"` // when the object has been modified for the last time, in epoch 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"` // only present when `ports` in `fields` query parameter // Each port object is same as `GET /api/v1/sites/:site_id/stats/ports/search` result object, except that org_id, site_id, mac, model are removed Ports []OptionalStatsPort `json:"ports,omitempty"` RouteSummaryStats *RouteSummaryStats `json:"route_summary_stats,omitempty"` Serial *string `json:"serial,omitempty"` ServiceStat map[string]ServiceStatProperty `json:"service_stat,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` Status *string `json:"status,omitempty"` // Device Type. enum: `switch` Type string `json:"type"` Uptime *float64 `json:"uptime,omitempty"` VcMac Optional[string] `json:"vc_mac"` VcSetupInfo *StatsSwitchVcSetupInfo `json:"vc_setup_info,omitempty"` Version *string `json:"version,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsSwitch represents a StatsSwitch struct. Switch statistics
func (StatsSwitch) MarshalJSON ¶ added in v0.3.0
func (s StatsSwitch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsSwitch. It customizes the JSON marshaling process for StatsSwitch objects.
func (*StatsSwitch) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsSwitch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsSwitch. It customizes the JSON unmarshaling process for StatsSwitch objects.
type StatsSwitchApRedundancy ¶ added in v0.3.0
type StatsSwitchApRedundancy struct { // for a VC / stacked switches. Modules map[string]StatsSwitchApRedundancyModule `json:"modules,omitempty"` NumAps *int `json:"num_aps,omitempty"` NumApsWithSwitchRedundancy *int `json:"num_aps_with_switch_redundancy,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsSwitchApRedundancy represents a StatsSwitchApRedundancy struct.
func (StatsSwitchApRedundancy) MarshalJSON ¶ added in v0.3.0
func (s StatsSwitchApRedundancy) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsSwitchApRedundancy. It customizes the JSON marshaling process for StatsSwitchApRedundancy objects.
func (*StatsSwitchApRedundancy) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsSwitchApRedundancy) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsSwitchApRedundancy. It customizes the JSON unmarshaling process for StatsSwitchApRedundancy objects.
type StatsSwitchApRedundancyModule ¶ added in v0.3.0
type StatsSwitchApRedundancyModule struct { NumAps *int `json:"num_aps,omitempty"` NumApsWithSwitchRedundancy *int `json:"num_aps_with_switch_redundancy,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsSwitchApRedundancyModule represents a StatsSwitchApRedundancyModule struct.
func (StatsSwitchApRedundancyModule) MarshalJSON ¶ added in v0.3.0
func (s StatsSwitchApRedundancyModule) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsSwitchApRedundancyModule. It customizes the JSON marshaling process for StatsSwitchApRedundancyModule objects.
func (*StatsSwitchApRedundancyModule) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsSwitchApRedundancyModule) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsSwitchApRedundancyModule. It customizes the JSON unmarshaling process for StatsSwitchApRedundancyModule objects.
type StatsSwitchClientItem ¶ added in v0.3.0
type StatsSwitchClientItem struct { DeviceMac *string `json:"device_mac,omitempty"` Hostname *string `json:"hostname,omitempty"` Mac *string `json:"mac,omitempty"` PortId *string `json:"port_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsSwitchClientItem represents a StatsSwitchClientItem struct.
func (StatsSwitchClientItem) MarshalJSON ¶ added in v0.3.0
func (s StatsSwitchClientItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsSwitchClientItem. It customizes the JSON marshaling process for StatsSwitchClientItem objects.
func (*StatsSwitchClientItem) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsSwitchClientItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsSwitchClientItem. It customizes the JSON unmarshaling process for StatsSwitchClientItem objects.
type StatsSwitchClientsStats ¶ added in v0.3.0
type StatsSwitchClientsStats struct { Total *StatsSwitchClientsStatsTotal `json:"total,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsSwitchClientsStats represents a StatsSwitchClientsStats struct.
func (StatsSwitchClientsStats) MarshalJSON ¶ added in v0.3.0
func (s StatsSwitchClientsStats) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsSwitchClientsStats. It customizes the JSON marshaling process for StatsSwitchClientsStats objects.
func (*StatsSwitchClientsStats) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsSwitchClientsStats) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsSwitchClientsStats. It customizes the JSON unmarshaling process for StatsSwitchClientsStats objects.
type StatsSwitchClientsStatsTotal ¶ added in v0.3.0
type StatsSwitchClientsStatsTotal struct { NumAps []int `json:"num_aps,omitempty"` NumWiredClients *int `json:"num_wired_clients,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsSwitchClientsStatsTotal represents a StatsSwitchClientsStatsTotal struct.
func (StatsSwitchClientsStatsTotal) MarshalJSON ¶ added in v0.3.0
func (s StatsSwitchClientsStatsTotal) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsSwitchClientsStatsTotal. It customizes the JSON marshaling process for StatsSwitchClientsStatsTotal objects.
func (*StatsSwitchClientsStatsTotal) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsSwitchClientsStatsTotal) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsSwitchClientsStatsTotal. It customizes the JSON unmarshaling process for StatsSwitchClientsStatsTotal objects.
type StatsSwitchPort ¶ added in v0.3.0
type StatsSwitchPort struct { // Indicates if interface is active/inactive Active *bool `json:"active,omitempty"` // if `up`==`true` and has Authenticator role. enum: `authenticated`, `authenticating`, `held`, `init` AuthState *StatsSwitchPortAuthStateEnum `json:"auth_state,omitempty"` ForSite *bool `json:"for_site,omitempty"` // indicates full or half duplex FullDuplex *bool `json:"full_duplex,omitempty"` // Last sampled jitter of the interface Jitter *float64 `json:"jitter,omitempty"` // indicates when the port was last flapped LastFlapped *float64 `json:"last_flapped,omitempty"` // Last sampled latency of the interface Latency *float64 `json:"latency,omitempty"` // Last sampled loss of the interface Loss *float64 `json:"loss,omitempty"` // LTE ICCID value, Check for null/empty LteIccid Optional[string] `json:"lte_iccid"` // LTE IMEI value, Check for null/empty LteImei Optional[string] `json:"lte_imei"` // LTE IMSI value, Check for null/empty LteImsi Optional[string] `json:"lte_imsi"` Mac string `json:"mac"` // Number of mac addresses in the forwarding table MacCount *int `json:"mac_count,omitempty"` // Limit on number of dynamically learned macs MacLimit *int `json:"mac_limit,omitempty"` // chassis identifier of the chassis type listed NeighborMac string `json:"neighbor_mac"` // description supplied by the system on the interface E.g. “GigabitEthernet2/0/39” NeighborPortDesc *string `json:"neighbor_port_desc,omitempty"` // name supplied by the system on the interface E.g. neighbor system name E.g. “Kumar-Acc-SW.mist.local” NeighborSystemName *string `json:"neighbor_system_name,omitempty"` OrgId uuid.UUID `json:"org_id"` // is the POE configured not be disabled. PoeDisabled *bool `json:"poe_disabled,omitempty"` // enum: `802.3af`, `802.3at`, `802.3bt` PoeMode *StatsSwitchPortPoeModeEnum `json:"poe_mode,omitempty"` // is the device attached to POE PoeOn *bool `json:"poe_on,omitempty"` PortId string `json:"port_id"` // interface mac address PortMac string `json:"port_mac"` // gateway port usage. enum: `lan` PortUsage *StatsSwitchPortPortUsageEnum `json:"port_usage,omitempty"` // Amount of power being used by the interface at the time the command is executed. Unit in watts. PowerDraw *float64 `json:"power_draw,omitempty"` // Broadcast input packets RxBcastPkts *int `json:"rx_bcast_pkts,omitempty"` // 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`. enum: `alternate`, `backup`, `designated`, `root`, `root-prevented` StpRole *StatsSwitchPortStpRoleEnum `json:"stp_role,omitempty"` // if `up`==`true`. enum: `blocking`, `disabled`, `forwarding`, `learning`, `listening` StpState *StatsSwitchPortStpStateEnum `json:"stp_state,omitempty"` // Broadcast output packets TxBcastPkts *int `json:"tx_bcast_pkts,omitempty"` // 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. enum: `ap`, `ble`, `gateway`, `mxedge`, `nac`, `switch` Type *StatsSwitchPortTypeEnum `json:"type,omitempty"` // indicates if interface is unconfigured Unconfigured *bool `json:"unconfigured,omitempty"` // indicates if interface is up Up *bool `json:"up,omitempty"` // Optic Slot ModelName, Check for null/empty XcvrModel *string `json:"xcvr_model,omitempty"` // Optic Slot Partnumber, Check for null/empty XcvrPartNumber *string `json:"xcvr_part_number,omitempty"` // Optic Slot SerialNumber, Check for null/empty XcvrSerial *string `json:"xcvr_serial,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsSwitchPort represents a StatsSwitchPort struct. Switch port statistics
func (StatsSwitchPort) MarshalJSON ¶ added in v0.3.0
func (s StatsSwitchPort) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsSwitchPort. It customizes the JSON marshaling process for StatsSwitchPort objects.
func (*StatsSwitchPort) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsSwitchPort) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsSwitchPort. It customizes the JSON unmarshaling process for StatsSwitchPort objects.
type StatsSwitchPortAuthStateEnum ¶ added in v0.3.0
type StatsSwitchPortAuthStateEnum string
StatsSwitchPortAuthStateEnum is a string enum. if `up`==`true` and has Authenticator role. enum: `authenticated`, `authenticating`, `held`, `init`
const ( StatsSwitchPortAuthStateEnum_AUTHENTICATED StatsSwitchPortAuthStateEnum = "authenticated" StatsSwitchPortAuthStateEnum_AUTHENTICATING StatsSwitchPortAuthStateEnum = "authenticating" StatsSwitchPortAuthStateEnum_HELD StatsSwitchPortAuthStateEnum = "held" StatsSwitchPortAuthStateEnum_INIT StatsSwitchPortAuthStateEnum = "init" )
type StatsSwitchPortPoeModeEnum ¶ added in v0.3.0
type StatsSwitchPortPoeModeEnum string
StatsSwitchPortPoeModeEnum is a string enum. enum: `802.3af`, `802.3at`, `802.3bt`
const ( StatsSwitchPortPoeModeEnum_ENUM8023AF StatsSwitchPortPoeModeEnum = "802.3af" StatsSwitchPortPoeModeEnum_ENUM8023AT StatsSwitchPortPoeModeEnum = "802.3at" StatsSwitchPortPoeModeEnum_ENUM8023BT StatsSwitchPortPoeModeEnum = "802.3bt" )
type StatsSwitchPortPortUsageEnum ¶ added in v0.3.0
type StatsSwitchPortPortUsageEnum string
StatsSwitchPortPortUsageEnum is a string enum. gateway port usage. enum: `lan`
const (
StatsSwitchPortPortUsageEnum_LAN StatsSwitchPortPortUsageEnum = "lan"
)
type StatsSwitchPortStpRoleEnum ¶ added in v0.3.0
type StatsSwitchPortStpRoleEnum string
StatsSwitchPortStpRoleEnum is a string enum. if `up`==`true`. enum: `alternate`, `backup`, `designated`, `root`, `root-prevented`
const ( StatsSwitchPortStpRoleEnum_ALTERNATE StatsSwitchPortStpRoleEnum = "alternate" StatsSwitchPortStpRoleEnum_BACKUP StatsSwitchPortStpRoleEnum = "backup" StatsSwitchPortStpRoleEnum_DESIGNATED StatsSwitchPortStpRoleEnum = "designated" StatsSwitchPortStpRoleEnum_ROOT StatsSwitchPortStpRoleEnum = "root" StatsSwitchPortStpRoleEnum_ROOTPREVENTED StatsSwitchPortStpRoleEnum = "root-prevented" )
type StatsSwitchPortStpStateEnum ¶ added in v0.3.0
type StatsSwitchPortStpStateEnum string
StatsSwitchPortStpStateEnum is a string enum. if `up`==`true`. enum: `blocking`, `disabled`, `forwarding`, `learning`, `listening`
const ( StatsSwitchPortStpStateEnum_BLOCKING StatsSwitchPortStpStateEnum = "blocking" StatsSwitchPortStpStateEnum_DISABLED StatsSwitchPortStpStateEnum = "disabled" StatsSwitchPortStpStateEnum_FORWARDING StatsSwitchPortStpStateEnum = "forwarding" StatsSwitchPortStpStateEnum_LEARNING StatsSwitchPortStpStateEnum = "learning" StatsSwitchPortStpStateEnum_LISTENING StatsSwitchPortStpStateEnum = "listening" )
type StatsSwitchPortTypeEnum ¶ added in v0.3.0
type StatsSwitchPortTypeEnum string
StatsSwitchPortTypeEnum is a string enum. device type. enum: `ap`, `ble`, `gateway`, `mxedge`, `nac`, `switch`
const ( StatsSwitchPortTypeEnum_AP StatsSwitchPortTypeEnum = "ap" StatsSwitchPortTypeEnum_BLE StatsSwitchPortTypeEnum = "ble" StatsSwitchPortTypeEnum_GATEWAY StatsSwitchPortTypeEnum = "gateway" StatsSwitchPortTypeEnum_MXEDGE StatsSwitchPortTypeEnum = "mxedge" StatsSwitchPortTypeEnum_NAC StatsSwitchPortTypeEnum = "nac" StatsSwitchPortTypeEnum_ENUMSWITCH StatsSwitchPortTypeEnum = "switch" )
type StatsSwitchVcSetupInfo ¶ added in v0.3.0
type StatsSwitchVcSetupInfo struct { ConfigType *string `json:"config_type,omitempty"` ErrMissingDevIdFpc *bool `json:"err_missing_dev_id_fpc,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsSwitchVcSetupInfo represents a StatsSwitchVcSetupInfo struct.
func (StatsSwitchVcSetupInfo) MarshalJSON ¶ added in v0.3.0
func (s StatsSwitchVcSetupInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsSwitchVcSetupInfo. It customizes the JSON marshaling process for StatsSwitchVcSetupInfo objects.
func (*StatsSwitchVcSetupInfo) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsSwitchVcSetupInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsSwitchVcSetupInfo. It customizes the JSON unmarshaling process for StatsSwitchVcSetupInfo objects.
type StatsUnconnectedClient ¶ added in v0.3.0
type StatsUnconnectedClient struct { // mac address of the AP that heard the client ApMac string `json:"ap_mac"` // last seen timestamp LastSeen 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]interface{} `json:"_"` }
StatsUnconnectedClient represents a StatsUnconnectedClient struct. Unconnected clients statistics
func (StatsUnconnectedClient) MarshalJSON ¶ added in v0.3.0
func (s StatsUnconnectedClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsUnconnectedClient. It customizes the JSON marshaling process for StatsUnconnectedClient objects.
func (*StatsUnconnectedClient) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsUnconnectedClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsUnconnectedClient. It customizes the JSON unmarshaling process for StatsUnconnectedClient objects.
type StatsWanClient ¶ added in v0.3.0
type StatsWanClient struct { DhcpExpireTime *float64 `json:"dhcp_expire_time,omitempty"` DhcpStartTime *float64 `json:"dhcp_start_time,omitempty"` Hostname []string `json:"hostname,omitempty"` Ip []string `json:"ip,omitempty"` IpSrc *string `json:"ip_src,omitempty"` LastHostname *string `json:"last_hostname,omitempty"` LastIp *string `json:"last_ip,omitempty"` Mfg *string `json:"mfg,omitempty"` Network *string `json:"network,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` Timestamp *float64 `json:"timestamp,omitempty"` Wcid *string `json:"wcid,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsWanClient represents a StatsWanClient struct.
func (StatsWanClient) MarshalJSON ¶ added in v0.3.0
func (s StatsWanClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsWanClient. It customizes the JSON marshaling process for StatsWanClient objects.
func (*StatsWanClient) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsWanClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsWanClient. It customizes the JSON unmarshaling process for StatsWanClient objects.
type StatsWanTunnel ¶ added in v0.3.0
type StatsWanTunnel struct { // authentication algorithm AuthAlgo *string `json:"auth_algo,omitempty"` // encryption algorithm EncryptAlgo *string `json:"encrypt_algo,omitempty"` // ike version IkeVersion *string `json:"ike_version,omitempty"` // ip address Ip *string `json:"ip,omitempty"` // reason of why the tunnel is down LastEvent *string `json:"last_event,omitempty"` // router mac address Mac *string `json:"mac,omitempty"` // node0/node1 Node *string `json:"node,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` // peer host PeerHost *string `json:"peer_host,omitempty"` // peer ip address PeerIp string `json:"peer_ip"` // enum: `primary`, `secondary` Priority *StatsWanTunnelPriorityEnum `json:"priority,omitempty"` // enum: `gre`, `ipsec` Protocol *WanTunnelProtocolEnum `json:"protocol,omitempty"` 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]interface{} `json:"_"` }
StatsWanTunnel represents a StatsWanTunnel struct.
func (StatsWanTunnel) MarshalJSON ¶ added in v0.3.0
func (s StatsWanTunnel) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsWanTunnel. It customizes the JSON marshaling process for StatsWanTunnel objects.
func (*StatsWanTunnel) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsWanTunnel) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsWanTunnel. It customizes the JSON unmarshaling process for StatsWanTunnel objects.
type StatsWanTunnelPriorityEnum ¶ added in v0.3.0
type StatsWanTunnelPriorityEnum string
StatsWanTunnelPriorityEnum is a string enum. enum: `primary`, `secondary`
const ( StatsWanTunnelPriorityEnum_PRIMARY StatsWanTunnelPriorityEnum = "primary" StatsWanTunnelPriorityEnum_SECONDARY StatsWanTunnelPriorityEnum = "secondary" )
type StatsWiredClient ¶
type StatsWiredClient struct { // client authorization status AuthState *string `json:"auth_state,omitempty"` // Device ID the client is connected to DeviceId *string `json:"device_id,omitempty"` // port on AP where the wired client is connected EthPort *string `json:"eth_port,omitempty"` // time when last Tx/Rx observed LastSeen *float64 `json:"last_seen,omitempty"` // client mac Mac string `json:"mac"` // amount of traffic 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]interface{} `json:"_"` }
StatsWiredClient represents a StatsWiredClient struct.
func (StatsWiredClient) MarshalJSON ¶
func (s StatsWiredClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsWiredClient. It customizes the JSON marshaling process for StatsWiredClient objects.
func (*StatsWiredClient) UnmarshalJSON ¶
func (s *StatsWiredClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsWiredClient. It customizes the JSON unmarshaling process for StatsWiredClient objects.
type StatsWirelessClient ¶ added in v0.3.0
type StatsWirelessClient struct { // estimated client location accuracy, in meter Accuracy *int `json:"accuracy,omitempty"` AirespaceIfname *string `json:"airespace_ifname,omitempty"` // information if airwatch enabled Airwatch *StatsWirelessClientAirwatch `json:"airwatch,omitempty"` // AP ID the client is connected to ApId uuid.UUID `json:"ap_id"` // AP the client is connected to ApMac string `json:"ap_mac"` // enum: `24`, `5`, `6` 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 *StatsWirelessClientGuest `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"` // enum: `a`, `ac`, `ax`, `b`, `g`, `n` Proto Dot11ProtoEnum `json:"proto"` // PSK id (if multi-psk is used) PskId *uuid.UUID `json:"psk_id,omitempty"` // signal strength Rssi float64 `json:"rssi"` // list of rssizone_id’s where client is in and since when (if known) Rssizones []StatsWirelessClientRssiZone `json:"rssizones,omitempty"` // rate of receiving traffic 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 []StatsWirelessClientVbeacon `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 []StatsWirelessClientWxruleUsage `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 []StatsWirelessClientZone `json:"zones,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsWirelessClient represents a StatsWirelessClient struct.
func (StatsWirelessClient) MarshalJSON ¶ added in v0.3.0
func (s StatsWirelessClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsWirelessClient. It customizes the JSON marshaling process for StatsWirelessClient objects.
func (*StatsWirelessClient) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsWirelessClient) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsWirelessClient. It customizes the JSON unmarshaling process for StatsWirelessClient objects.
type StatsWirelessClientAirwatch ¶ added in v0.3.0
type StatsWirelessClientAirwatch struct { Authorized bool `json:"authorized"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsWirelessClientAirwatch represents a StatsWirelessClientAirwatch struct. information if airwatch enabled
func (StatsWirelessClientAirwatch) MarshalJSON ¶ added in v0.3.0
func (s StatsWirelessClientAirwatch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsWirelessClientAirwatch. It customizes the JSON marshaling process for StatsWirelessClientAirwatch objects.
func (*StatsWirelessClientAirwatch) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsWirelessClientAirwatch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsWirelessClientAirwatch. It customizes the JSON unmarshaling process for StatsWirelessClientAirwatch objects.
type StatsWirelessClientGuest ¶ added in v0.3.0
type StatsWirelessClientGuest 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]interface{} `json:"_"` }
StatsWirelessClientGuest represents a StatsWirelessClientGuest struct. information about this portal
func (StatsWirelessClientGuest) MarshalJSON ¶ added in v0.3.0
func (s StatsWirelessClientGuest) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsWirelessClientGuest. It customizes the JSON marshaling process for StatsWirelessClientGuest objects.
func (*StatsWirelessClientGuest) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsWirelessClientGuest) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsWirelessClientGuest. It customizes the JSON unmarshaling process for StatsWirelessClientGuest objects.
type StatsWirelessClientRssiZone ¶ added in v0.3.0
type StatsWirelessClientRssiZone struct { // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` Since *int `json:"since,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsWirelessClientRssiZone represents a StatsWirelessClientRssiZone struct.
func (StatsWirelessClientRssiZone) MarshalJSON ¶ added in v0.3.0
func (s StatsWirelessClientRssiZone) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsWirelessClientRssiZone. It customizes the JSON marshaling process for StatsWirelessClientRssiZone objects.
func (*StatsWirelessClientRssiZone) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsWirelessClientRssiZone) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsWirelessClientRssiZone. It customizes the JSON unmarshaling process for StatsWirelessClientRssiZone objects.
type StatsWirelessClientVbeacon ¶ added in v0.3.0
type StatsWirelessClientVbeacon struct { // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` Since *int `json:"since,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsWirelessClientVbeacon represents a StatsWirelessClientVbeacon struct.
func (StatsWirelessClientVbeacon) MarshalJSON ¶ added in v0.3.0
func (s StatsWirelessClientVbeacon) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsWirelessClientVbeacon. It customizes the JSON marshaling process for StatsWirelessClientVbeacon objects.
func (*StatsWirelessClientVbeacon) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsWirelessClientVbeacon) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsWirelessClientVbeacon. It customizes the JSON unmarshaling process for StatsWirelessClientVbeacon objects.
type StatsWirelessClientWxruleUsage ¶ added in v0.3.0
type StatsWirelessClientWxruleUsage struct { TagId *uuid.UUID `json:"tag_id,omitempty"` Usage *int `json:"usage,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsWirelessClientWxruleUsage represents a StatsWirelessClientWxruleUsage struct.
func (StatsWirelessClientWxruleUsage) MarshalJSON ¶ added in v0.3.0
func (s StatsWirelessClientWxruleUsage) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsWirelessClientWxruleUsage. It customizes the JSON marshaling process for StatsWirelessClientWxruleUsage objects.
func (*StatsWirelessClientWxruleUsage) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsWirelessClientWxruleUsage) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsWirelessClientWxruleUsage. It customizes the JSON unmarshaling process for StatsWirelessClientWxruleUsage objects.
type StatsWirelessClientZone ¶ added in v0.3.0
type StatsWirelessClientZone struct { // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` Since *int `json:"since,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsWirelessClientZone represents a StatsWirelessClientZone struct.
func (StatsWirelessClientZone) MarshalJSON ¶ added in v0.3.0
func (s StatsWirelessClientZone) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsWirelessClientZone. It customizes the JSON marshaling process for StatsWirelessClientZone objects.
func (*StatsWirelessClientZone) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsWirelessClientZone) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsWirelessClientZone. It customizes the JSON unmarshaling process for StatsWirelessClientZone objects.
type StatsWxrule ¶ added in v0.3.41
type StatsWxrule struct { // enum: `allow`, `block` Action StatsWxruleActionEnum `json:"action"` ClientMac []string `json:"client_mac"` Name string `json:"name"` Order int `json:"order"` Usage map[string]StatsWxruleUsageProperties `json:"usage"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsWxrule represents a StatsWxrule struct. Wxrule statistics
func (StatsWxrule) MarshalJSON ¶ added in v0.3.41
func (s StatsWxrule) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsWxrule. It customizes the JSON marshaling process for StatsWxrule objects.
func (*StatsWxrule) UnmarshalJSON ¶ added in v0.3.41
func (s *StatsWxrule) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsWxrule. It customizes the JSON unmarshaling process for StatsWxrule objects.
type StatsWxruleActionEnum ¶ added in v0.3.41
type StatsWxruleActionEnum string
StatsWxruleActionEnum is a string enum. enum: `allow`, `block`
const ( StatsWxruleActionEnum_ALLOW StatsWxruleActionEnum = "allow" StatsWxruleActionEnum_BLOCK StatsWxruleActionEnum = "block" )
type StatsWxruleUsageProperties ¶ added in v0.3.41
type StatsWxruleUsageProperties struct { NumFlows *int `json:"num_flows,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsWxruleUsageProperties represents a StatsWxruleUsageProperties struct.
func (StatsWxruleUsageProperties) MarshalJSON ¶ added in v0.3.41
func (s StatsWxruleUsageProperties) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsWxruleUsageProperties. It customizes the JSON marshaling process for StatsWxruleUsageProperties objects.
func (*StatsWxruleUsageProperties) UnmarshalJSON ¶ added in v0.3.41
func (s *StatsWxruleUsageProperties) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsWxruleUsageProperties. It customizes the JSON unmarshaling process for StatsWxruleUsageProperties objects.
type StatsZone ¶ added in v0.3.0
type StatsZone struct { // ble asset wait time right now AssetsWaits *StatsZoneAssetsWaits `json:"assets_waits,omitempty"` // client wait time right now ClientsWaits *StatsZoneClientsWaits `json:"clients_waits,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // Unique ID of the object instance in the Mist Organnization Id uuid.UUID `json:"id"` // map_id of the zone MapId uuid.UUID `json:"map_id"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` // name of the zone Name string `json:"name"` // number of assets NumAssets *int `json:"num_assets,omitempty"` // number of 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 *StatsZoneSdkclientsWaits `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]interface{} `json:"_"` }
StatsZone represents a StatsZone struct. Zone statistics
func (StatsZone) MarshalJSON ¶ added in v0.3.0
MarshalJSON implements the json.Marshaler interface for StatsZone. It customizes the JSON marshaling process for StatsZone objects.
func (*StatsZone) UnmarshalJSON ¶ added in v0.3.0
UnmarshalJSON implements the json.Unmarshaler interface for StatsZone. It customizes the JSON unmarshaling process for StatsZone objects.
type StatsZoneAssetsWaits ¶ added in v0.3.0
type StatsZoneAssetsWaits struct { // average wait time in seconds Avg *float64 `json:"avg,omitempty"` // longest wait time in seconds Max *float64 `json:"max,omitempty"` // shortest wait time in seconds Min *float64 `json:"min,omitempty"` // 95th percentile of all the wait time(s) P95 *float64 `json:"p95,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsZoneAssetsWaits represents a StatsZoneAssetsWaits struct. ble asset wait time right now
func (StatsZoneAssetsWaits) MarshalJSON ¶ added in v0.3.0
func (s StatsZoneAssetsWaits) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsZoneAssetsWaits. It customizes the JSON marshaling process for StatsZoneAssetsWaits objects.
func (*StatsZoneAssetsWaits) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsZoneAssetsWaits) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsZoneAssetsWaits. It customizes the JSON unmarshaling process for StatsZoneAssetsWaits objects.
type StatsZoneClientsWaits ¶ added in v0.3.0
type StatsZoneClientsWaits struct { // average wait time in seconds Avg *float64 `json:"avg,omitempty"` // longest wait time in seconds Max *float64 `json:"max,omitempty"` // shortest wait time in seconds Min *float64 `json:"min,omitempty"` // 95th percentile of all the wait time(s) P95 *float64 `json:"p95,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsZoneClientsWaits represents a StatsZoneClientsWaits struct. client wait time right now
func (StatsZoneClientsWaits) MarshalJSON ¶ added in v0.3.0
func (s StatsZoneClientsWaits) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsZoneClientsWaits. It customizes the JSON marshaling process for StatsZoneClientsWaits objects.
func (*StatsZoneClientsWaits) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsZoneClientsWaits) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsZoneClientsWaits. It customizes the JSON unmarshaling process for StatsZoneClientsWaits objects.
type StatsZoneDetails ¶ added in v0.3.0
type StatsZoneDetails struct { // list of ble assets currently in the zone and when they entered Assets []string `json:"assets,omitempty"` // client wait time right now ClientWaits StatsZoneDetailsClientWaits `json:"client_waits"` // list of clients currently in the zone and when they entered Clients []string `json:"clients,omitempty"` // Unique ID of the object instance in the Mist Organnization 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]interface{} `json:"_"` }
StatsZoneDetails represents a StatsZoneDetails struct. Zone details statistics
func (StatsZoneDetails) MarshalJSON ¶ added in v0.3.0
func (s StatsZoneDetails) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsZoneDetails. It customizes the JSON marshaling process for StatsZoneDetails objects.
func (*StatsZoneDetails) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsZoneDetails) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsZoneDetails. It customizes the JSON unmarshaling process for StatsZoneDetails objects.
type StatsZoneDetailsClientWaits ¶ added in v0.3.0
type StatsZoneDetailsClientWaits struct { // average wait time in seconds Avg int `json:"avg"` // longest wait time in seconds Max int `json:"max"` // shortest wait time in seconds Min int `json:"min"` // 95th percentile of all the wait time(s) P95 int `json:"p95"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsZoneDetailsClientWaits represents a StatsZoneDetailsClientWaits struct. client wait time right now
func (StatsZoneDetailsClientWaits) MarshalJSON ¶ added in v0.3.0
func (s StatsZoneDetailsClientWaits) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsZoneDetailsClientWaits. It customizes the JSON marshaling process for StatsZoneDetailsClientWaits objects.
func (*StatsZoneDetailsClientWaits) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsZoneDetailsClientWaits) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsZoneDetailsClientWaits. It customizes the JSON unmarshaling process for StatsZoneDetailsClientWaits objects.
type StatsZoneSdkclientsWaits ¶ added in v0.3.0
type StatsZoneSdkclientsWaits struct { // average wait time in seconds Avg *float64 `json:"avg,omitempty"` // longest wait time in seconds Max *float64 `json:"max,omitempty"` // shortest wait time in seconds Min *float64 `json:"min,omitempty"` // 95th percentile of all the wait time(s) P95 *float64 `json:"p95,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
StatsZoneSdkclientsWaits represents a StatsZoneSdkclientsWaits struct. sdkclient wait time right now
func (StatsZoneSdkclientsWaits) MarshalJSON ¶ added in v0.3.0
func (s StatsZoneSdkclientsWaits) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for StatsZoneSdkclientsWaits. It customizes the JSON marshaling process for StatsZoneSdkclientsWaits objects.
func (*StatsZoneSdkclientsWaits) UnmarshalJSON ¶ added in v0.3.0
func (s *StatsZoneSdkclientsWaits) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StatsZoneSdkclientsWaits. It customizes the JSON unmarshaling process for StatsZoneSdkclientsWaits objects.
type 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. enum: `org`, `site` Scope *SuppressedAlarmScopeEnum `json:"scope,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SuppressedAlarm represents a SuppressedAlarm struct.
func (SuppressedAlarm) MarshalJSON ¶
func (s SuppressedAlarm) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SuppressedAlarm. It customizes the JSON marshaling process for SuppressedAlarm objects.
func (*SuppressedAlarm) UnmarshalJSON ¶
func (s *SuppressedAlarm) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SuppressedAlarm. It customizes the JSON unmarshaling process for SuppressedAlarm objects.
type SuppressedAlarmApplies ¶
type SuppressedAlarmApplies struct { // UUID of the current org (if provided, the alarms will be suppressed at org level) OrgId *uuid.UUID `json:"org_id,omitempty"` // List of UUID of the sites within the org (if provided, the alarms will be suppressed for all the mentioned sites under the org) SiteIds []uuid.UUID `json:"site_ids,omitempty"` // List of UUID of the site groups within the org (if provided, the alarms will be suppressed for all the sites under those site groups) SitegroupIds []uuid.UUID `json:"sitegroup_ids,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SuppressedAlarmApplies represents a SuppressedAlarmApplies struct. if `scope`==`site` Object defines the scope (within the org e.g. whole org, and/or some site_groups, and/or some sites) for which the alarm service has to be suppressed for some `duration`
func (SuppressedAlarmApplies) MarshalJSON ¶
func (s SuppressedAlarmApplies) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SuppressedAlarmApplies. It customizes the JSON marshaling process for SuppressedAlarmApplies objects.
func (*SuppressedAlarmApplies) UnmarshalJSON ¶
func (s *SuppressedAlarmApplies) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SuppressedAlarmApplies. It customizes the JSON unmarshaling process for SuppressedAlarmApplies objects.
type SuppressedAlarmScopeEnum ¶
type SuppressedAlarmScopeEnum string
SuppressedAlarmScopeEnum is a string enum. level of scope. enum: `org`, `site`
const ( SuppressedAlarmScopeEnum_ORG SuppressedAlarmScopeEnum = "org" SuppressedAlarmScopeEnum_SITE SuppressedAlarmScopeEnum = "site" )
type SwitchDhcpdConfig ¶ added in v0.3.22
type SwitchDhcpdConfig struct { // if set to `true`, enable the DHCP server Enabled *bool `json:"enabled,omitempty"` AdditionalProperties map[string]SwitchDhcpdConfigProperty `json:"_"` }
SwitchDhcpdConfig represents a SwitchDhcpdConfig struct.
func (SwitchDhcpdConfig) MarshalJSON ¶ added in v0.3.22
func (s SwitchDhcpdConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchDhcpdConfig. It customizes the JSON marshaling process for SwitchDhcpdConfig objects.
func (*SwitchDhcpdConfig) UnmarshalJSON ¶ added in v0.3.22
func (s *SwitchDhcpdConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchDhcpdConfig. It customizes the JSON unmarshaling process for SwitchDhcpdConfig objects.
type SwitchDhcpdConfigProperty ¶ added in v0.3.22
type SwitchDhcpdConfigProperty struct { // if `type`==`server` or `type6`==`server` - optional, if not defined, system one will be used DnsServers []string `json:"dns_servers,omitempty"` // if `type`==`server` or `type6`==`server` - optional, if not defined, system one will be used DnsSuffix []string `json:"dns_suffix,omitempty"` // if `type`==`server` or `type6`==`server`. Property key is the MAC Address. Format is `[0-9a-f]{12}` (e.g "5684dae9ac8b") FixedBindings map[string]DhcpdConfigFixedBinding `json:"fixed_bindings,omitempty"` // if `type`==`server` - optional, `ip` will be used if not provided Gateway *string `json:"gateway,omitempty"` // if `type`==`server` IpEnd *string `json:"ip_end,omitempty"` // if `type6`==`server` IpEnd6 *string `json:"ip_end6,omitempty"` // if `type`==`server` IpStart *string `json:"ip_start,omitempty"` // if `type6`==`server` IpStart6 *string `json:"ip_start6,omitempty"` // in seconds, lease time has to be between 3600 [1hr] - 604800 [1 week], default is 86400 [1 day] LeaseTime *int `json:"lease_time,omitempty"` // if `type`==`server` or `type6`==`server`. Property key is the DHCP option number Options map[string]DhcpdConfigOption `json:"options,omitempty"` // `server_id_override`==`true` means the device, when acts as DHCP relay and forwards DHCP responses from DHCP server to clients, // should overwrite the Sever Identifier option (i.e. DHCP option 54) in DHCP responses with its own IP address. ServerIdOverride *bool `json:"server_id_override,omitempty"` // if `type`==`relay` Servers []string `json:"servers,omitempty"` // if `type6`==`relay` Servers6 []string `json:"servers6,omitempty"` // enum: `none`, `relay` (DHCP Relay), `server` (DHCP Server) Type *SwitchDhcpdConfigTypeEnum `json:"type,omitempty"` // enum: `none`, `relay` (DHCP Relay), `server` (DHCP Server) Type6 *SwitchDhcpdConfigTypeEnum `json:"type6,omitempty"` // if `type`==`server` or `type6`==`server`. Property key is <enterprise number>:<sub option code>, with // * enterprise number: 1-65535 (https://www.iana.org/assignments/enterprise-numbers/enterprise-numbers) // * sub option code: 1-255, sub-option code' VendorEncapsulated map[string]DhcpdConfigVendorOption `json:"vendor_encapsulated,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SwitchDhcpdConfigProperty represents a SwitchDhcpdConfigProperty struct.
func (SwitchDhcpdConfigProperty) MarshalJSON ¶ added in v0.3.22
func (s SwitchDhcpdConfigProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchDhcpdConfigProperty. It customizes the JSON marshaling process for SwitchDhcpdConfigProperty objects.
func (*SwitchDhcpdConfigProperty) UnmarshalJSON ¶ added in v0.3.22
func (s *SwitchDhcpdConfigProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchDhcpdConfigProperty. It customizes the JSON unmarshaling process for SwitchDhcpdConfigProperty objects.
type SwitchDhcpdConfigTypeEnum ¶ added in v0.3.22
type SwitchDhcpdConfigTypeEnum string
SwitchDhcpdConfigTypeEnum is a string enum. enum: `none`, `relay` (DHCP Relay), `server` (DHCP Server)
const ( SwitchDhcpdConfigTypeEnum_NONE SwitchDhcpdConfigTypeEnum = "none" SwitchDhcpdConfigTypeEnum_RELAY SwitchDhcpdConfigTypeEnum = "relay" SwitchDhcpdConfigTypeEnum_SERVER SwitchDhcpdConfigTypeEnum = "server" )
type SwitchMatching ¶
type SwitchMatching struct { Enable *bool `json:"enable,omitempty"` Rules []SwitchMatchingRule `json:"rules,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SwitchMatching represents a SwitchMatching struct. defines custom switch configuration based on different criterias
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"` // In-Band Management interface configuration IpConfig *SwitchMatchingRuleIpConfig `json:"ip_config,omitempty"` Name *string `json:"name,omitempty"` // Out-of-Band Management interface configuration OobIpConfig *SwitchMatchingRuleOobIpConfig `json:"oob_ip_config,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. A maximum 4 port mirrorings is allowed PortMirroring map[string]SwitchPortMirroringProperty `json:"port_mirroring,omitempty"` // Switch settings SwitchMgmt *SwitchMgmt `json:"switch_mgmt,omitempty"` AdditionalProperties map[string]string `json:"_"` }
SwitchMatchingRule represents a SwitchMatchingRule struct. property key defines the type of matching, value is the string to match. e.g: * `match_name[0:3]`: switch name must match the first 3 letters of the property value * `match_name[2:6]`: switch name must match the property value from the 2nd to the 6th letter * `match_model[0-8]`: switch model must match the first 8 letters of the property value * `match_role`: switch role must match the property value
func (SwitchMatchingRule) MarshalJSON ¶
func (s SwitchMatchingRule) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchMatchingRule. It customizes the JSON marshaling process for SwitchMatchingRule objects.
func (*SwitchMatchingRule) UnmarshalJSON ¶
func (s *SwitchMatchingRule) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchMatchingRule. It customizes the JSON unmarshaling process for SwitchMatchingRule objects.
type SwitchMatchingRuleIpConfig ¶ added in v0.3.15
type SwitchMatchingRuleIpConfig struct { // VLAN Name for the management interface Network *string `json:"network,omitempty"` // enum: `dhcp`, `static` Type *IpTypeEnum `json:"type,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SwitchMatchingRuleIpConfig represents a SwitchMatchingRuleIpConfig struct. In-Band Management interface configuration
func (SwitchMatchingRuleIpConfig) MarshalJSON ¶ added in v0.3.15
func (s SwitchMatchingRuleIpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchMatchingRuleIpConfig. It customizes the JSON marshaling process for SwitchMatchingRuleIpConfig objects.
func (*SwitchMatchingRuleIpConfig) UnmarshalJSON ¶ added in v0.3.15
func (s *SwitchMatchingRuleIpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchMatchingRuleIpConfig. It customizes the JSON unmarshaling process for SwitchMatchingRuleIpConfig objects.
type SwitchMatchingRuleOobIpConfig ¶ added in v0.3.15
type SwitchMatchingRuleOobIpConfig struct { // enum: `dhcp`, `static` Type *IpTypeEnum `json:"type,omitempty"` // if supported on the platform. If enabled, DNS will be using this routing-instance, too UseMgmtVrf *bool `json:"use_mgmt_vrf,omitempty"` // for host-out traffic (NTP/TACPLUS/RADIUS/SYSLOG/SNMP), if alternative source network/ip is desired UseMgmtVrfForHostOut *bool `json:"use_mgmt_vrf_for_host_out,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SwitchMatchingRuleOobIpConfig represents a SwitchMatchingRuleOobIpConfig struct. Out-of-Band Management interface configuration
func (SwitchMatchingRuleOobIpConfig) MarshalJSON ¶ added in v0.3.15
func (s SwitchMatchingRuleOobIpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchMatchingRuleOobIpConfig. It customizes the JSON marshaling process for SwitchMatchingRuleOobIpConfig objects.
func (*SwitchMatchingRuleOobIpConfig) UnmarshalJSON ¶ added in v0.3.15
func (s *SwitchMatchingRuleOobIpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchMatchingRuleOobIpConfig. It customizes the JSON unmarshaling process for SwitchMatchingRuleOobIpConfig objects.
type SwitchMetricScopeEnum ¶
type SwitchMetricScopeEnum string
SwitchMetricScopeEnum is a string enum. enum: `site`, `switch`
const ( SwitchMetricScopeEnum_SITE SwitchMetricScopeEnum = "site" SwitchMetricScopeEnum_ENUMSWITCH SwitchMetricScopeEnum = "switch" )
type SwitchMetricTypeEnum ¶
type SwitchMetricTypeEnum string
SwitchMetricTypeEnum is a string enum. enum: `active_ports_summary`
const (
SwitchMetricTypeEnum_ACTIVEPORTSSUMMARY SwitchMetricTypeEnum = "active_ports_summary"
)
type SwitchMetricsActivePortsSummaryDetails ¶
type SwitchMetricsActivePortsSummaryDetails struct { ActivePortCount *int `json:"active_port_count,omitempty"` TotalPortCount *int `json:"total_port_count,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SwitchMetricsActivePortsSummaryDetails represents a SwitchMetricsActivePortsSummaryDetails struct.
func (SwitchMetricsActivePortsSummaryDetails) MarshalJSON ¶
func (s SwitchMetricsActivePortsSummaryDetails) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchMetricsActivePortsSummaryDetails. It customizes the JSON marshaling process for SwitchMetricsActivePortsSummaryDetails objects.
func (*SwitchMetricsActivePortsSummaryDetails) UnmarshalJSON ¶
func (s *SwitchMetricsActivePortsSummaryDetails) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchMetricsActivePortsSummaryDetails. It customizes the JSON unmarshaling process for SwitchMetricsActivePortsSummaryDetails objects.
type SwitchMetricsComplianceMajorVersion ¶
type SwitchMetricsComplianceMajorVersion struct { MajorCount *int `json:"major_count,omitempty"` MajorVersion *string `json:"major_version,omitempty"` Model *string `json:"model,omitempty"` SystemNames []string `json:"system_names,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SwitchMetricsComplianceMajorVersion represents a SwitchMetricsComplianceMajorVersion struct.
func (SwitchMetricsComplianceMajorVersion) MarshalJSON ¶
func (s SwitchMetricsComplianceMajorVersion) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchMetricsComplianceMajorVersion. It customizes the JSON marshaling process for SwitchMetricsComplianceMajorVersion objects.
func (*SwitchMetricsComplianceMajorVersion) UnmarshalJSON ¶
func (s *SwitchMetricsComplianceMajorVersion) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchMetricsComplianceMajorVersion. It customizes the JSON unmarshaling process for SwitchMetricsComplianceMajorVersion objects.
type SwitchMgmt ¶
type SwitchMgmt struct { // ap_affinity_threshold ap_affinity_threshold can be added as a field under site/setting. By default this value is set to 12. If the field is set in both site/setting and org/setting, the value from site/setting will be used. ApAffinityThreshold *int `json:"ap_affinity_threshold,omitempty"` // Set Banners for switches. Allows markup formatting CliBanner *string `json:"cli_banner,omitempty"` // Sets timeout for switches CliIdleTimeout *int `json:"cli_idle_timeout,omitempty"` // 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"` DisableOobDownAlarm *bool `json:"disable_oob_down_alarm,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 *SwitchRadius `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]interface{} `json:"_"` }
SwitchMgmt represents a SwitchMgmt struct. Switch settings
func (SwitchMgmt) MarshalJSON ¶
func (s SwitchMgmt) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchMgmt. It customizes the JSON marshaling process for SwitchMgmt objects.
func (*SwitchMgmt) 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]interface{} `json:"_"` }
SwitchMistNac represents a SwitchMistNac struct. enable mist_nac to use radsec
func (SwitchMistNac) MarshalJSON ¶
func (s SwitchMistNac) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchMistNac. It customizes the JSON marshaling process for SwitchMistNac objects.
func (*SwitchMistNac) UnmarshalJSON ¶
func (s *SwitchMistNac) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchMistNac. It customizes the JSON unmarshaling process for SwitchMistNac objects.
type SwitchNetwork ¶
type SwitchNetwork struct { // only required for EVPN-VXLAN networks, IPv4 Virtual Gateway Gateway *string `json:"gateway,omitempty"` // only required for EVPN-VXLAN networks, IPv6 Virtual Gateway Gateway6 *string `json:"gateway6,omitempty"` // whether to stop clients to talk to each other, default is false (when enabled, a unique isolation_vlan_id is required) // NOTE: this features requires uplink device to also a be Juniper device and `inter_switch_link` to be set Isolation *bool `json:"isolation,omitempty"` IsolationVlanId *string `json:"isolation_vlan_id,omitempty"` // optional for pure switching, required when L3 / routing features are used Subnet *string `json:"subnet,omitempty"` // optional for pure switching, required when L3 / routing features are used Subnet6 *string `json:"subnet6,omitempty"` VlanId VlanIdWithVariable `json:"vlan_id"` AdditionalProperties map[string]interface{} `json:"_"` }
SwitchNetwork represents a SwitchNetwork struct. A network represents a network segment. It can either represent a VLAN (then usually ties to a L3 subnet), optionally associate it with a subnet which can later be used to create addition routes. Used for ports doing `family ethernet-switching`. It can also be a pure L3-subnet that can then be used against a port that with `family inet`.
func (SwitchNetwork) MarshalJSON ¶
func (s SwitchNetwork) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchNetwork. It customizes the JSON marshaling process for SwitchNetwork objects.
func (*SwitchNetwork) UnmarshalJSON ¶
func (s *SwitchNetwork) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchNetwork. It customizes the JSON unmarshaling process for SwitchNetwork objects.
type SwitchOobIpConfig ¶
type SwitchOobIpConfig struct { Gateway *string `json:"gateway,omitempty"` Ip *string `json:"ip,omitempty"` // used only if `subnet` is not specified in `networks` Netmask *string `json:"netmask,omitempty"` // optional, the network to be used for mgmt Network *string `json:"network,omitempty"` // enum: `dhcp`, `static` Type *IpTypeEnum `json:"type,omitempty"` // if supported on the platform. If enabled, DNS will be using this routing-instance, too UseMgmtVrf *bool `json:"use_mgmt_vrf,omitempty"` // for host-out traffic (NTP/TACPLUS/RADIUS/SYSLOG/SNMP), if alternative source network/ip is desired UseMgmtVrfForHostOut *bool `json:"use_mgmt_vrf_for_host_out,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SwitchOobIpConfig represents a SwitchOobIpConfig struct. - 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 SwitchPortLocalUsageDot1xEnum ¶ added in v0.4.4
type SwitchPortLocalUsageDot1xEnum string
SwitchPortLocalUsageDot1xEnum is a string enum. if dot1x is desired, set to dot1x. enum: `dot1x`
const (
SwitchPortLocalUsageDot1xEnum_DOT1X SwitchPortLocalUsageDot1xEnum = "dot1x"
)
type SwitchPortLocalUsageDuplexEnum ¶ added in v0.4.4
type SwitchPortLocalUsageDuplexEnum string
SwitchPortLocalUsageDuplexEnum is a string enum. link connection mode. enum: `auto`, `full`, `half`
const ( SwitchPortLocalUsageDuplexEnum_AUTO SwitchPortLocalUsageDuplexEnum = "auto" SwitchPortLocalUsageDuplexEnum_FULL SwitchPortLocalUsageDuplexEnum = "full" SwitchPortLocalUsageDuplexEnum_HALF SwitchPortLocalUsageDuplexEnum = "half" )
type SwitchPortLocalUsageMacAuthProtocolEnum ¶ added in v0.4.4
type SwitchPortLocalUsageMacAuthProtocolEnum string
SwitchPortLocalUsageMacAuthProtocolEnum is a string enum. Only if `enable_mac_auth` ==`true`. This type is ignored if mist_nac is enabled. enum: `eap-md5`, `eap-peap`, `pap`
const ( SwitchPortLocalUsageMacAuthProtocolEnum_EAPMD5 SwitchPortLocalUsageMacAuthProtocolEnum = "eap-md5" SwitchPortLocalUsageMacAuthProtocolEnum_EAPPEAP SwitchPortLocalUsageMacAuthProtocolEnum = "eap-peap" SwitchPortLocalUsageMacAuthProtocolEnum_PAP SwitchPortLocalUsageMacAuthProtocolEnum = "pap" )
type SwitchPortLocalUsageModeEnum ¶ added in v0.4.4
type SwitchPortLocalUsageModeEnum string
SwitchPortLocalUsageModeEnum is a string enum. enum: `access`, `inet`, `trunk`
const ( SwitchPortLocalUsageModeEnum_ACCESS SwitchPortLocalUsageModeEnum = "access" SwitchPortLocalUsageModeEnum_INET SwitchPortLocalUsageModeEnum = "inet" SwitchPortLocalUsageModeEnum_TRUNK SwitchPortLocalUsageModeEnum = "trunk" )
type SwitchPortLocalUsageStormControl ¶ added in v0.4.4
type SwitchPortLocalUsageStormControl struct { // whether to disable storm control on broadcast traffic NoBroadcast *bool `json:"no_broadcast,omitempty"` // whether to disable storm control on multicast traffic NoMulticast *bool `json:"no_multicast,omitempty"` // whether to disable storm control on registered multicast traffic NoRegisteredMulticast *bool `json:"no_registered_multicast,omitempty"` // whether to disable storm control on unknown unicast traffic NoUnknownUnicast *bool `json:"no_unknown_unicast,omitempty"` // bandwidth-percentage, configures the storm control level as a percentage of the available bandwidth Percentage *int `json:"percentage,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SwitchPortLocalUsageStormControl represents a SwitchPortLocalUsageStormControl struct. Switch storm control
func (SwitchPortLocalUsageStormControl) MarshalJSON ¶ added in v0.4.4
func (s SwitchPortLocalUsageStormControl) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchPortLocalUsageStormControl. It customizes the JSON marshaling process for SwitchPortLocalUsageStormControl objects.
func (*SwitchPortLocalUsageStormControl) UnmarshalJSON ¶ added in v0.4.4
func (s *SwitchPortLocalUsageStormControl) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchPortLocalUsageStormControl. It customizes the JSON unmarshaling process for SwitchPortLocalUsageStormControl objects.
type SwitchPortMirroringProperty ¶
type SwitchPortMirroringProperty struct { // at least one of the `input_port_ids_ingress`, `input_port_ids_egress` or `input_networks_ingress ` should be specified InputNetworksIngress []string `json:"input_networks_ingress,omitempty"` // at least one of the `input_port_ids_ingress`, `input_port_ids_egress` or `input_networks_ingress ` should be specified InputPortIdsEgress []string `json:"input_port_ids_egress,omitempty"` // at least one of the `input_port_ids_ingress`, `input_port_ids_egress` or `input_networks_ingress ` should be specified InputPortIdsIngress []string `json:"input_port_ids_ingress,omitempty"` // exaclty one of the `output_port_id` or `output_network` should be provided OutputNetwork *string `json:"output_network,omitempty"` // exaclty one of the `output_port_id` or `output_network` should be provided OutputPortId *string `json:"output_port_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SwitchPortMirroringProperty represents a SwitchPortMirroringProperty struct.
func (SwitchPortMirroringProperty) MarshalJSON ¶
func (s SwitchPortMirroringProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchPortMirroringProperty. It customizes the JSON marshaling process for SwitchPortMirroringProperty objects.
func (*SwitchPortMirroringProperty) UnmarshalJSON ¶
func (s *SwitchPortMirroringProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchPortMirroringProperty. It customizes the JSON unmarshaling process for SwitchPortMirroringProperty objects.
type SwitchPortUsage ¶
type SwitchPortUsage struct { // Only if `mode`==`trunk` whether to trunk all network/vlans AllNetworks *bool `json:"all_networks,omitempty"` // Only 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. enum: `auto`, `full`, `half` Duplex *SwitchPortUsageDuplexEnum `json:"duplex,omitempty"` // Only if `mode`!=`dynamic` and `port_auth`==`dot1x`, if dynamic vlan is used, specify the possible networks/vlans RADIUS can return DynamicVlanNetworks []string `json:"dynamic_vlan_networks,omitempty"` // Only if `mode`!=`dynamic` and `port_auth`==`dot1x` whether to enable MAC Auth EnableMacAuth *bool `json:"enable_mac_auth,omitempty"` // Only if `mode`!=`dynamic` EnableQos *bool `json:"enable_qos,omitempty"` // Only if `mode`!=`dynamic` and `port_auth`==`dot1x` which network to put the device into if the device cannot do dot1x. default is null (i.e. not allowed) GuestNetwork Optional[string] `json:"guest_network"` // Only if `mode`!=`dynamic` inter_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"` // Only if `mode`!=`dynamic` + `enable_mac_auth`==`true` + `mac_auth_only`==`false`, dot1x will be given priority then mac_auth. Enable this to prefer mac_auth over dot1x. MacAuthPreferred *bool `json:"mac_auth_preferred,omitempty"` // Only if `mode`!=`dynamic` and `enable_mac_auth` ==`true`. This type is ignored if mist_nac is enabled. enum: `eap-md5`, `eap-peap`, `pap` MacAuthProtocol *SwitchPortUsageMacAuthProtocolEnum `json:"mac_auth_protocol,omitempty"` // Only if `mode`!=`dynamic` max number of mac addresses, default is 0 for unlimited, otherwise range is 1 or higher, with upper bound constrained by platform MacLimit *int `json:"mac_limit,omitempty"` // `mode`==`dynamic` must only be used if the port usage name is `dynamic`. enum: `access`, `dynamic`, `inet`, `trunk` Mode *SwitchPortUsageModeEnum `json:"mode,omitempty"` // Only if `mode`!=`dynamic` media maximum transmission unit (MTU) is the largest data unit that can be forwarded without fragmentation. The default value is 1514. Mtu *int `json:"mtu,omitempty"` // Only if `mode`==`trunk`, the list of network/vlans Networks []string `json:"networks,omitempty"` // Only if `mode`==`access` and `port_auth`!=`dot1x` whether the port should retain dynamically learned MAC addresses PersistMac *bool `json:"persist_mac,omitempty"` // Only if `mode`!=`dynamic` whether PoE capabilities are disabled for a port PoeDisabled *bool `json:"poe_disabled,omitempty"` // Only if `mode`!=`dynamic` if dot1x is desired, set to dot1x. enum: `dot1x` PortAuth Optional[SwitchPortUsageDot1xEnum] `json:"port_auth"` // Only if `mode`!=`dynamic` native network/vlan for untagged traffic PortNetwork *string `json:"port_network,omitempty"` // Only if `mode`!=`dynamic` and `port_auth`=`dot1x` reauthentication interval range ReauthInterval *int `json:"reauth_interval,omitempty"` // Only if `mode`==`dynamic` Control when the DPC port should be changed to the default port usage. enum: `link_down`, `none` (let the DPC port keep at the current port usage) ResetDefaultWhen *SwitchPortUsageDynamicResetDefaultWhenEnum `json:"reset_default_when,omitempty"` // Only if `mode`==`dynamic` Rules []SwitchPortUsageDynamicRule `json:"rules,omitempty"` // Only if `mode`!=`dynamic` and `port_auth`==`dot1x` sets server fail fallback vlan ServerFailNetwork Optional[string] `json:"server_fail_network"` // Only if `mode`!=`dynamic` and `port_auth`==`dot1x` when radius server reject / fails ServerRejectNetwork Optional[string] `json:"server_reject_network"` // Only if `mode`!=`dynamic` speed, default is auto to automatically negotiate speed enum: `100m`, `10m`, `1g`, `2.5g`, `5g`, `10g`, `25g`, `40g`, `100g`,`auto` Speed *SwitchPortUsageSpeedEnum `json:"speed,omitempty"` // Switch storm control // Only if `mode`!=`dynamic` StormControl *SwitchPortUsageStormControl `json:"storm_control,omitempty"` // Only if `mode`!=`dynamic` when enabled, the port is not expected to receive BPDU frames StpEdge *bool `json:"stp_edge,omitempty"` StpNoRootPort *bool `json:"stp_no_root_port,omitempty"` StpP2p *bool `json:"stp_p2p,omitempty"` // optional for Campus Fabric Core-Distribution ESI-LAG profile. Helper used by the UI to select this port profile as the ESI-Lag between Distribution and Access switches UiEvpntopoId *uuid.UUID `json:"ui_evpntopo_id,omitempty"` // if this is connected to a vstp network UseVstp *bool `json:"use_vstp,omitempty"` // Only if `mode`!=`dynamic` network/vlan for voip traffic, must also set port_network. to authenticate device, set port_auth VoipNetwork *string `json:"voip_network,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SwitchPortUsage represents a SwitchPortUsage struct. Junos port usages
func (SwitchPortUsage) MarshalJSON ¶
func (s SwitchPortUsage) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchPortUsage. It customizes the JSON marshaling process for SwitchPortUsage objects.
func (*SwitchPortUsage) UnmarshalJSON ¶
func (s *SwitchPortUsage) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchPortUsage. It customizes the JSON unmarshaling process for SwitchPortUsage objects.
type SwitchPortUsageDot1xEnum ¶ added in v0.2.38
type SwitchPortUsageDot1xEnum string
SwitchPortUsageDot1xEnum is a string enum. Only if `mode`!=`dynamic` if dot1x is desired, set to dot1x. enum: `dot1x`
const (
SwitchPortUsageDot1xEnum_DOT1X SwitchPortUsageDot1xEnum = "dot1x"
)
type SwitchPortUsageDuplexEnum ¶
type SwitchPortUsageDuplexEnum string
SwitchPortUsageDuplexEnum is a string enum. Only if `mode`!=`dynamic` link connection mode. enum: `auto`, `full`, `half`
const ( SwitchPortUsageDuplexEnum_AUTO SwitchPortUsageDuplexEnum = "auto" SwitchPortUsageDuplexEnum_FULL SwitchPortUsageDuplexEnum = "full" SwitchPortUsageDuplexEnum_HALF SwitchPortUsageDuplexEnum = "half" )
type SwitchPortUsageDynamicResetDefaultWhenEnum ¶
type SwitchPortUsageDynamicResetDefaultWhenEnum string
SwitchPortUsageDynamicResetDefaultWhenEnum is a string enum. Only if `mode`==`dynamic` Control when the DPC port should be changed to the default port usage. enum: `link_down`, `none` (let the DPC port keep at the current port usage)
const ( SwitchPortUsageDynamicResetDefaultWhenEnum_LINKDOWN SwitchPortUsageDynamicResetDefaultWhenEnum = "link_down" SwitchPortUsageDynamicResetDefaultWhenEnum_NONE SwitchPortUsageDynamicResetDefaultWhenEnum = "none" )
type SwitchPortUsageDynamicRule ¶
type SwitchPortUsageDynamicRule struct { Equals *string `json:"equals,omitempty"` // use `equals_any` to match any item in a list EqualsAny []string `json:"equals_any,omitempty"` // "[0:3]":"abcdef" -> "abc" // "split(.)[1]": "a.b.c" -> "b" // "split(-)[1][0:3]: "a1234-b5678-c90" -> "b56" Expression *string `json:"expression,omitempty"` // enum: `link_peermac`, `lldp_chassis_id`, `lldp_hardware_revision`, `lldp_manufacturer_name`, `lldp_oui`, `lldp_serial_number`, `lldp_system_name`, `radius_dynamicfilter`, `radius_usermac`, `radius_username` Src SwitchPortUsageDynamicRuleSrcEnum `json:"src"` // `port_usage` name Usage *string `json:"usage,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SwitchPortUsageDynamicRule represents a SwitchPortUsageDynamicRule struct.
func (SwitchPortUsageDynamicRule) MarshalJSON ¶
func (s SwitchPortUsageDynamicRule) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchPortUsageDynamicRule. It customizes the JSON marshaling process for SwitchPortUsageDynamicRule objects.
func (*SwitchPortUsageDynamicRule) UnmarshalJSON ¶
func (s *SwitchPortUsageDynamicRule) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchPortUsageDynamicRule. It customizes the JSON unmarshaling process for SwitchPortUsageDynamicRule objects.
type SwitchPortUsageDynamicRuleSrcEnum ¶
type SwitchPortUsageDynamicRuleSrcEnum string
SwitchPortUsageDynamicRuleSrcEnum is a string enum. enum: `link_peermac`, `lldp_chassis_id`, `lldp_hardware_revision`, `lldp_manufacturer_name`, `lldp_oui`, `lldp_serial_number`, `lldp_system_name`, `radius_dynamicfilter`, `radius_usermac`, `radius_username`
const ( SwitchPortUsageDynamicRuleSrcEnum_LINKPEERMAC SwitchPortUsageDynamicRuleSrcEnum = "link_peermac" SwitchPortUsageDynamicRuleSrcEnum_LLDPCHASSISID SwitchPortUsageDynamicRuleSrcEnum = "lldp_chassis_id" SwitchPortUsageDynamicRuleSrcEnum_LLDPHARDWAREREVISION SwitchPortUsageDynamicRuleSrcEnum = "lldp_hardware_revision" SwitchPortUsageDynamicRuleSrcEnum_LLDPMANUFACTURERNAME SwitchPortUsageDynamicRuleSrcEnum = "lldp_manufacturer_name" SwitchPortUsageDynamicRuleSrcEnum_LLDPOUI SwitchPortUsageDynamicRuleSrcEnum = "lldp_oui" SwitchPortUsageDynamicRuleSrcEnum_LLDPSERIALNUMBER SwitchPortUsageDynamicRuleSrcEnum = "lldp_serial_number" SwitchPortUsageDynamicRuleSrcEnum_LLDPSYSTEMNAME SwitchPortUsageDynamicRuleSrcEnum = "lldp_system_name" SwitchPortUsageDynamicRuleSrcEnum_RADIUSDYNAMICFILTER SwitchPortUsageDynamicRuleSrcEnum = "radius_dynamicfilter" SwitchPortUsageDynamicRuleSrcEnum_RADIUSUSERMAC SwitchPortUsageDynamicRuleSrcEnum = "radius_usermac" SwitchPortUsageDynamicRuleSrcEnum_RADIUSUSERNAME SwitchPortUsageDynamicRuleSrcEnum = "radius_username" )
type SwitchPortUsageMacAuthProtocolEnum ¶
type SwitchPortUsageMacAuthProtocolEnum string
SwitchPortUsageMacAuthProtocolEnum is a string enum. Only if `mode`!=`dynamic` and `enable_mac_auth` ==`true`. This type is ignored if mist_nac is enabled. enum: `eap-md5`, `eap-peap`, `pap`
const ( SwitchPortUsageMacAuthProtocolEnum_EAPMD5 SwitchPortUsageMacAuthProtocolEnum = "eap-md5" SwitchPortUsageMacAuthProtocolEnum_EAPPEAP SwitchPortUsageMacAuthProtocolEnum = "eap-peap" SwitchPortUsageMacAuthProtocolEnum_PAP SwitchPortUsageMacAuthProtocolEnum = "pap" )
type SwitchPortUsageModeEnum ¶
type SwitchPortUsageModeEnum string
SwitchPortUsageModeEnum is a string enum. `mode`==`dynamic` must only be used if the port usage name is `dynamic`. enum: `access`, `dynamic`, `inet`, `trunk`
const ( SwitchPortUsageModeEnum_ACCESS SwitchPortUsageModeEnum = "access" SwitchPortUsageModeEnum_DYNAMIC SwitchPortUsageModeEnum = "dynamic" SwitchPortUsageModeEnum_INET SwitchPortUsageModeEnum = "inet" SwitchPortUsageModeEnum_TRUNK SwitchPortUsageModeEnum = "trunk" )
type SwitchPortUsageSpeedEnum ¶ added in v0.4.5
type SwitchPortUsageSpeedEnum string
SwitchPortUsageSpeedEnum is a string enum. Only if `mode`!=`dynamic` speed, default is auto to automatically negotiate speed enum: `100m`, `10m`, `1g`, `2.5g`, `5g`, `10g`, `25g`, `40g`, `100g`,`auto`
const ( SwitchPortUsageSpeedEnum_ENUM10M SwitchPortUsageSpeedEnum = "10m" SwitchPortUsageSpeedEnum_ENUM100M SwitchPortUsageSpeedEnum = "100m" SwitchPortUsageSpeedEnum_ENUM1G SwitchPortUsageSpeedEnum = "1g" SwitchPortUsageSpeedEnum_ENUM25G SwitchPortUsageSpeedEnum = "2.5g" SwitchPortUsageSpeedEnum_ENUM5G SwitchPortUsageSpeedEnum = "5g" SwitchPortUsageSpeedEnum_ENUM10G SwitchPortUsageSpeedEnum = "10g" SwitchPortUsageSpeedEnum_ENUM25G1 SwitchPortUsageSpeedEnum = "25g" SwitchPortUsageSpeedEnum_ENUM40G SwitchPortUsageSpeedEnum = "40g" SwitchPortUsageSpeedEnum_ENUM100G SwitchPortUsageSpeedEnum = "100g" SwitchPortUsageSpeedEnum_AUTO SwitchPortUsageSpeedEnum = "auto" )
type 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]interface{} `json:"_"` }
SwitchPortUsageStormControl represents a SwitchPortUsageStormControl struct. Switch storm control Only if `mode`!=`dynamic`
func (SwitchPortUsageStormControl) MarshalJSON ¶
func (s SwitchPortUsageStormControl) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchPortUsageStormControl. It customizes the JSON marshaling process for SwitchPortUsageStormControl objects.
func (*SwitchPortUsageStormControl) UnmarshalJSON ¶
func (s *SwitchPortUsageStormControl) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchPortUsageStormControl. It customizes the JSON unmarshaling process for SwitchPortUsageStormControl objects.
type SwitchRadius ¶ added in v0.4.0
type SwitchRadius struct { Enabled *bool `json:"enabled,omitempty"` // Junos Radius config RadiusConfig *SwitchRadiusConfig `json:"radius_config,omitempty"` UseDifferentRadius *string `json:"use_different_radius,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SwitchRadius represents a SwitchRadius struct. by default, `radius_config` will be used. if a different one has to be used set `use_different_radius
func (SwitchRadius) MarshalJSON ¶ added in v0.4.0
func (s SwitchRadius) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchRadius. It customizes the JSON marshaling process for SwitchRadius objects.
func (*SwitchRadius) UnmarshalJSON ¶ added in v0.4.0
func (s *SwitchRadius) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchRadius. It customizes the JSON unmarshaling process for SwitchRadius objects.
type SwitchRadiusConfig ¶ added in v0.4.0
type SwitchRadiusConfig struct { // 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"` // use `network`or `source_ip` // which network the RADIUS server resides, if there's static IP for this network, we'd use it as source-ip Network *string `json:"network,omitempty"` // use `network`or `source_ip` SourceIp *string `json:"source_ip,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SwitchRadiusConfig represents a SwitchRadiusConfig struct. Junos Radius config
func (SwitchRadiusConfig) MarshalJSON ¶ added in v0.4.0
func (s SwitchRadiusConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchRadiusConfig. It customizes the JSON marshaling process for SwitchRadiusConfig objects.
func (*SwitchRadiusConfig) UnmarshalJSON ¶ added in v0.4.0
func (s *SwitchRadiusConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchRadiusConfig. It customizes the JSON unmarshaling process for SwitchRadiusConfig objects.
type SwitchSearch ¶
type SwitchSearch struct { Clustered *bool `json:"clustered,omitempty"` EvpnMissingLinks *bool `json:"evpn_missing_links,omitempty"` EvpntopoId *string `json:"evpntopo_id,omitempty"` ExtIp *string `json:"ext_ip,omitempty"` Hostname []string `json:"hostname,omitempty"` Ip *string `json:"ip,omitempty"` LastHostname *string `json:"last_hostname,omitempty"` LastTroubleCode *string `json:"last_trouble_code,omitempty"` LastTroubleTimestamp *int `json:"last_trouble_timestamp,omitempty"` Mac *string `json:"mac,omitempty"` Managed *bool `json:"managed,omitempty"` Model *string `json:"model,omitempty"` NumMembers *int `json:"num_members,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` Role *string `json:"role,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` TimeDrifted *bool `json:"time_drifted,omitempty"` Timestamp *float64 `json:"timestamp,omitempty"` // Device Type. enum: `switch` Type string `json:"type"` Uptime *int `json:"uptime,omitempty"` Version *string `json:"version,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SwitchSearch represents a SwitchSearch struct.
func (SwitchSearch) MarshalJSON ¶
func (s SwitchSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchSearch. It customizes the JSON marshaling process for SwitchSearch objects.
func (*SwitchSearch) UnmarshalJSON ¶
func (s *SwitchSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchSearch. It customizes the JSON unmarshaling process for SwitchSearch objects.
type SwitchStpConfig ¶
type SwitchStpConfig struct { // Switch STP priority: from `0k` to `15k` BridgePriority *string `json:"bridge_priority,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SwitchStpConfig represents a SwitchStpConfig struct.
func (SwitchStpConfig) MarshalJSON ¶
func (s SwitchStpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchStpConfig. It customizes the JSON marshaling process for SwitchStpConfig objects.
func (*SwitchStpConfig) UnmarshalJSON ¶
func (s *SwitchStpConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchStpConfig. It customizes the JSON unmarshaling process for SwitchStpConfig objects.
type SwitchVirtualChassis ¶
type SwitchVirtualChassis struct { // list of Virtual Chassis members Members []SwitchVirtualChassisMember `json:"members,omitempty"` // to configure whether the VC is preprovisioned or nonprovisioned Preprovisioned *bool `json:"preprovisioned,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SwitchVirtualChassis represents a SwitchVirtualChassis struct. required for preprovisioned Virtual Chassis
func (SwitchVirtualChassis) MarshalJSON ¶
func (s SwitchVirtualChassis) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchVirtualChassis. It customizes the JSON marshaling process for SwitchVirtualChassis objects.
func (*SwitchVirtualChassis) 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. enum: `backup`, `linecard`, `master` VcRole *SwitchVirtualChassisMemberVcRoleEnum `json:"vc_role,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SwitchVirtualChassisMember represents a SwitchVirtualChassisMember struct.
func (SwitchVirtualChassisMember) MarshalJSON ¶
func (s SwitchVirtualChassisMember) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchVirtualChassisMember. It customizes the JSON marshaling process for SwitchVirtualChassisMember objects.
func (*SwitchVirtualChassisMember) UnmarshalJSON ¶
func (s *SwitchVirtualChassisMember) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchVirtualChassisMember. It customizes the JSON unmarshaling process for SwitchVirtualChassisMember objects.
type SwitchVirtualChassisMemberVcRoleEnum ¶
type SwitchVirtualChassisMemberVcRoleEnum string
SwitchVirtualChassisMemberVcRoleEnum is a string enum. Both vc_role master and backup will be matched to routing-engine role in Junos preprovisioned VC config. enum: `backup`, `linecard`, `master`
const ( SwitchVirtualChassisMemberVcRoleEnum_BACKUP SwitchVirtualChassisMemberVcRoleEnum = "backup" SwitchVirtualChassisMemberVcRoleEnum_LINECARD SwitchVirtualChassisMemberVcRoleEnum = "linecard" SwitchVirtualChassisMemberVcRoleEnum_MASTER SwitchVirtualChassisMemberVcRoleEnum = "master" )
type SwitchVrfInstance ¶ added in v0.2.31
type SwitchVrfInstance struct { // Property key is the destination CIDR (e.g. "10.0.0.0/8") ExtraRoutes map[string]VrfExtraRoute `json:"extra_routes,omitempty"` Networks []string `json:"networks,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SwitchVrfInstance represents a SwitchVrfInstance struct.
func (SwitchVrfInstance) MarshalJSON ¶ added in v0.2.31
func (s SwitchVrfInstance) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SwitchVrfInstance. It customizes the JSON marshaling process for SwitchVrfInstance objects.
func (*SwitchVrfInstance) UnmarshalJSON ¶ added in v0.2.31
func (s *SwitchVrfInstance) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SwitchVrfInstance. It customizes the JSON unmarshaling process for SwitchVrfInstance objects.
type Synthetictest ¶
type Synthetictest struct { Email *string `json:"email,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Synthetictest represents a Synthetictest struct.
func (Synthetictest) MarshalJSON ¶
func (s Synthetictest) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for Synthetictest. It customizes the JSON marshaling process for Synthetictest objects.
func (*Synthetictest) 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]interface{} `json:"_"` }
SynthetictestConfig represents a SynthetictestConfig struct.
func (SynthetictestConfig) MarshalJSON ¶
func (s SynthetictestConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SynthetictestConfig. It customizes the JSON marshaling process for SynthetictestConfig objects.
func (*SynthetictestConfig) 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) TimeOfDay *string `json:"time_of_day,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SynthetictestConfigWanSpeedtest represents a SynthetictestConfigWanSpeedtest struct.
func (SynthetictestConfigWanSpeedtest) MarshalJSON ¶ added in v0.2.12
func (s SynthetictestConfigWanSpeedtest) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SynthetictestConfigWanSpeedtest. It customizes the JSON marshaling process for SynthetictestConfigWanSpeedtest objects.
func (*SynthetictestConfigWanSpeedtest) UnmarshalJSON ¶ added in v0.2.12
func (s *SynthetictestConfigWanSpeedtest) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SynthetictestConfigWanSpeedtest. It customizes the JSON unmarshaling process for SynthetictestConfigWanSpeedtest objects.
type SynthetictestDevice ¶
type SynthetictestDevice struct { // if `type`==`lan_connectivity` Host *string `json:"host,omitempty"` // if `type`==`dns` Hostname *string `json:"hostname,omitempty"` // if `type`==`arp` Ip *string `json:"ip,omitempty"` // if `type`==`radius` Password *string `json:"password,omitempty"` // if `type`==`lan_connectivity` PingCount *int `json:"ping_count,omitempty"` // if `type`==`lan_connectivity` PingDetails *bool `json:"ping_details,omitempty"` // if `type`==`lan_connectivity` PingSize *int `json:"ping_size,omitempty"` // if `type`==`speedtest`, required for ssr PortId *string `json:"port_id,omitempty"` // if `type`==`lan_connectivity`. enum: `ping`, `traceroute`, `ping+traceroute` Protocol *SynthetictestDeviceProtocolEnum `json:"protocol,omitempty"` // if `type`==`lan_connectivity` Tenant *string `json:"tenant,omitempty"` // SRX only, traceroute udp port TracerouteUdpPort *int `json:"traceroute_udp_port,omitempty"` // enum: `arp`, `curl`, `dhcp`, `dhcp6`, `dns`, `lan_connectivity`, `radius`, `speedtest` Type SynthetictestTypeEnum `json:"type"` // if `type`==`curl` Url *string `json:"url,omitempty"` // if `type`==`radius` Username *string `json:"username,omitempty"` // required for AP VlanId *SynthetictestDeviceVlanId `json:"vlan_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SynthetictestDevice represents a SynthetictestDevice struct.
func (SynthetictestDevice) MarshalJSON ¶
func (s SynthetictestDevice) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SynthetictestDevice. It customizes the JSON marshaling process for SynthetictestDevice objects.
func (*SynthetictestDevice) UnmarshalJSON ¶
func (s *SynthetictestDevice) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SynthetictestDevice. It customizes the JSON unmarshaling process for SynthetictestDevice objects.
type SynthetictestDeviceProtocolEnum ¶ added in v0.3.17
type SynthetictestDeviceProtocolEnum string
SynthetictestDeviceProtocolEnum is a string enum. if `type`==`lan_connectivity`. enum: `ping`, `traceroute`, `ping+traceroute`
const ( SynthetictestDeviceProtocolEnum_PING SynthetictestDeviceProtocolEnum = "ping" SynthetictestDeviceProtocolEnum_ENUMPINGTRACEROUTE SynthetictestDeviceProtocolEnum = "ping+traceroute" SynthetictestDeviceProtocolEnum_TRACEROUTE SynthetictestDeviceProtocolEnum = "traceroute" )
type SynthetictestDeviceVlanId ¶ added in v0.2.20
type SynthetictestDeviceVlanId struct {
// contains filtered or unexported fields
}
SynthetictestDeviceVlanId represents a SynthetictestDeviceVlanId struct. required for AP
func (*SynthetictestDeviceVlanId) AsNumber ¶ added in v0.2.20
func (s *SynthetictestDeviceVlanId) AsNumber() ( *int, bool)
func (*SynthetictestDeviceVlanId) AsString ¶ added in v0.2.20
func (s *SynthetictestDeviceVlanId) AsString() ( *string, bool)
func (SynthetictestDeviceVlanId) MarshalJSON ¶ added in v0.2.20
func (s SynthetictestDeviceVlanId) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SynthetictestDeviceVlanId. It customizes the JSON marshaling process for SynthetictestDeviceVlanId objects.
func (SynthetictestDeviceVlanId) String ¶ added in v0.2.20
func (s SynthetictestDeviceVlanId) String() string
String 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"` // enum: `ap`, `gateway`, `switch` DeviceType *SynthetictestInfoDeviceTypeEnum `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"` // enum: `arp`, `curl`, `dhcp`, `dhcp6`, `dns`, `lan_connectivity`, `radius`, `speedtest` Type *SynthetictestTypeEnum `json:"type,omitempty"` VlanId *int `json:"vlan_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
SynthetictestInfo represents a SynthetictestInfo struct.
func (SynthetictestInfo) MarshalJSON ¶
func (s SynthetictestInfo) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SynthetictestInfo. It customizes the JSON marshaling process for SynthetictestInfo objects.
func (*SynthetictestInfo) 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 SynthetictestInfoDeviceTypeEnum ¶ added in v0.2.38
type SynthetictestInfoDeviceTypeEnum string
SynthetictestInfoDeviceTypeEnum is a string enum. enum: `ap`, `gateway`, `switch`
const ( SynthetictestInfoDeviceTypeEnum_AP SynthetictestInfoDeviceTypeEnum = "ap" SynthetictestInfoDeviceTypeEnum_GATEWAY SynthetictestInfoDeviceTypeEnum = "gateway" SynthetictestInfoDeviceTypeEnum_ENUMSWITCH SynthetictestInfoDeviceTypeEnum = "switch" )
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 []VlanIdWithVariable `json:"vlan_ids,omitempty"` AdditionalProperties map[string]interface{} `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 SynthetictestProtocolEnum ¶ added in v0.4.0
type SynthetictestProtocolEnum string
SynthetictestProtocolEnum is a string enum. enum: `ping`, `traceroute`
const ( SynthetictestProtocolEnum_PING SynthetictestProtocolEnum = "ping" SynthetictestProtocolEnum_TRACEROUTE SynthetictestProtocolEnum = "traceroute" )
type SynthetictestRadiusServer ¶
type SynthetictestRadiusServer struct { // Specify the password associated with the username Password string `json:"password"` // Specify the access profile associated with the subscriber Profile *string `json:"profile,omitempty"` // Specify the subscriber username to test User string `json:"user"` AdditionalProperties map[string]interface{} `json:"_"` }
SynthetictestRadiusServer represents a SynthetictestRadiusServer struct.
func (SynthetictestRadiusServer) MarshalJSON ¶
func (s SynthetictestRadiusServer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for SynthetictestRadiusServer. It customizes the JSON marshaling process for SynthetictestRadiusServer objects.
func (*SynthetictestRadiusServer) UnmarshalJSON ¶
func (s *SynthetictestRadiusServer) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SynthetictestRadiusServer. It customizes the JSON unmarshaling process for SynthetictestRadiusServer objects.
type SynthetictestTypeEnum ¶
type SynthetictestTypeEnum string
SynthetictestTypeEnum is a string enum. enum: `arp`, `curl`, `dhcp`, `dhcp6`, `dns`, `lan_connectivity`, `radius`, `speedtest`
const ( SynthetictestTypeEnum_ARP SynthetictestTypeEnum = "arp" SynthetictestTypeEnum_CURL SynthetictestTypeEnum = "curl" SynthetictestTypeEnum_DHCP SynthetictestTypeEnum = "dhcp" SynthetictestTypeEnum_DHCP6 SynthetictestTypeEnum = "dhcp6" SynthetictestTypeEnum_DNS SynthetictestTypeEnum = "dns" SynthetictestTypeEnum_LANCONNECTIVITY SynthetictestTypeEnum = "lan_connectivity" SynthetictestTypeEnum_RADIUS SynthetictestTypeEnum = "radius" SynthetictestTypeEnum_SPEEDTEST SynthetictestTypeEnum = "speedtest" )
type SystemDefinedPortUsagesEnum ¶ added in v0.3.17
type SystemDefinedPortUsagesEnum string
SystemDefinedPortUsagesEnum is a string enum. system-default port usages. enum: `ap`, `iot`, `uplink“
const ( SystemDefinedPortUsagesEnum_AP SystemDefinedPortUsagesEnum = "ap" SystemDefinedPortUsagesEnum_IOT SystemDefinedPortUsagesEnum = "iot" SystemDefinedPortUsagesEnum_UPLINK SystemDefinedPortUsagesEnum = "uplink" )
type Tacacs ¶
type Tacacs struct { AcctServers []TacacsAcctServer `json:"acct_servers,omitempty"` // enum: `admin`, `helpdesk`, `none`, `read` DefaultRole *TacacsDefaultRoleEnum `json:"default_role,omitempty"` Enabled *bool `json:"enabled,omitempty"` // which network the TACACS server resides Network *string `json:"network,omitempty"` TacplusServers []TacacsAuthServer `json:"tacplus_servers,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Tacacs represents a Tacacs struct.
func (Tacacs) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Tacacs. It customizes the JSON marshaling process for Tacacs objects.
func (*Tacacs) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Tacacs. It customizes the JSON unmarshaling process for Tacacs objects.
type TacacsAcctServer ¶
type TacacsAcctServer struct { Host *string `json:"host,omitempty"` Port *string `json:"port,omitempty"` Secret *string `json:"secret,omitempty"` Timeout *int `json:"timeout,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
TacacsAcctServer represents a TacacsAcctServer struct.
func (TacacsAcctServer) MarshalJSON ¶
func (t TacacsAcctServer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TacacsAcctServer. It customizes the JSON marshaling process for TacacsAcctServer objects.
func (*TacacsAcctServer) UnmarshalJSON ¶
func (t *TacacsAcctServer) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TacacsAcctServer. It customizes the JSON unmarshaling process for TacacsAcctServer objects.
type TacacsAuthServer ¶
type TacacsAuthServer struct { Host *string `json:"host,omitempty"` Port *string `json:"port,omitempty"` Secret *string `json:"secret,omitempty"` Timeout *int `json:"timeout,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
TacacsAuthServer represents a TacacsAuthServer struct.
func (TacacsAuthServer) MarshalJSON ¶
func (t TacacsAuthServer) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TacacsAuthServer. It customizes the JSON marshaling process for TacacsAuthServer objects.
func (*TacacsAuthServer) UnmarshalJSON ¶
func (t *TacacsAuthServer) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TacacsAuthServer. It customizes the JSON unmarshaling process for TacacsAuthServer objects.
type TacacsDefaultRoleEnum ¶
type TacacsDefaultRoleEnum string
TacacsDefaultRoleEnum is a string enum. enum: `admin`, `helpdesk`, `none`, `read`
const ( TacacsDefaultRoleEnum_ADMIN TacacsDefaultRoleEnum = "admin" TacacsDefaultRoleEnum_HELPDESK TacacsDefaultRoleEnum = "helpdesk" TacacsDefaultRoleEnum_NONE TacacsDefaultRoleEnum = "none" TacacsDefaultRoleEnum_READ TacacsDefaultRoleEnum = "read" )
type Template ¶
type Template struct { // where this template should be applied to, can be org_id, site_ids, sitegroup_ids Applies *TemplateApplies `json:"applies,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // list of Device Profile ids DeviceprofileIds []uuid.UUID `json:"deviceprofile_ids,omitempty"` // where this template should not be applied to (takes precedence) Exceptions *TemplateExceptions `json:"exceptions,omitempty"` // whether to further filter by Device Profile FilterByDeviceprofile *bool `json:"filter_by_deviceprofile,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` Name string `json:"name"` OrgId *uuid.UUID `json:"org_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Template represents a Template struct. Template
func (Template) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Template. It customizes the JSON marshaling process for Template objects.
func (*Template) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Template. It customizes the JSON unmarshaling process for Template objects.
type TemplateApplies ¶
type TemplateApplies struct { OrgId *uuid.UUID `json:"org_id,omitempty"` // list of site ids SiteIds []uuid.UUID `json:"site_ids,omitempty"` // list of sitegroup ids SitegroupIds []uuid.UUID `json:"sitegroup_ids,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
TemplateApplies represents a TemplateApplies struct. where this template should be applied to, can be org_id, site_ids, sitegroup_ids
func (TemplateApplies) MarshalJSON ¶
func (t TemplateApplies) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TemplateApplies. It customizes the JSON marshaling process for TemplateApplies objects.
func (*TemplateApplies) UnmarshalJSON ¶
func (t *TemplateApplies) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TemplateApplies. It customizes the JSON unmarshaling process for TemplateApplies objects.
type TemplateExceptions ¶
type TemplateExceptions struct { // list of site ids SiteIds []uuid.UUID `json:"site_ids,omitempty"` // list of sitegroup ids SitegroupIds []uuid.UUID `json:"sitegroup_ids,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
TemplateExceptions represents a TemplateExceptions struct. where this template should not be applied to (takes precedence)
func (TemplateExceptions) MarshalJSON ¶
func (t TemplateExceptions) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TemplateExceptions. It customizes the JSON marshaling process for TemplateExceptions objects.
func (*TemplateExceptions) 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]interface{} `json:"_"` }
TestTelstra represents a TestTelstra struct.
func (TestTelstra) MarshalJSON ¶
func (t TestTelstra) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TestTelstra. It customizes the JSON marshaling process for TestTelstra objects.
func (*TestTelstra) UnmarshalJSON ¶
func (t *TestTelstra) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TestTelstra. It customizes the JSON unmarshaling process for TestTelstra objects.
type TestTwilio ¶
type TestTwilio struct { // One of the numbers you have in your Twilio account From string `json:"from"` // Phone number of the recipient of SMS To string `json:"to"` // Auth Token associated with twilio account TwilioAuthToken string `json:"twilio_auth_token"` // Twilio Account SID TwilioSid string `json:"twilio_sid"` AdditionalProperties map[string]interface{} `json:"_"` }
TestTwilio represents a TestTwilio struct.
func (TestTwilio) MarshalJSON ¶
func (t TestTwilio) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TestTwilio. It customizes the JSON marshaling process for TestTwilio objects.
func (*TestTwilio) UnmarshalJSON ¶
func (t *TestTwilio) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TestTwilio. It customizes the JSON unmarshaling process for TestTwilio objects.
type Ticket ¶
type Ticket struct { CaseNumber *string `json:"case_number,omitempty"` Comments []TicketComment `json:"comments,omitempty"` CreatedAt *int `json:"created_at,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` Requester *string `json:"requester,omitempty"` // email of the requester RequesterEmail *string `json:"requester_email,omitempty"` // Ticket status. enum: // * open: ticket is open, Mist is working on it // * pending: ticket is open and Requester attention is needed (e.g. Mist is asking for some more information) // * solved: ticket is marked as solved / considered by Mist (requester can update it, causing it to re-open; or rate it) // * closed: ticket is archived and cannot be changed. Status *TicketStatusEnum `json:"status,omitempty"` Subject string `json:"subject"` // question (default) / bug / critical Type string `json:"type"` UpdatedAt *int `json:"updated_at,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Ticket represents a Ticket struct. Support Ticket
func (Ticket) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Ticket. It customizes the JSON marshaling process for Ticket objects.
func (*Ticket) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Ticket. It customizes the JSON unmarshaling process for Ticket objects.
type TicketAttachment ¶
type TicketAttachment struct { ContentUrl *string `json:"content_url,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
TicketAttachment represents a TicketAttachment struct.
func (TicketAttachment) MarshalJSON ¶
func (t TicketAttachment) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TicketAttachment. It customizes the JSON marshaling process for TicketAttachment objects.
func (*TicketAttachment) UnmarshalJSON ¶
func (t *TicketAttachment) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TicketAttachment. It customizes the JSON unmarshaling process for TicketAttachment objects.
type TicketComment ¶
type TicketComment struct { AttachmentIds []uuid.UUID `json:"attachment_ids,omitempty"` Attachments []TicketCommentsAttachment `json:"attachments,omitempty"` Author string `json:"author"` Comment string `json:"comment"` CreatedAt int `json:"created_at"` AdditionalProperties map[string]interface{} `json:"_"` }
TicketComment represents a TicketComment struct.
func (TicketComment) MarshalJSON ¶
func (t TicketComment) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TicketComment. It customizes the JSON marshaling process for TicketComment objects.
func (*TicketComment) UnmarshalJSON ¶
func (t *TicketComment) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TicketComment. It customizes the JSON unmarshaling process for TicketComment objects.
type TicketCommentImportFile ¶
type TicketCommentImportFile struct { Comment *string `json:"comment,omitempty"` File *[]byte `json:"file,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
TicketCommentImportFile represents a TicketCommentImportFile struct.
func (TicketCommentImportFile) MarshalJSON ¶
func (t TicketCommentImportFile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TicketCommentImportFile. It customizes the JSON marshaling process for TicketCommentImportFile objects.
func (*TicketCommentImportFile) UnmarshalJSON ¶
func (t *TicketCommentImportFile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TicketCommentImportFile. It customizes the JSON unmarshaling process for TicketCommentImportFile objects.
type TicketCommentsAttachment ¶
type TicketCommentsAttachment struct { ContentType *string `json:"content_type,omitempty"` ContentUrl *string `json:"content_url,omitempty"` CreatedAt *int `json:"created_at,omitempty"` FileName *string `json:"file_name,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` SizeInBytes *int `json:"size_in_bytes,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
TicketCommentsAttachment represents a TicketCommentsAttachment struct.
func (TicketCommentsAttachment) MarshalJSON ¶
func (t TicketCommentsAttachment) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TicketCommentsAttachment. It customizes the JSON marshaling process for TicketCommentsAttachment objects.
func (*TicketCommentsAttachment) UnmarshalJSON ¶
func (t *TicketCommentsAttachment) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TicketCommentsAttachment. It customizes the JSON unmarshaling process for TicketCommentsAttachment objects.
type TicketStatusEnum ¶
type TicketStatusEnum string
TicketStatusEnum is a string enum. Ticket status. enum: * open: ticket is open, Mist is working on it * pending: ticket is open and Requester attention is needed (e.g. Mist is asking for some more information) * solved: ticket is marked as solved / considered by Mist (requester can update it, causing it to re-open; or rate it) * closed: ticket is archived and cannot be changed.
const ( TicketStatusEnum_CLOSED TicketStatusEnum = "closed" TicketStatusEnum_OPEN TicketStatusEnum = "open" TicketStatusEnum_PENDING TicketStatusEnum = "pending" TicketStatusEnum_SOLVED TicketStatusEnum = "solved" )
type TicketUploadAttachmentsFile ¶
type TicketUploadAttachmentsFile struct { // ekahau or ibwave file File *[]byte `json:"file,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
TicketUploadAttachmentsFile represents a TicketUploadAttachmentsFile struct.
func (TicketUploadAttachmentsFile) MarshalJSON ¶
func (t TicketUploadAttachmentsFile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TicketUploadAttachmentsFile. It customizes the JSON marshaling process for TicketUploadAttachmentsFile objects.
func (*TicketUploadAttachmentsFile) 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]interface{} `json:"_"` }
TroubleshootCallItem represents a TroubleshootCallItem struct.
func (TroubleshootCallItem) MarshalJSON ¶
func (t TroubleshootCallItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TroubleshootCallItem. It customizes the JSON marshaling process for TroubleshootCallItem objects.
func (*TroubleshootCallItem) UnmarshalJSON ¶
func (t *TroubleshootCallItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TroubleshootCallItem. It customizes the JSON unmarshaling process for TroubleshootCallItem objects.
type TroubleshootTypeEnum ¶
type TroubleshootTypeEnum string
TroubleshootTypeEnum is a string enum. enum: `wan`, `wired`, `wireless`
const ( TroubleshootTypeEnum_WAN TroubleshootTypeEnum = "wan" TroubleshootTypeEnum_WIRED TroubleshootTypeEnum = "wired" TroubleshootTypeEnum_WIRELESS TroubleshootTypeEnum = "wireless" )
type 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`. enum: `aggressive`, `main` 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"` // enum: `active-active`, `active-standby` Mode *GatewayTemplateTunnelModeEnum `json:"mode,omitempty"` // networks reachable via this tunnel Networks []string `json:"networks,omitempty"` Primary *GatewayTemplateTunnelNode `json:"primary,omitempty"` // Only if `provider`== `custom-ipsec` Probe *GatewayTemplateTunnelProbe `json:"probe,omitempty"` // Only if `provider`== `custom-ipsec`. enum: `gre`, `ipsec` Protocol *GatewayTemplateTunnelProtocolEnum `json:"protocol,omitempty"` // enum: `custom-ipsec`, `customer-gre`, `jse-ipsec`, `zscaler-gre`, `zscaler-ipsec` 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` or `provider`== `custom-ipsec`. enum: `1`, `2` Version *GatewayTemplateTunnelVersionEnum `json:"version,omitempty"` AdditionalProperties map[string]interface{} `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. enum: `md5`, `sha1`, `sha2`
const ( TunnelConfigsAuthAlgoEnum_MD5 TunnelConfigsAuthAlgoEnum = "md5" TunnelConfigsAuthAlgoEnum_SHA1 TunnelConfigsAuthAlgoEnum = "sha1" TunnelConfigsAuthAlgoEnum_SHA2 TunnelConfigsAuthAlgoEnum = "sha2" )
type TunnelConfigsAutoProvision ¶
type TunnelConfigsAutoProvision struct { Enable *bool `json:"enable,omitempty"` Latlng *LatLng `json:"latlng,omitempty"` Primary *TunnelConfigsAutoProvisionNode `json:"primary,omitempty"` Secondary *TunnelConfigsAutoProvisionNode `json:"secondary,omitempty"` AdditionalProperties map[string]interface{} `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]interface{} `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 TunnelConfigsDhGroupEnum ¶
type TunnelConfigsDhGroupEnum string
TunnelConfigsDhGroupEnum is a string enum. Only if `provider`== `custom-ipsec`. enum: * 1 * 2 (1024-bit) * 5 * 14 (default, 2048-bit) * 15 (3072-bit) * 16 (4096-bit) * 19 (256-bit ECP) * 20 (384-bit ECP) * 21 (521-bit ECP) * 24 (2048-bit ECP)
const ( TunnelConfigsDhGroupEnum_ENUM1 TunnelConfigsDhGroupEnum = "1" TunnelConfigsDhGroupEnum_ENUM14 TunnelConfigsDhGroupEnum = "14" TunnelConfigsDhGroupEnum_ENUM15 TunnelConfigsDhGroupEnum = "15" TunnelConfigsDhGroupEnum_ENUM16 TunnelConfigsDhGroupEnum = "16" TunnelConfigsDhGroupEnum_ENUM19 TunnelConfigsDhGroupEnum = "19" TunnelConfigsDhGroupEnum_ENUM2 TunnelConfigsDhGroupEnum = "2" TunnelConfigsDhGroupEnum_ENUM20 TunnelConfigsDhGroupEnum = "20" TunnelConfigsDhGroupEnum_ENUM21 TunnelConfigsDhGroupEnum = "21" TunnelConfigsDhGroupEnum_ENUM24 TunnelConfigsDhGroupEnum = "24" TunnelConfigsDhGroupEnum_ENUM5 TunnelConfigsDhGroupEnum = "5" )
type TunnelConfigsEncAlgoEnum ¶
type TunnelConfigsEncAlgoEnum string
TunnelConfigsEncAlgoEnum is a string enum. enum: `3des`, `aes128`, `aes256`, `aes_gcm128`, `aes_gcm256`
const ( TunnelConfigsEncAlgoEnum_ENUM3DES TunnelConfigsEncAlgoEnum = "3des" TunnelConfigsEncAlgoEnum_AES128 TunnelConfigsEncAlgoEnum = "aes128" TunnelConfigsEncAlgoEnum_AES256 TunnelConfigsEncAlgoEnum = "aes256" TunnelConfigsEncAlgoEnum_AESGCM128 TunnelConfigsEncAlgoEnum = "aes_gcm128" TunnelConfigsEncAlgoEnum_AESGCM256 TunnelConfigsEncAlgoEnum = "aes_gcm256" )
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]interface{} `json:"_"` }
TunnelProviderOptions represents a TunnelProviderOptions struct.
func (TunnelProviderOptions) MarshalJSON ¶
func (t TunnelProviderOptions) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TunnelProviderOptions. It customizes the JSON marshaling process for TunnelProviderOptions objects.
func (*TunnelProviderOptions) 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]interface{} `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. enum: `custom-ipsec`, `customer-gre`, `jse-ipsec`, `zscaler-gre`, `zscaler-ipsec`
const ( TunnelProviderOptionsNameEnum_CUSTOMIPSEC TunnelProviderOptionsNameEnum = "custom-ipsec" TunnelProviderOptionsNameEnum_CUSTOMERGRE TunnelProviderOptionsNameEnum = "customer-gre" TunnelProviderOptionsNameEnum_JSEIPSEC TunnelProviderOptionsNameEnum = "jse-ipsec" TunnelProviderOptionsNameEnum_ZSCALERGRE TunnelProviderOptionsNameEnum = "zscaler-gre" TunnelProviderOptionsNameEnum_ZSCALERIPSEC TunnelProviderOptionsNameEnum = "zscaler-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]interface{} `json:"_"` }
TunnelProviderOptionsZscaler represents a TunnelProviderOptionsZscaler struct. for zscaler-ipsec and zscaler-gre
func (TunnelProviderOptionsZscaler) MarshalJSON ¶
func (t TunnelProviderOptionsZscaler) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TunnelProviderOptionsZscaler. It customizes the JSON marshaling process for TunnelProviderOptionsZscaler objects.
func (*TunnelProviderOptionsZscaler) 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]interface{} `json:"_"` }
TunnelProviderOptionsZscalerSubLocation represents a TunnelProviderOptionsZscalerSubLocation struct.
func (TunnelProviderOptionsZscalerSubLocation) MarshalJSON ¶
func (t TunnelProviderOptionsZscalerSubLocation) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TunnelProviderOptionsZscalerSubLocation. It customizes the JSON marshaling process for TunnelProviderOptionsZscalerSubLocation objects.
func (*TunnelProviderOptionsZscalerSubLocation) UnmarshalJSON ¶
func (t *TunnelProviderOptionsZscalerSubLocation) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TunnelProviderOptionsZscalerSubLocation. It customizes the JSON unmarshaling process for TunnelProviderOptionsZscalerSubLocation objects.
type TunnelTypeEnum ¶
type TunnelTypeEnum string
TunnelTypeEnum is a string enum. enum: `wan`, `wxtunnel`
const ( TunnelTypeEnum_WAN TunnelTypeEnum = "wan" TunnelTypeEnum_WXTUNNEL TunnelTypeEnum = "wxtunnel" )
type TuntermDhcpdConfig ¶
type TuntermDhcpdConfig struct { Enabled *bool `json:"enabled,omitempty"` Servers []string `json:"servers,omitempty"` // enum: `relay` Type *TuntermDhcpdTypeEnum `json:"type,omitempty"` AdditionalProperties map[string]TuntermDhcpdConfigProperty `json:"_"` }
TuntermDhcpdConfig represents a TuntermDhcpdConfig struct. DHCP server/relay configuration of Mist Tunneled VLANs. Property key is the VLAN ID
func (TuntermDhcpdConfig) MarshalJSON ¶
func (t TuntermDhcpdConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TuntermDhcpdConfig. It customizes the JSON marshaling process for TuntermDhcpdConfig objects.
func (*TuntermDhcpdConfig) UnmarshalJSON ¶
func (t *TuntermDhcpdConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TuntermDhcpdConfig. It customizes the JSON unmarshaling process for TuntermDhcpdConfig objects.
type TuntermDhcpdConfigProperty ¶
type TuntermDhcpdConfigProperty struct { Enabled *bool `json:"enabled,omitempty"` Servers []string `json:"servers,omitempty"` // enum: `relay` Type *TuntermDhcpdTypeEnum `json:"type,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
TuntermDhcpdConfigProperty represents a TuntermDhcpdConfigProperty struct.
func (TuntermDhcpdConfigProperty) MarshalJSON ¶
func (t TuntermDhcpdConfigProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TuntermDhcpdConfigProperty. It customizes the JSON marshaling process for TuntermDhcpdConfigProperty objects.
func (*TuntermDhcpdConfigProperty) UnmarshalJSON ¶
func (t *TuntermDhcpdConfigProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TuntermDhcpdConfigProperty. It customizes the JSON unmarshaling process for TuntermDhcpdConfigProperty objects.
type TuntermDhcpdTypeEnum ¶
type TuntermDhcpdTypeEnum string
TuntermDhcpdTypeEnum is a string enum. enum: `relay`
const (
TuntermDhcpdTypeEnum_RELAY TuntermDhcpdTypeEnum = "relay"
)
type TuntermMonitoringItem ¶
type TuntermMonitoringItem struct { // can be ip, ipv6, hostname Host *string `json:"host,omitempty"` // when `protocol`==`tcp` Port *int `json:"port,omitempty"` // enum: `arp`, `ping`, `tcp` Protocol *TunternMonitoringProtocolEnum `json:"protocol,omitempty"` // optional source for the monitoring check, vlan_id configured in tunterm_other_ip_configs SrcVlanId *int `json:"src_vlan_id,omitempty"` Timeout *int `json:"timeout,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
TuntermMonitoringItem represents a TuntermMonitoringItem struct.
func (TuntermMonitoringItem) MarshalJSON ¶
func (t TuntermMonitoringItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TuntermMonitoringItem. It customizes the JSON marshaling process for TuntermMonitoringItem objects.
func (*TuntermMonitoringItem) 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]interface{} `json:"_"` }
TuntermPortConfig represents a TuntermPortConfig struct. ethernet port configurations
func (TuntermPortConfig) MarshalJSON ¶
func (t TuntermPortConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TuntermPortConfig. It customizes the JSON marshaling process for TuntermPortConfig objects.
func (*TuntermPortConfig) 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. enum: `arp`, `ping`, `tcp`
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]interface{} `json:"_"` }
TwoFactorCode represents a TwoFactorCode struct.
func (TwoFactorCode) MarshalJSON ¶
func (t TwoFactorCode) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TwoFactorCode. It customizes the JSON marshaling process for TwoFactorCode objects.
func (*TwoFactorCode) UnmarshalJSON ¶
func (t *TwoFactorCode) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TwoFactorCode. It customizes the JSON unmarshaling process for TwoFactorCode objects.
type TwoFactorString ¶
type TwoFactorString struct { TwoFactor string `json:"two_factor"` AdditionalProperties map[string]interface{} `json:"_"` }
TwoFactorString represents a TwoFactorString struct.
func (TwoFactorString) MarshalJSON ¶
func (t TwoFactorString) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for TwoFactorString. It customizes the JSON marshaling process for TwoFactorString objects.
func (*TwoFactorString) UnmarshalJSON ¶
func (t *TwoFactorString) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TwoFactorString. It customizes the JSON unmarshaling process for TwoFactorString objects.
type UiSettings ¶
type UiSettings struct { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` DefaultScopeId *string `json:"defaultScopeId,omitempty"` DefaultScopeType *string `json:"defaultScopeType,omitempty"` DefaultTimeRange *UiSettingsDefaultTimeRange `json:"defaultTimeRange,omitempty"` Description string `json:"description"` ForSite *bool `json:"for_site,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` IsCustomDataboard *bool `json:"isCustomDataboard,omitempty"` IsScopeLinked *bool `json:"isScopeLinked,omitempty"` IsTimeRangeLinked *bool `json:"isTimeRangeLinked,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` Name *string `json:"name,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` Purpose string `json:"purpose"` SiteId *uuid.UUID `json:"site_id,omitempty"` Tiles []UiSettingsTile `json:"tiles,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UiSettings represents a UiSettings struct. UI Settings
func (UiSettings) MarshalJSON ¶
func (u UiSettings) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UiSettings. It customizes the JSON marshaling process for UiSettings objects.
func (*UiSettings) UnmarshalJSON ¶
func (u *UiSettings) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UiSettings. It customizes the JSON unmarshaling process for UiSettings objects.
type UiSettingsDefaultTimeRange ¶
type UiSettingsDefaultTimeRange struct { End *int `json:"end,omitempty"` EndDate *string `json:"endDate,omitempty"` Interval *string `json:"interval,omitempty"` Name *string `json:"name,omitempty"` ShortName *string `json:"shortName,omitempty"` Start *int `json:"start,omitempty"` UsePreset *bool `json:"usePreset,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UiSettingsDefaultTimeRange represents a UiSettingsDefaultTimeRange struct.
func (UiSettingsDefaultTimeRange) MarshalJSON ¶
func (u UiSettingsDefaultTimeRange) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UiSettingsDefaultTimeRange. It customizes the JSON marshaling process for UiSettingsDefaultTimeRange objects.
func (*UiSettingsDefaultTimeRange) UnmarshalJSON ¶
func (u *UiSettingsDefaultTimeRange) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UiSettingsDefaultTimeRange. It customizes the JSON unmarshaling process for UiSettingsDefaultTimeRange objects.
type UiSettingsTile ¶
type UiSettingsTile struct { ChartBand *string `json:"chartBand,omitempty"` ChartColor *string `json:"chartColor,omitempty"` ChartDirection *string `json:"chartDirection,omitempty"` ChartRankBy *string `json:"chartRankBy,omitempty"` ChartType *string `json:"chartType,omitempty"` Colspan *int `json:"colspan,omitempty"` Column *int `json:"column,omitempty"` HideEmptyRows *bool `json:"hideEmptyRows,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` Metric *UiSettingsTileMetric `json:"metric,omitempty"` Name *string `json:"name,omitempty"` Row *int `json:"row,omitempty"` Rowspan *int `json:"rowspan,omitempty"` ScopeId *string `json:"scopeId,omitempty"` ScopeType *string `json:"scopeType,omitempty"` SortedColumnIds []string `json:"sortedColumnIds,omitempty"` TimeRange *UiSettingsTileTimeRange `json:"timeRange,omitempty"` TrendType *string `json:"trendType,omitempty"` VizType *string `json:"vizType,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UiSettingsTile represents a UiSettingsTile struct.
func (UiSettingsTile) MarshalJSON ¶
func (u UiSettingsTile) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UiSettingsTile. It customizes the JSON marshaling process for UiSettingsTile objects.
func (*UiSettingsTile) UnmarshalJSON ¶
func (u *UiSettingsTile) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UiSettingsTile. It customizes the JSON unmarshaling process for UiSettingsTile objects.
type UiSettingsTileMetric ¶
type UiSettingsTileMetric struct { ApiName *string `json:"apiName,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UiSettingsTileMetric represents a UiSettingsTileMetric struct.
func (UiSettingsTileMetric) MarshalJSON ¶
func (u UiSettingsTileMetric) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UiSettingsTileMetric. It customizes the JSON marshaling process for UiSettingsTileMetric objects.
func (*UiSettingsTileMetric) UnmarshalJSON ¶
func (u *UiSettingsTileMetric) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UiSettingsTileMetric. It customizes the JSON unmarshaling process for UiSettingsTileMetric objects.
type UiSettingsTileTimeRange ¶
type UiSettingsTileTimeRange struct { End *float64 `json:"end,omitempty"` EndDate *string `json:"endDate,omitempty"` Interval *string `json:"interval,omitempty"` Name *string `json:"name,omitempty"` ShortName *string `json:"shortName,omitempty"` Start *int `json:"start,omitempty"` UsePreset *bool `json:"usePreset,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UiSettingsTileTimeRange represents a UiSettingsTileTimeRange struct.
func (UiSettingsTileTimeRange) MarshalJSON ¶
func (u UiSettingsTileTimeRange) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UiSettingsTileTimeRange. It customizes the JSON marshaling process for UiSettingsTileTimeRange objects.
func (*UiSettingsTileTimeRange) UnmarshalJSON ¶
func (u *UiSettingsTileTimeRange) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UiSettingsTileTimeRange. It customizes the JSON unmarshaling process for UiSettingsTileTimeRange objects.
type UpgradeBios ¶
type UpgradeBios struct { // Reboot device immediately after upgrade is completed Reboot *bool `json:"reboot,omitempty"` // specific bios version Version *string `json:"version,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UpgradeBios represents a UpgradeBios struct.
func (UpgradeBios) MarshalJSON ¶
func (u UpgradeBios) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpgradeBios. It customizes the JSON marshaling process for UpgradeBios objects.
func (*UpgradeBios) UnmarshalJSON ¶
func (u *UpgradeBios) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UpgradeBios. It customizes the JSON unmarshaling process for UpgradeBios objects.
type UpgradeBiosMulti ¶
type UpgradeBiosMulti struct { // list of device id to upgrade bios DeviceIds []uuid.UUID `json:"device_ids,omitempty"` // list of device model to upgrade bios Models []string `json:"models,omitempty"` // Reboot device immediately after upgrade is completed Reboot *bool `json:"reboot,omitempty"` // specific bios version Version *string `json:"version,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UpgradeBiosMulti represents a UpgradeBiosMulti struct.
func (UpgradeBiosMulti) MarshalJSON ¶
func (u UpgradeBiosMulti) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpgradeBiosMulti. It customizes the JSON marshaling process for UpgradeBiosMulti objects.
func (*UpgradeBiosMulti) 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]interface{} `json:"_"` }
UpgradeFpga represents a UpgradeFpga struct.
func (UpgradeFpga) MarshalJSON ¶
func (u UpgradeFpga) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpgradeFpga. It customizes the JSON marshaling process for UpgradeFpga objects.
func (*UpgradeFpga) UnmarshalJSON ¶
func (u *UpgradeFpga) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UpgradeFpga. It customizes the JSON unmarshaling process for UpgradeFpga objects.
type UpgradeFpgaMulti ¶
type UpgradeFpgaMulti struct { // list of device id to upgrade bios DeviceIds []uuid.UUID `json:"device_ids,omitempty"` // list of device model to upgrade bios Models []string `json:"models,omitempty"` // Reboot device immediately after upgrade is completed Reboot *bool `json:"reboot,omitempty"` // specific FPGA version Version *string `json:"version,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UpgradeFpgaMulti represents a UpgradeFpgaMulti struct.
func (UpgradeFpgaMulti) MarshalJSON ¶
func (u UpgradeFpgaMulti) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpgradeFpgaMulti. It customizes the JSON marshaling process for UpgradeFpgaMulti objects.
func (*UpgradeFpgaMulti) UnmarshalJSON ¶
func (u *UpgradeFpgaMulti) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UpgradeFpgaMulti. It customizes the JSON unmarshaling process for UpgradeFpgaMulti objects.
type UpgradeInfoStatusEnum ¶
type UpgradeInfoStatusEnum string
UpgradeInfoStatusEnum is a string enum. enum: `error`, `inprogress`, `scheduled`, `starting`, `success`
const ( UpgradeInfoStatusEnum_ENUMERROR UpgradeInfoStatusEnum = "error" UpgradeInfoStatusEnum_INPROGRESS UpgradeInfoStatusEnum = "inprogress" UpgradeInfoStatusEnum_SCHEDULED UpgradeInfoStatusEnum = "scheduled" UpgradeInfoStatusEnum_STARTING UpgradeInfoStatusEnum = "starting" UpgradeInfoStatusEnum_SUCCESS UpgradeInfoStatusEnum = "success" )
type 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]interface{} `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 { // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` StartTime *float64 `json:"start_time,omitempty"` // status upgrade is in. enum: `cancelled`, `completed`, `created`, `downloaded`, `downloading`, `failed`, `upgrading` Status *DeviceUpgradeStatusEnum `json:"status,omitempty"` Targets *UpgradeOrgDeviceTargets `json:"targets,omitempty"` AdditionalProperties map[string]interface{} `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"` // Whether to upgrade mesh AP’s parallelly or sequentially at the end of the upgrade. enum: `parallel`, `sequential` RrmMeshUpgrade *DeviceUpgradeRrmMeshUpgradeEnum `json:"rrm_mesh_upgrade,omitempty"` // Used in rrm to determine whether to start upgrade from fringe or center AP’s. enum: `center_to_fringe`, `fringe_to_center` 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"` // enum: `big_bang` (upgrade all at once), `canary`, `rrm`, `serial` (one at a time) Strategy *DeviceUpgradeStrategyEnum `json:"strategy,omitempty"` // specific version / stable Version *string `json:"version,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UpgradeOrgDevices represents a UpgradeOrgDevices struct.
func (UpgradeOrgDevices) MarshalJSON ¶
func (u UpgradeOrgDevices) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpgradeOrgDevices. It customizes the JSON marshaling process for UpgradeOrgDevices objects.
func (*UpgradeOrgDevices) 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 devices that need to be upgraded in that phase. default is [1, 10, 50, 100] CanaryPhases []int `json:"canary_phases,omitempty"` // id’s of devices which will be selected for upgrade DeviceIds []uuid.UUID `json:"device_ids,omitempty"` // 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 which will be selected for upgrade 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. enum: `center_to_fringe`, `fringe_to_center` RrmNodeOrder *UpgradeSiteDevicesRrmNodeOrderEnum `json:"rrm_node_order,omitempty"` // true will make rrm batch sizes slowly ramp up RrmSlowRamp *bool `json:"rrm_slow_ramp,omitempty"` // rules used to identify devices which will be selected for upgrade. Device will be selected as long as it satisfies any one rule Rules []string `json:"rules,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"` // enum: `big_bang` (upgrade all at once), `canary`, `rrm`, `serial` (one at a time) Strategy *DeviceUpgradeStrategyEnum `json:"strategy,omitempty"` // specific version / stable Version *string `json:"version,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UpgradeSiteDevices represents a UpgradeSiteDevices struct.
func (UpgradeSiteDevices) MarshalJSON ¶
func (u UpgradeSiteDevices) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpgradeSiteDevices. It customizes the JSON marshaling process for UpgradeSiteDevices objects.
func (*UpgradeSiteDevices) 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. enum: `center_to_fringe`, `fringe_to_center`
const ( UpgradeSiteDevicesRrmNodeOrderEnum_CENTERTOFRINGE UpgradeSiteDevicesRrmNodeOrderEnum = "center_to_fringe" UpgradeSiteDevicesRrmNodeOrderEnum_FRINGETOCENTER UpgradeSiteDevicesRrmNodeOrderEnum = "fringe_to_center" )
type UseAutoApValues ¶
type UseAutoApValues struct { // If accept is true, accepts placement for devices in list otherwise. If false, reject for devices in list. Accept *bool `json:"accept,omitempty"` // The selector to choose auto placement or auto orientation. enum: `orientation`, `placement` For *UseAutoApValuesForEnum `json:"for,omitempty"` // A list of macs to accept/reject. If a list is not provided the API will accept/reject for the full map. Macs []string `json:"macs,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UseAutoApValues represents a UseAutoApValues struct.
func (UseAutoApValues) MarshalJSON ¶
func (u UseAutoApValues) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UseAutoApValues. It customizes the JSON marshaling process for UseAutoApValues objects.
func (*UseAutoApValues) UnmarshalJSON ¶
func (u *UseAutoApValues) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UseAutoApValues. It customizes the JSON unmarshaling process for UseAutoApValues objects.
type UseAutoApValuesForEnum ¶
type UseAutoApValuesForEnum string
UseAutoApValuesForEnum is a string enum. The selector to choose auto placement or auto orientation. enum: `orientation`, `placement`
const ( UseAutoApValuesForEnum_ORIENTATION UseAutoApValuesForEnum = "orientation" UseAutoApValuesForEnum_PLACEMENT UseAutoApValuesForEnum = "placement" )
type UserApitoken ¶
type UserApitoken struct { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` Key *string `json:"key,omitempty"` LastUsed Optional[int] `json:"last_used"` // name of the token Name *string `json:"name,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UserApitoken represents a UserApitoken struct. User API Token
func (UserApitoken) MarshalJSON ¶
func (u UserApitoken) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UserApitoken. It customizes the JSON marshaling process for UserApitoken objects.
func (*UserApitoken) UnmarshalJSON ¶
func (u *UserApitoken) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UserApitoken. It customizes the JSON unmarshaling process for UserApitoken objects.
type UserMac ¶
type UserMac struct { // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` Labels []string `json:"labels,omitempty"` // only non-local-admin MAC is accepted Mac string `json:"mac"` Name *string `json:"name,omitempty"` Notes *string `json:"notes,omitempty"` RadiusGroup *string `json:"radius_group,omitempty"` Vlan *string `json:"vlan,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UserMac represents a UserMac struct.
func (UserMac) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for UserMac. It customizes the JSON marshaling process for UserMac objects.
func (*UserMac) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for UserMac. It customizes the JSON unmarshaling process for UserMac objects.
type UserMacImport ¶
type UserMacImport struct { Added []string `json:"added,omitempty"` Errors []string `json:"errors,omitempty"` Updated []string `json:"updated,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UserMacImport represents a UserMacImport struct.
func (UserMacImport) MarshalJSON ¶
func (u UserMacImport) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UserMacImport. It customizes the JSON marshaling process for UserMacImport objects.
func (*UserMacImport) 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]interface{} `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]interface{} `json:"_"` }
UsernamePassword represents a UsernamePassword struct.
func (UsernamePassword) MarshalJSON ¶
func (u UsernamePassword) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UsernamePassword. It customizes the JSON marshaling process for UsernamePassword objects.
func (*UsernamePassword) UnmarshalJSON ¶
func (u *UsernamePassword) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UsernamePassword. It customizes the JSON unmarshaling process for UsernamePassword objects.
type UtilsBouncePort ¶
type UtilsBouncePort struct { // list of ports to bounce Ports []string `json:"ports,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsBouncePort represents a UtilsBouncePort struct.
func (UtilsBouncePort) MarshalJSON ¶
func (u UtilsBouncePort) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsBouncePort. It customizes the JSON marshaling process for UtilsBouncePort objects.
func (*UtilsBouncePort) UnmarshalJSON ¶
func (u *UtilsBouncePort) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsBouncePort. It customizes the JSON unmarshaling process for UtilsBouncePort objects.
type UtilsCableTests ¶
type UtilsCableTests struct { // the port to run the cable test Port string `json:"port"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsCableTests represents a UtilsCableTests struct.
func (UtilsCableTests) MarshalJSON ¶
func (u UtilsCableTests) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsCableTests. It customizes the JSON marshaling process for UtilsCableTests objects.
func (*UtilsCableTests) UnmarshalJSON ¶
func (u *UtilsCableTests) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsCableTests. It customizes the JSON unmarshaling process for UtilsCableTests objects.
type UtilsClearArp ¶
type UtilsClearArp struct { // The IP address for which to clear an ARP entry. port_id must be specified. Ip *string `json:"ip,omitempty"` // only for HA. enum: `node0`, `node1` Node *HaClusterNodeEnum `json:"node,omitempty"` // The device interface on which to clear the ARP cache. PortId *string `json:"port_id,omitempty"` // The VLAN on which to clear the ARP cache. port_id must be specified. Vlan *int `json:"vlan,omitempty"` // The vrf for which to clear an ARP entry. applicable for switch. Vrf *string `json:"vrf,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsClearArp represents a UtilsClearArp struct.
func (UtilsClearArp) MarshalJSON ¶
func (u UtilsClearArp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsClearArp. It customizes the JSON marshaling process for UtilsClearArp objects.
func (*UtilsClearArp) UnmarshalJSON ¶
func (u *UtilsClearArp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsClearArp. It customizes the JSON unmarshaling process for UtilsClearArp objects.
type UtilsClearBgp ¶
type UtilsClearBgp struct { // neighbor ip-address or 'all' Neighbor string `json:"neighbor"` // only for HA. enum: `node0`, `node1` Node *HaClusterNodeEnum `json:"node,omitempty"` // enum: `hard`, `in`, `out`, `soft` Type UtilsClearBgpTypeEnum `json:"type"` // vrf name Vrf *string `json:"vrf,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsClearBgp represents a UtilsClearBgp struct.
func (UtilsClearBgp) MarshalJSON ¶
func (u UtilsClearBgp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsClearBgp. It customizes the JSON marshaling process for UtilsClearBgp objects.
func (*UtilsClearBgp) UnmarshalJSON ¶
func (u *UtilsClearBgp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsClearBgp. It customizes the JSON unmarshaling process for UtilsClearBgp objects.
type UtilsClearBgpTypeEnum ¶
type UtilsClearBgpTypeEnum string
UtilsClearBgpTypeEnum is a string enum. enum: `hard`, `in`, `out`, `soft`
const ( UtilsClearBgpTypeEnum_HARD UtilsClearBgpTypeEnum = "hard" UtilsClearBgpTypeEnum_IN UtilsClearBgpTypeEnum = "in" UtilsClearBgpTypeEnum_OUT UtilsClearBgpTypeEnum = "out" UtilsClearBgpTypeEnum_SOFT UtilsClearBgpTypeEnum = "soft" )
type UtilsClearBpdu ¶
type UtilsClearBpdu struct { // the port on which to clear the detected BPDU error, or `all` for all ports Port *string `json:"port,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsClearBpdu represents a UtilsClearBpdu struct.
func (UtilsClearBpdu) MarshalJSON ¶
func (u UtilsClearBpdu) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsClearBpdu. It customizes the JSON marshaling process for UtilsClearBpdu objects.
func (*UtilsClearBpdu) 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]interface{} `json:"_"` }
UtilsClearMacs represents a UtilsClearMacs struct.
func (UtilsClearMacs) MarshalJSON ¶
func (u UtilsClearMacs) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsClearMacs. It customizes the JSON marshaling process for UtilsClearMacs objects.
func (*UtilsClearMacs) UnmarshalJSON ¶
func (u *UtilsClearMacs) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsClearMacs. It customizes the JSON unmarshaling process for UtilsClearMacs objects.
type UtilsClearSession ¶ added in v0.2.38
type UtilsClearSession struct { // only for HA. enum: `node0`, `node1` Node *HaClusterNodeEnum `json:"node,omitempty"` // ervice name, only supported in SSR ServiceName *string `json:"service_name,omitempty"` // List of id of the sessions to be cleared SessionIds []uuid.UUID `json:"session_ids,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsClearSession represents a UtilsClearSession struct. to use five tuples to lookup the session to be cleared, all must be provided
func (UtilsClearSession) MarshalJSON ¶ added in v0.2.38
func (u UtilsClearSession) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsClearSession. It customizes the JSON marshaling process for UtilsClearSession objects.
func (*UtilsClearSession) UnmarshalJSON ¶ added in v0.2.38
func (u *UtilsClearSession) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsClearSession. It customizes the JSON unmarshaling process for UtilsClearSession objects.
type UtilsDevicesRestart ¶
type UtilsDevicesRestart struct { // optional for VC member Member *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]interface{} `json:"_"` }
UtilsDevicesRestart represents a UtilsDevicesRestart struct.
func (UtilsDevicesRestart) MarshalJSON ¶
func (u UtilsDevicesRestart) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsDevicesRestart. It customizes the JSON marshaling process for UtilsDevicesRestart objects.
func (*UtilsDevicesRestart) UnmarshalJSON ¶
func (u *UtilsDevicesRestart) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsDevicesRestart. It customizes the JSON unmarshaling process for UtilsDevicesRestart objects.
type UtilsDevicesRestartMulti ¶
type UtilsDevicesRestartMulti struct { DeviceIds []uuid.UUID `json:"device_ids"` // only for SSR: if node is not present, both nodes are restarted // for other devices: node should not be present Node *string `json:"node,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsDevicesRestartMulti represents a UtilsDevicesRestartMulti struct.
func (UtilsDevicesRestartMulti) MarshalJSON ¶
func (u UtilsDevicesRestartMulti) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsDevicesRestartMulti. It customizes the JSON marshaling process for UtilsDevicesRestartMulti objects.
func (*UtilsDevicesRestartMulti) 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]interface{} `json:"_"` }
UtilsMacTable represents a UtilsMacTable struct.
func (UtilsMacTable) MarshalJSON ¶
func (u UtilsMacTable) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsMacTable. It customizes the JSON marshaling process for UtilsMacTable objects.
func (*UtilsMacTable) UnmarshalJSON ¶
func (u *UtilsMacTable) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsMacTable. It customizes the JSON unmarshaling process for UtilsMacTable objects.
type UtilsMonitorTraffic ¶
type UtilsMonitorTraffic struct { // port name, if no port input is provided then all ports will be monitored Port *string `json:"port,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsMonitorTraffic represents a UtilsMonitorTraffic struct.
func (UtilsMonitorTraffic) MarshalJSON ¶
func (u UtilsMonitorTraffic) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsMonitorTraffic. It customizes the JSON marshaling process for UtilsMonitorTraffic objects.
func (*UtilsMonitorTraffic) UnmarshalJSON ¶
func (u *UtilsMonitorTraffic) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsMonitorTraffic. It customizes the JSON unmarshaling process for UtilsMonitorTraffic objects.
type UtilsPing ¶
type UtilsPing struct { Count *int `json:"count,omitempty"` // Interface through which packet needs to egress EgressInterface *string `json:"egress_interface,omitempty"` Host string `json:"host"` // only for HA. enum: `node0`, `node1` Node *HaClusterNodeEnum `json:"node,omitempty"` Size *int `json:"size,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsPing represents a UtilsPing struct.
func (UtilsPing) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for UtilsPing. It customizes the JSON marshaling process for UtilsPing objects.
func (*UtilsPing) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for UtilsPing. It customizes the JSON unmarshaling process for UtilsPing objects.
type UtilsReleaseDhcp ¶
type UtilsReleaseDhcp struct { // only for HA. enum: `node0`, `node1` Node *HaClusterNodeEnum `json:"node,omitempty"` // The nework interface on which to release the current DHCP release PortId string `json:"port_id"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsReleaseDhcp represents a UtilsReleaseDhcp struct.
func (UtilsReleaseDhcp) MarshalJSON ¶
func (u UtilsReleaseDhcp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsReleaseDhcp. It customizes the JSON marshaling process for UtilsReleaseDhcp objects.
func (*UtilsReleaseDhcp) UnmarshalJSON ¶
func (u *UtilsReleaseDhcp) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsReleaseDhcp. It customizes the JSON unmarshaling process for UtilsReleaseDhcp objects.
type UtilsReleaseDhcpLeases ¶ added in v0.2.38
type UtilsReleaseDhcpLeases struct { // A list of client macs to be released Mac []string `json:"mac,omitempty"` // The network for the leases IPs to be released Network *string `json:"network,omitempty"` // only for HA. enum: `node0`, `node1` Node *HaClusterNodeEnum `json:"node,omitempty"` // The nework interface on which to release the current DHCP release PortId string `json:"port_id"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsReleaseDhcpLeases represents a UtilsReleaseDhcpLeases struct. Note: * valid combinations for Junos: * `port_id` * `macs` + `network` * valid combinations for SSR: * `port_id` * `macs` + `network` * `port_id` + `network` * `network` * if network or port_id is specified and macs is empty, it means all clients under network or port_id
func (UtilsReleaseDhcpLeases) MarshalJSON ¶ added in v0.2.38
func (u UtilsReleaseDhcpLeases) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsReleaseDhcpLeases. It customizes the JSON marshaling process for UtilsReleaseDhcpLeases objects.
func (*UtilsReleaseDhcpLeases) UnmarshalJSON ¶ added in v0.2.38
func (u *UtilsReleaseDhcpLeases) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsReleaseDhcpLeases. It customizes the JSON unmarshaling process for UtilsReleaseDhcpLeases objects.
type UtilsResetRadioConfig ¶
type UtilsResetRadioConfig struct { // list of bands Bands []string `json:"bands"` // whether to reset those with radio disabled. default is false (i.e. if user intentionally disables a radio, honor it) Force *bool `json:"force,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsResetRadioConfig represents a UtilsResetRadioConfig struct.
func (UtilsResetRadioConfig) MarshalJSON ¶
func (u UtilsResetRadioConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsResetRadioConfig. It customizes the JSON marshaling process for UtilsResetRadioConfig objects.
func (*UtilsResetRadioConfig) 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]interface{} `json:"_"` }
UtilsRrmOptimize represents a UtilsRrmOptimize struct.
func (UtilsRrmOptimize) MarshalJSON ¶
func (u UtilsRrmOptimize) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsRrmOptimize. It customizes the JSON marshaling process for UtilsRrmOptimize objects.
func (*UtilsRrmOptimize) UnmarshalJSON ¶
func (u *UtilsRrmOptimize) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsRrmOptimize. It customizes the JSON unmarshaling process for UtilsRrmOptimize objects.
type UtilsSendBleBeacon ¶
type UtilsSendBleBeacon struct { BeaconFrame *string `json:"beacon_frame,omitempty"` BeaconFreq *int `json:"beacon_freq,omitempty"` Duration *int `json:"duration,omitempty"` Macs []string `json:"macs,omitempty"` MapIds []string `json:"map_ids,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsSendBleBeacon represents a UtilsSendBleBeacon struct.
func (UtilsSendBleBeacon) MarshalJSON ¶
func (u UtilsSendBleBeacon) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsSendBleBeacon. It customizes the JSON marshaling process for UtilsSendBleBeacon objects.
func (*UtilsSendBleBeacon) UnmarshalJSON ¶
func (u *UtilsSendBleBeacon) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsSendBleBeacon. It customizes the JSON unmarshaling process for UtilsSendBleBeacon objects.
type UtilsSendSupportLogs ¶
type UtilsSendSupportLogs struct { // optional, enum: // * `code-dumps`: Upload all core dump files, if any found // * `full`: Upload 1 file with output of `request support information`, 1 file that concatenates all `/var/log/outbound-ssh.log*` files, all core dump files, the 5 most recent `/var/log/messages*` files, and Mist agent logs // * `messages`: Upload 1 to 10 `/var/log/messages*` files // * `outbound-ssh`: Upload 1 file that concatenates all `/var/log/outbound-ssh.log*` files // * `process`: Upload 1 file with output of show `system processes extensive“ // * `var-logs`: Upload all non-empty files in the `/var/log/` directory Info *UtilsSendSupportLogsInfoEnum `json:"info,omitempty"` // optional: for SSR, if node is not present, both nodes support files are uploaded Node *string `json:"node,omitempty"` // optional: number of most recent messages files to upload. NumMessagesFiles *int `json:"num_messages_files,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsSendSupportLogs represents a UtilsSendSupportLogs struct.
func (UtilsSendSupportLogs) MarshalJSON ¶
func (u UtilsSendSupportLogs) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsSendSupportLogs. It customizes the JSON marshaling process for UtilsSendSupportLogs objects.
func (*UtilsSendSupportLogs) UnmarshalJSON ¶
func (u *UtilsSendSupportLogs) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsSendSupportLogs. It customizes the JSON unmarshaling process for UtilsSendSupportLogs objects.
type UtilsSendSupportLogsInfoEnum ¶
type UtilsSendSupportLogsInfoEnum string
UtilsSendSupportLogsInfoEnum is a string enum. optional, enum: * `code-dumps`: Upload all core dump files, if any found * `full`: Upload 1 file with output of `request support information`, 1 file that concatenates all `/var/log/outbound-ssh.log*` files, all core dump files, the 5 most recent `/var/log/messages*` files, and Mist agent logs * `messages`: Upload 1 to 10 `/var/log/messages*` files * `outbound-ssh`: Upload 1 file that concatenates all `/var/log/outbound-ssh.log*` files * `process`: Upload 1 file with output of show `system processes extensive“ * `var-logs`: Upload all non-empty files in the `/var/log/` directory
const ( UtilsSendSupportLogsInfoEnum_CODEDUMPS UtilsSendSupportLogsInfoEnum = "code-dumps" UtilsSendSupportLogsInfoEnum_FULL UtilsSendSupportLogsInfoEnum = "full" UtilsSendSupportLogsInfoEnum_MESSAGES UtilsSendSupportLogsInfoEnum = "messages" UtilsSendSupportLogsInfoEnum_OUTBOUNDSSH UtilsSendSupportLogsInfoEnum = "outbound-ssh" UtilsSendSupportLogsInfoEnum_PROCESS UtilsSendSupportLogsInfoEnum = "process" UtilsSendSupportLogsInfoEnum_VARLOGS UtilsSendSupportLogsInfoEnum = "var-logs" )
type UtilsServicePing ¶
type UtilsServicePing struct { Count *int `json:"count,omitempty"` Host string `json:"host"` // only for HA. enum: `node0`, `node1` Node *HaClusterNodeEnum `json:"node,omitempty"` // ping packet takes the same path as the service Service string `json:"service"` Size *int `json:"size,omitempty"` // tenant context in which the packet is sent Tenant *string `json:"tenant,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsServicePing represents a UtilsServicePing struct.
func (UtilsServicePing) MarshalJSON ¶
func (u UtilsServicePing) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsServicePing. It customizes the JSON marshaling process for UtilsServicePing objects.
func (*UtilsServicePing) UnmarshalJSON ¶
func (u *UtilsServicePing) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsServicePing. It customizes the JSON unmarshaling process for UtilsServicePing objects.
type UtilsShowArp ¶
type UtilsShowArp struct { // duration in sec for which refresh is enabled. Should be set only if interval is configured to non-zero value. Duration *int `json:"duration,omitempty"` // rate at which output will refresh Interval *int `json:"interval,omitempty"` // IP Address Ip *string `json:"ip,omitempty"` // device Port ID PortId *string `json:"port_id,omitempty"` // VRF Name Vrf *string `json:"vrf,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsShowArp represents a UtilsShowArp struct.
func (UtilsShowArp) MarshalJSON ¶
func (u UtilsShowArp) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsShowArp. It customizes the JSON marshaling process for UtilsShowArp objects.
func (*UtilsShowArp) 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. enum: `node0`, `node1` Node *HaClusterNodeEnum `json:"node,omitempty"` AdditionalProperties map[string]interface{} `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 UtilsShowDhcpLeases ¶ added in v0.2.38
type UtilsShowDhcpLeases struct { // DHCP network for the leases, returns full table if not specified Network string `json:"network"` // only for HA. enum: `node0`, `node1` Node *HaClusterNodeEnum `json:"node,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsShowDhcpLeases represents a UtilsShowDhcpLeases struct.
func (UtilsShowDhcpLeases) MarshalJSON ¶ added in v0.2.38
func (u UtilsShowDhcpLeases) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsShowDhcpLeases. It customizes the JSON marshaling process for UtilsShowDhcpLeases objects.
func (*UtilsShowDhcpLeases) UnmarshalJSON ¶ added in v0.2.38
func (u *UtilsShowDhcpLeases) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsShowDhcpLeases. It customizes the JSON unmarshaling process for UtilsShowDhcpLeases objects.
type UtilsShowEvpnDatabase ¶
type UtilsShowEvpnDatabase struct { // duration in sec for which refresh is enabled. Should be set only if interval is configured to non-zero value. Duration *int `json:"duration,omitempty"` // rate at which output will refresh Interval *int `json:"interval,omitempty"` // client mac filter Mac *string `json:"mac,omitempty"` // interface name PortId *string `json:"port_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsShowEvpnDatabase represents a UtilsShowEvpnDatabase struct.
func (UtilsShowEvpnDatabase) MarshalJSON ¶
func (u UtilsShowEvpnDatabase) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsShowEvpnDatabase. It customizes the JSON marshaling process for UtilsShowEvpnDatabase objects.
func (*UtilsShowEvpnDatabase) UnmarshalJSON ¶
func (u *UtilsShowEvpnDatabase) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsShowEvpnDatabase. It customizes the JSON unmarshaling process for UtilsShowEvpnDatabase objects.
type UtilsShowForwardingTable ¶
type UtilsShowForwardingTable struct { // only for HA. enum: `node0`, `node1` Node *HaClusterNodeEnum `json:"node,omitempty"` // IP Prefix Prefix *string `json:"prefix,omitempty"` // only supported with SSR ServiceIp *string `json:"service_ip,omitempty"` // only supported with SSR ServiceName *string `json:"service_name,omitempty"` // only supported with SSR ServicePort *int `json:"service_port,omitempty"` // only supported with SSR ServiceProtocol *string `json:"service_protocol,omitempty"` // only supported with SSR ServiceTenant *string `json:"service_tenant,omitempty"` // VRF Name Vrf *string `json:"vrf,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsShowForwardingTable represents a UtilsShowForwardingTable struct.
func (UtilsShowForwardingTable) MarshalJSON ¶
func (u UtilsShowForwardingTable) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsShowForwardingTable. It customizes the JSON marshaling process for UtilsShowForwardingTable objects.
func (*UtilsShowForwardingTable) UnmarshalJSON ¶
func (u *UtilsShowForwardingTable) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsShowForwardingTable. It customizes the JSON unmarshaling process for UtilsShowForwardingTable objects.
type UtilsShowOspfDatabase ¶ added in v0.3.17
type UtilsShowOspfDatabase struct { // only for HA. enum: `node0`, `node1` Node *HaClusterNodeEnum `json:"node,omitempty"` // show originating info, default is false SelfOriginate *bool `json:"self_originate,omitempty"` // VRF name Vrf *string `json:"vrf,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsShowOspfDatabase represents a UtilsShowOspfDatabase struct.
func (UtilsShowOspfDatabase) MarshalJSON ¶ added in v0.3.17
func (u UtilsShowOspfDatabase) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsShowOspfDatabase. It customizes the JSON marshaling process for UtilsShowOspfDatabase objects.
func (*UtilsShowOspfDatabase) UnmarshalJSON ¶ added in v0.3.17
func (u *UtilsShowOspfDatabase) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsShowOspfDatabase. It customizes the JSON unmarshaling process for UtilsShowOspfDatabase objects.
type UtilsShowOspfInterfaces ¶ added in v0.3.17
type UtilsShowOspfInterfaces struct { // only for HA. enum: `node0`, `node1` Node *HaClusterNodeEnum `json:"node,omitempty"` // the network interface PortId *string `json:"port_id,omitempty"` // VRF name Vrf *string `json:"vrf,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsShowOspfInterfaces represents a UtilsShowOspfInterfaces struct.
func (UtilsShowOspfInterfaces) MarshalJSON ¶ added in v0.3.17
func (u UtilsShowOspfInterfaces) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsShowOspfInterfaces. It customizes the JSON marshaling process for UtilsShowOspfInterfaces objects.
func (*UtilsShowOspfInterfaces) UnmarshalJSON ¶ added in v0.3.17
func (u *UtilsShowOspfInterfaces) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsShowOspfInterfaces. It customizes the JSON unmarshaling process for UtilsShowOspfInterfaces objects.
type UtilsShowOspfNeighbors ¶ added in v0.3.17
type UtilsShowOspfNeighbors struct { // Neighbor IP Address Neighbor *string `json:"neighbor,omitempty"` // only for HA. enum: `node0`, `node1` Node *HaClusterNodeEnum `json:"node,omitempty"` // the network interface PortId *string `json:"port_id,omitempty"` // VRF name Vrf *string `json:"vrf,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsShowOspfNeighbors represents a UtilsShowOspfNeighbors struct.
func (UtilsShowOspfNeighbors) MarshalJSON ¶ added in v0.3.17
func (u UtilsShowOspfNeighbors) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsShowOspfNeighbors. It customizes the JSON marshaling process for UtilsShowOspfNeighbors objects.
func (*UtilsShowOspfNeighbors) UnmarshalJSON ¶ added in v0.3.17
func (u *UtilsShowOspfNeighbors) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsShowOspfNeighbors. It customizes the JSON unmarshaling process for UtilsShowOspfNeighbors objects.
type UtilsShowOspfSummary ¶ added in v0.3.17
type UtilsShowOspfSummary struct { // only for HA. enum: `node0`, `node1` Node *HaClusterNodeEnum `json:"node,omitempty"` // VRF name Vrf *string `json:"vrf,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsShowOspfSummary represents a UtilsShowOspfSummary struct.
func (UtilsShowOspfSummary) MarshalJSON ¶ added in v0.3.17
func (u UtilsShowOspfSummary) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsShowOspfSummary. It customizes the JSON marshaling process for UtilsShowOspfSummary objects.
func (*UtilsShowOspfSummary) UnmarshalJSON ¶ added in v0.3.17
func (u *UtilsShowOspfSummary) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsShowOspfSummary. It customizes the JSON unmarshaling process for UtilsShowOspfSummary objects.
type UtilsShowRoute ¶
type UtilsShowRoute struct { // duration in sec for which refresh is enabled. Should be set only if interval is configured to non-zero value. Duration *int `json:"duration,omitempty"` // rate at which output will refresh Interval *int `json:"interval,omitempty"` // IP of the neighbor Neighbor *string `json:"neighbor,omitempty"` Node *HaClusterNode `json:"node,omitempty"` // route prefix Prefix *string `json:"prefix,omitempty"` // enum: `any`, `bgp`, `direct`, `evpn`, `ospf`, `static` Protocol *UtilsShowRouteProtocolEnum `json:"protocol,omitempty"` // if specified, dump bot received and advertised, if not specified, both will be shown // * for SSR, show bgp neighbors 10.250.18.202 received-routes/advertised-routes // * for SRX and Switches, show route receive_protocol/advertise_protocol bgp 192.168.255.12' Route *string `json:"route,omitempty"` // VRF name Vrf *string `json:"vrf,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsShowRoute represents a UtilsShowRoute struct.
func (UtilsShowRoute) MarshalJSON ¶
func (u UtilsShowRoute) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsShowRoute. It customizes the JSON marshaling process for UtilsShowRoute objects.
func (*UtilsShowRoute) UnmarshalJSON ¶
func (u *UtilsShowRoute) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsShowRoute. It customizes the JSON unmarshaling process for UtilsShowRoute objects.
type UtilsShowRouteProtocolEnum ¶
type UtilsShowRouteProtocolEnum string
UtilsShowRouteProtocolEnum is a string enum. enum: `any`, `bgp`, `direct`, `evpn`, `ospf`, `static`
const ( UtilsShowRouteProtocolEnum_ANY UtilsShowRouteProtocolEnum = "any" UtilsShowRouteProtocolEnum_BGP UtilsShowRouteProtocolEnum = "bgp" UtilsShowRouteProtocolEnum_DIRECT UtilsShowRouteProtocolEnum = "direct" UtilsShowRouteProtocolEnum_EVPN UtilsShowRouteProtocolEnum = "evpn" UtilsShowRouteProtocolEnum_OSPF UtilsShowRouteProtocolEnum = "ospf" UtilsShowRouteProtocolEnum_STATIC UtilsShowRouteProtocolEnum = "static" )
type UtilsShowServicePath ¶
type UtilsShowServicePath struct { // only for HA. enum: `node0`, `node1` Node *HaClusterNodeEnum `json:"node,omitempty"` ServiceName *string `json:"service_name,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsShowServicePath represents a UtilsShowServicePath struct. The exact service name for which to display the service path
func (UtilsShowServicePath) MarshalJSON ¶
func (u UtilsShowServicePath) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsShowServicePath. It customizes the JSON marshaling process for UtilsShowServicePath objects.
func (*UtilsShowServicePath) UnmarshalJSON ¶
func (u *UtilsShowServicePath) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsShowServicePath. It customizes the JSON unmarshaling process for UtilsShowServicePath objects.
type UtilsShowSession ¶
type UtilsShowSession struct { // only for HA. enum: `node0`, `node1` Node *HaClusterNodeEnum `json:"node,omitempty"` // The exact service name for which to display the active sessions ServiceName *string `json:"service_name,omitempty"` // Show session details by session_id SessionId *string `json:"session_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsShowSession represents a UtilsShowSession struct.
func (UtilsShowSession) MarshalJSON ¶
func (u UtilsShowSession) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsShowSession. It customizes the JSON marshaling process for UtilsShowSession objects.
func (*UtilsShowSession) UnmarshalJSON ¶
func (u *UtilsShowSession) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsShowSession. It customizes the JSON unmarshaling process for UtilsShowSession objects.
type UtilsTraceroute ¶
type UtilsTraceroute struct { // host name Host *string `json:"host,omitempty"` // for SSR, optional, the source to initiate traceroute from Network *string `json:"network,omitempty"` // only for HA. enum: `node0`, `node1` Node *HaClusterNodeEnum `json:"node,omitempty"` // when `protocol`==`udp`, not supported in SSR. The udp port to use Port *int `json:"port,omitempty"` // enum: `icmp` (Only suported by AP/MxEdge), `udp` Protocol *UtilsTracerouteProtocolEnum `json:"protocol,omitempty"` // not supported in SSR. Maximum time in seconds to wait for the response Timeout *int `json:"timeout,omitempty"` // for SRX, optional, the source to initiate traceroute from. by default, master VRF/RI is assumed Vrf *string `json:"vrf,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsTraceroute represents a UtilsTraceroute struct.
func (UtilsTraceroute) MarshalJSON ¶
func (u UtilsTraceroute) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsTraceroute. It customizes the JSON marshaling process for UtilsTraceroute objects.
func (*UtilsTraceroute) UnmarshalJSON ¶
func (u *UtilsTraceroute) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UtilsTraceroute. It customizes the JSON unmarshaling process for UtilsTraceroute objects.
type UtilsTracerouteProtocolEnum ¶
type UtilsTracerouteProtocolEnum string
UtilsTracerouteProtocolEnum is a string enum. enum: `icmp` (Only suported by AP/MxEdge), `udp`
const ( UtilsTracerouteProtocolEnum_ICMP UtilsTracerouteProtocolEnum = "icmp" UtilsTracerouteProtocolEnum_UDP UtilsTracerouteProtocolEnum = "udp" )
type UtilsTuntermBouncePort ¶
type UtilsTuntermBouncePort struct { // in milli seconds, hold time between multiple port bounces HoldTime *int `json:"hold_time,omitempty"` // list of ports to bounce Ports []string `json:"ports"` AdditionalProperties map[string]interface{} `json:"_"` }
UtilsTuntermBouncePort represents a UtilsTuntermBouncePort struct.
func (UtilsTuntermBouncePort) MarshalJSON ¶
func (u UtilsTuntermBouncePort) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UtilsTuntermBouncePort. It customizes the JSON marshaling process for UtilsTuntermBouncePort objects.
func (*UtilsTuntermBouncePort) 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]interface{} `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. enum: `deviceprofile`, `site`
const ( VarSourceEnum_DEVICEPROFILE VarSourceEnum = "deviceprofile" VarSourceEnum_SITE VarSourceEnum = "site" )
type Vbeacon ¶
type Vbeacon struct { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` ForSite *bool `json:"for_site,omitempty"` // Unique ID of the object instance in the Mist Organnization 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"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` // name / label of the device Name *string `json:"name,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` // required if `power_mode`==`custom`, -30 - 100, in dBm. For default power_mode, power = 4 dBm. Power *int `json:"power,omitempty"` // enum: `custom`, `default` PowerMode *BleConfigPowerModeEnum `json:"power_mode,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` // URL to show, optional Url *string `json:"url,omitempty"` // bluetooth tag UUID Uuid *uuid.UUID `json:"uuid,omitempty"` // 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]interface{} `json:"_"` }
Vbeacon represents a Vbeacon struct. vBeacon
func (Vbeacon) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Vbeacon. It customizes the JSON marshaling process for Vbeacon objects.
func (*Vbeacon) 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]interface{} `json:"_"` }
VersionString represents a VersionString struct.
func (VersionString) MarshalJSON ¶
func (v VersionString) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VersionString. It customizes the JSON marshaling process for VersionString objects.
func (*VersionString) UnmarshalJSON ¶
func (v *VersionString) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VersionString. It customizes the JSON unmarshaling process for VersionString objects.
type VirtualChassisConfig ¶
type VirtualChassisConfig struct { Locating *bool `json:"locating,omitempty"` Members []VirtualChassisConfigMember `json:"members,omitempty"` // To create the Virtual Chassis in Pre-Provisioned mode Preprovisioned *bool `json:"preprovisioned,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
VirtualChassisConfig represents a VirtualChassisConfig struct. Virtual Chassis
func (VirtualChassisConfig) MarshalJSON ¶
func (v VirtualChassisConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VirtualChassisConfig. It customizes the JSON marshaling process for VirtualChassisConfig objects.
func (*VirtualChassisConfig) 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"` // enum: `backup`, `linecard`, `master` VcRole *VirtualChassisConfigMemberVcRoleEnum `json:"vc_role,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
VirtualChassisConfigMember represents a VirtualChassisConfigMember struct.
func (VirtualChassisConfigMember) MarshalJSON ¶
func (v VirtualChassisConfigMember) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VirtualChassisConfigMember. It customizes the JSON marshaling process for VirtualChassisConfigMember objects.
func (*VirtualChassisConfigMember) UnmarshalJSON ¶
func (v *VirtualChassisConfigMember) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VirtualChassisConfigMember. It customizes the JSON unmarshaling process for VirtualChassisConfigMember objects.
type VirtualChassisConfigMemberVcRoleEnum ¶
type VirtualChassisConfigMemberVcRoleEnum string
VirtualChassisConfigMemberVcRoleEnum is a string enum. enum: `backup`, `linecard`, `master`
const ( VirtualChassisConfigMemberVcRoleEnum_BACKUP VirtualChassisConfigMemberVcRoleEnum = "backup" VirtualChassisConfigMemberVcRoleEnum_LINECARD VirtualChassisConfigMemberVcRoleEnum = "linecard" VirtualChassisConfigMemberVcRoleEnum_MASTER VirtualChassisConfigMemberVcRoleEnum = "master" )
type VirtualChassisMemberUpdate ¶
type VirtualChassisMemberUpdate struct { // Required if `op`==`add` or `op`==`preprovision`. Mac *string `json:"mac,omitempty"` // Required if `op`==`remove` 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`. enum: `backup`, `linecard`, `master` VcRole *VirtualChassisMemberUpdateVcRoleEnum `json:"vc_role,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
VirtualChassisMemberUpdate represents a VirtualChassisMemberUpdate struct.
func (VirtualChassisMemberUpdate) MarshalJSON ¶
func (v VirtualChassisMemberUpdate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VirtualChassisMemberUpdate. It customizes the JSON marshaling process for VirtualChassisMemberUpdate objects.
func (*VirtualChassisMemberUpdate) UnmarshalJSON ¶
func (v *VirtualChassisMemberUpdate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VirtualChassisMemberUpdate. It customizes the JSON unmarshaling process for VirtualChassisMemberUpdate objects.
type VirtualChassisMemberUpdateVcRoleEnum ¶
type VirtualChassisMemberUpdateVcRoleEnum string
VirtualChassisMemberUpdateVcRoleEnum is a string enum. Required if `op`==`add` or `op`==`preprovision`. enum: `backup`, `linecard`, `master`
const ( VirtualChassisMemberUpdateVcRoleEnum_BACKUP VirtualChassisMemberUpdateVcRoleEnum = "backup" VirtualChassisMemberUpdateVcRoleEnum_LINECARD VirtualChassisMemberUpdateVcRoleEnum = "linecard" VirtualChassisMemberUpdateVcRoleEnum_MASTER VirtualChassisMemberUpdateVcRoleEnum = "master" )
type VirtualChassisPort ¶
type VirtualChassisPort struct { Members []ConfigVcPortMember `json:"members"` // enum: `delete`, `set` Op VirtualChassisPortOperationEnum `json:"op"` AdditionalProperties map[string]interface{} `json:"_"` }
VirtualChassisPort represents a VirtualChassisPort struct.
func (VirtualChassisPort) MarshalJSON ¶
func (v VirtualChassisPort) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VirtualChassisPort. It customizes the JSON marshaling process for VirtualChassisPort objects.
func (*VirtualChassisPort) UnmarshalJSON ¶
func (v *VirtualChassisPort) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VirtualChassisPort. It customizes the JSON unmarshaling process for VirtualChassisPort objects.
type VirtualChassisPortOperationEnum ¶
type VirtualChassisPortOperationEnum string
VirtualChassisPortOperationEnum is a string enum. enum: `delete`, `set`
const ( VirtualChassisPortOperationEnum_DELETE VirtualChassisPortOperationEnum = "delete" VirtualChassisPortOperationEnum_SET VirtualChassisPortOperationEnum = "set" )
type VirtualChassisUpdate ¶
type VirtualChassisUpdate struct { // Only if `op`==`renumber` Member *int `json:"member,omitempty"` Members []VirtualChassisMemberUpdate `json:"members,omitempty"` // Only if `op`==`renumber` NewMember *int `json:"new-member,omitempty"` // enum: `add`, `preprovision`, `remove`, `renumber` Op *VirtualChassisUpdateOpEnum `json:"op,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
VirtualChassisUpdate represents a VirtualChassisUpdate struct. Virtual Chassis
func (VirtualChassisUpdate) MarshalJSON ¶
func (v VirtualChassisUpdate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VirtualChassisUpdate. It customizes the JSON marshaling process for VirtualChassisUpdate objects.
func (*VirtualChassisUpdate) UnmarshalJSON ¶
func (v *VirtualChassisUpdate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VirtualChassisUpdate. It customizes the JSON unmarshaling process for VirtualChassisUpdate objects.
type VirtualChassisUpdateOpEnum ¶
type VirtualChassisUpdateOpEnum string
VirtualChassisUpdateOpEnum is a string enum. enum: `add`, `preprovision`, `remove`, `renumber`
const ( VirtualChassisUpdateOpEnum_ADD VirtualChassisUpdateOpEnum = "add" VirtualChassisUpdateOpEnum_PREPROVISION VirtualChassisUpdateOpEnum = "preprovision" VirtualChassisUpdateOpEnum_REMOVE VirtualChassisUpdateOpEnum = "remove" VirtualChassisUpdateOpEnum_RENUMBER VirtualChassisUpdateOpEnum = "renumber" )
type VisitsScopeEnum ¶
type VisitsScopeEnum string
VisitsScopeEnum is a string enum. enum: `map`, `rssizone`, `site`, `zone`
const ( VisitsScopeEnum_ENUMMAP VisitsScopeEnum = "map" VisitsScopeEnum_RSSIZONE VisitsScopeEnum = "rssizone" VisitsScopeEnum_SITE VisitsScopeEnum = "site" VisitsScopeEnum_ZONE VisitsScopeEnum = "zone" )
type VlanIdWithVariable ¶ added in v0.2.38
type VlanIdWithVariable struct {
// contains filtered or unexported fields
}
VlanIdWithVariable represents a VlanIdWithVariable struct.
func (*VlanIdWithVariable) AsNumber ¶ added in v0.2.38
func (v *VlanIdWithVariable) AsNumber() ( *int, bool)
func (*VlanIdWithVariable) AsString ¶ added in v0.2.38
func (v *VlanIdWithVariable) AsString() ( *string, bool)
func (VlanIdWithVariable) MarshalJSON ¶ added in v0.2.38
func (v VlanIdWithVariable) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VlanIdWithVariable. It customizes the JSON marshaling process for VlanIdWithVariable objects.
func (VlanIdWithVariable) String ¶ added in v0.2.38
func (v VlanIdWithVariable) String() string
String converts the VlanIdWithVariable object to a string representation.
func (*VlanIdWithVariable) UnmarshalJSON ¶ added in v0.2.38
func (v *VlanIdWithVariable) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VlanIdWithVariable. It customizes the JSON unmarshaling process for VlanIdWithVariable objects.
type Vpn ¶
type Vpn struct { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // Gateways participating in mesh overlay by, on its vpn_path under wan port. // The steering behavior is defined at the overlay level. // Property Key is the Gateway Port name (e.g. `wan0`, `wan1`, `mpls`, ..) Links map[string]VpnLinksSteering `json:"links,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` Name string `json:"name"` OrgId *uuid.UUID `json:"org_id,omitempty"` // Only if `type`==`hub_spoke` PathSelection *VpnPathSelection `json:"path_selection,omitempty"` // Only if `type`==`hub_spoke`. Property key is the VPN name Paths map[string]VpnPath `json:"paths"` // enum: `hub_spoke`, `mesh` Type *VpnTypeEnum `json:"type,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Vpn represents a Vpn struct.
func (Vpn) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Vpn. It customizes the JSON marshaling process for Vpn objects.
func (*Vpn) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Vpn. It customizes the JSON unmarshaling process for Vpn objects.
type VpnLinksSteering ¶ added in v0.4.0
type VpnLinksSteering struct { Preference *int `json:"preference,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
VpnLinksSteering represents a VpnLinksSteering struct.
func (VpnLinksSteering) MarshalJSON ¶ added in v0.4.0
func (v VpnLinksSteering) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VpnLinksSteering. It customizes the JSON marshaling process for VpnLinksSteering objects.
func (*VpnLinksSteering) UnmarshalJSON ¶ added in v0.4.0
func (v *VpnLinksSteering) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VpnLinksSteering. It customizes the JSON unmarshaling process for VpnLinksSteering objects.
type VpnPath ¶
type VpnPath struct { // enum: `broadband`, `lte` 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]interface{} `json:"_"` }
VpnPath represents a VpnPath struct.
func (VpnPath) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for VpnPath. It customizes the JSON marshaling process for VpnPath objects.
func (*VpnPath) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for VpnPath. It customizes the JSON unmarshaling process for VpnPath objects.
type VpnPathBfdProfileEnum ¶
type VpnPathBfdProfileEnum string
VpnPathBfdProfileEnum is a string enum. enum: `broadband`, `lte`
const ( VpnPathBfdProfileEnum_BROADBAND VpnPathBfdProfileEnum = "broadband" VpnPathBfdProfileEnum_LTE VpnPathBfdProfileEnum = "lte" )
type VpnPathSelection ¶ added in v0.4.0
type VpnPathSelection struct { // enum: `disabled`, `simple`, `manual` Strategy *VpnPathSelectionStrategyEnum `json:"strategy,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
VpnPathSelection represents a VpnPathSelection struct. Only if `type`==`hub_spoke`
func (VpnPathSelection) MarshalJSON ¶ added in v0.4.0
func (v VpnPathSelection) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VpnPathSelection. It customizes the JSON marshaling process for VpnPathSelection objects.
func (*VpnPathSelection) UnmarshalJSON ¶ added in v0.4.0
func (v *VpnPathSelection) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VpnPathSelection. It customizes the JSON unmarshaling process for VpnPathSelection objects.
type VpnPathSelectionStrategyEnum ¶ added in v0.4.0
type VpnPathSelectionStrategyEnum string
VpnPathSelectionStrategyEnum is a string enum. enum: `disabled`, `simple`, `manual`
const ( VpnPathSelectionStrategyEnum_DISABLED VpnPathSelectionStrategyEnum = "disabled" VpnPathSelectionStrategyEnum_SIMPLE VpnPathSelectionStrategyEnum = "simple" VpnPathSelectionStrategyEnum_MANUAL VpnPathSelectionStrategyEnum = "manual" )
type 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]interface{} `json:"_"` }
VpnPeerStat represents a VpnPeerStat struct.
func (VpnPeerStat) MarshalJSON ¶
func (v VpnPeerStat) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VpnPeerStat. It customizes the JSON marshaling process for VpnPeerStat objects.
func (*VpnPeerStat) UnmarshalJSON ¶
func (v *VpnPeerStat) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VpnPeerStat. It customizes the JSON unmarshaling process for VpnPeerStat objects.
type VpnPeerStatSearch ¶
type VpnPeerStatSearch struct { End float64 `json:"end"` Limit int `json:"limit"` Next *string `json:"next,omitempty"` Results []VpnPeerStat `json:"results"` Start float64 `json:"start"` Total int `json:"total"` AdditionalProperties map[string]interface{} `json:"_"` }
VpnPeerStatSearch represents a VpnPeerStatSearch struct.
func (VpnPeerStatSearch) MarshalJSON ¶
func (v VpnPeerStatSearch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VpnPeerStatSearch. It customizes the JSON marshaling process for VpnPeerStatSearch objects.
func (*VpnPeerStatSearch) UnmarshalJSON ¶
func (v *VpnPeerStatSearch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VpnPeerStatSearch. It customizes the JSON unmarshaling process for VpnPeerStatSearch objects.
type VpnTypeEnum ¶ added in v0.4.0
type VpnTypeEnum string
VpnTypeEnum is a string enum. enum: `hub_spoke`, `mesh`
const ( VpnTypeEnum_HUBSPOKE VpnTypeEnum = "hub_spoke" VpnTypeEnum_MESH VpnTypeEnum = "mesh" )
type VrfConfig ¶
type VrfConfig struct { // whether to enable VRF (when supported on the device) Enabled *bool `json:"enabled,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
VrfConfig represents a VrfConfig struct.
func (VrfConfig) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for VrfConfig. It customizes the JSON marshaling process for VrfConfig objects.
func (*VrfConfig) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for VrfConfig. It customizes the JSON unmarshaling process for VrfConfig objects.
type VrfExtraRoute ¶
type VrfExtraRoute struct { // Next-hop address Via *string `json:"via,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
VrfExtraRoute represents a VrfExtraRoute struct.
func (VrfExtraRoute) MarshalJSON ¶
func (v VrfExtraRoute) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VrfExtraRoute. It customizes the JSON marshaling process for VrfExtraRoute objects.
func (*VrfExtraRoute) UnmarshalJSON ¶
func (v *VrfExtraRoute) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VrfExtraRoute. It customizes the JSON unmarshaling process for VrfExtraRoute objects.
type VrrpConfig ¶
type VrrpConfig struct { Enabled *bool `json:"enabled,omitempty"` // Property key is the VRRP name Groups map[string]VrrpConfigGroup `json:"groups,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
VrrpConfig represents a VrrpConfig struct. Junos VRRP config
func (VrrpConfig) MarshalJSON ¶
func (v VrrpConfig) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VrrpConfig. It customizes the JSON marshaling process for VrrpConfig objects.
func (*VrrpConfig) 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]interface{} `json:"_"` }
VrrpConfigGroup represents a VrrpConfigGroup struct.
func (VrrpConfigGroup) MarshalJSON ¶
func (v VrrpConfigGroup) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VrrpConfigGroup. It customizes the JSON marshaling process for VrrpConfigGroup objects.
func (*VrrpConfigGroup) UnmarshalJSON ¶
func (v *VrrpConfigGroup) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VrrpConfigGroup. It customizes the JSON unmarshaling process for VrrpConfigGroup objects.
type VrrpGroup ¶
type VrrpGroup struct { // if `auth_type`==`md5` AuthKey *string `json:"auth_key,omitempty"` // if `auth_type`==`simple` AuthPassword *string `json:"auth_password,omitempty"` // enum: `md5`, `simple` AuthType *VrrpGroupAuthTypeEnum `json:"auth_type,omitempty"` // Property key is the network name Networks map[string]VrrpGroupNetwork `json:"networks,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
VrrpGroup represents a VrrpGroup struct. Junos VRRP group
func (VrrpGroup) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for VrrpGroup. It customizes the JSON marshaling process for VrrpGroup objects.
func (*VrrpGroup) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for VrrpGroup. It customizes the JSON unmarshaling process for VrrpGroup objects.
type VrrpGroupAuthTypeEnum ¶
type VrrpGroupAuthTypeEnum string
VrrpGroupAuthTypeEnum is a string enum. enum: `md5`, `simple`
const ( VrrpGroupAuthTypeEnum_MD5 VrrpGroupAuthTypeEnum = "md5" VrrpGroupAuthTypeEnum_SIMPLE VrrpGroupAuthTypeEnum = "simple" )
type VrrpGroupNetwork ¶
type VrrpGroupNetwork struct { Ip *string `json:"ip,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
VrrpGroupNetwork represents a VrrpGroupNetwork struct.
func (VrrpGroupNetwork) MarshalJSON ¶
func (v VrrpGroupNetwork) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VrrpGroupNetwork. It customizes the JSON marshaling process for VrrpGroupNetwork objects.
func (*VrrpGroupNetwork) UnmarshalJSON ¶
func (v *VrrpGroupNetwork) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VrrpGroupNetwork. It customizes the JSON unmarshaling process for VrrpGroupNetwork objects.
type VsInstanceProperty ¶ added in v0.2.34
type VsInstanceProperty struct { Networks []string `json:"networks,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
VsInstanceProperty represents a VsInstanceProperty struct.
func (VsInstanceProperty) MarshalJSON ¶ added in v0.2.34
func (v VsInstanceProperty) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for VsInstanceProperty. It customizes the JSON marshaling process for VsInstanceProperty objects.
func (*VsInstanceProperty) UnmarshalJSON ¶ added in v0.2.34
func (v *VsInstanceProperty) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for VsInstanceProperty. It customizes the JSON unmarshaling process for VsInstanceProperty objects.
type WanExtraRoutes ¶ added in v0.4.0
type WanExtraRoutes struct { Via *string `json:"via,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
WanExtraRoutes represents a WanExtraRoutes struct.
func (WanExtraRoutes) MarshalJSON ¶ added in v0.4.0
func (w WanExtraRoutes) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WanExtraRoutes. It customizes the JSON marshaling process for WanExtraRoutes objects.
func (*WanExtraRoutes) UnmarshalJSON ¶ added in v0.4.0
func (w *WanExtraRoutes) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WanExtraRoutes. It customizes the JSON unmarshaling process for WanExtraRoutes objects.
type WanTunnelProtocolEnum ¶
type WanTunnelProtocolEnum string
WanTunnelProtocolEnum is a string enum. enum: `gre`, `ipsec`
const ( WanTunnelProtocolEnum_GRE WanTunnelProtocolEnum = "gre" WanTunnelProtocolEnum_IPSEC WanTunnelProtocolEnum = "ipsec" )
type WanUsages ¶
type WanUsages struct { Mac *string `json:"mac,omitempty"` PathType *string `json:"path_type,omitempty"` PathWeight *int `json:"path_weight,omitempty"` PeerMac *string `json:"peer_mac,omitempty"` PeerPortId *string `json:"peer_port_id,omitempty"` Policy *string `json:"policy,omitempty"` PortId *string `json:"port_id,omitempty"` Tenant *string `json:"tenant,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
WanUsages represents a WanUsages struct.
func (WanUsages) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for WanUsages. It customizes the JSON marshaling process for WanUsages objects.
func (*WanUsages) 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. enum: `mac`, `path_type`, `peer_mac`, `peer_port_id`, `policy`, `port_id`, `tenant`
const ( WanUsagesCountDisctinctEnum_MAC WanUsagesCountDisctinctEnum = "mac" WanUsagesCountDisctinctEnum_PATHTYPE WanUsagesCountDisctinctEnum = "path_type" WanUsagesCountDisctinctEnum_PEERMAC WanUsagesCountDisctinctEnum = "peer_mac" WanUsagesCountDisctinctEnum_PEERPORTID WanUsagesCountDisctinctEnum = "peer_port_id" WanUsagesCountDisctinctEnum_POLICY WanUsagesCountDisctinctEnum = "policy" WanUsagesCountDisctinctEnum_PORTID WanUsagesCountDisctinctEnum = "port_id" WanUsagesCountDisctinctEnum_TENANT WanUsagesCountDisctinctEnum = "tenant" )
type WayfindingImportJson ¶
type WayfindingImportJson struct {
// contains filtered or unexported fields
}
WayfindingImportJson represents a WayfindingImportJson struct.
func (*WayfindingImportJson) AsMapJibestream ¶
func (w *WayfindingImportJson) AsMapJibestream() ( *MapJibestream, bool)
func (*WayfindingImportJson) AsMapMicello ¶
func (w *WayfindingImportJson) AsMapMicello() ( *MapMicello, bool)
func (WayfindingImportJson) MarshalJSON ¶
func (w WayfindingImportJson) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WayfindingImportJson. It customizes the JSON marshaling process for WayfindingImportJson objects.
func (WayfindingImportJson) String ¶
func (w WayfindingImportJson) String() string
String 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 { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // whether webhook is enabled Enabled *bool `json:"enabled,omitempty"` ForSite *bool `json:"for_site,omitempty"` // if `type`=`http-post`, additional custom HTTP headers to add // the headers name and value must be string, total bytes of headers name and value must be less than 1000 Headers Optional[map[string]string] `json:"headers"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` // name of the webhook Name Optional[string] `json:"name"` // required when `oauth2_grant_type`==`client_credentials` Oauth2ClientId *string `json:"oauth2_client_id,omitempty"` // required when `oauth2_grant_type`==`client_credentials` Oauth2ClientSecret *string `json:"oauth2_client_secret,omitempty"` // required when `type`==`oauth2`. enum: `client_credentials`, `password` Oauth2GrantType *WebhookOauth2GrantTypeEnum `json:"oauth2_grant_type,omitempty"` // required when `oauth2_grant_type`==`password` Oauth2Password *string `json:"oauth2_password,omitempty"` // required when `type`==`oauth2`, if provided, will be used in the token request Oauth2Scopes []string `json:"oauth2_scopes,omitempty"` // required when `type`==`oauth2` Oauth2TokenUrl *string `json:"oauth2_token_url,omitempty"` // required when `oauth2_grant_type`==`password` Oauth2Username *string `json:"oauth2_username,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` // only if `type`=`http-post` // when `secret` is provided, two HTTP headers will be added: // * X-Mist-Signature-v2: HMAC_SHA256(secret, body) // * X-Mist-Signature: HMAC_SHA1(secret, body) Secret Optional[string] `json:"secret"` SiteId *uuid.UUID `json:"site_id,omitempty"` // required if `type`=`splunk` // If splunk_token is not defined for a type Splunk webhook, it will not send, regardless if the webhook receiver is configured to accept it.' SplunkToken Optional[string] `json:"splunk_token"` // List of supported webhook topics available with the API Call [List Webhook Topics]($e/Constants%20Definitions/listWebhookTopics) Topics []string `json:"topics,omitempty"` // enum: `aws-sns`, `google-pubsub`, `http-post`, `oauth2`, `splunk` Type *WebhookTypeEnum `json:"type,omitempty"` Url *string `json:"url,omitempty"` // when url uses HTTPS, whether to verify the certificate VerifyCert *bool `json:"verify_cert,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Webhook represents a Webhook struct.
func (Webhook) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Webhook. It customizes the JSON marshaling process for Webhook objects.
func (*Webhook) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Webhook. It customizes the JSON unmarshaling process for Webhook objects.
type WebhookAlarmEvent ¶
type WebhookAlarmEvent struct { Aps []string `json:"aps,omitempty"` Bssids []string `json:"bssids,omitempty"` // If present, represents number of events of given type occurred in current interval, default=1 Count *int `json:"count,omitempty"` // event id EventId *uuid.UUID `json:"event_id,omitempty"` ForSite *bool `json:"for_site,omitempty"` // Unique ID of the object instance in the Mist Organnization Id uuid.UUID `json:"id"` LastSeen float64 `json:"last_seen"` // only for HA. enum: `node0`, `node1` Node *HaClusterNodeEnum `json:"node,omitempty"` OrgId uuid.UUID `json:"org_id"` SiteId uuid.UUID `json:"site_id"` Ssids []string `json:"ssids,omitempty"` 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]interface{} `json:"_"` }
WebhookAlarmEvent represents a WebhookAlarmEvent struct.
func (WebhookAlarmEvent) MarshalJSON ¶
func (w WebhookAlarmEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookAlarmEvent. It customizes the JSON marshaling process for WebhookAlarmEvent objects.
func (*WebhookAlarmEvent) 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]interface{} `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]interface{} `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]interface{} `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"` // Unique ID of the object instance in the Mist Organnization 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]interface{} `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]interface{} `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"` // enum: `client-info` Topic *WebhookClientInfoTopicEnum `json:"topic,omitempty"` AdditionalProperties map[string]interface{} `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]interface{} `json:"_"` }
WebhookClientInfoEvent represents a WebhookClientInfoEvent struct.
func (WebhookClientInfoEvent) MarshalJSON ¶
func (w WebhookClientInfoEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookClientInfoEvent. It customizes the JSON marshaling process for WebhookClientInfoEvent objects.
func (*WebhookClientInfoEvent) UnmarshalJSON ¶
func (w *WebhookClientInfoEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookClientInfoEvent. It customizes the JSON unmarshaling process for WebhookClientInfoEvent objects.
type WebhookClientInfoTopicEnum ¶
type WebhookClientInfoTopicEnum string
WebhookClientInfoTopicEnum is a string enum. enum: `client-info`
const (
WebhookClientInfoTopicEnum_CLIENTINFO WebhookClientInfoTopicEnum = "client-info"
)
type WebhookClientJoin ¶
type WebhookClientJoin struct { Events []WebhookClientJoinEvent `json:"events"` Topic string `json:"topic"` AdditionalProperties map[string]interface{} `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]interface{} `json:"_"` }
WebhookClientJoinEvent represents a WebhookClientJoinEvent struct.
func (WebhookClientJoinEvent) MarshalJSON ¶
func (w WebhookClientJoinEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookClientJoinEvent. It customizes the JSON marshaling process for WebhookClientJoinEvent objects.
func (*WebhookClientJoinEvent) 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]interface{} `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]interface{} `json:"_"` }
WebhookClientLatencyEvent represents a WebhookClientLatencyEvent struct.
func (WebhookClientLatencyEvent) MarshalJSON ¶
func (w WebhookClientLatencyEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookClientLatencyEvent. It customizes the JSON marshaling process for WebhookClientLatencyEvent objects.
func (*WebhookClientLatencyEvent) 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]interface{} `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]interface{} `json:"_"` }
WebhookClientSessionsEvent represents a WebhookClientSessionsEvent struct.
func (WebhookClientSessionsEvent) MarshalJSON ¶
func (w WebhookClientSessionsEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookClientSessionsEvent. It customizes the JSON marshaling process for WebhookClientSessionsEvent objects.
func (*WebhookClientSessionsEvent) 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"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` // HTTP request headers ReqHeaders *string `json:"req_headers,omitempty"` // HTTP request payload ReqPayload *string `json:"req_payload,omitempty"` // HTTP request URL ReqUrl *string `json:"req_url,omitempty"` // HTTP response body RespBody *string `json:"resp_body,omitempty"` // HTTP response headers RespHeaders *string `json:"resp_headers,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` // webhook delivery status. enum: `failure`, `success` Status *WebhookDeliveryStatusEnum `json:"status,omitempty"` StatusCode *int `json:"status_code,omitempty"` Timestamp *float64 `json:"timestamp,omitempty"` // webhook topic. enum: `alarms`, `audits`, `device-updowns`, `occupancy-alerts`, `ping` Topic *WebhookDeliveryTopicEnum `json:"topic,omitempty"` WebhookId *uuid.UUID `json:"webhook_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
WebhookDelivery represents a WebhookDelivery struct.
func (WebhookDelivery) MarshalJSON ¶
func (w WebhookDelivery) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookDelivery. It customizes the JSON marshaling process for WebhookDelivery objects.
func (*WebhookDelivery) UnmarshalJSON ¶
func (w *WebhookDelivery) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookDelivery. It customizes the JSON unmarshaling process for WebhookDelivery objects.
type WebhookDeliveryDistinctEnum ¶
type WebhookDeliveryDistinctEnum string
WebhookDeliveryDistinctEnum is a string enum. webhook topic. enum: `status`, `status_code`, `topic`, `webhook_id`
const ( WebhookDeliveryDistinctEnum_STATUS WebhookDeliveryDistinctEnum = "status" WebhookDeliveryDistinctEnum_STATUSCODE WebhookDeliveryDistinctEnum = "status_code" WebhookDeliveryDistinctEnum_TOPIC WebhookDeliveryDistinctEnum = "topic" WebhookDeliveryDistinctEnum_WEBHOOKID WebhookDeliveryDistinctEnum = "webhook_id" )
type WebhookDeliveryStatusEnum ¶
type WebhookDeliveryStatusEnum string
WebhookDeliveryStatusEnum is a string enum. webhook delivery status. enum: `failure`, `success`
const ( WebhookDeliveryStatusEnum_FAILURE WebhookDeliveryStatusEnum = "failure" WebhookDeliveryStatusEnum_SUCCESS WebhookDeliveryStatusEnum = "success" )
type WebhookDeliveryTopicEnum ¶
type WebhookDeliveryTopicEnum string
WebhookDeliveryTopicEnum is a string enum. webhook topic. enum: `alarms`, `audits`, `device-updowns`, `occupancy-alerts`, `ping`
const ( WebhookDeliveryTopicEnum_ALARMS WebhookDeliveryTopicEnum = "alarms" WebhookDeliveryTopicEnum_AUDITS WebhookDeliveryTopicEnum = "audits" WebhookDeliveryTopicEnum_DEVICEUPDOWNS WebhookDeliveryTopicEnum = "device-updowns" WebhookDeliveryTopicEnum_OCCUPANCYALERTS WebhookDeliveryTopicEnum = "occupancy-alerts" WebhookDeliveryTopicEnum_PING WebhookDeliveryTopicEnum = "ping" )
type WebhookDeviceEvents ¶
type WebhookDeviceEvents struct { // list of events Events []WebhookDeviceEventsEvent `json:"events"` // topic subscribed to Topic string `json:"topic"` AdditionalProperties map[string]interface{} `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"` // enum: `ap`, `gateway`, `switch` DeviceType WebhookDeviceEventsEventDeviceTypeEnum `json:"device_type"` // (optional) event advisory. enum: `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]interface{} `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. enum: `ap`, `gateway`, `switch`
const ( WebhookDeviceEventsEventDeviceTypeEnum_AP WebhookDeviceEventsEventDeviceTypeEnum = "ap" WebhookDeviceEventsEventDeviceTypeEnum_GATEWAY WebhookDeviceEventsEventDeviceTypeEnum = "gateway" WebhookDeviceEventsEventDeviceTypeEnum_ENUMSWITCH WebhookDeviceEventsEventDeviceTypeEnum = "switch" )
type WebhookDeviceEventsEventEvTypeEnum ¶
type WebhookDeviceEventsEventEvTypeEnum string
WebhookDeviceEventsEventEvTypeEnum is a string enum. (optional) event advisory. enum: `notice`, `warn`
const ( WebhookDeviceEventsEventEvTypeEnum_NOTICE WebhookDeviceEventsEventEvTypeEnum = "notice" WebhookDeviceEventsEventEvTypeEnum_WARN WebhookDeviceEventsEventEvTypeEnum = "warn" )
type WebhookDeviceUpdowns ¶
type WebhookDeviceUpdowns struct { Events []WebhookDeviceUpdownsEvent `json:"events"` Topic string `json:"topic"` AdditionalProperties map[string]interface{} `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]interface{} `json:"_"` }
WebhookDeviceUpdownsEvent represents a WebhookDeviceUpdownsEvent struct.
func (WebhookDeviceUpdownsEvent) MarshalJSON ¶
func (w WebhookDeviceUpdownsEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookDeviceUpdownsEvent. It customizes the JSON marshaling process for WebhookDeviceUpdownsEvent objects.
func (*WebhookDeviceUpdownsEvent) 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]interface{} `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]interface{} `json:"_"` }
WebhookDiscoveredRawRssiEvent represents a WebhookDiscoveredRawRssiEvent struct.
func (WebhookDiscoveredRawRssiEvent) MarshalJSON ¶
func (w WebhookDiscoveredRawRssiEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookDiscoveredRawRssiEvent. It customizes the JSON marshaling process for WebhookDiscoveredRawRssiEvent objects.
func (*WebhookDiscoveredRawRssiEvent) 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]interface{} `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]interface{} `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]interface{} `json:"_"` }
WebhookLocationAssetEvent represents a WebhookLocationAssetEvent struct.
func (WebhookLocationAssetEvent) MarshalJSON ¶
func (w WebhookLocationAssetEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookLocationAssetEvent. It customizes the JSON marshaling process for WebhookLocationAssetEvent objects.
func (*WebhookLocationAssetEvent) 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]interface{} `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]interface{} `json:"_"` }
WebhookLocationCentrakEvent represents a WebhookLocationCentrakEvent struct.
func (WebhookLocationCentrakEvent) MarshalJSON ¶
func (w WebhookLocationCentrakEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookLocationCentrakEvent. It customizes the JSON marshaling process for WebhookLocationCentrakEvent objects.
func (*WebhookLocationCentrakEvent) 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]interface{} `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]interface{} `json:"_"` }
WebhookLocationClientEvent represents a WebhookLocationClientEvent struct.
func (WebhookLocationClientEvent) MarshalJSON ¶
func (w WebhookLocationClientEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookLocationClientEvent. It customizes the JSON marshaling process for WebhookLocationClientEvent objects.
func (*WebhookLocationClientEvent) 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 object instance in the Mist Organnization 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]interface{} `json:"_"` }
WebhookLocationEvent represents a WebhookLocationEvent struct.
func (WebhookLocationEvent) MarshalJSON ¶
func (w WebhookLocationEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookLocationEvent. It customizes the JSON marshaling process for WebhookLocationEvent objects.
func (*WebhookLocationEvent) 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]interface{} `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 { // Unique ID of the object instance in the Mist Organnization 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]interface{} `json:"_"` }
WebhookLocationSdkEvent represents a WebhookLocationSdkEvent struct.
func (WebhookLocationSdkEvent) MarshalJSON ¶
func (w WebhookLocationSdkEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookLocationSdkEvent. It customizes the JSON marshaling process for WebhookLocationSdkEvent objects.
func (*WebhookLocationSdkEvent) 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]interface{} `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]interface{} `json:"_"` }
WebhookLocationUnclientEvent represents a WebhookLocationUnclientEvent struct.
func (WebhookLocationUnclientEvent) MarshalJSON ¶
func (w WebhookLocationUnclientEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookLocationUnclientEvent. It customizes the JSON marshaling process for WebhookLocationUnclientEvent objects.
func (*WebhookLocationUnclientEvent) 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]interface{} `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]interface{} `json:"_"` }
WebhookNacAccountingEvent represents a WebhookNacAccountingEvent struct.
func (WebhookNacAccountingEvent) MarshalJSON ¶
func (w WebhookNacAccountingEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookNacAccountingEvent. It customizes the JSON marshaling process for WebhookNacAccountingEvent objects.
func (*WebhookNacAccountingEvent) 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]interface{} `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", "peap-tls", "eap-ttls", "eap-teap", "mab", "psk", "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]interface{} `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`. enum: `client_credentials`, `password`
const ( WebhookOauth2GrantTypeEnum_CLIENTCREDENTIALS WebhookOauth2GrantTypeEnum = "client_credentials" WebhookOauth2GrantTypeEnum_PASSWORD WebhookOauth2GrantTypeEnum = "password" )
type WebhookOccupancyAlertTypeEnum ¶
type WebhookOccupancyAlertTypeEnum string
WebhookOccupancyAlertTypeEnum is a string enum. enum: `COMPLIANCE-OK`, `COMPLIANCE-VIOLATION`
const ( WebhookOccupancyAlertTypeEnum_COMPLIANCEOK WebhookOccupancyAlertTypeEnum = "COMPLIANCE-OK" WebhookOccupancyAlertTypeEnum_COMPLIANCEVIOLATION WebhookOccupancyAlertTypeEnum = "COMPLIANCE-VIOLATION" )
type WebhookOccupancyAlerts ¶
type WebhookOccupancyAlerts struct { Events []WebhookOccupancyAlertsEvent `json:"events"` Topic string `json:"topic"` AdditionalProperties map[string]interface{} `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]interface{} `json:"_"` }
WebhookOccupancyAlertsEvent represents a WebhookOccupancyAlertsEvent struct.
func (WebhookOccupancyAlertsEvent) MarshalJSON ¶
func (w WebhookOccupancyAlertsEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookOccupancyAlertsEvent. It customizes the JSON marshaling process for WebhookOccupancyAlertsEvent objects.
func (*WebhookOccupancyAlertsEvent) 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"` // enum: `COMPLIANCE-OK`, `COMPLIANCE-VIOLATION` Type WebhookOccupancyAlertTypeEnum `json:"type"` ZoneId uuid.UUID `json:"zone_id"` ZoneName string `json:"zone_name"` AdditionalProperties map[string]interface{} `json:"_"` }
WebhookOccupancyAlertsEventAlertEventsItems represents a WebhookOccupancyAlertsEventAlertEventsItems struct.
func (WebhookOccupancyAlertsEventAlertEventsItems) MarshalJSON ¶
func (w WebhookOccupancyAlertsEventAlertEventsItems) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookOccupancyAlertsEventAlertEventsItems. It customizes the JSON marshaling process for WebhookOccupancyAlertsEventAlertEventsItems objects.
func (*WebhookOccupancyAlertsEventAlertEventsItems) 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]interface{} `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 { // Unique ID of the object instance in the Mist Organnization Id uuid.UUID `json:"id"` Name string `json:"name"` SiteId uuid.UUID `json:"site_id"` Timestamp float64 `json:"timestamp"` AdditionalProperties map[string]interface{} `json:"_"` }
WebhookPingEvent represents a WebhookPingEvent struct.
func (WebhookPingEvent) MarshalJSON ¶
func (w WebhookPingEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookPingEvent. It customizes the JSON marshaling process for WebhookPingEvent objects.
func (*WebhookPingEvent) 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"` // enum: `sdkclient_scan_data` Topic string `json:"topic"` AdditionalProperties map[string]interface{} `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]interface{} `json:"_"` }
WebhookSdkclientScanDataEvent represents a WebhookSdkclientScanDataEvent struct.
func (WebhookSdkclientScanDataEvent) MarshalJSON ¶
func (w WebhookSdkclientScanDataEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookSdkclientScanDataEvent. It customizes the JSON marshaling process for WebhookSdkclientScanDataEvent objects.
func (*WebhookSdkclientScanDataEvent) UnmarshalJSON ¶
func (w *WebhookSdkclientScanDataEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookSdkclientScanDataEvent. It customizes the JSON unmarshaling process for WebhookSdkclientScanDataEvent objects.
type WebhookSdkclientScanDataEventScanDataItem ¶
type WebhookSdkclientScanDataEventScanDataItem struct { // mac address of the AP associated with the BSSID scanned Ap string `json:"ap"` // 5GHz or 2.4GHz band, associated with the BSSID scanned. enum: `2.4`, `5` Band ScanDataItemBandEnum `json:"band"` // BSSID found during client’s background scan for 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]interface{} `json:"_"` }
WebhookSdkclientScanDataEventScanDataItem represents a WebhookSdkclientScanDataEventScanDataItem struct.
func (WebhookSdkclientScanDataEventScanDataItem) MarshalJSON ¶
func (w WebhookSdkclientScanDataEventScanDataItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookSdkclientScanDataEventScanDataItem. It customizes the JSON marshaling process for WebhookSdkclientScanDataEventScanDataItem objects.
func (*WebhookSdkclientScanDataEventScanDataItem) UnmarshalJSON ¶
func (w *WebhookSdkclientScanDataEventScanDataItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookSdkclientScanDataEventScanDataItem. It customizes the JSON unmarshaling process for WebhookSdkclientScanDataEventScanDataItem objects.
type WebhookSdkclientScanDataTopicEnum ¶ added in v0.2.38
type WebhookSdkclientScanDataTopicEnum string
WebhookSdkclientScanDataTopicEnum is a string enum. enum: `sdkclient_scan_data`
const (
WebhookSdkclientScanDataTopicEnum_SDKCLIENTSCANDATA WebhookSdkclientScanDataTopicEnum = "sdkclient_scan_data"
)
type WebhookSiteSle ¶
type WebhookSiteSle struct { Events []WebhookSiteSleEvent `json:"events,omitempty"` Topic *string `json:"topic,omitempty"` AdditionalProperties map[string]interface{} `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]interface{} `json:"_"` }
WebhookSiteSleEvent represents a WebhookSiteSleEvent struct.
func (WebhookSiteSleEvent) MarshalJSON ¶
func (w WebhookSiteSleEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookSiteSleEvent. It customizes the JSON marshaling process for WebhookSiteSleEvent objects.
func (*WebhookSiteSleEvent) UnmarshalJSON ¶
func (w *WebhookSiteSleEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookSiteSleEvent. It customizes the JSON unmarshaling process for WebhookSiteSleEvent objects.
type WebhookSiteSleEventSle ¶
type WebhookSiteSleEventSle struct { ApAvailability *float64 `json:"ap-availability,omitempty"` SuccessfulConnect *float64 `json:"successful-connect,omitempty"` TimeToConnect *float64 `json:"time-to-connect,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
WebhookSiteSleEventSle represents a WebhookSiteSleEventSle struct.
func (WebhookSiteSleEventSle) MarshalJSON ¶
func (w WebhookSiteSleEventSle) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookSiteSleEventSle. It customizes the JSON marshaling process for WebhookSiteSleEventSle objects.
func (*WebhookSiteSleEventSle) 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 WebhookTypeEnum ¶
type WebhookTypeEnum string
WebhookTypeEnum is a string enum. enum: `aws-sns`, `google-pubsub`, `http-post`, `oauth2`, `splunk`
const ( WebhookTypeEnum_AWSSNS WebhookTypeEnum = "aws-sns" WebhookTypeEnum_GOOGLEPUBSUB WebhookTypeEnum = "google-pubsub" WebhookTypeEnum_HTTPPOST WebhookTypeEnum = "http-post" WebhookTypeEnum_OAUTH2 WebhookTypeEnum = "oauth2" WebhookTypeEnum_SPLUNK WebhookTypeEnum = "splunk" )
type WebhookZone ¶
type WebhookZone struct { // list of events Events []WebhookZoneEvent `json:"events"` // topic subscribed to Topic string `json:"topic"` AdditionalProperties map[string]interface{} `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"` // Unique ID of the object instance in the Mist Organnization 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"` // enum: `enter`, `exit` Trigger WebhookZoneEventTriggerEnum `json:"trigger"` Type string `json:"type"` // zone id ZoneId uuid.UUID `json:"zone_id"` AdditionalProperties map[string]interface{} `json:"_"` }
WebhookZoneEvent represents a WebhookZoneEvent struct.
func (WebhookZoneEvent) MarshalJSON ¶
func (w WebhookZoneEvent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebhookZoneEvent. It customizes the JSON marshaling process for WebhookZoneEvent objects.
func (*WebhookZoneEvent) UnmarshalJSON ¶
func (w *WebhookZoneEvent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebhookZoneEvent. It customizes the JSON unmarshaling process for WebhookZoneEvent objects.
type WebhookZoneEventTriggerEnum ¶
type WebhookZoneEventTriggerEnum string
WebhookZoneEventTriggerEnum is a string enum. enum: `enter`, `exit`
const ( WebhookZoneEventTriggerEnum_ENTER WebhookZoneEventTriggerEnum = "enter" WebhookZoneEventTriggerEnum_EXIT WebhookZoneEventTriggerEnum = "exit" )
type WebsocketSession ¶
type WebsocketSession struct { Session string `json:"session"` AdditionalProperties map[string]interface{} `json:"_"` }
WebsocketSession represents a WebsocketSession struct.
func (WebsocketSession) MarshalJSON ¶
func (w WebsocketSession) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebsocketSession. It customizes the JSON marshaling process for WebsocketSession objects.
func (*WebsocketSession) UnmarshalJSON ¶
func (w *WebsocketSession) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebsocketSession. It customizes the JSON unmarshaling process for WebsocketSession objects.
type WebsocketSessionWithUrl ¶
type WebsocketSessionWithUrl struct { Session string `json:"session"` Url string `json:"url"` AdditionalProperties map[string]interface{} `json:"_"` }
WebsocketSessionWithUrl represents a WebsocketSessionWithUrl struct.
func (WebsocketSessionWithUrl) MarshalJSON ¶
func (w WebsocketSessionWithUrl) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WebsocketSessionWithUrl. It customizes the JSON marshaling process for WebsocketSessionWithUrl objects.
func (*WebsocketSessionWithUrl) UnmarshalJSON ¶
func (w *WebsocketSessionWithUrl) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WebsocketSessionWithUrl. It customizes the JSON unmarshaling process for WebsocketSessionWithUrl objects.
type WifiBeaconExtendedInfoItems ¶
type WifiBeaconExtendedInfoItems struct { // frame control field of 802.11 header FrameCtrl *int `json:"frame_ctrl,omitempty"` // Extended Info Payload associated with frame Payload *string `json:"payload,omitempty"` // sequence control field of 802.11 header SeqCtrl *int `json:"seq_ctrl,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
WifiBeaconExtendedInfoItems represents a WifiBeaconExtendedInfoItems struct.
func (WifiBeaconExtendedInfoItems) MarshalJSON ¶
func (w WifiBeaconExtendedInfoItems) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WifiBeaconExtendedInfoItems. It customizes the JSON marshaling process for WifiBeaconExtendedInfoItems objects.
func (*WifiBeaconExtendedInfoItems) 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"` DhcpClientIdentifier *string `json:"dhcp_client_identifier,omitempty"` DhcpClientOptions []DhcpClientOption `json:"dhcp_client_options,omitempty"` DhcpFqdn *string `json:"dhcp_fqdn,omitempty"` DhcpHostname *string `json:"dhcp_hostname,omitempty"` DhcpRequestParams *string `json:"dhcp_request_params,omitempty"` DhcpVendorClassIdentifier *string `json:"dhcp_vendor_class_identifier,omitempty"` Ip []string `json:"ip,omitempty"` Mac *string `json:"mac,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` PortId []string `json:"port_id,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` Timestamp *float64 `json:"timestamp,omitempty"` Vlan []int `json:"vlan,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
WiredClientResponse represents a WiredClientResponse struct.
func (WiredClientResponse) MarshalJSON ¶
func (w WiredClientResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WiredClientResponse. It customizes the JSON marshaling process for WiredClientResponse objects.
func (*WiredClientResponse) UnmarshalJSON ¶
func (w *WiredClientResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WiredClientResponse. It customizes the JSON unmarshaling process for WiredClientResponse objects.
type WiredClientResponseDeviceMacPortItem ¶
type WiredClientResponseDeviceMacPortItem struct { DeviceMac *string `json:"device_mac,omitempty"` Ip *string `json:"ip,omitempty"` PortId *string `json:"port_id,omitempty"` PortParent *string `json:"port_parent,omitempty"` Start *string `json:"start,omitempty"` Vlan *int `json:"vlan,omitempty"` When *string `json:"when,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
WiredClientResponseDeviceMacPortItem represents a WiredClientResponseDeviceMacPortItem struct.
func (WiredClientResponseDeviceMacPortItem) MarshalJSON ¶
func (w WiredClientResponseDeviceMacPortItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WiredClientResponseDeviceMacPortItem. It customizes the JSON marshaling process for WiredClientResponseDeviceMacPortItem objects.
func (*WiredClientResponseDeviceMacPortItem) 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]interface{} `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`==`true`, which allows SSDP AllowSsdp *bool `json:"allow_ssdp,omitempty"` // list of device ids ApIds Optional[[]uuid.UUID] `json:"ap_ids"` // bandwidth limiting for apps (applies to up/down) AppLimit *WlanAppLimit `json:"app_limit,omitempty"` // app qos wlan settings AppQos *WlanAppQos `json:"app_qos,omitempty"` // enum: `aps`, `site`, `wxtags` ApplyTo *WlanApplyToEnum `json:"apply_to,omitempty"` // whether to enable smart arp filter ArpFilter *bool `json:"arp_filter,omitempty"` // authentication wlan settings Auth *WlanAuth `json:"auth,omitempty"` // When ordered, AP will prefer and go back to the first server if possible. enum: `ordered`, `unordered` AuthServerSelection *WlanAuthServerSelectionEnum `json:"auth_server_selection,omitempty"` // list of RADIUS authentication servers, at least one is needed if `auth type`==`eap`, order matters where the first one is treated as primary AuthServers []RadiusAuthServer `json:"auth_servers,omitempty"` // optional, up to 48 bytes, will be dynamically generated if not provided. used only for authentication servers AuthServersNasId Optional[string] `json:"auth_servers_nas_id"` // optional, NAS-IP-ADDRESS to use AuthServersNasIp Optional[string] `json:"auth_servers_nas_ip"` // radius auth session retries. Following fast timers are set if “fast_dot1x_timers” knob is enabled. ‘retries’ are set to value of auth_servers_retries. ‘max-requests’ is also set when setting auth_servers_retries and is set to default value to 3. AuthServersRetries *int `json:"auth_servers_retries,omitempty"` // radius auth session timeout. Following fast timers are set if “fast_dot1x_timers” knob is enabled. ‘quite-period’ and ‘transmit-period’ are set to half the value of auth_servers_timeout. ‘supplicant-timeout’ is also set when setting auth_servers_timeout and is set to default value of 10. AuthServersTimeout *int `json:"auth_servers_timeout,omitempty"` // `band` is deprecated and kept for backward 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 []CoaServer `json:"coa_servers,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // some old WLAN drivers may not be compatible Disable11ax *bool `json:"disable_11ax,omitempty"` // to disable ht or vht rates DisableHtVhtRates *bool `json:"disable_ht_vht_rates,omitempty"` // whether to disable U-APSD DisableUapsd *bool `json:"disable_uapsd,omitempty"` // disable sending v2 roam notification messages DisableV1RoamNotify *bool `json:"disable_v1_roam_notify,omitempty"` // disable sending v2 roam notification messages DisableV2RoamNotify *bool `json:"disable_v2_roam_notify,omitempty"` // when any of the following is true, this WLAN will be disabled // * cannot get IP // * cannot obtain default gateway // * cannot reach default gateway DisableWhenGatewayUnreachable *bool `json:"disable_when_gateway_unreachable,omitempty"` DisableWhenMxtunnelDown *bool `json:"disable_when_mxtunnel_down,omitempty"` // whether to disable WMM DisableWmm *bool `json:"disable_wmm,omitempty"` // for radius_group-based DNS server (rewrite DNS request depending on the Group RADIUS server returns) DnsServerRewrite Optional[WlanDnsServerRewrite] `json:"dns_server_rewrite"` Dtim *int `json:"dtim,omitempty"` // for dynamic PSK where we get per_user PSK from Radius. dynamic_psk allows PSK to be selected at runtime depending on context (wlan/site/user/...) thus following configurations are assumed (currently) // * PSK will come from RADIUS server // * AP sends client MAC as username 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"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` InjectDhcpOption82 *WlanInjectDhcpOption82 `json:"inject_dhcp_option_82,omitempty"` // where this WLAN will be connected to. enum: `all`, `eth0`, `eth1`, `eth2`, `eth3`, `mxtunnel`, `site_mxedge`, `wxtunnel` Interface *WlanInterfaceEnum `json:"interface,omitempty"` // whether to stop clients to talk to each other Isolation *bool `json:"isolation,omitempty"` // if isolation is enabled, whether to deny clients to talk to L2 on the LAN L2Isolation *bool `json:"l2_isolation,omitempty"` // legacy devices requires the Over-DS (for Fast BSS Transition) bit set (while our chip doesn’t support it). Warning! Enabling this will cause problem for iOS devices. LegacyOverds *bool `json:"legacy_overds,omitempty"` // whether to limit broadcast packets going to wireless (i.e. only allow certain bcast packets to go through) LimitBcast *bool `json:"limit_bcast,omitempty"` // limit probe response base on some heuristic rules LimitProbeResponse *bool `json:"limit_probe_response,omitempty"` // max idle time in seconds MaxIdletime *int `json:"max_idletime,omitempty"` // maximum number of client connected to the SSID. `0` means unlimited MaxNumClients *int `json:"max_num_clients,omitempty"` MistNac *WlanMistNac `json:"mist_nac,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` MspId *uuid.UUID `json:"msp_id,omitempty"` // (deprecated, use mxtunnel_ids instead) when `interface`==`mxtunnel`, id of the Mist Tunnel MxtunnelId *uuid.UUID `json:"mxtunnel_id,omitempty"` // Deprecated // when `interface`=`mxtunnel`, id of the Mist Tunnel MxtunnelIds []string `json:"mxtunnel_ids,omitempty"` // when `interface`=`site_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"` // Property key is the RF band. enum: `24`, `5`, `6` Rateset map[string]WlanDatarates `json:"rateset,omitempty"` // when different mxcluster is on different subnet, we'd want to disconnect clients (so they'll reconnect and get new IPs) ReconnectClientsWhenRoamingMxcluster *bool `json:"reconnect_clients_when_roaming_mxcluster,omitempty"` // enum: `11r`, `OKC`, `NONE` RoamMode *WlanRoamModeEnum `json:"roam_mode,omitempty"` // WLAN operating schedule, default is disabled Schedule *WlanSchedule `json:"schedule,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` // whether to exclude this WLAN from SLE metrics SleExcluded *bool `json:"sle_excluded,omitempty"` // 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 *VlanIdWithVariable `json:"vlan_id,omitempty"` VlanIds *WlanVlanIds `json:"vlan_ids,omitempty"` // Requires `vlan_enabled`==`true` to be set to `true`. Vlan pooling allows AP to place client on different VLAN using a deterministic algorithm VlanPooling *bool `json:"vlan_pooling,omitempty"` // 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]interface{} `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]interface{} `json:"_"` }
WlanAirwatch represents a WlanAirwatch struct. airwatch wlan settings
func (WlanAirwatch) MarshalJSON ¶
func (w WlanAirwatch) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanAirwatch. It customizes the JSON marshaling process for WlanAirwatch objects.
func (*WlanAirwatch) UnmarshalJSON ¶
func (w *WlanAirwatch) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanAirwatch. It customizes the JSON unmarshaling process for WlanAirwatch objects.
type WlanAppLimit ¶
type WlanAppLimit struct { // Map from app key to bandwidth in kbps. // Property key is the app key, defined in Get Application List Apps map[string]int `json:"apps,omitempty"` Enabled *bool `json:"enabled,omitempty"` // Map from wxtag_id of Hostname Wxlan Tags to bandwidth in kbps // Property key is the wxtag id WxtagIds map[string]int `json:"wxtag_ids,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
WlanAppLimit represents a WlanAppLimit struct. bandwidth limiting for apps (applies to up/down)
func (WlanAppLimit) MarshalJSON ¶
func (w WlanAppLimit) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanAppLimit. It customizes the JSON marshaling process for WlanAppLimit objects.
func (*WlanAppLimit) UnmarshalJSON ¶
func (w *WlanAppLimit) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanAppLimit. It customizes the JSON unmarshaling process for WlanAppLimit objects.
type WlanAppQos ¶
type WlanAppQos struct { Apps map[string]WlanAppQosAppsProperties `json:"apps,omitempty"` Enabled *bool `json:"enabled,omitempty"` Others []WlanAppQosOthersItem `json:"others,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
WlanAppQos represents a WlanAppQos struct. app qos wlan settings
func (WlanAppQos) MarshalJSON ¶
func (w WlanAppQos) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanAppQos. It customizes the JSON marshaling process for WlanAppQos objects.
func (*WlanAppQos) 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]interface{} `json:"_"` }
WlanAppQosAppsProperties represents a WlanAppQosAppsProperties struct.
func (WlanAppQosAppsProperties) MarshalJSON ¶
func (w WlanAppQosAppsProperties) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanAppQosAppsProperties. It customizes the JSON marshaling process for WlanAppQosAppsProperties objects.
func (*WlanAppQosAppsProperties) 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]interface{} `json:"_"` }
WlanAppQosOthersItem represents a WlanAppQosOthersItem struct.
func (WlanAppQosOthersItem) MarshalJSON ¶
func (w WlanAppQosOthersItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanAppQosOthersItem. It customizes the JSON marshaling process for WlanAppQosOthersItem objects.
func (*WlanAppQosOthersItem) UnmarshalJSON ¶
func (w *WlanAppQosOthersItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanAppQosOthersItem. It customizes the JSON unmarshaling process for WlanAppQosOthersItem objects.
type WlanApplyToEnum ¶
type WlanApplyToEnum string
WlanApplyToEnum is a string enum. enum: `aps`, `site`, `wxtags`
const ( WlanApplyToEnum_APS WlanApplyToEnum = "aps" WlanApplyToEnum_SITE WlanApplyToEnum = "site" WlanApplyToEnum_WXTAGS WlanApplyToEnum = "wxtags" )
type WlanAuth ¶
type WlanAuth struct { // SAE anti-clogging token threshold AnticlogThreshold *int `json:"anticlog_threshold,omitempty"` // whether to trigger EAP reauth when the session ends EapReauth *bool `json:"eap_reauth,omitempty"` // whether to enable MAC Auth, uses the same auth_servers EnableMacAuth *bool `json:"enable_mac_auth,omitempty"` // when `type`==`wep` KeyIdx *int `json:"key_idx,omitempty"` // when type=wep, four 10-character or 26-character hex string, null can be used. All keys, if provided, have to be in the same length Keys []string `json:"keys,omitempty"` // when `type`==`psk`, whether to only use multi_psk MultiPskOnly *bool `json:"multi_psk_only,omitempty"` // if `type`==`open`. enum: `disabled`, `enabled` (means transition mode), `required` Owe *WlanAuthOweEnum `json:"owe,omitempty"` // when `type`=`psk` or `type`=`eap`, one or more of `wpa1-ccmp`, `wpa1-tkip`, `wpa2-ccmp`, `wpa2-tkip`, `wpa3` Pairwise []WlanAuthPairwiseItemEnum `json:"pairwise,omitempty"` // when `multi_psk_only`==`true`, whether private wlan is enabled PrivateWlan *bool `json:"private_wlan,omitempty"` // when `type`==`psk`, 8-64 characters, or 64 hex characters Psk Optional[string] `json:"psk"` // enum: `eap`, `eap192`, `open`, `psk`, `psk-tkip`, `psk-wpa2-tkip`, `wep` Type WlanAuthTypeEnum `json:"type"` // enable WEP as secondary auth WepAsSecondaryAuth *bool `json:"wep_as_secondary_auth,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
WlanAuth represents a WlanAuth struct. authentication wlan settings
func (WlanAuth) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for WlanAuth. It customizes the JSON marshaling process for WlanAuth objects.
func (*WlanAuth) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for WlanAuth. It customizes the JSON unmarshaling process for WlanAuth objects.
type WlanAuthOweEnum ¶
type WlanAuthOweEnum string
WlanAuthOweEnum is a string enum. if `type`==`open`. enum: `disabled`, `enabled` (means transition mode), `required`
const ( WlanAuthOweEnum_DISABLED WlanAuthOweEnum = "disabled" WlanAuthOweEnum_ENABLED WlanAuthOweEnum = "enabled" WlanAuthOweEnum_REQUIRED WlanAuthOweEnum = "required" )
type WlanAuthPairwiseItemEnum ¶
type WlanAuthPairwiseItemEnum string
WlanAuthPairwiseItemEnum is a string enum. enum: `wpa1-ccmp`, `wpa1-tkip`, `wpa2-ccmp`, `wpa2-tkip`, `wpa3`
const ( WlanAuthPairwiseItemEnum_WPA1CCMP WlanAuthPairwiseItemEnum = "wpa1-ccmp" WlanAuthPairwiseItemEnum_WPA1TKIP WlanAuthPairwiseItemEnum = "wpa1-tkip" WlanAuthPairwiseItemEnum_WPA2CCMP WlanAuthPairwiseItemEnum = "wpa2-ccmp" WlanAuthPairwiseItemEnum_WPA2TKIP WlanAuthPairwiseItemEnum = "wpa2-tkip" WlanAuthPairwiseItemEnum_WPA3 WlanAuthPairwiseItemEnum = "wpa3" )
type WlanAuthServerSelectionEnum ¶
type WlanAuthServerSelectionEnum string
WlanAuthServerSelectionEnum is a string enum. When ordered, AP will prefer and go back to the first server if possible. enum: `ordered`, `unordered`
const ( WlanAuthServerSelectionEnum_ORDERED WlanAuthServerSelectionEnum = "ordered" WlanAuthServerSelectionEnum_UNORDERED WlanAuthServerSelectionEnum = "unordered" )
type WlanAuthTypeEnum ¶
type WlanAuthTypeEnum string
WlanAuthTypeEnum is a string enum. enum: `eap`, `eap192`, `open`, `psk`, `psk-tkip`, `psk-wpa2-tkip`, `wep`
const ( WlanAuthTypeEnum_EAP WlanAuthTypeEnum = "eap" WlanAuthTypeEnum_EAP192 WlanAuthTypeEnum = "eap192" WlanAuthTypeEnum_OPEN WlanAuthTypeEnum = "open" WlanAuthTypeEnum_PSK WlanAuthTypeEnum = "psk" WlanAuthTypeEnum_PSKTKIP WlanAuthTypeEnum = "psk-tkip" WlanAuthTypeEnum_PSKWPA2TKIP WlanAuthTypeEnum = "psk-wpa2-tkip" WlanAuthTypeEnum_WEP WlanAuthTypeEnum = "wep" )
type WlanBonjour ¶
type WlanBonjour struct { // comma sperated list of additional VLAN IDs (on the LAN side or from other WLANs) should we be forwarding bonjour queries/responses AdditionalVlanIds string `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]interface{} `json:"_"` }
WlanBonjour represents a WlanBonjour struct. bonjour gateway wlan settings
func (WlanBonjour) MarshalJSON ¶
func (w WlanBonjour) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanBonjour. It customizes the JSON marshaling process for WlanBonjour objects.
func (*WlanBonjour) UnmarshalJSON ¶
func (w *WlanBonjour) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanBonjour. It customizes the JSON unmarshaling process for WlanBonjour objects.
type WlanBonjourServiceProperties ¶
type WlanBonjourServiceProperties struct { // whether to prevent wireless clients to discover bonjour devices on the same WLAN DisableLocal *bool `json:"disable_local,omitempty"` // optional, if the service is further restricted for certain RADIUS groups RadiusGroups []string `json:"radius_groups,omitempty"` // how bonjour services should be discovered for the same WLAN. enum: `same_ap`, `same_map`, `same_site` Scope *WlanBonjourServicePropertiesScopeEnum `json:"scope,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
WlanBonjourServiceProperties represents a WlanBonjourServiceProperties struct.
func (WlanBonjourServiceProperties) MarshalJSON ¶
func (w WlanBonjourServiceProperties) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanBonjourServiceProperties. It customizes the JSON marshaling process for WlanBonjourServiceProperties objects.
func (*WlanBonjourServiceProperties) UnmarshalJSON ¶
func (w *WlanBonjourServiceProperties) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanBonjourServiceProperties. It customizes the JSON unmarshaling process for WlanBonjourServiceProperties objects.
type WlanBonjourServicePropertiesScopeEnum ¶
type WlanBonjourServicePropertiesScopeEnum string
WlanBonjourServicePropertiesScopeEnum is a string enum. how bonjour services should be discovered for the same WLAN. enum: `same_ap`, `same_map`, `same_site`
const ( WlanBonjourServicePropertiesScopeEnum_SAMEAP WlanBonjourServicePropertiesScopeEnum = "same_ap" WlanBonjourServicePropertiesScopeEnum_SAMEMAP WlanBonjourServicePropertiesScopeEnum = "same_map" WlanBonjourServicePropertiesScopeEnum_SAMESITE WlanBonjourServicePropertiesScopeEnum = "same_site" )
type WlanCiscoCwa ¶
type WlanCiscoCwa struct { // list of hostnames without http(s):// (matched by substring) AllowedHostnames []string `json:"allowed_hostnames,omitempty"` // list of CIDRs AllowedSubnets []string `json:"allowed_subnets,omitempty"` // list of blocked CIDRs BlockedSubnets []string `json:"blocked_subnets,omitempty"` Enabled *bool `json:"enabled,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
WlanCiscoCwa represents a WlanCiscoCwa struct. Cisco CWA (central web authentication) required RADIUS with COA in order to work. See CWA: https://www.cisco.com/c/en/us/support/docs/security/identity-services-engine/115732-central-web-auth-00.html
func (WlanCiscoCwa) MarshalJSON ¶
func (w WlanCiscoCwa) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanCiscoCwa. It customizes the JSON marshaling process for WlanCiscoCwa objects.
func (*WlanCiscoCwa) UnmarshalJSON ¶
func (w *WlanCiscoCwa) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanCiscoCwa. It customizes the JSON unmarshaling process for WlanCiscoCwa objects.
type WlanDatarates ¶
type WlanDatarates struct { // if `template`==`custom`. MCS bitmasks for 4 streams (16-bit for each stream, MCS0 is least significant bit), e.g. 00ff 00f0 001f limits HT rates to MCS 0-7 for 1 stream, MCS 4-7 for 2 stream (i.e. MCS 12-15), MCS 1-5 for 3 stream (i.e. MCS 16-20) Ht Optional[string] `json:"ht"` // if `template`==`custom`. List of supported rates (IE=1) and extended supported rates (IE=50) for custom template, append ‘b’ at the end to indicate a rate being basic/mandatory. If `template`==`custom` is configured and legacy does not define at least one basic rate, it will use `no-legacy` default values Legacy []WlanDataratesLegacyItemEnum `json:"legacy,omitempty"` // Minimum RSSI for client to connect, 0 means not enforcing MinRssi *int `json:"min_rssi,omitempty"` // Data Rates template to apply. enum: // * `no-legacy`: no 11b // * `compatible`: all, like before, default setting that Broadcom/Atheros used // * `legacy-only`: disable 802.11n and 802.11ac // * `high-density`: no 11b, no low rates // * `custom`: user defined Template Optional[WlanDataratesTemplateEnum] `json:"template"` // if `template`==`custom`. MCS bitmasks for 4 streams (16-bit for each stream, MCS0 is least significant bit), e.g. 03ff 01ff 00ff limits VHT rates to MCS 0-9 for 1 stream, MCS 0-8 for 2 streams, and MCS 0-7 for 3 streams. Vht Optional[string] `json:"vht"` AdditionalProperties map[string]interface{} `json:"_"` }
WlanDatarates represents a WlanDatarates struct. data rates wlan settings
func (WlanDatarates) MarshalJSON ¶
func (w WlanDatarates) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanDatarates. It customizes the JSON marshaling process for WlanDatarates objects.
func (*WlanDatarates) UnmarshalJSON ¶
func (w *WlanDatarates) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanDatarates. It customizes the JSON unmarshaling process for WlanDatarates objects.
type WlanDataratesLegacyItemEnum ¶
type WlanDataratesLegacyItemEnum string
WlanDataratesLegacyItemEnum is a string enum. enum: `1`, `11`, `11b`, `12`, `12b`, `18`, `18b`, `1b`, `2`, `24`, `24b`, `2b`, `36`, `36b`, `48`, `48b`, `5.5`, `5.5b`, `54`, `54b`, `6`, `6b`, `9`, `9b`
const ( WlanDataratesLegacyItemEnum_ENUM1 WlanDataratesLegacyItemEnum = "1" WlanDataratesLegacyItemEnum_ENUM11 WlanDataratesLegacyItemEnum = "11" WlanDataratesLegacyItemEnum_ENUM11B WlanDataratesLegacyItemEnum = "11b" WlanDataratesLegacyItemEnum_ENUM12 WlanDataratesLegacyItemEnum = "12" WlanDataratesLegacyItemEnum_ENUM12B WlanDataratesLegacyItemEnum = "12b" WlanDataratesLegacyItemEnum_ENUM18 WlanDataratesLegacyItemEnum = "18" WlanDataratesLegacyItemEnum_ENUM18B WlanDataratesLegacyItemEnum = "18b" WlanDataratesLegacyItemEnum_ENUM1B WlanDataratesLegacyItemEnum = "1b" WlanDataratesLegacyItemEnum_ENUM2 WlanDataratesLegacyItemEnum = "2" WlanDataratesLegacyItemEnum_ENUM24 WlanDataratesLegacyItemEnum = "24" WlanDataratesLegacyItemEnum_ENUM24B WlanDataratesLegacyItemEnum = "24b" WlanDataratesLegacyItemEnum_ENUM2B WlanDataratesLegacyItemEnum = "2b" WlanDataratesLegacyItemEnum_ENUM36 WlanDataratesLegacyItemEnum = "36" WlanDataratesLegacyItemEnum_ENUM36B WlanDataratesLegacyItemEnum = "36b" WlanDataratesLegacyItemEnum_ENUM48 WlanDataratesLegacyItemEnum = "48" WlanDataratesLegacyItemEnum_ENUM48B WlanDataratesLegacyItemEnum = "48b" WlanDataratesLegacyItemEnum_ENUM55 WlanDataratesLegacyItemEnum = "5.5" WlanDataratesLegacyItemEnum_ENUM55B WlanDataratesLegacyItemEnum = "5.5b" WlanDataratesLegacyItemEnum_ENUM54 WlanDataratesLegacyItemEnum = "54" WlanDataratesLegacyItemEnum_ENUM54B WlanDataratesLegacyItemEnum = "54b" WlanDataratesLegacyItemEnum_ENUM6 WlanDataratesLegacyItemEnum = "6" WlanDataratesLegacyItemEnum_ENUM6B WlanDataratesLegacyItemEnum = "6b" WlanDataratesLegacyItemEnum_ENUM9 WlanDataratesLegacyItemEnum = "9" WlanDataratesLegacyItemEnum_ENUM9B WlanDataratesLegacyItemEnum = "9b" )
type WlanDataratesTemplateEnum ¶ added in v0.4.10
type WlanDataratesTemplateEnum string
WlanDataratesTemplateEnum is a string enum. Data Rates template to apply. enum: * `no-legacy`: no 11b * `compatible`: all, like before, default setting that Broadcom/Atheros used * `legacy-only`: disable 802.11n and 802.11ac * `high-density`: no 11b, no low rates * `custom`: user defined
const ( WlanDataratesTemplateEnum_COMPATIBLE WlanDataratesTemplateEnum = "compatible" WlanDataratesTemplateEnum_LEGACYONLY WlanDataratesTemplateEnum = "legacy-only" WlanDataratesTemplateEnum_CUSTOM WlanDataratesTemplateEnum = "custom" WlanDataratesTemplateEnum_NOLEGACY WlanDataratesTemplateEnum = "no-legacy" WlanDataratesTemplateEnum_HIGHDENSITY WlanDataratesTemplateEnum = "high-density" )
type WlanDnsServerRewrite ¶
type WlanDnsServerRewrite struct { Enabled *bool `json:"enabled,omitempty"` // map between radius_group and the desired DNS server (IPv4 only) // Property key is the RADIUS group, property value is the desired DNS Server RadiusGroups map[string]string `json:"radius_groups,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
WlanDnsServerRewrite represents a WlanDnsServerRewrite struct. for radius_group-based DNS server (rewrite DNS request depending on the Group RADIUS server returns)
func (WlanDnsServerRewrite) MarshalJSON ¶
func (w WlanDnsServerRewrite) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanDnsServerRewrite. It customizes the JSON marshaling process for WlanDnsServerRewrite objects.
func (*WlanDnsServerRewrite) UnmarshalJSON ¶
func (w *WlanDnsServerRewrite) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanDnsServerRewrite. It customizes the JSON unmarshaling process for WlanDnsServerRewrite objects.
type WlanDynamicPsk ¶
type WlanDynamicPsk struct { // default PSK to use if cloud WLC is not available, 8-63 characters DefaultPsk *string `json:"default_psk,omitempty"` DefaultVlanId *VlanIdWithVariable `json:"default_vlan_id,omitempty"` Enabled *bool `json:"enabled,omitempty"` // when 11r is enabled, we'll try to use the cached PMK, this can be disabled // `false` means auto ForceLookup *bool `json:"force_lookup,omitempty"` // enum: `cloud_psks`, `radius` Source *DynamicPskSourceEnum `json:"source,omitempty"` VlanIds []VlanIdWithVariable `json:"vlan_ids,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
WlanDynamicPsk represents a WlanDynamicPsk struct. for dynamic PSK where we get per_user PSK from Radius. dynamic_psk allows PSK to be selected at runtime depending on context (wlan/site/user/...) thus following configurations are assumed (currently) * PSK will come from RADIUS server * AP sends client MAC as username 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 WlanDynamicVlan ¶
type WlanDynamicVlan struct { // vlan_id to use when there’s no match from RADIUS DefaultVlanId *WlanDynamicVlanDefaultVlanIdDeprecated `json:"default_vlan_id,omitempty"` // Deprecated // Default VLAN ID(s) can be a number, a range of VLAN IDs, a variable or multiple numbers, ranges or variables as a VLAN pool. Default VLAN as a pool of VLANS requires 0.14.x or newer firmware DefaultVlanIds []WlanDynamicVlanDefaultVlanId `json:"default_vlan_ids,omitempty"` // Requires `vlan_enabled`==`true` to be set to `true`. Whether to enable dynamic vlan Enabled *bool `json:"enabled,omitempty"` // vlan_ids to be locally bridged LocalVlanIds []VlanIdWithVariable `json:"local_vlan_ids,omitempty"` // standard (using Tunnel-Private-Group-ID, widely supported), airespace-interface-name (Airespace/Cisco). enum: `airespace-interface-name`, `standard` Type *WlanDynamicVlanTypeEnum `json:"type,omitempty"` // map between vlan_id (as string) to airespace interface names (comma-separated) or null for 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]interface{} `json:"_"` }
WlanDynamicVlan represents a WlanDynamicVlan struct. for 802.1x
func (WlanDynamicVlan) MarshalJSON ¶
func (w WlanDynamicVlan) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanDynamicVlan. It customizes the JSON marshaling process for WlanDynamicVlan objects.
func (*WlanDynamicVlan) UnmarshalJSON ¶
func (w *WlanDynamicVlan) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanDynamicVlan. It customizes the JSON unmarshaling process for WlanDynamicVlan objects.
type WlanDynamicVlanDefaultVlanId ¶ added in v0.2.20
type WlanDynamicVlanDefaultVlanId struct {
// contains filtered or unexported fields
}
WlanDynamicVlanDefaultVlanId represents a WlanDynamicVlanDefaultVlanId struct. VLAN ID, VLAN range or variable to use when there’s no match from RADIUS
func (*WlanDynamicVlanDefaultVlanId) AsNumber ¶ added in v0.2.20
func (w *WlanDynamicVlanDefaultVlanId) AsNumber() ( *int, bool)
func (*WlanDynamicVlanDefaultVlanId) AsString ¶ added in v0.2.20
func (w *WlanDynamicVlanDefaultVlanId) AsString() ( *string, bool)
func (WlanDynamicVlanDefaultVlanId) MarshalJSON ¶ added in v0.2.20
func (w WlanDynamicVlanDefaultVlanId) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanDynamicVlanDefaultVlanId. It customizes the JSON marshaling process for WlanDynamicVlanDefaultVlanId objects.
func (WlanDynamicVlanDefaultVlanId) String ¶ added in v0.2.20
func (w WlanDynamicVlanDefaultVlanId) String() string
String 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 WlanDynamicVlanDefaultVlanIdDeprecated ¶ added in v0.2.38
type WlanDynamicVlanDefaultVlanIdDeprecated struct {
// contains filtered or unexported fields
}
WlanDynamicVlanDefaultVlanIdDeprecated represents a WlanDynamicVlanDefaultVlanIdDeprecated struct. vlan_id to use when there’s no match from RADIUS
func (*WlanDynamicVlanDefaultVlanIdDeprecated) AsNumber ¶ added in v0.2.38
func (w *WlanDynamicVlanDefaultVlanIdDeprecated) AsNumber() ( *int, bool)
func (*WlanDynamicVlanDefaultVlanIdDeprecated) AsString ¶ added in v0.2.38
func (w *WlanDynamicVlanDefaultVlanIdDeprecated) AsString() ( *string, bool)
func (WlanDynamicVlanDefaultVlanIdDeprecated) MarshalJSON ¶ added in v0.2.38
func (w WlanDynamicVlanDefaultVlanIdDeprecated) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanDynamicVlanDefaultVlanIdDeprecated. It customizes the JSON marshaling process for WlanDynamicVlanDefaultVlanIdDeprecated objects.
func (WlanDynamicVlanDefaultVlanIdDeprecated) String ¶ added in v0.2.38
func (w WlanDynamicVlanDefaultVlanIdDeprecated) String() string
String converts the WlanDynamicVlanDefaultVlanIdDeprecated object to a string representation.
func (*WlanDynamicVlanDefaultVlanIdDeprecated) UnmarshalJSON ¶ added in v0.2.38
func (w *WlanDynamicVlanDefaultVlanIdDeprecated) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanDynamicVlanDefaultVlanIdDeprecated. It customizes the JSON unmarshaling process for WlanDynamicVlanDefaultVlanIdDeprecated objects.
type WlanDynamicVlanTypeEnum ¶
type WlanDynamicVlanTypeEnum string
WlanDynamicVlanTypeEnum is a string enum. standard (using Tunnel-Private-Group-ID, widely supported), airespace-interface-name (Airespace/Cisco). enum: `airespace-interface-name`, `standard`
const ( WlanDynamicVlanTypeEnum_AIRESPACEINTERFACENAME WlanDynamicVlanTypeEnum = "airespace-interface-name" WlanDynamicVlanTypeEnum_STANDARD WlanDynamicVlanTypeEnum = "standard" )
type WlanHotspot20 ¶
type WlanHotspot20 struct { DomainName []string `json:"domain_name,omitempty"` // whether to enable hotspot 2.0 config Enabled *bool `json:"enabled,omitempty"` NaiRealms []string `json:"nai_realms,omitempty"` // list of operators to support Operators []WlanHotspot20OperatorsItemEnum `json:"operators,omitempty"` Rcoi []string `json:"rcoi,omitempty"` // venue name, default is site name VenueName *string `json:"venue_name,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
WlanHotspot20 represents a WlanHotspot20 struct. hostspot 2.0 wlan settings
func (WlanHotspot20) MarshalJSON ¶
func (w WlanHotspot20) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanHotspot20. It customizes the JSON marshaling process for WlanHotspot20 objects.
func (*WlanHotspot20) UnmarshalJSON ¶
func (w *WlanHotspot20) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanHotspot20. It customizes the JSON unmarshaling process for WlanHotspot20 objects.
type WlanHotspot20OperatorsItemEnum ¶
type WlanHotspot20OperatorsItemEnum string
WlanHotspot20OperatorsItemEnum is a string enum. enum: `ameriband`, `att`, `boingo`, `charter`, `eduroam`, `global_reach`, `google`, `hughes_systique`, `openroaming_legacy`, `openroaming_settled`, `openroaming_settlement_free`, `single_digits`, `tmobile`, `verizon`
const ( WlanHotspot20OperatorsItemEnum_AMERIBAND WlanHotspot20OperatorsItemEnum = "ameriband" WlanHotspot20OperatorsItemEnum_ATT WlanHotspot20OperatorsItemEnum = "att" WlanHotspot20OperatorsItemEnum_BOINGO WlanHotspot20OperatorsItemEnum = "boingo" WlanHotspot20OperatorsItemEnum_CHARTER WlanHotspot20OperatorsItemEnum = "charter" WlanHotspot20OperatorsItemEnum_EDUROAM WlanHotspot20OperatorsItemEnum = "eduroam" WlanHotspot20OperatorsItemEnum_GLOBALREACH WlanHotspot20OperatorsItemEnum = "global_reach" WlanHotspot20OperatorsItemEnum_GOOGLE WlanHotspot20OperatorsItemEnum = "google" WlanHotspot20OperatorsItemEnum_HUGHESSYSTIQUE WlanHotspot20OperatorsItemEnum = "hughes_systique" WlanHotspot20OperatorsItemEnum_OPENROAMINGLEGACY WlanHotspot20OperatorsItemEnum = "openroaming_legacy" WlanHotspot20OperatorsItemEnum_OPENROAMINGSETTLED WlanHotspot20OperatorsItemEnum = "openroaming_settled" WlanHotspot20OperatorsItemEnum_OPENROAMINGSETTLEMENTFREE WlanHotspot20OperatorsItemEnum = "openroaming_settlement_free" WlanHotspot20OperatorsItemEnum_SINGLEDIGITS WlanHotspot20OperatorsItemEnum = "single_digits" WlanHotspot20OperatorsItemEnum_TMOBILE WlanHotspot20OperatorsItemEnum = "tmobile" WlanHotspot20OperatorsItemEnum_VERIZON WlanHotspot20OperatorsItemEnum = "verizon" )
type WlanInjectDhcpOption82 ¶
type WlanInjectDhcpOption82 struct { // information to set in the `circuit_id` field of the DHCP Option 82. It is possible to use static string or the following variables (e.g. `{{SSID}}:{{AP_MAC}}`): // * {{AP_MAC}} // * {{AP_MAC_DASHED}} // * {{AP_MODEL}} // * {{AP_NAME}} // * {{SITE_NAME}} // * {{SSID}} CircuitId *string `json:"circuit_id,omitempty"` // whether to inject option 82 when forwarding DHCP packets Enabled *bool `json:"enabled,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
WlanInjectDhcpOption82 represents a WlanInjectDhcpOption82 struct.
func (WlanInjectDhcpOption82) MarshalJSON ¶
func (w WlanInjectDhcpOption82) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanInjectDhcpOption82. It customizes the JSON marshaling process for WlanInjectDhcpOption82 objects.
func (*WlanInjectDhcpOption82) UnmarshalJSON ¶
func (w *WlanInjectDhcpOption82) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanInjectDhcpOption82. It customizes the JSON unmarshaling process for WlanInjectDhcpOption82 objects.
type WlanInterfaceEnum ¶
type WlanInterfaceEnum string
WlanInterfaceEnum is a string enum. where this WLAN will be connected to. enum: `all`, `eth0`, `eth1`, `eth2`, `eth3`, `mxtunnel`, `site_mxedge`, `wxtunnel`
const ( WlanInterfaceEnum_ALL WlanInterfaceEnum = "all" WlanInterfaceEnum_ETH0 WlanInterfaceEnum = "eth0" WlanInterfaceEnum_ETH1 WlanInterfaceEnum = "eth1" WlanInterfaceEnum_ETH2 WlanInterfaceEnum = "eth2" WlanInterfaceEnum_ETH3 WlanInterfaceEnum = "eth3" WlanInterfaceEnum_MXTUNNEL WlanInterfaceEnum = "mxtunnel" WlanInterfaceEnum_SITEMXEDGE WlanInterfaceEnum = "site_mxedge" WlanInterfaceEnum_WXTUNNEL WlanInterfaceEnum = "wxtunnel" )
type 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]interface{} `json:"_"` }
WlanMistNac represents a WlanMistNac struct.
func (WlanMistNac) MarshalJSON ¶
func (w WlanMistNac) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanMistNac. It customizes the JSON marshaling process for WlanMistNac objects.
func (*WlanMistNac) UnmarshalJSON ¶
func (w *WlanMistNac) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanMistNac. It customizes the JSON unmarshaling process for WlanMistNac objects.
type WlanPortal ¶
type WlanPortal struct { // Optional if `amazon_enabled`==`true`. Whether to allow guest to connect to other Guest WLANs (with different `WLAN.ssid`) of same org without reauthentication (disable random_mac for seamless roaming) AllowWlanIdRoam *bool `json:"allow_wlan_id_roam,omitempty"` // Optional if `amazon_enabled`==`true`. Amazon OAuth2 client id. This is optional. If not provided, it will use a default one. AmazonClientId Optional[string] `json:"amazon_client_id"` // Optional if `amazon_enabled`==`true`. Amazon OAuth2 client secret. If amazon_client_id was provided, provide a correspoinding value. Else leave blank. AmazonClientSecret Optional[string] `json:"amazon_client_secret"` // Optional if `amazon_enabled`==`true`. Matches authenticated user email against provided domains. If null or [], all authenticated emails will be allowed. AmazonEmailDomains []string `json:"amazon_email_domains,omitempty"` // whether amazon is enabled as a login method AmazonEnabled *bool `json:"amazon_enabled,omitempty"` // Optional if `amazon_enabled`==`true`. Interval for which guest remains authorized using amazon auth (in minutes), if not provided, uses expire` AmazonExpire Optional[int] `json:"amazon_expire"` // authentication scheme. enum: `amazon`, `azure`, `email`, `external`, `facebook`, `google`, `microsoft`, `multi`, `none`, `password`, `sponsor`, `sso` Auth *WlanPortalAuthEnum `json:"auth,omitempty"` // Required if `azure_enabled`==`true`. Azure active directory app client id AzureClientId Optional[string] `json:"azure_client_id"` // Required if `azure_enabled`==`true`. Azure active directory app client secret AzureClientSecret Optional[string] `json:"azure_client_secret"` // whether Azure Active Directory is enabled as a login method AzureEnabled *bool `json:"azure_enabled,omitempty"` // interval for which guest remains authorized using azure auth (in minutes), if not provided, uses expire` AzureExpire Optional[int] `json:"azure_expire"` // Required if `azure_enabled`==`true`. Azure active directory tenant id. AzureTenantId Optional[string] `json:"azure_tenant_id"` // Required if `sms_provider`==`broadnet` BroadnetPassword *string `json:"broadnet_password,omitempty"` // Required if `sms_provider`==`broadnet` BroadnetSid *string `json:"broadnet_sid,omitempty"` // Required if `sms_provider`==`broadnet` BroadnetUserId *string `json:"broadnet_user_id,omitempty"` // whether to bypass the guest portal when cloud not reachable (and apply the default policies) BypassWhenCloudDown *bool `json:"bypass_when_cloud_down,omitempty"` // Required if `sms_provider`==`clickatell` ClickatellApiKey *string `json:"clickatell_api_key,omitempty"` // whether to allow guest to roam between WLANs (with same `WLAN.ssid`, regardless of variables) of different sites of same org without reauthentication (disable random_mac for seamless roaming) CrossSite *bool `json:"cross_site,omitempty"` // whether email (access code verification) is enabled as a login method EmailEnabled *bool `json:"email_enabled,omitempty"` // whether guest portal is enabled Enabled *bool `json:"enabled,omitempty"` // how long to remain authorized, in minutes Expire *int `json:"expire,omitempty"` // Required if `wlan_portal_auth`==`external`. External portal URL (e.g. https://host/url) where we can append our query parameters to ExternalPortalUrl *string `json:"external_portal_url,omitempty"` // Required if `facebook_enabled`==`true`. Facebook OAuth2 app id. This is optional. If not provided, it will use a default one. FacebookClientId Optional[string] `json:"facebook_client_id"` // Required if `facebook_enabled`==`true`. Facebook OAuth2 app secret. If facebook_client_id was provided, provide a correspoinding value. Else leave blank. FacebookClientSecret Optional[string] `json:"facebook_client_secret"` // Optional if `facebook_enabled`==`true`. Matches authenticated user email against provided domains. If null or [], all authenticated emails will be allowed. FacebookEmailDomains []string `json:"facebook_email_domains,omitempty"` // whether facebook is enabled as a login method FacebookEnabled *bool `json:"facebook_enabled,omitempty"` // Optional if `facebook_enabled`==`true`. Interval for which guest remains authorized using facebook auth (in minutes), if not provided, uses expire` FacebookExpire Optional[int] `json:"facebook_expire"` // whether to forward the user to another URL after authorized Forward *bool `json:"forward,omitempty"` // 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"` // Optional if `google_enabled`==`true`. Google OAuth2 app secret. If google_client_id was provided, provide a correspoinding value. Else leave blank. GoogleClientSecret Optional[string] `json:"google_client_secret"` // Optional if `google_enabled`==`true`. Matches authenticated user email against provided domains. If null or [], all authenticated emails will be allowed. GoogleEmailDomains []string `json:"google_email_domains,omitempty"` // whether google is enabled as login method GoogleEnabled *bool `json:"google_enabled,omitempty"` // Optional if `google_enabled`==`true`. Interval for which guest remains authorized using google auth (in minutes), if not provided, uses expire` GoogleExpire Optional[int] `json:"google_expire"` // Required if `sms_provider`==`gupshup` GupshupPassword *string `json:"gupshup_password,omitempty"` // Required if `sms_provider`==`gupshup` GupshupUserid *string `json:"gupshup_userid,omitempty"` // Optional if `microsoft_enabled`==`true`. Microsoft 365 OAuth2 client id. This is optional. If not provided, it will use a default one. MicrosoftClientId Optional[string] `json:"microsoft_client_id"` // Optional if `microsoft_enabled`==`true`. Microsoft 365 OAuth2 client secret. If microsoft_client_id was provided, provide a correspoinding value. Else leave blank. MicrosoftClientSecret Optional[string] `json:"microsoft_client_secret"` // Optional if `microsoft_enabled`==`true`. Matches authenticated user email against provided domains. If null or [], all authenticated emails will be allowed. MicrosoftEmailDomains []string `json:"microsoft_email_domains,omitempty"` // whether microsoft 365 is enabled as a login method MicrosoftEnabled *bool `json:"microsoft_enabled,omitempty"` // Optional if `microsoft_enabled`==`true`. Interval for which guest remains authorized using microsoft auth (in minutes), if not provided, uses expire` MicrosoftExpire Optional[int] `json:"microsoft_expire"` // Whether password is enabled PassphraseEnabled *bool `json:"passphrase_enabled,omitempty"` // Optional if `passphrase_enabled`==`true`. Interval for which guest remains authorized using passphrase auth (in minutes), if not provided, uses `expire` PassphraseExpire Optional[int] `json:"passphrase_expire"` // Required if `passphrase_enabled`==`true`. Password Optional[string] `json:"password"` // whether to show list of sponsor emails mentioned in `sponsors` object as a dropdown. If both `sponsor_notify_all` and `predefined_sponsors_enabled` are false, behaviour is acc to `sponsor_email_domains` PredefinedSponsorsEnabled *bool `json:"predefined_sponsors_enabled,omitempty"` // whether to hide sponsor’s email from list of sponsors PredefinedSponsorsHideEmail *bool `json:"predefined_sponsors_hide_email,omitempty"` Privacy *bool `json:"privacy,omitempty"` // Required if `sms_provider`==`puzzel` PuzzelPassword *string `json:"puzzel_password,omitempty"` // Required if `sms_provider`==`puzzel` PuzzelServiceId *string `json:"puzzel_service_id,omitempty"` // Required if `sms_provider`==`puzzel` PuzzelUsername *string `json:"puzzel_username,omitempty"` // Optional if `sms_enabled`==`true`. SMS Message format SmsMessageFormat *string `json:"smsMessageFormat,omitempty"` // whether sms is enabled as a login method SmsEnabled *bool `json:"sms_enabled,omitempty"` // Optional if `sms_enabled`==`true`. Interval for which guest remains authorized using sms auth (in minutes), if not provided, uses expire` SmsExpire Optional[int] `json:"sms_expire"` // Optioanl if `sms_enabled`==`true`. enum: `broadnet`, `clickatell`, `gupshup`, `manual`, `puzzel`, `telstra`, `twilio` SmsProvider *WlanPortalSmsProviderEnum `json:"sms_provider,omitempty"` // Optional if `sponsor_enabled`==`true`. Whether to automatically approve guest and allow sponsor to revoke guest access, needs predefined_sponsors_enabled enabled and sponsor_notify_all disabled SponsorAutoApprove *bool `json:"sponsor_auto_approve,omitempty"` // list of domain allowed for sponsor email. Required if `sponsor_enabled` is `true` and `sponsors` is empty. SponsorEmailDomains []string `json:"sponsor_email_domains,omitempty"` // whether sponsor is enabled SponsorEnabled *bool `json:"sponsor_enabled,omitempty"` // Optional if `sponsor_enabled`==`true`. Interval for which guest remains authorized using sponsor auth (in minutes), if not provided, uses expire` SponsorExpire Optional[int] `json:"sponsor_expire"` // Optional if `sponsor_enabled`==`true`. How long to remain valid sponsored guest request approve/deny link received in email, in minutes. SponsorLinkValidityDuration *string `json:"sponsor_link_validity_duration,omitempty"` // Optional if `sponsor_enabled`==`true`. whether to notify all sponsors that are mentioned in `sponsors` object. Both `sponsor_notify_all` and `predefined_sponsors_enabled` should be true in order to notify sponsors. If true, email sent to 10 sponsors in no particular order. SponsorNotifyAll *bool `json:"sponsor_notify_all,omitempty"` // Optional if `sponsor_enabled`==`true`. If enabled, guest will get email about sponsor's action (approve/deny) SponsorStatusNotify *bool `json:"sponsor_status_notify,omitempty"` // object of allowed sponsors email with name. Required if `sponsor_enabled` is `true` and `sponsor_email_domains` is empty. Property key is the sponsor email, Property value is the sponsor name. List of email allowed for backward compatibility Sponsors *WlanPortalSponsors `json:"sponsors,omitempty"` // Optionl if `wlan_portal_auth`==`sso`, default role to assign if there’s no match. By default, an assertion is treated as invalid when there’s no role matched SsoDefaultRole *string `json:"sso_default_role,omitempty"` // Optionl if `wlan_portal_auth`==`sso` SsoForcedRole *string `json:"sso_forced_role,omitempty"` // Required if `wlan_portal_auth`==`sso`. IDP Cert (used to verify the signed response) SsoIdpCert *string `json:"sso_idp_cert,omitempty"` // Optioanl if `wlan_portal_auth`==`sso`, Signing algorithm for SAML Assertion. enum: `sha1`, `sha256`, `sha384`, `sha512` SsoIdpSignAlgo *WlanPortalIdpSignAlgoEnum `json:"sso_idp_sign_algo,omitempty"` // Required if `wlan_portal_auth`==`sso`, IDP Single-Sign-On URL SsoIdpSsoUrl *string `json:"sso_idp_sso_url,omitempty"` // Required if `wlan_portal_auth`==`sso`, IDP issuer URL SsoIssuer *string `json:"sso_issuer,omitempty"` // Optional if `wlan_portal_auth`==`sso`. enum: `email`, `unspecified` SsoNameidFormat *WlanPortalSsoNameidFormatEnum `json:"sso_nameid_format,omitempty"` // Required if `sms_provider`==`telstra`, Client ID provided by Telstra TelstraClientId *string `json:"telstra_client_id,omitempty"` // Required if `sms_provider`==`telstra`, Client secret provided by Telstra TelstraClientSecret *string `json:"telstra_client_secret,omitempty"` // Required if `sms_provider`==`twilio`, Auth token account with twilio account TwilioAuthToken Optional[string] `json:"twilio_auth_token"` // Required if `sms_provider`==`twilio`, Twilio phone number associated with the account. See example for accepted format. TwilioPhoneNumber Optional[string] `json:"twilio_phone_number"` // Required if `sms_provider`==`twilio`, Account SID provided by Twilio TwilioSid Optional[string] `json:"twilio_sid"` AdditionalProperties map[string]interface{} `json:"_"` }
WlanPortal represents a WlanPortal struct. portal wlan settings
func (WlanPortal) MarshalJSON ¶
func (w WlanPortal) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanPortal. It customizes the JSON marshaling process for WlanPortal objects.
func (*WlanPortal) UnmarshalJSON ¶
func (w *WlanPortal) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanPortal. It customizes the JSON unmarshaling process for WlanPortal objects.
type WlanPortalAuthEnum ¶
type WlanPortalAuthEnum string
WlanPortalAuthEnum is a string enum. authentication scheme. enum: `amazon`, `azure`, `email`, `external`, `facebook`, `google`, `microsoft`, `multi`, `none`, `password`, `sponsor`, `sso`
const ( WlanPortalAuthEnum_AMAZON WlanPortalAuthEnum = "amazon" WlanPortalAuthEnum_AZURE WlanPortalAuthEnum = "azure" WlanPortalAuthEnum_EMAIL WlanPortalAuthEnum = "email" WlanPortalAuthEnum_EXTERNAL WlanPortalAuthEnum = "external" WlanPortalAuthEnum_FACEBOOK WlanPortalAuthEnum = "facebook" WlanPortalAuthEnum_GOOGLE WlanPortalAuthEnum = "google" WlanPortalAuthEnum_MICROSOFT WlanPortalAuthEnum = "microsoft" WlanPortalAuthEnum_MULTI WlanPortalAuthEnum = "multi" WlanPortalAuthEnum_NONE WlanPortalAuthEnum = "none" WlanPortalAuthEnum_PASSWORD WlanPortalAuthEnum = "password" WlanPortalAuthEnum_SPONSOR WlanPortalAuthEnum = "sponsor" WlanPortalAuthEnum_SSO WlanPortalAuthEnum = "sso" )
type WlanPortalIdpSignAlgoEnum ¶ added in v0.3.33
type WlanPortalIdpSignAlgoEnum string
WlanPortalIdpSignAlgoEnum is a string enum. Optioanl if `wlan_portal_auth`==`sso`, Signing algorithm for SAML Assertion. enum: `sha1`, `sha256`, `sha384`, `sha512`
const ( WlanPortalIdpSignAlgoEnum_SHA1 WlanPortalIdpSignAlgoEnum = "sha1" WlanPortalIdpSignAlgoEnum_SHA256 WlanPortalIdpSignAlgoEnum = "sha256" WlanPortalIdpSignAlgoEnum_SHA384 WlanPortalIdpSignAlgoEnum = "sha384" WlanPortalIdpSignAlgoEnum_SHA512 WlanPortalIdpSignAlgoEnum = "sha512" )
type WlanPortalSmsProviderEnum ¶
type WlanPortalSmsProviderEnum string
WlanPortalSmsProviderEnum is a string enum. Optioanl if `sms_enabled`==`true`. enum: `broadnet`, `clickatell`, `gupshup`, `manual`, `puzzel`, `telstra`, `twilio`
const ( WlanPortalSmsProviderEnum_BROADNET WlanPortalSmsProviderEnum = "broadnet" WlanPortalSmsProviderEnum_CLICKATELL WlanPortalSmsProviderEnum = "clickatell" WlanPortalSmsProviderEnum_GUPSHUP WlanPortalSmsProviderEnum = "gupshup" WlanPortalSmsProviderEnum_MANUAL WlanPortalSmsProviderEnum = "manual" WlanPortalSmsProviderEnum_PUZZEL WlanPortalSmsProviderEnum = "puzzel" WlanPortalSmsProviderEnum_TELSTRA WlanPortalSmsProviderEnum = "telstra" WlanPortalSmsProviderEnum_TWILIO WlanPortalSmsProviderEnum = "twilio" )
type WlanPortalSponsors ¶ added in v0.3.4
type WlanPortalSponsors struct {
// contains filtered or unexported fields
}
WlanPortalSponsors represents a WlanPortalSponsors struct. object of allowed sponsors email with name. Required if `sponsor_enabled` is `true` and `sponsor_email_domains` is empty. Property key is the sponsor email, Property value is the sponsor name. List of email allowed for backward compatibility
func (*WlanPortalSponsors) AsArrayOfString ¶ added in v0.3.4
func (w *WlanPortalSponsors) AsArrayOfString() ( *[]string, bool)
func (*WlanPortalSponsors) AsMapOfString ¶ added in v0.3.4
func (w *WlanPortalSponsors) AsMapOfString() ( *map[string]string, bool)
func (WlanPortalSponsors) MarshalJSON ¶ added in v0.3.4
func (w WlanPortalSponsors) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanPortalSponsors. It customizes the JSON marshaling process for WlanPortalSponsors objects.
func (WlanPortalSponsors) String ¶ added in v0.3.4
func (w WlanPortalSponsors) String() string
String converts the WlanPortalSponsors object to a string representation.
func (*WlanPortalSponsors) UnmarshalJSON ¶ added in v0.3.4
func (w *WlanPortalSponsors) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanPortalSponsors. It customizes the JSON unmarshaling process for WlanPortalSponsors objects.
type WlanPortalSsoNameidFormatEnum ¶
type WlanPortalSsoNameidFormatEnum string
WlanPortalSsoNameidFormatEnum is a string enum. Optional if `wlan_portal_auth`==`sso`. enum: `email`, `unspecified`
const ( WlanPortalSsoNameidFormatEnum_EMAIL WlanPortalSsoNameidFormatEnum = "email" WlanPortalSsoNameidFormatEnum_UNSPECIFIED WlanPortalSsoNameidFormatEnum = "unspecified" )
type WlanPortalTemplate ¶
type WlanPortalTemplate struct { // portal template wlan settings PortalTemplate *WlanPortalTemplateSetting `json:"portal_template,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
WlanPortalTemplate represents a WlanPortalTemplate struct.
func (WlanPortalTemplate) MarshalJSON ¶
func (w WlanPortalTemplate) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanPortalTemplate. It customizes the JSON marshaling process for WlanPortalTemplate objects.
func (*WlanPortalTemplate) UnmarshalJSON ¶
func (w *WlanPortalTemplate) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanPortalTemplate. It customizes the JSON unmarshaling process for WlanPortalTemplate objects.
type WlanPortalTemplateSetting ¶
type WlanPortalTemplateSetting struct { AccessCodeAlternateEmail *string `json:"accessCodeAlternateEmail,omitempty"` // defines alignment on portal. enum: `center`, `left`, `right` Alignment *PortalTemplateAlignmentEnum `json:"alignment,omitempty"` Ar *WlanPortalTemplateSettingLocale `json:"ar,omitempty"` // label for Amazon auth button AuthButtonAmazon *string `json:"authButtonAmazon,omitempty"` // label for Azure auth button AuthButtonAzure *string `json:"authButtonAzure,omitempty"` // label for Email auth button AuthButtonEmail *string `json:"authButtonEmail,omitempty"` // label for Facebook auth button AuthButtonFacebook *string `json:"authButtonFacebook,omitempty"` // label for Google auth button AuthButtonGoogle *string `json:"authButtonGoogle,omitempty"` // label for Microsoft auth button AuthButtonMicrosoft *string `json:"authButtonMicrosoft,omitempty"` // label for passphrase auth button AuthButtonPassphrase *string `json:"authButtonPassphrase,omitempty"` // label for SMS auth button AuthButtonSms *string `json:"authButtonSms,omitempty"` // label for Sponsor auth button AuthButtonSponsor *string `json:"authButtonSponsor,omitempty"` AuthLabel *string `json:"authLabel,omitempty"` // label of the link to go back to /logon BackLink *string `json:"backLink,omitempty"` CaES *WlanPortalTemplateSettingLocale `json:"ca-ES,omitempty"` // Portal main color Color *string `json:"color,omitempty"` ColorDark *string `json:"colorDark,omitempty"` ColorLight *string `json:"colorLight,omitempty"` // whether company field is required Company *bool `json:"company,omitempty"` // error message when company not provided CompanyError *string `json:"companyError,omitempty"` // label of company field CompanyLabel *string `json:"companyLabel,omitempty"` CsCZ *WlanPortalTemplateSettingLocale `json:"cs-CZ,omitempty"` DaDK *WlanPortalTemplateSettingLocale `json:"da-DK,omitempty"` DeDE *WlanPortalTemplateSettingLocale `json:"de-DE,omitempty"` ElGR *WlanPortalTemplateSettingLocale `json:"el-GR,omitempty"` // whether email field is required Email *bool `json:"email,omitempty"` // error message when a user has valid social login but doesn't match specified email domains. EmailAccessDomainError *string `json:"emailAccessDomainError,omitempty"` // Label for cancel confirmation code submission using email auth EmailCancel *string `json:"emailCancel,omitempty"` EmailCodeCancel *string `json:"emailCodeCancel,omitempty"` EmailCodeError *string `json:"emailCodeError,omitempty"` EmailCodeFieldLabel *string `json:"emailCodeFieldLabel,omitempty"` EmailCodeMessage *string `json:"emailCodeMessage,omitempty"` EmailCodeSubmit *string `json:"emailCodeSubmit,omitempty"` EmailCodeTitle *string `json:"emailCodeTitle,omitempty"` // error message when email not provided EmailError *string `json:"emailError,omitempty"` EmailFieldLabel *string `json:"emailFieldLabel,omitempty"` // label of email field EmailLabel *string `json:"emailLabel,omitempty"` EmailMessage *string `json:"emailMessage,omitempty"` // Label for confirmation code submit button using email auth EmailSubmit *string `json:"emailSubmit,omitempty"` // Title for the Email registration EmailTitle *string `json:"emailTitle,omitempty"` EnGB *WlanPortalTemplateSettingLocale `json:"en-GB,omitempty"` EnUS *WlanPortalTemplateSettingLocale `json:"en-US,omitempty"` EsES *WlanPortalTemplateSettingLocale `json:"es-ES,omitempty"` FiFI *WlanPortalTemplateSettingLocale `json:"fi-FI,omitempty"` // whether to ask field1 Field1 *bool `json:"field1,omitempty"` // error message when field1 not provided Field1Error *string `json:"field1Error,omitempty"` // label of field1 Field1Label *string `json:"field1Label,omitempty"` // whether field1 is required field Field1Required *bool `json:"field1Required,omitempty"` // whether to ask field2 Field2 *bool `json:"field2,omitempty"` // error message when field2 not provided Field2Error *string `json:"field2Error,omitempty"` // label of field2 Field2Label *string `json:"field2Label,omitempty"` // whether field2 is required field Field2Required *bool `json:"field2Required,omitempty"` // whether to ask field3 Field3 *bool `json:"field3,omitempty"` // error message when field3 not provided Field3Error *string `json:"field3Error,omitempty"` // label of field3 Field3Label *string `json:"field3Label,omitempty"` // whether field3 is required field Field3Required *bool `json:"field3Required,omitempty"` // whether to ask field4 Field4 *bool `json:"field4,omitempty"` // error message when field4 not provided Field4Error *string `json:"field4Error,omitempty"` // label of field4 Field4Label *string `json:"field4Label,omitempty"` // whether field4 is required field Field4Required *bool `json:"field4Required,omitempty"` FrFR *WlanPortalTemplateSettingLocale `json:"fr-FR,omitempty"` HeIL *WlanPortalTemplateSettingLocale `json:"he-IL,omitempty"` HiIN *WlanPortalTemplateSettingLocale `json:"hi-IN,omitempty"` HrHR *WlanPortalTemplateSettingLocale `json:"hr-HR,omitempty"` HuHU *WlanPortalTemplateSettingLocale `json:"hu-HU,omitempty"` IdID *WlanPortalTemplateSettingLocale `json:"id-ID,omitempty"` ItIT *WlanPortalTemplateSettingLocale `json:"it-IT,omitempty"` JaJP *WlanPortalTemplateSettingLocale `json:"ja-JP,omitempty"` KoKR *WlanPortalTemplateSettingLocale `json:"ko-KR,omitempty"` // custom logo with `data:image/png;base64,` format, default null, uses Juniper Mist Logo. File size must be less than 100kB and image dimensions must be less than 500px x 200px (width x height). Logo Optional[string] `json:"logo"` // height of the logo, in px LogoHeight *int `json:"logoHeight,omitempty"` // width of the logo, in px LogoWidth *int `json:"logoWidth,omitempty"` Message *string `json:"message,omitempty"` MsMY *WlanPortalTemplateSettingLocale `json:"ms-MY,omitempty"` MultiAuth *bool `json:"multiAuth,omitempty"` // whether name field is required Name *bool `json:"name,omitempty"` // error message when name not provided NameError *string `json:"nameError,omitempty"` // label of name field NameLabel *string `json:"nameLabel,omitempty"` NbNO *WlanPortalTemplateSettingLocale `json:"nb-NO,omitempty"` NlNL *WlanPortalTemplateSettingLocale `json:"nl-NL,omitempty"` // Default value for the `Do not store` checkbox OptOutDefault *bool `json:"optOutDefault,omitempty"` // whether to display Do Not Store My Personal Information Optout *bool `json:"optout,omitempty"` // label for Do Not Store My Personal Information OptoutLabel *string `json:"optoutLabel,omitempty"` PageTitle string `json:"pageTitle"` // Label for the Passphrase cancel button PassphraseCancel *string `json:"passphraseCancel,omitempty"` // error message when invalid passphrase is provided PassphraseError *string `json:"passphraseError,omitempty"` // Passphrase PassphraseLabel *string `json:"passphraseLabel,omitempty"` PassphraseMessage *string `json:"passphraseMessage,omitempty"` // Label for the Passphrase submit button PassphraseSubmit *string `json:"passphraseSubmit,omitempty"` // Title for passphrase details page PassphraseTitle *string `json:"passphraseTitle,omitempty"` PlPL *WlanPortalTemplateSettingLocale `json:"pl-PL,omitempty"` // whether to show \"Powered by Mist\" PoweredBy *bool `json:"poweredBy,omitempty"` // wheter to require the Privacy Term acceptance Privacy *bool `json:"privacy,omitempty"` // prefix of the label of the link to go to Privacy Policy PrivacyPolicyAcceptLabel *string `json:"privacyPolicyAcceptLabel,omitempty"` // error message when Privacy Policy not accepted PrivacyPolicyError *string `json:"privacyPolicyError,omitempty"` // label of the link to go to Privacy Policy PrivacyPolicyLink *string `json:"privacyPolicyLink,omitempty"` // text of the Privacy Policy PrivacyPolicyText *string `json:"privacyPolicyText,omitempty"` PtBR *WlanPortalTemplateSettingLocale `json:"pt-BR,omitempty"` PtPT *WlanPortalTemplateSettingLocale `json:"pt-PT,omitempty"` // label to denote required field RequiredFieldLabel *string `json:"requiredFieldLabel,omitempty"` ResponsiveLayout *bool `json:"responsiveLayout,omitempty"` RoRO *WlanPortalTemplateSettingLocale `json:"ro-RO,omitempty"` RuRU *WlanPortalTemplateSettingLocale `json:"ru-RU,omitempty"` // label of the button to /signin SignInLabel *string `json:"signInLabel,omitempty"` SkSK *WlanPortalTemplateSettingLocale `json:"sk-SK,omitempty"` SmsCarrierDefault *string `json:"smsCarrierDefault,omitempty"` SmsCarrierError *string `json:"smsCarrierError,omitempty"` // label for mobile carrier drop-down list SmsCarrierFieldLabel *string `json:"smsCarrierFieldLabel,omitempty"` // Label for cancel confirmation code submission SmsCodeCancel *string `json:"smsCodeCancel,omitempty"` // error message when confirmation code is invalid SmsCodeError *string `json:"smsCodeError,omitempty"` SmsCodeFieldLabel *string `json:"smsCodeFieldLabel,omitempty"` SmsCodeMessage *string `json:"smsCodeMessage,omitempty"` // Label for confirmation code submit button SmsCodeSubmit *string `json:"smsCodeSubmit,omitempty"` SmsCodeTitle *string `json:"smsCodeTitle,omitempty"` SmsCountryFieldLabel *string `json:"smsCountryFieldLabel,omitempty"` SmsCountryFormat *string `json:"smsCountryFormat,omitempty"` // Label for checkbox to specify that the user has access code SmsHaveAccessCode *string `json:"smsHaveAccessCode,omitempty"` SmsIsTwilio *bool `json:"smsIsTwilio,omitempty"` // format of access code sms message. {{code}} and {{duration}} are 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 *int `json:"smsValidityDuration,omitempty"` SponsorBackLink *string `json:"sponsorBackLink,omitempty"` SponsorCancel *string `json:"sponsorCancel,omitempty"` // label for Sponsor Email SponsorEmail *string `json:"sponsorEmail,omitempty"` SponsorEmailError *string `json:"sponsorEmailError,omitempty"` // html template to replace/override default sponsor email template // Sponsor Email Template supports following template variables: // * `approve_url`: Renders URL to approve the request; optionally &minutes=N query param can be appended to change the Authorization period of the guest, where N is a valid integer denoting number of minutes a guest remains authorized // * `deny_url`: Renders URL to reject the request // * `guest_email`: Renders Email ID of the guest // * `guest_name`: Renders Name of the guest // * `field1`: Renders value of the Custom Field 1 // * `field2`: Renders value of the Custom Field 2 // * `sponsor_link_validity_duration`: Renders validity time of the request (i.e. Approve/Deny URL) // * `auth_expire_minutes`: Renders Wlan-level configured Guest Authorization Expiration time period (in minutes), If not configured then default (1 day in minutes) SponsorEmailTemplate *string `json:"sponsorEmailTemplate,omitempty"` SponsorInfoApproved *string `json:"sponsorInfoApproved,omitempty"` SponsorInfoDenied *string `json:"sponsorInfoDenied,omitempty"` SponsorInfoPending *string `json:"sponsorInfoPending,omitempty"` // label for Sponsor Name SponsorName *string `json:"sponsorName,omitempty"` SponsorNameError *string `json:"sponsorNameError,omitempty"` SponsorNotePending *string `json:"sponsorNotePending,omitempty"` // submit button label request Wifi Access and notify sponsor about guest request SponsorRequestAccess *string `json:"sponsorRequestAccess,omitempty"` // text to display if sponsor approves request SponsorStatusApproved *string `json:"sponsorStatusApproved,omitempty"` // text to display when sponsor denies request SponsorStatusDenied *string `json:"sponsorStatusDenied,omitempty"` // text to display if request is still pending SponsorStatusPending *string `json:"sponsorStatusPending,omitempty"` // submit button label to notify sponsor about guest request SponsorSubmit *string `json:"sponsorSubmit,omitempty"` SponsorsError *string `json:"sponsorsError,omitempty"` SponsorsFieldLabel *string `json:"sponsorsFieldLabel,omitempty"` SvSE *WlanPortalTemplateSettingLocale `json:"sv-SE,omitempty"` ThTH *WlanPortalTemplateSettingLocale `json:"th-TH,omitempty"` Tos *bool `json:"tos,omitempty"` // prefix of the label of the link to go to tos TosAcceptLabel *string `json:"tosAcceptLabel,omitempty"` // error message when tos not accepted TosError *string `json:"tosError,omitempty"` // label of the link to go to tos TosLink *string `json:"tosLink,omitempty"` // text of the Terms of Service TosText *string `json:"tosText,omitempty"` TrTR *WlanPortalTemplateSettingLocale `json:"tr-TR,omitempty"` UkUA *WlanPortalTemplateSettingLocale `json:"uk-UA,omitempty"` ViVN *WlanPortalTemplateSettingLocale `json:"vi-VN,omitempty"` ZhHans *WlanPortalTemplateSettingLocale `json:"zh-Hans,omitempty"` ZhHant *WlanPortalTemplateSettingLocale `json:"zh-Hant,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
WlanPortalTemplateSetting represents a WlanPortalTemplateSetting struct. portal template wlan settings
func (WlanPortalTemplateSetting) MarshalJSON ¶
func (w WlanPortalTemplateSetting) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanPortalTemplateSetting. It customizes the JSON marshaling process for WlanPortalTemplateSetting objects.
func (*WlanPortalTemplateSetting) UnmarshalJSON ¶
func (w *WlanPortalTemplateSetting) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanPortalTemplateSetting. It customizes the JSON unmarshaling process for WlanPortalTemplateSetting objects.
type WlanPortalTemplateSettingLocale ¶ added in v0.3.7
type WlanPortalTemplateSettingLocale struct { // label for Amazon auth button AuthButtonAmazon *string `json:"authButtonAmazon,omitempty"` // label for Azure auth button AuthButtonAzure *string `json:"authButtonAzure,omitempty"` // label for Email auth button AuthButtonEmail *string `json:"authButtonEmail,omitempty"` // label for Facebook auth button AuthButtonFacebook *string `json:"authButtonFacebook,omitempty"` // label for Google auth button AuthButtonGoogle *string `json:"authButtonGoogle,omitempty"` // label for Microsoft auth button AuthButtonMicrosoft *string `json:"authButtonMicrosoft,omitempty"` // label for passphrase auth button AuthButtonPassphrase *string `json:"authButtonPassphrase,omitempty"` // label for SMS auth button AuthButtonSms *string `json:"authButtonSms,omitempty"` // label for Sponsor auth button AuthButtonSponsor *string `json:"authButtonSponsor,omitempty"` AuthLabel *string `json:"authLabel,omitempty"` // label of the link to go back to /logon BackLink *string `json:"backLink,omitempty"` // error message when company not provided CompanyError *string `json:"companyError,omitempty"` // label of company field CompanyLabel *string `json:"companyLabel,omitempty"` // error message when a user has valid social login but doesn't match specified email domains. EmailAccessDomainError *string `json:"emailAccessDomainError,omitempty"` // Label for cancel confirmation code submission using email auth EmailCancel *string `json:"emailCancel,omitempty"` EmailCodeCancel *string `json:"emailCodeCancel,omitempty"` EmailCodeError *string `json:"emailCodeError,omitempty"` EmailCodeFieldLabel *string `json:"emailCodeFieldLabel,omitempty"` EmailCodeMessage *string `json:"emailCodeMessage,omitempty"` EmailCodeSubmit *string `json:"emailCodeSubmit,omitempty"` EmailCodeTitle *string `json:"emailCodeTitle,omitempty"` // error message when email not provided EmailError *string `json:"emailError,omitempty"` EmailFieldLabel *string `json:"emailFieldLabel,omitempty"` // label of email field EmailLabel *string `json:"emailLabel,omitempty"` EmailMessage *string `json:"emailMessage,omitempty"` // Label for confirmation code submit button using email auth EmailSubmit *string `json:"emailSubmit,omitempty"` // Title for the Email registration EmailTitle *string `json:"emailTitle,omitempty"` // error message when field1 not provided Field1Error *string `json:"field1Error,omitempty"` // label of field1 Field1Label *string `json:"field1Label,omitempty"` // error message when field2 not provided Field2Error *string `json:"field2Error,omitempty"` // label of field2 Field2Label *string `json:"field2Label,omitempty"` // error message when field3 not provided Field3Error *string `json:"field3Error,omitempty"` // label of field3 Field3Label *string `json:"field3Label,omitempty"` // error message when field4 not provided Field4Error *string `json:"field4Error,omitempty"` // label of field4 Field4Label *string `json:"field4Label,omitempty"` Message *string `json:"message,omitempty"` // error message when name not provided NameError *string `json:"nameError,omitempty"` // label of name field NameLabel *string `json:"nameLabel,omitempty"` // label for Do Not Store My Personal Information OptoutLabel *string `json:"optoutLabel,omitempty"` PageTitle *string `json:"pageTitle,omitempty"` // Label for the Passphrase cancel button PassphraseCancel *string `json:"passphraseCancel,omitempty"` // error message when invalid passphrase is provided PassphraseError *string `json:"passphraseError,omitempty"` // Passphrase PassphraseLabel *string `json:"passphraseLabel,omitempty"` PassphraseMessage *string `json:"passphraseMessage,omitempty"` // Label for the Passphrase submit button PassphraseSubmit *string `json:"passphraseSubmit,omitempty"` // Title for passphrase details page PassphraseTitle *string `json:"passphraseTitle,omitempty"` // prefix of the label of the link to go to Privacy Policy PrivacyPolicyAcceptLabel *string `json:"privacyPolicyAcceptLabel,omitempty"` // error message when Privacy Policy not accepted PrivacyPolicyError *string `json:"privacyPolicyError,omitempty"` // label of the link to go to Privacy Policy PrivacyPolicyLink *string `json:"privacyPolicyLink,omitempty"` // text of the Privacy Policy PrivacyPolicyText *string `json:"privacyPolicyText,omitempty"` // label to denote required field RequiredFieldLabel *string `json:"requiredFieldLabel,omitempty"` // label of the button to /signin SignInLabel *string `json:"signInLabel,omitempty"` SmsCarrierDefault *string `json:"smsCarrierDefault,omitempty"` SmsCarrierError *string `json:"smsCarrierError,omitempty"` // label for mobile carrier drop-down list SmsCarrierFieldLabel *string `json:"smsCarrierFieldLabel,omitempty"` // Label for cancel confirmation code submission SmsCodeCancel *string `json:"smsCodeCancel,omitempty"` // error message when confirmation code is invalid SmsCodeError *string `json:"smsCodeError,omitempty"` SmsCodeFieldLabel *string `json:"smsCodeFieldLabel,omitempty"` SmsCodeMessage *string `json:"smsCodeMessage,omitempty"` // Label for confirmation code submit button SmsCodeSubmit *string `json:"smsCodeSubmit,omitempty"` SmsCodeTitle *string `json:"smsCodeTitle,omitempty"` SmsCountryFieldLabel *string `json:"smsCountryFieldLabel,omitempty"` SmsCountryFormat *string `json:"smsCountryFormat,omitempty"` // Label for checkbox to specify that the user has access code SmsHaveAccessCode *string `json:"smsHaveAccessCode,omitempty"` // format of access code sms message. {{code}} and {{duration}} are 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"` SponsorBackLink *string `json:"sponsorBackLink,omitempty"` SponsorCancel *string `json:"sponsorCancel,omitempty"` // label for Sponsor Email SponsorEmail *string `json:"sponsorEmail,omitempty"` SponsorEmailError *string `json:"sponsorEmailError,omitempty"` SponsorInfoApproved *string `json:"sponsorInfoApproved,omitempty"` SponsorInfoDenied *string `json:"sponsorInfoDenied,omitempty"` SponsorInfoPending *string `json:"sponsorInfoPending,omitempty"` // label for Sponsor Name SponsorName *string `json:"sponsorName,omitempty"` SponsorNameError *string `json:"sponsorNameError,omitempty"` SponsorNotePending *string `json:"sponsorNotePending,omitempty"` // submit button label request Wifi Access and notify sponsor about guest request SponsorRequestAccess *string `json:"sponsorRequestAccess,omitempty"` // text to display if sponsor approves request SponsorStatusApproved *string `json:"sponsorStatusApproved,omitempty"` // text to display when sponsor denies request SponsorStatusDenied *string `json:"sponsorStatusDenied,omitempty"` // text to display if request is still pending SponsorStatusPending *string `json:"sponsorStatusPending,omitempty"` // submit button label to notify sponsor about guest request SponsorSubmit *string `json:"sponsorSubmit,omitempty"` SponsorsError *string `json:"sponsorsError,omitempty"` SponsorsFieldLabel *string `json:"sponsorsFieldLabel,omitempty"` // prefix of the label of the link to go to tos TosAcceptLabel *string `json:"tosAcceptLabel,omitempty"` // error message when tos not accepted TosError *string `json:"tosError,omitempty"` // label of the link to go to tos TosLink *string `json:"tosLink,omitempty"` // text of the Terms of Service TosText *string `json:"tosText,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
WlanPortalTemplateSettingLocale represents a WlanPortalTemplateSettingLocale struct.
func (WlanPortalTemplateSettingLocale) MarshalJSON ¶ added in v0.3.7
func (w WlanPortalTemplateSettingLocale) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanPortalTemplateSettingLocale. It customizes the JSON marshaling process for WlanPortalTemplateSettingLocale objects.
func (*WlanPortalTemplateSettingLocale) UnmarshalJSON ¶ added in v0.3.7
func (w *WlanPortalTemplateSettingLocale) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WlanPortalTemplateSettingLocale. It customizes the JSON unmarshaling process for WlanPortalTemplateSettingLocale objects.
type WlanQos ¶
type WlanQos struct { // enum: `background`, `best_effort`, `video`, `voice` Class *WlanQosClassEnum `json:"class,omitempty"` // whether to overwrite QoS Overwrite *bool `json:"overwrite,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
WlanQos represents a WlanQos struct.
func (WlanQos) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for WlanQos. It customizes the JSON marshaling process for WlanQos objects.
func (*WlanQos) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for WlanQos. It customizes the JSON unmarshaling process for WlanQos objects.
type WlanQosClassEnum ¶
type WlanQosClassEnum string
WlanQosClassEnum is a string enum. enum: `background`, `best_effort`, `video`, `voice`
const ( WlanQosClassEnum_BACKGROUND WlanQosClassEnum = "background" WlanQosClassEnum_BESTEFFORT WlanQosClassEnum = "best_effort" WlanQosClassEnum_VIDEO WlanQosClassEnum = "video" WlanQosClassEnum_VOICE WlanQosClassEnum = "voice" )
type WlanRoamModeEnum ¶
type WlanRoamModeEnum string
WlanRoamModeEnum is a string enum. enum: `11r`, `OKC`, `NONE`
const ( WlanRoamModeEnum_ENUM11R WlanRoamModeEnum = "11r" WlanRoamModeEnum_NONE WlanRoamModeEnum = "NONE" WlanRoamModeEnum_OKC WlanRoamModeEnum = "OKC" )
type WlanSchedule ¶
type WlanSchedule struct { Enabled *bool `json:"enabled,omitempty"` // hours of operation filter, the available days (mon, tue, wed, thu, fri, sat, sun). // **Note**: If the dow is not defined then it\u2019\ s treated as 00:00-23:59. Hours *Hours `json:"hours,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
WlanSchedule represents a WlanSchedule struct. WLAN operating schedule, default is disabled
func (WlanSchedule) MarshalJSON ¶
func (w WlanSchedule) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanSchedule. It customizes the JSON marshaling process for WlanSchedule objects.
func (*WlanSchedule) 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 WlanVlanIds ¶ added in v0.2.23
type WlanVlanIds struct {
// contains filtered or unexported fields
}
WlanVlanIds represents a WlanVlanIds struct.
func (*WlanVlanIds) AsArrayOfVlanIdWithVariable2 ¶ added in v0.4.20
func (w *WlanVlanIds) AsArrayOfVlanIdWithVariable2() ( *[]VlanIdWithVariable, bool)
func (*WlanVlanIds) AsString ¶ added in v0.2.23
func (w *WlanVlanIds) AsString() ( *string, bool)
func (WlanVlanIds) MarshalJSON ¶ added in v0.2.23
func (w WlanVlanIds) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WlanVlanIds. It customizes the JSON marshaling process for WlanVlanIds objects.
func (WlanVlanIds) String ¶ added in v0.2.23
func (w WlanVlanIds) String() string
String 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. enum: `allow`, `block` Action *WxlanRuleActionEnum `json:"action,omitempty"` ApplyTags []string `json:"apply_tags,omitempty"` // blocked apps (always blocking, ignoring action), the key of Get Application List BlockedApps []string `json:"blocked_apps,omitempty"` // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` DstAllowWxtags []string `json:"dst_allow_wxtags"` DstDenyWxtags []string `json:"dst_deny_wxtags"` // List of WxTag UUID Enabled *bool `json:"enabled,omitempty"` ForSite *bool `json:"for_site,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` // the order how rules would be looked up, > 0 and bigger order got matched first, -1 means LAST, uniqueness not checked Order int `json:"order"` OrgId *uuid.UUID `json:"org_id,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` SrcWxtags []string `json:"src_wxtags"` // Only for Org Level WxRule TemplateId *uuid.UUID `json:"template_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
WxlanRule represents a WxlanRule struct. WXlan
func (WxlanRule) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for WxlanRule. It customizes the JSON marshaling process for WxlanRule objects.
func (*WxlanRule) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for WxlanRule. It customizes the JSON unmarshaling process for WxlanRule objects.
type WxlanRuleActionEnum ¶
type WxlanRuleActionEnum string
WxlanRuleActionEnum is a string enum. type of action, allow / block. enum: `allow`, `block`
const ( WxlanRuleActionEnum_ALLOW WxlanRuleActionEnum = "allow" WxlanRuleActionEnum_BLOCK WxlanRuleActionEnum = "block" )
type WxlanTag ¶
type WxlanTag struct { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` ForSite *bool `json:"for_site,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` LastIps []string `json:"last_ips,omitempty"` // if `type`==`client`, Client MAC Address Mac Optional[string] `json:"mac"` // required if `type`==`match`. enum: `ap_id`, `app`, `asset_mac`, `client_mac`, `hostname`, `ip_range_subnet`, `port`, `psk_name`, `psk_role`, `radius_attr`, `radius_class`, `radius_group`, `radius_username`, `sdkclient_uuid`, `wlan_id` Match *WxlanTagMatchEnum `json:"match,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` // The name Name string `json:"name"` // required if `type`==`match`, type of tag (inclusive/exclusive). enum: `in`, `not_in` Op *WxlanTagOperationEnum `json:"op,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` ResourceMac Optional[string] `json:"resource_mac"` Services []string `json:"services,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` // if `type`==`spec` Specs []WxlanTagSpec `json:"specs,omitempty"` Subnet *string `json:"subnet,omitempty"` // enum: `client`, `match`, `resource`, `spec`, `subnet`, `vlan` Type WxlanTagTypeEnum `json:"type"` // required if `type`==`match` and // * `match`==`ap_id`: list of AP IDs // * `match`==`app`: list of Application Names // * `match`==`asset_mac`: list of Asset MAC Addresses // * `match`==`client_mac`: list of Client MAC Addresses // * `match`==`hostname`: list of Resources Hostnames // * `match`==`ip_range_subnet`: list of IP Addresses and/or CIDRs // * `match`==`psk_name`: list of PSK Names // * `match`==`psk_role`: list of PSK Roles // * `match`==`port`: list of Ports or Port Ranges // * `match`==`radius_attr`: list of RADIUS Attributes. The values are [ “6=1”, “26=10.2.3.4” ], this support other RADIUS attributes where we know the type // * `match`==`radius_class`: list of RADIUS Classes. This matches the ATTR-Class(25) // * `match`==`radius_group`: list of RADIUS Groups. This is a smart tag that matches RADIUS-Filter-ID, Airespace-ACL-Name (VendorID=14179, VendorType=6) / Aruba-User-Role (VendorID=14823, VendorType=1) // * `match`==`radius_username`: list of RADIUS Usernames. This matches the ATTR-User-Name(1) // * `match`==`sdkclient_uuid`: list of SDK UUIDs // * `match`==`wlan_id`: list of WLAN IDs // **Notes**: // Variables are not allowed Values []string `json:"values,omitempty"` // if `type`==`vlan_id`, VLAN ID or variable VlanId *WxlanTagVlanId `json:"vlan_id,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
WxlanTag represents a WxlanTag struct. WxLAN Tag * type: * client: created manually (e.g. on wireless client table, when they spot a device of interest, they can create a wxlan tag for it * resource: created automatically when we discover a network resource * subnet: create automatically when a subnet is discovered * match: * wlan_id, ap_id: values are a list of Wlan / Device ids * client_mac: values are a list of MAC addresses * radius_group: this is a smart tag that matches RADIUS-Filter-ID, Airespace-ACL-Name (VendorID=14179, VendorType=6) / Aruba-User-Role (VendorID=14823, VendorType=1) * radius_username: this matches the ATTR-User-Name(1) * radius_class: thie matches the ATTR-Class(25) * radius_attr: the values are [ \u201C6=1\u201D, \u201C26=10.2.3.4\u201D ], this support other RADIUS attributes where we know the type * radius_vendor: the values are [ \u201C14179.10=1\u201D, \u201C14178.16=1.2.3.4\u201D ], 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. required if `type`==`match`. enum: `ap_id`, `app`, `asset_mac`, `client_mac`, `hostname`, `ip_range_subnet`, `port`, `psk_name`, `psk_role`, `radius_attr`, `radius_class`, `radius_group`, `radius_username`, `sdkclient_uuid`, `wlan_id`
const ( WxlanTagMatchEnum_APID WxlanTagMatchEnum = "ap_id" WxlanTagMatchEnum_APP WxlanTagMatchEnum = "app" WxlanTagMatchEnum_ASSETMAC WxlanTagMatchEnum = "asset_mac" WxlanTagMatchEnum_CLIENTMAC WxlanTagMatchEnum = "client_mac" WxlanTagMatchEnum_HOSTNAME WxlanTagMatchEnum = "hostname" WxlanTagMatchEnum_IPRANGESUBNET WxlanTagMatchEnum = "ip_range_subnet" WxlanTagMatchEnum_PORT WxlanTagMatchEnum = "port" WxlanTagMatchEnum_PSKNAME WxlanTagMatchEnum = "psk_name" WxlanTagMatchEnum_PSKROLE WxlanTagMatchEnum = "psk_role" WxlanTagMatchEnum_RADIUSATTR WxlanTagMatchEnum = "radius_attr" WxlanTagMatchEnum_RADIUSCLASS WxlanTagMatchEnum = "radius_class" WxlanTagMatchEnum_RADIUSGROUP WxlanTagMatchEnum = "radius_group" WxlanTagMatchEnum_RADIUSUSERNAME WxlanTagMatchEnum = "radius_username" WxlanTagMatchEnum_SDKCLIENTUUID WxlanTagMatchEnum = "sdkclient_uuid" WxlanTagMatchEnum_WLANID WxlanTagMatchEnum = "wlan_id" )
type WxlanTagOperationEnum ¶
type WxlanTagOperationEnum string
WxlanTagOperationEnum is a string enum. required if `type`==`match`, type of tag (inclusive/exclusive). enum: `in`, `not_in`
const ( WxlanTagOperationEnum_IN WxlanTagOperationEnum = "in" WxlanTagOperationEnum_NOTIN WxlanTagOperationEnum = "not_in" )
type WxlanTagSpec ¶
type WxlanTagSpec struct { // matched destination port, "0" means any PortRange *string `json:"port_range,omitempty"` // tcp / udp / icmp / gre / any / ":protocol_number", `protocol_number` is between 1-254 Protocol *string `json:"protocol,omitempty"` // matched destination subnets and/or IP Addresses Subnets []string `json:"subnets,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
WxlanTagSpec represents a WxlanTagSpec struct.
func (WxlanTagSpec) MarshalJSON ¶
func (w WxlanTagSpec) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WxlanTagSpec. It customizes the JSON marshaling process for WxlanTagSpec objects.
func (*WxlanTagSpec) UnmarshalJSON ¶
func (w *WxlanTagSpec) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WxlanTagSpec. It customizes the JSON unmarshaling process for WxlanTagSpec objects.
type WxlanTagTypeEnum ¶
type WxlanTagTypeEnum string
WxlanTagTypeEnum is a string enum. enum: `client`, `match`, `resource`, `spec`, `subnet`, `vlan`
const ( WxlanTagTypeEnum_CLIENT WxlanTagTypeEnum = "client" WxlanTagTypeEnum_MATCH WxlanTagTypeEnum = "match" WxlanTagTypeEnum_RESOURCE WxlanTagTypeEnum = "resource" WxlanTagTypeEnum_SPEC WxlanTagTypeEnum = "spec" WxlanTagTypeEnum_SUBNET WxlanTagTypeEnum = "subnet" WxlanTagTypeEnum_VLAN WxlanTagTypeEnum = "vlan" )
type WxlanTagVlanId ¶ added in v0.2.20
type WxlanTagVlanId struct {
// contains filtered or unexported fields
}
WxlanTagVlanId represents a WxlanTagVlanId struct. if `type`==`vlan_id`, VLAN ID or variable
func (*WxlanTagVlanId) AsNumber ¶ added in v0.2.20
func (w *WxlanTagVlanId) AsNumber() ( *int, bool)
func (*WxlanTagVlanId) AsString ¶ added in v0.2.20
func (w *WxlanTagVlanId) AsString() ( *string, bool)
func (WxlanTagVlanId) MarshalJSON ¶ added in v0.2.20
func (w WxlanTagVlanId) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WxlanTagVlanId. It customizes the JSON marshaling process for WxlanTagVlanId objects.
func (WxlanTagVlanId) String ¶ added in v0.2.20
func (w WxlanTagVlanId) String() string
String 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 { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` // Dynamic Multipoint VPN configurations Dmvpn *WxlanTunnelDmvpn `json:"dmvpn,omitempty"` // determined during creation time and cannot be toggled. A management tunnel cannot be used by wxlan rule or by wlan ForMgmt *bool `json:"for_mgmt,omitempty"` ForSite *bool `json:"for_site,omitempty"` // in seconds, used as heartbeat to detect if a tunnel is alive. AP will try another peer after missing N hellos specified by hello_retries. HelloInterval *int `json:"hello_interval,omitempty"` HelloRetries *int `json:"hello_retries,omitempty"` // optional, overwrite the hostname in SCCRQ control message, default is \u201C\u201D or null, %H and %M can be used, which will be replace with corresponding values: // * %H: name of the ap if provided (and will be stripped so it can be used for hostname) and fallbacks to MAC // * %M: MAC (e.g. 5c5b350e0060) Hostname *string `json:"hostname,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // IPSec-related configurations; requires DMVPN be enabled Ipsec *WxlanTunnelIpsec `json:"ipsec,omitempty"` // whether it’s static/unmanaged (i.e. no control session). As the session configurations are not compatible, cannot be toggled. IsStatic *bool `json:"is_static,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` // 0 to enable PMTU, 552-1500 to start PMTU with a lower MTU Mtu *int `json:"mtu,omitempty"` // The name of the tunnel Name string `json:"name"` OrgId *uuid.UUID `json:"org_id,omitempty"` // list of remote peers’ IP or hostname Peers []string `json:"peers,omitempty"` // optional, overwrite the router-id in SCCRQ control message, default is “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]interface{} `json:"_"` }
WxlanTunnel represents a WxlanTunnel struct. WxLAn Tunnel
func (WxlanTunnel) MarshalJSON ¶
func (w WxlanTunnel) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WxlanTunnel. It customizes the JSON marshaling process for WxlanTunnel objects.
func (*WxlanTunnel) UnmarshalJSON ¶
func (w *WxlanTunnel) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WxlanTunnel. It customizes the JSON unmarshaling process for WxlanTunnel objects.
type WxlanTunnelDmvpn ¶
type WxlanTunnelDmvpn struct { // whether DMVPN is enabled Enabled *bool `json:"enabled,omitempty"` // optional; the holding time for NHRP ‘registration requests’ and ‘resolution replies’ sent from the Mist AP (in seconds); default 600 HoldingTime *int `json:"holding_time,omitempty"` // optional; list of IPv4 DMVPN peer host ip-addresses to which traffic is forwarded HostRoutes []string `json:"host_routes,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
WxlanTunnelDmvpn represents a WxlanTunnelDmvpn struct. Dynamic Multipoint VPN configurations
func (WxlanTunnelDmvpn) MarshalJSON ¶
func (w WxlanTunnelDmvpn) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WxlanTunnelDmvpn. It customizes the JSON marshaling process for WxlanTunnelDmvpn objects.
func (*WxlanTunnelDmvpn) UnmarshalJSON ¶
func (w *WxlanTunnelDmvpn) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WxlanTunnelDmvpn. It customizes the JSON unmarshaling process for WxlanTunnelDmvpn objects.
type WxlanTunnelIpsec ¶
type WxlanTunnelIpsec struct { // whether ipsec is enabled, requires DMVPN be enabled Enabled *bool `json:"enabled,omitempty"` // ipsec pre-shared key Psk string `json:"psk"` AdditionalProperties map[string]interface{} `json:"_"` }
WxlanTunnelIpsec represents a WxlanTunnelIpsec struct. IPSec-related configurations; requires DMVPN be enabled
func (WxlanTunnelIpsec) MarshalJSON ¶
func (w WxlanTunnelIpsec) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WxlanTunnelIpsec. It customizes the JSON marshaling process for WxlanTunnelIpsec objects.
func (*WxlanTunnelIpsec) UnmarshalJSON ¶
func (w *WxlanTunnelIpsec) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WxlanTunnelIpsec. It customizes the JSON unmarshaling process for WxlanTunnelIpsec objects.
type WxlanTunnelSession ¶
type WxlanTunnelSession struct { // if `use_ap_as_session_ids`==`true`, only apmac is supported right now. This is the name WLAN should use for wxtunnel_remote_id ApAsSessionId *string `json:"ap_as_session_id,omitempty"` // optional, user-specified string for display purpose Comment *string `json:"comment,omitempty"` EnableCookie *bool `json:"enable_cookie,omitempty"` // enum: `ethernet`, `vlan` Ethertype *WxlanTunnelSessionEthertypeEnum `json:"ethertype,omitempty"` // 1-2147483647 LocalSessionId *int `json:"local_session_id,omitempty"` // optional. Enables the pseudo 802.1ad QinQ mode where the AP device drops the outer vlan tag (QinQ). This mode is useful when tunneling Mist AP’s to some aggregation routers. Pseudo8021adEnabled *bool `json:"pseudo_802.1ad_enabled,omitempty"` // remote-id of the session, has to be unique in the same tunnel RemoteId *string `json:"remote_id,omitempty"` // 1-2147483647 RemoteSessionId *int `json:"remote_session_id,omitempty"` // whether to use AP (last 4 bytes of MAC currently) as session ids UseApAsSessionIds *bool `json:"use_ap_as_session_ids,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
WxlanTunnelSession represents a WxlanTunnelSession struct.
func (WxlanTunnelSession) MarshalJSON ¶
func (w WxlanTunnelSession) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WxlanTunnelSession. It customizes the JSON marshaling process for WxlanTunnelSession objects.
func (*WxlanTunnelSession) UnmarshalJSON ¶
func (w *WxlanTunnelSession) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WxlanTunnelSession. It customizes the JSON unmarshaling process for WxlanTunnelSession objects.
type WxlanTunnelSessionEthertypeEnum ¶
type WxlanTunnelSessionEthertypeEnum string
WxlanTunnelSessionEthertypeEnum is a string enum. enum: `ethernet`, `vlan`
const ( WxlanTunnelSessionEthertypeEnum_ETHERNET WxlanTunnelSessionEthertypeEnum = "ethernet" WxlanTunnelSessionEthertypeEnum_VLAN WxlanTunnelSessionEthertypeEnum = "vlan" )
type WxtagClient ¶
type WxtagClient struct { Mac string `json:"mac"` Since float64 `json:"since"` AdditionalProperties map[string]interface{} `json:"_"` }
WxtagClient represents a WxtagClient struct.
func (WxtagClient) MarshalJSON ¶
func (w WxtagClient) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for WxtagClient. It customizes the JSON marshaling process for WxtagClient objects.
func (*WxtagClient) 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]interface{} `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 { // when the object has been created, in epoch CreatedTime *float64 `json:"created_time,omitempty"` ForSite *bool `json:"for_site,omitempty"` // Unique ID of the object instance in the Mist Organnization Id *uuid.UUID `json:"id,omitempty"` // map where this zone is defined MapId *uuid.UUID `json:"map_id,omitempty"` // when the object has been modified for the last time, in epoch ModifiedTime *float64 `json:"modified_time,omitempty"` // The name of the zone Name *string `json:"name,omitempty"` OrgId *uuid.UUID `json:"org_id,omitempty"` SiteId *uuid.UUID `json:"site_id,omitempty"` // vertices used to define an area. It’s assumed that the last point connects to the first point and forms an closed area Vertices []ZoneVertex `json:"vertices,omitempty"` AdditionalProperties map[string]interface{} `json:"_"` }
Zone represents a Zone struct. Zone
func (Zone) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Zone. It customizes the JSON marshaling process for Zone objects.
func (*Zone) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Zone. It customizes the JSON unmarshaling process for Zone objects.
type ZoneScopeEnum ¶
type ZoneScopeEnum string
ZoneScopeEnum is a string enum. enum: `map`, `rssizone`, `site`, `zone`
const ( ZoneScopeEnum_ENUMMAP ZoneScopeEnum = "map" ZoneScopeEnum_RSSIZONE ZoneScopeEnum = "rssizone" ZoneScopeEnum_SITE ZoneScopeEnum = "site" ZoneScopeEnum_ZONE ZoneScopeEnum = "zone" )
type ZoneTypeEnum ¶
type ZoneTypeEnum string
ZoneTypeEnum is a string enum. enum: `rssizones`, `zones`
const ( ZoneTypeEnum_RSSIZONES ZoneTypeEnum = "rssizones" ZoneTypeEnum_ZONES ZoneTypeEnum = "zones" )
type ZoneVertex ¶
type ZoneVertex struct { // x in pixel X float64 `json:"x"` // y in pixel Y float64 `json:"y"` AdditionalProperties map[string]interface{} `json:"_"` }
ZoneVertex represents a ZoneVertex struct.
func (ZoneVertex) MarshalJSON ¶
func (z ZoneVertex) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ZoneVertex. It customizes the JSON marshaling process for ZoneVertex objects.
func (*ZoneVertex) UnmarshalJSON ¶
func (z *ZoneVertex) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ZoneVertex. It customizes the JSON unmarshaling process for ZoneVertex objects.
type ZoneVertexM ¶
type ZoneVertexM struct { // x in pixel X float64 `json:"x"` // y in pixel Y float64 `json:"y"` AdditionalProperties map[string]interface{} `json:"_"` }
ZoneVertexM represents a ZoneVertexM struct.
func (ZoneVertexM) MarshalJSON ¶
func (z ZoneVertexM) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ZoneVertexM. It customizes the JSON marshaling process for ZoneVertexM objects.
func (*ZoneVertexM) 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_crowdstrike_config.go
- account_jamf_config.go
- account_jse_config.go
- account_jse_info.go
- account_juniper_config.go
- account_juniper_info.go
- account_mobicontrol_config.go
- account_oauth_add.go
- account_oauth_config.go
- account_oauth_info.go
- account_oauth_info_account.go
- account_vmware_config.go
- account_zdx_config.go
- account_zdx_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
- admin_privilege.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_led.go
- ap_mesh.go
- ap_port_config.go
- ap_port_config_dynamic_vlan.go
- ap_pwr_config.go
- ap_radio.go
- ap_radio_band_24.go
- ap_radio_band_5.go
- ap_radio_band_6.go
- ap_radio_mac.go
- ap_radio_stat.go
- ap_redundancy.go
- ap_redundancy_module.go
- ap_search.go
- ap_search_wlan.go
- ap_stat_mesh_downlink.go
- ap_stat_mesh_uplink.go
- ap_switch.go
- ap_switch_setting.go
- ap_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
- avprofile.go
- beacon.go
- bgp_config.go
- bgp_config_neighbors.go
- bgp_stats.go
- binary_stream.go
- ble_config.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_ports_tcpdump_expression.go
- capture_switch_switches.go
- capture_wired.go
- capture_wireless.go
- claim_activation.go
- client_cert_serial_numbers.go
- client_nac.go
- client_wireless.go
- coa_server.go
- code_string.go
- config_device.go
- config_switch_local_accounts_user.go
- config_vc_port_member.go
- const_alarm_definition.go
- const_ap_channel.go
- const_ap_led.go
- const_app_category_definition.go
- const_app_category_definition_filters.go
- const_app_subcategory_definition.go
- const_application_definition.go
- const_country.go
- const_device_ap.go
- const_device_ap_band_24.go
- const_device_ap_band_5.go
- const_device_ap_extios.go
- const_device_ap_vble.go
- const_device_gateway.go
- const_device_gateway_ports.go
- const_device_model.go
- const_device_switch.go
- const_device_switch_default.go
- const_event.go
- const_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_marvis_client_version.go
- const_mxedge_model.go
- const_mxedge_model_port.go
- const_nac_event.go
- const_other_device_model.go
- const_state.go
- const_traffic_type.go
- const_webhook_topic.go
- count_result.go
- cpu_stat.go
- days_number.go
- delivery.go
- device_ap.go
- device_gateway.go
- device_id_string.go
- device_other.go
- device_switch.go
- device_upgrade.go
- device_version_item.go
- deviceprofile.go
- deviceprofile_ap.go
- deviceprofile_gateway.go
- dhcp_client_option.go
- dhcp_snooping.go
- dhcpd_config.go
- dhcpd_config_fixed_binding.go
- dhcpd_config_option.go
- dhcpd_config_property.go
- dhcpd_config_vendor_option.go
- dhcpd_stat_lan.go
- discovered_switch.go
- discovered_switch_ap.go
- discovered_switch_metric.go
- discovered_switch_metric_ap.go
- 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
- evpn_topology_switch_config.go
- evpn_topology_switch_config_dhcpd_config.go
- evpn_topology_switch_config_vrf_config.go
- extra_route.go
- extra_route_6.go
- extra_route_6_next_qualified_properties.go
- extra_route_next_qualified_properties.go
- fwupdate_stat.go
- gateway_cluster.go
- gateway_cluster_node.go
- gateway_compliance_major_version_properties.go
- gateway_compliance_version.go
- gateway_extra_route.go
- gateway_ip_config_property.go
- gateway_matching.go
- gateway_matching_rule.go
- gateway_metrics.go
- gateway_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_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
- gateway_vrf_instance.go
- gateway_wan_probe_override.go
- guest.go
- guest_org.go
- ha_cluster_config.go
- ha_cluster_config_node.go
- ha_cluster_delete.go
- ha_cluster_node.go
- hours.go
- idp_config.go
- idp_profile.go
- idp_profile_matching.go
- idp_profile_overwrite.go
- if_stat_property.go
- if_stat_property_servp_info.go
- image_import.go
- insight_metrics.go
- insight_rogue_ap.go
- insight_rogue_client.go
- installer_device.go
- installer_provision_device.go
- installer_site.go
- installers_item.go
- inventory.go
- inventory_search.go
- inventory_search_result.go
- inventory_search_result_member.go
- inventory_update.go
- ip_stat.go
- issued_client_certificate.go
- issued_client_certificates_results.go
- jse_device.go
- jse_inventory_item.go
- juniper_account.go
- junos_ip_config.go
- junos_local_port_config.go
- junos_other_ip_config.go
- junos_port_config.go
- last_trouble.go
- lat_lng.go
- latlng_br.go
- latlng_tl.go
- license.go
- license_amendment.go
- license_sub.go
- license_usage_org.go
- license_usage_site.go
- locate_switch.go
- 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
- mist_nacedge.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_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_id.go
- mxedge_tunterm_switch_configs.go
- mxedge_upgrade_info_items.go
- mxedge_upgrade_multi.go
- mxedge_upgrade_multi_allow_downgrades.go
- mxedge_upgrade_response_counts.go
- mxedge_upgrade_version.go
- mxedge_versions.go
- mxedges_assign.go
- mxedges_unassign.go
- mxtunnel.go
- mxtunnel_ipsec.go
- mxtunnel_ipsec_extra_route.go
- nac_crl_file.go
- nac_portal.go
- nac_portal_sso.go
- nac_portal_sso_role_matching.go
- nac_portal_template.go
- nac_rule.go
- nac_rule_matching.go
- nac_tag.go
- name_string.go
- network.go
- network_destination_nat_property.go
- network_internal_access.go
- network_internet_access.go
- network_multicast.go
- network_multicast_group.go
- network_source_nat.go
- network_static_nat_property.go
- network_template.go
- network_tenant.go
- network_vpn_access_config.go
- note_string.go
- notes_string.go
- optic_port_config_port.go
- optional_stat_vpn_peer.go
- optional_stat_wan_tunnel.go
- optional_stats_bgp.go
- optional_stats_port.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_policies_secintel.go
- org_service_policy.go
- org_service_policy_antivirus.go
- org_service_policy_ssl_proxy.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_cradlepoint.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_jcloud_ra.go
- org_setting_mgmt.go
- org_setting_mist_nac.go
- org_setting_mist_nac_idp.go
- org_setting_mist_nac_server_cert.go
- org_setting_password_policy.go
- org_setting_pcap.go
- org_setting_scep.go
- org_setting_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_wired_result.go
- org_site_wan_wifi.go
- org_site_wired_wifi.go
- org_ssl_proxy_cert.go
- orggroup.go
- ospf_area.go
- ospf_areas_network.go
- other_device_update.go
- other_device_update_multi.go
- pcap_bucket.go
- pcap_bucket_verify.go
- pma_dashboard.go
- privilege_msp.go
- privilege_org.go
- protect_re.go
- protect_re_custom.go
- proxy.go
- psk.go
- psk_id_list.go
- psk_portal.go
- psk_portal_image.go
- psk_portal_passphrase_rules.go
- psk_portal_sso.go
- psk_portal_template.go
- psk_vlan_id.go
- psks_import_file.go
- push_policy_push_window.go
- radius_acct_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_search.go
- reponse_synthetictestt.go
- repsonse_count.go
- response_anomaly_search.go
- response_assign_success.go
- response_async_license.go
- response_async_license_detail.go
- response_auto_orientation.go
- response_auto_placement_info.go
- response_auto_zone.go
- response_auto_zone_zone.go
- response_auto_zone_zone_vertex.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_items.go
- response_device_radio_channels.go
- response_device_search.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_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_stats_calls_summary.go
- response_switch_metrics.go
- response_switch_metrics_active_ports_summary.go
- response_switch_metrics_config_success.go
- response_switch_metrics_config_success_details.go
- response_switch_metrics_version_compliance.go
- response_switch_metrics_version_compliance_details.go
- response_switch_port_search.go
- response_troubleshoot.go
- response_troubleshoot_item.go
- response_tunnel_search.go
- response_tunnel_search_item.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_wired_coa.go
- response_zone_search.go
- response_zone_search_item.go
- rf_diag.go
- rf_diag_info_item.go
- rf_template.go
- rf_template_model_specific_property.go
- rftemplate_radio_band_24.go
- rftemplate_radio_band_5.go
- rftemplate_radio_band_6.go
- rogue_details.go
- root_password_string.go
- route_summary_stats.go
- routing_policy.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
- saml_metadata.go
- sdk_invite_sms.go
- sdkinvite.go
- sdkstats_wireless_client.go
- sdkstats_wireless_client_vbeacon.go
- sdkstats_wireless_client_zone.go
- sdktemplate.go
- search_events_wan_client.go
- search_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
- secintel_profile.go
- secintel_profile_profile.go
- secpolicy.go
- service.go
- service_dscp.go
- service_max_jitter.go
- service_max_latency.go
- service_max_loss.go
- service_packet.go
- service_path_event.go
- service_policy.go
- service_policy_appqoe.go
- service_policy_ewf_rule.go
- service_spec.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_gateway_mgmt.go
- site_setting_gateway_mgmt_auto_signature_update.go
- site_setting_juniper_srx.go
- site_setting_juniper_srx_gateway.go
- site_setting_mxedge.go
- site_setting_paloalto_network_gateway.go
- site_setting_paloalto_networks.go
- site_setting_rtsa.go
- site_setting_skyatp.go
- site_setting_srx_app.go
- site_setting_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
- ssr_upgrade.go
- ssr_upgrade_multi.go
- ssr_upgrade_response.go
- ssr_upgrade_response_counts.go
- ssr_version.go
- stats_ap.go
- stats_ap_auto_placement.go
- stats_ap_auto_placement_info.go
- stats_ap_auto_placement_info_probability_surface.go
- stats_ap_auto_upgrade.go
- stats_ap_ble.go
- stats_ap_env_stat.go
- stats_ap_esl_stat.go
- stats_ap_gps_stat.go
- stats_ap_iot_stat_additional_properties.go
- stats_ap_l_2_tp_stat.go
- stats_ap_l_2_tp_stat_session.go
- stats_ap_lldp_stat.go
- stats_ap_port_stat.go
- stats_ap_radio_config.go
- stats_ap_radio_config_band.go
- stats_ap_radio_stat.go
- stats_ap_switch_redundancy.go
- stats_ap_usb_stat.go
- stats_asset.go
- stats_beacon.go
- stats_call.go
- stats_client.go
- stats_cluster_config.go
- stats_cluster_config_control_link_info.go
- stats_cluster_config_ethernet_connection_item.go
- stats_cluster_config_fabric_link_info.go
- stats_cluster_config_redundancy_group_info_item.go
- stats_device.go
- stats_device_other.go
- stats_device_other_vendor_specific.go
- stats_device_other_vendor_specific_port.go
- stats_gateway.go
- stats_gateway_cluster.go
- stats_gateway_service_status.go
- stats_gateway_spu_item.go
- stats_mxedge.go
- stats_mxedge_cpu_stat.go
- stats_mxedge_ip_stat.go
- stats_mxedge_lag_stat.go
- stats_mxedge_memory_stat.go
- stats_mxedge_oob_ip_stat.go
- stats_mxedge_port_stat.go
- stats_mxedge_service_stat.go
- stats_mxedge_tunterm_ip_config.go
- stats_mxedge_tunterm_port_config.go
- stats_mxedge_tunterm_stat.go
- stats_mxtunnel.go
- stats_mxtunnel_session.go
- stats_org.go
- stats_org_sle.go
- stats_org_sle_user_minutes.go
- stats_rssi_zone.go
- stats_rssi_zones_device.go
- stats_sdkclient.go
- stats_sdkclient_network_connection.go
- stats_site.go
- stats_switch.go
- stats_switch_ap_redundancy.go
- stats_switch_ap_redundancy_module.go
- stats_switch_client_item.go
- stats_switch_clients_stats.go
- stats_switch_clients_stats_total.go
- stats_switch_port.go
- stats_switch_vc_setup_info.go
- stats_unconnected_client.go
- stats_wan_client.go
- stats_wan_tunnel.go
- stats_wired_client.go
- stats_wireless_client.go
- stats_wireless_client_airwatch.go
- stats_wireless_client_guest.go
- stats_wireless_client_rssi_zone.go
- stats_wireless_client_vbeacon.go
- stats_wireless_client_wxrule_usage.go
- stats_wireless_client_zone.go
- stats_wxrule.go
- stats_wxrule_usage_properties.go
- stats_zone.go
- stats_zone_assets_waits.go
- stats_zone_clients_waits.go
- stats_zone_details.go
- stats_zone_details_client_waits.go
- stats_zone_sdkclients_waits.go
- suppressed_alarm.go
- suppressed_alarm_applies.go
- switch_dhcpd_config.go
- switch_dhcpd_config_property.go
- switch_matching.go
- switch_matching_rule.go
- switch_matching_rule_ip_config.go
- switch_matching_rule_oob_ip_config.go
- switch_metrics_active_ports_summary_details.go
- switch_metrics_compliance_major_version.go
- switch_mgmt.go
- switch_mist_nac.go
- switch_network.go
- switch_oob_ip_config.go
- switch_port_local_usage_storm_control.go
- switch_port_mirroring_property.go
- switch_port_usage.go
- switch_port_usage_dynamic_rule.go
- switch_port_usage_storm_control.go
- switch_radius.go
- switch_radius_config.go
- switch_search.go
- switch_stp_config.go
- switch_virtual_chassis.go
- switch_virtual_chassis_member.go
- switch_vrf_instance.go
- synthetictest_config.go
- synthetictest_config_wan_speedtestt.go
- synthetictest_device.go
- synthetictest_device_vlan_id.go
- synthetictest_info.go
- synthetictest_properties.go
- synthetictest_radius_server.go
- synthetictestt.go
- tacacs.go
- tacacs_acct_server.go
- tacacs_auth_server.go
- template.go
- template_applies.go
- template_exceptions.go
- test_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
- 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_clear_session.go
- utils_devices_restart.go
- utils_devices_restart_multi.go
- utils_mac_table.go
- utils_monitor_traffic.go
- utils_ping.go
- utils_release_dhcp.go
- utils_release_dhcp_leases.go
- utils_reset_radio_config.go
- utils_rrm_optimize.go
- utils_send_ble_beacon.go
- utils_send_support_logs.go
- utils_service_ping.go
- utils_show_arp.go
- utils_show_bgp_rummary.go
- utils_show_dhcp_leases.go
- utils_show_evpn_database.go
- utils_show_forwarding_table.go
- utils_show_ospf_database.go
- utils_show_ospf_interfaces.go
- utils_show_ospf_neighbors.go
- utils_show_ospf_summary.go
- utils_show_route.go
- utils_show_service_path.go
- utils_show_session.go
- utils_traceroute.go
- utils_tunterm_bounce_port.go
- utils_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
- vlan_id_with_variable.go
- vpn.go
- vpn_links_steering.go
- vpn_path.go
- vpn_path_selection.go
- vpn_peer_stat.go
- vpn_peer_stat_search.go
- vrf_config.go
- vrf_extra_route.go
- vrrp_config.go
- vrrp_config_group.go
- vrrp_group.go
- vrrp_group_network.go
- vs_instance_property.go
- wan_extra_routes.go
- wan_usages.go
- wayfinding_import_json.go
- webhook.go
- webhook_alarm_event.go
- webhook_alarms.go
- webhook_asset_raw.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_service_properties.go
- wlan_cisco_cwa.go
- wlan_datarates.go
- wlan_dns_server_rewrite.go
- wlan_dynamic_psk.go
- wlan_dynamic_vlan.go
- wlan_dynamic_vlan_default_vlan_id.go
- wlan_dynamic_vlan_default_vlan_id_deprecated.go
- wlan_hotspot_20.go
- wlan_inject_dhcp_option_82.go
- wlan_mist_nac.go
- wlan_portal.go
- wlan_portal_sponsors.go
- wlan_portal_template.go
- wlan_portal_template_setting.go
- wlan_portal_template_setting_locale.go
- wlan_qos.go
- wlan_schedule.go
- wlan_vlan_ids.go
- wxlan_rule.go
- wxlan_tag.go
- wxlan_tag_spec.go
- wxlan_tag_vlan_id.go
- wxlan_tunnel.go
- wxlan_tunnel_dmvpn.go
- wxlan_tunnel_ipsec.go
- wxlan_tunnel_session.go
- wxtag_client.go
- wxtag_matching.go
- zone.go
- zone_vertex.go
- zone_vertex_m.go