# coding: utf-8

"""
    llmscan

    No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)  # noqa: E501

    OpenAPI spec version: common-version
    
    Generated by: https://github.com/swagger-api/swagger-codegen.git
"""


import pprint
import re  # noqa: F401

import six

from volcenginesdkcore.configuration import Configuration


class DeepForGetRiskSummaryOutput(object):
    """NOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    """

    """
    Attributes:
      swagger_types (dict): The key is attribute name
                            and the value is attribute type.
      attribute_map (dict): The key is attribute name
                            and the value is json key in definition.
    """
    swagger_types = {
        'critical': 'int',
        'details': 'list[DetailForGetRiskSummaryOutput]',
        'exec_count': 'int',
        'high': 'int',
        'low': 'int',
        'medium': 'int',
        'risk_count': 'int',
        'total_count': 'int'
    }

    attribute_map = {
        'critical': 'Critical',
        'details': 'Details',
        'exec_count': 'ExecCount',
        'high': 'High',
        'low': 'Low',
        'medium': 'Medium',
        'risk_count': 'RiskCount',
        'total_count': 'TotalCount'
    }

    def __init__(self, critical=None, details=None, exec_count=None, high=None, low=None, medium=None, risk_count=None, total_count=None, _configuration=None):  # noqa: E501
        """DeepForGetRiskSummaryOutput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._critical = None
        self._details = None
        self._exec_count = None
        self._high = None
        self._low = None
        self._medium = None
        self._risk_count = None
        self._total_count = None
        self.discriminator = None

        if critical is not None:
            self.critical = critical
        if details is not None:
            self.details = details
        if exec_count is not None:
            self.exec_count = exec_count
        if high is not None:
            self.high = high
        if low is not None:
            self.low = low
        if medium is not None:
            self.medium = medium
        if risk_count is not None:
            self.risk_count = risk_count
        if total_count is not None:
            self.total_count = total_count

    @property
    def critical(self):
        """Gets the critical of this DeepForGetRiskSummaryOutput.  # noqa: E501


        :return: The critical of this DeepForGetRiskSummaryOutput.  # noqa: E501
        :rtype: int
        """
        return self._critical

    @critical.setter
    def critical(self, critical):
        """Sets the critical of this DeepForGetRiskSummaryOutput.


        :param critical: The critical of this DeepForGetRiskSummaryOutput.  # noqa: E501
        :type: int
        """

        self._critical = critical

    @property
    def details(self):
        """Gets the details of this DeepForGetRiskSummaryOutput.  # noqa: E501


        :return: The details of this DeepForGetRiskSummaryOutput.  # noqa: E501
        :rtype: list[DetailForGetRiskSummaryOutput]
        """
        return self._details

    @details.setter
    def details(self, details):
        """Sets the details of this DeepForGetRiskSummaryOutput.


        :param details: The details of this DeepForGetRiskSummaryOutput.  # noqa: E501
        :type: list[DetailForGetRiskSummaryOutput]
        """

        self._details = details

    @property
    def exec_count(self):
        """Gets the exec_count of this DeepForGetRiskSummaryOutput.  # noqa: E501


        :return: The exec_count of this DeepForGetRiskSummaryOutput.  # noqa: E501
        :rtype: int
        """
        return self._exec_count

    @exec_count.setter
    def exec_count(self, exec_count):
        """Sets the exec_count of this DeepForGetRiskSummaryOutput.


        :param exec_count: The exec_count of this DeepForGetRiskSummaryOutput.  # noqa: E501
        :type: int
        """

        self._exec_count = exec_count

    @property
    def high(self):
        """Gets the high of this DeepForGetRiskSummaryOutput.  # noqa: E501


        :return: The high of this DeepForGetRiskSummaryOutput.  # noqa: E501
        :rtype: int
        """
        return self._high

    @high.setter
    def high(self, high):
        """Sets the high of this DeepForGetRiskSummaryOutput.


        :param high: The high of this DeepForGetRiskSummaryOutput.  # noqa: E501
        :type: int
        """

        self._high = high

    @property
    def low(self):
        """Gets the low of this DeepForGetRiskSummaryOutput.  # noqa: E501


        :return: The low of this DeepForGetRiskSummaryOutput.  # noqa: E501
        :rtype: int
        """
        return self._low

    @low.setter
    def low(self, low):
        """Sets the low of this DeepForGetRiskSummaryOutput.


        :param low: The low of this DeepForGetRiskSummaryOutput.  # noqa: E501
        :type: int
        """

        self._low = low

    @property
    def medium(self):
        """Gets the medium of this DeepForGetRiskSummaryOutput.  # noqa: E501


        :return: The medium of this DeepForGetRiskSummaryOutput.  # noqa: E501
        :rtype: int
        """
        return self._medium

    @medium.setter
    def medium(self, medium):
        """Sets the medium of this DeepForGetRiskSummaryOutput.


        :param medium: The medium of this DeepForGetRiskSummaryOutput.  # noqa: E501
        :type: int
        """

        self._medium = medium

    @property
    def risk_count(self):
        """Gets the risk_count of this DeepForGetRiskSummaryOutput.  # noqa: E501


        :return: The risk_count of this DeepForGetRiskSummaryOutput.  # noqa: E501
        :rtype: int
        """
        return self._risk_count

    @risk_count.setter
    def risk_count(self, risk_count):
        """Sets the risk_count of this DeepForGetRiskSummaryOutput.


        :param risk_count: The risk_count of this DeepForGetRiskSummaryOutput.  # noqa: E501
        :type: int
        """

        self._risk_count = risk_count

    @property
    def total_count(self):
        """Gets the total_count of this DeepForGetRiskSummaryOutput.  # noqa: E501


        :return: The total_count of this DeepForGetRiskSummaryOutput.  # noqa: E501
        :rtype: int
        """
        return self._total_count

    @total_count.setter
    def total_count(self, total_count):
        """Sets the total_count of this DeepForGetRiskSummaryOutput.


        :param total_count: The total_count of this DeepForGetRiskSummaryOutput.  # noqa: E501
        :type: int
        """

        self._total_count = total_count

    def to_dict(self):
        """Returns the model properties as a dict"""
        result = {}

        for attr, _ in six.iteritems(self.swagger_types):
            value = getattr(self, attr)
            if isinstance(value, list):
                result[attr] = list(map(
                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
                    value
                ))
            elif hasattr(value, "to_dict"):
                result[attr] = value.to_dict()
            elif isinstance(value, dict):
                result[attr] = dict(map(
                    lambda item: (item[0], item[1].to_dict())
                    if hasattr(item[1], "to_dict") else item,
                    value.items()
                ))
            else:
                result[attr] = value
        if issubclass(DeepForGetRiskSummaryOutput, dict):
            for key, value in self.items():
                result[key] = value

        return result

    def to_str(self):
        """Returns the string representation of the model"""
        return pprint.pformat(self.to_dict())

    def __repr__(self):
        """For `print` and `pprint`"""
        return self.to_str()

    def __eq__(self, other):
        """Returns true if both objects are equal"""
        if not isinstance(other, DeepForGetRiskSummaryOutput):
            return False

        return self.to_dict() == other.to_dict()

    def __ne__(self, other):
        """Returns true if both objects are not equal"""
        if not isinstance(other, DeepForGetRiskSummaryOutput):
            return True

        return self.to_dict() != other.to_dict()
