# coding: utf-8

"""
    vmp

    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 GetExternalPrometheusResponse(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 = {
        'auth_type': 'str',
        'create_time': 'str',
        'custom_header_kvs': 'list[CustomHeaderKVForGetExternalPrometheusOutput]',
        'description': 'str',
        'id': 'str',
        'max_query_rate': 'int',
        'name': 'str',
        'project_name': 'str',
        'status': 'str',
        'subnet_ids': 'list[str]',
        'tags': 'list[TagForGetExternalPrometheusOutput]',
        'type': 'str',
        'url': 'str',
        'username': 'str',
        'vpcid': 'str'
    }

    attribute_map = {
        'auth_type': 'AuthType',
        'create_time': 'CreateTime',
        'custom_header_kvs': 'CustomHeaderKVs',
        'description': 'Description',
        'id': 'Id',
        'max_query_rate': 'MaxQueryRate',
        'name': 'Name',
        'project_name': 'ProjectName',
        'status': 'Status',
        'subnet_ids': 'SubnetIds',
        'tags': 'Tags',
        'type': 'Type',
        'url': 'URL',
        'username': 'Username',
        'vpcid': 'VPCId'
    }

    def __init__(self, auth_type=None, create_time=None, custom_header_kvs=None, description=None, id=None, max_query_rate=None, name=None, project_name=None, status=None, subnet_ids=None, tags=None, type=None, url=None, username=None, vpcid=None, _configuration=None):  # noqa: E501
        """GetExternalPrometheusResponse - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._auth_type = None
        self._create_time = None
        self._custom_header_kvs = None
        self._description = None
        self._id = None
        self._max_query_rate = None
        self._name = None
        self._project_name = None
        self._status = None
        self._subnet_ids = None
        self._tags = None
        self._type = None
        self._url = None
        self._username = None
        self._vpcid = None
        self.discriminator = None

        if auth_type is not None:
            self.auth_type = auth_type
        if create_time is not None:
            self.create_time = create_time
        if custom_header_kvs is not None:
            self.custom_header_kvs = custom_header_kvs
        if description is not None:
            self.description = description
        if id is not None:
            self.id = id
        if max_query_rate is not None:
            self.max_query_rate = max_query_rate
        if name is not None:
            self.name = name
        if project_name is not None:
            self.project_name = project_name
        if status is not None:
            self.status = status
        if subnet_ids is not None:
            self.subnet_ids = subnet_ids
        if tags is not None:
            self.tags = tags
        if type is not None:
            self.type = type
        if url is not None:
            self.url = url
        if username is not None:
            self.username = username
        if vpcid is not None:
            self.vpcid = vpcid

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


        :return: The auth_type of this GetExternalPrometheusResponse.  # noqa: E501
        :rtype: str
        """
        return self._auth_type

    @auth_type.setter
    def auth_type(self, auth_type):
        """Sets the auth_type of this GetExternalPrometheusResponse.


        :param auth_type: The auth_type of this GetExternalPrometheusResponse.  # noqa: E501
        :type: str
        """

        self._auth_type = auth_type

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


        :return: The create_time of this GetExternalPrometheusResponse.  # noqa: E501
        :rtype: str
        """
        return self._create_time

    @create_time.setter
    def create_time(self, create_time):
        """Sets the create_time of this GetExternalPrometheusResponse.


        :param create_time: The create_time of this GetExternalPrometheusResponse.  # noqa: E501
        :type: str
        """

        self._create_time = create_time

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


        :return: The custom_header_kvs of this GetExternalPrometheusResponse.  # noqa: E501
        :rtype: list[CustomHeaderKVForGetExternalPrometheusOutput]
        """
        return self._custom_header_kvs

    @custom_header_kvs.setter
    def custom_header_kvs(self, custom_header_kvs):
        """Sets the custom_header_kvs of this GetExternalPrometheusResponse.


        :param custom_header_kvs: The custom_header_kvs of this GetExternalPrometheusResponse.  # noqa: E501
        :type: list[CustomHeaderKVForGetExternalPrometheusOutput]
        """

        self._custom_header_kvs = custom_header_kvs

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


        :return: The description of this GetExternalPrometheusResponse.  # noqa: E501
        :rtype: str
        """
        return self._description

    @description.setter
    def description(self, description):
        """Sets the description of this GetExternalPrometheusResponse.


        :param description: The description of this GetExternalPrometheusResponse.  # noqa: E501
        :type: str
        """

        self._description = description

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


        :return: The id of this GetExternalPrometheusResponse.  # noqa: E501
        :rtype: str
        """
        return self._id

    @id.setter
    def id(self, id):
        """Sets the id of this GetExternalPrometheusResponse.


        :param id: The id of this GetExternalPrometheusResponse.  # noqa: E501
        :type: str
        """

        self._id = id

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


        :return: The max_query_rate of this GetExternalPrometheusResponse.  # noqa: E501
        :rtype: int
        """
        return self._max_query_rate

    @max_query_rate.setter
    def max_query_rate(self, max_query_rate):
        """Sets the max_query_rate of this GetExternalPrometheusResponse.


        :param max_query_rate: The max_query_rate of this GetExternalPrometheusResponse.  # noqa: E501
        :type: int
        """

        self._max_query_rate = max_query_rate

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


        :return: The name of this GetExternalPrometheusResponse.  # noqa: E501
        :rtype: str
        """
        return self._name

    @name.setter
    def name(self, name):
        """Sets the name of this GetExternalPrometheusResponse.


        :param name: The name of this GetExternalPrometheusResponse.  # noqa: E501
        :type: str
        """

        self._name = name

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


        :return: The project_name of this GetExternalPrometheusResponse.  # noqa: E501
        :rtype: str
        """
        return self._project_name

    @project_name.setter
    def project_name(self, project_name):
        """Sets the project_name of this GetExternalPrometheusResponse.


        :param project_name: The project_name of this GetExternalPrometheusResponse.  # noqa: E501
        :type: str
        """

        self._project_name = project_name

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


        :return: The status of this GetExternalPrometheusResponse.  # noqa: E501
        :rtype: str
        """
        return self._status

    @status.setter
    def status(self, status):
        """Sets the status of this GetExternalPrometheusResponse.


        :param status: The status of this GetExternalPrometheusResponse.  # noqa: E501
        :type: str
        """

        self._status = status

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


        :return: The subnet_ids of this GetExternalPrometheusResponse.  # noqa: E501
        :rtype: list[str]
        """
        return self._subnet_ids

    @subnet_ids.setter
    def subnet_ids(self, subnet_ids):
        """Sets the subnet_ids of this GetExternalPrometheusResponse.


        :param subnet_ids: The subnet_ids of this GetExternalPrometheusResponse.  # noqa: E501
        :type: list[str]
        """

        self._subnet_ids = subnet_ids

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


        :return: The tags of this GetExternalPrometheusResponse.  # noqa: E501
        :rtype: list[TagForGetExternalPrometheusOutput]
        """
        return self._tags

    @tags.setter
    def tags(self, tags):
        """Sets the tags of this GetExternalPrometheusResponse.


        :param tags: The tags of this GetExternalPrometheusResponse.  # noqa: E501
        :type: list[TagForGetExternalPrometheusOutput]
        """

        self._tags = tags

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


        :return: The type of this GetExternalPrometheusResponse.  # noqa: E501
        :rtype: str
        """
        return self._type

    @type.setter
    def type(self, type):
        """Sets the type of this GetExternalPrometheusResponse.


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

        self._type = type

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


        :return: The url of this GetExternalPrometheusResponse.  # noqa: E501
        :rtype: str
        """
        return self._url

    @url.setter
    def url(self, url):
        """Sets the url of this GetExternalPrometheusResponse.


        :param url: The url of this GetExternalPrometheusResponse.  # noqa: E501
        :type: str
        """

        self._url = url

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


        :return: The username of this GetExternalPrometheusResponse.  # noqa: E501
        :rtype: str
        """
        return self._username

    @username.setter
    def username(self, username):
        """Sets the username of this GetExternalPrometheusResponse.


        :param username: The username of this GetExternalPrometheusResponse.  # noqa: E501
        :type: str
        """

        self._username = username

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


        :return: The vpcid of this GetExternalPrometheusResponse.  # noqa: E501
        :rtype: str
        """
        return self._vpcid

    @vpcid.setter
    def vpcid(self, vpcid):
        """Sets the vpcid of this GetExternalPrometheusResponse.


        :param vpcid: The vpcid of this GetExternalPrometheusResponse.  # noqa: E501
        :type: str
        """

        self._vpcid = vpcid

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

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