ruạṛ
a ���fc � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�Schedule� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )�FixedFrequencySchedulez8 Fixed frequency schedule for a scheduled task. c K sL dddddd�| _ ddddd d�| _d | _d | _d | _d | _d | _d| _d S )aW Initializes a new FixedFrequencySchedule object with values from keyword arguments. The default value of the :py:attr:`~oci.log_analytics.models.FixedFrequencySchedule.type` attribute of this class is ``FIXED_FREQUENCY`` and it should not be changed. 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 FixedFrequencySchedule. Allowed values for this property are: "FIXED_FREQUENCY", "CRON" :type type: str :param misfire_policy: The value to assign to the misfire_policy property of this FixedFrequencySchedule. Allowed values for this property are: "RETRY_ONCE", "RETRY_INDEFINITELY", "SKIP" :type misfire_policy: str :param time_of_first_execution: The value to assign to the time_of_first_execution property of this FixedFrequencySchedule. :type time_of_first_execution: datetime :param recurring_interval: The value to assign to the recurring_interval property of this FixedFrequencySchedule. :type recurring_interval: str :param repeat_count: The value to assign to the repeat_count property of this FixedFrequencySchedule. :type repeat_count: int �strZdatetime�int)�typeZmisfire_policyZtime_of_first_execution�recurring_interval�repeat_countr Z misfirePolicyZtimeOfFirstExecutionZrecurringIntervalZrepeatCountNZFIXED_FREQUENCY)Z swagger_typesZ attribute_mapZ_typeZ_misfire_policyZ_time_of_first_execution�_recurring_interval� _repeat_count)�self�kwargs� r �U/usr/lib/python3.9/site-packages/oci/log_analytics/models/fixed_frequency_schedule.py�__init__ s$ � �zFixedFrequencySchedule.__init__c C s | j S )a� **[Required]** Gets the recurring_interval of this FixedFrequencySchedule. Recurring interval in ISO 8601 extended format as described in https://en.wikipedia.org/wiki/ISO_8601#Durations. The largest supported unit is D, e.g. P14D (not P2W). The value must be at least 5 minutes (PT5M) and at most 3 weeks (P21D or PT30240M). :return: The recurring_interval of this FixedFrequencySchedule. :rtype: str �r �r r r r r F s z)FixedFrequencySchedule.recurring_intervalc C s || _ dS )a� Sets the recurring_interval of this FixedFrequencySchedule. Recurring interval in ISO 8601 extended format as described in https://en.wikipedia.org/wiki/ISO_8601#Durations. The largest supported unit is D, e.g. P14D (not P2W). The value must be at least 5 minutes (PT5M) and at most 3 weeks (P21D or PT30240M). :param recurring_interval: The recurring_interval of this FixedFrequencySchedule. :type: str Nr )r r r r r r U s c C s | j S )a4 Gets the repeat_count of this FixedFrequencySchedule. Number of times (0-based) to execute until auto-stop. Default value -1 will execute indefinitely. Value 0 will execute once. :return: The repeat_count of this FixedFrequencySchedule. :rtype: int �r r r r r r d s z#FixedFrequencySchedule.repeat_countc C s || _ dS )a? Sets the repeat_count of this FixedFrequencySchedule. Number of times (0-based) to execute until auto-stop. Default value -1 will execute indefinitely. Value 0 will execute once. :param repeat_count: The repeat_count of this FixedFrequencySchedule. :type: int Nr )r r r r r r r s c C s t | �S �N)r r r r r �__repr__� s zFixedFrequencySchedule.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zFixedFrequencySchedule.__eq__c C s | |k S r r r r r r �__ne__� s zFixedFrequencySchedule.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s 4 r N) Zscheduler Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn