File: //lib/python3.9/site-packages/oci/sch/models/__pycache__/log_source.cpython-39.opt-1.pyc
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 @ s~ e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed
d� �Z e jdd� �Z d
d� Z
dd� Zdd� ZdS )� LogSourcez+
The logs for this Logging source.
c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )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
logGroupIdZlogIdN)Z
swagger_typesZ
attribute_map�_compartment_id�
_log_group_id�_log_id)�self�kwargs� r �=/usr/lib/python3.9/site-packages/oci/sch/models/log_source.py�__init__ s ��zLogSource.__init__c C s | 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 s zLogSource.compartment_idc C s
|| _ dS )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 s c C s | j S )a�
Gets the log_group_id of this LogSource.
The `OCID`__ of the log group.
Note: For the Notifications target, only _Audit is allowed.
Example OCID for _Audit log group: ocid1.tenancy.oc1..exampleuniqueid/_Audit
__ 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 s zLogSource.log_group_idc C s
|| _ dS )a�
Sets the log_group_id of this LogSource.
The `OCID`__ of the log group.
Note: For the Notifications target, only _Audit is allowed.
Example OCID for _Audit log group: ocid1.tenancy.oc1..exampleuniqueid/_Audit
__ 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 ` s c C s | j S )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
p s zLogSource.log_idc C s
|| _ dS )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
~ s c C s t | �S �N)r r r r r �__repr__� s zLogSource.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zLogSource.__eq__c C s
| |k S r r r r r r �__ne__� s zLogSource.__ne__N)
�__name__�
__module__�__qualname__�__doc__r �propertyr �setterr r
r r r r r r r r s"