# 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 PullFileRequest(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 = {
        'endpoint': 'str',
        'file_path': 'str',
        'pod_id': 'str',
        'product_id': 'str',
        'region': 'str',
        'tos_bucket': 'str',
        'tos_file_path': 'str'
    }

    attribute_map = {
        'endpoint': 'Endpoint',
        'file_path': 'FilePath',
        'pod_id': 'PodId',
        'product_id': 'ProductId',
        'region': 'Region',
        'tos_bucket': 'TosBucket',
        'tos_file_path': 'TosFilePath'
    }

    def __init__(self, endpoint=None, file_path=None, pod_id=None, product_id=None, region=None, tos_bucket=None, tos_file_path=None, _configuration=None):  # noqa: E501
        """PullFileRequest - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._endpoint = None
        self._file_path = None
        self._pod_id = None
        self._product_id = None
        self._region = None
        self._tos_bucket = None
        self._tos_file_path = None
        self.discriminator = None

        self.endpoint = endpoint
        self.file_path = file_path
        self.pod_id = pod_id
        self.product_id = product_id
        self.region = region
        self.tos_bucket = tos_bucket
        self.tos_file_path = tos_file_path

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


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

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


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

        self._endpoint = endpoint

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


        :return: The file_path of this PullFileRequest.  # noqa: E501
        :rtype: str
        """
        return self._file_path

    @file_path.setter
    def file_path(self, file_path):
        """Sets the file_path of this PullFileRequest.


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

        self._file_path = file_path

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


        :return: The pod_id of this PullFileRequest.  # noqa: E501
        :rtype: str
        """
        return self._pod_id

    @pod_id.setter
    def pod_id(self, pod_id):
        """Sets the pod_id of this PullFileRequest.


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

        self._pod_id = pod_id

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


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

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


        :param product_id: The product_id of this PullFileRequest.  # 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 PullFileRequest.  # noqa: E501


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

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


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

        self._region = region

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


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

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


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

        self._tos_bucket = tos_bucket

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


        :return: The tos_file_path of this PullFileRequest.  # 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 PullFileRequest.


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

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

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