ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�MetricExtensionQueryProperties� )�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 ed d� �Z e jdd� �Z edd� �Zejdd� �Zdd� Zdd� Z dd� ZdS )�JmxQueryPropertieszF Query Properties applicable to JMX type of collection method c K sV ddddddd�| _ dddddd d�| _d | _d | _d | _d | _d | _d | _d| _d S )a� Initializes a new JmxQueryProperties object with values from keyword arguments. The default value of the :py:attr:`~oci.stack_monitoring.models.JmxQueryProperties.collection_method` attribute of this class is ``JMX`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param collection_method: The value to assign to the collection_method property of this JmxQueryProperties. Allowed values for this property are: "OS_COMMAND", "SQL", "JMX" :type collection_method: str :param managed_bean_query: The value to assign to the managed_bean_query property of this JmxQueryProperties. :type managed_bean_query: str :param jmx_attributes: The value to assign to the jmx_attributes property of this JmxQueryProperties. :type jmx_attributes: str :param identity_metric: The value to assign to the identity_metric property of this JmxQueryProperties. :type identity_metric: str :param auto_row_prefix: The value to assign to the auto_row_prefix property of this JmxQueryProperties. :type auto_row_prefix: str :param is_metric_service_enabled: The value to assign to the is_metric_service_enabled property of this JmxQueryProperties. :type is_metric_service_enabled: bool �str�bool)Zcollection_method�managed_bean_query�jmx_attributes�identity_metric�auto_row_prefix�is_metric_service_enabledZcollectionMethodZmanagedBeanQueryZ jmxAttributesZidentityMetricZ autoRowPrefixZisMetricServiceEnabledNZJMX)Z swagger_typesZ attribute_mapZ_collection_method�_managed_bean_query�_jmx_attributes�_identity_metric�_auto_row_prefix�_is_metric_service_enabled)�self�kwargs� r �T/usr/lib/python3.9/site-packages/oci/stack_monitoring/models/jmx_query_properties.py�__init__ s* !� � zJmxQueryProperties.__init__c C s | j S )z� **[Required]** Gets the managed_bean_query of this JmxQueryProperties. JMX Managed Bean Query or Metric Service Table name :return: The managed_bean_query of this JmxQueryProperties. :rtype: str �r �r r r r r L s z%JmxQueryProperties.managed_bean_queryc C s || _ dS )z� Sets the managed_bean_query of this JmxQueryProperties. JMX Managed Bean Query or Metric Service Table name :param managed_bean_query: The managed_bean_query of this JmxQueryProperties. :type: str Nr )r r r r r r X s c C s | j S )a **[Required]** Gets the jmx_attributes of this JmxQueryProperties. List of JMX attributes or Metric Service Table columns separated by semi-colon :return: The jmx_attributes of this JmxQueryProperties. :rtype: str �r r r r r r d s z!JmxQueryProperties.jmx_attributesc C s || _ dS )z� Sets the jmx_attributes of this JmxQueryProperties. List of JMX attributes or Metric Service Table columns separated by semi-colon :param jmx_attributes: The jmx_attributes of this JmxQueryProperties. :type: str Nr )r r r r r r p s c C s | j S )a Gets the identity_metric of this JmxQueryProperties. Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics :return: The identity_metric of this JmxQueryProperties. :rtype: str �r r r r r r | s z"JmxQueryProperties.identity_metricc C s || _ dS )a Sets the identity_metric of this JmxQueryProperties. Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics :param identity_metric: The identity_metric of this JmxQueryProperties. :type: str Nr )r r r r r r � s c C s | j S )a Gets the auto_row_prefix of this JmxQueryProperties. Prefix for an auto generated metric, in case multiple rows with non unique key values are returned :return: The auto_row_prefix of this JmxQueryProperties. :rtype: str �r r r r r r � s z"JmxQueryProperties.auto_row_prefixc C s || _ dS )a Sets the auto_row_prefix of this JmxQueryProperties. Prefix for an auto generated metric, in case multiple rows with non unique key values are returned :param auto_row_prefix: The auto_row_prefix of this JmxQueryProperties. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the is_metric_service_enabled of this JmxQueryProperties. Indicates if Metric Service is enabled on server domain :return: The is_metric_service_enabled of this JmxQueryProperties. :rtype: bool �r r r r r r � s z,JmxQueryProperties.is_metric_service_enabledc C s || _ dS )a Sets the is_metric_service_enabled of this JmxQueryProperties. Indicates if Metric Service is enabled on server domain :param is_metric_service_enabled: The is_metric_service_enabled of this JmxQueryProperties. :type: bool Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zJmxQueryProperties.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zJmxQueryProperties.__eq__c C s | |k S r r r# r r r �__ne__� s zJmxQueryProperties.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r! r% r&