Skip to content

feat(cockpit): update naming OB-276 #2469

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions api/cockpit/v1/cockpit_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -562,8 +562,8 @@ type ContactPoint struct {
// Region: region.
Region scw.Region `json:"region"`

// ReceiveResolvedNotifications: send an email notification when an alert is marked as resolved.
ReceiveResolvedNotifications bool `json:"receive_resolved_notifications"`
// SendResolvedNotifications: send an email notification when an alert is marked as resolved.
SendResolvedNotifications bool `json:"send_resolved_notifications"`
}

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

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

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

// ReceiveResolvedNotifications: enable or disable notifications when alert is resolved.
ReceiveResolvedNotifications *bool `json:"receive_resolved_notifications,omitempty"`
// SendResolvedNotifications: enable or disable notifications when alert is resolved.
SendResolvedNotifications *bool `json:"send_resolved_notifications,omitempty"`
}

// RegionalAPIUpdateDataSourceRequest: Update a data source name.
Expand Down