Skip to content

Commit 4536c86

Browse files
feat(cockpit): update naming OB-276 (scaleway#2469)
Co-authored-by: Laure-di <[email protected]>
1 parent 0394c5b commit 4536c86

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

api/cockpit/v1/cockpit_sdk.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -562,8 +562,8 @@ type ContactPoint struct {
562562
// Region: region.
563563
Region scw.Region `json:"region"`
564564

565-
// ReceiveResolvedNotifications: send an email notification when an alert is marked as resolved.
566-
ReceiveResolvedNotifications bool `json:"receive_resolved_notifications"`
565+
// SendResolvedNotifications: send an email notification when an alert is marked as resolved.
566+
SendResolvedNotifications bool `json:"send_resolved_notifications"`
567567
}
568568

569569
// DataSource: Data source.
@@ -1087,8 +1087,8 @@ type RegionalAPICreateContactPointRequest struct {
10871087
// Precisely one of Email must be set.
10881088
Email *ContactPointEmail `json:"email,omitempty"`
10891089

1090-
// ReceiveResolvedNotifications: send an email notification when an alert is marked as resolved.
1091-
ReceiveResolvedNotifications *bool `json:"receive_resolved_notifications,omitempty"`
1090+
// SendResolvedNotifications: send an email notification when an alert is marked as resolved.
1091+
SendResolvedNotifications *bool `json:"send_resolved_notifications,omitempty"`
10921092
}
10931093

10941094
// RegionalAPICreateDataSourceRequest: Create a data source.
@@ -1338,8 +1338,8 @@ type RegionalAPIUpdateContactPointRequest struct {
13381338
// Precisely one of Email must be set.
13391339
Email *ContactPointEmail `json:"email,omitempty"`
13401340

1341-
// ReceiveResolvedNotifications: enable or disable notifications when alert is resolved.
1342-
ReceiveResolvedNotifications *bool `json:"receive_resolved_notifications,omitempty"`
1341+
// SendResolvedNotifications: enable or disable notifications when alert is resolved.
1342+
SendResolvedNotifications *bool `json:"send_resolved_notifications,omitempty"`
13431343
}
13441344

13451345
// RegionalAPIUpdateDataSourceRequest: Update a data source name.

0 commit comments

Comments
 (0)