# coding: utf-8

"""
    vms

    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 RecordForQueryUsableResourceV2Output(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 = {
        'create_time': 'str',
        'duration': 'int',
        'name': 'str',
        'remark': 'str',
        'resource_key': 'str',
        'state': 'int',
        'suffix': 'str',
        'tts_options': 'str',
        'tts_template_content': 'str',
        'type': 'int'
    }

    attribute_map = {
        'create_time': 'CreateTime',
        'duration': 'Duration',
        'name': 'Name',
        'remark': 'Remark',
        'resource_key': 'ResourceKey',
        'state': 'State',
        'suffix': 'Suffix',
        'tts_options': 'TtsOptions',
        'tts_template_content': 'TtsTemplateContent',
        'type': 'Type'
    }

    def __init__(self, create_time=None, duration=None, name=None, remark=None, resource_key=None, state=None, suffix=None, tts_options=None, tts_template_content=None, type=None, _configuration=None):  # noqa: E501
        """RecordForQueryUsableResourceV2Output - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._create_time = None
        self._duration = None
        self._name = None
        self._remark = None
        self._resource_key = None
        self._state = None
        self._suffix = None
        self._tts_options = None
        self._tts_template_content = None
        self._type = None
        self.discriminator = None

        if create_time is not None:
            self.create_time = create_time
        if duration is not None:
            self.duration = duration
        if name is not None:
            self.name = name
        if remark is not None:
            self.remark = remark
        if resource_key is not None:
            self.resource_key = resource_key
        if state is not None:
            self.state = state
        if suffix is not None:
            self.suffix = suffix
        if tts_options is not None:
            self.tts_options = tts_options
        if tts_template_content is not None:
            self.tts_template_content = tts_template_content
        if type is not None:
            self.type = type

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


        :return: The create_time of this RecordForQueryUsableResourceV2Output.  # noqa: E501
        :rtype: str
        """
        return self._create_time

    @create_time.setter
    def create_time(self, create_time):
        """Sets the create_time of this RecordForQueryUsableResourceV2Output.


        :param create_time: The create_time of this RecordForQueryUsableResourceV2Output.  # noqa: E501
        :type: str
        """

        self._create_time = create_time

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


        :return: The duration of this RecordForQueryUsableResourceV2Output.  # noqa: E501
        :rtype: int
        """
        return self._duration

    @duration.setter
    def duration(self, duration):
        """Sets the duration of this RecordForQueryUsableResourceV2Output.


        :param duration: The duration of this RecordForQueryUsableResourceV2Output.  # noqa: E501
        :type: int
        """

        self._duration = duration

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


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

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


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

        self._name = name

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


        :return: The remark of this RecordForQueryUsableResourceV2Output.  # noqa: E501
        :rtype: str
        """
        return self._remark

    @remark.setter
    def remark(self, remark):
        """Sets the remark of this RecordForQueryUsableResourceV2Output.


        :param remark: The remark of this RecordForQueryUsableResourceV2Output.  # noqa: E501
        :type: str
        """

        self._remark = remark

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


        :return: The resource_key of this RecordForQueryUsableResourceV2Output.  # noqa: E501
        :rtype: str
        """
        return self._resource_key

    @resource_key.setter
    def resource_key(self, resource_key):
        """Sets the resource_key of this RecordForQueryUsableResourceV2Output.


        :param resource_key: The resource_key of this RecordForQueryUsableResourceV2Output.  # noqa: E501
        :type: str
        """

        self._resource_key = resource_key

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


        :return: The state of this RecordForQueryUsableResourceV2Output.  # noqa: E501
        :rtype: int
        """
        return self._state

    @state.setter
    def state(self, state):
        """Sets the state of this RecordForQueryUsableResourceV2Output.


        :param state: The state of this RecordForQueryUsableResourceV2Output.  # noqa: E501
        :type: int
        """

        self._state = state

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


        :return: The suffix of this RecordForQueryUsableResourceV2Output.  # noqa: E501
        :rtype: str
        """
        return self._suffix

    @suffix.setter
    def suffix(self, suffix):
        """Sets the suffix of this RecordForQueryUsableResourceV2Output.


        :param suffix: The suffix of this RecordForQueryUsableResourceV2Output.  # noqa: E501
        :type: str
        """

        self._suffix = suffix

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


        :return: The tts_options of this RecordForQueryUsableResourceV2Output.  # noqa: E501
        :rtype: str
        """
        return self._tts_options

    @tts_options.setter
    def tts_options(self, tts_options):
        """Sets the tts_options of this RecordForQueryUsableResourceV2Output.


        :param tts_options: The tts_options of this RecordForQueryUsableResourceV2Output.  # noqa: E501
        :type: str
        """

        self._tts_options = tts_options

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


        :return: The tts_template_content of this RecordForQueryUsableResourceV2Output.  # noqa: E501
        :rtype: str
        """
        return self._tts_template_content

    @tts_template_content.setter
    def tts_template_content(self, tts_template_content):
        """Sets the tts_template_content of this RecordForQueryUsableResourceV2Output.


        :param tts_template_content: The tts_template_content of this RecordForQueryUsableResourceV2Output.  # noqa: E501
        :type: str
        """

        self._tts_template_content = tts_template_content

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


        :return: The type of this RecordForQueryUsableResourceV2Output.  # noqa: E501
        :rtype: int
        """
        return self._type

    @type.setter
    def type(self, type):
        """Sets the type of this RecordForQueryUsableResourceV2Output.


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

        self._type = 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(RecordForQueryUsableResourceV2Output, 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, RecordForQueryUsableResourceV2Output):
            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, RecordForQueryUsableResourceV2Output):
            return True

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