1package model
2
3// CheckInConfigWebConnectivity is the configuration for the WebConnectivity test
4type CheckInConfigWebConnectivity struct {
5	CategoryCodes []string `json:"category_codes"` // CategoryCodes is an array of category codes
6}
7
8// CheckInConfig contains configuration for calling the checkin API.
9type CheckInConfig struct {
10	Charging        bool                         `json:"charging"`         // Charging indicate if the phone is actually charging
11	OnWiFi          bool                         `json:"on_wifi"`          // OnWiFi indicate if the phone is actually connected to a WiFi network
12	Platform        string                       `json:"platform"`         // Platform of the probe
13	ProbeASN        string                       `json:"probe_asn"`        // ProbeASN is the probe country code
14	ProbeCC         string                       `json:"probe_cc"`         // ProbeCC is the probe country code
15	RunType         string                       `json:"run_type"`         // RunType
16	SoftwareName    string                       `json:"software_name"`    // SoftwareName of the probe
17	SoftwareVersion string                       `json:"software_version"` // SoftwareVersion of the probe
18	WebConnectivity CheckInConfigWebConnectivity `json:"web_connectivity"` // WebConnectivity class contain an array of categories
19}
20