# coding: utf-8

"""
    livesaas20230801

    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 UpdateActivityUserBanStatusRequest(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 = {
        'activity_id': 'int',
        'ban_status': 'int',
        'ban_type': 'int',
        'cookies': 'list[str]',
        'external_user_ids': 'list[str]',
        'user_ids': 'list[int]'
    }

    attribute_map = {
        'activity_id': 'ActivityId',
        'ban_status': 'BanStatus',
        'ban_type': 'BanType',
        'cookies': 'Cookies',
        'external_user_ids': 'ExternalUserIds',
        'user_ids': 'UserIds'
    }

    def __init__(self, activity_id=None, ban_status=None, ban_type=None, cookies=None, external_user_ids=None, user_ids=None, _configuration=None):  # noqa: E501
        """UpdateActivityUserBanStatusRequest - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._activity_id = None
        self._ban_status = None
        self._ban_type = None
        self._cookies = None
        self._external_user_ids = None
        self._user_ids = None
        self.discriminator = None

        self.activity_id = activity_id
        if ban_status is not None:
            self.ban_status = ban_status
        if ban_type is not None:
            self.ban_type = ban_type
        if cookies is not None:
            self.cookies = cookies
        if external_user_ids is not None:
            self.external_user_ids = external_user_ids
        if user_ids is not None:
            self.user_ids = user_ids

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


        :return: The activity_id of this UpdateActivityUserBanStatusRequest.  # noqa: E501
        :rtype: int
        """
        return self._activity_id

    @activity_id.setter
    def activity_id(self, activity_id):
        """Sets the activity_id of this UpdateActivityUserBanStatusRequest.


        :param activity_id: The activity_id of this UpdateActivityUserBanStatusRequest.  # noqa: E501
        :type: int
        """
        if self._configuration.client_side_validation and activity_id is None:
            raise ValueError("Invalid value for `activity_id`, must not be `None`")  # noqa: E501

        self._activity_id = activity_id

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


        :return: The ban_status of this UpdateActivityUserBanStatusRequest.  # noqa: E501
        :rtype: int
        """
        return self._ban_status

    @ban_status.setter
    def ban_status(self, ban_status):
        """Sets the ban_status of this UpdateActivityUserBanStatusRequest.


        :param ban_status: The ban_status of this UpdateActivityUserBanStatusRequest.  # noqa: E501
        :type: int
        """

        self._ban_status = ban_status

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


        :return: The ban_type of this UpdateActivityUserBanStatusRequest.  # noqa: E501
        :rtype: int
        """
        return self._ban_type

    @ban_type.setter
    def ban_type(self, ban_type):
        """Sets the ban_type of this UpdateActivityUserBanStatusRequest.


        :param ban_type: The ban_type of this UpdateActivityUserBanStatusRequest.  # noqa: E501
        :type: int
        """

        self._ban_type = ban_type

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


        :return: The cookies of this UpdateActivityUserBanStatusRequest.  # noqa: E501
        :rtype: list[str]
        """
        return self._cookies

    @cookies.setter
    def cookies(self, cookies):
        """Sets the cookies of this UpdateActivityUserBanStatusRequest.


        :param cookies: The cookies of this UpdateActivityUserBanStatusRequest.  # noqa: E501
        :type: list[str]
        """

        self._cookies = cookies

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


        :return: The external_user_ids of this UpdateActivityUserBanStatusRequest.  # noqa: E501
        :rtype: list[str]
        """
        return self._external_user_ids

    @external_user_ids.setter
    def external_user_ids(self, external_user_ids):
        """Sets the external_user_ids of this UpdateActivityUserBanStatusRequest.


        :param external_user_ids: The external_user_ids of this UpdateActivityUserBanStatusRequest.  # noqa: E501
        :type: list[str]
        """

        self._external_user_ids = external_user_ids

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


        :return: The user_ids of this UpdateActivityUserBanStatusRequest.  # noqa: E501
        :rtype: list[int]
        """
        return self._user_ids

    @user_ids.setter
    def user_ids(self, user_ids):
        """Sets the user_ids of this UpdateActivityUserBanStatusRequest.


        :param user_ids: The user_ids of this UpdateActivityUserBanStatusRequest.  # noqa: E501
        :type: list[int]
        """

        self._user_ids = user_ids

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

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