# 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 TranscodeForStartExecutionInput(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 = {
        'audio': 'ConvertAudioForStartExecutionInput',
        'clip': 'ConvertClipForStartExecutionInput',
        'containers': 'list[ConvertConvertContainerForStartExecutionInput]',
        'crop': 'CropForStartExecutionInput',
        'enhance': 'ConvertEnhanceForStartExecutionInput',
        'logo': 'ConvertLogoForStartExecutionInput',
        'metadata': 'MetadataForStartExecutionInput',
        'type': 'str',
        'video': 'ConvertVideoForStartExecutionInput'
    }

    attribute_map = {
        'audio': 'Audio',
        'clip': 'Clip',
        'containers': 'Containers',
        'crop': 'Crop',
        'enhance': 'Enhance',
        'logo': 'Logo',
        'metadata': 'Metadata',
        'type': 'Type',
        'video': 'Video'
    }

    def __init__(self, audio=None, clip=None, containers=None, crop=None, enhance=None, logo=None, metadata=None, type=None, video=None, _configuration=None):  # noqa: E501
        """TranscodeForStartExecutionInput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._audio = None
        self._clip = None
        self._containers = None
        self._crop = None
        self._enhance = None
        self._logo = None
        self._metadata = None
        self._type = None
        self._video = None
        self.discriminator = None

        if audio is not None:
            self.audio = audio
        if clip is not None:
            self.clip = clip
        if containers is not None:
            self.containers = containers
        if crop is not None:
            self.crop = crop
        if enhance is not None:
            self.enhance = enhance
        if logo is not None:
            self.logo = logo
        if metadata is not None:
            self.metadata = metadata
        if type is not None:
            self.type = type
        if video is not None:
            self.video = video

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


        :return: The audio of this TranscodeForStartExecutionInput.  # noqa: E501
        :rtype: ConvertAudioForStartExecutionInput
        """
        return self._audio

    @audio.setter
    def audio(self, audio):
        """Sets the audio of this TranscodeForStartExecutionInput.


        :param audio: The audio of this TranscodeForStartExecutionInput.  # noqa: E501
        :type: ConvertAudioForStartExecutionInput
        """

        self._audio = audio

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


        :return: The clip of this TranscodeForStartExecutionInput.  # noqa: E501
        :rtype: ConvertClipForStartExecutionInput
        """
        return self._clip

    @clip.setter
    def clip(self, clip):
        """Sets the clip of this TranscodeForStartExecutionInput.


        :param clip: The clip of this TranscodeForStartExecutionInput.  # noqa: E501
        :type: ConvertClipForStartExecutionInput
        """

        self._clip = clip

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


        :return: The containers of this TranscodeForStartExecutionInput.  # noqa: E501
        :rtype: list[ConvertConvertContainerForStartExecutionInput]
        """
        return self._containers

    @containers.setter
    def containers(self, containers):
        """Sets the containers of this TranscodeForStartExecutionInput.


        :param containers: The containers of this TranscodeForStartExecutionInput.  # noqa: E501
        :type: list[ConvertConvertContainerForStartExecutionInput]
        """

        self._containers = containers

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


        :return: The crop of this TranscodeForStartExecutionInput.  # noqa: E501
        :rtype: CropForStartExecutionInput
        """
        return self._crop

    @crop.setter
    def crop(self, crop):
        """Sets the crop of this TranscodeForStartExecutionInput.


        :param crop: The crop of this TranscodeForStartExecutionInput.  # noqa: E501
        :type: CropForStartExecutionInput
        """

        self._crop = crop

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


        :return: The enhance of this TranscodeForStartExecutionInput.  # noqa: E501
        :rtype: ConvertEnhanceForStartExecutionInput
        """
        return self._enhance

    @enhance.setter
    def enhance(self, enhance):
        """Sets the enhance of this TranscodeForStartExecutionInput.


        :param enhance: The enhance of this TranscodeForStartExecutionInput.  # noqa: E501
        :type: ConvertEnhanceForStartExecutionInput
        """

        self._enhance = enhance

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


        :return: The logo of this TranscodeForStartExecutionInput.  # noqa: E501
        :rtype: ConvertLogoForStartExecutionInput
        """
        return self._logo

    @logo.setter
    def logo(self, logo):
        """Sets the logo of this TranscodeForStartExecutionInput.


        :param logo: The logo of this TranscodeForStartExecutionInput.  # noqa: E501
        :type: ConvertLogoForStartExecutionInput
        """

        self._logo = logo

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


        :return: The metadata of this TranscodeForStartExecutionInput.  # noqa: E501
        :rtype: MetadataForStartExecutionInput
        """
        return self._metadata

    @metadata.setter
    def metadata(self, metadata):
        """Sets the metadata of this TranscodeForStartExecutionInput.


        :param metadata: The metadata of this TranscodeForStartExecutionInput.  # noqa: E501
        :type: MetadataForStartExecutionInput
        """

        self._metadata = metadata

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


        :return: The type of this TranscodeForStartExecutionInput.  # noqa: E501
        :rtype: str
        """
        return self._type

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


        :param type: The type of this TranscodeForStartExecutionInput.  # noqa: E501
        :type: str
        """
        allowed_values = ["LowCost", "Normal", "ByteHD", "Enhance"]  # noqa: E501
        if (self._configuration.client_side_validation and
                type not in allowed_values):
            raise ValueError(
                "Invalid value for `type` ({0}), must be one of {1}"  # noqa: E501
                .format(type, allowed_values)
            )

        self._type = type

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


        :return: The video of this TranscodeForStartExecutionInput.  # noqa: E501
        :rtype: ConvertVideoForStartExecutionInput
        """
        return self._video

    @video.setter
    def video(self, video):
        """Sets the video of this TranscodeForStartExecutionInput.


        :param video: The video of this TranscodeForStartExecutionInput.  # noqa: E501
        :type: ConvertVideoForStartExecutionInput
        """

        self._video = video

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

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