<filename>kubernetes/client/models/com_coreos_monitoring_v1alpha1_alertmanager_config_spec_wechat_configs.py<gh_stars>0
# coding: utf-8

"""
    Kubernetes

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501

    The version of the OpenAPI document: v1.20.7
    Generated by: https://openapi-generator.tech
"""


import pprint
import re  # noqa: F401

import six

from kubernetes.client.configuration import Configuration


class ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs(object):
    """NOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    """

    """
    Attributes:
      openapi_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.
    """
    openapi_types = {
        'agent_id': 'str',
        'api_secret': 'ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecApiSecret',
        'api_url': 'str',
        'corp_id': 'str',
        'http_config': 'ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecHttpConfig',
        'message': 'str',
        'message_type': 'str',
        'send_resolved': 'bool',
        'to_party': 'str',
        'to_tag': 'str',
        'to_user': 'str'
    }

    attribute_map = {
        'agent_id': 'agentID',
        'api_secret': 'apiSecret',
        'api_url': 'apiURL',
        'corp_id': 'corpID',
        'http_config': 'httpConfig',
        'message': 'message',
        'message_type': 'messageType',
        'send_resolved': 'sendResolved',
        'to_party': 'toParty',
        'to_tag': 'toTag',
        'to_user': 'toUser'
    }

    def __init__(self, agent_id=None, api_secret=None, api_url=None, corp_id=None, http_config=None, message=None, message_type=None, send_resolved=None, to_party=None, to_tag=None, to_user=None, local_vars_configuration=None):  # noqa: E501
        """ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._agent_id = None
        self._api_secret = None
        self._api_url = None
        self._corp_id = None
        self._http_config = None
        self._message = None
        self._message_type = None
        self._send_resolved = None
        self._to_party = None
        self._to_tag = None
        self._to_user = None
        self.discriminator = None

        if agent_id is not None:
            self.agent_id = agent_id
        if api_secret is not None:
            self.api_secret = api_secret
        if api_url is not None:
            self.api_url = api_url
        if corp_id is not None:
            self.corp_id = corp_id
        if http_config is not None:
            self.http_config = http_config
        if message is not None:
            self.message = message
        if message_type is not None:
            self.message_type = message_type
        if send_resolved is not None:
            self.send_resolved = send_resolved
        if to_party is not None:
            self.to_party = to_party
        if to_tag is not None:
            self.to_tag = to_tag
        if to_user is not None:
            self.to_user = to_user

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


        :return: The agent_id of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :rtype: str
        """
        return self._agent_id

    @agent_id.setter
    def agent_id(self, agent_id):
        """Sets the agent_id of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.


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

        self._agent_id = agent_id

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


        :return: The api_secret of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :rtype: ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecApiSecret
        """
        return self._api_secret

    @api_secret.setter
    def api_secret(self, api_secret):
        """Sets the api_secret of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.


        :param api_secret: The api_secret of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :type: ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecApiSecret
        """

        self._api_secret = api_secret

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

        The WeChat API URL.  # noqa: E501

        :return: The api_url of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :rtype: str
        """
        return self._api_url

    @api_url.setter
    def api_url(self, api_url):
        """Sets the api_url of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.

        The WeChat API URL.  # noqa: E501

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

        self._api_url = api_url

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

        The corp id for authentication.  # noqa: E501

        :return: The corp_id of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :rtype: str
        """
        return self._corp_id

    @corp_id.setter
    def corp_id(self, corp_id):
        """Sets the corp_id of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.

        The corp id for authentication.  # noqa: E501

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

        self._corp_id = corp_id

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


        :return: The http_config of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :rtype: ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecHttpConfig
        """
        return self._http_config

    @http_config.setter
    def http_config(self, http_config):
        """Sets the http_config of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.


        :param http_config: The http_config of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :type: ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecHttpConfig
        """

        self._http_config = http_config

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

        API request data as defined by the WeChat API.  # noqa: E501

        :return: The message of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :rtype: str
        """
        return self._message

    @message.setter
    def message(self, message):
        """Sets the message of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.

        API request data as defined by the WeChat API.  # noqa: E501

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

        self._message = message

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


        :return: The message_type of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :rtype: str
        """
        return self._message_type

    @message_type.setter
    def message_type(self, message_type):
        """Sets the message_type of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.


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

        self._message_type = message_type

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

        Whether or not to notify about resolved alerts.  # noqa: E501

        :return: The send_resolved of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :rtype: bool
        """
        return self._send_resolved

    @send_resolved.setter
    def send_resolved(self, send_resolved):
        """Sets the send_resolved of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.

        Whether or not to notify about resolved alerts.  # noqa: E501

        :param send_resolved: The send_resolved of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :type: bool
        """

        self._send_resolved = send_resolved

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


        :return: The to_party of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :rtype: str
        """
        return self._to_party

    @to_party.setter
    def to_party(self, to_party):
        """Sets the to_party of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.


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

        self._to_party = to_party

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


        :return: The to_tag of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :rtype: str
        """
        return self._to_tag

    @to_tag.setter
    def to_tag(self, to_tag):
        """Sets the to_tag of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.


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

        self._to_tag = to_tag

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


        :return: The to_user of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :rtype: str
        """
        return self._to_user

    @to_user.setter
    def to_user(self, to_user):
        """Sets the to_user of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.


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

        self._to_user = to_user

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

        for attr, _ in six.iteritems(self.openapi_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

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

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

<filename>kubernetes/client/models/com_coreos_monitoring_v1alpha1_alertmanager_config_spec_wechat_configs.py<gh_stars>0
# coding: utf-8

"""
    Kubernetes

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501

    The version of the OpenAPI document: v1.20.7
    Generated by: https://openapi-generator.tech
"""


import pprint
import re  # noqa: F401

import six

from kubernetes.client.configuration import Configuration


class ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs(object):
    """NOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    """

    """
    Attributes:
      openapi_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.
    """
    openapi_types = {
        'agent_id': 'str',
        'api_secret': 'ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecApiSecret',
        'api_url': 'str',
        'corp_id': 'str',
        'http_config': 'ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecHttpConfig',
        'message': 'str',
        'message_type': 'str',
        'send_resolved': 'bool',
        'to_party': 'str',
        'to_tag': 'str',
        'to_user': 'str'
    }

    attribute_map = {
        'agent_id': 'agentID',
        'api_secret': 'apiSecret',
        'api_url': 'apiURL',
        'corp_id': 'corpID',
        'http_config': 'httpConfig',
        'message': 'message',
        'message_type': 'messageType',
        'send_resolved': 'sendResolved',
        'to_party': 'toParty',
        'to_tag': 'toTag',
        'to_user': 'toUser'
    }

    def __init__(self, agent_id=None, api_secret=None, api_url=None, corp_id=None, http_config=None, message=None, message_type=None, send_resolved=None, to_party=None, to_tag=None, to_user=None, local_vars_configuration=None):  # noqa: E501
        """ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._agent_id = None
        self._api_secret = None
        self._api_url = None
        self._corp_id = None
        self._http_config = None
        self._message = None
        self._message_type = None
        self._send_resolved = None
        self._to_party = None
        self._to_tag = None
        self._to_user = None
        self.discriminator = None

        if agent_id is not None:
            self.agent_id = agent_id
        if api_secret is not None:
            self.api_secret = api_secret
        if api_url is not None:
            self.api_url = api_url
        if corp_id is not None:
            self.corp_id = corp_id
        if http_config is not None:
            self.http_config = http_config
        if message is not None:
            self.message = message
        if message_type is not None:
            self.message_type = message_type
        if send_resolved is not None:
            self.send_resolved = send_resolved
        if to_party is not None:
            self.to_party = to_party
        if to_tag is not None:
            self.to_tag = to_tag
        if to_user is not None:
            self.to_user = to_user

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


        :return: The agent_id of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :rtype: str
        """
        return self._agent_id

    @agent_id.setter
    def agent_id(self, agent_id):
        """Sets the agent_id of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.


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

        self._agent_id = agent_id

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


        :return: The api_secret of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :rtype: ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecApiSecret
        """
        return self._api_secret

    @api_secret.setter
    def api_secret(self, api_secret):
        """Sets the api_secret of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.


        :param api_secret: The api_secret of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :type: ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecApiSecret
        """

        self._api_secret = api_secret

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

        The WeChat API URL.  # noqa: E501

        :return: The api_url of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :rtype: str
        """
        return self._api_url

    @api_url.setter
    def api_url(self, api_url):
        """Sets the api_url of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.

        The WeChat API URL.  # noqa: E501

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

        self._api_url = api_url

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

        The corp id for authentication.  # noqa: E501

        :return: The corp_id of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :rtype: str
        """
        return self._corp_id

    @corp_id.setter
    def corp_id(self, corp_id):
        """Sets the corp_id of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.

        The corp id for authentication.  # noqa: E501

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

        self._corp_id = corp_id

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


        :return: The http_config of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :rtype: ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecHttpConfig
        """
        return self._http_config

    @http_config.setter
    def http_config(self, http_config):
        """Sets the http_config of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.


        :param http_config: The http_config of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :type: ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecHttpConfig
        """

        self._http_config = http_config

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

        API request data as defined by the WeChat API.  # noqa: E501

        :return: The message of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :rtype: str
        """
        return self._message

    @message.setter
    def message(self, message):
        """Sets the message of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.

        API request data as defined by the WeChat API.  # noqa: E501

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

        self._message = message

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


        :return: The message_type of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :rtype: str
        """
        return self._message_type

    @message_type.setter
    def message_type(self, message_type):
        """Sets the message_type of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.


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

        self._message_type = message_type

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

        Whether or not to notify about resolved alerts.  # noqa: E501

        :return: The send_resolved of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :rtype: bool
        """
        return self._send_resolved

    @send_resolved.setter
    def send_resolved(self, send_resolved):
        """Sets the send_resolved of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.

        Whether or not to notify about resolved alerts.  # noqa: E501

        :param send_resolved: The send_resolved of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :type: bool
        """

        self._send_resolved = send_resolved

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


        :return: The to_party of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :rtype: str
        """
        return self._to_party

    @to_party.setter
    def to_party(self, to_party):
        """Sets the to_party of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.


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

        self._to_party = to_party

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


        :return: The to_tag of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :rtype: str
        """
        return self._to_tag

    @to_tag.setter
    def to_tag(self, to_tag):
        """Sets the to_tag of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.


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

        self._to_tag = to_tag

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


        :return: The to_user of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501
        :rtype: str
        """
        return self._to_user

    @to_user.setter
    def to_user(self, to_user):
        """Sets the to_user of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.


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

        self._to_user = to_user

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

        for attr, _ in six.iteritems(self.openapi_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

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

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

# coding: utf-8 Kubernetes      No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501      The version of the OpenAPI document: v1.20.7     Generated by: https://openapi-generator.tech # noqa: F401 NOTE: This class is auto generated by OpenAPI Generator.     Ref: https://openapi-generator.tech      Do not edit the class manually. Attributes:       openapi_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. # noqa: E501 ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs - a model defined in OpenAPI # noqa: E501 Gets the agent_id of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501           :return: The agent_id of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501         :rtype: str Sets the agent_id of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.           :param agent_id: The agent_id of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501         :type: str Gets the api_secret of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501           :return: The api_secret of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501         :rtype: ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecApiSecret Sets the api_secret of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.           :param api_secret: The api_secret of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501         :type: ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecApiSecret Gets the api_url of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501          The WeChat API URL.  # noqa: E501          :return: The api_url of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501         :rtype: str Sets the api_url of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.          The WeChat API URL.  # noqa: E501          :param api_url: The api_url of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501         :type: str Gets the corp_id of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501          The corp id for authentication.  # noqa: E501          :return: The corp_id of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501         :rtype: str Sets the corp_id of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.          The corp id for authentication.  # noqa: E501          :param corp_id: The corp_id of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501         :type: str Gets the http_config of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501           :return: The http_config of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501         :rtype: ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecHttpConfig Sets the http_config of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.           :param http_config: The http_config of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501         :type: ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecHttpConfig Gets the message of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501          API request data as defined by the WeChat API.  # noqa: E501          :return: The message of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501         :rtype: str Sets the message of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.          API request data as defined by the WeChat API.  # noqa: E501          :param message: The message of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501         :type: str Gets the message_type of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501           :return: The message_type of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501         :rtype: str Sets the message_type of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.           :param message_type: The message_type of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501         :type: str Gets the send_resolved of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501          Whether or not to notify about resolved alerts.  # noqa: E501          :return: The send_resolved of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501         :rtype: bool Sets the send_resolved of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.          Whether or not to notify about resolved alerts.  # noqa: E501          :param send_resolved: The send_resolved of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501         :type: bool Gets the to_party of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501           :return: The to_party of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501         :rtype: str Sets the to_party of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.           :param to_party: The to_party of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501         :type: str Gets the to_tag of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501           :return: The to_tag of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501         :rtype: str Sets the to_tag of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.           :param to_tag: The to_tag of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501         :type: str Gets the to_user of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501           :return: The to_user of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501         :rtype: str Sets the to_user of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.           :param to_user: The to_user of this ComCoreosMonitoringV1alpha1AlertmanagerConfigSpecWechatConfigs.  # noqa: E501         :type: str Returns the model properties as a dict Returns the string representation of the model For `print` and `pprint` Returns true if both objects are equal Returns true if both objects are not equal