Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPValidationError ¶
type HTTPValidationError struct {
// detail
Detail []*ValidationError `json:"detail,omitempty"`
}
HTTPValidationError HTTP validation error
swagger:model HTTP validation error.
func (*HTTPValidationError) MarshalBinary ¶
func (m *HTTPValidationError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HTTPValidationError) UnmarshalBinary ¶
func (m *HTTPValidationError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TelemetryBody ¶
type TelemetryBody struct {
// clienttimestamp
// Format: date-time
ClientTimestamp *strfmt.DateTime `json:"ClientTimestamp,omitempty"`
// Adding this `EventID` field in the request body does not override the `EventID` generated by server which is saved in the data lake
EventID string `json:"EventId,omitempty"`
// eventname
// Required: true
EventName *string `json:"EventName"`
// eventnamespace
// Required: true
EventNamespace *string `json:"EventNamespace"`
// Adding this `EventTimestamp` field in the request body does not override the `EventTimestamp` generated by server which is saved in the data lake. To add specific timestamp of your telemetry data, please add it to ClientTimestamp field OR a new subfield in the `payload` field
// Format: date-time
EventTimestamp *strfmt.DateTime `json:"EventTimestamp,omitempty"`
// payload
// Required: true
Payload interface{} `json:"Payload"`
}
TelemetryBody Telemetry body
swagger:model Telemetry body.
func (*TelemetryBody) MarshalBinary ¶
func (m *TelemetryBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TelemetryBody) UnmarshalBinary ¶
func (m *TelemetryBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ValidationError ¶
type ValidationError struct {
// loc
// Required: true
Loc []string `json:"loc"`
// msg
// Required: true
Msg *string `json:"msg"`
// type
// Required: true
Type *string `json:"type"`
}
ValidationError Validation error
swagger:model Validation error.
func (*ValidationError) MarshalBinary ¶
func (m *ValidationError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ValidationError) UnmarshalBinary ¶
func (m *ValidationError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Click to show internal directories.
Click to hide internal directories.