# 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 ScaleControlForStartExecutionInput(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 = {
        'scale_height': 'int',
        'scale_long': 'int',
        'scale_mode': 'int',
        'scale_short': 'int',
        'scale_type': 'int',
        'scale_width': 'int'
    }

    attribute_map = {
        'scale_height': 'ScaleHeight',
        'scale_long': 'ScaleLong',
        'scale_mode': 'ScaleMode',
        'scale_short': 'ScaleShort',
        'scale_type': 'ScaleType',
        'scale_width': 'ScaleWidth'
    }

    def __init__(self, scale_height=None, scale_long=None, scale_mode=None, scale_short=None, scale_type=None, scale_width=None, _configuration=None):  # noqa: E501
        """ScaleControlForStartExecutionInput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._scale_height = None
        self._scale_long = None
        self._scale_mode = None
        self._scale_short = None
        self._scale_type = None
        self._scale_width = None
        self.discriminator = None

        if scale_height is not None:
            self.scale_height = scale_height
        if scale_long is not None:
            self.scale_long = scale_long
        if scale_mode is not None:
            self.scale_mode = scale_mode
        if scale_short is not None:
            self.scale_short = scale_short
        if scale_type is not None:
            self.scale_type = scale_type
        if scale_width is not None:
            self.scale_width = scale_width

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


        :return: The scale_height of this ScaleControlForStartExecutionInput.  # noqa: E501
        :rtype: int
        """
        return self._scale_height

    @scale_height.setter
    def scale_height(self, scale_height):
        """Sets the scale_height of this ScaleControlForStartExecutionInput.


        :param scale_height: The scale_height of this ScaleControlForStartExecutionInput.  # noqa: E501
        :type: int
        """
        if (self._configuration.client_side_validation and
                scale_height is not None and scale_height > 4320):  # noqa: E501
            raise ValueError("Invalid value for `scale_height`, must be a value less than or equal to `4320`")  # noqa: E501
        if (self._configuration.client_side_validation and
                scale_height is not None and scale_height < 0):  # noqa: E501
            raise ValueError("Invalid value for `scale_height`, must be a value greater than or equal to `0`")  # noqa: E501

        self._scale_height = scale_height

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


        :return: The scale_long of this ScaleControlForStartExecutionInput.  # noqa: E501
        :rtype: int
        """
        return self._scale_long

    @scale_long.setter
    def scale_long(self, scale_long):
        """Sets the scale_long of this ScaleControlForStartExecutionInput.


        :param scale_long: The scale_long of this ScaleControlForStartExecutionInput.  # noqa: E501
        :type: int
        """
        if (self._configuration.client_side_validation and
                scale_long is not None and scale_long > 4320):  # noqa: E501
            raise ValueError("Invalid value for `scale_long`, must be a value less than or equal to `4320`")  # noqa: E501
        if (self._configuration.client_side_validation and
                scale_long is not None and scale_long < 0):  # noqa: E501
            raise ValueError("Invalid value for `scale_long`, must be a value greater than or equal to `0`")  # noqa: E501

        self._scale_long = scale_long

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


        :return: The scale_mode of this ScaleControlForStartExecutionInput.  # noqa: E501
        :rtype: int
        """
        return self._scale_mode

    @scale_mode.setter
    def scale_mode(self, scale_mode):
        """Sets the scale_mode of this ScaleControlForStartExecutionInput.


        :param scale_mode: The scale_mode of this ScaleControlForStartExecutionInput.  # noqa: E501
        :type: int
        """

        self._scale_mode = scale_mode

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


        :return: The scale_short of this ScaleControlForStartExecutionInput.  # noqa: E501
        :rtype: int
        """
        return self._scale_short

    @scale_short.setter
    def scale_short(self, scale_short):
        """Sets the scale_short of this ScaleControlForStartExecutionInput.


        :param scale_short: The scale_short of this ScaleControlForStartExecutionInput.  # noqa: E501
        :type: int
        """
        if (self._configuration.client_side_validation and
                scale_short is not None and scale_short > 4320):  # noqa: E501
            raise ValueError("Invalid value for `scale_short`, must be a value less than or equal to `4320`")  # noqa: E501
        if (self._configuration.client_side_validation and
                scale_short is not None and scale_short < 0):  # noqa: E501
            raise ValueError("Invalid value for `scale_short`, must be a value greater than or equal to `0`")  # noqa: E501

        self._scale_short = scale_short

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


        :return: The scale_type of this ScaleControlForStartExecutionInput.  # noqa: E501
        :rtype: int
        """
        return self._scale_type

    @scale_type.setter
    def scale_type(self, scale_type):
        """Sets the scale_type of this ScaleControlForStartExecutionInput.


        :param scale_type: The scale_type of this ScaleControlForStartExecutionInput.  # noqa: E501
        :type: int
        """

        self._scale_type = scale_type

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


        :return: The scale_width of this ScaleControlForStartExecutionInput.  # noqa: E501
        :rtype: int
        """
        return self._scale_width

    @scale_width.setter
    def scale_width(self, scale_width):
        """Sets the scale_width of this ScaleControlForStartExecutionInput.


        :param scale_width: The scale_width of this ScaleControlForStartExecutionInput.  # noqa: E501
        :type: int
        """
        if (self._configuration.client_side_validation and
                scale_width is not None and scale_width > 4320):  # noqa: E501
            raise ValueError("Invalid value for `scale_width`, must be a value less than or equal to `4320`")  # noqa: E501
        if (self._configuration.client_side_validation and
                scale_width is not None and scale_width < 0):  # noqa: E501
            raise ValueError("Invalid value for `scale_width`, must be a value greater than or equal to `0`")  # noqa: E501

        self._scale_width = scale_width

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

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