# 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 ConvertOutputForGetExecutionOutput(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 = {
        'alpha': 'bool',
        'audio_phase_detect': 'bool',
        'canvas_with_max': 'bool',
        'canvas_with_ratio': 'bool',
        'codec': 'CodecForGetExecutionOutput',
        'disable_audio': 'bool',
        'disable_video': 'bool',
        'format': 'str',
        'fps': 'float'
    }

    attribute_map = {
        'alpha': 'Alpha',
        'audio_phase_detect': 'AudioPhaseDetect',
        'canvas_with_max': 'CanvasWithMax',
        'canvas_with_ratio': 'CanvasWithRatio',
        'codec': 'Codec',
        'disable_audio': 'DisableAudio',
        'disable_video': 'DisableVideo',
        'format': 'Format',
        'fps': 'Fps'
    }

    def __init__(self, alpha=None, audio_phase_detect=None, canvas_with_max=None, canvas_with_ratio=None, codec=None, disable_audio=None, disable_video=None, format=None, fps=None, _configuration=None):  # noqa: E501
        """ConvertOutputForGetExecutionOutput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._alpha = None
        self._audio_phase_detect = None
        self._canvas_with_max = None
        self._canvas_with_ratio = None
        self._codec = None
        self._disable_audio = None
        self._disable_video = None
        self._format = None
        self._fps = None
        self.discriminator = None

        if alpha is not None:
            self.alpha = alpha
        if audio_phase_detect is not None:
            self.audio_phase_detect = audio_phase_detect
        if canvas_with_max is not None:
            self.canvas_with_max = canvas_with_max
        if canvas_with_ratio is not None:
            self.canvas_with_ratio = canvas_with_ratio
        if codec is not None:
            self.codec = codec
        if disable_audio is not None:
            self.disable_audio = disable_audio
        if disable_video is not None:
            self.disable_video = disable_video
        if format is not None:
            self.format = format
        if fps is not None:
            self.fps = fps

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


        :return: The alpha of this ConvertOutputForGetExecutionOutput.  # noqa: E501
        :rtype: bool
        """
        return self._alpha

    @alpha.setter
    def alpha(self, alpha):
        """Sets the alpha of this ConvertOutputForGetExecutionOutput.


        :param alpha: The alpha of this ConvertOutputForGetExecutionOutput.  # noqa: E501
        :type: bool
        """

        self._alpha = alpha

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


        :return: The audio_phase_detect of this ConvertOutputForGetExecutionOutput.  # noqa: E501
        :rtype: bool
        """
        return self._audio_phase_detect

    @audio_phase_detect.setter
    def audio_phase_detect(self, audio_phase_detect):
        """Sets the audio_phase_detect of this ConvertOutputForGetExecutionOutput.


        :param audio_phase_detect: The audio_phase_detect of this ConvertOutputForGetExecutionOutput.  # noqa: E501
        :type: bool
        """

        self._audio_phase_detect = audio_phase_detect

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


        :return: The canvas_with_max of this ConvertOutputForGetExecutionOutput.  # noqa: E501
        :rtype: bool
        """
        return self._canvas_with_max

    @canvas_with_max.setter
    def canvas_with_max(self, canvas_with_max):
        """Sets the canvas_with_max of this ConvertOutputForGetExecutionOutput.


        :param canvas_with_max: The canvas_with_max of this ConvertOutputForGetExecutionOutput.  # noqa: E501
        :type: bool
        """

        self._canvas_with_max = canvas_with_max

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


        :return: The canvas_with_ratio of this ConvertOutputForGetExecutionOutput.  # noqa: E501
        :rtype: bool
        """
        return self._canvas_with_ratio

    @canvas_with_ratio.setter
    def canvas_with_ratio(self, canvas_with_ratio):
        """Sets the canvas_with_ratio of this ConvertOutputForGetExecutionOutput.


        :param canvas_with_ratio: The canvas_with_ratio of this ConvertOutputForGetExecutionOutput.  # noqa: E501
        :type: bool
        """

        self._canvas_with_ratio = canvas_with_ratio

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


        :return: The codec of this ConvertOutputForGetExecutionOutput.  # noqa: E501
        :rtype: CodecForGetExecutionOutput
        """
        return self._codec

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


        :param codec: The codec of this ConvertOutputForGetExecutionOutput.  # noqa: E501
        :type: CodecForGetExecutionOutput
        """

        self._codec = codec

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


        :return: The disable_audio of this ConvertOutputForGetExecutionOutput.  # noqa: E501
        :rtype: bool
        """
        return self._disable_audio

    @disable_audio.setter
    def disable_audio(self, disable_audio):
        """Sets the disable_audio of this ConvertOutputForGetExecutionOutput.


        :param disable_audio: The disable_audio of this ConvertOutputForGetExecutionOutput.  # noqa: E501
        :type: bool
        """

        self._disable_audio = disable_audio

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


        :return: The disable_video of this ConvertOutputForGetExecutionOutput.  # noqa: E501
        :rtype: bool
        """
        return self._disable_video

    @disable_video.setter
    def disable_video(self, disable_video):
        """Sets the disable_video of this ConvertOutputForGetExecutionOutput.


        :param disable_video: The disable_video of this ConvertOutputForGetExecutionOutput.  # noqa: E501
        :type: bool
        """

        self._disable_video = disable_video

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


        :return: The format of this ConvertOutputForGetExecutionOutput.  # noqa: E501
        :rtype: str
        """
        return self._format

    @format.setter
    def format(self, format):
        """Sets the format of this ConvertOutputForGetExecutionOutput.


        :param format: The format of this ConvertOutputForGetExecutionOutput.  # noqa: E501
        :type: str
        """

        self._format = format

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


        :return: The fps of this ConvertOutputForGetExecutionOutput.  # noqa: E501
        :rtype: float
        """
        return self._fps

    @fps.setter
    def fps(self, fps):
        """Sets the fps of this ConvertOutputForGetExecutionOutput.


        :param fps: The fps of this ConvertOutputForGetExecutionOutput.  # noqa: E501
        :type: float
        """

        self._fps = fps

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

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