ruạṛ
a ���f � @ 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 )�CronSchedulez- Cron schedule for a scheduled task. c K sL dddddd�| _ dddddd�| _d | _d | _d | _d | _d | _d | _d S )a� Initializes a new CronSchedule object with values from keyword arguments. The default value of the :py:attr:`~oci.log_analytics.models.CronSchedule.type` attribute of this class is ``CRON`` 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 CronSchedule. 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 CronSchedule. 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 CronSchedule. :type time_of_first_execution: datetime :param expression: The value to assign to the expression property of this CronSchedule. :type expression: str :param time_zone: The value to assign to the time_zone property of this CronSchedule. :type time_zone: str �strZdatetime)�typeZmisfire_policyZtime_of_first_execution� expression� time_zoner Z misfirePolicyZtimeOfFirstExecutionr ZtimeZoneNZCRON)Z swagger_typesZ attribute_mapZ_typeZ_misfire_policyZ_time_of_first_execution�_expression� _time_zone)�self�kwargs� r �J/usr/lib/python3.9/site-packages/oci/log_analytics/models/cron_schedule.py�__init__ s$ � �zCronSchedule.__init__c C s | j S )z� **[Required]** Gets the expression of this CronSchedule. Value in cron format. :return: The expression of this CronSchedule. :rtype: str �r �r r r r r F s zCronSchedule.expressionc C s || _ dS )z� Sets the expression of this CronSchedule. Value in cron format. :param expression: The expression of this CronSchedule. :type: str Nr )r r r r r r R s c C s | j S )z� **[Required]** Gets the time_zone of this CronSchedule. Time zone, by default UTC. :return: The time_zone of this CronSchedule. :rtype: str �r r r r r r ^ s zCronSchedule.time_zonec C s || _ dS )z� Sets the time_zone of this CronSchedule. Time zone, by default UTC. :param time_zone: The time_zone of this CronSchedule. :type: str Nr )r r r r r r j s c C s t | �S �N)r r r r r �__repr__v s zCronSchedule.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__y s zCronSchedule.__eq__c C s | |k S r r r r r r �__ne__ s zCronSchedule.__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