o
    ëÉ¶dÅ  ã                   @   s8   d dl mZmZmZ d dlmZ eG dd„ deƒƒZdS )é    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   sJ   e Zd ZdZdd„ Zedd„ ƒZejdd„ ƒZdd„ Zd	d
„ Z	dd„ Z
dS )ÚMaintenanceDetailszb
    The Maintenance Policy for the DB System or Read Replica that this model is included in.
    c                 K   s   ddi| _ ddi| _d| _dS )at  
        Initializes a new MaintenanceDetails object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param window_start_time:
            The value to assign to the window_start_time property of this MaintenanceDetails.
        :type window_start_time: str

        Úwindow_start_timeÚstrZwindowStartTimeN)Zswagger_typesZattribute_mapÚ_window_start_time)ÚselfÚkwargs© r   úHusr/lib/python3.10/site-packages/oci/mysql/models/maintenance_details.pyÚ__init__   s
   ÿÿ
zMaintenanceDetails.__init__c                 C   s   | j S )a‹  
        Gets the window_start_time of this MaintenanceDetails.
        The start time of the maintenance window.

        This string is of the format: "{day-of-week} {time-of-day}".

        "{day-of-week}" is a case-insensitive string like "mon", "tue", &c.

        "{time-of-day}" is the "Time" portion of an RFC3339-formatted timestamp. Any second or sub-second time data will be truncated to zero.

        If you set the read replica maintenance window to "" or if not specified, the read replica is set same as the DB system maintenance window.


        :return: The window_start_time of this MaintenanceDetails.
        :rtype: str
        ©r	   ©r
   r   r   r   r   &   s   z$MaintenanceDetails.window_start_timec                 C   s
   || _ dS )a›  
        Sets the window_start_time of this MaintenanceDetails.
        The start time of the maintenance window.

        This string is of the format: "{day-of-week} {time-of-day}".

        "{day-of-week}" is a case-insensitive string like "mon", "tue", &c.

        "{time-of-day}" is the "Time" portion of an RFC3339-formatted timestamp. Any second or sub-second time data will be truncated to zero.

        If you set the read replica maintenance window to "" or if not specified, the read replica is set same as the DB system maintenance window.


        :param window_start_time: The window_start_time of this MaintenanceDetails.
        :type: str
        Nr   )r
   r   r   r   r   r   :   s   
c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__N   s   zMaintenanceDetails.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r
   Úotherr   r   r   Ú__eq__Q   s   zMaintenanceDetails.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__W   s   
zMaintenanceDetails.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr   r   r   r   r   r   r   r      s    

r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   