ruạṛ
a ���fB � @ 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 ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zdd� Zdd� Z dd� ZdS )�FindingAnalyticsSummaryz� The summary of information about the analytics data of findings or top findings. It includes details such as metric name, findinKey, title (topFindingCategory for top finding), severity (topFindingStatus for top finding) and targetId. �TOP_FINDING_STATS� FINDING_STATSc K s2 dddd�| _ dddd�| _d| _d| _d| _dS ) a� Initializes a new FindingAnalyticsSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param metric_name: The value to assign to the metric_name property of this FindingAnalyticsSummary. Allowed values for this property are: "TOP_FINDING_STATS", "FINDING_STATS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type metric_name: str :param dimensions: The value to assign to the dimensions property of this FindingAnalyticsSummary. :type dimensions: oci.data_safe.models.FindingAnalyticsDimensions :param count: The value to assign to the count property of this FindingAnalyticsSummary. :type count: int �strZFindingAnalyticsDimensions�int)�metric_name� dimensions�countZ metricNamer r N)Z swagger_typesZ attribute_map�_metric_name�_dimensions�_count)�self�kwargs� r �R/usr/lib/python3.9/site-packages/oci/data_safe/models/finding_analytics_summary.py�__init__ s ��z FindingAnalyticsSummary.__init__c C s | j S )a� **[Required]** Gets the metric_name of this FindingAnalyticsSummary. The name of the aggregation metric. Allowed values for this property are: "TOP_FINDING_STATS", "FINDING_STATS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The metric_name of this FindingAnalyticsSummary. :rtype: str )r �r r r r r @ s z#FindingAnalyticsSummary.metric_namec C s ddg}t ||�sd}|| _dS )z� Sets the metric_name of this FindingAnalyticsSummary. The name of the aggregation metric. :param metric_name: The metric_name of this FindingAnalyticsSummary. :type: str r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r O s c C s | j S )z� Gets the dimensions of this FindingAnalyticsSummary. :return: The dimensions of this FindingAnalyticsSummary. :rtype: oci.data_safe.models.FindingAnalyticsDimensions �r r r r r r ^ s z"FindingAnalyticsSummary.dimensionsc C s || _ dS )z� Sets the dimensions of this FindingAnalyticsSummary. :param dimensions: The dimensions of this FindingAnalyticsSummary. :type: oci.data_safe.models.FindingAnalyticsDimensions Nr )r r r r r r h s c C s | j S )z� **[Required]** Gets the count of this FindingAnalyticsSummary. The total count for the aggregation metric. :return: The count of this FindingAnalyticsSummary. :rtype: int �r r r r r r r s zFindingAnalyticsSummary.countc C s || _ dS )z� Sets the count of this FindingAnalyticsSummary. The total count for the aggregation metric. :param count: The count of this FindingAnalyticsSummary. :type: int Nr )r r r r r r ~ s c C s t | �S �N)r r r r r �__repr__� s z FindingAnalyticsSummary.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zFindingAnalyticsSummary.__eq__c C s | |k S r r r r r r �__ne__� s zFindingAnalyticsSummary.__ne__N)�__name__� __module__�__qualname__�__doc__ZMETRIC_NAME_TOP_FINDING_STATSZMETRIC_NAME_FINDING_STATSr �propertyr �setterr r r r r r r r r r s&