# 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 SpeakerForListSpeakersOutput(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 = {
        'age': 'str',
        'avatar': 'str',
        'categories': 'list[CategoryForListSpeakersOutput]',
        'description': 'str',
        'emotions': 'list[EmotionForListSpeakersOutput]',
        'gender': 'str',
        'languages': 'list[LanguageForListSpeakersOutput]',
        'name': 'str',
        'normal_labels': 'list[str]',
        'resource_id': 'str',
        'short_trial_url': 'str',
        'special_labels': 'list[str]',
        'trial_url': 'str',
        'voice_type': 'str'
    }

    attribute_map = {
        'age': 'Age',
        'avatar': 'Avatar',
        'categories': 'Categories',
        'description': 'Description',
        'emotions': 'Emotions',
        'gender': 'Gender',
        'languages': 'Languages',
        'name': 'Name',
        'normal_labels': 'NormalLabels',
        'resource_id': 'ResourceID',
        'short_trial_url': 'ShortTrialURL',
        'special_labels': 'SpecialLabels',
        'trial_url': 'TrialURL',
        'voice_type': 'VoiceType'
    }

    def __init__(self, age=None, avatar=None, categories=None, description=None, emotions=None, gender=None, languages=None, name=None, normal_labels=None, resource_id=None, short_trial_url=None, special_labels=None, trial_url=None, voice_type=None, _configuration=None):  # noqa: E501
        """SpeakerForListSpeakersOutput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._age = None
        self._avatar = None
        self._categories = None
        self._description = None
        self._emotions = None
        self._gender = None
        self._languages = None
        self._name = None
        self._normal_labels = None
        self._resource_id = None
        self._short_trial_url = None
        self._special_labels = None
        self._trial_url = None
        self._voice_type = None
        self.discriminator = None

        if age is not None:
            self.age = age
        if avatar is not None:
            self.avatar = avatar
        if categories is not None:
            self.categories = categories
        if description is not None:
            self.description = description
        if emotions is not None:
            self.emotions = emotions
        if gender is not None:
            self.gender = gender
        if languages is not None:
            self.languages = languages
        if name is not None:
            self.name = name
        if normal_labels is not None:
            self.normal_labels = normal_labels
        if resource_id is not None:
            self.resource_id = resource_id
        if short_trial_url is not None:
            self.short_trial_url = short_trial_url
        if special_labels is not None:
            self.special_labels = special_labels
        if trial_url is not None:
            self.trial_url = trial_url
        if voice_type is not None:
            self.voice_type = voice_type

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


        :return: The age of this SpeakerForListSpeakersOutput.  # noqa: E501
        :rtype: str
        """
        return self._age

    @age.setter
    def age(self, age):
        """Sets the age of this SpeakerForListSpeakersOutput.


        :param age: The age of this SpeakerForListSpeakersOutput.  # noqa: E501
        :type: str
        """

        self._age = age

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


        :return: The avatar of this SpeakerForListSpeakersOutput.  # noqa: E501
        :rtype: str
        """
        return self._avatar

    @avatar.setter
    def avatar(self, avatar):
        """Sets the avatar of this SpeakerForListSpeakersOutput.


        :param avatar: The avatar of this SpeakerForListSpeakersOutput.  # noqa: E501
        :type: str
        """

        self._avatar = avatar

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


        :return: The categories of this SpeakerForListSpeakersOutput.  # noqa: E501
        :rtype: list[CategoryForListSpeakersOutput]
        """
        return self._categories

    @categories.setter
    def categories(self, categories):
        """Sets the categories of this SpeakerForListSpeakersOutput.


        :param categories: The categories of this SpeakerForListSpeakersOutput.  # noqa: E501
        :type: list[CategoryForListSpeakersOutput]
        """

        self._categories = categories

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


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

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


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

        self._description = description

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


        :return: The emotions of this SpeakerForListSpeakersOutput.  # noqa: E501
        :rtype: list[EmotionForListSpeakersOutput]
        """
        return self._emotions

    @emotions.setter
    def emotions(self, emotions):
        """Sets the emotions of this SpeakerForListSpeakersOutput.


        :param emotions: The emotions of this SpeakerForListSpeakersOutput.  # noqa: E501
        :type: list[EmotionForListSpeakersOutput]
        """

        self._emotions = emotions

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


        :return: The gender of this SpeakerForListSpeakersOutput.  # noqa: E501
        :rtype: str
        """
        return self._gender

    @gender.setter
    def gender(self, gender):
        """Sets the gender of this SpeakerForListSpeakersOutput.


        :param gender: The gender of this SpeakerForListSpeakersOutput.  # noqa: E501
        :type: str
        """

        self._gender = gender

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


        :return: The languages of this SpeakerForListSpeakersOutput.  # noqa: E501
        :rtype: list[LanguageForListSpeakersOutput]
        """
        return self._languages

    @languages.setter
    def languages(self, languages):
        """Sets the languages of this SpeakerForListSpeakersOutput.


        :param languages: The languages of this SpeakerForListSpeakersOutput.  # noqa: E501
        :type: list[LanguageForListSpeakersOutput]
        """

        self._languages = languages

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


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

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


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

        self._name = name

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


        :return: The normal_labels of this SpeakerForListSpeakersOutput.  # noqa: E501
        :rtype: list[str]
        """
        return self._normal_labels

    @normal_labels.setter
    def normal_labels(self, normal_labels):
        """Sets the normal_labels of this SpeakerForListSpeakersOutput.


        :param normal_labels: The normal_labels of this SpeakerForListSpeakersOutput.  # noqa: E501
        :type: list[str]
        """

        self._normal_labels = normal_labels

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


        :return: The resource_id of this SpeakerForListSpeakersOutput.  # noqa: E501
        :rtype: str
        """
        return self._resource_id

    @resource_id.setter
    def resource_id(self, resource_id):
        """Sets the resource_id of this SpeakerForListSpeakersOutput.


        :param resource_id: The resource_id of this SpeakerForListSpeakersOutput.  # noqa: E501
        :type: str
        """

        self._resource_id = resource_id

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


        :return: The short_trial_url of this SpeakerForListSpeakersOutput.  # noqa: E501
        :rtype: str
        """
        return self._short_trial_url

    @short_trial_url.setter
    def short_trial_url(self, short_trial_url):
        """Sets the short_trial_url of this SpeakerForListSpeakersOutput.


        :param short_trial_url: The short_trial_url of this SpeakerForListSpeakersOutput.  # noqa: E501
        :type: str
        """

        self._short_trial_url = short_trial_url

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


        :return: The special_labels of this SpeakerForListSpeakersOutput.  # noqa: E501
        :rtype: list[str]
        """
        return self._special_labels

    @special_labels.setter
    def special_labels(self, special_labels):
        """Sets the special_labels of this SpeakerForListSpeakersOutput.


        :param special_labels: The special_labels of this SpeakerForListSpeakersOutput.  # noqa: E501
        :type: list[str]
        """

        self._special_labels = special_labels

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


        :return: The trial_url of this SpeakerForListSpeakersOutput.  # noqa: E501
        :rtype: str
        """
        return self._trial_url

    @trial_url.setter
    def trial_url(self, trial_url):
        """Sets the trial_url of this SpeakerForListSpeakersOutput.


        :param trial_url: The trial_url of this SpeakerForListSpeakersOutput.  # noqa: E501
        :type: str
        """

        self._trial_url = trial_url

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


        :return: The voice_type of this SpeakerForListSpeakersOutput.  # noqa: E501
        :rtype: str
        """
        return self._voice_type

    @voice_type.setter
    def voice_type(self, voice_type):
        """Sets the voice_type of this SpeakerForListSpeakersOutput.


        :param voice_type: The voice_type of this SpeakerForListSpeakersOutput.  # noqa: E501
        :type: str
        """

        self._voice_type = voice_type

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

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