# 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 ModelForUpdateChannelInput(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 = {
        'added_at': 'int',
        'bill_type': 'int',
        'category': 'int',
        'id': 'str',
        'model': 'str',
        'name': 'str',
        'provider': 'ProviderForUpdateChannelInput',
        'status': 'int',
        'tags': 'list[str]',
        'usage': 'UsageForUpdateChannelInput'
    }

    attribute_map = {
        'added_at': 'added_at',
        'bill_type': 'bill_type',
        'category': 'category',
        'id': 'id',
        'model': 'model',
        'name': 'name',
        'provider': 'provider',
        'status': 'status',
        'tags': 'tags',
        'usage': 'usage'
    }

    def __init__(self, added_at=None, bill_type=None, category=None, id=None, model=None, name=None, provider=None, status=None, tags=None, usage=None, _configuration=None):  # noqa: E501
        """ModelForUpdateChannelInput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._added_at = None
        self._bill_type = None
        self._category = None
        self._id = None
        self._model = None
        self._name = None
        self._provider = None
        self._status = None
        self._tags = None
        self._usage = None
        self.discriminator = None

        if added_at is not None:
            self.added_at = added_at
        if bill_type is not None:
            self.bill_type = bill_type
        if category is not None:
            self.category = category
        if id is not None:
            self.id = id
        if model is not None:
            self.model = model
        if name is not None:
            self.name = name
        if provider is not None:
            self.provider = provider
        if status is not None:
            self.status = status
        if tags is not None:
            self.tags = tags
        if usage is not None:
            self.usage = usage

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


        :return: The added_at of this ModelForUpdateChannelInput.  # noqa: E501
        :rtype: int
        """
        return self._added_at

    @added_at.setter
    def added_at(self, added_at):
        """Sets the added_at of this ModelForUpdateChannelInput.


        :param added_at: The added_at of this ModelForUpdateChannelInput.  # noqa: E501
        :type: int
        """

        self._added_at = added_at

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


        :return: The bill_type of this ModelForUpdateChannelInput.  # noqa: E501
        :rtype: int
        """
        return self._bill_type

    @bill_type.setter
    def bill_type(self, bill_type):
        """Sets the bill_type of this ModelForUpdateChannelInput.


        :param bill_type: The bill_type of this ModelForUpdateChannelInput.  # noqa: E501
        :type: int
        """

        self._bill_type = bill_type

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


        :return: The category of this ModelForUpdateChannelInput.  # noqa: E501
        :rtype: int
        """
        return self._category

    @category.setter
    def category(self, category):
        """Sets the category of this ModelForUpdateChannelInput.


        :param category: The category of this ModelForUpdateChannelInput.  # noqa: E501
        :type: int
        """

        self._category = category

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


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

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


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

        self._id = id

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


        :return: The model of this ModelForUpdateChannelInput.  # noqa: E501
        :rtype: str
        """
        return self._model

    @model.setter
    def model(self, model):
        """Sets the model of this ModelForUpdateChannelInput.


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

        self._model = model

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


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

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


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

        self._name = name

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


        :return: The provider of this ModelForUpdateChannelInput.  # noqa: E501
        :rtype: ProviderForUpdateChannelInput
        """
        return self._provider

    @provider.setter
    def provider(self, provider):
        """Sets the provider of this ModelForUpdateChannelInput.


        :param provider: The provider of this ModelForUpdateChannelInput.  # noqa: E501
        :type: ProviderForUpdateChannelInput
        """

        self._provider = provider

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


        :return: The status of this ModelForUpdateChannelInput.  # noqa: E501
        :rtype: int
        """
        return self._status

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


        :param status: The status of this ModelForUpdateChannelInput.  # noqa: E501
        :type: int
        """

        self._status = status

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


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

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


        :param tags: The tags of this ModelForUpdateChannelInput.  # noqa: E501
        :type: list[str]
        """

        self._tags = tags

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


        :return: The usage of this ModelForUpdateChannelInput.  # noqa: E501
        :rtype: UsageForUpdateChannelInput
        """
        return self._usage

    @usage.setter
    def usage(self, usage):
        """Sets the usage of this ModelForUpdateChannelInput.


        :param usage: The usage of this ModelForUpdateChannelInput.  # noqa: E501
        :type: UsageForUpdateChannelInput
        """

        self._usage = usage

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

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