Name | Type | Description | Notes |
---|---|---|---|
AutoDeferOnceEnabled | Pointer to bool | Flag that indicates whether MongoDB Cloud should defer all maintenance windows for one week after you enable them. | [optional] |
DayOfWeek | int32 | One-based integer that represents the day of the week that the maintenance window starts. | Value |
HourOfDay | int32 | 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. | |
StartASAP | Pointer to bool | 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. | [optional] |
func NewApiAtlasGroupMaintenanceWindowView(dayOfWeek int32, hourOfDay int32, ) *ApiAtlasGroupMaintenanceWindowView
NewApiAtlasGroupMaintenanceWindowView instantiates a new ApiAtlasGroupMaintenanceWindowView object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiAtlasGroupMaintenanceWindowViewWithDefaults() *ApiAtlasGroupMaintenanceWindowView
NewApiAtlasGroupMaintenanceWindowViewWithDefaults instantiates a new ApiAtlasGroupMaintenanceWindowView object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *ApiAtlasGroupMaintenanceWindowView) GetAutoDeferOnceEnabled() bool
GetAutoDeferOnceEnabled returns the AutoDeferOnceEnabled field if non-nil, zero value otherwise.
func (o *ApiAtlasGroupMaintenanceWindowView) GetAutoDeferOnceEnabledOk() (*bool, bool)
GetAutoDeferOnceEnabledOk returns a tuple with the AutoDeferOnceEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiAtlasGroupMaintenanceWindowView) SetAutoDeferOnceEnabled(v bool)
SetAutoDeferOnceEnabled sets AutoDeferOnceEnabled field to given value.
func (o *ApiAtlasGroupMaintenanceWindowView) HasAutoDeferOnceEnabled() bool
HasAutoDeferOnceEnabled returns a boolean if a field has been set.
func (o *ApiAtlasGroupMaintenanceWindowView) GetDayOfWeek() int32
GetDayOfWeek returns the DayOfWeek field if non-nil, zero value otherwise.
func (o *ApiAtlasGroupMaintenanceWindowView) GetDayOfWeekOk() (*int32, bool)
GetDayOfWeekOk returns a tuple with the DayOfWeek field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiAtlasGroupMaintenanceWindowView) SetDayOfWeek(v int32)
SetDayOfWeek sets DayOfWeek field to given value.
func (o *ApiAtlasGroupMaintenanceWindowView) GetHourOfDay() int32
GetHourOfDay returns the HourOfDay field if non-nil, zero value otherwise.
func (o *ApiAtlasGroupMaintenanceWindowView) GetHourOfDayOk() (*int32, bool)
GetHourOfDayOk returns a tuple with the HourOfDay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiAtlasGroupMaintenanceWindowView) SetHourOfDay(v int32)
SetHourOfDay sets HourOfDay field to given value.
func (o *ApiAtlasGroupMaintenanceWindowView) GetStartASAP() bool
GetStartASAP returns the StartASAP field if non-nil, zero value otherwise.
func (o *ApiAtlasGroupMaintenanceWindowView) GetStartASAPOk() (*bool, bool)
GetStartASAPOk returns a tuple with the StartASAP field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiAtlasGroupMaintenanceWindowView) SetStartASAP(v bool)
SetStartASAP sets StartASAP field to given value.
func (o *ApiAtlasGroupMaintenanceWindowView) HasStartASAP() bool
HasStartASAP returns a boolean if a field has been set.