Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceStatus ¶
type DeviceStatus struct { Id string `json:"id,omitempty"` DeviceName string `json:"deviceName"` OperatingState string `json:"operatingState"` Reason string `json:"reason,omitempty"` UpTime int64 `json:"upTime,omitempty"` DownTime int64 `json:"downTime,omitempty"` LastReportedTime int64 `json:"lastReportedTime,omitempty"` Collected int64 `json:"collected,omitempty"` Failures int64 `json:"failures,omitempty"` Frequency float64 `json:"frequency,omitempty"` }
type UpdateDeviceStatus ¶
type UpdateDeviceStatus struct { Id *string `json:"id" validate:"required_without=DeviceName,edgex-dto-uuid"` DeviceName *string `json:"deviceName" validate:"required_without=Id,edgex-dto-none-empty-string,edgex-dto-rfc3986-unreserved-chars"` OperatingState *string `json:"operatingState,omitempty"` Reason *string `json:"reason,omitempty"` UpTime *int64 `json:"upTime,omitempty"` DownTime *int64 `json:"downTime,omitempty"` LastReportedTime *int64 `json:"lastReportedTime,omitempty"` Collected *int64 `json:"collected,omitempty"` Failures *int64 `json:"failures,omitempty"` Frequency *float64 `json:"frequency,omitempty"` }
Click to show internal directories.
Click to hide internal directories.