ruạṛ
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 ZdZdZdd� Zedd� �Zejdd� �Zedd � �Z e jd d � �Z edd� �Z e jd d� �Z dd� Zdd� Zdd� Z dS )�OperationalMetricsSourcezE Unified monitoring agent operational metrics source object. �UMA_METRICSc K s2 dddd�| _ dddd�| _d| _d| _d| _dS ) ap Initializes a new OperationalMetricsSource object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param type: The value to assign to the type property of this OperationalMetricsSource. Allowed values for this property are: "UMA_METRICS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param metrics: The value to assign to the metrics property of this OperationalMetricsSource. :type metrics: list[str] :param record_input: The value to assign to the record_input property of this OperationalMetricsSource. :type record_input: oci.logging.models.OperationalMetricsRecordInput �strz list[str]ZOperationalMetricsRecordInput)�type�metrics�record_inputr r ZrecordInputN)Z swagger_typesZ attribute_map�_type�_metrics� _record_input)�self�kwargs� r �Q/usr/lib/python3.9/site-packages/oci/logging/models/operational_metrics_source.py�__init__ s ��z!OperationalMetricsSource.__init__c C s | j S )a� **[Required]** Gets the type of this OperationalMetricsSource. Type of the unified monitoring agent operational metrics source object. Allowed values for this property are: "UMA_METRICS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The type of this OperationalMetricsSource. :rtype: str )r �r r r r r : s zOperationalMetricsSource.typec C s dg}t ||�sd}|| _dS )z� Sets the type of this OperationalMetricsSource. Type of the unified monitoring agent operational metrics source object. :param type: The type of this OperationalMetricsSource. :type: str r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r I s c C s | j S )z� Gets the metrics of this OperationalMetricsSource. List of unified monitoring agent operational metrics. :return: The metrics of this OperationalMetricsSource. :rtype: list[str] �r r r r r r X s z OperationalMetricsSource.metricsc C s || _ dS )z� Sets the metrics of this OperationalMetricsSource. List of unified monitoring agent operational metrics. :param metrics: The metrics of this OperationalMetricsSource. :type: list[str] Nr )r r r r r r d s c C s | j S )z� **[Required]** Gets the record_input of this OperationalMetricsSource. :return: The record_input of this OperationalMetricsSource. :rtype: oci.logging.models.OperationalMetricsRecordInput �r r r r r r p s z%OperationalMetricsSource.record_inputc C s || _ dS )z� Sets the record_input of this OperationalMetricsSource. :param record_input: The record_input of this OperationalMetricsSource. :type: oci.logging.models.OperationalMetricsRecordInput Nr )r r r r r r z s c C s t | �S �N)r r r r r �__repr__� s z!OperationalMetricsSource.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zOperationalMetricsSource.__eq__c C s | |k S r r r r r r �__ne__� s zOperationalMetricsSource.__ne__N)�__name__� __module__�__qualname__�__doc__ZTYPE_UMA_METRICSr �propertyr �setterr r r r r r r r r r s$ $ r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s
cải xoăn