ruạṛ
a ���f � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )� SourceDetails� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )�MonitoringSourceDetailsz� The Monitoring source. For configuration instructions, see `Creating a Connector with a Monitoring Source`__. __ https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector-monitoring-source.htm c K s. ddd�| _ ddd�| _d| _d| _d| _dS )a) Initializes a new MonitoringSourceDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.sch.models.MonitoringSourceDetails.kind` attribute of this class is ``monitoring`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param kind: The value to assign to the kind property of this MonitoringSourceDetails. Allowed values for this property are: "logging", "monitoring", "streaming", "plugin" :type kind: str :param monitoring_sources: The value to assign to the monitoring_sources property of this MonitoringSourceDetails. :type monitoring_sources: list[oci.sch.models.MonitoringSource] �strzlist[MonitoringSource])�kind�monitoring_sourcesr ZmonitoringSourcesNZ monitoring)Z swagger_typesZ attribute_mapZ_kind�_monitoring_sources)�self�kwargs� r �L/usr/lib/python3.9/site-packages/oci/sch/models/monitoring_source_details.py�__init__ s ��z MonitoringSourceDetails.__init__c C s | j S )a9 **[Required]** Gets the monitoring_sources of this MonitoringSourceDetails. One or more compartment-specific lists of metric namespaces to retrieve data from. :return: The monitoring_sources of this MonitoringSourceDetails. :rtype: list[oci.sch.models.MonitoringSource] �r �r r r r r 4 s z*MonitoringSourceDetails.monitoring_sourcesc C s || _ dS )a; Sets the monitoring_sources of this MonitoringSourceDetails. One or more compartment-specific lists of metric namespaces to retrieve data from. :param monitoring_sources: The monitoring_sources of this MonitoringSourceDetails. :type: list[oci.sch.models.MonitoringSource] Nr )r r r r r r @ s c C s t | �S �N)r r r r r �__repr__L s z MonitoringSourceDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__O s zMonitoringSourceDetails.__eq__c C s | |k S r r r r r r �__ne__U s zMonitoringSourceDetails.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r s r N) Zsource_detailsr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn