Documentation
¶
Index ¶
- type ErrorResponse
- type ErrorResponseMeta
- type GetNeighboringAccessPointsResponse
- type GetNeighboringAccessPointsResponseDataItems0
- type GetSiteClientsResponse
- type GetSiteClientsResponseDataItems0
- type GetSiteEventsResponse
- type GetSiteEventsResponseMeta
- type GetSiteHealthResponse
- type GetSitesListResponse
- type GetSystemInfoResponse
- type GetSystemInfoResponseDataItems0
- type SiteEvent
- type SiteItem
- type SiteItemHealth
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorResponse ¶
type ErrorResponse struct {
// meta
Meta *ErrorResponseMeta `json:"meta,omitempty"`
}
ErrorResponse error response swagger:model errorResponse
func (*ErrorResponse) MarshalBinary ¶
func (m *ErrorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorResponse) UnmarshalBinary ¶
func (m *ErrorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorResponseMeta ¶
type ErrorResponseMeta struct {
// msg
Msg string `json:"msg,omitempty"`
}
ErrorResponseMeta error response meta swagger:model ErrorResponseMeta
func (*ErrorResponseMeta) MarshalBinary ¶
func (m *ErrorResponseMeta) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorResponseMeta) UnmarshalBinary ¶
func (m *ErrorResponseMeta) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNeighboringAccessPointsResponse ¶
type GetNeighboringAccessPointsResponse struct {
// data
Data []*GetNeighboringAccessPointsResponseDataItems0 `json:"data"`
}
GetNeighboringAccessPointsResponse get neighboring access points response swagger:model getNeighboringAccessPointsResponse
func (*GetNeighboringAccessPointsResponse) MarshalBinary ¶
func (m *GetNeighboringAccessPointsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNeighboringAccessPointsResponse) UnmarshalBinary ¶
func (m *GetNeighboringAccessPointsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNeighboringAccessPointsResponseDataItems0 ¶
type GetNeighboringAccessPointsResponseDataItems0 struct {
// id
ID string `json:"_id,omitempty"`
// age
Age int64 `json:"age,omitempty"`
// ap mac
ApMac string `json:"ap_mac,omitempty"`
// band
Band string `json:"band,omitempty"`
// bssid
Bssid string `json:"bssid,omitempty"`
// bw
Bw int64 `json:"bw,omitempty"`
// center freq
CenterFreq int64 `json:"center_freq,omitempty"`
// channel
Channel int64 `json:"channel,omitempty"`
// essid
Essid string `json:"essid,omitempty"`
// freq
Freq int64 `json:"freq,omitempty"`
// is adhoc
IsAdhoc bool `json:"is_adhoc,omitempty"`
// is rogue
IsRogue bool `json:"is_rogue,omitempty"`
// is ubnt
IsUbnt bool `json:"is_ubnt,omitempty"`
// last seen
LastSeen int64 `json:"last_seen,omitempty"`
// noise
Noise int64 `json:"noise,omitempty"`
// oui
Oui string `json:"oui,omitempty"`
// radio
Radio string `json:"radio,omitempty"`
// radio name
RadioName string `json:"radio_name,omitempty"`
// report time
ReportTime int64 `json:"report_time,omitempty"`
// rssi
Rssi int64 `json:"rssi,omitempty"`
// rssi age
RssiAge int64 `json:"rssi_age,omitempty"`
// security
Security string `json:"security,omitempty"`
// signal
Signal int64 `json:"signal,omitempty"`
// site id
SiteID string `json:"site_id,omitempty"`
}
GetNeighboringAccessPointsResponseDataItems0 get neighboring access points response data items0 swagger:model GetNeighboringAccessPointsResponseDataItems0
func (*GetNeighboringAccessPointsResponseDataItems0) MarshalBinary ¶
func (m *GetNeighboringAccessPointsResponseDataItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNeighboringAccessPointsResponseDataItems0) UnmarshalBinary ¶
func (m *GetNeighboringAccessPointsResponseDataItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetSiteClientsResponse ¶
type GetSiteClientsResponse struct {
// data
Data []*GetSiteClientsResponseDataItems0 `json:"data"`
}
GetSiteClientsResponse get site clients response swagger:model getSiteClientsResponse
func (*GetSiteClientsResponse) MarshalBinary ¶
func (m *GetSiteClientsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetSiteClientsResponse) UnmarshalBinary ¶
func (m *GetSiteClientsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetSiteClientsResponseDataItems0 ¶
type GetSiteClientsResponseDataItems0 struct {
// id
ID string `json:"_id,omitempty"`
// is guest by uap
IsGuestByUap int64 `json:"_is_guest_by_uap,omitempty"`
// last seen by uap
LastSeenByUap int64 `json:"_last_seen_by_uap,omitempty"`
// uptime by uap
UptimeByUap int64 `json:"_uptime_by_uap,omitempty"`
// anomalies
Anomalies int64 `json:"anomalies,omitempty"`
// ap mac
ApMac string `json:"ap_mac,omitempty"`
// assoc time
AssocTime int64 `json:"assoc_time,omitempty"`
// authorized
Authorized bool `json:"authorized,omitempty"`
// bssid
Bssid string `json:"bssid,omitempty"`
// bytes
Bytes int64 `json:"bytes,omitempty"`
// ccq
Ccq int64 `json:"ccq,omitempty"`
// channel
Channel int64 `json:"channel,omitempty"`
// dhcpend time
DhcpendTime int64 `json:"dhcpend_time,omitempty"`
// essid
Essid string `json:"essid,omitempty"`
// first seen
FirstSeen int64 `json:"first_seen,omitempty"`
// hostname
Hostname string `json:"hostname,omitempty"`
// idletime
Idletime int64 `json:"idletime,omitempty"`
// ip
IP string `json:"ip,omitempty"`
// is 11r
Is11r bool `json:"is_11r,omitempty"`
// is guest
IsGuest bool `json:"is_guest,omitempty"`
// is wired
IsWired bool `json:"is_wired,omitempty"`
// last seen
LastSeen int64 `json:"last_seen,omitempty"`
// latest assoc time
LatestAssocTime int64 `json:"latest_assoc_time,omitempty"`
// mac
Mac string `json:"mac,omitempty"`
// name
Name string `json:"name,omitempty"`
// noise
Noise int64 `json:"noise,omitempty"`
// noted
Noted bool `json:"noted,omitempty"`
// oui
Oui string `json:"oui,omitempty"`
// powersave enabled
PowersaveEnabled bool `json:"powersave_enabled,omitempty"`
// qos policy applied
QosPolicyApplied string `json:"qos_policy_applied,omitempty"`
// radio
Radio string `json:"radio,omitempty"`
// radio name
RadioName string `json:"radio_name,omitempty"`
// radio proto
RadioProto int64 `json:"radio_proto,omitempty"`
// rssi
Rssi int64 `json:"rssi,omitempty"`
// rx bytes
RxBytes int64 `json:"rx_bytes,omitempty"`
// rx packets
RxPackets int64 `json:"rx_packets,omitempty"`
// rx rate
RxRate int64 `json:"rx_rate,omitempty"`
// satisfaction
Satisfaction int64 `json:"satisfaction,omitempty"`
// signal
Signal int64 `json:"signal,omitempty"`
// site id
SiteID string `json:"site_id,omitempty"`
// tx bytes
TxBytes int64 `json:"tx_bytes,omitempty"`
// tx packets
TxPackets int64 `json:"tx_packets,omitempty"`
// tx power
TxPower int64 `json:"tx_power,omitempty"`
// tx rate
TxRate int64 `json:"tx_rate,omitempty"`
// uptime
Uptime int64 `json:"uptime,omitempty"`
// user id
UserID string `json:"user_id,omitempty"`
// usergroup id
UsergroupID string `json:"usergroup_id,omitempty"`
// vlan
Vlan int64 `json:"vlan,omitempty"`
}
GetSiteClientsResponseDataItems0 get site clients response data items0 swagger:model GetSiteClientsResponseDataItems0
func (*GetSiteClientsResponseDataItems0) MarshalBinary ¶
func (m *GetSiteClientsResponseDataItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetSiteClientsResponseDataItems0) UnmarshalBinary ¶
func (m *GetSiteClientsResponseDataItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetSiteEventsResponse ¶
type GetSiteEventsResponse struct {
// data
Data []*SiteEvent `json:"data"`
// meta
Meta *GetSiteEventsResponseMeta `json:"meta,omitempty"`
}
GetSiteEventsResponse get site events response swagger:model getSiteEventsResponse
func (*GetSiteEventsResponse) MarshalBinary ¶
func (m *GetSiteEventsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetSiteEventsResponse) UnmarshalBinary ¶
func (m *GetSiteEventsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetSiteEventsResponseMeta ¶
type GetSiteEventsResponseMeta struct {
// count
Count int64 `json:"count,omitempty"`
}
GetSiteEventsResponseMeta get site events response meta swagger:model GetSiteEventsResponseMeta
func (*GetSiteEventsResponseMeta) MarshalBinary ¶
func (m *GetSiteEventsResponseMeta) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetSiteEventsResponseMeta) UnmarshalBinary ¶
func (m *GetSiteEventsResponseMeta) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetSiteHealthResponse ¶
type GetSiteHealthResponse struct {
// data
Data []*SiteItemHealth `json:"data"`
}
GetSiteHealthResponse get site health response swagger:model getSiteHealthResponse
func (*GetSiteHealthResponse) MarshalBinary ¶
func (m *GetSiteHealthResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetSiteHealthResponse) UnmarshalBinary ¶
func (m *GetSiteHealthResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetSitesListResponse ¶
type GetSitesListResponse struct {
// data
Data []*SiteItem `json:"data"`
}
GetSitesListResponse get sites list response swagger:model getSitesListResponse
func (*GetSitesListResponse) MarshalBinary ¶
func (m *GetSitesListResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetSitesListResponse) UnmarshalBinary ¶
func (m *GetSitesListResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetSystemInfoResponse ¶
type GetSystemInfoResponse struct {
// data
Data []*GetSystemInfoResponseDataItems0 `json:"data"`
}
GetSystemInfoResponse get system info response swagger:model getSystemInfoResponse
func (*GetSystemInfoResponse) MarshalBinary ¶
func (m *GetSystemInfoResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetSystemInfoResponse) UnmarshalBinary ¶
func (m *GetSystemInfoResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetSystemInfoResponseDataItems0 ¶
type GetSystemInfoResponseDataItems0 struct {
// autobackup
Autobackup bool `json:"autobackup,omitempty"`
// build
Build string `json:"build,omitempty"`
// data retention days
DataRetentionDays int64 `json:"data_retention_days,omitempty"`
// data retention time in hours for 5minutes scale
DataRetentionTimeInHoursFor5minutesScale int64 `json:"data_retention_time_in_hours_for_5minutes_scale,omitempty"`
// data retention time in hours for daily scale
DataRetentionTimeInHoursForDailyScale int64 `json:"data_retention_time_in_hours_for_daily_scale,omitempty"`
// data retention time in hours for hourly scale
DataRetentionTimeInHoursForHourlyScale int64 `json:"data_retention_time_in_hours_for_hourly_scale,omitempty"`
// data retention time in hours for monthly scale
DataRetentionTimeInHoursForMonthlyScale int64 `json:"data_retention_time_in_hours_for_monthly_scale,omitempty"`
// data retention time in hours for others
DataRetentionTimeInHoursForOthers int64 `json:"data_retention_time_in_hours_for_others,omitempty"`
// debug device
DebugDevice string `json:"debug_device,omitempty"`
// debug mgmt
DebugMgmt string `json:"debug_mgmt,omitempty"`
// debug sdn
DebugSdn string `json:"debug_sdn,omitempty"`
// debug system
DebugSystem string `json:"debug_system,omitempty"`
// default site device auth password alert
DefaultSiteDeviceAuthPasswordAlert bool `json:"default_site_device_auth_password_alert,omitempty"`
// facebook wifi registered
FacebookWifiRegistered bool `json:"facebook_wifi_registered,omitempty"`
// hostname
Hostname string `json:"hostname,omitempty"`
// https port
HTTPSPort int64 `json:"https_port,omitempty"`
// image maps use google engine
ImageMapsUseGoogleEngine bool `json:"image_maps_use_google_engine,omitempty"`
// inform port
InformPort int64 `json:"inform_port,omitempty"`
// ip addrs
IPAddrs []string `json:"ip_addrs"`
// live chat
LiveChat string `json:"live_chat,omitempty"`
// name
Name string `json:"name,omitempty"`
// override inform host
OverrideInformHost bool `json:"override_inform_host,omitempty"`
// radius disconnect running
RadiusDisconnectRunning bool `json:"radius_disconnect_running,omitempty"`
// store enabled
StoreEnabled string `json:"store_enabled,omitempty"`
// timezone
Timezone string `json:"timezone,omitempty"`
// unifi go enabled
UnifiGoEnabled bool `json:"unifi_go_enabled,omitempty"`
// unsupported device count
UnsupportedDeviceCount int64 `json:"unsupported_device_count,omitempty"`
// update available
UpdateAvailable bool `json:"update_available,omitempty"`
// update downloaded
UpdateDownloaded bool `json:"update_downloaded,omitempty"`
// version
Version string `json:"version,omitempty"`
}
GetSystemInfoResponseDataItems0 get system info response data items0 swagger:model GetSystemInfoResponseDataItems0
func (*GetSystemInfoResponseDataItems0) MarshalBinary ¶
func (m *GetSystemInfoResponseDataItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetSystemInfoResponseDataItems0) UnmarshalBinary ¶
func (m *GetSystemInfoResponseDataItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SiteEvent ¶
type SiteEvent struct {
// id
ID string `json:"_id,omitempty"`
// ap
Ap string `json:"ap,omitempty"`
// channel from
ChannelFrom string `json:"channel_from,omitempty"`
// channel to
ChannelTo string `json:"channel_to,omitempty"`
// datetime
// Format: date-time
Datetime strfmt.DateTime `json:"datetime,omitempty"`
// key
Key string `json:"key,omitempty"`
// msg
Msg string `json:"msg,omitempty"`
// radio from
RadioFrom string `json:"radio_from,omitempty"`
// radio to
RadioTo string `json:"radio_to,omitempty"`
// site id
SiteID string `json:"site_id,omitempty"`
// subsystem
Subsystem string `json:"subsystem,omitempty"`
// time
Time int64 `json:"time,omitempty"`
// user
User string `json:"user,omitempty"`
}
SiteEvent site event swagger:model siteEvent
func (*SiteEvent) MarshalBinary ¶
MarshalBinary interface implementation
func (*SiteEvent) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SiteItem ¶
type SiteItem struct {
// id
ID string `json:"_id,omitempty"`
// attr hidden id
AttrHiddenID string `json:"attr_hidden_id,omitempty"`
// attr no delete
AttrNoDelete bool `json:"attr_no_delete,omitempty"`
// desc
Desc string `json:"desc,omitempty"`
// health
Health []*SiteItemHealth `json:"health"`
// name
Name string `json:"name,omitempty"`
// num new alarms
NumNewAlarms int64 `json:"num_new_alarms,omitempty"`
// role
Role string `json:"role,omitempty"`
}
SiteItem site item swagger:model siteItem
func (*SiteItem) MarshalBinary ¶
MarshalBinary interface implementation
func (*SiteItem) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SiteItemHealth ¶
type SiteItemHealth struct {
// num adopted
NumAdopted int64 `json:"num_adopted,omitempty"`
// num ap
NumAp int64 `json:"num_ap,omitempty"`
// num disabled
NumDisabled int64 `json:"num_disabled,omitempty"`
// num disconnected
NumDisconnected int64 `json:"num_disconnected,omitempty"`
// num guest
NumGuest int64 `json:"num_guest,omitempty"`
// num gw
NumGw int64 `json:"num_gw,omitempty"`
// num iot
NumIot int64 `json:"num_iot,omitempty"`
// num pending
NumPending int64 `json:"num_pending,omitempty"`
// num sw
NumSw int64 `json:"num_sw,omitempty"`
// num user
NumUser int64 `json:"num_user,omitempty"`
// rx bytes r
RxBytesR int64 `json:"rx_bytes-r,omitempty"`
// status
Status string `json:"status,omitempty"`
// subsystem
Subsystem string `json:"subsystem,omitempty"`
// tx bytes r
TxBytesR int64 `json:"tx_bytes-r,omitempty"`
}
SiteItemHealth site item health swagger:model siteItemHealth
func (*SiteItemHealth) MarshalBinary ¶
func (m *SiteItemHealth) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SiteItemHealth) UnmarshalBinary ¶
func (m *SiteItemHealth) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation