GetLogRequest

package
v0.0.0-...-07563a9 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomDataType

type CustomDataType struct {
	// VendorId corresponds to the JSON schema field "vendorId".
	VendorId string `json:"vendorId" yaml:"vendorId"`
}

This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.

func (*CustomDataType) UnmarshalJSON

func (j *CustomDataType) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type GetLogRequestJson

type GetLogRequestJson struct {
	// CustomData corresponds to the JSON schema field "customData".
	CustomData *CustomDataType `json:"customData,omitempty" yaml:"customData,omitempty"`

	// Log corresponds to the JSON schema field "log".
	Log LogParametersType `json:"log" yaml:"log"`

	// LogType corresponds to the JSON schema field "logType".
	LogType LogEnumType_1 `json:"logType" yaml:"logType"`

	// The Id of this request
	//
	RequestId int `json:"requestId" yaml:"requestId"`

	// This specifies how many times the Charging Station must try to upload the log
	// before giving up. If this field is not present, it is left to Charging Station
	// to decide how many times it wants to retry.
	//
	Retries *int `json:"retries,omitempty" yaml:"retries,omitempty"`

	// The interval in seconds after which a retry may be attempted. If this field is
	// not present, it is left to Charging Station to decide how long to wait between
	// attempts.
	//
	RetryInterval *int `json:"retryInterval,omitempty" yaml:"retryInterval,omitempty"`
}

func (*GetLogRequestJson) UnmarshalJSON

func (j *GetLogRequestJson) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type LogEnumType

type LogEnumType string
const LogEnumTypeDiagnosticsLog LogEnumType = "DiagnosticsLog"
const LogEnumTypeSecurityLog LogEnumType = "SecurityLog"

func (*LogEnumType) UnmarshalJSON

func (j *LogEnumType) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type LogEnumType_1

type LogEnumType_1 string
const LogEnumType_1_DiagnosticsLog LogEnumType_1 = "DiagnosticsLog"
const LogEnumType_1_SecurityLog LogEnumType_1 = "SecurityLog"

func (*LogEnumType_1) UnmarshalJSON

func (j *LogEnumType_1) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type LogParametersType

type LogParametersType struct {
	// CustomData corresponds to the JSON schema field "customData".
	CustomData *CustomDataType `json:"customData,omitempty" yaml:"customData,omitempty"`

	// Log. Latest_ Timestamp. Date_ Time
	// urn:x-enexis:ecdm:uid:1:569482
	// This contains the date and time of the latest logging information to include in
	// the diagnostics.
	//
	LatestTimestamp *string `json:"latestTimestamp,omitempty" yaml:"latestTimestamp,omitempty"`

	// Log. Oldest_ Timestamp. Date_ Time
	// urn:x-enexis:ecdm:uid:1:569477
	// This contains the date and time of the oldest logging information to include in
	// the diagnostics.
	//
	OldestTimestamp *string `json:"oldestTimestamp,omitempty" yaml:"oldestTimestamp,omitempty"`

	// Log. Remote_ Location. URI
	// urn:x-enexis:ecdm:uid:1:569484
	// The URL of the location at the remote system where the log should be stored.
	//
	RemoteLocation string `json:"remoteLocation" yaml:"remoteLocation"`
}

Log urn:x-enexis:ecdm:uid:2:233373 Generic class for the configuration of logging entries.

func (*LogParametersType) UnmarshalJSON

func (j *LogParametersType) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

Jump to

Keyboard shortcuts

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