ruạṛ
a ���f� � @ 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 ZdZdZdZdZdZdZdZ dZ d Zd Zdd� Z ed d� �Zejdd� �Zedd� �Zejdd� �Zdd� Zdd� Zdd� ZdS )�Schedulez A scanning schedule �DAILY�WEEKLY�SUNDAY�MONDAY�TUESDAY� WEDNESDAY�THURSDAY�FRIDAY�SATURDAYc K s( ddd�| _ ddd�| _d| _d| _dS )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 �N/usr/lib/python3.9/site-packages/oci/vulnerability_scanning/models/schedule.py�__init__6 s ��zSchedule.__init__c C s | 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 s z Schedule.typec C s ddg}t ||�sd}|| _dS )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 s c C s | j S )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 s zSchedule.day_of_weekc C s g d�}t ||�sd}|| _dS )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 � s c C s t | �S �N)r r r r r �__repr__� s zSchedule.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zSchedule.__eq__c C s | |k S r r r r r r �__ne__� s zSchedule.__ne__N)�__name__� __module__�__qualname__�__doc__Z TYPE_DAILYZTYPE_WEEKLYZDAY_OF_WEEK_SUNDAYZDAY_OF_WEEK_MONDAYZDAY_OF_WEEK_TUESDAYZDAY_OF_WEEK_WEDNESDAYZDAY_OF_WEEK_THURSDAYZDAY_OF_WEEK_FRIDAYZDAY_OF_WEEK_SATURDAYr �propertyr �setterr r r"