# 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 ConvertVideoForGetExecutionOutput(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 = {
        'bit_depth': 'int',
        'bitrate_control': 'ConvertConvertConvertBitrateControlForGetExecutionOutput',
        'codec': 'str',
        'fps_control': 'ConvertFpsControlForGetExecutionOutput',
        'hdr_mode': 'int',
        'scale_control': 'ConvertScaleControlForGetExecutionOutput'
    }

    attribute_map = {
        'bit_depth': 'BitDepth',
        'bitrate_control': 'BitrateControl',
        'codec': 'Codec',
        'fps_control': 'FpsControl',
        'hdr_mode': 'HDRMode',
        'scale_control': 'ScaleControl'
    }

    def __init__(self, bit_depth=None, bitrate_control=None, codec=None, fps_control=None, hdr_mode=None, scale_control=None, _configuration=None):  # noqa: E501
        """ConvertVideoForGetExecutionOutput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._bit_depth = None
        self._bitrate_control = None
        self._codec = None
        self._fps_control = None
        self._hdr_mode = None
        self._scale_control = None
        self.discriminator = None

        if bit_depth is not None:
            self.bit_depth = bit_depth
        if bitrate_control is not None:
            self.bitrate_control = bitrate_control
        if codec is not None:
            self.codec = codec
        if fps_control is not None:
            self.fps_control = fps_control
        if hdr_mode is not None:
            self.hdr_mode = hdr_mode
        if scale_control is not None:
            self.scale_control = scale_control

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


        :return: The bit_depth of this ConvertVideoForGetExecutionOutput.  # noqa: E501
        :rtype: int
        """
        return self._bit_depth

    @bit_depth.setter
    def bit_depth(self, bit_depth):
        """Sets the bit_depth of this ConvertVideoForGetExecutionOutput.


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

        self._bit_depth = bit_depth

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


        :return: The bitrate_control of this ConvertVideoForGetExecutionOutput.  # noqa: E501
        :rtype: ConvertConvertConvertBitrateControlForGetExecutionOutput
        """
        return self._bitrate_control

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


        :param bitrate_control: The bitrate_control of this ConvertVideoForGetExecutionOutput.  # noqa: E501
        :type: ConvertConvertConvertBitrateControlForGetExecutionOutput
        """

        self._bitrate_control = bitrate_control

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


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

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


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

        self._codec = codec

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


        :return: The fps_control of this ConvertVideoForGetExecutionOutput.  # noqa: E501
        :rtype: ConvertFpsControlForGetExecutionOutput
        """
        return self._fps_control

    @fps_control.setter
    def fps_control(self, fps_control):
        """Sets the fps_control of this ConvertVideoForGetExecutionOutput.


        :param fps_control: The fps_control of this ConvertVideoForGetExecutionOutput.  # noqa: E501
        :type: ConvertFpsControlForGetExecutionOutput
        """

        self._fps_control = fps_control

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


        :return: The hdr_mode of this ConvertVideoForGetExecutionOutput.  # noqa: E501
        :rtype: int
        """
        return self._hdr_mode

    @hdr_mode.setter
    def hdr_mode(self, hdr_mode):
        """Sets the hdr_mode of this ConvertVideoForGetExecutionOutput.


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

        self._hdr_mode = hdr_mode

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


        :return: The scale_control of this ConvertVideoForGetExecutionOutput.  # noqa: E501
        :rtype: ConvertScaleControlForGetExecutionOutput
        """
        return self._scale_control

    @scale_control.setter
    def scale_control(self, scale_control):
        """Sets the scale_control of this ConvertVideoForGetExecutionOutput.


        :param scale_control: The scale_control of this ConvertVideoForGetExecutionOutput.  # noqa: E501
        :type: ConvertScaleControlForGetExecutionOutput
        """

        self._scale_control = scale_control

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

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