# coding: utf-8

"""
    vod20250101

    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 ConvertAudioForGetExecutionOutput(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 = {
        'bitrate_control': 'ConvertConvertBitrateControlForGetExecutionOutput',
        'channels': 'int',
        'codec': 'str',
        'profile': 'str',
        'sample_rate': 'int',
        'volume': 'ConvertVolumeForGetExecutionOutput'
    }

    attribute_map = {
        'bitrate_control': 'BitrateControl',
        'channels': 'Channels',
        'codec': 'Codec',
        'profile': 'Profile',
        'sample_rate': 'SampleRate',
        'volume': 'Volume'
    }

    def __init__(self, bitrate_control=None, channels=None, codec=None, profile=None, sample_rate=None, volume=None, _configuration=None):  # noqa: E501
        """ConvertAudioForGetExecutionOutput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._bitrate_control = None
        self._channels = None
        self._codec = None
        self._profile = None
        self._sample_rate = None
        self._volume = None
        self.discriminator = None

        if bitrate_control is not None:
            self.bitrate_control = bitrate_control
        if channels is not None:
            self.channels = channels
        if codec is not None:
            self.codec = codec
        if profile is not None:
            self.profile = profile
        if sample_rate is not None:
            self.sample_rate = sample_rate
        if volume is not None:
            self.volume = volume

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


        :return: The bitrate_control of this ConvertAudioForGetExecutionOutput.  # noqa: E501
        :rtype: ConvertConvertBitrateControlForGetExecutionOutput
        """
        return self._bitrate_control

    @bitrate_control.setter
    def bitrate_control(self, bitrate_control):
        """Sets the bitrate_control of this ConvertAudioForGetExecutionOutput.


        :param bitrate_control: The bitrate_control of this ConvertAudioForGetExecutionOutput.  # noqa: E501
        :type: ConvertConvertBitrateControlForGetExecutionOutput
        """

        self._bitrate_control = bitrate_control

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


        :return: The channels of this ConvertAudioForGetExecutionOutput.  # noqa: E501
        :rtype: int
        """
        return self._channels

    @channels.setter
    def channels(self, channels):
        """Sets the channels of this ConvertAudioForGetExecutionOutput.


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

        self._channels = channels

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


        :return: The codec of this ConvertAudioForGetExecutionOutput.  # noqa: E501
        :rtype: str
        """
        return self._codec

    @codec.setter
    def codec(self, codec):
        """Sets the codec of this ConvertAudioForGetExecutionOutput.


        :param codec: The codec of this ConvertAudioForGetExecutionOutput.  # noqa: E501
        :type: str
        """

        self._codec = codec

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


        :return: The profile of this ConvertAudioForGetExecutionOutput.  # noqa: E501
        :rtype: str
        """
        return self._profile

    @profile.setter
    def profile(self, profile):
        """Sets the profile of this ConvertAudioForGetExecutionOutput.


        :param profile: The profile of this ConvertAudioForGetExecutionOutput.  # noqa: E501
        :type: str
        """

        self._profile = profile

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


        :return: The sample_rate of this ConvertAudioForGetExecutionOutput.  # noqa: E501
        :rtype: int
        """
        return self._sample_rate

    @sample_rate.setter
    def sample_rate(self, sample_rate):
        """Sets the sample_rate of this ConvertAudioForGetExecutionOutput.


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

        self._sample_rate = sample_rate

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


        :return: The volume of this ConvertAudioForGetExecutionOutput.  # noqa: E501
        :rtype: ConvertVolumeForGetExecutionOutput
        """
        return self._volume

    @volume.setter
    def volume(self, volume):
        """Sets the volume of this ConvertAudioForGetExecutionOutput.


        :param volume: The volume of this ConvertAudioForGetExecutionOutput.  # noqa: E501
        :type: ConvertVolumeForGetExecutionOutput
        """

        self._volume = volume

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

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