# coding: utf-8

"""
    speech_saas_prod

    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 ListSpeakersRequest(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 = {
        'limit': 'str',
        'page': 'int',
        'resource_ids': 'list[str]',
        'voice_types': 'list[str]'
    }

    attribute_map = {
        'limit': 'Limit',
        'page': 'Page',
        'resource_ids': 'ResourceIDs',
        'voice_types': 'VoiceTypes'
    }

    def __init__(self, limit=None, page=None, resource_ids=None, voice_types=None, _configuration=None):  # noqa: E501
        """ListSpeakersRequest - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._limit = None
        self._page = None
        self._resource_ids = None
        self._voice_types = None
        self.discriminator = None

        if limit is not None:
            self.limit = limit
        if page is not None:
            self.page = page
        if resource_ids is not None:
            self.resource_ids = resource_ids
        if voice_types is not None:
            self.voice_types = voice_types

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


        :return: The limit of this ListSpeakersRequest.  # noqa: E501
        :rtype: str
        """
        return self._limit

    @limit.setter
    def limit(self, limit):
        """Sets the limit of this ListSpeakersRequest.


        :param limit: The limit of this ListSpeakersRequest.  # noqa: E501
        :type: str
        """

        self._limit = limit

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


        :return: The page of this ListSpeakersRequest.  # noqa: E501
        :rtype: int
        """
        return self._page

    @page.setter
    def page(self, page):
        """Sets the page of this ListSpeakersRequest.


        :param page: The page of this ListSpeakersRequest.  # noqa: E501
        :type: int
        """

        self._page = page

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


        :return: The resource_ids of this ListSpeakersRequest.  # noqa: E501
        :rtype: list[str]
        """
        return self._resource_ids

    @resource_ids.setter
    def resource_ids(self, resource_ids):
        """Sets the resource_ids of this ListSpeakersRequest.


        :param resource_ids: The resource_ids of this ListSpeakersRequest.  # noqa: E501
        :type: list[str]
        """

        self._resource_ids = resource_ids

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


        :return: The voice_types of this ListSpeakersRequest.  # noqa: E501
        :rtype: list[str]
        """
        return self._voice_types

    @voice_types.setter
    def voice_types(self, voice_types):
        """Sets the voice_types of this ListSpeakersRequest.


        :param voice_types: The voice_types of this ListSpeakersRequest.  # noqa: E501
        :type: list[str]
        """

        self._voice_types = voice_types

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

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