22 lines
769 B
Go
22 lines
769 B
Go
|
package apimodel
|
||
|
|
||
|
// OpenReportRequest is the OpenReport request.
|
||
|
type OpenReportRequest struct {
|
||
|
DataFormatVersion string `json:"data_format_version"`
|
||
|
Format string `json:"format"`
|
||
|
ProbeASN string `json:"probe_asn"`
|
||
|
ProbeCC string `json:"probe_cc"`
|
||
|
SoftwareName string `json:"software_name"`
|
||
|
SoftwareVersion string `json:"software_version"`
|
||
|
TestName string `json:"test_name"`
|
||
|
TestStartTime string `json:"test_start_time"`
|
||
|
TestVersion string `json:"test_version"`
|
||
|
}
|
||
|
|
||
|
// OpenReportResponse is the OpenReport response.
|
||
|
type OpenReportResponse struct {
|
||
|
BackendVersion string `json:"backend_version"`
|
||
|
ReportID string `json:"report_id"`
|
||
|
SupportedFormats []string `json:"supported_formats"`
|
||
|
}
|