ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�AbstractFrequencyDetails� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdZ dZ d d � Zedd� �Z e jd d� �Z edd� �Zejdd� �Zdd� Zdd� Zdd� ZdS )�WeeklyFrequencyDetailszL Frequency Details model for weekly frequency based on day of week. �SUNDAY�MONDAY�TUESDAY� WEDNESDAY�THURSDAY�FRIDAY�SATURDAYc K sB ddddd�| _ ddddd�| _d | _d | _d | _d | _d | _d S )a� Initializes a new WeeklyFrequencyDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.WeeklyFrequencyDetails.model_type` attribute of this class is ``WEEKLY`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param model_type: The value to assign to the model_type property of this WeeklyFrequencyDetails. Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY", "WEEKLY", "MONTHLY_RULE", "CUSTOM", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type model_type: str :param frequency: The value to assign to the frequency property of this WeeklyFrequencyDetails. Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY", "WEEKLY", "CUSTOM", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type frequency: str :param time: The value to assign to the time property of this WeeklyFrequencyDetails. :type time: oci.data_integration.models.Time :param days: The value to assign to the days property of this WeeklyFrequencyDetails. Allowed values for items in this list 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 days: list[str] �strZTimez list[str])Z model_type� frequency�time�daysZ modelTyper r r NZWEEKLY)Z swagger_typesZ attribute_mapZ_model_typeZ _frequency�_time�_days)�self�kwargs� r �X/usr/lib/python3.9/site-packages/oci/data_integration/models/weekly_frequency_details.py�__init__. s ��zWeeklyFrequencyDetails.__init__c C s | j S )z� Gets the time of this WeeklyFrequencyDetails. :return: The time of this WeeklyFrequencyDetails. :rtype: oci.data_integration.models.Time �r �r r r r r _ s zWeeklyFrequencyDetails.timec C s || _ dS )z� Sets the time of this WeeklyFrequencyDetails. :param time: The time of this WeeklyFrequencyDetails. :type: oci.data_integration.models.Time Nr )r r r r r r i s c C s | j S )a� Gets the days of this WeeklyFrequencyDetails. A list of days of the week to be scheduled. i.e. execute on Monday and Thursday. Allowed values for items in this list 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 days of this WeeklyFrequencyDetails. :rtype: list[str] �r r r r r r s s zWeeklyFrequencyDetails.daysc s0 g d�� |r&� fdd�|D �|dd�<