# coding: utf-8

"""
    vei_api

    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 GetLogRuleResponse(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 = {
        'file_path': 'list[str]',
        'is_running': 'bool',
        'pod_name': 'list[str]',
        'pod_range': 'int',
        'rule_id': 'str',
        'rule_name': 'str',
        'rule_type': 'str',
        'tls_project': 'str',
        'tls_tag': 'str',
        'tls_topic': 'str'
    }

    attribute_map = {
        'file_path': 'file_path',
        'is_running': 'is_running',
        'pod_name': 'pod_name',
        'pod_range': 'pod_range',
        'rule_id': 'rule_id',
        'rule_name': 'rule_name',
        'rule_type': 'rule_type',
        'tls_project': 'tls_project',
        'tls_tag': 'tls_tag',
        'tls_topic': 'tls_topic'
    }

    def __init__(self, file_path=None, is_running=None, pod_name=None, pod_range=None, rule_id=None, rule_name=None, rule_type=None, tls_project=None, tls_tag=None, tls_topic=None, _configuration=None):  # noqa: E501
        """GetLogRuleResponse - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._file_path = None
        self._is_running = None
        self._pod_name = None
        self._pod_range = None
        self._rule_id = None
        self._rule_name = None
        self._rule_type = None
        self._tls_project = None
        self._tls_tag = None
        self._tls_topic = None
        self.discriminator = None

        if file_path is not None:
            self.file_path = file_path
        if is_running is not None:
            self.is_running = is_running
        if pod_name is not None:
            self.pod_name = pod_name
        if pod_range is not None:
            self.pod_range = pod_range
        if rule_id is not None:
            self.rule_id = rule_id
        if rule_name is not None:
            self.rule_name = rule_name
        if rule_type is not None:
            self.rule_type = rule_type
        if tls_project is not None:
            self.tls_project = tls_project
        if tls_tag is not None:
            self.tls_tag = tls_tag
        if tls_topic is not None:
            self.tls_topic = tls_topic

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


        :return: The file_path of this GetLogRuleResponse.  # noqa: E501
        :rtype: list[str]
        """
        return self._file_path

    @file_path.setter
    def file_path(self, file_path):
        """Sets the file_path of this GetLogRuleResponse.


        :param file_path: The file_path of this GetLogRuleResponse.  # noqa: E501
        :type: list[str]
        """

        self._file_path = file_path

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


        :return: The is_running of this GetLogRuleResponse.  # noqa: E501
        :rtype: bool
        """
        return self._is_running

    @is_running.setter
    def is_running(self, is_running):
        """Sets the is_running of this GetLogRuleResponse.


        :param is_running: The is_running of this GetLogRuleResponse.  # noqa: E501
        :type: bool
        """

        self._is_running = is_running

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


        :return: The pod_name of this GetLogRuleResponse.  # noqa: E501
        :rtype: list[str]
        """
        return self._pod_name

    @pod_name.setter
    def pod_name(self, pod_name):
        """Sets the pod_name of this GetLogRuleResponse.


        :param pod_name: The pod_name of this GetLogRuleResponse.  # noqa: E501
        :type: list[str]
        """

        self._pod_name = pod_name

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


        :return: The pod_range of this GetLogRuleResponse.  # noqa: E501
        :rtype: int
        """
        return self._pod_range

    @pod_range.setter
    def pod_range(self, pod_range):
        """Sets the pod_range of this GetLogRuleResponse.


        :param pod_range: The pod_range of this GetLogRuleResponse.  # noqa: E501
        :type: int
        """

        self._pod_range = pod_range

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


        :return: The rule_id of this GetLogRuleResponse.  # noqa: E501
        :rtype: str
        """
        return self._rule_id

    @rule_id.setter
    def rule_id(self, rule_id):
        """Sets the rule_id of this GetLogRuleResponse.


        :param rule_id: The rule_id of this GetLogRuleResponse.  # noqa: E501
        :type: str
        """

        self._rule_id = rule_id

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


        :return: The rule_name of this GetLogRuleResponse.  # noqa: E501
        :rtype: str
        """
        return self._rule_name

    @rule_name.setter
    def rule_name(self, rule_name):
        """Sets the rule_name of this GetLogRuleResponse.


        :param rule_name: The rule_name of this GetLogRuleResponse.  # noqa: E501
        :type: str
        """

        self._rule_name = rule_name

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


        :return: The rule_type of this GetLogRuleResponse.  # noqa: E501
        :rtype: str
        """
        return self._rule_type

    @rule_type.setter
    def rule_type(self, rule_type):
        """Sets the rule_type of this GetLogRuleResponse.


        :param rule_type: The rule_type of this GetLogRuleResponse.  # noqa: E501
        :type: str
        """

        self._rule_type = rule_type

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


        :return: The tls_project of this GetLogRuleResponse.  # noqa: E501
        :rtype: str
        """
        return self._tls_project

    @tls_project.setter
    def tls_project(self, tls_project):
        """Sets the tls_project of this GetLogRuleResponse.


        :param tls_project: The tls_project of this GetLogRuleResponse.  # noqa: E501
        :type: str
        """

        self._tls_project = tls_project

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


        :return: The tls_tag of this GetLogRuleResponse.  # noqa: E501
        :rtype: str
        """
        return self._tls_tag

    @tls_tag.setter
    def tls_tag(self, tls_tag):
        """Sets the tls_tag of this GetLogRuleResponse.


        :param tls_tag: The tls_tag of this GetLogRuleResponse.  # noqa: E501
        :type: str
        """

        self._tls_tag = tls_tag

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


        :return: The tls_topic of this GetLogRuleResponse.  # noqa: E501
        :rtype: str
        """
        return self._tls_topic

    @tls_topic.setter
    def tls_topic(self, tls_topic):
        """Sets the tls_topic of this GetLogRuleResponse.


        :param tls_topic: The tls_topic of this GetLogRuleResponse.  # noqa: E501
        :type: str
        """

        self._tls_topic = tls_topic

    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(GetLogRuleResponse, 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, GetLogRuleResponse):
            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, GetLogRuleResponse):
            return True

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