# 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 PushFileRequest(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 = {
        'auto_unzip': 'int',
        'download_url': 'str',
        'endpoint': 'str',
        'file_name': 'str',
        'pod_id_list': 'list[str]',
        'product_id': 'str',
        'region': 'str',
        'target_directory': 'str',
        'tos_bucket': 'str',
        'tos_file_path': 'str'
    }

    attribute_map = {
        'auto_unzip': 'AutoUnzip',
        'download_url': 'DownloadUrl',
        'endpoint': 'Endpoint',
        'file_name': 'FileName',
        'pod_id_list': 'PodIdList',
        'product_id': 'ProductId',
        'region': 'Region',
        'target_directory': 'TargetDirectory',
        'tos_bucket': 'TosBucket',
        'tos_file_path': 'TosFilePath'
    }

    def __init__(self, auto_unzip=None, download_url=None, endpoint=None, file_name=None, pod_id_list=None, product_id=None, region=None, target_directory=None, tos_bucket=None, tos_file_path=None, _configuration=None):  # noqa: E501
        """PushFileRequest - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._auto_unzip = None
        self._download_url = None
        self._endpoint = None
        self._file_name = None
        self._pod_id_list = None
        self._product_id = None
        self._region = None
        self._target_directory = None
        self._tos_bucket = None
        self._tos_file_path = None
        self.discriminator = None

        if auto_unzip is not None:
            self.auto_unzip = auto_unzip
        if download_url is not None:
            self.download_url = download_url
        if endpoint is not None:
            self.endpoint = endpoint
        if file_name is not None:
            self.file_name = file_name
        if pod_id_list is not None:
            self.pod_id_list = pod_id_list
        self.product_id = product_id
        if region is not None:
            self.region = region
        self.target_directory = target_directory
        if tos_bucket is not None:
            self.tos_bucket = tos_bucket
        if tos_file_path is not None:
            self.tos_file_path = tos_file_path

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


        :return: The auto_unzip of this PushFileRequest.  # noqa: E501
        :rtype: int
        """
        return self._auto_unzip

    @auto_unzip.setter
    def auto_unzip(self, auto_unzip):
        """Sets the auto_unzip of this PushFileRequest.


        :param auto_unzip: The auto_unzip of this PushFileRequest.  # noqa: E501
        :type: int
        """

        self._auto_unzip = auto_unzip

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


        :return: The download_url of this PushFileRequest.  # noqa: E501
        :rtype: str
        """
        return self._download_url

    @download_url.setter
    def download_url(self, download_url):
        """Sets the download_url of this PushFileRequest.


        :param download_url: The download_url of this PushFileRequest.  # noqa: E501
        :type: str
        """

        self._download_url = download_url

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


        :return: The endpoint of this PushFileRequest.  # noqa: E501
        :rtype: str
        """
        return self._endpoint

    @endpoint.setter
    def endpoint(self, endpoint):
        """Sets the endpoint of this PushFileRequest.


        :param endpoint: The endpoint of this PushFileRequest.  # noqa: E501
        :type: str
        """

        self._endpoint = endpoint

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


        :return: The file_name of this PushFileRequest.  # noqa: E501
        :rtype: str
        """
        return self._file_name

    @file_name.setter
    def file_name(self, file_name):
        """Sets the file_name of this PushFileRequest.


        :param file_name: The file_name of this PushFileRequest.  # noqa: E501
        :type: str
        """

        self._file_name = file_name

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


        :return: The pod_id_list of this PushFileRequest.  # 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 PushFileRequest.


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

        self._pod_id_list = pod_id_list

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


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

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


        :param product_id: The product_id of this PushFileRequest.  # 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 region(self):
        """Gets the region of this PushFileRequest.  # noqa: E501


        :return: The region of this PushFileRequest.  # noqa: E501
        :rtype: str
        """
        return self._region

    @region.setter
    def region(self, region):
        """Sets the region of this PushFileRequest.


        :param region: The region of this PushFileRequest.  # noqa: E501
        :type: str
        """

        self._region = region

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


        :return: The target_directory of this PushFileRequest.  # noqa: E501
        :rtype: str
        """
        return self._target_directory

    @target_directory.setter
    def target_directory(self, target_directory):
        """Sets the target_directory of this PushFileRequest.


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

        self._target_directory = target_directory

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


        :return: The tos_bucket of this PushFileRequest.  # noqa: E501
        :rtype: str
        """
        return self._tos_bucket

    @tos_bucket.setter
    def tos_bucket(self, tos_bucket):
        """Sets the tos_bucket of this PushFileRequest.


        :param tos_bucket: The tos_bucket of this PushFileRequest.  # noqa: E501
        :type: str
        """

        self._tos_bucket = tos_bucket

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


        :return: The tos_file_path of this PushFileRequest.  # noqa: E501
        :rtype: str
        """
        return self._tos_file_path

    @tos_file_path.setter
    def tos_file_path(self, tos_file_path):
        """Sets the tos_file_path of this PushFileRequest.


        :param tos_file_path: The tos_file_path of this PushFileRequest.  # noqa: E501
        :type: str
        """

        self._tos_file_path = tos_file_path

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

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