ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�Config� )�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 )� ApdexRulesz� The set of Apdex rules to be used in Apdex computation. In the current version, only one rule set can exist in the configuration. c K s� dddddddddddd�| _ ddd d ddd ddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _dS )a� Initializes a new ApdexRules object with values from keyword arguments. The default value of the :py:attr:`~oci.apm_config.models.ApdexRules.config_type` attribute of this class is ``APDEX`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this ApdexRules. :type id: str :param config_type: The value to assign to the config_type property of this ApdexRules. Allowed values for this property are: "SPAN_FILTER", "METRIC_GROUP", "APDEX", "OPTIONS" :type config_type: str :param time_created: The value to assign to the time_created property of this ApdexRules. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this ApdexRules. :type time_updated: datetime :param created_by: The value to assign to the created_by property of this ApdexRules. :type created_by: str :param updated_by: The value to assign to the updated_by property of this ApdexRules. :type updated_by: str :param etag: The value to assign to the etag property of this ApdexRules. :type etag: str :param freeform_tags: The value to assign to the freeform_tags property of this ApdexRules. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this ApdexRules. :type defined_tags: dict(str, dict(str, object)) :param display_name: The value to assign to the display_name property of this ApdexRules. :type display_name: str :param rules: The value to assign to the rules property of this ApdexRules. :type rules: list[oci.apm_config.models.Apdex] �strZdatetimezdict(str, str)zdict(str, dict(str, object))zlist[Apdex])�idZconfig_typeZtime_createdZtime_updatedZ created_byZ updated_by�etagZ freeform_tagsZdefined_tags�display_name�rulesr Z configTypeZtimeCreatedZtimeUpdatedZ createdByZ updatedByr ZfreeformTagsZdefinedTagsZdisplayNamer NZAPDEX) Z swagger_typesZ attribute_mapZ_idZ_config_typeZ _time_createdZ _time_updatedZ_created_byZ_updated_byZ_etagZ_freeform_tagsZ _defined_tags� _display_name�_rules)�self�kwargs� r �E/usr/lib/python3.9/site-packages/oci/apm_config/models/apdex_rules.py�__init__ sH 5��zApdexRules.__init__c C s | j S )z� Gets the display_name of this ApdexRules. The name by which a configuration entity is displayed to the end user. :return: The display_name of this ApdexRules. :rtype: str �r �r r r r r p s zApdexRules.display_namec C s || _ dS )z� Sets the display_name of this ApdexRules. The name by which a configuration entity is displayed to the end user. :param display_name: The display_name of this ApdexRules. :type: str Nr )r r r r r r | s c C s | j S )z� Gets the rules of this ApdexRules. :return: The rules of this ApdexRules. :rtype: list[oci.apm_config.models.Apdex] �r r r r r r � s zApdexRules.rulesc C s || _ dS )z� Sets the rules of this ApdexRules. :param rules: The rules of this ApdexRules. :type: list[oci.apm_config.models.Apdex] Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zApdexRules.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zApdexRules.__eq__c C s | |k S r r r r r r �__ne__� s zApdexRules.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s ] r N) Zconfigr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn