# coding: utf-8

"""
    id

    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 CreateInboundAuthConfigResponse(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 = {
        'api_key_auth_configs': 'list[ApiKeyAuthConfigForCreateInboundAuthConfigOutput]',
        'auth_type': 'str',
        'config_name': 'str',
        'created_at': 'str',
        'description': 'str',
        'inbound_auth_config_id': 'str',
        'instance_id': 'str',
        'jwt_auth_config': 'JwtAuthConfigForCreateInboundAuthConfigOutput',
        'trn': 'str',
        'updated_at': 'str'
    }

    attribute_map = {
        'api_key_auth_configs': 'ApiKeyAuthConfigs',
        'auth_type': 'AuthType',
        'config_name': 'ConfigName',
        'created_at': 'CreatedAt',
        'description': 'Description',
        'inbound_auth_config_id': 'InboundAuthConfigId',
        'instance_id': 'InstanceId',
        'jwt_auth_config': 'JwtAuthConfig',
        'trn': 'Trn',
        'updated_at': 'UpdatedAt'
    }

    def __init__(self, api_key_auth_configs=None, auth_type=None, config_name=None, created_at=None, description=None, inbound_auth_config_id=None, instance_id=None, jwt_auth_config=None, trn=None, updated_at=None, _configuration=None):  # noqa: E501
        """CreateInboundAuthConfigResponse - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._api_key_auth_configs = None
        self._auth_type = None
        self._config_name = None
        self._created_at = None
        self._description = None
        self._inbound_auth_config_id = None
        self._instance_id = None
        self._jwt_auth_config = None
        self._trn = None
        self._updated_at = None
        self.discriminator = None

        if api_key_auth_configs is not None:
            self.api_key_auth_configs = api_key_auth_configs
        if auth_type is not None:
            self.auth_type = auth_type
        if config_name is not None:
            self.config_name = config_name
        if created_at is not None:
            self.created_at = created_at
        if description is not None:
            self.description = description
        if inbound_auth_config_id is not None:
            self.inbound_auth_config_id = inbound_auth_config_id
        if instance_id is not None:
            self.instance_id = instance_id
        if jwt_auth_config is not None:
            self.jwt_auth_config = jwt_auth_config
        if trn is not None:
            self.trn = trn
        if updated_at is not None:
            self.updated_at = updated_at

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


        :return: The api_key_auth_configs of this CreateInboundAuthConfigResponse.  # noqa: E501
        :rtype: list[ApiKeyAuthConfigForCreateInboundAuthConfigOutput]
        """
        return self._api_key_auth_configs

    @api_key_auth_configs.setter
    def api_key_auth_configs(self, api_key_auth_configs):
        """Sets the api_key_auth_configs of this CreateInboundAuthConfigResponse.


        :param api_key_auth_configs: The api_key_auth_configs of this CreateInboundAuthConfigResponse.  # noqa: E501
        :type: list[ApiKeyAuthConfigForCreateInboundAuthConfigOutput]
        """

        self._api_key_auth_configs = api_key_auth_configs

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


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

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


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

        self._auth_type = auth_type

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


        :return: The config_name of this CreateInboundAuthConfigResponse.  # noqa: E501
        :rtype: str
        """
        return self._config_name

    @config_name.setter
    def config_name(self, config_name):
        """Sets the config_name of this CreateInboundAuthConfigResponse.


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

        self._config_name = config_name

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


        :return: The created_at of this CreateInboundAuthConfigResponse.  # noqa: E501
        :rtype: str
        """
        return self._created_at

    @created_at.setter
    def created_at(self, created_at):
        """Sets the created_at of this CreateInboundAuthConfigResponse.


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

        self._created_at = created_at

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


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

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


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

        self._description = description

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


        :return: The inbound_auth_config_id of this CreateInboundAuthConfigResponse.  # noqa: E501
        :rtype: str
        """
        return self._inbound_auth_config_id

    @inbound_auth_config_id.setter
    def inbound_auth_config_id(self, inbound_auth_config_id):
        """Sets the inbound_auth_config_id of this CreateInboundAuthConfigResponse.


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

        self._inbound_auth_config_id = inbound_auth_config_id

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


        :return: The instance_id of this CreateInboundAuthConfigResponse.  # noqa: E501
        :rtype: str
        """
        return self._instance_id

    @instance_id.setter
    def instance_id(self, instance_id):
        """Sets the instance_id of this CreateInboundAuthConfigResponse.


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

        self._instance_id = instance_id

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


        :return: The jwt_auth_config of this CreateInboundAuthConfigResponse.  # noqa: E501
        :rtype: JwtAuthConfigForCreateInboundAuthConfigOutput
        """
        return self._jwt_auth_config

    @jwt_auth_config.setter
    def jwt_auth_config(self, jwt_auth_config):
        """Sets the jwt_auth_config of this CreateInboundAuthConfigResponse.


        :param jwt_auth_config: The jwt_auth_config of this CreateInboundAuthConfigResponse.  # noqa: E501
        :type: JwtAuthConfigForCreateInboundAuthConfigOutput
        """

        self._jwt_auth_config = jwt_auth_config

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


        :return: The trn of this CreateInboundAuthConfigResponse.  # noqa: E501
        :rtype: str
        """
        return self._trn

    @trn.setter
    def trn(self, trn):
        """Sets the trn of this CreateInboundAuthConfigResponse.


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

        self._trn = trn

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


        :return: The updated_at of this CreateInboundAuthConfigResponse.  # noqa: E501
        :rtype: str
        """
        return self._updated_at

    @updated_at.setter
    def updated_at(self, updated_at):
        """Sets the updated_at of this CreateInboundAuthConfigResponse.


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

        self._updated_at = updated_at

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

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