# coding: utf-8

"""
    acep

    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 BatchScreenShotRequest(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 = {
        'height': 'int',
        'is_broadcasted': 'bool',
        'is_saved_on_pod': 'bool',
        'pod_id_list': 'list[str]',
        'product_id': 'str',
        'quality': 'int',
        'resize_mode': 'int',
        'rotation': 'int',
        'round_id': 'str',
        'tos_info': 'TosInfoForBatchScreenShotInput',
        'upload_type': 'int',
        'width': 'int'
    }

    attribute_map = {
        'height': 'Height',
        'is_broadcasted': 'IsBroadcasted',
        'is_saved_on_pod': 'IsSavedOnPod',
        'pod_id_list': 'PodIdList',
        'product_id': 'ProductId',
        'quality': 'Quality',
        'resize_mode': 'ResizeMode',
        'rotation': 'Rotation',
        'round_id': 'RoundId',
        'tos_info': 'TosInfo',
        'upload_type': 'UploadType',
        'width': 'Width'
    }

    def __init__(self, height=None, is_broadcasted=None, is_saved_on_pod=None, pod_id_list=None, product_id=None, quality=None, resize_mode=None, rotation=None, round_id=None, tos_info=None, upload_type=None, width=None, _configuration=None):  # noqa: E501
        """BatchScreenShotRequest - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._height = None
        self._is_broadcasted = None
        self._is_saved_on_pod = None
        self._pod_id_list = None
        self._product_id = None
        self._quality = None
        self._resize_mode = None
        self._rotation = None
        self._round_id = None
        self._tos_info = None
        self._upload_type = None
        self._width = None
        self.discriminator = None

        if height is not None:
            self.height = height
        if is_broadcasted is not None:
            self.is_broadcasted = is_broadcasted
        if is_saved_on_pod is not None:
            self.is_saved_on_pod = is_saved_on_pod
        if pod_id_list is not None:
            self.pod_id_list = pod_id_list
        self.product_id = product_id
        if quality is not None:
            self.quality = quality
        if resize_mode is not None:
            self.resize_mode = resize_mode
        if rotation is not None:
            self.rotation = rotation
        if round_id is not None:
            self.round_id = round_id
        if tos_info is not None:
            self.tos_info = tos_info
        if upload_type is not None:
            self.upload_type = upload_type
        if width is not None:
            self.width = width

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


        :return: The height of this BatchScreenShotRequest.  # noqa: E501
        :rtype: int
        """
        return self._height

    @height.setter
    def height(self, height):
        """Sets the height of this BatchScreenShotRequest.


        :param height: The height of this BatchScreenShotRequest.  # noqa: E501
        :type: int
        """

        self._height = height

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


        :return: The is_broadcasted of this BatchScreenShotRequest.  # noqa: E501
        :rtype: bool
        """
        return self._is_broadcasted

    @is_broadcasted.setter
    def is_broadcasted(self, is_broadcasted):
        """Sets the is_broadcasted of this BatchScreenShotRequest.


        :param is_broadcasted: The is_broadcasted of this BatchScreenShotRequest.  # noqa: E501
        :type: bool
        """

        self._is_broadcasted = is_broadcasted

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


        :return: The is_saved_on_pod of this BatchScreenShotRequest.  # noqa: E501
        :rtype: bool
        """
        return self._is_saved_on_pod

    @is_saved_on_pod.setter
    def is_saved_on_pod(self, is_saved_on_pod):
        """Sets the is_saved_on_pod of this BatchScreenShotRequest.


        :param is_saved_on_pod: The is_saved_on_pod of this BatchScreenShotRequest.  # noqa: E501
        :type: bool
        """

        self._is_saved_on_pod = is_saved_on_pod

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


        :return: The pod_id_list of this BatchScreenShotRequest.  # noqa: E501
        :rtype: list[str]
        """
        return self._pod_id_list

    @pod_id_list.setter
    def pod_id_list(self, pod_id_list):
        """Sets the pod_id_list of this BatchScreenShotRequest.


        :param pod_id_list: The pod_id_list of this BatchScreenShotRequest.  # noqa: E501
        :type: list[str]
        """

        self._pod_id_list = pod_id_list

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


        :return: The product_id of this BatchScreenShotRequest.  # noqa: E501
        :rtype: str
        """
        return self._product_id

    @product_id.setter
    def product_id(self, product_id):
        """Sets the product_id of this BatchScreenShotRequest.


        :param product_id: The product_id of this BatchScreenShotRequest.  # noqa: E501
        :type: str
        """
        if self._configuration.client_side_validation and product_id is None:
            raise ValueError("Invalid value for `product_id`, must not be `None`")  # noqa: E501

        self._product_id = product_id

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


        :return: The quality of this BatchScreenShotRequest.  # noqa: E501
        :rtype: int
        """
        return self._quality

    @quality.setter
    def quality(self, quality):
        """Sets the quality of this BatchScreenShotRequest.


        :param quality: The quality of this BatchScreenShotRequest.  # noqa: E501
        :type: int
        """

        self._quality = quality

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


        :return: The resize_mode of this BatchScreenShotRequest.  # noqa: E501
        :rtype: int
        """
        return self._resize_mode

    @resize_mode.setter
    def resize_mode(self, resize_mode):
        """Sets the resize_mode of this BatchScreenShotRequest.


        :param resize_mode: The resize_mode of this BatchScreenShotRequest.  # noqa: E501
        :type: int
        """

        self._resize_mode = resize_mode

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


        :return: The rotation of this BatchScreenShotRequest.  # noqa: E501
        :rtype: int
        """
        return self._rotation

    @rotation.setter
    def rotation(self, rotation):
        """Sets the rotation of this BatchScreenShotRequest.


        :param rotation: The rotation of this BatchScreenShotRequest.  # noqa: E501
        :type: int
        """

        self._rotation = rotation

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


        :return: The round_id of this BatchScreenShotRequest.  # noqa: E501
        :rtype: str
        """
        return self._round_id

    @round_id.setter
    def round_id(self, round_id):
        """Sets the round_id of this BatchScreenShotRequest.


        :param round_id: The round_id of this BatchScreenShotRequest.  # noqa: E501
        :type: str
        """

        self._round_id = round_id

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


        :return: The tos_info of this BatchScreenShotRequest.  # noqa: E501
        :rtype: TosInfoForBatchScreenShotInput
        """
        return self._tos_info

    @tos_info.setter
    def tos_info(self, tos_info):
        """Sets the tos_info of this BatchScreenShotRequest.


        :param tos_info: The tos_info of this BatchScreenShotRequest.  # noqa: E501
        :type: TosInfoForBatchScreenShotInput
        """

        self._tos_info = tos_info

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


        :return: The upload_type of this BatchScreenShotRequest.  # noqa: E501
        :rtype: int
        """
        return self._upload_type

    @upload_type.setter
    def upload_type(self, upload_type):
        """Sets the upload_type of this BatchScreenShotRequest.


        :param upload_type: The upload_type of this BatchScreenShotRequest.  # noqa: E501
        :type: int
        """

        self._upload_type = upload_type

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


        :return: The width of this BatchScreenShotRequest.  # noqa: E501
        :rtype: int
        """
        return self._width

    @width.setter
    def width(self, width):
        """Sets the width of this BatchScreenShotRequest.


        :param width: The width of this BatchScreenShotRequest.  # noqa: E501
        :type: int
        """

        self._width = 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(BatchScreenShotRequest, 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, BatchScreenShotRequest):
            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, BatchScreenShotRequest):
            return True

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