| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/oci/devops/models/__pycache__/ |
Upload File : |
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 @ sp e Zd ZdZdZdZdZdd� Zedd� �Z e j
d d� �Z ed
d� �Zej
dd� �Zd
d� Zdd� Z
dd� ZdS )�TriggerSchedulez`
Specifies a trigger schedule. Timing information for when to initiate automated syncs.
�NONE�DEFAULT�CUSTOMc K s( ddd�| _ ddd�| _d| _d| _dS )a�
Initializes a new TriggerSchedule object with values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param schedule_type:
The value to assign to the schedule_type property of this TriggerSchedule.
Allowed values for this property are: "NONE", "DEFAULT", "CUSTOM", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type schedule_type: str
:param custom_schedule:
The value to assign to the custom_schedule property of this TriggerSchedule.
:type custom_schedule: str
�str)�
schedule_type�custom_scheduleZscheduleTypeZcustomScheduleN)Z
swagger_typesZ
attribute_map�_schedule_type�_custom_schedule)�self�kwargs� r �F/usr/lib/python3.9/site-packages/oci/devops/models/trigger_schedule.py�__init__ s ��zTriggerSchedule.__init__c C s | j S )a*
**[Required]** Gets the schedule_type of this TriggerSchedule.
Different types of trigger schedule:
NONE - No automated synchronization schedule.
DEFAULT - Trigger schedule is every 30 minutes.
CUSTOM - Custom triggering schedule.
Allowed values for this property are: "NONE", "DEFAULT", "CUSTOM", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:return: The schedule_type of this TriggerSchedule.
:rtype: str
)r
�r r r r r ; s zTriggerSchedule.schedule_typec C s g d�}t ||�sd}|| _dS )ag
Sets the schedule_type of this TriggerSchedule.
Different types of trigger schedule:
NONE - No automated synchronization schedule.
DEFAULT - Trigger schedule is every 30 minutes.
CUSTOM - Custom triggering schedule.
:param schedule_type: The schedule_type of this TriggerSchedule.
:type: str
)r r r ZUNKNOWN_ENUM_VALUEN)r r
)r r Zallowed_valuesr r r r M s
c C s | j S )a%
Gets the custom_schedule of this TriggerSchedule.
Valid if type is CUSTOM. Following RFC 5545 recurrence rules, we can specify starting time, occurrence frequency, and interval size.
Example for frequency could be DAILY/WEEKLY/HOURLY or any RFC 5545 supported frequency, which is followed by start time of this window.
You can control the start time with BYHOUR, BYMINUTE and BYSECONDS. It is followed by the interval size.
:return: The custom_schedule of this TriggerSchedule.
:rtype: str
�r r r r r r _ s zTriggerSchedule.custom_schedulec C s
|| _ dS )a3
Sets the custom_schedule of this TriggerSchedule.
Valid if type is CUSTOM. Following RFC 5545 recurrence rules, we can specify starting time, occurrence frequency, and interval size.
Example for frequency could be DAILY/WEEKLY/HOURLY or any RFC 5545 supported frequency, which is followed by start time of this window.
You can control the start time with BYHOUR, BYMINUTE and BYSECONDS. It is followed by the interval size.
:param custom_schedule: The custom_schedule of this TriggerSchedule.
:type: str
Nr )r r r r r r m s c C s t | �S �N)r r r r r �__repr__{ s zTriggerSchedule.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__~ s zTriggerSchedule.__eq__c C s
| |k S r r r r r r �__ne__� s zTriggerSchedule.__ne__N)�__name__�
__module__�__qualname__�__doc__ZSCHEDULE_TYPE_NONEZSCHEDULE_TYPE_DEFAULTZSCHEDULE_TYPE_CUSTOMr �propertyr �setterr r r r r r r r r s
r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s