File: //lib/python3.9/site-packages/oci/database/models/__pycache__/maintenance_window.cpython-39.pyc
a
���fgF � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s^ e Zd ZdZdZdZdZdZdd� Ze dd � �Z
e
jd
d � �Z
e dd� �Zejd
d� �Ze dd� �Z
e
jdd� �Z
e dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze d d!� �Zejd"d!� �Ze d#d$� �Zejd%d$� �Ze d&d'� �Zejd(d'� �Zd)d*� Zd+d,� Zd-d.� Zd/S )0�MaintenanceWindowz�
The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.
�
NO_PREFERENCE�CUSTOM_PREFERENCE�ROLLING�
NONROLLINGc K s� dddddddddddd�| _ d d
ddd
ddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _
d| _d| _dS )a�
Initializes a new MaintenanceWindow object with values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param preference:
The value to assign to the preference property of this MaintenanceWindow.
Allowed values for this property are: "NO_PREFERENCE", "CUSTOM_PREFERENCE", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type preference: str
:param patching_mode:
The value to assign to the patching_mode property of this MaintenanceWindow.
Allowed values for this property are: "ROLLING", "NONROLLING", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type patching_mode: str
:param is_custom_action_timeout_enabled:
The value to assign to the is_custom_action_timeout_enabled property of this MaintenanceWindow.
:type is_custom_action_timeout_enabled: bool
:param custom_action_timeout_in_mins:
The value to assign to the custom_action_timeout_in_mins property of this MaintenanceWindow.
:type custom_action_timeout_in_mins: int
:param is_monthly_patching_enabled:
The value to assign to the is_monthly_patching_enabled property of this MaintenanceWindow.
:type is_monthly_patching_enabled: bool
:param months:
The value to assign to the months property of this MaintenanceWindow.
:type months: list[oci.database.models.Month]
:param weeks_of_month:
The value to assign to the weeks_of_month property of this MaintenanceWindow.
:type weeks_of_month: list[int]
:param days_of_week:
The value to assign to the days_of_week property of this MaintenanceWindow.
:type days_of_week: list[oci.database.models.DayOfWeek]
:param hours_of_day:
The value to assign to the hours_of_day property of this MaintenanceWindow.
:type hours_of_day: list[int]
:param lead_time_in_weeks:
The value to assign to the lead_time_in_weeks property of this MaintenanceWindow.
:type lead_time_in_weeks: int
:param skip_ru:
The value to assign to the skip_ru property of this MaintenanceWindow.
:type skip_ru: list[bool]
�str�bool�intzlist[Month]z list[int]zlist[DayOfWeek]z
list[bool])�
preference�
patching_mode� is_custom_action_timeout_enabled�custom_action_timeout_in_mins�is_monthly_patching_enabled�months�weeks_of_month�days_of_week�hours_of_day�lead_time_in_weeks�skip_rur ZpatchingModeZisCustomActionTimeoutEnabledZcustomActionTimeoutInMinsZisMonthlyPatchingEnabledr ZweeksOfMonthZ
daysOfWeekZ
hoursOfDayZleadTimeInWeeksZskipRuN)
Z
swagger_typesZ
attribute_map�_preference�_patching_mode�!_is_custom_action_timeout_enabled�_custom_action_timeout_in_mins�_is_monthly_patching_enabled�_months�_weeks_of_month�
_days_of_week�
_hours_of_day�_lead_time_in_weeks�_skip_ru)�self�kwargs� r&