File: //lib/python3.9/site-packages/oci/sch/models/__pycache__/monitoring_source.cpython-39.pyc
a
���f5 � @ 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 @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd
d� Z dd
� Z
dd� ZdS )�MonitoringSourcezQ
A compartment-specific list of metric namespaces to retrieve data from.
c K s( ddd�| _ ddd�| _d| _d| _dS )a7
Initializes a new MonitoringSource 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 MonitoringSource.
:type compartment_id: str
:param namespace_details:
The value to assign to the namespace_details property of this MonitoringSource.
:type namespace_details: oci.sch.models.MonitoringSourceNamespaceDetails
�strZ MonitoringSourceNamespaceDetails)�compartment_id�namespace_detailsZ
compartmentIdZnamespaceDetailsN)Z
swagger_typesZ
attribute_map�_compartment_id�_namespace_details)�self�kwargs� r �D/usr/lib/python3.9/site-packages/oci/sch/models/monitoring_source.py�__init__ s ��zMonitoringSource.__init__c C s | j S )al
**[Required]** Gets the compartment_id of this MonitoringSource.
The `OCID`__ of a compartment containing metric namespaces you want to use for the Monitoring source.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
:return: The compartment_id of this MonitoringSource.
:rtype: str
�r
�r r r r r - s zMonitoringSource.compartment_idc C s
|| _ dS )aj
Sets the compartment_id of this MonitoringSource.
The `OCID`__ of a compartment containing metric namespaces you want to use for the Monitoring source.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
:param compartment_id: The compartment_id of this MonitoringSource.
:type: str
Nr )r r r r r r ; s c C s | j S )z�
**[Required]** Gets the namespace_details of this MonitoringSource.
:return: The namespace_details of this MonitoringSource.
:rtype: oci.sch.models.MonitoringSourceNamespaceDetails
�r r r r r r I s z"MonitoringSource.namespace_detailsc C s
|| _ dS )z�
Sets the namespace_details of this MonitoringSource.
:param namespace_details: The namespace_details of this MonitoringSource.
:type: oci.sch.models.MonitoringSourceNamespaceDetails
Nr )r r r r r r S s c C s t | �S �N)r r r r r �__repr__] s zMonitoringSource.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__` s zMonitoringSource.__eq__c C s
| |k S r r r r r r �__ne__f s zMonitoringSource.__ne__N)�__name__�
__module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s
r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s