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 SecurityEventNotificationRequestJson ¶
type SecurityEventNotificationRequestJson struct { // CustomData corresponds to the JSON schema field "customData". CustomData *CustomDataType `json:"customData,omitempty" yaml:"customData,omitempty"` // Additional information about the occurred security event. // TechInfo *string `json:"techInfo,omitempty" yaml:"techInfo,omitempty"` // Date and time at which the event occurred. // Timestamp string `json:"timestamp" yaml:"timestamp"` // Type of the security event. This value should be taken from the Security events // list. // Type string `json:"type" yaml:"type"` }
func (*SecurityEventNotificationRequestJson) UnmarshalJSON ¶
func (j *SecurityEventNotificationRequestJson) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
Click to show internal directories.
Click to hide internal directories.