ruạṛ
a N��fsA � @ 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 @ sD 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$� �Zd&d'� Zd(d)� Zd*d+� Zd,S )-�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 sx ddddddddddd� | _ dd d ddd ddddd� | _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 �str�bool�intzlist[Month]z list[int]zlist[DayOfWeek]) � 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_weeksr �patchingMode�isCustomActionTimeoutEnabled�customActionTimeoutInMins�isMonthlyPatchingEnabledr �weeksOfMonth� daysOfWeek� hoursOfDay�leadTimeInWeeksN)� swagger_types� 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)�self�kwargs� r. ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/maintenance_window.py�__init__ s@ 3�� zMaintenanceWindow.__init__c C s | j S )a� **[Required]** Gets the preference of this MaintenanceWindow. The maintenance window scheduling preference. 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'. :return: The preference of this MaintenanceWindow. :rtype: str )r"