o
    ëÉ¶dd  ã                   @   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dd„ Zdd„ Zdd„ ZdS ) ÚUploadz
    Upload is a container that can be used to put all the relevant and related on-demand upload based log files together.
    c                 K   sZ   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 Upload object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param reference:
            The value to assign to the reference property of this Upload.
        :type reference: str

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

        :param time_created:
            The value to assign to the time_created property of this Upload.
        :type time_created: datetime

        :param time_updated:
            The value to assign to the time_updated property of this Upload.
        :type time_updated: datetime

        :param time_earliest_log_entry:
            The value to assign to the time_earliest_log_entry property of this Upload.
        :type time_earliest_log_entry: datetime

        :param time_latest_log_entry:
            The value to assign to the time_latest_log_entry property of this Upload.
        :type time_latest_log_entry: datetime

        :param warnings_count:
            The value to assign to the warnings_count property of this Upload.
        :type warnings_count: int

        ÚstrÚdatetimeÚint)Ú	referenceÚnameÚtime_createdÚtime_updatedÚtime_earliest_log_entryÚtime_latest_log_entryÚwarnings_countr
   r   ZtimeCreatedZtimeUpdatedZtimeEarliestLogEntryZtimeLatestLogEntryZwarningsCountN)	Zswagger_typesZattribute_mapÚ
_referenceÚ_nameÚ_time_createdÚ_time_updatedÚ_time_earliest_log_entryÚ_time_latest_log_entryÚ_warnings_count)ÚselfÚkwargs© r   úCusr/lib/python3.10/site-packages/oci/log_analytics/models/upload.pyÚ__init__   s.   #ùù

zUpload.__init__c                 C   ó   | j S )zÊ
        **[Required]** Gets the reference of this Upload.
        Unique internal identifier to refer the upload container.


        :return: The reference of this Upload.
        :rtype: str
        ©r   ©r   r   r   r   r
   P   ó   
zUpload.referencec                 C   ó
   || _ dS )zÃ
        Sets the reference of this Upload.
        Unique internal identifier to refer the upload container.


        :param reference: The reference of this Upload.
        :type: str
        Nr   )r   r
   r   r   r   r
   \   ó   

c                 C   r   )z¨
        **[Required]** Gets the name of this Upload.
        The name of the upload container.


        :return: The name of this Upload.
        :rtype: str
        ©r   r   r   r   r   r   h   r    zUpload.namec                 C   r!   )zœ
        Sets the name of this Upload.
        The name of the upload container.


        :param name: The name of this Upload.
        :type: str
        Nr#   )r   r   r   r   r   r   t   r"   c                 C   r   )zñ
        **[Required]** Gets the time_created of this Upload.
        The time when this upload container is created. An RFC3339 formatted datetime string.


        :return: The time_created of this Upload.
        :rtype: datetime
        ©r   r   r   r   r   r   €   r    zUpload.time_createdc                 C   r!   )zí
        Sets the time_created of this Upload.
        The time when this upload container is created. An RFC3339 formatted datetime string.


        :param time_created: The time_created of this Upload.
        :type: datetime
        Nr$   )r   r   r   r   r   r   Œ   r"   c                 C   r   )zê
        Gets the time_updated of this Upload.
        The latest time when this upload container is modified. An RFC3339 formatted datetime string.


        :return: The time_updated of this Upload.
        :rtype: datetime
        ©r   r   r   r   r   r   ˜   r    zUpload.time_updatedc                 C   r!   )zõ
        Sets the time_updated of this Upload.
        The latest time when this upload container is modified. An RFC3339 formatted datetime string.


        :param time_updated: The time_updated of this Upload.
        :type: datetime
        Nr%   )r   r   r   r   r   r   ¤   r"   c                 C   r   )a  
        Gets the time_earliest_log_entry of this Upload.
        This time represents the earliest time of the log entry in this container. An RFC3339 formatted datetime string.


        :return: The time_earliest_log_entry of this Upload.
        :rtype: datetime
        ©r   r   r   r   r   r   °   r    zUpload.time_earliest_log_entryc                 C   r!   )a)  
        Sets the time_earliest_log_entry of this Upload.
        This time represents the earliest time of the log entry in this container. An RFC3339 formatted datetime string.


        :param time_earliest_log_entry: The time_earliest_log_entry of this Upload.
        :type: datetime
        Nr&   )r   r   r   r   r   r   ¼   r"   c                 C   r   )a  
        Gets the time_latest_log_entry of this Upload.
        This time represents the latest time of the log entry in this container. An RFC3339 formatted datetime string.


        :return: The time_latest_log_entry of this Upload.
        :rtype: datetime
        ©r   r   r   r   r   r   È   r    zUpload.time_latest_log_entryc                 C   r!   )a!  
        Sets the time_latest_log_entry of this Upload.
        This time represents the latest time of the log entry in this container. An RFC3339 formatted datetime string.


        :param time_latest_log_entry: The time_latest_log_entry of this Upload.
        :type: datetime
        Nr'   )r   r   r   r   r   r   Ô   r"   c                 C   r   )z¸
        Gets the warnings_count of this Upload.
        Number of warnings associated to the upload.


        :return: The warnings_count of this Upload.
        :rtype: int
        ©r   r   r   r   r   r   à   r    zUpload.warnings_countc                 C   r!   )zÅ
        Sets the warnings_count of this Upload.
        Number of warnings associated to the upload.


        :param warnings_count: The warnings_count of this Upload.
        :type: int
        Nr(   )r   r   r   r   r   r   ì   r"   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__ø   s   zUpload.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__û   s   zUpload.__eq__c                 C   s
   | |k S r)   r   r,   r   r   r   Ú__ne__  s   
zUpload.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr
   Úsetterr   r   r   r   r   r   r*   r.   r/   r   r   r   r   r      sD    >













r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   