Skip to content

Commit 4cc53f9

Browse files
authored
feat(iot): deprecate GetHubMetrics and GetDeviceMetrics (#1501)
1 parent 7516f5e commit 4cc53f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/iot/v1/iot_sdk.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,7 +1398,7 @@ type GetHubMetricsRequest struct {
13981398
StartDate *time.Time `json:"-"`
13991399
}
14001400

1401-
// GetHubMetrics: get a hub's metrics
1401+
// Deprecated: GetHubMetrics: get a hub's metrics
14021402
func (s *API) GetHubMetrics(req *GetHubMetricsRequest, opts ...scw.RequestOption) (*GetHubMetricsResponse, error) {
14031403
var err error
14041404

@@ -2025,7 +2025,7 @@ type GetDeviceMetricsRequest struct {
20252025
StartDate *time.Time `json:"-"`
20262026
}
20272027

2028-
// GetDeviceMetrics: get a device's metrics
2028+
// Deprecated: GetDeviceMetrics: get a device's metrics
20292029
func (s *API) GetDeviceMetrics(req *GetDeviceMetricsRequest, opts ...scw.RequestOption) (*GetDeviceMetricsResponse, error) {
20302030
var err error
20312031

0 commit comments

Comments
 (0)