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                   @   sˆ   e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
Zdd„ Zedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZdd„ Zdd„ Zdd„ ZdS )ÚSchedulez
    A scanning schedule
    ÚDAILYÚWEEKLYÚSUNDAYÚMONDAYÚTUESDAYÚ	WEDNESDAYÚTHURSDAYÚFRIDAYÚSATURDAYc                 K   s(   dddœ| _ dddœ| _d| _d| _dS )ax  
        Initializes a new Schedule object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param type:
            The value to assign to the type property of this Schedule.
            Allowed values for this property are: "DAILY", "WEEKLY", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type type: str

        :param day_of_week:
            The value to assign to the day_of_week property of this Schedule.
            Allowed values for this property are: "SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type day_of_week: str

        Ústr)ÚtypeÚday_of_weekr   Z	dayOfWeekN)Zswagger_typesZattribute_mapÚ_typeÚ_day_of_week)ÚselfÚkwargs© r   úNusr/lib/python3.10/site-packages/oci/vulnerability_scanning/models/schedule.pyÚ__init__6   s   þþ
zSchedule.__init__c                 C   ó   | j S )aZ  
        **[Required]** Gets the type of this Schedule.
        How often the scan occurs

        Allowed values for this property are: "DAILY", "WEEKLY", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The type of this Schedule.
        :rtype: str
        )r   ©r   r   r   r   r   U   ó   zSchedule.typec                 C   s    ddg}t ||ƒsd}|| _dS )z˜
        Sets the type of this Schedule.
        How often the scan occurs


        :param type: The type of this Schedule.
        :type: str
        r   r   ÚUNKNOWN_ENUM_VALUEN)r   r   )r   r   Úallowed_valuesr   r   r   r   d   ó   


c                 C   r   )aÀ  
        Gets the day_of_week of this Schedule.
        Day of week the scheduled scan occurs (not applicable for DAILY type)

        Allowed values for this property are: "SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The day_of_week of this Schedule.
        :rtype: str
        )r   r   r   r   r   r   s   r   zSchedule.day_of_weekc                 C   s    g d¢}t ||ƒsd}|| _dS )zÙ
        Sets the day_of_week of this Schedule.
        Day of week the scheduled scan occurs (not applicable for DAILY type)


        :param day_of_week: The day_of_week of this Schedule.
        :type: str
        )r	   r
   r   r   r   r   r   r   N)r   r   )r   r   r   r   r   r   r   ‚   r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__‘   s   zSchedule.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__”   s   zSchedule.__eq__c                 C   s
   | |k S r    r   r#   r   r   r   Ú__ne__š   s   
zSchedule.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Z
TYPE_DAILYZTYPE_WEEKLYZDAY_OF_WEEK_SUNDAYZDAY_OF_WEEK_MONDAYZDAY_OF_WEEK_TUESDAYZDAY_OF_WEEK_WEDNESDAYZDAY_OF_WEEK_THURSDAYZDAY_OF_WEEK_FRIDAYZDAY_OF_WEEK_SATURDAYr   Úpropertyr   Úsetterr   r!   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   