ScanResult
Result of a scan list or scan info request from the Sites Manager service.
Declaration
data class ScanResultConstructors
constructor(status: SitesRequestStatus, error: SitesError, scans: List<ScanInfo>)
Parameters
| Name | Type | Summary |
|---|---|---|
| status | SitesRequestStatus | - |
| error | SitesError | - |
| scans | List<ScanInfo> | - |
Properties
| Name | Type | Summary |
|---|---|---|
| error | SitesError | The error code if the request failed. |
| scans | List<ScanInfo> | The site's scans, or the single scan requested; empty if the request failed. |
| status | SitesRequestStatus | The status of the request. |