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 )Ú	LogSourcez+
    The logs for this Logging source.
    c                 K   s2   ddddœ| _ ddddœ| _d| _d| _d| _dS )ac  
        Initializes a new LogSource object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param compartment_id:
            The value to assign to the compartment_id property of this LogSource.
        :type compartment_id: str

        :param log_group_id:
            The value to assign to the log_group_id property of this LogSource.
        :type log_group_id: str

        :param log_id:
            The value to assign to the log_id property of this LogSource.
        :type log_id: str

        Ústr)Úcompartment_idÚlog_group_idÚlog_idZcompartmentIdZ
logGroupIdZlogIdN)Zswagger_typesZattribute_mapÚ_compartment_idÚ_log_group_idÚ_log_id)ÚselfÚkwargs© r   ú=usr/lib/python3.10/site-packages/oci/sch/models/log_source.pyÚ__init__   s   ýý
zLogSource.__init__c                 C   ó   | j S )a3  
        **[Required]** Gets the compartment_id of this LogSource.
        The `OCID`__ of the compartment containing the log source.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :return: The compartment_id of this LogSource.
        :rtype: str
        ©r   ©r   r   r   r   r   4   ó   zLogSource.compartment_idc                 C   ó
   || _ dS )a1  
        Sets the compartment_id of this LogSource.
        The `OCID`__ of the compartment containing the log source.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :param compartment_id: The compartment_id of this LogSource.
        :type: str
        Nr   )r   r   r   r   r   r   B   ó   
c                 C   r   )a  
        Gets the log_group_id of this LogSource.
        The `OCID`__ of the log group.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :return: The log_group_id of this LogSource.
        :rtype: str
        ©r   r   r   r   r   r	   P   r   zLogSource.log_group_idc                 C   r   )a  
        Sets the log_group_id of this LogSource.
        The `OCID`__ of the log group.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :param log_group_id: The log_group_id of this LogSource.
        :type: str
        Nr   )r   r	   r   r   r   r	   ^   r   c                 C   r   )zò
        Gets the log_id of this LogSource.
        The `OCID`__ of the log.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :return: The log_id of this LogSource.
        :rtype: str
        ©r   r   r   r   r   r
   l   r   zLogSource.log_idc                 C   r   )z÷
        Sets the log_id of this LogSource.
        The `OCID`__ of the log.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :param log_id: The log_id of this LogSource.
        :type: str
        Nr   )r   r
   r   r   r   r
   z   r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__ˆ   s   zLogSource.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__‹   s   zLogSource.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__‘   s   
zLogSource.__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   