# 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 VisionForGetExecutionOutput(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 = {
        'model': 'ConvertModelForGetExecutionOutput',
        'need_asr_speaker': 'bool',
        'prompt': 'str',
        'response_format_type': 'str',
        'segment': 'ConvertConvertConvertSegmentForGetExecutionOutput',
        'snapshot_param': 'SnapshotParamForGetExecutionOutput'
    }

    attribute_map = {
        'model': 'Model',
        'need_asr_speaker': 'NeedAsrSpeaker',
        'prompt': 'Prompt',
        'response_format_type': 'ResponseFormatType',
        'segment': 'Segment',
        'snapshot_param': 'SnapshotParam'
    }

    def __init__(self, model=None, need_asr_speaker=None, prompt=None, response_format_type=None, segment=None, snapshot_param=None, _configuration=None):  # noqa: E501
        """VisionForGetExecutionOutput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._model = None
        self._need_asr_speaker = None
        self._prompt = None
        self._response_format_type = None
        self._segment = None
        self._snapshot_param = None
        self.discriminator = None

        if model is not None:
            self.model = model
        if need_asr_speaker is not None:
            self.need_asr_speaker = need_asr_speaker
        if prompt is not None:
            self.prompt = prompt
        if response_format_type is not None:
            self.response_format_type = response_format_type
        if segment is not None:
            self.segment = segment
        if snapshot_param is not None:
            self.snapshot_param = snapshot_param

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


        :return: The model of this VisionForGetExecutionOutput.  # noqa: E501
        :rtype: ConvertModelForGetExecutionOutput
        """
        return self._model

    @model.setter
    def model(self, model):
        """Sets the model of this VisionForGetExecutionOutput.


        :param model: The model of this VisionForGetExecutionOutput.  # noqa: E501
        :type: ConvertModelForGetExecutionOutput
        """

        self._model = model

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


        :return: The need_asr_speaker of this VisionForGetExecutionOutput.  # noqa: E501
        :rtype: bool
        """
        return self._need_asr_speaker

    @need_asr_speaker.setter
    def need_asr_speaker(self, need_asr_speaker):
        """Sets the need_asr_speaker of this VisionForGetExecutionOutput.


        :param need_asr_speaker: The need_asr_speaker of this VisionForGetExecutionOutput.  # noqa: E501
        :type: bool
        """

        self._need_asr_speaker = need_asr_speaker

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


        :return: The prompt of this VisionForGetExecutionOutput.  # noqa: E501
        :rtype: str
        """
        return self._prompt

    @prompt.setter
    def prompt(self, prompt):
        """Sets the prompt of this VisionForGetExecutionOutput.


        :param prompt: The prompt of this VisionForGetExecutionOutput.  # noqa: E501
        :type: str
        """

        self._prompt = prompt

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


        :return: The response_format_type of this VisionForGetExecutionOutput.  # noqa: E501
        :rtype: str
        """
        return self._response_format_type

    @response_format_type.setter
    def response_format_type(self, response_format_type):
        """Sets the response_format_type of this VisionForGetExecutionOutput.


        :param response_format_type: The response_format_type of this VisionForGetExecutionOutput.  # noqa: E501
        :type: str
        """

        self._response_format_type = response_format_type

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


        :return: The segment of this VisionForGetExecutionOutput.  # noqa: E501
        :rtype: ConvertConvertConvertSegmentForGetExecutionOutput
        """
        return self._segment

    @segment.setter
    def segment(self, segment):
        """Sets the segment of this VisionForGetExecutionOutput.


        :param segment: The segment of this VisionForGetExecutionOutput.  # noqa: E501
        :type: ConvertConvertConvertSegmentForGetExecutionOutput
        """

        self._segment = segment

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


        :return: The snapshot_param of this VisionForGetExecutionOutput.  # noqa: E501
        :rtype: SnapshotParamForGetExecutionOutput
        """
        return self._snapshot_param

    @snapshot_param.setter
    def snapshot_param(self, snapshot_param):
        """Sets the snapshot_param of this VisionForGetExecutionOutput.


        :param snapshot_param: The snapshot_param of this VisionForGetExecutionOutput.  # noqa: E501
        :type: SnapshotParamForGetExecutionOutput
        """

        self._snapshot_param = snapshot_param

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

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