o
    ëÉ¶dI4  ã                   @   s8   d dl mZmZmZ d dlmZ eG dd„ deƒƒZdS )é    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   s‚  e Zd ZdZdd„ Zedd„ ƒZejdd„ ƒZedd„ ƒZejd	d„ ƒZed
d„ ƒZ	e	jdd„ ƒZ	edd„ ƒZ
e
jdd„ ƒZ
edd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd „ ƒZejd!d „ ƒZed"d#„ ƒZejd$d#„ ƒZed%d&„ ƒZejd'd&„ ƒZed(d)„ ƒZejd*d)„ ƒZd+d,„ Zd-d.„ Zd/d0„ Zd1S )2ÚSchedulez
    The schedule object
    c                 K   s–   ddddddddddddddœ| _ dd	d
dddddddddddœ| _d| _d| _d| _d| _d| _d| _d| _d| _	d| _
d| _d| _d| _d| _dS )a_  
        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 key:
            The value to assign to the key property of this Schedule.
        :type key: str

        :param model_version:
            The value to assign to the model_version property of this Schedule.
        :type model_version: str

        :param model_type:
            The value to assign to the model_type property of this Schedule.
        :type model_type: str

        :param parent_ref:
            The value to assign to the parent_ref property of this Schedule.
        :type parent_ref: oci.data_integration.models.ParentReference

        :param name:
            The value to assign to the name property of this Schedule.
        :type name: str

        :param description:
            The value to assign to the description property of this Schedule.
        :type description: str

        :param object_version:
            The value to assign to the object_version property of this Schedule.
        :type object_version: int

        :param object_status:
            The value to assign to the object_status property of this Schedule.
        :type object_status: int

        :param identifier:
            The value to assign to the identifier property of this Schedule.
        :type identifier: str

        :param frequency_details:
            The value to assign to the frequency_details property of this Schedule.
        :type frequency_details: oci.data_integration.models.AbstractFrequencyDetails

        :param timezone:
            The value to assign to the timezone property of this Schedule.
        :type timezone: str

        :param is_daylight_adjustment_enabled:
            The value to assign to the is_daylight_adjustment_enabled property of this Schedule.
        :type is_daylight_adjustment_enabled: bool

        :param metadata:
            The value to assign to the metadata property of this Schedule.
        :type metadata: oci.data_integration.models.ObjectMetadata

        ÚstrZParentReferenceÚintZAbstractFrequencyDetailsÚboolZObjectMetadata)ÚkeyÚmodel_versionÚ
model_typeÚ
parent_refÚnameÚdescriptionÚobject_versionÚobject_statusÚ
identifierÚfrequency_detailsÚtimezoneÚis_daylight_adjustment_enabledÚmetadatar
   ZmodelVersionZ	modelTypeZ	parentRefr   r   ZobjectVersionZobjectStatusr   ZfrequencyDetailsr   ZisDaylightAdjustmentEnabledr   N)Zswagger_typesZattribute_mapÚ_keyÚ_model_versionÚ_model_typeÚ_parent_refÚ_nameÚ_descriptionÚ_object_versionÚ_object_statusÚ_identifierÚ_frequency_detailsÚ	_timezoneÚ_is_daylight_adjustment_enabledÚ	_metadata)ÚselfÚkwargs© r&   úHusr/lib/python3.10/site-packages/oci/data_integration/models/schedule.pyÚ__init__   sR   ;óó
zSchedule.__init__c                 C   ó   | j S )a  
        Gets the key of this Schedule.
        Generated key that can be used in API calls to identify schedule. On scenarios where reference to the schedule is needed, a value can be passed in create.


        :return: The key of this Schedule.
        :rtype: str
        ©r   ©r$   r&   r&   r'   r
   z   ó   
zSchedule.keyc                 C   ó
   || _ dS )a  
        Sets the key of this Schedule.
        Generated key that can be used in API calls to identify schedule. On scenarios where reference to the schedule is needed, a value can be passed in create.


        :param key: The key of this Schedule.
        :type: str
        Nr*   )r$   r
   r&   r&   r'   r
   †   ó   

c                 C   r)   )a   
        Gets the model_version of this Schedule.
        This is a version number that is used by the service to upgrade objects if needed through releases of the service.


        :return: The model_version of this Schedule.
        :rtype: str
        ©r   r+   r&   r&   r'   r   ’   r,   zSchedule.model_versionc                 C   r-   )a  
        Sets the model_version of this Schedule.
        This is a version number that is used by the service to upgrade objects if needed through releases of the service.


        :param model_version: The model_version of this Schedule.
        :type: str
        Nr/   )r$   r   r&   r&   r'   r   ž   r.   c                 C   r)   )zŸ
        Gets the model_type of this Schedule.
        The type of the object.


        :return: The model_type of this Schedule.
        :rtype: str
        ©r   r+   r&   r&   r'   r   ª   r,   zSchedule.model_typec                 C   r-   )z¨
        Sets the model_type of this Schedule.
        The type of the object.


        :param model_type: The model_type of this Schedule.
        :type: str
        Nr0   )r$   r   r&   r&   r'   r   ¶   r.   c                 C   r)   )z¦
        Gets the parent_ref of this Schedule.

        :return: The parent_ref of this Schedule.
        :rtype: oci.data_integration.models.ParentReference
        ©r   r+   r&   r&   r'   r   Â   ó   zSchedule.parent_refc                 C   r-   )z¯
        Sets the parent_ref of this Schedule.

        :param parent_ref: The parent_ref of this Schedule.
        :type: oci.data_integration.models.ParentReference
        Nr1   )r$   r   r&   r&   r'   r   Ì   ó   
c                 C   r)   )a/  
        Gets the name of this Schedule.
        Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.


        :return: The name of this Schedule.
        :rtype: str
        ©r   r+   r&   r&   r'   r   Ö   r,   zSchedule.namec                 C   r-   )a2  
        Sets the name of this Schedule.
        Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.


        :param name: The name of this Schedule.
        :type: str
        Nr4   )r$   r   r&   r&   r'   r   â   r.   c                 C   r)   )z®
        Gets the description of this Schedule.
        Detailed description for the object.


        :return: The description of this Schedule.
        :rtype: str
        ©r   r+   r&   r&   r'   r   î   r,   zSchedule.descriptionc                 C   r-   )z¸
        Sets the description of this Schedule.
        Detailed description for the object.


        :param description: The description of this Schedule.
        :type: str
        Nr5   )r$   r   r&   r&   r'   r   ú   r.   c                 C   r)   )a  
        Gets the object_version of this Schedule.
        This is used by the service for optimistic locking of the object, to prevent multiple users from simultaneously updating the object.


        :return: The object_version of this Schedule.
        :rtype: int
        ©r   r+   r&   r&   r'   r     r,   zSchedule.object_versionc                 C   r-   )a!  
        Sets the object_version of this Schedule.
        This is used by the service for optimistic locking of the object, to prevent multiple users from simultaneously updating the object.


        :param object_version: The object_version of this Schedule.
        :type: int
        Nr6   )r$   r   r&   r&   r'   r     r.   c                 C   r)   )zþ
        Gets the object_status of this Schedule.
        The status of an object that can be set to value 1 for shallow references across objects, other values reserved.


        :return: The object_status of this Schedule.
        :rtype: int
        ©r   r+   r&   r&   r'   r     r,   zSchedule.object_statusc                 C   r-   )a
  
        Sets the object_status of this Schedule.
        The status of an object that can be set to value 1 for shallow references across objects, other values reserved.


        :param object_status: The object_status of this Schedule.
        :type: int
        Nr7   )r$   r   r&   r&   r'   r   *  r.   c                 C   r)   )a  
        Gets the identifier of this Schedule.
        Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.


        :return: The identifier of this Schedule.
        :rtype: str
        ©r   r+   r&   r&   r'   r   6  r,   zSchedule.identifierc                 C   r-   )a%  
        Sets the identifier of this Schedule.
        Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.


        :param identifier: The identifier of this Schedule.
        :type: str
        Nr8   )r$   r   r&   r&   r'   r   B  r.   c                 C   r)   )z½
        Gets the frequency_details of this Schedule.

        :return: The frequency_details of this Schedule.
        :rtype: oci.data_integration.models.AbstractFrequencyDetails
        ©r    r+   r&   r&   r'   r   N  r2   zSchedule.frequency_detailsc                 C   r-   )zÍ
        Sets the frequency_details of this Schedule.

        :param frequency_details: The frequency_details of this Schedule.
        :type: oci.data_integration.models.AbstractFrequencyDetails
        Nr9   )r$   r   r&   r&   r'   r   X  r3   c                 C   r)   )z¢
        Gets the timezone of this Schedule.
        The timezone for the schedule.


        :return: The timezone of this Schedule.
        :rtype: str
        ©r!   r+   r&   r&   r'   r   b  r,   zSchedule.timezonec                 C   r-   )z©
        Sets the timezone of this Schedule.
        The timezone for the schedule.


        :param timezone: The timezone of this Schedule.
        :type: str
        Nr:   )r$   r   r&   r&   r'   r   n  r.   c                 C   r)   )zÔ
        Gets the is_daylight_adjustment_enabled of this Schedule.
        A flag to indicate daylight saving.


        :return: The is_daylight_adjustment_enabled of this Schedule.
        :rtype: bool
        ©r"   r+   r&   r&   r'   r   z  r,   z'Schedule.is_daylight_adjustment_enabledc                 C   r-   )zñ
        Sets the is_daylight_adjustment_enabled of this Schedule.
        A flag to indicate daylight saving.


        :param is_daylight_adjustment_enabled: The is_daylight_adjustment_enabled of this Schedule.
        :type: bool
        Nr;   )r$   r   r&   r&   r'   r   †  r.   c                 C   r)   )z¡
        Gets the metadata of this Schedule.

        :return: The metadata of this Schedule.
        :rtype: oci.data_integration.models.ObjectMetadata
        ©r#   r+   r&   r&   r'   r   ’  r2   zSchedule.metadatac                 C   r-   )z¨
        Sets the metadata of this Schedule.

        :param metadata: The metadata of this Schedule.
        :type: oci.data_integration.models.ObjectMetadata
        Nr<   )r$   r   r&   r&   r'   r   œ  r3   c                 C   s   t | ƒS ©N)r   r+   r&   r&   r'   Ú__repr__¦  s   zSchedule.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r$   Úotherr&   r&   r'   Ú__eq__©  s   zSchedule.__eq__c                 C   s
   | |k S r=   r&   r@   r&   r&   r'   Ú__ne__¯  s   
zSchedule.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r(   Úpropertyr
   Úsetterr   r   r   r   r   r   r   r   r   r   r   r   r>   rB   rC   r&   r&   r&   r'   r      st    h






	
	










	
	




	
	r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r&   r&   r&   r'   Ú<module>   s   