model

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package model provides a model for the telemetry request

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DescriptionRequest

type DescriptionRequest struct {
	DescriptionIDs []string `json:"descriptions"`
	Version        string   `json:"version"`
}

DescriptionRequest - is the model for the description request

type DescriptionResponse

type DescriptionResponse struct {
	ID           string                  `json:"RequestID"`
	Descriptions map[string]Descriptions `json:"Descriptions"`
	Timestamp    string                  `json:"Timestamp"`
}

DescriptionResponse - is the model for the description response

type Descriptions

type Descriptions struct {
	DescriptionID    string `json:"descriptionRuleID"`
	DescriptionTitle string `json:"descriptionTitle"`
	DescriptionText  string `json:"descriptionText"`
}

Descriptions - is the model for the description response

type VersionRequest

type VersionRequest struct {
	Version string `json:"version"`
}

VersionRequest - is the model for the version request

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL