# coding: utf-8

"""
    vei_api

    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 ApplyVideoAnalysisTaskTokenResponse(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 = {
        'bucket': 'str',
        'endpoint': 'str',
        'expire': 'int',
        'object_key': 'str',
        'presigned_url': 'str',
        'region': 'str',
        'secure': 'bool',
        'session_token': 'str',
        'task_id': 'str'
    }

    attribute_map = {
        'bucket': 'bucket',
        'endpoint': 'endpoint',
        'expire': 'expire',
        'object_key': 'object_key',
        'presigned_url': 'presigned_url',
        'region': 'region',
        'secure': 'secure',
        'session_token': 'session_token',
        'task_id': 'task_id'
    }

    def __init__(self, bucket=None, endpoint=None, expire=None, object_key=None, presigned_url=None, region=None, secure=None, session_token=None, task_id=None, _configuration=None):  # noqa: E501
        """ApplyVideoAnalysisTaskTokenResponse - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._bucket = None
        self._endpoint = None
        self._expire = None
        self._object_key = None
        self._presigned_url = None
        self._region = None
        self._secure = None
        self._session_token = None
        self._task_id = None
        self.discriminator = None

        if bucket is not None:
            self.bucket = bucket
        if endpoint is not None:
            self.endpoint = endpoint
        if expire is not None:
            self.expire = expire
        if object_key is not None:
            self.object_key = object_key
        if presigned_url is not None:
            self.presigned_url = presigned_url
        if region is not None:
            self.region = region
        if secure is not None:
            self.secure = secure
        if session_token is not None:
            self.session_token = session_token
        if task_id is not None:
            self.task_id = task_id

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


        :return: The bucket of this ApplyVideoAnalysisTaskTokenResponse.  # noqa: E501
        :rtype: str
        """
        return self._bucket

    @bucket.setter
    def bucket(self, bucket):
        """Sets the bucket of this ApplyVideoAnalysisTaskTokenResponse.


        :param bucket: The bucket of this ApplyVideoAnalysisTaskTokenResponse.  # noqa: E501
        :type: str
        """

        self._bucket = bucket

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


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

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


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

        self._endpoint = endpoint

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


        :return: The expire of this ApplyVideoAnalysisTaskTokenResponse.  # noqa: E501
        :rtype: int
        """
        return self._expire

    @expire.setter
    def expire(self, expire):
        """Sets the expire of this ApplyVideoAnalysisTaskTokenResponse.


        :param expire: The expire of this ApplyVideoAnalysisTaskTokenResponse.  # noqa: E501
        :type: int
        """

        self._expire = expire

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


        :return: The object_key of this ApplyVideoAnalysisTaskTokenResponse.  # noqa: E501
        :rtype: str
        """
        return self._object_key

    @object_key.setter
    def object_key(self, object_key):
        """Sets the object_key of this ApplyVideoAnalysisTaskTokenResponse.


        :param object_key: The object_key of this ApplyVideoAnalysisTaskTokenResponse.  # noqa: E501
        :type: str
        """

        self._object_key = object_key

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


        :return: The presigned_url of this ApplyVideoAnalysisTaskTokenResponse.  # noqa: E501
        :rtype: str
        """
        return self._presigned_url

    @presigned_url.setter
    def presigned_url(self, presigned_url):
        """Sets the presigned_url of this ApplyVideoAnalysisTaskTokenResponse.


        :param presigned_url: The presigned_url of this ApplyVideoAnalysisTaskTokenResponse.  # noqa: E501
        :type: str
        """

        self._presigned_url = presigned_url

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


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

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


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

        self._region = region

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


        :return: The secure of this ApplyVideoAnalysisTaskTokenResponse.  # noqa: E501
        :rtype: bool
        """
        return self._secure

    @secure.setter
    def secure(self, secure):
        """Sets the secure of this ApplyVideoAnalysisTaskTokenResponse.


        :param secure: The secure of this ApplyVideoAnalysisTaskTokenResponse.  # noqa: E501
        :type: bool
        """

        self._secure = secure

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


        :return: The session_token of this ApplyVideoAnalysisTaskTokenResponse.  # noqa: E501
        :rtype: str
        """
        return self._session_token

    @session_token.setter
    def session_token(self, session_token):
        """Sets the session_token of this ApplyVideoAnalysisTaskTokenResponse.


        :param session_token: The session_token of this ApplyVideoAnalysisTaskTokenResponse.  # noqa: E501
        :type: str
        """

        self._session_token = session_token

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


        :return: The task_id of this ApplyVideoAnalysisTaskTokenResponse.  # noqa: E501
        :rtype: str
        """
        return self._task_id

    @task_id.setter
    def task_id(self, task_id):
        """Sets the task_id of this ApplyVideoAnalysisTaskTokenResponse.


        :param task_id: The task_id of this ApplyVideoAnalysisTaskTokenResponse.  # noqa: E501
        :type: str
        """

        self._task_id = task_id

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

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