Skip to content

Latest commit

 

History

History
124 lines (67 loc) · 4.88 KB

ApiAtlasGroupMaintenanceWindowView.md

File metadata and controls

124 lines (67 loc) · 4.88 KB

ApiAtlasGroupMaintenanceWindowView

Properties

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]

Methods

NewApiAtlasGroupMaintenanceWindowView

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

NewApiAtlasGroupMaintenanceWindowViewWithDefaults

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

GetAutoDeferOnceEnabled

func (o *ApiAtlasGroupMaintenanceWindowView) GetAutoDeferOnceEnabled() bool

GetAutoDeferOnceEnabled returns the AutoDeferOnceEnabled field if non-nil, zero value otherwise.

GetAutoDeferOnceEnabledOk

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.

SetAutoDeferOnceEnabled

func (o *ApiAtlasGroupMaintenanceWindowView) SetAutoDeferOnceEnabled(v bool)

SetAutoDeferOnceEnabled sets AutoDeferOnceEnabled field to given value.

HasAutoDeferOnceEnabled

func (o *ApiAtlasGroupMaintenanceWindowView) HasAutoDeferOnceEnabled() bool

HasAutoDeferOnceEnabled returns a boolean if a field has been set.

GetDayOfWeek

func (o *ApiAtlasGroupMaintenanceWindowView) GetDayOfWeek() int32

GetDayOfWeek returns the DayOfWeek field if non-nil, zero value otherwise.

GetDayOfWeekOk

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.

SetDayOfWeek

func (o *ApiAtlasGroupMaintenanceWindowView) SetDayOfWeek(v int32)

SetDayOfWeek sets DayOfWeek field to given value.

GetHourOfDay

func (o *ApiAtlasGroupMaintenanceWindowView) GetHourOfDay() int32

GetHourOfDay returns the HourOfDay field if non-nil, zero value otherwise.

GetHourOfDayOk

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.

SetHourOfDay

func (o *ApiAtlasGroupMaintenanceWindowView) SetHourOfDay(v int32)

SetHourOfDay sets HourOfDay field to given value.

GetStartASAP

func (o *ApiAtlasGroupMaintenanceWindowView) GetStartASAP() bool

GetStartASAP returns the StartASAP field if non-nil, zero value otherwise.

GetStartASAPOk

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.

SetStartASAP

func (o *ApiAtlasGroupMaintenanceWindowView) SetStartASAP(v bool)

SetStartASAP sets StartASAP field to given value.

HasStartASAP

func (o *ApiAtlasGroupMaintenanceWindowView) HasStartASAP() bool

HasStartASAP returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]