# coding: utf-8

"""
    cloud_detect20251031

    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 QuicConfigForCreateTaskInput(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 = {
        'force_quic_host': 'list[str]',
        'quic_version': 'int'
    }

    attribute_map = {
        'force_quic_host': 'ForceQuicHost',
        'quic_version': 'QuicVersion'
    }

    def __init__(self, force_quic_host=None, quic_version=None, _configuration=None):  # noqa: E501
        """QuicConfigForCreateTaskInput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._force_quic_host = None
        self._quic_version = None
        self.discriminator = None

        if force_quic_host is not None:
            self.force_quic_host = force_quic_host
        if quic_version is not None:
            self.quic_version = quic_version

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


        :return: The force_quic_host of this QuicConfigForCreateTaskInput.  # noqa: E501
        :rtype: list[str]
        """
        return self._force_quic_host

    @force_quic_host.setter
    def force_quic_host(self, force_quic_host):
        """Sets the force_quic_host of this QuicConfigForCreateTaskInput.


        :param force_quic_host: The force_quic_host of this QuicConfigForCreateTaskInput.  # noqa: E501
        :type: list[str]
        """

        self._force_quic_host = force_quic_host

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


        :return: The quic_version of this QuicConfigForCreateTaskInput.  # noqa: E501
        :rtype: int
        """
        return self._quic_version

    @quic_version.setter
    def quic_version(self, quic_version):
        """Sets the quic_version of this QuicConfigForCreateTaskInput.


        :param quic_version: The quic_version of this QuicConfigForCreateTaskInput.  # noqa: E501
        :type: int
        """

        self._quic_version = quic_version

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

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