You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: admin/model_group_maintenance_window.go
+59-13Lines changed: 59 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,10 @@ type GroupMaintenanceWindow struct {
13
13
// One-based integer that represents the day of the week that the maintenance window starts. | Value | Day of Week | |---|---| | `1` | Sunday | | `2` | Monday | | `3` | Tuesday | | `4` | Wednesday | | `5` | Thursday | | `6` | Friday | | `7` | Saturday |
14
14
DayOfWeekint`json:"dayOfWeek"`
15
15
// Zero-based integer that represents the hour of the of the day that the maintenance window starts according to a 24-hour clock. Use `0` for midnight and `12` for noon.
16
-
HourOfDayint`json:"hourOfDay"`
16
+
HourOfDay*int`json:"hourOfDay,omitempty"`
17
+
// Number of times the current maintenance event for this project has been deferred.
// Flag that indicates whether MongoDB Cloud starts the maintenance window immediately upon receiving this request. To start the maintenance window immediately for your project, MongoDB Cloud must have maintenance scheduled and you must set a maintenance window. This flag resets to `false` after MongoDB Cloud completes maintenance.
18
21
StartASAP*bool`json:"startASAP,omitempty"`
19
22
}
@@ -22,10 +25,9 @@ type GroupMaintenanceWindow struct {
22
25
// This constructor will assign default values to properties that have it defined,
23
26
// and makes sure properties required by API are set, but the set of arguments
24
27
// will change when the set of required properties is changed
0 commit comments