o
    ɶd                     @   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	dd Z
dd Zdd ZdS )LogEntryzv
    Contains the log content with the associated timestamp and ID. Each
    entry should be less than 1 MB size.
    c                 K   s2   dddd| _ dddd| _d| _d| _d| _dS )a"  
        Initializes a new LogEntry object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param data:
            The value to assign to the data property of this LogEntry.
        :type data: str

        :param id:
            The value to assign to the id property of this LogEntry.
        :type id: str

        :param time:
            The value to assign to the time property of this LogEntry.
        :type time: datetime

        strdatetime)dataidtimer	   r
   r   N)Zswagger_typesZattribute_map_data_id_time)selfkwargs r   Iusr/lib/python3.10/site-packages/oci/loggingingestion/models/log_entry.py__init__   s   
zLogEntry.__init__c                 C      | j S )z
        **[Required]** Gets the data of this LogEntry.
        The log entry content.


        :return: The data of this LogEntry.
        :rtype: str
        r   r   r   r   r   r	   5   s   
zLogEntry.datac                 C   
   || _ dS )z
        Sets the data of this LogEntry.
        The log entry content.


        :param data: The data of this LogEntry.
        :type: str
        Nr   )r   r	   r   r   r   r	   A   s   

c                 C   r   )z
        **[Required]** Gets the id of this LogEntry.
        UUID uniquely representing this logEntry. This is not an OCID related
        to any oracle resource.


        :return: The id of this LogEntry.
        :rtype: str
        r   r   r   r   r   r
   M      zLogEntry.idc                 C   r   )z
        Sets the id of this LogEntry.
        UUID uniquely representing this logEntry. This is not an OCID related
        to any oracle resource.


        :param id: The id of this LogEntry.
        :type: str
        Nr   )r   r
   r   r   r   r
   Z      
c                 C   r   )aB  
        Gets the time of this LogEntry.
        Optional. The timestamp associated with the log entry. An RFC3339-formatted date-time string with milliseconds precision.
        If unspecified, defaults to PutLogsDetails.defaultlogentrytime.


        :return: The time of this LogEntry.
        :rtype: datetime
        r   r   r   r   r   r   g   r   zLogEntry.timec                 C   r   )aE  
        Sets the time of this LogEntry.
        Optional. The timestamp associated with the log entry. An RFC3339-formatted date-time string with milliseconds precision.
        If unspecified, defaults to PutLogsDetails.defaultlogentrytime.


        :param time: The time of this LogEntry.
        :type: datetime
        Nr   )r   r   r   r   r   r   t   r   c                 C   s   t | S N)r   r   r   r   r   __repr__   s   zLogEntry.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__   s   zLogEntry.__eq__c                 C   s
   | |k S r   r   r   r   r   r   __ne__   s   
zLogEntry.__ne__N)__name__
__module____qualname____doc__r   propertyr	   setterr
   r   r   r!   r"   r   r   r   r   r      s$    "





r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r   r   r   r   <module>   s   